Skip to content

Breathing Back Pressure Data Analysis

Johnny Lee edited this page Mar 18, 2020 · 10 revisions

I've uploaded some datasets of the blower in different modes, and the measured current and whether I am exhaling (0) or inhaling (1). The breath signal is generated by me pressing a button. Visualizing the current data suggest that looks very easy to detect the breath back-pressure in CPAP mode (top plot). The middle plot shows the regular shape of the current curve in each breath. The bottom plot show the irregular shape that occurs when the breath is out of sync with blower cycle. This suggests it would be possible to detect the patients breath cycle, or adapt to minimize out of phase behavior. Finding a way to get phase alignment is harder. It would be great to get help with this since I don't have great ideas at the moment.

Help Requested

  • Arduino capable algorithms for doing phase/frequency alignment between the blower cycle the breathing cycle.
  • Jupyter notebook integration with this Github project to enable fast experimentation.

plots

These plot were generated with the python visualization code.

Current sensing uses this version of the schematic. It uses a 0.1 ohm 1 watt current sensing resistor on the low side of the BLDC power supply. As the current draw by the BLDC motor goes up, the voltage across the sense resistor increases. This voltage passes through a small RC filter to smooth out noise before being read by an analog input on the Arduino. The reference voltage is set to the 1.1V internal reference which provides ~1mV of resolution using the 10bit ADC which corresponds to ~10mA of current resolution.

schematic