| DSP Blockset | Search  Help Desk |
| Multiphase Clock | See Also |
Generate multiple binary clock signals.
Library
Switches and Counters, in General DSPDescription
The Multiphase Clock block generates a vector of N clock signals, where N is specified by the Number of phases parameter. All phases share the same frequency, f, specified in Hertz by the Clock frequency parameter. The output signal indexed by the Starting phase parameter is the first to become active, at t=0. The other signals in the output vector become active in turn, each one following the preceding signal's activation by 1/(N*f) seconds, the phase interval. The output sample period is therefore 1/(N*f) seconds. For example, if Starting phase is set to3 for a 100 Hz five-phase output y, the output signals become active at the following times.y(3), the second active level appears at t=0.002 on y(4), the third active level appears at t=0.004 on y(5), the fourth active level appears at t=0.006 on y(1), and the fifth active level appears at t=0.008 on y(2). Each signal becomes active 1/(5*100) seconds after the previous signal.
The active level can be either high (1) or low (0), as specified by the Active level (polarity) parameter. The duration of the active level, D, is set by the Number of phase intervals over which the clock is active. This value, which can be an integer value between 1 and N-1, specifies the number of phase intervals that each signal should remain in the active state after becoming active. The active duty cycle of the signal is D/N. (The Scope window immediately below illustrates an Active level setting of High and a Number of phase intervals over which clock is active setting of 1.)

The Scope below shows Signals 1 and 2 with an active-level (high) duration of three phase intervals (60% duty cycle), corresponding to a setting of 3 for Number of phase intervals over which clock is active.

Dialog Box




See Also
Clock (Simulink)