Servers by jDrones

Possible Magnetic Interference from MAUCH HS Hall Effect Current Sensor

Yesterday I installed a MAUCH HS series 100A current sensor. I have a Tarot 650 Sport frame. FC is a Pixhawk 2.4.6 running the latest stable AC firmware.

The previous sensor was the ubiquitous 3Dr style rated for 6S and 90 Amps.

The MAUCH sensor is mounted between the rail mounted battery tray and the lower frame plate.

Pixhawk is mounted on a vibration damper mount that is attached to the top plate. The Pixhawk is approximately 50mm above the current sensor.

The M8N GPS/compass puck is mounted on a fiberglass canopy. The GPS puck is approximately 85mm above the MAUCH sensor.

I am using a Taranis X9E running Flight Deck telemetry

Prior to installing the MAUCH I have had NO issues with either compass. I did a test flight this morning and after about 5 minutes or so of hovering I switched from Stabilize to Loiter and shortly there after my radio started “pinging”. I glanced down at the display and saw “EKF2 IMU1 ground mag anomaly, and EKF2 IMU1 switching to Compass 1.”

12/8/2019 Data Flash Log (.bin)

It switched back and forth between 1st and 2nd a few times. Mag 2 (Internal LSM303D) is pretty noisy. At least compared to the external one. Do you have a log from before the Mauch sensor was installed to compare?

2019-8-8 (.bin)

This was short flight 3 days ago to test the new 17" props. Same exact location as today’s flight.

That looks like the same log as the prevents. Same file name too.

I meant to get 12-5…

2019-12-5 (.bin)

the first one should have been 2019-12-8…

The only difference I can see in the Mag is the slightly greater separation of the Y
But curiously there is nothing from your mag’s that I can see causing the EKF to go off like that.

The only other thing in the logs that is different and shows ‘something’ happening at the time of the EKF errors is the GPS.
But compared to the previous flight the GPS values are much better, just more variance.

I could not tell much from the EKF logs as most of the mag logging is flat lined.
Not sure what’s going on there.

The only other difference I found was in the NLon values in the troubled flight that are not apparent in the first.


But they don’t seem significant enough to be an issue.
There is slightly more noise on the Vcc and Servo rail but the noise level is so low I cant see it causing issues.

So no ‘AHA’ moments, just letting you know what I could see which wasn’t much.
Multiple compasses seem to have more issues now, maybe try just the external compass and see if the issue arrises.
The Desired to actual roll/pitch/yaw is pretty noisy and the hard working motors are probably generating most of the noise that we doo see.

Disable internal compass see if that helps! Move components that are causing interference if able to then retest! double check all connections to make sure they are proper and insulated correctly. plenty of others running these sensors without issue, but then again each frame is different so keep testing until you resolve it!

1 Like

I have the internal compass disabled, but its been nasty raining all day long. I dug through the flight logs and I can see a HUGE divergence between the internal and external compass that is caused by going from Armed to Hover Throttle, so the problem is coming from the power system.

Compass motor calibration?

Yeah, that’s what I’m thinkin’. I’m going to set up for it tonight and run it first thing in the morning, and if it’s not raining (fingers crossed) I might be able to get a test flight in…

Mike:

I ran CompasMot and did a short test flight. I looked at the mag reading in the data flash log, and taking into account that the external mag is inverted, the axis plots are on top of each other with no throttle induced divergence.

No EKF messages?

I was thinking about the change in mag related interference and although I haven’t actually done any tests, the idea of the Hall effect is that it is using a magnetic field to measure a value.
So it might be logical to think that hall effect sensors might generate more magnet interference.

Just a thought.

The flight only lasted long enough (just a couple of minutes) to get some mag data.

We’re looking at snow for tomorrow so its gonna be a day or two before I can make a longer flight.

As for the Hall device, I believe it is measuring the strength of the magnetic field generated by main battery current flow. I suspect that the wire size (10ga) and length generated a field that was considerably stronger than the field generated by the 3DR style battery monitor I was using previously.

Fortunately it appears that running CompasMot did the trick.

Servers by jDrones