codeur 2 voies avec carte arduino uno et motorshield rev3?

1 次查看(过去 30 天)
Bonjour,
Je souhaiterai trouver un bloc clé en main qui me permettrait de visualiser la position et la vitesse d'un moteur équipé d'un codeur incrémental.
Le bloc codeur de la bibilothèque ne fonctionne pas avec une carte uno. Existe-t-il un bloc déjà existant?
Merci d'avance,
Sébastien Ansoud

回答(1 个)

Vaibhav
Vaibhav 2023-11-17
Hi Sebastien
Comme je ne suis pas de langue maternelle française, je vais essayer de répondre à cette question en anglais. Merci de votre compréhension.
I understand that you would like to find a turnkey block that would allow to visualize the position and speed of a motor equipped with an incremental encoder.
You can make use of the "Rotational Electromechanical Converter" block from the Simscape library. This block allows you to model the behaviour of rotational mechanical systems, including motors with encoders.
Find this block in Simulink at the following location, Library --> Simscape --> Foundation Library --> Electrical --> Electrical Elements --> Rotational Electromechanical converter.
You can refer to the following MathWorks documentation link to know more about "Rotational Electromechanical Converter" block:
Hope this helps!

标签

Community Treasure Hunt

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

Start Hunting!