Is it possible to converte ideal angular velocity source signal rad/s to rpm ?
11 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
回答 (1 件)
Fangjun Jiang
2021 年 1 月 27 日
Do the conversion using a Gain block or use this block
11 件のコメント
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.
参考
カテゴリ
Help Center および File Exchange で Nonlinear Operators についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!