Engee documentation

Chirp Signal

A sinusoid with a linearly varying frequency.

blockType: chirp

Path in the library:

/Basic/Sources/Chirp Signal

Description

The Chirp Signal unit generates a sinusoidal signal whose frequency varies linearly with time. You can use this block for spectral analysis of nonlinear systems. The block generates a scalar or vector output.

The parameters Initial frequency, Target time, and Frequency at target time define the output of the block. You can specify any (or all) of these parameters as scalars or arrays. All parameters specified as arrays must have the same dimensionality. The block expands scalar parameters to have the same dimensionality as parameters as arrays. The output of the block has the same dimensionality as the parameters.

Restrictions

  • The start time of the simulation must be equal to 0.

  • Usage in a subsystem with block Enable. Whenever the subsystem is active, the block outputs as if the subsystem were on continuously for the entire simulation time.

Ports

Output

# OUT_1 — output signal
scalar | vector | matrix | array

Details

A sinusoidal signal whose frequency increases linearly with time. Can be a scalar, vector, matrix or N-dimensional array.

Data types

Float64.

Complex numbers support

No

Parameters

Main

# Initial frequency — initial frequency, Hz
Scalar / array of real numbers

Details

Initial frequency (in Hz) of a signal in the form of a scalar, vector, matrix or N-dimensional array.

Default value

0.1

Program usage name

f1

Tunable

Yes

Evaluatable

Yes

# Frequency at target time — frequency, Hz
Scalar / array of real numbers

Details

Frequency (in Hz) of the signal at the target time as a scalar, vector, matrix or N-dimensional array.

Default value

1

Program usage name

f2

Tunable

Yes

Evaluatable

Yes

# Target time — target time, s
Scalar / array of real numbers

Details

Time in seconds for the frequency to reach the value of the parameter Frequency at target time. The parameter Target time can be set as a scalar, vector or matrix. After the target time is reached, the frequency continues to change at the same rate.

Default value

100

Program usage name

T

Tunable

Yes

Evaluatable

Yes

Examples