Frequency multiplication single resistance current sampling method and device thereof

文档序号:1859914 发布日期:2021-11-19 浏览:13次 中文

阅读说明:本技术 倍频单电阻电流采样方法及其装置 (Frequency multiplication single resistance current sampling method and device thereof ) 是由 李柏松 陈伟 成爱军 时迎亮 李武君 于 2021-07-22 设计创作,主要内容包括:本发明公开了一种倍频单电阻电流采样方法及其装置,该方法包括以下步骤:a、对PWM控制算法计算出的三相占空比进行调整,获得调整后的三相占空比;b、根据调整后的三相占空比计算电流采样时刻t-(s1)、t-(s2)、t-(s3)和t-(s4);c、按照调整后的三相占空比输出三相电压;d、在电流采样时刻t-(s1)、t-(s2)、t-(s3)和t-(s4)进行电流采样,根据电流采样结果分别重构出载波周期的前半个周期和后半个周期的三相电流,进而获得载波周期的三相平均电流。本发明可以提高单电阻电流采样方法的电流采样精度。(The invention discloses a frequency multiplication single-resistor current sampling method and a device thereof, wherein the method comprises the following steps: a. adjusting the three-phase duty ratio calculated by the PWM control algorithm to obtain the adjusted three-phase duty ratio; b. calculating current sampling time t according to the adjusted three-phase duty ratio s1 、t s2 、t s3 And t s4 (ii) a c. Outputting three-phase voltage according to the adjusted three-phase duty ratio; d. at the current sampling time t s1 、t s2 、t s3 And t s4 And carrying out current sampling, and respectively reconstructing three-phase currents of the first half period and the second half period of the carrier period according to current sampling results so as to obtain the three-phase average current of the carrier period. The invention can improve the current sampling precision of the single-resistor current sampling method.)

1. A frequency multiplication single resistance current sampling method is characterized by comprising the following steps:

a. three-phase duty ratio D [ a ] calculated by PWM control algorithm]、D[b]、D[c]Adjusting to obtain the adjusted three-phase duty ratio D1[a]、D1[b]、D1[c]And D2[a]、D2[b]、D2[c](ii) a Wherein D is1[a]、D1[b]、D1[c]Three-phase duty cycle, D, being one of the first half or the second half of the carrier cycle2[a]、D2[b]、D2[c]A three-phase duty cycle that is the other of the first half cycle or the second half cycle of the carrier cycle;

b. calculating current sampling time t according to the adjusted three-phase duty ratios1、ts2、ts3And ts4

c. Outputting three-phase voltage according to the adjusted three-phase duty ratio;

d. at the current sampling time ts1、ts2、ts3And ts4And respectively carrying out current sampling, and respectively reconstructing three-phase currents of the first half period and the second half period of the carrier period according to current sampling results so as to obtain the three-phase average current of the carrier period.

2. The frequency-doubled single-resistor current sampling method according to claim 1, wherein step a comprises:

a1, three-phase duty ratio D [ a ] calculated by PWM control algorithm]、D[b]、D[c]Sorting according to the size sequence to obtain the maximum value DmaxMiddle value DmidMinimum value DminAnd recording the maximum value DmaxMiddle value DmidAnd a minimum value DminIf the corresponding phase is a phase a, a phase b or a phase c, making Max represent the serial number of the phase corresponding to the maximum value of the duty ratio, Mid represent the serial number of the phase corresponding to the intermediate value of the duty ratio, and Min represent the serial number of the phase corresponding to the minimum value of the duty ratio; when the three-phase duty ratios are equal, firstly, appointing any one-phase duty ratio as a maximum value, then appointing any one-phase duty ratio in the rest two-phase duty ratios as an intermediate value, and appointing the rest one-phase duty ratio as a minimum value; when the two-phase duty ratios are equal, designating any one phase of the equal two-phase duty ratios as a large value and designating the other phase of the equal two-phase duty ratios as a small value;

