H-bridge inverter system and dead zone compensation device thereof

文档序号:860805 发布日期:2021-03-16 浏览:19次 中文

阅读说明:本技术 一种h桥逆变系统及其死区补偿装置 (H-bridge inverter system and dead zone compensation device thereof ) 是由 蔡晓杰 于 2020-11-05 设计创作,主要内容包括:本发明公开了一种H桥逆变系统及其死区补偿装置。所述适用于H桥逆变的死区补偿装置,其包括:电流检测单元,其用于采样H桥逆变器的电感电流;控制模块,其基于所述采样电流和预先设定的参考电流值产生目标占空比duty;死区补偿模块,其用于检索出N次所述采样电流中的最大值和最小值,并以检索到的所述采样电流中的最大值和最小值作为判断量,输出相应的占空比补偿量Δduty;PWM信号输出模块,其用于将所述目标占空比duty和所述占空比补偿量Δduty叠加,以对所述目标占空比duty进行校正,并输出校正占空比后的PWM信号,以驱动所述H桥逆变器。这样,可以实现H桥逆变器的死区补偿。(The invention discloses an H-bridge inverter system and a dead zone compensation device thereof. The dead zone compensation device suitable for H bridge contravariant, it includes: the current detection unit is used for sampling the inductive current of the H-bridge inverter; a control module generating a target duty cycle based on the sampling current and a preset reference current value; the dead zone compensation module is used for retrieving the maximum value and the minimum value in the sampling current for N times, taking the retrieved maximum value and the retrieved minimum value in the sampling current as judgment quantities, and outputting corresponding duty ratio compensation quantity delta duty; and the PWM signal output module is used for superposing the target duty ratio duty and the duty ratio compensation quantity delta duty so as to correct the target duty ratio duty and output a PWM signal with the corrected duty ratio to drive the H-bridge inverter. In this way, dead-zone compensation of the H-bridge inverter can be achieved.)

1. A dead-time compensation device suitable for H-bridge inversion is characterized by comprising:

the current detection unit is used for sampling the inductive current of the H-bridge inverter and outputting a sampling current reflecting the inductive current;

the control module generates a target duty ratio duty based on the sampling current received by the input end of the control module and a preset reference current value, and outputs the target duty ratio duty through the output end of the control module;

the dead zone compensation module is used for retrieving the maximum value and the minimum value in the sampling current received by the input end of the dead zone compensation module for N times, taking the retrieved maximum value and the retrieved minimum value in the sampling current as judgment quantities, and outputting corresponding duty ratio compensation quantity delta duty, wherein N is a natural number greater than 1;

and the input end of the PWM signal output module is connected with the output end of the control module and the output end of the dead zone compensation module, and the PWM signal output module is used for superposing the target duty ratio duty and the duty ratio compensation quantity delta duty so as to correct the target duty ratio duty and output a PWM signal after duty ratio correction to drive the H-bridge inverter.

2. The dead-time compensation device suitable for H-bridge inversion of claim 1, further comprising an integrated control law accelerator coprocessor for processing the sampled current output by the current detection unit,

the sampling current output by the current detection unit is processed by the integrated control law accelerator coprocessor and is connected with the input end of the control module;

and the sampling current output by the current detection unit is processed by the integrated control law accelerator coprocessor and is connected with the input end of the dead zone compensation module.

3. The dead-time compensation device for H-bridge inversion according to claim 1,

the working process of the dead zone compensation module comprises the following steps:

acquiring the minimum value of the N times of sampling currents, and recording the minimum value as the current sampling current recording minimum value;

acquiring the maximum value of the N times of sampling currents, and recording the maximum value as the current sampling current recording maximum value;

judging whether the current sampling current recording minimum value is greater than 0, if so, enabling the duty ratio compensation quantity delta duty output by the dead zone compensation module to be Td/Ts; if not, enabling the duty ratio compensation quantity delta duty output by the dead zone compensation module to be 0;

judging whether the current sampling current recording maximum value is less than 0, if so, enabling the duty ratio compensation quantity delta duty output by the dead zone compensation module to be-Td/Ts; if not, the duty ratio compensation quantity delta duty output by the dead zone compensation module is made to be 0,

wherein Td is a set dead time; and Ts is the driving switching period of the power tube in the H-bridge inverter.

4. The dead-time compensation device for H-bridge inversion according to claim 3,

the number of N times is 16 times.

