The Godfather talking
Share your stuff or I will make you regret it.
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 29, 2024, 10:59:03 10:59


Login with username, password and session length


Pages: [1]
Print
Author Topic: Heart rate/ECG amplifier and "Patient protection" requirements  (Read 4799 times)
0 Members and 1 Guest are viewing this topic.
crunx
Junior Member
**
Offline Offline

Posts: 58

Thank You
-Given: 18
-Receive: 8



« on: November 10, 2015, 03:11:42 15:11 »

Hi,

I try to make a battery-operated ECG device based on a SparFun project, https://www.sparkfun.com/products/12650 and https://cdn.sparkfun.com/datasheets/Sensors/Biometric/AD8232_Heart_Rate_Monitor_v10.pdf

That board is based on AD8232 bio-potential amplifier chip. The schematics seems to be pretty straight-forward, and I feel confident it should be quite OK to base on. However, I am worried about safety, as I have learned, that any device connected to the human body has very strict requirements regarding any injected electrical current, and also that a single component failure should also be always safe / withing limits of the regulations.

The design has two resistors of 180k, R3 and R4, which are in series with the main electrodes, and a third, larger resistor in the reference electrode wire. On that SparkFun board the resistors seem to be quite ordinary chips.

Can somebody advise if that kind of standard resistors satisfy the requirements? After all, as the device would be battery-operated and can't carry fault voltages from mains, there should be very little risks. But I don't want to get in any mess with responsibilities and breaking the safety rules!
« Last Edit: November 10, 2015, 03:14:24 15:14 by crunx » Logged
Codeman
Junior Member
**
Offline Offline

Posts: 70

Thank You
-Given: 31
-Receive: 20


« Reply #1 on: November 11, 2015, 06:53:16 06:53 »

A place to start...

http://electronicdesign.com/power/choose-right-resistors-medical-applications
Logged
solutions
Hero Member
*****
Offline Offline

Posts: 1823

Thank You
-Given: 655
-Receive: 900



« Reply #2 on: November 11, 2015, 08:02:08 08:02 »

While the board might be battery powered, the next board or PC likely isn't. There should be an isolator on THIS board.

If it were me, I'd also be putting two of the probe's current limiter resistors in series in the rare event one fails short.

IMO, and from what I see, it's a crap design and opens itself up to lawsuits (there are lots of those in the USA - developing world, $300 to the family and you're good to go again).
Logged
crunx
Junior Member
**
Offline Offline

Posts: 58

Thank You
-Given: 18
-Receive: 8



« Reply #3 on: November 11, 2015, 10:28:25 10:28 »

Thank you for your relevant comments.

I agree, the SparkFun design is not good enough as-it-is. But it seems to be based on the evaluation board schematics, and functionality is thus likely pretty close to the intended.

Regarding isolation against the "next device in line": I plan to have a radio module in this device for carrying the signal to a receiver connected to a PC. That way there will be no fault currents via any cable such as USB. So if the device is in well-isolating and closed plastics casing, there should be no other user-accessible conductive elements but the electrodes.

I agree also about using two resistors in series, as then a single fault will not drop the protective impedance to "zero". I have seen somewhere the basic rule that no foreseeable single fault must make the device dangerous.

To Codeman: Thank you for the link. I have already seen it. However, unfortunately, it describes only pretty generic stuff.

There will not be higher voltages than 3.3VDC (or maybe 4.2V if I put in a Lithium battery) in the system, and this device will not be used with for example defibrillators shocking the EKG device with high voltages. Therefore I hope "ordinary" resistors would be good enough. But the electro-medical world is pretty new to me, so therefore I am a bit worried!
« Last Edit: November 11, 2015, 10:34:36 10:34 by crunx » Logged
solutions
Hero Member
*****
Offline Offline

Posts: 1823

Thank You
-Given: 655
-Receive: 900



« Reply #4 on: November 12, 2015, 06:53:08 06:53 »

Don't forget that it's the current that kills you, not the voltage
Logged
bigtoy
Active Member
***
Offline Offline

Posts: 238

Thank You
-Given: 322
-Receive: 297


« Reply #5 on: November 15, 2015, 07:40:23 19:40 »

If you're planning on interfacing to a PC via USB, consider using a USB isolator. For example a Linear Technology LTM2884, which isolates both the data lines as well as power. (Which is neat - it can provide you with an isolated +5V for powering your circuit).
Logged
vern
V.I.P
Active Member
*****
Offline Offline

Posts: 144

Thank You
-Given: 7
-Receive: 41


« Reply #6 on: November 16, 2015, 12:34:39 12:34 »

You can't kill anyone with a battery < 5V, the body offers to much resistance, there will never be any current that can kill anyone.
Maybe you can irritate a pacemaker, but I doubt that since they are build to withstand small DC voltages. Otherwise lots of people would die from handling batteries.
There are of course big problems if you have a device that is somehow connected to the mains power.
Don't even try that, there are very high hurdles with isolation, leakage currents and so on....
Also you should not apply a low voltage that is somehow modulated because it may disturb your heart rhythm.
If you are just measuring ECG voltages and transmit them with a low power RF device like bluetooth there should be no problems at all.
But to be absolutely sure you should use the 180kohm resistors in series with the electrodes.
Best practice would be to integrate them in the wires that lead to the electrodes, that way if something breaks inside your box it cannot short any of the resistors.
Logged
solutions
Hero Member
*****
Offline Offline

Posts: 1823

Thank You
-Given: 655
-Receive: 900



« Reply #7 on: November 17, 2015, 06:15:13 06:15 »

Sorry Vern - I disagree

