Three-phase five-level inverter PWM pulse generator using DSP and CPLD

Publisher:SerendipityGlowLatest update time:2012-07-16 Source: 21ic Keywords:CPLD Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1 Introduction

In recent years, multilevel converters have become one of the hot topics in power electronics research, mainly targeting medium voltage and high power applications. Currently, there are three basic multilevel converter topologies [1]: ① diode clamp type; ② flying capacitor type; ③ cascade type.

Several topological structures have their own advantages and disadvantages, but relatively speaking, the cascade multilevel inverter has more unique advantages, and its structure is shown in Figure 1. It does not require clamping diodes and capacitors, is easy to package, does not have the problem of capacitor voltage balance, and can be used to realize the WM pulse generator.

Figure 1 Structure diagram of three-phase five-level inverter

2 Carrier Phase Shift SPWM Technology

The so-called phase-shifted PWM technology is to keep the frequencies of the modulation wave and the carrier wave fixed, and the phase of the modulation wave constant, while only adjusting the phase of the carrier wave to generate an SPWM signal. The SPWM signals under different carrier phases are linearly combined to achieve the purpose of eliminating harmonics and increasing output power. It can be proved that when the phase is shifted (α is the phase shift angle of the carrier wave of each unit with the same phase, and N is the number of cascaded units) [2], the output harmonic frequency increases to 2N times, which is easier to filter out. For a three-phase five-level inverter, N=2, so the carrier waves of the two cascaded units with the same phase differ by 90 degrees. As shown in Figure 2, A11 and

Figure 2 Phase A of a three-phase five-level inverter

The carriers of A14 are 180 degrees apart, the carriers of A11 and A21 are 90 degrees apart, and the carriers of A21 and A24 are 180 degrees apart. The output voltage after A1 and A2 are connected in series is:

From formula (1), we can see that UA no longer contains harmonics below 2F±1, but only contains harmonics above 2F±1. When the cascade number is N, all harmonics below NF±1 are filtered out.

3 Principle of PWM pulse generator for three-phase five-level inverter based on CPLD

A DSP can only generate 12 PWM pulses, while a three-phase five-level inverter requires 24 PWM pulses. When using dual DSPs to output 24 pulses, there is a problem of simultaneity, so complex programmable logic devices (CPLDs) are used to achieve this. Currently, complex programmable logic devices (CPLDs) have become an indispensable device in modern digital circuit design. The number of logic gates contained in CPLDs ranges from hundreds to tens of thousands, and they have hundreds of registers and I/O ports that can be arbitrarily configured. In addition, they have a short development cycle and can be flexibly configured to achieve multiple functions without changing the hardware circuit. [page]

Figure 3 is a control block diagram of a PWM pulse generator composed of DSP and CPLD.

Figure 3 Control block diagram of DSP and CPLD
CPLD is connected to the clock CLK of DSP to achieve clock consistency. dt0, dt1, dt2, and dt3 are the four address lines of DSP, which are used to select one of the twelve PWM pulse generators in CPLD. Int is the interrupt signal, which is sent every quarter of the carrier cycle Tc. We is the write signal of DSP. Data can be written into the shadow register only when we and csn (n=1~12) are both low levels. csn is the output after decoding the four address lines, as shown in Figure 4.
Figure 4 PWM generator schematic
Obviously, the eight switches of the same phase only need four carriers, and the switches in the same position of three phases have the same carrier, so they can share a reference counter. The principle of the PWM generator is introduced in Figure 4. The reference counter in Figure 4 is an add-subtract counter, whose total count value is a carrier cycle TC, and the comparison register contains the pulse width value. When the value counted by the reference counter is equal to the comparison register, the comparator output generates a level flip. Whenever the reference counter counts to zero, an enable signal is generated to send the pulse width value in the shadow register to the comparison register. The original PWM wave output by the comparator generates two complementary PWM waves in the upper and lower bridge arms after the dead zone generator.
4 VerilogHDL Design and Simulation
According to the schematic diagram in Figure 4, the VerilogHDL hardware description language is used for design. This paper uses the EPF10K30A series CPLD of Altera Company and simulates it through MAX+PLUSⅡ software. Figure 5 shows the 8-way PWM drive signal of phase A. The waveform shows that the upper and lower signals of the same bridge arm logically meet the complementary relationship and have a certain dead time to achieve "break before make", and the phase between different bridge arms is correct.
Figure 5 A-phase PWM simulation waveform
FIG6 is a five-level waveform of phase voltage simulated by MATLAB/SIMULINK based on the above principle, where the modulation ratio is 0.9 and the carrier ratio is 32.
Figure 6 Phase voltage five-level simulation waveform
5 Conclusion
The PWM driving signal of cascade multi-level inverter is difficult to be completed by a single DSP or single chip microcomputer. The PWM pulse generator composed of DSP and CPLD designed in this paper solves this problem well and has a good application prospect in cascade multi-level inverter.
Keywords:CPLD Reference address:Three-phase five-level inverter PWM pulse generator using DSP and CPLD

