Three-phase current correction circuit and method

By using hardware strong filtering to correct the sampling current of the MOSFET internal resistance and using the bus current to correct the three-phase current, the problem of current sampling error caused by the internal resistance of the MOSFET is solved, and the accuracy of motor control is improved.

CN117554678BActive Publication Date: 2026-11-20SHENZHEN ZHAOWEI MACHINERY&ELECTRONICS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311408082.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-26
Publication Date
2026-11-20
Estimated Expiration
2043-10-26

AI Technical Summary

Technical Problem

In existing three-phase current sampling methods, the change in the internal resistance of the MOSFET with temperature leads to inaccurate current sampling accuracy, which affects the accuracy of motor torque control.

Method used

The bus current is sampled by the internal resistance of the MOS transistor after hardware strong filtering. The effective values ​​of the three-phase current and the bus current are obtained by the first current acquisition unit and the second current acquisition unit. The control unit determines the correction ratio based on these values ​​and corrects the three-phase current.

Benefits of technology

It improves the accuracy of three-phase current sampling, thereby enhancing the accuracy and precision of motor control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117554678B_ABST
    Figure CN117554678B_ABST
Patent Text Reader

Abstract

The application provides a three-phase current correction circuit and method, and relates to the technical field of data sampling. _U _V _W The second current collection unit is used for obtaining the second effective value i _buseve of the bus current.The control unit is used for determining the first effective value i _U of the bus current according to i _V , i _W and i _calcbuseve ; determining the correction ratio P according to i _calcbuseve and i _buseve ; and correcting i _U , i _V and i _W respectively according to P to obtain the target three-phase current.The application obtains the correction ratio according to the second effective value of the bus current obtained by the strong filtering treatment of the bus resistance sampling current and the second effective value of the bus current determined by the MOS tube internal resistance sampling current, corrects the MOS tube internal resistance sampling current, that is, the three-phase sampling current, to obtain more accurate three-phase current.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data sampling technology, and in particular to a three-phase current correction circuit and method. Background Technology

[0002] In FOC algorithm i d In the =0 control mode, the existing three-phase current sampling methods generally include single-resistor sampling, dual-resistor sampling, and three-resistor sampling. Among them, the three-resistor sampling algorithm is relatively simple, but the cost is higher. Therefore, in some cases, MOSFET internal resistance current sampling is used instead of three-resistor sampling. However, since the internal resistance of the MOSFET changes with the increase of temperature, the sampled three-phase current values ​​will also have deviations, thus affecting the torque control accuracy of the subsequent motor. Summary of the Invention

[0003] In view of this, the present invention provides a three-phase current correction circuit and method, which aims to obtain the three-phase current by correcting the internal resistance sampling of the MOS transistor through hardware-filtered bus current. The present invention provides the following technical solution:

[0004] In a first aspect, the present invention provides a three-phase current correction circuit, the circuit comprising: a first current acquisition unit, a second current acquisition unit, and a control unit;

[0005] The first terminal of the first current acquisition unit is electrically connected to the busbar; the second terminal of the first current acquisition unit is electrically connected to the first terminal of the control unit; the third terminal of the first current acquisition unit is electrically connected to the second terminal of the control unit; the fourth terminal of the first current acquisition unit is electrically connected to the first terminal of the second current acquisition unit; the fifth terminal of the first current acquisition unit is electrically connected to the motor; the second terminal of the second current acquisition unit is electrically connected to the third terminal of the control unit; and the third and fourth terminals of the second current acquisition unit are respectively grounded.

[0006] The first current acquisition unit is used to acquire the first phase current i _U Second phase current i _V and the third phase current i _W ;

[0007] The second current acquisition unit is used to acquire the second effective value i of the bus current. _buseve ;

[0008] The control unit is configured to, according to the i _U The i _V and the i _W Determine the first effective value i of the bus current. _calcbuseve According to the i _calcbuseve and the i _buseveDetermine the correction ratio P; based on P, correct the i values ​​respectively. _U The i _V and the i _W The target three-phase current is obtained.

