Simulink Control Design™ - MathWorks

(Tuis.) #1
As shown in the following figure, when zero-crossing detection is enabled, the
variable-step Simulink solver simulates the model at the time, Ttrig, when the trigger
signal is detected. Ttrig may lie between the simulation time steps Tn-1 and Tn which
are automatically chosen by the solver.

Computes linear system
characteristics at this time point

Time

Amplitude
1

0


Tn-1 Ttrig Tn

Trigger signal

For more information on zero-crossing detection, see “Zero-Crossing Detection”
(Simulink) in the Simulink User Guide.

Settings

Default: On

On
Compute linear system characteristics at the exact snapshot time or exact time when
a trigger signal is detected.

This setting is ignored if the Simulink solver is fixed step.

Off
Compute linear system characteristics at the simulation time steps that the variable-
step solver chooses. The software may not compute the linear system at the exact
snapshot time or exact time when a trigger signal is detected.

Command-Line Information
Parameter: ZeroCross
Type: character vector
Value: 'on' | 'off'
Default: 'on'

See Also

Plot Linear Characteristics of Simulink Models During Simulation on page 2-82

16 Blocks — Alphabetical List

Free download pdf