Conversion of 12V battery voltage into sinusoidal 230V voltage