[0009] In one embodiment, the first current acquisition unit includes a first NMOS transistor, a second NMOS transistor, a third NMOS transistor, a fourth NMOS transistor, a fifth NMOS transistor, and a sixth NMOS transistor;

[0010] The drains of the first NMOS transistor, the second NMOS transistor, and the third NMOS transistor are electrically connected to the bus.

[0011] The gates of the first NMOS transistor, the second NMOS transistor, the third NMOS transistor, the fourth NMOS transistor, the fifth NMOS transistor, and the sixth NMOS transistor are respectively electrically connected to the first terminal of the control unit;

[0012] The source of the fourth NMOS transistor, the source of the fifth NMOS transistor, and the source of the sixth NMOS transistor are respectively electrically connected to the first terminal of the second current acquisition unit.

[0013] The source of the first NMOS transistor is electrically connected to the drain of the fourth NMOS transistor, the source of the second NMOS transistor is electrically connected to the drain of the fifth NMOS transistor, and the source of the third NMOS transistor is electrically connected to the drain of the sixth NMOS transistor.

[0014] In one embodiment, the first current acquisition unit further includes a first operational amplifier, a second operational amplifier, and a third operational amplifier;

[0015] The input terminal of the first operational amplifier is connected in parallel with the fourth NMOS transistor, the input terminal of the second operational amplifier is connected in parallel with the fifth NMOS transistor, and the input terminal of the third operational amplifier is connected in parallel with the sixth NMOS transistor.

[0016] The output terminals of the first operational amplifier, the second operational amplifier, and the third operational amplifier are electrically connected to the second terminal of the control unit.

[0017] In one embodiment, the second current acquisition unit includes a bus resistor, a fourth operational amplifier, a filter capacitor, and a filter resistor;

[0018] The first end of the bus resistor is electrically connected to the source of the fourth NMOS transistor, the source of the fifth NMOS transistor, and the source of the sixth NMOS transistor, respectively.

[0019] The input terminal of the fourth operational amplifier is connected in parallel with the bus resistor, and the output terminal of the fourth operational amplifier is electrically connected to the first terminal of the filter resistor.

[0020] The second end of the filter resistor is electrically connected to the third end of the control unit and the first end of the filter capacitor, respectively.

[0021] The second terminal of the bus resistor is grounded, and the second terminal of the filter capacitor is grounded.

[0022] In one embodiment, the source of the first NMOS transistor, the source of the second NMOS transistor, and the source of the third NMOS transistor are electrically connected to different phase lines of the three-phase motor, respectively.

[0023] Secondly, the present invention provides a three-phase current correction method, applied to a three-phase current correction circuit, the method comprising:

[0024] The first current acquisition unit acquires the first phase current i _U Second phase current i _V and the third phase current i _W ;

[0025] The second current acquisition unit obtains the second effective value i of the bus current. _buseve ;

[0026] The control unit according to the i _U The i _V and the i _W Determine the first effective value i of the bus current. _calcbuseve According to the i _calcbuseve and the i _buseve Determine the correction ratio P; based on P, correct the i values ​​respectively. _U The i _V and the i _W The target three-phase current is obtained.

[0027] In one embodiment, the first current acquisition unit acquires the first phase current i _U Second phase current i _V and the third phase current i _W ,include:

[0028] The control unit sends a control signal to the first current acquisition unit;

[0029] The first current acquisition unit determines the i based on the control signal. _U The i _V and the i _W .

[0030] In one embodiment, the step according to the i _U The i _V and the i _W Determine the first effective value i of the bus current. _calcbuseve ,include:

[0031] The control unit acquires the period T PWM Inside, the conduction time T of the fourth NMOS transistor U The conduction time T of the fifth NMOS transistor V and the conduction time T of the sixth NMOS transistor W ;

[0032] According to the i _U The i _V The i _W The T PWM The T U The T V and the T W Determine the i _calcbuseve The calculation formula is:

[0033]

[0034] In one embodiment, the step according to the i _calcbuseve and the i _buseve Determine the correction ratio P using the following formula:

[0035]

[0036] In one embodiment, the step of correcting i according to P is... _U The i _V and the i _W The target three-phase current is obtained, including:

