Simulink accelerometer flipping y axis?

조회 수: 2 (최근 30일)
Adam Wiktor
Adam Wiktor 2022년 1월 4일
댓글: Adam Wiktor 2022년 1월 4일
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!

채택된 답변

Paul
Paul 2022년 1월 4일
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
Adam Wiktor
Adam Wiktor 2022년 1월 4일
Perfect, that makes sense. I missed that the CG and ACC were in FGC. Thank you!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Aerospace Applications에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by