Servers by jDrones

Log analysis - Analysis Agriculture Quadcopter 10 L water spraying system


(Prateek Srivastav) #1

Auto analysis:

Test: Autotune = UNKNOWN - No ATUN log data
Test: Brownout = GOOD -
Test: Compass = FAIL - WARN: Large compass offset params (X:-130.13, Y:-221.26, Z:-402.39)
WARN: Large compass offset in MAG data (X:-130.00, Y:-221.00, Z:-402.00)
Large change in mag_field (598.23%)
Min mag field length (82.95) < recommended (120.00)
Max mag field length (579.19) > recommended (550.00)
Test: Dupe Log Data = GOOD -
Test: Empty = GOOD -
Test: Event/Failsafe = GOOD -
Test: GPS = GOOD -
Test: IMU Mismatch = GOOD - (Mismatch: 0.15, WARN: 0.75, FAIL: 1.50)
Test: Motor Balance = WARN - Motor channel averages = [1508, 1580, 1497, 1573]
Average motor output = 1539
Difference between min and max motor averages = 83
Test: NaNs = GOOD -
Test: Parameters = FAIL - ‘THR_MIN’ not found
Test: PM = GOOD -
Test: Pitch/Roll = GOOD -
Test: Thrust = GOOD -
Test: VCC = UNKNOWN - ‘POWR’

Before Flying, In Lab I tested my drone using 12S12P Li-ion battery 48 volt 34800 mAh , I completed all the Calibration procedures (ESC calibration, Accelerometer & Compass calibration etc) using 12s12p Li-ion battery.
But on field for flying I used different battery -
Two set of 6s12p (22.2 V 34800 mAh) in series connection to maintain the same configuration of 12s12p.
After flying I did the log analysis, and found these errors:

  1. Test: Compass = FAIL - WARN: Large compass offset params (X:-130.13, Y:-221.26, Z:-402.39)
    WARN: Large compass offset in MAG data (X:-130.00, Y:-221.00, Z:-402.00)
    Large change in mag_field (598.23%)
  2. Test: Motor Balance = WARN - Motor channel averages = [1508, 1580, 1497, 1573]
  3. Test: VCC = UNKNOWN - ‘POWR’

My queries are -

  1. Can change of battery be the possible issue for all these above error ?
  2. If any other solution / suggestion, Please let me know ?

Thanks


(Brian Riskas) #2

Please post a logfile and we can better help you. Based off of what you posted, it appears that you have quite a bit of magnetic interference with your compass. How is your compass mounted? Mounting it too close to batteries/power wires will cause large changes in the mag field.