5. The deadband compensation arrangement for an H-bridge inverter of claim 3, wherein the operation of the deadband compensation module further comprises:

and initially assigning a value to the dead zone compensation module before acquiring the minimum value of the sampling current for N times and the maximum value of the sampling current for N times.

6. The dead-time compensation device for H-bridge inversion according to claim 5,

and when the dead zone compensation module is initially assigned, the minimum value of the current sampling current record is assigned to be 0, and the maximum value of the current sampling current record is assigned to be the range value of the analog-to-digital converter.

7. The dead-time compensation device for H-bridge inversion according to claim 3,

obtaining the minimum value of the sampling current for N times by adopting a selection sorting method;

and acquiring the maximum value of the sampling current for N times by adopting a selection sorting method.

8. The dead-time compensation device for H-bridge inversion according to claim 1,

the current detection unit is a Hall current sensor;

the sampling mode of the current detection unit is analog-digital sampling.

9. The dead-zone compensation device for H-bridge inversion according to claim 2,

the integrated control law accelerator coprocessor, the control module, the dead zone compensation module and the PWM signal output module are positioned in the digital signal processor.

10. An H-bridge inverter system, comprising:

an H-bridge inverter;

the H-bridge inverted dead-time compensation apparatus as set forth in any one of claims 1 to 9.

[ technical field ] A method for producing a semiconductor device

The invention relates to the field of dead zone compensation of H-bridge inversion, in particular to an H-bridge inversion system and a dead zone compensation device thereof.

[ background of the invention ]

In a bridge circuit using bipolar modulation, in order to prevent a power tube of the same bridge arm from being directly connected, a dead time is reserved in the switching process. The dead time ensures reliable operation of the power device, but also reduces the output power quality. In order to reduce the influence of dead zone on the output power quality, corresponding measures for adding dead zone compensation are required, some existing compensation schemes need to add extra hardware circuits,

therefore, a dead zone compensation measure that does not require an additional hardware circuit is necessary.

[ summary of the invention ]

The technical problem to be solved by the present invention is to provide an H-bridge inverter system and a dead-zone compensation device thereof, which can not only perform dead-zone compensation on H-bridge inversion, but also do not need to add an additional hardware circuit.

In order to solve the above problems, according to a first aspect of the present invention, there is provided a dead zone compensation device suitable for H-bridge inversion, comprising: the current detection unit is used for sampling the inductive current of the H-bridge inverter and outputting a sampling current reflecting the inductive current; the control module generates a target duty ratio duty based on the sampling current received by the input end of the control module and a preset reference current value, and outputs the target duty ratio duty through the output end of the control module; the dead zone compensation module is used for retrieving the maximum value and the minimum value in the sampling current received by the input end of the dead zone compensation module for N times, taking the retrieved maximum value and the retrieved minimum value in the sampling current as judgment quantities, and outputting corresponding duty ratio compensation quantity delta duty, wherein N is a natural number greater than 1; and the input end of the PWM signal output module is connected with the output end of the control module and the output end of the dead zone compensation module, and the PWM signal output module is used for superposing the target duty ratio duty and the duty ratio compensation quantity delta duty so as to correct the target duty ratio duty and output a PWM signal after duty ratio correction to drive the H-bridge inverter.

According to a second aspect of the present invention, there is provided an H-bridge inverter system comprising: an H-bridge inverter and a dead-time compensation device. The dead zone compensation device includes: the current detection unit is used for sampling the inductive current of the H-bridge inverter and outputting a sampling current reflecting the inductive current; the control module generates a target duty ratio duty based on the sampling current received by the input end of the control module and a preset reference current value, and outputs the target duty ratio duty through the output end of the control module; the dead zone compensation module is used for retrieving the maximum value and the minimum value in the sampling current received by the input end of the dead zone compensation module for N times, taking the retrieved maximum value and the retrieved minimum value in the sampling current as judgment quantities, and outputting corresponding duty ratio compensation quantity delta duty, wherein N is a natural number greater than 1; and the input end of the PWM signal output module is connected with the output end of the control module and the output end of the dead zone compensation module, and the PWM signal output module is used for superposing the target duty ratio duty and the duty ratio compensation quantity delta duty so as to correct the target duty ratio duty and output a PWM signal after duty ratio correction to drive the H-bridge inverter.

