PIC based UPS Schematic / Firmware / PCB Layout
Microchip’s Digital Pure Sine Wave Uninterruptible Power Supply (UPS) Reference Design is based on the dsPIC33F “GS” series of digital-power Digital Signal Controllers (DSCs). This reference design demonstrates how digital-power techniques when applied to UPS applications enable easy modifications through software, the use of smaller magnetics, intelligent battery charging, higher efficiency, compact designs, reduction in audible and electrical noise via a purer sine-wave output, USB communication and low-cost overall bill-of-materials. This reference design is Royalty Free. This project contains complete documentation and software & hardware design information.
UPS Input / Output Specifications:
Input Range AC:
Output Voltage AC:
- High-frequency design
- Adjustable Charging current
- Efficiency of 84%
- Pure sine wave output with THD <3%
- Mains to Battery Transfer time < 10 ms
- Supports Crest Factor of 3:1
- Minimum Power Factor(Leading/Lagging) of 0.65
- Fault indications
- USB Communication with PC
- LCD front panel
The Digital Pure Sine Wave UPS System operates in two modes:
Standby Mode – Operational in the presence of AC line voltage; battery is charged in this mode.
UPS Mode – Operational during power outage; the system switches to a function called inverter to provide power to load. Charge stored in the battery is converted to AC output.
The Digital Pure Sine Wave UPS System has three power conversion stages:
The push-pull converter steps up the battery voltage to 390 VDC. After enabling the MOSFET driver, the PWM outputs from dsPIC® DSC control the output voltage. Input and output DC voltage, primary current and heat sink temperature act as feedback signals.
A full-bridge inverter topology is used to convert the high-voltage DC to pure sine AC output. Sine-triangle PWM in unipolar configuration is used to switch inverter IGBT modules. Full-bridge with unipolar switching helps to optimize components rating, and reduces output filter size. Input DC voltage, output AC voltage, output filter current and incoming line AC voltage are used as feedback signals to implement efficient full-bridge control loop. Fast and intelligent switch-over from “Mains” to “Inverter” and vice versa is implemented with intelligent switchover algorithm, which also helps to control in-rush current during switchovers.
FLYBACK SWITCH MODE CHARGER
Flyback converter is used for battery charging to prevent charging losses over other methods. In the presence of AC mains voltage, the Inverter mode is disabled, and the UPS switches to the battery charging mode. The dsPIC®DSC device provides the reference current level with a variable duty cycle PWM signal. Battery voltage and battery charging current are used as feedback signals to implement an intelligent charging profile, which extends the battery life.
Block Diagram of UPS – Shows Functionality & Basic Flow
UPS Schematic 1 out of 8
for Firmware, detailed schematic & other details visit: Pic Based Pure Sinewave UPS
JLCPCB – Prototype 10 PCBs for $2 + 2 days Lead Time
China’s Largest PCB Prototype Enterprise, 300,000+ Customers & 10,000+ Online Orders Per Day
Inside a huge PCB factory: https://www.youtube.com/watch?v=_XCznQFV-Mw
Current Project / Post can also be found using:
- pure sine wave inverter circuit using microcontroller ic
- inverter circuit diagram using pic16f72
- pic sine wave inverter source code
- dspic30f2010 sine wave inverter source code