Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe

Introduction to Uninterruptible Power Supply (UPS) and its design (Part – 1/17)

By Diksha May 3, 2024

The Uninterruptible Power Supply (UPS) is an electronics device which supplies power to a load when main supplies or input power source fails. It not only acts as an emergency power source for the appliances, it serves to resolve common power problems too. Any UPS has a power storage element which stores energy in the form of chemical energy like the energy is stored in batteries.
It is like energy is stored in the form of motion in a flywheel. That is why these devices are also called battery backup or flywheel backup. The UPS not only provides emergency power, they also help to sort out common power related issues like providing protection from input power interruptions, protection from overvoltage, output voltage regulation and stabilization.
Different UPS models have different ability to supply power to the load. The degree of ability totally depends on the how much charge is stored inside the UPS. For example, the UPS designed for computers can supply power only for some small duration of time when the power goes off but that time is sufficient enough to save files on which the user may be working. So, for obvious reasons, the charge storage ability of any UPS is determined during its design considering its application.  
Typical Image of a UPS
Fig. 1: Typical image of a UPS
Difference in UPS and normal emergency power source
The traditional emergency power sources use generators with transfer switch for powering the appliance when main supply fails. It can provide power for hours till the fuel is available in the generator. However, this has a drawback. The appliance on connecting to the generator experiences interruption during failure of the main power source. This interruption happens because the generator has to turn on for resuming power. Depending on the type of switching mechanism, there is an interruption in the power supply to the load.
Contrary to emergency power supplies, the Uninterruptible Power Supply (UPS) delivers continuous power to the appliance without any interruption by using battery or flywheel. But the duration of time for which UPS supplies power to the appliance is limited depending on the size and number of battery or flywheel used.
The use of UPS is quite popular in applications where the appliances can not afford any kind of interruption. Like in health care units, medical equipment, IT offices, telecommunication, data centers, banks and at many more places where an uninterrupted power supply is needed.
In this series, a UPS will be designed which will have a battery as storing element and can supply power to the appliance in case of power failure. The design of a UPS can be broken down into different sections having a distinct role in the functioning of the UPS (as shown in the image below).
Image showing Building Blocks of a UPS circuit
Fig. 2: Image showing Building Blocks of a UPS circuit
The UPS designed in this series will have four circuit section as follow –

1. Charger –

First of all, a charger will be designed for charging the energy storage element which is the battery in this case. As there are two types of batteries popularly used – Li-ion batteries and the Lead-Acid batteries, there will be two different charger circuits designed one for each. These battery chargers will be designed as follows –

i) Lead acid battery charger

In this battery charger circuit, a constant voltage lead-acid battery charger will be designed i.e. the charger will provide a constant voltage equal to the maximum voltage rating of the battery with the limited charging current. So in this charger, the battery will never exceed the preset charging current.
Below is the charging algorithm of the battery which shows the current and voltage of the battery.
Graph showing Constant Voltage Charging for Lead Acid Batteries
Fig. 3: Graph showing Constant Voltage Charging for Lead Acid Batteries

ii) Li-ion Battery Charger

Unlike the Lead-Acid batteries, the Li-ion batteries require charging through a constant current-constant voltage method. Designing a Li-ion battery charger will need an intelligent circuitry which will sense the current as well as the voltage of the battery. Initially, the charging circuit will be in a constant current mode and will provide a constant current to the battery. When the battery voltage will reach the pre-set voltage or maximum rated voltage then the charger will switch to constant voltage mode. The current in this mode will slowly start dropping down by maintaining a constant voltage.
Below graph shows the charging algorithm of the Li-ion battery which gives a clear understanding of different charging stages.
Graph showing Constant Voltage and Constant Current Charging for Li-ion Batteries
Fig. 4: Graph showing Constant Voltage and Constant Current Charging for Li-ion Batteries
It is well known that the home appliances operates on AC voltage. But the battery used as charge storage element provides the DC power. So to convert this DC signal into AC signal, an inverter needs to be used. 
The inverter is an electronics device which can convert the DC into AC. For designing UPS, there can be two types of inverters which are categorized on the basis of the shape of the AC waveform –

i) Square wave inverter – 

