The signal for testing tracking performance is a series of speed ramps from 0-500 RPM,
500-2000 RPM and 2000-3000 RPM. Simulating the model with initial controller gains
shows slow tracking response, indicating that controller re-calibration is needed.
open_system([mdl '/Visualization/RPM (Outer)']);
sim(mdl);
BLDC Motor Speed Control with Cascade PI controllers