Hello guys,
I just noticed a weird thing happening on my arducopter. I was doing some tethered testing and the quadrotor seemed to work fine. Then suddenly I could see motor 4 stall and therefore the quadrotor flip. I thought it might be the calibrations so I redid all of that. Then I tied it up again and tested. This time again the motor did it. So I pulled up the logs:
MOT: 1329, 1363, 1306, 1342
ATT, -234, 165, 1768, 407, -157, 20
MOT: 1298, 1378, 1319, 1349
ATT, -143, 276, 1803, 74, -475, 26
MOT: 1332, 1346, 1288, 1382
ATT, -91, 354, 1815, 50, -147, -64
MOT: 1326, 1336, 1329, 1357
ATT, -145, 273, 1811, 307, -247, 45
MOT: 1312, 1372, 1310, 1358
ATT, -229, 169, 1784, 200, -332, 80
MOT: 1327, 1367, 1298, 1364
ATT, -182, 143, 1765, -149, -571, 49
MOT: 1364, 1336, 1285, 1399
ATT, 140, 806, 1939, -653, -1809, -678
MOT: 1351, 1221, 1240, 1600
ATT, 785, 2273, 2584, -1507, -2500, -1057
MOT: 1420, 1207, 1230, 1730
ATT, 1558, 4025, 3207, -1582, -2500, -1369
MOT: 1440, 1207, 1304, 1804
ATT, 2293, 5338, 3825, -2066, -2500, -1686
MOT: 1506, 1207, 1332, 1832
ATT, 3322, 6135, 4695, -2042, -2500, -2103
MOT: 1477, 1207, 1332, 1832
ATT, 4654, 6104, 5832, -2448, -1828, -2500
MOT: 1363, 1207, 1437, 1801
ATT, 7245, 5642, 7332, -2500, -2500, -1355
MOT: 1077, 1077, 1077, 1077
ATT, 10786, 4339, 9601, -2500, -2500, -2005
MOT: 1077, 1077, 1077, 1077
ATT, 14532, 1867, 10747, -2500, -2500, -657
If you noticed the last few 'Motor' values suddenly shot up for motor 4 and reached 1800+ which is the max. In reality the motor had stalled... I then stopped the throttle and therefore you see the 1077 values. I need someone better than me to advise on what could be going on here.. Just a history that I didnt really observe this quite frequently. It happens every so often.
Any ideas?
Thank you
Ammar
Permalink Reply by Ammar Husain on November 8, 2011 at 5:38pm The same thing happened again.... Here are the logs:
MOT: 1337, 1349, 1381, 1313
ATT, -61, 156, 1566, 38, -636, 132
MOT: 1356, 1362, 1270, 1396
ATT, -113, 181, 1564, 293, 202, -30
MOT: 1315, 1373, 1370, 1330
ATT, -164, 173, 1565, 72, -338, 0
MOT: 1340, 1354, 1314, 1380
ATT, -125, 224, 1577, -63, -230, 26
MOT: 1356, 1344, 1323, 1369
ATT, -78, 328, 1628, -152, -1024, -270
MOT: 1337, 1307, 1274, 1478
ATT, 467, 1406, 1981, -1513, -2500, -857
MOT: 1438, 1207, 1207, 1707
ATT, 1236, 3081, 2690, -1441, -2500, -1215
MOT: 1424, 1207, 1272, 1772
ATT, 2054, 4734, 3406, -1986, -2500, -1653
MOT: 1485, 1207, 1332, 1832
ATT, 2891, 5809, 4167, -1733, -2500, -1966
MOT: 1476, 1207, 1332, 1832
ATT, 4127, 6120, 5200, -2040, -1944, -2488
MOT: 1454, 1207, 1444, 1832
ATT, 5896, 5836, 6439, -2500, -2500, -1079
MOT: 1383, 1207, 1207, 1597
ATT, 9294, 4896, 8227, -2500, -2500, -1942
MOT: 1077, 1077, 1077, 1077
ATT, 12795, 2901, 9978, -2500, -2500, -1676
MOT: 1077, 1077, 1077, 1077
ATT, 16241, 817, 10885, -2500, -2500, 364
Motor 4 gets a really high PWM when it stalls.. What could this be ?
Permalink Reply by Ellison Chan on November 8, 2011 at 7:06pm Those are the PPM values sent to the motor. It goes up to max because the motor is stalled, and the APM increases the PPM to that motor thinking that side needs more power. Is the motor or esc that's stalling getting hotter than the others, after this happens?
Permalink Reply by Ammar Husain on November 8, 2011 at 8:15pm Ummm not really.. It seems fairly normal when I stop it...
Permalink Reply by Ellison Chan on November 8, 2011 at 8:51pm I was thinking bad bearings causing the motors and esc to overheat. However, since you say there's no overheating, could be a bad connection causing the motor to cut out. Like I said, what it seems like is that the software thinks that there's not enough thrust at one motor and keeps trying to increase speed on that motor until the max is reached. The APM has no feedback on the motor's actual speed, but from an error status point of view, it should be able to tell by the fact that one motor's output is so different from the other four that the Arducopter is in a bad state. It seems that there's no code in the Arducopter, right now to detect this state and take corrective action. I'm not sure what corrective action can be done, except maybe disarm all motors so they don't continue to run and cause more damage. Maybe it's a feature we can request in the next release.
Permalink Reply by Ammar Husain on November 8, 2011 at 9:01pm Oh I see what you mean.. To think about it I have been getting some drift in the direction of motor 4. That is the motor 4 was dipping a little lower causing the quadrotor to translate. Could these be related problem?? Also how can I narrow down if it is my ESC or the motor that has the problem,so I can get spares accordingly.
Thanks
Permalink Reply by Ellison Chan on November 8, 2011 at 9:16pm First, I wouldn't continue to fly it, if this problem happens repeatedly. Eventually, you will have a bad crash.
What I suggest is to first take all your propellers off, and then alternately swap the suspected bad motor with another motor on another arm. If the problem follows the motor, then the problem is at the motor. If the problem stays at the old arm, then it's at the esc. Check all the power and connections from the esc to the motors, and look for bad connections.
Permalink Reply by Ammar Husain on November 9, 2011 at 6:43am I actually have it tied down right now.. So I ll try to narrow down between my ESC and motor... What surprises me though is that this does not happen that frequently but when it does, it ll stall for a few times back to back.
Permalink Reply by Ammar Husain on November 9, 2011 at 8:20am Hi Ellison,
I ran it again tied down to some posts. This time seems like my motor 4 gave up as usual and then motor 2 did something weird...
MOT: 1361, 1331, 1285, 1331
ATT, 61, 67, 971, -64, 203, 60
MOT: 1340, 1328, 1342, 1302
ATT, 116, 368, 1081, -860, -1905, -274
MOT: 1387, 1215, 1207, 1545
ATT, 749, 1928, 1490, -1439, -2500, -390
MOT: 1449, 1207, 1207, 1634
ATT, 1071, 3364, 1791, -140, -2500, -318
MOT: 1365, 1337, 1207, 1663
ATT, -163, 2949, 1288, 1575, -242, 768
MOT: 1302, 1616, 1283, 1331
ATT, -795, 1492, 725, -3, 370, 1227
MOT: 1408, 1408, 1207, 1207
ATT, 142, 1015, 333, -2362, 76, 304
MOT: 1367, 1207, 1207, 1207
ATT, 890, 1334, 930, -437, -2437, -1090
MOT: 1077, 1077, 1077, 1077
Seems like 4 had recovered a little before I stopped it... Any ideas?
Permalink Reply by Ellison Chan on November 9, 2011 at 8:46am Now that you have it tethered, the motor logs are not going to help you diagnose the problem. It's the same situation as the stalled motor. The APM keeps trying to change the attitude of the quad, and increase the motor throttle, but being tethered, it doesn't change and the APM continues to feed throttle.
If the same motor keeps cutting out, then I would recommend replacing it. If the motor on the same arm fails, and you've swap a known good motor there, it sounds like and ESC problem. I would check all the solder connections to make sure nothing is loose.
Permalink Reply by Ammar Husain on November 9, 2011 at 9:27am Thanks Ellison! I ll try switching them around now and see where the problem lies..
BTW, does anyone know where I can find details on the different logs that I can collect. For example: I am not sure what each of the 8 values PM means. I looked up in the code and it says imu.adc_constraints or dcm.get_health.. However what do these convey??
Similarly for the Atiitude readings, I understand from the code that the first three are roll, pitch and yaw. However I do not know what rc.servo_out is??
Permalink Reply by Ammar Husain on November 13, 2011 at 11:58am So I took the props out and am now running the motors. And they seem to be working perfectly. Could vibrations cause motor to stall?? Since I see the arm 4 has slightly more vibration than the other three arms?
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.203 members
24 members
207 members
58 members
1355 members
© 2013 Created by Chris Anderson.
Powered by
