A method for obtaining rotor position and speed estimation values ​​of a permanent magnet synchronous motor

By constructing a sliding mode observer and a third-order extended state observer, the sixth harmonic component in the permanent magnet synchronous motor rotor position and speed estimation without position sensors is eliminated, the steady-state and dynamic performance of the motor is improved, and the problem is solved This solves the problem of large estimation errors in the existing technology and achieves more accurate acquisition of position and rotational speed information.

CN114844398BActive Publication Date: 2024-09-03HUAZHONG UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210549767.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-20
Publication Date
2024-09-03
Estimated Expiration
2042-05-20

AI Technical Summary

Technical Problem

In the absence of a position sensor, there are obvious sixth harmonic components in the rotor position and speed estimation of the permanent magnet synchronous motor, which affects the steady-state performance of the motor. It is difficult for the existing technology to effectively eliminate these harmonic components and reduce the reliability of the system.

Method used

By constructing the α and β axis current state equations with current as the state variable, a sliding mode observer is designed to obtain the back electromotive force information, and a notch filter is used to filter out the harmonic component of the position error, and a third-order extended state observer is constructed to obtain An estimate of the motor's rotor position and speed.

Benefits of technology

It achieves more real-time and accurate acquisition of rotor position and speed information without position sensors, improves the closed-loop control performance of the motor, reduces position estimation errors, and meets the steady-state and dynamic requirements of medium-to-high-speed operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114844398B
    Figure CN114844398B
Patent Text Reader

Abstract

The present invention discloses a method for obtaining the estimated values ​​of the rotor position and speed of a permanent magnet synchronous motor: according to the voltage equation of the motor in a two-phase stationary coordinate system, the current state equations of the α and β axes with the current as the state variable are established; with the current as the state variable, a sliding mode observer is designed according to the current state equation to observe the back electromotive force information of the α and β axes; the observation results of the back electromotive force of the α and β axes are input into the rotor position estimator to obtain the estimated values ​​of the rotor position and speed. When designing the rotor position estimator, in order to filter out the sixth position harmonic caused by factors such as the nonlinear characteristics of the inverter, a notch filter is used to filter the harmonic components of the position error; in order to extract the speed and position information from the position error, a third-order extended state observer based on the motor motion state equation is designed. This method can provide more real-time and accurate rotor position and speed information for the permanent magnet motor vector control system, and ensure the closed-loop control performance of the motor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of motor control technology, and more specifically, to a method for obtaining estimated values ​​of rotor position and speed of a permanent magnet synchronous motor, an electronic device and a storage medium. Background Art

[0002] Permanent magnet motors have the advantages of high torque density, high efficiency and good speed regulation performance. They have been widely used in CNC machine tools, electric traction drives, aerospace, defense and military industries, and other occasions with high requirements for performance and efficiency. Accurate rotor position information is the key to achieving high-performance control of permanent magnet synchronous motors. The position sensor installed on the motor shaft end can collect accurate position information, but it will increase the cost and complexity of the speed regulation system and reduce the reliability of operation. In fact, position sensor failure has become one of the main sources of failure in the motor system. In order to improve the reliability of the system, high-performance permanent magnet synchronous motor speed control drives should have the ability to drive in the absence of position sensors. Among them, in the field of medium and high-speed position sensorless, methods based on back-EMF observation occupy a dominant position, including sliding mode observer method, full-order observer method, disturbance observer method and extended Kalman filter method.

[0003] In practical applications, due to the influence of non-ideal factors such as the inverter dead zone effect and the non-sinusoidal air gap magnetic flux density of the motor, the position sensorless technology based on back-EMF observation will inevitably contain the fifth and seventh harmonic components caused by the above factors in the back-EMF observation results of the α-axis and β-axis. Furthermore, when extracting frequency and phase information from the back-EMF information to estimate the rotor speed and rotor position information of the motor, the estimation result will have an obvious sixth harmonic component. In order to eliminate the sixth harmonic component and improve the steady-state performance of the motor operation, it is urgent to improve the existing rotor position estimation method. Summary of the invention

[0004] In response to at least one defect or improvement need in the prior art, the present invention provides a method for obtaining estimated values ​​of the rotor position and speed of a permanent magnet synchronous motor, so as to solve the technical problem of how to provide more real-time and accurate rotor position and speed information for a position sensorless vector control system of a permanent magnet synchronous motor to ensure the closed-loop control performance of the motor.

[0005] To achieve the above object, according to a first aspect of the present invention, a method for obtaining estimated values ​​of motor rotor position and speed applicable to a position sensorless vector control system of a permanent magnet synchronous motor is provided, comprising the steps of:

