explains, but learning how they work ... circuit to produce it. He chose to drive the output section with an Arduino, to easily produce the zero-crossing delay. He uses this low-voltage inverter ...
If it doesn't work in the other sockets, your charger may be bad ... like a cigarette lighter inverter, that simply draws more amperage than the circuit is designed to handle.