[0037] Correct the i respectively _U The i _V and the i _W The corrected first phase current i′ is obtained. _U The corrected second phase current i' _V and the corrected third-phase current i' _W The calculation formula is:

[0038] i' _x =P×i _x

[0039] Where x is U, V, or W;

[0040] will i' _U 、i' _V and i'_W The target three-phase current was determined.

[0041] The present invention provides a three-phase current correction circuit and method, the circuit comprising: a first current acquisition unit, a second current acquisition unit, and a control unit; the first current acquisition unit is used to acquire the first phase current i. _U Second phase current i _V and the third phase current i _W The second current acquisition unit is used to acquire the second effective value i of the bus current. _buseve The control unit is configured to, according to the i _U The i _V and the i _W Determine the first effective value i of the bus current. _calcbuseve According to the i _calcbuseve and the i _buseve Determine the correction ratio P; based on P, correct the i values ​​respectively. _U The i _V and the i _W The target three-phase current is obtained. This invention uses the second effective value of the bus current obtained after strong filtering of the bus resistance sampling current, and the second effective value of the bus current determined by the MOSFET internal resistance sampling current, to obtain a correction ratio. This ratio is then used to correct the MOSFET internal resistance sampling current, i.e., the three-phase current. This correction method provided by this invention can obtain more accurate three-phase current without complex current sampling algorithms, reducing the impact of MOSFET internal resistance on current sampling accuracy in MOSFET current sampling methods and improving the control accuracy of the motor.

[0042] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0043] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0044] Figure 1 A schematic diagram of a three-phase current correction circuit provided in an embodiment of the present invention is shown.

[0045] Figure 2 A schematic diagram of the structure of the first current acquisition unit and the second current acquisition unit provided in an embodiment of the present invention is shown;

[0046] Figure 3 A flowchart of a three-phase current correction method provided in an embodiment of the present invention is shown.

[0047] Explanation of key component symbols:

[0048] 100 - Three-phase current correction circuit; 110 - First current acquisition unit; 120 - Second current acquisition unit; 130 - Control unit; VBUS - Busbar; M1 - Motor. Detailed Implementation

[0049] Embodiments of the present invention are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention.

[0050] It should be noted that when an element is said to be "fixed" to another element, it can be directly on the other element or there may be an intervening element. When an element is said to be "connected" to another element, it can be directly connected to the other element or there may be an intervening element. Conversely, when an element is said to be "directly" on another element, there is no intervening element. The terms "vertical," "horizontal," "left," "right," and similar expressions used in this document are for illustrative purposes only.

[0051] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.

[0052] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0053] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the template description is for the purpose of describing particular embodiments only and is not intended to limit the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.

[0054] Example 1

[0055] Embodiment 1 of the present invention provides a three-phase current correction circuit. For details, please refer to [link to documentation]. Figure 1 and Figure 2 The three-phase current correction circuit 100 includes: a first current acquisition unit 110, a second current acquisition unit 120, and a control unit 130;

[0056] The first terminal of the first current acquisition unit 110 is electrically connected to the bus VBUS; the second terminal of the first current acquisition unit 110 is electrically connected to the first terminal of the control unit 130; the third terminal of the first current acquisition unit 110 is electrically connected to the second terminal of the control unit 130; the fourth terminal of the first current acquisition unit 110 is electrically connected to the first terminal of the second current acquisition unit 120; the fifth terminal of the first current acquisition unit 110 is electrically connected to the motor M1; the second terminal of the second current acquisition unit 120 is electrically connected to the third terminal of the control unit 130; and the third and fourth terminals of the second current acquisition unit 120 are respectively grounded.

[0057] The first current acquisition unit 110 is used to acquire the first phase current i _U Second phase current i _V and the third phase current i _W ;

[0058] The second current acquisition unit 120 is used to acquire the second effective value i of the bus current. _buseve ;

[0059] The control unit 130 is configured to, according to the i _U The i _V and the i _W Determine the first effective value i of the bus current. _calcbuseve According to the i _calcbuseve and the i _buseve Determine the correction ratio P; based on P, correct the i values ​​respectively. _U The i _V and the i _W The target three-phase current is obtained.

