Method and system for estimating rotor angle and speed of permanent magnet synchronous motor
By using a combination of speed observer, motor model, weight control circuit and integrator circuit in a permanent magnet synchronous motor, the problem of accuracy degradation caused by signal interference during low-speed operation is solved, and high accuracy is achieved during low-speed and high-speed operation Speed control.
Patent Information
- Application Number
- CN202310605050.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2024-11-26
AI Technical Summary
The existing methods are prone to interference when the permanent magnet synchronous motor is running at low speed, resulting in a decrease in the estimated accuracy of the rotor angle and rotor speed, and the motor speed cannot be accurately controlled.
A method and system is adopted that includes a speed observer, motor model, weight control circuit and integrator circuit, and the weight adjustment and integration operation are performed to estimate the rotor speed and angle by receiving d-axis voltage driving signals and speed commands. Improve the signal-to-noise ratio during low-speed operation and reflect electrical and mechanical frequency interference during high-speed operation.
Improve the signal-to-noise ratio during low-speed operation, ensure accurate estimation of rotor angle and rotor speed, and control the accuracy of motor speed; reflect interference sources during high-speed operation, further improve estimation accuracy.
Smart Images

Figure CN119030389A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a permanent magnet synchronous motor (PMSM), and more particularly to a method for estimating a rotor angle and a rotor speed of a permanent magnet synchronous motor and a related system. Background Art
[0002] In the case of controlling a permanent magnet synchronous motor without the aid of a speed sensor, it is necessary to first obtain an estimated rotor angle and an estimated rotor speed of the permanent magnet synchronous motor before subsequent control operations can be performed. For existing methods, the rotor angle and the rotor speed of the permanent magnet synchronous motor are estimated based on a back electromotive force (back emf) signal (e.g., a d-axis voltage drive signal of the permanent magnet synchronous motor). This method has the advantage of being easily implemented by hardware and achieving good speed control performance when the permanent magnet synchronous motor is running at a high speed. However, when the permanent magnet synchronous motor is running at a low speed, since the back emf signal is easily interfered, the accuracy of the existing method for estimating the rotor angle and the rotor speed of the permanent magnet synchronous motor may decrease, which results in the inability to accurately control the speed of the permanent magnet synchronous motor. Therefore, a novel method for estimating the rotor angle and the rotor speed of the permanent magnet synchronous motor is highly desired, which has a low-speed compensation mechanism to accurately estimate the rotor angle and the rotor speed of the permanent magnet synchronous motor when the permanent magnet synchronous motor is running at a low speed. Summary of the invention
[0003] Therefore, one of the objectives of the present invention is to provide a method for estimating the rotor angle and rotor speed of a permanent magnet synchronous motor and a related system to solve the above-mentioned problem.
[0004] According to an embodiment of the present invention, a method for estimating a rotor angle and a rotor speed of a permanent magnet synchronous motor is provided. The method comprises: receiving a d-axis voltage driving signal of the permanent magnet synchronous motor, and obtaining a first estimated rotor speed of the permanent magnet synchronous motor according to the d-axis voltage driving signal; receiving a speed command, and obtaining a second estimated rotor speed of the permanent magnet synchronous motor according to the speed command; performing a weight adjustment operation on the first estimated rotor speed and the second estimated rotor speed to obtain a third estimated rotor speed for estimating the rotor speed of the permanent magnet synchronous motor; and performing an integration operation on the third estimated rotor speed to obtain an estimated rotor angle for estimating the rotor angle of the permanent magnet synchronous motor.
[0005] According to one embodiment of the present invention, a system for estimating the rotor angle and rotor speed of a permanent magnet synchronous motor is provided. The system includes a speed observer, a motor model, a weight control circuit and an integrator circuit. The speed observer is used to receive a d-axis voltage drive signal of the permanent magnet synchronous motor, and obtain a first estimated rotor speed of the permanent magnet synchronous motor according to the d-axis voltage drive signal. The motor model is used to receive a speed command, and obtain a second estimated rotor speed of the permanent magnet synchronous motor according to the speed command. The weight control circuit is coupled to the speed observer and the motor model, and is used to perform a weight adjustment operation on the first estimated rotor speed and the second estimated rotor speed to obtain a third estimated rotor speed of the permanent magnet synchronous motor for estimating the rotor speed of the permanent magnet synchronous motor. The integrator circuit is coupled to the weight control circuit, and is used to perform an integration operation on the third estimated rotor speed to obtain an estimated rotor angle for estimating the rotor angle of the permanent magnet synchronous motor.
[0006] One of the benefits of the present invention is that, by means of the method and the related system for estimating the rotor angle and the rotor speed of the permanent magnet synchronous motor provided by the present invention, the signal-to-noise ratio can be improved when the permanent magnet synchronous motor is running at a low speed, which makes the estimation of the rotor angle and the rotor speed of the permanent magnet synchronous motor more accurate. In addition, when the permanent magnet synchronous motor is running at a high speed, the interference sources related to the electrical and / or mechanical frequency can be reflected and the estimation accuracy of the rotor angle and the rotor speed of the permanent magnet synchronous motor can be improved at the same time, so that the rotation speed of the permanent magnet synchronous motor can be accurately controlled. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] Figure 1 FIG. 4 is a block diagram of a motor device according to an embodiment of the present invention.
[0008] Figure 2 FIG. 4 is a schematic diagram of an estimation system according to an embodiment of the present invention.
[0009] Figure 3 FIG. 4 is a schematic diagram of a motor model according to an embodiment of the present invention.
[0010] Figure 4 FIG. 4 is a flow chart of a method for estimating a rotor angle and a rotor speed of a permanent magnet synchronous motor according to an embodiment of the present invention.
[0011]
Explanation of symbols
[0012] 100: Motor device
[0013] 102: Speed Controller
[0014] 103, 105: Adding circuit
[0015] 104:q-axis current controller
[0016] 106: d-axis current controller
[0017] 108: Anti-Pike conversion module
[0018] 110: Space vector pulse width modulation module
[0019] 112: Permanent magnet synchronous motor
[0020] 114: Clarke conversion module
[0021] 116: Parker conversion module
[0022] 118,200: Estimation system
[0023] CMD: Speed command
[0024] Iq:q-axis current reference signal
[0025] Id: d-axis current reference signal
[0026] ES_Iq: Estimated q-axis current signal
[0027] ES_Id: Estimated d-axis current signal
[0028] Ia, Ib, Ic: three-phase current signal
[0029] Iα: Alpha domain current signal
[0030] Iβ: beta domain current signal
[0031] Vq: q-axis voltage drive signal
[0032] Vd: d-axis voltage drive signal
[0033] Vq_ff: Feedforward q-axis voltage signal
[0034] Vd_ff: Feedforward d-axis voltage signal
[0035] Va, Vb, Vc: three-phase voltage drive signal
[0036] FAR: First addition result
[0037] SAR: Second addition result
[0038] PWM_a, PWM_b, PWM_c: three-phase pulse width modulation signal
[0039] SP_FB: Feedback rotor speed
[0040] AN_FB: Feedback rotor angle
[0041] 202: Speed Observer
[0042] 204,300: Motor model
[0043] 206: weight control circuit
[0044] 208: Integrator circuit
[0045] FES_RS: First estimated rotor speed
[0046] SES_RS: Second estimated rotor speed
[0047] TES_ES: Third estimated rotor speed
[0048] W1: first weight value
[0049] W2: Second weight value
[0050] ES_RS: Estimated rotor speed
[0051] ES_AN: Estimated rotor angle
[0052] 302: Electrical circuit
[0053] 304: Mechanical circuit
[0054] 305, 307: Subtraction circuit
[0055] 306, 308: Controller
[0056] 310:Electrical circuit model
[0057] 312: Mechanical Circuit Model
[0058] I_CMD: Current command
[0059] V_CMD: voltage command
[0060] Kt: Torque constant
[0061] S400~406: Steps DETAILED DESCRIPTION
[0062] Figure 1 FIG. 1 is a block diagram of a motor device 100 according to an embodiment of the present invention. Figure 1 As shown, the motor device 100 may include a speed controller 102, a plurality of adding circuits 103 and 105, a q-axis current controller 104, a d-axis current controller 106, an inverse Park transform module 108 (for simplicity, the inverse Park transform module 108 is shown in FIG. Figure 1 In the -1”), space-vector pulse width modulation (SVPWM) module 110 (for simplicity, in Figure 1 SVPWM), permanent magnet synchronous motor (PMSM) 112 (for brevity, Figure 1 ), Clark transform module 114 (for brevity, in Figure 1 ), Parker conversion module 116 (for brevity, in Figure 1 ) and an estimation system 118, wherein the permanent magnet synchronous motor 112 may include a stator 120 and a rotor 122, the stator 120 may be a three-phase stator winding, and the rotor 122 may be a permanent magnet. The speed controller 102 may be used to receive a speed command CMD from a user or an external source, receive a feedback rotor speed SP_FB from the estimation system 118, and obtain a q-axis current reference signal Iq according to the speed command CMD and the feedback rotor speed SP_FB. For example, the speed controller 102 may subtract the feedback rotor speed SP_FB from a rotor speed corresponding to the speed command CMD to generate a subtraction result, wherein the q-axis current reference signal Iq may be obtained according to the subtraction result.
[0063] The q-axis current controller 104 may be configured to receive a q-axis current reference signal Iq from the speed controller 102, receive an estimated q-axis current signal ES_Iq of the permanent magnet synchronous motor 112 from the Parker conversion module 116, and compare the estimated q-axis current signal ES_Iq with the q-axis current reference signal Iq to generate a q-axis voltage drive signal Vq of the permanent magnet synchronous motor 112. Similarly, the d-axis current controller 106 may be configured to receive a d-axis voltage reference signal Id (e.g., the d-axis voltage reference signal Id is equal to 0; i.e., Id=0) from a user or an external source, receive an estimated d-axis current signal ES_Id of the permanent magnet synchronous motor 112 from the Parker conversion module 116, and compare the estimated d-axis current signal ES_Id with the d-axis voltage reference signal Id to generate a d-axis voltage drive signal Vd of the permanent magnet synchronous motor 112.
[0064] The adding circuit 103 may be used to receive a feed-forward q-axis voltage signal Vq_ff, receive the q-axis voltage driving signal Vq from the q-axis current controller 104, and add the feed-forward q-axis voltage signal Vq_ff and the q-axis voltage driving signal Vq to generate a first addition result FAR (i.e., FAR=Vq+Vq_ff). The feed-forward q-axis voltage signal Vq_ff may be obtained by the following formula:
[0065] V qff =R s *I d +ω r *L s *I q
[0066] Where V qff is the feedforward q-axis voltage signal Vq_ff, R s is a resistance value located at the stator 120, I d is the d-axis voltage reference signal Id, ω r is a first estimated rotor speed FES_RS obtained by the estimation system 118, L s is an inductance value located at the stator 120, and I q is the q-axis current reference signal Iq.
[0067] Similarly, the adding circuit 105 can be used to receive a feedforward d-axis voltage signal Vd_ff, receive the d-axis current reference signal Id from the d-axis current controller 106, and add the feedforward d-axis voltage signal Vd_ff and the d-axis current reference signal Id to generate a second addition result SAR (i.e., SAR=Vd+Vd_ff). The feedforward d-axis voltage signal Vd_ff can be obtained by the following formula:
[0068] V dff =R s *I q +ω r *L s *I d
[0069] Where V dff is the feedforward d-axis voltage signal Vd_ff, R s is the resistance value at stator 120, I q is the q-axis current reference signal Iq, ω r is the first estimated rotor speed FES_RS obtained by the estimation system 118, L s is the inductance value at the stator 120, and I d is the d-axis voltage reference signal Id.
[0070] The inverse Pike conversion module 108 can be used to receive the first addition result FAR, the second addition result SAR and a feedback rotor angle AN_FB from the adding circuit 103, the adding circuit 105 and the estimation system 118 respectively, and perform an inverse Pike conversion on the first addition result FAR and the second addition result SAR according to the feedback rotor angle AN_FB to generate a plurality of three-phase voltage drive signals Va, Vb and Vc. The space vector pulse width modulation module 110 can be used to generate a plurality of three-phase pulse width modulation signals PWM_a, PWM_b and PWM_c according to the three-phase voltage drive signals Va, Vb and Vc for driving the permanent magnet synchronous motor 112. After the permanent magnet synchronous motor 112 is driven by the three-phase pulse width modulation signals PWM_a, PWM_b and PWM_c, the Clarke conversion module 114 can receive the multiple three-phase current signals Ia, Ib and Ic, and perform a Clarke conversion on the three-phase current signals Ia, Ib and Ic to generate an alpha-domain current signal Iα and a beta-domain current signal Iβ. The Parker conversion module 116 can be used to receive the alpha-domain current signal Iα and the beta-domain current signal Iβ from the Clarke conversion module 114, receive the feedback rotor angle AN_FB from the estimation system 118, and perform a Parker conversion on the alpha-domain current signal Iα and the beta-domain current signal Iβ according to the feedback rotor angle AN_FB to generate an estimated q-axis current signal ES_Iq and an estimated d-axis current signal ES_Id.
[0071] The estimation system 118 can be used to receive the d-axis voltage drive signal Vd and the speed command CMD, and generate an estimated rotor speed ES_RS and an estimated rotor angle ES_AN according to the d-axis voltage drive signal Vd and the speed command CMD, wherein the estimated rotor speed ES_RS can be used as the feedback rotor speed SP_FB, and the estimated rotor angle ES_AN can be used as the feedback rotor angle AN_FB. For details, please refer to Figure 2 , Figure 2 is a schematic diagram of an estimation system 200 according to an embodiment of the present invention, wherein Figure 1 The estimation system 118 shown may be implemented by the estimation system 200. Figure 2 As shown, the estimation system 200 may include a speed observer 202, a motor model 204, a weight control circuit 206, and an integrator circuit 208. The speed observer 202 may be used to receive the d-axis voltage driving signal Vd, and obtain a first estimated rotor speed FES_RS according to the d-axis voltage driving signal Vd. Specifically, the speed observer 202 may obtain the first estimated rotor speed FES_RS by the following formula:
[0072] V d =Rs *I d -ω r *L s *I q +ω r *λ f *sinθ err
[0073] Where V d is the d-axis voltage drive signal Vd, R s is the resistance value at stator 120, I d is the d-axis voltage reference signal Id, ω r is the first estimated rotor speed FES_RS, L s is the inductance value at the stator 120, I q is the q-axis current reference signal Iq, λ f is the back electromotive force (back emf) constant, and θ err It is an error angle between the estimated rotor angle ES_AN and an actual rotor angle.
[0074] Assuming that the error angle between the estimated rotor angle ES_AN and the actual rotor angle is close to 0 and the d-axis current reference signal Id and the q-axis current reference signal Iq are substantially equal to the estimated d-axis current signal ES_Id and the estimated q-axis current signal ES_Iq, respectively, the above formula can be further simplified as follows:
[0075]
[0076] The first estimated rotor speed FES_RS is proportional to the d-axis voltage drive signal Vd.
[0077] The motor model 204 may be an open-loop model and may be used to receive the speed command CMD and obtain a second estimated rotor speed SES_RS of the permanent magnet synchronous motor 112 according to the speed command CMD. Figure 3 , Figure 3 is a schematic diagram of a motor model 300 according to an embodiment of the present invention, wherein Figure 2 The motor model 204 shown may be implemented by the motor model 300. Figure 3As shown, the motor model 300 may include an electrical loop 302 and a mechanical loop 304, wherein the electrical loop 302 may include a hair cutting circuit 307, a controller 308 and an electrical loop model 310, and the mechanical loop 304 may include a subtraction circuit 305, a controller 306 and a mechanical loop model 312. It should be noted that both the controllers 306 and 308 may be implemented by a proportional integral (PI) controller, and the PI controller may perform a closed loop operation in the s-domain and may be indicated by the following formula:
[0078]
[0079] Where K E Corresponding to controller 308, K M Corresponding to controller 306, K ps is the controller proportional constant, and K i is the controller integral constant.
[0080] The subtraction circuit 305 may be used to subtract an output of the mechanical circuit model 312 from the speed command CMD, the controller 306 may be used to convert an output of the subtraction circuit 305 into a current command I_CMD, the subtraction circuit 307 may be used to subtract an output of the electrical circuit model 310 from the current command I_CMD, and the controller 308 may be used to convert an output of the subtraction circuit 307 into a voltage command V_CMD. Assuming that the electrical circuit model 310 is a combination of a resistor R and an inductor L, and the voltage command V_CMD may be transmitted to the electrical circuit model 310 for current control, the electrical circuit model 310 may be obtained in the t-domain by the following formula:
[0081]
[0082] Wherein V(t) represents a voltage value corresponding to the voltage command V_CMD in the t domain, L is an inductance value of the inductor L, I(t) represents a current value corresponding to a current output by the electrical circuit model 310 in the t domain, and R is a resistance value of the resistor R. A Laplace transform can be performed on the above formula to obtain the following formula in the s domain:
[0083] V(s)=(L*s+R)*I(s),
[0084] and the electrical circuit model 310 (denoted as “G E ”) can be obtained by the following formula:
[0085]
[0086] Therefore, a closed loop formula tf of the electrical circuit 302 is E It can be expressed as follows:
[0087]
[0088] Where K E is the formula used above for closed loop operation by controller 308, and G E is the formula corresponding to the electrical circuit model 310 described above.
[0089] For the mechanical loop 304, the torque of the mechanical loop model 312 is obtained by the following formula in the t domain:
[0090]
[0091] Wherein T(t) represents a torque value corresponding to the torque of the mechanical loop model 312 in the t-domain, J is a rotational inertia of the mechanical loop model 312, B is a friction coefficient of the mechanical loop model 312, α is an angular acceleration of the mechanical loop model 312, and ω(t) is an angular velocity of the mechanical loop model 312 in the t-domain. A Laplace transform can be performed on the above formula to obtain the following formula in the s-domain:
[0092] T(s)=(J*s+B)*ω(t)
[0093] and the mechanical circuit model 312 (denoted as “G M ”) can be obtained by the following formula:
[0094]
[0095] Therefore, a closed-loop formula of the mechanical loop 304 is tf M It can be expressed as follows:
[0096]
[0097] Where K M is the formula used above for closed loop operation by controller 306, and G M is the formula corresponding to the mechanical circuit model 312 described above.
[0098] The motor model 300 (denoted as “MOTOR_M”) can be represented by the closed loop equation tf E , a torque constant Kt used to convert current into torque and a closed loop formula tf of the mechanical loop 304M Perform a multiplication operation to obtain (that is, ), in addition, assuming K E *G E Much larger than 1(K E *G E >>1) and Kt*K M *G M is also much larger than 1 (that is, Kt*K M *G M >>1), then MOTOR_M can be simplified by the following formula:
[0099]
[0100] In this way, after receiving the speed command CMD, the motor model 300 can obtain the second estimated rotor speed SES_RS of the permanent magnet synchronous motor 112 according to the speed command CMD.
[0101] Please refer to the reply Figure 2 Considering a case where the system 200 is modified to include only the speed observer 202 and the integrator circuit 208, in this case, when the permanent magnet synchronous motor 112 is running at a high speed, the estimation system 200 can be used to achieve good speed control performance of the permanent magnet synchronous motor 112. However, when the permanent magnet synchronous motor 112 is running at a low speed, the d-axis voltage drive signal Vd may be too small, which makes the d-axis voltage drive signal Vd easily interfered and makes the signal-to-noise ratio (SNR) too low. Therefore, the estimation system 200 cannot accurately obtain the first estimated rotor speed FES_RS of the permanent magnet synchronous motor 112 according to the d-axis voltage drive signal Vd, which makes it impossible to accurately control the speed of the permanent magnet synchronous motor 112. Therefore, in this case, the permanent magnet synchronous motor 112 may not be started smoothly and the permanent magnet synchronous motor 112 may reverse.
[0102] Consider another case where the estimation system 200 is modified to include only the motor model 204 and the integrator circuit 208. In this case, the permanent magnet synchronous motor 112 may not start smoothly and may be out of synchronism. When the permanent magnet synchronous motor 112 runs at a low speed, the motor model 204 has a long time to establish the magnetic field, which makes the difference between the second estimated rotor speed SES_RS of the permanent magnet synchronous motor 112 and the actual rotor speed smaller. However, when the permanent magnet synchronous motor 112 runs at a high speed, the motor model 204 may not reflect electrical and / or mechanical frequency-related interference sources (such as cogging, friction, uneven magnetization, overshoot or delay), which may cause a poor transient response of the permanent magnet synchronous motor 112.
[0103] In order to solve the above problem, in the present embodiment, the estimation system 200 further includes a weight control circuit 206. The weight control circuit 206 can be coupled to the speed observer 202 and the motor model 204, and can be used to perform a weight adjustment operation on the first estimated rotor speed FES_RS and the second estimated rotor speed SES_RS to obtain a third estimated rotor speed TES_RS, wherein the third estimated rotor speed TES_RS can be used as the estimated rotor speed ES_RS and automatically Figure 1 The estimation system 118 shown is transmitted to the speed controller 102 for speed feedback operation. For example, the weight control circuit 206 can be a processor, and the processor can load and execute program code to implement the algorithm and thereby perform weight adjustment operation. Assume that a first weight value W1 corresponds to the first estimated rotor speed FES_RS, and a second weight value W2 corresponds to the second estimated rotor speed SES_RS, wherein a sum of the first weight value W1 and the second weight value W2 is equal to 1 (i.e., W1+W2=1). The weight control circuit 206 can be used to multiply the first weight value W1 and the first estimated rotor speed FES_RS to generate a first multiplication result, multiply the second weight value W2 and the second estimated rotor speed SES_RS to generate a second multiplication result, and combine the first multiplication result and the second multiplication result to generate a third estimated rotor speed TES_RS (i.e., TES_RS=W1*FES_RS+W2*SES_RS).
[0104] In this embodiment, the first weight value W1 and the second weight value W2 can be dynamically adjusted according to the rotation speed of the permanent magnet synchronous motor 112. For example, the first weight value W1 can be designed as a formula of a weight ω (eg ), and the second weight value W2 can be designed as another formula of weight ω (for example ), when the permanent magnet synchronous motor 112 runs at a low speed, the weight control circuit 206 can reduce the value of the weight ω (that is, increase the second weight value W2 and reduce the first weight value W1), and when the permanent magnet synchronous motor 112 runs at a high speed, the weight control circuit 206 can increase the value of the weight ω (that is, increase the first weight value W1 and reduce the second weight value W2). In this way, when the permanent magnet synchronous motor 112 runs at a low speed, the low-speed compensation mechanism can be implemented by increasing the second weight value W2 corresponding to the motor model 204, which can improve the signal-to-noise ratio and thus make the estimation of the rotor speed and rotor angle of the permanent magnet synchronous motor 112 more accurate. On the other hand, when the permanent magnet synchronous motor 112 runs at a high speed, by increasing the first weight value W1 corresponding to the speed observer 202, the interference sources related to the electrical and / or mechanical frequencies can be reflected and the estimation of the rotor speed and rotor angle of the permanent magnet synchronous motor 112 can be made more accurate.
[0105] In some embodiments, the first weight value W1 and the second weight value W2 can be directly set to 0.5, that is, the third estimated rotor speed TES_RS is equal to half of the sum of the first estimated rotor speed FES_RS and the second estimated rotor speed SES_RS (ie ), for example, in the first weight value W1 is designed as the formula of weight ω The second weight value W2 is designed as the formula of weight ω In the case of , the value of the weight ω can be directly set to 1 by the weight control circuit 206.
[0106] In some embodiments, a cutoff rotor speed may be set by the weight control circuit 206, and the weight control circuit 206 may perform a weight adjustment operation on the first estimated rotor speed FES_RS and the second estimated rotor speed SES_RS in response to the rotor speed of the permanent magnet synchronous motor 112 being less than the cutoff rotor speed to obtain the third estimated rotor speed TES_RS. That is, when the rotor speed of the permanent magnet synchronous motor 112 is less than the cutoff rotor speed, the weight control circuit 206 may dynamically adjust the first weight value W1 corresponding to the first estimated rotor speed FES_RS and the second weight value W2 corresponding to the second estimated rotor speed SES_RS. In addition, in response to the rotor speed of the permanent magnet synchronous motor 112 being not less than the cut-off rotor speed, the weight control circuit 206 can directly set the first estimated rotor speed FES_RS to the third estimated rotor speed TES_RS, that is, when the rotor speed of the permanent magnet synchronous motor 112 is not less than the cut-off rotor speed, the weight control circuit 206 will not perform weight adjustment operations on the first estimated rotor speed FES_RS and the second estimated rotor speed SES_RS, and bypass the first estimated rotor speed FES_RS as the third estimated rotor speed TES_RS.
[0107] The integrator circuit 208 may be coupled to the weight control circuit 206 and may be used to perform an integration operation on the third estimated rotor speed TES_RS to obtain the estimated rotor angle ES_AN, wherein the estimated rotor angle ES_AN may be used to perform a position feedback operation of the permanent magnet synchronous motor 112, for example, Figure 1 In the embodiment, the estimated rotor angle ES_AN may be regarded as the feedback rotor angle AN_FB and transmitted from the estimation system 118 to the inverse Pike transformation module 108 and the Pike transformation module 116 for position feedback operation.
[0108] Figure 4 Flow chart of a method for estimating the rotor angle and rotor speed of a permanent magnet synchronous motor according to an embodiment of the present invention. If the same result can be obtained, the steps do not have to be completely followed. Figure 4 The process shown is executed in sequence. For example, Figure 4 The method shown can be Figure 1 The estimation system 118 and / or Figure 2 The estimation system 200 shown is implemented.
[0109] In step S400 , a d-axis voltage driving signal Vd of the permanent magnet synchronous motor 112 is received, and a first estimated rotor speed FES_RS of the permanent magnet synchronous motor 112 is obtained according to the d-axis voltage driving signal Vd.
[0110] In step S402 , a speed command CMD is received, and a second estimated rotor speed SES_RS of the permanent magnet synchronous motor 112 is obtained according to the speed command CMD.
[0111] In step S404 , a weight adjustment operation is performed on the first estimated rotor speed FES_RS and the second estimated rotor speed SES_RS to obtain a third estimated rotor speed TES_RS for estimating the rotor speed of the permanent magnet synchronous motor 112 .
[0112] In step S406 , an integration operation is performed on the third estimated rotor speed TES_RS to obtain the estimated rotor angle ES_AN for estimating the rotor angle of the permanent magnet synchronous motor 112 .
[0113] Since those skilled in the art can Figure 1 The estimation system 118 and / or Figure 2 The estimation system 200 shown in the specification can be easily understood Figure 4 For the sake of brevity, similar contents of the operations in the steps shown in this embodiment are not repeated here.
[0114] In summary, the method and related system for estimating the rotor angle and rotor speed of a permanent magnet synchronous motor provided by the present invention can improve the signal-to-noise ratio when the permanent magnet synchronous motor runs at a low speed, which makes the estimation of the rotor angle and rotor speed of the permanent magnet synchronous motor more accurate. In addition, when the permanent magnet synchronous motor runs at a high speed, the interference sources related to the electrical and / or mechanical frequency can be reflected and the estimation accuracy of the rotor angle and rotor speed of the permanent magnet synchronous motor can be improved at the same time. In this way, the rotation speed of the permanent magnet synchronous motor can be accurately controlled.
[0115] The above descriptions are only preferred embodiments of the present invention. All equivalent changes and modifications made according to the claims of the present invention should fall within the scope of the present invention.
Claims
1. A method for estimating a rotor angle and a rotor speed of a permanent magnet synchronous motor, comprising: receiving a d-axis voltage driving signal of the permanent magnet synchronous motor, and obtaining a first estimated rotor speed of the permanent magnet synchronous motor according to the d-axis voltage driving signal; receiving a speed command and obtaining a second estimated rotor speed of the permanent magnet synchronous motor according to the speed command; Performing a weight adjustment operation on the first estimated rotor speed and the second estimated rotor speed to obtain a third estimated rotor speed for estimating the rotor speed of the permanent magnet synchronous motor; as well as An estimated rotor angle is obtained by integrating the third estimated rotor speed for estimating the rotor angle of the permanent magnet synchronous motor.
2. The method of claim 1 , wherein the first weight value corresponds to the first estimated rotor speed, the second weight value corresponds to the second estimated rotor speed, and the step of performing the weight adjustment operation on the first estimated rotor speed and the second estimated rotor speed to obtain the third estimated rotor speed comprises: multiplying the first weight value and the first estimated rotor speed to generate a first multiplication result; multiplying the second weight value and the second estimated rotor speed to generate a second multiplication result; and The first multiplication result and the second multiplication result are combined to generate the third estimated rotor speed.
3. The method according to claim 2, further comprising: The first weight value and the second weight value are dynamically adjusted according to the rotor speed of the permanent magnet synchronous motor.
4. The method of claim 2, wherein the sum of the first weight value and the second weight value is equal to 1, and the method further comprises: The first weight value and the second weight value are both set to 0.
5.
5. The method of claim 1 , wherein the step of performing the weight adjustment operation on the first estimated rotor speed and the second estimated rotor speed to obtain the third estimated rotor speed is performed in response to the rotor speed of the permanent magnet synchronous motor being less than a cut-off rotor speed; and the method further comprises: In response to the rotor speed of the permanent magnet synchronous motor being not less than the cutoff rotor speed, the first estimated rotor speed is set to the third estimated rotor speed.
6. A system for estimating a rotor angle and a rotor speed of a permanent magnet synchronous motor, comprising: a speed observer for receiving a d-axis voltage driving signal of the permanent magnet synchronous motor and obtaining a first estimated rotor speed of the permanent magnet synchronous motor according to the d-axis voltage driving signal; a motor model for receiving a speed command and obtaining a second estimated rotor speed of the permanent magnet synchronous motor according to the speed command; A weight control circuit is coupled to the speed observer and the motor model and is used for performing a weight adjustment operation on the first estimated rotor speed and the second estimated rotor speed to obtain a third estimated rotor speed of the permanent magnet synchronous motor for estimating the rotor speed of the permanent magnet synchronous motor; as well as The integrator circuit is coupled to the weight control circuit and is used for performing an integration operation on the third estimated rotor speed to obtain an estimated rotor angle for estimating the rotor angle of the permanent magnet synchronous motor.
7. The system of claim 6, wherein a first weight value corresponds to the first estimated rotor speed, a second weight value corresponds to the second estimated rotor speed, and the weight control circuit is further configured to: multiplying the first weight value and the first estimated rotor speed to generate a first multiplication result; multiplying the second weight value and the second estimated rotor speed to generate a second multiplication result; and The first multiplication result and the second multiplication result are combined to generate the third estimated rotor speed. 8 . The system of claim 7 , wherein the weight control circuit is further configured to dynamically adjust the first weight value and the second weight value according to the rotor speed of the permanent magnet synchronous motor.
9. The system of claim 7, wherein a sum of the first weight value and the second weight value is equal to 1, and the weight control circuit is further configured to: The first weight value and the second weight value are both set to 0.
5.
10. The system of claim 6 , wherein in response to the rotor speed of the permanent magnet synchronous motor being less than a cutoff rotor speed, the weight control circuit performs the weight adjustment operation on the first estimated rotor speed and the second estimated rotor speed to obtain the third estimated rotor speed; and the weight control circuit is further configured to: In response to the rotor speed of the permanent magnet synchronous motor being not less than the cutoff rotor speed, the first estimated rotor speed is set to the third estimated rotor speed.
