CN113541551B - Three-phase current sampling method, three-phase current sampling device, robot and computer readable storage medium - Google Patents

Three-phase current sampling method, three-phase current sampling device, robot and computer readable storage medium Download PDF

Info

Publication number
CN113541551B
CN113541551B CN202110857459.3A CN202110857459A CN113541551B CN 113541551 B CN113541551 B CN 113541551B CN 202110857459 A CN202110857459 A CN 202110857459A CN 113541551 B CN113541551 B CN 113541551B
Authority
CN
China
Prior art keywords
current
phase
motor
sampling
coordinate system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110857459.3A
Other languages
Chinese (zh)
Other versions
CN113541551A (en
Inventor
周博
范文华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Youbixuan Intelligent Robot Co ltd
Original Assignee
Shenzhen Ubtech Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Ubtech Technology Co ltd filed Critical Shenzhen Ubtech Technology Co ltd
Priority to CN202110857459.3A priority Critical patent/CN113541551B/en
Publication of CN113541551A publication Critical patent/CN113541551A/en
Application granted granted Critical
Publication of CN113541551B publication Critical patent/CN113541551B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/14Estimation or adaptation of machine parameters, e.g. flux, current or voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/0003Control strategies in general, e.g. linear type, e.g. P, PI, PID, using robust control
    • H02P21/0017Model reference adaptation, e.g. MRAS or MRAC, useful for control or parameter estimation
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P21/00Arrangements or methods for the control of electric machines by vector control, e.g. by control of field orientation
    • H02P21/22Current control, e.g. using a current control loop
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters
    • H02P27/08Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P27/00Arrangements or methods for the control of AC motors characterised by the kind of supply voltage
    • H02P27/04Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage
    • H02P27/06Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters
    • H02P27/08Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation
    • H02P27/12Arrangements or methods for the control of AC motors characterised by the kind of supply voltage using variable-frequency supply voltage, e.g. inverter or converter supply voltage using dc to ac converters or inverters with pulse width modulation pulsing by guiding the flux vector, current vector or voltage vector on a circle or a closed curve, e.g. for direct torque control

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Ac Motors In General (AREA)

Abstract

The application belongs to the technical field of current detection, and provides a three-phase current sampling method, a three-phase current sampling device, a robot and a computer readable storage medium, wherein effective conduction time of a first-phase bridge arm, a second-phase bridge arm and a third-phase bridge arm is firstly obtained; then determining effective sampling current in the three-phase inverter circuit according to the space vector angle, the effective conduction time and the shortest effective sampling time of the motor; establishing a current reconstruction model according to a motor d-axis current and a current space transformation formula; and determining the two-phase current of a stationary two-phase coordinate system of the motor according to the current reconstruction model and the effective sampling current, so that the two-phase current of the motor at a higher rotating speed and a larger effective PWM pulse width is calculated by the current reconstruction model through three-phase alternate sampling, and accurate acquisition of current information is realized.

Description

Three-phase current sampling method, three-phase current sampling device, robot and computer readable storage medium
Technical Field
The invention belongs to the technical field of current sampling, and particularly relates to a three-phase current sampling method, a three-phase current sampling device, a three-phase current sampling robot and a computer readable storage medium.
Background
In order to realize high-performance control of the servo motor, three-phase current information of the motor must be accurately acquired, and the current common practice is to use a current sensor and a phase sampling resistor sampling scheme, but the two schemes have the problems of high cost, relatively complex hardware design and large occupied volume, and particularly in the robot servo application industry with higher and higher integration level, the two schemes have certain limitations and limit the application of integration. Therefore, in the field of robot servo, the three-phase lower bridge sampling resistor current sampling scheme is widely applied due to the simple hardware design, low cost and small volume.
However, in the three-phase down-bridge sampling resistor current sampling scheme, if three-phase current needs to be correctly collected, the phase current must be required to flow through the sampling resistor, and sampling is usually performed at the zero point of the PWM and at the conduction time of the lower bridge arm.
Disclosure of Invention
In view of the above, embodiments of the present invention provide a three-phase current sampling method, apparatus, robot, and computer readable storage medium, which can solve the problem that in a three-phase lower bridge sampling resistor current sampling scheme, when a motor operates at high speed, a lower bridge arm with a very large PWM effective pulse width can effectively sample current information with a very narrow pulse width, which is insufficient for accurate current information acquisition.
The first aspect of the embodiment of the invention provides a three-phase current sampling method, which respectively performs current sampling on a first phase bridge arm, a second phase bridge arm and a third phase bridge arm of a three-phase inverter circuit through a first sampling resistor, a second sampling resistor and a third sampling resistor, and comprises the following steps:
acquiring effective conduction time of the first phase bridge arm, the second phase bridge arm and the third phase bridge arm;
determining effective sampling current in the three-phase inverter circuit according to a space vector angle of the motor, the effective conduction time and the shortest effective sampling time;
establishing a current reconstruction model according to a motor d-axis current and a current space transformation formula, wherein the motor d-axis current is set as a preset reference current;
and determining the two-phase current of a motor stationary two-phase coordinate system according to the current reconstruction model and the effective sampling current.
In one embodiment, the determining the effective sampling current in the three-phase inverter circuit according to the space vector angle of the motor, the effective conduction time and the shortest effective sampling time includes:
and if the effective conduction time of the first phase bridge arm is smaller than the shortest effective sampling time and the effective conduction time of the second phase bridge arm is smaller than the shortest effective sampling time, the effective sampling current is the current flowing through the third phase bridge arm.
In one embodiment, the determining the two-phase current of the stationary two-phase coordinate system of the motor according to the current reconstruction model and the effective sampling current includes:
calculating the two-phase current of a stationary two-phase coordinate system of the motor according to the first current reconstruction model and the current flowing through the third phase bridge arm; the current flowing through the third phase bridge arm is the current of the W axis of the stationary three-phase coordinate system of the motor;
the first current reconstruction model is:
cos(θ)*i α +sin(θ)*i β =i d =0;
i α =i u =-i v -i w
Figure GDA0004091006720000021
the two-phase current of the static two-phase coordinate system of the motor is as follows:
Figure GDA0004091006720000031
Figure GDA0004091006720000032
wherein ,iα For motor stationary two-phase coordinate system alpha-axis current, i β Beta-axis current, i of motor static two-phase coordinate system μ U-axis current, i of motor static three-phase coordinate system ν For motor stationary three-phase coordinate system V-axis current, i ω For motor stationary three-phase coordinate system W-axis current, i d D-axis current of a two-phase coordinate system for motor rotation, and theta is the angle of a magnetic pole of the motor.
In one embodiment, the determining the effective sampling current in the three-phase inverter circuit according to the space vector angle of the motor, the effective conduction time and the shortest effective sampling time includes:
and if the effective conduction time of the first phase bridge arm is smaller than the shortest effective sampling time and the effective conduction time of the third phase bridge arm is smaller than the shortest effective sampling time, the effective sampling current is the effective sampling current of the second phase bridge arm.
In one embodiment, the determining the two-phase current of the stationary two-phase coordinate system of the motor according to the current reconstruction model and the effective sampling current includes:
calculating the two-phase current of a stationary two-phase coordinate system of the motor according to the second current reconstruction model and the current flowing through the second phase bridge arm; the current flowing through the second-phase bridge arm is the current of a U-axis of a stationary three-phase coordinate system of the motor;
the second current reconstruction model is:
cos(θ)*i α +sin(θ)*i β =i d =0;
i α =i u
the two-phase current of the static two-phase coordinate system of the motor is as follows:
i α =i u
Figure GDA0004091006720000033
wherein ,iα For motor stationary two-phase coordinate system alpha-axis current, i β Beta-axis current, i of motor static two-phase coordinate system μ U-axis current, i of motor static three-phase coordinate system ν For motor stationary three-phase coordinate system V-axis current, i ω For motor stationary three-phase coordinate system W-axis current, i d D-axis current of a two-phase coordinate system for motor rotation, and theta is the angle of a magnetic pole of the motor.
In one embodiment, the determining the effective sampling current in the three-phase inverter circuit according to the space vector angle of the motor, the effective conduction time and the shortest effective sampling time includes:
and if the effective conduction time of the second phase bridge arm is smaller than the shortest effective sampling time and the effective conduction time of the third phase bridge arm is smaller than the shortest effective sampling time, the effective sampling current is the effective sampling current of the first phase bridge arm.
In one embodiment, the determining the two-phase current of the stationary two-phase coordinate system of the motor according to the current reconstruction model and the effective sampling current includes:
calculating the two-phase current of a stationary two-phase coordinate system of the motor according to the third current reconstruction model and the current flowing through the first phase bridge arm; the current flowing through the second-phase bridge arm is the current of a motor stationary three-phase coordinate system V-axis;
the third current reconstruction model is:
cos(θ)*i α +sin(θ)*i β =i d =0;
i α =i u
Figure GDA0004091006720000041
the two-phase current of the static two-phase coordinate system of the motor is as follows:
Figure GDA0004091006720000042
Figure GDA0004091006720000043
wherein ,iα For motor stationary two-phase coordinate system alpha-axis current, i β Beta-axis current, i of motor static two-phase coordinate system μ U-axis current, i of motor static three-phase coordinate system ν For motor stationary three-phase coordinate system V-axis current, i ω For motor stationary three-phase coordinate system W-axis current, i d D-axis current of a two-phase coordinate system for motor rotation, and theta is the angle of a magnetic pole of the motor.
The second aspect of the present application also provides a three-phase current sampling apparatus, including: the first sampling resistor, the second sampling resistor, the third sampling resistor and the three-phase inverter circuit; the first sampling resistor, the second sampling resistor and the third sampling resistor are respectively used for sampling currents of a first phase bridge arm, a second phase bridge arm and a third phase bridge arm of the three-phase inverter circuit;
the three-phase current sampling apparatus further includes:
the conduction time acquisition unit is used for acquiring the effective conduction time of the first phase bridge arm, the second phase bridge arm and the third phase bridge arm;
the sampling current determining unit is used for determining effective sampling current in the three-phase inverter circuit according to the space vector angle of the motor, the effective conduction time and the shortest effective sampling time;
the current model setting unit is used for establishing a current reconstruction model according to the d-axis current of the motor and a current space transformation formula, wherein the d-axis current of the motor is set as a preset reference current;
and the two-phase current calculation unit is used for determining the two-phase current of the motor stationary two-phase coordinate system according to the current reconstruction model and the effective sampling current.
The third aspect of the present application also provides a robot comprising: a motor; and a control unit that samples three-phase currents of the motor using the three-phase current sampling method according to any one of the above, and drives the motor according to the sampling result.
A fourth aspect of the present application also provides a computer readable storage medium storing a computer program which, when executed by a processor, performs the steps of the method as claimed in any one of the preceding claims.
The embodiment of the invention provides a three-phase current sampling method, a three-phase current sampling device, a robot and a computer readable storage medium, wherein the effective conduction time of a first-phase bridge arm, a second-phase bridge arm and a third-phase bridge arm is firstly obtained; then determining effective sampling current in the three-phase inverter circuit according to the space vector angle, the effective conduction time and the shortest effective sampling time of the motor; establishing a current reconstruction model according to the d-axis current of the motor and a current space transformation formula, wherein the d-axis current of the motor is set to be 0; and determining the two-phase current of a stationary two-phase coordinate system of the motor according to the current reconstruction model and the effective sampling current, so that the two-phase current of the motor at a higher rotating speed and a larger effective PWM pulse width is calculated by the current reconstruction model through three-phase alternate sampling, and accurate acquisition of current information is realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a motor driving circuit according to an embodiment of the present application;
fig. 2 is a schematic waveform diagram of PWM according to an embodiment of the present application;
FIG. 3 is a space vector diagram provided in an embodiment of the present application;
fig. 4 is a schematic flow chart of a three-phase current sampling method according to an embodiment of the present application;
fig. 5 is a schematic flow chart of another three-phase current sampling method according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a three-phase current sampling device according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a robot according to an embodiment of the present application.
Detailed Description
In order to make the technical problems, technical schemes and beneficial effects to be solved by the present application more clear, the present application is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
It will be understood that when an element is referred to as being "mounted" or "disposed" on another element, it can be directly on the other element or be indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or be indirectly connected to the other element.
It is to be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate or are based on the orientation or positional relationship shown in the drawings, merely to facilitate description of the present application and simplify description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be configured and operated in a particular orientation, and therefore should not be construed as limiting the present application.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present application, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In order to illustrate the technical scheme of the invention, the following description is made by specific examples.
A schematic diagram of the motor drive circuit is shown in fig. 1, wherein the pulse width modulated signal UH, UL, VH, VL, WH, WL is the 3-way complementary PWM output by the servo driver to control the motor operation. RU, RV, RW are three-phase lower bridge current sampling resistors, and when the lower bridge arm is on, i.e. UL, VL, WL is high, current flows through the corresponding sampling resistor. In the sampling process, as shown in fig. 2, the phase current can be correctly collected by triggering the AD conversion at the point P2, but the PWM pulse width of the motor can be continuously changed in the space operation process, as shown in the space vector diagram of fig. 3, the motor magnetic poles are operated to different space positions, and the corresponding PWM pulse width can be different. Along with the rising of the motor rotating speed, the width of the effective PWM pulse width becomes wider and wider, the time for the effective sampling of the lower bridge arm becomes narrower and narrower, so that the accurate sampling of the three-phase current cannot be met, and after the sampling time window reaches the limit, the effective PWM pulse width cannot be continuously increased, so that the motor rotating speed cannot be continuously increased, the voltage utilization rate is low, and the whole performance of the servo motor cannot be exerted.
Because the servo motor control only needs to correctly acquire two-phase current, the current sampling is performed in a three-phase alternating sampling mode, and the motor control is performed by judging and switching the effectively acquired two-phase current in real time through a three-phase pulse width modulation signal (PWM). When the space vector is 60 degrees, 180 degrees and 300 degrees, the running rotating speed of the motor is higher, and when the effective PWM pulse width is larger, the current which can be effectively collected is only one phase, and at the moment, the current is calculated by adopting the current reconstruction model in the application, so that the motor is controlled; and compensating for the delay of current sampling by triggering an AD sampling and converting method by corresponding time delay of a PWM zero crossing point.
The embodiment of the invention provides a three-phase current sampling method, which is used for respectively sampling currents of a first phase bridge arm, a second phase bridge arm and a third phase bridge arm of a three-phase inverter circuit through a first sampling resistor RU, a second sampling resistor RV and a third sampling resistor RW.
Referring to fig. 4, the three-phase current sampling method includes steps S10, S20, S30, and S40.
In step S10, effective conduction times of the first phase leg, the second phase leg, and the third phase leg are obtained.
In this embodiment, the effective conduction time of the first phase bridge arm, the second phase bridge arm and the third phase bridge arm is related to the motor rotation speed, for example, when the space vector is 60 °, 180 °, 300 °, and the motor operation rotation speed is higher, the smaller the effective conduction time is when the effective PWM pulse width is larger.
In step S20, an effective sampling current in the three-phase inverter circuit is determined according to a space vector angle of the motor, the effective conduction time, and a shortest effective sampling time.
In this embodiment, as can be seen from fig. 2, 3 and 5, when the space vector is 60 °, 180 ° and 300 °, and the running speed of the motor is higher, and the effective PWM pulse width is larger, the current that can be effectively collected has only one phase, for example, when the running speed of the motor is higher, the effective conduction time of the first phase bridge arm, the second phase bridge arm and the third phase bridge arm, where the effective conduction time of only one phase of the lower bridge arm is greater than the shortest effective sampling time, and at this time, the phase current whose effective conduction time is greater than the most effective sampling time is the effective sampling current, and the shortest effective sampling time is determined by the devices, the manufacturing process, and the like adopted by the inverter circuit.
Referring to fig. 5, when the effective on time TUL of the first phase bridge arm is greater than the shortest effective sampling time Ti and the effective on time TVL of the second phase bridge arm is greater than the shortest effective sampling time Ti, the sampling current of the first phase (U-phase) and the sampling current of the second phase (V-phase) are both effective sampling currents, and at this time, according to the three-phase current calculation formula iv+iv+iu=0, iw= -IU-IV, IU is the actual current of the U-phase, IV is the actual current of the V-phase, and IW is the actual current of the W-phase.
Referring to fig. 5, when the effective on time TUL of the first phase bridge arm is greater than the shortest effective sampling time Ti and the effective on time TWL of the third phase bridge arm is greater than the shortest effective sampling time Ti, the sampling currents of the first phase (U-phase) and the third phase (W-phase) are both effective sampling currents, and at this time, according to the three-phase current calculation formula iv+iv+iu=0, iv= -IU-IW is obtained, IU is the actual current of the U-phase, IV is the actual current of the V-phase, and IW is the actual current of the W-phase.
Referring to fig. 5, when the effective on time TVL of the second phase leg is greater than the shortest effective sampling time Ti, and the effective on time TWL of the third phase leg is greater than the shortest effective sampling time Ti, the sampling current of the second phase (V-phase) and the sampling current of the third phase (W-phase) are both effective sampling currents, and at this time, iu= -IW-IV can be obtained according to the three-phase current calculation formula iv+iv+iu=0, IU is the actual current of the U-phase, IV is the actual current of the V-phase, and IW is the actual current of the W-phase.
In step S30, a current reconstruction model is established according to a motor d-axis current and a current space transformation formula, wherein the motor d-axis current is set as a preset reference current.
In this embodiment, the preset reference current may be set to 0.
In step S40, two-phase currents of a stationary two-phase coordinate system of the motor are determined according to the current reconstruction model and the effective sampling current.
When the space vector angle is 60 degrees, 180 degrees and 300 degrees or is close to the angle, only one phase of effective current can be acquired at the moment, the servo motor adopts a vector control method with d-axis equal to 0, and when the motor runs at high speed, only one phase of effective current can be acquired at the moment, so that the d-axis current output by the motor at the moment can be considered to be 0 based on the moment.
In this embodiment, through the current reconstruction model preset in the present application, the stationary two-phase current of the motor can be obtained according to the one-phase effective sampling current, and since the servo motor control only needs to correctly collect the two-phase current, in this embodiment, the current sampling is performed by adopting a three-phase alternate sampling mode, and the effective two-phase current is obtained through the three-phase PWM pulse width and the current reconstruction model, so that the motor current closed-loop control can be realized.
In one embodiment, in step S20, the determining the effective sampling current in the three-phase inverter circuit according to the space vector angle of the motor, the effective on-time, and the shortest effective sampling time includes:
and if the effective conduction time of the first phase bridge arm is smaller than the shortest effective sampling time and the effective conduction time of the second phase bridge arm is smaller than the shortest effective sampling time, the effective sampling current is the current flowing through the third phase bridge arm.
In one embodiment, in step S40, the determining the two-phase current of the stationary two-phase coordinate system of the motor according to the current reconstruction model and the effective sampling current includes:
calculating the two-phase current of a stationary two-phase coordinate system of the motor according to the first current reconstruction model and the current flowing through the third phase bridge arm; the current flowing through the third phase bridge arm is the current of the W axis of the stationary three-phase coordinate system of the motor;
the first current reconstruction model is:
cos(θ)*i α +sin(θ)*i β =i d =0;
i α =i u =-i v -i w
Figure GDA0004091006720000101
the two-phase current of the static two-phase coordinate system of the motor is as follows:
Figure GDA0004091006720000102
Figure GDA0004091006720000103
wherein ,iα For motor stationary two-phase coordinate system alpha-axis current, i β Beta-axis current, i of motor static two-phase coordinate system μ U-axis current, i of motor static three-phase coordinate system ν For motor stationary three-phase coordinate system V-axis current, i ω For motor stationary three-phase coordinate system W-axis current, i d D-axis current of a two-phase coordinate system for motor rotation, and theta is the angle of a magnetic pole of the motor.
In this embodiment, since the effective on time tur of the first phase bridge arm and the effective on time TVL of the second phase bridge arm are both smaller than the shortest effective sampling time Ti, when the space vector angle is 60 ° or close to this angle, the current that can be effectively collected at this time is the third phase (W-phase), the first current reconstruction model can be obtained according to the setting that the d-axis current is zero and the current space transformation formula, and the stationary two-phase current of the motor can be calculated based on the three calculation formulas in the first current reconstruction model.
In one embodiment, the determining the effective sampling current in the three-phase inverter circuit according to the space vector angle of the motor, the effective conduction time and the shortest effective sampling time includes:
and if the effective conduction time of the first phase bridge arm is smaller than the shortest effective sampling time and the effective conduction time of the third phase bridge arm is smaller than the shortest effective sampling time, the effective sampling current is the effective sampling current of the second phase bridge arm.
In one embodiment, the determining the two-phase current of the stationary two-phase coordinate system of the motor according to the current reconstruction model and the effective sampling current includes:
calculating the two-phase current of a stationary two-phase coordinate system of the motor according to the second current reconstruction model and the current flowing through the second phase bridge arm; the current flowing through the second-phase bridge arm is the current of a U-axis of a stationary three-phase coordinate system of the motor;
the second current reconstruction model is:
cos(θ)*i α +sin(θ)*i β =i d =0;
i α =i u
the two-phase current of the static two-phase coordinate system of the motor is as follows:
i α =i u
Figure GDA0004091006720000111
wherein ,iα For motor stationary two-phase coordinate system alpha-axis current, i β Beta-axis current, i of motor static two-phase coordinate system μ U-axis current, i of motor static three-phase coordinate system ν For motor stationary three-phase coordinate system V-axis current, i ω For motor stationary three-phase coordinate system W-axis current, i d D-axis current of a two-phase coordinate system for motor rotation, and theta is the angle of a magnetic pole of the motor.
In this embodiment, since the effective on time tur of the first phase bridge arm and the effective on time TWL of the third phase bridge arm are both smaller than the shortest effective sampling time Ti, when the space vector angle is 180 ° or close to this angle, the current that can be effectively collected at this time is the second phase (V-phase), the second current reconstruction model can be obtained according to the setting that the d-axis current is zero and the current space transformation formula, and the stationary two-phase current of the motor can be calculated based on the three calculation formulas in the second current reconstruction model.
In one embodiment, the determining the effective sampling current in the three-phase inverter circuit according to the space vector angle of the motor, the effective conduction time and the shortest effective sampling time includes:
and if the effective conduction time of the second phase bridge arm is smaller than the shortest effective sampling time and the effective conduction time of the third phase bridge arm is smaller than the shortest effective sampling time, the effective sampling current is the effective sampling current of the first phase bridge arm.
In one embodiment, the determining the two-phase current of the stationary two-phase coordinate system of the motor according to the current reconstruction model and the effective sampling current includes:
calculating the two-phase current of a stationary two-phase coordinate system of the motor according to the third current reconstruction model and the current flowing through the first phase bridge arm; the current flowing through the second-phase bridge arm is the current of a motor stationary three-phase coordinate system V-axis;
the third current reconstruction model is:
cos(θ)*i α +sin(θ)*i β =i d =0;
i α =i u
Figure GDA0004091006720000121
the two-phase current of the static two-phase coordinate system of the motor is as follows:
Figure GDA0004091006720000122
Figure GDA0004091006720000123
wherein ,iα For motor stationary two-phase coordinate system alpha-axis current, i β Beta-axis current, i of motor static two-phase coordinate system μ U-axis current, i of motor static three-phase coordinate system ν For motor stationary three-phase coordinate system V-axis current, i ω For motor stationary three-phase coordinate system W-axis current, i d D-axis current of a two-phase coordinate system for motor rotation, and theta is the angle of a magnetic pole of the motor.
In this embodiment, since the effective on time TVL of the second phase leg and the effective on time TWL of the third phase leg are both smaller than the shortest effective sampling time Ti, when the space vector angle is 300 ° or is close to this angle, the current that can be effectively collected at this time is the first phase (U-phase), the third current reconstruction model can be obtained according to the setting that the d-axis current is zero and the current space transformation formula, and the stationary two-phase current of the motor can be calculated based on the three calculation formulas in the third current reconstruction model.
The embodiment of the application also provides a three-phase current sampling device, which comprises: the circuit comprises a first sampling resistor RU, a second sampling resistor RV, a third sampling resistor RW and a three-phase inverter circuit; the first sampling resistor RU, the second sampling resistor RV and the third sampling resistor RW are respectively used for sampling currents of a first phase bridge arm, a second phase bridge arm and a third phase bridge arm of the three-phase inverter circuit.
In the present embodiment, referring to fig. 6, the three-phase current sampling apparatus 50 further includes: an on-time acquisition unit 501, a sampling current determination unit 502, a current model setting unit 503, a two-phase current calculation unit 504; the on-time obtaining unit 501 is configured to obtain effective on-times of the first phase leg, the second phase leg, and the third phase leg; the sampling current determining unit 502 is configured to determine an effective sampling current in the three-phase inverter circuit according to a space vector angle of the motor, the effective conduction time, and a shortest effective sampling time; the current model setting unit 503 is configured to establish a current reconstruction model according to a motor d-axis current and a current space transformation formula, where the motor d-axis current is set as a preset reference current; the two-phase current calculation unit 504 is configured to determine two-phase currents of a stationary two-phase coordinate system of the motor according to the current reconstruction model and the effective sampling current.
In this embodiment, the effective conduction time of the first phase bridge arm, the second phase bridge arm and the third phase bridge arm is obtained through the conduction time obtaining unit 501, and then the sampling current determining unit 502 determines the effective sampling current in the three-phase inverter circuit according to the space vector angle, the effective conduction time and the shortest effective sampling time of the motor; the current model setting unit 503 establishes a current reconstruction model according to the motor d-axis current and the current space transformation formula, and the motor d-axis current is set as a preset reference current, and the preset reference current may be 0; the two-phase current calculation unit 504 determines the two-phase current of the stationary two-phase coordinate system of the motor according to the current reconstruction model and the effective sampling current, so that the two-phase current of the motor at a high rotating speed and a high effective PWM pulse width is calculated by the current reconstruction model through three-phase alternate sampling, and accurate collection of current information is realized.
The embodiment of the application also provides a robot, which comprises: a motor; and a control unit that samples three-phase currents of the motor using the three-phase current sampling method according to any one of the above, and drives the motor according to the sampling result.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of the method according to any one of the preceding claims.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment can be integrated in one control unit, or each unit can exist alone physically, or two or more units are integrated in one unit, and the integrated units can be realized in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed robot and method may be implemented in other ways. For example, the robotic embodiments described above are merely illustrative. For example, the division of a module or unit is merely a logical function division, and there may be another division manner when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one control unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated modules/units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiment, or may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the jurisdiction's jurisdiction and the patent practice, for example, in some jurisdictions, the computer readable medium does not include electrical carrier signals and telecommunication signals according to the jurisdiction and the patent practice.
The above embodiments are only for illustrating the technical solution of the present application, and are not limiting thereof; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (8)

1. The three-phase current sampling method is characterized by comprising the steps of respectively carrying out current sampling on a first phase bridge arm, a second phase bridge arm and a third phase bridge arm of a three-phase inverter circuit through a first sampling resistor, a second sampling resistor and a third sampling resistor, and comprising the following steps:
acquiring effective conduction time of the first phase bridge arm, the second phase bridge arm and the third phase bridge arm;
determining the effective sampling current in the three-phase inverter circuit according to the space vector angle of the motor, the effective conduction time and the shortest effective sampling time comprises: if the effective conduction time of the first phase bridge arm is smaller than the shortest effective sampling time and the effective conduction time of the second phase bridge arm is smaller than the shortest effective sampling time, the effective sampling current is the current flowing through the third phase bridge arm;
establishing a current reconstruction model according to a motor d-axis current and a current space transformation formula, wherein the motor d-axis current is set as a preset reference current;
determining two-phase currents of a stationary two-phase coordinate system of the motor according to the current reconstruction model and the effective sampling current;
the determining the two-phase current of the motor stationary two-phase coordinate system according to the current reconstruction model and the effective sampling current comprises the following steps:
calculating the two-phase current of a stationary two-phase coordinate system of the motor according to the first current reconstruction model and the current flowing through the third phase bridge arm; the current flowing through the third phase bridge arm is the current of the W axis of the stationary three-phase coordinate system of the motor;
the first current reconstruction model is:
Figure QLYQS_1
Figure QLYQS_2
Figure QLYQS_3
the two-phase current of the static two-phase coordinate system of the motor is as follows:
Figure QLYQS_4
Figure QLYQS_5
wherein ,
Figure QLYQS_6
for motor stationary two-phase coordinate system alpha-axis current, < >>
Figure QLYQS_7
β -axis current for stationary two-phase coordinate system of motor, +.>
Figure QLYQS_8
U-axis current of motor static three-phase coordinate system, < >>
Figure QLYQS_9
For motor stationary three-phase coordinate system V-axis current, +.>
Figure QLYQS_10
W-axis current of motor static three-phase coordinate system, < >>
Figure QLYQS_11
D-axis current of a two-phase coordinate system for motor rotation, and theta is the angle of a magnetic pole of the motor.
2. The method of claim 1, wherein determining the effective sampling current in the three-phase inverter circuit based on the spatial vector angle of the motor, the effective on-time, and the shortest effective sampling time comprises:
and if the effective conduction time of the first phase bridge arm is smaller than the shortest effective sampling time and the effective conduction time of the third phase bridge arm is smaller than the shortest effective sampling time, the effective sampling current is the effective sampling current of the second phase bridge arm.
3. The method of three-phase current sampling according to claim 2, wherein said determining the two-phase current of the stationary two-phase coordinate system of the motor from the current reconstruction model and the effective sampling current comprises:
calculating the two-phase current of a stationary two-phase coordinate system of the motor according to the second current reconstruction model and the current flowing through the second phase bridge arm; the current flowing through the second-phase bridge arm is the current of a U-axis of a stationary three-phase coordinate system of the motor;
the second current reconstruction model is:
Figure QLYQS_12
Figure QLYQS_13
the two-phase current of the static two-phase coordinate system of the motor is as follows:
Figure QLYQS_14
Figure QLYQS_15
wherein ,
Figure QLYQS_16
for motor stationary two-phase coordinate system alpha-axis current, < >>
Figure QLYQS_17
For stationary two-phase coordinates of the motorIs beta-axis current, ">
Figure QLYQS_18
U-axis current of motor static three-phase coordinate system, < >>
Figure QLYQS_19
D-axis current of a two-phase coordinate system for motor rotation, and theta is the angle of a magnetic pole of the motor.
4. The method of claim 1, wherein determining the effective sampling current in the three-phase inverter circuit based on the spatial vector angle of the motor, the effective on-time, and the shortest effective sampling time comprises:
and if the effective conduction time of the second phase bridge arm is smaller than the shortest effective sampling time and the effective conduction time of the third phase bridge arm is smaller than the shortest effective sampling time, the effective sampling current is the effective sampling current of the first phase bridge arm.
5. The method of three-phase current sampling according to claim 4, wherein said determining two-phase currents of a stationary two-phase coordinate system of a motor from said current reconstruction model and said effective sampled currents comprises:
calculating the two-phase current of a stationary two-phase coordinate system of the motor according to a third current reconstruction model and the current flowing through the first phase bridge arm;
the third current reconstruction model is:
Figure QLYQS_20
Figure QLYQS_21
Figure QLYQS_22
the two-phase current of the static two-phase coordinate system of the motor is as follows:
Figure QLYQS_23
Figure QLYQS_24
wherein ,
Figure QLYQS_25
for motor stationary two-phase coordinate system alpha-axis current, < >>
Figure QLYQS_26
β -axis current for stationary two-phase coordinate system of motor, +.>
Figure QLYQS_27
U-axis current of motor static three-phase coordinate system, < >>
Figure QLYQS_28
For motor stationary three-phase coordinate system V-axis current, +.>
Figure QLYQS_29
D-axis current of a two-phase coordinate system for motor rotation, and theta is the angle of a magnetic pole of the motor.
6. A three-phase current sampling apparatus, comprising: the first sampling resistor, the second sampling resistor, the third sampling resistor and the three-phase inverter circuit; the first sampling resistor, the second sampling resistor and the third sampling resistor are respectively used for sampling currents of a first phase bridge arm, a second phase bridge arm and a third phase bridge arm of the three-phase inverter circuit;
the three-phase current sampling apparatus further includes:
the conduction time acquisition unit is used for acquiring the effective conduction time of the first phase bridge arm, the second phase bridge arm and the third phase bridge arm;
the sampling current determining unit is configured to determine an effective sampling current in the three-phase inverter circuit according to a space vector angle of the motor, the effective conduction time and a shortest effective sampling time, and includes: the effective conduction time of the first-phase bridge arm is smaller than the shortest effective sampling time, and the effective conduction time of the second-phase bridge arm is smaller than the shortest effective sampling time, so that the effective sampling current is the current flowing through the third-phase bridge arm;
the current model setting unit is used for establishing a current reconstruction model according to the d-axis current of the motor and a current space transformation formula, wherein the d-axis current of the motor is set as a preset reference current;
the two-phase current calculation unit is configured to determine, according to the current reconstruction model and the effective sampling current, two-phase currents of a stationary two-phase coordinate system of the motor, including: calculating the two-phase current of a stationary two-phase coordinate system of the motor according to the first current reconstruction model and the current flowing through the third phase bridge arm; the current flowing through the third phase bridge arm is the current of the W axis of the stationary three-phase coordinate system of the motor;
the first current reconstruction model is:
Figure QLYQS_30
Figure QLYQS_31
Figure QLYQS_32
the two-phase current of the static two-phase coordinate system of the motor is as follows:
Figure QLYQS_33
Figure QLYQS_34
wherein ,
Figure QLYQS_35
for motor stationary two-phase coordinate system alpha-axis current, < >>
Figure QLYQS_36
β -axis current for stationary two-phase coordinate system of motor, +.>
Figure QLYQS_37
U-axis current of motor static three-phase coordinate system, < >>
Figure QLYQS_38
For motor stationary three-phase coordinate system V-axis current, +.>
Figure QLYQS_39
W-axis current of motor static three-phase coordinate system, < >>
Figure QLYQS_40
D-axis current of a two-phase coordinate system for motor rotation, and theta is the angle of a magnetic pole of the motor.
7. A robot, comprising: a motor; and a control unit that samples three-phase currents of the motor using the three-phase current sampling method according to any one of claims 1 to 5, and drives the motor according to the sampling result.
8. A computer readable storage medium storing a computer program, characterized in that the computer program when executed by a processor implements the steps of the method according to any one of claims 1-5.
CN202110857459.3A 2021-07-28 2021-07-28 Three-phase current sampling method, three-phase current sampling device, robot and computer readable storage medium Active CN113541551B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110857459.3A CN113541551B (en) 2021-07-28 2021-07-28 Three-phase current sampling method, three-phase current sampling device, robot and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110857459.3A CN113541551B (en) 2021-07-28 2021-07-28 Three-phase current sampling method, three-phase current sampling device, robot and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113541551A CN113541551A (en) 2021-10-22
CN113541551B true CN113541551B (en) 2023-06-02

Family

ID=78121178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110857459.3A Active CN113541551B (en) 2021-07-28 2021-07-28 Three-phase current sampling method, three-phase current sampling device, robot and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN113541551B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115189612B (en) * 2022-09-13 2022-12-02 苏州至盛半导体科技有限公司 Non-blind area current sampling method and circuit for motor driving circuit

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109347397A (en) * 2018-12-13 2019-02-15 株洲易力达机电有限公司 The current of electric method of sampling and system based on three resistance of three-phase drive bridge lower bridge arm

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5157372B2 (en) * 2007-11-06 2013-03-06 株式会社デンソー Multi-phase rotating electrical machine control device and multi-phase rotating electrical machine device
CN103713178B (en) * 2012-09-29 2016-10-05 珠海格力电器股份有限公司 Current sampling method and current sampling device
CN105406790B (en) * 2015-12-25 2018-08-31 上海交通大学 The three resistor current method of sampling of frequency converter based on current forecasting
CN106443133B (en) * 2016-10-31 2019-02-15 广东美的制冷设备有限公司 Air-conditioning system, the current sample method and apparatus of three-phase inverting circuit
CN107834927B (en) * 2017-11-17 2020-03-03 美的集团股份有限公司 Motor driving system and method and device for synchronously calculating reconstructed phase current and phase voltage
CN110365272B (en) * 2019-08-09 2021-04-27 四川虹美智能科技有限公司 Single-resistor sampling control method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109347397A (en) * 2018-12-13 2019-02-15 株洲易力达机电有限公司 The current of electric method of sampling and system based on three resistance of three-phase drive bridge lower bridge arm

Also Published As

Publication number Publication date
CN113541551A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
US6707265B2 (en) Rotor angle detecting apparatus for DC brushless motors
US20110204831A1 (en) Drive device for alternating current motor and electric motor vehicle
JP6279151B2 (en) AC rotating machine control device and electric power steering device
WO2021203589A1 (en) Permanent magnet direct-current electric motor commutation control apparatus and method based on sliding mode observer
CN103138671B (en) Method and system for compensating dead zone effects of inverter of permanent magnet synchronous motor
CN113541551B (en) Three-phase current sampling method, three-phase current sampling device, robot and computer readable storage medium
JP2000350489A (en) Position sensorless motor controller
CN104852662B (en) The measuring method and system of permagnetic synchronous motor static inductance parameter
CN109039199B (en) Bus current estimation method and system for EPS controller
JP2005269880A (en) Three-phase voltage type pwm inverter device
US11705840B2 (en) Commutation error compensation method and apparatus for electric motor, and storage medium
US11088640B2 (en) Drive apparatus for oil-pump motor and drive control method for oil-pump motor
CN109586625B (en) Driving method and device of brushless direct current motor
US11591009B2 (en) Power management of permanent magnet synchronous motor (PMSM) drive using machine current limiting
CN109546904B (en) Rotor position detection method of double three-phase permanent magnet synchronous motor
JP4691916B2 (en) Rotational position angle estimation method, rotational position angle estimation device, motor control method, and motor control device
CN114696702A (en) Direction-changeable non-inductive FOC motor control system and method
CN114584030A (en) Permanent magnet synchronous motor control method and device
CN113572395A (en) Adaptive real-time correction method for commutation error of brushless motor without position sensor
CN114374345B (en) Improved phase current gradient detection method for switched reluctance motor
JP4600726B2 (en) Three-phase inverter device
CN111969921B (en) Method and device for determining rotating speed of motor and electronic equipment
CN113300655B (en) Error compensation-based switched reluctance motor position sensorless control method
JP2022153006A (en) Motor control device
WO2023026332A1 (en) Rotating machine control apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20231208

Address after: Room 601, 6th Floor, Building 13, No. 3 Jinghai Fifth Road, Beijing Economic and Technological Development Zone (Tongzhou), Tongzhou District, Beijing, 100176

Patentee after: Beijing Youbixuan Intelligent Robot Co.,Ltd.

Address before: 518000 16th and 22nd Floors, C1 Building, Nanshan Zhiyuan, 1001 Xueyuan Avenue, Nanshan District, Shenzhen City, Guangdong Province

Patentee before: Shenzhen UBTECH Technology Co.,Ltd.