Lab 9 / 15 · Electronics · computable
PWM and Current Ripple
Change frequency, duty cycle, and inductance, and watch the ripple — higher frequency is not automatically better.
Drive parameters
Readouts
An idealized Buck approximation — dead time, switching loss, and magnetic saturation are ignored. Real selection also weighs driver voltage rating, gate-drive capability, and cooling.
What problem this lab solves
«Higher PWM frequency is always better» is the most common misconception. Higher frequency means smaller current ripple and smoother control, but switching losses rise, the dead-time share grows, and the driver heats up. This experiment turns ΔI = V·D(1−D)/(L·f) into a curve you can drag.
How to read the figure
Top is the bridge's PWM; bottom is the phase current. The current is not a square wave — it is a triangle wave rounded by the inductance. Double the frequency and ripple halves; double the inductance and ripple halves too — but inductance is bounded by volume and cost, frequency by switching loss.
Hands-on
Fix 24 V, 50% duty, 0.5 mH, and sweep frequency from 1 kHz to 40 kHz — watch ripple and the «suggested current-loop bandwidth» change. Then squeeze duty to 5% and see why ripple shrinks instead of growing.
Done playing — where next
Related topics
Next labs (in play-learn order)
Differential Signaling and the Eye Diagram
Drag bit rate, cable length, and termination, and watch the eye go from open to shut.
9 min
CAN vs EtherCAT: What Actually Differs
Two buses running side by side — one fights for every frame, the other arrives like a train on schedule.
5 min
Gear Ratio to End-Effector Force
Motor gives 3 N·m; through a 100:1 reduction, how much can the end effector actually push.
4 min