A dual-phase current correction method for single DC bus sensor

By adopting a dual correction method in a single DC bus sensor, using opposite vectors and dynamic in-phase current sampling, the problems of zero point drift and phase delay error are solved, the current reconstruction accuracy is improved, and higher detection accuracy and stability are achieved.

CN113783489BActive Publication Date: 2024-09-27ZHENGZHOU UNIVERSITY OF LIGHT INDUSTRY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110965690.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-23
Publication Date
2024-09-27
Estimated Expiration
2041-08-23

AI Technical Summary

Technical Problem

Single DC bus sensors have zero-point drift errors during the current reconstruction process, which results in reduced current reconstruction accuracy. Existing error correction methods are computationally intensive or cannot eliminate measurement errors caused by sensor inconsistency.

Method used

The double correction method is used to generate a PWM waveform containing an opposite vector through vector control, perform dynamic current double sampling for zero drift correction, and calculate phase delay compensation through two dynamic in-phase current samplings to ensure consistent sampling times and reduce errors.

Benefits of technology

It effectively eliminates about 50% of the zero-point drift error, improves the detection accuracy of phase current, reduces the distortion rate, and provides an important guarantee for the vector control system of the motor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113783489B
    Figure CN113783489B
Patent Text Reader

Abstract

The purpose of the present invention is to provide a single DC bus sensor phase current double correction method for reducing reconstruction error and distortion rate; the zero drift caused by single sensor sampling is compensated by screening complementary vectors with opposite vectors without inserting redundant vectors through dynamic current double sampling; the slope is predicted by dynamically sampling the same phase current twice to calculate the current value with the same time and phase as the second sampling, so as to complete the phase error compensation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of single DC bus sensor error correction, and in particular relates to a single DC bus sensor phase current double correction method. Background Art

[0002] Three-phase full-bridge inverter circuits are widely used in variable speed AC motor drives, uninterruptible power supplies, and renewable energy interfaces. Real-time current information is crucial for the drive control of permanent magnet synchronous motors. Phase current information is contained in the DC bus current information. Phase current reconstruction by sampling the DC bus is based on this. Single-sensor DC bus sampling technology has the advantages of low cost, small size, and can reduce current errors caused by inconsistent parameters of multiple current sensors. However, due to the use of a set of current sensors and signal processing circuits, their zero drift error will expand to all phase currents, thereby affecting the current reconstruction accuracy. The errors in the single current sensor DC bus phase current reconstruction path are such as Figure 1 In-depth analysis of the generation mechanism of the error magnification effect of a single current sensor, development of methods such as zero drift correction strategy, elimination of the influence of the error magnification effect on current reconstruction, and realization of self-detection and self-correction of zero drift error are the keys to improving the measurement accuracy of the current detection method of a single current sensor.

[0003] The current improvement schemes for the correction of the error amplification effect are as follows: ① Analyze the voltage ripple characteristics in DC and use low-pass filters and more advanced current controllers to eliminate the influence of current measurement errors. ② Use the integral link output signal of the d-axis PI current regulator, the d-axis current is controlled to be zero or constant, and the output signal is also zero or fixed; when the stator current contains zero drift error, the integral link output signal of the d-axis PI current regulator will produce fluctuations in the rotor speed. It is proposed to compensate for the error by building a DC bias in the built-up area or readjusting the input measurement gain of the stator current. ③ By changing the installation position of a single sensor, changing the Clark coordinate transformation to eliminate the drift error of the α-β axis, and using a defect filter to estimate the zero drift in the sampling result, thereby compensating the DC drift error in the current sensor. ④ Analyze the current discrete waveform changes of the zero drift error, propose the concept of equivalent current change rate, and calculate the equivalent current change rate and instantaneous current change rate through a state observer-based method to perform a retrospective prediction current correction method.

[0004] However, the predicted current method used above has a large amount of calculation, the calculation time caused by the algorithm increases, and the current correction effect is not ideal; changing the sensor installation position has poor circuit structure stability and anti-interference performance, and cannot eliminate the measurement error caused by sensor inconsistency. Summary of the invention

