.IndustrialControlSystems.Logical.Counter.Examples.countZeroCrossing

test model of the counter

Information

In this example have been tested the basic functionalities of the UP and DOWN counter, together with other logical blocks.
The logical block compares the signal
y(t) = sin(t)

with the zero value. For each zero crossing detection a boolean signal is rised. The boolean signals comprises between 2.2 and 10.2 second are counted by the counter.



Revisions

First release of the Industrial Control Systems: April-May 2012
List of revisions:

Main Authors:
Marco Bonvini; <bonvini@elet.polimi.it>
Alberto Leva <leva@elet.polimi.it>
Politecnico di Milano
Dipartimento di Elettronica e Informazione
Via Ponzio 34/5
20133 Milano - ITALIA -
Copyright:
Copyright © 2010-2012, Marco Bonvini and Alberto Leva.
The IndustrialControlSystems package is free software; it can be redistributed and/or modified under the terms of the Modelica license, see the license conditions and the accompanying disclaimer in the documentation of package Modelica in file "Modelica/package.mo".

Generated at 2025-04-03T18:24:42Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos