Simulink Control Design™ - MathWorks

(Tuis.) #1
Convert looptune Problem into systune Problem

Convert a set of looptune inputs for tuning a Simulink model into an equivalent set of
inputs for systune.

Suppose you have created and configured an slTuner interface, st0, for tuning with
looptune. Suppose also that you used looptune to tune the feedback loop defined in
st0 to within a bandwidth of wc = [wmin,wmax]. Convert these variables into a form
that allows you to use systune for further tuning.

[st0,SoftReqs,HardReqs,sysopt] = looptuneSetup(st0,wc,controls,measurements);

The command returns the closed-loop system and tuning requirements for the equivalent
systune command, systune(st0,SoftReqs,HardReqs,sysopt). The arrays
SoftReqs and HardReqs contain the tuning requirements implicitly imposed by
looptune. These requirements enforce the target bandwidth and default stability
margins of looptune.

If you used additional tuning requirements when tuning the system with looptune, add
them to the input list of looptuneSetup. For example, suppose you used a
TuningGoal.Tracking requirement, Req1, and a TuningGoal.Rejection
requirement, Req2. Suppose also that you set algorithm options for looptune using
looptuneOptions. Incorporate these requirements and options into the equivalent
systune command.
[st0,SoftReqs,HardReqs,sysopt] = looptuneSetup(st0,wc,Req1,Req2,loopopt);

The resulting arguments allow you to construct the equivalent tuning problem for
systune.

Convert Distillation Column Problem for Tuning With systune

Set up the control system of the Simulink® model rct_distillation for tuning with
looptune. Then, convert the setup to a systune problem, and examine the resulting
arguments. The results reflect the tuning requirements implicitly enforced when tuning
with looptune.

Create an slTuner interface to the Simulink model, and specify the blocks to be tuned.
Configure the interface for tuning with looptune by adding analysis points that define
the separation between the plant and the controller. Also add the analysis points needed
for imposing tuning requirements.

15 Alphabetical List

Free download pdf