Go to Post We draw the line when our students are more affectionate towards the tools rather than eachother. - ksafin [more]
Home
Go Back   Chief Delphi > Technical > Electrical
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 12-01-2003, 09:23
DanL DanL is offline
Crusty Mentor
FRC #0097
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Somerville, MA
Posts: 682
DanL is just really niceDanL is just really niceDanL is just really niceDanL is just really niceDanL is just really nice
Send a message via AIM to DanL
Crash course in Ohm's Law and Edubots

I posted this in Motors because thats what it was at first, but it's turned into more Electrical and I haven't gotten a response there yet, so here we go.

I want to hook up a servo to the Edubot kit. It says how to do that inpage 7 of the eduManual (pwm outputs section). The only problem is the +battery pin shoots out 7.2 volts (or whatever the battery is currently at). The servo's we got in the kit are rated from 4.8v to 6v, so the controller's voltage needs to be dropped with a resistor. Thing is, I've never done these calculations, so I want to make sure they're right.

Ohm's law solved for resistance is R = E / I, or Resistance = Voltage / Amperage. I'm guessing E is the voltage supplied. As for amerage, the servo specs list two opperating currents: 7.7mA @ 6v for "Idle Current" and 180mA @ 6v for "Running Current". One gets a resistance of 935 ohms, and the other gets a resistance of 40 ohms. So the question is which do I use? I'm guessing I use the higher amerage (40 ohms), because thats the limit and the motor can take less current if it needs to, but like I said, I've never done this, so all of this is a complete guess.

So my question is to hook the servo's up to the 7.2 volt EduBot pwm ports, is the resistor I need to use 40ohm?
__________________
Dan L
Team 97 Mentor
Software Engineer, Vecna Technologies
  #2   Spotlight this post!  
Unread 12-01-2003, 11:11
Don's Avatar
Don Don is offline
Registered User
#0288 (the RoboDawgs)
 
Join Date: Jun 2001
Location: Grandville, Michigan
Posts: 92
Don is an unknown quantity at this point
Send a message via AIM to Don
I'm pretty new at the whole custom circuitry thing, so I'll let someone else answer your resistor question since my answer won't be very reliable.
But I wouldn't be too worried about directly plugging that servo in. From my experience they can usually handle up to around 9 volts w/o any trouble.
  #3   Spotlight this post!  
Unread 12-01-2003, 15:18
nwagers nwagers is offline
Registered User
#0240 (Mach Vee)
 
Join Date: Oct 2001
Location: Monroe, MI
Posts: 88
nwagers is an unknown quantity at this point
Send a message via AIM to nwagers Send a message via Yahoo to nwagers
I'm not exactly positive, but here it goes. The ratio of the voltage drops is equal to the ratio of the 2 loads (resistor and servo). You want a maximum voltage of 6 volts on the servo. So the voltage drop on the resistor is 1.2 V. The maximum resistance (935 ohms) of the servo is the minimum current (7.7mA) Keeping the ratios the same, the circuit would need 187 ohms of resistance when it is not moving. However, the circuit would only need 8 ohms when it's moving... My suggestion is to purchase a 6V regulator from digikey.com It'll cost around $1
  #4   Spotlight this post!  
Unread 13-01-2003, 00:21
PyroPhin's Avatar
PyroPhin PyroPhin is offline
Registered User
None #0263
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Frozen Wasteland, NY
Posts: 68
PyroPhin is on a distinguished road
just.. pop random resistors on untill you get some decent output.. whats the worst thats gonna happen? voltage will be too low?

~Pyro
__________________
Squee!
-=-=-=-==-=-=-=-==-=-=-==-
Team 263, Aftershock:
Alumni, guy who comes back and fixes Krass's mistakes
  #5   Spotlight this post!  
Unread 13-01-2003, 00:33
ChrisH's Avatar Unsung FIRST Hero
ChrisH ChrisH is offline
Generally Useless
FRC #0330 (Beach 'Bots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 1,230
ChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond reputeChrisH has a reputation beyond repute
We've been running servos like those in the kit straight off the pwm output with no trouble. I wouldn't worry about it. Unless one of our electrical gurus like Al says otherwise.
__________________
Christopher H Husmann, PE