[0060] It should be noted that the FOC algorithm is an advanced control algorithm widely used in brushless motor control. By precisely positioning and controlling the rotor magnetic field and current of the motor, it achieves efficient motor drive and precise torque control. The FOC algorithm mainly has two control methods: Vector Control and Direct Torque Control. Vector control typically includes: i d =0 control strategy, maximum torque / current ratio control strategy, field weakening control strategy, Control strategies, etc. The three-phase current correction circuit provided by this invention is mainly applied to the i-axis in the FOC algorithm vector control mode. d =0 control strategy.

[0061] In this embodiment, the control unit 130 achieves precise control of the brushless motor M1 through a current loop. The control unit 130 controls the phase current of motor M1 in a closed loop based on the corrected three-phase current, i.e., the target three-phase current. Specifically, the control unit 130 outputs a control signal to the first current acquisition unit 110, and the first current acquisition unit 110 obtains the first phase current i based on the control signal. _U Second phase current i _V and the third phase current i _W The first current acquisition unit 110 will i _U i _V andi _W The current signals are converted into corresponding voltage signals and then input to the control unit 130. The control unit 130 then converts the received voltage signals into corresponding current signals i. _U i _V andi _W Then according to i _U i _V andi _W Determine the first effective value i of the bus current _calcbuseve .

[0062] The second current acquisition unit 120 is connected in series with the first current acquisition unit 110. The second current acquisition unit 120 includes a bus resistor R1. The second current acquisition unit 120 converts the bus current acquired by the bus resistor R1 into a corresponding voltage signal. After hardware strong filtering, the signal is input to the control unit 130. The control unit 130 then converts the received voltage signal into a corresponding current signal to obtain the second effective value i of the bus current. _buseve .

[0063] The control unit 130 calculates the first effective value i of the bus current. _calcbuseveThe second effective value of the bus current can be used to determine the correction ratio P, thereby obtaining the target three-phase current based on P correction, and then adjusting the control signal output based on the target three-phase current to achieve closed-loop control.

[0064] In one embodiment, the first current acquisition unit includes a first NMOS transistor Q1, a second NMOS transistor Q2, a third NMOS transistor Q3, a fourth NMOS transistor Q4, a fifth NMOS transistor Q5, and a sixth NMOS transistor Q6;

[0065] The drains of the first NMOS transistor Q1, the second NMOS transistor Q2, and the third NMOS transistor Q3 are electrically connected to the bus VBUS, respectively.

[0066] The gates of the first NMOS transistor Q1, the second NMOS transistor Q2, the third NMOS transistor Q3, the fourth NMOS transistor Q4, the fifth NMOS transistor Q5, and the sixth NMOS transistor Q6 are respectively electrically connected to the first terminal of the control unit 130;

[0067] The source of the fourth NMOS transistor Q4, the source of the fifth NMOS transistor Q5, and the source of the sixth NMOS transistor Q6 are respectively electrically connected to the first terminal of the second current acquisition unit 120.

[0068] The source of the first NMOS transistor Q1 is electrically connected to the drain of the fourth NMOS transistor Q4, the source of the second NMOS transistor Q2 is electrically connected to the drain of the fifth NMOS transistor Q5, and the source of the third NMOS transistor Q3 is electrically connected to the drain of the sixth NMOS transistor Q6.

[0069] Please see Figure 2 , Figure 2 A schematic diagram of the structure of the first current acquisition unit 110 and the second current acquisition unit 120 disclosed in the embodiments of this application is shown.