a2, calculation DmaxAnd DmidDifference D ofxdAnd DmidAnd DminDifference D ofdn

Wherein D ismax、DmidAnd DminAre respectively the three-phase duty ratio D [ a ]]、D[b]、D[c]Maximum, intermediate and minimum values of;

a3, according to DxdAnd DdnObtaining a first temporary calculated variable Dxd1A second temporary calculated variable Ddn1A third temporary calculated variable Dxd2And a fourth temporary calculated variable Ddn2

In the above formula,. DELTA.DxdAnd Δ DdnAre respectively DxdAnd DdnAdjustment of (D), Δ DxdAnd Δ DdnThe value taking mode is as follows: in the following six groups Δ DxdAnd Δ DdnSix groups of delta D solved by the calculation formulaxdAnd Δ DdnIn (1), selecting Δ DxdAnd Δ DdnThe set of solutions with the smallest sum is used as the actual Δ DxdAnd Δ Ddn

The six formulas are respectively as follows:

wherein D isTs=Ts2/T, wherein T is a carrier period, and Ts is a preset minimum sampling window; the functions fun1() and fun2() are defined as follows:

for D calculated by the above formulaxd1、Ddn1、Dxd2、Ddn2The final D is obtained by limiting according to the following limiting rulexd1、Ddn1、Dxd2、Ddn2

If D isxd1And Ddn1Sum greater than 1, Dxd1And Ddn1Is unchanged for the smaller of Dxd1And Ddn1The larger of which becomes 1 minus the smaller;

if D isxd2And Ddn2Sum greater than 1, Dxd2And Ddn2Is unchanged for the smaller of Dxd2And Ddn2The larger of which becomes 1 minus the smaller;

a4, according to Dxd1、Ddn1And Dxd2、Ddn2Calculate D1[a]、D1[b]、D1[c]And D2[a]、D2[b]、D2[c]:

Wherein D isz1Has a value range of [0, 1-Dxd1-Ddn1];Dz2Has a value range of [0, 1-Dxd2-Ddn2](ii) a The definition of function sign1() and function sign2() are shown as follows:

3. the frequency-doubled single-resistor current sampling method of claim 2, wherein D is1[a]、D1[b]、D1[c]Three-phase duty cycle being the first half of the carrier cycle, D2[a]、D2[b]、D2[c]The three-phase duty cycle of the latter half of the carrier period.

4. The frequency-doubling single-resistor current sampling method according to claim 3, wherein in the step b, the current sampling time t is calculated according to the adjusted three-phase duty ratios1、ts2,ts3And ts4The process of (2) is as follows:

b1, calculating the current sampling time t of the first half carrier periods1And ts2

Three-phase duty ratio D of the first half carrier period1[a]、D1[b]、D1[c]Sorting according to the size sequence to obtain the maximum value Dmax1Middle value Dmid1Minimum value Dmin1And recording the maximum value Dmax1Middle value Dmid1And a minimum value Dmin1The corresponding phase is a phase, b phase or c phase, and Max is ordered1Representative duty cycleNumber of phase corresponding to maximum value, Mid1Number, Min, representing phase of duty cycle median1Representing the serial number of the corresponding phase of the minimum value of the duty ratio; current sampling time ts1And ts2Calculated from the following formula:

b2, calculating current sampling time t of the second half carrier wave periods3And ts4

Three-phase duty ratio D of the second half carrier period2[a]、D2[b]、D2[c]Sorting according to the size sequence to obtain the maximum value Dmax2Middle value Dmid2Minimum value Dmin2And recording the maximum value Dmax2Middle value Dmid2And a minimum value Dmin2The corresponding phase is a phase, b phase or c phase, and Max is ordered2Number, Mid, representing the phase corresponding to the maximum value of the duty cycle2Number, Min, representing phase of duty cycle median2Representing the serial number of the corresponding phase of the minimum value of the duty ratio; current sampling time ts3And ts4Calculated from the following formula:

