Step 1. Create Deployable Simulink Model with PID Autotuner
Block ........................................ 8-18
Step 2. Configure Start/Stop Signal................... 8-21
Step 3. Set PID Tuning Parameters.................... 8-22
Step 4. Set Experiment Parameters ................... 8-23
Step 5. Tune and Validate ........................... 8-23
Access Autotuning Parameters After Deployment......... 8-24
Control Real-Time PID Autotuning in Simulink........... 8-27
Simulink Model for External-Mode Tuning.............. 8-27
Run the Model and Tune the Controller Gains............ 8-29
Reduce Memory Footprint When Using External Mode..... 8-29
Tune PID Controller in Real Time Using Open-Loop PID
Autotuner Block ................................... 8-31
Tune PID Controller in Real Time Using Closed-Loop PID
Autotuner Block ................................... 8-39
BLDC Motor Speed Control with Cascade PI controllers.... 8-47
Tune Field-Oriented Controllers Using Closed-Loop PID
Autotuner Block ................................... 8-60
Tune Field-Oriented Controllers for an Asynchronous Machine
Using Closed-Loop PID Autotuner Block............... 8-69
Classical Control Design
9
Choose a Control Design Approach...................... 9-2
Design in Simulink ................................. 9-2
Real-Time PID Autotuning ............................ 9-4
Control System Designer Tuning Methods................ 9-6
Graphical Tuning Methods........................... 9-6
Automated Tuning Methods .......................... 9-7
Effective Plant for Tuning............................ 9-8
Tuning Compensators In Simulink..................... 9-9
Select a Tuning Method ............................. 9-9
xxii Contents