This application is a U.S. national phase application filed under 35 U.S.C. § 371 of International Application No. PCT/EP2019/074552, filed Sep. 13, 2019, designating the United States, which claims priority from French Patent Application No. 18/58.548, filed Sep. 20, 2018, which are hereby incorporated herein by reference in their entirety.
The present invention relates to the field of control of electrical machines, in particular control of salient-pole synchronous electrical machines. These electrical machines find applications notably in the field of motor vehicles.
Conventionally, an electrical machine comprises a rotor (mobile part) and a stator (stationary part). The rotor is usually housed in the stator. Generally, the stator has an annular shape and it is housed within a tubular support to which it is fastened.
The stator comprises magnetic flux generators, generally electrical windings. These windings are fed by (conventionally three) of electrical phases in order to generate a rotating magnetic field. Furthermore, depending on the type of electrical machine, notably for salient-pole synchronous electrical machines, the rotor can comprise permanent magnets.
During operation of such an electrical machine, an electrical current flows through the windings to generate the magnetic field required to rotate the rotor.
There are several types of control for such electrical machines. It is notably well known that the direct torque control method is one of the most effective control strategies, enabling torque control in a steady regime as well as a transient regime, in particular for salient-pole synchronous electrical machines. Furthermore, this control method is easier to implement than a field-oriented control method. Moreover, this method requires less information relative to the electrical machine, and no current control loop is necessary, which notably allows solution of the delay problem linked with this current control loop.
However, the drawback of this control method is that it is based on the magnetic flux signal of the electrical machine, whereas this quantity cannot be directly measured while the electrical machine is operating. The magnetic flux then needs to be estimated, for example by an observer using the other measurable quantities. The document: Mohamad Koteich. “Flux Estimation Algorithms for Electrical Drives: a Comparative Study”, in: Renewable Energies for Developing Countries (REDEC), 2016, 3rd International Conference, IEEE, 2016, pp. 1-6 (cit. on p. 5) reviews a number of methods of determining the magnetic flux.
Most methods of the prior art require knowledge of the resistance, the magnetic flux of the rotor and the inductance. However, while the resistance can be considered as known, the exact value of the magnetic flux of the rotor remains unknown, notably because it depends on the temperature of the rotor, which cannot be directly measured. Moreover, in the presence of magnetic saturation, the inductance is a non-linear function of the current. Therefore, the problem of estimating the magnetic flux of the electrical machine is non-trivial, which involves at least one of complexity and imprecision in making estimations.
Patent application FR-3,035,755 describes a method of controlling an electrical machine based on an estimation of the magnetic flux obtained by an observer and a discrete extended Kalman algorithm. The modelling process used in this method is not very robust against parameter variations, notably because the magnetic flux is indirectly estimated since it requires calculating the currents. Furthermore, the model described in this patent application does not take account for the non-linearity of the inductances (magnetic saturation). Moreover, the discrete extended Kalman algorithm does not allow variability over time of the system. Indeed, the extended Kalman filter only accounts for the non-linearity linked with the presence of speed in the equations.
In order to overcome these drawbacks, the present invention relates to a method of determining the magnetic flux of an electrical machine, based on measurements of currents and voltages in the phases of the electrical machine, on a dynamic model of the magnetic flux and on an adaptive Kalman filter. The dynamic model of the magnetic flux provides a precise (taking account of the variability over time of the system) and robust model of the magnetic flux. Thus, the magnetic flux is directly determined. The adaptive Kalman filter allows adaptation of the noise covariance matrix according to the rotational speed of the electrical machine. Thus, the filter is efficient over a wide operating range of the electrical machine. Moreover, the adaptive Kalman filter is robust against magnetic flux variations of the rotor and the inductance.
The invention also relates to a method and to a system for controlling an electrical machine using the method of determining the magnetic flux.
The invention relates to a method of determining the magnetic flux of an electrical machine, the electrical machine comprising a rotor, a stator, the stator comprising windings connected to electrical phases. The following steps are carried out for this method:
a) measuring a current and a voltage in the phases of the electrical machine;
b) determining the electrical rotational speed of the rotor, notably as a function of the mechanical rotational speed of the rotor;
c) constructing a dynamic model of the magnetic flux of the electrical machine, the dynamic model of the magnetic flux connecting the magnetic flux to the current and to the voltage of the phases of the electrical 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.
According to an embodiment, the electrical rotational speed ωe of the rotor is determined with a formula of a type ωe=pω, with p being the pole pair number of the electrical machine and ω being the mechanical rotational speed of the rotor.
Advantageously, the mechanical rotational speed is determined by a phase-locked loop PLL method.
According to an implementation, the dynamic magnetic flux model (MOD) is written:
with φ being the magnetic flux of the electrical machine, i being the current, Φ the rotor flux, L being the inductances of the electrical machine, Lqs, bqs being coefficients accounting for the saturation effect, d and q being the axes in Park's reference frame, and iqm being the quadrature current value for which the magnetic flux is a linear function of the quadrature current.
According to an aspect, the adaptive Kalman filter is applied by carrying out the following steps:
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 discretized model.
According to a feature, the adaptive Kalman filter algorithm is applied by carrying out the following steps:
(1) initializing k=0, the state vector {circumflex over (x)}(0) and the state of the covariance matrix P(0|0)=P0,
(2) applying the time update and measurement update equations in order to obtain {circumflex over (x)}(k|k) and P(k|k):
(3) determining the magnetic flux φ estimated at time k by using the formulas:
with k being the discretized time, A_d, B_d state realization matrices, P being the covariance matrix of the state vector, R being a calibration matrix, K being the Kalman filter gain and Q_∈ being an adjustment parameter.
Advantageously, the electrical machine is a salient-pole synchronous electrical machine.
Furthermore, the invention relates to a method for controlling an electrical machine comprising the following steps:
a) determining a magnetic flux φ of the electrical machine by use of the method of determining the magnetic flux according to one of the above features; and
b) controlling (CON) the electrical machine by using the determined magnetic flux.
Advantageously, the electrical machine is controlled (CON) according to a method providing direct control of the torque of the electrical machine implemented from the magnetic flux.
Moreover, the invention relates to a system for controlling an electrical machine, comprising control implementing the control method according to one of the above features.
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:
The present invention relates to a method for determining, in real time, the magnetic flux of an electrical machine. The electrical machine comprising a rotor and a stator, the stator being equipped with windings connected to the electrical phases, for example three electrical phases for generating a magnetic field enabling rotation of the rotor.
1) Measurement of currents and voltages (MES)
2) Determination of the electrical rotational speed (VIT)
3) Construction of the dynamic magnetic flux model (MOD)
4) Application of the adaptive Kalman filter (KAL)
Steps 1) to 3) are independent and they can be carried out in this order, in a different order or simultaneously.
Step 4) determines magnetic flux φ of the electrical machine.
Furthermore, the invention relates to a method of controlling an electrical machine. Such a control method comprises steps 1) to 4) described above and an electrical machine control step (CTRL) 5).
This control step 5) is an optional step. Indeed, the magnetic flux can be used in a different manner, notably for electrical machine fault diagnosis.
Steps 1 to 5) are described in detail in the rest of the description hereafter.
Notations:
The following notations are used in the description:
i: currents circulating in the phases of the electrical machine,
iqm: quadrature current value for which the magnetic flux is a linear function of the quadrature current,
ω: mechanical rotational speed of the rotor, corresponding to the rotational speed of the rotor of the electrical machine in relation to the stator,
ωe: electrical rotational speed of the rotor,
Φ: 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.,
R(t): resistance of the electrical machine windings, it is a known parameter that can be obtained experimentally,
Ld: direct inductance of the electrical machine, it is a known parameter of the electrical machine (manufacturer data or experimentally obtained data),
Lq: quadrature inductance of the electrical machine which is a known parameter of the electrical machine (manufacturer data or experimentally obtained data),
Lqs: inductance accounting for the saturation phenomenon (manufacturer data or experimentally obtained data),
p: pole pair number of the electrical machine,
φ: magnetic flux of the electrical machine,
A: matrix of the state representation
B: identity matrix
f: function of the state representation,
bqs: scalar coefficient taking account of the saturation phenomenon, this value can be obtained experimentally,
u: vector of the state representation data,
state vector of the state representation, corresponding to the non-measurable state,
ϵ: unmodelled dynamics,
η: measurement noise,
Ts: sampling period,
k: discretized time,
Ad: matrix of the discretized state representation,
Bd: matrix of the discretized state representation,
J: cost function minimized by the Kalman filter,
P: covariance matrix of the state vector,
P0, Q, R: calibration matrices,
Qϵ: adjustment parameter,
K: Kalman filter gain.
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 _d (direct) or _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).
1) Measurement of Currents and Voltages
The currents and the voltages in the phases of the electrical machine are measured in this step.
These measurements can be performed by voltage and current sensors.
2) Determination of the Electrical Rotational Speed of the Rotor
This step determines the electrical rotational speed of the rotor.
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 use of the formula: ωe=pω.
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.
Alternatively, the mechanical rotational speed of the rotor can be measured by a speed sensor arranged on the electrical machine.
In a variant, the electrical rotational speed can be directly determined.
3) Construction of the Dynamic Magnetic Flux Model
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 electrical phases of the electrical 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.
The dynamic magnetic flux model is a state representation of the electrical machine. It is noted 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 determination of the internal state and the outputs of the system at any future time if the state at the initial time and the behavior of the input variables that influence the system are known.
In Park's reference frame (d, q), the dynamic magnetic flux model can be expressed by the following differential equations:
Writing these differential equations in vector form:
or, in an equivalent manner:
{dot over (x)}(t)=A(t)x(t)+Bu(t)
with
being the non-measurable state and
being the model input.
According to this equation, it is clear that the equation of state of the magnetic flux of the electrical 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 id and iq, and of magnetic flux Φ of the rotor. It is written:
A solution to this complex problem could map the magnetic flux quantities φd and φd. This solution requires a high storage capacity and a large number of experimental measurements. Moreover, the magnetic flux of the rotor varies with temperature. The model described above is therefore complex to implement.
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:
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 electrical machine control method.
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.
For this embodiment, the equation of state is written:
with:
4) Application of the Adaptive Kalman Filter
The magnetic flux of the electrical 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 electrical machine. Thus, the filter is efficient over a wide operating range of the electrical machine. Moreover, the adaptive Kalman filter is robust against magnetic flux variations of the rotor and the inductance.
It is noted 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.
According to an embodiment of the invention, the adaptive Kalman filter can be applied by carrying out the following steps:
modifying the dynamic magnetic flux model by integrating unmodelled dynamics and a measurement noise;
discretizing the modified dynamic magnetic flux model; and
applying an adaptive Kalman filter algorithm to the modified and discretized dynamic model.
According to an example of this embodiment, the various steps described hereafter can be carried out.
The dynamic model of the magnetic flux is modified accounting for the uncertainties of the model E(t) and the measurement noise η(t). The modified model can be written:
It is thus possible to obtain a more realistic magnetic flux model.
This model is then discretized for application of the Kalman filter. A sampling period TS is therefore considered. The following equations can then be written:
with:
Given that matrix A is a function of speed, itself a function of time, it is not possible to determine matrices Ad and Bd analytically.
According to an aspect of this embodiment, matrices Ad and Bd can be obtained by a Taylor series. Preferably, for efficiency purposes, matrices Ad and Bd can be determined by a 3rd order Taylor series. In this case, matrices Ad and Bd can be written:
Finally, an adaptive Kalman filter algorithm is applied.
Then:
ζ(k)=Bdϵ(k).
One way of determining the unknown state vector x is accounting for the information ζ(k) and η(k) in the adaptive Kalman filter. In practice, this adaptive Kalman filter provides a solution to the minimization problem described below:
with:
Cost function J provides a guide for selecting matrices P0, R and Q, with the following conditions:
1. If the initial state x(k) at the time k=0 is known, that is
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.
Furthermore, Q can be selected as:
Q=BdQϵBdT
with Qϵ an adjustment parameter. This relation implies that matrix Q is a function of the rotational speed of the rotor.
In order to solve the minimization problem by use of the adaptive Kalman filter, the below hypotheses can be adopted. These hypotheses mainly concern a mathematical interpretation of matrices P0, R and Q.
initial state x(0) is a random vector that is not correlated with noises ζ(k) and η(k),
initial state x(0) has a known mean
P0=E[(x(0)−
where E denotes the expected value,
ζ(k) and η(k) are not correlated, and they are white noises with zero mean, with covariance matrices Q and R respectively, in other words:
It can be noted that this hypothesis also implies that Q and R are symmetric positive semidefinite matrices.
The following notations are also adopted:
{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), . . .
{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), . . .
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), . . .
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), . . .
The adaptive Kalman filter algorithm can then be summarized as follows, with a time update equation:
and a measurement update equation:
Thus, the magnetic flux of the electrical machine can be determined.
According to an implementation of the invention, the adaptive Kalman filter approach can be summarized as follows:
1. The input data estimated at the previous time, listed below, and parameters Qϵ and R (covariance matrices) are used, and we determine:
2. The output is determined by carrying out the steps of:
(1) initializing k=0, state vector {circumflex over (x)}(0) and the state of the covariance matrix P(0|0)=P0,
(2) applying the time update and measurement update equations for obtaining {circumflex over (x)}(k|k) and P(k|k):
(3) determining magnetic flux φ estimated at the time k with the formulas:
In these equations, subscript 1 denotes the first term of vector x and subscript 2 denotes the second term of vector x.
5) Electrical Machine Control
This step is optional.
The invention also relates to a method for real-time control of a synchronous electrical machine, wherein the following steps are carried out:
determining the magnetic flux of the electrical machine by use of the method (steps 1) to 4)) described above, and
controlling the torque of the synchronous machine as a function of the determined magnetic flux. This step can be carried out using any conventional control of electrical machine that accounts for the magnetic flux. For example, control of the electrical machine can be based on an effective direct torque control method, particularly suited to salient-pole synchronous electrical machines.
Furthermore, the invention relates to a system for controlling a synchronous electrical machine suited to applying the method as described above. Such an electrical machine control system can comprise electrical machine control including control for determining the magnetic flux of the electrical machine for controlling the torque of the electrical machine. The determination of the magnetic flux determines the magnetic flux of the electrical machine from the current and voltage measurements, that is the currents and voltages of each of the three phases of the electrical machine. The torque control applies voltages at the terminals of the electrical machine as a function of the magnetic flux to ensure a torque setpoint for the electrical machine. Advantageously, the control system can be a controller comprising a computer.
This control method and system can be used for an electrical machine on board a vehicle, notably an electrical or hybrid motor vehicle. However, the control system described is not limited to this application and it is suitable for all electrical machine applications.
According to an aspect, the electrical machine is a salient-pole synchronous electrical machine. Indeed, the method is particularly well-suited to this type of machine, on the one hand, because the dynamic model of the electrical machine is quite representative of this type of electrical machine, and on the other hand because determination of the magnetic flux enables control of such an electrical machine, notably through direct control of the torque.
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.
Number | Date | Country | Kind |
---|---|---|---|
18/58.548 | Sep 2018 | FR | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2019/074552 | 9/13/2019 | WO |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2020/058131 | 3/26/2020 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5818192 | Nozari | Oct 1998 | A |
10218301 | Wang | Feb 2019 | B1 |
20160254771 | Qiao et al. | Sep 2016 | A1 |
20170179863 | Lamsahel | Jun 2017 | A1 |
20180069499 | Engelken | Mar 2018 | A1 |
Number | Date | Country |
---|---|---|
1885054 | Feb 2008 | EP |
2582036 | Apr 2013 | EP |
2984637 | Jun 2013 | FR |
3035755 | Nov 2016 | FR |
Entry |
---|
International Search Report for PCT/EP2019/074552, dated Oct. 18, 2019. |
Koteich Mohamad. “Flux estimation algorithms for electric drives: A comparative study” 2016 3rd International Conference on Renewable Energies for Developing Countries (REDEC), IEEE, Jul. 13, 2016 (Jul. 13, 2016). pp. 1-6 DOI: 10.I 109/REDEC.2016.7577558 XP032972837. |
Number | Date | Country | |
---|---|---|---|
20220038038 A1 | Feb 2022 | US |