Download Real-Time Workshop®

Transcript
Sample Rate Transitions
The output portion of a Unit Delay block is executed at the sample rate of the
slower block, but with the priority of the faster block. Since a Unit Delay block
drives the faster block and has effectively the same priority, it is executed
before the faster block. This solves the first problem.
The second problem is alleviated because the Unit Delay block executes at a
slower rate and its output does not change during the computation of the faster
block it is driving.
Note Inserting a Unit Delay block changes the model. The output of the
slower block is now delayed by one time step compared to the output without a
Unit Delay block.
7-19