Skip to content

Analyze the characteristics of a continuous turn servo

License

Notifications You must be signed in to change notification settings

WCRSyyc/profilingServos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Profiling Servos

Analyze the characteristics of a continuous turn servo

Or at least gather the data needed to create a profile externally

The WCRS Omni3 Follower robots uses continuous turn servos for movement. After initial manual calibration (servos are NOT all created equal), replacing a dead servo resulted in the need to calibrate again. Since the initial line follower code was written, the Arduino Servo library has added a .writeMicroseconds method. One of the limitations previously, was getting a sufficient range of usable setting values for speed control. For that bot, speed control was VERY important. Controlling direction is archived by setting the speed of each wheel / servo independently, based on calculations from the paper Three omni-directional wheels control on a mobile robot

Switching to Servo.writeMicroseconds() gives MUCH finer speed control than Servo.write(). For these servos, a range of about 250 usable values. Instead of 14. Much easier for the speed and direction control logic to find good numbers.

Anyway, this led to the need for new calibration information all around, plus the knowledge that it is not likely to be a one (more) time event. This project is one of the results. Another result, the opto-interrupter sensor, needs to be documented else where. Basically, it uses a transmissive optical sensor, and a piece of cardboard temporarily taped to the wheel, to allow detection of the time taken for full or partial servo rotations.

Once this got started, it took on a life of its own. In the process discovering just how much variability there can be between supposedly identical tests of a single servo.

Things discovered (about these servos)

  • Clockwise and counterclockwise maximum speeds are different
  • Speed at a fixed setting varies based on the rotation angle
    • At supposed constant speed, the wheel speeds up and slows down during a single rotation
  • There is several percent variation in timings of what should be near identical conditions.

About

Analyze the characteristics of a continuous turn servo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages