DSP Blockset    
Chirp

Generate a swept-frequency cosine.

Library

DSP Sources

Description

The Chirp block generates a unity-amplitude swept-frequency cosine (chirp) signal. The instantaneous output frequency is initialized to the Initial frequency parameter value, f(0), and then varies continuously for the duration of the Sweep period. The curve of the transition between these two frequencies is specified by the Frequency sweep parameter, and can be Swept cosine, Linear, Quadratic, or Logarithmic.

When Sweep mode is set to Unidirectional, the cosine frequency is immediately reset to f(0) after the Sweep period is traversed. Thus, the block repeats the unidirectional frequency sweep at the interval specified by the Sweep periodTsw. When the Sweep mode is set to Bidirectional, the frequency sweep reverses direction half way through the period, and returns to f(0) along a symmetrical trajectory. The block repeats the bidirectional frequency sweep at the interval specified by the Sweep period as well.

The method that the block uses to transition between the specified instantaneous frequencies is set by the Frequency sweep parameter, and can be Swept cosine, Linear, Quadratic, or Logarithmic. You must choose the Target timetg, and Target frequency, f(tg), to appropriately set the value for the constant term in the formulas below. Note that the instantaneous frequency at the end of a frequency sweep is defined to be the value of the frequency sweep function at the sweep period, or f(Tsw).

Dialog Box

Frequency sweep
The type of function that defines the instantaneous frequency trajectory. Tunable.
Sweep mode
The directionality of the chirp signal, Unidirectional or Bidirectional. Tunable.
Initial frequency (Hz)
The initial frequency, f(0), of the output cosine. Tunable.
Target frequency (Hz)
The frequency, f(tg), that, along with the target time, tg, defines the value of the constant in the frequency sweep function. Tunable.
Target time (sec)
The target time tg corresponding to the terminal frequency f(tg). Tunable.
Sweep period (sec)
The interval Tsw between successive repetitions of the frequency sweep. Tunable.
Initial phase (radians)
The phase of the cosine output at t=0. Tunable.
Sample time
The sample period, Ts, of the output. The output frame period is Mo*Ts.
Samples per frame
The number of samples, Mo, to buffer into each output frame.

See Also

Signal From Workspace
DSP Blockset
Signal Generator
Simulink
Sine Wave
DSP Blockset
chirp
Signal Processing Toolbox

See Creating Signals Using Signal Generator Blocks for related information.


 Check Signal Attributes Cholesky Factorization