CN103973152B - A kind of pulse width modulation control method and device - Google Patents
A kind of pulse width modulation control method and device Download PDFInfo
- Publication number
- CN103973152B CN103973152B CN201410135786.8A CN201410135786A CN103973152B CN 103973152 B CN103973152 B CN 103973152B CN 201410135786 A CN201410135786 A CN 201410135786A CN 103973152 B CN103973152 B CN 103973152B
- Authority
- CN
- China
- Prior art keywords
- state
- action time
- pulse width
- phase
- switching
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000002194 synthesizing effect Effects 0.000 claims abstract description 8
- 230000015572 biosynthetic process Effects 0.000 claims description 13
- 238000003786 synthesis reaction Methods 0.000 claims description 13
- 238000005070 sampling Methods 0.000 claims description 8
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000010586 diagram Methods 0.000 description 15
- 239000013598 vector Substances 0.000 description 10
- 239000003990 capacitor Substances 0.000 description 8
- 238000004422 calculation algorithm Methods 0.000 description 2
- 239000012141 concentrate Substances 0.000 description 2
- 238000004146 energy storage Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Landscapes
- Inverter Devices (AREA)
- Amplitude Modulation (AREA)
Abstract
本发明公开了一种脉冲宽度调制控制方法,包括:获取开关周期内三相开关管的脉冲宽度;获取所述开关周期内直通状态ST的第一作用时间;根据所述脉冲宽度和所述第一作用时间,获取所述开关周期内非直通零状态的第二作用时间;根据所述开关周期、所述脉冲宽度、所述第一作用时间和所述第二作用时间合成三相脉冲宽度调制信号,其中,所述直通状态ST和所述非直通零状态分别位于载波的波峰和波谷位置。相应地,本发明还公开了一种PWM控制装置。采用本发明,可直接测量直流母线上的峰值电压,进而直接对母线电压进行控制。
The invention discloses a pulse width modulation control method, which includes: acquiring the pulse width of a three-phase switch tube in a switching period; acquiring the first action time of a straight-through state ST in the switching period; according to the pulse width and the first An action time, obtaining the second action time of the non-through zero state in the switching period; synthesizing a three-phase pulse width modulation according to the switching period, the pulse width, the first action time and the second action time signal, wherein the through state ST and the non-through zero state are respectively located at the peak and valley positions of the carrier. Correspondingly, the invention also discloses a PWM control device. By adopting the invention, the peak voltage on the direct current bus can be directly measured, and then the bus voltage can be directly controlled.
Description
技术领域technical field
本发明涉及控制技术领域,尤其涉及一种脉冲宽度调制控制方法及装置。The invention relates to the field of control technology, in particular to a pulse width modulation control method and device.
背景技术Background technique
逆变器(Inverter)是一种把直流电能(电池、蓄电瓶)转变成交流电(一般为220V,50Hz正弦波)的装置或设备,包括电压源逆变器、电流源逆变器和Z源逆变器(Z-source inverter,简称ZSI)。通常,逆变器的控制方式采用脉冲宽度调制(Pulse Width Modulation,PWM)控制方法,在传统的PWM控制方法中,开关管的状态包括8个非直通状态,其中,6个有效状态V1(001)、V2(010)、V3(011)、V4(100)、V5(101)、V6(110)和2个零状态V0(000)、V7(111),1代表导通,0代表关断。在电压源逆变器和电流源逆变器中,下桥臂三个开关管的状态与上桥臂三个开关管的状态相反,一个开关周期由其中的2个有效状态和2个零状态合成;在Z源逆变器中,一个开关周期除包括2个有效状态和2个零状态外,还包括一个特殊的直通状态ST,即同一桥臂上下两个开关管同时导通。Inverter (Inverter) is a device or device that converts DC power (battery, storage battery) into AC power (generally 220V, 50Hz sine wave), including voltage source inverters, current source inverters and Z sources. Inverter (Z-source inverter, referred to as ZSI). Usually, the control method of the inverter adopts the pulse width modulation (Pulse Width Modulation, PWM) control method. In the traditional PWM control method, the state of the switch tube includes 8 non-through states, of which 6 effective states V1 (001 ), V2(010), V3(011), V4(100), V5(101), V6(110) and 2 zero states V0(000), V7(111), 1 means on, 0 means off . In the voltage source inverter and the current source inverter, the state of the three switching tubes of the lower bridge arm is opposite to that of the three switching tubes of the upper bridge arm, and one switching cycle consists of two valid states and two zero states Synthesis; in the Z-source inverter, a switching cycle includes not only 2 valid states and 2 zero states, but also a special through state ST, that is, the upper and lower switching tubes of the same bridge arm are turned on at the same time.
如图1所示,图1是现有技术中提供的一种Z源逆变器的电路原理图,在图1中,电感L1、电感L2和电容C1、电容C2构成Z源网络,开关管T1~开关管T6构成逆变桥,其中T1、T3、T5称为上桥臂,T2、T4、T6称为下桥臂。当Z源逆变器的工作状态为直通状态ST时,二极管D截止,直流母线因上、下开关管直通而短路,此时直流母线电压VPN=0;当Z源逆变器的工作状态为非直通状态时,二极管D导通,此时直流母线电压VPN=VDC(VDC被称为母线电压峰值),经逆变器桥逆变后得到交流输出。然而在现有的Z源逆变器的脉冲宽度调制控制方法中,直通状态ST分别插入位于载波的波峰B和波谷A处的零矢量V0(000)和V7(111)之间,如图2所示,图2为现有技术中提供的一种状态矢量示意图,图中一个开关周期中的状态变化为(假设在某个开关周期内上桥臂中开关管的有效状态为100和110):直通状态ST->零状态000->有效状态100->有效状态110->零状态111->直通状态ST->零状态111->有效状态110->有效状态100->零状态000->直通状态ST。可见在一个开关周期中,直通状态ST出现2次,直流母线电压VPN呈脉动波形,而脉冲宽度调制PWM控制方法中的载波频率非常高,因此,导致直流母线电压VPN难以采样。现有技术中一般都采用电容电压闭环控制方法获取直流母线电压,即控制电容C1或C2上的电压VC保持恒定,从而获得母线电压峰值VDC=Vin/(1-2d0),其中,d0为直通占空比。然而,该方法存在以下缺点:电容电压VC与母线电压峰值VDC之间不是线性关系,虽然能控制电容电压VC保持恒定,但VDC会随直通占空比变化而变化,母线电压峰值VDC很容易波动或偏离期望值,而母线电压峰值VDC过高时可能损坏开关管。As shown in Figure 1, Figure 1 is a circuit schematic diagram of a Z-source inverter provided in the prior art. In Figure 1, the inductor L1, inductor L2, capacitor C1, and capacitor C2 form a Z-source network, and the switch T1 ~ switching tube T6 form an inverter bridge, wherein T1, T3, T5 are called upper bridge arms, and T2, T4, T6 are called lower bridge arms. When the working state of the Z source inverter is the straight-through state ST, the diode D is cut off, and the DC bus is short-circuited due to the direct connection of the upper and lower switching tubes, and the DC bus voltage V PN = 0 at this time; when the working state of the Z source inverter In the non-through state, the diode D conducts, and at this time the DC bus voltage V PN =V DC (V DC is called the bus voltage peak value), and the AC output is obtained after being inverted by the inverter bridge. However, in the existing pulse width modulation control method of the Z-source inverter, the through state ST is inserted between the zero vectors V0 (000) and V7 (111) at the peak B and valley A of the carrier wave respectively, as shown in Figure 2 As shown, FIG. 2 is a schematic diagram of a state vector provided in the prior art, and the state change in a switching cycle in the figure is (assuming that the effective states of the switching tubes in the upper bridge arm are 100 and 110 in a certain switching cycle) : Straight-through state ST->zero state 000->valid state 100->valid state 110->zero state 111->straight-through state ST->zero state 111->valid state 110->valid state 100->zero state 000- > Thru state ST. It can be seen that in one switching cycle, the through state ST occurs twice, and the DC bus voltage V PN has a pulsating waveform, and the carrier frequency in the PWM control method is very high, so it is difficult to sample the DC bus voltage V PN . In the prior art, the capacitor voltage closed-loop control method is generally used to obtain the DC bus voltage, that is, the voltage V C on the control capacitor C1 or C2 is kept constant, so as to obtain the peak value of the bus voltage V DC =V in /(1-2d 0 ), where , d 0 is the direct duty cycle. However, this method has the following disadvantages: the relationship between the capacitor voltage V C and the bus voltage peak value V DC is not linear. Although the capacitor voltage V C can be controlled to remain constant, V DC will change with the direct duty cycle, and the bus voltage peak value V DC is easy to fluctuate or deviate from the expected value, and the switch tube may be damaged when the bus voltage peak value V DC is too high.
发明内容Contents of the invention
本发明实施例提供一种脉冲宽度调制控制方法及装置,可直接测量直流母线上的峰值电压,从而可直接对母线电压进行控制。Embodiments of the present invention provide a pulse width modulation control method and device, which can directly measure the peak voltage on a DC bus, thereby directly controlling the bus voltage.
本发明实施例提供一种脉冲宽度调制控制方法,包括:An embodiment of the present invention provides a pulse width modulation control method, including:
获取开关周期Ts内三相开关管的脉冲宽度,分别表示为Tas、Tbs、Tcs;Obtain the pulse widths of the three-phase switching tubes in the switching period T s , expressed as T as , T bs , T cs respectively;
获取所述开关周期内直通状态ST的第一作用时间Tsh;Acquiring the first action time T sh of the through state ST in the switching period;
根据所述脉冲宽度和所述第一作用时间,获取所述开关周期内非直通零状态的第二作用时间T0;According to the pulse width and the first action time, obtain the second action time T 0 of the non-through zero state in the switching cycle;
根据所述开关周期、所述脉冲宽度、所述第一作用时间和所述第二作用时间合成三相脉冲宽度调制信号,其中,所述直通状态ST和所述非直通零状态分别位于载波的波峰和波谷位置,所述三相脉冲宽度调制信号的脉冲宽度分别表示为Tga、Tgb、Tgc;A three-phase pulse width modulation signal is synthesized according to the switching period, the pulse width, the first action time and the second action time, wherein the straight-through state ST and the non-through-zero state are respectively located at the carrier Peak and valley positions, the pulse widths of the three-phase pulse width modulation signals are represented as T ga , T gb , and T gc , respectively;
以第一个扇区为例,开关周期Ts中的开关状态变化顺序为:V0(000)、V4(100)、V6(110)、直通状态ST、V6(110)、V4(100)、V0(000),或为:V7(111)、V6(110)、V4(100)、直通状态ST、V4(100)、V6(110)、V7(111),相应地,其它每个扇区的控制方法相同。Taking the first sector as an example, the switching state change sequence in the switching period Ts is: V 0 (000), V 4 (100), V 6 (110), through state ST, V 6 (110), V 4 (100), V 0 (000), or: V 7 (111), V 6 (110), V 4 (100), through state ST, V 4 (100), V 6 (110), V 7 ( 111), correspondingly, the control method of each other sector is the same.
其中,所述根据所述脉冲宽度和所述第一作用时间,获取所述开关周期内非直通零状态的第二作用时间T0,包括:Wherein, according to the pulse width and the first action time, obtaining the second action time T 0 of the non-through zero state in the switching cycle includes:
比较所述三相开关管的脉冲宽度Tas、Tbs、Tcs的大小,获得最大值Tmax、最小值Tmin和中间值Tmid,即Tmin≤Tmid≤Tmax;Comparing the pulse widths T as , T bs , and T cs of the three-phase switching tubes to obtain the maximum value T max , the minimum value T min and the middle value T mid , that is, T min ≤ T mid ≤ T max ;
根据所述第一作用时间Tsh和所述最小值Tmin确定偏移量Tf,Tf=Tsh-Tmin;Determine the offset T f according to the first action time T sh and the minimum value T min , T f =T sh -T min ;
根据所述开关周期Ts、所述最大值Tmax和所述偏移量Tf,计算所述第二作用时间T0为:T0=Ts-(Tmax+Tf)。According to the switching period T s , the maximum value T max and the offset T f , the second action time T 0 is calculated as: T 0 =T s −(T max +T f ).
其中,所述根据所述开关周期、所述脉冲宽度、所述第一作用时间和所述第二作用时间合成三相脉冲宽度调制信号,包括:Wherein, the synthesizing a three-phase pulse width modulation signal according to the switching period, the pulse width, the first action time and the second action time includes:
比较所述第二作用时间T0与零的大小;Comparing the magnitude of the second action time T 0 with zero;
若T0≥0,根据所述偏移量Tf和所述三相开关管的脉冲宽度Tas、Tbs、Tcs合成三相脉冲宽度调制信号,其中,所述三相脉冲宽度调制信号的脉冲宽度Tga、Tgb、Tgc分别为:If T 0 ≥ 0, synthesize a three-phase pulse width modulation signal according to the offset T f and the pulse widths T as , T bs , and T cs of the three-phase switching transistors, wherein the three-phase pulse width modulation signal The pulse widths T ga , T gb , and T gc are:
若T0<0,根据所述开关周期Ts、第一作用时间Tsh和所述三相开关管的脉冲宽度Tas、Tbs、Tcs合成三相脉冲宽度调制信号,其中,所述三相脉冲宽度调制信号的脉冲宽度Tga、Tgb、Tgc分别为:If T 0 <0, a three-phase pulse width modulation signal is synthesized according to the switching period T s , the first action time T sh and the pulse widths T as , T bs , and T cs of the three-phase switching tubes, wherein the The pulse widths T ga , T gb , and T gc of the three-phase pulse width modulation signal are respectively:
其中,所述获取开关周期Ts内三相开关管的脉冲宽度,包括:Wherein, said acquisition of the pulse width of the three-phase switching tube in the switching cycle T s includes:
根据A、B、C三相电压的电压Va、Vb、Vc、直流母线上的期望电压VDC和开关周期Ts,获得所述三相开关管的脉冲宽度Tas、Tbs、Tcs分别为:According to the voltages V a , V b , V c of the three-phase voltages of A, B, and C, the expected voltage V DC on the DC bus and the switching period T s , the pulse widths T as , T bs , and Tcs are:
其中,还包括:Among them, also include:
在所述非直通零状态的作用时间内对直流母线电压进行采样,获得直流母线峰值电压。The DC bus voltage is sampled during the action time of the non-through zero state to obtain the DC bus peak voltage.
相应地,本发明还提供了一种脉冲宽度调制控制装置,包括:Correspondingly, the present invention also provides a pulse width modulation control device, including:
第一获取模块,用于获取开关周期Ts内三相开关管的脉冲宽度,分别表示为Tas、Tbs、Tcs;The first acquisition module is used to acquire the pulse widths of the three-phase switching tubes in the switching period T s , represented as T as , T bs , and T cs respectively;
第二获取模块,用于获取所述开关周期内直通状态ST的第一作用时间Tsh;The second obtaining module is used to obtain the first action time T sh of the through state ST in the switching period;
第三获取模块,用于根据所述脉冲宽度和所述第一作用时间,获取所述开关周期内非直通零状态的第二作用时间T0;The third acquisition module is used to acquire the second action time T 0 of the non-through zero state in the switching cycle according to the pulse width and the first action time;
合成模块,用于根据所述开关周期、所述脉冲宽度、所述第一作用时间和所述第二作用时间合成三相脉冲宽度调制信号,其中,所述直通状态ST和所述非直通零状态分别位于载波的波峰和波谷位置,所述三相脉冲宽度调制信号的脉冲宽度分别表示为Tga、Tgb、Tgc;A synthesizing module, configured to synthesize a three-phase pulse width modulation signal according to the switching period, the pulse width, the first action time and the second action time, wherein the straight-through state ST and the non-through zero The states are respectively located at the peak and valley positions of the carrier wave, and the pulse widths of the three-phase pulse width modulation signals are represented as T ga , T gb , and T gc ;
以第一个扇区为例,开关周期Ts中的开关状态变化顺序为:V0(000)、V4(100)、V6(110)、直通状态ST、V6(110)、V4(100)、V0(000),或为:V7(111)、V6(110)、V4(100)、直通状态ST、V4(100)、V6(110)、V7(111),相应地,其它每个扇区的控制方法相同。Taking the first sector as an example, the switching state change sequence in the switching period Ts is: V 0 (000), V 4 (100), V 6 (110), through state ST, V 6 (110), V 4 (100), V 0 (000), or: V 7 (111), V 6 (110), V 4 (100), through state ST, V 4 (100), V 6 (110), V 7 ( 111), correspondingly, the control method of each other sector is the same.
其中,所述根第三获取模块包括:Wherein, the third acquisition module of the root includes:
比较单元,用于比较所述三相开关管的脉冲宽度Tas、Tbs、Tcs的大小,获得最大值Tmax、最小值Tmin和中间值Tmid,即Tmin≤Tmid≤Tmax;The comparison unit is used to compare the pulse widths T as , T bs , and T cs of the three-phase switching tubes to obtain the maximum value T max , the minimum value T min and the middle value T mid , that is, T min ≤ T mid ≤ T max ;
选取单元,用于根据所述第一作用时间Tsh和所述最小值Tmin确定偏移量Tf,Tf=Tsh-Tmin;A selection unit, configured to determine an offset T f according to the first action time T sh and the minimum value T min , T f =T sh -T min ;
计算单元,用于根据所述开关周期Ts、所述最大值Tmax和所述偏移量Tf,计算所述第二作用时间T0为:T0=Ts-(Tmax+Tf)。A calculation unit, configured to calculate the second action time T 0 according to the switching period T s , the maximum value T max and the offset T f : T 0 =T s -(T max +T f ).
其中,所述合成模块包括:Wherein, the synthesis module includes:
判断单元,用于比较所述第二作用时间T0与零的大小;a judging unit, configured to compare the second action time T0 with zero;
第一合成单元,用于若T0≥0,根据所述偏移量Tf和所述三相开关管的脉冲宽度Tas、Tbs、Tcs合成三相脉冲宽度调制信号,其中,所述三相脉冲宽度调制信号的脉冲宽度Tga、Tgb、Tgc分别为:The first synthesizing unit is configured to synthesize a three-phase pulse width modulation signal according to the offset T f and the pulse widths T as , T bs , and T cs of the three-phase switching transistors if T 0 ≥ 0, wherein the The pulse widths T ga , T gb , and T gc of the three-phase pulse width modulation signals are respectively:
第二合成单元,用于若T0<0,根据所述开关周期Ts、第一作用时间Tsh和所述三相开关管的脉冲宽度Tas、Tbs、Tcs合成三相脉冲宽度调制信号,其中,所述三相脉冲宽度调制信号的脉冲宽度Tga、Tgb、Tgc分别为:The second synthesis unit is used to synthesize the three-phase pulse width according to the switching period T s , the first action time T sh and the pulse widths T as , T bs , and T cs of the three-phase switching tube if T 0 <0 modulation signal, wherein the pulse widths T ga , T gb , and T gc of the three-phase pulse width modulation signal are:
其中,所述第一获取模块用于根据A、B、C三相电压的电压Va、Vb、Vc、直流母线上的期望电压VDC和开关周期Ts,获得所述三相开关管的脉冲宽度Tas、Tbs、Tcs分别为:Wherein, the first obtaining module is used to obtain the three-phase switch voltage V a , V b , V c of the three-phase voltage A, B, C, the expected voltage V DC on the DC bus, and the switching period T s . The pulse widths T as , T bs , and T cs of the tube are:
其中,还包括:Among them, also include:
采样模块,用于在所述非直通零状态的作用时间内对直流母线电压进行采样,获得直流母线峰值电压。The sampling module is configured to sample the DC bus voltage during the action time of the non-through zero state to obtain the DC bus peak voltage.
实施本发明实施例,通过去掉其中一个非直通零状态,将整个直通状态ST插入该非直通零状态的作用位置,同时,该非直通零状态的作用时间加载至另一个非直通零状态的作用时间上,使得一个开关周期中直通状态ST只出现1次,非直通零状态也只有一个。非直通零状态与直通状态ST一个位于波峰,另一个位于波谷,从而可方便地在直通状态ST的作用时间内采样直流母线电压,直接测量Z源逆变器中直流母线上的峰值电压,进而可直接对母线电压进行控制。Implementing the embodiment of the present invention, by removing one of the non-straight-through zero states, the entire straight-through state ST is inserted into the action position of the non-straight-through zero state, and at the same time, the action time of the non-straight-through zero state is loaded to the action of another non-straight-through zero state In terms of time, the through state ST only appears once in a switching cycle, and there is only one non-through zero state. One of the non-through zero state and the through state ST is located at the peak, and the other is located at the valley, so that the DC bus voltage can be sampled conveniently during the action time of the through state ST, and the peak voltage on the DC bus in the Z source inverter can be directly measured, and then The bus voltage can be directly controlled.
附图说明Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without creative work.
图1是现有技术中提供的一种Z源逆变器的电路原理图;Fig. 1 is the circuit schematic diagram of a kind of Z source inverter provided in the prior art;
图2为现有技术中提供的一种状态矢量示意图;Fig. 2 is a schematic diagram of a state vector provided in the prior art;
图3是本发明实施例提供的一种脉冲宽度调制控制方法的流程示意图;Fig. 3 is a schematic flowchart of a pulse width modulation control method provided by an embodiment of the present invention;
图4是本发明实施例提供的一种状态矢量示意图;Fig. 4 is a schematic diagram of a state vector provided by an embodiment of the present invention;
图5是本发明实施例的一种脉冲宽度调制控制装置的结构示意图;Fig. 5 is a schematic structural diagram of a pulse width modulation control device according to an embodiment of the present invention;
图6是图5中的一种第三获取模块的结构示意图;Fig. 6 is a schematic structural diagram of a third acquisition module in Fig. 5;
图7是图5中的一种合成模块的结构示意图。FIG. 7 is a schematic structural diagram of a synthesis module in FIG. 5 .
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
本发明提供了一种脉冲宽度调制控制方法及装置,将直通状态ST和非直通零状态分别插入载波的波峰和波谷位置,从而可在非直通零状态的作用时间内对直流母线电压进行采样,可直接测量直流母线的峰值电压,从而可直接对母线电压进行电压控制。以下分别对其进行详细描述。The present invention provides a pulse width modulation control method and device, inserting the through state ST and the non-through zero state respectively into the peak and valley positions of the carrier wave, so that the DC bus voltage can be sampled during the action time of the non-through zero state, The peak voltage of the DC bus can be directly measured, so that the voltage control of the bus voltage can be directly performed. Each of them will be described in detail below.
参见图3,图3是本发明实施例提供的一种脉冲宽度调制控制方法的流程示意图,在本发明实施例中,所述控制方法包括以下步骤。Referring to FIG. 3 , FIG. 3 is a schematic flowchart of a pulse width modulation control method provided by an embodiment of the present invention. In the embodiment of the present invention, the control method includes the following steps.
S101:获取开关周期Ts内三相开关管的脉冲宽度,分别表示为Tas、Tbs、Tcs。S101: Obtain the pulse widths of the three-phase switching transistors within the switching period T s , which are denoted as T as , T bs , and T cs respectively.
具体的,根据A、B、C三相电压的电压Va、Vb、Vc、直流母线上的期望电压VDC和开关周期Ts,获得所述三相开关管的脉冲宽度Tas、Tbs、Tcs分别为: Specifically , the pulse widths T as , T bs and T cs are respectively:
其中,直流母线上的期望电压VDC为直流母线的期望峰值电压。Wherein, the expected voltage V DC on the DC bus is the expected peak voltage of the DC bus.
S102:获取所述开关周期内直通状态ST的第一作用时间Tsh。S102: Obtain the first action time T sh of the through state ST in the switching cycle.
当逆变桥处于直通状态ST时,逆变桥上下桥臂中的开关管同时导通,相当于直流母线短路,此时,输入电源给Z源网络的电容进行充电,交流输出端的电压为0。在直通状态ST期间,Z源网络的电容储能使非直通状态下的直流母线的电压峰值增加。具体的,直通状态ST的第一作用时间Tsh可根据实际需要进行设置,本发明实施例对第一作用时间Tsh的取值不做限制。When the inverter bridge is in the straight-through state ST, the switches in the upper and lower bridge arms of the inverter bridge are turned on at the same time, which is equivalent to a short circuit of the DC bus. At this time, the input power charges the capacitor of the Z source network, and the voltage at the AC output terminal is 0. . During the through state ST, the capacitive energy storage of the Z source network increases the voltage peak value of the DC bus in the non-through state. Specifically, the first action time T sh of the through state ST can be set according to actual needs, and the embodiment of the present invention does not limit the value of the first action time T sh .
S103:根据所述脉冲宽度和所述第一作用时间,获取所述开关周期内非直通零状态的第二作用时间T0。S103: According to the pulse width and the first action time, obtain a second action time T 0 of the non-through zero state in the switching period.
Z源逆变器的非直通状态包括6个有效状态V1(001)、V2(010)、V3(011)、V4(100)、V5(101)、V6(110)和2个零状态V0(000)、V7(111),在传统的PWM控制方法中,一个开关周期内包括2个有效状态、2个非直通零状态和直通状态ST。其中,非直通零状态分别插入载波的波峰和波谷,而直通状态ST又分别插入位于波峰和波谷位置的非直通零状态中(如图2所示),在图2中,有效状态为V4(100)和V6(110),一个开关周期中的三相开关管的状态变化为:直通状态ST->零状态000->有效状态100->有效状态110->零状态111->直通状态ST->零状态111->有效状态110->有效状态100->零状态000->直通状态ST。可见在一个开关周期中,直通状态ST出现2次,由于载波频率非常高,因此,导致直流母线电压难以直接采样获得。The non-straight-through states of the Z-source inverter include 6 valid states V1 (001), V2 (010), V3 (011), V4 (100), V5 (101), V6 (110) and 2 zero states V 0 (000), V 7 (111), in the traditional PWM control method, a switching cycle includes 2 active states, 2 non-straight-through zero states and a straight-through state ST. Among them, the non-straight-through zero state is inserted into the peak and valley of the carrier wave respectively, and the straight-through state ST is inserted into the non-straight-through zero state at the peak and valley positions respectively (as shown in Figure 2). In Figure 2, the effective state is V4 ( 100) and V6 (110), the state change of the three-phase switching tube in one switching cycle is: straight-through state ST->zero state 000->valid state 100->valid state 110->zero state 111->through-state ST -> Zero state 111 -> Valid state 110 -> Valid state 100 -> Zero state 000 -> Straight through state ST. It can be seen that in one switching cycle, the through state ST occurs twice, and because the carrier frequency is very high, it is difficult to directly sample the DC bus voltage.
在本发明实施例的PWM控制方法中,去掉其中一个非直通零状态,将整个直通状态ST插入该非直通零状态的作用位置,同时,该非直通零状态的作用时间加载至另一个非直通零状态的作用时间上。例如:图2中的情况采用本发明方法后开关周期中的三相开关管的开关状态变化为:零状态000->有效状态100->有效状态110->直通状态ST->有效状态110->有效状态100->零状态000(如图4所示,图4是本发明实施例提供的一种状态矢量示意图)。可以看出,直通状态ST只出现在载波的波谷位置,非直通零状态只出现在载波的波峰位置。类似的,直通状态ST可以位于波峰位置,而非直通零状态可位于波谷位置,本发明对此不做限制。总而言之,在本发明提供的PWM控制方法中,一个开关周期中直通状态ST只出现1次,在载波的波峰B或波谷A位置,非直通零状态也只有一个,在载波的波谷A或波峰B位置,非直通零状态与直通状态ST分别占据载波的波峰和波谷位置,即一个位于波峰,另一个位于波谷。In the PWM control method of the embodiment of the present invention, one of the non-straight-through zero states is removed, and the entire straight-through state ST is inserted into the active position of the non-straight-through zero state. The action time of the zero state. For example: after the situation in Fig. 2 adopts the method of the present invention, the switching state of the three-phase switching tube in the switching cycle changes to: zero state 000->effective state 100->effective state 110->straight-through state ST->effective state 110- >Valid state 100->Zero state 000 (as shown in FIG. 4 , which is a schematic diagram of a state vector provided by an embodiment of the present invention). It can be seen that the through state ST only appears at the trough position of the carrier, and the non-through zero state only appears at the peak position of the carrier. Similarly, the through state ST may be located at a peak position, and the non-through zero state may be located at a valley position, which is not limited in the present invention. In a word, in the PWM control method provided by the present invention, the through state ST only appears once in one switching cycle, and there is only one non-through zero state at the peak B or valley A position of the carrier, and there is only one non-through zero state at the valley A or peak B of the carrier position, the non-straight-through zero state and the straight-through state ST occupy the peak and valley positions of the carrier wave respectively, that is, one is located at the peak and the other is located at the valley.
具体的,获取非直通零状态的作用时间的方法为:①对所述开关周期Ts内三相开关管的脉冲宽度Tas、Tbs、Tcs进行比较获得最大值Tmax、最小值Tmin和中间值Tmid,即满足Tmin≤Tmid≤Tmax,例如:在第一个扇区中,有Tmin=Tcs,Tmid=Tbs,Tmax=Tas。②根据所述第一作用时间Tsh和所述最小值Tmin确定偏移量Tf,Tf=Tsh-Tmin。③根据所述开关周期Ts、所述最大值Tmax和所述偏移量Tf,计算所述第二作用时间T0为:T0=Ts-(Tmax+Tf)。因此,最终可计算得所述开关周期Ts内非直通零状态的第二作用时间T0为:T0=Ts-Tmax-Tsh+Tmin。Specifically, the method of obtaining the action time of the non-through zero state is as follows: ①Comparing the pulse widths T as , T bs , and T cs of the three-phase switching tubes within the switching period T s to obtain the maximum value T max and the minimum value T min and the intermediate value T mid satisfy T min ≤ T mid ≤ T max , for example: in the first sector, T min =T cs , T mid =T bs , and T max =T as . ② Determine the offset T f according to the first action time T sh and the minimum value T min , T f =T sh -T min . ③ According to the switching period T s , the maximum value T max and the offset T f , the second action time T 0 is calculated as: T 0 =T s -(T max +T f ). Therefore, the second action time T 0 of the non-through zero state in the switching period T s can finally be calculated as: T 0 =T s -T max -T sh +T min .
S104:根据所述开关周期、所述脉冲宽度、所述第一作用时间和所述第二作用时间合成三相脉冲宽度调制信号,其中,所述直通状态ST和所述非直通零状态分别位于载波的波峰和波谷位置。S104: Synthesize a three-phase pulse width modulation signal according to the switching period, the pulse width, the first action time, and the second action time, wherein the through state ST and the non-through zero state are located at The peak and trough positions of the carrier wave.
在所述三相开关管的脉冲宽度上添加同一偏移量Tf并不会改变有效状态的作用时间,因此,对交流输出不会产生影响。为方便说明,本发明实施例以第一个扇区为例,即有效状态为V4(100)、V6(110),未添加偏移量Tf前,有效状态V4(100)的作用时间T1'为:T1'=Tmax-Tmid,有效状态V6(110)的作用时间T2'为:T2'=Tmid-Tmin。添加偏移量Tf后有效状态V4(100)的作用时间T1为:T1=(Tmax+Tf)-(Tmid+Tf)=Tmax-Tmid,有效状态V6(110)的作用时间T2为:T2=(Tmid+Tf)-(Tmin+Tf)=Tmid-Tmin。可以看出,添加偏移量Tf后有效状态V4(100)和有效状态V6(110)的作用时间保持不变。Adding the same offset T f to the pulse width of the three-phase switching tube will not change the action time of the active state, therefore, it will not affect the AC output. For the convenience of description, the embodiment of the present invention takes the first sector as an example, that is, the effective state is V 4 (100), V 6 (110), and before the offset T f is added, the effective state V 4 (100) The action time T 1 ' is: T 1 '=T max -T mid , and the action time T 2 ' of the active state V 6 (110) is: T 2 '=T mid -T min . The action time T 1 of the effective state V 4 (100) after adding the offset T f is: T 1 =(T max +T f )-(T mid +T f )=T max -T mid , the effective state V 6 The action time T 2 of (110) is: T 2 =(T mid +T f )-(T min +T f )=T mid -T min . It can be seen that the action time of the effective state V 4 (100) and the effective state V 6 (110) remains unchanged after adding the offset T f .
因此,在所述三相开关管的脉冲宽度上添加同一偏移量Tf后,得三相PWM信号的脉冲宽度Tga、Tgb、Tgc分别为:Therefore, after adding the same offset T f to the pulse width of the three-phase switching tube, the pulse widths T ga , T gb , and T gc of the three-phase PWM signal are respectively:
其中,偏移量Tf不同,对应不同的PWM控制方法,因此,对偏移量Tf的取值很重要。在现有的规则采样法中,有在现有的空间矢量快速算法中, Wherein, different offsets T f correspond to different PWM control methods, therefore, the value of the offset T f is very important. Among the existing regular sampling methods, there are In the existing space vector fast algorithm,
在本发明实施例中,根据所述第一作用时间Tsh和所述最小值Tmin确定偏移量Tf,选取偏移量Tf=Tsh-Tmin,选取该值,可保证非直通零状态和直通状态ST分别位于载波的顶点B和谷点A位置,即非直通零状态和直通状态ST被有效状态隔离开,且一个开关周期中直通状态ST只出现1次,一个开关周期中也只存在一个非直通零状态,即V0(000)和V7(111)的其中一个。进一步的,根据所述开关周期Ts、所述脉冲宽度Tga、Tgb、Tgc、所述第一作用时间Tsh和所述第二作用时间T0即可合成三相脉冲宽度调制信号,其中,所述直通状态ST和所述非直通零状态分别位于载波的波峰和波谷位置,如图4所示。In the embodiment of the present invention, the offset T f is determined according to the first action time T sh and the minimum value T min , and the offset T f = T sh - T min is selected. Selecting this value can ensure non- The through-zero state and the through-state ST are respectively located at the peak B and valley point A of the carrier, that is, the non-through-zero state and the through-state ST are separated by the active state, and the through-state ST only appears once in one switching cycle, and one switching cycle There is also only one non-straight-through zero state in , that is, one of V0 (000) and V7 (111). Further, a three-phase pulse width modulation signal can be synthesized according to the switching period T s , the pulse widths T ga , T gb , T gc , the first action time T sh and the second action time T 0 , wherein the through state ST and the non-through zero state are respectively located at the peak and valley positions of the carrier wave, as shown in FIG. 4 .
比较所述非直通零状态的第二作用时间T0与零的大小,若T0≥0,则根据所述偏移量Tf和三相开关管的脉冲宽度Tas、Tbs、Tcs获得三相脉冲宽度调制信号的脉冲宽度Tga、Tgb、Tgc分别为:Comparing the second action time T 0 of the non-straight-through zero state with the size of zero, if T 0 ≥ 0, then according to the offset T f and the pulse width T as , T bs , T cs of the three-phase switch tube The pulse widths T ga , T gb , and T gc of the three-phase pulse width modulation signal obtained are:
即which is
相应的,若T0<0,说明所有的零状态时间由直通状态替代还不够,则按过调制原则根据所述开关周期Ts、第一作用时间Tsh和所述三相开关管的脉冲宽度Tas、Tbs、Tcs合成三相脉冲宽度调制信号,获得三相脉冲宽度调制信号的脉冲宽度Tga、Tgb、Tgc分别为:Correspondingly, if T 0 <0, it means that it is not enough to replace all the zero state time by the through state, then according to the principle of overmodulation according to the switching period T s , the first action time T sh and the pulse of the three-phase switching tube The widths T as , T bs , and T cs synthesize three-phase pulse width modulation signals, and the pulse widths T ga , T gb , and T gc of the three-phase pulse width modulation signals are obtained as follows:
以第一个扇区为例,可得开关周期Ts中的开关状态变化顺序为:V0(000)、V4(100)、V6(110)、直通状态ST、V6(110)、V4(100)、V0(000),或为:V7(111)、V6(110)、V4(100)、直通状态ST、V4(100)、V6(110)、V7(111),相应地,其它每个扇区的控制方法相同。Taking the first sector as an example, the sequence of switching state changes in the switching period Ts can be obtained as follows: V 0 (000), V 4 (100), V 6 (110), through state ST, V 6 (110), V 4 (100), V 0 (000), or: V 7 (111), V 6 (110), V 4 (100), through state ST, V 4 (100), V 6 (110), V 7 (111), correspondingly, the control method of each other sector is the same.
作为一种可能的实施方式,该方法还包括:As a possible implementation, the method also includes:
S105:在所述非直通零状态的作用时刻采样直流母线电压,获得直流母线峰值电压。S105: Sampling the DC bus voltage at the action moment of the non-through zero state to obtain the DC bus peak voltage.
由于直通状态ST和非直通零状态分别位于载波的顶点和谷点位置,即直通状态ST和非直通零状态之间被有效状态隔开,且一个开关周期中直通状态只出现一次,参见图4,图4是本发明实施例提供的一种状态矢量示意图。从图中可以看出,开关周期Ts中的开关状态变化顺序为:V0(000)、V4(100)、V6(110)、直通状态ST、V6(110)、V4(100)、V0(000)。由于实际应用中直通占空比都有限(一般小于30%,即直通状态ST的作用时间较短),因此,直通状态ST只集中在载波的波峰B或波谷A中的其中一个位置,假设在载波的波谷A,则直通状态ST集中在以波谷A为中心的小于30%的位置。而在其他70%的位置对应的都是非直通状态,于是,有足够多的时间来采样得到母线峰值电压。优选的,数字信号处理器(DSP,Digital Signal Processor)可以很方便的在三角波的波峰B或波谷A设置发生中断,从而在该处对直流母线进行采样时,直接得到母线峰值电压。Since the through state ST and the non-through zero state are respectively located at the peak and valley positions of the carrier, that is, the through state ST and the non-through zero state are separated by an effective state, and the through state only appears once in a switching cycle, see Figure 4 , FIG. 4 is a schematic diagram of a state vector provided by an embodiment of the present invention. It can be seen from the figure that the switching state change sequence in the switching period Ts is: V 0 (000), V 4 (100), V 6 (110), through state ST, V 6 (110), V 4 (100 ), V 0 (000). Since the through-duty cycle in practical applications is limited (generally less than 30%, that is, the action time of the through-state ST is relatively short), therefore, the through-state ST only concentrates on one of the peak B or valley A of the carrier, assuming that in In the valley A of the carrier wave, the through state ST is concentrated in a position less than 30% centered on the valley A. The other 70% of the positions correspond to the non-through state, so there is enough time to sample and obtain the peak voltage of the bus. Preferably, a digital signal processor (DSP, Digital Signal Processor) can conveniently set an interrupt at the peak B or valley A of the triangular wave, so that when sampling the DC bus at this point, the peak voltage of the bus can be directly obtained.
实施本发明实施例,通过去掉其中一个非直通零状态,将整个直通状态ST插入该非直通零状态的作用位置,同时,该非直通零状态的作用时间加载至另一个非直通零状态的作用时间上,使得一个开关周期中直通状态ST只出现1次,非直通零状态也只有一个。非直通零状态与直通状态ST一个位于波峰,另一个位于波谷,从而可方便地在直通状态ST的作用时间内采样直流母线电压,直接测量Z源逆变器中直流母线上的峰值电压,进而可直接对母线电压进行控制。Implementing the embodiment of the present invention, by removing one of the non-straight-through zero states, the entire straight-through state ST is inserted into the action position of the non-straight-through zero state, and at the same time, the action time of the non-straight-through zero state is loaded to the action of another non-straight-through zero state In terms of time, the through state ST only appears once in a switching cycle, and there is only one non-through zero state. One of the non-through zero state and the through state ST is located at the peak, and the other is located at the valley, so that the DC bus voltage can be sampled conveniently during the action time of the through state ST, and the peak voltage on the DC bus in the Z source inverter can be directly measured, and then The bus voltage can be directly controlled.
参见图5,是本发明实施例的一种脉冲宽度调制控制装置的结构示意图,在本发明实施例中,该PWM控制装置包括:第一获取模块10、第二获取模块20、第三获取模块30和合成模块40。Referring to FIG. 5 , it is a schematic structural diagram of a pulse width modulation control device according to an embodiment of the present invention. In this embodiment of the present invention, the PWM control device includes: a first acquisition module 10 , a second acquisition module 20 , and a third acquisition module 30 and synthesis module 40.
第一获取模块10,用于获取开关周期Ts内三相开关管的脉冲宽度,分别表示为Tas、Tbs、Tcs。The first acquiring module 10 is used to acquire the pulse widths of the three-phase switching transistors in the switching period T s , denoted as T as , T bs , and T cs respectively.
具体的,根据A、B、C三相电压的电压Va、Vb、Vc、直流母线上的期望电压VDC和开关周期Ts,获得所述三相开关管的脉冲宽度Tas、Tbs、Tcs分别为: Specifically , the pulse widths T as , T bs and T cs are respectively:
其中,直流母线上的期望电压VDC为直流母线的期望峰值电压。Wherein, the expected voltage V DC on the DC bus is the expected peak voltage of the DC bus.
第二获取模块,用于获取所述开关周期内直通状态ST的第一作用时间Tsh。The second acquiring module is configured to acquire the first action time T sh of the through state ST in the switching period.
当逆变桥处于直通状态ST时,逆变桥上下桥臂中的开关管同时导通,相当于直流母线短路,此时,输入电源给Z源网络的电容进行充电,交流输出端的电压为0。在直通状态ST期间,Z源网络的电容储能使非直通状态下的直流母线的电压峰值增加。具体的,直通状态ST的第一作用时间Tsh可根据实际需要进行设置,本发明实施例对第一作用时间Tsh的取值不做限制。When the inverter bridge is in the straight-through state ST, the switches in the upper and lower bridge arms of the inverter bridge are turned on at the same time, which is equivalent to a short circuit of the DC bus. At this time, the input power charges the capacitor of the Z source network, and the voltage at the AC output terminal is 0. . During the through state ST, the capacitive energy storage of the Z source network increases the voltage peak value of the DC bus in the non-through state. Specifically, the first action time T sh of the through state ST can be set according to actual needs, and the embodiment of the present invention does not limit the value of the first action time T sh .
第三获取模块30,用于根据所述脉冲宽度和所述第一作用时间,获取所述开关周期内非直通零状态的第二作用时间T0。The third acquisition module 30 is configured to acquire a second action time T 0 of the non-through zero state in the switching cycle according to the pulse width and the first action time.
Z源逆变器的非直通状态包括6个有效状态V1(001)、V2(010)、V3(011)、V4(100)、V5(101)、V6(110)和2个零状态V0(000)、V7(111),在传统的PWM控制方法中,一个开关周期内包括2个有效状态、2个非直通零状态和直通状态ST。其中,非直通零状态分别插入载波的波峰和波谷,而直通状态ST又分别插入位于波峰和波谷位置的非直通零状态中(如图2所示),在图2中,有效状态为V4(100)和V6(110),一个开关周期中的三相开关管的状态变化为:直通状态ST->零状态000->有效状态100->有效状态110->零状态111->直通状态ST->零状态111->有效状态110->有效状态100->零状态000->直通状态ST。可见在一个开关周期中,直通状态ST出现2次,由于载波频率非常高,因此,导致直流母线电压难以直接采样获得。The non-straight-through states of the Z-source inverter include 6 valid states V1 (001), V2 (010), V3 (011), V4 (100), V5 (101), V6 (110) and 2 zero states V 0 (000), V 7 (111), in the traditional PWM control method, a switching cycle includes 2 active states, 2 non-straight-through zero states and a straight-through state ST. Among them, the non-straight-through zero state is inserted into the peak and valley of the carrier wave respectively, and the straight-through state ST is inserted into the non-straight-through zero state at the peak and valley positions respectively (as shown in Figure 2). In Figure 2, the effective state is V4 ( 100) and V6 (110), the state change of the three-phase switching tube in one switching cycle is: straight-through state ST->zero state 000->valid state 100->valid state 110->zero state 111->through-state ST -> Zero state 111 -> Valid state 110 -> Valid state 100 -> Zero state 000 -> Straight through state ST. It can be seen that in one switching cycle, the through state ST occurs twice, and because the carrier frequency is very high, it is difficult to directly sample the DC bus voltage.
在本发明实施例的PWM控制方法中,去掉其中一个非直通零状态,将整个直通状态ST插入该非直通零状态的作用位置,同时,该非直通零状态的作用时间加载至另一个非直通零状态的作用时间上。例如:图2中的情况采用本发明方法后开关周期中的三相开关管的开关状态变化为:零状态000->有效状态100->有效状态110->直通状态ST->有效状态110->有效状态100->零状态000(如图4所示,图4是本发明实施例提供的一种状态矢量示意图)。可以看出,直通状态ST只出现在载波的波谷位置,非直通零状态只出现在载波的波峰位置。类似的,直通状态ST可以位于波峰位置,而非直通零状态可位于波谷位置,本发明对此不做限制。总而言之,在本发明提供的PWM控制方法中,一个开关周期中直通状态ST只出现1次,在载波的波峰B或波谷A位置,非直通零状态也只有一个,在载波的波谷A或波峰B位置,非直通零状态与直通状态ST分别占据载波的波峰和波谷位置,即一个位于波峰,另一个位于波谷。In the PWM control method of the embodiment of the present invention, one of the non-straight-through zero states is removed, and the entire straight-through state ST is inserted into the active position of the non-straight-through zero state. The action time of the zero state. For example: after the situation in Fig. 2 adopts the method of the present invention, the switching state of the three-phase switching tube in the switching cycle changes to: zero state 000->effective state 100->effective state 110->straight-through state ST->effective state 110- >Valid state 100->Zero state 000 (as shown in FIG. 4 , which is a schematic diagram of a state vector provided by an embodiment of the present invention). It can be seen that the through state ST only appears at the trough position of the carrier, and the non-through zero state only appears at the peak position of the carrier. Similarly, the through state ST may be located at a peak position, and the non-through zero state may be located at a valley position, which is not limited in the present invention. In a word, in the PWM control method provided by the present invention, the through state ST only appears once in one switching cycle, and there is only one non-through zero state at the peak B or valley A position of the carrier, and there is only one non-through zero state at the valley A or peak B of the carrier position, the non-straight-through zero state and the straight-through state ST occupy the peak and valley positions of the carrier wave respectively, that is, one is located at the peak and the other is located at the valley.
优选的,第三获取模块30又包括:比较单元301、选取单元302和计算模块303,如图6所示,图6是图5中的一种第三获取模块的结构示意图。比较单元301,用于比较所述三相开关管的脉冲宽度Tas、Tbs、Tcs的大小,获得最大值Tmax、最小值Tmin和中间值Tmid,即Tmin≤Tmid≤Tmax。例如:在第一个扇区中,有Tmin=Tcs,Tmid=Tbs,Tmax=Tas。选取单元302,用于根据所述第一作用时间Tsh和所述最小值Tmin确定偏移量Tf,Tf=Tsh-Tmin。计算模块303,用于根据所述开关周期Ts、所述最大值Tmax和所述偏移量Tf,计算所述第二作用时间T0为:T0=Ts-(Tmax+Tf)。因此,最终可计算得所述开关周期Ts内非直通零状态的第二作用时间T0为:T0=Ts-Tmax-Tsh+Tmin。Preferably, the third acquisition module 30 further includes: a comparison unit 301 , a selection unit 302 and a calculation module 303 , as shown in FIG. 6 , which is a schematic structural diagram of a third acquisition module in FIG. 5 . The comparison unit 301 is used to compare the pulse widths T as , T bs , and T cs of the three-phase switching tubes to obtain the maximum value T max , the minimum value T min and the middle value T mid , that is, T min ≤ T mid ≤ T max . For example: in the first sector, there are T min =T cs , T mid =T bs , T max =T as . The selection unit 302 is configured to determine an offset T f according to the first action time T sh and the minimum value T min , where T f =T sh −T min . Calculation module 303, configured to calculate the second action time T 0 according to the switching period T s , the maximum value T max and the offset T f as: T 0 =T s -(T max + T f ). Therefore, the second action time T 0 of the non-through zero state in the switching period T s can finally be calculated as: T 0 =T s -T max -T sh +T min .
合成模块40,用于根据所述开关周期、所述脉冲宽度、所述第一作用时间和所述第二作用时间合成三相脉冲宽度调制信号,其中,所述直通状态ST和所述非直通零状态分别位于载波的波峰和波谷位置。Synthesis module 40, configured to synthesize a three-phase pulse width modulation signal according to the switching period, the pulse width, the first action time and the second action time, wherein the straight-through state ST and the non-through The zero states are located at the peak and trough positions of the carrier wave, respectively.
在所述三相开关管的脉冲宽度上添加同一偏移量Tf并不会改变有效状态的作用时间,因此,对交流输出不会产生影响。为方便说明,本发明实施例以第一个扇区为例,即有效状态为V4(100)、V6(110),未添加偏移量Tf前,有效状态V4(100)的作用时间T1'为:T1'=Tmax-Tmid,有效状态V6(110)的作用时间T2'为:T2'=Tmid-Tmin。添加偏移量Tf后有效状态V4(100)的作用时间T1为:T1=(Tmax+Tf)-(Tmid+Tf)=Tmax-Tmid,有效状态V6(110)的作用时间T2为:T2=(Tmid+Tf)-(Tmin+Tf)=Tmid-Tmin。可以看出,添加偏移量Tf后有效状态V4(100)和有效状态V6(110)的作用时间保持不变。Adding the same offset T f to the pulse width of the three-phase switching tube will not change the action time of the active state, therefore, it will not affect the AC output. For the convenience of description, the embodiment of the present invention takes the first sector as an example, that is, the effective state is V 4 (100), V 6 (110), and before the offset T f is added, the effective state V 4 (100) The action time T 1 ' is: T 1 '=T max -T mid , and the action time T 2 ' of the active state V 6 (110) is: T 2 '=T mid -T min . The action time T 1 of the effective state V 4 (100) after adding the offset T f is: T 1 =(T max +T f )-(T mid +T f )=T max -T mid , the effective state V 6 The action time T 2 of (110) is: T 2 =(T mid +T f )-(T min +T f )=T mid -T min . It can be seen that the action time of the effective state V 4 (100) and the effective state V 6 (110) remains unchanged after adding the offset T f .
因此,在所述三相开关管的脉冲宽度上添加同一偏移量Tf后,得三相PWM信号的脉冲宽度Tga、Tgb、Tgc分别为:Therefore, after adding the same offset T f to the pulse width of the three-phase switching tube, the pulse widths T ga , T gb , and T gc of the three-phase PWM signal are respectively:
其中,偏移量Tf不同,对应不同的PWM控制方法,因此,对偏移量Tf的取值很重要。在现有的规则采样法中,有在现有的空间矢量快速算法中, Wherein, different offsets T f correspond to different PWM control methods, therefore, the value of the offset T f is very important. Among the existing regular sampling methods, there are In the existing space vector fast algorithm,
在本发明实施例中,根据所述第一作用时间Tsh和所述最小值Tmin确定偏移量Tf,选取偏移量Tf=Tsh-Tmin,选取该值,可保证非直通零状态和直通状态ST分别位于载波的顶点B和谷点A位置,即非直通零状态和直通状态ST被有效状态隔离开,且一个开关周期中直通状态ST只出现1次,一个开关周期中也只存在一个非直通零状态,即V0(000)和V7(111)的其中一个。进一步的,根据所述开关周期Ts、所述脉冲宽度Tga、Tgb、Tgc、所述第一作用时间Tsh和所述第二作用时间T0即可合成三相脉冲宽度调制信号,其中,所述直通状态ST和所述非直通零状态分别位于载波的波峰和波谷位置,如图4所示。In the embodiment of the present invention, the offset T f is determined according to the first action time T sh and the minimum value T min , and the offset T f = T sh - T min is selected. Selecting this value can ensure non- The through-zero state and the through-state ST are respectively located at the peak B and valley point A of the carrier, that is, the non-through-zero state and the through-state ST are separated by the active state, and the through-state ST only appears once in one switching cycle, and one switching cycle There is also only one non-straight-through zero state in , that is, one of V0 (000) and V7 (111). Further, a three-phase pulse width modulation signal can be synthesized according to the switching period T s , the pulse widths T ga , T gb , T gc , the first action time T sh and the second action time T 0 , wherein the through state ST and the non-through zero state are respectively located at the peak and valley positions of the carrier wave, as shown in FIG. 4 .
作为一种可能的实施方式,合成模块40又包括:判断单元401、第一合成单元402和第二合成单元402,参见图7,图7是图5中的一种合成模块的结构示意图。其中,判断单元401,用于比较所述第二作用时间T0与零的大小。第一合成单元402,用于若T0≥0,根据所述偏移量Tf和所述三相开关管的脉冲宽度Tas、Tbs、Tcs合成三相脉冲宽度调制信号,其中,所述三相脉冲宽度调制信号的脉冲宽度Tga、Tgb、Tgc分别为:As a possible implementation manner, the synthesis module 40 further includes: a judging unit 401 , a first synthesis unit 402 and a second synthesis unit 402 , see FIG. 7 , which is a schematic structural diagram of a synthesis module in FIG. 5 . Wherein, the judging unit 401 is configured to compare the second action time T 0 with zero. The first synthesis unit 402 is configured to synthesize a three-phase pulse width modulation signal according to the offset T f and the pulse widths T as , T bs , and T cs of the three-phase switching transistors if T 0 ≥ 0, wherein, The pulse widths T ga , T gb , and T gc of the three-phase pulse width modulation signal are respectively:
即which is
第二合成单元402,用于若T0<0,说明所有的零状态时间由直通状态替代还不够,则按过调制原则根据所述开关周期Ts、第一作用时间Tsh和所述三相开关管的脉冲宽度Tas、Tbs、Tcs合成三相脉冲宽度调制信号,其中,所述三相脉冲宽度调制信号的脉冲宽度Tga、Tgb、Tgc分别为:The second synthesizing unit 402 is used for if T 0 <0, indicating that it is not enough to replace all the zero state time by the through state, then according to the principle of overmodulation according to the switching period T s , the first action time T sh and the three The pulse widths T as , T bs , and T cs of the phase switching tubes synthesize a three-phase pulse width modulation signal, wherein the pulse widths T ga , T gb , and T gc of the three-phase pulse width modulation signal are respectively:
以第一个扇区为例,可得开关周期Ts中的开关状态变化顺序为:V0(000)、V4(100)、V6(110)、直通状态ST、V6(110)、V4(100)、V0(000),或为:V7(111)、V6(110)、V4(100)、直通状态ST、V4(100)、V6(110)、V7(111),相应地,其它每个扇区的控制方法相同。Taking the first sector as an example, the sequence of switching state changes in the switching period Ts can be obtained as follows: V 0 (000), V 4 (100), V 6 (110), through state ST, V 6 (110), V 4 (100), V 0 (000), or: V 7 (111), V 6 (110), V 4 (100), through state ST, V 4 (100), V 6 (110), V 7 (111), correspondingly, the control method of each other sector is the same.
作为一种可能的实施方式,该装置还包括采样模块50,用于在所述非直通零状态的作用时刻采样直流母线电压,获得直流母线峰值电压。As a possible implementation manner, the device further includes a sampling module 50 configured to sample the DC bus voltage at the moment when the non-through zero state is active, to obtain the DC bus peak voltage.
由于直通状态ST和非直通零状态分别位于载波的顶点和谷点位置,即直通状态ST和非直通零状态之间被有效状态隔开,且一个开关周期中直通状态只出现一次,参见图4,图4是本发明实施例提供的一种状态矢量示意图。从图中可以看出,开关周期Ts中的开关状态变化顺序为:V0(000)、V4(100)、V6(110)、直通状态ST、V6(110)、V4(100)、V0(000)。由于实际应用中直通占空比都有限(一般小于30%,即直通状态ST的作用时间较短),因此,直通状态ST只集中在载波的波峰B或波谷A中的其中一个位置,假设在载波的波谷A,则直通状态ST集中在以波谷A为中心的小于30%的位置。而在其他70%的位置对应的都是非直通状态,于是,有足够多的时间来采样得到母线峰值电压。优选的,数字信号处理器(DSP,Digital Signal Processor)可以很方便的在三角波的波峰B或波谷A设置发生中断,从而在该处对直流母线进行采样时,直接得到母线峰值电压。Since the through state ST and the non-through zero state are respectively located at the peak and valley positions of the carrier, that is, the through state ST and the non-through zero state are separated by an effective state, and the through state only appears once in a switching cycle, see Figure 4 , FIG. 4 is a schematic diagram of a state vector provided by an embodiment of the present invention. It can be seen from the figure that the switching state change sequence in the switching period Ts is: V 0 (000), V 4 (100), V 6 (110), through state ST, V 6 (110), V 4 (100 ), V 0 (000). Since the through-duty cycle in practical applications is limited (generally less than 30%, that is, the action time of the through-state ST is relatively short), therefore, the through-state ST only concentrates on one of the peak B or valley A of the carrier, assuming that in In the valley A of the carrier wave, the through state ST is concentrated in a position less than 30% centered on the valley A. The other 70% of the positions correspond to the non-through state, so there is enough time to sample and obtain the peak voltage of the bus. Preferably, a digital signal processor (DSP, Digital Signal Processor) can conveniently set an interrupt at the peak B or valley A of the triangular wave, so that when sampling the DC bus at this point, the peak voltage of the bus can be directly obtained.
实施本发明实施例,通过去掉其中一个非直通零状态,将整个直通状态ST插入该非直通零状态的作用位置,同时,该非直通零状态的作用时间加载至另一个非直通零状态的作用时间上,使得一个开关周期中直通状态ST只出现1次,非直通零状态也只有一个。非直通零状态与直通状态ST一个位于波峰,另一个位于波谷,从而可方便地在直通状态ST的作用时间内采样直流母线电压,直接测量Z源逆变器中直流母线上的峰值电压,进而可直接对母线电压进行控制。Implementing the embodiment of the present invention, by removing one of the non-straight-through zero states, the entire straight-through state ST is inserted into the action position of the non-straight-through zero state, and at the same time, the action time of the non-straight-through zero state is loaded to the action of another non-straight-through zero state In terms of time, the through state ST only appears once in a switching cycle, and there is only one non-through zero state. One of the non-through zero state and the through state ST is located at the peak, and the other is located at the valley, so that the DC bus voltage can be sampled conveniently during the action time of the through state ST, and the peak voltage on the DC bus in the Z source inverter can be directly measured, and then The bus voltage can be directly controlled.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(RandomAccess Memory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented through computer programs to instruct related hardware, and the programs can be stored in a computer-readable storage medium. During execution, it may include the processes of the embodiments of the above-mentioned methods. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM) and the like.
以上所揭露的仅为本发明一种较佳实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。What is disclosed above is only a preferred embodiment of the present invention, and of course it cannot limit the scope of rights of the present invention. Those of ordinary skill in the art can understand all or part of the process of realizing the above embodiments, and according to the rights of the present invention The equivalent changes required still belong to the scope covered by the invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410135786.8A CN103973152B (en) | 2014-04-04 | 2014-04-04 | A kind of pulse width modulation control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410135786.8A CN103973152B (en) | 2014-04-04 | 2014-04-04 | A kind of pulse width modulation control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103973152A CN103973152A (en) | 2014-08-06 |
CN103973152B true CN103973152B (en) | 2016-10-05 |
Family
ID=51242294
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410135786.8A Expired - Fee Related CN103973152B (en) | 2014-04-04 | 2014-04-04 | A kind of pulse width modulation control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103973152B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108599608B (en) * | 2018-05-15 | 2019-09-24 | 湖南沃森电气科技有限公司 | Control device and method for current source inverter |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5155675A (en) * | 1989-11-22 | 1992-10-13 | Mitsubishi Denki Kabushiki Kaisha | Method of controlling an inverter |
CN101083399A (en) * | 2007-05-30 | 2007-12-05 | 东南大学 | Z source power transformation based photovoltaic network inverter |
KR101111439B1 (en) * | 2010-05-28 | 2012-04-06 | 전남대학교산학협력단 | Control Method for Three-phase Z-Source Inverter |
CN102969921A (en) * | 2012-12-19 | 2013-03-13 | 哈尔滨工业大学 | SVPWM (Space Vector Pulse Width Modulation) control method for Z-source inverter |
JP2014050143A (en) * | 2012-08-29 | 2014-03-17 | Toyo Electric Mfg Co Ltd | Z-source inverter |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EE05654B1 (en) * | 2011-02-28 | 2013-04-15 | Tallinna Tehnikaülikool | Method for Generating Lines with Block-Controlled HV or Multi Phase Impedance, Quasi-Impedance, and Transimpedance |
-
2014
- 2014-04-04 CN CN201410135786.8A patent/CN103973152B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5155675A (en) * | 1989-11-22 | 1992-10-13 | Mitsubishi Denki Kabushiki Kaisha | Method of controlling an inverter |
CN101083399A (en) * | 2007-05-30 | 2007-12-05 | 东南大学 | Z source power transformation based photovoltaic network inverter |
KR101111439B1 (en) * | 2010-05-28 | 2012-04-06 | 전남대학교산학협력단 | Control Method for Three-phase Z-Source Inverter |
JP2014050143A (en) * | 2012-08-29 | 2014-03-17 | Toyo Electric Mfg Co Ltd | Z-source inverter |
CN102969921A (en) * | 2012-12-19 | 2013-03-13 | 哈尔滨工业大学 | SVPWM (Space Vector Pulse Width Modulation) control method for Z-source inverter |
Non-Patent Citations (1)
Title |
---|
Z-Source Inverter;Fang Zheng Peng et al.;《IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS》;20030430;第39卷(第2期);第504-510页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103973152A (en) | 2014-08-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103746584B (en) | Based on the multi-electrical level inverter neutral-point voltage balance method of carrier offset | |
CN103427666B (en) | A kind of carrier modulating method of dual stage matrix converter | |
TW201513552A (en) | Inverter device | |
EP3261247A1 (en) | Power conversion device | |
CN104578134B (en) | Tracking method and tracking system for maximum power point | |
CN102684542A (en) | Method for generating three-phase pulse width modulation (PWM) by adopting quasi-sinusoidal flat modulating wave | |
CN105226985B (en) | Based on three equivalent level dead-zone compensation methods of current phasor | |
CN104702139B (en) | SVPWAM control method for three-phase Z-source inverter | |
CN103684031A (en) | Current hysteresis control digital implementation system for PWM rectifier | |
CN107064698A (en) | Voltage dip simulation system and method | |
CN105071390B (en) | Control method of H-bridge three-level active power filter and system | |
WO2023123676A1 (en) | Single-resistor measurement method, electric motor control method, electric motor controller, and electric motor control system | |
EP3591827A1 (en) | Power supply control device, power conversion system, and power supply control method | |
CN103997249A (en) | Method for controlling distributed power grid-connected inverter | |
CN106712533A (en) | Modulated wave control method and three-phase three-wire three-level circuit | |
CN104201923B (en) | Three-phase four-arm isolated form inverter control method | |
CN103973152B (en) | A kind of pulse width modulation control method and device | |
CN108322074B (en) | A SVPWM modulation method of cascaded two-level inverters based on dodecagonal space voltage vector | |
KR101434849B1 (en) | Method for switching element turn-over and pwm of vector control using three phase tnpc 3level converter and inverter | |
CN106597059A (en) | Current sampling method of inverter circuit | |
CN103532170A (en) | Fixed control method for switching period for grid-connected current hysteresis control algorithm | |
EP3176936B1 (en) | Method and device for controlling vienna-like three-level circuit | |
WO2019049713A1 (en) | Power conversion device and method for controlling same | |
CN106329967B (en) | PWM rectifier model prediction method and apparatus based on fixed vector synthesis | |
CN112311269B (en) | Dead zone compensation method and device, inverter and vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20161005 Termination date: 20180404 |
|
CF01 | Termination of patent right due to non-payment of annual fee |