The body doesn't offer the resistance, the skin does. Break the skin and you have a nice salty conductor. In some individuals, a simple DC step function in current can ctrl-alt-del them. You keep mentioning voltage - it's current that matters, not voltage.

By your arguments, we can save money by totally eliminating those 180K resistors (in the wire is one of the worst places to put them, IMO - you don't seem to understand that resistors can fail short, not something breaking in the box).

You also cannot make a broadbrush statement that the circuits are DC just because they are on a battery. Any high gain amplifier can easily become an AC source, albeit generally a high frequency one relative to inducing fibrillation.  The old saying - if you want an oscillator, design an amplifier.

I like Bigtoy's suggestion.  It's practical, low complexity, and is interference immune.
« Last Edit: November 17, 2015, 06:18:05 06:18 by solutions » Logged
vern
V.I.P
Active Member
*****
Offline Offline

Posts: 144

Thank You
-Given: 7
-Receive: 41


« Reply #8 on: November 17, 2015, 01:55:37 13:55 »

The skin offers more resistance, but the body also offers resistance.
To get a mild jolt you need about 10mA, > 100mA can be deadly.
To have 10mA from a 5V source the resistance has to be 500 Ohms, I don't see that.
Test it with an Ohmmeter from one side of the tongue to the other (very wet and salty) = 60kOhm with my tongue.
And the current has to go through the heart, which is not very likely since the body is conducting as a whole, there is no low resistance path right through the heart.
The Separated or safety extra-low voltage (SELV) regulation requires Voltages to be  <60V DC or <25V AC RMS.
If you have a device which is (low voltage) battery powered and you can not connect it to the mains (for example with a wall cube or a battery charger) than it is only considered dangerous if you throw it at someone.

About the resistors:
A resistor consists of 2 electrodes with a wire, a carbon or metal film between them.
There is no way such a device can short, it can open (infinite resistance) or change its resistance a certain level.
If you put a lot of power on it the resisting element can melt or burn and create a somewhat low resistant element, maybe even short.
To do that you need a lot of energy. In this case with 180kOhm you would need 300 Volt to generate 0,5W  which is the typical rating for a standard resistor.
To destroy it you would need a lot more energy over several seconds, no way with a small battery.
The only way to short such a resistor is with an external conducting object that will short the electrodes.
That is why these resistors should not be in the box, where something can break and short the electrodes.

With the oscillating amplifier: You are right, it can happen, but it would not be dangerous, only if you exceed the 25VRMS (see SELV).
Even if the person has a pacemaker it is not considered dangerous, since the oscillating voltage has to be differentially applied at certain points, which you can not do without putting electrodes directly into the heart. Pacemakers generate about 1.5 to 6V pulses, even if you manage to get a differential voltage to the electrodes it could not be destroyed.



Logged
optikon
Cracking Team
Hero Member
****
Offline Offline

Posts: 848

Thank You
-Given: 1092
-Receive: 1999


« Reply #9 on: November 17, 2015, 11:13:10 23:13 »

Thank you for your relevant comments.

I agree, the SparkFun design is not good enough as-it-is. But it seems to be based on the evaluation board schematics, and functionality is thus likely pretty close to the intended.

Regarding isolation against the "next device in line": I plan to have a radio module in this device for carrying the signal to a receiver connected to a PC. That way there will be no fault currents via any cable such as USB. So if the device is in well-isolating and closed plastics casing, there should be no other user-accessible conductive elements but the electrodes.

I agree also about using two resistors in series, as then a single fault will not drop the protective impedance to "zero". I have seen somewhere the basic rule that no foreseeable single fault must make the device dangerous.

To Codeman: Thank you for the link. I have already seen it. However, unfortunately, it describes only pretty generic stuff.

There will not be higher voltages than 3.3VDC (or maybe 4.2V if I put in a Lithium battery) in the system, and this device will not be used with for example defibrillators shocking the EKG device with high voltages. Therefore I hope "ordinary" resistors would be good enough. But the electro-medical world is pretty new to me, so therefore I am a bit worried!

Crunx, in light of the resistor discussions and skin resistance, you can probably sleep at night. You have a battery powered thing with a remote transmitter and fault protection, I find it highly unlikely this could ever harm anybody. Resistors are so stinking cheap, put a bunch in series for double fault protection. I think there is a US medical standard (I think) that allows for a "leakage" current of something like 100uA or so... you ought to look that up..

However, like cracks, use for educational purposes only and never on nice primates.. well perhaps it could be used on smoking chimps since clearly, safety is of no concern there.

Find the standards, I dont think anybody in the thread is saying they know how to make compliant medical devices (I'm certainly not) so the advice is worth what you paid for it.
« Last Edit: November 18, 2015, 10:48:01 10:48 by optikon » Logged

I can explain this to you. I can't comprehend it for you.
vern
V.I.P
Active Member
*****
Offline Offline

Posts: 144

Thank You
-Given: 7
-Receive: 41


« Reply #10 on: November 18, 2015, 12:22:18 12:22 »

I agree with optikon, the device is totally safe as long as you don't connect it to a power outlet.
I would use it, no problem.
With the smoking monkey I don't know......he might throw the thing at you!
Logged
cadence
Junior Member
**
Offline Offline

Posts: 93

Thank You
-Given: 103
-Receive: 430



« Reply #11 on: November 18, 2015, 04:08:02 16:08 »

@crunx,

Hi, your original question was only related to the resistors, however there have been a couple of ECG projects printed in Elektor magazine over the last few years that you may be interested in if you haven't seen them already.

A pretty basic Wireless ECG monitor using ZigBee published in the January 2011 issue, and a far more comprehensive project - an Android Cardioscope using Bluetooth that was published over three issues in 2013: July/August + September + October.

Combined with the advice and opinon offered by other members I hope this helps.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC