Zero crossing detection in Simulink

9 vues (au cours des 30 derniers jours)
Pablo
Pablo le 18 Mar 2014
Hi all. I would like to ask how in Simulink can be detected zero crossing signal. After each pass, I would like to actuate another signal transistor (1 then 2, then 3, etc.) Everything has to work in a loop. (1,2,3 1,2,3 1,2,3 etc)
Thank you for all the ideas Regards Pablo

Réponse acceptée

Greg Heath
Greg Heath le 18 Mar 2014
if(a(i)*a(i+1)<0)
Hope this helps.
Greg

Plus de réponses (1)

Kaustubha Govind
Kaustubha Govind le 20 Mar 2014
See the Hit Crossing block.

Catégories

En savoir plus sur General Applications dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by