This is the simulation of a PWM circuit with logic gates, where the double switch simulates the moments of voltage drop or normal condition, and having after the CI stabilization reaction. Whereas, the single switch demonstrates the case that everything goes wrong.