• 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 / Inverter Circuits / How to Convert an Inverter to an UPS

How to Convert an Inverter to an UPS

Last Updated on December 10, 2024 by Swagatam 150 Comments

An inverter is an equipment which will convert a battery voltage or any DC (normally a high current) into a higher mains equivalent voltage (120V, or 220V), however unlike an UPS inverters may lack one feature, that is these may not be able to switch from mains battery charging mode to inverter mode and vice versa during grid power failure and restoration situations.

Table of Contents
  • Converting an Inverter to UPS
  • Selecting the Relays
  • Main Components and Their Functions:
  • Filter Capacitor (100uF/100V)
  • Relay Coils
  • Formulas and Calculations:
  • Capacitor Selection (Ripple Voltage)
  • Relay Coil Voltage
  • Relay Switching Time
  • Current Limiting by a Capacitor in AC Circuits
  • Step-by-Step Calculation
  • Calculate Xc (Capacitive Reactance):
  • Design Considerations:

Converting an Inverter to UPS

An inverter can be easily converted to an UPS with a few simple modifications or rather additions with their existing circuitry.

The lacking or missing changeover feature in an inverter can be upgraded by including a few number of relay stages within its circuit, as explained in the following sections:

Referring to the figure below, we see that the above requirement is implemented by using 4 SPDT relays whose coils are wired up in parallel and joined with a mains operated DC source, which could very well be the battery charger DC output.

It means during the presence of mains input the relays would be energized such that their N/O contacts get connected with the individual relay poles and the respective electrical gadgets which could be seen connected with the poles..

The left two relays can be seen with their N/O contacts connected with the mains AC input, while the N/Cs are terminated with the inverter mains output.

The relays at the right side have their N/O contacts rigged with battery charger (+)/(-) inputs, and the N/Cs are integrated to the inverter DC input.

The above data ensures the following actions during mains presence and failure situations:

When mains AC is present, the appliances get connected to the available mains power via the left pair of relay poles, while the battery is able to get the required charging voltage through the right hand relay poles. This also ensures that the inverter is cut-off via the N/C points from the battery and is no longer able to operate.

In a situation when mains AC fails, the relay contacts revert to their N/C contacts, giving rise to the following actions:

The battery instantly gets connected with the inverter DC input via the right hand side relay N/C contacts, such that the inverter becomes operative and its output starts producing the required mains back up voltage.

At the same instant the above inverter mains voltage now gets switched to the appliances via the left hand side relay N/C contacts ensuring that the appliances do not experience an interruption while the positions revert in the course of the above actions.

Selecting the Relays

The relays must selected with low coil resistance type so that they operate under higher switching currents, and therefore are able to "hammer" the contacts much harder and quicker compared to the lower resistance coil relays.

This will ensure the changeover time to be rapid within milliseconds which happens to be the most crucial factor with UPSs and inverters needing to be converted into UPS systems.

 

invertertoupsconversion

In the above diagram if an automatic battery charger is used, the supply would be cut off once the battery is fully charged, which would also cut off the supply to the relays forcing the inverter to switch ON even while the mains is present.

To avoid this issue, the relays must be powered through a separate power supply as shown in the following diagram. A capacitive type of power supply circuit could be seen here, which makes the design much compact.

invertertoUPS

Note: Please connect a 1K resistor across the filter capacitor associated with the bridge rectifier, this is to ensure its quick discharging during a mains failure, and an instant switching of the relevant relays.

Main Components and Their Functions:

Bridge Rectifier (1N4007 x 4)

So we have this bridge rectifier that consists of four 1N4007 diodes and its main job is to take the alternating current (AC) from the mains and convert it into direct current (DC). This conversion is really important because we need that DC power to make the relays work properly.

Filter Capacitor (100uF/100V)

Next up we are looking at the filter capacitor 100uF rated for 100 volts. These capacitors are essential because they help smooth out the rectified DC voltage making it much more stable and reliable for our circuit.

Relay Coils

Now let us talk about the relay coils. These coils function like switches that allow us to toggle between using mains power and inverter power. They play a crucial role in controlling how our entire system operates.

Formulas and Calculations:

DC Voltage Across the Relay Coil

We can figure out the DC voltage across the relay coil using this formula:

Vdc = (Vrms * √2) - Vf

In this equation the Vrms represents the input mains AC voltage (for example we might say it is 220 volts) and Vf is the total forward voltage drop across the bridge diodes. For our 1N4007 diodes we can calculate that as

Vf = 2 * 0.7V = 1.4V.

If we do a quick calculation for a 220V mains input, it would look like this:

Vdc = (220 * √2) - 1.4

Vdc = 310.6 - 1.4

Vdc = 309.2V

Capacitor Selection (Ripple Voltage)

When it comes to selecting capacitors we need to think about ripple voltage which we can calculate using this formula:

ΔV = Iload / (f * C)

In this formula Iload is the load current drawn by the relay, f is the rectified AC frequency (which would be around 100 Hz if we are using a full-wave rectifier with a 50 Hz mains supply) and C represents the capacitance measured in Farads.

For example if we are working with a 100uF capacitor and our relay coil is drawing about 50mA of current then we can plug those values into our formula like this:

ΔV = 0.05 / (100 * 0.0001)

ΔV = 5V

Relay Coil Voltage

It is really important for us to ensure that the voltage rating of the relay coil matches up with the rectified DC voltage we calculated earlier. So if our rectified voltage is sitting at 309.2V then we need to make sure to use a relay that can handle that specific voltage.

Relay Switching Time

When we want to find out how quickly our relay can switch then we can use this formula:

