Design of Inverter Power Supply Based on ARM7 and DSP

Publisher:码农创想家Latest update time:2013-07-26 Source: 与非网Keywords:ARM7 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
        introduction

  Today, with the development of electrical intelligence everywhere, countless power consumption occasions cannot do without the Inverted Power Supply System (IPS) to provide stable and high-quality power for field equipment, especially in places such as communication rooms, server workstations, transportation hub dispatching centers, hospitals, power, industrial and mining enterprises, etc., which have strict requirements on power supply guarantee. Many IPS products do not conform to or lag behind the modern power supply concept due to their traditional design. The prominent manifestations are the single complexity of the control module, the backwardness of the controller chip and the heavy control tasks, and the analog closed-loop control without the ideal monitoring and feedback adjustment effect, which brings hidden dangers in the software and hardware design of a single control device, which has an adverse effect on the IPS power output, and even leads to catastrophic consequences for power supply failures to power consumption equipment. Digital control technology is becoming more and more mature, and has been applied in some power supply equipment control applications with leading concepts, highlighting that modularization and digital control have become an inevitable trend.

  This paper describes the IPS core control circuit based on the ARM7 Cortex-M3-based single-chip microcomputer STM32F103 and the TI C2000 series DSP chip TMS320F2808, and proposes improvements to the shortcomings of the above products. The designed IPS core control circuit has been proved by test simulation and field test results that this new IPS design improves the IPS structure design, meets the high requirements of IPS operation, and enriches the human-computer interaction interface such as remote monitoring, thereby indirectly saving users' management costs in many aspects.

  1. Introduction to inverter power supply

  In order to meet the requirements of power-sensitive equipment for inverter power supply, the target IPS uses the circuit designed in this paper as the core; the high-speed digital signal microprocessor (DSP TMS320F2808) and peripheral devices are used as signal generation and feedback detection and adjustment modules; the ARM7 single-chip microcomputer ST M32F103 and its peripherals are used as human-computer interaction logic control modules, and the two modules interact and coordinate control. The hardware self-feedback is used to adjust the SPWM waveform output, and the DSP digital algorithm is used to provide high-precision phase-locked technology. The software programming is used for full digital sub-task module control. The DSP module performs the control waveform generation, feedback adjustment, lead-acid battery charging waveform generation and adjustment, self-test and self-detection functions required for IGBT inverter, and performs self-test and fault analysis on all independent circuit connections on the circuit board. The ARM7 module performs tasks such as parameter setting, operation management, environmental parameter monitoring and human-computer interaction processing. The DSP module strives for precision control, and the ARM module has a complete system-level event management function. As shown in Figure 1, the two modules are independent in tasks but closely linked, and they work together to maintain the normal operation of IPS.

 

 

Figure 1 IPS inverter principle block diagram

  2 Composition of dual-core control system

  2.1 DSP control module

  This module is an inverter signal generation and feedback detection and adjustment module. The core is a C2000 series high-performance DSP processor TMS320F2808 (hereinafter referred to as F2808). The SPWM signal generated by F2808 is subjected to logic delay and phase shifting by CPLD to form a three-phase inverter IGBT control signal. F2808 is a high-speed DSP chip of Texas Instruments (TI) with a maximum operating speed of 100 MIPS. In order to adapt to the strong interference environment of industrial control, F2808 integrates an enhanced input capture unit (eCAP) and an output comparison PWM generation unit (ePWM) with dead zone control function, and a 12-bit 16-channel fast ADC unit; the kernel supports the IQ conversion function library for fixed-point DSP to realize floating-point operations; there are also rich and common peripheral interfaces such as SCI, SPI, eCAN, etc. As shown in Figure 2, the main task of F2808 in the design is to monitor the switch state and action of the IPS power part, adjust the output of 3-way SPWM waveform according to the feedback of inverter and load state, and control the battery charging pulse. The 3-way SPWM signal output by DSP is directly sent to CPLD, and after the CPLD's equally spaced pulse delay phase shift, it is used as the control waveform of the inverter to generate U, V, W three-phase electricity.

 

 

Figure 2 DSP control module block diagram


  2.2 Human-computer interaction global control module


  The human-machine interaction control module is the most complex digital management module in this IPS design. It not only monitors and manages the operation of the inverter system, but also ensures the communication between the IPS controller and the outside world. The design requires that the human-machine interaction module can handle complex task scheduling and strong burst access (interrupt) processing, which requires a high operating speed; the module must also have a rich expansion interface to provide instant communication between the IPS and the outside world; and have superior bus control and access mechanisms. Taking the above requirements into consideration, the design selected the latest 32-bit microcontroller STM32F103ZET6 (hereinafter referred to as STM32) launched by STMicroelectronics (ST). STM32 is a high-speed, high-performance embedded control chip based on the ARM7 CortexM3 core architecture, with a core operating frequency of 72 MHz and an instruction pipeline processing speed of 1.25 DMIPS/MHz; advanced bus structure and up to 16 levels of preemptive interrupt mechanism (NIVC) with DMA function [10]. As shown in Figure 3, in the design, ST M32 communicates with DSP 2808 through the SCI interface and an interrupt request/receive line; two of the on-chip extended SCI ports are used as RS 232 and RS 485 communication protocol ports respectively; the CAN bus interface and USB bus communicate with the outside world through shared data buffers and interrupt vector entries; the external 256 KB SRAM and 4 MB NOR FLASH are expanded through the 26-bit address bus and 16 data bus of STM32, as well as the LCM module RA8806 with 8-bit data port and the Ethernet chip W5100 with 16-bit parallel data for SNMP; the SDIO bus of ST M32 is enabled to enable the user to insert the SD card to store and query the IPS status data function; the independent clock watchdog circuit and the window watchdog unique to STM32 are enabled in the field environment; the internal chip temperature sensor sampling monitoring, RC clock source and external wake-up function are enabled; the DS18B20 is connected through the general pin The temperature sensor samples the ambient temperature and reserves I2C E2PROM and SPI DA TA FLASH interfaces to prepare for subsequent product upgrades and development.

 

 

 

