Patent Description:
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.

<CIT> 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 (MP<NUM>C) may address in a unified approach the tasks of the inner current control loop and modulator. MP<NUM>C 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.

<CIT> discloses as nearest prior art a converter system supplying an electrical machine, in which a stator flux vector is estimated based on the measured stator current vector and the stator voltage. An operating point specific optimized pulse pattern for the converter is provided, and a stator flux reference angle is determined. A flux reference generator determines a stator flux reference from the optimized pulse pattern and the stator flux reference angle. A difference between the reference stator flux vector and the estimated stator flux vector is determined, and the switching pattern is manipulated to reduce this stator flux error, before applying it to the electrical converter.

Non-patent documents "<NPL>) and "<NPL>) disclose model predictive pulse pattern controller (MP 3C) for high-power converters driving an electrical machine using optimized pulse patterns.

MP<NUM>C 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, MP<NUM>C 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 MP<NUM>C, 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 MP<NUM>C, 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, <CIT> describes a method for using MP<NUM>C for drive systems, which has been proven a reliable method to regulate the rotor speed. In particular, <CIT> describes a manipulation of the switching instants of the offline computed OPP in real time. However, to achieve so, the method and in particular MP<NUM>C 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 MP<NUM>C, 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 invention to overcome the above-mentioned problems. In particular, it is an object of the present invention 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 invention 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 <NUM> A and/or <NUM> 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 of the invention, 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 "<NUM>" during nominal operation. Values below <NUM> 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.

The subject-matter of the invention 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.

<FIG> shows a circuit representation of an induction machine model in a rotating dq-reference frame for a d-axis.

<FIG> shows a circuit representation of an induction machine model in the rotating dq-reference frame of <FIG> for a q-axis.

<FIG> illustrates a definition of the rotating dq-reference frame of <FIG>.

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 <NUM> (see <FIG>) and ωm is a mechanical angular speed of the rotor and shaft of the electrical machine <NUM>. By principle of operation, ωr≠ωs due to a slip of the electrical machine <NUM>. A stator voltage vs is given by vs = [vsd, vsq]T, a stator (rotor) current is (ir) is given by is = [isd, isq]T (ir = [ird, irq]T), and a stator (rotor) flux vector ψs (ψr) is given by ψs = [ψsd, ψsq]T (ψr = [ψrd, ψrq]T). The stator (rotor) flux vector ψs (ψr) may be referred to as stator (rotor) flux linkage vector. A stator (rotor) winding resistance Rs (Rr) is denoted by Rs=diag(rs,rs) (Rr=diag(rr,rr)), a magnetizing reactance Xm is denoted by Xm=diag(xm,xm) and a stator (rotor) leakage reactance Xls (Xlr) is denoted by Xls=diag(xls,xls) (Xlr=diag(xlr,xlr)). All quantities, including time t, are normalized in a per unit (p.

Using Kirchoff's voltage law, the stator (rotor) voltage vs (vr) is given by <MAT>.

Here, the inverter voltage applied to the stator is given by <MAT> where <MAT> 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 <MAT> 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 <NUM> is given by <MAT> where pf is a power factor. Using formula (<NUM>), formula (<NUM>) may be written as <MAT> where y is an angle between stator and rotor flux linkage vectors ψs, ψr.

<FIG> shows a circuit representation of a permanent-magnet synchronous machine in the rotating dq-reference frame of <FIG> for a d-axis.

<FIG> shows a circuit representation of a permanent-magnet synchronous machine (PMSM) in the rotating dq-reference frame of <FIG> for a q-axis.

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 <MAT> 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 <NUM>. The stator flux vector ψs is given by <MAT>.

Applying Kirchoff's voltage law, the dynamics of the stator voltage vs are given by <MAT>.

The electromagnetic torque Te is given by <MAT>.

Note that due to the saliency of the electrical machine <NUM>, 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 (<NUM>) may be written as <MAT> where y 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 (MP<NUM>C) has been described in <CIT>. MP<NUM>C controls the position of the stator flux vector ψs of the electrical machine <NUM> 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 <CIT>.

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 <MAT>. 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. , (<NUM>) and (<NUM>)) that depends on the type of the electrical machine <NUM>, machine parameters, and/or the rotor flux vector ψr, e.g. on its orientation and/or magnitude. The electrical machine <NUM> 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.

<FIG> shows an example of a switching pattern modification by a MP<NUM>C as described in the above-mentioned prior art. An inner feedback loop of MP<NUM>C is responsible for driving the stator flux vector ψs towards the reference stator flux vector <MAT>. This task may be achieved by a pattern controller module <NUM> (see <FIG>), which may modify switching instants of the OPP to compensate for the difference between the stator flux vector ψs and the reference stator flux vector <MAT>. A resulting pulse pattern may be encoded in a switching signal uabc (see <FIG>) and may be used for driving the semiconductor switches of the electrical converter <NUM> (see <FIG>). To illustrate this control principle, a two-level converter with stator flux vector ψs in phase a may be given by <MAT> where va(t)∈{-Vdc/<NUM>, Vdc/<NUM>}, with Vdc denoting the voltage of a dc-link <NUM> (see <FIG>). Here, it is implicitly assumed that the stator resistance is negligible. It is noted that formula (<NUM>) may be used by an observer module <NUM> to compute the actual stator flux vector ψs. Let va(<NUM>)∈{-Vdc/<NUM>,Vdc/<NUM>} be the voltage output at t=<NUM> and assume that a switching transition Δva={-Vdc,Vdc} may occur at time ta∈(<NUM>,t). So, the reference stator flux vector <MAT> may be given by <MAT>.

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 <MAT>.

Hence, based on the difference between the measured stator flux vector ψs and the reference stator flux vector <MAT> the pattern controller <NUM> 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.