Compared with the prior art, the H-bridge inverter system and the dead zone compensation device thereof can realize the dead zone compensation of the H-bridge inverter.

Other objects, features and advantages of the present invention will be described in detail in the following detailed description of the preferred embodiments, which proceeds with reference to the accompanying drawings.

[ description of the drawings ]

The present invention will be more readily understood by reference to the following detailed description when considered in conjunction with the accompanying drawings, wherein like reference numerals designate like structural elements, and in which:

FIG. 1 is a schematic circuit diagram of an H-bridge inverter system with dead-time compensation according to an embodiment of the present invention;

FIG. 2 is a schematic illustration of dead zone generation;

FIG. 3 is a schematic diagram comparing ideal current and actual current output by an H-bridge inverter without dead-zone compensation in one embodiment; and

FIG. 4 is a flow diagram of the operation of the dead band compensation module shown in FIG. 1 in one embodiment.

[ detailed description ] embodiments

In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.

Reference herein to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least an implementation of the invention. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. The terms "plurality" or "a plurality" in the present invention mean two or more. "and/or" in the present invention means "and" or ".

Fig. 1 is a schematic circuit diagram of an H-bridge inverter system capable of performing dead-zone compensation according to an embodiment of the invention. The H-bridge inverter system shown in fig. 1 includes an H-bridge inverter 110 and a dead-band compensation device (not identified).

The topological structure of the H-bridge inverter 110 is shown in fig. 1, where Vdc is bus voltage (or dc-side voltage), and Cdc is a bus capacitor (or dc-side filter and energy storage capacitor); l1 and L2 are inverter inductors, Cf is a filter capacitor, V1-V4 are power tubes (or power switches), and D1-D4 are diodes; S1-S4 are H bridge driving signals to respectively control the on and off of power tubes V1-V4; vg is the mains voltage and is connected to both ends L and N.

As described in the foregoing background, in order to prevent the power transistors of the same bridge arm from being turned on, a dead time is reserved in the switching process. Please refer to fig. 2, which is a timing diagram of the S1-S4 driving signals with dead time generated based on the PWM signal with Duty _ Ideal in one embodiment, wherein Td is the set dead time and Ts is the driving switching period of the power transistor. The dead time ensures reliable operation of the power device, but also reduces the output power quality, please refer to fig. 3, which is a schematic diagram showing comparison between an ideal current and an actual current output by the H-bridge inverter without dead time compensation in one embodiment, the actual current is an equivalent average value of a sampling value of a switching period, and it can be confirmed that an error part of the actual current caused by the dead time is a stage in which the dead time compensation needs to be added.

Referring to fig. 1, the dead-time compensation apparatus of the present invention includes a current detection unit 120, a CLA (Control Law Accelerator coprocessor) 130, a Control module 140, a dead-time compensation module 150, and a PWM (Pulse width modulation) signal output module 160. The CLA (Control Law Accelerator co-processor) 130, the Control module 140, the dead zone compensation module 150, and the PWM (Pulse width modulation) signal output module 160 are located in a DSP (digital signal processor).

The current detection unit 120 is configured to sample an inductor current of the H-bridge inverter 110 and output a sampled current (or a sampled current signal) reflecting the inductor current. In the specific embodiment shown in fig. 1, the current detection unit 120 is an AC HCT (i.e., an alternating hall current sensor); the current detecting unit 120 may sample in an AD sampling (i.e., analog-to-digital sampling) manner.

The input end of the CLA is connected to the output end of the current detection unit 120, the output end of the CLA is connected to the input end of the control module 140 and the input end of the dead-zone compensation module 150, and the CLA is configured to process the sampling current received by the input end of the CLA and output the processed sampling current to the control module 140 and the dead-zone compensation module 150 through the output end of the CLA.

The control module 140 generates a target duty ratio duty of the PWM signal based on the sampling current received at its input terminal and a preset reference current value, and outputs the target duty ratio duty through its output terminal, wherein the duty ratio is a ratio of the power-on time to the total time in one pulse cycle.

The dead-zone compensation module 150 is configured to retrieve a maximum value and a minimum value of N times of current sampling currents received by an input end of the dead-zone compensation module, and output a corresponding duty compensation amount Δ duty by using the retrieved maximum value and minimum value of the current sampling currents as a determination amount, so as to achieve the purpose of dead-zone compensation, where N is a natural number greater than 1.