[0006] Based on the voltage equation of the permanent magnet synchronous motor in a two-phase stationary coordinate system, the α and β axis current state equations with current as the state variable are constructed;

[0007] Based on the α and β axis current state equations, a sliding mode observer is constructed with current as the state variable to observe the back electromotive force information of the α and β axes to obtain the observed values ​​of the back electromotive force of the α and β axes;

[0008] The observed values ​​of the α-axis and β-axis back-EMF are input into the rotor position estimator, and the harmonic components of the position error are filtered using a notch filter. A third-order extended state observer based on the motor motion state equation is constructed to obtain the estimated values ​​of the rotor position and speed of the permanent magnet synchronous motor.

[0009] Furthermore, the expressions of the α-axis and β-axis current state equations are:

[0010]

[0011] Among them, R s , L s are stator resistance and stator inductance respectively; i α 、i β are the α-axis current and β-axis current of the motor respectively; u α 、u β are the α-axis voltage and β-axis voltage of the motor respectively; e α 、e β They are the α-axis back EMF and β-axis back EMF of the motor respectively.

[0012] Furthermore, the method for obtaining the observed values ​​of the α-axis and β-axis back electromotive force includes:

[0013] The constructed sliding mode observer expression is:

[0014]

[0015] in, are the α-axis current observation value and β-axis current observation value of the motor respectively; k is the gain of the sliding mode observer; sign() is the sign function, which is defined as follows:

[0016]

[0017] When the sliding mode observer runs to a convergent state, the observed value of the back electromotive force is obtained as follows:

[0018]

[0019] in, They are the observed values ​​of the α-axis back EMF and the β-axis back EMF, respectively.

[0020] Furthermore, the step of obtaining the estimated values ​​of the rotor position and the speed of the permanent magnet synchronous motor specifically comprises the following steps:

[0021] Inputting the observed values ​​of the α-axis and β-axis back electromotive force into the rotor position estimator to obtain the position error;

[0022] Performing per-unit normalization processing on the position error to obtain a corresponding per-unit normalized position error;

[0023] Using the notch filter, performing notch filtering on the normalized position error to filter out components including the sixth harmonic;

[0024] Establishing a motor motion state equation with rotor position and speed as state variables, constructing a disturbance model of the motor motion state equation, and obtaining known disturbances and unknown disturbances of the motor motion state equation;

[0025] The unknown disturbance is expanded into a new state, and the third-order extended state observer based on the motor motion state equation is constructed to obtain the estimated values ​​of the rotor position and speed of the permanent magnet synchronous motor.

[0026] Furthermore, the expression of the position error is:

[0027]

[0028] in, is the estimated value of the rotor position, ε θ is the position error;

[0029] The expression of the normalized position error is:

[0030]

[0031] Furthermore, the transfer function G of the notch filter is f The expression of (s) is:

[0032]

[0033] Where s is the Laplace operator of the transfer function; ω re is the resonant frequency of the notch filter; k f is the cutoff frequency coefficient of the notch filter.

[0034] Furthermore, the known disturbance and unknown disturbance of the motor motion state equation are obtained by:

[0035] The motor motion state equation is established with the rotor position and speed as state variables. The expression of the motor motion state equation is:

[0036]

[0037] Among them, θ e and ωe are the rotor position and speed respectively, B and J are the actual values ​​of damping viscosity coefficient and moment of inertia respectively; n p is the number of motor pole pairs; T L is the load torque;

[0038] A disturbance model of the motor motion state equation is constructed, and the expression of the disturbance model is:

[0039]

[0040] Among them, f 0θ and f 1θ They are the known disturbance and unknown disturbance of the motor motion state equation respectively; is the observed value of the rotation speed; is the torque command value; T e is the electromagnetic torque.

[0041] Furthermore, the expression of the third-order extended state observer is:

[0042]

[0043] in, is the position error after filtering; β 1θ , β 2θ , β 3θ is the gain parameter of the third-order extended state observer; is the unknown disturbance f 1θ After the third-order extended state observer converges, obtain the estimated value of the rotor position of the permanent magnet synchronous motor and an estimate of the rotor speed

[0044] According to a second aspect of the present invention, there is provided an electronic device, comprising at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit executes the steps of any one of the above-mentioned methods.

[0045] According to a third aspect of the present invention, there is provided a storage medium storing a computer program executable by an access authentication device, wherein when the computer program is run on the access authentication device, the access authentication device executes the steps of any one of the above methods.

[0046] In general, the above technical solutions conceived by the present invention can achieve the following beneficial effects compared with the prior art:

