Integration on a circular set in simulink
Afficher commentaires plus anciens
Hello, I would like to know if this is possible to obtain the same output as in the image below without having a diverging signal.
For instance, given a frequency of rotation (in rad/s), how to obtain the angle (in rad) in [-pi; pi[ without having a diverging signal?

Regards,
Pascal COMBES
Réponse acceptée
Plus de réponses (1)
Drew Davis
le 8 Juin 2015
0 votes
If you have a signal that is > 0 for all time entering in the inport of the model, as time approaches infinity the signal downstream of the integrator will approach infinity. The way to work around this for oscillatory signals is to create a sort of "wrap from -pi to pi" set of blocks or subsystem that performs this function as you have in your example.
You can add a saturation to the output signal of the integrator but it does not sound like that is what you are trying to do.
1 commentaire
Pascal
le 9 Juin 2015
Catégories
En savoir plus sur Audio Processing Algorithm Design dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!