I am trying to design a circuit to protect my electric bicycle charger from power supply fluctuations. These are the likely power supply fluctuations that regularly occur here
1. Continuous Low voltage (as low as 80 V) [220 Volt system here]
2. Sudden bursts of Low or 0 Voltages (I don't know how that occurs, but sometimes that occurs)
3. Sudden high Voltage. (Sometimes Ultrahigh due to lightning)
4. Constantly On-Off-On-Off-On-Off Supply for a long time. (I hope you understand what I mean)
So, I would like to protect the charger from virtually every kind of power supply fluctuations.
Currently I have a mind of doing this
1. Use a step-down transformer that converts 200 Volts to 12 Volts and use a zener diode to only turn on a Relay (that supplies power to the charger) when the input voltage is above 200 Volt.
2. Similarly use another zener diode to turn-off the relay when input voltage is above 240 volts.
But I don't currently have ideas whether this can protect sudden changes. I also need to be protected from problem No. 4.
So, any help will be greatly appriciated.