Simulink Control Design™ - MathWorks

(Tuis.) #1
To use the algorithm, you do not need an initial PID controller design. However, you must
have some way to get the plant to a nominal operating point for the frequency-response
estimation experiment. If you have an initial controller design, you can use the Closed-
Loop PID Autotuner. For a comparison of closed-loop and open-loop PID autotuning, see
“When to Use PID Autotuning” on page 8-2.

The block supports code generation with Simulink Coder, Embedded Coder, and Simulink
PLC Coder. It does not support code generation with HDL Coder.

For more information about using the Open-Loop PID Autotuner block, see:


  • “PID Autotuning for a Plant Modeled in Simulink” on page 8-9

  • “PID Autotuning in Real Time” on page 8-17


For more general information about PID autotuning and a comparison of the closed-loop
and open-loop approaches, see “When to Use PID Autotuning” on page 8-2.

Ports


Input


u — Signal from controller
scalar

Insert the block into your system such that this port accepts a control signal from a
source. Typically, this port accepts the signal from the PID controller in your system.
Data Types: single | double

y — Plant output
scalar

Connect this port to the plant output.
Data Types: single | double

start/stop — Start and stop the autotuning experiment
scalar

To start and stop the autotuning process, provide a signal at the start/stop port. When
the value of the signal changes from:

16 Blocks — Alphabetical List

Free download pdf