A novel switching inverter based on DSP

Publisher:JFETLatest update time:2011-10-12 Source: 互联网Keywords:DSP Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

1 Introduction

With the development of industry and science and technology, users have higher and higher requirements for power quality. All raw power, including city power, may not meet the requirements of users and must be processed before use. Inverter technology plays an important role in this process. Traditional inverter technology is mostly analog control or a combination of analog and digital control systems. Its disadvantages are

1) The control circuit has many components, large size and complex structure;

2) Lack of flexibility: once the hardware circuit is designed, the control strategy cannot be changed;

3) Debugging is troublesome. Due to differences in component characteristics, the power supply consistency is poor, and the operating point drift of analog devices will cause the drift of system parameters, which brings inconvenience to debugging.

Therefore, traditional inverters are no longer suitable for new requirements in many situations.

With the advent of high-speed and low-cost digital signal processors (DSPs), digital power supplies (DPSs) have emerged. Its advantages include:

1) Digitalization makes it easier to process and control digital chips, avoid distortion and distortion of analog signal transmission, and reduce interference from stray signals;

2) Facilitate system debugging;

3) If network communication and power supply software debugging technology are combined, remote sensing, remote measurement and remote adjustment can be achieved.

All these make digital control of inverter power supply a future development trend.

This paper adopts the TMS320LF2407 DSP designed by TI for motor and power electronics as the controller, and introduces the hardware and software design of the digital cycloconverter.

2 Structural features of TMS320LF2407

TMS320LF2407 has the structural features necessary for high-speed signal processing and digital control functions. Combining its optimized peripheral units with a high-performance DSP core, it can provide high-speed and full-speed advanced control technology for various types of motors. Its main features are

1) The system runs at a main frequency of 30MHz, which shortens the instruction cycle to 33ns. Most instructions can be completed within a single cycle, improving the real-time capability of the controller.

2) Two event manager modules EVA and EVB, each including two 16-bit general-purpose timers; eight 16-bit pulse width modulation (PWM) channels. They can realize three-phase inverter control; symmetrical and asymmetrical waveforms of PWM; fast PWM channel shutdown when the external pin PDPINTx appears low level; programmable PWM dead zone control to prevent the upper and lower bridge arms from inputting trigger pulses at the same time; 16-channel A/D converter and other functions. The event management module is suitable for controlling AC induction motors, brushless DC motors, switched reluctance motors, stepper motors, multi-stage motors and inverters.

3) The minimum conversion time of the 10-bit A/D converter is 500ns, and two event managers can be selected to trigger two 8-channel input A/D converters or one 16-channel input A/D converter.

4) Up to 40 general-purpose input/output pins (GPIO) that can be individually programmed or multiplexed.

3 System Structure

The system consists of two parts: the main circuit and the control circuit, as shown in Figure 1. The main circuit uses a phase-shifted zero voltage, zero current (PS-ZVZCS) full-bridge converter and a phase-controlled cyclic converter PCCYC (Phase Control LED Cycle Converter). Compared with other converters, the phase-controlled cyclic converter can always work in the first and third quadrants. Combined with the phase-shifting technology, it can greatly improve the working efficiency of the high-frequency transformer. At the same time, a high-frequency loop is used for inversion, so there is no need to use an industrial frequency transformer, which reduces the volume. The full-bridge converter uses a saturable inductor Lr and a DC blocking capacitor Cr to block the circulating current, which can achieve ZVS of the leading bridge arm and ZCS of the lagging bridge arm in a wide load range, reducing the switch stress, reducing the loss and improving the working efficiency. The selection of Lr and Cr can refer to the reference [4]. The control part uses a fast and efficient DSP as the core controller, and drives the power switch tube in the main circuit through optocoupler isolation and a special driver chip EXB841 with IGBT self-protection. Cooperating with sampling circuit and protection circuit, it can realize real-time control of output, and has fast dynamic response speed and good output characteristics.

Figure 1 System structure diagram

4 Working Principle

Q1~Q4 form a full bridge, Q5 and Q6 form a cycloconverter. The driving waveform of the switch tube is shown in Figure 2.

Figure 2 Switch tube drive waveform

The whole working process can be divided into 4 stages, which are described below.

In the first stage, Q1 and Q4 are turned on

