Troubleshooting
VFD ground fault at start with good megger readings
Short answer
A drive that trips ground fault only when the move command is applied, while cable and motor megger in the hundreds of megohms, has an intermittent leakage path inside the motor terminal box that a DC test cannot reproduce. De-energize, reterminate and reinsulate the leads, and dress them so the cover cannot pinch a phase against ground, and leave the ground-fault threshold and the fault itself armed.
On this page
- Why does the VFD trip a ground fault only when you command it to move?
- How can the motor and cable megger in the megohms and still fault under the drive?
- Why didn't raising the ground-fault threshold stop the trip?
- Which measurements actually rule out the cable and windings?
- How do you prove the fault is inside the motor terminal box?
- What is the permanent repair for a terminal-box ground fault?
- Why did the motor ground and the encoder each look guilty?
- When is the ground fault not in the terminal box?
- Questions asked
A drive that trips ground fault the instant output voltage reaches the motor, while the same cable and windings megger in the hundreds of megohms, does not have failed insulation. It has a leakage path that only switched voltage can find, and on a retrofit with an existing motor and cable that path is almost always inside the motor terminal box: a damp or tracked surface, a pinched lead, clearance to grounded metal that a DC test never stresses. The repair is to de-energize, reterminate and reinsulate the leads, and lay them out so the cover cannot close a phase onto ground. The ground-fault threshold stays where the manufacturer set it.
Why does the VFD trip a ground fault only when you command it to move? #
Because the detector only has something to see once output voltage is applied: the drive sums its three output phase currents, and current that leaves without returning through the other two phases is going to ground. In a healthy three-wire circuit that sum is zero at every instant; a trace frame of +160 A on one phase and -80 A on each of the others is a normal instant, not asymmetry. Until the move command there is no output current, so there is nothing to escape.
That timing is the whole diagnostic. Walk the sequence as it played out on the crane retrofit this pattern comes from:
| Observed step | What it settles |
|---|---|
| Control power and 600 V supply on, no fault | The output stage is idle; not a supply-side or control-power defect |
| Contactor closed, holding brake released, still no fault | No output current yet; not brake wiring, not the contactor coil circuit |
| Fault at the move command, right after brake release | First PWM voltage and magnetizing current; cable, terminal box or windings |
| Leads run outside the box for days, no fault | The defect is the leads' position or insulation inside the box |
The same instant also produces overcurrent codes; why a VFD trips overcurrent the instant the motor moves separates the two by what the drive measures. Write the exact code down from the fault history, F30021 on the G130 in this case, never from memory.
How can the motor and cable megger in the megohms and still fault under the drive? #
Because a DC insulation test and a PWM output are different stresses: a damp or carbon-tracked surface in the terminal box can hold off 500 V DC and break down under the switched 848 V peaks of a 600 V drive.
The arithmetic: 600 V times the square root of 2 gives 848.5 V on the DC bus, and the reported trace on this crane read 815 to 845 V loaded, which confirms it. The output terminals see that bus switched in fast pulses, while a 500 V tester stresses the same surfaces to 500/848.5 = 59 percent of the service peak, averaged over seconds. Tracking and moisture are precisely the defects that pass the slow test and fail the fast one: surface resistance across a damp carbon path collapses when a steep edge hits it, and a microsecond arc trips a detector the megger never sees.
IEEE 43-2013, the recommended practice for insulation-resistance testing of rotating machinery, directs a 500 V DC test for most random-wound machines, the class most 600 V motors belong to, and treats the reading mainly as a moisture-and-contamination indicator rather than a verdict on every service stress. Read your hundreds of megohms the same way: it rules out a hard short, nothing more. Split the circuit and test each piece from its own terminals; the boundaries that matter are covered in insulation resistance testing from switchgear vs motor terminals.
Why didn't raising the ground-fault threshold stop the trip? #
Because the leakage is a hard fault, not nuisance current: on the SINAMICS G130 the threshold parameter is p0287, with p0287[0] during precharging and p0287[1] in operation, and this trip survived a raise from 16 percent to 50 percent.
Worked example, inputs stated: the line-up holds two 400 A drives and a swing drive about half that size, so take 200 A as the reference current; your drive's parameter list names its real base. At 16 percent the trip level is 0.16 x 200 A = 32 A of ground current. At 50 percent it is 0.50 x 200 A = 100 A, and the drive still tripped. A surface path passing more than 100 A is a flashover, not leakage. The roughly 15 m (50 ft) of existing cable contributes capacitive ground current far below even the 6 percent precharge value, which is why p0287[0] never spoke before the contactor closed.
A threshold-insensitive trip is the most useful test in the whole investigation, and it costs one parameter write and a restart. Restore both indexes to their documented values when you finish, and never write 0 to either one: disabling the ground-fault monitor removes the only element that clears an output-to-earth arc before it finds a person or burns the box down. Had the trip vanished at a modest raise, the current would have been marginal and the hunt would move to common-mode sources such as a long shielded cable at high carrier frequency.
Which measurements actually rule out the cable and windings? #
Split the circuit and test each piece with the right class of instrument: a 500 V or 1000 V insulation tester for cable and windings to ground, and a four-wire low-resistance meter for winding balance, because a handheld ohmmeter's leads swamp a 170 milliohm winding. The reported numbers from the crane case, each with the instrument class that makes it count:
- Cable, both ends lifted, phase-to-ground and phase-to-phase, insulation tester: 160 to 300 MΩ on every pair, so no persistent short in the cable.
- Motor windings to ground with the cable off, same tester: gigohm range, so the winding insulation holds under DC.
- Winding resistance, phase pair to phase pair, low-resistance meter: 171.5 mΩ (L1-L2), 171.4 mΩ (L2-L3), 170.2 mΩ (L1-L3). Deviation (171.5 - 170.2)/170.2 = 0.76 percent, balanced. An earlier set of 1.45, 1.45 and 0.9 Ω came from a two-wire meter whose leads and contacts added about 1.28 Ω; that spread was method, not motor.
- Output contactor: continuity pole by pole closed, no path between poles or to ground when open, and watch it during the guarded test too, because a contactor can ohm fine cold and chatter under load.
- Protective-earth continuity from motor frame, drive enclosure and support frames to the main ground point: continuous. A sound PE gives fault current its return path; it never was the defect.
- Braking resistor: lift one end before you ohm it, or you measure the braking module across it, not the element.
- Drive trace: 40 ms sampling is fine for sequencing, enable, brake release, contactor state, bus voltage, and too slow to catch the microsecond breakdown, so judge currents on identical scales over complete cycles, never from one frame.
How do you prove the fault is inside the motor terminal box? #
Dress the motor leads outside the box, each one terminated and individually insulated, and run a guarded test: a fault that vanishes with the leads out and stays away only after the box is reworked points at the leads' position or insulation inside it.
Before any of it, safety in this order and no other: open and lock out the disconnect feeding the drive, wait the DC-bus discharge time the drive manual states, then test for absence of voltage at the drive terminals and again at the motor box, proving the meter on a known live source before and after. That de-energize-and-verify sequence is what NFPA 70E, 2024 edition, the standard for electrical safety in the workplace, requires for this work; your site procedure and the authority having jurisdiction may add to it. A box suspected of tracking gets opened dead, every time.
- Open the box and photograph it as found: insulation pinched where the cover lands, a lead resting on the frame or a board screw, loose strands, carbon tracks, condensation rings with dirt trails, damaged boots, debris.
- Reterminate: correct lugs, torque to the value the lug or terminal-board maker prints, no bare conductor past the lug barrel.
- Insulate each connection on its own and replace any tracked board, because a carbon track is conductive and stays conductive.
- Guarded test with the leads outside the box, each still terminated and taped: repeated starts and a full duty cycle, under whatever guarded-test arrangement your site approves.
- In the reported case the drive ran clean for days with the leads out, and it has run clean since the box was reworked and closed; the fault never survived the box work.
Take the box seriously: the end state of a tracked terminal box is in why a three-phase motor blows its terminal box apart.
What is the permanent repair for a terminal-box ground fault? #
Reterminate every lead on its correct lug at the torque the terminal maker prints, insulate each connection separately, replace any tracked board or boot, and dress the leads so the closed cover cannot press a phase against grounded metal or a neighboring terminal. The checklist:
- Strip length so the insulation meets the lug barrel, with no exposed copper outside the connection.
- Torque and mark every checked connection.
- Individual insulation on every connection, boots or heat-shrink rated for the motor's voltage class.
- Layout with the cover in mind: bend the leads so the closed cover meets gasket, not conductor, with the phase-to-phase and phase-to-frame spacing the box allows.
- Seal the humidity out: gasketed cover, sealed glands, drain or breather fittings where the motor manual places them.
- Bond the motor frame with its permanent PE conductor; the temporary jumper that bought one day is not a repair.
- Restore p0287[0] and p0287[1] to their documented values, record the final insulation readings, and note the humidity when you restart.
Nothing else changed in the reported case, same motor, same old cable, same drives, and the fault has not come back since the box was closed.
Why did the motor ground and the encoder each look guilty? #
Coincidence, tracked one change at a time: the added motor ground changed the common-mode return path for one dry day, and the encoder swaps landed between faults rather than during them, so both looked like fixes and neither was.
The swing motor's ground was found unconnected, the previous drives apparently never used it, and terminating one let the crane run. For a day. With that ground bolted properly and a second run added, the fault returned, exactly what you expect when the fix only changed the return impedance of a leakage path that was still there. The PE conductor is required and it stays; it gives fault current a low-impedance path so the drive clears the arc, and it does nothing for the phase insulation the current escapes from.
Then an encoder fault, F31118, appeared on the neighboring hoist drive during one startup, and unplugging that encoder once preceded a successful swing. After that, encoder swaps, a disconnected swing encoder, encoderless operation and a fully powered-down hoist drive all failed to move the fault. Recognize the pattern: every fix worked once, on a different day, in different humidity. Log time, weather and humidity beside every attempt, change one thing at a time, and let the trip boundary pick the suspect; it pointed at the motor circuit from the first morning. One boundary worth keeping straight: a fault that lands at power-up instead of at the move command is a different failure, covered in why a grounded motor trips the VFD line breaker at power-up.
When is the ground fault not in the terminal box? #
When the trip timing moves: a fault during precharging with no output, one that ignores humidity, or one that only appears at speed sends you to the cable, the drive's output stage or the windings instead, and three timing patterns split them cleanly.
- Trip during precharging or at enable with the contactor still open: disconnect the cable at the drive's output terminals and retest. Still tripping with the drive open means the drive's own output section; cleared means the cable or the contactor-to-drive wiring.
- Trip the instant the contactor closes but before rotation: chafed cable, a wet gland, the contactor-to-motor run. Pull the cable aside or hang a temporary run; a trip that follows the cable was never the box.
- Trip only at speed or under load: motion and heat close a gap, so windings or box. Do the box first anyway; it costs an hour.
- A small, steady ground current on a long new cable run that rises with carrier frequency and ignores weather: capacitive common-mode current, an EMC wiring matter per the drive documentation, not an insulation failure and not a reason to touch the threshold.
For the pattern in the title, fault only at the move command, megohm readings, humid nights, clean running with the leads out, the answer is the motor terminal box, and the reterminate-reinsulate-redress repair is the fix. Do it once, seal the box against the moisture that started it, and leave the ground-fault monitor armed.
Questions asked
Why did the braking resistor measure 6 ohms while it was still wired in?
You were measuring the resistor in parallel with the braking module's internal electronics, so the meter reported the network, not the element. Lift one end and measure the element alone: 11.5 ohms against a 12 ohm marking is a 4.2 percent deviation, comfortably inside a normal tolerance band, so the resistor was never the problem and its parameter was never the fix.
Should the existing motor cable be replaced while the box is apart?
Only if it fails inspection, or the run is coming out anyway. A PWM output is happiest on symmetrical three-conductor cable with a shield bonded 360 degrees at both ends, the method drive manuals specify for EMC, because it gives common-mode current a defined return path. A 50-foot run in good condition that meggers in the megohms, like this one, can stay in service.
How do you stop humidity from tracking the box again?
Keep it dry and keep it warm. The reported case began after weeks with the machinery space open to humid nights, so sealing that room was part of the fix, not housekeeping. If the motor has space heaters, energize them whenever the drive is off: a winding held a few degrees above ambient cannot condense, so the surfaces that tracked stay above dew point. Inspect the box again after the first wet spell.
Is the fault code the same on every drive?
No. F30021 is the ground-fault code on the SINAMICS G130; other series and other manufacturers use their own numbers and scale their thresholds from their own reference currents. Read the fault table for your exact series and revision, and record the code, the threshold parameter and its value before changing anything, because that record is what makes a threshold test repeatable.