Grounding a vehicle does remove one hidden safety risk associated with inverters but potentially can cause a much bigger one. This hidden problem is far more common in modern inverters and arises from the fact that theres a direct electrical path between the mains output circuit and the low voltage input circuit (including the battery). This path is usually via the auto turn-on sensing and is especially true in cheaper inverters, you can buy isolated inverters and in these inverters there is no electrical path between the two sides.
When the inverter is being used to power a single tool or appliance, this internal current path normally doesn't pose any safety risk because the complete battery-inverter-appliance system floats above earth. The battery will always be 12V greater than ground, even if ground is at 100v. The system is floating so the absolute voltages don't matter.
However if the tool or appliance is faulty and develops a short or some other severe leakage between its mains wiring and its external metal case or frame (which would normally be earthed, when itメs plugged into a mains power outlet), thereメs a risk that the battery connections can become dangerously live.
How can this happen? If the leakage path to the appliance frame happens to be from the side of its mains wiring connected to the active side of the inverters output, and the frame of the appliance becomes connected
to earth, this will immediately raise the neutral side of the inverters output to the full output voltage above earth and with it, the low voltage side of the inverters circuitry and the battery terminals and potentially all the electronics in the car. If an unsuspecting person who also happens to be earthed should touch one of those safe-looking 12V battery terminals, they can receive a potentially fatal shock - they basically just touched the output of the inverter! In a negative earth car the situation is much worse because touching the car body can be dangerous (you are the ground wire!!)
While grounding the vehicle will prevent this problem (the system will no longer be floating and the electrical fault will not be able to 'pull up' the voltage of the real ground) but there is always a risk they you'll forget or not get a good contact with the ground (most buildings use a giant metal stake hammered into the ground which is impractical for a vehicle). In order for the ground wire from the car to work you not only need a good connection but you also need to make sure all the inverter sockets are earthed. Grounding the inverter socket but not grounding the vehicle is what makes the earth fault potentially fatal. With an inverter it is much safer to not wire the earth pin and clearly mark the output as INVERTER POWER: FLOATING. In this scenario you have to be outside and touching the case of the bad appliance, the car body will remain perfectly safe.
There is a lot more to wiring an inverter than first meets the eye, espeically when you throw mains powered chargers and generators into the mix. Always think twice before touching the terminals of a battery that you know is being used to power an inverter.
Rob