• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Security and Alarm / Mains High Low Voltage Protection Circuit with Delay Monitor

DIY Circuits | Learn Basics | Arduino Coding




Mains High Low Voltage Protection Circuit with Delay Monitor

Last Updated on January 30, 2024 by Swagatam 163 Comments

In this post I have explained an upgraded version of my previous mains 220V/120V high-low voltage cut off protection circuit which now includes a delayed restoration of power for the load with 3 LED power status indicators.

The idea was requested by one of the dedicated members of this website.

Circuit Objectives and Requirements

  1. I just followed you're explanation and is it possible that you can help us with the following:
  2. To design a safety circuit that should provide for household appliances for over-and under-voltage protection.
  3. The protective circuit must immediately switch off upon detection of low-and high-voltage household appliance and upon detection of normal voltage switch on again after 3 minutes.

Main Specifications

The protective circuit must comply with the following: If the line voltage is within the normal range (100 to 130V ac), it will wait for the protective circuit 3 minutes before the output will be energized. During these 3 minutes there is an amber

LED light. If the line voltage is outside the normal voltage, the output of the protective circuit will never be under tension. If the line voltage is less than 100VAC, the protection circuit "low voltage" must indicate by a red LED that lights up.

If the line voltage is present, the protection circuit must pass a voltage greater than 105 Vac "normal tension" it will indicate by a green LED that lights up.

Similarly, the line voltage protective circuit has to be higher than 130V ac "high voltage" will be indicated by a red LED that lights up. Only when a voltage is less than 125VAC, it must indicate the protection circuit "normal tension" by a green LED that lights up.

Upon detection of over-and under voltage protection, the circuit should give a beep of 5 seconds.

This should be constructed with an opamp oscillator circuit in this functionality.

Circuit Diagram

LM358 PINOUT DETAILS

The Circuit Design

The above shown mains high/low voltage cut off protection circuit is an enhanced version of my previously explained design which had similar high low cut off protection feature except the delay timer stage which has been added in the present design as per the  request.

The timer stage ensures a delayed power switch ON for the load each time the mains is cut off due to an abnormal fluctuating voltage so that the load is never subjected to an abrupt or random voltage switching situation .

The circuit also includes 4 distinct LEDs which indicate the corresponding mains voltage levels or status through their individual colors. The two red colors indicate high and low voltage situations respectively, the amber color LED indicates the intermediate delay counting status of the circuit, while the green LED informs the user regarding a healthy mains output condition.

The P3 preset or pot is used for setting up the delay time switch ON for the IC 4060 stage

How it Works:

We already know from our previous post that whenever the input voltage crosses the higher threshold, a logic high is created at the output of the upper opamp and when the voltage drops below the lower threshold the lower opamp generates a high logic at its output.

This implies that during both the conditions a high logic is generated at the cathode junction of the diodes connected with the opamp outputs.

We know that the timer IC 4060 is forced to reset in the presence of a positive trigger at its pin#12, and the IC stays disabled (output open) as long as a high is sustained at this pinout of the IC.

Therefore for so long the output from the opamps is held positive, pin#12 is kept high and subsequently the IC 4060 output pin#3 is held deactivated, which in turn keeps the relay switched OFF along with the mains load disconnected through the N/C contacts.

Now as soon as the mains voltage returns to its normal level, the high logic at pin#12 of IC 4060 is removed, so that the IC is allowed to commence its counting process.

The IC now begins counting as per the values set by C3/P3. Supposing the mains remains stable during the whole counting process, the IC counting finally elapses enabling a logic high at its pin#3, which triggers the relay and the load into action.

However suppose while the counting was in progress, the mains kept fluctuating, the IC would be forced to reset repeatedly and this would keep the output completely switched OFF making sure that the load was never allowed to face the unpredictable and fluctuating mains condition.

How to Set Up the Circuit.

Initially keep the power supply disconnected with the circuit.

Apply mains input to the power supply transformer and measure the DC output across the filter capacitor, and also measure the existing input mains level at the input of the transformer.

Let's say the mains voltage is found to be around 230V, which results in the production of a DC output of around 14V.

Using the above data now it may be possible to calculate the corresponding upper and lower cut off  thresholds, which may be used for setting up the respective presets .

Suppose we want 260V to be the upper cut off level, and 190V as the lower cut off, the corresponding DC levels could be calculated with the help of the following cross multiplication:

230/260 = 14/x

230/190 = 14/y

where x represents the corresponding upper cut-off DC level and y the lower cut-off DC level.

Once these values are calculated, using a variable DC power supply, feed the upper DC level to the circuit and adjust the upper preset such that the upper opamp LED just lights up.

