Tune the following control system using systune
, and display the values of the tunable blocks.
The control structure includes a PI controller C
and a tunable low-pass filter in the feedback path. The plant G
is a third-order system.
Create models of the system components and connect them together to create a tunable closed-loop model of the control system.
T0
is a genss
model that has two tunable blocks, the PI controller, C
, and the parameter, a
. T0
also contains the switch block X
.
Create a tuning requirement that forces the output y
to track the input r
, and tune the system to meet that requirement.
Final: Soft = 1.43, Hard = -Inf, Iterations = 59
systune
finds values for the tunable parameters that optimally meet the tracking requirement. The output T
is a genss
model with the same Control Design Blocks as T0
. The current values of those blocks are the tuned values.
Examine the tuned values of the tunable blocks of the control system.
C =
1
Kp + Ki * ---
s
with Kp = 0.000433, Ki = 0.00525
Name: C
Continuous-time PI controller in parallel form.
-----------------------------------
a = 67.8
showTunable
displays the values of the tunable blocks only. If you use showBlockValue
instead, the display also includes the switch block X
.