The invention concerns the control of an electric motor and more particularly the control of an electric motor following an anomaly in the measurement of the speed of its rotor.
For a control system configured to control an electric motor configured in speed or in position, a rotor speed sensor is generally used in order to construct a robust and efficient control law.
When the position information becomes unusable, the system becomes inoperative due to lack of information replacing the measurement. When the anomaly occurs during a controlled movement, it is necessary to react instantly to continue the movement and maintain the expected level of performance.
There are different methods for controlling an electric motor without a sensor which can be classified into two categories: on the one hand, the methods operating from the electrical quantities as applied or measured on an electric motor, the electrical quantities being able to be instantaneous quantities or quantities averaged over a period of time which depends on the power stage and its control strategy and, on the other hand, the methods operating from high-frequency components of the electrical quantities, superadded to the main control.
As schematically illustrated in
As schematically illustrated in
In the definition of the architectures of the known electrical systems, the presence of a position or speed measurement is known at the time of configuration of the control system. It is in this phase that the choice is made of a controller that manages or not the position or speed measurement.
Either the control law is configured to operate with the information given by the position sensor, or the control law is configured to operate without this information. The reconfiguration from one to the other can only be done after a shutdown phase. This induces that the current movement ends in an uncontrolled manner. A faulty position/speed measurement value will, through the regulation, generate voltages on the motor which do not correspond to the state of the motor. This can lead to a set of inappropriate behaviors that will need to be captured through different monitoring functions.
In the known systems, when a fault is detected, it is only proposed to generate a warning or a fault.
The main aim of the present invention is therefore to propose a solution for reconfiguring the motor control mode on the fly, to compensate for the failure of a motor position sensor. On-the-fly reconfiguration of the motor control mode means reconfiguration in operation, that is to say reconfiguration of the motor control mode while maintaining the motor and its control means in operation.
In a first object of the invention, a method for controlling a synchronous electric motor is proposed, comprising a generation of a mechanical torque reference from a mechanical setpoint, a measurement of the position and a determination of the speed of the electric motor from the position measurement, a measurement of the current generated by the electric motor, a generation of the voltage references from the mechanical torque reference, and a generation of the control voltages from the reference voltages.
The method further comprises a monitoring of an anomaly in the measurement of the position of the electric motor, an adaptation of the electrical control gains as a function of the detection or non-detection of an anomaly in the measurement of the position of the electric motor, the generated voltage references depending on the values of the electrical control gains.
The method according to the invention thus makes it possible to provide continuity of control of the voltage of the electric motor even in the presence of a major failure that is the loss of information on the measurement of the position of the motor. The detection of the failure then the reconfiguration of the electrical control means through the adaptation of the gains, and alternatively of the current reference, makes it possible to guarantee the performance of the mechanical movement of the electric motor. And this without having to stop the motor, and without having to stop the control, that is to say without having to turn off and reset the control of the motor.
The monitoring of an anomaly in the measurement of the position of the electric motor further includes a control of the consistency of the position or speed information with the current information.
Current information means the data from the current measurements and from the transformations of the current measurements.
In one aspect of the method, the monitoring of an anomaly in the measurement of the position of the electric motor comprises an estimation of the speed of the electric motor from the speed determined from the measurement of the position and of the current measured across the motor, a comparison of the estimated speed with the determined speed, and a reporting of a measurement anomaly as a function of the result of the comparison relative to a detection threshold.
According to another object of the invention, there is proposed an electrical control system for a synchronous electric motor comprising a mechanical control block configured to receive a mechanical setpoint and deliver a mechanical torque reference, an electrical control block configured to deliver a voltage reference as a function of the torque reference delivered by the mechanical control block, a power block configured to deliver a control voltage to the electric motor as a function of the voltage reference delivered by the electrical control block, a position sensor of the rotor of the electric motor that said electrical system controls, and means for measuring the current across the electric motor controlled by the electrical control system.
According to one general characteristic of the system according to the invention, the electrical control block further comprises:
In a first aspect of the system according to the invention, the anomaly detection means comprises a module for estimating the speed of the motor from the voltage and current of the motor, a comparator configured to compare the determined speed with the speed measured by the sensor, and a module for reporting a measurement anomaly as a function of the result of the comparison relative to a detection threshold.
In a second aspect of the system according to the invention, the power control block further comprises a power converter.
According to another object of the invention, there is proposed an electrical system comprising an electric motor coupled to a load, and an electrical control system as defined above coupled to the electric motor.
Other characteristics and advantages of the present invention will emerge from the description given below, with reference to the appended drawings which illustrate one exemplary embodiment devoid of any limitation.
The electrical control system 4 for the synchronous electric motor 2 comprises a control assembly 5, a position sensor 6 configured to measure the speed of the rotor of the synchronous electric motor 2, and means for measuring the voltage and the current across the synchronous electric motor 2.
As illustrated in
As illustrated in
Furthermore, the anomaly detection means 92 comprises a module 922 for estimating the speed of the motor from the voltage and current of the motor, a comparator 924 configured to compare the speed determined with the speed measured by the position sensor 6, and a module 926 for reporting a measurement anomaly as a function of the result of the comparison relative to a detection threshold.
A monitoring of the anomaly in the measurement of the position sensor 6 is then carried out. For this, in a step 430, the consistency of the position or speed information with the current information is controlled, and it is determined whether there is an anomaly or not, in a step 435, between said information. The information consistency control comprises in particular an estimation of the speed or position of the motor from the electrical quantities such as the current generated by the motor and a comparison of this estimated speed or this estimated position relative to the measured position or a speed determined from the measured position, this comparison can be carried out by calculating the difference between the estimated speed and the measured speed and by checking that this gap remains limited to an expected range of variation with regard to the measurement noise and to the regulation dynamics.
Following the control of the consistency of the information, it is possible to deliver, in a step 420, an estimation of the speed of the electric motor 2 from the measurements of the position and of the current measured across the motor in particular.
In a following step 445, the voltage references for the selected electrical control gains are delivered to the power block 10.
Finally, in a step 450, the voltage block delivers a control voltage to the synchronous electric motor 2.
The estimation of the speed of the synchronous electric motor 2 with permanent magnets from the electrical quantities (voltage and current) of the electric motor can be carried out in different ways.
The following mathematical model represents a modeling of a synchronous electric motor with surface permanent magnets (without salience) with the physical quantities of three phases S1, S2, S3, with the resistor RS, the current i on each of the phases iS1, iS2, iS3, and the voltage on each of the phases us1, uS2, us3, and the electrical flux on each of the phases φS1, φS2, φS3.
With the flux φ expressed by the magnetic coupling matrix equation:
With M representing the mutual stator inductance value, L representing the value of the stator self-inductance, ϕM representing the permanent flux value, and θ representing the position of the magnet. And the electromagnetic torque ΣEM expressed by the following equation:
With nP representing the number of pairs of poles.
In steady state, the quantities (us1, uS2, us3) are sinusoidal quantities phase shifted by 2π/3.
It is known by construction of the electric machine that iS1+iS2+is3=0.
By applying the Clarke transform to the three-phase quantities, that is to say by applying the following two transformation matrices:
we can define for each quantity X a new vector of coordinates (or variables):
We get the relations:
With by construction that iSχ=0, and
This model shows that the third component has no functional role to the extent that the current quantity is zero and that this component does not intervene in the torque generation. There comes the writing of the conventional two-phase system:
With by construction that iSχ=0, and
In steady state, the quantities (uSα, uSβ) are sinusoidal quantities phase shifted by π/2.
By substituting the flux variables, we obtain the equations of the permanent magnet synchronous motor without saliences:
The following model represents in matrix form a synchronous electric motor with permanent magnets in the following fixed reference frame:
With the following notations:
the voltage of the motor,
the current of the motor, θ, the position of the magnet, ω, the speed of the magnet, and the matrices:
In established mechanical and electrical states, the system reaches the stationary equilibrium. The motor rotates at speed ω=dθ/dt under a load torque constraint τEM=τLOAD. The following expression of the torque:
allows expressing the current in a general form:
With
and ID any value (which is often set by the controller).
Then comes the expression:
which allows writing
With the variables
In practice, it is not possible to specifically know the phase θ from the electrical signals taken individually. It is possible to estimate the pulsation of electrical signals, an image of the speed, that is to say the derivative of the position.
To estimate the speed from the phase of the electrical quantities, it is sufficient to calculate the angle of the voltage vector with a direct calculation of the inverse of the tangent function for example.
It is also possible to use a PLL (Phase lock loop) type algorithm.
In all cases, there is a phase shift φ between the phase of the electrical quantities and the position of the rotor (which depends on the control strategy in the first place) which must be taken into account in the previous expressions of the rotating reference frame. There comes:
The speed of the electric motor can also be determined from the amplitudes of the electrical quantities. From the expression [Math 38], an estimation of the speed can also be extracted, this time based on the amplitude of the voltage, of the current, by solving the following equation:
that is to say
With:
Note that there is no objection to using the quantities in the fixed reference frame instead of a rotating reference frame in the previous formulas.
The previous expression gives two solutions (one positive, one negative). It is possible to remove the indeterminacy by selecting the speed that has the sign consistent with the direction of the movement of the voltage vector (if its phase increases or decreases).
By taking the model of the motor in the fixed reference frame (equations [Math 23] and [Math 24]), to construct a dynamic estimation, we choose to consider a reference frame rotating at the speed:
with:
We then have:
We can then construct the observer:
It remains to define the structure of the gains which guarantees that the quantity {circumflex over (ω)}, corresponding to the estimation of the speed, tends towards ω. With the notation δX=X−{circumflex over (X)}, then the difference between the motor model and the observer can be written:
The choice:
leads to:
The classic study of this system shows the convergence of the speed estimator based on the electrical quantities [Math 53] towards the actual speed.
The comparison between on the one hand the information obtained by the speed measurement, and on the other hand the information obtained by a speed estimation makes it possible to validate the consistency of the position or speed measurement. The speed estimation can be directly a value obtained from the electrical quantities, for example [Math 41] or [Math 52]; it is also possible to use a static or dynamic combination of the speed measurement and speed estimation from the electrical quantities. The validation of the consistency consists, for example, in calculating the gap between the two pieces of information, and in defining an acceptable threshold of difference between these two estimations, which must be equal in steady state, for example 1 Hz.
A conventional control of the permanent magnet electric motor consists in calculating a reference voltage vector in the following control reference frame:
With
where
corresponds to the reference voltage, ωS corresponds to the where pulsation of the control reference frame, θS corresponds to the pulsation of the control reference frame,
corresponds to the reference current,
corresponds to the current of the motor in the control reference frame, and {circumflex over (ω)} corresponds to the estimated speed of the motor.
The gain matrices CTRL-P and
CTRL-I must be calculated to ensure the control performance. This performance depends on the dynamics of the estimated speed. It is appropriate to determine a set of gains (
CTRL-P,
CTRL-I) by speed estimation strategy, whether the estimated speed of the motor comes from the measurement, or from an estimation strategy from the electrical quantities, or from a mixture of the two.
The reference voltage is then transformed into the three voltages to be applied to the phases of the motor, in two steps:
The invention thus makes it possible to provide continuity of control of the voltage of the electric motor even in the presence of a major failure that is the loss of information on the measurement of the position of the motor. The detection of the failure then the reconfiguration of the electrical control means through the adaptation of the gains, and alternatively of the current reference, makes it possible to guarantee the performance of the mechanical movement of the electric motor.
In other words, the invention consists in reconfiguring the motor control mode on the fly to compensate for a failure of the position sensor, by controlling the movement. This on-the-fly reconfiguration is enabled by the invention thanks to a control of the consistency of the speed/position information with regard to the electrical measurements, and to an adaption of the controller as a function of this measurement consistency.
The invention thus proposes a control of the consistency of the speed/position information with regard to the electrical measurements thus allowing a detection of a position measurement anomaly from an electrical/mechanical behavioral analysis, a reconfiguration of the electric and mechanical controllers to control the movement, and an adaptive control between a control means with the speed/position measurement information and a control means with the information on the measurements of the electrical quantities, without speed/position measurement information.
Number | Date | Country | Kind |
---|---|---|---|
FR2202661 | Mar 2022 | FR | national |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/FR2023/050426 | 3/24/2023 | WO |