Next, in a similar fashion apply the lower DC level and adjust the lower preset until the lower opamp LED just lights up.

That's it! The adjustments for the upper high, and lower under voltage cut-off setting up procedures are complete, and the system can be now be plugged-in with the mains for the actual test.

Parts List

  • R1, R2, R3, R4, R7 = 4K7
  • R6 = 4K7
  • R5 = 1M
  • P3 = 100K POT
  • C2 = 0.33uF
  • C3 = 1uF
  • C1 = 1000uF/25V
  • P1,P2 = 10K PRESET
  • Z1, Z2, Z3 = 4.7V/ 1/2 WATT
  • D1---D4, D8 = 1N4007
  • D5----D7 = 1N4148
  • IC1 = LM358
  • IC2 = IC 4060
  • T1 = BC547
  • RELAY = 12V/250 OHMS, 10 AMPS
  • L1----L4 = LEDS 20mA, 5mm
  • transformer = 0-12V/1 AMP or 500 mA

UPDATE

For a transistorized version of the above high/low mains protection with delay timer, you can try the following design:

You'll also like:

  • barcodescanner 2How to Make a Barcode Security Lock Circuit
  • motorcycle anti theft alarm circuit diagram using tilt switch and TTP223Simple Motorcycle Security Alarm Circuit
  • PIR alarm blockPIR Burglar Alarm Circuit
  • basic shock detector using 801SShock Vibration Detector Circuit using 801S Sensor

Filed Under: Security and Alarm Tagged With: Delay, High, Mains, Monitor, Protection, Voltage

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « High Current Wireless Battery Charger Circuit
Next Post: Buzzer with Incrementing Beep Rate »

Reader Interactions

Comments

Carlos says:
July 4, 2025 at 1:56 am

Hello, good afternoon, Mr. Swagatam. I am really interested in building this circuit… The problem is that here in Italy, iron transformers are not easy to find… Everything is switched… The question is, can it be done without a transformer, with a capacitive source? Thank you very much.

Reply
Swagatam says:
July 4, 2025 at 9:04 am

Thanks you Carlos, yes that’s possible, you can find the diagram in the following article:
https://www.homemade-circuits.com/highly-accurate-mains-high-and-low/

Reply
Jas says:
January 28, 2024 at 10:10 am

Sir
Relay still contact if we applied 18 v as I set upper cutoff at 14.2 v

Reply
Swagatam says:
January 28, 2024 at 12:18 pm

Did you remove the red LEDs? and now how much voltage are you getting at the cathodes of the D5, D6 diodes? Is the green LED always ON?

Reply
Jas says:
January 28, 2024 at 2:55 pm

Yes I removed red leds if I in 23 v I get 20v at diode junction green is on and relay contacts if I give 14.2 v I get 12.6v at diode junction and relay still contact

Reply
Swagatam says:
January 28, 2024 at 3:18 pm

Please compare the diode junction voltage with the base/emitter voltage of the BC557 transistor. If the base/emitter voltage is higher than diode junction voltage then the bc557 will always ON. You can try increasing the 1k at the diode junction to 22k or higher until the green LED shuts off…or you can try adding a 1k across the base emitter of the bc557.

Reply
Jas says:
January 28, 2024 at 3:43 pm

I’ll check and reply

Reply
Jas says:
January 28, 2024 at 3:42 pm

Ok what I have done is that pls correct me if I’m done anything wrong while adjusting low high presets
My low is 8.6v and high is 14.2
I set preset low and high with both voltage untill red led glow or I get voltage from op amp outputs

Reply
Swagatam says:
January 28, 2024 at 4:12 pm

Yes, you have to get a high from one of the opamp outputs, either at high voltage or at low voltage, both opamp outputs cannot be high together.

Reply
Jas says:
January 28, 2024 at 6:05 pm

No sir
I’m unable to make this don’t know what I am doing wrong relay contacts at high voltage Or tell me how to configure high and low opamp presets as while I giving 14v at high out put diode I get 12 v at some point of preset and 0 at last setting how to configure it properly I know I’m making mistake here somewhere

Reply
Swagatam says:
January 28, 2024 at 10:21 pm

You can do the following just for testing purpose but it is not the final setting.
Let’s say you have 12v relay, and the low voltage limit is 11v and high voltage limit is 14v.
Now take a variable DC power supply and feed 11v to the circuit and adjust the upper opamp preset up/down until its output becomes just high.
After this increase the voltage to 14v, this should instantly cause the upper opamp output to become low….now adjust the lower opamp preset up/down until the lower opamp output just becomes high…now reduce the DC input to 12v, now both opamp output should become low….subsequently now increasing the DC to 14v must cause the lower opamp output to go high, and reducing the DC to 11v must cause the upper opamp output to go high….at 12v both opamp outputs must stay at 0v