ts = L / R

Here L stands for the inductance of the relay coil and R represents the coil resistance.

For instance if we have L = 50mH and R = 500 ohms then we can calculate it like this:

ts = 0.05 / 500

ts = 0.1ms

Current Limiting by a Capacitor in AC Circuits

The current limited by the 2uF/400V capacitor is given by the formula:

I = Vrms / Xc

Where:

  • I = Current through the capacitor (in amperes)
  • Vrms = Mains AC RMS voltage (e.g., 220V)
  • Xc = Capacitive reactance of the capacitor (in ohms)

The capacitive reactance is calculated as:

Xc = 1 / (2 * π * f * C)

Where:

f = Frequency of the mains AC (e.g., 50 Hz)

C = Capacitance (in farads)

Step-by-Step Calculation

Calculate Xc (Capacitive Reactance):

Given:

C = 2uF = 2 × 10-6 F

f = 50 Hz

Formula: Xc = 1 / (2 * π * f * C)

Substitution: Xc = 1 / (2 * 3.1416 * 50 * 2 × 10-6)

Xc = 1 / (0.00062832)

Xc ≈ 1591 ohms

Calculate Current (I):

Given:

Vrms = 220V

Xc ≈ 1591 ohms

Formula: I = Vrms / Xc

Substitution: I = 220 / 1591 I ≈ 0.138 amperes (or 138mA)

Design Considerations:

As we design our circuit we need to make sure that the diodes are capable of handling both peak inverse voltage (which will be equal to Vpiv = Vdc) and also the current (which will be Ipeak = Iload).

We should also select a relay that has a sufficient contact rating so it can safely manage whatever load we connect to it.

Lastly do not forget about that 1M resistor, its job is to discharge the filter capacitors when we disconnect power to prevent any accidental shocks.

 

You'll also like:

  • 1.  Synchronized 4kva Stackable Inverter
  • 2.  How to Calculate Modified Sine Waveform
  • 3.  How an Inverter Functions, How to Repair Inverters – General Tips
  • 4.  Solving Inverter “No Load Auto-Shutdown” Problem
  • 5.  Sine Wave Inverter using Bubba Oscillator Circuit
  • 6.  Dual A/C Relay Changeover Circuit

About Swagatam

I am an electronics engineer with over 15 years of hands-on experience. I am passionate about inventing, designing electronic circuits and PCBs, and helping hobbyists bring their projects to life. That is why I founded homemade-circuits.com, a website where I share innovative circuit ideas and tutorials. Have a circuit related question? Leave a comment.... I guarantee a reply!

Previous Post: « Simple High voltage Generator Circuit – Arc Generator
Next Post: Flashing LED Battery Low Indicator Circuit »

Reader Interactions

