CohenLabPrinceton / pvp

Raspberry pi code for controlling the rapid-deploy critical care ventilator
GNU General Public License v3.0
13 stars 15 forks source link

TestReport: Alternate power supply #97

Closed CohenLabPrinceton closed 3 years ago

CohenLabPrinceton commented 4 years ago

Additional requirements Interruption of the power supply/SUPPLY MAINS to ME EQUIPMENT

Describe:

CohenLabPrinceton commented 4 years ago

@sneakers-the-rat we may need to incorporate an alarm for this in the UI that detects IF the alternate supply is in use. @zajdel easiest way to do this for an arbitrary UPS power supply? Alternately, we can spec one that actually alarms us when it is in use using an audible alarm.

sneakers-the-rat commented 4 years ago

I have a battery pack, but would be useful to have the battery pack that we plan on using for the final thing so i can test code that checks on power source

CohenLabPrinceton commented 4 years ago

@sneakers-the-rat I think we need an actual UPS that can keep the whole machine running for this. It might be an optional standard so we could just say 'not included', but it's better to have it. The Pi battery is also important, and maybe that would only engage when the UPS is needed. @juliennelachance do you and Rengo have a favorite battery pack we were going to use? Otherwise I'd say just use a UPS because battery packs are fire risks.

zajdel commented 4 years ago

Is the UPS to be included within the project enclosure, or can it be external?

CohenLabPrinceton commented 4 years ago

External ok for EUA @zajdel

zajdel commented 4 years ago

The UPS we use in the lab (and many others, it seems) comes with a USB communication port. I am not knowledgeable on this subject, but this USB port is designed to be used with UPS monitoring software. I will look into what we would need to do to poll the UPS and get a status update.

Looks like the NUT (Network UPS Tools) library, or something like it, will need to be installed.

sneakers-the-rat commented 4 years ago

lmk whatever ups you have/how to query it and i can add status/timer in ui

CohenLabPrinceton commented 4 years ago

If the UPS has simple LEDs that light to indicate charge/function, that's also fine. COnsidering that a UPS is optional for the EUA, I'd say spend minimal time here. @sneakers-the-rat @zajdel

zajdel commented 4 years ago

Our UPS doesn't have an LED, but its LCD shows if it's running off of the battery or not, along with its charge.

We will use an OMNI1500LCDT which is rated 810W output which should cover our system.

To determine runtime on battery, I would get a power monitor (like a Kill a Watt) and monitor the vent while it runs at 20 breaths/minute to estimate power consumption. Then we'd compare that against the capacity of the battery, which is cited as 7.5 minutes at half load (405 Watts). Our power use is likely <50 W, so I would estimate on the order of an hour of battery power. Still, better measure the power output to be certain.