Go to Post None. Ours is anorexic at the moment. Lets see if the building people can come up with a simple tetra-knockdown mechanism. - Fixen [more]
Home
Go Back   Chief Delphi > Technical > Programming
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 15-10-2005, 15:58
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
battery voltage compensation

I was reading a document describing a specific control loop implementation when i ran across a mention of scaling the output inversely porportional to Battery voltage. When i read this an "AHA" lightbulb went off. This is something that can be implemented extremely easily on a FIRST robot and might be of some use in a few situations:
*any sort of timing based autonomous. Could make much more stable
*maintaining optimal tuning of a PID controller during times of low voltage either due to low battery or high motor load.
*might have some limited use under driver control. Humans will compensate for decreased sensitivity so it is probably unnecessary in this case.

Just an idea i thought i might share with everybody. We already have the voltage info available. It can't hurt.
__________________
1139 Alumni

Last edited by Rickertsen2 : 15-10-2005 at 16:01.
  #2   Spotlight this post!  
Unread 15-10-2005, 17:57
KenWittlief KenWittlief is offline
.
no team
Team Role: Engineer
 
Join Date: Mar 2003
Location: Rochester, NY
Posts: 4,213
KenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond reputeKenWittlief has a reputation beyond repute
Re: battery voltage compensation

Interesting idea.

I dont think battery voltage should matter to your PID loops - they look at what the robot is actually doing and adjust accordingly, so they should respond correctly inspite of the other variables the robot is dealing with (carpet friction, motor temp, obsticals in the way, battery voltage...)

but for #1 on your list, if you are running auton open loop, then you could compensate for low battery voltage
  #3   Spotlight this post!  
Unread 17-10-2005, 07:42
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,766
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
Re: battery voltage compensation

Jim,
The trouble with this is your controller never knows what the internal resistance of the battery is at any one point in time. (It is a variable that is hard to predict and varies battery to battery.) If the sensors on a device were able to sense voltage rapidly and the load on the battery remained constant, it would be a cool thing to do. On a variable system such as a robot in competition I don't think it would give as good a response as sensors telling the controller how fast/far motors were responding to stimuli.
__________________
Good Luck All. Learn something new, everyday!
Al
WB9UVJ
www.wildstang.org
________________________
Storming the Tower since 1996.
  #4   Spotlight this post!  
Unread 17-10-2005, 20:53
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: battery voltage compensation

Quote:
Originally Posted by Rickertsen2
I was reading a document describing a specific control loop implementation when i ran across a mention of scaling the output inversely porportional to Battery voltage. When i read this an "AHA" lightbulb went off. This is something that can be implemented extremely easily on a FIRST robot and might be of some use in a few situations:
*any sort of timing based autonomous. Could make much more stable
*maintaining optimal tuning of a PID controller during times of low voltage either due to low battery or high motor load.
*might have some limited use under driver control. Humans will compensate for decreased sensitivity so it is probably unnecessary in this case.

Just an idea i thought i might share with everybody. We already have the voltage info available. It can't hurt.
It might be a more interesting proposition to consider scaling the output
based on the speed of a motor, and whether or not the speed
is in the direction of the desired torque, or the direction against it.
  #5   Spotlight this post!  
Unread 17-10-2005, 21:16
Rickertsen2 Rickertsen2 is offline
Umm Errr...
None #1139 (Chamblee Gear Grinders)
Team Role: Alumni
 
Join Date: Dec 2002
Rookie Year: 2002
Location: ATL
Posts: 1,421
Rickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant futureRickertsen2 has a brilliant future
Send a message via AIM to Rickertsen2 Send a message via Yahoo to Rickertsen2
Re: battery voltage compensation

Quote:
Originally Posted by eugenebrooks
It might be a more interesting proposition to consider scaling the output
based on the speed of a motor, and whether or not the speed
is in the direction of the desired torque, or the direction against it.
Sounds like you are talking about closed loop feedback. Our team has done it for the past few years, and it helps greatly. One very common algorithm is called PID. It calculates an error which is defined as the difference between the current speed and the desired speed. It then factors in the current error, the time integral of the error and the derivative of the error to arrive at an output to give to the motors. If you do some googling you will find a wealth of info.
__________________
1139 Alumni
  #6   Spotlight this post!  
Unread 17-10-2005, 22:12
eugenebrooks eugenebrooks is offline
Team Role: Engineer
AKA: Dr. Brooks
no team (WRRF)
 
Join Date: Jan 2004
Rookie Year: 2001
Location: Livermore, CA
Posts: 601
eugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond reputeeugenebrooks has a reputation beyond repute
Re: battery voltage compensation

Quote:
Originally Posted by Rickertsen2
Sounds like you are talking about closed loop feedback. Our team has done it for the past few years, and it helps greatly. One very common algorithm is called PID. It calculates an error which is defined as the difference between the current speed and the desired speed. It then factors in the current error, the time integral of the error and the derivative of the error to arrive at an output to give to the motors. If you do some googling you will find a wealth of info.
Yes, I am talking about closed loop feedback. So, you do all the above,
and your goal is to deliver a torque to bring a rotating object under control,
but your means to do that is a pulse width modulated drive to an electric
motor. Have a look at the torque/speed curve of a typical electric motor
to understand the source of the issue at hand...
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
DC Voltage indicator Don Wright General Forum 5 09-09-2005 07:52
Why MUST the 7.2v battery be attached to operate servos on the RC? Mike Rush Control System 17 06-02-2004 18:57
RC Circuits Melissa Nute Math and Science 3 25-01-2004 05:02
Off-topic battery stuff. FotoPlasma Electrical 4 06-01-2003 12:19
Voltage Range of Analog Inputs Ulibrium Electrical 21 15-02-2002 14:11


All times are GMT -5. The time now is 14:49.

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