[0005] The object of the present invention is to provide a single DC bus sensor phase current dual correction method for reducing reconstruction error and distortion rate.

[0006] The technical solution of the present invention to solve the technical problem is: a single DC bus sensor phase current double correction method, characterized by comprising the following steps:

[0007] S1: vector control;

[0008] S2: Update Ta, Tb, and Tc to generate a complete SVPWM vector, where Ta is the duty cycle of the A-phase PWM waveform, Tb is the duty cycle of the B-phase PWM waveform, and Tc is the duty cycle of the C-phase PWM waveform. A PWM waveform containing opposite vectors is generated through a random phase shift method, and the action time of the vectors is made consistent.

[0009] S3: Determine the sampling time and sample the DC bus. Perform three samplings in the PWM containing opposite vectors, where the midpoints of normal adjacent vectors are sampled twice. sam_b 、-i sam_c For phase current reconstruction, the midpoint of the opposite vector constructed later is sampled once more to obtain -i sam_b Used for zero drift correction and phase delay compensation;

[0010] S4: Perform zero drift correction to obtain the drift value Δi sh Drift and corrected three-phase current values

[0011] S5: sampling the three-phase current after zero drift correction and performing phase delay compensation to obtain the three-phase current value after secondary correction;

[0012] S6: Reconstruct the phase current. After the reconstruction is completed, continue to execute step S1.

[0013] The step S4 is specifically as follows: sam_b +(-i sam_b ) is divided by 2 to obtain the zero drift Δi sh Then, the three-phase current sampling values ​​are subtracted by Δi sh , get the corrected three-phase current value Complete the zero drift correction.

[0014] The step S5 is specifically as follows: obtaining the first sampling value of phase A after zero drift correction Sampling time T sam_a (k-1), the second sampling value Sampling time T sam_a (k); The second sampling time of phase C is T sam_c That is, T′sam_a (k), phase time error,

[0015] ΔT ph_err =T′ sam_a (k)-T sam_a (k)

[0016] Correction value With sampling time T sam_a (k-1), T sam_a (k) is the slope between

[0017]

[0018]

[0019] In the formula The predicted current value after correction is consistent with the sampling time of phase C. Similarly, the predicted current value after correction is consistent with the sampling time of phase B and phase A.

[0020] The beneficial effects of the present invention are:

[0021] First, compared with the traditional single current sensor phase current reconstruction, the current reconstruction accuracy is concerned. It is proposed that the output accuracy and stability of the voltage reference chip are affected by the initial accuracy, temperature, noise, etc., causing the drift, the inconsistency of the internal parameters of the amplifier and the dominant temperature change, etc., and the zero drift is caused by the dynamic current double sampling high-precision current correction strategy that ensures the opposite vector slope and the sampling time are consistent. This scheme makes the zero drift Δi sh Eliminate about 50%.

[0022] 2. In traditional PMSM control, using two sensors can ideally obtain two-phase current information at the same time to ensure that there is no phase delay in sampling. However, the current single current sensor phase current reconstruction causes phase error due to the time difference between the two-phase sampling, and no phase compensation is performed. It is proposed to dynamically sample the current twice in phase, calculate the slope estimate and the current value at the same time and phase as the second sampling, and complete the phase time error ΔT ph_err The phase error compensation is then completed.

[0023] 3. Based on the reconstruction of the original single current sensor phase current, this invention analyzes and compensates for the inherent errors caused by the sensor and sampling, improves the detection accuracy of the phase current, and provides important guarantees for the vector control system and protection strategy of the motor. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a schematic diagram of the error of the single current sensor DC bus phase current reconstruction of the present invention.

[0025] Figure 2 It is a control block diagram of a single DC bus sensor phase current dual correction device and a control strategy system thereof of the present invention.

