Problem: Quad copter spins around itself

Dear all,

My name is Anh

I am assembling a new quadcopter using 3DR PX4 micro controller,on this morning I have tested my Drone and I saw that it flied and spins around itself, so I have to turn it off and, my quadcopter crashed

3691239918?profile=original

This is log info I get from Mission planner:

Size (kb) 10070.0341796875
No of lines 136430
Duration 2 days, 1:09:52
Vehicletype ArduCopter
Firmware Version V3.2.1
Firmware Hash 36b405fb
Hardware Type
Free Mem 0
Skipped Lines 0

Test: Autotune = UNKNOWN - No ATUN log data
Test: Balance/Twist = GOOD -
Test: Brownout = GOOD -
Test: Compass = FAIL - Large change in mag_field (429.15%)
Max mag field length (1346.02) > recommended (550.00)

Test: Dupe Log Data = GOOD -
Test: Empty = GOOD -
Test: Event/Failsafe = FAIL - ERRs found: CRASH FLT_MODE GPS FENCE
Test: GPS = FAIL - Min satellites: 0, Max HDop: 99.99
Test: IMU Mismatch = WARN - Check vibration or accelerometer calibration. (Mismatch: 1.16, WARN: 0.75, FAIL: 1.50)
Test: Parameters = GOOD -
Test: PM = FAIL - 55 slow loop lines found, max 9.98% on line 85540
Test: Pitch/Roll = FAIL - Roll (165.26, line 135281) > maximum lean angle (45.00)
Test: Thrust = GOOD -
Test: VCC = GOOD -

And, I also attached kmz log, if anyone know about my problem, please explain what happened with my drone and give me some advice

Thank you very much,

Anh

2015-09-01 11-02-00 113.bin.kmz

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

  • This reply was deleted.
    • Thank you very much

      Could you explain the affect of a bad compass value to the rotation of a quadcopter and how to improve Compass MOT

       

      • If you're wondering why a bad compass calibration causes the copter to spin, the compass could think it's not pointing in the correct direction, so will try to spin the copter so that it is pointing in the correct direction.  But the compass is always wrong, so the copter keeps trying to compensate by continuing to spin.

        The manual has instructions for running a compass motor calibration:
        http://copter.ardupilot.com/wiki/common-compass-setup-advanced/

        • Dear Scott W,

          Thank you for your help, I read this website you gave me, I see the compass heading information:

          "Accurately setting up the compass is critical because it is the primary source of heading information. Without an accurate heading the vehicle will not move in the correct direction in autopilot modes (i.e. AUTO, LOITER, PosHold, RTL, etc). This can lead to circling (aka “toiletbowling”) or fly-aways."

          I check inside Ardupilot source code, the compass heading information is used for performing yaw drift correction, but I don't understand how it can affect the movement of my quadcopter

          So, can you explain this for me

          Thank you very much

          Anh 

          • If I remember well the heading is done reading quite often gyros and compared to compass each second .

            So if you have wrong compass reading you have wrong heading, the copter try to correct it and moves accordingly.

            Disable compass , and test it in  alt hold mode, it should stop spinning .

  • Calibrate you magnetometer.

    • This reply was deleted.
      • Thank you for support me to find out this problem, I tried to keep the compass avoid any circuit:

        - This is my previous design:

        3702718081?profile=originalMy compass is put on a frame with an ESC module is under

        3702718260?profile=original

        - After that, I changed the position of this ESC, and calibrate compass again, I did it in my room

        3702718098?profile=original But the result unlikely does not change

        3702718278?profile=original

        Do you have any comment for me to solve this problem?

        Thank you,

        Anh

        • This reply was deleted.
          • Developer
            And you don't even need it that far above the electronics. Even a spacer using foam of 5cms will probably solve the issue. Note the problem is only noticeable due to proximity to cables and electronics carry high amps to the magnetometer. Having the unit right on top of the cable from the battery to the ESC means the compass will be effected by the magnetic field of the wire proportionally to level of throttle applied. i.e. current flowing through it.

            It rotates due to the mag field from the wire pulling the compass heading a few degrees, say, CW. Then when the current drops, the field compass heading rotates back, this rotates the quad by a small amount. This small rotation will just keep adding up over time to make the quad fulling rotate. Think it of like some body that keeps pulling a goal post to th elect as you try and shoot the ball at it, you have toe keep moving your aim right to hit it.
            • Dear,

              I also check the log file. I want to ask you 2 problems:

              - The mag filed value:

              3702885705?profile=originalDuring flight, this value is quite normal, it's only over the recommended value(550) after it felt

              So, that why I think the compass maybe still stabilize

              - The Yaw value:

              3702885536?profile=original

              I did not use yaw stick, but in the log you can see, the yaw and desired yaw look very similar. It changed from 0 to 360, it seems likely that I controlled it

              I also attached the log file, if you have time please help me to analyze it

              Thank you very much.

              Anh

              • Did you read what I wrote you ?

                I wrote to test your copter in stabilize mode disabling your compass and see how it flies.

                Look at the above graph.

                Do you see that in stabilize mode you do not have the compass and yaw variations ?

                If you have a GPS with integrated compass Neo7 bought from HK it is a defect of the unit.

                I have one and it is impossible to have the compass to work.

                You have to mount another external compass to solve your problem.

                • Hi guys,

                  Sorry for late response,

                  After destroying so many propellers, I finally found the reason

                  My radio transmitter is not calibrated correctly, so it sent unwanted yaw signals to my drone. 

                  Phillip Schmidt  is right about effect of PID, it is not relevant to spiral flight

                  I can not fix the magfield value at my drone (~426 < 550 recommended), but it's problem is fixed and I learn so many things from you guys.

                  Thank you all of you for helping a newbie, like me.

                  Best regard,

                  Anh

This reply was deleted.

Activity

Jose Araujo liked Jose Araujo's profile
Aug 29
spencer harvey liked spencer harvey's profile
Jul 9
More…