필터 지우기
필터 지우기

Double integration of MPU 6050 data

조회 수: 3 (최근 30일)
Noor Amira Ilyanie
Noor Amira Ilyanie 2023년 9월 16일
편집: Star Strider 2023년 9월 16일
Why I keep getting like this graph? I want to compare the data for experimental which use the MPU 6050, with the simulation data from simulink. Do anyone know how to make the experimental graph same or slightly different with the simuation data? The red line is from the double integration of the MPU6050 data, while the blue line is from simulink model.

답변 (1개)

Star Strider
Star Strider 2023년 9월 16일
편집: Star Strider 2023년 9월 16일
Without knowing more, one possibility is that the integration of the MPU6050 data includes a constant (possibly an offset from zero) that is consistently being integrated, while the Simulink data does not.
I obviously have no way of checking that, given only the posted information.
EDIT — (16 Sep 2023 at 13:29)
One option to correct it might be to subtract the first element of the vector from the entire vector, then integrate that. (Create a copy of the original vector to do that, so that you retain the original vector.)

카테고리

Help CenterFile Exchange에서 Raspberry Pi Hardware에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by