Is it possible to converte ideal angular velocity source signal rad/s to rpm ?

11 vues (au cours des 30 derniers jours)
Adeel Ashraf
Adeel Ashraf le 27 Jan 2021
Commenté : Adeel Ashraf le 28 Jan 2021
My input signal is in rad/s for ideal angular velocity source but I want to feed my incremental shaft encoder in rpm. Also we don't connect mechanical rotational conserving port via gain or unit conversion block. I didn't find any solution yet

Réponses (1)

Fangjun Jiang
Fangjun Jiang le 27 Jan 2021
Do the conversion using a Gain block or use this block
  11 commentaires
Fangjun Jiang
Fangjun Jiang le 28 Jan 2021
In your model, set the constant to be 2*pi rad/s, that is 1 rev per second. Change the encoder setting to be 10 pulses per rev, run simulation for 1 seconds (that means it turned one rev). Connect a Scope block to the Simulink "Outport" 3 and "Outport" 1.
"Outport" 3 is the "A" output of the encoder, it shows 10 pulses. It is correct.
"Outport" 1 is the "Z" output of the encoder, it shows 1 pulse. It is also correct.
So the model is correct as desired. To measure the output of the encoder, you need to count the pulses of "Outport" 3 or "Outport" 1. That is the same as in physical world that you need to count the pulse output of the encoder. 10 pulses per second on "Outport" 3 means 1 rev per second based on the setting. Then you can convert your processed output to rad/s or rpm.
Keep in mind that in physical world, the physical device just rotates, it does not carry a unit. You observe it and quatify it with a unit.
Adeel Ashraf
Adeel Ashraf le 28 Jan 2021
I got your point the point thank you so much.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Nonlinear Operators dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by