POSITION SENSOR OFFSET ERROR DIAGNOSIS AND CALIBRATION IN PERMANENT MAGNET SYNCHRONOUS MACHINE
20210391812 · 2021-12-16
Inventors
Cpc classification
G01D5/145
PHYSICS
International classification
Abstract
A method of detecting angular position sensor offset mar (PSOE) in a permanent magnet synchronous machine operated from a closed-loop field oriented control and controller adapted to detect PSOE in a permanent magnet synchronous machine, includes sensing an electrical parameter of a machine drive current with a sensor from a location on the closed-loop field oriented control and comparing the electrical parameter with machine commands provided to the closed-loop field oriented control. It is determined that a PSOE has occurred from the comparing.
Claims
1. A method of detecting angular position offset error (PSOE) in a permanent magnet synchronous machine operated from a closed-loop field oriented control, comprising: sensing an electrical parameter of a machine drive current with a sensor from a location on the closed-loop field oriented control; comparing the electrical parameter with machine commands provided to the closed, loop field oriented control; and determining that a PSOE has occurred from said comparing.
2. The method of detecting as claimed in claim 1 wherein said electrical parameter comprises a voltage.
3. The method of detecting as claimed in claim 2 wherein the electrical parameter comprises voltages along the d-axis and q-axis which are obtained from the difference between the estimated voltages and output voltages of the P1 controllers or voltages applied to the machine.
4. The method of detecting as claimed in claim 3 wherein the estimated voltages are trigonometry functions of PSOE.
5. The method of detecting as claimed in claim 1 wherein said electrical parameter comprises a current.
6. The method of detecting as claimed in claim 5 wherein the electrical parameter comprises currents along the d-axis and q-axis which are obtained from the difference between the estimated currents and the commanded currents.
7. The method of detecting as claimed in claim 6 wherein the estimated currents are trigonometry functions of PSOE.
8. The method of detecting as claimed in claim 1 wherein said determining uses rotor reference frame transformed variables.
9. The method as claimed in claim 1 including quantifying amount of PSOE.
10. The method as claimed in claim 9 including providing an indication if the amount of PSOE exceeds a threshold.
11. The method as claimed in claim 1 performed while the machine is in operation.
12. The method as claimed in claim 1 performed with computer programming code operating on a controller comprising the closed-loop field oriented control.
13. A controller adapted to detect angular position offset error (PSOE) in a permanent magnet synchronous machine, comprising: a closed-loop field oriented control machine adapted to produce at least one machine drive current; a sensor adapted to sense an electrical parameter of an actual machine drive current from a location on the closed-loop field oriented control; a comparator adapted to compare the electrical parameter with machine commands provided to the closed-loop field oriented control; and said controller determining that a PSOE has occurred from an output of said comparing.
14. The controller as claimed in claim 13 wherein said electrical parameter comprises a voltage.
15. The controller as claimed in claim 14 wherein the electrical parameter comprises voltages along the d-axis and q-axis which are obtained from the difference between the estimated voltages and output voltages of P1 controllers or voltages applied to the machine.
16. The controller as claimed in claim 15 wherein the estimated voltages are trigonometry functions of PSOE.
17. The controller as claimed in claim 13 wherein said electrical parameter comprises a current.
18. The controller as claimed in claim 17 wherein the electrical parameter comprises currents along the d-axis and q-axis which are obtained from the difference between the estimated currents and the command currents.
19. The controller as claimed in claim 18 wherein the estimated currents are trigonometry functions of PSOE.
20. The controller as claimed in claim 1 wherein said controller is adapted to use rotor reference frame transformed variables.
21. The controller as claimed in claim 20 wherein said controller is adapted to quantify amount of PSOE.
22. The controller as claimed in claim 21 wherein said controller is adapted to provide an indication if the amount of PSOE exceeds a threshold.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0012]
[0013]
[0014]
[0015]
[0016]
DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0017] The present invention will now be described with reference to the accompanying figures, wherein the numbered elements in the following written description correspond to like-numbered elements in the figures. A permanent magnet synchronous machine (PMSM) 12 is electrically driven from an inverter system 10 to propel a load 14 or as a torque/speed/position actuator as shown in
[0018] As is conventional, inverter 30 is made up of three parallel line, each made up of two serially connected switching elements Q1-Q6 each with an anti-parallel diode. On/off states of switching elements Q1-Q6 are controlled from a gate driver 20. A midpoint of each pair of switching elements is connected with one of outputs 22a, 22h, and 22c then to a respective stator winding of PMSM 12. Switching elements Q1-Q6 are semiconductor devices, such as metal oxide semiconductor field effect transistors (MOSFET) or the like.
[0019] Controller 24 is programmed to carry out a filed oriented control (FOC) 32 in conjunction with inverter 30 to operate PMSM 12 as shown in
[0020] Primary control of the PMSM 12 is by FOC 32 where position sensor 28 is used for rotor position measurement. The sensor's relative alignment with respect to the rotor flux vector is essential to properly orient the stator field. Position sensor 28 is mechanically mounted to rotation shaft of PMSM 12, The mechanical interface has a tendency to fail/loosen due to vibration, shock and other environmental conditions causing the sensor to loose alignment, referred to as position sensor offset error (PSOE). A change in alignment will impede normal operation introducing a torque reduction and, under severe effort, the system could reach zero torque or torque reversal.
[0021] Detection of such failure, quantification of the amount of offset and/or providing a calibration of the positon sensor offset error may be obtained either in-system or at any stage of product development without external hardware by an estimate function. The estimate function is carried out, in the illustrated function, by a computer program that runs along with FOC 32 in controller 24. Of course the estimate function could operate on its own controller or be carried out by known equivalents. The estimate function can be either a voltage estimate function 42 shown in
[0022] Computer code for carrying out voltage estimate function 42, as shown in
[0023] Referring to
[0024] The estimated dq voltages can be obtained using simplified block diagram representation of FOC system 32 as follows:
##STR00001##
[0025] To simplify the analysis, a surface mount PMSM is considered with zero d-axis current. Therefore, equation (1) can be simplified as (2) under the steady state condition (t.fwdarw.∞, s.fwdarw.0). Steady state condition is considered here as the fault detection need to be robust to avoid false positives during transients. A non-salient machine is considered resulting in L.sub.d≈L.sub.q. θ.sub.r−θ.sub.o=Δθ.
[0026] These measured rotor reference frame voltages are then applied to the steady state PMSM model to obtain the estimated rotor reference frame voltages as shown below in equation (3).
[0027] Error between the estimated rotor reference frame voltages and measured voltages Rotor Reference Frame Voltage Error result in the following relationship.
[0028] Using trigonometric identities, above relationship reduces to the relationship shown in equation (5).
[0029] Therefore, the ratio between the rotor reference frame voltages are found as,
[0030] Alternatively, a similar result can be obtained without fully computing the rotor reference frame voltages.
[0031] Induced position error can be obtained by taking the ratio of the above two equations as shown below.
Δθ=tan.sup.−1(−[V.sub.ds_mes.sup.r+ω.sub.rL.sub.qI.sub.qs_Ref.sup.r]/[V.sub.qs_mes.sup.r−r.sub.sI.sub.qs_Ref.sup.r]) (equation 8)
Equations (6) and (8) are both capable of finding PSOE.
[0032] For current estimate function 44 shown in
[0033] Referring to
[0034] To simplify the analysis, a surface mount FMSM is considered with zero d-axis current. Therefore, under the steady state condition (t.fwdarw.∞, s.fwdarw.0) the following relationship is derived. Steady state condition is considered here as the fault detection need to be robust to avoid false positives during transients. A non-salient machine is considered resulting in L.sub.d≈L.sub.q. θ.sub.r−θ.sub.o=Δθ.
[0035] The above relationship is reformulating by substituting
[0036] Given the parameters r.sub.s, L.sub.q and λ.sub.m.sup.′r, angle α is negligible. Therefore, the relationship shown in equations above reduce to the following when α.fwdarw.O. This relationship is clearly visible in the estimator output waveforms.
[0037] In order to quantify the PSOE, these current estimation errors are reformulated as follows using basic trigonometric identities. Here, θ.sub.r−θ.sub.o=Δθ or also stated as θ.sub.o−θ.sub.r=−Δθ.
Equation 22 represents the PSOE.
[0038] The techniques disclosed above are capable of detecting and quantifying PSOE occurrences during machine operation. The same techniques can be used for PSOE during the machine production process. This can be accomplished without extra hardware and without requiring a locked rotor condition. Calibration can be obtained in open loop or closed loop current control using either voltage or current estimating functions or a combination or both.
[0039] Changes and modifications in the specifically described embodiments can be carried out without departing from the principles of the present invention which is intended to be limited only by the scope of the appended claims, as interpreted according to the principles of patent law including the doctrine of equivalents.
NOMENCLATURE
[0040] ψ.sub.Stator, ψ.sub.Rotor Stator and rotor flux vectors [0041] θ.sub.e Measured rotor position subjected to error [0042] θ.sub.offset Total position measurement alignment error [0043] Δθ Position sensor alignment error [0044] θ.sub.f Angle between stator and rotor flux vectors [0045] T.sub.em Electromagnetic torque [0046]