RespiraWorks / Ventilator

Fully-featured ICU ventilator design, optimized for manufacture using commonly available components and free to license. Repository tracks all mechanical, electrical and systems design, software, requirements and regulatory documentation.
Apache License 2.0
130 stars 37 forks source link

Automated calibration/characterization scripts with reference flow meter #838

Open martukas opened 4 years ago

martukas commented 4 years ago

What has to be done We need to be able to run calibrationo/characterization experiments or tests automatically with an external flow meter. In the current "pizza farm" setup at @martukas basement, we have a Posifa sensor that can be used to do experiments with:

It should be possible to run a script that will:

Additional considerations:

How do you know it has to be done We are still testing and characterizing new components and we need a reproducible way to do this. Proper hardware-in-the-loop integration tests are still missing from our testing suite. This is a first step towards this. We have run similar tests in a somewhat ad-hoc manner up to this point, so we need a more systematic approach.

Code pointers There is some code here software/controller/integration_tests/labjack/posifa.py. Along with software/controller/integration_tests/deploy_test.sh, it should be possible to do this.

Don't forget

martukas commented 4 years ago

This is a subset or evolution of #390