Reply
Jas says:
January 30, 2024 at 1:55 pm

Sir during 12v input 0v output from cathode junction but using bc547 single transistor without delay model relay not contact and 12v shows on relay coil

Reply
Swagatam says:
January 30, 2024 at 2:41 pm

Hi Jas, sorry I couldn’t understand what you are saying
Do you mean you have removed the bc557 stage and connected the bc547 relay stage directly with the opamp output, and the relay is ON even while the opamp output is zero?

Jas says:
January 30, 2024 at 2:55 pm

Yes sir i connect bc 547 with relay but relay not working

Swagatam says:
January 30, 2024 at 3:33 pm

Relay will operate when the opamp supplies a voltage to the base of bc547.

Jas says:
January 30, 2024 at 4:02 pm

How
Ok i input 8.5v and adjust upper opamp preset till it giving just give me output volts around 6.5 v and input 14.5v lower opamp preset adjust when I get output around 12v , now by adjusting both presets I get same voltages not higher or I get 0v, I set both preset when I get voltages above 0v but at between voltage like 9v to 13v no output from opamp kindly help

Swagatam says:
January 30, 2024 at 4:28 pm

Jas,
I cannot understand your English.

If your your opamp output is high at 8.5v and 14.5v and 0v between these two limits then your circuit is working correctly.

Jas says:
January 30, 2024 at 5:43 pm

Sorry for english
Ok ill tell what I’m done
I got 9 0 9 trans
And using 9 and 0 after bridge and cap I got around 12v ok
On ic lm358 pin no. (2) I connect 1k resistor and other end of resistor to +ve supply and same pin( 2) I connect 5v zener cathode and zener anode to ground
Pin no. (3) I connect 10k vr middle pin and other two pins connected +ve and -ve supply, pin no. (1) is output
On pin no. (5) I cionect 10k vr middle pin and other two pins to +ve and – ve supply
On pin no. (6) I connect 1k resistor and other end of resistor to +ve supply and same pin (6) I connect 5v zener cathode and zener anode connect to ground
Pin no. (7) is output
I’m using 12v relay coil one side connected to +ve supply and other end to bc 547 emmiter, bc 547 collector connected to ground, base connected to cathode junction

Swagatam says:
January 30, 2024 at 6:58 pm

I think you made a mistake. The two opamps are oppositely configured. One opamp has preset on its (+) input and the other opamp has the preset on its (-) input….same for the zener diodes.
Please check the updated diagram below:
https://www.homemade-circuits.com/wp-content/uploads/2024/01/220V-high-low-voltage-cut-off-with-delay.jpg

Jas says:
January 30, 2024 at 7:41 pm

I’ll check and reply

Swagatam says:
January 30, 2024 at 7:59 pm

Ok…

Jas says:
January 31, 2024 at 9:33 pm

I made it temporary using your previous transistor version with delay circuit and working good, just if I want to cut at 14.2v it cut relay at 14.4v but anyways thanks will post final results

Swagatam says:
February 1, 2024 at 8:34 am

Ok, sounds good, you can improve the accuracy by using better quality presets or by using multiturn presets.

Jas says:
February 2, 2024 at 12:27 pm

Hi by bypassing red leds it works but if using both leds relay connect automatically tried the updated circuit also

Swagatam says:
February 2, 2024 at 2:55 pm

OK, please connect a 1N4148 diode in series with the green LED, and check again.

Jas says:
February 2, 2024 at 3:25 pm

Hi now with diode it’s working good just green led glow continues on high and low

Swagatam says:
February 2, 2024 at 5:41 pm

Try connecting green LED at the emitter line of the BC557, on left side of R5, and check the results,

Jas says:
February 4, 2024 at 9:49 am

No it’s still glow

Swagatam says:
February 4, 2024 at 10:54 am

Bring back the green LED at the base of T1, and now connect two green LEDs in series at the base and check the results.

Jas says:
January 27, 2024 at 9:50 pm

In transistor version relay continuesly working no matter voltage is up or down

Reply
Swagatam says:
January 27, 2024 at 10:04 pm

Please remove the red LEDs and check again.

Reply
Jas says:
January 28, 2024 at 7:08 am

I’ll check and reply

Reply
Carlos says:
January 7, 2024 at 6:29 pm

Hello, good afternoon, my name is Carlos and I am interested in the circuit but I would just like to know if you have a simple circuit that when the 220VAC network fails deactivates the relay, but when the power returns it has a delay of about 2 to 5 minutes to come back on. energize the relay.. Thank you very much in advance