Figure 3 STM32 module composition block diagram

 

The communication interface circuit design is shown in Figure 4 and Figure 5.

 

 

Figure 4 IPS and external communication interface circuit diagram

 

 

Figure 5 STM32 communication interface definition

  3. Software Architecture of Control System

  The program language in the control module is ANSI standard C language. The program structure, variable naming and comments all follow the international general standards. They are easy to understand and easy to transplant or expand, as shown in Figures 6 and 7.


DSP program flow chart" src="//8.eewimg.cn/news/uploadfile/dygl//201307/20130726101314548.jpg" width=343 height=414>


Figure 6 DSP program flow chart
 

 

  The code is reasonably written with clear logic, complete functions, compact structure and outstanding robustness, strong maintainability, and meets the requirements for industrial control software writing.

  The development and testing documentation compiled during the project is detailed and accurate, and also brings convenience to subsequent research.

  4 Prototype Verification

  After testing and verification, the target board was successfully applied to a 6KVA industrial frequency double conversion pure online single-phase small power inverter. The load test waveforms of each load are shown in Figure 8. No-load output voltage waveform 1/4 load output voltage waveform Full-load output voltage waveform The measurement results show that the output waveform distortion of the power supply under different load conditions at 220 V AC input is less than 3%, the nonlinear load distortion is less than 5%, and the inverter efficiency is greater than 96%.

 

 

Figure 8 Load test waveform output

  5 Conclusion

  The digitalization of core control is an inevitable trend in the development of industrial control. The IPS based on STM32 and TMS320F2808 control designed in this paper has fast processing speed, high control accuracy, reasonable modular structure, and can well meet the requirements of modern IPS design. In addition, it adds human-computer interaction communication interfaces such as SNMP, USB and SDIO to facilitate local and remote management and maintenance of IPS. The test results prove the feasibility and effectiveness of this design.

Keywords:ARM7 Reference address:Design of Inverter Power Supply Based on ARM7 and DSP

Previous article:Composition and working principle of phase-locked loop
Next article:How to tune TI's impedance tracking battery fuel gauge for lithium iron phosphate (LiFePO4) batteries in shallow discharge applications

Recommended ReadingLatest update time:2024-11-16 20:40

Design and implementation of a fully digital single-phase inverter based on DSP
  This paper introduces the design and implementation of a fully digital single-phase inverter based on DSP TMS320LF2407A and using SPWM control technology. Finally, the experimental waveform is given.   Common AC/DC/AC inverters perform frequency conversion and voltage conversion on the output part.
[Embedded]
Design and implementation of a fully digital single-phase inverter based on DSP
ARM7 keyboard and VFD display interface technology
Introduction The instrumentation industry and industrial production processes have higher requirements for real-time performance, processing speed, and intelligence. ARM microprocessors have the characteristics of low power consumption, high instruction throughput, real-time interrupt response, and high cost-eff
[Microcontroller]
Interpreting DSP chips from a different perspective
  If you are asked to name the chips you know, you may not be able to remember them at once, nor can you list all the DSP chips. Perhaps you know them clearly because you have a deep understanding of DSP chips, but you have forgotten them for various reasons; or perhaps it is because everyone says that DSP chips are g
[Embedded]
Design of voltage reactive power controller based on DSP chip TMS320F240
The voltage reactive power controller is usually composed of a single-chip microcomputer system, which integrates data acquisition, data processing, control judgment and control output. This makes the single-chip microcomputer burden heavy, and is limited by the processing power of the single-chip microcomputer it
[Industrial Control]
Design of voltage reactive power controller based on DSP chip TMS320F240
Research and implementation of dynamic password terminal based on ARM7 smart card
1 Introduction At present, there are three main ways to implement dynamic passwords: event-based, time-based, and challenge code-based . Existing dynamic password terminals mainly include scratch cards, tokens, smart cards combined with card readers, and SIM cards. A scratch card is a plastic or paper card. In
[Microcontroller]
Research and implementation of dynamic password terminal based on ARM7 smart card
My ARM7 program
This time, I was forced to write the code. My senior asked me to help him with the course design. I didn't have much time to do it, but I still completed the requirements of the question. I was happy for a while, and I also learned a truth: people's potential is often forced out. #include stm32f10x.h #include "stdi
[Microcontroller]
Data communication method between ARM and DSP in embedded machine vision system
DSP has powerful computing and processing capabilities for digital signals and numerical algorithms, so it is widely used in signal acquisition and processing, but it does not have an advantage in task management, real-time control, human-computer interaction, etc. ARM microcontrollers have powerful control function
[Embedded]
Data communication method between ARM and DSP in embedded machine vision system
Latest Power Management Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号