• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

Circuits for Beginners | Basic Circuits | LED Driver | Hobby Circuits | Transistor Circuits

New-Projects | Privacy Policy | About us | Contact | Disclaimer | Copyright | Videos

You are here: Home / Inverter Circuits / Simple Online UPS Circuit

Simple Online UPS Circuit

Last Updated on December 9, 2020 by Swagatam 11 Comments

ask questions through comments

In this post we learn about the making of a simple online uninterruptible power supply (UPS) which guarantees a seamless transfer of AC mains supply to inverter mains supply for the load, due to the absence of cumbersome transfer switches or relays.

What is an Online UPS

As the name suggests, an online UPS system stays continuously online, and never goes offline even for a split second, since the battery supply to the UPS inverter is held continuously connected, regardless of the mains AC situation.

During the period the mains AC input is available, it is first converted to DC and stepped down to the battery level.

This DC charges the battery and also takes precedence over the battery to simultaneously power the inverter due to its higher power rating than the battery. The inverter converts this DC back to the mains AC for powering the connected load.

In an event that AC mains fails, the stepped down AC to DC supply gets cut off, and the battery being continuously connected in line, now begins powering the inverter seamlessly, without any interruption of power to the load.

Online UPS vs Offline UPS

The main difference between an online UPS and an offline UPS is that, unlike offline UPS, the online UPS does not depend of mechanical changeover relays or transfer switches for transiting from AC mains to inverter mains AC during an AC mains failure (as shown below).

online UPS block diagram

On the other hand, Offline UPS systems as shown in the below block diagram, rely on mechanical relays for transferring the UPS to the inverter mode, during the absence of mains AC supply.

offline UPS block diagram

In these systems when mains AC is available the supply is directly supplied to the load via a set of relay contacts, and the battery is held in the charging mode through another set of relay contacts.

As soon as AC mains fails, the relevant relay contacts deactivate and switch the battery from the charging mode to inverter mode, and the load from grid AC to inverter AC.

This implies that the transfer process tends to involve a slight delay, albeit in milliseconds while changing over from the grid mains to the inverter main.

This delay though small could be critical for sensitive electronic equipment such as computers or micro-controller based systems.

Therefore the online UPS system seems to be more efficient than an offline UPS in terms of speed and smoothness, during the changeover process from grid AC to inverter AC for all types of appliances.

Designing a Simple Online UPS/Inverter Circuit

As discussed in th above sections, making a simple online UPS actually looks quite easy.

We will ignore the EMI filter for simplicity sake and also because the inverter in our design will be a low frequency (50 Hz) iron-core transformer based inverter, and the SMPS would already include built in EMI filters for the necessary rectifications.

We will need the following materials for the basic online UPS design:

  • A ready made Mains AC to DC 14 V 5 Amp SMPS module.
  • A battery over charge cut-off system with constant current charger circuitry.
  • A battery over discharge cut-off circuit stage.
  • A battery 12 V / 7Ah
  • Any simple Inverter circuit from this website.

Circuit Diagrams and Stages

The various circuit stages for the proposed online UPS circuit can be learned from the following details:

1) Battery Cut-off Circuits: The circuit below shows the very important battery over-charge cut off circuit, built around a couple of op amp stages.

The left side op amp stage is configured to control the over charging of the battery. The pin#3 of the op amp is connected with the battery positive for sensing its voltage level. When this battery voltage at pin#3 exceeds the corresponding pin#2 zener value, the op amp output pin#6 turns high.

This activates the relay via the BC547 driver transistor causing the relay contacts to shift from the N/C to N/O, which cuts off the charging supply to the battery, preventing over charging of the battery.

The feedback hysteresis resistor across pin#6 and pin#3 of the left op amp causes the relay to latch for certain period of time, until the battery voltage drops to a level below the holding threshold of the hysteresis, which causes the pin#3 to go low, and correspondingly pin#6 also goes low, switching off the relay. The relay contacts now switches back to the N/C, restoring the charging supply to the battery.

Over Discharge Cut OFF Circuit

The right side op amp controls the over discharge limit of the battery or the low battery situation. As long as the pin#3 voltage of this op amp stays above the pin#2 reference level (as set by the pin#3 preset), the op amp output continues to be high.

This high output at pin#6 enables the attached MOSFET to remain in the conduction mode, which allows the inverter to be switched ON through the negative line.

In an even that the battery is over-drained by the inverter load, the op amp pin#3 level drops below the pin#2 reference voltage, causing pin#6 of the IC to go low, which cuts off the MOSFET and the inverter.

Current Control Stage

The BJT associated with the MOSFET forms a current control circuit for the online UPS, which allows the battery to be charged through a constant current level.

R2 must be calculated to set the maximum current control level for the battery and the inverter. It may be implemented using the following formula:

R2 = 0.7 / Max Current

2) Inverter Circuit: The inverter circuit for online UPS system, which needs to be connected with the above battery controller circuit is shown below.

We have selected an IC 555 based circuit for simplicity sake and also for ensuring adequate power output range.

This inverter will remain online as long as the charger circuit and the battery remains functional, and the grid AC mains is fed appropriately to the system via a AC to DC SMPS circuit rated at 14V, 5 amp, or as per the particular power rating of the system, which is fully customizable.

The BJT feedback across the gates of the inverter MOSFETs ensures that the output voltage of the inverter never exceeds above the safe level, and is fed in a controlled manner.

This conclude our simple online UPS circuit design, which ensures a continuous uninterruptible online power to any AC load, which needs to be functional without any interruption regardless of the input AC availability.

get free help for circuit diagrams