Reply
Swagatam says:
January 7, 2024 at 7:14 pm

Hello Carlos,

you can try the second circuit from the following article:

https://www.homemade-circuits.com/simple-refrigerator-protector-circuit/

Reply
Jas says:
December 25, 2023 at 7:21 pm

Sir
In transistor version zener is 3v Or 6v

Reply
Swagatam says:
December 25, 2023 at 7:29 pm

Hi Jas,
The zener can be any value between 3V and 6V.

Reply
Jas says:
December 20, 2023 at 2:53 pm

How to use 24v relay on transformerless , transistorized version of the circuit

Reply
Swagatam says:
December 20, 2023 at 6:51 pm

You can use a 9-0-9V transformer to get 18V AC output which after rectification and filtration will produce 25V DC for the circuit. This DC can be used for powering the circuit. The relay will also need to be replaced with a 24V relay. The capacitor voltage ratings must be increased to 50V.

Reply
Jas says:
December 20, 2023 at 7:44 pm

Sir what if I want to use 24v relay on transformersless circuit pls advise

Reply
Swagatam says:
December 20, 2023 at 10:28 pm

Hi Jas, I am sorry, I noticed it just now, there’s a serious mistake in the transformerless version shown below…you can see the dc supply to the opamp inputs is stabilized with a 12v zener diode, that means the opamp will not able to detect the ac voltage fluctuations, and therefore cannot detect and respond to the input ac fluctuations….that is why a transformer based circuit is recommended, as explained in rhe above article.
https://www.homemade-circuits.com/wp-content/uploads/2021/05/solid-state-over-under-volatge-cut-off-compressed.jpg

Reply
Jas says:
December 21, 2023 at 12:30 pm

Can u provide same transistorized version circuit for 24v relay on 24v or 12v transformer

Reply
Swagatam says:
December 21, 2023 at 1:45 pm

You can use the same circuit, nothing will change except the transformer and the relay. The transformer must be rated at 0-18v, 1 amp, and relay can be a 24v relay. The capacitor voltages must be rated at 50v or higher.

Reply
Jas says:
December 22, 2023 at 7:21 am

Sir
Will 24v relay coil works on 18v from transformer or it will need to boost

Reply
Swagatam says:
December 22, 2023 at 8:38 am

Jas, after full bridge rectification and filtration the 18V DC will become 25V DC which will be enough for the relay.

Reply
Dr.Sison says:
July 5, 2023 at 8:49 am

Greetings
Dear Swagatham,
The transistor version while working when it turn off and turn on the delay fail to work.delay is not discharge immediately to next on.please do a solution.
Regards,
Sison

Reply
Swagatam says:
July 5, 2023 at 9:17 am

Hi Dr. Sison,
the transistor version will produce the delay only during power switch ON. The delay has to happen, because the 1000uF base capacitor will charge slowly which will not allow the transistor relay to switch ON immediately, rather wait until the capacitor is fully charged. You can adjust the 100K preset to full resistance value meaning adjust it to full 100K resistance and check again.

Reply
Victor says:
June 6, 2023 at 5:42 pm

Nice design, please where can I add surge protector circuit. ( In the output or input section) Thanks

Reply
Swagatam says:
June 6, 2023 at 6:27 pm

Thank you, however a surge protector may not be required since we already have a delay ON timer which effectively prevents the initial switch ON surge.

Reply
Sambath kumar says:
March 6, 2023 at 8:54 pm

Sir what is the power on delay time of the transistoried version.

Reply
Swagatam says:
March 7, 2023 at 9:27 am

Sambath, it will depend on the value of the 100K preset adjustment. You will have to test the results practically with trial and error.

Reply
View Older Comments

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (93)
  • Audio and Amplifier Projects (133)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (85)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets (27)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (95)
  • Lamps and Lights (159)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Renewable Energy (12)
  • Security and Alarm (64)
  • Sensors and Detectors (106)
  • SMPS and Converters (34)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (42)
  • Water Controller (36)
  • Wireless Circuits (30)





Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap



People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin



Recent Comments

  • Swagatam on Arduino 2-Step Programmable Timer Circuit
  • Swagatam on Simple Buck-Boost Converter Circuits Explained
  • Swagatam on IC IR2111 H-Bridge MOSFET, IGBT Driver IC: Full Datasheet, Circuit Diagram
  • Swagatam on Electronic Circuit Projects, Tutorials, and Practical Engineering Solutions
  • Kadir on Simple 3 Phase Inverter Circuit

© 2026 · Swagatam Innovations