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.
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.
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.
It seems I do have the same problem as you described.
I would appreciate it if you could share your solution with me.
Viewing 5 posts - 1 through 5 (of 5 total)
The forum ‘UM7 Product Support’ is closed to new topics and replies.
Thank you very much for your patronage. We are experiencing production and shipment delays due to the coronavirus infection that is currently occurring. We apologize for any inconvenience this may cause. We will work hard to deliver the product as soon as possible. Dismiss