If your hardware has low memory on board, use this option when tuning in external mode.
With this option, Simulink only generates code for the online frequency response
estimation functionality. Because no code is deployed for the PID design functionality, the
result is reduced memory usage on the hardware. In this case, after the estimation is
done, the PID gains are computed in Simulink on the host computer and then sent back to
the autotuner block.
The PID gain calculation at the end of the tuning process demands much more
computation load than online frequency response estimation. If the controller sample time
is very fast, some hardware might not be able to finish the calculation within an execution
cycle. Therefore, having the host computer to perform the PID gain calculation also
enables you to tune a PID controller with fast sample time on hardware with limited
computing power.
bdclose(mdl)
See Also
Open-Loop PID Autotuner
More About
- “How PID Autotuning Works” on page 8-6
- “PID Autotuning for a Plant Modeled in Simulink” on page 8-9
- “Tune PID Controller in Real Time Using Closed-Loop PID Autotuner Block” on page
8-39
8 PID Autotuning