[0047] The present invention discloses a method for obtaining the estimated value of the rotor position and speed of a permanent magnet synchronous motor. First, according to the voltage equation of the permanent magnet synchronous motor in a two-phase stationary coordinate system, the current state equation of the α and β axes with the current as the state variable is established; secondly, with the current as the state variable, a sliding mode observer is designed according to the current state equation to observe the back electromotive force information of the α and β axes; finally, the observation results of the back electromotive force of the α and β axes are input into the rotor position estimator to obtain the estimated value of the rotor speed and rotor position of the motor. When designing the rotor position estimator, in order to filter out the sixth position harmonic caused by factors such as the nonlinear characteristics of the inverter and the non-sinusoidal distribution of the motor flux, a notch filter is used to filter the harmonic components of the position error; in order to extract the speed and position information from the position error, a third-order extended state observer based on the motor motion state equation is designed. This method can provide more real-time and accurate rotor position and speed information for the position sensorless vector control system of the permanent magnet synchronous motor, thereby ensuring the closed-loop control performance of the motor. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments 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 work.

[0049] Figure 1 A structural block diagram of a position sensorless vector control system for a permanent magnet synchronous motor provided by an embodiment of the present invention;

[0050] Figure 2 A structural block diagram of a rotor position estimator provided by an embodiment of the present invention;

[0051] Figure 3 A flow chart of a method for obtaining estimated values ​​of rotor position and speed of a permanent magnet synchronous motor provided by an embodiment of the present invention;

[0052] Figure 4 A graph showing steady-state experimental results of a motor provided in an embodiment of the present invention running at 1500 r / min;

[0053] Figure 5 A diagram showing the dynamic experimental results of the motor provided in the embodiment of the present invention running in the acceleration and deceleration process of 300 to 1500 r / min;

[0054] Figure 6 A block diagram of an electronic device suitable for implementing the method described above provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0056] Figure 1 This is a structural block diagram of a position sensorless vector control system for a permanent magnet synchronous motor provided by an embodiment of the present invention. Figure 1 In the figure, PI stands for proportional integral regulator, SVPWM stands for voltage space vector pulse width modulation, and PMSM stands for permanent magnet synchronous motor. Figure 2 The structure block diagram of the rotor position estimator provided by the embodiment of the present invention is shown below in conjunction with Figure 2 The method provided by the present invention is described in detail, such as Figure 3 As shown, an embodiment of the present invention provides a method for obtaining estimated values ​​of motor rotor position and speed applicable to a position sensorless vector control system of a permanent magnet synchronous motor, mainly comprising steps S1-S3:

[0057] S1. Based on the voltage equation of the permanent magnet synchronous motor in a two-phase stationary coordinate system, the α and β axis current state equations with current as the state variable are constructed.

[0058] The expressions of the α and β axis current state equations are:

[0059]

[0060] Among them, R s , L s are stator resistance and stator inductance respectively; i α 、i β are the α-axis current and β-axis current of the motor respectively; u α 、u β are the α-axis voltage and β-axis voltage of the motor respectively; e α 、e β They are the α-axis back EMF and β-axis back EMF of the motor respectively.

[0061] S2. Based on the α and β axis current state equations constructed in step S1, a sliding mode observer is constructed with current as the state variable to observe the back electromotive force information of the α and β axes to obtain the observed values ​​of the back electromotive force of the α and β axes.

[0062] Specifically, the constructed sliding mode observer expression is:

[0063]

[0064] in, are the α-axis current observation value and β-axis current observation value of the motor respectively; k is the gain of the sliding mode observer; sign() is the sign function, which is defined as follows:

[0065]

[0066] When the sliding mode observer runs to a convergent state, the observed value of the back electromotive force is obtained as follows:

[0067]

[0068] in, They are the observed values ​​of the α-axis back EMF and the β-axis back EMF, respectively.

[0069] S3. Input the observed values ​​of the α-axis and β-axis back-EMF into the rotor position estimator, use a notch filter to filter the harmonic components of the position error, construct a third-order extended state observer based on the motor motion state equation, and obtain the estimated values ​​of the rotor position and speed of the permanent magnet synchronous motor.

[0070] More specifically, step S3 mainly includes the following steps S31-S35:

[0071] S31, the back electromotive force observation value obtained in step S2 As the input of the rotor position estimator, the position error ε is calculated according to the following relationship θ .

[0072]

[0073] in, is the estimated value of the rotor position.

[0074] S32, position error ε θ After normalization, the position error is Its amplitude will not change with the back EMF amplitude. Normalized position error The expression is:

[0075]

