CA2762473A1 - Method for controlling a converter - Google Patents

Method for controlling a converter Download PDF

Info

Publication number
CA2762473A1
CA2762473A1 CA2762473A CA2762473A CA2762473A1 CA 2762473 A1 CA2762473 A1 CA 2762473A1 CA 2762473 A CA2762473 A CA 2762473A CA 2762473 A CA2762473 A CA 2762473A CA 2762473 A1 CA2762473 A1 CA 2762473A1
Authority
CA
Canada
Prior art keywords
switching
flux
converter
switching sequence
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CA2762473A
Other languages
French (fr)
Other versions
CA2762473C (en
Inventor
Tobias Geyer
Frederick Kieferndorf
Georgios Papafotiou
Nikolaos Oikonomou
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ABB Schweiz AG
Original Assignee
ABB Research Ltd Sweden
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ABB Research Ltd Sweden filed Critical ABB Research Ltd Sweden
Publication of CA2762473A1 publication Critical patent/CA2762473A1/en
Application granted granted Critical
Publication of CA2762473C publication Critical patent/CA2762473C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Ac Motors In General (AREA)

Abstract

A converter 12 for an electrical system 10 is controlled in such a way, that switching sequences for the converter 12 that have been determined with respect to a certain first optimization goal are modified in a second step in such a way, that the switching sequence is further optimized by correcting a flux error that may be the result of assumptions on which the first optimization of the switching sequence is based.

Description

DESCRIPTION
METHOD FOR CONTROLLING A CONVERTER V

FIELD OF THE INVENTION

The invention relates to the field of power electronics. In particular, the invention relates to a method for controlling a converter for an electrical system, a program element for controlling a converter, a computer-readable medium, a controller for a converter and a converter.

BACKGROUND OF THE INVENTION

Converters are used in electrical systems for transforming an input voltage, which may be a first DC voltage or a first AC voltage of a first frequency, into an output voltage, which may by a second DC voltage or a second AC voltage of a second frequency.

For example, if the converter is used as an inverter, the input voltage may be a DC link voltage and the output voltage may be used for supplying an electrical load such as an electrical machine with electrical current. Conversely, a converter may be used as a rectifier in which case it is connected to an electrical grid and transforms an input AC
voltage into a DC output voltage.

Nearly all converters comprise semiconductor switches which generate the output voltage, for example for each phase of the electrical system. The switches are controlled by a controller that determines the next switching transition and applies this switching transition to the switches. The switching transition may comprise a set of switching states (i.e. whether the respective switch is opened or closed) and the time instant (i.e. the time point) at which these switching states are applied to the converter.

There are several possibilities for how these switching transitions can be generated by the controller.

For example, model predictive direct torque control (MPDTC) may be used for controlling internal states of the electrical system while generating the switching transitions. Internal states of an electrical drive may be the torque and the electromagnetic fluxes in the motor. In MPDTC, switching sequences, i.e. sequences of switching
2 transitions over a certain switching horizon are optimized in real time. For example, the corresponding torque, stator flux and neutral point trajectories may be computed using an internal machine model and then an optimal switching sequence may be chosen that features the lowest switching losses or the lowest switching frequency. The first switching transition of the switching sequence may then be applied to the converter and the next sequence may be optimized online.

Direct torque control may achieve a very fast torque response, but it may lead to relatively high values of harmonic distortion of the stator currents and of the electromagnetic torque of the controlled machine for a given value of the switching frequency or of the switching losses.

Another possibility is the use of optimized pulse patterns (OPPs). Generally, an optimized pulse pattern may be a sequence of switching transitions that has been optimized with respect to a certain optimization goal. For example, optimized pulse patterns may be computed offline for all modulation indices and switching frequencies of the motor, or of any other physical system that acts as the load of the converter, and may be optimized such that the overall current distortion for a given switching frequency is minimal. The controller may select an optimized pulse pattern from a look-up table in which the optimized pulse patterns are stored and may apply the switching transitions of the selected optimized pulse pattern to the converter. However, the application of optimized pulse patterns may lead to very long transients and to harmonic excursions of the stator currents when changing the operating point: even very small changes of the operating point may lead to comparatively high excursions of the harmonic current. Such harmonic excursions may be quantified as current errors or, equivalently, as flux errors.

DESCRIPTION OF THE INVENTION

It is an object of the invention to provide a converter with fast control response, in particular with fast torque response and low harmonic distortion.

This objective is achieved by the subject-matter of the independent claims and the following embodiments. Further exemplary embodiments are evident from the dependent claims and the following description.

A first aspect of the invention relates to a method for controlling a converter for an electrical system. An electrical system may be an electrical machine, for example a motor or a generator, or may be a power grid or any other electrical load.
3 According to an embodiment of the invention, the electrical system may be a multi-phase system, i.e. a system which comprises not only one phase but a plurality of phases, in particular three phases.

According to an embodiment of the invention, the converter is adapted to generate at least one output voltage from (at least one) input voltage by switches, for example semiconductor switches. For example, the converter may be part of an indirect converter and may be adapted for converting a DC input voltage in a plurality of phases of output voltage. The semiconductor switches of the converter may be high power semiconductor switches and the converter may be adapted to be operated with currents in the range up to 10 kA and voltages between 1 kV and 35 kV.

According to an embodiment of the invention, the method comprises the step of (a) determining a switching sequence for the converter based on an actual state of the electrical system. The switching sequence may comprise a sequence of switching transitions of the converter, wherein each switching transition comprises a transition time.
In general, a switching transition may comprise a time instant of the transition, i.e. the transition time or the switching instant, and a voltage level. The time instant may indicate when the converter should generate the switching transition, such that the switching states of the switches are such that the converter generates the voltage level of the switching transition.

For example, if the converter is a two-level inverter, the output voltage of the inverter may be 0 and +Vdc and the inverter has the voltage levels 0 and +1, wherein the voltage Vdc is the DC-link voltage. If the inverter is a three-level converter, the output voltages may be -Vdc, 0, +Vdc with voltage levels -1, 0, +1.

The time instant of the switching transition may be given with the switching angle. The time instant of the switching transition may then be derived from the switching angle with the aid of the current frequency of the electrical system.

In a multi-phase system, the output voltage may be a multi-phase voltage and the switching transitions may comprise voltage levels for each of the phases of the output voltage.

Examples for the actual state of the electrical system are the instantaneous currents or voltages of the drive or of the grid, the estimated fluxes in the system, for example an estimated rotor flux and an estimated stator flux and an estimated torque for an electrical motor. Further examples include the DC-link voltage, and the real and reactive powers of
4 the load. It has to be noted, that even in the case that the electrical system does not comprise a machine, for example in the case when the electrical system is a power grid, virtual fluxes, for example a virtual rotor flux and a virtual stator flux may be defined via impedances of the grid, a filter and/or a transformer between the converter and the grid.
These virtual fluxes may be used for estimating a virtual torque.

According to an embodiment of the invention, the estimation of values of the actual or current state of the electrical system may be based on a model of the system.
In particular, currents and voltages of the system, for example currents and voltages in the machine, may be measured and from this, the fluxes may be calculated or determined with the aid of an internal model of the machine.

According to an embodiment of the invention, the method comprises the step of (b) modifying the switching sequence by altering at least one transition time of a switching transition of the switching sequence, such that a flux error based on a difference between an estimated flux of the electrical system and a reference flux of the electrical system is eliminated or minimized.

It may be possible, that the switching sequence has been generated in such a way, that a certain optimization goal is reached, for example the total harmonic distortion of the electrical system (THD) has been minimized. However, during the optimization calculation, certain assumptions with respect to the electrical systems have been made. For example, the switching sequence has been calculated such that the total harmonic distortion of the electrical system is minimized under the assumption that the electrical system is operating at steady state.

To compensate these errors, the switching sequence may be altered in such a way, that a flux error is compensated. For example, the flux error may be the difference between the estimated flux and the reference flux. The estimated flux may have been determined from the actual state of the electrical system, for example the reference flux has already been determined during the generation of the switching sequence; and the switching sequence may be altered by moving the transition times of the switching transitions, i.e. only the transition times are altered but not the voltage level of the switching transitions. In such a way, the flux error may be compensated and the optimization goal with which the switching sequence has been generated may still nearly be reached by the modified switching sequence.

According to an embodiment of the invention, the method comprises the step of (c) applying the modified switching sequence to the converter. For example, the controller of the converter comprises a memory in which an actual switching sequence is stored which the controller applies to the converter in a periodic way. When a modified switching
5 sequence has been estimated or calculated, the actual switching sequence may be replaced by the modified switching sequence.

To summarize, it may be a gist of the invention that a converter for an electrical system is controlled in such a way, that switching sequences for the converter that have been determined offline with respect to a certain optimization goal are modified in a second step in such a way, that the switching sequence may be optimized further in real time by correcting a flux error that may be the result of certain assumptions on which the first optimization of the switching sequence is based.

Further sources of flux error may be model uncertainties in the machine model or the grid model or DC-link fluctuations that may not be predicted exactly. During transient operation, OPPs may be altered, since these transients may not be predicted or calculated and may not be planned. Transient operations may comprise the switching between different OPPs, for example from an OPP with pulse number d=6 to an OPP with pulse number d=5. Also in these cases a flux error may occur, which may have to be compensated.

According to an embodiment of the invention, in step (d) a transition time is altered by adding a time offset to the transition time, wherein the time offset is determined such that the flux error is at least partly compensated. In general, the flux associated with a time dependent voltage is proportional to the integral over time of the time dependent voltage.
Thus, a flux error may be compensated by adding a time offset to a transition time, i.e. by shifting (advancing or delaying) the transition time. The transition time or a number of transition times may be moved in time such that the modified switching sequence has a flux that is nearly equal to the reference flux, i.e. such that the flux error is compensated.

It should be noted, that in a multi-phase system each phase of the system may have a different flux error, i.e. there is a flux error for each phase of the system and the flux error is a vector.

In general, not only one transition time will be altered, but at least some of the transition times or all of the transition times of the switching sequence may be altered.
In this case it is possible, that the transition times are either modified by adding the same time offset or
6 by adding different time offsets, i.e. each transition time may have an associated time offset that is different to the time offset of another transition time. Adding the same time offset to several transitions times may simplify the calculations.

According to an embodiment of the invention, an overall time offset is derived from the flux error. In the case of a multi-phase system, there may be an overall time offset for each phase of the system. The overall time offset may be (at least partly) distributed to a number of time offsets for different transition times, such that constraints on the switching sequence are respected.

In general, it is not possible to arbitrarily alter the transitions times of the switching sequence. For example, there may be the constraint, that the order of the switching transitions should not be modified. Thus, the size of the time offset (which also may be negative) of one switching sequence may be limited such that the switching transition is not moved beyond its neighboring switching transitions. Further, there may be lower and upper limits for the transition times, for example the first transition time may not be smaller than the actual time instant.

According to an embodiment of the invention, time offsets for transition times are determined such that the time offsets are minimized and constraints of the switching sequence are respected. In the case that the time offsets are minimized, i.e.
the time offsets are chosen such that the maximum of the time offsets is minimal, it may be that the optimization goal that should be reached by the optimization of the unmodified switching sequence may also be nearly reached by the modified switching sequence. For example, such a minimization of time offsets may be reached with the aid of a quadratic program, since the minimization of the flux error and the minimization of the time offsets is at most quadratic in the time offsets when using quadratic penalties on the flux error and the time offsets. Under the assumption that there is only one time offset for the switching times of one phase, the quadratic program can be formulated as a so-called active set quadratic program with only a few iterations, for example two. This may lead to an optimization procedure that is computationally simple.

According to an embodiment of the invention, a time offset for the first switching transition of the switching sequence is determined such that as much of the flux error as possible is corrected and constraints of the switching sequence are respected.
This may be implemented by a so-called deadbeat control algorithm. In other words, an overall time offset is calculated and this time offset is distributed to the first switching transitions of the
7 switching sequence. In case the electrical system is a multi-phase system, the deadbeat algorithm may be computationally simplified further by shortening the horizon for which the switching sequence is altered. In this context, the horizon may be defined as the number of switching transitions in the beginning part of the switching sequence that may be modified by the optimization procedure. The horizon may be chosen such that only two phases have switching transitions within the horizon. In this case, the computation of the overall time offset may be simplified even more.

According to an embodiment of the invention, in step (b), at least two switching transitions with equal switching times are inserted into the switching sequence before the switching sequence is modified. The two switching transitions may have equal voltage levels and thus make no contribution to the flux, which is proportional to the integral over the voltage, and thus in principle have no contribution to the output voltage and the state of the electrical system. However, the optimization algorithm may move the switching times of the two switching transitions and in the case that the two switching transitions have different switching times in the modified switching sequence, an additional pulse is generated. By inserting these at least two switching transitions, the modified switching sequence may be further modified.

According to an embodiment of the invention, in step (a), the switching sequence is generated from a table of pre-calculated switching sequences. For example, the pre-calculated switching sequences are stored in a non-volatile or volatile memory of the controller of the converter and are read from this memory based on certain selection criteria. For example, the pre-calculated switching sequences may be so-called optimized pulse patterns (OPP). Optimized pulse pattern may be pre-calculated with respect to a certain optimization criterion, for example a low total harmonic distortion (THD).
Optimized pulse patterns may be stored in the table with respect to a modulation index and a pulse number. For example, optimized pulse patterns need not be stored for the whole period of 360 but for only one quarter of the full period. Pulse patterns that exhibit quarter-wave symmetry give raise only to odd, non-even harmonics, i.e.
harmonics or order 5, 7, 11, 13, 17, 19, ... when applied to a three-phase system. From this quarter period, a single phase pulse pattern may be generated over the whole period of 360 and the switching sequence for the phases of a multi-phase system may be generated by shifting the single phase pulse pattern by the respective phase shift.
8 According to an embodiment of the invention, the reference flux is determined as a vector in an orthogonal reference frame. In a multi-phase system, fluxes are vectors (for example three-dimensional vectors in the case of a three-phase system).
However, for example, in a three-phase system, there are only two degrees of freedom for the different voltages, since the third dimension, the zero-axis or common mode axis, does not drive any current in a star-connected load, whose star point is not connected. This fact may be used for transforming the three-dimensional flux vectors or in general every vector of the system into a two-dimensional vector. An example for such an orthogonal reference frame is the ((x, (3)-reference frame. In this case, the (a, (3)-transformation may be thought of as a projection of the three-phase quantities (for example voltages, currents, flux vector components) onto two stationary axes, the a-axis and the (3-axis.

According to an embodiment of the invention, the angle of the reference flux vector is based on the sum of the angle of the estimated rotor flux vector and a reference angle, wherein the reference angle is determined from the actual state of the electrical system. As already stated, the actual state of the system may comprise the estimated rotor flux, and estimated stator flux, the estimated torque which is proportional to the cross-product of stator flux and rotor flux, and also a reference torque. Since the two flux vectors have to fulfill the above mentioned cross-product relation, a reference angle between the two flux vectors may be determined.

According to an embodiment of the invention, the reference angle may be adjusted by a feedback control loop between an estimated value of the actual state of the electrical system and a corresponding reference value. For example, the estimated value may be the estimate torque of a rotating electrical machine and the corresponding reference value may be the reference torque.

According to an embodiment of the invention, the magnitude, i.e. the length, of the flux vector, for example the reference flux vector, is determined from an angle of the flux vector and the switching sequence. For example, in a first step, only the angle of the reference flux vector is calculated and in a second step, the length of the flux vector is determined. The magnitude of the flux vector may be calculated by integrating the time dependent voltage defined by the switching sequence; the upper limit of this integration may be the angle of the flux vector that already has been determined in the first step. This calculation may be done in real time, or the magnitude of the flux may be stored in a lookup table and may have been pre-calculated for each optimized pulse pattern.
9 However, it is also possible that a constant magnitude of the flux vector is assumed, which may be a relatively accurate estimation.

According to an embodiment of the invention, the electrical system comprises a rotating electrical machine, i.e. a motor or a generator. In this case, the flux error may be a stator flux error, the estimated flux may be the estimated stator flux and the reference flux may be a reference stator flux. As already said, the estimated values may be estimated in such a way that first the currents and the voltages of the rotating electrical machine are measured and that these measured values are applied to a model of the electrical machine. The model of the electrical machine may be stored in a controller of the converter which receives the measured values as input values and outputs the estimated values as output values.

According to an embodiment of the invention, in step (a), the switching sequence may be selected based on a modulation index of the converter, the modulation index indicating a ratio between an amplitude of an input voltage of the converter and an amplitude of an output voltage of the converter. As a rule, optimized pulse patterns are selected in such a way.

According to an embodiment of the invention, the modulation index is adjusted by a feedback controller between an estimated value of the actual state of the system and a corresponding reference value. For example, the estimated value may be the estimated stator flux or the estimated rotor flux of an electrical rotating machine and the reference value may be the reference stator flux or the reference rotor flux of the rotating electrical machine.

A further aspect of the invention relates to a program element (a computer program) for controlling a converter, which when being executed by at least one processor is adapted for executing the steps of the method as described in the above and in the following. For example, the processor may be a processor of the controller.

A further aspect of the invention relates to a computer-readable medium, in which such a program element is stored.

A 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), an EPROM (Erasable Programmable Read Only Memory) or a FLASH memory.
A computer readable medium may also be a data communication network, e.g. the Internet, which allows downloading a program code.

It is also possible that the method is implemented with a FPGA (field-programmable gate array). In general, the algorithm for executing the method may be implemented on any computational hardware including DSPs and FPGAs.

A further aspect of the invention relates to a controller for controlling a converter, 5 wherein the controller is adapted for executing the method as described in the above and in the following. The controller may comprise a processor and a memory with the program element to be executed on the processor. Alternatively the controller may comprise the FPGA.

A further aspect of the invention relates to a converter.
10 According to an embodiment of the invention, the converter comprises a converter circuit with switches, the converter circuit being adapted for generating an output voltage for at least one phase. In the case of an inverter, the output voltage may correspond to different voltage levels generated by switching states of the switches.

According to an embodiment of the invention, the converter comprises a controller for controlling the switches as described in the above and in the following.

It has to be understood that features of the method as described in the above and in the following may be features of the controller or the converter as described in the above and in the following.

If technically possible but not explicitly mentioned, also combinations of embodiments of the invention described in the above and in the following may be embodiments of the method and the devices.

To summarize, the control method as described in the above and in the following may select the converter switch positions such that the following objectives may be achieved:
The machine, load or grid quantities may be controlled around their reference values.
For an electrical machine, these quantities may typically include the electromagnetic torque and the magnitude and spatial orientation of the stator flux vector.
For a grid connected converter, these quantities may be the active and reactive power, or the DC-link voltage and the reactive power (or current).

At steady-state operating conditions and for a given switching frequency of the converter semiconductor devices (i.e. the switches), a very low current distortion close to the theoretical lower limit may be achieved. Such a small current distortion may be obtained by computing OPPs offline so as to minimize the total harmonic distortion (THD)
11 of the current for a given switching frequency, or equivalently, for a given number of switching events over one fundamental period of rotation of the stator voltage space vector (pulse number).

During transient operating conditions, and in the presence of external disturbances, the machine or grid quantities may be controlled very rapidly. Specifically, e.g.
during a step change of the reference (setpoint) value of the electromagnetic torque, or during a step change of the load torque, a very short response time may be achieved that may be similar to the one achieved by direct torque control. The same applies to the case when switching between different OPPs. Such performance may be typically in the range of a few ms.
These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter.

BRIEF DESCRIPTION OF THE DRAWINGS

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.
Fig.! schematically shows an electrical system according to an embodiment of the invention.

Fig.2 schematically shows an electrical system according to a further embodiment of the invention.

Fig. 3 shows schematically the design of a controller according to an embodiment of the invention.

Fig. 4 shows a diagram of an OPP according to an embodiment of the invention.

Fig. 5 shows a diagram with switching angles as a function of the modulation index according to an embodiment of the invention.

Fig. 6 shows a diagram with a switching sequence according to an embodiment of the invention.

Fig. 7 shows a diagram with a steady-state stator flux trajectory according to an embodiment of the invention.

Fig. 8 shows a diagram with the amplitude of the stator flux of Fig. 7.
Fig. 9 shows a diagram with the phase angle of the stator flux of Fig. 7.

Fig. 10 shows a diagram explaining the control problem of the method according to an embodiment of the invention.
12 Fig. 11 shows a diagram with stator and rotor flux trajectories according to an embodiment of the invention.

Fig. 12 shows a diagram with stator and rotor flux trajectories according to an embodiment of the invention.

Fig. 13 shows a diagram with a switching sequence according to an embodiment of the invention.

Fig. 14 shows a diagram explaining the effect of a shift of a transition time according to an embodiment of the invention.

Fig. 15 shows a flow diagram of an optimization method according to an embodiment of the invention.

Fig. 16 shows a diagram explaining the determination of the reference stator flux according to an embodiment of the invention.

Fig. 17 shows a diagram with a switching sequence for explaining a quadratic programming algorithm according to an embodiment of the invention.

Fig. 18 shows a diagram with a switching sequence for explaining a deadbeat control algorithm according to an embodiment of the invention.

Fig. 19 shows schematically the design of a controller module according to an embodiment of the invention.

Fig. 20 shows schematically the design of another controller module according to an embodiment of the invention.

The reference symbols used in the drawings, and their meanings, are listed in summary form in the list of reference symbols. In principle, identical parts are provided with the same reference symbols in the figures.

DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS

Fig. I shows an electrical system 10 with a converter 12, in particular an inverter 12, and a rotating electrical machine 14 to which the inverter 12 is connected.
The inverter 12 may be part of an indirect converter and may be connected to the DC-link of the converter with a DC voltage VDC. The inverter 12 comprises an inverter circuit 16 with switches that transform the DC voltage into a three-phase AC voltage that is supplied to the electrical machine 14. Alternatively, the inverter 12 may be an inverter that generates only a one-
13 phase AC voltage. In general, the inverter 12 may be a multi-phase or multi-level inverter and the system 10 may be a multi-phase system.

The inverter 10 comprises a controller 18 with an FPGA or a processor that is adapted to execute the optimization method or the optimization algorithm as described in the above and in the following. The controller 18 is adapted to execute feedback control, i.e. receives input variables, for example the voltages and the currents in the electrical machine 14 or the speed of the electrical machine 14, generates switching sequences and applies these switching sequences to the inverter switches 16, which then influence the input variables.

Fig. 2 shows an alternative embodiment of an electrical system 10' with the converter 12, in particular a rectifier 12. In the embodiment of Fig. 2, the rectifier 12 is connected to a grid 20 via a transformer and a filter 22, for example an L, LC or LCL
filter. For controlling the inverter 12, the controller 18 receives the voltages and the currents in the grid 20. In this case, the control model of the electrical machine 14 may be replaced by a control model of the grid 20 comprising a virtual grid impedance 24 and an impedance of the transformer and filter 22.

Fig. 3 shows schematically the design of the controller 18.

The controller 18 comprises a flux estimation module 30 that receives the instantaneous currents is and the instantaneous voltages vs from the electrical machine 14 or the grid 24.
The instantaneous voltages vs may not necessarily be measured. They may be reconstructed to good approximation from the known switching state signals and the measured DC-link voltage. The flux estimation module 30 comprises a model of the electrical machine 14 or the electrical grid 24 and is adapted to estimate the actual fluxes 'Ps,'Pr from instantaneous currents is and the instantaneous voltages vs. In the case of a grid 20, the fluxes 'Ps, 'P1 may be virtual fluxes.

In the case of an electrical rotating machine, Ps is the estimated stator flux and 'Fr is the estimated rotor flux. The estimated torque Te is proportional to the cross-product of the fluxes 'Ps, 'Pr.

The fluxes 'ps, 'Pr and the torque Te are supplied to a reference angle module 32 that determines the reference angle yref, the angle between the estimated rotor flux `Pr and the reference stator flux' Ps, ref. Also, the reference torque Te, ref may be uses for determining the reference angle yref.

The angle of the reference stator flux' Ps, ref is then the sum of the angle of the estimated rotor flux 'Pr plus the reference angle yref. The angle of the reference stator flux 'Fs, ref is
14 input into the reference flux module 34, which determines the magnitude of the reference stator flux T,, ref In the determination of the magnitude of the reference stator flux `I'S, ref, the selected switching sequence 38 from the OPP pattern selector 36 may be used.

The stator flux error `PS, err is the difference between the reference stator flux Ps, ref and the estimated stator flux 'PS. The stator flux error `PS, err and the selected switching sequence 38 are input to the error minimization module 40 which modifies and optimizes the switching sequence 38 in such a way that the stator flux error `PS, err is minimized.

The modified switching sequence 42 is input into a switch position module 44 that generates a sequence of switch positions 46 from the modified switching sequence 42. The switching sequence 42 only contains the switching transitions with the voltage levels, the inverter 12 should produce. The switch position module 44 converts the voltage levels of the switch transitions into switch positions comprising the switching states of the switches that produces the respective voltage level.

For selecting the switching sequence 38, the OPP pattern selector 36 receives the modulation index in from the modulation index module 48 and the pulse number d. The pulse number d is the number of pulses of the OPP and depends on the rotational frequency of the motor 14 and the desired switching frequency.

The modulation index in is determined by the module 48 from the stator frequency (1)e and the DC-link voltage VDC. Optionally the length of the estimated stator flux `PS and the length of the reference stator flux `PS_ ref or the length of the estimated rotor flux `Pr and the length of the reference rotor flux 5s, ref may be used for a feedback control of the modulation index in.

The functional modules 30, 32, 34, 36, 40 and 48 of the controller 18 may be implemented as programmed software modules or procedures, respectively.
Alternatively, the functional modules may be implemented fully or partially in hardware.

In the following, aspects of the calculation of OPPs (optimized pulse patterns) and the functionality of the module 36 are described with respect to Figs. 4 to 9.

Fig. 4 shows a diagram with an OPP 50 with five switching transitions 52, i.e.
with pulse number d=5. In the diagram, the switching angle 54 of the switching transitions 52 is depicted on the x-axis of the diagram and the voltage levels 56 of the switching transitions 52 are depicted on the y-axis of the diagram. In the present case, the OPP 50 is an OPP for a three level inverter 12 with three voltage levels -1, 0, 1. The OPP 50 is a single-phase pulse pattern with d = 5 primary switching angles 54 (switching angles over the range 0 to 90 degrees) for the three-level inverter 12. The OPP 50 comprises a switching sequence u = [0 1 0 1 0 1] as a function of the five switching angles 54 and for a modulation index of m = 0.6. Only a quarter of the full fundamental period is shown in Fig. 4.

5 Fig. 5 shows a diagram with the primary switching angles 54 as a function of the modulation index m that is depicted on the y-axis of the diagram. The voltage levels of Fig.
4 and the switching angles of Fig. 5 depend on the modulation index in. They are stored in a lookup table for the pulse number d=5 and the OPP 50 may be read out by the module 36, when an OPP with pulse number d=5 should be selected.

10 Fig. 6 shows a diagram with a three-phase pulse pattern 38 or switching sequence 38 for the modulation index m = 0.6 and pulse number d=5, which has been generated by the module 36 from the OPP 50.

When computing OPPs offline, quarter-wave symmetry is typically imposed on a single-phase pulse pattern 50. The pulse patterns 38a, 38b, 38c of the phases a, b, and c of
15 the three-phase system 10 are obtained by shifting the single-phase pattern 50 by 0, 120 and 240 degrees, respectively. As a result, the three-phase pulse pattern or switching sequence 38 over 360 degrees is fully characterized by the single-phase pattern 50 over 90 degrees.

As already said the OPPs 50 are computed offline and stored in the module 36.
To compute the single-phase OPP 50 over 90 degrees, the number of primary switching angles (the pulse number) d and the single-phase switching sequence u is fixed. An objective function is chosen for optimization: a common selection is the weighted sum of the squared differential-mode voltage harmonics, which is equivalent to the current THD. For every value of the modulation index m, this objective function is minimized by optimizing over the switching angles 54. This optimization step is repeated for all modulation indices m leading to a set of switching angles 54 that defines the OPP 50 as a function of the modulation index, as shown in Figs. 4 and 5.

Starting from the single-phase OPP 50 over 90 degrees (shown for example in Fig. 4), the three-phase switching sequence 38 is directly obtained by applying quarter-wave symmetry and by shifting the phase a pattern, 38a, by 120 and 240 degrees to produce patterns for phase b and c: 38b, 38c respectively. This leads to the switching sequence 38 shown in Fig. 6.
16 In the following, properties of the steady-state stator flux obtained with the OPP 50 are explained.

Let P denote the peak-invariant transformation (matrix) from the (a, b, c)-reference frame to the stationary orthogonal (a, (3)-reference frame, and let Vde denote the total DC-link voltage of the power converter. Considering an electrical machine 14 connected to the inverter 12 and neglecting the stator resistance of the machine 14, the steady-state stator flux trajectory in the (a, P)-reference frame that corresponds to the OPP 50 is obtained by integrating the switching sequence 38 (i.e. u(a) in formula (1) ) defined by the OPP 50 over the angle range [0, 8], where 6 is the actual angular position of the voltage vector.

s Y'S (8) = Y'S (0) + f P = u(a)da . (1) In this example, the resulting steady-state stator flux trajectory 'I's in the (a, (3)-reference frame is shown in Fig. 7 over 90 degrees. The average amplitude of the stator flux trajectory' I'S is one (dashed line). Yet it is obvious from Fig. 7 that the trajectory amplitude of the stator flux vector 58 oscillates around one, as shown in Fig. 8. Note that the phase angle of the stator flux vector 60 also oscillates around its nominal value, as can be seen in Fig. 9. This ripple results from variations in the stator frequency COe, which results from applying voltage vectors of different and discrete magnitudes including zero vectors. The amplitude and angular ripple of the stator flux vector 58, 60, which repeats itself every 60 degrees and also exhibits a 30 degree symmetry, gives raise to the discrete frequency spectrum of the voltage harmonics.

If the voltages applied to the motor 14 would be sinusoidal voltages, the stator flux 'Ps would follow the dashed circle shown in Fig. 7 and the curves 58, 60 would be straight lines. No amplitude or phase errors would be present. Since the inverter 12 is only designed to generate discrete voltage levels (see for example Fig. 6), the OPP
50 is optimized such that the amplitude and phase errors are minimized. However, the minimization is done under the assumption of a steady-state operation of the motor 14, for example no frequency or load changes.

In particular, during sudden or steep changes of the operating conditions of the motor 14, this assumption is no longer fulfilled and the amplitude or phase errors are no longer minimal for the selected OPP 50 or switching sequence 38. However, it is reasonable to assume that the switching sequence 38 which is optimal with respect to steady-state
17 operation is a good candidate for generating a switching sequence 42 that is suitable for transient operation.

The closed loop control scheme is shown in Fig. 3. The sequence of switch positions 46 is applied by the controller 18 to the converter 12, which generates the respective output voltages for the electrical machine 14. Changing operating conditions influence the instantaneous current is and the instantaneous voltage vs which are the input parameters of the controller 18. Thus, closed loop control is realized.

In other words, fast closed-loop control of an electrical machine 14 based on OPPs 50 may be achieved by controlling the stator flux vector `F, along its reference trajectory. This objective may be achieved by directly manipulating the switching transitions 52 of the OPP 50. As a result, the stator flux vector Ts is controlled such that the electrical machine 14 is adequately magnetized, such that the commanded electromagnetic torque Te, ref is produced by the electrical machine 14.

In the following the control problem for minimizing the stator flux error 'Ps,err and the functionality of the modules of Fig. 3 will be described.

The resulting control problem may be formulated as a constrained optimal control problem with a so-called receding horizon policy or, equivalently, as a model predictive control problem. Fig. 10 shows a diagram explaining the above mentioned control problem.

The key idea is to use a horizon of finite length T and to drive the stator flux vector `I', over this horizon to its desired position using transient pulse patterns or modified switching sequences 42 thus correcting the stator flux error. From the end of the horizon T onwards, steady-state operation is assumed. In particular, it is assumed that from t +
T onwards the original, i.e. the steady-state pulse pattern or the unmodified switching sequence 38, will be applied.

The model predictive control of OPPs can be interpreted as a boundary control problem as illustrated in Fig. 10. Starting at time to with the switch position u(to) and the stator flux `I's(to), a modified switching sequence 42 over the time-interval T is to be derived; this modified switching sequence 42 drives the stator flux vector `I', to the terminal stator flux ',(t,). Moreover, the modified switching sequence 42 is to lead to the terminal switch position u(ti). In this boundary control problem, u(to) and ',(to) are the initial conditions, while u(t1) and '',(t,) are accordingly the terminal conditions. The time-interval T is
18 referred to as the horizon T = t, - to. From tj onwards, the steady-state pulse pattern is assumed to be applied.

The algorithm for modifying the switching sequence explained in the following assumes that the electrical system 10 is always in a transient operating condition, i.e. it tries to minimize the flux error all the time. Thus, the algorithm is always working at to and the time point t, is practically never reached.

The modified switching sequence 42 is required to be optimal in the sense that it minimizes the current and/or torque total harmonic distortion (THD). The modified switching sequence 42 may also minimize the switching losses of the power inverter switches 16, if desired. The torque and the stator flux magnitude may have to be kept near their references. In addition, the stator currents may have to be kept below their upper (positive) bounds and above their lower (negative) bounds. The current limit may be a constraint.

The algorithm assumes that small modifications of the switching sequence 38 lead only to small modifications with respect to the optimality of the switching sequence 38 that has been optimized offline. In case the stator flux error Ts,err is small with respect to the stator flux'Ps, this condition is fulfilled.

Thus, the algorithm assumes that the stator flux error Ts,err is small and that in order to remove the stator flux error `Ps,e-r over the horizon T only small corrections of the switching transitions 52 (switching instants) are required. These small variations in the switching transitions 52 are assumed to not (significantly) affect the optimality of the OPP
50, or equivalently, to not deteriorate the current total harmonic distortion (THD). Thus, the steady-state OPP 50 can be used as a baseline pattern when deriving the switching sequence 42 (or transient OPP) thus greatly simplifying the boundary control problem.
Specifically, the objective may then be to control the stator flux vector Ts along its given reference trajectory in the (a, (3)-reference frame by modifying as little as possible the switching transitions 52 of the OPP 50 within the horizon T. This control concept may be referred to as Model Predictive Pulse Pattern Control (MP3C).

An example for this concept is given in Figs. 11 to 13, which show a model predictive pulse pattern control for a two-level inverter.
19 Fig. 11 shows a diagram with the stator and rotor fluxes in the (a, [3)-reference frame. In Fig. 11, the shift of the actual or estimated stator flux 'FS to the reference stator flux `Ifs, ref with corrected stator flux error'PS is indicated.

Fig. 12 shows a diagram with the normalized a- and /3-components of the stator flux vectors' Ys, L"s, ref and the rotor flux vector 'Fr as a function of time in ms, in particular with a horizon from 0 ms to 2.5 ms. The trajectories in Fig. 11 are also constrained to this horizon, thus the trajectory of 'Fr stops in the middle of the diagram.

Fig. 13 shows a diagram with the three-phase switch positions 38a, 38b, 38c as a function of the time in ms and a correction (time offset) At in a switching transition 52 in phase a.

Fig. 14 shows a diagram explaining the effect of altering the transition time 54 of a switching transition 52. In particular, consider one phase, e.g. phase a, and an inverter 12 with the voltage levels u = [-l, 1] (i.e. a two-level inverter), u = [-1, 0, 1] (i.e. a three-level inverter) or u = [-1, -0.5, 0, 0.5, 1] (i.e. a five-level inverter). Let VDc denote the total DC-link voltage. Then, shifting a switching transition 52 by At leads to a change in the (a, b, c) stator flux vector by AT/, (At) = Vd`Au = At , (2) where At is given in pu (normalized units). An example based on a two-level inverter is shown in Fig. 14. Here, delaying the negative switching transition 52a with Auai = -2 in phase a increases the volt-seconds in this phase and the stator flux accordingly, while advancing the switching transition has the opposite effect, i.e. it decreases the flux amplitude in the direction of phase a.

Hereafter, the MP3C algorithm is summarized with respect to Fig. 15. The algorithm comprises five steps. It operates in the discrete time domain and it is activated every TS
seconds. The sampling interval TS is typically 25 microseconds or 50 microseconds. The control problem is formulated and solved in the stationary orthogonal reference frame (a, (3).

In a step S10, at time-step k, the module 30 estimates the stator and the rotor flux vectors in the stationary reference frame yielding the estimated stator flux vector PS =
['Frn,'Fsp] and the estimated rotor flux vector `Fr = ['Fra,'Prp]. Let angle(T) denote the angular position of a flux vector and I'PI its magnitude. The vectors T and'Pr are estimated based on a machine model of the electrical machine 14. In case of a grid connected inverter 12, the fluxes may be based on virtual fluxes as indicated above.

The delay introduced by the controller computation time can be compensated by rotating the estimated stator flux vector `I's and the estimated rotor flux vector Tr by WeTs 5 forward in time, i.e. angle(T5) = angle(T,) + WeTs and accordingly for the rotor flux vector 'Pr. Here co, is the stator frequency of the electrical machine 14.

In a step S12, the module 32 calculates the reference angle yref. For a graphical summary of the derivation of this quantity please refer to Fig. 16. Fig. 16 is a diagram similar to the diagrams of Figs. 7 and I 1 and shows the quantities in the (a, R)-reference frame.

10 First, recall that the electromagnetic torque Te produced by the machine can be written as Te = kr I Vs ' Wr I sin(') (3) where y is the angle between the stator flux vector `I's and the rotor flux vector Tr and kr is a constant. When the machine 14 is fully magnetized, the magnitude of the reference stator 15 flux vector `Ps, ref is equal to 1 pu. Then, for a given magnitude of the rotor flux vector IWrl and a given reference torque Te,ref, the desired reference angle between the stator and rotor flux vectors is -1 Te, ref 7re1 -sin kr IT, l (4) This derivation is possible, since the rotor flux 5Pr may be estimated very accurately. In
20 some cases, the motor 14 even has a position sensor, which directly measures the position of the rotor and thus the angle of the rotor flux.

After that, the angle of the stator flux reference vector T,, ref is calculated by angle(`I ,ref) = angle('r)+ y, . = (5) The reference stator flux vector `1',,,f is then obtained by module 34, for example by reading out the magnitude (length) of stator flux vector `Ps, ref at the angle(LP5, ref) from a table stored in the module 34. This table may be pre-calculated for all optimized pulse patterns. In Fig. 16, the stored values of the magnitude of the stator flux vector are indicated by the corner points of the trajectory 62 of the stator flux vector' PS. Another possibility is to calculate the magnitude online from the selected switching sequence 38, i.e. by integrating the voltages of the switching sequence over time.
21 After that the stator flux error'YS,er is computed by forming the difference between the reference flux vector' Fs, ref and the estimated stator flux vector `P5, 'ps,err - 1s,ref - 'Ps. (6) From (6), it is evident that the error of the stator flux can be calculated directly, without the need to have a separate estimation of (i) the fundamental component of the stator flux, and (ii) of the respective harmonic content of the stator flux. The lack of the necessity to have an observer scheme that estimates (i) and (ii) in real-time adds to the simplicity and reliability of the present method. The described method may therefore be more appropriate for industrial applications when compared to state-of-the-art trajectory tracking methods.

Step S14 (see Fig. 15) is the application of the actual pattern controller, in which the reference flux module 40 modifies the switching sequence 38 over a certain horizon T so as to minimize the amplitude of the stator flux error'Ps,err. In other words, the modified switching sequence 42 is generated from the switching sequence 38 with the aid of the stator flux error 'Ys,err=

The pattern controller algorithm may be available in three forms, which will be explained in the following. In particular, a control algorithm based on (1) a quadratic program (QP), (2) a control algorithm based on an approximate active set QP
and (3) a deadbeat control algorithm.

Before attempting the minimization of the stator flux error 'Fs,err.
additional pulses can be inserted into the switching sequence 38. This may be advantageous when a very fast torque response is to be generated - e.g. in response to a step change of the torque command - and no suitable switching transitions are available within the observed time interval. Minimum on- and off-times of the semiconductor switches can be imposed if desired, by adding constraints accordingly to the switching time instants.

In particular, an additional pulse may be inserted by inserting a negative and a positive switching transition 52a, 52b (see for example Fig. 14) , i.e. a switching transition from a higher to a lower voltage level and then the inverse switching transition (or vice versa), at the same time instants. The pattern control algorithm can then move the switching
22 transitions as required. If, as a result, the time instants are not equal, an additional pulse has been generated.

In step S16, the switching transitions that will occur within the sampling interval are removed from the switching sequence 42, i.e. the switching transitions that will be applied to the inverter 12. This can be achieved by updating a pointer to the look-up table that stores the switching angles of the switching sequence 42 and the respective three-phase potential values.

In step S18, the switching commands over the sampling interval are derived, i.e. the switching instants and the associated modified switching positions. In this step, a predictive balancing algorithm may be used for which switching commands over multiple sampling intervals may be required. The modified switching sequence 42 may only contain the voltage levels and not the switching positions that generate these voltage levels. A
predictive balancing algorithm may choose the switching positions in such a way that certain internal states of the inverter 12, for example the neutral point potentials, are optimized.

After that, the algorithm starts again with step S 10.

As indicated above, there are different possible embodiments of the algorithm that modify the switching sequence 38 into the switching sequence 42 (see Fig. 3).

A first embodiment is an optimal control algorithm based on a quadratic program (QP).
The control problem can be formulated as a quadratic program (QP), a special type of mathematical optimization method, which minimizes the uncorrected flux error (controlled variable) and the changes in the switching instants (manipulated variable).
This may be formulated by min l At.?s,cn~=o (At) + qi tT z\t ^\t S. t. 0<tal <t022 < T
0 <. tv1 < tv_> < ... < T

0<t,1<tc2<...<T (7) The first term of (7) is for minimizing the flux error; the second term is for minimizing the time shifts collected in a matrix At with entries At,.;, where x is the phase and i is the index of the switching transition of the switching sequence 38. The weight q may be chosen very small, thus putting priority on correcting the flux.
23 The inequalities in (7) are the constraints on the time instant tx1 of the switching transitions. The time instants must maintain the order of the switching transitions and must be within the horizon (i.e. between 0 and T).

In the first term of (7), ts,corr(At) is the correction of the flux, i.e.

1 ~2 AuoiZ~ti - r LubjLtbi - S` Auci0tci ~~='s,corr(OD = 3 2 . (8) Formula (8) is derived from formula (2) and is generalized to three phases like formula (1). The Dux; are the switch transitions (changes in the voltage level) of the i-th switch transition on phase x. Matrix P has been integrated into formula (8).

After solving the above formulated problem, the flux correction is achieved by shifting all the switching transitions by At. i.e. the modified switching sequence 42 is the switching sequence 38 with transition times txi altered by the time offsets or time shifts Atxi.

An example of this is displayed in Fig. 17, with a diagram similar to the diagram of Fig. 6.
Fig. 17 shows a switching sequence 38 with pulse patterns 38a, 38b, 38c for phases a, b, c respectively. Furthermore, in Fig. 17, the current time-instant kTs and the horizon T of fixed length for optimal control based on QP are shown. The lower and upper bounds (constraints) for the switching instants (the time instants of the switching transitions) are depicted by arrows. Six switching transitions fall within the horizon T.

In (7) At denotes the vector of switching time corrections Ati. For phase a, for example, the correction of the i-th transition is given by L,tcii = tai - tai. ref (9) where tai,ref denotes the i-th nominal switching time of the pulse pattern in phase a. Note that the corresponding correction in the switching angle is A6 = (OeAt, where (0e is bounded by 0 and 1, and At is given in pu.

The switching times cannot be modified arbitrarily - they are constrained by the current time kTs and the neighbouring switching transitions in the same phase. For an example based on a two-level inverter, see Fig. 17. The first switching transition in phase b, for example, is constrained to lie between kTs and the nominal switching instant of the second transition. The second switching transition in phase b can only be delayed up to the nominal switching instant of the third transition in the same phase. Note that the shifting of the transitions in a given phase is done independently from the other phases.
24 When anticipating pulses, special care needs to be taken. When commanding a switching transition before its scheduled time tref, this also leads to flux corrections at future time-instants up until the nominal switching time has passed, i.e. kTS
? tref. in other words, if a time shift correction applied during the current sample time will continue to be applied in the next several sample periods, it must not be recompensated in the upcoming sample periods. Thus, in the next sample period if the nominal scheduled time tref will not yet occur, the pending correction, ui*At, will still occur and must be taken into account when determining the next current flux error correction. This will continue until the nominal scheduled time, tref, is passed, i.e. kTs >_ tref. This future flux correction has to be taken into account, for example by storing it in a buffer, correcting the flux error in step S 12 and updating the buffer accordingly.

A second embodiment is an optimal control algorithm based on an approximate QP.
Formulating and solving a QP in real-time might be computationally demanding.
Yet, the computations can be greatly simplified by considering an approximate QP
formulation with the following simplifications and features:

First, consider only one At per phase (instead of individual time modifications for each switching transition). In other words, per phase the time offsets or shifts At,; are equal to one At, Second, use an active set QP formulation with two iterations. In an optimization problem with inequality constraints (i.e. with ">"), the problem may be solved first neglecting these constraints. In a second step, the constraints are imposed and the violated constraints are enforced as equality constraints (i.e. "_"), which are then called active constraints.

Specifically, one iteration of the active set QP can be summarized as follows:
In a first step, compute the number of switching transitions for each phase.

In a second step, neglect the timing constraints and compute the unconstrained At,, per phase.

Atunconstrained = 2V 3 det(M) M 1 s err (10) where M is a 3x2 matrix that is a function of the number of switching transitions per phase and the weight q, det(M) is the determinant of M, and T,,,, is the stator flux error in the (a, (3)-reference frame. (10) is derived from (7), i.e. if the At's are inserted into (7), the matrix M and the factors cancel the factors and the matrix P in (7).

The evaluation of (10) requires at most 22 multiplications, 18 additions and one division and is thus computational simple.

5 In a third step, determine the new switching time instants (i.e. the new switching times) that violate a constraint. These constraints will be so-called active constraints.

Limit the new switching time instants that violate a constraint and fix their values by removing them and their associated switching transitions from the optimization problem.
In other words, the switching times that violate a constraint are limited to the border of the 10 constraint. For example, if tai? 0 should be fulfilled, but is not fulfilled, ta; is set to 0.

After that, compute the flux correction that results from the new switching instants and update the remaining (not yet corrected) flux error accordingly.

After the first iteration, the above iteration is run once again as a second iteration. This procedure with two iterations is computationally fairly simple. Most importantly, the 15 computational complexity basically does not depend on the number of considered switching transitions, thus it effectively does not depend on the length of the horizon.
Specifically, the dimension of the matrix M is always 3x2.

A third embodiment is a deadbeat control algorithm, which may be computationally and 20 conceptually the simplest one out of the three control scheme. This deadbeat pulse pattern controller has the following features: The weight q is set to zero. The horizon T is variable and is determined as the minimum time interval starting at the current time kT, such that at least two phases exhibit switching transitions.

The deadbeat control algorithm will be explained with reference to Fig. 18, which is
25 similar to Figs. 6 and 17 and shows a diagram with the three-phase, two-level pulse patterns 38a, 38b, 38c, with the current time-instant kT, and the horizon T of varying length for the deadbeat control. The lower and upper bounds for the switching instants (time instants) are depicted by arrows.

The deadbeat control algorithm has the following four steps:

In a first step, determine the two phases (in the example: phases a and b) that have the next scheduled switching transitions. This yields the length of the horizon T, which is of
26 variable length for the deadbeat controller. Determine all switching transitions (nominal time-instants and changes in switch position) within the horizon T.

In a second step, translate the stator flux error `PS,err from the (a, [3)-reference frame to the (a, b, c)-reference frame, where only two out of three phases are active (a and b, a and c, orb and c).

In a third step, compute the required switching time modification Atreq in (a, b, c) for each phase, which is Atreq - Ts,err (11) 0.5 Vdc where `I'S err is the flux error vector in (a, b, c).

In a fourth step, go through the first phase that has switching transitions within the horizon. For each switching transition in this phase with the nominal switching time tnom and the switching transition Au, do the following three sub-steps:

First, set tnew = tnom - sgn(Au) Atreq,;, where sgn(Au) E {-1, +11 denotes the direction in which the respective phase switches, i.e. in positive or negative direction.

Second, constrain thew by imposing the respective constraints on the switching time.
Third, update the required switching time modification:

Atreq i = Atreq,i + sgn(Au) (tnew - tnom)= (12) Recall that t is given in pu and Au is in [-1, 1].

In the fourth step, repeat the above procedure for the second phase that exhibits switching transitions.

Since the deadbeat controller aims at removing the stator flux error as quickly as possible and since corrections in the switching times are not penalized, the deadbeat controller tends to be very fast and aggressive. Yet, there is no guarantee that the deadbeat controller fully removes the flux error within the horizon, since the constraints on the switching times have to be respected.

The control method, i.e. the inner MP3C control loop as described above, in particular with reference to Fig. 15, may be augmented or supplemented by outer control loops shown in Figs. 19 and 20.
27 Fig. 19 shows an embodiment of the reference angle module 32. As describe above, the reference angle yref is based on the reference torque Te, ref and the estimated rotor flux Pr.
Te, ref may be supplied from a speed controller of the motor 14.

A feedforward control submodule 64 for the reference angle ref uses formula (4) for calculating a feedforward value for the reference angle yref. This feedforward value may be modified by an offset compensation of a slow control submodule 66 for the reference angle yref. The submodule 66 receives or determines the difference of the magnitude of the estimated torque Te and the magnitude of the reference torque Te, ref and uses the difference value for determining an offset compensation for the reference angle yref, for example with a PI controller.

In such a way, the first control loop shown in Fig. 19 regulates the torque by adjusting the reference angle between the stator and the rotor flux vectors.

Fig. 20 shows an embodiment of the modulation index module 48. A feedforward control submodule 68 for the modulation index muses the formula m=w y ref' `F,.r~. (13) Vd,, for calculating a feedforward value for the modulation index m. Vde is the estimated DC-link voltage and Vdc,ref is the reference DC-link voltage based on which the OPP was computed.

The feedforward value in may be augmented by an offset compensation of a slow control submodule 70 for the modulation index m. The submodule 70 receives or determines the difference of the magnitude of the estimated rotor flux `Pr and the magnitude of the reference rotor flux Tr, ref and uses the difference value for determining an offset compensation for the modulation index m, for example with a PI
controller.
Alternatively or additionally, the estimated stator flux `YS and the reference stator flux Ps, ref may be used for determining the offset.

In such a way, the second control loop shown in Fig. 20 regulates the rotor (or stator) flux magnitude by adjusting the modulation index m. The slow rotor (or stator) flux controller 70 may thus use some information from the inner loop of the MP3C
algorithm to adjust the modulation index m; specifically, the volt-second correction or the effective modulation index.
28 While the invention 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 invention 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 practicing the claimed invention, 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 fulfill 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 symbol in the claims should not be construed as limiting the scope.
29 LIST OF REFERENCE SYMBOLS

10, 10` electrical system 12 converter, inverter VDC DC-link voltage 14 electrical machine (motor or generator) 16 converter circuit, switches 18 controller 20 grid 22 transformer and filter 24 grid impedance
30 flux estimation module is instantaneous current vs instantaneous voltage T, estimated stator flux `Pr estimated rotor flux Te estimated torque 32 reference angle module Yref reference angle `Ps, ref reference stator flux Te, ref reference torque 34 reference flux module 36 OPP pattern selector 38 selected switching sequence `PS, err stator flux error 40 error minimization module 42 modified switching sequence 44 switch position module 46 sequence of switch positions m modulation index d pulse number 48 modulation index module 50 optimized pulse pattern 52, 52a, 52b switching transition 5 54 switching angle 56 voltage level a, b, c phase 38a, 38b, 38c pulse pattern for a phase 58 amplitude of stator flux vector 10 60 angle of stator flux vector 62 trajectory of stator flux vector 64 feedforward control submodule for the reference angle 66 slow control submodule for the reference angle 68 feedforward control submodule for the modulation index 15 70 slow control submodule for the modulation index

Claims (15)

1. A method for controlling a converter (12) for an electrical system (10), the method comprising the steps of:
(a) Determining a switching sequence (38) for the converter (12) based on an actual state of the electrical system (10), wherein the switching sequence (38) comprising a sequence of switching transitions (52) of the converter (12), wherein each switching transition (52) comprises a transition time;
(b) Modifying the switching sequence (38) by altering at least one transition time of a switching transition of the switching sequence, such that a flux error based on a difference between an estimated flux of the electrical system and a reference flux of the electrical system is minimized, wherein the estimated flux has been determined form the actual state of the electrical system;
(c) Applying the modified switching sequence (42) to the converter.
2. The method of claim 1, wherein in step (b) a transition time (54) is altered by adding a time offset to the transitions time, wherein the time offset is determined, such that the flux error is at least partly compensated.
3. The method of claim 1 or 2, wherein an overall time offset is derived from the flux error, wherein the overall time offset is distributed to time offsets for transition times, such that constraints on the switching sequence (38) are respected.
4. The method of one of the preceding claims, wherein time offsets for transition times are determined such that the time offsets are minimized and constraints on the switching sequence (38) are respected.
5. The method of one of the preceding claims, wherein a time offset for the first switching transition of the switching sequence (38) is determined such that it is as big as possible and constraints on the switching sequence (38) are respected.
6. The method of one of the preceding claims, wherein in step (b) at least two switching transitions with equal switching times are inserted into the switching sequence before the switching sequence (38) is modified.
7. The method of one of the preceding claims, wherein in step (a) the switching sequence (38) is generated from a table of pre-calculated switching sequences.
8. The method of one of the preceding claims, wherein the reference flux is determined as a vector in an orthogonal reference frame, wherein an angle of the reference flux vector is based on the sum of an angle of an estimated rotor flux vector and a reference angle, wherein the reference angle is determined from the actual state of the electrical system (10).
9. The method of one of the preceding claims, wherein the reference angle is adjusted by a feedback controller (66) between an estimated value of the actual state of the electrical system and an corresponding reference value.
10. The method of one of the preceding claims, wherein the magnitude of the flux vector is determined from the angle of the flux vector and the switching sequence (38).
11. The method of one of the preceding claims, wherein in step (a) the switching sequence (38) is selected based on a modulation index of the converter (12), the modulation index indicating a ratio between an amplitude of an input voltage of the converter (12) and an amplitude of an output voltage of the converter (12);
wherein the modulation index is adjusted by a feedback controller (70) between an estimated value of the actual state of the system and a corresponding reference value.
12. A program element for controlling a converter, which when being executed by at least one processor is adapted for executing the steps of the method according to one of the claims 1 to 11.
13. A computer-readable medium, in which a program element according to claim 12 is stored.
14. A controller (18) for controlling a converter, wherein the controller is adapted for executing the method of one of claims 1 to 11.
15. A converter (12), comprising:

a converter circuit (16) with switches, the converter circuit being adapted for generating an output voltage for at least one phase;

a controller (18) for controlling the switches, the controller being adapted for executing the method of one of claims 1 to 11.
CA2762473A 2010-12-24 2011-12-19 Method for controlling a converter Active CA2762473C (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
EP10198987.1 2010-12-24
EP10198987 2010-12-24

Publications (2)

Publication Number Publication Date
CA2762473A1 true CA2762473A1 (en) 2012-06-24
CA2762473C CA2762473C (en) 2023-01-17

Family

ID=46383923

Family Applications (1)

Application Number Title Priority Date Filing Date
CA2762473A Active CA2762473C (en) 2010-12-24 2011-12-19 Method for controlling a converter

Country Status (1)

Country Link
CA (1) CA2762473C (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020205511A1 (en) * 2019-03-29 2020-10-08 Tae Technologies, Inc. Module-based energy systems having converter-source modules and methods related thereto
WO2022142841A1 (en) * 2020-12-30 2022-07-07 南京泉峰科技有限公司 Power tool and control method therefor

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020205511A1 (en) * 2019-03-29 2020-10-08 Tae Technologies, Inc. Module-based energy systems having converter-source modules and methods related thereto
US11603001B2 (en) 2019-03-29 2023-03-14 Tae Technologies, Inc. Module-based energy systems having converter-source modules and methods related thereto
US11884167B2 (en) 2019-03-29 2024-01-30 Tae Technologies, Inc. Module-based energy systems having converter-source modules and methods related thereto
US11964573B2 (en) 2019-03-29 2024-04-23 Tae Technologies, Inc. Module-based energy systems having converter-source modules and methods related thereto
WO2022142841A1 (en) * 2020-12-30 2022-07-07 南京泉峰科技有限公司 Power tool and control method therefor

Also Published As

Publication number Publication date
CA2762473C (en) 2023-01-17

Similar Documents

Publication Publication Date Title
EP2469692B1 (en) Method for controlling a converter
US11398791B2 (en) Model predictive control of a converter based on pulse width modulated switching patterns
Karamanakos et al. Model predictive control of power electronic systems: Methods, results, and challenges
US10516328B2 (en) Controlling a three-phase electrical converter
US9806595B2 (en) Fast model predictive pulse pattern control
Song et al. Predictive current control of three-phase grid-connected converters with constant switching frequency for wind energy systems
JP6326832B2 (en) Inverter control method and voltage type inverter
EP3496261B1 (en) Control and modulation of a converter
US11967908B2 (en) Model predictive pulse pattern control based on small-signal pulse pattern optimization
CA2976011A1 (en) Model predictive damping of oscillations in an electrical converter system
Geyer et al. Model predictive pulse pattern control with very fast transient responses
CA2762473C (en) Method for controlling a converter
WO2016202623A1 (en) Fpga-based model predictive control
JP6982448B2 (en) Power converter
Kazmierkowski et al. Pulse width modulation techniques for three-phase voltage source converters
Tian et al. Computationally efficient optimization method for model predictive pulse pattern control of modular multilevel converters
EP4277109A1 (en) Carrier based model predictive control for converter with filter cells
Spudić et al. Fast control of a modular multilevel converter STATCOM using optimized pulse patterns
WO2024008973A1 (en) Model predictive control for converter with filter cells based on offline-computed pulse patterns and online cell balancing
BRPI1107034A2 (en) PROCESS FOR CONTROLLING CONVERTER
Begh et al. Gradient-Based Predictive Pulse Pattern Control with Active Neutral Point Potential Balancing for Medium-Voltage Induction Motor Drives

Legal Events

Date Code Title Description
EEER Examination request

Effective date: 20161214

EEER Examination request

Effective date: 20161214

EEER Examination request

Effective date: 20161214

EEER Examination request

Effective date: 20161214

EEER Examination request

Effective date: 20161214

EEER Examination request

Effective date: 20161214