jcl5m1 / ventilator

Low-Cost Open Source Ventilator or PAPR
MIT License
1.66k stars 236 forks source link

PID Controller #33

Open HDElectronics opened 4 years ago

HDElectronics commented 4 years ago

Hi!! I love your initiative, a humanitarian gesture <3 I would like to add something to your project, it's a PID controller this controller which will be implemented in the arduino program will simply keep a constant pressure while playing on the variation of the speed you motor. You can read some documentation to do it or i'll help you to do it.

necro-nemesis commented 4 years ago

sure sign me up.

peteflorence commented 4 years ago

Hi there, yes some type of closed-loop control will be useful. I recommend reading Johnny's notes from a call with a pulmonologist: https://github.com/jcl5m1/ventilator/wiki/Notes-from-chatting-with-a-pulmonologist To have more context on what control is possible / needed. At present Johnny's prototype doesn't have a direct pressure sensor, so it isn't currently possible to close a PID loop on a pressure setpoint. But such a sensor could potentially be integrated.

If possible, someone could build a copy of Johnny's device and prototype pressure sensor options.