[0076] S33, using the notch filter to perform notch filtering on the normalized position error to filter out the sixth harmonic component. When designing the rotor position estimator, in order to filter out the sixth position harmonic caused by factors such as the nonlinear characteristics of the inverter and the non-sinusoidal distribution of the motor flux, a notch filter is used to filter the harmonic components of the position error.

[0077] The transfer function G of the notch filter f The expression of (s) is:

[0078]

[0079] Where s is the Laplace operator of the transfer function; ω re is the resonant frequency of the notch filter; k f is the cutoff frequency coefficient of the notch filter.

[0080] S34, establishing a motor motion state equation with the rotor position and rotation speed as state variables, constructing a disturbance model of the motor motion state equation, and obtaining known disturbances and unknown disturbances of the motor motion state equation.

[0081] Specifically, the motor rotor position θ e and speed ω e As the state variable, establish the motor motion state equation:

[0082]

[0083] The disturbance model for constructing the above motor motion state equation is:

[0084]

[0085] Among them, θ e ,ω e are the rotor position and speed respectively; B and J are the actual values ​​of damping viscosity coefficient and moment of inertia respectively; n p is the number of motor pole pairs; T e 、T L are electromagnetic torque and load torque respectively; f 0θ 、f 1θ They are respectively the known disturbance and unknown disturbance of the equation of motion; is the observed value of the rotation speed; is the torque command value.

[0086] S35. In order to extract the rotational speed and position information from the position error, the unknown disturbance is expanded into a new state, and the third-order extended state observer based on the motor motion state equation is constructed to finally obtain the estimated values ​​of the rotor position and rotational speed of the permanent magnet synchronous motor.

[0087] Specifically, the unknown disturbance f 1θ Expand to a new state and design the following three-order expanded state observer:

[0088]

[0089] in, is the position error after filtering; β 1θ , β 2θ , β 3θis the gain parameter of the third-order extended state observer; is the unknown disturbance f 1θ After the third-order extended state observer converges, obtain the estimated value of the rotor position of the permanent magnet synchronous motor and an estimate of the rotor speed

[0090] The effectiveness of the method proposed in the present invention is verified by experiments. The experimental parameters are specifically set as follows: the rated speed of the motor is 1500r / min, the rated torque is 5N·m, the resistance R s 、Inductance L s They are 0.75Ω and 3.5mH respectively, and the moment of inertia J and damping viscosity coefficient B are 0.0174kg·m 2 、0.00075N·m·s / rad.

[0091] Figure 4 The following is the experimental result of the motor under no-load at 1500r / min. From top to bottom, the waveforms are the back EMF observation value, the comparison between the rotor position observation value and the actual value, and the rotor position observation error. Figure 4 It can be seen that the position estimation error is within 1.2°.

[0092] Figure 5 The following is the experimental result of the motor running at different speeds. At the initial moment, the motor runs at a speed of 300r / min. At 1s, it starts to accelerate to 1500r / min, then maintains 1500r / min, and starts to decelerate to 300r / min at 4s. From top to bottom, the waveforms are the actual rotor speed, the rotor position observation error, and the rotor speed observation error. Figure 5 It can be seen that during steady-state and acceleration / deceleration dynamic operation, the position estimation error fluctuates within a very small range, which can meet the standards required by actual applications.

[0093] Figure 6 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present invention is schematically shown. Figure 6 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0094] like Figure 6As shown, the electronic device 1000 described in this embodiment includes: a processor 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 to a random access memory (RAM) 1003. The processor 1001 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 1001 may also include an onboard memory for caching purposes. The processor 1001 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

[0095] In RAM 1003, various programs and data required for the operation of system 1000 are stored. Processor 1001, ROM 1002 and RAM 1003 are connected to each other through bus 1004. Processor 1001 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1002 and / or RAM 1003. It should be noted that the program can also be stored in one or more memories other than ROM 1002 and RAM 1003. Processor 1001 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

[0096] According to an embodiment of the present disclosure, the electronic device 1000 may further include an input / output (I / O) interface 1005, which is also connected to the bus 1004. The system 1000 may further include one or more of the following components connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.

[0097] According to the method flow of the embodiment of the present disclosure, it can be implemented as a computer software program. For example, the embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and / or installed from the removable medium 1011. When the computer program is executed by the processor 1001, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to the embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.

[0098] The embodiments of the present invention further provide a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiments of the present disclosure is implemented.

[0099] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In an embodiment of the present disclosure, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include one or more memories other than the ROM 1002 and / or RAM 1003 described above.

[0100] It should be noted that the functional modules in the various embodiments of the present invention can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware or in the form of software functional modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product.

