CohenLabPrinceton / pvp

Raspberry pi code for controlling the rapid-deploy critical care ventilator
GNU General Public License v3.0
13 stars 15 forks source link

List of good features #75

Closed sneakers-the-rat closed 4 years ago

sneakers-the-rat commented 4 years ago

Let's start braggin. What do we do well? Comment i'll keep this list updated

Software as a whole

  1. Is super fast. No problems with PID and 10ms loop time. If we find the time, we should measure how fast we actually are.

  2. Very limited load on the PI. With 10ms loop time, controlling the dinky through ssh w/o UI is ~25% CPU load and 5% memory.

GUI

Alarms

Controller

  1. We support two control schemes, PID and state control. These are very simple to adjust should the need arise, and particularly flexible for adjustment to specific needs. For example, if PEEP valves become unobtanium, the PID-loop can actively control PEEP.

  2. The Controller is concise, modular, subject to a well-documented API, and fully open source. This makes it much easier to find, and fix, bugs.

  3. Its modularity makes it easy to re-use the Controller with a different, or remote, UI.

  4. Rigorous exception handling and careful time-outs make sure that the program as a whole remains operational.

mschottdorf commented 4 years ago

To the point of [PEEP valve] vs. [PID control of PEEP]. This works really well:

image

Can be adjusted in the main controller loop with PEEP_VALVE_SET = True.