Comments

  1. tommy says

    March 22, 2025 at 3:02 pm

    Gentile Inegnere Swagatam
    Buongiorno, ringraziando per la gentile risposta, sono un ragazzo di 16 anni con poche risorse economiche, volevo chiederle se c’e’ una soluzione elettronica anziche’ meccanica al mio problema senza fare uso di rele’ ad alta tensione che potrebbero creare seri problemi di assemblagio,grazie

    Reply
    • Swagatam says

      March 22, 2025 at 6:36 pm

      No problem tommy, I appreciate your interest in electronics at this young age.
      I will try to design a triac based solid state design for you soon….

      Reply
  2. Rashid abdallah says

    February 23, 2025 at 6:08 pm

    Please let me know the resistors in watts like the 1m resistor

    Reply
    • Swagatam says

      February 23, 2025 at 6:18 pm

      All resistors associated with this circuit can be 1/4 watt 5% CFR

      Reply
  3. Jedidiah says

    January 25, 2025 at 7:49 pm

    Hello Sir. I’ve tried the transformerless tip above but my relay keeps flickering as one powered by an AC source. What should I do?

    Reply
    • Swagatam says

      January 26, 2025 at 8:10 am

      Hi Jedidiah, Please increase the value of the 100uF filter capacitor to 220uF or maybe 470uF and check the response.

      Reply
      • Jedidiah says

        January 27, 2025 at 5:46 am

        Thank you Sir. It worked!

        Reply
        • Swagatam says

          January 27, 2025 at 8:16 am

          Thanks Jedidiah, glad it worked.

          Reply
  4. Rashid abdallah says

    December 12, 2024 at 4:30 pm

    please me I suggest let’s use 225j 400v 2.2uf, can’t we reduce voltage? because the 4 relay are all above 700 ohms

    Reply
    • Swagatam says

      December 12, 2024 at 6:57 pm

      Voltage is not the concern, it is the current which will be higher than the load requirement. But You can use 2.2uF for the 4 relays without much issues, although the relays coils might slightly become warm due to excess current.
      The 4 relays will require 70 ma current while the 2.2uF will supply around 120mA, so the excess 50mA will be dissipated as heat.

      Reply
  5. Rashid abdallah says

    December 11, 2024 at 4:58 pm

    as I had told you earlier on that I have the non polar capacitor 2.2uf 400v
    and then the rest I have very many pieces of 104j 400v

    Reply
    • Swagatam says

      December 11, 2024 at 5:40 pm

      You will need 15 nos of 104/400V capacitors to make an equivalent of a 1.5uF/400V capacitor.

      Reply
  6. Rashid abdallah says

    December 11, 2024 at 2:41 pm

    so the 105/400v and 474/400v should replace the 1uf capacitor because I thought you said the 25v should be in the filter in the middle of the bridge rectifier diodes

    Reply
    • Swagatam says

      December 11, 2024 at 4:58 pm

      Yes that’s right, meaning the 2uF/400V input capacitor shown in the diagram must be replaced with a 105/400V and 474/400V capacitors connected in parallel. Together they will become 1.5uF/400V capacitor and provide sufficient current for your 4 relay coils.

      Reply
  7. Rashid abdallah says

    December 11, 2024 at 9:35 am

    there are 4 relay not 3 because we have relay number is charging the battery please re confirm the partlist I may need to use

    Reply
    • Swagatam says

      December 11, 2024 at 11:39 am

      Yes, I missed that there are 4 relays. In that case you can use a 105/400V capacitor and a 474/400V capacitor, both in parallel.

      Reply
  8. Rashid abdallah says

    December 10, 2024 at 10:27 pm

    I have got the non polar capacitor 2.2uf 400v but I would like you to calculate because the second capacitor is 35v 100uf but the relay I’m having is written dc12v
    3A 30v
    3A 220v ac
    so can’t the second capacitor of 35v be emitting much current than the 30v written in the relay?

    Reply
    • Swagatam says

      December 11, 2024 at 8:00 am

      Since your each relay is 729 ohms, that means each relay coil will consume around 16 mA current, and for 3 relays in parallel it will be around 50mA.
      In that case the input capacitor can be a 1uF/400V.
      Since the 1uF/400V will restrict the current to the relay to 60mA, so the input 300V DC from the 1uF/400V will drop to the relay level of 12V.
      Because the voltage will drop to 12V, so 35V for the filter capacitor is OK….in fact you can also try a 25V capacitor instead of 35V.

      Reply
  9. Rashid abdallah says

    December 10, 2024 at 4:50 pm

    I’m going to use electrolytic capacitor it is polarized 2.2uf 400v and 100uf 35v electrolytic capacitor, please confirm in case there should be some changes to be done

    Reply
    • Swagatam says

      December 10, 2024 at 6:37 pm

      The 2.2uf 400v input capacitor must be strictly non-polar PPC, electrolytic will heat up and burst immediately.

      Reply
  10. Rashid abdallah says

    December 10, 2024 at 2:19 pm

    I tested the two coil terminal using multimeter and I had set it in ohm meter 2k and it shows 729 this is how I tested one black wire from the meter to coil pin in the relay left and red wire from the meter to coil pin right and it shows 729 have I tested the right way?

    Reply
    • Swagatam says

      December 10, 2024 at 6:35 pm

      You must connect the meter probes to the relay terminals which are " rel="ugc">labelled as “Coil”
      If this gives you 729 ohms then it is ok…the input capacitor can be 2uF/400V, but strictly non-polar PPC.

      Reply
  11. Rashid abdallah says

    December 10, 2024 at 1:12 pm

    when I placed the ohm meter I set it at 2k , I placed one wire of the multimeter to right coil and second wire to the left coil it was showing 729 and when I adjusted it to 1m it was showing 01.0

    Reply
    • Swagatam says

      December 10, 2024 at 2:11 pm

      The 2k range is the correct range which is showing 729 ohms. Please Confirm this for all the relays.

      Reply
  12. Rashid abdallah says

    December 10, 2024 at 12:28 pm

    if a multimeter can work how should I test, put the multimeter in continuity then test coil with n/o or n/c or with common too

    Reply
    • Swagatam says

      December 10, 2024 at 2:10 pm

      You can see in my previous 6 pin relay image, there are two terminals named as “Coil”, you must measure the resistance across these terminals.

      Reply
  13. Rashid abdallah says

    December 10, 2024 at 9:43 am

    my rela can not manage because they are 1ohm

    Reply
    • Swagatam says

      December 10, 2024 at 12:06 pm

      You mean 1 ohm coil resistance, that’s impossible, please check it with a proper ohm meter.

      Reply
  14. Rashid abdallah says

    December 9, 2024 at 8:11 pm

    can I use 2.2uf 400v capacitor instead of 2uf 400v capacitor?

    Reply
    • Swagatam says

      December 10, 2024 at 8:02 am

      Yes you can, assuming the resistance of each relay coil is not less than 300 ohms

      Reply
  15. Rashid abdallah says

    December 9, 2024 at 6:39 pm

    and the first capacitor can I use 6.8 uf 400v?

    Reply
    • Swagatam says

      December 10, 2024 at 8:00 am

      It will depend on the coil resistance of the relay. What is the coil resistance value of your relay?

      Reply
  16. Rashid abdallah says

    December 9, 2024 at 5:01 pm

    it’s becoming a little bit hard for me to get 100uf 100v capacitor, is there another option you can create for me?

    Reply
    • Swagatam says

      December 9, 2024 at 5:33 pm

      You can try 100uF/50V or 35V instead.

      Reply
  17. Rashid abdallah says

    December 9, 2024 at 9:37 am

    is it okay to join the input AC mains of the bridge rectifier and the red arrow going to AC socket

    Reply
    • Swagatam says

      December 9, 2024 at 11:31 am

      Yes, it is ok to join the “Mains Input” points with the red arrow terminals “To Mains 220V Socket”

      Reply
  18. Rashid abdallah says

    December 8, 2024 at 10:51 pm

    please help me with this circuit connection diagram using the 6pin 12v relays

    Reply
    • Swagatam says

      December 9, 2024 at 8:40 am

      here’s the image which shows the pinouts of a 6 pin relay, you can use this information for connecting the relay:
      " rel="ugc">comment image

      Reply
  19. Rashid abdallah says

    November 13, 2024 at 7:15 pm

    there are relays I’ve ordered from jumia but it’s 6pin and it’s written
    HY4100-F DC 12v
    3A 220v AC
    3A 30v DC
    can this relay work for the above project?

    Reply
    • Swagatam says

      November 14, 2024 at 6:59 am

      It can be also used. You can see the pinout details in the following post:
      https://forum.arduino.cc/t/6-pin-relay-which-pin-is-which/555478

      Reply
  20. Rashid abdallah says

    November 13, 2024 at 5:44 pm

    you have seen where the bridge rectifier is that an input for ac from ac socket mains, what about the red arrow pointing up isn’t it also for ac mains

    Reply
    • Swagatam says

      November 14, 2024 at 7:50 am

      The red arrow wires also go to the same mains input AC connected with the bridge rectifier.

      Reply
  21. Rashid abdallah says

    November 13, 2024 at 2:43 pm

    meaning the 1k resistor should be in the middle of bridge rectifier the way the 100v capacitor is?
    and mains input is two times

    Reply
    • Swagatam says

      November 13, 2024 at 5:29 pm

      Yes, the 1k must be parallel to that filer capacitor.
      Sorry, I could not understand what you meant by “mains input must be two times?”

      Reply
  22. Okon Okon says

    October 15, 2024 at 2:43 am

    Pls how is battery charging accomplished in mains tied inverter using bridge MOSFET configuration,? Thanks

    Reply
  23. Aj Campher says

    August 5, 2023 at 8:32 pm

    Hello and thank you for this great info!
    I have a 3000w (240vac from 24vdc) Inverter pv panels charge controller & 2,x200Ah batteries.
    Sometimes at night i need a charger for the batteries. I had a good one victron ,but too powerful and not smart type, then the generator put it on fire!!
    This one is old Inverter dc in ac out.
    I want to make it self contained with ac in to a smart charger for 24 batteries only. A simple thing…how can I do this with components i already have, 12v chargers, 0.5 – 2.5A…2 x broken 24v chargers, not smart.

    Then I have….6kVA transformet 240 vac down to 120… bug heavy strong solid thing….
    What can i make with it that will be useful?
    Inverter?

    Thank you for any help!

    Reply
    • Swagatam says

      August 6, 2023 at 9:07 am

      Hi, thanks, and glad you liked the post.

      From your explanation I understand that you want to make a charger for your 2 x 200 Ah batteries. However your existing 12V 2.5 amp charger cannot be modified for charging your 200 Ah batteries. Your 200 Ah batteries will required a minimum of 20 amp current to be charged.
      Your 6kva transformer can be perhaps used to build a 120 V to 240 AC inverter.

      Reply
      • Aj Campher says

        August 8, 2023 at 12:39 am

        Hi 120vdc is….not eaily achieved!?

        As for 24vdc charger, i need trickle only not 1/10 Ah

        Reply
        • Swagatam says

          August 8, 2023 at 9:37 am

          OK, but still for your 24V batteries you will need 28V for charging them fully.

          Reply
  24. Rashid abdallah says

    June 30, 2023 at 2:12 pm

    And can I use a solar (charge controller) to connect in the part of + and – part that u have said to battery charge controller

    Reply
    • Swagatam says

      July 1, 2023 at 9:31 am

      Yes you can do that!

      Reply
  25. Rashid abdallah says

    June 30, 2023 at 2:09 pm

    Where do you mean 1k resistor should be

    Reply
    • Swagatam says

      July 1, 2023 at 9:31 am

      It should be connected parallel to the filter capacitor between the bridge rectifier.

      Reply
  26. Markkleinc says

    March 31, 2022 at 6:57 am

    Hi Sir, I have make a diagram on inverter which is the power supply form battery. But now I don’t know how to make or connect the above diagram to the diagram that i had done. which is you had mention on this page. Like more detail wiring or diagram that connect to battery. in my diagram, there are, mosfet, diode, resistor, preset, ic4047 (which power by battery). I’m very new to this and like to learn on it.

    Reply
  27. JULIUS says

    November 28, 2021 at 3:25 am

    Hi swag good job you doing Sir i have a problem with inverter circuit with ic tl494 and irf3205 i completed to build and carried out tests it gives fluctuating frequencies from 40hz to 60hz sometimes to 100hz. frequency doesn’t stablise and one side of the transistor heats up when frequency hikes the dmm meter cannot read the ac volt instead it blinks you may advise me on the problem how to go about the circuit thank you

    Reply
    • Swagatam says

      November 28, 2021 at 12:35 pm

      Thank you Julius, did you feed the DC supply to the TL494 through a stabilizer circuit?

      You can refer to the following example and replicate the RLC filter/stabilizer circuit that’s been used here to feed the TL494 IC supply pins

      " rel="ugc">comment image

      Reply
  28. Rajesh Kumar says

    May 12, 2021 at 2:40 pm

    Hi,

    I have a Microtek 3.5kva jumbo Inverter which has 5 computers & 4 fans attached to it,
    Problem is only at the time of power failure the desktops trip . Is it possible to attached the above circuit to make it work online so that the systems do not trip.

    Also will it be possible for you to make such for me.

    Regards.

    Rajesh Kumar

    Reply
    • Swagatam says

      May 12, 2021 at 2:51 pm

      Hi, yes it is definitely possible to convert your inverter into UPS, however, the relay may take some fraction of second to activate and deactivate, so I am not sure if the computer would be able to hold during those millisecond gap.

      Reply
  29. Steve Spence says

    December 6, 2020 at 7:15 pm

    why a transfer switch? make an online ups so that the loads always run from inverter. this always conditions the incoming power.

    Reply
    • Swagatam says

      December 6, 2020 at 7:40 pm

      transfer switch is much easier than converting to online type. If you have a quick, and cheap way of doing it, you can provide the idea here, will appreciate it.

      Reply
      • Steve Spence says

        December 7, 2020 at 10:49 am

        incoming ac power, step down transformer, full wave bridge rectifier, voltage controlled relay to prevent overcharging, battery (with surge capacitors), inverter.

        Reply
        • Swagatam says

          December 7, 2020 at 2:57 pm

          That is correct, but putting a few relays looks much easier and cheaper for the conversion.

          Reply
  30. Ighodaro says

    October 17, 2020 at 9:15 pm

    Hello Swagatam.

    Please can I connect a 40Ah LiFePo4 battery to use with a Bluegate 1200VA UPS??

    Reply
    • Swagatam says

      October 18, 2020 at 8:36 am

      Hi Ighodaro,

      yes you can but the output will be restricted only to 200 watts max.

      Reply
  31. Essien says

    March 29, 2020 at 2:27 am

    I really enjoy your circuits it very easy to understand. I have been stock to design this types of circuit but i hv problem but now am free thanks i will start it over again from where i stopped.

    Reply
  32. hakeem ajede says

    December 21, 2019 at 12:27 am

    Hello Sir. I have an inverter setup of 3kva with sg3524 based oscillator.

    My transformer has a tap for charging.

    Do you have a setup for automatic charging and changeover using the mosfets stage and not requiring an extra charger?

    Reply
    • Swagatam says

      December 21, 2019 at 11:57 am

      Hakeem, that may require many relays and a complex set up, so better to use a small separate charger with the above relay connections, or you can use a single transformer set up as explained in the following concept

      https://www.homemade-circuits.com/500-watt-inverter-circuit-with-battery-charger/

      Reply
      • Hakeem says

        December 22, 2019 at 4:24 pm

        Do you have a 24v charger circuit that can charge up to 200 amp 24v battery or 2 12v 200a batteries?

        Reply
        • Swagatam says

          December 23, 2019 at 4:42 pm

          You can try the following concept for your requirement, it should work

          https://www.homemade-circuits.com/make-this-48v-automatic-battery-charger/

          Reply
  33. youngking says

    August 8, 2019 at 1:22 pm

    I appreciate thanks a lot

    Reply
  34. youngking says

    August 4, 2019 at 10:56 pm

    my battery specification is 12v 75 amps

    Reply
    • Swagatam says

      August 5, 2019 at 9:34 am

      You can use a 30 amp relay for this.

      Reply
  35. youngking says

    August 3, 2019 at 8:38 pm

    sir from 600 watts inverter up how will one select relay to be use .sorry for too much question

    Reply
    • Swagatam says

      August 4, 2019 at 9:41 am

      What is the battery specifications?

      Reply
  36. youngking says

    August 3, 2019 at 8:31 pm

    Good day sir, is about this change over circuit, pls clear this few questions. 1.the relay must be selected with the low coil resistances type so that they operate under higher switching current pls explain what you mean, and how will I select relay by amps and ohm’s that will do the job and intense of higher current does it mean that 220v from NEPA is not higher current that can switch these relay. 2. the two N/C at the down right side that you indicate as ” to inverter battery terminal input”? I want to know if it is the battery (+) (-) terminal from my ic circuit. 3. the upper right hand side that you indicate as “(+)(-) battery charger”? now what about the input of the charger will it be connected to the 220v main socket. 4. I have manual change over and this is how it been operated, NEPA is at the upper side which is the main, my load which is the appliances is in the middle and the generator is at the lower down side, when there is No NEPA I will push my load down to generator before switching the Gene on. so after building this your change over circuit my load will be permanently on NEPA side and your circuit will be doing the changing automatically am I right if not correct me.

    Reply
    • Swagatam says

      August 4, 2019 at 9:39 am

      Youngking, low coil resistance is preferred so that the the contacts are pulled with greater speed and the changeover time is faster. That’s all there’s no other critical thing about it! You can use any relay if a few millisecond delay in the changeover is not important for you.

      The bottom right +/- will go to the inverter supply +/- points, where normally the battery supply is connected.

      This changeover is designed for mains to inverter change over, I am not sure about generator, because generator starter system has a different procedure!

      Reply
  37. Uday Kombe says

    July 25, 2019 at 2:45 pm

    Sir can u provide me rating of o/p transformer & can we get it in market

    Reply
    • Swagatam says

      July 25, 2019 at 4:03 pm

      Uday, you can use any step down transformer rated at 10 amp, and voltage depending on your battery voltage

      Reply
  38. Engr bashir says

    September 13, 2018 at 8:22 pm

    Good evening Sir i am finished with this circuit but the 4UF capacior as you directe me to use is getting very hot the more i connect the circuit on 220v ????

    Reply
    • Swagatam says

      September 14, 2018 at 6:41 am

      Engr bashir, make sure the capacitor voltage is 400V. I think there may be some problem with your capacitor, otherwise a high voltage capacitor will never become. Try Replacing it with a good quality PPC or MKT capacitor and check again

      Reply
  39. Engr bashir says

    August 26, 2018 at 12:08 am

    Good evening sir you said that we should put 1k resistor across the filter capacotor. Do you mean we should put it between the positive side and the negative side of the capacitor???

    Reply
    • Swagatam says

      August 26, 2018 at 9:33 am

      Yes across the capacitor, or you can also put it across the supply rails

      Reply
  40. Engr bashir says

    August 24, 2018 at 4:08 pm

    Good morning Sir, can i make this circuit with 24v relay??

    Reply
    • Swagatam says

      August 24, 2018 at 5:44 pm

      Yes you can use 24V relay also…that will be more efficient than 12V relay

      Reply
  41. Engr bashir says

    August 21, 2018 at 10:49 am

    ok no problem i will do that

    Reply
  42. Engr Bashir says

    August 21, 2018 at 10:25 am

    exactly!! it is 400 ohms

    Reply
    • Swagatam says

      August 21, 2018 at 10:31 am

      then it is OK to use 4uF

      Reply
  43. Engr bashir says

    August 20, 2018 at 8:42 pm

    Sir i will try and find the 4uf because my relay is 12v 10A. that mean i can’t used with 2.2uf

    Reply
    • Swagatam says

      August 21, 2018 at 6:30 am

      Bashir, 10A is for the contact rating, please check the coil resistance…it should be above 300 ohms

      Reply
  44. Engr Bashir says

    August 20, 2018 at 6:14 pm

    Good afternoon Sir, Sir i didn’t get 2uf 400v can i substitute it with 2.2uf 400v?? and 100uf 100v with 100uf 160v???

    Reply
    • Swagatam says

      August 20, 2018 at 7:38 pm

      Hi Bashir, no problems it will work, however make sure the total current of the relays are not above 80mA, otherwise you may have to use a 4uF capacitor.

      Reply
  45. Engr Bashir says

    August 19, 2018 at 12:53 pm

    Good mprning Sir as i told u last time that i wanted to do this circuit. but i want know if it does not delay before changeover take place. what i mean is that can this circuit change the phase very fast without any interrupt

    Reply
    • Swagatam says

      August 19, 2018 at 6:12 pm

      Hi Bashir, the delay will depend on the relay specifications and quality.

      A High quality relay will give minimum response time, however for this the supply source will also need to be from an SMPS based high current power supply.

      Reply
  46. Engr Bashir says

    August 16, 2018 at 7:16 am

    That is very Good and we really appreciate that.

    Reply
  47. Engr Bashir says

    August 15, 2018 at 5:02 am

    I am now seeing the comment box thank you very much Sir

    Reply
    • Swagatam says

      August 15, 2018 at 9:54 am

      yes, may be the problem was with the new theme, I have replaced it with the original one.

      Reply
  48. Engr Bashir says

    August 7, 2018 at 11:38 am

    Good morning Sir this is my second agenda circuit i want to built it and i will let you know if i am finished and if i hv problem also

    Reply
    • Swagatam says

      August 7, 2018 at 12:30 pm

      OK will do, wish you all the best!

      Reply
  49. Engr Bashir says

    July 27, 2018 at 2:19 pm

    woow!! that is Good i really appreciate sir.

    Reply
  50. Engr Bashir says

    July 27, 2018 at 12:20 pm

    ok sir, another confused in the place were u wrote TO MAIN 220V SOCKET, and second place you wrote TO MAIN. my question is that which one will go to the MAIN AC GRID??

    Reply
    • Swagatam says

      July 27, 2018 at 1:25 pm

      Mains socket is Mains Grid…both are one and the same…the transformerless power supply input will also connect with this mains 220V

      Reply
  51. Engr Bashir says

    July 27, 2018 at 11:30 am

    ok sir, that mean i can use 12v 10amp relay for 400 watt inverter ???

    Reply
    • Swagatam says

      July 27, 2018 at 11:58 am

      actually if you divide 400 by 220 it gives 1.8, that means even a 5 amp relay would work…

      Reply
  52. Engr Bashir says

    July 27, 2018 at 10:15 am

    Sir what is the relays specifications??

    Reply
    • Swagatam says

      July 27, 2018 at 11:05 am

      It will depnd on the UPS wattage, for 200 watt and below, you can use ordinary 12V/400 ohm/5 amp relays

      Reply
  53. olupot says

    June 25, 2018 at 11:20 pm

    thanks a lot let me take time to build one and incorporate it to my inverter
    have a blessed day sir

    Reply
    • Swagatam says

      June 26, 2018 at 8:55 am

      you are welcome Olupot

      Reply
  54. Martins says

    December 8, 2017 at 12:44 am

    Passing inverter battery power via a relay could be a very bad thing considering the fact that the inverter could be drawings up to 90amps from the battery and if the really is rated 20-30a it could mess things up

    Reply
    • Swagatam says

      December 8, 2017 at 9:53 am

      In electronics Everything can be bad and dangerous if done non-technically, a 30 amp relay would burn and fuse at 90amp any sensible person will understand this.

      Reply
  55. chucks says

    September 27, 2017 at 11:09 pm

    hi sir. please I need a circuit of automatic fan that will cool my heatsink when it get hot.. the fan will automatically blowing when it cool it will stop blow. ..

    Reply
    • Swagatam says

      September 28, 2017 at 5:37 am

      chucks, you can try this

      https://www.homemade-circuits.com/2015/03/fan-speed-controller-for-heatsink.html

      Reply
  56. Sameer Khan says

    January 3, 2017 at 10:41 am

    Hello Swagatam ,
    I have an 5.5kva microtek Inverter which i use to power my cyber cafe.The issue i am facing is as soon as the electricity trips or even fluctuates , a few of my computers goes off automatically although all the pc's have there own UPS (most of them are new or with new replaced batteries). Kindly help

    Reply
    • Swagatam says

      January 3, 2017 at 2:17 pm

      Hello Sameer, PCs are generally very sensitive to power fluctuations and even the slightest of power lapses can rattle them…in your case it could be happening due to may be slight inefficiency with the relay changeover actions within the UPSs, which could be difficult to correct or avoid. You can try replacing the systems with SSR based UPSs or alternatively you can try replacing the relays with SSRs after doing some research in the field….

      Reply
  57. Aminu Yahaya Ibrahim says

    September 26, 2016 at 10:05 am

    Sir, the normal regulator operate Air Cond fan only at number one, which is the highest among the change. if an attampt is made to reduce the speed, the fan goes off.

    Reply
    • Swagatam says

      September 27, 2016 at 4:05 am

      sorry, can't say without checking the motor practically.

      Reply
  58. Aminu Yahaya Ibrahim says

    September 25, 2016 at 12:44 pm

    Sir I need your assistence.
    I have a Fan removed from dead Air Conditioner I what use it as a room fan but, it fails to work with cieling fan regulator.
    Is there any circuit to achieve this?
    Thank you Sir.

    Reply
    • Swagatam says

      September 26, 2016 at 2:20 am

      Aminu, both the motors are "capacitor-start" type however Air Cond motors are more powerful and include a relay,
      first keep the dimmer at max speed let the motor start and then you can try reducing the speed once the relay has clicked.

      Reply
  59. Yogendra Bhattacharya says

    September 15, 2016 at 3:47 pm

    Hi Swagatam,
    Your blog makes interesting reading, and your knowledge seems to be phenomenal. I would like an 'idiots guide' to convert my inverter into an 'online' ups. I am not very technically savvy, but can manage my way around circuits – somewhat. I have an inverter for my house. It has two batteries of 500W each, I think. There is this delay in the inverter coming on once the mains fail. I was thinking of buying a new online one, but came across your blog. Would it be possible for me to make an add-on unit that I can use with the existing inverter? Or do I have to tinker with the existing circuitry – which I do not want to do. Some advice would be very welcome.

    Thanks,

    Yogi Bhattacharya

    Reply
    • Swagatam says

      September 16, 2016 at 2:36 am

      Thank you Yogendra, you will have to modify the existing inverter system by opening it and by checking the specific stages.

      You will have to check the relay changeover section and remove the capacitor which may be causing the delay in its operation….once you do this you will be able to find the inverter switching much quicker and making an instant changeover from mains to battery and vice versa.

      Reply
    • Yogendra Bhattacharya says

      September 23, 2016 at 3:31 pm

      Thanks a lot, will attempt to do this. Will revert in case I need your assistance.

      Reply
  60. Ultimate Srilankan Nurse says

    July 29, 2016 at 11:48 am

    Hello sir. I would like to make a 12volt DC battery backup system to run 6 Led light each 12v 12wats and one 12v dc fan during power failure.i have 2 sealed lead acid batery each 12v 7Ah. Please guid me how to make this and i need to maintain battery by charging and without over discharge. Sorry for bad english.

    Reply
    • Swagatam says

      July 29, 2016 at 4:16 pm

      hello, you can try the following circuit, this is full fledged emergency lamp circuit with max features:

      https://www.homemade-circuits.com/2015/10/smart-emergency-lamp-circuit-with.html

      Reply
  61. swapan says

    July 11, 2016 at 4:37 am

    sir, if i use dpdt 8 pin relay to change the mode, then one relay can change load from mains to inverter and another one relay(8 pin) can separate battery from charging mode to inverter battery terminal input, when main is out.so, please tell about correction to me.

    Reply
    • Swagatam says

      July 11, 2016 at 1:50 pm

      Hi Swapan, yes you can use two DPDT relays for achieving the same results.

      Reply
  62. swapan byapari says

    June 24, 2016 at 11:34 am

    Hello… Sir, if I connect only one relay (12 volt,200 ohm) on the above change over circuit.then,what is the changes on circuit.

    Reply
    • Swagatam says

      June 24, 2016 at 1:19 pm

      hello swapan, for a single relay the specifications should be 4 pole 4 throw type…that is it must have a 4 sets of N/C an N/O contacts and 4 central poles.

      Reply
  63. eshkariel tapiador says

    April 23, 2016 at 12:01 pm

    can I use DPDT 220v relay??

    Reply
    • Swagatam says

      April 24, 2016 at 5:16 am

      yes you can…

      Reply
  64. Aminu Yahaya Ibrahim says

    April 22, 2016 at 9:47 pm

    Ok, Sir.
    Thank you.

    Sir, can I get one that can safely charge 50Ah to below. like 40Ah, and or 20Ah.

    thank you sir.

    Reply
    • Swagatam says

      April 23, 2016 at 12:39 pm

      Thanks Aminu, I have a 12V, 5amp smps circuit posted in this blog you can try that for your requirement.

      Reply
  65. Aminu Yahaya Ibrahim says

    April 21, 2016 at 9:45 am

    Ok Sir.
    Thank you very much.

    Sir, do you have a circuit on transformaless as above that can charge 200Ah 12v battery?

    thanks a lot Sir.

    Reply
    • Swagatam says

      April 21, 2016 at 12:14 pm

      I am sorry Aminu, I do not have a 20 amp smps at the moment, but if I find one will surely post it here for you.

      Reply
  66. Aminu Yahaya Ibrahim says

    April 20, 2016 at 11:08 pm

    Sir you are great!
    and Iam greatful for the help.

    Sir, can we charge 200Ah battery with transformarless charger circuit?

    thank you once again.

    Reply
    • Swagatam says

      April 21, 2016 at 9:20 am

      It's my pleasure Aminu…

      if the transformerless adapter is rated at 20 amps then yes it is possible.

      Reply
  67. Aminu Yahaya Ibrahim says

    April 19, 2016 at 4:14 pm

    Sir, I did it, and it works very fine.

    Still I want to know what current of relay can handle 200 AH battery?

    Thanks for the help sir.

    Reply
    • Swagatam says

      April 20, 2016 at 4:47 am

      Aminu, you can use a 30amp relay for that

      Reply
  68. Aminu Yahaya Ibrahim says

    April 16, 2016 at 6:01 am

    Sir,
    Both the relay and the transfo are removed from the same UPS.

    Reply
    • Swagatam says

      April 16, 2016 at 7:24 am

      then it's fine, you can use them together

      Reply
  69. Aminu Yahaya Ibrahim says

    April 15, 2016 at 9:23 pm

    Godd Evening Sir.
    Sir, I want use this circuit as changeover and inverter switch.
    I have built the circuit, but I used only three relay as above and the design is as follows:
    *the first two relay are remain as it's on the circuit above.
    *the third relay is used as a swicth between the inverter and the battery.
    The positive ( ) were of the battery is placed in NC and the center were of the transfo is connected to the POLE of the relay.

    Sir, I hope there is no problem with this desing. And I hope the relay can hold the current between the center were of the transfo and the positive terminal of the battery.

    Thank you Sir.

    Reply
    • Swagatam says

      April 16, 2016 at 1:48 am

      Hi Aminu, if you do everything correctly then definitely it will work as explained in the article.

      the relay contact current rating should be much above the current consumption of the transformer, to work handle it safely

      Reply
  70. nalayak says

    October 19, 2015 at 6:10 am

    Thanks Swagatam for clearing my doubt, another method I was thinking to put a diode before connecting UPS with battery, so there is no current to battery from UPS. If it is possible can I use IN007 (small diodes plenty available from old CFL ) may be 10 diode in parallel

    Reply
    • Swagatam says

      October 20, 2015 at 5:07 am

      Yes you can block one of the inputs through a diode, but 1N4007 will not work, even in parallel, because diodes cannot be connected in parallel.,,,you may have to opt for a special 10amp diode…

      Reply
  71. nalayak says

    October 18, 2015 at 2:55 pm

    Hi Swagatam I have 2 PC working on one inverter, distance between inverter and PC is around 4 meter, I have 2 UPS good condition but without batteries, can I connect these UPS to battery of inverter directly, will there be conflict amid charger of inverter and chargers of UPS, if yes how can stop charging from UPS to inverter battery.

    Reply
    • Swagatam says

      October 19, 2015 at 3:52 am

      Technically there shouldn't be any conflict between the two since their polarity would be at the same level. You can prefer to remove the inverter charger as that may be easier to locate than to locate the charger section of the UPS.

      Or you can simply leave them as is, and use the battery as common with the two units.

      Reply
  72. Grant Bresler says

    July 26, 2015 at 9:50 am

    Hi, how does this circuit handle the fact that the AC mains and the mains from the inverter might be out of phase? What would appliances such as TV's do in a case where these phases are not alligned on the switch over?

    Reply
    • Swagatam says

      July 26, 2015 at 1:01 pm

      Hi, this issue is not critical, even if there's a slight delay in the switching it won't harm the appliances in any manner….by the way TV sets work on DC, so anyway the phase angle doesn't make a difference

      Reply
    • samar tauheed says

      September 3, 2015 at 11:49 am

      Hi Swangtam! your design is very great. i requst to please design a circuit of complete ups which operate only three energy saver light of 25watts. when ac present inverter should shutt off and battery get charge and during ac failure 3saver connected with this inverted luminate. i shall be very thankful to you.

      Reply
    • Swagatam says

      September 3, 2015 at 1:49 pm

      Thanks Samar, I already have one design in this blog, you can check it out here:

      https://www.homemade-circuits.com/2012/02/how-to-make-mini-homemade.html

      Reply
  73. Jignesh says

    June 25, 2014 at 9:09 am

    hi swagatam
    your idea is very but i have little confusion that all relays are powered by charger. so there may be time lag for relay to denergise during power failure because charger contains large filtering capacitors.

    Reply
    • Swagatam says

      June 26, 2014 at 4:20 am

      Hi Jignesh, an smps normally carries a low value filter at the output, therefore with 4 relay coils in parallel, may be a 100uF or 220uF capacitor could take hardly any time to get discharged, so I don't think that would create any significant lag for the relays.

      we can use low resistance relays (100 ohms) for further ensuring a quick response from them.

      Reply

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

Subscribe to New Circuit Ideas

Categories

  • Arduino Projects (87)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (83)
  • Datasheets and Components (104)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (87)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (37)
  • Water Controller (36)

Calculators

  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Filter Capacitor Calculator
  • Buck Converter Calculator
  • Boost Converter Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Wire Current Calculator
  • SMPS Transformer Calculator
  • IC SG3525, SG3524 Calculator
  • Inverter LC Filter Calculator

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 |

Recent Comments

  • Swagatam on EGS002 Datasheet, Circuit Diagram Explained
  • Swagatam on How to Make IC LM339 Circuits
  • Swagatam on How to Make Dog Barking Preventer Circuit using High Frequency Deterrence
  • Swagatam on How to Buy and Use RF Remote Control Modules – Control Any Electrical Gadget Remotely
  • Swagatam on How to Generate PWM Using IC 555 (2 Methods Explored)

Company

  • Privacy Policy
  • Cookie Policy
  • About Me
  • Contact
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin
  • © 2025 · Swagatam Innovations