[0070] In this embodiment, the first current acquisition unit 110 includes six NMOS transistors: a first NMOS transistor Q1, a second NMOS transistor Q2, a third NMOS transistor Q3, a fourth NMOS transistor Q4, a fifth NMOS transistor Q5, and a sixth NMOS transistor Q6. These transistors form a three-way inverter half-bridge circuit to drive the brushless motor M1. The first current acquisition unit 110 controls the six NMOS transistors to turn on or off according to the received control signal. When the NMOS transistors are on, due to the internal resistance between the source and drain, when the first phase current i... _U Second phase current i _V and the third phase current i _WA voltage drop occurs when current flows through the internal resistance of the NMOS transistor. At this time, the operational amplifier connected in parallel across the NMOS transistor converts the current signal into a voltage signal, amplifies it, and outputs it to the control unit 130. The control unit 130 then obtains the first phase current i according to Ohm's law U=IR. _U Second phase current i _V and the third phase current i _W It should be noted that i _U i _V andi _W This refers to the three-phase current sampled by the NMOS transistor.

[0071] Furthermore, the control unit 130 can calculate the conduction time of each NMOS transistor in real time, and based on the period time T... PWM Inside, the conduction time T of the fourth NMOS transistor U The conduction time T of the fifth NMOS transistor V and the conduction time T of the sixth NMOS transistor W And the respective on-current i of the fourth NMOS transistor, the fifth NMOS transistor, and the sixth NMOS transistor. _U i _V andi _W Determine the first effective value i of the bus current _calcbuseve The calculation formula is:

[0072]

[0073] For example, within a cycle time of 5 seconds, the control unit 130 obtains the conduction time T of the fourth NMOS transistor. U =4S, conduction current i _U =1A, the conduction time T of the fifth NMOS transistor V =4.5S, conduction current i _V =1A, the conduction time T of the sixth NMOS transistor W =4S, conduction current i _W =1.5A, then the first effective value of the bus current

[0074] In one embodiment, the first current acquisition unit 110 further includes a first operational amplifier U1, a second operational amplifier U2, and a third operational amplifier U3;

[0075] The input terminal of the first operational amplifier U1 is connected in parallel with the fourth NMOS transistor Q4, the input terminal of the second operational amplifier U2 is connected in parallel with the fifth NMOS transistor Q5, and the input terminal of the third operational amplifier U3 is connected in parallel with the sixth NMOS transistor Q6.

[0076] The output terminals of the first operational amplifier U1, the second operational amplifier U2, and the third operational amplifier U3 are electrically connected to the second terminal of the control unit 130, respectively.

[0077] In this embodiment, the operational amplifier converts the first phase current i _U Second phase current i _V and the third phase current i _W First, the voltage signals are converted into voltage signals and then input to the control unit 130. The control unit 130 then converts the voltage signals into current signals according to Ohm's law U=IR. Specifically, the first operational amplifier U1 is used to detect the voltage drop across the fourth NMOS transistor Q4, the second operational amplifier U2 is used to detect the voltage drop across the fifth NMOS transistor Q5, and the third operational amplifier U3 is used to detect the voltage drop across the sixth NMOS transistor Q6.

[0078] In one embodiment, the second current acquisition unit 120 includes a bus resistor R1, a fourth operational amplifier U4, a filter capacitor C1, and a filter resistor R2.

[0079] The first end of the bus resistor R1 is electrically connected to the source of the fourth NMOS transistor Q4, the source of the fifth NMOS transistor Q5, and the source of the sixth NMOS transistor Q6, respectively.

[0080] The input terminal of the fourth operational amplifier U4 is connected in parallel with the bus resistor R1, and the output terminal of the fourth operational amplifier U4 is electrically connected to the first terminal of the filter resistor R2.

[0081] The second end of the filter resistor R2 is electrically connected to the third end of the control unit 130 and the first end of the filter capacitor C1, respectively.

[0082] The second terminal of the bus resistor R1 is grounded, and the second terminal of the filter capacitor C1 is grounded.

[0083] In this embodiment, the current flowing through the bus resistor R1 is the bus current. The fourth operational amplifier U1, connected in parallel across the bus resistor R1, converts the bus current into a voltage signal and outputs it to the control unit 130. The control unit 130 then converts the voltage signal into a current signal according to Ohm's law U=IR to obtain the second effective value i of the bus current. _buseve .

[0084] It should be noted that before the bus current is converted into a voltage signal and output to the control unit 130, it is filtered by an RC circuit composed of a filter resistor R2 and a filter capacitor C1 to remove high-frequency interference.

