Accelerometer simulator on Simulink/Simscape
26 ビュー (過去 30 日間)
古いコメントを表示
Hi everyone! I’m here to ask for help with a problem that I don’t know how to solve!
I would like to measure accelerations in my Simulink/Simscape model. Here’s how my model is structured:
1. A central cylinder rotating on its own with constant speed.
2. A cylinder with an offset, rotating on its own (with constant speed) and translating vertically (with a sinusoidal movement).
3. A small rectangle attached to the "outer" cylinder.
The mechanics are correct, and I’ve checked them using the Mechanics Explorer. I want to measure the accelerations of the small rectangle (which should be the same as the ones of the cylinder with the offset). I’ve used the Transform Sensor, which gives me the correct position, but the acceleration results seem a bit strange.
Is there a way or a block that I don’t know about that could return the acceleration (preferably three-axis) of my model?
I tried also to use the Three-Axis Accelerometer but to use that I should use the data coming from the Transform Sensor and this does not solve my problem...
1 件のコメント
Yifeng Tang
約22時間 前
I wonder what you mean by the results being "strange". Do you have measured signal from an accelerometer that you can compare to?
One thing to check is the "measurement frame" of the transform sensor. The reading can be with respect to the F frame, B frame, world frame, and other two options. If you are comparing to an accelerometer reading and the accelerometer is mounted to the rotating cylinder, I think the measurement frame should be the F frame (whatever is connected to the small rectangle).
Just a thought. It's hard to be sure without seeing your model and a deeper understanding of the actual physical system.
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Assembly についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!