System overall plan
1. Overall design diagram
As shown in Figure 1, the inverter system consists of a boost circuit, an inverter circuit, a control circuit, and a feedback circuit. The low-voltage DC power supply DC12V is boosted, rectified, and filtered by the boost circuit to obtain a high-voltage DC power of about DC170V, and then converted by the full-bridge inverter circuit DC/AC and filtered by the LC filter to obtain a sinusoidal AC power of AC110V.
The inverter uses the ARM controller as the control core. The feedback signals of the output voltage and current are processed by the feedback circuit and enter the on-chip AD of the ARM processor. After AD conversion and digital PI operation, the corresponding SPWM pulse signal is generated. Changing the SPWM modulation ratio can change the output voltage, thereby completing the closed-loop control of the entire inverter.
2. SPWM solution selection
2.1、PWM power chip solution
Ordinary PWM power supply control chips are used, such as SG3525, TL494, KA7500, etc. The advantage of such chips is that they can directly generate pulse width modulation signals, but their disadvantage is that the waveform linearity is not good, and the oscillation generator relies on the charge and discharge circuit to generate the waveform. When the PWM chip generates SPWM signals, many additional circuits need to be added.
2.2 CPU software solution
The SPWM pulse is generated by CPU, such as single-chip microcomputer, ARM or DSP. The advantage of this method is that the pulse width can be adjusted by software. It not only has high accuracy, but also the peripheral circuit is simple and cheap.
To sum up, STM32F107 (ARM) is selected to complete the generation of SPWM pulses and the control of the entire inverter.
3. System hardware circuit design
3.1 CPU Controller
The CPU is the core of the entire inverter, and is mainly responsible for the collection of feedback signals, digital PI closed-loop calculation, PWM wave output, parameter setting and external communication. The CPU uses the latest STM32F107 series ARM chip launched by ST. This series of chips uses ARM's 32-bit Cortex M3 as the core, with a maximum main frequency of 72MHz. The Cortex core has a single-cycle hardware multiplication and division unit, so it is suitable for high-speed data processing. The chip has three independent conversion cycles, a high-speed analog-to-digital converter with a minimum of 1μs, and three independent digital-to-analog converters with their own independent sampling and holding circuits, so it is particularly suitable for three-phase motor control, digital power supply and network applications. The chip also has a wealth of communication units, including 1 Ethernet interface, 5 asynchronous serial interfaces, 1 USB slave device, 1 CAN device, I2C and SPI modules.
3.2 Drive and Inverter Circuit
The inverter main circuit adopts a single-phase full-bridge inverter circuit based on H bridge as shown in Figure 2. The single-phase full-bridge inverter circuit is mainly composed of four MOSFETs Q1, Q2, Q3, and Q4. If a load is added between AC and OUT, an inverter circuit is formed. The desired sine waveform can be obtained by controlling Q1, Q2, Q3, and Q4 to turn on and off in a certain order.
For this design, the selection of the switch tube is mainly based on its rated voltage and rated current. Here, the IRFP460N channel enhancement MOS tube with a rated voltage of 500V and a rated current of 20A is selected as the switch tube. It can meet the design requirements. In order to limit the driving current of the MOSFET gate, a current limiting resistor needs to be connected in series with the gate to prevent device damage caused by overcurrent.
3.3 Filter Circuit
The voltage waveform generated on the load resistor by the drive of two SPWM signals is a square wave that changes according to the sine law. It is a bipolar SPWM waveform. What is actually needed is a sine wave with a frequency of 50Hz, so the SPWM wave needs to be filtered. The general PWM inverter uses an LC low-pass filter. For the design of the LC filter, the cutoff frequency of the filter is first considered. The cutoff frequency of the LC filter is shown in formula (1).
Taking into account the harmonic distortion of the filter output voltage, the dynamic response of the system, as well as factors such as volume and weight, the cutoff frequency is selected.
3.4 Push-Pull Boost Circuit
The push-pull boost circuit is composed of two MOSFET tubes with the same parameters and a boost transformer. The push-pull transformer is characterized by high efficiency and low loss, and is suitable for low input and high output. The push-pull boost circuit is shown in Figure 3. It adopts a structure in which two MOS tubes are turned on separately. The IPRF250 field effect tube is selected, with a rated current of 30A and a rated voltage of 250V. It can meet the requirements and has a small internal resistance, which is the most reasonable choice.
4. System software design
The main functions of the CPU are to complete the closed-loop PI control algorithm, send SPWM pulses, fault protection, data display and remote communication. The system software is mainly for programming the STM32 chip. The development environment uses KeiluVision4 software from Keil, Germany, and the programming language is C.
The program consists of a main program and several subprograms: communication program, sampling subprogram, PWM interrupt program, display program, etc. After entering the PWM interrupt, the feedback signals of each channel are first collected and processed, as shown in the flow chart in Figure 4, and then the PWM pulse output is generated after the digital PI regulator is operated, and the MOSFET is driven after isolation and amplification by the drive circuit to realize the closed-loop control of the entire inverter power supply system.
The inverter adopts full digital control, and all parameters can be set through the display panel. The digital tube can display the input voltage, input current, output current, output voltage, operating status, fault information, etc. of the inverter system in real time. When a fault occurs, the CPU will block all PWM pulses, and then display the fault information such as overvoltage, overcurrent, overload, etc., and the buzzer will sound an alarm.
Experimental Results
Figure 5 (a) shows the two complementary symmetrical SPWM pulse waveforms sent by the CPU, with a dead time of 3us; Figure 5 (b) shows the driving waveform of the upper and lower MOSFETs in one of the bridge arms of the full-bridge inverter circuit; Figure 5 (c) shows the AC sinusoidal voltage waveform output by the inverter; and Figure 5 (d) shows the inverter current output waveform. From the figure, we can see that the inverter output voltage waveform is almost undistorted, and the output current THD is controlled within 5%, achieving a good control effect.
Summarize
This paper proposes a design scheme of an ARM-controlled inverter, which is a fully digitally controlled inverter based on ARM (STM32F107). It has the characteristics of high precision, small size, and full digital. All power parameters are set and stored directly through the human-machine interface, and it has the function of remote communication with the host computer. Experiments show that the inverter designed in this scheme can realize the soft start function. When overcurrent, overvoltage, and overload occur, it can quickly block the PWM pulse and turn off the MOSFET, and display the fault information in time, realizing the intelligence of the inverter.
Previous article:A design scheme for remote DC power supply monitoring system
Next article:Detailed explanation of the switching power supply connected to a fake load
Recommended ReadingLatest update time:2024-11-16 23:53
- MathWorks and NXP Collaborate to Launch Model-Based Design Toolbox for Battery Management Systems
- STMicroelectronics' advanced galvanically isolated gate driver STGAP3S provides flexible protection for IGBTs and SiC MOSFETs
- New diaphragm-free solid-state lithium battery technology is launched: the distance between the positive and negative electrodes is less than 0.000001 meters
- [“Source” Observe the Autumn Series] Application and testing of the next generation of semiconductor gallium oxide device photodetectors
- 采用自主设计封装,绝缘电阻显著提高!ROHM开发出更高电压xEV系统的SiC肖特基势垒二极管
- Will GaN replace SiC? PI's disruptive 1700V InnoMux2 is here to demonstrate
- From Isolation to the Third and a Half Generation: Understanding Naxinwei's Gate Driver IC in One Article
- The appeal of 48 V technology: importance, benefits and key factors in system-level applications
- Important breakthrough in recycling of used lithium-ion batteries
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- [Balcony watering system] Material unpacking - ESP32-S2-KALUGA-1, k210
- How to ensure that DA has no output when downloading the program
- [NXP Rapid IoT Review] Standby current of Rapid IoT Studio online IDE generated projects
- Getting Started with PKE PEPS Chip ATA5702 /ATA5700 Development
- The biosensor generates a signal with a peak value of -50uA/5us. What circuit can be used to obtain a signal of about 2V?
- Multisim simulation problem
- Wireless transmission - the power supply method of the future world
- This is the first time that the board has been closed after so many years of the epidemic.
- Follow and comment to win SSD and other gifts! Micron 2022 Taipei International Computer Show Keynote Speech Selection: Data Center Special
- Is it troublesome to apply for a patent? What are the disadvantages of entrusting a patent application agency? How does the agency make money?