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; Thu, 23 Jan 2020 14:27:20 -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 00NMFdSY017439; Thu, 23 Jan 2020 17:18:11 -0500 Received: from outgoing-exchange-1.mit.edu (OUTGOING-EXCHANGE-1.MIT.EDU [18.9.28.15]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 00NMFb58017436 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 23 Jan 2020 17:15:37 -0500 Received: from w92exedge3.exchange.mit.edu (W92EXEDGE3.EXCHANGE.MIT.EDU [18.7.73.15]) by outgoing-exchange-1.mit.edu (8.14.7/8.12.4) with ESMTP id 00NMG7fJ010082 for ; Thu, 23 Jan 2020 17:16:14 -0500 Received: from oc11exhyb3.exchange.mit.edu (18.9.1.99) by w92exedge3.exchange.mit.edu (18.7.73.15) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Thu, 23 Jan 2020 17:15:18 -0500 Received: from oc11exhyb6.exchange.mit.edu (18.9.1.111) by oc11exhyb3.exchange.mit.edu (18.9.1.99) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Thu, 23 Jan 2020 17:15:20 -0500 Received: from NAM04-BN3-obe.outbound.protection.outlook.com (104.47.46.58) by oc11exhyb6.exchange.mit.edu (18.9.1.111) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Thu, 23 Jan 2020 17:15:20 -0500 Received: from MN2PR01CA0002.prod.exchangelabs.com (2603:10b6:208:10c::15) by SN6PR01MB4205.prod.exchangelabs.com (2603:10b6:805:a6::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2644.25; Thu, 23 Jan 2020 22:15:19 +0000 Received: from DM3NAM03FT051.eop-NAM03.prod.protection.outlook.com (2a01:111:f400:7e49::202) by MN2PR01CA0002.outlook.office365.com (2603:10b6:208:10c::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.20 via Frontend Transport; Thu, 23 Jan 2020 22:15:19 +0000 Received: from mail-pl1-f182.google.com (209.85.214.182) by DM3NAM03FT051.mail.protection.outlook.com (10.152.83.56) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2665.18 via Frontend Transport; Thu, 23 Jan 2020 22:15:18 +0000 Received: by mail-pl1-f182.google.com with SMTP id q13so1240400pls.1 for ; Thu, 23 Jan 2020 14:15:18 -0800 (PST) Received: from [192.168.1.5] (118-93-187-88.dsl.dyn.ihug.co.nz. [118.93.187.88]) by smtp.gmail.com with ESMTPSA id x18sm3864853pfr.26.2020.01.23.14.15.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jan 2020 14:15:16 -0800 (PST) From: Brent Brown To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Thu, 23 Jan 2020 14:15:18 -0800 Subject: Re: [EE] H-Bridge supply voltage spike only in "reverse" (not forward) Thread-Topic: [EE] H-Bridge supply voltage spike only in "reverse" (not forward) Thread-Index: AdXSPEdmIYKvCYAJROiQPrtKVpV2Tg== Message-ID: <5E2A1AF6.31658.270F2203@brent.eds.co.nz> References: , List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: Reply-To: Microcontroller discussion list - Public. Accept-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: received-spf: None (protection.outlook.com: eds.co.nz does not designate permitted sender hosts) dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eds-co-nz.20150623.gappssmtp.com; s=20150623; h=from:organization:to:date:mime-version:subject:message-id:priority :in-reply-to:references:content-transfer-encoding :content-description; bh=GZqyf4icetdTBYeicZPRlt4USkaVKAwu1XreLak03q4=; b=Vo7UgimcI97i6IcroOYr8CubzUlNGxSgW0MCzjb3DdLjfYifLa+ZUbgOtEsSxMV7Mr IfyKh/TvCteI5kUoL8XpCOL8Baqy376I6+ze12Ikx9Fvi88lZmntQP8RosOwlTV5vWDV N5pQhUeymcoBd0DUalUeZ1qg8zZXZWedfQEoUUS9oON+e0EJ+Rf2DqiVDANJbFusi2gh BLZbeW9lPrgxC5KkUOpyQI9rq/Okv3HvC7BGyicuJY/LmnB62Qra0SSu1ZMIBdEnHeBc Ub/WthOyg+YZ/QnmaBTiOMapx/0I0rYD4QLGKpN4XN6VmA5l0mrdIuDVv1s/tX/cFEwi 66nA== authentication-results: spf=none (sender IP is 209.85.214.182) smtp.mailfrom=eds.co.nz; mit.edu; dkim=pass (signature was verified) header.d=eds-co-nz.20150623.gappssmtp.com; mit.edu; dmarc=none action=none header.from=eds.co.nz; 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-received: by 2002:a17:902:ac97:: with SMTP id h23mr282520plr.237.1579817717613; Thu, 23 Jan 2020 14:15:17 -0800 (PST) x-topics: [EE] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Add to that, brushed DC motors can have the brush positions optimised for o= ne=20 direction, in which case reverse direction is slightly different. Still hard to decipher what's going on from waveforms though. Does the moto= r=20 actually run fwd/rev ok... speed/torque ok? Could you run it with a moderat= e=20 resistive load instead of a motor and check everything... rule out back-EMF= and=20 prove the MOSFET bridge and drivers are behaving correctly (or not). On 23 Jan 2020 at 21:28, Bob Blick wrote: > Hi Jason, Back-EMF from the motor can pump the supply up. Why it > would do it only in reverse is a bit of a mystery though. Having a > big-enough bulk capacitor on an H-bridge supply is always a > requirement when driving an inductive load. Class-D audio power > amplifiers also sometimes have the same problem of supply pump-up, > depending on the speaker load and program material.=20 >=20 > Best regards, Bob >=20 > ________________________________________ > From: piclist-bounces@mit.edu on behalf of Jaso= n White=20 > Sent: Thursday, January 23, 2020 11:04 AM > To: Microcontroller discussion list - Public. > Subject: [EE] H-Bridge supply voltage spike only in "reverse" (not forwar= d) >=20 > Hello everyone, >=20 > I am encountering the following. The supply voltage line to my > H-Bridge is rising only when the H-Bridge is running a motor in > "reverse." In forward the supply voltage is unaffected. >=20 > Intuitively I am having trouble understanding why this should be. I > lack a decoupling capacitor on the supply line, but do have a zener. >=20 > I have attached a schematic of the circuit. >=20 > I will send the forward and reverse waveforms in two follow up emails > to avoid hitting the file size attachment limits.The waveforms will > show supply voltage and voltage across the H-Bridge. >=20 > -- > Jason White >=20 > --=20 > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .