GithubHelp home page GithubHelp logo

ventilator's Introduction

Full System

Low-Cost Open Source Ventilator

In the event that COVID-19 hospitalizations exhaust the availability of FDA approved ventilators. This project documents the process of converting a low-cost CPAP (Continuous Positive Airway Pressure) blower into a rudimentary ventilator that could help with breathing during an acute respiratory attack.

WARNING/DISCLAIMER: Whenever possible, please seek professional medical care with proper equipment setup by trained individuals. Do not use random information you found on the internet. I am not a medical professional, just a random person on the internet.

To Do's (aka. things that I could use help with):

  1. A pulmonologist that (while understanding this is not an FDA approved device) is willing to advise on how to make this more effective as a last resort.
  2. Testing with a simple inflator pump and achieve the same pressure control.
  3. Can we detect the breath cycle by simply watching the motor current? Adding air pressure sensors may complicate the build meaningfully. But, using a simple current sensing resistor is simple enough to try.
  4. Developing a better solution to the mouth gaurd. Current solution would require a bunch of tape to create a sufficent forward pressure.
  5. If there is desire to make these, I don't have a supply chain setup. The few parts I have on hand may not be easily sourcable in any volume quickly.
  6. Solutions to prevent the system from becoming unsafe if power is lost. It's not obvious to me on how to do this. Ideas welcome.

To provide comments/feedback, create a new issue on the project. Thanks!

References about the supply and potential shortage of ventilators:

Here we will briefly summarize information on the supply and potential shortage. Key numbers that will affect this:

  1. The current numbers for supply of ventilators (# of ventilators currently)
  2. The demand for ventilators, over time (# of ventilators needed over time)
  3. The ability to increase supply of ventilators (# of ventilators able to be manufactured over time)

Additionally, the numbers above will vary based on each region's need globally.

Some preliminary data (we can continue to update) on some of these areas:

Region # ventilators, current supply # ventilators, needed
Globe
U.S. 46,000 [1] 200,000 or more [1]
California 7,587 and "buying more" now [2]
... add more... ... ...

References

  • [1] Text from my friend who is a doctor at Stanford, let's replace with citable sources if possible. "Estimated 46,000 vent beds across US with anticipated need of 200,000, maybe more if more severe than we know"
  • [2] Gavin Newsom press conference, March 15, 2020 (add link)

References about CPAP/BiPAP/PEEP ventilator modes

Lung Mechanics: PEEP,PEP,ACMV

Ventilator Modes Explained! PEEP, CPAP, Pressure vs. Volume

Materials

  1. Continuous Positive Airway Pressure (CPAP) devices are common devices used by individuals to treat sleep apnea. As a result, CPAP blower components are fairly abundant. Used ones are available on eBay and new ones on Alibaba. In many of these devices, the blower is a simple BLDC motor that can be driven with an ESC. The one I used is from a Respironics REMStar. In volume, these can be under $20. Potential alternative to test is a 12v inflator pump which is even more abundant.

  2. Arduino Compatible Nano/Clone to control the motor speed, breathing cycles, and handle user input. Download the Arduino IDE to program the microcontroller software.

  3. Brushless DC Motor Electronic Speed Controller capable of at least 10A.

  4. Button or swtich for input control. The code cycles through 5 levels of pressure, and double click to swtich between CPAP and BiPAP/Fixed PEEP mode.

  5. 12v DC power supply that can handle at least 5A. The blower works pretty had, and the breathing cycles can create voltage drops which will reset the Arduino if the supply if not strong enough.

  6. Tubing and face mask. If you search for CPAP face mask, you'll find many options/suppliers. The full face mask that covers both the mouth and nose and enabled pressure buildup in the lungs. As an alternative, see below for draft 3D printable parts.

  7. Optional inline 12v battery backup.

Building

This is the full system, with mask, tubing, pump, 12v battery, and swtich for input. However, I would strongly recommend running with a DC power supply since the battery will only last about 3-4 hours. Wearing the mask with a dead battery could cause dangerous CO2 build up. This particular battery can charge and supply power at the same time, acting as an inline battery backup to wall power.

Full System

Below is a close up of the extracted blower. It simply an BLDC motor driving a blower fan. A small ESC and Arduino attached (technically a Teensy2.0++). It has a 3d printed tapered hose adpater on it to fit in the hose. The microcontroller software can be programmed with the Arduino IDE. The software goes through a short initialization sequence to configure the ESC, and then starts at the lowest CPAP setting. You can use the switch to cycle through pressure levels, and double click to cycle through operating modes.

Extracted CPAP Blower

Since I have CPAP, I happen to have a Resmed AitFit F20 mask that I can use. This is quite comfortable and covers both the nose and mouth to make a good seal. However if you can't get a mask, below is a prototype mouthguard that fit in the category of not-so-great-but-usable-if-you-have-a-lot-of-tape. Here's the 3D model. This would require tape to create enough positive pressure. A little bit of leakage is actually desirable to allow CO2 to escape near the mouth nose and flushes out the air over time, rather than being stuck in the tube. WARNING: wearing this taped down without power may cause dangerous CO2 build up.

Mouth Guard Mouth Guard model

Pressure Testing

This is a picture of my test rig to measure the output pressure. It's a U-shaped tube with attached measuring tape to check displacement of water. The actual liquid displacement is 2x the measured line since liquid is being push downwards on the other side of the U an equal amount, doubling the displacement. (I think this is the correct way to measure). At full blast at 12v, it is achieving 45cm/H20. Guidance on ventilators for COVID-19 patients require upto 20cm/H20. So, these blowers are plently powerful.

Pressure measurement fixture

Here are some images showing the dislacement of the liquid at differen speeds. I happen to have Diet Dr. Pepper on hand which makes it easier to see the liquid level rather than just plain water.

3cm 6cm 11cm 22.5cm

Here's a video of the blower pushing a breathing cycle of 16 cycles/min oscilating between 12 and 22cm/H20.

Air Filtration

An open air blower into someone's airway isn't great. If possible, some filtration is preferred. These parts were originally used for a DIY Powered Air Purifying Respriator (PAPR). However, adding a filter will definitely affect the output pressure. It will depend on the blower you have if the motor can handle the additional load. Given the headroom of the blower I tested, these CPAP blowers can probably handle the filter and still hit the target pressure. However, I haven't done longterm thermal testing at high pressure and a strong filter. These adapter plates can be attached with liberal amounts of hot glue, and wrapping the unit in vinyl tape to get a reasonably airtight seal. My blower's enclosure was not air-tight, so it is difficult to guarantee that 100% of the air is coming only through the filter.

This is an adapter plate for a 3M P100 or N95 face mask filter cartridge. Download 3D model

3M Apart 3M attached

This is an adapter plate for a NATO 40mm gas mask filter cartridge. These fitlers are available with CBRN ratings which are needed for viral and bacterial defense similar to those approved by the CDC/NIOSH. Download 3D model

NATO Apart NATO attached

Thanks axjjenn for mentioning this.

ventilator's People

Contributors

jcl5m1 avatar peteflorence avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.