Sensors, Electronics and Prototyping

Drift Yaw Angle

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #800
    Alejandro
    Guest

    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.

    #801

    Hi Alejandro,

    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.

    #802
    Alejandro
    Guest

    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.

    #812

    Hi Alejandro,

    Could you please share your solution with me Im also suffering same kind of problem.. it will be highly appreciated if you can help..

    #859
    Rene
    Guest


    Hi Alejandro,

    It seems I do have the same problem as you described.
    I would appreciate it if you could share your solution with me.

    Best regards,

    Rene

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘UM7 Product Support’ is closed to new topics and replies.