艺术
美容与健康
工艺
文化与历史
娱乐
环境
食品与饮料
逆向工程
科学
体育
技术
可穿戴设备

The Voice-Coil Actuator and Track Following
A floppy drive finds a track by counting steps out from a stop and hoping. It works because its tracks are 188 micrometres apart, which is roughly the width of a human hair and enormous by any other standard.
A hard disk cannot do that, and the reason is not precision — it is TEMPERATURE. An aluminium chassis fifty millimetres across grows twelve micrometres when it warms by twenty degrees, which is a normal morning for a drive. At 5000 tracks per inch that is four and a half whole tracks of movement, arriving while the drive is running, and no amount of factory calibration can anticipate it. The only answer is to stop guessing and MEASURE where the head actually is, continuously, and correct.
The actuator that does the correcting is a voice coil — the same motor as a loudspeaker, and for the same reason. A stepper has detents and stiction and can only stop where its teeth allow. A voice coil produces a force proportional to current, anywhere, with nothing to catch on. What it does NOT produce is a position: force integrated twice is position, so the arm is a double integrator, and a double integrator under proportional control alone oscillates no matter how gently you push it.
FULLY BUILDABLE, and this is the one in the batch worth doing properly. A loudspeaker, a position sensor and a PID loop on a microcontroller is a genuine track-following servo. The resonance you find and the settling time you measure are the same two numbers a drive engineer fights, four orders of magnitude apart.
高级
5 hours
说明
1
1
Build the actuator and its sensor
Build the actuator and its sensor
Take a loudspeaker — a 3-inch full-range is ideal — and glue a stiff light pointer to the cone, a strip of card or a cocktail stick with a paper flag on the end. That flag is your head.
Mount the QRD1114 reflective optical detector so the flag moves across its field as the cone moves. Adjust the standoff until the analogue output swings across most of the ADC range over a few millimetres of travel, and write down the volts per millimetre — that is your sensor gain and every later number depends on it.
Drive the coil from an H-bridge or a power op-amp, NEVER straight from a GPIO pin: a voice coil is four to eight ohms and will draw an amp. Check the polarity by applying a small DC current and confirming the cone moves the way your sensor reads as positive.
此步骤所需材料:
Speaker (Lab)1 个
Optical Detector / Phototransistor - QRD11141 个
Full-Bridge Motor Driver Dual - L298N1 个
Resistor Kit1 个所需工具:
Breadboard - Classic
Jumper Wire Set
Bench Power Supply (30V/5A)
Digital Multimeter (Lab Grade)
Digital Oscilloscope2
2
Close the loop and step the target
Close the loop and step the target
Flash the sketch. It runs a 500 Hz PID loop and steps the target every half second — a one-track seek — printing time, target, position, error and drive as CSV.
Do this experiment in order, because the order is the lesson.
First set KD to 0.0 and KI to 0.0, leaving only proportional control. Raise KP from very small. It will oscillate, and it will oscillate at ANY gain that is large enough to move the cone at all. That is not bad tuning: an actuator that produces FORCE gives you position two integrations later, which is 180 degrees of phase all by itself, so there is no phase margin left to lose.
Now add KD. The oscillation stops, because derivative action is the only thing supplying the missing phase. Then add KI and watch the steady-state offset from gravity disappear.
Finally, raise KP until it rings again and note the ringing frequency. That is your structure's first resonance, and it is the ceiling on everything.
voice_coil_servo.inocpp
所需工具:
ESP32 Development Board
Desktop Computer
Digital Oscilloscope
Bench Power Supply (30V/5A)3
3
Error budget, resonance, and where to put the servo
Error budget, resonance, and where to put the servo
正在加载 Jupyter 笔记本…
所需工具:
Desktop Computer4
4
Compendium: force is not position
Compendium: force is not position
VOICE COIL, NOT STEPPER. A stepper is a position source with detents: strong, holds without feedback, and can only stop where its teeth allow. A voice coil is a FORCE source — F = BIL, linear in current, no cogging, no backlash, no stiction — so it can be commanded anywhere. It also cannot hold position unpowered, which is why a drive parks its heads with a spring or a latch.
THE COST OF BEING A FORCE SOURCE. Position is force integrated twice, so the plant arrives with 180 degrees of lag before you add anything. Proportional control alone therefore has zero phase margin and oscillates at every usable gain — you measured this in step 2. Derivative action supplies the missing phase and is not optional. Integral action then removes the standing error from gravity and windage, and needs an anti-windup clamp or a saturated stage never recovers.
SEEK IS NOT FOLLOWING. Getting to the track is bang-bang — accelerate, coast, decelerate — limited by the current the coil takes before it cooks. STAYING there is the linear loop, limited by the arm's first resonance. Real drives run two controllers and switch, which is why a seek shows a distinct settling tail on a scope.
材料
4- 占位符
- $1.22
- $3.64
- 起$5.80
所需工具
7- Breadboard - Classic10% 佣金$9.69
- Digital Oscilloscope10% 佣金Magento Legacy Storeships internationally占位符
估计总额
制作者买了什么。未标价的材料,在你购买的地方获取。
相关蓝图
这些蓝图共享知识——技术、材料或原理
CC0 公共领域
此蓝图以 CC0 协议发布。你可以自由复制、修改、分发和使用此作品,无需征得许可。
通过购买蓝图中的产品支持创客,他们将获得 创客佣金 (由供应商设定),或创建此蓝图的新版本并将其作为连接包含在你自己的蓝图中以分享收入。



