Simulation and Experimental Modeling of Inverter Triggering Circuits Using Zero-Crossing Detector (ZCD) Based on Microcontroller.