[0026] Figure 3 It is the control block diagram of the original device and its control strategy system of the present invention.

[0027] Figure 4 The present invention discloses a flow chart of double correction of phase current of a single DC bus sensor.

[0028] Figure 5 The present invention V 100 and V 011 Equivalent circuit diagram when in action.

[0029] Figure 6 It is a schematic diagram of zero drift correction of the present invention.

[0030] Figure 7 It is a schematic diagram of the phase delay correction principle of the present invention. DETAILED DESCRIPTION

[0031] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0032] Firstly, the single DC bus sensor phase current dual correction device and its control strategy diagram proposed in this patent are given, as shown in Figure 2 The dual correction mainly completes: (1) Zero drift caused by single sensor sampling is compensated by screening complementary vectors with opposite vectors without inserting redundant vectors through dynamic current double sampling; (2) Through dynamic two same-phase current sampling, the slope prediction is calculated to predict the current value at the same time and phase as the second sampling, and the phase error is compensated. The original device is as follows Figure 3 As shown, after sampling the current information from the DC bus, current reconstruction is performed, and then the current information is transformed. Figure 2 The difference is that after sampling the current information, zero drift correction and phase delay compensation are performed before reconstruction, and then the current information is transformed.

[0033] The difference is that after sampling the current information, because the current information contains errors, if it is directly reconstructed, this error will be introduced into the closed loop, so the current information needs to be corrected before entering the reconstruction. Figure 2 The two dotted boxes in the figure represent two correction methods respectively.

[0034] Figure 4A single DC bus sensor phase current dual correction device and its control strategy control flow chart are given.

[0035] like Figure 3 As shown, the present invention comprises the following steps:

[0036] S1: vector control;

[0037] S2: Update Ta, Tb, and Tc to generate a complete SVPWM vector, where Ta is the duty cycle of the A-phase PWM waveform, Tb is the duty cycle of the B-phase PWM waveform, and Tc is the duty cycle of the C-phase PWM waveform. A PWM waveform containing opposite vectors is generated through a random phase shift method, and the action time of the vectors is made consistent.

[0038] S3: Determine the sampling time and sample the DC bus. Perform three samplings in the PWM containing opposite vectors, where the midpoints of normal adjacent vectors are sampled twice. sam_b 、-i sam_c For phase current reconstruction, the midpoint of the opposite vector constructed later is sampled once more to obtain -i sam_b Used for zero drift correction and phase delay compensation;

[0039] S4: Perform zero drift correction to obtain the drift value Δi sh Drift and corrected three-phase current values

[0040] S5: sampling the three-phase current after zero drift correction and performing phase delay compensation to obtain the three-phase current value after secondary correction;

[0041] S6: Reconstruct the phase current. After the reconstruction is completed, continue to execute step S1.

[0042] The step S4 specifically comprises: sam_b +(-i sam_b ) value is divided by 2 to obtain the zero drift Δi sh Then, the three-phase current sampling values ​​are subtracted by Δi sh , get the corrected three-phase current value Complete the zero drift correction.

[0043] The step S5 is specifically as follows: obtaining the first sampling value of phase A after zero drift correction Sampling time T sam_a (k-1), the second sampling value Sampling time T sam_a (k); The second sampling time of phase C is T sam_c That is, T′ sam_a (k), phase time error,

[0044] ΔT ph_err =T′ sam_a (k)-T sam_a (k)

[0045] Correction value With sampling time T sam_a (k-1), T sam_a (k) is the slope between

[0046]

[0047]

[0048] In the formula The predicted current value after correction is consistent with the sampling time of phase C. Similarly, the predicted current value after correction is consistent with the sampling time of phase B and phase A.

[0049] Zero drift error correction principle:

[0050] Taking the first sector as an example, define the first sampling value as i sam_a , the actual value is i re_a , the second sampling value is i sam_c , the actual value is i re_c , the zero drift is Δi sh , and get the three-phase current i sam_a 、i sam_c , and through the three-phase current KCL: i a +i b +i c =0 calculated i KCL_b , as shown in the formula:

