Checking servo linearity and centering

R/C style Servo Motors

Checking servo linearity and centering

Postby blegas78 » Tue Sep 15, 2009 3:35 pm

Ok, well maybe asking a question about the quality of a specific servo will not get much feedback, so here is a more general question since I already have a few micro servos that I would like to test out.

Since I have never checked the centering and linearity of standard servo motors, what are good methods for doing so? I assume this to be very simple, such as calibrating the servo at 0 degrees and 60 degrees, then setting the servo position to 120 degrees to see how far off it is.

What sort of error is acceptable/good/excellent for linearity/centering error?
blegas78
 
Posts: 110
Joined: Mon Feb 09, 2009 5:34 pm
Location: Tucson, Arizona

Re: Checking servo linearity and centering

Postby Matt Denton » Wed Sep 16, 2009 4:24 pm

For starter I presume you have read this: http://hexapodrobot.com/forum/viewtopic.php?f=21&t=13

I have a calibration rig, essentially a rotary encoder with a small gear attached, I then attach a large gear onto the servo horn of the required servo and mount the two so that they mesh nicely. The gearing up helps resolution on the encoder, currently I'm using a 128ppr type. I then have a small piece of firmware on a pic that reads the encoder position converts to degrees and squirts it out to a serial port.

So plugging in the servo I center and reset the encoder pos, then send equal +500u / -500u Sec pulse to drive the servo in each direction, and of course not down the degrees travelled. I repeat this for 3 or more servos and then take an average for my servo range value.

For linearity, I would usually be happy with +/-2 degrees worse case. I tried some cheap servos once that gave readings of say +44, - 53 and all were different!

Hope that makes sense.
Matt Denton
AKA: Winchy_Matt

micromagic systems ltd
Matt Denton
Site Admin
 
Posts: 1556
Joined: Tue May 20, 2008 9:15 pm
Location: Winchester UK

Re: Checking servo linearity and centering

Postby blegas78 » Wed Sep 16, 2009 6:11 pm

Thanks, that makes perfect sense. I mostly just didn't know what "good" linearity meant quantitatively.

And wow, +44/-53 is pretty incredible...
blegas78
 
Posts: 110
Joined: Mon Feb 09, 2009 5:34 pm
Location: Tucson, Arizona


Return to Servos

Who is online

Users browsing this forum: No registered users and 1 guest