Fixing LiDAR–GPS Interference on a Drone with EMI Shielding
When I added a TF Mini-S LiDAR to my drone, the GPS could not get a fix as long as the LiDAR was powered on. I traced it to EMI from the LiDAR.
Symptoms
With a Benewake TF Mini-S LiDAR and a u-blox M8N GPS on the same frame, the GPS couldn’t acquire satellites. When I disconnected the LiDAR, the GPS came right back.
The TF Mini-S fires its laser at high frequency, and that switching noise leaks into the L1 GPS band (~1.575 GHz). It is a known issue in the ArduPilot community, and it shows up as a GPS that never gets a fix, a satellite count that keeps dropping, or random GPS glitch errors mid-flight.
Before I tracked down the cause, the glitches brought the drone down. On the ground, Mission Planner kept refusing to arm with “GPS glitching” even though it reported a 3D fix.
Shielding tests
Test 1: no LiDAR
The GPS locked on quickly, so the receiver itself was fine.
Test 2: unshielded LiDAR near the GPS
With the unshielded LiDAR near the GPS, the lock became unstable. The LiDAR was the noise source and needed shielding.
Test 3: shielded LiDAR, unshielded GPS
Wrapping the LiDAR in copper tape helped a lot, but the shielded LiDAR still caused problems when it sat right next to the GPS.
So the GPS needed shielding too, without blocking the satellite signals. I covered only the bottom and sides: a copper-clad plate under the GPS canopy blocks noise coming up from the LiDAR and leaves the top of the antenna open to the sky. The flight controller also sits nearby, so I checked it next.
Test 4: shielded LiDAR near the flight controller
I moved the shielded LiDAR right next to the flight controller (FC) and toggled it on and off. The GPS stayed stable and the FC behaved normally, so the copper tape contains the noise well enough even at close range.
Test 5: final setup
With the LiDAR back in its original position and both shields in place, the GPS was stable throughout.
Flight test
On an evening flight on March 18, the GPS held a fix the whole time in both GUIDED and AUTO modes without glitches.
What worked
| Configuration | GPS Stability |
|---|---|
| No LiDAR | Stable |
| Unshielded LiDAR, canopy unshielded | Unstable |
| Shielded LiDAR, canopy unshielded | Mostly stable (proximity-sensitive) |
| Shielded LiDAR + shielded canopy | Stable |
Wrap the LiDAR in copper tape (or single-sided PCB, copper side out) and add a copper-clad plate under the GPS canopy. Hot glue holds it all together.
References
- 1. ArduPilot Discourse. Avoidance experiments with the new POC and Benewake TFmini-S.
- 2. ArduPilot Discourse. GPS issue when connecting to lidar on UART. Oct 2023.
- 3. ArduPilot Discourse. Does TFmini S lidar affect the magnetic field of the GPS in my hexacopter?
- 4. Google Groups, Drones Discuss. GPS is highly disturbed by Lidar lite, how to fix it?
- 5. ArduPilot Discourse. TF mini s lidar causes abnormal behavior in a hexacopter.