Sine Wave
Purpose
Generate time-based sine wave with optional bias
Library
Control / Sources
Description
The Sine Wave block generates a sinusoidal output signal with an optional bias according to the equation
If a variable-step solver is used, the solver step size is automatically limited to ensure that a smooth waveform is produced.
Parameters
- Amplitude
- The amplitude
of the sine wave signal.
- Bias
- The offset
that is added to the sine wave signal.
- Frequency
- The frequency of the sine wave in hertz (
) or rad/second (
), see below.
- Phase
- The phase
of the sine wave in rad, per unit (p.u.) or degrees, see below. The parameter value should be in the range [0 2
], [0 1] or [0 360] respectively.
- Units for frequency and phase
- The frequency and phase can be expressed in terms of (rad/sec, rad), (Hz, p.u.) or (Hz, degrees). If the phase is expressed in per unit (p.u.), a value of 1 is equivalent to the period length.
Probe Signal
- Output
- The block output signal.