5. the frequency-doubled single-resistor current sampling method according to claim 3 or 4, wherein in the first half of the carrier period, when the time t is less than (1-D)1[x]) When T/2, the x phase outputs low level, otherwise, high level is output; in the latter half of the carrier period, when the time t is less than (1+ D)2[x]) When T/2, the x phase outputs high level, otherwise, the x phase outputs low level; d1[x]Represents D1[a]、D1[b]And D1[c],D2[x]Represents D2[a]、D2[b]And D2[c]。

6. The frequency-doubling single-resistor current sampling method according to claim 2, wherein in the step d, reconstructing three-phase currents of a first half period and a second half period of a carrier period respectively according to the current sampling result, and further obtaining a three-phase average current of the carrier period comprises the following steps:

calculating three-phase current I of the first half of the carrier period1[a]、I1[b]And I1[c]:

Calculating three-phase current I of the latter half period of the carrier period2[a]、I2[b]And I2[c]:

Calculating three-phase average currents Ia, Ib and ic of the carrier period:

wherein, Idc1、Idc2、Idc3And Idc4Are each at ts1、ts2、ts3And ts4And sampling the obtained bus current at any time.

7. A frequency-doubling single-resistor current sampling device is characterized by comprising:

a memory for storing a program;

a processor for loading the program to perform the frequency multiplying single resistance current sampling method according to any one of claims 1 to 6.

Technical Field

The invention relates to a single-resistor current sampling technology.

Background

The inverter is typically a three-phase output used to control a three-phase ac motor. The frequency converter generally needs three-phase current signals to realize motor control, and simultaneously, the frequency converter and the motor are protected according to the three-phase current signals. There are many ways to obtain three-phase current signals, and obtaining current signals through sampling resistors is a common current sampling way. According to the number of the sampling resistors, the current sampling method can be divided into three-resistor current sampling, two-resistor current sampling and single-resistor current sampling, wherein the hardware cost of the single-resistor current sampling is the lowest. When the requirement on the system cost is high, single resistance current sampling is a good choice.

The single-resistor current sampling is to collect the bus current, and then the three-phase current is obtained in a reconstruction mode. In order to ensure that three-phase current can be accurately obtained, a single-resistor current sampling method has certain requirements on a sampling window and sampling time, and in order to meet the requirements, only one group of current signals are generally collected in one carrier period in the prior art, namely the current sampling frequency is the same as the carrier frequency, which also causes low current signal sampling precision.

Disclosure of Invention

The invention aims to provide a frequency-doubling single-resistor current sampling method, which can sample two groups of current signals in one carrier period and improve the current sampling frequency and the current sampling precision.

The invention provides a frequency multiplication single-resistor current sampling device.

The embodiment of the invention provides a frequency multiplication single-resistor current sampling method, which comprises the following steps:

a. three-phase duty ratio D [ a ] calculated by PWM control algorithm]、D[b]、D[c]Adjusting to obtain the adjusted three-phase duty ratio D1[a]、D1[b]、D1[c]And D2[a]、D2[b]、D2[c](ii) a Wherein D is1[a]、D1[b]、D1[c]Three-phase duty cycle, D, being one of the first half or the second half of the carrier cycle2[a]、D2[b]、D2[c]A three-phase duty cycle that is the other of the first half cycle or the second half cycle of the carrier cycle;

b. calculating current sampling time t according to the adjusted three-phase duty ratios1、ts2、ts3And ts4

c. Outputting three-phase voltage according to the adjusted three-phase duty ratio;

d. at the current sampling time ts1、ts2、ts3And ts4And respectively carrying out current sampling, and respectively reconstructing three-phase currents of the first half period and the second half period of the carrier period according to current sampling results so as to obtain the three-phase average current of the carrier period.

The invention also provides a frequency multiplication single-resistor current sampling device, which comprises: a memory for storing a program; and the processor is used for loading the program to execute the frequency multiplication single-resistor current sampling method.