[0085] The control unit 130 then obtains the first effective value i of the bus current. _calcbuseve and the second effective value i of the bus current_buseve Then, according to the i _calcbuseve and the i _buseve The correction ratio P is calculated using the following formula:

[0086] After determining the correction ratio P, the sampling current of the NMOS transistor, i.e., the first phase current i, is then corrected. _U Second phase current i _V and the third phase current i _W The correction formula is:

[0087] i' _x =P×i _x

[0088] Where x is U, V, or W. For example, the correction ratio is P = 1.1, i _U =1A, i _V =1A, i _W = -2A, then the corrected first phase current i' _U =1.1×1=1.1A, the corrected second phase current i' _V =1.1×1=1.1A, the corrected third-phase current i' _W =1.1×(-2)=-2.2A.

[0089] Corrected first phase current i' _U Second phase current i' _V and the third phase current i' _W This is the target three-phase current.

[0090] In one embodiment, the source of the first NMOS transistor Q1, the source of the second NMOS transistor Q2, and the source of the third NMOS transistor Q3 are respectively electrically connected to different phase lines of the motor M1.

[0091] In this embodiment, the control unit 130 can adjust the output control signal according to the corrected target three-phase current to realize closed-loop control of motor M1.

[0092] It should be noted that, due to the improved accuracy of the three-phase current, the control unit's precision in controlling motor M1 has also improved accordingly.

[0093] The three-phase current correction circuit provided by this invention includes: a first current acquisition unit, a second current acquisition unit, and a control unit; a first terminal of the first current acquisition unit is electrically connected to a busbar, a second terminal of the first current acquisition unit is electrically connected to a first terminal of the control unit, a third terminal of the first current acquisition unit is electrically connected to a second terminal of the control unit, and a fourth terminal of the first current acquisition unit is electrically connected to a first terminal of the second current acquisition unit; a fifth terminal of the first current acquisition unit is electrically connected to a motor M1; a second terminal of the second current acquisition unit is electrically connected to a third terminal of the control unit, and the third and fourth terminals of the second current acquisition unit are respectively grounded; the first current acquisition unit is used to acquire the first phase current i. _U Second phase current i _V and the third phase current i _W The second current acquisition unit is used to acquire the second effective value i of the bus current. _buseve The control unit is configured to, according to the i _U The i _V and the i _W Determine the first effective value i of the bus current. _calcbuseve According to the i _calcbuseve and the i _buseve Determine the correction ratio P; based on P, correct the i values ​​respectively. _U The i _V and the i _W The target three-phase current is obtained. This invention adds a second current acquisition unit to perform hardware strong filtering on the bus resistance sampling current to obtain the second effective value of the bus current. Before this, the first current acquisition unit determines the first effective value of the bus current based on the MOSFET internal resistance sampling current. The control unit obtains the correction ratio of the three-phase sampling current based on the first and second effective values ​​of the bus current, and thereby corrects the three-phase sampling current, i.e., the MOSFET internal resistance sampling current, thus obtaining a more accurate three-phase current value. This reduces the impact of the MOSFET internal resistance on the current sampling accuracy in the MOSFET current sampling method and improves the motor control accuracy.

[0094] Example 2

[0095] Furthermore, this invention provides a three-phase current correction method, applied to the three-phase current correction circuit provided in Embodiment 1. For details, please refer to [link to documentation]. Figure 3 The method includes:

[0096] Step S301, the first current acquisition unit acquires the first phase current i _U Second phase current i _V and the third phase current i _W .

[0097] In one embodiment, the first current acquisition unit acquires the first phase current i _U Second phase current i _V and the third phase current i _W This includes: the control unit sending a control signal to the first current acquisition unit; the first current acquisition unit determining the i based on the control signal. _U The i _V and the i _W .

[0098] Step S302, the second current acquisition unit acquires the second effective value i of the bus current. _buseve .

[0099] Step S303, the control unit according to the i _U The i _V and the i _W Determine the first effective value i of the bus current. _calcbuseve .