[0101] The flowchart or block diagram in the accompanying drawings illustrates the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0102] Those skilled in the art will appreciate that the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations and / or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways, and all of these combinations and / or combinations fall within the scope of the present disclosure.

[0103] Although the present disclosure has been shown and described with reference to specific exemplary embodiments of the present disclosure, it should be understood by those skilled in the art that various changes in form and details may be made to the present disclosure without departing from the spirit and scope of the present disclosure as defined by the appended claims and their equivalents. Therefore, the scope of the present disclosure should not be limited to the above-mentioned embodiments, but should be determined not only by the appended claims, but also by the equivalents of the appended claims.

Claims

1. A method for obtaining a permanent magnet synchronous motor rotor position and speed estimation value, characterized in that: Includes steps: Based on the voltage equation of the permanent magnet synchronous motor in a two-phase stationary coordinate system, the α and β axis current state equations with current as the state variable are constructed; Based on the α and β axis current state equations, a sliding mode observer is constructed with current as the state variable to observe the back electromotive force information of the α and β axes to obtain the observed values ​​of the back electromotive force of the α and β axes; The observed values ​​of the α-axis and β-axis back-EMF are input into a rotor position estimator, a notch filter is used to filter the harmonic components of the position error, a third-order extended state observer based on the motor motion state equation is constructed, and estimated values ​​of the rotor position and speed of the permanent magnet synchronous motor are obtained; The expressions of the α and β axis current state equations are: in, , They are stator resistance and stator inductance respectively; , They are the α-axis current and β-axis current of the motor respectively; , They are the α-axis voltage and β-axis voltage of the motor respectively; , They are the α-axis back EMF and β-axis back EMF of the motor respectively; The method for obtaining the observed values ​​of the α-axis and β-axis back electromotive force includes: The expression of the constructed sliding mode observer is: in, , They are the α-axis current observation value and β-axis current observation value of the motor respectively; is the gain of the sliding mode observer; is a symbolic function, defined as follows: When the sliding mode observer runs to a convergent state, the observed value of the back electromotive force is obtained as follows: in, , They are the observed values ​​of the α-axis back EMF and the β-axis back EMF respectively; The step of obtaining the estimated values ​​of the rotor position and the speed of the permanent magnet synchronous motor specifically comprises the following steps: Inputting the observed values ​​of the α-axis and β-axis back electromotive force into the rotor position estimator to obtain the position error; Performing per-unit normalization processing on the position error to obtain a corresponding per-unit normalized position error; Using the notch filter, performing notch filtering on the normalized position error to filter out components including the sixth harmonic; Establishing a motor motion state equation with rotor position and speed as state variables, constructing a disturbance model of the motor motion state equation, and obtaining known disturbances and unknown disturbances of the motor motion state equation; The unknown disturbance is expanded into a new state, and the third-order extended state observer based on the motor motion state equation is constructed to obtain the estimated values ​​of the rotor position and speed of the permanent magnet synchronous motor.

2. The acquisition method according to claim 1, characterized in that: The expression of the position error is: in, is the estimated value of the rotor position, is the position error; The expression of the normalized position error is: 。 3. The acquisition method according to claim 2, characterized in that: The transfer function of the notch filter is The expression is: in, is the Laplace operator of the transfer function; is the resonant frequency of the notch filter; is the cutoff frequency coefficient of the notch filter.

4. The acquisition method according to claim 3, characterized in that: The known disturbance and unknown disturbance of the motor motion state equation are obtained by: The motor motion state equation is established with the rotor position and speed as state variables. The expression of the motor motion state equation is: in, and are the rotor position and speed, respectively, , are the actual values ​​of damping viscosity coefficient and moment of inertia respectively; is the number of motor pole pairs; is the load torque; A disturbance model of the motor motion state equation is constructed, and the expression of the disturbance model is: in, and They are the known disturbance and unknown disturbance of the motor motion state equation respectively; is the observed value of the rotation speed; is the torque command value; is the electromagnetic torque.

5. The acquisition method according to claim 4, characterized in that: The expression of the third-order extended state observer is: in, is the position error after filtering; , , is the gain parameter of the third-order extended state observer; For the unknown disturbance After the third-order extended state observer converges, obtain the estimated value of the rotor position of the permanent magnet synchronous motor and an estimate of the rotor speed .

6. An electronic device, characterized in that: The method comprises at least one processing unit and at least one storage unit, wherein the storage unit stores a computer program, and when the computer program is executed by the processing unit, the processing unit executes the steps of the method according to any one of claims 1 to 5.

7. A storage medium, characterized in that: It stores a computer program executable by an access authentication device. When the computer program runs on the access authentication device, the access authentication device executes the steps of the method according to any one of claims 1 to 5.