Author Topic: Servo Calibration  (Read 2017 times)

0 Members and 1 Guest are viewing this topic.

Offline dshellerTopic starter

  • Full Member
  • ***
  • Posts: 72
  • Helpful? 0
Servo Calibration
« on: August 27, 2008, 12:40:02 AM »
I'm curious how you all calibrate your servos to run close to the same speed per pulse... I'm talking about continuous rotation servos.
I bought a couple parallax continuous rotation servos a little ago and just started using them, I noticed they were off through initial testing... so I hooked up a cardboard wheel and marked a position, I then let it run for 10 seconds and count how many rotations I get for that pulse width.

What do you guys do?

Offline Captain_Tuna

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
Re: Servo Calibration
« Reply #1 on: August 27, 2008, 03:43:57 AM »
the should have a trimmer on one side. you need to rotate that to calibrate them, well...that's what i did.

Offline dshellerTopic starter

  • Full Member
  • ***
  • Posts: 72
  • Helpful? 0
Re: Servo Calibration
« Reply #2 on: August 27, 2008, 04:49:12 AM »
I'm aware of the trimmer, I set both servos to idle at 1.5 ms pulse width, but the servos -- for whatever reason -- don't respond close enough to drive straight if they were both being given the same pulse.

Offline Captain_Tuna

  • Jr. Member
  • **
  • Posts: 27
  • Helpful? 0
Re: Servo Calibration
« Reply #3 on: August 27, 2008, 05:43:55 AM »
i don't think there's much to do then... i mean, it's the same thing that happens with standard dc motors, there's always one that has one more loop of coil than the other one. To overcome that obstacle i just set them at different pulses (i've also seen some other guys do this). But maybe someone more expert than me has a better solution.

Offline dshellerTopic starter

  • Full Member
  • ***
  • Posts: 72
  • Helpful? 0
Re: Servo Calibration
« Reply #4 on: August 27, 2008, 07:53:31 AM »
Yeah that's what I ended up doing, just going through the range of pulses the servo accepts and writing down their revolutions. Then I just use the closest matches in my code, kind of a dirty method, but I'll keep using it until someone suggests something better.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,658
  • Helpful? 169
    • Society of Robots
Re: Servo Calibration
« Reply #5 on: September 01, 2008, 04:36:57 PM »
I've never found this to be a problem.

For a robot with closed-loop feedback, sensors will detect and correct for speed imbalances in software.

 


Get Your Ad Here