You'll also like:

  • 1.  Generator/UPS/Battery Relay Changeover Circuit
  • 2.  SG 3525 Automatic PWM Voltage Regulation Circuit
  • 3.  How to Generate Electricity from Shoe while Walking
  • 4.  2 Easy Automatic Inverter/Mains AC Changeover Circuits
  • 5.  How to Calculate Ferrite Core Transformers
  • 6.  Optimizing Grid, Solar Electricity with Inverter

About Swagatam

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials.
If you have any circuit related query, you may interact through comments, I'll be most happy to help!

Subscribe for the Latest Posts


 

Reader Interactions

Comments

    Have Questions? Please post your comments below for quick replies! Comments should be related to the above artcile Cancel reply

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

  1. Kenfack says

    April 1, 2022 at 9:33 pm

    HAD ANOTHER QUESTION PLEASE
    WHAT ARE THE VOLTAGE RATINGS OF THE CAPACTORS???

    Reply
    • Swagatam says

      April 2, 2022 at 10:14 am

      The voltage should be 2 times the battery voltage, higher than this will also do.

      Reply
  2. Kenfack says

    March 21, 2022 at 6:57 pm

    Hello Swagatam hope you’re doing well.
    Please I wish to implement the circuit, how is the Hysteresis resistance calculated?
    Do you have some precautions/recommendations for me or the circuit just works fine?

    Reply
    • Swagatam says

      March 22, 2022 at 1:42 pm

      Hello Kenfack, the hysteresis resistor is best determined through some trial and error. It is basically to ensure that the relay does not switch ON/OFF quickly at the full charge threshold of the battery. You can initially use a 100K and check how long the relay remains latched and at what discharge point it restores back to charging mode. If you find it too quick, you can decrease the resistor value to 68K and so on.

      However for exact calculations you may refer to the following post:

      Opamp Hysteresis – Calculations and Design Considerations

      Reply
      • Kenfack says

        April 1, 2022 at 9:31 pm

        THANK YOU VERY MUCH

        Reply
        • Kenfack says

          April 3, 2022 at 8:17 pm

          Waouh thank you very much.
          The project is awesome and great, I like it very much.
          Thanks for everything!!!!
          I’ll disturb you again please…
          If you don’t mind I’ll like you to explain the functioning of the inverter circuit and the role of the bridge rectifier..
          Thanks in advance

          Reply
          • Swagatam says

            April 4, 2022 at 9:59 am

            Thank you, The 555 IC generates a 100 Hz output which alternately switches the mosfets, and the connected transformer inverts the alternating 12V Dc to 230 V AC. The bridge rectifier converts the 230V AC to 230V DC which is stepped down by the resistors and the resulting DC is used for sensing an over voltage and cut off.

            Reply
            • Kenfack says

              April 4, 2022 at 4:44 pm

              Thank you very much

              Reply
  3. Tom says

    December 8, 2021 at 2:35 am

    Awesome posts, I just found your site.

    I have 2 questions:

    I’m in the US, and we use 110v at 60 Hz. What changes would be required for that? (Or do you have a similar place for US based diagrams?)

    Is this modified sine wave output?

    Thanks in advance!

    Reply
    • Swagatam says

      December 8, 2021 at 9:51 am

      Thanks, and glad you liked the post!
      You can use exactly the same design as explained above even with a 110V source, since SMPS powers supplies are built to work with voltages as low as 85V AC, upto 285V AC.
      However, the inverter transformer secondary side must be rated to produce 110V, instead of 220V AC.
      The output is a square wave. To get a modified output you, can the second schematic from this article:

      7 Modified Sine Wave Inverter Circuits Explored – 100W to 3kVA

      Reply
  4. Ulises Aguilar says

    December 28, 2020 at 6:10 am

    mary chrismas , hope all in your family are ok

    Reply
    • Swagatam says

      December 28, 2020 at 5:47 pm

      Merry X’mas to you too, thank you

      Reply

Primary Sidebar



Categories

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (52)
  • 4060 IC Circuits (25)
  • 555 IC Circuits (98)
  • 741 IC Circuits (19)
  • Amplifiers (59)
  • Arduino Engineering Projects (83)
  • Audio Projects (94)
  • Battery Chargers (83)
  • Car and Motorcycle (94)
  • Datasheets (46)
  • Decorative Lighting (Diwali, Christmas) (32)
  • DIY LED Projects (89)
  • Electronic Components (97)
  • Electronic Devices and Circuit Theory (35)
  • Electronics Tutorial (110)
  • Fish Aquarium (5)
  • Free Energy (34)
  • Fun Projects (12)
  • GSM Projects (9)
  • Health Related (19)
  • Heater Controllers (28)
  • Home Electrical Circuits (100)
  • How to Articles (20)
  • Incubator Related (6)
  • Industrial Electronics (28)
  • Infrared (IR) (40)
  • Inverter Circuits (98)
  • Laser Projects (12)
  • LM317/LM338 (21)
  • LM3915 IC (25)
  • Meters and Testers (64)
  • Mini Projects (156)
  • Motor Controller (66)
  • MPPT (7)
  • Oscillator Circuits (24)
  • PIR (Passive Infrared) (8)
  • Power Electronics (33)
  • Power Supply Circuits (75)
  • Radio Circuits (9)
  • Remote Control (47)
  • Security and Alarm (61)
  • Sensors and Detectors (118)
  • SG3525 IC (5)
  • Simple Circuits (74)
  • SMPS (29)
  • Solar Controllers (60)
  • Timer and Delay Relay (53)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (40)
  • Ultrasonic Projects (14)
  • Water Level Controller (45)


Circuit Calculators

  • AWG to Millimeter Converter
  • 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
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator


You can also Chat with me here:

Facebook
Twitter
YouTube
Instagram
My Facebook-Page
Quora



© 2022 · Swagatam Innovations

We use cookies on our website to give you the best experience.
Cookie settingsAccept All
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Please visit the Privacy Policy Page for more info.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT