SG, SGI – Signal generators

Block SymbolsLicensing group: STANDARD
PIC PIC

Function Description
The SG and SGI blocks generate periodic signals of chosen type (isig parameter): sine wave, square, sawtooth and white noise with uniform distribution. The amplitude and frequency of the output signal y are given by the amp and freq parameter respectively. The output y can have a phase shift of phase (0,2π) in the deterministic signals (isig 1,2,3).

The SGI block allows synchronization of multiple generators using the RUN and SYN inputs. The RUN parameter must be set to on to enable the generator, the SYN input synchronizes the generators during the output signal generation.

Inputs

RUN

Enable execution, run the binary sequence generation

Bool

SYN

Synchronization signal

Bool

Output

y

Analog output of the block

Double (F64)

Parameters

isig

Generated signal type  1

Long (I32)

1 ....

Sine wave

2 ....

Symmetrical rectangular signal

3 ....

Sawtooth signal

4 ....

White noise with uniform distribution

5 ....

Triangular signal

amp

Amplitude of the generated signal  1.0

Double (F64)

freq

Frequency of the generated signal  1.0

Double (F64)

phase

Phase shift of the generated signal

Double (F64)

offset

Value added to the generated signal  1.0

Double (F64)

ifrunit

Frequency units  1

Long (I32)

1 ....

Hz

2 ....

rad/s

iphunit

Phase shift units  1

Long (I32)

1 ....

degrees

2 ....

radians

2024 © REX Controls s.r.o., www.rexygen.com