This part is for members
Membership opens soon. Leave your email and we'll tell you the day it does. Founding members get the launch price.
Keep watching the free partsThe current loop 4: why iq stops short of 2 A
Episode 10a's 0 → 2 A step, this time with the rotor free: iq is only 1.42 A at 310 ms, about 30 % less torque in torque mode. A turning rotor makes back EMF, ωe·ψ (that term in the virtual motor, sim_plant.c; 4.06 V at 1163 rpm, climbing 0.38 V per ms). With no feedforward the integrator carries it (iq_ki_int = 4.02 V at 310 ms); it only climbs while there is an error, so following a ramp leaves error = slope/(kp·ki) = 383/665 = 0.58 A, measured 0.58. 200 % bandwidth only shrinks it to 0.34 A. servohub has flux_wb: set to 0, saved to flash, writable over MAVLink, visible on the scope, and read by nothing; writing the right 0.00667 leaves the run bit-identical. Patched copy (ωe·flux_wb added, labelled on screen): 2.01 A at 305 ms, integrator at half a volt. At high speed the real iq parts from the reading: that is 9b's angle push. Your turn: flux 25 % low leaves 0.20 A, 35 % high overshoots to 2.38 A, both predicted by the same formula.