Simulink Control Design™ - MathWorks

(Tuis.) #1

  • writeBlockValue to update the blocks in a Simulink model with the current values
    of the tuned block parameterizations.


Analysis Points


Analysis points, used by the slLinearizer and slTuner interfaces, identify locations
within a model that are relevant for linear analysis and control system tuning. You use
analysis points as inputs to the linearization commands, such as getIOTransfer,
getLoopTransfer, getSensitivity, and getCompSensitivity. As inputs to the
linearization commands, analysis points can specify any open-loop or closed-loop transfer
function in a model. You can also use analysis points to specify design requirements when
tuning control systems using commands such as systune.


Location refers to a specific block output port within a model or to a bus element in such
an output port. For convenience, you can use the name of the signal that originates from
this port to refer to an analysis point.


You can add analysis points to an slLinearizer or slTuner interface, s, when you
create the interface. For example:


s = slLinearizer('scdcascade',{'u1','y1'});


Alternatively, you can use the addPoint command.


To view all the analysis points of s, type s at the command prompt to display the interface
contents. For each analysis point of s, the display includes the block name and port
number and the name of the signal that originates at this point. You can also
programmatically obtain a list of all the analysis points using getPoints.


For more information about how you can use analysis points, see “Mark Signals of
Interest for Control System Analysis and Design” on page 2-53 and “Mark Signals of
Interest for Batch Linearization” on page 3-13.


Algorithms


x is the vector of tunable parameters in the control system to tune. systune converts
each soft and hard tuning requirement SoftReqs(i) and HardReqs(j) into normalized
values fi(x) and gj(x), respectively. systune then solves the constrained minimization
problem:


systune
Free download pdf