When Q1 and Q4 (with phase difference) are turned on and Q5 is turned on in advance, the energy on the DC side can be transmitted to the output end. At this time, the resonant inductor stores energy and Q5 is soft-turned on, reducing the switching loss. This is shown as ug5 in Figure 2.

Second stage resonance

Due to the resonance of the circuit's DC blocking capacitor and the resonant inductor (including the leakage inductance in the transformer), the energy stored in the inductor in the first stage is released. When the resonant current reaches zero, Q1 is turned off. In this stage, Q2 and Q4 are turned on, and Q5 is turned off after a delay, as shown in ug5 in Figure 2.

In the third stage, Q2 and Q3 are turned on

In this stage, Q6 is turned on in advance before Q2 and Q3 are turned on. When Q2 and Q3 (there is a dead zone between Q1 and Q2) are turned on, the energy on the DC side can be transferred to the output end, and Q6 is soft-turned on at this time, as shown in ug6 in Figure 2.

The fourth stage of resonance

The working principle is similar to that of the second stage. At this time, the current direction is opposite to that of the second stage. When the energy on the inductor is released, Q6 is turned off. At this time, one cycle ends and the next cycle begins.

As can be seen from Figure 1, no matter what the polarity of the transformer secondary voltage is, if Q5 is turned on and Q6 is turned off, the output terminal OUT1 is positive and OUT2 is negative; if Q6 is turned on and Q5 is turned off, OUT2 is positive and OUT1 is negative. Therefore, by controlling the turn-on sequence of Q5 and Q6, the polarity of the output terminal can be controlled, and a variety of waveforms can be obtained, such as AC, pulse and other waveforms. If you want to output the positive half cycle of the sine wave, PULS1 controls Q1, Q4, PULS2 controls Q2, Q3, and at the same time let Q5 and Q6 turn on accordingly in advance, then the positive half cycle of the sine wave can be output, as shown in Figure 3.

(a) Driving waveform

(b) Output waveform

Figure 3: Positive half cycle of output sine wave

To output the negative half cycle of the sine wave, it is only necessary to exchange the conduction sequence of Q5 and Q6, as shown in Figure 4.

(a)

(b)

Figure 4 Negative half cycle of output sine wave

5 Software Implementation

The processing speed of TMS320LF2407 is 30MIPS, and almost all instructions can be completed within a single cycle of 50ns. With its powerful instruction operation function, it is easy to implement various control algorithms and high-speed real-time sampling, which can improve the working efficiency of the system. In order to improve the dynamic quality of the system and reduce the static error of the system, a closed loop is used to realize the control of each power conversion link.

5.1 PWM wave output

This paper adopts the regular sampling method with triangle wave as carrier to obtain rectangular waves of equal height and unequal width, i.e. pulses. The midpoint of each pulse corresponds to the midpoint of the corresponding triangle wave. At the negative peak moment tD of the triangle wave, the sinusoidal modulated wave is sampled to obtain point D. A horizontal straight line is drawn through point D and intersects the triangle wave at points A and B, respectively, as shown in Figure 5. Then we have

δ = Tc (1 + sinωrtD) / 2

Figure 5 Regular sampling method for sampling triangular wave carrier

According to this relationship, if there are N rectangular waves in one cycle, the duty cycle of the i-th rectangular wave is

Dr=0.5+0.5sin(i*2π/N)

By using the period and duty cycle to set the corresponding registers of the PWM circuit in TMS320LF2407, the required PWM pulse waveform can be obtained on PWMx (x=1, 2, 3, 4, 7, 8). These PWM pulses can be used to control the corresponding 6 switch tubes to output a sine waveform. It should be noted that the quality of the output sine wave is related to the discrete number of sine waves used for control. If the discrete number is larger, the output sine wave will be smoother, but the DSP calculation amount will be increased. On the contrary, the output will be worse. Therefore, for specific applications, it is necessary to select appropriate discrete values. Timers T1 and T3 are set to underflow and cycle matching interrupt modes, used as PWM output time bases, and work in continuous increase/decrease counting mode.

5.2 Real-time Sampling

