The disclosure relates to the field of high-power electronics. In particular, the disclosure relates to a method, a computer program, and a controller for controlling an electrical converter, and to an electrical converter and a computer-readable medium, on which the computer program may be stored.
Optimized pulse patterns (OPPs) relate to a specific pulse width modulation method. Offline computed and optimized pulse patterns may be used for modulating the semiconductor switches in an electrical converter. Based on the actual speed and flux reference (provided for example by an outer control loop), a controller may determine a best suited offline computed pulse pattern, which then may be applied to the semiconductor switches of the electrical converter. Offline computed optimized pulse patterns may allow the minimization of the overall current distortion for a given switching frequency.
When the electrical converter is used for driving an electrical machine, the harmonic losses in the stator winding of the electrical machine may be proportional to the current distortion, while the switching losses of the power inverter may be related to the switching frequency. In a grid-connected converter setting, stringent standards may be imposed on the voltage and current distortions a converter may inject into the grid. Traditionally, it has only been possible to use optimized pulse patterns in a modulator driven by a very slow control loop. This may lead to very long transients and to harmonic excursions of the currents when changing the operating point.
EP 2 469 692 A1 describes a control method that combines the merits of direct torque control and optimized pulse patterns, by manipulating in real time the switching instants of the pre-computed optimized pulse patterns, so as to achieve fast closed-loop control. This so-called model predictive pulse pattern controller (MP3C) may address in a unified approach the tasks of the inner current control loop and modulator. MP3C may control a flux vector, which, in case of an electrical converter driving an electrical machine, is typically the stator flux linkage vector of the electrical machine. For grid-connected converters, the virtual converter flux may constitute the flux vector.
MP3C achieves short response times during transients, and a good rejection of disturbances. At steady-state operating conditions, due to the usage of optimized pulse patterns, a nearly optimal ratio of harmonic current distortions per switching frequency may be obtained. Compared to state-of-the-art trajectory controllers, MP3C may provide two advantages. First, a complicated observer structure to reconstruct the fundamental quantities may not be required. Instead, a flux space vector, which may be the controlled variable, may be estimated directly by sampling the currents and the DC-link voltage at regular sampling intervals. Second, by formulating an optimal control problem and using a receding horizon policy, the sensitivity to flux observer noise may be greatly reduced.
During transient operation, such as reference step or ramp changes, large disturbances and faults, the controlled variables, such as currents, electromagnetic torque and flux linkage, are typically required to change in a step-like fashion or they may have to follow a steep ramp. Examples may include fast torque steps in high performance drives and power steps in low-voltage ride through operation.
In MP3C, closed-loop control may be achieved by modifying the switching instants of the optimized pulse patterns' switching transitions in real time. More specifically, the switching transitions are modified in time such that the flux error may be removed at a future time instant. Note that in optimized pulse patterns, the switching transitions are not evenly distributed in time. At very low switching frequencies, long time intervals may arise between two switching transitions. When a reference step is applied at the beginning of such a time interval, a significant amount of time may elapse before the controlled variables start to change, resulting in a long initial time delay and also prolonging the settling time.
Once the controlled variable has started to change, the transient response may be sluggish and significantly slower than when using deadbeat control or direct torque control, for example. The sluggish response is typically due to the absence of a suitable voltage vector that moves the controlled flux vector with the maximum speed and in the direction that ensures the fastest possible compensation of the torque or current error. In order to ensure a very fast transient response during a transient, at least one phase may need to be connected to the upper or lower DC-link rail of the converter. In a low-voltage ride through setting, for example, this may imply reversing the voltage in at least one phase from its maximal to its minimal value, or vice versa, during a major part of the transient.
Directly related to the behaviour of sluggish transient responses is the issue of current excursions during transients. Such excursions may occur when the switching transitions, which are to be shifted in time so as to remove the flux error, are spread over a long time interval. This may increase the risk that the flux vector is not moved along the shortest path from its current to its new desired position. Instead, the flux vector may temporarily deviate from this path, exceeding its nominal magnitude. This may be equivalent to a large current, which may result in an over-current trip.
Related issues may also arise at quasi steady-state operating conditions, where small variations in the operating point and/or the inverter voltages occur. Specifically, fluctuations in the DC-link voltage, resistive voltage drops in the machine's stator windings or in the grid impedance and transitions between different pulse patterns may lead to a degradation of the closed-loop performance of MP3C, if they are not properly accounted for.
Particularly in cases, where the optimized pulse patterns' switching transitions exhibit an uneven distribution in time and when a very low switching frequency is used, these flux errors may not be accounted for in a timely fashion due to the absence of suitable switching transitions. As a result, large flux errors may arise that build up and persist over significant periods of time, leading to a poor tracking of the optimized pulse pattern's optimal flux trajectory. This may impact the total harmonic distortion of the current in a detrimental way.
With respect to the above problems, EP 2 891 241 B1 describes a method for using MP3C for drive systems, which has been proven a reliable method to regulate the rotor speed. In particular, EP 2 891 241 B1 describes a manipulation of the switching instants of the offline computed OPP in real time. However, to achieve so, the method and in particular MP3C relies on knowledge of the machine type and its parameters, and an accurate online estimation of the rotor flux. So, in order to be able to use MP3C, the machine type and its parameters had to be known and an accurate online estimation of the rotor flux had to be carried out. Thus, the machine type and its parameters had to be known when the controller for controlling the electrical machine is produced. So, it was not possible to produce and/or program a generally usable controller which may work for different machine types, wherein at least some of these different machine types were not known at the time of the production and/or, respectively programming of the controller. Moreover, some machine parameters may not be known or available at the time of commissioning of the converter drive system, and/or they may be time varying. In addition, accurately estimating the rotor flux online may require large processing resources and/or a relatively long time.
It is an object of the present disclosure to overcome the above-mentioned problems. In particular, it is an object of the present disclosure to provide a method for controlling an electrical converter for driving an electrical machine, wherein the method may be carried out without any knowledge about the machine type of the electrical machine and its parameters, wherein the method is quick to commission, wherein the method only requires few processing resources, and/or wherein the method may be carried out quickly. Further, it is an object of the present disclosure to provide a corresponding computer program, a corresponding controller for controlling an electrical converter, a corresponding an electrical converter, and a corresponding computer-readable medium.
These objects are achieved by the subject-matter of the independent claims. Further exemplary embodiments are evident from the dependent claims and the following description.
An aspect relates to a method for controlling an electrical converter for driving an electrical machine. The electrical converter may be an inverter or an active rectifier. It may be an indirect or a direct converter. In particular, the converter may be a high-power converter adapted for converting current with more than 100 A and/or 1000 V. The electrical machine may be an electric motor or a generator, or it may be operated as an electric motor in a first operation mode and as a generator in a second operation mode.
According to an embodiment, the method comprises the steps of: estimating a stator flux vector depending on at least one measurement in the electrical converter; determining an optimized pulse pattern for the electrical converter depending on a reference angular stator frequency; determining a reference stator angle of the stator flux vector depending on the reference angular stator frequency; determining a reference stator flux vector depending on the optimized pulse pattern and the reference stator angle; determining a difference between the reference stator flux vector and the estimated stator flux vector; modifying switching instants of the optimized pulse pattern, such that the difference is minimized; and applying at least a part of the modified optimized pulse pattern to the electrical converter.
This enables one to drive the electrical machine without knowing the machine type of the electrical machine and its parameters. Further, no online estimation of the rotor flux has to be carried out. Thus, the machine type and its parameters do not have to be known when the controller for carrying out the method is produced. So, the above method enables one to produce and/or program a generally usable controller which may work for different machine types, wherein at least some of these different machine types are not known at the time of the production and/or, respectively programming of the controller. In addition, no large processing resources and/or relatively long processing times are required for accurately estimating the rotor flux online.
The above method provides a Model-Free Scalar Pulse Pattern Control (MF-SPPC) scheme. The MF-SPPC scheme may be a scalar closed-loop control scheme that achieves speed-control of an electrical machine by regulating a magnitude of the stator flux to its reference value, the reference stator flux magnitude, during transient events and in the presence of disturbances in a dc-link voltage of the electrical system comprising the electrical converter and the electrical machine. This task may be achieved for a given and/or predetermined reference angular stator frequency (or speed). By adjusting the reference angular stator frequency, a steady state value of an angular rotor speed may also be adjusted. In case of the electrical machine being an induction machine, the angular rotor speed will only approximate the reference angular stator frequency at steady state due to a slip between the rotor and the stator of the electrical machine. In case of a Permanent Magnet Synchronous Machine (PMSM), the angular rotor speed will eventually converge to the reference angular stator frequency at steady state due to a synchronism in the rotor and stator magnetic fields. Special care may be needed when adjusting the angular stator frequency not to drive the PMSM out of its synchronization. In this context, the MF-SPPC scheme may be seen as a bare bone control scheme based on OPPs which does not rely on any knowledge of the machine type and its parameters to achieve its control objectives.
The stator flux vector may be referred to as stator flux linkage vector.
According to an embodiment, the reference stator angle is determined by integrating the reference angular stator frequency. The reference stator angle may be determined by a proportional-integral (PI) controller which receives the reference angular stator frequency as an input.
According to an embodiment, the optimized pulse pattern is be determined depending on the reference stator flux magnitude. The reference stator flux magnitude may be set to “1” during nominal operation. Values below 1 may be used for induction machines operating at speeds exceeding its field-weakening point, so called field weakening. The fundamental component may determine a modulation index of the optimized pulse pattern.
According to an embodiment, the optimized pulse pattern is determined depending on a modulation index and/or a maximum allowed switching frequency. The modulation index may be determined depending on a reference stator flux magnitude. The maximum allowed switching frequency may be determined in advance, e.g. empirically, e.g. by a manufacturer of the electrical converter and/or the controller.
According to an embodiment, the at least one measurement in the electrical converter comprises measuring a stator voltage of the electrical converter. The stator flux vector may be estimated depending on the stator voltage.
According to an embodiment, the optimized pulse pattern comprises a sequence of switching transitions at switching instants between different switching states of the converter. The optimized pulse pattern may be loaded from a table of optimized pulse patterns stored in the controller performing the above method. The table of optimized pulse patterns may be indexed with respect to the modulation index. Optionally, the table of optimized pulse patterns may be indexed with respect to the maximal switching frequency. For each optimized pulse pattern in the table, switching transitions at switching instants may be stored. Optionally, for each optimized pulse pattern in the table a reference stator flux may be stored.
Another aspect relates to a computer program, which when being executed on a processor, e.g. a processor of the controller, is adapted for executing the steps of the above method.
Another aspect relates to a computer-readable medium in which the computer program is stored. The computer-readable medium may be a floppy disk, a hard disk, an USB (Universal Serial Bus) storage device, a RAM (Random Access Memory), a ROM (Read Only Memory), and an EPROM (Erasable Programmable Read Only Memory). The computer-readable medium may also be a data communication network, e.g. the Internet, which allows downloading a program code.
Another aspect relates to a controller for controlling the electrical converter adapted for executing the steps of the above method. For example, the control method, i.e. the above method, may be implemented on any computational hardware including DSPs, FPGAs, microcontrollers, CPUs, GPUs, multi-core platforms, and combinations thereof. In particular, the controller may comprise a memory in which the above-mentioned computer program is stored and may comprise the processor for executing the computer program.
Another aspect relates to an electrical converter, comprising a plurality of semiconductor switches and the above controller adapted for controlling the semiconductor switches of the electrical converter. The converter may be any multi-level power converter, such as a two-level converter, a three-level converter, a neutral point clamped three-level converter, a flying-capacitor four-level converter, a five-level converter, a cascaded H-bridge five-level converter, a modular multi-level converter, etc.
The electrical converter may be used on the machine side and/or on the grid side. For example, on the machine side case, the controller may control the electrical machine's stator flux vector along a pre-defined and optimal trajectory. A sine filter with inductive and capacitive elements and/or a long cable may be present between the electrical converter and the electrical machine. The controlled variables may comprise the electromagnetic torque and/or the magnitudes of the stator flux vectors. In the grid side case, the electrically converter may be connected via a sine filter and/or a transformer to the grid. The electrical converter's virtual flux vector may be controlled along a given trajectory by manipulating the converter switches. The controlled variables may comprise the real and/or the reactive power and/or the converter currents and/or the virtual converter flux.
It has to be understood that features of the method as described in the above and in the following may be features of the computer program, the computer-readable medium, the controller, and/or the electrical converter as described in the above and in the following.
These and other aspects of the disclosure will be apparent from and elucidated with reference to the embodiments described hereinafter.
The subject-matter of the disclosure will be explained in more detail in the following text, with reference to exemplary embodiments which are illustrated in the attached drawings.
The reference symbols used in the drawings and their meanings are listed in the summary form in the list of reference symbols. In principle, identical parts are provided with the same reference symbols in the figures.
The dq-reference frame rotates with the angular stator frequency ωs, with its d-axis position denoted by φs. An electrical angular rotor speed is ωr=pωm, where p is a number of pole pairs of an electrical machine 18 (see
Using Kirchoff's voltage law, the stator (rotor) voltage vs (vr) is given by
Here, the inverter voltage applied to the stator is given by
is the matrix used to transform quantities from an abc-reference frame into the dq-reference frame. The stator and rotor flux vectors ψs, ψr are given by
where Xs=Xls+Xm and Xr=Xlr+Xm are the stator and, respectively, rotor linkage reactances Xs, Xr. An electromagnetic torque Te of the electrical machine 18 is given by
where pf is a power factor. Using formula (4), formula (5) may be written as
where γ is an angle between stator and rotor flux linkage vectors ψs, ψr.
The dq-reference frame rotates with the angular stator speed ωs. By principle of operation, ωs=ωr. It may be assumed that the d-axis is aligned with the orientation of the permanent magnet mounted on the rotor of the PMSM. Hence, the rotor flux vector ψr is given by
where im is a hypothetical constant magnetization current flowing through the magnetizing inductance xmd. A constant magnetic flux linkage is denoted by ΨPM and is generated by a permanent magnet of the electrical machine 18. The stator flux vector ψs is given by
Applying Kirchoff's voltage law, the dynamics of the stator voltage vs are given by
The electromagnetic torque Te is given by
Note that due to the saliency of the electrical machine 18, the electromagnetic torque Te is also a function of the d-component of the stator flux. Recalling that the d-axis of the rotating dq-reference frame is aligned with the rotor flux vector ψr, the stator flux vector ψs may be expressed by ψs=[∥ψs∥cos(γ), ∥ψs∥sin(γ)]T.
Then, formula (10) may be written as
where γ is the angle between stator and rotor flux vectors ψs, ψr.
Optimized pulse patterns (OPPs) relate to a specific pulse width modulation (PWM) method which enables minimization of the harmonic current distortions for a given switching frequency and are well known in the art. Compaed with carrier-based PWM, the use of OPPs results in a lower switching frequency of semiconductor devices of an electrical converter for a given current total harmonic distortion (THD), in a lower current THD for a given switching frequency which implies lower machine losses of the electrical machine, and in lower machine inductances or smaller LC filters during the system design phase as an effect of the ability of OPPs to shape the current harmonic spectrum.
Hence, it can be inferred that the use of OPPs lifts the artificial and unnecessary constraint of a fixed modulation interval imposed in carrier-based PWM when optimizing the system during design and operation.
To enable the use of OPPs in electrical drive systems, the concept of model predictive pulse pattern control (MP3C) has been described in EP 2 469 692 A1. MP3C controls the position of the stator flux vector ψs of the electrical machine 18 along an optimal flux trajectory, which is the integral of the OPP voltage waveform over time. It achieves this by manipulating in real time the switching instants of the offline computed OPP, as described in EP 2 891 241 B1.
A control objective of a drive system may be to achieve a regulation of the electrical angular rotor speed ψr to the desired reference value ψr*. This may be achieved by appropriately adjusting the angle between stator and rotor flux vector ψs, ψr which may be computed by solving a nonlinear trigonometric equation (c.f., (6) and (11)) that depends on the type of the electrical machine 18, machine parameters, and/or the rotor flux vector ψr, e.g. on its orientation and/or magnitude. The electrical machine 18 may for example be an induction machine or permanent magnet machine. The machine parameters may for example be magnetizing and leakage inductances. However, acquiring knowledge of these quantities is a hard task in several applications, while robustness of the system is hindered by a false estimation of them.
where va(t)∈{−Vdc/2, Vdc/2}, with Vdc denoting the voltage of a dc-link 16 (see
Here, it is implicitly assumed that the stator resistance is negligible. It is noted that formula (12) may be used by an observer module 22 to compute the actual stator flux vector ψs. Let va(0)∈{−Vdc/2, Vdc/2} be the voltage output at t=0 and assume that a switching transition Δva={−Vdc,Vdc} may occur at time ta∈(0,t). So, the reference stator flux vector ψs* may be given by
If this switching instant is delayed or forwarded by a time interval Δta, i.e. the switching instant occurs at time ta+Δta, this results in
This implies that
Hence, based on the difference between the measured stator flux vector ψs and the reference stator flux vector ψs* the pattern controller 36 may decide whether there is a need to delay or advance the OPP switching instants. Although this section illustrates the basic principle of operation of the pattern controller, the actual implementation may be more complicated, including functionalities such as pulse insertion which may allow for fast control of the stator flux during transients and to achieve disturbance rejection.
As explained in the following, the controller 20 embodies a Model-Free Scalar Pulse Pattern Control (MF-SPPC) scheme. The MF-SPPC scheme may be a closed-loop control scheme responsible for regulating a magnitude of a stator flux to its reference value, in particular the reference stator flux magnitude ψs*, during transient events and in the presence of disturbances in a dc-link voltage of the DC link 16. This task may be achieved for a given and/or predetermined reference angular stator frequency ψs* (or speed). By adjusting the reference angular stator frequency ωs*, a steady state value of an angular rotor speed may also be adjusted. The MF-SPPC scheme may be seen as a bare bone control scheme based on OPPs which does not rely on any knowledge of the machine type and its parameters to achieve its control objectives. In particular, unlike its MP3C counterpart, MF-SPPC does not rely on any information regarding the machine type and its parameters.
The controller 20 comprises an observer module 22 that may receive an output voltage vs of the electrical converter 12. The output voltage vs may be an input for the electrical motor 18 and/or may be measured at corresponding outputs of the electrical converter 12. The observer module 22 may also receive a DC-link voltage of the DC-link 16 and/or a switching signal uabc, in which three-phase switch positions are encoded, to reconstruct the output voltage vs applied to input terminals of the electrical machine 18, instead of receiving the measured output voltage vs. Based on the measured output voltage vs, the observer module 22 may estimate a stator flux vector ψs of the electrical machine 18.
An integration module 38 of the controller 20 may comprise an integrator. The integration module 38 may determine the reference stator angle θs* by integrating the reference angular stator frequency ωs* with respect to time.
A flux reference module 28 of the controller 20 may determine a reference stator flux vector ψs*, which lies on an optimal flux trajectory, and may have a desired angle and a desired magnitude. In particular, the optimal flux trajectory may be obtained by integrating a pre-calculated optimized pulse pattern OPP that is selected by a pattern loader module 32 of the controller 20 based on a modulation index m provided by a modulation index module 30 of the controller 20 and a maximum allowed switching frequency {circumflex over (f)}sw of the electrical converter 12. The maximum allowed switching frequency {circumflex over (f)}sw of the electrical converter 12 may be determined in advance and may be stored on a memory (not shown) of the controller 20.
The modulation index module 30 may provide at its output the desired modulation index m. The modulation index module 30 may determine the modulation index m depending on the reference angular stator frequency ωs*.
The pattern controller module 36 may be a conventional pattern controller module 36, e.g. as described in the above-mentioned prior art. The pattern controller module 36 may provide one, two or more functionalities as described above with respect to
In the following, normalized quantities are used and it is focused on a three-phase inverter 12 connected to an electrical machine 18. However, it has to be understood that the following embodiments also may be applied to an inverter connected to a general p-phase load or to a grid-connected converter connected to a power grid, in which the converter may be grid forming by setting the amplitude and frequency of the grid voltage. Additional passive elements, such as filters, transformers and/or cables may be added.
In a step S2, the stator flux vector ψs may be estimated depending on at least one measurement in the electrical converter 12, e.g. by the observer 22. The at least one measurement in the electrical converter 12 may comprise measuring the stator voltage vs of the electrical converter 12. Then, the stator flux vector ψs may be estimated depending on the stator voltage vs, e.g. by the above formulas (1) or (9).
In a step S4, the optimized pulse pattern OPP for the electrical converter 12 may be determined, e.g. as described in EP 2 469 692 A1. For example, the optimized pulse pattern OPP may be determined depending on the modulation index m and/or the maximum allowed switching frequency {circumflex over (f)}sw, e.g. by the pattern loader module 32, wherein the modulation index m may be determined depending on a reference stator flux magnitude ψs* and/or depending on the reference angular stator frequency ωs*. In particular, the optimized pulse pattern OPP may be determined depending on the reference stator flux magnitude ψs*, wherein the fundamental component stator flux vector ψs may determine the modulation index m of the optimized pulse pattern OPP.
The optimized pulse pattern OPP may comprise a sequence of switching transitions at switching instants between different switching states of the converter 12. The determined optimized pulse pattern OPP may be loaded from a table of optimized pulse patterns. The table of optimized pulse patterns may be stored in a memory of the controller 20. The table of optimized pulse patterns may be indexed with respect to the modulation index m, and optionally with respect to the maximum allowed switching frequency {circumflex over (f)}sw. For each optimized pulse pattern OPP in the table, switching transitions at switching instants may be stored.
In a step S6, the reference stator angle θs* of the stator flux vector ψs may be determined depending on the reference angular stator frequency ωs*, e.g. by the integration module 38.
In a step S8, the reference flux vector ψs* may be determined depending on the optimized pulse pattern OPP and the reference stator angle θs*, e.g. by the flux reference module 28.
In a step S10, the difference between the reference stator flux vector ψs* and the estimated stator flux vector ψs, i.e. the stator flux error, may be determined, e.g. by the controller 20.
In a step S12, the switching instants of the optimized pulse pattern OPP may be modified, e.g. by the pattern controller module 36, e.g. such that the stator flux error is minimized, e.g. as explained above and/or described in EP 2 891 241 B1.
In a step S14, at least a part of the modified optimized pulse pattern OPP, e.g. by the switching signal uabc, may be applied to the electrical converter 12, e.g. by the pattern controller module 36.
The functional modules may be implemented as programmed software modules or procedures, respectively; however, someone skilled in the art will understand that the functional modules may be implemented fully or partially in hardware.
While the disclosure has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and not restrictive; the disclosure is not limited to the disclosed embodiments. Other variations to the disclosed embodiments can be understood and effected by those skilled in the art and practising the claimed disclosure, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word “comprising” does not exclude other elements or steps, and the indefinite article “a” or “an” does not exclude a plurality. A single processor or controller or other unit may fulfil the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. Any reference signs in the claims should not be construed as limiting the scope.
Number | Date | Country | Kind |
---|---|---|---|
22155947.9 | Feb 2022 | EP | regional |
This application claims priority to International Patent Application No. PCT/EP2023/050425, filed Jan. 10, 2023 and titled “METHOD, COMPUTER PROGRAM, AND CONTROLLER FOR CONTROLLING AN ELECTRICAL CONVERTER, ELECTRICAL CONVERTER, AND COMPUTER-READABLE MEDIUM”, which claims priority to European Patent Application No. 22155947.9, filed Feb. 9, 2022 and titled “METHOD, COMPUTER PROGRAM, AND CONTROLLER FOR CONTROLLING AN ELECTRICAL CONVERTER, ELECTRICAL CONVERTER, AND COMPUTER-READABLE MEDIUM”, and the entire contents of each are hereby incorporated by reference in their entirety.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2023/050425 | 1/10/2023 | WO |