[0051]

[0052] The B-phase current calculated from the three-phase current KCL does not have a zero drift error, and the error conditions of other sectors are shown in Table 1.

[0053] Table 1 Correspondence between sectors and error current

[0054]

[0055] It can be seen from formula (1) that the current information obtained by sampling has zero drift, while the calculated current information of the other phase does not contain zero drift. Therefore, taking the first sector as an example, the current information with zero drift error is i a and -i c Similarly, the other five sectors containing zero drift errors are summarized in Table 1, so each sector corresponds to two current information.

[0056] Slope derivation:

[0057] The voltage vector is realized in the form of inverter switch on and off. The discrete switching state leads to the current chopping effect, resulting in a T s Seven current waveforms appear in the cycle. The determination of the current change rate must be based on the theoretical basis of the voltage vector action equivalent circuit. The corresponding relationship between the voltage vector and the phase voltage in each sector is shown in Table 2.

[0058] Table 2 Correspondence between voltage vector and phase voltage

[0059]

[0060] is the voltage vector and phase voltage, U aN , U bN , U cN Represents the phase voltage, the voltage on the DC bus is U dc The three-phase voltage output by the inverter is U aN , U bN , U cN , which are applied to plane coordinate systems that differ by 120 degrees in space.

[0061] Each of the eight voltage vectors has its corresponding Thevenin equivalent circuit. The phase current change is derived from the motor voltage equation. Since the resistance voltage component is lower than the inductance voltage component, the resistance component is ignored. The current change rate can be obtained through the Thevenin equivalent circuit of the eight voltage vectors, expressed as V 100 and V 011 For example, its equivalent circuit is as follows Figure 5 As shown, E be_a 、E be_b 、E be_c is the back-emf of A, B, and C. Calculate i a The current change rate is calculated as follows:

[0062]

[0063]

[0064] The same is true for other situations. The current change rate of each phase when other vectors act is shown in Table 3.

[0065] Table 3 Correspondence between voltage vector and phase current change rate

[0066]

[0067] At low speeds, the resistance component and back electromotive force are negligible. During the current correction process, the time change is in the microsecond level, which has little effect on the correction. Through the above derivation of the current change rate, the three groups of vectors (V1 (100) and V4 (110)), (V2 (110) and V5 (001)) and (V3 (010) and V6 (101)) are opposite vectors to each other, and the corresponding current information is also opposite, and the current change rate is opposite. For example, V3 (010) corresponds to the current information i b , V6(101) corresponds to current information -i b Based on this, it is proposed to correct the "zero drift" by using the opposite vector. Figure 6 The zero drift correction diagram is shown below.

[0068] Determine the zero drift Δi sh :

[0069] During the time period of action with V6 (101), the current is constantly changing due to the chopping effect caused by the discrete action of the voltage vector. Therefore, in order to ensure the correction accuracy, the amplitude of the sampling value must be equal, that is, i re_b =|-i re_b |, it is necessary to ensure that the current slope is the same as the sampling time, as shown in the formula

[0070]

[0071] As shown in the formula, i max_b is the maximum value of the B phase current during the V3(010) action period, T s is the PWM period, T sam is the first sampling time, T′ sam is the second sampling time.

[0072] If this formula is satisfied, we can get the formula

[0073]

[0074] The first sampling value is i sam_b , the second sampling value is i′ sam_b , so the drift Δi can be obtained sh ,

[0075]

[0076] The three-phase current after correcting the "zero drift" is:

[0077]

[0078] In the formula It is the three-phase current value after correction, and there is no zero drift.

[0079] Phase delay principle:

[0080] In the actual motor control strategy, the switching frequency, i.e., the PWM frequency, is above 10kHz, while the motor's electrical frequency is much smaller than the PWM frequency. It can be approximately considered that the current changes linearly within a PWM waveform, and the sampling value at the next moment is predicted by the previous two sampling values, such as Figure 7 shown.

