Zero crossing#

block

Block appearance in REPEAT VISION#

 This block allows to record the zero crossing of the input function. A unit signal is generated at the block output port at zero crossing.

 A zero crossing counter is also implemented, it is necessary to send a one to the second port to reset it.

1.  Properties#

No

2.  Inputs and outputs#

Parameters

Input/Output

Description

Units of measurement

Port type

Input signal

Input

-

-

Automation

Counter port

Input

Counter reset port

-

Automation

Output signal

Output

-

-

Automation

In order to see the connection capabilities of the block, you need to go to page Description of blocks ports

3.  Code generation#

Important

Block supports C source code generation

See also

An example of using this block can be found in subsection Power industry of section Electrical equipment of the practical guide Simulation of static thyristor compensator.