Hacker News new | ask | show | jobs
by numba888 487 days ago
It uses cheap hobby servos which is, to put it mildly, not the same as steppers. You will never get 0.2mm precision with them. They will were out quickly and even quicker under load.

BTW, looks like it doesn't have closed loop control. "0.2mm repetability" (should be repeAtability) is only 'under certain conditions', no load.

4 comments

You'd be surprised what you can do with servos modified with encoders, setup with an industrial grade cascading control loop. First demo video below demonstrates threading a mechanical pencil lead in and out through the writing tip. Second video demonstrates a 187gram weight at the end of a 470mm long rod. Third video shows that the modification is now a quick fitting of some 3D printed parts to the servo motor axle and servo housing.

  https://www.youtube.com/watch?v=ECLrLupFW10
  https://www.youtube.com/watch?v=_4mrb2T706s
  https://www.youtube.com/watch?v=Ctb4s6fqnqo
  https://github.com/adamb314/ServoProject
Servos by definition has encoders...
Yes, but this employs additional encoders to implement a more sophisticated cascading control loop: https://github.com/adamb314/ServoProject/blob/main/Doc/Theor...
I hope Shenzhen is watching ...
It has closed loop control, these [0] are a bit more proper serial servos with digital absolute magnetic encoders. Each one can be sent positional, velocity and even acceleration targets. I doubt anyone is looking for 0.2mm precision for $300 total. Or even 1mm precision.

The PAROL6 BOM doesn't provide any cost estimate, but it looks quite a bit more expensive.

[0] https://www.waveshare.com/wiki/ST3215_Servo

I really never understood why hobby servos are so shitty. Their protocol uses only a very narrow range of PWM values and not the full 0-100% scale and that alone completely wrecks their precision beyond what their motors can achieve.

Also they do measure position to achieve their feedback, might as well just output that on a 4th wire.

It's because the default "analog output" PWM mode of a microcontroller will only give a rough approximation of the signal that the servo actually requires. For a servo, the duty cycle is (almost) irrelevant, the 0-100% scale has no meaning here. What matters is the actual length of the control pulses in milliseconds - the gaps between them can be arbitrarily long within a certain range.

If you think about it, it actually makes a tiny bit of sense. First, it is failsafe: Breaking the control line or shorting it to ground will not move the servo to 0%, shorting it to signal level will not move it to 100% - it just doesn't move at all and stops applying force. Any sentient being within the movement range will definitely prefer it that way instead of random movements. Second, it can actually be pretty precise: The driver circuit can be completely analog, it doesn't have to be limited by arbitrary digital quantization steps. All it needs to do is check if the current encoder value is above or below the target and apply power to the motor accordingly.

They've been around for a really long time. I suspect that back in the analog radio days of yore, the control pulses transmitted by your Futaba were recieved as a pulse train - 6 channel radio, six pulses and a big enough gap between frames to reset the index. At the RX all you have to do is feed those pulses through to successive servos one after the other, which is easy and cheap to do with basic logic ICs.

So when you use hobby servos for robots, you're taking a low precision actuator meant to make a flap or throttle or other control surface go relatively up, down, in, or out, that was designed in like, the 70s, and asking it to do modern robotics stuff

My guess would be they use variable resistors for encoders. I haven't done servos for a while, but the industrial stuff all used optical encoders with Gray code patterns.
There are bit more expensive servos with proper encoding. The thing is hobby airplanes don't need high precision as pilot controls looking at the whole plane movement. Now that hobby is killed by regulations. Robotics is coming..
Yep
These look a bit better than $1 SG90s..