METHOD OF AND APPARATUS FOR DETERMINING A ROTOR DISPLACEMENT PARAMETER

Abstract: The invention relates to a motor monitoring and control circuit in which a value parameter is calculated for a position of the motor at given instants. The same parameter (which may be position or speed of a rotor) is then measured at subsequent instants. These values are used to compute a future value of the parameter. The advantage of the invention is that it can be used for any type of motor and that it can be easily and quickly fitted to a motor without the need for expensive and time consuming initial measurements and computation of characteristic properties of the motor in order to calibrate it. Similarly automatic compensation is made during operation.

Description: METHOD OF AND APPARATUS FOR DETERMINING A ROTOR DISPLACEMENT PARAMETER This invention relates to a method of and apparatus for determining a rotor displacement parameter (such as position or speed) for an electric motor, and to apparatus incorporating the electric motor. The invention has particular application to the continuous determination, by electrical rather than mechanical means, of rotor angular position, and the use of such position data in controlling the electric motor. Many types of electric motor incorporate, an electronic commutator which adjusts the winding excitation according to the instantaneous position of the rotor. The position of the rotor may be determined mechanically, but is advantageously deduced from the motor's current and voltage waveforms. Mechanical determination can involve complex and expensive equipment, and may detrimentally affect the rotor's inertia and friction characteristics. A paper entitled "Application of stochastic filtering to a permanent magnet synchronous motor-drive system without electro-mechanical sensors", by Dhaouadl, R. e_i al- (Proc. ICEM, Boston, 1990) discloses a method of determining rotor position which involves detecting electrical characteristics (phase voltages and currents) of the motor at given instants and estimating rotor position from these characteristics using an extended Kalman filter algorithm. An Initial estimate of rotor position is provided by solving the mechanical equation of motion for the rotor. Phase flux linkage, the value for which is utilised in the determination of rotor position, is modelled as being linearly dependent on phase current. A paper entitled "A state observer for variable reluctance motors: analysis and experiments", by Lumsdaine, A. e_i al. (Proc. ASILOMAR Conference on Circuits, Systems and Computers, Pacific Grove, 1985) discloses a similar method in which rotor position is estimated from the electrical characteristics using a state observer model . The disadvantages with these techniques are that they are limited to specific types of electric motor and that they are limited to specific operating condition ranges. The present invention seeks to solve these problems. In its various aspects, the invention provides techniques which can be applied to virtually any type of motor having phase flux linkage varying with rotor position. Such motor types include switched and variable reluctance motors, hybrid stepping motors, permanent magnet synchronous motors, brushless alternating and direct current motors, sinusoidal and trapezoidal permanent magnet motors, and induction motors. In particular, the invention can be applied to any motor which is controlled in dependence on rotor position (so called "rotor position switched drives"). Other arrangements are described below. International Patent Application No. PCT/SE90/00498 describes an arrangement in which magnetic flux in a motor is compared with tabulated values of a non linear function of magnetic flux with respect to current. IEEE Transactions on Industry Applications Vol. 27 No. 5 pages 1005-1011 describes a controller for use to control motor speed without the need for a sensor. Two live voltages and stator currents are employed to compute a flux linkage space vector. An indication of angular velocity 1s then computed using the phase angle of the vector and the rate of charge of flux linkage. US Patent 5 107 195 describes an apparatus and method which simultaneously senses phase current and phase flux, determines the reluctance of the stator-to-rotor air gap and evaluates the position of the rotor phase with respect to the stator pole tips. According to a first aspect of the present invention, there is provided a method of determining a rotor displacement parameter (such as position or velocity) of an electric motor, comprising detecting electrical characteristics of the motor at given Instants, determining values of the parameter for previous Instants in dependence on the characteristics of the motor at these instants, and predicting an updated value of the parameter by extrapolation from values for previous instants. By predicting an updated value of the parameter by extrapolation, rather than, as in the prior art, by solving the equation of motion for the rotor, the present invention can provide an estimate of the value which is not dependent directly on the mechanical properties of the motor. This has several advantages. Firstly, these properties do not have to be predetermined at any stage. Secondly, if (as is often the case) the mechanical properties of the motor (such as inertia, friction or load torque) actually change during operation, account is automatically taken of these changes. Preferably, the updated predicted parameter value is corrected in dependence on the difference between the actual value of an electrical characteristic and a value determined using the updated parameter value. It has been found that such a "predictor/corrector" technique can provide a simple and accurate estimate of the parameter. For the sake of accuracy, the updated value may be predicted from respective values at at least three previous instants, preferably the three immediately preceding Instants. It may be predicted in accordance with an equation of the form a.^ = 3a^_ι - ^ a k-2 + a k-3» nere -&k is tne updated value, and a^ , a^_ 2 and are the values of the parameter at three preceding instants. According to a second aspect of the present invention, there is provided a method of determining a rotor displacement parameter for an electric motor, comprising detecting an electrical characteristic of the motor at a given instant, predicting a value representative of flux linkage from the characteristic, correcting the predicted flux linkage value in dependence on the difference between the actual value of the characteristic and a value estimated using the predicted flux linkage value, and determining the rotor displacement parameter using the corrected flux linkage value. This invention arises from the discovery, pursuant to the present invention, that such flux linkage correction can be important in reducing inaccuracies in the estimation of rotor position. This is because flux linkage is conventionally determined from measured voltage and current values by integration. Measurement and other errors can cause the flux linkage values to drift, unless corrected. It will be appreciated that the corrected flux linkage value may not be used in the determination of the rotor displacement parameter at the given instant. In the preferred embodiment, in fact, the corrected value 1s not so used until the next Instant at which a determination of the parameter is effected. Two alternative ways of correcting flux linkage values are described later. One involves comparing directly measured values of current and values estimated using the predicted flux linkage value. The other involves a comparison between mechanical and electrical estimates of rotor position which implicitly involves a comparison between measured and predicted current values. Whichever alternative is adopted, it 1s preferred that the correction is determined in dependence on said difference multiplied by the differential of flux linkage with respect to current. The dependence may either be directly on said difference multiplied by the differential of flux linkage with respect to current, or may be indirect, via the differential of flux linkage with respect to rotor position multiplied by the difference between the two estimates of rotor position. Such an arrangement can provide a simple but effective way of correcting flux linkage. Preferably again the correction is determined from the difference between the actual and estimated values of such electrical characteristic for a plurality of phases of the motor. Employing information from some or possibly even all of the phases of the motor rather than just one phase can ensure a more accurate estimate of the rotor displacement parameter. According to a third aspect of the present invention, there is provided a method of determining a rotor displacement parameter for an electric motor, comprising detecting an electrical characteristic of the motor at a given instant, and determining a value of the parameter in dependence on the detected characteristic, the determination taking into account magnetic saturation experienced by the motor. This aspect of the invention arises from the discovery, pursuant to the present invention, that magnetic saturation is a phenomenon which may in many circumstances need to be taken into account if an accurate estimate of the rotor displacement parameter is to be made. Magnetic saturation manifests itself as a divergence at higher phase currents from the linear dependence of phase flux linkage on phase current at lower phase currents. Many motors are designed to operate at least partly in the saturation region. It has been discovered that for such motors a model of motor behaviour in which flux linkage is only a linear function of current can produce considerable inaccuracies in the estimates of the rotor displacement parameter. Preferably, the parameter 1s determined in dependence on the differential of flux linkage with respect to current, since this is a particularly important way in which magnetic saturation can be taken into account. More preferably, the parameter is determined in dependence on the differentials with respect to current of the flux linkages for a plurality of phases of the motor. This can lead to a yet more accurate estimate of rotor position; information from some or all of the phases, including appropriate flux linkage cross-coupling terms, may in fact often need to be taken into account if an accurate estimate is to be made. Values of the differential of flux linkage with respect to current can be provided by storing some representrcion of flux linkage, or its differential with respect to current, as a function of current and rotor position. Such information can also be useful in providing an estimate of current from calculated flux linkage values. This estimate can be compared with measured values of current and the comparison used in determining the value of the rotor displacement parameter. The invention extends to a method, for controlling the electric motor, wherein the motor is controlled in dependence on the value of the rotor displacement parameter. The rotor displacement parameter Information may alternatively or additionally be output as an output signal, for example, to be used for displaying rotor position or speed. The invention also extends to a method, which could be independent of the other aspects of the invention, for determining a rotor displacement parameter for an electric motor having a plurality of windings sharing a common connection, wherein the electrical characteristics are detected from points other than the common connection. This aspect of the invention stems from the discovery, pursuant to the present invention, that, for determining the rotor displacement parameter, the electrical characteristics need only be detected at the external or outer nodes of the windings, and not at their common connection. This is advantageous since the common connection on motor windings is often inaccessible. This aspect of the Invention has particular relevance to a motor having star-connected windings. Apparatus features analogous to the method features described above are also provided by the invention. In particular, the invention extends to apparatus for determining a rotor displacement parameter for an electric motor and Incorporating said electric motor. The various aspects of the invention may be provided in any combination one with another. Preferred features of the invention, the theory underlying the invention, and examples of the operation of the invention are now described with reference to the accompanying drawings, in which: Figure 1 is a block diagram of apparatus for determining rotor position for an electric motor; Figure 2 is a block diagram representing a method of determining rotor position; Figure 3 is a sketch of star-connected windings of an electric motor; Figures 4 show experimental results obtained using the present invention for an electric motor accelerating from rest with no current control; and Figures 5 show experimental results for the same electric motor but with current control. A basic embodiment of the invention relating to a permanent magnet (PM) motor is first described, followed by a more generally applicable modified embodiment. In both embodiments, a predictor/corrector technique is employed to determine the angular position of the rotor of an electric motor. Such a technique requires a mathematical model (an "observer") of the relevant characteristics of the motor. For each embodiment, the model is described first, and then the use of that model in the determination of rotor position is described. MOTOR MODEL FOR THE BASIC EMBODIMENT Considering firstly the model for the basic embodiment, the voltage equation for a 3-phase balanced PM alternating current motor are expressed in matrix form as: (1) where Vi , v 2 and v 3 are the phase voltages, R is the resistance of the stator winding, i ] , i 2 and i3 are the phase currents, and ψ 1 , ψ 2 and «|»3 are the phase flux linkages of the windings. The general flux linkage variables may be defined in the form: (2) Here, θ is electrical angular position, ~ κ m , the magnet flux linkage, is a function of θ, L χχ (θ) is the self inductance of winding x, and M X y(θ ) is the mutual inductance between two windings x and y. It will be appreciated that the inductance matrix in Equation 2 describes the self and mutual inductance relationships of the stator phases of a symmetrical PM motor. Differentiating Equation 2, substituting it into Equation 1, and rearranging, (3) For a machine which has no variable inductance, Equation 3 can be rearranged to give more simple system equations. Linear 3-phase coupled systems are magnetically symmetrical if the diagonal elements of the Inductance matrix are equal. Assuming further that there is no change in the rotor reluctance with angle, then: L l l " L 22 ■ L 33 " L l (4) M 'i12 9 = = MI 2T1 = M 13 - = M PI 31 M 23 q 32 M . In the star-connected wi th i sol ated star poi nt motor : Hence , where L = Li - M] Differentati ng Equation 6 , substi tuti ng i nto Equation 1 and rearrangi ng , 7 ) As explained in later sections, position estimation based on the flux linkages is achieved by Equation 2 or Equation 6 according to whether the machine has variable winding Inductances or constant inductances. Direct measurement of phase current and phase voltage can allow estimation of the flux linkage. If the terminal phase voltages of the motor are sensed and stator voltage drops are subtracted, the change of the flux linkage of each phase with time can be determined 1n terms of the rotor position, phase currents, and other motor parameters which appear in the right-hand side of Equation 3 and Equation 7. ROTOR POSITION DETERMINATION FOR THE BASIC EMBODIMENT The manner 1n which the above-described model is used to determine rotor position is now described with reference to Figures 1 and 2. Referring first to Figure 1, apparatus for determining rotor position for an electric motor and thence controlling the electric motor comprises a permanent magnet 3-phase motor 10, a set of current transducers 12, a set of voltage transducers and attenuators 14, a position estimator 16, and a controller 18 responsive to control inputs and Including a 3-phase inverter circuit 20 for providing a 3-phase power supply. The inverter circuit 20 comprises three pairs of transistors T1-T6 and associated diodes D1-D6. In the preferred embodiment, the base or gate of each transistor is provided with control signals from a hysteresis current controller. The motor 10 is driven in response to the control inputs passed to the controller 18. The controller utilises rotor position Information from the rotor position estimator 16 to determine how power should be distributed to the three phases of the motor. The operation of the position estimator 16 1s now illustrated with reference to Figure 2. In overview, the position estimator provides, at each new time instant, fresh phase flux linkage and position estimates. In Figure 2, estimated values of quantities are designated by subscript "e" whilst measured values are designated by subscript "m". The position estimator 16 is implemented, in the present embodiment, either by a Digital Signal Processor ( DSP), or by an Application-Specific Integrated Circuit (ASIC) in conjunction with appropriate means for storing the information required for the operation of the position estimator. The operation of the position estimator is now described in more detail. Flux Linkage Prediction Firstly (see the INTEGRATOR box) the phase currents 1 lt 1 2 and 1 3 and voltages V j , v 2 and v 3 measured using the current and voltage transducers 12 and 14 are used to predict the phase flux linkages ψ 1 , ψ 2 and ψ 3 of the motor. It is apparent from Equation 1 that the function of flux linkage to be evaluated is of the following form: dτ (8) In general, the function of (v ( τ) - Ri(τ)) does not have a closed form integral. Although, for cases where extremely high accuracy is required, different integration methods can be used, the relatively simple method employed in the present embodiment is integration by the rectangular rule: Ψn(k) ■ ΔTCv n(k) ~ Ri n(k) ] + ΨrKk-l) n = 1,2,3 (9) k = 1,2... where ΔT is the sampling interval and n is the number of phases in the motor. The estimates of flux linkage are designated on Figure 2 as ψ 1e(k) , Ψ 2 e(k)» and Ψ3e(k)- Since the integration starts at k = 1, ψ n (0) plays the role of the initial condition. In PM machines, the initial value of flux linkage is defined by the position of the magnet. Therefore, to evaluate Equation 9 and to set up the initial condition, the rotor can be brought to a known position which defines the initial values (ψ n (0)) of the integration. Rotor Position Prediction Next (see the POSITION CORRECTION AND POSITION ESTIMATION & PREDICTION box) a first estimate ( § e( i > of rotor position is provided for a new time k using an extrapolation technique. The mechanical equations of motion for the motor can be written: , d 2 θ „ dθ _ j —- + B — + (10) P dt 2 dt where T is the motor torque, p 1s the number of rotor pole pairs, J is the motor inertia, B is the motor friction and T^ is the load torque. It can be seen from the equation that the position of the rotor changes as a second order function. Therefore, a second-order polynomial in time is fitted to the previous known rotor positions e e k _T , θ e (k-2) and θ e(k-3) at t^es k-1 , k-2 and k-3: θ = at 2 + bt + c (11) It will be appreciated that the fit is exact in the cases of constant speed and constant acceleration. Then, with t=0 at time step k-3: θ e(k-3) ■ c « θ e(k-2) = a(ΔT>2 + bΔT + c; θ e ( k-l ) = * ( ΔT )2 + 2bΔT + c; and θ e(k) = 9a ( ΔT )2 + 3bΔT + c (12) Eliminating the polynomial coefficients and solving for θ e k) gives the first estimate for the latest rotor position: $e(k) = 3θ e(k-l) " 3θ e(k-2) + θ e(k-3) <13) It will be appreciated that alternative extrapolation techniques (for example, higher order polynomials) to that described above could be used. Current Estimation Next (see the first CURRENT ESTIMATION box) a first estimate of phase current (i^ , i 2 and i 3 ) is made based on the first estimate of rotor position and the estimate of flux linkage. If the simplifying assumptions underlying Equation 6 hold, then phase current can be estimated as follows: lie - c Ψle + *m ^e >3 L <H> l 2e = Cf 2e + λ,-, (S e - 2ιr/3)]/L i3e - f Ψ3e + ■ <Se - 4*/3>3/L The relevant values of λrø are determined from a stored representation (such as a look-up table or predetermined analytical function) which expresses λ,,- in terms of θ. Often, λ,,, varies sinusoidally or trapezoldally with θ. Alternatively, phase current may need to be determined from the more general Equation 2, using stored representations of L xx and M χ y as functions of θ as well as λ,. as a function of θ. The first phase current estimates (iι e , i 2e and i 3e ) are compared in the first CURRENT ESTIMATION box with the actual measured phase currents to give a first estimate of the current errors: (15) Rotor Position Correction The next stage in the predictor/corrector technique (see again the POSITION CORRECTION AND POSITION ESTIMATION & PREDICTION box ) is to update the predicted rotor position value (the first estimate, © e ) to yield a corrected rotor position value (the second estimate, θ e ). Assuming that the flux linkage estimate is correct, and that the errors in the estimated phase currents are due to errors in rotor position, then the corrected position is determined as that position which minimises the current errors. As can be seen from Equation 2, flux linkage is a function of several variables, such that ψ - ψ(θ,i 1 ,i 2 ,1 3 ). Changes in flux linkage occur as a result of changes in current and position, so that, for phase n: 3ψ ne 8ψ ne θψ ne 3ψ ne *tne = ? ^1 + 3 Ϊ Δi 2 - a-" ^3 - ^ * < 16 > where Δθ is the position error, equal to θ e - Q e . Given the above assumption that the flux linkage estimate is correct (that is, Δψ ne = 0), we have, for each phase: Δθ ) (17) The partial derivatives of flux linkage with respect to current and rotor position are evaluated from stored representations (such as look-up tables or predetermined analytical functions) of the appropriate functions. For many types of motor, Equation 17 can be simplified by neglecting all the 3ψ/3i terms except 3ψ ne /31 n . It will be appreciated that, by determining the position error in dependence on the differential of flux linkage with respect to current, the effects of magnetic saturation (that is, non-linearities in the ψ versus i curve) can be taken into account. Equation 17 yields a set of three position corrections (Δθ 1 , Δθ 2 and Δθ 3 ). A single revised position estimate is obtained by taking the average of the three corrections: Δθ l(k) + ^(k) + Δθ 3(k) Δθ (k) (18) At certain phase current levels and rotor positions some of the phases are better indicators of position error than others. Therefore the position error averaging may incorporate weighting factors which are current and position dependent. The weighting factors may even be selected to neglect completely position correction information from certain phases at certain instants. A corrected position is calculated by adding the position error to the previous predicted position: θ (k) ■ θ e(k) " §e(k) + Δθ (k) <19) As clearly seen 1n Figure 2, an outer current loop is used to estimate the phase current; predicted position 1s utilised with estimated flux linkage for the current estimation. A position prediction is obtained by extrapolation from position data at previous time intervals. Flux Linkage Correction The final stage of the algorithm 1s to pass updated, corrected flux linkage values to the INTEGRATOR box. Such values need to be updated because the continuous estimation of flux linkage using an integration process creates unwanted effects 1n the flux linkage waveform. Measurement errors, due to noise, offsets and the temperature dependence of the winding resistance produce flux linkage errors, which then contribute to position estimation errors. However, some filtering and error correction are provided by updating the flux linkage estimates after the position estimate has been corrected. This updating is provided in a loop comprising the second CURRENT ESTIMATION, the FLUX LINKAGE CORRECTION and the INTEGRATOR boxes. Updating proceeds as follows. First (see the second CURRENT ESTIMATION box) a second, revised estimate of the current errors (Δi ] , Δi 2 and Δi ) is made in the same way as the first estimate of the current errors (that is, using Equations 2 or 6, 14 and 15), except that the corrected rotor position (θ e ) is employed instead of the predicted position (θ e ). Then (see the FLUX LINKAGE CORRECTION box) the flux linkage estimates (ψ le , ψ 2e and ψ 3e ) are updated using the corrected rotor position (θ e ) and the second, revised estimate of the current errors, in accordance with the principles underlying Equation 16. Thus, assuming that the errors in the flux linkage occur only because of current estimation errors, the corrections Δψ le , Δψ 2e and Δf 3e to the flux linkages are determined as follows: 3ψ ne 3ψ ne 3ψ ne *"• ' ~~ T - * - ~~ T -' 2 * ~~ T M~ n = '- 2,3 <20> Corrected values of flux linkage are then passed to the INTEGRATOR box to update the integration. A simplified procedure for updating the flux linkage is to set the Δ1's to zero in Equation 16 and determine the corrections to the flux linkages from the following equation: ^ne Δ *ne = " £-> Δθ n n = 1,2,3 ( 21 ) where θ e and Δθ n refer to the corrected rotor position. It will be appreciated that the alternative procedures outlined in relation to Equations 20 and 21 are in fact closely related. MOTOR MODEL FOR THE MODIFIED EMBODIMENT A modified version of the basic embodiment is now described. This version is applicable to any class of motor for which flux linkage is a function of rotor position. Considering firstly the model for the modified embodiment, the voltage equation for an n-phase machine may be written in the general form (compare with Equation 1 of the basic embodiment): m dψ-j v 4 = Σ R α i α + —^ j = 1 ... n (22) J q=l 4 dt where v 4 is the voltage across m series-connected phase windings carrying currents i j ... i m and having resistances R^ ... R m , and ψ 4 1s the total flux linking the m windings. Thus, for instance, in the star-connected three-phase winding configuration shown in Figure 3 (the three windings having a common connection at node d), the three voltages v 4 are v ab , v j - c and v ca respectively. The currents 1 q and resistances R q are the currents 1 j , 1 2 and i 3 and the resistances R ] , R 2 and R respectively. Thus no voltage or current information is required to be measured at node d 1f the formulation of Equation 22 is used. In general, ψ 4 is a function of the n phase currents 1- j ... i n and rotor position θ (compare with Equation 2 of the basic embodiment ) : Ψj = Ψ (1 1 θ) (23) ROTOR POSITION DETERMINATION FOR THE MODIFIED EMBODIMENT The above general model can be applied in the following way to determine rotor position. Equation 22 can be re-arranged to show how the flux Unking the jth combination of windings can be estimated, using measurements of the voltage, v 4 , and phase currents i^ ... i m (compare with Equation 8 of the basic embodiment): m f V J - Σ Σ Rqiq dt (24) q=l For sampling at discrete time intervals of duration ΔT, Equation 24 may be re-written ( compare with Equation 9 of the basic embodiment): Ψj(k) - ΔT ( ^ v j(k) - ∑ .tyqfl J + Ψj(k-1) k - 1.2... ( 25 ) so that the estimate of flux linkage ψj (k _i ) at time (k-l)ΔT can be utilised to estimate 1 k) at time kΔT. Estimates of rotor position at time kΔT may be obtained by fitting a polynomial function to rotor position values at previous time intervals and extrapolating in exactly the same manner as described in relation to the basic embodiment (see the description relating to the POSITION CORRECTION AND POSITION ESTIMATION & PREDICTION box). At time instant k estimates of n flux linkages ψή (k) (j=l ... n) are produced, together with a first estimate of rotor position, Q e . For any motor, the functional relationship between flux linkage, current and position, expressed by Equation 23, can be predetermined. Therefore, in the present embodiment, given the estimates of flux linkages ψj and position § e , the set of phase currents ij e is estimated using stored representations of flux linkage as a function of rotor position and phase current. Where the functional relationship in Equation 23 is simple, this process may Involve no more than the solution of a set of n simultaneous linear equations or an even simpler set of equations of the form given 1n Equations 14. However, more complex flux linkage functions may lead to a requirement for the iterative solution of a set of n non-11near equations. It will be appreciated that, by estimating current using a stored representation of flux linkage as a function of phase current, the effects of magnetic saturation (that is, non-linearities in the ψ versus i curve) can be taken Into account. Given first estimates of phase current i e , a first estimate of the current errors is determined by comparing estimated and measured currents (see the first CURRENT ESTIMATION box and compare with Equations 15): Δi d = i jm - i je (26) Errors in current arise from errors in flux linkage and rotor position. It can be deduced from Equation 23 that: where Δθ 4 is the error in rotor position derived from consideration of winding set j. This equation 1s analogous to Equation 16. Considering now the POSITION CORRECTION AND POSITION ESTIMATION & PREDICTION box, assuming Initially that the set of flux linkage estimates 1s correct (Δψj e - 0), Equation 27 leads to a set of n position corrections Δθ 4 (j=l ... n). A single position correction can be derived by combining these corrections. A number of options are available, ranging from simple averaging: 1 n Δθ - - Σ Δθ 4 (28) n j-1 J to weighted averaging, with weighting dependent on instantaneous position and current. The second (corrected) estimate of rotor position at time kΔT (θ e(k ) 1s then given by Equation 19. Finally, considering the FLUX LINKAGE CORRECTION box, the set of flux linkage estimates may be updated by using the corrected position estimate (θ e(k ) to obtain a set of corrections ψ 4e . From Equation 27, with Δi 4 = 0 (j=l . n) from which updated estimates of flux linkage can be determined and passed to the INTEGRATOR box. It will be appreciated from the foregoing that the present invention requires some form of representation of various functions (for example, t as a function of i and θ) to be predetermined and then stored. The functions can be predetermined, for instance, by making the motor act as a generator and measuring the motional electromotive force which appears across the motor terminals. The representation of the function may, for instance, be a look-up table, or (if the function 1s amenable to such treatment) a Fourier series representation; the function may even be simply sinusoidal or trapezoidal, in which case Its representation is trivial. EXAMPLES Experimental results obtained using the techniques of the present invention are now described with reference to Figures 4 and 5. The experiments were carried out on a commercial permanent-magnet brushless servo motor drive, with the following parameters: phase inductance (L) = 3.12mH phase resistance (R) = 0.8Ω motor and load inertia (J) = 0.008kg.m 2 no. motor poles pairs (p) - 4 peak phase flux linkages due to the permanent magnet = 71mWb.t Measurements of phase voltage, phase current and rotor position were recorded at Intervals of 10μs as the drive accelerated from rest. The captured data was processed off-line using the techniques described above, thus allowing a comparison of the estimated and actual rotor position to be made. Figures 4 show experimental results for a motor operated without current control and with a rectangular voltage waveform applied to each phase. The waveform in Figure 4a shows the voltage appearing across one phase and consists of constant voltage intervals, when the phase is excited, and intervals with near-constant slope, reflecting the magnet-Induced electromotive force (emf), while the phase is unexcited. In the corresponding current waveform (Figure 4b) the current amplitude reduces between successive excitation intervals as the motor accelerates, causing the magnet-induced emf to increase in magnitude. Figure 4c shows the phase flux linkage estimate obtained by integrating (v-Ri) with respect to time for one phase, using the data shown in Figures 4a and 4b. As might be expected, the flux linkage characteristic is dominated by the permanent-magnet, which produces a sinusoidal variation. Superimposed on this variation, however, are step changes caused by phase switching. Corrected estimates of phase flux linkage, produced by the technique's application to the measured data, are shown in Figure 4d. For this particular set of results there exist only very small differences between the results in Figures 4c and 4d. The final two waveforms (Figures 4e and 4f) show measured and estimated rotor position as a function of time. Again there is very close agreement between these two sets of results, demonstrating that the position estimation technique is effective over the full speed range of the drive. Figures 5 show a similar set of results, but with a closed loop current controller causing modulation of the phase voltage (Figure 5a) to maintain the current constant in excited phases (Figure 5b). The drive accelerates from rest at a lower rate than In Figure 4, since current levels are lower, and the position estimation technique again operates effectively (Figure 5f ) . EFFECTS OF MEASUREMENT ERRORS AND PARAMETER DEVIATIONS The possible effects of measurement errors and parameter deviations on the quality of the results obtained using the present invention are now considered. Since the Invention is implemented by calculating the flux linkage from the phase voltage and current, the performance of the invention depends on the quality and accuracy of the estimated flux linkages and measured currents. In addition to this, parameter deviations due to variations in temperature and saturation need to be considered. Error terms in the flux linkage estimation and flux linkage variables due to measurement error and parameter variation may be expressed as follows: ψ «- S (v - Ri) dt + β ! (30) ψ ■ L1 - λ^θ) + e 2 where e- | and e 2 are the errors due to measurement and parameter deviations respectively. The corruption sources on the flux linkage estimation may be classified under term e^ as follows: 1. Measurement errors in the terminal quantlties:- (a) phase shift in the measured values due to Inaccuracies in the measurement system, (b) magnitude error due to conversion factors and gain, (c) offset in the measurement system, and (d) quantization error in the digital system. 2. Temperature effect on the winding resistance R. The error term e^ in Equations 30 mainly includes measurement errors. In both voltage and current measurement, one has to ensure that the measurement devices will not introduce a phase shift, offset or magnitude error. Another problem in the measurement system is the potentially noisy connection to the computer for carrying out the digital signal processing. The sensitive analog front end of the measurement devices can also be corrupted by a noisy computer connection. One solution is to place an isolation amplifier between the computer and the measurement system. However, the isolation amplifier could limit the performance of the system, particularly for high frequency measurements. Moreover, 1n star-connected systems, if the current regulation in the third phase is reconstructed from the regulation in the other two phases, errors in the third phase current might be increased. The error in flux linkage estimation is mainly due to measurement errors, but it may not be separable from deviations in the winding resistance R. The error term e 2 also includes current measurement error. However, it is mainly Influenced by deviations in magnet flux linkage and winding inductance. For motors which have a large air gap, saturation effects caused by current level may be ignored. Otherwise, magnetic saturation can be taken into account in the manner described earlier. Deviations in the magnet flux linkages and changing back emf constant with temperature may also need to be taken into account. The effects of parameter variations have been studied pursuant to the present invention with reference to initially measured motor parameters. In order to check the ability of the technique to perform in the presence of parameter variations, a test has been carried out changing the value of the winding resistance, the back emf constant, and the winding Inductance within a ± 10% range. It was found that changing the resistance value caused a small phase shift and noticeable dc offset in the estimated flux linkage waveform which could be overcome by the flux linkage correction. In one typical test, a change of 10% in the resistance of the windings caused a 0.7% error in rotor position during constant speed operation. Changing the back emf constant caused a difference between estimated and corrected flux linkage. This deviation could be recovered by flux linkage correction. In a typical test, a 10% change in the back emf constant caused a 0.8% error in rotor position during constant speed operation. Neither changing the value of the inductance nor changing the offset effect introduced any noticeable position error. However, again, any small errors can be eliminated by flux linkage correction. It will be understood that the present invention has been described above purely by way of example, and that modifications of detail can be made within the scope of the invention.

