The following schematic diagram is the circuit of solidstate automatic power-off on mains failing. A really good number of circuits…