A method and device for estimating motor position and speed based on complex normalization
Through the complex normalized motor position and speed estimation method, the Clarke transformation and sliding mode observer, combined with Park transformation and complex calculation, the problem of motor speed changes affecting dynamic performance is solved, and the bandwidth is not affected by speed and parameters is achieved. The design is simplified, improving the dynamic performance and steady-state accuracy of motor position and speed estimates.
Patent Information
- Application Number
- CN202311006594.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-10
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2043-08-10
AI Technical Summary
The existing motor position and speed estimation method based on phase-locked loops is affected when the motor speed changes widely, the parameter design is difficult, and oscillation is prone to occur, which affects the performance without position control.
Using a motor position and speed estimation method based on complex normalization, the motor three-phase stator current is obtained through the current sensor, and the Clarke transformation and sliding mode observer are constructed. Combined with Park transformation and complex calculation, the complex number that is not affected by the motor speed is designed. Normalized position error, construct position and velocity observers.
The system bandwidth is not affected by speed, the parameter design is simple, and it has excellent dynamic performance and steady-state accuracy when the motor speed changes in large range, which can effectively realize the positionless control of the motor.
Smart Images

Figure CN117040342B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of motor control, and in particular relates to a method and device for estimating motor position and speed based on complex normalization. Background Art
[0002] In order to use position sensorless control technology to keep the motor in normal working state, it is necessary to design a motor position and speed estimator to achieve accurate estimation of the motor position and speed. Existing technologies are usually based on a phase-locked loop, which uses the observed back electromotive force as its input and outputs the position and speed of the motor. The position error information calculated by the existing technology is usually proportional to the motor speed, which makes the bandwidth of the system change with the speed, which affects the dynamic performance of the observer and is not convenient for system parameter selection. In addition, the existing motor position and speed estimation method based on the phase-locked loop will have serious oscillation problems when the motor speed changes over a large range, and may even cause shutdown.
[0003] Therefore, the dynamic performance of the existing estimation method based on the phase-locked loop is affected by the speed, and the parameter design is relatively difficult. When the motor speed varies over a large range, it cannot meet the actual needs of the motor position and speed estimation, and thus cannot well implement the position-free control of the motor.
[0004] To sum up, the problems existing in the prior art are: the dynamic performance of the existing motor position and speed estimation method based on the phase-locked loop is affected by the speed, and the parameter design is relatively difficult. When the motor speed changes over a large range, serious oscillation problems will occur, and even shutdown will occur, which seriously affects the performance of the motor without position control. Summary of the invention
[0005] In order to overcome the shortcomings of the above-mentioned prior art, the purpose of the present invention is to provide a method and device for estimating the motor position and speed based on complex normalization. This method makes the system bandwidth unaffected by speed, and the parameter design is relatively simple. It not only has excellent dynamic performance but also has good steady-state accuracy when the motor speed changes over a large range, and can realize position-free control of the motor.
[0006] In order to achieve the above object, the technical solution adopted by the present invention is:
[0007] A method for estimating motor position and speed based on complex normalization comprises the following steps:
[0008] Step 1: obtaining the three-phase stator current of the motor through a current sensor device;
[0009] Step 2, performing Clarke transformation on the three-phase stator current to obtain the motor stator current in a two-phase stationary coordinate system (αβ coordinate system);
[0010] Step 3, constructing a sliding mode observer based on the stator current in the αβ coordinate system;
[0011] Step 4: According to the relationship between the estimated current and the measured current, the back electromotive force of the motor in the αβ coordinate system is obtained, and the back electromotive force contains the position and speed information of the motor;
[0012] Step 5, performing Park transformation and complex calculation on the back electromotive force to obtain a complex normalized motor position error that is not affected by the motor speed in a two-phase rotating estimation coordinate system (dq estimation coordinate system);
[0013] Step six, designing a position and speed observer according to the complex normalized position error relationship to obtain an estimated position and an estimated speed of the motor.
[0014] The three-phase stator current of the motor obtained by the current sensor device in step 1 is i a ,i b ,i c .
[0015] In step 2, the three-phase stator current is subjected to Clarke transformation, and the calculation formula is:
[0016]
[0017] Get the motor stator current i in the αβ coordinate system α ,i β .
[0018] In step 3, the motor stator current i in the αβ coordinate system is α ,i β Construct a sliding mode observer, the specific equation is:
[0019]
[0020] in: and Estimated value of motor stator current and The differential of α and u β is the observer control input, R d and L d are the stator d-axis resistance and inductance of the motor, h is the sliding mode gain, and sgn is the sign function.
[0021] In step 4, the back electromotive force E of the motor in the αβ coordinate system is calculated. α and E β The specific formula is:
[0022]
[0023] Among them, k f is the permanent magnet flux, ω is the electrical angular velocity of the motor, and θ is the actual position of the motor.
[0024] In step 5, the back electromotive force obtained in step 4 is subjected to Park transformation. is the estimated value of the motor position θ, and the back electromotive force E in the dq estimation coordinate system is obtained d and E q , the specific calculation formula is:
[0025]
[0026] In step 5, the back electromotive force E in the dq coordinate system is estimated. d and E q Perform complex calculations to obtain the complex normalized motor position error E that is not affected by the motor speed. out , the specific calculation formula is:
[0027]
[0028] Where j is the imaginary unit, Im is the imaginary part of the complex number, Re is the real part of the complex number, and n is a positive integer.
[0029] In step 6, according to the position error relationship E in step 5 out , construct position and velocity observers, the specific formula is:
[0030]
[0031] in Represents the estimated value of the motor electrical angular velocity, k p and k i is the design parameter, It’s the points-scoring phase.
[0032] A motor position and speed estimation device based on complex normalization includes a current sensor, wherein the current sensor is used to collect the three-phase current of the motor stator, and the collected signal is processed by a filter, an amplifier and an analog-to-digital converter, and input into a microcontroller unit (MCU or DSP) for calculation, and finally the motor position and speed are obtained;
[0033] The current sensor is based on the Hall effect and is installed on the three phase lines a, b and c of the motor;
[0034] The microcontroller unit (MCU or DSP) runs the above-mentioned motor position and speed estimation method based on complex normalization in steps to calculate the motor position and speed.
[0035] Beneficial effects of the present invention:
[0036] The present invention proposes a motor position and speed estimation method based on complex normalization, and designs a corresponding device; it is composed of a current sensor, a filter, a signal amplifier, an analog-to-digital converter and a motor parameter estimator, wherein the motor parameter estimator is composed of a microcontroller unit (DSP or MCU) running a motor position and speed estimation method based on complex normalization. (The motor parameters in the motor parameter estimator here refer to the motor position and speed).
[0037] This method makes the system bandwidth unaffected by speed, and the parameter design is relatively simple. It has excellent dynamic performance and steady-state accuracy when the motor speed changes in a wide range, and can realize position-free control of the motor.
[0038] The motor position error E is normalized by the complex number in step 5 above. out From the expression, we can see that the motor position error information does not contain the motor electrical angular velocity ω, so the bandwidth and parameter design of the system are independent of speed, eliminating the influence of motor speed on system bandwidth and simplifying the system parameter design process. When the motor speed changes over a wide range, the system still has excellent dynamic performance and steady-state accuracy. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a flow chart of a method for estimating motor position and speed provided by an embodiment of the present invention.
[0040] Figure 2 It is a flow chart of the motor position and speed estimation method provided by an embodiment of the present invention.
[0041] Figure 3 is a schematic diagram of the structure of a motor parameter estimation device provided by an embodiment of the present invention;
[0042] In the figure: 1. Three-phase current sensor; 2. Filter; 3. Signal amplifier; 4. Analog-to-digital converter; 5. Current sensing device; 6. Motor parameter estimator. DETAILED DESCRIPTION
[0043] The present invention will be further described in detail below in conjunction with the accompanying drawings.
[0044] The present invention eliminates the influence of motor speed on bandwidth and system parameter design, effectively enhances the reliability of the estimation method under the condition of wide range of motor speed changes, eliminates oscillation, and improves the dynamic performance and steady-state accuracy of the motor position and speed estimation method.
[0045] A method for estimating the position and speed of a motor based on complex normalization, wherein the method performs Clarke transformation on the three-phase stator current of the motor obtained by a current sensor and constructs a sliding mode observer, calculates the back electromotive force of the motor, performs Park transformation and complex operations on it, calculates the complex normalized motor position error, designs a method for estimating the motor position and speed, and builds a parameter estimation device.
[0046] like Figure 1 As shown, the motor position and speed estimation method provided by the embodiment of the present invention includes the following steps:
[0047] S101: using a current sensor to obtain the three-phase current of the motor stator;
[0048] S102: performing Clarke transformation on the three-phase current of the motor stator to obtain the motor current in the αβ coordinate system;
[0049] S103: Design a sliding mode observer for motor current;
[0050] S104: Calculate and obtain the back electromotive force of the motor;
[0051] S105: performing Park transformation and complex operation on the back electromotive force to obtain a complex normalized position error;
[0052] S106: Design a speed and position estimation method, and obtain the estimated position and estimated speed of the motor.
[0053] The application principle of the present invention is further described below in conjunction with the accompanying drawings.
[0054] like Figure 2 As shown, the motor position and speed estimation method provided by the embodiment of the present invention includes the following steps:
[0055] The first step is to use the current sensor device to obtain the three-phase stator current i of the motor a ,i b ,i c ;
[0056] The second step is to perform Clarke transformation on the three-phase current of the motor stator to obtain the motor current i in the αβ coordinate system. α and i β :
[0057]
[0058] The third step is to design the sliding mode observer of the motor current:
[0059] in: is the estimated value of the motor current in the αβ coordinate system.
[0060] The fourth step is to calculate the back electromotive force of the motor based on the relationship between the estimated current and the measured current:
[0061]
[0062] The fifth step is to perform Park transformation on the back EMF and perform complex operations in the dq estimation coordinate system to obtain the complex normalized
[0063] Motor position error E out :
[0064]
[0065] in represents an estimate of the motor position;
[0066] Step 6: Normalize the motor position error E according to the complex number out , build the motor position and speed estimator:
[0067]
[0068] in Represents an estimate of the motor's electrical angular velocity.
[0069] The system mentioned in the present invention refers to the motor position and speed estimation system, that is, the motor position and speed estimator here, and the parameter design refers to the design of selecting k p and k i .
[0070] like Figure 3 As shown, the motor parameter estimation device provided by the embodiment of the present invention includes a current sensor device 5 and a motor parameter estimator 6. The current sensor device 5 includes a three-phase current sensor 1, a filter 2, an amplifier 3, and an analog-to-digital converter 4.
[0071] The three-phase current sensor 1 obtains the three-phase stator current of the motor, and the obtained signal is input into the filter 2, the signal amplifier 3, the analog-to-digital converter 4, and then input into the motor parameter estimator 6 to estimate the motor position and speed, wherein the motor parameter estimator 6 is composed of a microcontroller unit (DSP or MCU) running a motor position and speed estimation method based on complex normalization. The estimated position and speed are compared with the actual position and speed of the motor acquired by the encoder, and the results are basically consistent, which proves that the estimation method proposed in the present invention is accurate.
[0072] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for estimating motor position and speed based on complex normalization, It is characterized in that The steps include: Step 1: obtaining the three-phase stator current of the motor through a current sensor device; Step 2, performing Clarke transformation on the three-phase stator current to obtain the motor stator current in a two-phase stationary coordinate system, i.e., an αβ coordinate system; Step 3, constructing a sliding mode observer based on the stator current in the αβ coordinate system; Step 4: According to the relationship between the estimated current and the measured current, the back electromotive force of the motor in the αβ coordinate system is obtained, and the back electromotive force contains the position and speed information of the motor; Step 5, performing Park transformation and complex number calculation on the back electromotive force to obtain a complex normalized motor position error that is not affected by the motor speed in a two-phase rotating estimation coordinate system, i.e., a dq estimation coordinate system; Step 6, designing a position and speed observer according to the complex normalized position error relationship to obtain an estimated position and an estimated speed of the motor; In step 5, the back electromotive force obtained in step 4 is subjected to Park transformation. is the estimated value of the motor position θ, and the back electromotive force E in the dq estimation coordinate system is obtained d and E q , the specific calculation formula is: In step 5, the back electromotive force E in the dq coordinate system is estimated. d and E q Perform complex calculations to obtain the complex normalized motor position error E that is not affected by the motor speed. out , the specific calculation formula is: Where j is the imaginary unit, Im is the imaginary part of the complex number, Re is the real part of the complex number, and n is a positive integer; In step 3, the motor stator current i in the αβ coordinate system is α ,i β Construct a sliding mode observer, the specific equation is: in: and Estimated value of motor stator current and The differential of α and u β is the observer control input, R d and L d is the motor stator d-axis resistance and inductance, h is the sliding mode gain, sgn is the sign function; In step 6, according to the position error relationship E in step 5 out , construct position and velocity observers, the specific formula is: in Represents the estimated value of the motor electrical angular velocity, k p and k i is the design parameter, It’s the points-scoring phase.
2. A method for estimating motor position and speed based on complex normalization according to claim 1, It is characterized in that The three-phase stator current of the motor obtained by the current sensor device in step 1 is i a ,i b ,i c .
3. The method for estimating motor position and speed based on complex normalization according to claim 1, It is characterized in that In step 2, the three-phase stator current obtained in step 1 is subjected to Clarke transformation, and the calculation formula is: Get the motor stator current i in the αβ coordinate system α ,i β .
4. The method for estimating motor position and speed based on complex normalization according to claim 1, It is characterized in that In step 4, the back electromotive force E of the motor in the αβ coordinate system is calculated. α and E β The specific formula is: Among them, K f is the permanent magnet flux, ω is the electrical angular velocity of the motor, and θ is the actual position of the motor.
5. A motor position and speed estimation device based on complex normalization obtained based on the method according to any one of claims 1 to 4, It is characterized in that It includes a current sensor, which is used to collect the three-phase current of the motor stator. The collected signal is processed by a filter, an amplifier and an analog-to-digital converter, and input into a microcontroller unit for calculation, and finally the motor position and speed are obtained.
6. The motor position and speed estimation device based on complex normalization according to claim 5, It is characterized in that The current sensor is based on the Hall effect and is installed on the three phase lines a, b and c of the motor; The microcontroller unit executes the method according to any one of claims 1 to 4 to calculate the position and speed of the motor.
