-
Crowdsourcing finding a pressure sensor.
03/24/2020 at 21:08 • 1 commentI need a differential pressure sensor. Two to really do it right.
This one is perfect: MPXV7002DP Transducer APM2.5 APM2.52 Differential Pressure Sensor
But, it won't get here for quite some time.
It occured to me that the automotive industry uses them. Specifically I know they are used for EGR systems. They may be used elsewhere as well.
If I had a part number, I could go down to the auto parts store and pick one up today.
I have other stuff to work on. Anyone want to see if they can find a suitable sensor?
-
Pressure control - pitot tube and sensing options
03/24/2020 at 19:47 • 0 commentsIn a Mechanical Ventilator we need to be able to control and vary the pressure and the volume. In the pressure front Daren designed a pitot tube that takes a portion of the airflow that will be used to detect the pressure.
-
Software requirements
03/24/2020 at 19:06 • 0 commentsOutputs
- Generate step/dir for controlling a stepper motor, or generate PWM/dir for controlling a BLDC motor or standard DC motor
- For the prototype, the current motor is a stepper. The end goal is to drive the BLDC motor.
- Software generates a trigger, then rotates the motor over a configurable period of time
- For steppers that signal is a series of pulses and a direction signal
- For BLDC or standard DC motor that signal is a PWM width and direction signal.
- Once that time has elapsed, return the motor to the start position.
- The start position is available as a signal from a hall effect sensor below.
- Change the status of the direction pin and generate pulses. The timing is not critical as the bag will expand however fast it needs to, but matching the expansion rate could reduce wear on the bag.
- Software generates a trigger, then rotates the motor over a configurable period of time
- For the prototype, the current motor is a stepper. The end goal is to drive the BLDC motor.
- Drive an SPI or I2C OLED or TFT display.
- The current settings for the set Rate, Volume, and Pressure should be available at a quick glance.
- The readings from the patient for those same numbers should be available at a quick glance.
- Optional: A graph of the history for the patient for measured volume and pressure
- Optional: Write the patient history out to an SD card periodically (when you run out of memory on the device)
Inputs
- Read from four ADC sources for sensors
- Read from this sensor to determine volume of air being provided
- MPXV7002DP Transducer APM2.5 APM2.52 Differential Pressure Sensor
- This is a closed loop with both ports terminated to an S type pitot tube located in the patient airstream
- The pressure differential will correspond to the current volume and direction of the air passing by the pitot tube. This will have to be calibrated for the tube we have designed.
- Read from this sensor to determine the airway pressure
- MPXV7002DP Transducer APM2.5 APM2.52 Differential Pressure Sensor
- The sensor is centered around 2.5v. This corresponds to no differential.
- This has one end open to the atmosphere, and one port terminated to the patient airstream
- If the patient inhales on their own, we need to trigger a cycle. This will be a negative pressure dip in the signal. The signal overall could still remain above 0 (2.5v) if the patient is being ventilated with PEEP. So we need to watch for the dip, not a negative pressure.
- Once the cycle is initiated, monitor the airway pressure to ensure we do not exceed the target pressure. If we do, slow rotation of the motor. This will be an increase in the positive pressure level in the signal.
- Read from a hall effect sensor to determine when the motor has reached the starting position.
- There will be a small magnet on the cam. When the cam is in the starting position, this will align with a hall effect sensor positioned on the top of the base_t model.
- This could just be attached to a digital pin and use interrupts as well.
- Read from the BLDC motor field ground connection to determine the current rotation rate and adjust PWM as needed to hit our target rotation rate.
- The field ground will produce 9 pulses per revolution, and the gear train is 270:1 ratio. A cycle is 1/4 turn to full compression, and another 1/4 turn back to start.
- This could just be attached to a digital pin and use interrupts for the count as well.
- Read from this sensor to determine volume of air being provided
- Read from capsense for user buttons.
- Six capsense buttons will be molded into the top cover.
- This is to facilitate directly controlling the set Rate, Volume, and Pressure for the minimal interface.
- Optional: Read from SPI to determine user touch locations on the TFT display. This also requires an interrupt pin.
- Optional: Read an encoder to facilitate menu and history access in some interface.
Logic
- Triggers
- For set rate ventilation (unresponsive patient)
- Initiate a compression release cycle at a rate set by the operator
- For on-demand ventilation (responsive patient)
- Initiate a compression release cycle when the patient inhales.
- For set rate ventilation (unresponsive patient)
- More to come..
- Generate step/dir for controlling a stepper motor, or generate PWM/dir for controlling a BLDC motor or standard DC motor
-
Cradle
03/23/2020 at 19:32 • 0 commentsI didn't like how it looked where the bag was resting on top of the mount for the bag mounts. It was a small area which could be prone to wear so I increased this to be a cradle.
New version is printing, while I test my basic inhalation sensor code.
-
Laser cut
03/23/2020 at 13:53 • 0 commentsIn the process of rebuilding all the parts more modularly, and as layers for laser cutting.
The bottom is now the top, with motor holes added. The mount for the bag attachment arms is a module and included in all the layers that way, etc.
Building them as layers, if I expand the layers, then I get the laser cut parts. If I don't, I get the 3D printed parts.
Next time I do this, I will definitely do this from the start. This is a lot of work, mainly just due to bearings that will rub without clearance elements.