Simulink accelerometer flipping y axis?

2 visualizaciones (últimos 30 días)
Adam Wiktor
Adam Wiktor el 4 de En. de 2022
Comentada: Adam Wiktor el 4 de En. de 2022
Hi, I was looking into the IMU model from the aerospace blockset, and within the accelerometer model there's the following blocks. This is to compute the measured acceleration from a rotating body when the accelerometer is offset from the CG. My question is, why is there a gain block with [1 -1 1]? This seems to be inverting the Y coordinate of the IMU's location, and I don't understand why that's necessary. Thanks!

Respuesta aceptada

Paul
Paul el 4 de En. de 2022
I think the reason is ....
The CG and ACC location vectors are resolved in "Flight Gear Coordinates (FGC)" (or a frame parallel to FGC) as described here: link
However, the other vector inputs to the block are resolved in "Body Coordinates (BC)" as described here: link
So the way the model should work is to first compute the vector from the CG to the ACC in the FGC frame and then resolve it in the BC frame so that it's compatible with the other inputs. In fact, that's the exact process described here.
However, for some reason the block actually comptues the vector from the ACC to the CG in the FGC frame, which needs to be 1. negated, and 2. resolved in the BC frame. Those two steps together would be an element-wise multiplication by -1*[-1 1 -1], or as implemented in the block by the element-wise multiplication with [1 -1 1].
  1 comentario
Adam Wiktor
Adam Wiktor el 4 de En. de 2022
Perfect, that makes sense. I missed that the CG and ACC were in FGC. Thank you!

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by