Grounding issues

Continuing the discussion from Plane 4.2 stable release:

Hi Tridge,
Thankyou for detailed analysis of my logs. You nailed it, i was able to reproduce the stutter via mission planner 80% motor test 5 out of 6 attempts on rear left motor ( other motors fine ). I tried changing the params you recommended no difference. FYI here is a log of the stutter after param changes. i will have to go through a process of elimination to find out the prob, motor,ESC or wiring. At least i now no what happend.
Cheers Mark

Hi Tridge,
swapped the motor/esc to the other side of the plane ( different wiring loom ) still stuttering. I have sent link to some photos. the ground signal wire has melted its insulation. and sitting over a big transistor dont know why.
Google Photos
the first photo is how i found it out of its case

hi Mark,
I think this would be worth breaking out as a new topic. Then I’d suggest we ask @Leonardthall to comment on how to fix the grounding issues. The ground wire melting means you’ve got a lot of current flowing on ground.
Start a new topic so we leave the stable 4.2 release topic for it’s main purpose.
Cheers, Tridge

Hi tridge,
I am running the signal ground off the ESC power ground ( foxtech wiring ).?

Google Photos

@Mark_Rosser I think the person who knows the most about ground issues with ESCs is @Leonardthall - he may be able to suggest a solution.

The Positive terminal of the cap was loose just sitting there on the solder tab of the ESC pcb.
I think this could be the problem.

Hi Tridge,
FYI,. I soldered the cap postive terminal back on. Did motor test about 10 times no stutter, seems to be working fine. Still dont know wether i should trust the ESC after having a hard time. Here is the test log. The Current looks good.
Thanks so much for help.

glad that you found it! I didn’t think to suggest a missing cap, but it does make sense.

It sure does.
Cheers Mark

Good find Mark!

ESC grounding issues are made up 3 forms of ESC signalling/coupling problems, resistive, capacitive and inductive. All three should be considered when building an aircraft.

This is the tendency for sudden changes in current to cause large voltage spikes in your system. Inductance in your power system is primarily caused by the size of the loop formed by the positive and negative leads between the esc and battery. So the longer the cables to the ESC the higher the inductance. However the most important consideration in reducing the inductance is to ensure the positive and negative power wires are kept very close together. This can be done by twisting the two gently together approximately 1 twist every 10 to 20 cm. A 10cm long lead with a large gap between wires will have a much higher inductance than a 1m long lead with minimum spacing between the positive and negative lines.

High inductance is like water hammer in the house pipes. Each time the ESC turns off the voltage across the input of the ESC spikes. In extreme cases this can cause damage to the input capacitor or the FETS. This noise can directly cause signal detection problems or commutation detection problems. These voltage spikes can also cause signal detection problems indirectly by capacitive coupling to your PWM signal line.
(These spikes are absorbed by the large capacitors on the input of your ESC so your broken capacitor wire will make this type of noise more serious)

Capacitive coupling problems are a result of voltage spikes in large power wires or other devices like radio transmitters being coupled to the PWM wires. ESC’s designed with high impedance terminations and don’t have effective filters on the ESC input can be particularly susceptible to this. BLHeli based systems tend to have less filtering due to the higher data rates required. Bi-directional systems make it even more difficult to effectively filter this noise.

Capacitive coupling is minimised by using twisted PWM signal wires as an noise source tends to couple equally to both the ground and signal line. It is also good practice to avoid routing PWM lines next to things like radio transmitters or lidars.

A common source of this coupled lines is the close proximity of power wires connected to ESC’s. This is a difficult problem to avoid as these wires generally must travel in the same space as the power. In this instance the twisted pair, signal and ground, is the only practical option. Other mitigations focus on reducing the magnitude of this noise source (reduce inductance in the power wires and adding additional capacitance at the ESC)

This is one of the less well understood coupling mechanisms but is common in many aircraft. The problem stems from the simple fact that the ground or black wires are not 0.0 V. If the negative bullet connector of the battery was at zero volts all other points on the ground line would be at a higher voltage depending on how much current was flowing back towards the battery. It is also important to understand that current will flow back to the battery through all the available ground paths, not just the shortest path.

Most Multirotor aircraft have 4 to 8 ESC’s capable of drawing very high peek currents. This current must flow back to the battery and is divided between the main power ground and the signal ground based on their impedance. 22 AWG wire will have an impedance of something of the order of 48 to 67 Ohm per km while 14 AWG wire will be 8 to 12 ohm. This means for the same length of power and signal wire, for every 7 amps of current draw there will be 6 amps in the 14 AWG and 1 amp in the 22 AWG wire. However all these signal wires go back to the autopilot then through 2 to 4 28ish AWG BEC ground wires. 28 AWG wires have an impedance of 200 to 280 Ohms per km.

The impact of this ground return current in the autopilot BEC wires is an increase in the ground voltage of the autopilot compared to the battery. This often causes current and voltage measurements to read low.

The impact of significant current in the ESC signal ground wire is an increase in the ground reference of the ESC compared to the AutoPilot. This makes the peek voltage of the signal line appear lower. Especially when using 3.3 V signalling this can reduce the signal to a point where it is interpreted as a low state, changing the throttle level or interrupting communication in digital systems (CAN is differential so not impacted as it is not ground referenced).

So what does all that mean from a practical standpoint…

  1. Keep the negative and positive power wires to any component next to each other (touching) over as much of the rout as possible.
  2. Avoid loops and large gaps between positive and negative power wires.
  3. On very long runs to ESC’s additional capacitance may be required at the ESC.
  4. Use twisted PWM wires to minimise capacitively coupling to the high impedance signal wires.
  5. If possible use 5V signalling when long runs are present.
  6. Avoid routing next to noisy components like other ESC’s, ESC wiring, and radios.
  7. Where possible add additional ground connections between the autopilot and system ground.
  8. Ensure all connections, solder joints, bullets, plugs ect are clean and make good contact.

Other points, ground loops don’t tend to be a factor in our aircraft.

Ok, that is my brain dump.


great write up @Leonardthall !

Thanks Leonard - there’s an entire wiki section right there!

1 Like

I agree, @Leonardthall that should be in the wiki!

All makes better sense now, thanks @Leonardthall

Thanks Lenoard

Amazing detailed summary of many year’s of building experience, wow.

Cheers Mark

1 Like

@Mark_Rosser I had the same problem with Plane 4.2.2 but I had landed without any problems in 4.1.7 like you. Can you clarify if you did fly the plane or not after making changes told by Tridge.


Hi Trkv,
My fault was a faulty ESC. Nothing to do with the firmware upgrade. After repairing the ESC it works fine in a flight test. Follow tridge’s advice and see if you can duplicate the fault on the ground with the motor test. Upgrade to the latest firmware 4.2.3 lots of trans and landing changes ( see Tridge’s release notes above )

Thanks Leonard, well explained.
But if I may contribute a little extra information:
In regards to inductive loads and long cable runs (especially large drones /planes) there is often the need to add extra capacitors to reduce additional problems. Unfortunately this is all to often ignored until a crash happens due to ESC burnout.

One exceptional interesting report I’ve come across is this one:

1 Like