Control method and associated control system
11581837 · 2023-02-14
Assignee
Inventors
- Emmanuel Kuentzmann (Rueil-Malmaison, FR)
- Fabien Vidal-Naquet (Rueil-Malmaison, FR)
- Wissam Dib (Rueil-Malmaison, FR)
Cpc classification
H02P27/12
ELECTRICITY
H02P6/10
ELECTRICITY
H02P2207/05
ELECTRICITY
H02P23/0027
ELECTRICITY
International classification
Abstract
The object of the invention is a method of controlling a permanent-magnet synchronous or synchro-reluctant three-phase rotary machine (4), comprising the following steps: measuring a current (i.sub.A, i.sub.B, i.sub.C) flowing through each phase of a stator of rotary machine (4); first calculating, by use of a single proportional-integral controller, a switching control signal for controlling an inverter (10), according to each measured current (i.sub.A, i.sub.B, i.sub.C), and of a target value (T.sub.ref) of a mechanical torque provided by the rotary machine (4) or of a target value of an angular speed of a rotor of rotary machine (4) in relation to the stator wherein the inverter (10) is configured to convey electrical energy between a continuous electrical energy source (8) and each phase of the stator of rotary machine (4); and
controlling the inverter (10) by use of the calculated switching control signal.
Claims
1. A method of controlling a permanent-magnet synchronous or a synchro-reluctant three-phase rotary machine, comprising: measuring a current flowing through each phase of a stator of the rotary machine; first calculating with a single proportional-integral controller a switching control signal for controlling an inverter, according to each measured current, and a target value of a mechanical torque provided by the rotary machine or a target value of an angular speed of a rotor of the rotary machine in relation to a stator of the rotary machine with the inverter being configured to convey electrical energy between a continuous electrical energy source and each phase of the stator of rotary machine, and wherein the first calculation comprises determining a quadrature voltage setpoint (v.sub.q,ref) according to:
v.sub.q,ref=K′.sub.p,q(i.sub.0−i.sub.ref)+K′.sub.i,q∫.sub.t.sub.
v.sub.d,ref=√{square root over (v.sub.lim.sup.2−v.sub.q,ref.sup.2)} where v.sub.d,ref is the direct voltage setpoint, v.sub.lim is a limit voltage defined as v.sub.lim, =αv.sub.DC, α is a predetermined modulation index of inverter, and the switching control signal further depends on the direct voltage setpoint direct voltage setpoint (v.sub.d,ref); and the inverter is controlled by use of the calculated switching control signal.
2. The control method as claimed in claim 1, wherein the value of the modulation index ranges between 1/√3 and 1.
3. The control method as claimed in claim 1, wherein predetermined coefficients of the single proportional-integral controller are selected so that a value of quadrature voltage setpoint is less than or equal to a limit voltage defined as v.sub.lim=αv.sub.DC where v.sub.lim is the limit voltage, α is a predetermined modulation index of inverter, and v.sub.DC is a voltage between source and a potential reference.
4. The control method as claimed in claim 1, wherein predetermined coefficients of the single proportional-integral controller are selected so that a value of the quadrature voltage setpoint is less than or equal to a limit voltage defined as v.sub.lim=αv.sub.DC where v.sub.lim is the limit voltage, α is a predetermined modulation index of inverter, and v.sub.DC is a voltage between source and a potential reference.
5. The control method as claimed in claim 1, wherein the first calculation is implemented based on a predetermined condition being verified.
6. The control method as claimed in claim 2, wherein the first calculation is implemented based on a predetermined condition being verified.
7. The control method as claimed in claim 3, wherein the first calculation is implemented based on a predetermined condition being verified.
8. The control method as claimed in claim 5, comprising: determining a direct voltage setpoint and a quadrature voltage setpoint depending on each measured current, the predetermined condition is verified with a sum of the squares of direct voltage setpoint and the quadrature voltage setpoint is greater than or equal to a predetermined fraction of a square of a predetermined limit voltage.
9. The control method as claimed in claim 8, wherein the direct voltage setpoint and the quadrature voltage setpoint are determined during a second calculation of the switching control signal, distinct from the first calculation, the predetermined condition being verified that while carrying out the second calculation, a sum of squares of the direct voltage setpoint and of the quadrature voltage setpoint becomes greater than or equal to the predetermined fraction of a square of a predetermined limit voltage, or equal to a square of the predetermined limit voltage.
10. The control method as claimed in claim 5, wherein the predetermined condition is verified if the angular speed of the rotor of rotary machine in relation to the stator is greater than or equal to a predetermined base speed.
11. A system for controlling a permanent-magnet synchronous or synchro-reluctant three-phase rotary machine, comprising: a current sensor configured to measure a current flowing through each phase of a stator of rotary machine; an inverter configured to convey electrical energy between a continuous electrical energy source and each phase of the stator of rotary machine; a calculator configured to carry out, using a single proportional-integral controller, a first calculation of a switching control signal for control of an inverter, according to each current measured by the current sensor, and of a quantity representative of a target value of a mechanical torque provided by the rotary machine or a target value of an angular speed of a rotor of the rotary machine in relation to a stator of the rotary machine; and the calculator being further configured to apply to the inverter the first calculated switching control signal to control inverter; and wherein the calculator implements a control method of: first calculating with the single proportional-integral controller a switching control signal for controlling the inverter, according to each measured current, and of a target value of mechanical torque provided by the rotary machine or of a target value of an angular speed of the rotor of rotary machine in relation to the stator with the inverter being configured to convey electrical energy between a continuous electrical energy source and each phase of the stator of the rotary machine; and the inverter is controlled by use of the first calculated switching control signal; the first calculation determines a quadrature voltage setpoint (v.sub.q,ref) according to:
v.sub.q,ref=K′.sub.p,q(i.sub.0−i.sub.ref)+K′.sub.i,q∫.sub.t.sub.
v.sub.d,ref=√{square root over (v.sub.lim.sup.2−v.sub.q,ref.sup.2)} where v.sub.d,ref is the direct voltage setpoint, v.sub.lim is a limit voltage defined as v.sub.lim=αv.sub.DC, α is a predetermined modulation index of inverter, and the switching control signal further depends on the direct voltage setpoint (v.sub.d,ref).
12. The control system as claimed in claim 11, wherein the modulation index ranges between 1/√3 and 1.
Description
BRIEF DESCRIPTION OF THE DRAWING
(1) Other features and advantages of the invention will be clear from reading the description hereafter, given by way of non-limitative example, with reference to the accompanying sole FIGURE wherein:
(2)
DETAILED DESCRIPTION OF THE INVENTION
(3)
(4) Rotary machine 4 is a permanent-magnet synchronous or synchro-reluctant three-phase rotary machine, in particular a permanent magnet-assisted synchro-reluctant three-phase rotary machine.
(5) Rotary machine 4 has three inputs, respectively identified by letters A, B, C. Each input A, B, C corresponds to a phase of a stator of rotary machine 4.
(6) A quantity relating to a given input of rotary machine 4 will therefore have a subscripted letter relating to the input.
(7) Control system 6 controls over time the power supplied to rotary machine 4 according to at least one of target values and measured values of predetermined quantities that are described hereafter.
(8) Control system 6 comprises an inverter 10, an angular position sensor 12, a current sensor 14, a voltage sensor 16 and a calculator 18.
(9) Inverter 10 is configured to convey electrical energy between source 8 and rotary machine 4. More precisely, inverter 10 is configured to convey electrical energy between source 8 and each phase of the stator of rotary machine 4.
(10) Inverter 10 comprises a first input connected to source 8 and three outputs which each are connected to a corresponding phase of the stator of rotary machine 4. Inverter 10 additionally comprises a second input electrically connected to an output of calculator 18, so that inverter 10 is configured to convey electrical energy between source 8 and rotary machine 4 according to a switching control signal applied by calculator 18 to the second input of inverter 10.
(11) Preferably, the switching control signal is such that inverter 10 conveys electrical energy from source 8 to rotary machine 4 so that rotary machine 4 operates as a motor.
(12) Angular position sensor 12 is configured to measure the angular position, denoted by θ, of a rotor (not shown) of rotary machine 4 with respect to the stator, and to deliver an angular position signal representative of the measured value of angular position θ of the rotor of rotary machine 4.
(13) Moreover, angular position sensor 12 is configured to apply the angular position signal to a corresponding input of calculator 18.
(14) Current sensor 14 is configured to measure the intensity, denoted by i.sub.A, i.sub.B, i.sub.C, of the current delivered through each output of inverter 10 which each supplying a corresponding phase of the stator of rotary machine 4. Current sensor 14 is also configured to deliver an intensity signal representative of the measured value of each intensity i.sub.A, i.sub.B, i.sub.C.
(15) Moreover, current sensor 14 is configured to apply the intensity signal to a corresponding input of calculator 18.
(16) Voltage sensor 16 is configured to measure the voltage, denoted by v.sub.DC, between source 8 and a potential reference, and to deliver a voltage signal representative of the measured value of voltage v.sub.DC. In other words, voltage sensor 16 is configured to measure voltage v.sub.DC between the first input of inverter 10 and the potential reference.
(17) Moreover, voltage sensor 16 is configured to apply the voltage signal to a corresponding input of calculator 18.
(18) Calculator 18 is configured to control the operation of inverter 10 according to the value of a desired target torque T.sub.ref at the outlet of rotary machine 4. More precisely, calculator 18 is configured to control the operation of inverter 10 according to target torque T.sub.ref and of at least one of the angular position signal, the intensity signal and the voltage signal.
(19) Calculator 18 comprises a current setpoint calculation device 20, a current control device 22, a first transformation device 24, a second transformation device 26 and a pulse width modulation device 28.
(20) Second transformation device 26 is configured to calculate a measured direct current i.sub.d and a measured quadrature current i.sub.q. In particular, second transformation device 26 is configured to calculate measured direct current i.sub.d and measured quadrature current i.sub.q from the intensity signal delivered by current sensor 14.
(21) More precisely, second transformation device 26 is configured to calculate measured direct current i.sub.d and measured quadrature current i.sub.q by applying a Park transformation to intensities i.sub.A, i.sub.B, i.sub.C measured by current sensor 14. Such a transformation is achieved by applying relation (1) as follows:
(22)
where θ.sub.e is an electric angular position of the rotor with respect to the stator of rotary machine 4, equal to pθ with p being the number of pole pairs of rotary machine 4.
(23) Such a transformation is intended to simplify control by changing from quantities represented with respect to the three stationary windings of the stator to virtual quantities associated with only two fictitious windings attached to the rotor, in quadrature with respect to one another, and moving at the same angular speed as the rotor. For example, the currents bearing subscripts “d” and “q” correspond to the currents respectively flowing through each of the two fictitious windings with the voltages bearing subscripts “d” and “q” corresponding to voltages at the terminals of each of the two fictitious windings respectively.
(24) Current setpoint calculation device 20 is configured to calculate a direct current setpoint i.sub.d,ref and a quadrature current setpoint i.sub.q,ref.
(25) Direct current setpoint i.sub.d,ref and quadrature current setpoint i.sub.q,ref are quantities representative of target values for intensities i.sub.A, i.sub.B, i.sub.C, that is setpoints for intensities i.sub.A, i.sub.B, i.sub.C. Notably, direct current setpoint i.sub.d,ref and quadrature current setpoint i.sub.q,ref which are only related to the target values of intensities i.sub.A, i.sub.B, i.sub.C.
(26) Current setpoint calculation device 20 is configured to calculate direct current setpoint i.sub.d,ref and quadrature current setpoint i.sub.q,ref according to target torque T.sub.ref, to the angular position signal received from angular position sensor 12 and to the voltage signal received from voltage sensor 16.
(27) More precisely, current setpoint calculation device 20 is configured to calculate direct current setpoint i.sub.d,ref and quadrature current setpoint i.sub.q,ref in such a way that direct current setpoint i.sub.d,ref and quadrature current setpoint i.sub.q,ref verify relation (2) as follows:
(28)
where p is the number of pole pairs of rotary machine 4, L.sub.d and L.sub.q are the inductances of rotary machine 4, respectively along the so-called “direct” and “quadrature” axes of the rotary machine, and ϕ is the permanent magnet flux in the rotating reference frame attached to the rotor, more precisely along a so-called “direct axis” of the rotating reference frame.
(29) Furthermore, direct current setpoint i.sub.d,ref and quadrature current setpoint i.sub.q,ref are for example obtained by mapping from predetermined charts, or by use of an equation allowing minimization of the Joule losses given by R(i.sup.2.sub.d,ref+i.sup.2.sub.q,ref), R being the resistance of a phase of rotary machine 4.
(30) The notions of inductance along the direct axis L.sub.d and inductance along the quadrature axis L.sub.q, as well as determination of the value of such inductances L.sub.d, L.sub.q, are known per se. The value of such inductances generally depends on the value of each direct current i.sub.d and quadrature current i.sub.d.
(31) Current control device 22 is configured to calculate a direct voltage setpoint v.sub.d,ref and a quadrature voltage setpoint v.sub.d,ref.
(32) Direct voltage setpoint v.sub.d,ref and quadrature voltage setpoint v.sub.d,ref are quantities representative of target values for voltages v.sub.A, v.sub.B, v.sub.C at the terminals of the stator windings for setpoints for voltages v.sub.A, v.sub.B, v.sub.C. Notably, direct voltage setpoint v.sub.d,ref and quadrature voltage setpoint v.sub.d,ref are only related to the target values of voltages v.sub.A, v.sub.B, v.sub.C.
(33) In particular, current control device 22 is configured to determine direct voltage setpoint v.sub.d,ref and quadrature voltage setpoint v.sub.q,ref according to direct current setpoint i.sub.d,ref and quadrature current setpoint i.sub.q,ref calculated by calculation device 20, and from the measured direct current i.sub.d and the measured quadrature current i.sub.d described above.
(34) More precisely, current control device 22 is configured to calculate direct voltage setpoint v.sub.d,ref and quadrature voltage setpoint v.sub.d,ref according to one or the other from among a first method of calculation and a second method of calculation, according to whether a predetermined condition is fulfilled or not.
(35) If the predetermined condition is fulfilled, current control device 22 is configured to calculate direct voltage setpoint v.sub.d,ref and quadrature voltage setpoint v.sub.q,ref according to the first method of calculation, using a single proportional-integral controller. In this case, current control device 22 is configured to calculate direct voltage setpoint v.sub.d,ref and quadrature voltage setpoint v.sub.q,ref by means of relations (3), (4) as follows:
v.sub.q,ref=K′.sub.p,q(i.sub.0−i.sub.ref)+K′.sub.i,q∫.sub.t.sub.
v.sub.d,ref=√{square root over (v.sub.lim.sup.2−v.sub.q,ref.sup.2)} (4)
where K′.sub.p,q and K′.sub.i,q are two predetermined coefficients of the proportional-integral controller associated, in the first method of calculation, with the quadrature voltage setpoint;
i.sub.0 is a quantity defined as i.sub.0=√{square root over (i.sub.q.sup.2+i.sub.d′.sup.2)};
i.sub.ref is a quantity defined as i.sub.ref=√{square root over (i.sub.q,ref.sup.2+i.sub.d,ref′.sup.2)};
t.sub.0 is a predetermined initial instant;
t.sub.f is a predetermined final instant later than the predetermined initial instant, a current instant for example;
v.sub.lim is a limit voltage defined as v.sub.lim=av.sub.DC; and
a is the modulation index of inverter 10. The value of modulation index a preferably ranges between 1/√3 and 1.
(36) Quantity i.sub.0 defined above is the norm of a vector (denoted by i.sub.0) equal to the vector sum, in the rotating reference frame, of measured direct current i.sub.d and measured quadrature current i.sub.d.
(37) Furthermore, quantity i.sub.ref, defined above, is the norm of a vector (denoted by i.sub.ref) equal to the vector sum, in the rotating reference frame, of direct current setpoint i.sub.d,ref and quadrature current setpoint i.sub.q,ref.
(38) Advantageously, coefficients K′.sub.p,q and K′.sub.i,q are selected so that the value of quadrature voltage setpoint v.sub.d,ref calculated by relation (3) is bounded, in particular less than or equal to limit voltage v.sub.lim.
(39) Preferably, the predetermined condition is verified when a first situation occurs where the quantity (v.sub.q,ref.sup.2+v.sub.d,ref.sup.2) becomes greater than or equal to a predetermined fraction of the quantity v.sub.lim.sup.2, advantageously greater than or equal to 0.75.Math.v.sub.lim.sup.2, for example greater than or equal to 0.9.Math.v.sub.lim.sup.2, or equal to v.sub.lim.sup.2.
(40) By way of example, the predetermined condition is thus verified when, while current control device 22 calculates direct voltage setpoint v.sub.d,ref and quadrature voltage setpoint v.sub.q,ref according to the second method of calculation, the quantity (v.sub.q,ref.sup.2+v.sub.d,ref.sup.2) becomes greater than or equal to a predetermined fraction of the quantity v.sub.lim.sup.2, advantageously greater than or equal to 0.75.Math.v.sub.lim.sup.2, for example greater than or equal to 0.9.Math.v.sub.lim.sup.2, or equal to v.sub.lim.sup.2.
(41) Moreover, if the predetermined condition is not fulfilled, current control device 22 is configured to calculate direct voltage setpoint v.sub.d,ref and quadrature voltage setpoint v.sub.q,ref according to the second method of calculation, preferably by using two proportional-integral type controllers. In this case, current control device 22 is configured to calculate direct voltage setpoint v.sub.d,ref and quadrature voltage setpoint v.sub.q,ref by means of relation (5) as follows:
(42)
where K.sub.p,q and K.sub.i,q are two predetermined coefficients of the proportional-integral controller associated, in the second method of calculation, with the quadrature voltage setpoint which are not necessarily equal to coefficients K′.sub.p,q and k′.sub.i,q mentioned above;
K.sub.p,d and K.sub.i,d are two predetermined coefficients of the proportional-integral controller associated, in the second method of calculation, with the direct voltage setpoint,
t.sub.0 is a predetermined initial instant; and
t.sub.f is a predetermined final instant later than the predetermined initial instant, a current instant for example.
(43) It follows from the above that the first method of calculation corresponds to a situation where defluxing of the machine is required (and performed). Relation (5) ensures that rotary machine 4 operates at maximum power. Moreover, relation (4) leads to the calculation of a voltage setpoint that results in a current injection into the stator windings, causing defluxing of the rotary machine.
(44) Since the quadrature component of the power consumed by rotary machine 4 is predominant over the direct component, it is advantageous that relation (4) is implemented on quadrature voltage v.sub.q,ref so that the action of the proportional-integral controller is optimum. Another reason why it is advantageous for relation (4) to be implemented on the quadrature voltage, not on the direct voltage is that the quadrature voltage value is a likely change in sign during the operation of rotary machine 4, so that there is no bijection between the direct voltage and vector i.sub.0. Using a single proportional-integral controller provides more robust control of rotary machine 4, which results in a higher stability of the mechanical torque provided by rotary machine 4.
(45) First transformation device 24 is configured to calculate a first, a second and a third phase voltage setpoint, v.sub.A,ref, v.sub.B,ref, v.sub.C,ref respectively. Each phase voltage setpoint, v.sub.A,ref, v.sub.B,ref, v.sub.C,ref corresponds to a target voltage for the corresponding phase v.sub.A, v.sub.B, v.sub.C of the stator of rotary machine 4.
(46) More precisely, first transformation device 24 is configured to calculate phase voltage setpoints v.sub.A,ref, v.sub.B,ref, v.sub.C,ref from the direct voltage setpoint v.sub.d,ref and the quadrature voltage setpoint v.sub.d,ref calculated by current control device 22.
(47) Preferably, first transformation device 24 is configured to calculate phase voltage setpoints v.sub.A,ref, v.sub.B,ref, v.sub.C,ref by applying an inverse Park transformation to direct voltage setpoint v.sub.d,ref and quadrature voltage setpoint v.sub.q,ref. Such a transformation is carried out by applying relation (6) as follows:
(48)
where, as previously described, θ.sub.e is the electrical angular position of the rotor with respect to the stator of rotary machine 4.
(49) Pulse width modulation device 28 is configured to generate the switching control signal to be applied to inverter 10. More precisely, pulse width modulation device 28 is configured to determine the switching control signal intended to control inverter 10 so that voltages v.sub.A, v.sub.B, v.sub.C applied by inverter 10 to the corresponding phases A, B, C of rotary machine 4 are ideally equal to the first, second and third phase voltage setpoint v.sub.A,ref, v.sub.B,ref, v.sub.C,ref respectively.
(50) Determination of a switching control signal from any phase voltage setpoints is known per se.
(51) The operation of control system 6 is now described.
(52) The control system receives a value of a desired target torque T.sub.ref at the outlet of rotary machine 4.
(53) Angular position sensor 12 measures over time the angular position θ of the rotor of rotary machine 4 with respect to the stator, and it delivers the angular position signal.
(54) Moreover, current sensor 14 measures over time the intensity i.sub.A, i.sub.B, i.sub.C of the current supplied in each corresponding phase of the stator of rotary machine 4, and it delivers the intensity signal.
(55) Furthermore, voltage sensor 16 measures over time voltage v.sub.DC and delivers the voltage signal.
(56) Then, from target torque T.sub.ref, from the angular speed signal and from the voltage signal, current setpoint calculation device 20 calculates direct current setpoint i.sub.d,ref and quadrature current setpoint i.sub.q,ref.
(57) Moreover, from the intensity signal, second transformation device 26 calculates measured direct current i.sub.d and measured quadrature current i.sub.q.
(58) Then, from direct current setpoint i.sub.d,ref, quadrature current setpoint i.sub.q,ref, measured direct current i.sub.d and measured quadrature current i.sub.q, current control device 22 calculates direct voltage setpoint v.sub.d,ref and quadrature voltage setpoint v.sub.q,ref.
(59) More precisely, if the predetermined condition is fulfilled, current control device 22 calculates direct voltage setpoint v.sub.d,ref and quadrature voltage setpoint v.sub.q,ref according to the first method of calculation, which uses a single proportional-integral controller.
(60) If the predetermined condition is not fulfilled, current control device 22 calculates direct voltage setpoint v.sub.d,ref and quadrature voltage setpoint v.sub.q,ref according to the second method of calculation, which uses for example two proportional-integral type controllers.
(61) First transformation device 24 then calculates the first, second and third phase voltage setpoint v.sub.A,ref, v.sub.B,ref, v.sub.C,ref.
(62) Pulse width modulation device 28 then generates the switching control signal in order to control inverter 10 so that voltages v.sub.A, v.sub.B, v.sub.C applied by inverter 10 to the corresponding phases A, B, C of rotary machine 4 are equal to the first, second and third phase voltage setpoint v.sub.A,ref, v.sub.B,ref, v.sub.C,ref respectively.
(63) According to a variant of the invention, second transformation device 26 is configured to apply first a Clarke transformation to intensities i.sub.A, i.sub.B, i.sub.C, then a Park transformation to the result obtained, for obtaining measured direct current i.sub.d and measured quadrature current i.sub.q. The Clarke transformation is known per se.
(64) According to another variant, limit voltage v.sub.lim represents only a fraction of quantity a.Math.v.sub.DC, advantageously at least 0.5.Math.a.Math.v.sub.DC, and preferably at least 0.75.Math.a.Math.v.sub.DC, for example at least 0.9.Math.a.Math.v.sub.DC.
(65) According to another variant, the predetermined condition is verified when a second situation occurs where an angular speed co of the rotor, equal to the time derivative of angular position θ of the rotor, is greater than or equal to a predetermined base speed ω.sub.b.
(66) According to another variant, the predetermined condition is verified when one or the other of the previously described first situation or second situation occurs.
(67) According to another variant, current control device 22 is configured to calculate direct voltage setpoint v.sub.d,ref and quadrature voltage setpoint v.sub.d,ref according to the first method of calculation only, at all times and without verification of the fulfilment of any condition.
(68) According to another variant, calculator 18 is configured to control the operation of inverter 10 based not on target torque T.sub.ref, but on a target rotational speed corer of the rotor of rotary machine 4. In this case, calculator 18 further comprises a conversion device (not shown) configured to convert target rotational speed corer to the target torque T.sub.ref to be provided to target current calculation device 20. In particular, the conversion device is configured to convert target rotational speed ω.sub.ref to target torque T.sub.ref from the angular speed signal provided by angular speed sensor 12, by use of relation (7) as follows:
T.sub.ref=G.sub.p(ω.sub.ref−ω)+G.sub.i∫.sub.t.sub.
where G.sub.p and G.sub.i are two predetermined coefficients;
t.sub.0 is a predetermined initial instant; and
t.sub.f is a predetermined final instant later than the predetermined initial instant, a current instant for example.
(69) The method and the system according to the invention are particularly advantageous. Indeed, by using a single proportional-integral controller, the method according to the invention reduces the coupling between the direct and quadrature quantities, which results in less non-linearities in the control, and therefore enables control of the rotary machine wherein the maximum available voltage is applied to the terminals of the rotary machine, without any instability problems. Such a method is therefore capable of increasing the efficiency of the rotary machine during defluxing.
(70) Moreover, the method and the system according to the invention use linear relations for implementing control by the control accounting for a difference between the current i.sub.0 consumed by rotary machine 4 and current setpoint ref for determining quadrature voltage setpoint v.sub.q,ref according to a linear relation (without prior constraint on the value of quadrature voltage setpoint v.sub.q,ref). This results in increased stability in relation to some conventional control methods where, for example, the controlled quantity is an angle, in the rotating reference frame, of the terminal voltage of rotary machine 4. Because the relation between such an angle and the current consumed by rotary machine 4 is not linear, such a conventional method provides less satisfactory performances than the method according to the invention, notably in terms of stability.
(71) The method and the system according to the invention also enable monitoring of the angle formed between the respective directions of the magnetic fluxes of the magnets of the rotor and the currents, in the rotating reference frame attached to the rotor. It is thus possible to control the inverter to maintain the value of the angle below a predetermined angle, in order for example to prevent the machine from switching from motor mode operation, where the rotary machine absorbs energy and delivers a mechanical torque, to generator mode operation, where the rotary machine converts mechanical energy at the rotor to electrical energy.