Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > sci.electronics.design > #483243
| From | rickman <gnuarm@gmail.com> |
|---|---|
| Newsgroups | sci.electronics.design |
| Subject | Re: Servo current spike |
| Date | 2017-10-27 21:06 -0400 |
| Organization | A noiseless patient Spider |
| Message-ID | <ot0l7k$5ln$1@dont-email.me> (permalink) |
| References | <20171020-225400.685.0@Peabody.ssl.astraweb.com> <f3cfa4a5-ca83-462d-83d9-e196d913ff1c@googlegroups.com> <MPG.345d82aa2546590098a05d@news.eternal-september.org> <20171028-003544.818.0@Peabody.ssl.astraweb.com> |
Peabody wrote on 10/27/2017 8:35 PM:
> Philbrook says...
>
> > you need to have a Diode between the suppy and cpu..
> > place a large cap on the cpu side and supply the servo
> > driver directly from the supply.
>
> > if this is only a very short time the cap on the CPU
> > side will maintain the voltage for it.
>
> Here's my scope display showing the voltage across a 1-ohm
> resistor in series with the 5V supply to the servo:
>
> https://s1.postimg.org/4ll6psepe7/Servo_Current_Spike.jpg
>
> The current spike starts at about 700 mA, and lasts for 22
> mSec.
>
> This project resides on a breadboard, and is powered by a
> breadboard power module mounted at one end. If I add any
> capacitance to the 5V supply, it seems it would just add
> additional current draw since it would be charging up at the
> same time the servo is spiking. I have tried adding up to
> 220 ufd, and that didn't help. But I haven't tried the
> diode. The failure is in the ultimate 9V supply, so that's
> really where I need the capacitance. There's just no easy
> way to add that.
>
> Since it does work with a 9V battery, I'll just use that and
> call it a day. But for my future servo projects, I'll have
> to plan for this spike. I ordered a differnt servo, an
> HXT500 micro servo, and it produces the same power-up spike,
> although it only lasts half as long. So apparently this is
> typical behavior. Someone suggested that a digital servo
> might not produce such a spike, but it appears they draw
> more current when idle.
You aren't looking at this correctly. The problem is the power to the CPU
is dropping. Adding raw capacitance is going to be hard to support a 700 mA
load for 22 ms.
C dV = I dt, C = I dt / dV
Keeping the voltage drop to 0.25 means you need a 61,600 uF cap. Don't
think that is going to work.
Instead look at this diagram which I think is what you have.
9V 5V
Power in +----+ Power Out
-->>------| 5V |----->>--------+-----------> Servo
+----+ |
| |
| +-----------> CPU
V
The problem is the shared 5 volt rail is dragged down by the servo. If you
add the diode and cap you get this.
9V 5V
Power in +----+ Power Out
-->>------| 5V |----->>--------+-----------> Servo
+----+ |
| |
| +--|>|---+--> CPU
V |
---
---
|
V
In this case the diode will prevent a low voltage on the 5 volt rail from
dragging down the CPU supply. The capacitor will hold up the CPU voltage.
This will require a much smaller cap. C dV = I dt. The CPU current is a
lot less so the required capacitance will be a lot less, maybe as small as
100 uF.
--
Rick C
Viewed the eclipse at Wintercrest Farms,
on the centerline of totality since 1998
Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-20 17:54 -0500
Re: Servo current spike tabbypurr@gmail.com - 2017-10-20 16:06 -0700
Re: Servo current spike "John Smith" <invalid@invalid.invalid> - 2017-10-20 19:18 -0400
Re: Servo current spike John Larkin <jjlarkin@highland_snip_technology.com> - 2017-10-20 16:42 -0700
Re: Servo current spike sdy <sdeyoreo@hotmail.com> - 2017-10-20 18:45 -0700
Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-20 21:57 -0500
Re: Servo current spike "John Smith" <invalid@invalid.invalid> - 2017-10-20 23:41 -0400
Re: Servo current spike "Tim Williams" <tmoranwms@gmail.com> - 2017-10-20 23:32 -0500
Re: Servo current spike Lasse Langwadt Christensen <langwadt@fonz.dk> - 2017-10-21 06:03 -0700
Re: Servo current spike Jasen Betts <jasen@xnet.co.nz> - 2017-10-25 08:04 +0000
Re: Servo current spike sdy <sdeyoreo@hotmail.com> - 2017-10-25 09:04 -0700
Re: Servo current spike M Philbrook <jamie_ka1lpa@charter.net> - 2017-10-27 18:52 -0400
Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-27 19:35 -0500
Re: Servo current spike rickman <gnuarm@gmail.com> - 2017-10-27 21:06 -0400
Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 00:17 -0500
Re: Servo current spike rickman <gnuarm@gmail.com> - 2017-10-28 02:39 -0400
Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 08:28 -0500
Re: Servo current spike rickman <gnuarm@gmail.com> - 2017-10-28 11:31 -0400
Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 11:36 -0500
Re: Servo current spike rickman <gnuarm@gmail.com> - 2017-10-28 12:55 -0400
Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 13:44 -0500
Re: Servo current spike rickman <gnuarm@gmail.com> - 2017-10-28 14:57 -0400
Re: Servo current spike Jasen Betts <jasen@xnet.co.nz> - 2017-10-28 10:23 +0000
Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 08:34 -0500
Re: Servo current spike Jasen Betts <jasen@xnet.co.nz> - 2017-10-28 20:12 +0000
Re: Servo current spike "John Smith" <invalid@invalid.invalid> - 2017-10-27 21:50 -0400
Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 00:23 -0500
Re: Servo current spike "John Smith" <invalid@invalid.invalid> - 2017-10-28 01:32 -0400
Re: Servo current spike Winfield Hill <hill@rowland.harvard.edu> - 2017-10-28 06:42 -0700
Re: Servo current spike rickman <gnuarm@gmail.com> - 2017-10-28 11:33 -0400
Re: Servo current spike tabbypurr@gmail.com - 2017-10-29 02:25 -0700
Re: Servo current spike sdy <sdeyoreo@hotmail.com> - 2017-10-27 19:12 -0700
Re: Servo current spike kevin93 <kevin@whitedigs.com> - 2017-10-27 19:30 -0700
Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 00:26 -0500
Re: Servo current spike kevin93 <kevin@whitedigs.com> - 2017-10-27 19:19 -0700
Re: Servo current spike Peabody <waybackNO584SPAM44@yahoo.com> - 2017-10-28 00:33 -0500
Re: Servo current spike TTman <kraken.sankey@gmail.com> - 2017-10-29 12:54 +0000
csiph-web