Quantcast

Documentation Center

  • Trial Software
  • Product Updates

Timer

Generate signal changing at specified transition times

Library

Extras/Control Blocks, Extras/Discrete Control Blocks

Description

The Timer block generates a signal changing at specified transition times. Use this block to generate a logical signal (0 or 1 amplitudes) and control the opening and closing times of power switches like the Breaker block and the Ideal Switch block. You can also use this block to generate a signal whose amplitude changes by steps at specified transition times.

Dialog Box and Parameters

Time(s)

The transition times, in seconds, when the output of the block changes its value as defined by the Amplitude parameter. The Time(s) parameter must be a vector of the same length as the vector defined in the Amplitude parameter. The definition of the time 0 is optional. If a signal is not specified at time 0, the output is kept at zero until the first transition time specified in the Amplitude vector.

Amplitude

The vector of amplitudes of signal to be generated by the Timer block. The amplitude is kept constant between transition times defined in the Time(s) vector.

Inputs and Outputs

The output is a signal changing by steps at specified transition times.

Example

See the power_breakerpower_breaker model for a circuit using the Timer block to control a circuit breaker.

Was this topic helpful?