PLECS 3.6 Online Help

Triangular Wave Generator

Purpose

Generate periodic triangular or sawtooth waveform

Library

Control / Sources

Description

pict

The Triangular Wave Generator produces a signal that periodically changes between a minimum and a maximum value and vice versa in a linear way.

Parameters

Minimum signal value
The minimum value of the signal.
Maximum signal value
The maximum value of the signal.
Frequency
The frequency of the signal in Hertz.
Duty cycle
The ratio of the rising edge to the period length. The value must be in the range [0 1]. A value of 1 produces a sawtooth waveform with a perpendicular falling edge. A value of 0 produces a reverse sawtooth waveform with a perpendicular rising edge. A value of 0.5 produces a symmetrical triangular wave.
Phase delay
The phase delay of the triangular wave in seconds. If the phase is set to 0, the waveform begins at the rising edge.

Probe Signal

Output
The block output signal.