2477 views|0 replies

117

Posts

0

Resources
The OP
 

mpu6050 makes its own complementary filtering algorithm based on quaternion attitude solution. The angle obtained is delayed, is it normal? [Copy link]

In the actual application process, it is found that when the angle is changed from 0-90 degrees, it will not immediately follow the actual attitude output of 6050, but there is a certain delay. Finally, the actual angle will be reached, and by changing the proportional constant Kp of the complementary filter, the delay time can be changed. The larger the Kp, the smaller the delay time. I use it for quadcopters, and I definitely hope that the facts reflect the attitude situation. So is the larger the Kp, the better? I saw that other people’s Kp is only 0.6 on the flight control algorithm I have. I tried it and the delay is very serious. When Kp=2, the aircraft delays about five or six seconds when changing from horizontal to vertical 90 degrees. Is there any compensation method for this? By the way, is there any method to determine the values of the parameters Kp and Ki of the complementary filter algorithm?
This post is from stm32/stm8
 

Just looking around
Find a datasheet?

EEWorld Datasheet Technical Support

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list