Drift Yaw Angle
- This topic has 4 replies, 3 voices, and was last updated 5 years, 6 months ago by Rene.
- 15 July 2015 at 8:16 am #800AlejandroGuest
Hello, I’m using the UM7 to stabilize a Quadcopter (own design).
Basically, I set the UM7 to work with Euler Angles and using Tx Rx I send and acquire date from it. The problem I have is the drifting of the yaw angle every 5s approx. I already set the magnetometers and accelerometers (calibrated) using the function that send to the UM7 the value of 0xB0 and 0xAF respectively. However, the problem persist.
If someone can give me a clue how to fix this problem, I would appreciate it.
Thank you.15 July 2015 at 8:32 am #801Caleb ChamberlainMember
It’s most likely that the magnetometer measurements are being distorted by the permanent magnets in the quadrotor motors. On a small rotorcraft like a quadcopter, yaw angle stability is a tough nut to crack.15 July 2015 at 11:40 am #802AlejandroGuest
Thank you Caleb for answer me so fast,
I just fixed the problem. I calibrate the Magnetometers (0xB0), accelerometers (0xAF) , reset the kalman filter (0xAD) and calibrate the gyro (0xAC) before to start the main function (loop). Additionally, I set a function that takes the first values (angles, rates) and then set them like offset (respectively) when the measurement is taken directly from the sensor (without the Euler/Rate factor; 1/91 , 1/16). Then, I reassure that is calibrated.
I have been working since then and is really stable.
I share how I solved in case someone else have the same problem.30 July 2015 at 5:04 am #812alisan yucesanMember
Could you please share your solution with me Im also suffering same kind of problem.. it will be highly appreciated if you can help..21 August 2015 at 1:42 pm #859ReneGuest
It seems I do have the same problem as you described.
I would appreciate it if you could share your solution with me.
- The forum ‘UM7 Product Support’ is closed to new topics and replies.