According to the frequency multiplication single-resistor current sampling method and the frequency multiplication single-resistor current sampling device, two groups of current signals can be sampled in one carrier period, and then three-phase average current of the carrier period can be obtained, so that the current sampling precision of the single-resistor current sampling method is improved.

Drawings

Fig. 1 shows a schematic flow diagram of a frequency-doubling single-resistor current sampling method according to an embodiment of the present invention.

Fig. 2 shows a schematic diagram of four sampling instants according to an embodiment of the invention.

FIG. 3 shows a schematic diagram of a single phase voltage output at a regulated duty cycle according to an embodiment of the present invention.

Detailed Description

Please refer to fig. 1. According to the frequency multiplication single-resistor current sampling method provided by the embodiment of the invention, the bus current is sampled through the sampling resistor arranged on the bus of the three-phase inverter circuit, and the method comprises the following steps:

a. three-phase duty ratio D [ a ] calculated by PWM control algorithm]、D[b]、D[c]Adjusting to obtain the adjusted three-phase duty ratio D1[a]、D1[b]、D1[c]And D2[a]、D2[b]、D2[c](ii) a Wherein D is1[a]、D1[b]、D1[c]Is one of the first half period or the second half period of the carrier wave periodThree-phase duty cycle of D2[a]、D2[b]、D2[c]A three-phase duty cycle that is the other of the first half cycle or the second half cycle of the carrier cycle;

b. calculating current sampling time t according to the adjusted three-phase duty ratios1、ts2、ts3And ts4

c. Outputting three-phase voltage according to the adjusted three-phase duty ratio;

d. at the current sampling time ts1、ts2、ts3And ts4And respectively carrying out current sampling, and respectively reconstructing three-phase currents of the first half period and the second half period of the carrier period according to current sampling results so as to obtain the three-phase average current of the carrier period.

The frequency multiplication single-resistor current sampling method comprises the following steps:

a1, three-phase duty ratio D [ a ] calculated by PWM control algorithm]、D[b]、D[c]Sorting according to the size sequence to obtain the maximum value DmaxMiddle value DmidMinimum value DminAnd recording the maximum value DmaxMiddle value DmidAnd a minimum value DminIf the corresponding phase is a phase a, a phase b or a phase c, making Max represent the serial number of the phase corresponding to the maximum value of the duty ratio, Mid represent the serial number of the phase corresponding to the intermediate value of the duty ratio, and Min represent the serial number of the phase corresponding to the minimum value of the duty ratio; when the three-phase duty ratios are equal, firstly, appointing any one-phase duty ratio as a maximum value, then appointing any one-phase duty ratio in the rest two-phase duty ratios as an intermediate value, and appointing the rest one-phase duty ratio as a minimum value; when the two-phase duty ratios are equal, designating any one phase of the equal two-phase duty ratios as a large value and designating the other phase of the equal two-phase duty ratios as a small value;

a2, calculation DmaxAnd DmidDifference D ofxdAnd DmidAnd DminDifference D ofdn

Wherein D ismax、DmidAnd DminAre respectively the three-phase duty ratio D [ a ]]、D[b]、D[c]Maximum, intermediate and minimum values of;

a3, according to DxdAnd DdnObtaining a first temporary calculated variable Dxd1A second temporary calculated variable Ddn1A third temporary calculated variable Dxd2And a fourth temporary calculated variable Ddn2

In the above formula,. DELTA.DxdAnd Δ DdnAre respectively DxdAnd DdnAdjustment of (D), Δ DxdAnd Δ DdnThe value taking mode is as follows: in the following six groups Δ DxdAnd Δ DdnSix groups of delta D solved by the calculation formulaxdAnd Δ DdnIn (1), selecting Δ DxdAnd Δ DdnThe set of solutions with the smallest sum is used as the actual Δ DxdAnd Δ Ddn

The six formulas are respectively as follows:

