Here4 GPS severe dropout, why?

I’ve been researching the crap out of this, here goes:

Yesterday, around noon, CST I was doing a research flight looking for battery use data. This consisted of 3 missions. 1st mission completed without incident or errors of any kind and lasted about 7-8 minutes. I landed, it disarmed, I loaded a new mission and took off. About 2 minutes in all hell broke loose. The bird kicked out of mission mode and into DESCEND mode (which only the autopilot can command) and cycled 7 times between position and alt hold modes despite me putting it into stabilize mode. It was VERY bad.

Question: What caused the GPS Here4 module to report a loss of compass AND a loss of GPS?

Here is what I’ve found:

Flight Review Link: https://review.px4.io/plot_app?log=64b2655b-bf27-4801-8e48-694b796fba87

Param File: Dropbox

First Good Flight Log (.ugl): Dropbox

Second BAD Flight Log (.ugl): Dropbox

  1. Vehicle reported no errors on takeoff and had completed one successful mission prior with no reboot in-between.
  2. Loss of compass occurred and 15 seconds later GPS took a hit.
  3. We went from 32 locked satiates down to 8, then 6 then 5. No known cause.
  4. HDOP was at .5, then diluted to 9, no known cause.
  5. Prior successful mission had a rock solid full time 32 satellite lock
  6. I completed a mission successfully only minutes prior under full auto mode (mission mode). No issues.
  7. It was early in the second mission while in mission mode when uncommanded flight modes were activated. No known cause.
  8. These Flight modes were not possible to activate via hand held transmitter. From Mission Mode to Land then descend, mission, descend, mission, descend, land, stabilized, position, altitude, position, altitude sequence. Hand held transmitter switches were not being activated by the pilot with exception of stabilize mode one time after it was known that the drone was not being controlled properly.
  9. Pilot CAN NOT COMMAND DESCEND MODE. It is a failsafe mode only.
  10. Current flight mode settings are Hold, Stabilize and Land on 3 position switch. RTL mode on a different 2 position switch. Recommend to change STABILIZE to ALTITUDE HOLD mode.
  11. Flight Analysis website shows 3D pathing that is underground. Unknown cause but probably due to loss of GPS locking.
  12. I can’t find any proof that a loss of connection between the hand held transmitter and the drone ever occurred.
  13. No companion computer was connected
  14. Manned aircraft callsign N314VA was reported by ADSB as in the area with separation distance of 293 and another at 457 (ft? meters?). No aircraft was observed in flight though.
  15. Max tilt angle was 50 degrees which is a little high (45 degrees set as limit while vehicle is in air).
  16. Mission started with 32 satellites.
  17. First mode commanded by pilot was from mission mode (where it started) to stabilize mode for 6 seconds then to position mode. Flight Mode was kicked back and forth between altitude and position 7 times as the GPS positional data continued to degrade.
  18. HDOP climbed up to a value of 9, anything below 1 is flyable.
  19. No jamming was detected, this also means no EMI from onboard sources. Noise was not present when GPS was lost.
  20. HDOP never recovered after the troubles began, even when number of satellites climbed back to 9.
  21. 5V power supply to the autopilot was good and steady throughout the flights
  22. At approximately 20:41 UTC the GPS system took a hit that it never recovered from. The compass failed 10 seconds prior to this event.
  23. High Rates logging were ON by pure chance so we have better than average sampling.
  24. CPU load was about 51% throughout the flight
  25. Beginning shortly before the GPS interruption there was a raw magnetic field fluctuation that went from -.2 gauss to +.25 gauss. Unknown cause. Possibly due to yaw controls reorienting the drones heading but that correction only lasts about 3 seconds, not 30 seconds.
  26. Prior log 15-51-22.ulg shows a correlation between this yaw control and the magnetic spiking events.
  27. Kp was 2.67 with an expected geo storm of magnitude 5 coming within the next 48 hours. A class G1 CME was reported for August 17, 2026 but it was not a direct hit on earth.
  28. RSSI was always at 41% which indicates a fault in settings. Investigated this and found the Window time on the air side RFD was at 131 instead of 120. No other discrepancies were found. RSSI now functions as expected.
  29. Total flight time was 4 minutes 51 seconds.
  30. Resting battery voltage post flight is 23.21 volts with no power dips shown in the logs.

TWO DAYS LATER:

Sat the bird in the backyard and just let it soak. Satellites climbed to 30 or so then dropped to 5 then 4 then 0. Notice the dropping to ZERO and still a Sensor Status of Normal??!!

20 minutes later this happens, it is suddenly working!:

I caught the whole thing while logging. New log of this event is here.

Did you try take off without GPS.

Have you setup Notch filter on your flight controller.

What is your GCS and Air receiver unit

In mission mode it will not let you takeoff without GPS lock. I had GPS lock on takeoff, 32 satellites.

I do have a dynamic notch filter setup, I am not happy with the PID tune though. Any advice on that is welcome but it would need to be in the form of SPECIFIC adjustments like, increase D by 10%.

GCS is QGC

Air receiver unit is futaba 3008, the telemetry air receiver unit is RFD900X-2.

Running PX4 firmware 1.17

Try with a px4 version which worked with your quad earlier and report if you have same symptoms.

Can not revert to earlier PX4 versions. I am going to fly again though, I’ll just have to be ready for it. It’s too hot to fly at the moment.

Could you provide a log file? The data displayed by the web tool is not comprehensive.

Last two links are for the log files, first and second flights.

Could this be heat damage to the HERE4 module? It was 106F!

I caught the whole thing in action again. New log link here.

Going to swap out the here4 with a known working good one today.

Looks like a faulty unit, maybe try bench test outdoors for a similar flight time, if you have another unit do the same and compare

That’s where my money is, some sort of cold sodder joint. The unit has about 2 hours of flight and probably 15-20 hours of non flight on time for sure. Will know soon.

Do you have SBF file to share, I can help you diagnose.

I don’t know what an SBF file is.

So here is what I think happened and I’ve traced this as far as I can go. Not complete satisfaction but upon further inspection I noticed that the bird was not reporting any power settings like voltage and current.

I tracked that down and found out the a Mauch 2-6S Dual power supply BEC had blown its primary power supply circuit and the bird was flying on the backup power supply to the Cube Orange Plus. It was indicated by no blue LED light showing on the BEC.

Using a digital microscope there was a ceramic capacitor that had a small crater in it and massive cracks propagating from it. My theory is that the capacitor failed, possibly due to heat (106F outside), vibration (my bird has a lot of Z-axis vibration) or just an ordinary bad capacitor is what caused the failure. When the capacitor went, it partially damaged the GPS module.

I also inspected the GPS module and found no other errors but I can’t fully inspect it due to permanent shielding being in the way that I’d rather not disassemble right now.

TL;DR: capacitor blew in the BEC and took the GPS out with it.

Replaced both the GPS and the BEC and it’s happy now.