Simulink Control Design™ - MathWorks

(Tuis.) #1
srcblks = frest.findSources('scdspeed_ctrlloop');

The algorithm begins at the output point and traces back through the Sum block Speed
Output. One input to Speed Output is the subsystem External Disturbance. The
algorithm enters the subsystem, finds the source block labeled Step Disturbance, and
reports that block.

The Sum block Speed Output has another input, which the algorithm traces back into
the referenced model Engine Model. Engine Model contains several subsystems, and
the algorithm traces the signal through these subsystems to identify any time-varying
source blocks present.

For example, the Combustion subsystem includes the From block marked delta that
routes the signal from the Spark Advance source. Because Spark Advance is a
constant source block, however, the algorithm does not report the presence of the block.

The algorithm continues the trace until all possible signal paths contributing to the signal
at each linearization output point are examined.

Alternatives


You can use the Simulink Model Advisor to determine whether time-varying source blocks
exist in the signal path of output linear analysis points in your model. To do so, use the

15 Alphabetical List

Free download pdf