wherein D isTs=Ts2/T, wherein T is a carrier period, and Ts is a preset minimum sampling window; the functions fun1() and fun2() are defined as follows:

for D calculated by the above formulaxd1、Ddn1、Dxd2、Ddn2The final D is obtained by limiting according to the following limiting rulexd1、Ddn1、Dxd2、Ddn2

If D isxd1And Ddn1Sum greater than 1, Dxd1And Ddn1Is unchanged for the smaller of Dxd1And Ddn1The larger of which becomes 1 minus the smaller;

if D isxd2And Ddn2Sum greater than 1, Dxd2And Ddn2Is unchanged for the smaller of Dxd2And Ddn2The larger of which becomes 1 minus the smaller;

a4, according to Dxd1、Ddn1And Dxd2、Ddn2Calculate D1[a]、D1[b]、D1[c]And D2[a]、D2[b]、D2[c]:

Wherein D isz1Has a value range of [0, 1-Dxd1-Ddn1];Dz2Has a value range of [0, 1-Dxd2-Ddn2](ii) a The definition of function sign1() and function sign2() are shown as follows:

the working process of the frequency-doubling single-resistor current sampling method of the present invention is further described with reference to a specific embodiment.

According to the embodiment, the three-phase duty ratio calculated by the PWM control algorithm is firstly adjusted, then the time of four times of current sampling is calculated, and finally three-phase currents of the first half carrier period and the second half carrier period are respectively reconstructed according to the bus current obtained by sampling, so that the three-phase average current of the carrier period is obtained. The frequency multiplication single-resistance current sampling method of the embodiment is applied to a frequency converter, the carrier period of the frequency converter is T, and the minimum sampling window is TsA PWM control algorithm for controlling the operation of the motor and a sampling algorithm are performed once per carrier period. In this embodiment, the duty ratios of the a-phase, the b-phase and the c-phase are all zero. The specific steps of this example are as follows:

step a, calculating the three-phase duty ratio D [ a ] of the PWM control algorithm]、D[b]、D[c]Adjusting to obtain the adjusted three-phase duty ratio D1[a]、D1[b]、D1[c]And D2[a]、D2[b]、D2[c](ii) a Step a further comprises:

a1, calculating the three-phase duty ratio D [ a ] by PWM control algorithm]、D[b]、D[c]Sorting according to the size sequence to obtain the maximum value DmaxMiddle value DmidMost preferablySmall value of DminAnd recording whether the phase corresponding to the maximum value, the intermediate value and the minimum value is a phase, b phase or c phase. Max represents the serial number of the phase corresponding to the maximum value of the duty ratio, Mid represents the serial number of the phase corresponding to the intermediate value of the duty ratio, Min represents the serial number of the phase corresponding to the minimum value of the duty ratio, the values of Max, Mid and Min are all a, b or c, and a, b and c are the serial numbers of the phase a, the phase b and the phase c respectively. In this embodiment, before the adjustment, since the duty ratios of the a-phase, the b-phase and the c-phase are all zero, D ismax=0、Dmid=0、DminMax ═ a, Mid ═ b, and Min ═ c. Note that Max denotes that the a-phase duty ratio is the maximum before adjustment, and Max stores the number of the phase corresponding to the maximum duty ratio before adjustment, but the a-phase duty ratio after adjustment (i.e., D to be described later)1[a]And D2[a]) May no longer be the maximum. Mid and Min are similar to the meaning of b and c.

a2, calculation DmaxAnd DmidDifference D ofxdAnd DmidAnd DminDifference D ofdn,DxdAnd DdnCalculated according to the following formula:

a3, according to DxdAnd DdnObtaining a first temporary calculated variable Dxd1A second temporary calculated variable Ddn1A third temporary calculated variable Dxd2Fourth temporary calculated variable Ddn2;Dxd1、Ddn1And Dxd2、Ddn2The following formula was used for calculation:

