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

조회 수: 22 (최근 30일)
Adeel Ashraf
Adeel Ashraf 2021년 1월 27일
댓글: Adeel Ashraf 2021년 1월 28일
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

답변 (1개)

Fangjun Jiang
Fangjun Jiang 2021년 1월 27일
Do the conversion using a Gain block or use this block
  댓글 수: 11
Fangjun Jiang
Fangjun Jiang 2021년 1월 28일
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 2021년 1월 28일
I got your point the point thank you so much.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Physical Units에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by