Previous article:Design of fiber optic gyro signal acquisition system based on DSP and CPLD
Next article:Design of RMB recognition control system based on STC12C2052

Recommended ReadingLatest update time:2024-11-16 15:35

Design Method of CPLD Vision System Using Image Sensor
Design Method of CPLD Vision System Using Image Sensor A low-cost embedded vision system is built, which consists of a CMOS image sensor, CPLD, ARM7 microprocessor and SRAM. Among them, the CPLD recognizes the timing, which solves the problem of strict timing synchronization and bus competition of dual
[Industrial Control]
Design Method of CPLD Vision System Using Image Sensor
msp430 MCU implements PWM
PWM signal is a digital signal with a fixed period (T) and an indefinite duty cycle (t), as shown in the figure below. If the duty cycle of the PWM signal changes over time, the output signal after filtering will be an analog signal with varying amplitude. Therefore, by controlling the duty cycle of the PWM signal, dif
[Microcontroller]
msp430 MCU implements PWM
PWM adjusts the brightness of 2 LEDs from 00 to FF, with 255 levels of brightness automatically adjusted
Put the STC12C5A60S2.H and STC12C2052AD.H header files into C:KeilC51INC STC MCU header file Download link: http://pan.baidu.com/s/1pJKK4w7  Password: a0re /* Project creation MCU selection, Atmel89C55 Microcontroller: STC12C5A60S2   Crystal: 12M Function: PWM adjusts the brightness of 2 LEDs from 00 to FF, 25
[Microcontroller]
PWM adjusts the brightness of 2 LEDs from 00 to FF, with 255 levels of brightness automatically adjusted
Analysis of PWM Principle of PIC Microcontroller
  1. What is PWM   What is PWM? Professionally speaking, it is pulse width modulation. In layman's terms, it is the continuous output of high and low levels. For example, the microcontroller outputs a high level for 40ms, then a low level for 60ms, and then continuously and periodically outputs high and low levels alt
[Microcontroller]
Analysis of PWM Principle of PIC Microcontroller
A Design of FPGA Reconfiguration Scheme Based on VC++ Program
introduction With the rapid development of large-scale integrated circuits, system design has gradually shifted from the traditional pursuit of large scale and high density to improving resource utilization, so that limited resources can achieve larger-scale logic design. By utilizing the multiple programma
[Embedded]
A Design of FPGA Reconfiguration Scheme Based on VC++ Program
stm8 Note 2-Timer 3 Update Interrupt + PWM Output (IDE is IAR)
1: IAR compiler interrupt function description Let's talk about it under IAR. Under IAR, you must add the iostm8s105s6.h file. At the end of the file, there is the following content: /*-------------------------------------------------------------------------  * Interrupt vector numbers  *---------------------------
[Microcontroller]
stm8 Note 2-Timer 3 Update Interrupt + PWM Output (IDE is IAR)
STM8 and Assembly Language (16) - PWM
PWM signal output is often used in single-chip microcomputer application systems, such as motor speed control. Now many high-end single-chip microcomputers also integrate PWM function modules to facilitate user applications. For PWM signals, there are two main concepts involved, one is the period or frequency of the
[Microcontroller]
CPLD implementation of I2C bus communication interface
    Abstract: This article introduces the basic principles of using ALTERA's programmable devices to implement the communication interface of the I2C bus; gives some VHDL language descriptions. Compared with the dedicated interface chip for communication interface number, it has the characteristics of flexible use an
[Industrial Control]
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号