METHOD FOR DETERMINING THE MAGNETIC FLUX OF AN ELECTRIC MACHINE

20220038038 · 2022-02-03

    Inventors

    Cpc classification

    International classification

    Abstract

    The present invention relates to a method of determining the magnetic flux φ of an electric machine, based on measurements (MES) of currents and voltages in the phases of the electric machine, on a dynamic model (MOD) of the magnetic flux and on an adaptive Kalman filter (KAL).

    Claims

    11. A method of determining magnetic flux of an electric machine, the electric machine comprising a rotor, a stator, the stator comprising windings connected to electric phases, comprising steps of: a) measuring a current and a voltage in the phases of the electric machine, b) determining the electrical rotational speed of the rotor, as a function of mechanical rotational speed of the rotor; c) constructing a dynamic model of the magnetic flux of the electric machine, the dynamic model of the magnetic flux connecting the magnetic flux to the current and to the voltage of the electric phases of the electric machine, and to the electrical rotational speed of the rotor; and d) determining the magnetic flux φ by applying an adaptive Kalman filter to the dynamic magnetic flux model, the dynamic magnetic flux model being applied to the current and voltage measurements and to the determined electrical rotational speed.

    12. A magnetic flux determination method as recited in claim 11, wherein the electrical rotational speed of the rotor is determined with a formula ω.sub.e=pω, with p being a pole pair number of the electric machine and co being the mechanical rotational speed of the rotor.

    13. A magnetic flux determination method as claimed in claim 12, wherein the mechanical rotational speed is determined by use of a phase-locked loop method.

    14. A magnetic flux determination method as claimed in claim 11, wherein the dynamic magnetic flux model is written as: { φ d ( t ) = L d i d ( t ) + 3 2 Φ , φ q ( t ) = { L qs i q ( t ) - b qs , if i q ( t ) - i qm , L q i q ( t ) , if - i qm i q ( t ) i qm , L qs i q ( t ) + b qs if i qm - i q ( t ) with φ being the magnetic flux of the electric machine, i being the current, Φ being the rotor flux, L being the inductances of the electric machine, L.sub.qs, and b.sub.qs being coefficients accounting for saturation effect, d and q being the axes in Park's reference frame, and i.sub.qm being a quadrature current value for which the magnetic flux is a linear function of the quadrature current.

    15. A magnetic flux determination method as claimed in claim 12, wherein the dynamic magnetic flux model is written as: { φ d ( t ) = L d i d ( t ) + 3 2 Φ , φ q ( t ) = { L qs i q ( t ) - b qs , if i q ( t ) - i qm , L q i q ( t ) , if - i qm i q ( t ) i qm , L qs i q ( t ) + b qs if i qm - i q ( t ) with φ being the magnetic flux of the electric machine, i being the current, Φ being the rotor flux, L being the inductances of the electric machine, L.sub.qs, and b.sub.qs being coefficients accounting for saturation effect, d and q being the axes in Park's reference frame, and i.sub.qm being a quadrature current value for which the magnetic flux is a linear function of the quadrature current.

    16. A magnetic flux determination method as claimed in claim 13, wherein the dynamic magnetic flux model is written as: { φ d ( t ) = L d i d ( t ) + 3 2 Φ , φ q ( t ) = { L qs i q ( t ) - b qs , if i q ( t ) - i qm , L q i q ( t ) , if - i qm i q ( t ) i qm , L qs i q ( t ) + b qs if i qm - i q ( t ) with φ being the magnetic flux of the electric machine, i being the current, Φ being the rotor flux, L being the inductances of the electric machine, L.sub.qs, and b.sub.qs being coefficients accounting for saturation effect, d and q being the axes in Park's reference frame, and i.sub.qm being a quadrature current value for which the magnetic flux is a linear function of the quadrature current.

    17. A magnetic flux determination method as claimed in claim 11, wherein the adaptive Kalman filter is applied by carrying out steps of: i) modifying the dynamic magnetic flux model by integrating uncertainties in the model and a measurement noise; ii) discretizing the modified dynamic magnetic flux model; and iii) applying an adaptive Kalman filter algorithm to the modified and a discretized model.

    18. A magnetic flux determination method as claimed in claim 12, wherein the adaptive Kalman filter is applied by carrying out steps of: i) modifying the dynamic magnetic flux model by integrating uncertainties in the model and a measurement noise; ii) discretizing the modified dynamic magnetic flux model; and iii) applying an adaptive Kalman filter algorithm to the modified and a discretized model.

    19. A magnetic flux determination method as claimed in claim 13, wherein the adaptive Kalman filter is applied by carrying out steps of: i) modifying the dynamic magnetic flux model by integrating uncertainties in the model and a measurement noise; ii) discretizing the modified dynamic magnetic flux model; and iii) applying an adaptive Kalman filter algorithm to the modified and a discretized model.

    20. A magnetic flux determination method as claimed in claim 14, wherein the adaptive Kalman filter is applied by carrying out steps of: i) modifying the dynamic magnetic flux model by integrating uncertainties in the model and a measurement noise; ii) discretizing the modified dynamic magnetic flux model; and iii) applying an adaptive Kalman filter algorithm to the modified and a discretized model.

    21. A magnetic flux determination method as claimed in claim 15, wherein the adaptive Kalman filter is applied by carrying out steps of: i) modifying the dynamic magnetic flux model by integrating uncertainties in the model and a measurement noise; ii) discretizing the modified dynamic magnetic flux model; and iii) applying an adaptive Kalman filter algorithm to the modified and a discretized model.

    22. A magnetic flux determination method as claimed in claim 16, wherein the adaptive Kalman filter is applied by carrying out steps of: i) modifying the dynamic magnetic flux model by integrating uncertainties in the model and a measurement noise; ii) discretizing the modified dynamic magnetic flux model; and iii) applying an adaptive Kalman filter algorithm to the modified and a discretized model.

    23. A magnetic flux determination method as claimed in claim 17, wherein the adaptive Kalman filter algorithm is applied by carrying out steps of: (1) initializing k=0, state vector {circumflex over (x)}(0) and a state of the covariance matrix P(0|0)=P.sub.0; (2) applying a time update and measurement update equations to obtain {circumflex over (x)}(k|k) and P(k|k): { x ^ ( k .Math. k - 1 ) = A d x ^ ( k - 1 .Math. k - 1 ) + B d u ( k - 1 ) , P ( k .Math. k - 1 ) = A d P ( k - 1 .Math. k - 1 ) A d T + B d Q t B d T { K ( k ) = P ( k .Math. k - 1 ) ( P ( k .Math. k - 1 ) + R ) - 1 x ^ ( k .Math. k ) = x ^ ( k .Math. k - 1 ) + K ( k ) ( x ( k ) - x ^ ( k .Math. k - 1 ) ) , P ( k .Math. k ) = ( I - K ( k ) ) P ( k .Math. k - 1 ) (3) determining the magnetic flux φ estimated at time k by means of the formulas: { φ ^ d ( k ) = x ^ 1 ( k .Math. k ) , φ ^ q ( k ) = x ^ 2 ( k .Math. k ) with k being discretized time, A_d, B_d being state realization matrices, P being a covariance matrix of the state vector, R being a calibration matrix, K being the Kalman filter gain and Q_ϵ being an adjustment parameter.

    24. A magnetic flux determination method as claimed in claim 11, wherein the electric machine is a salient-pole synchronous electric machine.

    25. A method for controlling an electric machine, comprising steps of: a) determining a magnetic flux of the electric machine by use of the method of determining the magnetic flux as claimed in claim 11, and b) controlling the electric machine by use of the determined magnetic flux.

    26. A control method as claimed in claim 25, wherein the electric machine is controlled according to a method providing direct control of torque of the electric machine implemented from the magnetic flux.

    27. A system for controlling an electric machine, comprising a control for implementing a control method as claimed in claim 25.

    28. A system for controlling an electric machine, comprising a control for implementing a control method as claimed in claim 26.

    Description

    BRIEF DESCRIPTION OF THE FIGURES

    [0033] Other features and advantages of the method according to the invention will be clear from reading the description hereafter of embodiments given by way of non-limitative example, with reference to the accompanying figures wherein:

    [0034] FIG. 1 illustrates the steps of the method according to an embodiment of the invention,

    [0035] FIGS. 2 and 3 show the values, in Park's reference frame, of the magnetic flux of the electric machine as a function of the current.

    DETAILED DESCRIPTION OF THE INVENTION

    [0036] The present invention relates to a method of determining, in real time, the magnetic flux of an electric machine. The electric machine comprises a rotor and a stator, the stator being equipped with windings connected to several electric phases, for example three electric phases for generating a magnetic field enabling rotation of the rotor.

    [0037] FIG. 1 schematically describes, by way of non-limitative example, the steps of the method according to an embodiment of the invention. The method of determining the magnetic flux comprises the following steps:

    [0038] 1) Measurement of currents and voltages (MES)

    [0039] 2) Determination of the electrical rotational speed (VIT)

    [0040] 3) Construction of the dynamic magnetic flux model (MOD)

    [0041] 4) Application of the adaptive Kalman filter (KAL)

    [0042] Steps 1) to 3) are independent and they can be carried out in this order, in a different order or simultaneously.

    [0043] Step 4) allows to determine magnetic flux φ of the electric machine.

    [0044] Furthermore, the invention relates to a method of controlling an electric machine. Such a control method comprises steps 1) to 4) described above and an electric machine control step (CTRL) 5).

    [0045] This control step 5) is an optional step. Indeed, the magnetic flux can be used in a different manner, notably for electric machine fault diagnosis.

    [0046] Steps 1 to 5) are described in detail in the rest of the description hereafter.

    [0047] Notations:

    [0048] The following notations are used in the description:

    [0049] v: voltages at the phase terminals of the electric machine,

    [0050] i: currents circulating in the phases of the electric machine,

    [0051] i.sub.qm: quadrature current value for which the magnetic flux is a linear function of the quadrature current,

    [0052] ω: mechanical rotational speed of the rotor, corresponding to the rotational speed of the rotor of the electric machine in relation to the stator,

    [0053] ω.sub.e: electrical rotational speed of the rotor,

    [0054] Φ: magnetic flux intensity of the rotor magnet, considered for the method according to the invention, in a nominal case, for a temperature of 20° C.,

    [0055] R(t): resistance of the electric machine windings, it is a known parameter that can be obtained experimentally,

    [0056] L.sub.d: direct inductance of said electric machine, it is a known parameter of the electric machine (manufacturer data or experimentally obtained data),

    [0057] L.sub.q: quadrature inductance of said electric machine, it is a known parameter of the electric machine (manufacturer data or experimentally obtained data),

    [0058] L.sub.qs: inductance taking account of the saturation phenomenon (manufacturer data or experimentally obtained data),

    [0059] p: pole pair number of the electric machine,

    [0060] text missing or illegible when filed: magnetic flux of the electric machine,

    [0061] A: matrix of the state representation

    [00004] A = ( 0 ω e ( t ) - ω e ( t ) 0 ) .

    [0062] B: identity matrix

    [00005] B = ( 1 0 0 1 ) .

    [0063] f: function of the state representation,

    [0064] b.sub.qs: scalar coefficient taking account of the saturation phenomenon, this value con be obtained experimentally,

    [0065] ∪: vector of the state representation data,

    [00006] x = ( φ d φ q )

    state vector of the state representation, corresponding to the non-measurable state,

    [0066] ϵ: unmodified dynamics;

    [0067] η: measurement noise,

    [0068] Ts: sampling period,

    [0069] k: discretized time,

    [0070] A.sub.d: matrix of the discretized state representation,

    [0071] B.sub.d: matrix of the discretized state representation,

    [0072] J: cost function minimized by the Kalman filter,

    [0073] P: covariance matrix of the state vector,

    [0074] P.sub.0, Q, R: calibration matrices,

    [0075] Q.sub.ϵ: adjustment parameter,

    [0076] K: Kalman filter gain.

    [0077] The estimated values are denoted by a hat (circumflex accent). The mean values are indicated by an overline above the variable. The time derivatives are indicated by a dot. The notations bearing subscripts .sub.d (direct) or .sub.q (quadrature) mean that the quantities are expressed in Park's reference frame. Besides, the initial state values are given with a 0 (t or k=0).

    [0078] 1) Measurement of Currents and Voltages

    [0079] The currents and the voltages in the phases of the electric machine are measured in this step.

    [0080] These measurements can be performed by voltage and current sensors.

    [0081] 2) Determination of the Electrical Rotational Speed of the Rotor

    [0082] This step consists in determining the electrical rotational speed of the rotor.

    [0083] According to an embodiment of the invention, the electrical rotational speed of the rotor can be determined from the mechanical rotational speed of the rotor, by means of the formula: ω.sub.e=pω.

    [0084] According to an implementation of this embodiment, the mechanical rotational speed of the rotor can be estimated using any method known to the person skilled in the art. For example, the mechanical rotational speed can be estimated from a phase-locked loop (PLL) type method. In a variant, the method of estimating the mechanical rotational speed can be as described in patent application FR-2,984,637.

    [0085] Alternatively, the mechanical rotational speed of the rotor can be measured by means of a speed sensor arranged on the electric machine.

    [0086] In a variant, the electrical rotational speed can be directly determined.

    [0087] 3) Construction of the Dynamic Magnetic Flux Model

    [0088] A dynamic model of the magnetic flux is constructed in this step. The dynamic magnetic flux model connects the magnetic flux to the current, to the voltage in the electric phases of the electric machine and to the electrical rotational speed of the rotor. The model is referred to as dynamic because it is a function of the rotational speed.

    [0089] The dynamic magnetic flux model is a state representation of the electric machine. It is reminded that, in systems theory (and automation), a state representation allows a dynamic system to be modelled in matrix form, using state variables. This representation may be linear or not, continuous or discrete. The representation allows to determine the internal state and the outputs of the system at any future time if the state at the initial time and the behaviour of the input variables that influence the system are known.

    [0090] In Park's reference frame (d, q), the dynamic magnetic flux model can be expressed by the following differential equations:

    [00007] { φ . d ( t ) = - R ( t ) i d ( t ) + ω e ( t ) φ q ( t ) + υ d ( t ) φ . q ( t ) = - R ( t ) i q ( t ) - ω e ( t ) φ d ( t ) + υ q ( t ) ,

    [0091] When writing these differential equations in vector form, we obtain:

    [00008] [ φ . d ( t ) φ . q ( t ) ] = [ 0 ω e ( t ) - ω e ( t ) 0 ] [ φ d ( t ) φ q ( t ) ] + [ υ d ( t ) - R ( t ) i d ( t ) υ q ( t ) - R ( t ) i q ( t ) ]

    or, in an equivalent manner:


    {dot over (x)}(t)=A(t)x(t)+Bu(t)

    with

    [00009] x ( t ) = [ φ d ( t ) φ q ( t ) ]

    the non-measurable state and

    [00010] υ ( t ) = [ υ d ( t ) - R ( t ) i d ( t ) υ q ( t ) - R ( t ) i q ( t ) ]

    the model input.

    [0092] According to this equation, it is clear that the equation of state of the magnetic flux of the electric machine can be described by a linear model over time. However, the equation of state of the magnetic flux is a highly non-linear function of currents i.sub.d and i.sub.q, and of magnetic flux Φ of the rotor. We can then write:

    [00011] { φ d ( t ) = f d ( i q ( t ) , i q ( t ) ) + 3 2 Φ ( t ) φ q ( t ) = f q ( i q ( t ) , i q ( t ) )

    [0093] FIGS. 2 and 3 show examples of functions ƒ.sub.d and ƒ.sub.q as a function of currents i.sub.d and i.sub.q for a given application. It can be noted that, while function ƒ.sub.d is a relatively linear function in relation to i.sub.d, this is not the case for function ƒ.sub.q. Thus, the problem of estimating the magnetic flux of the electric machine becomes more complex, all the more so since functions ƒ.sub.d and ƒ.sub.q are also a function of the mechanical angle of the rotor.

    [0094] A solution to this complex problem could consist in mapping the magnetic flux quantities φ.sub.d and φ.sub.q. This solution requires a high storage capacity and a large number of experimental measurements. Besides, the magnetic flux of the rotor varies with temperature. The model described above is therefore complex to implement.

    [0095] According to an embodiment of the invention, it is possible to construct a dynamic magnetic flux model simple to implement while remaining accurate, and the simplified model can be defined by the following equations:

    [00012] { φ d ( t ) = L d i d ( t ) + 3 2 Φ , φ q ( t ) = { L qs i q ( t ) - b qs , if i q ( t ) - i qm , L q i q ( t ) , if - i qm i q ( t ) i qm , L qs i q ( t ) + b qs if i qm i q ( t )

    [0096] This model has the advantage of being accurate without being memory and computational time consuming, which facilitates its implementation in an adaptive Kalman filter and possibly in an electric machine control method.

    [0097] According to an implementation of this embodiment, magnetic flux Φ of the rotor can be considered in a nominal case where a temperature of 20° C. is considered.

    [0098] For this embodiment, the equation of state can be written as follows:

    [00013] x . ( t ) = A ( t ) x ( t ) + Bu ( t ) x ( t ) = [ L d i d ( t ) + 3 2 Φ f ( i d ( t ) ) ]

    with:

    [00014] f ( i d ( t ) ) = { L qs i q ( t ) - b qs , if i q ( t ) - i qm , L q i q ( t ) , if - i qm i q ( t ) i qm , L qs i q ( t ) + b qs if i qm i q ( t )

    [0099] 4) Application of the Adaptive Kalman Filter

    [0100] The magnetic flux of the electric machine is determined in this step. An adaptive Kalman filter is therefore applied to the dynamic model constructed in step 3), to the voltage and current measurements obtained in step 1) and to the electrical rotational speed of the rotor obtained in step 2). Application of the Kalman filter allows a state observer to be obtained. The adaptive Kalman filter provides adaptation of the noise covariance matrix as a function of the rotational speed of the electric machine. Thus, the filter is efficient over a wide operating range of the electric machine. Besides, the adaptive Kalman filter is robust against magnetic flux variations of the rotor and the inductance.

    [0101] It is reminded that a state observer, or a state estimator, is, in systems theory and automation, an extension of a model represented as a state representation. When the state of the system is not measurable, an observer allowing the state to be reconstructed from a model is constructed.

    [0102] According to an embodiment of the invention, the adaptive Kalman filter can be applied by carrying out the following steps: [0103] modifying the dynamic magnetic flux model by integrating unmodelled dynamics and a measurement noise, [0104] discretizing the modified dynamic magnetic flux model, and [0105] applying an adaptive Kalman filter algorithm to the modified and discretized dynamic model.

    [0106] According to an example of this embodiment, the various steps described hereafter can be carried out.

    [0107] The dynamic model of the magnetic flux is modified so as to take account of the uncertainties of the model e(t) and the measurement noise η(t). The modified model can be written:

    [00015] { x . ( t ) = A ( t ) x ( t ) + Bu ( t ) + ϵ ( t ) x ( t ) = [ L d i d ( t ) + 3 2 Φ f ( i d ( t ) ) ] + η ( t )

    [0108] It is thus possible to obtain a more realistic magnetic flux model.

    [0109] This model is then discretized for application of the Kalman filter. A sampling period T.sub.s is therefore considered. The following equations can then be written:

    [00016] { x ( k ) = A d ( k - 1 ) x ( k - 1 ) + B d ( k - 1 ) u ( k - 1 ) + B d ( k - 1 ) ϵ ( k - 1 ) x ( t ) = [ L d i d ( k ) + 3 2 Φ f ( i d ( k ) ) ] + η ( k )

    with:

    [00017] { A d ( k - 1 ) = e TeA ( t ) , B d ( k - 1 ) = T s 0 e τ A ( τ ) Bd τ

    [0110] Given that matrix A is a function of speed, itself a function of time, it is not possible to determine matrices A.sub.d and B.sub.d analytically.

    [0111] According to an aspect of this embodiment, matrices A.sub.d and B.sub.d can be obtained by means of a Taylor series. Preferably, for efficiency purposes, matrices A.sub.d and B.sub.d can be determined by means of a 3.sup.rd order Taylor series. In this case, matrices A.sub.d and B.sub.d can be written:

    [00018] A d = [ 1 0 0 1 ] + T s [ 0 ω e - ω e 0 ] + T s 2 2 [ 0 ω e - ω e 0 ] 2 + T s 3 6 [ 0 ω e - ω e 0 ] 3 , B d = T s [ 1 0 0 1 ] + T s 2 2 [ 0 ω e - ω e 0 ] + T s 3 6 [ 0 ω e - ω e 0 ] 2 + T s 4 24 [ 0 ω e - ω e 0 ] 3

    [0112] Finally, an adaptive Kalman filter algorithm is applied.

    [0113] We then put:


    ζ(k)=B.sub.dϵ(k;

    [0114] One way of determining the unknown state vector x is to take into account the information ζ(k) and η(k) in the adoptive Kalman filter. In practice, this adaptive Kalman filter provides a solution to the minimization problem described below:

    [00019] min x ( k ) J ( k )

    with:

    [00020] J ( k ) = ( x ( 0 ) - x _ ( 0 ) ) T P 0 - 1 ( x ( 0 ) - x _ ( 0 ) ) + .Math. j = 1 k ( ζ ( j - 1 ) T Q - 1 ζ ( k - 1 ) + η ( j ) T R - 1 η ( j ) ) ζ ( k - 1 ) = x ( k ) - A d ( k - 1 ) x ( k - 1 ) - B d u ( k - 1 ) η ( k ) = x ( k ) - [ L d i d ( k ) + 3 2 Φ f ( i d ( k ) ) ]

    [0115] Cost function J provides a guide for selecting matrices P.sub.0, R and Q, with the following conditions:

    [0116] 1. If the initial state x(k) at the time k=0 is known, i.e. {acute over (x)}(0)≈x(0) then the values of matrix P.sub.0 relatively small. Otherwise, the values of matrix P.sub.0 are relatively great.

    [0117] 2. If there is much measurement noise, then the values of matrix R are relatively small. Otherwise, the values of matrix R are relatively great.

    [0118] Furthermore, Q can be selected as:


    Q=B.sub.dQ.sub.eB.sub.d.sup.T

    with Q.sub.e an adjustment parameter. This relation implies that matrix Q is a function of the rotational speed of the rotor.

    [0119] In order to solve the minimization problem by means of the adaptive Kalman fitter, the below hypotheses can be adopted. These hypotheses mainly concern a mathematical interpretation of matrices P.sub.0, R and Q. [0120] initial state x(0) is a random vector that is not correlated with noises ζ(k) and η(k), [0121] initial state x(0) has a known mean {tilde over (x)}(0) and a covariance defined by:


    P.sub.0=E[(x(0)−x(0))(x(0)−x(0)).sup.T]

    where E denotes the expected value, [0122] ζ(k) and η(k) are not correlated, and they are white noises with zero mean, with covariance matrices Q and R respectively, in other words:

    [00021] E [ ζ ( k ) ζ ( j ) T ] = { Q , if k = j , 0 , if k j E [ η ( k ) η ( j ) T ] = { R , if k = j , 0 , if k j E [ ζ ( k ) η ( j ) T ] = 0 , for all k , j

    [0123] It can be noted that this hypothesis also implies that Q and R are symmetric positive semidefinite matrices.

    [0124] The following notations are also adopted: [0125] {circumflex over (x)}(k|k−1) is the estimate of x(k) from the measurements up to the time k−1, i.e. x(k−1), x(k−2), . . . and u(k−1), u(k−2), . . . [0126] {circumflex over (x)}(k|k) is the estimate of x(k) from the measurements up to the time k, i.e. x(k), x(k−1), . . . and u(k), u(k−1), . . . [0127] P(k|k−1) is the covariance matrix of x(k) given x(k−1), x(k−2), . . . and u(k−1), u(k−2), . . . [0128] P(k|k) is the covariance matrix of x(k) from the measurements up to the time k, i.e. x(k), x(k−1), . . . and u(k), u(k−1), . . .

    [0129] The adaptive Kalman filter algorithm can then be summarized as follows, with a time update equation:

    [00022] { x ^ ( k .Math. k - 1 ) = A d x ^ ( k - 1 .Math. k - 1 ) + B d u ( k - 1 ) , P ( k .Math. k - 1 ) = A d P ( k - 1 .Math. k - 1 ) A d T + B d Q c B d T

    and a measurement update equation:

    [00023] { K ( k ) = P ( k .Math. k - 1 ) ( P ( k .Math. k - 1 ) + R ) - 1 x ^ ( k .Math. k ) = x ^ ( k .Math. k - 1 ) + K ( k ) ( x ( k ) - x ^ ( k .Math. k - 1 ) ) P ( k .Math. k ) = ( I - K ( k ) ) P ( k .Math. k - 1 )

    [0130] Thus, the magnetic flux of the electric machine can be determined.

    [0131] According to an implementation of the invention, the adaptive Kalman filter approach can be summarized as follows:

    [0132] 1. The input data estimated at the previous time, listed below, and parameters Qtext missing or illegible when filedand R (covariance matrices) are used, and we determine:

    [00024] x ( k ) = [ L d i d ( k ) + 3 2 Φ f ( i d ( k ) ) ] u ( k ) = [ v d ( t ) - R ( t ) i d ( t ) v q ( t ) - R ( t ) i q ( t ) ] x ^ ( k - 1 .Math. k - 1 ) P ( k - 1 .Math. k - 1 )

    [0133] 2. The output is determined by carrying out the following steps:

    [0134] (1) initializing k=0, state vector {tilde over (x)}(0) and the state of the covariance matrix P(0|0)=P.sub.0,

    [0135] (2) applying the time update and measurement update equations so as to obtain {circumflex over (x)}(k|k) and P(k|k):

    [00025] { x ^ ( k .Math. k - 1 ) = A d x ^ ( k - 1 .Math. k - 1 ) + B d u ( k - 1 ) , P ( k .Math. k - 1 ) = A d P ( k - 1 .Math. k - 1 ) A d T + B d Q c B d T { K ( k ) = P ( k .Math. k - 1 ) ( P ( k .Math. k - 1 ) + R ) - 1 x ^ ( k .Math. k ) = x ^ ( k .Math. k - 1 ) + K ( k ) ( x ( k ) - x ^ ( k .Math. k - 1 ) ) P ( k .Math. k ) = ( I - K ( k ) ) P ( k .Math. k - 1 ) ,

    [0136] (3) determining magnetic flux φ estimated at the time k with the formulas:

    [00026] { φ ^ d ( k ) = x ^ 1 ( k .Math. k ) , φ ^ q ( k ) = x ^ 2 ( k .Math. k )

    [0137] In these equations, subscript 1 denotes the first term of vector x and subscript 2 denotes the second term of vector x.

    [0138] 5) Electric Machine Control

    [0139] This step is optional.

    [0140] The invention also relates to a method for real-time control of a synchronous electric machine, wherein the following steps are carried out: [0141] determining the magnetic flux of the electric machine by means of the method (steps 1) to 4)) described above, and [0142] controlling the torque of said synchronous machine as a function of the determined magnetic flux. This step can be carried out using any conventional means of controlling the electric machine that takes account of the magnetic flux. For example, control of the electric machine can be based on an effective direct torque control method, particularly suited to salient-pole synchronous electric machines.

    [0143] Furthermore, the invention relates to a system for controlling a synchronous electric machine suited to applying the method as described above. Such an electric machine control system can comprise electric machine control means including means of determining the magnetic flux of the electric machine and means of controlling the torque of the electric machine. The means of determining the magnetic flux determine the magnetic flux of the electric machine from the current and voltage measurements, i.e. the currents and voltages of each of the three phases of the electric machine. The torque control means apply voltages at the terminals of the electric machine as a function of the magnetic flux so as to ensure a torque setpoint for the electric machine. Advantageously, the control system can be a controller comprising computer means.

    [0144] This control method and system can be used for an electric machine on board a vehicle, notably an electric or hybrid motor vehicle. However, the control system described is not limited to this application and it is suitable for all electric machine applications.

    [0145] According to an aspect, the electric machine is a salient-pole synchronous electric machine. Indeed, the method is particularly well-suited to this type of machine, on the one hand, because the dynamic model of the electric machine is quite representative of this type of electric machine, and on the other hand because determination of the magnetic flux enables control of such an electric machine, notably through direct control of the torque.

    [0146] It is clear that the invention is not limited to only the embodiments of the recesses described above by way of example and that it encompasses multiple variants.