[0100] In one embodiment, the step according to the i _U The i _V and the i _W Determine the first effective value i of the bus current. _calcbuseve This includes: the control unit acquiring the period T PWM Inside, the conduction time T of the fourth NMOS transistor U The conduction time T of the fifth NMOS transistor V and the conduction time T of the sixth NMOS transistor W According to the i _U The i _V The i _W The T PWM The T U The T V and the T W Determine the i _calcbuseve The calculation formula is:

[0101]

[0102] Step S304, the control unit according to the i _calcbuseve and the i _buseve Determine the correction ratio P.

[0103] In one embodiment, the step according to the i _calcbuseve and the i _buseve Determine the correction ratio P using the following formula:

[0104]

[0105] Step S305, the control unit corrects i according to P respectively. _U The i _V and the i _W The target three-phase current is obtained.

[0106] In one embodiment, the step of correcting i according to P is... _U The i _V and the i _W To obtain the target three-phase current, the following steps are taken: correcting the i... _U The i _V and the i _W The corrected first phase current i is obtained. _U The corrected second phase current i _V and the corrected third-phase current i _W The calculation formula is:

[0107] i' _x =P×i _x

[0108] Where x is U, V, or W; i' _U 、i' _V and i' _W The target three-phase current was determined.

[0109] The three-phase current correction method provided by this invention obtains the first phase current i through a first current acquisition unit. _U Second phase current i _V and the third phase current i _W The second current acquisition unit obtains the second effective value i of the bus current. _buseve The control unit, according to the i _U The i _V and the i _W Determine the first effective value i of the bus current. _calcbuseve According to the i _calcbuseve and the i _buseve Determine the correction ratio P; based on P, correct the i values ​​respectively. _U The i _V and the i _WThe target three-phase current is obtained. This invention adds a second current acquisition unit to perform hardware strong filtering on the bus resistance sampling current to obtain the second effective value of the bus current. Before this, the first current acquisition unit determines the first effective value of the bus current based on the MOSFET internal resistance sampling current. The control unit obtains the correction ratio of the three-phase sampling current based on the first and second effective values ​​of the bus current, and thereby corrects the three-phase sampling current, i.e., the MOSFET internal resistance sampling current, thus obtaining a more accurate three-phase current value. This reduces the impact of the MOSFET internal resistance on the current sampling accuracy in the MOSFET current sampling method and improves the motor control accuracy.

[0110] The three-phase current correction method provided in this embodiment is applied to the three-phase current correction circuit described in Embodiment 1. To avoid repetition, it will not be described again here.

[0111] In all examples shown and described herein, any specific values ​​should be interpreted as merely exemplary and not as limitations; therefore, other examples of exemplary embodiments may have different values.

[0112] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0113] The above-described embodiments are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention.

Claims

