{"id":109,"date":"2017-08-06T15:57:14","date_gmt":"2017-08-06T22:57:14","guid":{"rendered":"http:\/\/eequalspi.com\/?p=109"},"modified":"2017-08-06T15:57:14","modified_gmt":"2017-08-06T22:57:14","slug":"electrocardiogram-input-protection-impedance-and-cmrr","status":"publish","type":"post","link":"https:\/\/eequalspi.com\/index.php\/2017\/08\/06\/electrocardiogram-input-protection-impedance-and-cmrr\/","title":{"rendered":"Electrocardiogram Input Protection Impedance (and CMRR)"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h1>Input protection in an electrocardiogram<\/h1>\n<p>When you&#8217;re building an electrocardiogram, one of the many layers of protection is making sure that there is a &#8220;dumb&#8221; resistor between the body of the patient and the inputs to the system. The reasoning for this is that there is not much that can go wrong with a resistor, and when it does, they generally fail open. This is a common sens protection similar to the requirement that a fuse be the first thing in line in any system past the power input, even before a power switch.<\/p>\n<p>Since it is quite possible that your circuit will be connected to a human through a <em>low impedance <\/em>path (e.g. a wet electrode), these resistors protect the user against other failure modes. One might imagine, for example, an in circuit op-amp failing in such a manner that it simply directly connects the power rail of your system to the patient. Even in a low voltage 5V system, the low impedance and placement of wet electrodes means that you could be dumping tens of milliamps across the chest of a patient, potentially enough to stop a heart!<\/p>\n<p>To protect against this, there should be high impedance in between the patient and circuit. The AAMI (Association for the Advancement of Medical Instrumentation) <a href=\"http:\/\/www.ele.uri.edu\/courses\/bme484\/AAMI_EC11_parts.pdf\">specifies 2.5M\u03a9 input impedance.<\/a> This is fairly conservative however, and higher impedance means more thermal voltage noise and more ambient noise pickup. A system with 1M\u03a9 input resistors right at the input with \u00b19V supplies is only putting the patient at an absolute maximum 18\u00b5A of risk.<\/p>\n<p>Okay, so easy: Throw some 1-2M\u03a9 resistors at the input and we&#8217;re done, right? Nope!<\/p>\n<h1>Common Mode Rejection Ratio (CMRR)<\/h1>\n<p>Off the cuff, this might seem like no big deal. After all, your instrumentation amplifier has high input impedance, right? It&#8217;s supposed to be <em>way<\/em> higher than 1M\u03a9, so adding 1M\u03a9 resistors shouldn&#8217;t make much difference.<\/p>\n<p>In an ideal world, this is true. But it turns out that there&#8217;s this filthy little thing called manufacturing tolerances. One of the many magical things about integrated circuits is that, since all components are manufactured in close proximity in time and space, they tend to track together. This means that it is easy to get closely matched input impedance. This is critical because input resistance mismatch means that common mode signals &#8212; like the ubiquitous and dominant 50\/60Hz line nose &#8212; get turned into <em>differential<\/em><em> mode<\/em> signals, and amplified by your instrumentation amp, swamping out the signal you want to measure.<\/p>\n<p>And the thing is, the whole point of using an instrumentation amplifier in the first place was to reject common mode signals!<\/p>\n<p>Cheap resistors however,\u00a0 are \u00b15% &#8212; actually 5% in each direction. Meaning 1M\u03a9 is actually 950k\u03a9 and 1.05M\u03a9.<\/p>\n<p>Obviously, you can just pay money for closer matched resistors. Say 0.1% or even 0.001%. But that ends up being the price difference between <a href=\"https:\/\/www.digikey.com\/product-detail\/en\/stackpole-electronics-inc\/RNF14FTD1M00\/RNF14FTD1M00TR-ND\/1706679\">10\u00a2<\/a> and <a href=\"https:\/\/www.digikey.com\/product-detail\/en\/vishay-foil-resistors-division-of-vishay-precision-group\/Y01061M00000S0L\/Y01061M00000S0L-ND\/6035309\">$180<\/a>! For a more modest 0.05%, you&#8217;re still looking at <a href=\"https:\/\/www.digikey.com\/product-detail\/en\/vishay-dale\/PTF651M0000AYEB\/PTF651M0000AYEB-ND\/6603432\">75\u00a2<\/a>, which is reasonable for production, but sometimes you&#8217;re in a pinch and only need to build a prototype anyway.<\/p>\n<p>And now we&#8217;re back to where I entered the picture. I was building an ECG system, and I needed a batch of input protection resistors. Eight of them, to be specific. The lab happened to have a bin of 970k\u03a9 1% resistors, and I am impatient.<\/p>\n<p>My solution? Sort though the bin of 1% resistors and pick the closest matched set for my input leads, to minimize the impact on my system&#8217;s CMRR.<\/p>\n<p>&#8230;to be continued.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; &nbsp; Input protection in an electrocardiogram When you&#8217;re building an electrocardiogram, one of the many layers of protection is making sure that there is a &#8220;dumb&#8221; resistor between the body of the patient and the inputs to the system. The reasoning for this is that there is not much that can go wrong with &hellip; <a href=\"https:\/\/eequalspi.com\/index.php\/2017\/08\/06\/electrocardiogram-input-protection-impedance-and-cmrr\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Electrocardiogram Input Protection Impedance (and CMRR)&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,5],"tags":[8],"class_list":["post-109","post","type-post","status-publish","format-standard","hentry","category-biomedical","category-tools","tag-ecg"],"_links":{"self":[{"href":"https:\/\/eequalspi.com\/index.php\/wp-json\/wp\/v2\/posts\/109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eequalspi.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/eequalspi.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/eequalspi.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/eequalspi.com\/index.php\/wp-json\/wp\/v2\/comments?post=109"}],"version-history":[{"count":3,"href":"https:\/\/eequalspi.com\/index.php\/wp-json\/wp\/v2\/posts\/109\/revisions"}],"predecessor-version":[{"id":113,"href":"https:\/\/eequalspi.com\/index.php\/wp-json\/wp\/v2\/posts\/109\/revisions\/113"}],"wp:attachment":[{"href":"https:\/\/eequalspi.com\/index.php\/wp-json\/wp\/v2\/media?parent=109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/eequalspi.com\/index.php\/wp-json\/wp\/v2\/categories?post=109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/eequalspi.com\/index.php\/wp-json\/wp\/v2\/tags?post=109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}