The 16-channel ADC conversion circuit integrated in TMS320LF2407 is used to realize voltage and current sampling (the minimum conversion time for each channel is 500ns). The sampling signal is converted into the 0-3.3V level required by the ADC of LF2407 through the sampling module MAX122. In one power frequency cycle, the sampling will be performed 200 times (the switching frequency is 20kHz). Once there is an impact load, the output current or voltage will be too high, so that the DSP can capture this mutation in time. The DSP will call the corresponding subroutine to handle overvoltage or overcurrent conditions to protect the normal operation of the entire circuit. Timer T2 is set to underflow and periodic interrupt mode, used as the control time base for ADC sampling, and works in continuous increase/decrease counting mode.

6 Experimental Results

According to the above principles, an experimental system was preliminarily designed and achieved relatively good results. Its main technical parameters are listed in Table 1.

Table 1 Main technical parameters

FIG6 shows the voltage on the DC blocking capacitor in the full-bridge circuit, and FIG7 shows the transformer primary side neutral point voltage and transformer primary side current waveforms.

Time: 5μs/div, Voltage: 2V/div,

Figure 6 DC blocking capacitor voltage

Time: 5μs/div, Voltage: 150V/div, Current: 5A/div

Figure 7 Primary side neutral point voltage and primary side current

It can be seen that the switch tube in the full-bridge circuit achieves soft turn-on and soft turn-off under the resonance of the DC blocking capacitor and the saturated inductor. Figure 8 shows the output voltage waveform.

Figure 8 Output voltage waveform

7 Conclusion

This paper introduces the circuit topology of phase-controlled cycloconverter based on DSP digital control, analyzes its working principle, and proposes the process of generating control signals. The experimental results prove the correctness of digital implementation and achieve good results. It is certain that the high-frequency chain cycloconverter implemented by digitalization has stronger advantages than the traditional inverter based on analog or analog and digital combination. Digitalization makes the system highly programmable, and it has advantages that traditional inverters cannot match in debugging, product updates or upgrades.

The processing speed of TMS320LF2407 is 30MIPS, and almost all instructions can be completed within a single cycle of 50ns. With its powerful instruction operation function, it is easy to implement various control algorithms and high-speed real-time sampling, which can improve the working efficiency of the system. In order to improve the dynamic quality of the system and reduce the static error of the system, a closed loop is used to realize the control of each power conversion link.

5.1 PWM wave output

This paper adopts the regular sampling method with triangle wave as carrier to obtain rectangular waves of equal height and unequal width, i.e. pulses. The midpoint of each pulse corresponds to the midpoint of the corresponding triangle wave. At the negative peak moment tD of the triangle wave, the sinusoidal modulated wave is sampled to obtain point D. A horizontal straight line is drawn through point D and intersects the triangle wave at points A and B, respectively, as shown in Figure 5. Then we have

δ = Tc (1 + sinωrtD) / 2

Figure 5 Regular sampling method for sampling triangular wave carrier

According to this relationship, if there are N rectangular waves in one cycle, the duty cycle of the i-th rectangular wave is

Dr=0.5+0.5sin(i*2π/N)

By using the period and duty cycle to set the corresponding registers of the PWM circuit in TMS320LF2407, the required PWM pulse waveform can be obtained on PWMx (x=1, 2, 3, 4, 7, 8). These PWM pulses can be used to control the corresponding 6 switch tubes to output a sine waveform. It should be noted that the quality of the output sine wave is related to the discrete number of sine waves used for control. If the discrete number is larger, the output sine wave will be smoother, but the DSP calculation amount will be increased. On the contrary, the output will be worse. Therefore, for specific applications, it is necessary to select appropriate discrete values. Timers T1 and T3 are set to underflow and cycle matching interrupt modes, used as PWM output time bases, and work in continuous increase/decrease counting mode.

5.2 Real-time Sampling

The 16-channel ADC conversion circuit integrated in TMS320LF2407 is used to realize voltage and current sampling (the minimum conversion time for each channel is 500ns). The sampling signal is converted into the 0-3.3V level required by the ADC of LF2407 through the sampling module MAX122. In one power frequency cycle, the sampling will be performed 200 times (the switching frequency is 20kHz). Once there is an impact load, the output current or voltage will be too high, so that the DSP can capture this mutation in time. The DSP will call the corresponding subroutine to handle overvoltage or overcurrent conditions to protect the normal operation of the entire circuit. Timer T2 is set to underflow and periodic interrupt mode, used as the control time base for ADC sampling, and works in continuous increase/decrease counting mode.

6 Experimental Results

According to the above principles, an experimental system was preliminarily designed and achieved relatively good results. Its main technical parameters are listed in Table 1.