<FIG> shows an electrical system <NUM> comprising an electrical converter <NUM>, a DC link <NUM>, an electrical machine <NUM>, and a controller <NUM>. The electrical converter <NUM> comprises several semiconductor switches (not shown) and interconnects the DC link <NUM> with the electrical machine <NUM>. The electrical converter <NUM> may be controlled by the controller <NUM>. The electrical converter <NUM> may be an inverter. It may be a voltage source or a current source converter <NUM>. In particular, the converter <NUM> may be a high-power converter adapted for converting current with more than <NUM> A and/or <NUM> V. The electrical machine <NUM> 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.

As explained in the following, the controller <NUM> 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 <MAT>, during transient events and in the presence of disturbances in a dc-link voltage of the DC link <NUM>. This task may be achieved for a given and/or predetermined reference angular stator frequency <MAT> (or speed). By adjusting the reference angular stator frequency <MAT>, 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 MP<NUM>C counterpart, MF-SPPC does not rely on any information regarding the machine type and its parameters.

The controller <NUM> comprises an observer module <NUM> that may receive an output voltage vs of the electrical converter <NUM>. The output voltage vs may be an input for the electrical motor <NUM> and/or may be measured at corresponding outputs of the electrical converter <NUM>. The ob server module <NUM> may also receive a DC-link voltage of the DC-link <NUM> 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 <NUM>, instead of receiving the measured output voltage vs. Based on the measured output voltage vs, the observer module <NUM> may estimate a stator flux vector ψs of the electrical machine <NUM>.

An integration module <NUM> of the controller <NUM> may comprise an integrator. The integration module <NUM> may determine the reference stator angle <MAT> by integrating the reference angular stator frequency <MAT> with respect to time.

A flux reference module <NUM> of the controller <NUM> may determine a reference stator flux vector <MAT>, 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 <NUM> of the controller <NUM> based on a modulation index m provided by a modulation index module <NUM> of the controller <NUM> and a maximum allowed switching frequency f̂sw of the electrical converter <NUM>. The maximum allowed switching frequency f̂sw of the electrical converter <NUM> may be determined in advance and may be stored on a memory (not shown) of the controller <NUM>.

The modulation index module <NUM> may provide at its output the desired modulation index m. The modulation index module <NUM> may determine the modulation index m depending on the reference angular stator frequency <MAT>.

The pattern controller module <NUM> may be a conventional pattern controller module <NUM>, e.g. as described in the above-mentioned prior art. The pattern controller module <NUM> may provide one, two or more functionalities as described above with respect to <FIG>. The pattern controller module <NUM> may generate the vector of switch positions encoded in the switching signal uabc that may be applied to the converter <NUM>.

<FIG> shows a flow diagram of an exemplary embodiment of a method for controlling the electrical converter <NUM> for driving the electrical machine <NUM>. The method may be carried out by the controller <NUM>.

In the following, normalized quantities are used and it is focused on a three-phase inverter <NUM> connected to an electrical machine <NUM>. 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 <NUM>, e.g. by the observer <NUM>. The at least one measurement in the electrical converter <NUM> may comprise measuring the stator voltage vs of the electrical converter <NUM>. Then, the stator flux vector ψs may be estimated depending on the stator voltage vs, e.g. by the above formulas (<NUM>) or (<NUM>).

In a step S4, the optimized pulse pattern OPP for the electrical converter <NUM> may be determined, e.g. as described in <CIT>. For example, the optimized pulse pattern OPP may be determined depending on the modulation index m and/or the maximum allowed switching frequency f̂sw, e.g. by the pattern loader module <NUM>, wherein the modulation index m may be determined depending on a reference stator flux magnitude <MAT> and/or depending on the reference angular stator frequency <MAT>. In particular, the optimized pulse pattern OPP may be determined depending on the reference stator flux magnitude <MAT>, 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 <NUM>. 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 <NUM>. 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 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 <MAT> of the stator flux vector ψs may be determined depending on the reference angular stator frequency <MAT>, e.g. by the integration module <NUM>.

In a step S8, the reference flux vector <MAT> may be determined depending on the optimized pulse pattern OPP and the reference stator angle <MAT>, e.g. by the flux reference module <NUM>.

In a step S10, the difference between the reference stator flux vector <MAT> and the estimated stator flux vector ψs, i.e. the stator flux error, may be determined, e.g. by the controller <NUM>.

In a step S12, the switching instants of the optimized pulse pattern OPP may be modified, e.g. by the pattern controller module <NUM>, e.g. such that the stator flux error is minimized, e.g. as explained above and/or described in <CIT>.

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 <NUM>, e.g. by the pattern controller module <NUM>.

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.

Other variations to the disclosed embodiments can be understood and effected by those skilled in the art. A single processor or controller or other unit may fulfil the functions of several items recited in the claims.

Claim 1:
A method for controlling an electrical converter (<NUM>) for driving an electrical machine (<NUM>), the method comprising:
estimating a stator flux vector (ψs) depending on at least one measurement in the electrical converter (<NUM>);
determining an optimized pulse pattern (OPP) for the electrical converter (<NUM>) depending on a reference angular stator frequency ( <MAT>);
determining a reference stator angle ( <MAT>) of the stator flux vector (ψs) depending on the reference angular stator frequency ( <MAT>);
determining a reference stator flux vector ( <MAT>) depending on the optimized pulse pattern (OPP) and the reference stator angle ( <MAT>);
determining a difference between the reference stator flux vector ( <MAT>) and the estimated stator flux vector (ψs);
modifying switching instants of the optimized pulse pattern (OPP), such that the difference is minimized; and
applying at least a part of the modified optimized pulse pattern (OPP) to the electrical converter (<NUM>).