icub-tech-iit / ventilator-FI5

FI5: Rapidly Manufactured Ventilator System
BSD 3-Clause "New" or "Revised" License
31 stars 4 forks source link

Flow-by #61

Closed pattacini closed 4 years ago

pattacini commented 4 years ago

πŸ”˜ Introduction

Flow-by is a strategy that aims to limit the CO2 concentration by making a specified low flow rate available from the inlet valve also during the expiratory phase.

πŸ”˜ Implementation

Flow-by has been implemented both in VCV and PRVC modes by resorting to the already available PI flow controller, which thus remains engaged also when we control the pressure.

The new components added for the flow-by are highlighted in blue in the diagrams below.

High-level changes
PI flow controller's changes

πŸ”˜ Results

As it is shown in the simulation below, the flow-by works well in e.g. PRVC mode. During the expiratory phase indeed, a constant flow rate of 3 L/min (tunable) is provided from the inlet valve.

diagram

πŸ”˜ Default behavior

By default, flow-by is active with a target flow of 3 L/min. To disable this strategy, it is sufficient to set the target to zero.

cc @maggia80 @simeonedussoni @mcivinelli @RossiFederico @LucaBottazzi

πŸ”˜ Generated code

The code can be generated from the controller's model as usual. To any rate, here's attached an archive containing the latest version of the controller and the FSM (for handling the new parameter's tuning).

cc @marcoaccame