1. A three-phase current correction circuit, characterized in that, The circuit includes: a first current acquisition unit, a second current acquisition unit, and a control unit; The first end of the first current acquisition unit is electrically connected to the busbar; the second end of the first current acquisition unit is electrically connected to the first end of the control unit; the third end of the first current acquisition unit is electrically connected to the second end of the control unit; the fourth end of the first current acquisition unit is electrically connected to the first end of the second current acquisition unit; and the fifth end of the first current acquisition unit is electrically connected to the motor. The second terminal of the second current acquisition unit is electrically connected to the third terminal of the control unit, and the third and fourth terminals of the second current acquisition unit are grounded respectively; The first current acquisition unit is used to acquire the first phase current. Second phase current and the third phase current ; The second current acquisition unit is used to acquire the second effective value of the bus current. ; The control unit is configured to, according to the The above and the aforementioned Determine the first effective value of the bus current. According to the above and stated Determine the correction ratio According to the above Correct the above respectively The above and the aforementioned The target three-phase current is obtained; The first current acquisition unit includes a first NMOS transistor, a second NMOS transistor, a third NMOS transistor, a fourth NMOS transistor, a fifth NMOS transistor, and a sixth NMOS transistor; The drains of the first NMOS transistor, the second NMOS transistor, and the third NMOS transistor are electrically connected to the bus. The gates of the first NMOS transistor, the second NMOS transistor, the third NMOS transistor, the fourth NMOS transistor, the fifth NMOS transistor, and the sixth NMOS transistor are respectively electrically connected to the first terminal of the control unit; The source of the fourth NMOS transistor, the source of the fifth NMOS transistor, and the source of the sixth NMOS transistor are respectively electrically connected to the first terminal of the second current acquisition unit. The source of the first NMOS transistor is electrically connected to the drain of the fourth NMOS transistor, the source of the second NMOS transistor is electrically connected to the drain of the fifth NMOS transistor, and the source of the third NMOS transistor is electrically connected to the drain of the sixth NMOS transistor. According to the The above and the aforementioned Determine the first effective value of the bus current. ,include: The control unit acquires the cycle Inside, the conduction time of the fourth NMOS transistor The conduction time of the fifth NMOS transistor and the conduction time of the sixth NMOS transistor ; According to the above The above The above The above The above The above and the aforementioned Determine the The calculation formula is: 。 2. The three-phase current correction circuit according to claim 1, characterized in that, The first current acquisition unit further includes a first operational amplifier, a second operational amplifier, and a third operational amplifier; The input terminal of the first operational amplifier is connected in parallel with the fourth NMOS transistor, the input terminal of the second operational amplifier is connected in parallel with the fifth NMOS transistor, and the input terminal of the third operational amplifier is connected in parallel with the sixth NMOS transistor. The output terminals of the first operational amplifier, the second operational amplifier, and the third operational amplifier are electrically connected to the second terminal of the control unit.

3. The three-phase current correction circuit according to claim 2, characterized in that, The second current acquisition unit includes a bus resistor, a fourth operational amplifier, a filter capacitor, and a filter resistor; The first end of the bus resistor is electrically connected to the source of the fourth NMOS transistor, the source of the fifth NMOS transistor, and the source of the sixth NMOS transistor, respectively. The input terminal of the fourth operational amplifier is connected in parallel with the bus resistor, and the output terminal of the fourth operational amplifier is electrically connected to the first terminal of the filter resistor. The second end of the filter resistor is electrically connected to the third end of the control unit and the first end of the filter capacitor, respectively. The second terminal of the bus resistor is grounded, and the second terminal of the filter capacitor is grounded.

4. The three-phase current correction circuit according to claim 3, characterized in that, The source of the first NMOS transistor, the source of the second NMOS transistor, and the source of the third NMOS transistor are respectively electrically connected to different phase lines of the motor.

5. A three-phase current correction method, characterized in that, Applied to the three-phase current correction circuit as described in claim 1, the method includes: The first current acquisition unit acquires the first phase current. Second phase current and the third phase current ; The second current acquisition unit obtains the second effective value of the bus current. ; The control unit according to the The above and the aforementioned Determine the first effective value of the bus current. According to the above and stated Determine the correction ratio According to the above Correct the above respectively The above and the aforementioned The target three-phase current is obtained; According to the The above and the aforementioned Determine the first effective value of the bus current. ,include: The control unit acquires the cycle Inside, the conduction time of the fourth NMOS transistor The conduction time of the fifth NMOS transistor and the conduction time of the sixth NMOS transistor ; According to the above The above The above The above The above The above and the aforementioned Determine the The calculation formula is: 。 6. The three-phase current correction method according to claim 5, characterized in that, The first current acquisition unit acquires the first phase current. Second phase current and the third phase current ,include: The control unit sends a control signal to the first current acquisition unit; The first current acquisition unit determines the current based on the control signal. The above and the aforementioned .

7. The three-phase current correction method according to claim 5, characterized in that, According to the and stated Determine the correction ratio The calculation formula is: 。 8. The three-phase current correction method according to claim 7, characterized in that, According to the Correct the above respectively The above and the aforementioned The target three-phase current is obtained, including: Correct the respectively The above and the aforementioned The corrected first phase current is obtained. Corrected second phase current and the corrected third-phase current The calculation formula is: in, For U, V, or W; The , and The target three-phase current was determined.

Citation Information

Patent Citations

  • Phase current sampling method and device

    CN116317772A