Referring now to fig. 4, a software flow diagram (or workflow diagram) of the dead band compensation module 150 of fig. 1 in one embodiment is shown. In the embodiment shown in FIG. 4, the software flow of the dead band compensation module 150 includes the following steps.

Step 410, the dead band compensation module 150 initially assigns a value. The dead zone compensation module 140 includes a current sampling current recording minimum value and a current sampling current recording maximum value, and when initially assigning, the current sampling current recording minimum value may be assigned to 0, and the current sampling current recording maximum value may be assigned to a range value of an ADC (i.e., an analog-to-digital converter), for example, using a 12-bit ADC module, where the ADC range value is 4095.

And step 420, acquiring the minimum value of the N times of sampling currents provided by the CLA, and recording the minimum value as the current sampling current recording minimum value. In the specific embodiment shown in fig. 4, N is 16, and the minimum value of the 16 current sample values provided by the CLA can be obtained by using a selective sorting method.

And step 430, acquiring the maximum value of the N times of sampling currents provided by the CLA, and recording the maximum value as the current sampling current recording maximum value. In the specific embodiment shown in fig. 4, where N is 16, the maximum of 16 current sample values provided by the CLA may be obtained by using a selective sorting method.

Step 440, judging whether the current sampling current recording minimum value is greater than 0, if so, entering step 460, and the duty ratio compensation quantity delta duty output by the dead zone compensation module 150 is Td/Ts; if not, step 480 is executed, and the duty compensation amount Δ duty output by the dead zone compensation module 150 is 0, that is, no dead zone compensation is required.

Step 450, judging whether the current sampling current recording maximum value is smaller than 0, if so (namely, if the current sampling current recording maximum value is smaller than 0), entering step 470, and setting the duty ratio compensation quantity delta duty output by the dead zone compensation module 140 to be-Td/Ts; if not, step 480 is executed, and the duty compensation amount Δ duty output by the dead zone compensation module 140 is 0, that is, no dead zone compensation is required.

When the duty compensation amount Δ duty is Td/Ts or-Td/Ts, Td is a dead time set to prevent the same arm power tubes (e.g., power switches V1, V2 in the left arm, and power switches V3, V4 in the right arm) in the H-bridge inverter 110 from going through; ts is the drive switching period of power tubes V1-V4 in the H-bridge inverter 110.

As shown in fig. 1, the input end of the PWM signal output module 160 is connected to the output ends of the control module 140 and the dead zone compensation module 150, and the PWM signal output module 160 superimposes the target duty ratio duty output by the control module 140 and the duty compensation amount Δ duty output by the dead zone compensation module 140 to correct (or dead zone compensate) the target duty ratio duty and output the PWM signal with the corrected duty ratio to finally drive the H-bridge inverter 110.

In summary, the dead zone compensation apparatus of the present invention includes: the current detection unit is used for sampling the inductive current of the H-bridge inverter and outputting a sampling current reflecting the inductive current; the control module generates a target duty ratio duty based on the sampling current received by the input end of the control module and a preset reference current value, and outputs the target duty ratio duty through the output end of the control module; the dead zone compensation module is used for retrieving the maximum value and the minimum value in the sampling current received by the input end of the dead zone compensation module for N times, taking the retrieved maximum value and the retrieved minimum value in the sampling current as judgment quantities, and outputting corresponding duty ratio compensation quantity delta duty, wherein N is a natural number greater than 1; and the input end of the PWM signal output module is connected with the output ends of the control module and the dead zone compensation module, and the PWM signal output module is used for superposing the target duty ratio duty and the duty ratio compensation quantity delta duty so as to correct the target duty ratio duty and output a PWM signal after duty ratio correction to drive the H-bridge inverter. Therefore, the invention realizes dead-zone compensation on the existing hardware platform through software, and does not need an additional hardware compensation circuit.

In the present invention, the terms "connected", connected, "connected" and "connecting" mean electrically or communicatively connected, or directly or indirectly connected, unless otherwise specified. As used herein, "coupled" refers to indirect or direct electrical connections, which may be through one or more electrical devices (e.g., resistors, capacitors, inductors, etc.).

The foregoing description has disclosed fully preferred embodiments of the present invention. It should be noted that those skilled in the art can make modifications to the embodiments of the present invention without departing from the scope of the appended claims. Accordingly, the scope of the appended claims is not to be limited to the specific embodiments described above.

10页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种O-Z源光伏并网逆变器

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类