in the above formula,. DELTA.DxdAnd Δ DdnAre respectively DxdAnd DdnThe amount of adjustment of (a). Delta DxdAnd Δ DdnThere are six possibilities for taking values, which are shown below:

wherein D isTs=Ts2/T, wherein T is a carrier period, and Ts is a preset minimum sampling window; the functions fun1() and fun2() are defined as follows:

six groups of delta D can be solved according to the six groups of formulasxdAnd Δ DdnSelecting Δ DxdAnd Δ DdnThe set of solutions with the smallest sum is used as the actual Δ DxdAnd Δ DdnI.e. the last group, to obtain Dxd1、Ddn1And Dxd2、Ddn2

Calculate Dxd1、Ddn1And Dxd2、Ddn2Then, the pair D is also requiredxd1、Ddn1And Dxd2、Ddn2Limiting according to the following limiting rule to obtain the final Dxd1、Ddn1、Dxd2、Ddn2

If D isxd1And Ddn1The sum is greater than 1, then Dxd1And Ddn1Is unchanged for the smaller of Dxd1And Ddn1The larger of which becomes 1 minus the smaller (1-smaller);

if D isxd2And Ddn2The sum is greater than 1, then Dxd2And Ddn2Is unchanged for the smaller of Dxd2And Ddn2The larger of which becomes 1 minus the smaller (the larger is 1-smaller).

a4, according to Dxd1、Ddn1And Dxd2、Ddn2Calculate D1[a]、D1[b]、D1[c]And D2[a]、D2[b]、D2[c];D1[a]、D1[b]、D1[c]Obtained by the following formula:

in the above formula, Dz1Has a value range of [0, 1-Dxd1-Ddn1]I.e. Dz1Is 0, 1-Dxd1-Ddn1Or 0 and 1-Dxd1-Ddn1Any value in between.

D2[a]、D2[b]、D2[c]Obtained by the following formula:

in the above formula, Dz2Has a value range of [0, 1-Dxd2-Ddn2]I.e. Dz2Is 0, 1-Dxd2-Ddn2Or 0 and 1-Dxd2-Ddn2Any value in between.

Step b, calculating current sampling time t according to the adjusted three-phase duty ratios1、ts2,ts3And ts4

Firstly, calculating the current sampling time t of the first half carrier periods1And ts2

Three-phase duty ratio D of the first half carrier period1[a]、D1[b]、D1[c]Sorting according to the size sequence to obtain the maximum value Dmax1Middle value Dmid1Minimum value Dmin1And recording the maximum value Dmax1Middle value Dmid1And a minimum value Dmin1The corresponding phase is a phase, b phase or c phase, and Max is ordered1Number, Mid, representing the phase corresponding to the maximum value of the duty cycle1Number, Min, representing phase of duty cycle median1Representing the serial number of the corresponding phase of the minimum value of the duty ratio; max (maximum of ten)1、Mid1And Min1The value is a, b or c, and the a, b and c are respectively the serial numbers of the a phase, the b phase and the c phase. Can obtain Dmax1=D1[a]、Dmid1=D1[b]、Dmin1=D1[c]、Max1=a、Mid1=b、Min1=c。

ts1And ts2Can be calculated from the following formula.

Then calculating the current sampling time t of the second half carrier periods3And ts4

Three-phase duty ratio D of the second half carrier period2[a]、D2[b]、D2[c]Sorting according to the size sequence to obtain the maximum value Dmax2Middle value Dmid2Minimum value Dmin2And is combined withRecord the maximum value Dmax2Middle value Dmid2And a minimum value Dmin2The corresponding phase is a phase, b phase or c phase, and Max is ordered2Number, Mid, representing the phase corresponding to the maximum value of the duty cycle2Number, Min, representing phase of duty cycle median2Number, Max, representing phase corresponding to minimum value of duty ratio2、Mid2And Min2The value is a, b or c, and the a, b and c are respectively the serial numbers of the a phase, the b phase and the c phase. Can obtain Dmax2=D2[c]、Dmid2=D2[b]、Dmin2=D2[a]、Max2=c、Mid2=b、Min2A. Current sampling time ts3And ts4Calculated from the following formula.