Table 1 Main technical parameters

FIG6 shows the voltage on the DC blocking capacitor in the full-bridge circuit, and FIG7 shows the transformer primary side neutral point voltage and transformer primary side current waveforms.

Time: 5μs/div, Voltage: 2V/div,

Figure 6 DC blocking capacitor voltage

Time: 5μs/div, Voltage: 150V/div, Current: 5A/div

Figure 7 Primary side neutral point voltage and primary side current

It can be seen that the switch tube in the full-bridge circuit achieves soft turn-on and soft turn-off under the resonance of the DC blocking capacitor and the saturated inductor. Figure 8 shows the output voltage waveform.

Figure 8 Output voltage waveform

7 Conclusion

This paper introduces the circuit topology of phase-controlled cycloconverter based on DSP digital control, analyzes its working principle, and proposes the process of generating control signals. The experimental results prove the correctness of digital implementation and achieve good results. It is certain that the high-frequency chain cycloconverter implemented by digitalization has stronger advantages than the traditional inverter based on analog or analog and digital combination. Digitalization makes the system highly programmable, and it has advantages that traditional inverters cannot match in debugging, product updates or upgrades.

Keywords:DSP Reference address:A novel switching inverter based on DSP

Previous article:Design of a simple pure hardware grid-connected inverter
Next article:Grid-connected inverter anti-islanding test detection device

Recommended ReadingLatest update time:2024-11-16 16:55

Software and Hardware Design of Online Programming of DSP External Flash Memory
introduction As embedded systems develop towards smaller size and higher performance, traditional DIP (dual in-line package) integrated circuits have gradually faded out of people's sight due to defects such as large size and the number of I/O pins of components limited by packaging. In the design of embedd
[Embedded]
A software dynamic linking technology based on TI TMS320 DSP
Abstract: The concept and characteristics of software dynamic linking technology are introduced, and software dynamic linking technology based on TI TMS320 series DSP is proposed. This technology solves the problem of dynamic loading and unloading of software binary target code in reconfigurable DSP systems. The sof
[Embedded]
A software dynamic linking technology based on TI TMS320 DSP
DSP programming skills---What you need to know before running the main function
  Before a C/C++ program can run normally, the relevant C/C++ runtime environment must be correctly established first. In the case of CCS software programming, the source program library rts.src of the C/C++ real-time runtime library RTS contains a startup program named boot.c or boot.asm (in some TI examples, C
[Embedded]
DSP programming skills---What you need to know before running the main function
Sodar Signal Acquisition System Based on DSP
In the sodar system, the transmitter sends out acoustic signals of different frequencies in a directional manner, and then receives echo signals at different distances. The frequency deviation in the echo can be used to determine the changes in wind speed and direction with height. The signal acquisition system bas
[Embedded]
Sodar Signal Acquisition System Based on DSP
Photovoltaic Cell Maximum Power Point Tracking System Based on DSP
Kong Xiaoli Chen Xianfeng Xu Yanxin0 Introduction With the continuous acceleration of the process of economic globalization and the rapid development of the industrial economy, energy issues have become an urgent problem that mankind needs to solve, and vigorously developing new alternative energy source
[Embedded]
Photovoltaic Cell Maximum Power Point Tracking System Based on DSP
Servo controller for slub yarn control system based on ARM and DSP
introduction ARM microprocessors have the characteristics of small size, low power consumption, low cost and high performance. Microcontroller chips based on ARM core not only occupy most of the market share of high-end microcontroller market, but also gradually expand to the application field of
[Embedded]
Design of X-ray Spectrum Data Acquisition System Based on DSP
X-rays are generated by high-energy electrons moving at a reduced speed in matter or by the transition of electrons in the inner orbit of atoms, so they have strong penetrability and are widely used in many aspects such as ray detection and medium identification. When the ray energy is constant, the attenuation of the
[Power Management]
Design of X-ray Spectrum Data Acquisition System Based on DSP
Preconfigured DSP Solutions for Wireless Hearing Aids
    In order to meet the needs of home health care and people's increasing interest in health and wellness equipment, ON Semiconductor provides pre-configured DSP and open programmable DSP systems for hearing aids for medical applications in the Chinese market, helping Chinese medical electronics manufacturers devel
[Medical Electronics]
Preconfigured DSP Solutions for Wireless Hearing Aids
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号