"Who is John Galt?"
  #6   Spotlight this post!  
Unread 13-01-2003, 06:48
Matt Reiland's Avatar
Matt Reiland Matt Reiland is offline
'The' drive behind the drive
None #0226 (TEC CReW Hammerheads)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1999
Location: Troy Michigan
Posts: 712
Matt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond reputeMatt Reiland has a reputation beyond repute
It is VERY common to overvolt RC servos to get more performance out of them in RC Cars/Trucks. I have a feeling the life of them will be reduced though by doing so. Good thing they are very cheap.
  #7   Spotlight this post!  
Unread 13-01-2003, 15:03
DanL DanL is offline
Crusty Mentor
FRC #0097
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: Somerville, MA
Posts: 682
DanL is just really niceDanL is just really niceDanL is just really niceDanL is just really niceDanL is just really nice
Send a message via AIM to DanL
hmm... one of my electrical mentors explained it to me like this the other day.

At 6 volts, the voltage drop we want is 1.2 volts. 1.2v / .18 amps gets a resistance of 6.6ohms. But, if we rearrange the equation for Voltage, then E = R * I. Therefore, at idle current, the voltage drop becomes 6.6 * .007 = .046 volts. So basically, using just a simple resistor is fine when you're running it, but when it's idle, you're still essentially shooting out the whole 7.2 volts.

Now all of you are saying that it's fine to overload the servos. Thats okay, but our mentor-guy came up with a neat little circuit that keeps the voltage between 3 and 5volts. So if anyone ever wants to run two servo's out of the edubot and feel like teaching a bit about electricity, here ya go.
Attached Thumbnails
Click image for larger version

Name:	servo-link.gif
Views:	153
Size:	25.1 KB
ID:	906  
__________________
Dan L
Team 97 Mentor
Software Engineer, Vecna Technologies
  #8   Spotlight this post!  
Unread 13-01-2003, 16:03
Eugene Eugene is offline
Registered User
#0321 (Lancers)
 
Join Date: Jan 2002
Location: Philadelphia
Posts: 55
Eugene is on a distinguished road
Send a message via AIM to Eugene
I never knew that such an issue existed so, I simply plugged the servo into the EDU Bot and it worked just fine. However, you are planning on running it for extended periods of time you might run into trouble so stick with your resistor idea.

Eugene
  #9   Spotlight this post!  
Unread 17-01-2003, 08:26
Unsung FIRST Hero
Al Skierkiewicz Al Skierkiewicz is offline
Broadcast Eng/Chief Robot Inspector
AKA: Big Al WFFA 2005
FRC #0111 (WildStang)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1996
Location: Wheeling, IL
Posts: 10,798
Al Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond reputeAl Skierkiewicz has a reputation beyond repute
All,
I like the approach given in the post above from SuperDanman when you know that the battery voltage is high. Although the parts count is high and it takes space to build, it is a very reliable way to insure the correct voltage is supplied to the servo. However, when the battery voltage drops below about 7 volts the regulator starts to drop out of regulation and it essentially turns into a resistor.
A simple diode (1N4001) in series with the battery lead will drop the voltage by 0.6 volts, cathode (banded end) toward the servo. Add two diodes in series for a 1.2 volt drop. The diodes are easy to install in the PWM cable with a little solder and a piece of heatshrink.
However, FIRST has been using servos for years connected directly to the output ports of the controller since those PWM outputs are at internal 5 volt reference instead of battery voltage. We have used servos in the past to initiate the action of small doors for instance. (Our Magic Tongue release of last year for one.) We have also used servo to initiate the change from brake to coast on speed controllers, where the servo actuator contacts a micro-switch which in turn is wired to the brake/coast jumper on the speed controller.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.

Last edited by Al Skierkiewicz : 17-01-2003 at 08:39.
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 19:13.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi