Accelerometer simulator on Simulink/Simscape

26 visualizaciones (últimos 30 días)
Pietro d'Agostino
Pietro d'Agostino el 20 de Nov. de 2024 a las 11:33
Comentada: Yifeng Tang hace alrededor de 23 horas
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 comentario
Yifeng Tang
Yifeng Tang hace alrededor de 21 horas
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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Assembly en Help Center y File Exchange.

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by