UPS (Uninterruptible Power Supply) Reference Design
32,492
The UPS (Uninterruptible Power Supply) Reference Design offers a pre-designed uninterruptible power supply solution utilizing the flexibility of the PIC17C43 microcontroller. This microcontroller is noted for its low-cost and high-performance capabilities, which are not typically found in other microcontrollers. The PIC17C43 microcontroller is responsible for managing all control functions within the UPS system. The PWM (Pulse Width Modulation) from the PIC17C43 controls an inverter, producing a sinusoidal AC output waveform after filtering. Fault signaling can be triggered either internally or externally, depending on the nature of the fault, and any detected fault will disable the inverter completely. The PIC17C43 monitors output voltage and current in real-time to make necessary adjustments for DC offset and load variations. It utilizes zero-crossing detection to synchronize the input voltage and phase with the output voltage and phase. All synchronization of internal modules is managed by the PIC17C43. The UPS operates by supplying power based on available input power or battery sources. When input power is available, it is filtered to eliminate common-mode noise and protected from surges through dedicated input protection circuitry. The power then passes through a Power Factor Correction (PFC) module, which ensures that the input current remains sinusoidal for efficient power utilization. This PFC module also rectifies the incoming AC power to generate voltage-regulated DC power for subsequent functional modules. While this reference design serves as a guideline, it is expected that users will customize various components. The PIC16/17 family of microcontrollers provides a broad range of options for UPS designs, from the PIC16C72 to the PIC17C756, with the PIC17C43 being central to this design. The Harvard architecture of the PIC17C43 delivers the necessary throughput for high-quality sine wave generation. Its single-cycle multiplication capability enables faster program execution and responsive waveform adjustments, with only 8 bits of the 10-bit PWM being required to achieve a high-quality output waveform. The embedded software within the PIC17C43 governs the AC sine wave generation, necessitating a rapid loop response to minimize output distortion. Consequently, the microcontroller's throughput is a vital consideration. The UPS functions as an online device, typically featuring a Power Factor Correction circuit that supplies the Chopper, which subsequently feeds the Inverter. In the event of input power loss, the Power Factor Correction circuit is disengaged from the power flow, and the Battery Boost circuit automatically activates to supply power to the Chopper. In this Battery Boost circuit, transistor pairs are connected in parallel to accommodate high current levels. A current transformer is configured to sense the current of each pair using a single transformer to avoid saturation. The control for the 120V/240V relay (power switch) has not been implemented. Monitoring for 120 or 240V will occur wherever input power monitoring is conducted, and the relay will switch accordingly. These monitoring functions are positioned prior to the PFC circuit.
The UPS reference design incorporates several critical components and subsystems that work in tandem to deliver reliable and efficient power management. The PIC17C43 microcontroller serves as the control hub, executing firmware that governs the operation of the inverter and the overall UPS functionality. The PWM signal generated by the microcontroller is essential for controlling the inverter, which is responsible for converting DC power to AC power with a sine wave output. The filtering stage following the inverter ensures that the output waveform meets the necessary quality standards for sensitive electronic devices.
The Power Factor Correction module plays a pivotal role in optimizing energy consumption by ensuring that the input current remains in phase with the input voltage. This minimizes reactive power and enhances the overall efficiency of the UPS system. The rectification process transforms the incoming AC power into regulated DC power, which is crucial for the operation of various components within the UPS.
The design's fault detection and signaling capabilities are vital for maintaining the integrity of the UPS operation. By continuously monitoring output parameters, the microcontroller can quickly respond to any anomalies, thereby protecting the system and connected loads. The use of zero-crossing detection facilitates seamless transitions in output phase, further enhancing the quality of the AC power supplied.
In summary, this UPS reference design exemplifies a sophisticated integration of microcontroller technology with power electronics, offering a robust solution for uninterruptible power supply applications. The flexibility inherent in the design allows for customization, making it suitable for a wide range of applications and user requirements.UPS (Uninterruptible Power Supply) Reference Design provides a ready-made uninterruptible power supply solution with the flexibility of a microcontroller - PIC17C43 that offers a low cost solution and high performance not found in other microcontrollers. The PIC17C43 ( datasheet ) microcontroller manages all the control of the UPS system. The PIC1 7C43 PWM controls an inverter whose output, when filtered, results in a sinusoidal AC output waveform. Fault signaling can be initiated internal or external to the PIC17C43 depending on the type of fault.
A fault will disable the entire inverter. The output voltage and current will be monitored by the PIC17C43 to make adjustments real-time to correct for DC offset and load changes. The PIC17C43 uses zero crossing for synchronization of input voltage/phase to output voltage/phase. All internal module synchronization is handled by the PIC17C43. The Uninterruptible Power Supply (UPS) is supplying power based on the input power, if the unit is plugged in, or based on the batteries.
The input power is filtered (when available) for common mode noise and is protected from surges/spikes by input power protection circuitry. Then the power goes into the power factor correction (PFC) module which forces the input current to be sinusoidal so that power utilization is more efficient.
The PFC module also rectifies the input AC power to produce voltage-regulated DC power which is used by the rest of the functional modules. This reference design is for guidance only, and it is anticipated that customers will modify parts of it.
The PIC16/17 family of microcontrollers offers a wide variety of options for a UPS design from the PIC16C72 to the PIC17C756. The PIC17C43 is the heart of this reference design (see the picture below). The high performance of the Harvard architecture gives the user the throughput needed for high quality sine wave generation.
The single-cycle multiply means faster program execution and response to waveform changes. Only 8 bits of the 10-bit PWM is needed to resolve a high quality output waveform. The PIC17C43 embedded software controls the operation of the AC sine wave generation. It is imperative that the loop response be fast enough to minimize distortion on the output wave. Therefore, the throughput of the microcontroller is a critical parameter. The UPS is an on-line device which normally will have the Power Factor Correction circuit feeding the Chopper, which then feeds the Inverter. If the input power should be lost, the Power Factor Correction circuit falls out of the power flow and the Battery Boost circuit automatically provides power to the Chopper.
In the Battery Boost circuit, the transistor pairs are connected in parallel for the purpose of handling high currents. The current transformer T2 is connected as shown to sense each pair`s current with just one transformer, i.
e. , to prevent it from saturating. The control for the 120V/240V relay (power switch) was not implemented. Wherever input power monitoring would take place, monitoring for 120 or 240V would also occur and switch the relay. These functions would be placed before the PFC circuit. / <7465> * * Filename: MAIN. C <7465> * * * Author: Dave Karipides * Company: APS, Inc. * Date: 3-3-97 * Compiled Using MPLAB-C Rev 1. 21 * <7465> * * * Include Files: * <7465> * * * The main routine calls all the functions for generating * an OPEN_LOOP or FEEDBACK sine wave of either 50 or 60 Hz.
* <7465> * * * Revisions: * 3/3/97 Added FEEDBACK LOOP * * <7465> */ / <7465> * * main() * * The main routine initializes the registers and loops * forever. All control is handled in the TMR0 INT * routine. * * * Input Variables: NONE * * Output Variables: NONE * * <7465> */ //#define OPEN_LOOP #define FEEDBACK //#define 50Hz #define 60Hz #pragma option v #include <17c43.
h> #include #ifdef OPEN_LOOP // This table yields Full VRMS input unsigned char const pwmtab[32] 🔗 External reference
The TDA7262 integrated circuit, manufactured by ST Microelectronics, can be utilized to design a straightforward stereo audio amplifier project. This circuit can deliver a maximum output power of 20 watts per channel. The TDA7262 is a dual Hi-Fi audio...
The power supply, with electronic stabilization - mainly those of laboratories - should be protected from overcurrent that emanates from short-circuits, erroneous association, or damage of repaired appliances. The circuit offers effective protection in power supply with output voltage...
Modern electronics is essential for every large model railroad system, providing solutions to nearly every issue. Although ready-made products are available...
Modern model railroad systems rely heavily on advanced electronics to enhance functionality and user experience. These systems often incorporate...
CS51227 is a voltage-type PWM controller that delivers an output of 28V with a maximum current of 5A. The switching frequency is 1.0 MHz, with a starting voltage of 4.7V and a starting current of 75A. The input voltage...
Additional power supply for USB devices. Refer to the page for an explanation of the related circuit diagram.
The additional power supply for USB devices is designed to enhance the power availability for devices that may require more current than...
The circuit topology is similar to the previously mentioned amplifier, utilizing the robust IRFP240 and IRFP9240 MOSFET devices as the output pair, along with high-voltage Motorola transistors in the preceding stages. The supply rail voltage is conservatively set at...
We use cookies to enhance your experience, analyze traffic, and serve personalized ads.
By clicking "Accept", you agree to our use of cookies.
Learn more