Fig. 2 shows a schematic diagram of four sampling instants according to a first embodiment of the present invention, where 0 in fig. 2 represents the start instant of a carrier period.

And c, outputting the three-phase voltage according to the adjusted three-phase duty ratio. According to D in the first half of the carrier period1[a]、D1[b]、D1[c]Outputting three-phase voltage according to D in the latter half period of the carrier wave period2[a]、D2[b]、D2[c]And outputting three-phase voltage.

For simplicity of description, x represents a, b, c, by D1[x]Represents D1[a]、D1[b]、D1[c]By D2[x]Represents D2[a]、D2[b]、D2[c]. In the first half of the carrier period, when time t is less than (1-D)1[x]) When T/2, the x phase outputs low level, otherwise, high level is output; in the latter half of the carrier period, when the time t is less than (1+ D)2[x]) And T/2, outputting high level by the x phase, and otherwise, outputting low level. Fig. 3 is a schematic diagram illustrating a single-phase voltage output according to an adjusted duty ratio according to an embodiment of the present invention. 0 in FIG. 3 represents the start of the carrier cycle, in this embodiment, the sampling algorithm cycle andthe carrier period is the same, and 0 is also the starting time of the sampling algorithm period. The time t mentioned above is the time within the current sampling algorithm period.

Step d, current sampling time t in carrier periods1、ts2、ts3And ts4Respectively sampling to obtain bus current Idc1、Idc2、Idc1And Idc2And respectively reconstructing three-phase currents of the first half period and the second half period of the carrier period according to the bus current obtained by sampling, and further obtaining the three-phase average current of the carrier period.

The three-phase currents in the first half of the wave period are respectively I1[a]、I1[b]And I1[c],I1[a]、I1[b]And I1[c]Obtained by the following formula:

the three-phase currents in the latter half of the wave period are respectively I2[a]、I2[b]And I2[c],I2[a]、I2[b]And I2[c]Obtained by the following formula.

The three-phase average currents Ia, Ib and ic of the carrier period are obtained by the following formula.

According to the embodiment of the invention, firstly, the three-phase duty ratio calculated by the PWM control algorithm is adjusted, then the time of four times of current sampling is calculated, and finally, three-phase currents of front and back half carrier periods are respectively reconstructed according to the bus current obtained by sampling, so that the three-phase average current of the carrier period is obtained. In the embodiment of the invention, the duty ratio of the first half period and the duty ratio of the second half period of each carrier wave period can be exchanged, and after the exchange, the sampling time and the calculation formula of current reconstruction are correspondingly modified to realize single-resistor current sampling, and a specific formula is not given here.

In the embodiment of the present invention, when the voltage is output, the polarity of the level may be changed. If the high level is changed into the low level, and the low level is changed into the high level, the same voltage can be ensured to be output only by adjusting the original duty ratio (the value of the original duty ratio is changed into 1 and the value is subtracted), at the moment, the single-resistance current sampling can be realized by correspondingly modifying the sampling time and the calculation formula of current reconstruction, and a specific formula is not given here.

Still another embodiment of the present invention further provides a frequency-doubled single-resistor current sampling apparatus, which includes a memory and a processor. The memory is used for storing programs; the processor is used for loading the program to execute the frequency multiplication single-resistance current sampling method.

According to the frequency multiplication single-resistance current sampling method and the frequency multiplication single-resistance current sampling device, two groups of current signals can be sampled in one carrier period, and then three-phase average current of the carrier period can be obtained, so that the current sampling precision of the single-resistance current sampling method is improved, and further control over a three-phase motor and protection over a motor driving device (such as a frequency converter and the like) and the motor are achieved.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:电压测量装置和方法

网友询问留言

已有0条留言

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

精彩留言,会给你点赞!