Society of Robots - Robot Forum
Electronics => Electronics => Topic started by: octagonx on September 05, 2007, 11:39:44 AM
-
I just want to share how we solved servo jitters
We were having problems controlling 12 servos for our quadruped robot using one microcontroller and 6V battery. Everytime a leg moves, the servos jitter. We tried the solutions posted here, like twisting wires etc, but none seem to remove the problem. We then tried using 74LS245 buffer from the microcontroller to the servo. Until now, the vibrations has not yet returned. I think, adding buffers to the signal greatly removes unwanted signals from coming in...
-
From what it sounds like, if you had just placed a 1uF capacitor between GND and VCC(I think, I could be mistaken on location there...) it should have filtered out the unwanted signals... I MIGHT be wrong about this though...
You should post more too just for reference. For instance, what setup did you use and what other methods had you tried and such... just a thought :)
Thanks for posting a work solution!
-
did you try this? (it was one of the suggestions on this site, and the one I use :P)
http://www.servocity.com/html/boosted_servo_extensions.html
HDL_CinC_Dragon, your suggestion wouldnt work :P
The problem is in the signal line, not power lines.
-
I think the idea is the same. But we tried displaying the input signal using oscilloscope, and the 3.3V output of the microcontroller doesn't seem to be degraded. What really happens is that, each time another servo moves, the ground (0V) level of the input signal becomes too noisy. That's what I think causes jitters, because the servo seems to interpret that noise as a control signal. Also, what we do is that we placed the buffer just after the microcontroller, unlike the buffer-booster placed midway at the servo wires. Isn't it that buffer only reduces loading effect? Does it also blocks noises from coming in?
Anyway, the buffer works. We hope the jitters won't come back, because the presentation will be 2weeks from now.
-
Hmmmm well if ground shifts, then technically the signal line does too - the real signal voltage is signal minus ground.
In this case, I think HDL_CinC_Dragon's suggestion of adding a cap would have worked.
-
Hmmmm well if ground shifts, then technically the signal line does too - the real signal voltage is signal minus ground.
In this case, I think HDL_CinC_Dragon's suggestion of adding a cap would have worked.
Score one for teh Dragon!
Ill take my leave now :)