Motor rotor positioning method
Through the adaptive approach model and phase-locked loop, combined with the improvement of the sliding mode observer, the problem of positioning accuracy and speed in the motor rotor positioning method is solved, and high reliability and high-performance motor control in harsh environments are achieved. .
Patent Information
- Application Number
- CN202410961569.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-18
AI Technical Summary
Existing motor rotor positioning methods are difficult to balance positioning accuracy and positioning speed. Especially in harsh environments, sensor accuracy is affected, affecting system reliability.
By obtaining the q-axis current reference value output by the speed regulator, combined with the adaptive approach model and phase-locked loop, the electrical angle and electrical angular velocity estimate of the motor rotor are determined, and the sliding mode observer and phase-locked loop are improved to suppress the chattering phenomenon. , achieving sensorless positioning.
It effectively improves the steady-state and dynamic performance of the motor control system, takes into account positioning accuracy and speed, and improves the reliability and lightweight characteristics of the system.
Smart Images

Figure CN118508809B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of motor control, and in particular to a motor rotor positioning method. Background Art
[0002] The new energy vehicle and small aircraft industries are gradually moving towards motor drive. The motor drive system has high integration and complex control logic, which brings challenges to the reliability of the motor drive system. Permanent magnet synchronous motors have the advantages of small size, high power density, high integration, and excellent control performance. Their application in motor drive systems has been demonstrated and tested, and they have great development potential.
[0003] The speed and rotor position information of permanent magnet synchronous motors are usually detected by photoelectric encoders or rotary transformers. However, during the operation of the motor drive system, harsh environments such as high temperature, high pressure, strong vibration, and strong electromagnetic fields can easily affect the accuracy of the position sensor, or even cause it to fail and damage, affecting the reliability of the motor drive system. In order to improve system reliability and simplify the mechanical structure components of the control system, some technologies attempt to use position sensorless control technology to obtain the speed and rotor position.
[0004] Permanent magnet synchronous motors usually operate at medium and high speeds, and the motor speed and rotor position information are obtained by observing the back electromotive force. The most commonly used methods include the sliding mode observer method, the extended Kalman filter method, the Romberg observer method, etc. Among them, the sliding mode observer has been widely studied due to its simple algorithm and high robustness. Some related technologies improve the jitter phenomenon by replacing the switching function in the sliding mode observer. However, the above methods only replace the switching function in the reaching law, and do not solve the problem of slow convergence speed when far away from the sliding surface.
[0005] Based on this, it is necessary to develop and design a motor rotor positioning method. Summary of the invention
[0006] The embodiment of the present invention provides a motor rotor positioning method, which is used to solve the problem that the motor rotor positioning method in the prior art is not easy to take into account both positioning accuracy and positioning speed.
[0007] In a first aspect, an embodiment of the present invention provides a method for positioning a motor rotor, comprising:
[0008] Acquire a q-axis current reference value output by a speed regulator, wherein the speed regulator outputs a signal indicating the q-axis current of the motor according to a motor speed deviation;
[0009] Sending the q-axis current of the motor and the q-axis current reference value to the first regulator, and sending the d-axis current of the motor and the preset d-axis current reference value to the second regulator, determining the α-axis voltage and the β-axis voltage according to the output of the first regulator and the output of the second regulator, wherein the q-axis current of the motor and the d-axis current of the motor are respectively obtained by coordinate system transformation according to the actual measured value of the motor current, and the first regulator and the second regulator respectively output signals indicating the q-axis voltage and the d-axis voltage of the motor according to the q-axis current difference and the d-axis current difference of the motor;
[0010] Inputting the α-axis voltage, the β-axis voltage, the α-axis current and the β-axis current into an adaptive approach model to obtain an α-axis back electromotive force observation value and a β-axis back electromotive force observation value, wherein the α-axis current and the β-axis current are respectively obtained by transforming the coordinate system according to the actual measured value of the motor current;
[0011] An estimated electrical angle and an estimated electrical angular velocity of the motor rotor are determined based on the α-axis back electromotive force observation value and the β-axis back electromotive force observation value.
[0012] In a second aspect, an embodiment of the present invention provides a motor rotor positioning device, which is used to implement the motor rotor positioning method described in the first aspect or any possible implementation of the first aspect, and the motor rotor positioning device includes:
[0013] A data acquisition module, used to acquire a q-axis current reference value output by a speed regulator, wherein the speed regulator outputs a signal indicating the q-axis current of the motor according to a motor speed deviation;
[0014] A stator parameter determination module, used for sending the q-axis current of the motor and the q-axis current reference value to a first regulator, and sending the d-axis current of the motor and a preset d-axis current reference value to a second regulator, and determining the α-axis voltage and the β-axis voltage according to the output of the first regulator and the output of the second regulator, wherein the q-axis current of the motor and the d-axis current of the motor are respectively obtained through coordinate system transformation according to the actual measured value of the motor current, and the first regulator and the second regulator respectively output signals indicating the q-axis voltage and the d-axis voltage of the motor according to the q-axis current difference and the d-axis current difference of the motor;
[0015] a back electromotive force determination module, used for inputting the α-axis voltage, the β-axis voltage, the α-axis current and the β-axis current into an adaptive approach model to obtain an α-axis back electromotive force observation value and a β-axis back electromotive force observation value, wherein the α-axis current and the β-axis current are respectively obtained by transforming the actual motor current value through a coordinate system;
[0016] as well as,
[0017] The rotor positioning module is used to determine the electrical angle estimation value and the electrical angular velocity estimation value of the motor rotor according to the α-axis back electromotive force observation value and the β-axis back electromotive force observation value.
[0018] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, it implements the steps of the method described in the first aspect or any possible implementation method of the first aspect.
[0019] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect or any possible implementation of the first aspect are implemented.
[0020] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0021] The embodiment of the present invention discloses a method for positioning a motor rotor, which first obtains a q-axis current reference value output by a speed regulator, wherein the speed regulator outputs a signal indicating the q-axis current of the motor according to the motor speed deviation; then the q-axis current of the motor and the q-axis current reference value are sent to a first regulator, and the d-axis current of the motor and a preset d-axis current reference value are sent to a second regulator, and the α-axis voltage and the β-axis voltage are determined according to the output of the first regulator and the output of the second regulator, wherein the q-axis current of the motor and the d-axis current of the motor are respectively converted into the coordinate system according to the actual measured value of the motor current. In exchange, the first regulator and the second regulator output signals indicating the q-axis voltage and d-axis voltage of the motor according to the q-axis current difference and the d-axis current difference of the motor respectively; then the α-axis voltage, the β-axis voltage, the α-axis current and the β-axis current are input into the adaptive approach model to obtain the α-axis back-EMF observation value and the β-axis back-EMF observation value, wherein the α-axis current and the β-axis current are respectively obtained according to the measured value of the motor current through the coordinate system transformation; finally, according to the α-axis back-EMF observation value and the β-axis back-EMF observation value, the electrical angle estimation value and the electrical angular velocity estimation value of the motor rotor are determined. The embodiments of the present invention effectively suppress the jitter phenomenon by improving the sliding mode observer and the phase-locked loop, taking into account the positioning accuracy and positioning speed, and improving the steady-state and dynamic performance of the motor control system. The motor to which the method of the present invention is applied does not require a sensor, has high reliability and is light in weight. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0023] Figure 1 is a flow chart of a motor rotor positioning method provided by an embodiment of the present invention;
[0024] Figure 2 is a control block diagram of a motor rotor positioning method provided by an embodiment of the present invention;
[0025] Figure 3 is a principle block diagram of estimating rotor position and speed provided by an embodiment of the present invention;
[0026] Figure 4 It is a basic structural block diagram of the ESO-PLL provided by an embodiment of the present invention;
[0027] Figure 5 is a Bode diagram of an ESO-PLL provided in an embodiment of the present invention;
[0028] Figure 6 is the back electromotive force waveform observed in the simulation provided by the embodiment of the present invention;
[0029] Figure 7 is a steady-state performance diagram with a rotation speed of 2000 rpm in the simulation provided by an embodiment of the present invention;
[0030] Figure 8 is a dynamic performance diagram in simulation provided by an embodiment of the present invention;
[0031] Fig. 9 The actual value and estimated value of the rotor position, the rotor position error and the q-axis current waveform diagram are provided in the experiment provided by the embodiment of the present invention, with the rotation speed being 2000 rpm;
[0032] Fig.10 It is a waveform diagram of the actual speed value and estimated speed value, speed error and back electromotive force at a speed of 2000 rpm in an experiment provided by an embodiment of the present invention;
[0033] Fig.11 is a system block diagram of a motor rotor positioning system provided by an embodiment of the present invention;
[0034] Fig.12 is a functional block diagram of a motor rotor positioning device provided in an embodiment of the present invention;
[0035] Fig.13It is a functional block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0036] In the following description, specific details such as specific system structures and technologies are provided for the purpose of illustration rather than limitation so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, and methods are omitted so as not to obscure the description of the present invention with unnecessary details.
[0037] In order to make the purpose, technical solutions and advantages of the present invention more clear, a specific implementation method will be described below in conjunction with the accompanying drawings.
[0038] The following is a detailed description of an embodiment of the present invention. This example is implemented based on the technical solution of the present invention, and provides a detailed implementation method and a specific operation process, but the protection scope of the present invention is not limited to the following embodiments.
[0039] Figure 1 A flow chart of a motor rotor positioning method provided in an embodiment of the present invention.
[0040] like Figure 1 As shown, it shows a flow chart of the motor rotor positioning method provided by an embodiment of the present invention, which is described in detail as follows:
[0041] In step 101, a q-axis current reference value output by a speed regulator is obtained, wherein the speed regulator outputs a signal indicating the q-axis current of the motor according to a speed deviation of the motor.
[0042] Exemplarily, it should be specifically stated that, in the embodiments of the present invention, "SMO" refers to the sliding mode observer, "NAFPRL" refers to the new adaptive power reaching law, "NAFPRL-SMO" refers to the SMO based on NAFPRL, "CWGWO" refers to the weighted grey wolf optimization algorithm, "ESO" refers to the extended state observer, "PLL" refers to the phase-locked loop, and "ESO-PLL" refers to the PLL based on ESO. Unless otherwise specified in the embodiments of the present invention, the q-axis current, d-axis current, α-axis voltage, β-axis voltage, α-axis current and β-axis current refer to the current or voltage obtained by the three-phase current or voltage of the motor after dq transformation or Clark transformation.
[0043] like Figure 2 As shown in FIG. 1 , this figure is a control block diagram of the motor rotor positioning method provided by an embodiment of the present invention. In which, the control system is based on the motor speed reference signal and speed feedback signal , after passing through the speed regulator (the PI regulator is shown in the figure), a signal indicating the q-axis current of the motor is output. This signal is used as the q-axis current reference value (q-axis current reference signal) of the first regulator (the PI regulator is shown in the figure) and the q-axis current of the motor. The output signal of the first regulator is the q-axis voltage reference signal. At the same time, the preset d-axis current reference value (the preset d-axis current reference signal, which is 0 in the figure) and the d-axis current It is sent to the second regulator (PI regulator is shown in the figure), and the output signal of the second regulator is the d-axis voltage reference signal The above two signals are transformed by inverse Park to generate α-axis voltage and β-axis voltage, and the motor speed is adjusted through the SVPWM system and the switch tube loop.
[0044] In terms of obtaining the q-axis current and the d-axis current, the embodiment of the present invention is based on sampling the current and obtaining the α-axis current through Clark transformation. and β-axis current , and then the q-axis current is obtained through Park transformation and d-axis current In other words, the α-axis current, β-axis current, q-axis current and d-axis current are all based on the real sampling values and are obtained through coordinate system transformation.
[0045] In order to obtain the rotational speed of the motor in a sensorless manner, an embodiment of the present invention makes observation values of the motor's α-axis back-EMF and β-axis back-EMF based on the α-axis voltage, β-axis voltage, α-axis current and β-axis current, and based on the observation values of the two axes, a phase-locked loop approximation method is adopted to calculate the electrical angle estimate and the electrical angle speed estimate.
[0046] To achieve the above objectives, the embodiments of the present invention are discussed from the following steps.
[0047] In step 102, the q-axis current of the motor and the q-axis current reference value are sent to the first regulator, and the d-axis current of the motor and the preset d-axis current reference value are sent to the second regulator, and the α-axis voltage and the β-axis voltage are determined according to the output of the first regulator and the output of the second regulator, wherein the q-axis current of the motor and the d-axis current of the motor are respectively obtained through coordinate system transformation according to the actual measured value of the motor current, and the first regulator and the second regulator respectively output signals indicating the q-axis voltage and d-axis voltage of the motor according to the q-axis current difference and d-axis current difference of the motor.
[0048] In some implementations, step 102 includes:
[0049] Get the three-phase current of the motor;
[0050] Performing dq transformation on the three-phase current to obtain the q-axis current and the d-axis current;
[0051] Sending the difference between the q-axis current reference value and the q-axis current to the first regulator, and using the output of the first regulator as the q-axis voltage command;
[0052] Sending the difference between the preset d-axis current reference value and the d-axis current to the second regulator, and using the output of the second regulator as the d-axis voltage command;
[0053] The q-axis voltage command and the d-axis voltage command are subjected to inverse Park transformation, and the transformation results are used as the α-axis voltage and the β-axis voltage.
[0054] For example, as described above, in the embodiment of the present invention, in terms of obtaining the α-axis voltage and the β-axis voltage, the output signal of the speed regulator is used as the q-axis current reference signal of the first regulator and the q-axis current of the motor. The output signal of the first regulator is the q-axis voltage reference signal. At the same time, the preset d-axis current reference value and d-axis current It is sent to the second regulator (PI regulator is shown in the figure), and the output signal of the second regulator is the d-axis voltage reference signal .
[0055] In step 103, the α-axis voltage, the β-axis voltage, the α-axis current and the β-axis current are input into an adaptive approach model to obtain an α-axis back-electromotive force observation value and a β-axis back-electromotive force observation value, wherein the α-axis current and the β-axis current are respectively obtained by coordinate system transformation based on the actual measured value of the motor current.
[0056] In some embodiments, the step of constructing the adaptive approximation model includes:
[0057] Obtaining the stator current state equation of the motor in a stationary coordinate system with respect to the theoretical value of the α-axis voltage, the theoretical value of the β-axis voltage, the theoretical value of the α-axis current, and the theoretical value of the β-axis current;
[0058] constructing a current estimation value state equation regarding an α-axis voltage estimation value, a β-axis voltage estimation value, an α-axis current estimation value, and a β-axis stator current estimation value according to the stator current state equation;
[0059] Subtracting the stator current state equation from the current estimated value state equation to obtain an estimated value deviation equation regarding the current estimated difference and the electromotive force estimated difference;
[0060] Substituting the estimated value deviation equation into the adaptive approach equation to obtain the back electromotive force approach equation;
[0061] The current estimation value state equation is combined with the back electromotive force approximation equation to obtain the adaptive approximation model.
[0062] In some implementations, the stator current state equation is:
[0063]
[0064] In the formula, is the α-axis voltage, is the β-axis voltage, is the α-axis current, is the β-axis current, is the stator resistance; is the d-axis stator inductance, is the stator q-axis inductance; is the rotor electrical angular velocity, is the α-axis back electromotive force, is the β-axis back electromotive force, is the first intermediate coefficient matrix;
[0065] The current estimation state equation is:
[0066] .
[0067] In the formula, is the estimated value of α-axis current, is the estimated value of β-axis current, is the estimated value of the α-axis back EMF, is the estimated value of β-axis back EMF;
[0068] The estimated value deviation equation is:
[0069] .
[0070] in, is the estimated deviation of the α-axis current, is the estimated deviation of β-axis current;
[0071] In some implementations, the back electromotive force approximation equation is:
[0072] .
[0073] In the formula, is the first coefficient, is the second coefficient, is the third coefficient, is the fourth coefficient, The sliding surface.
[0074] In some implementations, inputting the α-axis voltage, the β-axis voltage, the α-axis current, and the β-axis current into an adaptive approach model to obtain an α-axis back electromotive force observation value and a β-axis back electromotive force observation value includes:
[0075] Obtaining a first value and a second value, and using the first value and the second value as an α-axis back electromotive force estimation value and a β-axis back electromotive force estimation value, respectively;
[0076] Substituting the α-axis voltage, the β-axis voltage, the α-axis back electromotive force estimation value, and the β-axis back electromotive force estimation value into the current estimation value state equation to obtain the α-axis current estimation value and the β-axis current estimation value;
[0077] respectively taking a difference between the α-axis current and the α-axis current estimation value and a difference between the β-axis current and the β-axis current estimation value as an α-axis current estimation difference and a β-axis current estimation difference;
[0078] Inputting the α-axis current estimation difference and the β-axis current estimation difference into the back electromotive force approximation equation, and using the α-axis back electromotive force estimation value and the β-axis back electromotive force estimation value of the back electromotive force approximation equation as the α-axis back electromotive force observation value and the β-axis back electromotive force observation value, respectively;
[0079] The deviation between the α-axis back-EMF observation value and the α-axis back-EMF estimation value and the deviation between the β-axis back-EMF observation value and the β-axis back-EMF estimation value are respectively used as the α-axis back-EMF iteration deviation and the β-axis back-EMF iteration deviation;
[0080] If the α-axis back-EMF iteration deviation and / or the β-axis back-EMF iteration deviation is greater than a threshold value, the α-axis back-EMF observation value and the β-axis back-EMF observation value are used as the α-axis back-EMF estimation value and the β-axis back-EMF estimation value respectively, and the process jumps to the step of substituting the α-axis voltage, the β-axis voltage, the α-axis back-EMF estimation value and the β-axis back-EMF estimation value into the current estimation state equation to obtain the α-axis current estimation value and the β-axis current estimation value.
[0081] In some implementations, the process of determining the multiple coefficients in the back electromotive force approximation equation includes:
[0082] Obtaining a maximum number of iterations, an α-axis back-electromotive force true value, a β-axis back-electromotive force true value, and a plurality of coefficient arrays, wherein each coefficient array includes a plurality of coefficients;
[0083] Substituting the plurality of coefficient arrays into the back electromotive force approximation equation respectively to obtain a plurality of candidate equations;
[0084] Input the α-axis voltage, the β-axis voltage, the α-axis current, and the β-axis current into the adaptive approximation model composed of the multiple candidate equations, respectively, to obtain multiple first iteration numbers, wherein each first iteration number corresponds to a candidate equation, and the first iteration number is the number of iterations when the deviation between the α-axis back-electromotive force observation value and the β-axis back-electromotive force observation value output by the candidate equation and the α-axis back-electromotive force true value and the β-axis back-electromotive force true value is less than the observation value deviation threshold;
[0085] Selecting three optimal coefficient arrays from the multiple coefficient arrays, wherein the optimal coefficient array is the coefficient array corresponding to the least first iteration number;
[0086] The coefficient arrays other than the three coefficient arrays are adjusted using a second formula, wherein the second formula is:
[0087] .
[0088] In the formula, is the distance between the coefficient arrays other than the three coefficient arrays and the optimal coefficient array, is the distance between the coefficient array other than the three coefficient arrays and the suboptimal coefficient array, is the distance between the coefficient array outside the three coefficient arrays and the third best coefficient array, is the optimal coefficient array, is the suboptimal coefficient array, is the third best coefficient array, is the first adjustment direction of the coefficient array other than the three coefficient arrays, is the second adjustment direction of the coefficient array other than the three coefficient arrays, is the third adjustment direction of the coefficient array other than the three coefficient arrays, is the number of iterations, is the maximum number of iterations, is the fifth coefficient, is the sixth coefficient;
[0089] If the current number of iterations does not reach the maximum number of iterations, the process jumps to the step of substituting the multiple coefficient arrays into the back electromotive force approximation equation respectively to obtain multiple candidate equations.
[0090] Exemplarily, the embodiment of the present invention obtains the α-axis back-electromotive force observation value and the β-axis back-electromotive force observation value through an adaptive approximation model, and the adaptive approximation model of the embodiment of the present invention is an adaptive approximation model, which obtains the α-axis back-electromotive force observation value and the β-axis back-electromotive force observation value through repeated iterative calculation.
[0091] Here we have to combine Figure 3The principle block diagram of estimating rotor position and speed in the following describes the construction process of the adaptive approach model:
[0092] The stator current state equation of the motor in the stationary coordinate system is:
[0093] (1)
[0094] in, is the first intermediate coefficient matrix, ; is the α-axis voltage, is the β-axis voltage, is the α-axis current, is the β-axis current, is the stator resistance; is the d-axis stator inductance, is the stator q-axis inductance; is the rotor electrical angular velocity, is the α-axis back electromotive force, is the β-axis back electromotive force, and satisfies:
[0095] (2)
[0096] in, represents the permanent magnet flux, Indicates the rotor electrical angle.
[0097] According to formula (1), the state equation of current estimation can be established as:
[0098] (3)
[0099] In the formula, is the estimated value of α-axis current, is the estimated value of β-axis current, is the estimated value of the α-axis back EMF, is the estimated value of β-axis back EMF.
[0100] Subtracting (1) from (3), we can get
[0101] (4)
[0102] In the formula, .
[0103] in, is the estimated deviation of the α-axis current, is the estimated deviation of β-axis current;
[0104] The NAFPRL proposed in the present invention is:
[0105] (5)
[0106] in, is the first coefficient, is the second coefficient, is the third coefficient, is the fourth coefficient, The sliding surface.
[0107] Therefore, the back EMF approach equation can be obtained:
[0108]
[0109] The back-EMF approach equation and the current estimation state equation are combined to form an adaptive approach model.
[0110] In application, when the above model is used for the first time, two random values are first used as the estimated values of the α-axis back EMF And the estimated value of β-axis back EMF and α-axis voltage , β-axis voltage Input them together into the current estimation state equation to obtain the α-axis current estimation value , β-axis current estimate , then, using , calculate the iterative deviation of the α-axis back EMF And the β-axis back EMF iteration deviation , and then the back EMF iteration deviation And the β-axis back EMF iteration deviation Input into the back EMF approximation equation to obtain the back EMF estimate output by the back EMF approximation equation And the estimated value of β-axis back EMF , and the estimated value of the back EMF output by the back EMF approach equation And the estimated value of β-axis back EMF Input into the current estimation state equation, and repeat the iteration. Some application scenarios also set the conditions for terminating the iteration, for example, the previous and current back EMF estimation values And the estimated value of β-axis back EMF When the deviation between the two is small, stop the iteration and set the estimated back EMF value And the estimated value of β-axis back EMF As the α-axis back electromotive force observation value and the β-axis back electromotive force observation value.
[0111] In some application scenarios, the gray wolf optimization algorithm is also used to determine multiple parameters of the back-EMF approach equation. The gray wolf optimization algorithm randomly generates a gray wolf population of size N, and calculates the fitness value of each individual through the fitness function to determine the α, β and δ wolves of the wolf pack. The remaining gray wolves are called ω wolves. In the iterative process, the α, β and δ wolves predict the location of the prey and command the remaining wolves to update their positions according to the location of the prey.
[0112] When searching for prey, wolves will gradually form a circle around the prey. The guiding equation of this behavior model is:
[0113]
[0114] In the formula, t is the current iteration number, is the distance between the gray wolf and its prey, is the location of the prey, It is the position of the gray wolf. a is a linearly decreasing convergence factor from 2 to 0, and is a random value in [0,1];
[0115] After determining the location of the prey, the α, β and δ wolves are closest to the location of the prey, and the distances between the remaining gray wolves and the α, β and δ wolves are:
[0116]
[0117] The remaining gray wolves move in the following directions:
[0118]
[0119] The position update formula of the gray wolf individual considering the weight is:
[0120]
[0121] In the process of hunting prey, the wolf pack will constantly compress the prey's range of movement, forcing the prey to stop moving. When the prey stops moving, the wolf pack starts to attack. The process of attacking the prey can be expressed as: Convergence factor a Gradually decrease, A The value of [- a , a ] When the value of A is outside the interval [-1,1], it means that the wolves are searching for the location of prey. When the value of A is within the interval [-1,1], it means that the wolves are attacking the prey;
[0122] The wolf pack position is continuously updated according to the guiding equation of the behavior model and the position update formula of the gray wolf individual considering the weight. If the iterative loop end condition is met or the α wolf has reached the maximum number of iterations, the loop is stopped, and the position coordinates of the α wolf are the optimal solution of the coefficients of the adaptive approach equation.
[0123] The implementation method of the present invention first obtains multiple arrays, each array includes multiple coefficients, each coefficient corresponds to a coefficient of the back-electromotive force approximation equation, and these arrays are substituted into the back-electromotive force approximation equation to obtain multiple candidate back-electromotive force approximation equations. Then, through the above process of inputting the α-axis voltage, β-axis voltage, α-axis current and β-axis current into the adaptive approximation model, the α-axis back-electromotive force observation value and the β-axis back-electromotive force observation value are obtained, and the number of iterations required for each candidate coefficient array is counted, and the optimal array, the second-best array and the third-best array (the fewer the number of iterations, the better the optimization effect) are selected as the α, β and δ wolves of the wolf pack, respectively, and the remaining arrays are used as the ω wolves. Use the second formula to adjust the position of the ω wolf (the values of other arrays):
[0124]
[0125] In the formula, is the distance between the coefficient arrays other than the three coefficient arrays and the optimal coefficient array, is the distance between the coefficient array other than the three coefficient arrays and the suboptimal coefficient array, is the distance between the coefficient array outside the three coefficient arrays and the third best coefficient array, is the optimal coefficient array, is the suboptimal coefficient array, is the third best coefficient array, is the first adjustment direction of the coefficient array other than the three coefficient arrays, is the second adjustment direction of the coefficient array other than the three coefficient arrays, is the third adjustment direction of the coefficient array other than the three coefficient arrays, is the number of iterations, is the maximum number of iterations, is the fifth coefficient, is the sixth coefficient.
[0126] Through multiple iterations, the data of the optimal array of the last iteration is used as the coefficient of the back electromotive force approximation equation.
[0127] In step 104, an estimated electrical angle value and an estimated electrical angular velocity value of the motor rotor are determined according to the α-axis back electromotive force observation value and the β-axis back electromotive force observation value.
[0128] In some implementations, step 104 includes:
[0129] Obtaining a temporary electrical angle estimate and a temporary electrical angular velocity estimate;
[0130] Determining a phase difference between the electrical angle estimation value and the temporary electrical angle estimation value according to the α-axis back electromotive force observation value, the β-axis back electromotive force observation value, the temporary electrical angle estimation value, and the temporary electrical angular velocity estimation value;
[0131] Inputting the phase difference into an extended state observer to obtain the electrical angular velocity estimation value;
[0132] Integrating the electrical angular velocity estimate to obtain the electrical angle estimate;
[0133] Wherein, determining the phase difference between the electrical angle estimation value and the temporary electrical angle estimation value according to the α-axis back electromotive force observation value, the β-axis back electromotive force observation value, the temporary electrical angle estimation value, and the temporary electrical angular velocity estimation value comprises:
[0134] The phase difference between the electrical angle estimation value and the temporary electrical angle estimation value is determined according to a first formula, the α-axis back electromotive force observation value, the β-axis back electromotive force observation value, the temporary electrical angle estimation value, and the temporary electrical angular velocity estimation value, wherein the first formula is:
[0135]
[0136] In the formula, is the observed value of the α-axis back electromotive force, is the observed value of the β-axis back electromotive force, is the rotor position estimation error, is the estimated value of the electrical angle, is the temporary electrical angle estimate;
[0137] The extended state observer is:
[0138]
[0139] In the formula, is the estimated value of the α-axis back EMF, is the estimated value of the β-axis back EMF, is the Laplace operator, is the estimated value of electrical angular velocity, is the estimated value of the unknown disturbance, , as well as They are the fifth coefficient, the sixth coefficient and the seventh coefficient respectively.
[0140] For example, refer to Figure 4The basic structure block diagram of ESO-PLL in the figure, the design process of ESO-PLL is as follows:
[0141] In determining the electrical angle estimation value and electrical angular velocity estimation value of the motor rotor, the embodiments of the present invention first obtain a temporary electrical angle estimation value and a temporary electrical angular velocity estimation value (in some practical application scenarios, when the system is started, a predetermined three-phase current is output to lock the rotor at a preset electrical angle, and this electrical angle is the temporary electrical angle estimation value, and the electrical angular velocity is 0 at this time), and then use the first formula to calculate the α-axis back electromotive force observation value and the β-axis back electromotive force observation value obtained by the above steps to calculate the rotor position estimation error (the phase difference between the electrical angle estimation value and the temporary electrical angle estimation value). The first formula is:
[0142]
[0143] In the formula, is the observed value of the back-EMF on the α-axis (the estimated value of the back-EMF), is the observed value of the β-axis back-EMF (estimated value of the back-EMF), is the rotor position estimation error, is the estimated value of the electrical angle, is a temporary electrical angle estimate.
[0144] Then, the rotor position estimation error is input into the extended state observer to obtain the electrical angular velocity estimation value, and the electrical angular velocity estimation value is integrated to obtain the electrical angle estimation value.
[0145] The construction process of the state observer includes:
[0146] by and As state variables, a standard model of series integration is established and the unknown disturbance is modeled:
[0147] (8)
[0148] in, Indicates an unknown disturbance.
[0149] For the controlled object in (8), the unknown disturbance Expanding to a new state, the third-order ESO is:
[0150] (9)
[0151] in, , , represents the gain of ESO and satisfies
[0152] (10)
[0153] in, represents the bandwidth of the ESO, and .
[0154] Performing Laplace transform on equation (9) gives the state observer:
[0155]
[0156] The closed-loop transfer function of the ESO-PLL is:
[0157]
[0158] Figure 3 It is a principle block diagram of estimating rotor position and speed provided by an embodiment of the present invention, and is a graphical representation of the process of steps 101-104.
[0159] like Fig.11 As shown, combined Figure 1 , Fig. 9 and Fig.10 , using DSP320F28335 as the core processor to build a motor rotor positioning system experimental platform, the system structure includes:
[0160] New sliding mode observer 91: used to take the stator voltage and current of the motor in the stationary coordinate system as the input variables of NAFPRL-SMO and set the power term coefficient and And the exponential coefficient , get the observed value of the motor's back electromotive force;
[0161] A high-order phase-locked loop 92: used to use the back electromotive force observation value of the motor as an input variable of the ESO-PLL to obtain the estimated value of the electrical angle and electrical angular velocity of the motor rotor;
[0162] Observe the changes of various variables in the simulation model to obtain the dynamic and steady-state performance results of the method proposed in the embodiment of the present invention. Figure 5~Figure 10 .
[0163] The motor rotor positioning method of the present invention first obtains the q-axis current reference value output by the speed regulator, wherein the speed regulator outputs a signal indicating the q-axis current of the motor according to the motor speed deviation; then the q-axis current of the motor and the q-axis current reference value are sent to the first regulator, and the d-axis current of the motor and the preset d-axis current reference value are sent to the second regulator, and the α-axis voltage and the β-axis voltage are determined according to the output of the first regulator and the output of the second regulator, wherein the q-axis current of the motor and the d-axis current of the motor are respectively obtained according to the actual measured value of the motor current through the coordinate system transformation. It is obtained that the first regulator and the second regulator output signals indicating the q-axis voltage and d-axis voltage of the motor according to the q-axis current difference and the d-axis current difference of the motor respectively; then the α-axis voltage, the β-axis voltage, the α-axis current and the β-axis current are input into the adaptive approach model to obtain the α-axis back-EMF observation value and the β-axis back-EMF observation value, wherein the α-axis current and the β-axis current are respectively obtained according to the measured value of the motor current through the coordinate system transformation; finally, the electrical angle estimation value and the electrical angular velocity estimation value of the motor rotor are determined according to the α-axis back-EMF observation value and the β-axis back-EMF observation value. The embodiments of the present invention effectively suppress the jitter phenomenon by improving the sliding mode observer and the phase-locked loop, taking into account both the positioning accuracy and the positioning speed, and improving the steady-state and dynamic performance of the motor control system.
[0164] It should be understood that the size of the serial numbers of the steps in the above implementation does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the implementation method of the present invention.
[0165] The following is an implementation of the device of the present invention. For details not described in detail, reference may be made to the corresponding method implementation described above.
[0166] Fig.12 is a functional block diagram of a motor rotor positioning device provided by an embodiment of the present invention, referring to Fig.12 The motor rotor positioning device includes: a data acquisition module 1201, a stator parameter determination module 1202, a back electromotive force determination module 1203 and a rotor positioning module 1204, wherein:
[0167] A data acquisition module 1201 is used to acquire a q-axis current reference value output by a speed regulator, wherein the speed regulator outputs a signal indicating the q-axis current of the motor according to a motor speed deviation;
[0168] The stator parameter determination module 1202 is used to send the q-axis current of the motor and the q-axis current reference value to the first regulator, and send the d-axis current of the motor and the preset d-axis current reference value to the second regulator, and determine the α-axis voltage and the β-axis voltage according to the output of the first regulator and the output of the second regulator, wherein the q-axis current of the motor and the d-axis current of the motor are respectively obtained according to the actual measured value of the motor current through coordinate system transformation, and the first regulator and the second regulator respectively output signals indicating the q-axis voltage and the d-axis voltage of the motor according to the q-axis current difference and the d-axis current difference of the motor;
[0169] The back electromotive force determination module 1203 is used to input the α-axis voltage, the β-axis voltage, the α-axis current and the β-axis current into an adaptive approach model to obtain an α-axis back electromotive force observation value and a β-axis back electromotive force observation value, wherein the α-axis current and the β-axis current are respectively obtained by transforming the actual motor current value through a coordinate system;
[0170] as well as,
[0171] The rotor positioning module 1204 is used to determine the estimated electrical angle value and the estimated electrical angular velocity value of the motor rotor according to the α-axis back electromotive force observation value and the β-axis back electromotive force observation value.
[0172] Fig.13 is a functional block diagram of an electronic device provided by an embodiment of the present invention. Fig.13 As shown, the electronic device 13 of this embodiment includes: a processor 1300 and a memory 1301, wherein the memory 1301 stores a computer program 1302 that can be run on the processor 1300. When the processor 1300 executes the computer program 1302, the steps in the above-mentioned motor rotor positioning method and the embodiment are implemented, for example Figure 1 Steps 101 to 104 are shown.
[0173] Exemplarily, the computer program 1302 may be divided into one or more modules / units, and the one or more modules / units are stored in the memory 1301 and executed by the processor 1300 to implement the present invention.
[0174] The electronic device 13 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device 13 may include, but is not limited to, a processor 1300 and a memory 1301. Those skilled in the art will appreciate that Fig.13It is only an example of the electronic device 13 and does not constitute a limitation of the electronic device 13. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the electronic device 13 may also include input and output devices, network access devices, buses, etc.
[0175] The processor 1300 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0176] The memory 1301 may be an internal storage unit of the electronic device 13, such as a hard disk or memory of the electronic device 13. The memory 1301 may also be an external storage device of the electronic device 13, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 13. Further, the memory 1301 may also include both an internal storage unit of the electronic device 13 and an external storage device. The memory 1301 is used to store the computer program 1302 and other programs and data required by the electronic device 13. The memory 1301 may also be used to temporarily store data that has been output or is to be output.
[0177] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the implementation method can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method implementation method, which will not be repeated here.
[0178] In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0179] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0180] In the embodiments provided by the present invention, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0181] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0182] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0183] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned implementation method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various methods and device implementation methods can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device that can carry the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium.
[0184] The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A motor rotor positioning method, characterized in that: include: Acquire a q-axis current reference value output by a speed regulator, wherein the speed regulator outputs a signal indicating the q-axis current of the motor according to a motor speed deviation; Sending the q-axis current of the motor and the q-axis current reference value to the first regulator, and sending the d-axis current of the motor and the preset d-axis current reference value to the second regulator, determining the α-axis voltage and the β-axis voltage according to the output of the first regulator and the output of the second regulator, wherein the q-axis current of the motor and the d-axis current of the motor are respectively obtained by coordinate system transformation according to the actual measured value of the motor current, and the first regulator and the second regulator respectively output signals indicating the q-axis voltage and the d-axis voltage of the motor according to the q-axis current difference and the d-axis current difference of the motor; Inputting the α-axis voltage, the β-axis voltage, the α-axis current and the β-axis current into an adaptive approach model to obtain an α-axis back electromotive force observation value and a β-axis back electromotive force observation value, wherein the α-axis current and the β-axis current are respectively obtained by transforming the coordinate system according to the actual measured value of the motor current; Determine an estimated electrical angle and an estimated electrical angular velocity of a motor rotor according to the α-axis back electromotive force observation value and the β-axis back electromotive force observation value; in, The steps of constructing the adaptive approximation model include: Obtaining the stator current state equation of the motor in a stationary coordinate system with respect to a theoretical value of an α-axis voltage, a theoretical value of a β-axis voltage, a theoretical value of an α-axis current, and a theoretical value of a β-axis current; constructing a current estimation value state equation regarding an α-axis voltage estimation value, a β-axis voltage estimation value, an α-axis current estimation value, and a β-axis stator current estimation value according to the stator current state equation; Subtracting the stator current state equation from the current estimated value state equation to obtain an estimated value deviation equation regarding the current estimated difference and the electromotive force estimated difference; Substituting the estimated value deviation equation into the adaptive approach equation to obtain the back electromotive force approach equation; The current estimation value state equation is combined with the back electromotive force approach equation to obtain the adaptive approach model; The stator current state equation is: In the formula, is the α-axis voltage, is the β-axis voltage, is the α-axis current, is the β-axis current, is the stator resistance; is the d-axis stator inductance, is the stator q-axis inductance; is the rotor electrical angular velocity, is the α-axis back electromotive force, is the β-axis back electromotive force, is the first intermediate coefficient matrix; The current estimation state equation is: In the formula, is the estimated value of α-axis current, is the estimated value of β-axis current, is the estimated value of the α-axis back EMF, is the estimated value of β-axis back EMF; The estimated value deviation equation is: in, is the estimated deviation of the α-axis current, is the estimated deviation of β-axis current; The back electromotive force approach equation is: In the formula, is the first coefficient, is the second coefficient, is the third coefficient, is the fourth coefficient, The sliding surface.
2. The motor rotor positioning method according to claim 1, characterized in that: The step of sending the q-axis current of the motor and the q-axis current reference value to a first regulator, and sending the d-axis current of the motor and a preset d-axis current reference value to a second regulator, and determining the α-axis voltage and the β-axis voltage according to the output of the first regulator and the output of the second regulator comprises: Get the three-phase current of the motor; Performing dq transformation on the three-phase current to obtain the q-axis current and the d-axis current; Sending the difference between the q-axis current reference value and the q-axis current to the first regulator, and using the output of the first regulator as the q-axis voltage command; Sending the difference between the preset d-axis current reference value and the d-axis current to the second regulator, and using the output of the second regulator as the d-axis voltage command; The q-axis voltage command and the d-axis voltage command are subjected to inverse Park transformation, and the transformation results are used as the α-axis voltage and the β-axis voltage.
3. The motor rotor positioning method according to claim 1, characterized in that: The step of inputting the α-axis voltage, the β-axis voltage, the α-axis current and the β-axis current into an adaptive approach model to obtain an α-axis back electromotive force observation value and a β-axis back electromotive force observation value comprises: Obtaining a first value and a second value, and using the first value and the second value as an α-axis back electromotive force estimation value and a β-axis back electromotive force estimation value, respectively; Substituting the α-axis voltage, the β-axis voltage, the α-axis back electromotive force estimation value, and the β-axis back electromotive force estimation value into the current estimation value state equation to obtain the α-axis current estimation value and the β-axis current estimation value; respectively taking a difference between the α-axis current and the α-axis current estimation value and a difference between the β-axis current and the β-axis current estimation value as an α-axis current estimation difference and a β-axis current estimation difference; Inputting the α-axis current estimation difference and the β-axis current estimation difference into the back electromotive force approximation equation, and using the α-axis back electromotive force estimation value and the β-axis back electromotive force estimation value of the back electromotive force approximation equation as the α-axis back electromotive force observation value and the β-axis back electromotive force observation value, respectively; The deviation between the α-axis back-EMF observation value and the α-axis back-EMF estimation value and the deviation between the β-axis back-EMF observation value and the β-axis back-EMF estimation value are respectively used as the α-axis back-EMF iteration deviation and the β-axis back-EMF iteration deviation; If the α-axis back-EMF iteration deviation and / or the β-axis back-EMF iteration deviation is greater than a threshold value, the α-axis back-EMF observation value and the β-axis back-EMF observation value are used as the α-axis back-EMF estimation value and the β-axis back-EMF estimation value respectively, and the process jumps to the step of substituting the α-axis voltage, the β-axis voltage, the α-axis back-EMF estimation value and the β-axis back-EMF estimation value into the current estimation state equation to obtain the α-axis current estimation value and the β-axis current estimation value.
4. The motor rotor positioning method according to claim 1, characterized in that: The process of determining the multiple coefficients in the back electromotive force approach equation includes: Obtaining a maximum number of iterations, an α-axis back-electromotive force true value, a β-axis back-electromotive force true value, and a plurality of coefficient arrays, wherein each coefficient array includes a plurality of coefficients; Substituting the plurality of coefficient arrays into the back electromotive force approximation equation respectively to obtain a plurality of candidate equations; Input the α-axis voltage, the β-axis voltage, the α-axis current, and the β-axis current into the adaptive approximation model composed of the multiple candidate equations, respectively, to obtain multiple first iteration numbers, wherein each first iteration number corresponds to a candidate equation, and the first iteration number is the number of iterations when the deviation between the α-axis back-electromotive force observation value and the β-axis back-electromotive force observation value output by the candidate equation and the α-axis back-electromotive force true value and the β-axis back-electromotive force true value is less than the observation value deviation threshold; Selecting three optimal coefficient arrays from the multiple coefficient arrays, wherein the optimal coefficient array is the coefficient array corresponding to the least first iteration number; The coefficient arrays other than the three coefficient arrays are adjusted using a second formula, wherein the second formula is: In the formula, is the distance between the coefficient arrays other than the three coefficient arrays and the optimal coefficient array, is the distance between the coefficient array other than the three coefficient arrays and the suboptimal coefficient array, is the distance between the coefficient array outside the three coefficient arrays and the third best coefficient array, is the optimal coefficient array, is the suboptimal coefficient array, is the third best coefficient array, is the first adjustment direction of the coefficient array other than the three coefficient arrays, is the second adjustment direction of the coefficient array other than the three coefficient arrays, is the third adjustment direction of the coefficient array other than the three coefficient arrays, is the number of iterations, is the maximum number of iterations, is the fifth coefficient, is the sixth coefficient; If the current number of iterations does not reach the maximum number of iterations, the process jumps to the step of substituting the multiple coefficient arrays into the back electromotive force approximation equation respectively to obtain multiple candidate equations.
5. The motor rotor positioning method according to any one of claims 1 to 4, characterized in that: The step of determining an estimated electrical angle value and an estimated electrical angular velocity value of a motor rotor according to the α-axis back electromotive force observation value and the β-axis back electromotive force observation value comprises: Obtaining a temporary electrical angle estimate and a temporary electrical angular velocity estimate; Determining a phase difference between the electrical angle estimation value and the temporary electrical angle estimation value according to the α-axis back electromotive force observation value, the β-axis back electromotive force observation value, the temporary electrical angle estimation value, and the temporary electrical angular velocity estimation value; Inputting the phase difference into an extended state observer to obtain the electrical angular velocity estimation value; Integrating the electrical angular velocity estimate to obtain the electrical angle estimate; Wherein, determining the phase difference between the electrical angle estimation value and the temporary electrical angle estimation value according to the α-axis back electromotive force observation value, the β-axis back electromotive force observation value, the temporary electrical angle estimation value, and the temporary electrical angular velocity estimation value comprises: The phase difference between the electrical angle estimation value and the temporary electrical angle estimation value is determined according to a first formula, the α-axis back electromotive force observation value, the β-axis back electromotive force observation value, the temporary electrical angle estimation value, and the temporary electrical angular velocity estimation value, wherein the first formula is: In the formula, is the estimated value of the α-axis back EMF, is the estimated value of the β-axis back EMF, is the rotor position estimation error, is the estimated value of the electrical angle, is the temporary electrical angle estimate; The extended state observer is: In the formula, is the estimated value of the α-axis back EMF, is the estimated value of the β-axis back EMF, is the Laplace operator, is the estimated value of electrical angular velocity, is the estimated value of the unknown disturbance, , as well as They are the fifth coefficient, the sixth coefficient and the seventh coefficient respectively.
6. A motor rotor positioning device, characterized in that: Used to implement the motor rotor positioning method according to any one of claims 1 to 5, the motor rotor positioning device comprises: A data acquisition module, used to acquire a q-axis current reference value output by a speed regulator, wherein the speed regulator outputs a signal indicating the q-axis current of the motor according to a motor speed deviation; A stator parameter determination module, used for sending the q-axis current of the motor and the q-axis current reference value to a first regulator, and sending the d-axis current of the motor and a preset d-axis current reference value to a second regulator, and determining the α-axis voltage and the β-axis voltage according to the output of the first regulator and the output of the second regulator, wherein the q-axis current of the motor and the d-axis current of the motor are respectively obtained through coordinate system transformation according to the actual measured value of the motor current, and the first regulator and the second regulator respectively output signals indicating the q-axis voltage and the d-axis voltage of the motor according to the q-axis current difference and the d-axis current difference of the motor; a back electromotive force determination module, used for inputting the α-axis voltage, the β-axis voltage, the α-axis current and the β-axis current into an adaptive approach model to obtain an α-axis back electromotive force observation value and a β-axis back electromotive force observation value, wherein the α-axis current and the β-axis current are respectively obtained by transforming the actual motor current value through a coordinate system; as well as, The rotor positioning module is used to determine the electrical angle estimation value and the electrical angular velocity estimation value of the motor rotor according to the α-axis back electromotive force observation value and the β-axis back electromotive force observation value.
7. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 5 are implemented.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
