Received: from PCH.MIT.EDU (18.7.21.50) by mail.efplus.com (192.168.0.8) with Microsoft SMTP Server (TLS) id 8.3.485.1; Fri, 7 Feb 2020 19:21:56 -0800 Received: from PCH.MIT.EDU (localhost.localdomain [127.0.0.1]) by PCH.MIT.EDU (8.14.7/8.12.8) with ESMTP id 0183AZYW031628; Fri, 7 Feb 2020 22:12:58 -0500 Received: from outgoing-exchange-3.mit.edu (OUTGOING-EXCHANGE-3.MIT.EDU [18.9.28.13]) by PCH.MIT.EDU (8.14.7/8.12.8) with ESMTP id 0183AXVb031624 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 7 Feb 2020 22:10:33 -0500 Received: from oc11exedge2.exchange.mit.edu (OC11EXEDGE2.EXCHANGE.MIT.EDU [18.9.3.18]) by outgoing-exchange-3.mit.edu (8.14.7/8.12.4) with ESMTP id 01839pxF003024 for ; Fri, 7 Feb 2020 22:10:03 -0500 Received: from w92expo30.exchange.mit.edu (18.7.74.42) by oc11exedge2.exchange.mit.edu (18.9.3.18) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Fri, 7 Feb 2020 22:08:10 -0500 Received: from oc11exhyb7.exchange.mit.edu (18.9.1.112) by w92expo30.exchange.mit.edu (18.7.74.42) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Fri, 7 Feb 2020 22:08:32 -0500 Received: from NAM02-BL2-obe.outbound.protection.outlook.com (104.47.38.51) by oc11exhyb7.exchange.mit.edu (18.9.1.112) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Fri, 7 Feb 2020 22:08:32 -0500 Received: from MWHPR01CA0041.prod.exchangelabs.com (2603:10b6:300:101::27) by BL0PR0102MB3572.prod.exchangelabs.com (2603:10b6:207:30::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.21; Sat, 8 Feb 2020 03:08:31 +0000 Received: from DM3NAM03FT038.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e49::207) by MWHPR01CA0041.outlook.office365.com (2603:10b6:300:101::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.21 via Frontend Transport; Sat, 8 Feb 2020 03:08:31 +0000 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (40.92.20.46) by DM3NAM03FT038.mail.protection.outlook.com (10.152.83.95) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.21 via Frontend Transport; Sat, 8 Feb 2020 03:08:30 +0000 Received: from CO1NAM11FT045.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::39) by CO1NAM11HT009.eop-nam11.prod.protection.outlook.com (2a01:111:e400:3861::366) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.21; Sat, 8 Feb 2020 03:08:29 +0000 Received: from BYAPR02MB4055.namprd02.prod.outlook.com (10.13.174.58) by CO1NAM11FT045.mail.protection.outlook.com (10.13.175.181) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.21 via Frontend Transport; Sat, 8 Feb 2020 03:08:29 +0000 Received: from BYAPR02MB4055.namprd02.prod.outlook.com ([fe80::f964:6ae7:834b:8fa7]) by BYAPR02MB4055.namprd02.prod.outlook.com ([fe80::f964:6ae7:834b:8fa7%5]) with mapi id 15.20.2707.024; Sat, 8 Feb 2020 03:08:29 +0000 From: Bob Blick To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Fri, 7 Feb 2020 19:08:29 -0800 Subject: =?iso-8859-7?Q?Re:_[EE]:_Stability_AND_Gain_of_=ECg_scales_-_best_of_both?= =?iso-8859-7?Q?_worlds?= Thread-Topic: =?iso-8859-7?Q?[EE]:_Stability_AND_Gain_of_=ECg_scales_-_best_of_both_wor?= =?iso-8859-7?Q?lds?= Thread-Index: AQHV3YtWmPyUIIErn0mv04CHkfIR8agQc4eAgAAkFgCAAAXBdQ== Message-ID: References: , List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: Reply-To: Microcontroller discussion list - Public. Accept-Language: en-US Content-Language: en-US X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: TS500.efplus4.local X-MS-Has-Attach: X-Auto-Response-Suppress: All X-MS-Exchange-Organization-SenderIdResult: Pass X-MS-Exchange-Organization-PRD: mit.edu X-MS-TNEF-Correlator: acceptlanguage: en-US received-spf: Pass (protection.outlook.com: domain of outlook.com designates 40.92.20.46 as permitted sender) receiver=protection.outlook.com; client-ip=40.92.20.46; helo=NAM11-BN8-obe.outbound.protection.outlook.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4yPN2mfjhyjz/uPVoIS663ls1sX6s4V/aeHHWuRsw+U=; b=CS6U/MxabKvIsBxjbPaLSxZHxxSnPa5ZpgdlL+XaLl8Scz08WFHBKVvFCM6x45cuS8h6AM8qVjIznY5Rm9sx1/FDD2JA1I8cY82QQlyGyNZQppUtEl3rOxvUbpvxgHCmMn2Op/UX5zXcDsKul2PlOyJaqqpmQN/sPMV1AyMjHvQHLQVJkoa/xZJYeHliFAH1FOpBFBO53G1YbcnApnBviFj8HjnAPLvVgs/R7JI+gkJX8FD/vk+z/J/5EmbuOFIrzVbcu8vGnQyo0g6QxDaj23FkmAjp2/31PfkgP9V+TB6OZyFpxtERYNZOM73j19j8lhCFLmEcdVWHyOU3jthruw== authentication-results: spf=pass (sender IP is 40.92.20.46) smtp.mailfrom=outlook.com; mit.edu; dkim=pass (signature was verified) header.d=outlook.com;mit.edu; dmarc=pass action=none header.from=outlook.com;compauth=pass reason=100 errors-to: piclist-bounces@mit.edu list-id: "Microcontroller discussion list - Public." list-post: x-beenthere: piclist@mit.edu x-mailman-version: 2.1.6 x-topics: [EE] x-mime-autoconverted: from quoted-printable to 8bit by PCH.MIT.EDU id 0183AXVb031624 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi Justin,=0A= If you are having larger amplitude after a lowpass filter then it seems log= ical that there is a new problem being introduced. Perhaps you have RF bein= g rectified. Perhaps there is some power supply or reference voltage proble= m. Perhaps your opamp's common-mode range is being exceeded. Or something e= lse unrelated to the principle of adding a lowpass filter to an input. A pe= rfect(or good-enough) lowpass filter will not act like a peak detector!=0A= Friendly regards, Bob=0A= =0A= ________________________________________=0A= From: piclist-bounces@mit.edu on behalf of Justin= Richards =0A= Sent: Friday, February 7, 2020 6:42 PM=0A= To: Microcontroller discussion list - Public.=0A= Subject: Re: [EE]: Stability AND Gain of =ECg scales - best of both worlds= =0A= =0A= Implementing the filter as suggested has produced similar results to my=0A= intuitive application of filtering capacitors.=0A= =0A= That is, it trades off high frequency small amplitude oscillations for low= =0A= frequency high amplitude oscillations.=0A= =0A= This filter produced approx 0.125Hz full scale deflections from 20Hz=0A= barely detectable deflections.=0A= =0A= Starting to think oscillations is not the correct term here as the output= =0A= looks more like a single diode rectifier with a small mark space ratio.=0A= =0A= The solution to improve stability always seems to be reducing the gain=0A= which reduces the usable range.=0A= =0A= Perhaps a total redesign where the meter movement is servo driven in both= =0A= directions.=0A= =0A= Justin=0A= =0A= =0A= On Sat, Feb 8, 2020 at 8:36 AM Jason White wrote:=0A= =0A= > Possibly of interest,=0A= >=0A= > Sallen-Key Low-pass Filter - you get a two pole low-pass filter with a=0A= > single op amp.=0A= >=0A= > I have attached a schematic of the said filter arrangement. OKAWA has=0A= > a excelent calculator [1] for that topology. For fun I calculated what=0A= > your component values should be using their tool.=0A= >=0A= > The calculator yields the following component values for a lowpass=0A= > filter with a 0.1Hz corner frequency.=0A= >=0A= > R1 =3D 1.6M=D9=0A= > R2 =3D 1.6M=D9=0A= > C1 =3D 1uF=0A= > C2 =3D 1uF=0A= >=0A= > At 10Hz this filter will reduce the incoming signal magnitude by 80dB=0A= > - that is 1/10000 or 0.0001. If filtering will solve your problem -=0A= > something like this will probably do a good job.=0A= >=0A= >=0A= > [1] Sallen-Key Low-pass Filter Design Tool:=0A= > http://sim.okawa-denshi.jp/en/OPseikiLowkeisan.htm=0A= >=0A= > --=0A= > Jason White=0A= =0A= =0A= -- =0A= http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive=0A= View/change your membership options at=0A= http://mailman.mit.edu/mailman/listinfo/piclist=0A= .