View Single Post
  #3   Spotlight this post!  
Unread 06-02-2009, 08:56
Bomberofdoom's Avatar
Bomberofdoom Bomberofdoom is offline
Biggest FIRST addict in Israel
AKA: Nir Levanon
FRC #2230 (Zcharia's Angels)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Israel
Posts: 471
Bomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond reputeBomberofdoom has a reputation beyond repute
Send a message via MSN to Bomberofdoom
Re: Make servos faster

Quote:
Originally Posted by Greg McKaskle View Post
I'm most familiar with the LV code, so that is what I'll describe. The same stuff is often happening in the C++ example code too.

The servo control VI has proportional constants on its panel. I believe the LV ones are a dividing proportion, so smaller number will lead to bigger delta per pixel away from center. I'd keep the robot still, on blocks or unplugged in order to isolate the servos. Then decide on a repeatable movement, perhaps automated, perhaps approximated by a distance and tempo.

Lower the proportion number and you should see the servo speed up with small changes, and then become unstable as the servo overshoots and starts a feedback. The other thing you can do to speed it up is to turn off the smoothing, and perhaps the deadband. The smoothing will introduce a small lag, and the deadband will allow a small uncorrected error, but I wouldn't expect either the slow the servo. On the other hand, doesn't take long to test.

Beyond that, it is a function of the servo HW.

Greg McKaskle

Could you explain more specificly how to do those changes in the VI (searched for "Servo Control.vi", but realized it was "Set Position.VI")? Some images of the explanation would really help.
Plus, how diffrent is Set Position.vi compared to the servo control loop in the Two Color Servo Camera Example?

Thanks.
__________________
TEAM 2230 ZECHARIA'S ANGELS

2009 Microsoft Israel FRC Regional Winners!
2009 Microsoft Israel FRC Regional Chairman's Award Winners!!!
---------------------------------
2008 Microsoft Israel FRC Regional semi-finalist.
2008 Microsoft Israel FRC Regional Delphi's "Driving Tommorow's Technology" Award winner.
2008 Robot Driver
---------------------------------
2007 GM/Technion Israel FRC Regional semi-Finalist.
2007 GM/Technion Israel FRC Regional Xerox Creativity Award winner.
2007 Robot Driver.