Claims: CLAIMS 1. A method of determining a rotor displacement parameter for an electric motor, comprising detecting electrical characteristics of the motor at given instants, determining values of the parameter for previous Instants in dependence on the characteristics of the motor at these instants, and predicting an updated value of the parameter by extrapolation from values for previous instants. 2. A method according to Claim 1 wherein the updated predicted parameter value is corrected in dependence on the difference between the actual value of an electrical characteristic and a value determined using the updated parameter value. 3. A method according to Claim 1 or 2 wherein the updated value is predicted from respective values at at least three previous instants, preferably the three immediately preceding instants. 4. A method according to Claim 3 wherein the updated value is predicted in accordance with an equation of the form k = 3&^_^ - 3a k _ 2 + a k _ 3 , where ι k 1s the updated value, and a k-1 , a k _ 2 and a k-3 are tne va l ues ° tne parameter at three preceding instants. 5. A method of determining a rotor displacement parameter for an electric motor, comprising detecting an electrical characteristic of the motor at a given instant, predicting a value representative of flux linkage from the characteristic, correcting the predicted flux linkage value in dependence on the difference between the actual value of the characteristic and a value estimated using the predicted flux linkage value, and determining the rotor displacement parameter using the corrected flux linkage value. 6. A method according to Claim 5 wherein the correction is determined in dependence on said difference multiplied by the differential of flux linkage with respect to current. 7. A method according to Claim 5 or 6 wherein the correction is determined from the difference between the actual and estimated values of such electrical characteristic for a plurality of phases of the motor. 8. A method of determining a rotor displacement parameter for an electric motor, comprising detecting an electrical characteristic of the motor at a given instant, and determining a value of the parameter in dependence on the detected characteristic, the determination taking into account magnetic saturation experienced by the motor. 9. A method according to Claim 8 wherein the parameter is determined in dependence on the differential of flux linkage with respect to current. 10. A method according to Claim 9 wherein the parameter is determined in dependence on the differentials with respect to current of the flux linkages for a plurality of phases of the motor. 11. A method according to Claim 8, 9 or 10 wherein values representative of the non-linear variation of flux linkage with current are stored and employed in the determination of the parameter value. 12. A method according to Claim 11 wherein a value representative of current is estimated from flux linkage according to said stored representative values, and the parameter value is determined in dependence on the estimated current value. 13. A method according to any of the preceding claims, for controlling the electric motor, wherein the motor is controlled in dependence on the value of the rotor displacement parameter. 14. A method according to any of the preceding claims, for determining the rotor displacement parameter for an electric motor having a plurality of windings sharing a common connection, wherein the electrical characteristics are detected from points other than the common connection. 15. Apparatus for determining a rotor displacement parameter for an electric motor, comprising means for detecting electrical characteristics of the motor at given instants, means for determining values of the parameter for previous instants in dependence on the characteristics of the motor at these instants, and means for predicting an updated value of the parameter by extrapolation from values for previous instants. 16. Apparatus according to Claim 15 further including means for correcting the updated parameter value in dependence on the difference between the actual value of an electrical characteristic and a value determined using the updated parameter value. 17. Apparatus for determining a rotor displacement parameter for an electric motor, comprising means for detecting an electrical characteristic of the motor at a given Instant, means for predicting a value representative of flux linkage from the characteristic, means for correcting the predicted flux linkage value in dependence on the difference between the actual value of the characteristic and a value estimated using the predicted flux linkage value, and means for determining the rotor displacement parameter using the corrected flux linkage value. 18. Apparatus according to Claim 17 wherein the correcting means is arranged to determine the correction in dependence on said difference multiplied by the differential of flux linkage with respect to current. 19. Apparatus for determining a rotor displacement parameter for an electric motor, comprising means for detecting an electrical characteristic of the motor at a given instant, and means for determining a value of the parameter in dependence on the detected characteristic, the determination taking Into account magnetic saturation experienced by the motor. 20. Apparatus according to Claim 19 wherein the determining means is arranged to determine the parameter in dependence on the differentials with respect to current of the flux linkages for a plurality of phases of the motor. 21. Apparatus according to Claim 19 or 20 including means for storing values representative of the non-linear variation of flux linkage with current, said values being employed by the determining means in the determination of the parameter value. 22. Apparatus according to any of Claims 15 to 21, for controlling the electric motor, Including means for controlling the motor in dependence on the value of the rotor displacement parameter. 23. Apparatus according to any of Claims 15 to 22 Incorporating the electric motor.

Inventors: ACARNLEY PAUL PHILIP, ACARNLEY, PAUL, PHILIP
Applicants: ACARNLEY PAUL PHILIP, BRITISH TECH GROUP, BRITISH TECHNOLOGY GROUP LTD.
Application year: 1993
Main classification: H02P6
IPC codes: H02P6