[0081] Phase delay compensation calculation:

[0082] The first sampling value of phase A after zero drift correction Sampling time T sam_a (k-1), the second sampling value Sampling time T sam_a (k); The second sampling time of phase C is T sam_c That is, T′ sam_a (k), phase time error,

[0083] ΔT ph_err =T′ sam_a (k)-T sam_a (k)

[0084] Phase delay compensation:

[0085] Correction value With sampling time T sam_a (k-1), T sam_a (k) is the slope between

[0086]

[0087]

[0088] In the formula is the predicted current value consistent with the sampling time of phase C after correction. According to this, the predicted current value consistent with the sampling time of phase B and phase A after correction can be obtained, which is specifically:

[0089] The beneficial effects of the present invention are:

[0090] First, compared with the traditional single current sensor phase current reconstruction, the current reconstruction accuracy is concerned. It is proposed that the output accuracy and stability of the voltage reference chip are affected by the initial accuracy, temperature, noise, etc., causing the drift, the inconsistency of the internal parameters of the amplifier and the dominant temperature change, etc., and the zero drift is caused by the dynamic current double sampling high-precision current correction strategy that ensures the opposite vector slope and the sampling time are consistent. This scheme makes the zero drift Δi sh Eliminate about 50%.

[0091] 2. In traditional PMSM control, using two sensors can ideally obtain two-phase current information at the same time to ensure that there is no phase delay in sampling. However, the current single current sensor phase current reconstruction causes phase error due to the time difference between the two-phase sampling, and no phase compensation is performed. It is proposed to dynamically sample the current twice in phase, calculate the slope estimate and the current value at the same time and phase as the second sampling, and complete the phase time error ΔT ph_err The phase error compensation is then completed.

[0092] 3. Based on the reconstruction of the original single current sensor phase current, this invention analyzes and compensates for the inherent errors caused by the sensor and sampling, improves the detection accuracy of the phase current, and provides important guarantees for the vector control system and protection strategy of the motor.

Claims

1. A method for double correction of phase current of a single DC bus sensor, characterized in that: The following steps are involved: S1: vector control; S2: Update Ta, Tb, and Tc to generate a complete SVPWM vector, where Ta is the duty cycle of the A-phase PWM waveform, Tb is the duty cycle of the B-phase PWM waveform, and Tc is the duty cycle of the C-phase PWM waveform. A PWM waveform containing opposite vectors is generated through a random phase shift method, and the action time of the vectors is made consistent. S3: Determine the sampling time and sample the DC bus. Perform three samplings in the PWM containing opposite vectors, where the midpoints of normal adjacent vectors are sampled twice. sam_b 、-i sam_c For phase current reconstruction, the midpoint of the opposite vector constructed later is sampled once more to obtain -i sam_b Used for zero drift correction and phase delay compensation; S4: Perform zero drift correction to obtain the drift value Δi sh And the corrected three-phase current value put i sam_b +(-i sam_b ) value is divided by 2 to obtain the zero drift Δi sh Then, the three-phase current sampling values ​​are subtracted by Δi sh , get the corrected three-phase current value and complete the correction of zero drift; S5: sampling the three-phase current after zero drift correction and performing phase delay compensation to obtain the three-phase current value after secondary correction; The step S5 is specifically as follows: obtaining the first sampling value of phase A after zero drift correction Sampling time T sam_a (k-1), the second sampling value Sampling time T sam_a (k); The second sampling time of phase C is T sam_c That is T s ' am_a (k), phase time error, ΔT ph_err =T s ′ am_a (k)-T sam_a (k) Correction value With sampling time T sam_a (k-1), T sam_a (k) is used to calculate the slope between In the formula The predicted current value after correction is consistent with the sampling time of phase C. Similarly, the predicted current value after correction is consistent with the sampling time of phase B and phase A. S6: Reconstruct the phase current. After the reconstruction is completed, continue to execute step S1.