This inverter gives a square wave at the output after converting the DC signal. The square wave inverter is cheap to design but it can be used only for low sensitive devices otherwise, they will produce humming or noise.
Graph showing Output Waveform of Square Wave Inverter
Fig. 5: Graph showing Output Waveform of Square Wave Inverter
ii) Modified sine wave inverter
In this type of inverter, two square waves having a phase difference of 90 degree are generated and superimposed to get a nearly sine waveform. The resultant waveform is not exactly sinusoidal but it is a three-level waveform include zero voltage level, peak positive voltage and peak negative voltage. The modified sine wave takes a pause (set at zero volts) before changing the polarity (as shown in figure below).
Graph showing Output Waveform of Modified Sine Wave Inverter
Fig. 6: Graph showing Output Waveform of Modified Sine Wave Inverter
3) Switching control
Apart from charger and inverter, UPS needs a switching mechanism by which it can switch the power source of the appliances from main power to the inverter as the power fails. There can be two types of switching control for the UPS which are as follow –
i) Offline switching/standby UPS
In this type of UPS system, the load is directly connected to the mains AC supply. Whenever the AC mains voltage drops down or there is a power shut down then through a switching mechanism the load as well the battery switches to the inverter. This inverter then provides AC to the load and when power resumes, the load again switches back to the mains supply. This switching mechanism can be understood graphically from the figure below –
Block Diagram of an Offline UPS
Fig. 7: Block Diagram of an Offline UPS
ii) Online switching/Double-conversion UPS
In this design, the load is always connected to the inverter. The inverter gets DC supply from the battery which is continuously charging via a battery charger. So when mains power fails the charge accumulated in the battery delivers continuous power to the appliance without any interruption.
Block Diagram of Online UPS
Fig. 8: Block Diagram of Online UPS

4) BMS (Battery Management System)

In any UPS, a Battery Management System (BMS) is necessary which can monitor the battery’s state of charge and discharge, charging current and its voltage. It also protects the battery from overcharging and over discharging. So to safeguard and to increase the lifespan of the battery, the BMS should be used in UPS designs. Therefore a BMS will be designed to continuously monitor the battery status.
After this brief introduction of each building block of UPS, its time to design an electronic circuit for each block. Jump start to next tutorial, ‘Designing Lead Acid Battery Charger’ to get hands dirty with the very first UPS circuit section.

You may also like:


  • Basics of Li-ion Battery Charging (Part- 3/17)

  • Designing an Offline UPS – Part (12 /17)

  • Designing square wave inverter for UPS (Part – 6/17)

  • Single Phase Offline UPS using PIC Microcontroller

  • What is the difference between a UPS and an inverter?

  • Introduction to Uninterruptible Power Supply (UPS) and its design (Part…

Filed Under: Power, Tutorials
Tagged With: uninterruptible power supply, ups
 

Next Article

← Previous Article
Next Article →

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE Learning Center

EE Learning Center
“engineers
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


RSS EDABOARD.com Discussions

  • Reducing "shoot-through" in offline Full Bridge SMPS?
  • High Side current sensing
  • How to simulate power electronics converter in PSpice?
  • Voltage mode pushpull is a nonsense SMPS?
  • Layout IRN reduction in Comparator

RSS Electro-Tech-Online.com Discussions

  • Back to the old BASIC days
  • Parts required for a personal project
  • PIC KIT 3 not able to program dsPIC
  • Failure of polypropylene motor-run capacitors
  • Siemens large industrial PLC parts

Featured – RPi Python Programming (27 Part)

  • RPi Python Programming 21: The SIM900A AT commands
  • RPi Python Programming 22: Calls & SMS using a SIM900A GSM-GPRS modem
  • RPi Python Programming 23: Interfacing a NEO-6MV2 GPS module with Raspberry Pi
  • RPi Python Programming 24: I2C explained
  • RPi Python Programming 25 – Synchronous serial communication in Raspberry Pi using I2C protocol
  • RPi Python Programming 26 – Interfacing ADXL345 accelerometer sensor with Raspberry Pi

Recent Articles

  • What is AWS IoT Core and when should you use it?
  • AC-DC power supply extends voltage range to 800 V DC
  • Infineon’s inductive sensor integrates coil system driver, signal conditioning circuits and DSP
  • Arm Cortex-M23 MCU delivers 87.5 µA/MHz active mode
  • STMicroelectronics releases automotive amplifiers with in-play open-load detection

EE ENGINEERING TRAINING DAYS

engineering

Submit a Guest Post

submit a guest post
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • Battery Power Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • Subscribe to our newsletter
  • About Us
  • Contact Us
  • Advertise

Copyright © 2025 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy

Search Engineers Garage

  • Electronic Projects & Tutorials
    • Electronic Projects
      • Arduino Projects
      • AVR
      • Raspberry pi
      • ESP8266
      • BeagleBone
      • 8051 Microcontroller
      • ARM
      • PIC Microcontroller
      • STM32
    • Tutorials
      • Audio Electronics
      • Battery Management
      • Brainwave
      • Electric Vehicles
      • EMI/EMC/RFI
      • Hardware Filters
      • IoT tutorials
      • Power Tutorials
      • Python
      • Sensors
      • USB
      • VHDL
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Product News
    • Business News
    • Company/Start-up News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • DigiKey Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • Learn
    • eBooks/Tech Tips
    • Design Guides
    • Learning Center
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Digital Issues
    • EE Training Days
    • LEAP Awards
    • Podcasts
    • Webinars / Digital Events
    • White Papers
    • Engineering Diversity & Inclusion
    • DesignFast
  • Guest Post Guidelines
  • Advertise
  • Subscribe