Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
MODEL PREDICTIVE PULSE PATTERN CONTROL BASED ON SMALL-SIGNAL PULSE PATTERN OPTIMIZATION
Document Type and Number:
WIPO Patent Application WO/2021/069259
Kind Code:
A1
Abstract:
A method for controlling an electrical converter system (10) comprises: determining a nominal pulse pattern (t* p,i , Δu* p,i ) and a reference trajectory (x*) of at least one electrical quantity of the electrical converter system (10) over a horizon of future sampling instants, wherein the nominal pulse pattern (t* p,i , Δu* p,i ) and the reference trajectory (x*) are determined from a table of optimized pulse patterns, the nominal pulse pattern (t* p,i , Δu* p,i ) comprises switching transitions (Δu* p,i )between output voltages of an electrical converter (12) of the electrical converter system (10) and the reference trajectory (x*) indicates a desired future development of an electrical quantity of the converter system (10); determining a small-signal pulse pattern (ũ abc (t, λ ρ,i )) by minimizing a cost function, which cost function includes a small-signal error, which is based on a difference of a reference trajectory (x*) and a predicted trajectory (x), wherein the impulse strengths (λ ρ,i ) of the small-signal pulse pattern (ũ abc (t, λ ρ,i )) encode a voltage-time value at each switching transition of the nominal pulse pattern (t* p,i , Δu* p,i ), and wherein the predicted trajectory (x) is determined over the horizon from measurements (i, v c , i g ) in the converter system (10) and from a model of the converter system (10), into which a sum of the nominal pulse pattern (t* p,i , Δu* p,i ) and small-signal pulse pattern (ũ abc (t, λ ρ,i )) are input; determining a modified pulse pattern (t opt,p,i , Δu p,i ) by moving the switching transitions of the nominal pulse pattern (t* p,i , Δu* p,i ), wherein a switching transition is moved by a time interval, such that the time interval times a direction of the switching transition equals the voltage-time value that the impulse strength (λ p,i ) encodes at the nominal switching transition; and applying at least the next switching transition of the modified pulse pattern (t opt,p,i , Δu p,i ) to the electrical converter system (10).

Inventors:
DORFLING MARTINUS DAVID (ZA)
DU TOIT MOUTON HENDRIK (ZA)
GEYER TOBIAS (CH)
Application Number:
PCT/EP2020/077246
Publication Date:
April 15, 2021
Filing Date:
September 29, 2020
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
ABB SCHWEIZ AG (CH)
International Classes:
H02M7/48; G05B13/04; H02M1/12; H02M7/5387; H02P23/00; H02M1/00; H02P21/00; H02P27/12; H02P27/14
Domestic Patent References:
WO2016134874A12016-09-01
WO2016134874A12016-09-01
Foreign References:
EP2469692A12012-06-27
Other References:
"Handbook of Model Predictive Control", 30 November 2018, SPRINGER INTERNATIONAL PUBLISHING, ISBN: 978-3-319-77489-3, ISSN: 2373-7719, article DANIEL E. QUEVEDO ET AL: "Model Predictive Control for Power Electronics Applications", pages: 551 - 580, XP055684249, DOI: 10.1007/978-3-319-77489-3_23
GEYER T ET AL: "Hybrid Model Predictive Control of the Step-Down DC-DC Converter", IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, IEEE SERVICE CENTER, NEW YORK, NY, US, vol. 16, no. 6, 1 November 2008 (2008-11-01), pages 1112 - 1124, XP011225968, ISSN: 1063-6536, DOI: 10.1109/TCST.2008.917221
DI CAIRANO S ET AL: "Model predictive controller matching: Can MPC enjoy small signal properties of my favorite linear controller?", 2009 EUROPEAN CONTROL CONFERENCE (ECC), IEEE, 23 August 2009 (2009-08-23), pages 2217 - 2222, XP032758051, ISBN: 978-3-9524173-9-3, [retrieved on 20150331]
QUEVEDO ET AL.: "Handbook of Model Predictive Control", 30 November 2018, SPRINGER INTERNATIONAL PUBLISHING, article "Model Predictive Control for Power Electronics Applications", pages: 551 - 580
GEYER ET AL.: "IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY", vol. 16, 1 November 2008, IEEE SERVICE CENTER, article "Hybrid Model Predictive Control of the Step-Down DC-DC Converter", pages: 1112 - 1124
CAIRANO ET AL.: "2009 EUROPEAN CONTROL CONFERENCE (ECC", 23 August 2009, IEEE, article "Model predictive controller matching: Can MPC enjoy small signal properties of my favorite linear controller?", pages: 2217 - 2222
Attorney, Agent or Firm:
QIP PATENTANWÄLTE, DR. KUEHN & PARTNER MBB (DE)
Download PDF:
Claims:
CLAIMS

1. A method for controlling an electrical converter system (10), the method comprising: determining a nominal pulse pattern (t* p,i, Δu*p, ί) and a reference trajectory (x*) of at least one electrical quantity of the electrical converter system (10) over a horizon of future sampling instants, wherein the nominal pulse pattern (t*p,i,Δu*p,i) and the reference trajectory (x*) are determined from a table of optimized pulse patterns, the nominal pulse pattern (t* p,i, Δu*p ,i) comprises switching transitions (Δu*p,i) between output voltages of an electrical converter (12) of the electrical converter system (10) and the reference trajectory (x*) indicates a desired future development of an electrical quantity of the converter system (10); determining a small-signal pulse pattern (uabc (t,λp, i)) by minimizing a cost function, which cost function includes a small-signal error, which is based on a difference of a reference trajectory (x*) and a predicted trajectory (x), wherein impulse strengths (λp, ί) of the small-signal pulse pattern ( uabc(t,λp, i )) encode a voltage-time value at each switching transition of the nominal pulse pattern (t*p,i,Δu*p,i) , and wherein the predicted trajectory (x) is determined over the horizon from measurements (i, vc , ig) in the converter system (10) and from a model of the converter system (10), into which a sum of the nominal pulse pattern (t*p,i,Δu*p,i) and small-signal pulse pattern (uabc(t, λp ,i)) are input; determining a modified pulse pattern (topt,p i, Δup, ί) by moving the switching transitions of the nominal pulse pattern (t*p, i, Δu*p, ί), wherein a switching transition is moved by a time interval, such that the time interval times a direction of the switching transition equals the voltage-time value that the impulse strength ( λp, i ) encodes at the nominal switching transition; applying at least the next switching transition of the modified pulse pattern (topt,P,i, Δup, i) to the electrical converter system (10).

2. The method of claim 1, wherein the switching transitions of the modified pulse pattern ( topt,P,i , Δup, ί) during a current sampling interval are applied to the electrical converter system (10); wherein, during the current sampling interval, the small-signal pulse pattern (uabc (t,λp,i)) and the modified pulse pattern (topt,p i, Δup, i) are determined again for a horizon starting at a next sampling interval.

3. The method of claim 1 or 2, wherein the cost function is a quadratic function in the impulse strengths (λp, ί), which are arranged into a vector of impulse strengths (Λ); wherein the cost function comprises a quadratic term with a model matrix (V), which is multiplied at both sides by the vector of impulse strengths (Λ) and a linear term with a model vector (c) multiplied by the vector of impulse strengths (Λ); wherein the model matrix (V) and the model vector (c) are determined from measurements (i, vc, ig) in the converter system (10), the reference trajectory (x*), and the small-signal pulse pattern ( uabc(t , λp ,i)) such that the cost function encodes the small-signal error.

4. The method of one of the previous claims, wherein the cost function additionally minimizes a magnitude of the impulse strengths (λp, ί).

5. The method of one of the previous claims, wherein the cost function comprises a quadratic term with a penalty matrix (R ), which is multiplied at both sides by a vector of impulse strengths (Λ).

6. The method of one of the previous claims, wherein the small-signal pulse pattern (uabc(t , λp ,i)) is determined by minimizing the cost function subject to constraints; wherein the impulse strengths (λp, ί) of the small-signal pulse pattern ( uabc(t , λp ,i)) are constrained, such that the modified switching transitions in the same phase stay in the original order.

7. The method of one of the previous claims, wherein the small-signal pulse pattern (uabc(t, λp,i)) is determined by solving a quadratic program into which the reference trajectory (x*), the measurements (i, vc, lg), and the small-signal pulse pattern (uabc(t,λp, i)) are input.

8. The method of one of the previous claims, further comprising: determining an incumbent pulse pattern (tp,i , Δup, i) over the horizon, wherein the incumbent pulse pattern (t'p, i, Δup, i) comprises the modified switching transitions (topt,p,i) determined at the previous sampling instant and the remaining switching transitions of the nominal pulse pattern (tp i, Aup, i) up to the horizon; wherein the predicted trajectory (x*) is determined from the model of the converter system (10), into which a sum of the incumbent pulse pattern (t'p i, Δup, i) and small-signal pulse pattern (uabc(t, λp,i)) are input.

9. The method of claim 8, wherein the impulse strengths (λp,i) of the small-signal pulse pattern (uabc{t,λp,i)) are positioned at each switching transition of the incumbent pulse pattern (tp i, Δup, i) ; wherein a difference pulse pattern (uabc(t)) is determined, which encodes at least one rectangular voltage-time area compensating a difference between the nominal pulse pattern (t*p, i, Δu*p, ί) and the incumbent pulse pattern (t'p, i, Δup, ί).

10 The method of one of the previous claims, wherein the optimized pulse patterns and/or the at least one reference trajectory (x*) are determined offline and stored in a lookup table.

11. A computer program, which when executed by a processor is adapted for performing the method of one of the previous claims.

12. A computer-readable medium, in which a computer program according to claim 11 is stored. 13. A controller (18) for an electrical converter adapted for performing the method of one of claims 1 to 10. 14. A converter system (10), comprising: an electrical converter (12) interconnected with an electrical grid (16); a controller (18) according to claim 13 for controlling the electrical converter (12).

15. The converter system (10) of claim 14, further comprising: a resonant subsystem (14) comprising at least one of inductors and a filter; wherein the model of the converter system (10) used during optimizing the cost function includes a model of the electrical converter (12) and the resonant subsystem (14).

Description:
DESCRIPTION

Model predictive pulse pattern control based on small-signal pulse pattern optimization

FIELD OF THE INVENTION

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

BACKGROUND OF THE INVENTION

Optimized pulse patterns (OPP) are particularly suitable for medium-voltage converters thanks to their low total harmonic distortions (THD) at low switching frequencies. To achieve fast closed-loop control and to reject disturbances, model predictive control (MPC) methods are promising for power electronic applications. In particular, model predictive pulse pattern control (MP 3 C) may be seen as an adaptation of the MPC principle to the control problem of OPPs. MP 3 C controls the stator flux vector of an electrical machine along its nominal trajectory by manipulating the switching instants of the OPP. For example, EP 2 469 692 A1 describes such a method, in which switching instants of an optimized pulse pattern are modified to reduce a flux error.

However, MP 3 C is usually only applicable to first-order systems, such as electrical machines. For these, the stator flux in the orthogonal coordinate system is the integral of the applied converter voltage (when neglecting the voltage drop due to the stator resistance). When considering higher-order systems, such as converters with LC filters, the internal model of MP 3 C may not capture the resonant behaviour of the power converter circuit. To account for this, MP 3 C may need to be augmented by an additional damping term in its cost function or an outer damping loop must be added. Whilst these approaches may be effective during steady-state operation, the performance during large transients may be rather poor. More specifically, to avoid exciting the filter resonance too strongly, large reference step changes may have to be filtered by a ramp-limiter, resulting in a sluggish step response. WO 2016/134874 A1 relates to time shifting of switching instants of an optimized pulse pattern. The time shifting is done with model predictive control, in which an objective function based on a flux error is minimized.

The following articles relate to converter control based on model predictive control and mention linearization of optimization problems:

Quevedo et al: "Model Predictive Control for Power Electronics Applications" In: "Handbook of Model Predictive Control", 30 November 2018 (2018-11-30), Springer International Publishing, pages 551-580

Geyer et al: "Hybrid Model Predictive Control of the Step-Down DC-DC Converter", IEEE TRANSACTIONS ON CONTROL SYSTEMS TECHNOLOGY, IEEE SERVICE CENTER, NEW YORK, NY, US, vol. 16, no. 6, 1 November 2008, pages 1112-1124

Cairano et al: "Model predictive controller matching: Can MPC enjoy small signal properties of my favorite linear controller?“, 2009 EUROPEAN CONTROL CONFERENCE (ECC), IEEE, 23 August, 2009, pages 2217-2222

DESCRIPTION OF THE INVENTION

It is an objective of the invention to provide a controller for an electrical converter based on optimized pulse pattern, which also has a good performance during transient operations and/or which can be used for converter systems being higher-order physical systems.

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

An aspect of the invention relates to a method for controlling an electrical converter system. In particular, the method may be applied to a converter system comprising an electrical converter and a further component supplied by the converter, such as an electrical machine, a resonant subsystem and/or a cable with high impedance. The resonant subsystem may be a filter, such as an LC or LCL filter. As already mentioned, LC filters may result in a mathematical model of higher order, which may be addressed with the present method. The method may be automatically performed by a controller of the converter system.

According to an embodiment of the invention, the method comprises: determining a nominal pulse pattern and a reference trajectory of at least one electrical quantity of the electrical converter system over a horizon of future sampling instants, wherein the nominal pulse pattern and the reference trajectory are determined from a table of optimized pulse patterns, the nominal pulse pattern comprises switching transitions between output voltages of an electrical converter of the electrical converter system and the reference trajectory indicates a desired future development of an electrical quantity of the converter system;

A pulse pattern may comprise switching instants and an output level of a phase of the converter at the switching instant. The pulse pattern and all quantities mentioned below may be multi-phase quantities, i.e. may have values for every phase of the converter system.

A switching instant may be a time, at which the converter is switched. A sampling instant may be a time, for which future quantities in the controller are calculated. For example, sampling instants may be equidistant with respect to each other. A switching instant may be situated between two sampling instants.

The nominal pulse pattern may be determined by the controller online from a lookup table of offline optimized pulse patterns, which may have been determined with respect to an optimization goal for steady-state operation.

Furthermore, for one electrical quantity or multiple electrical quantities of the converter system reference trajectories may be determined. The electrical quantities may comprise a converter current, a grid current, a filter capacitor voltage, etc. In general, an electrical quantity may be a current and/or voltage and/or flux of a component of the converter system.

This may be done by extrapolating the quantities from actual values, which may have been determined from measurements, into the future. The extrapolation may be done with a mathematical model of the converter, which may comprise differential equations for the quantities. It also may be that the reference trajectories already have been determined offline for the optimized pulse patterns and are read from a lookup table.

According to an embodiment of the invention, the method further comprises: determining a small-signal pulse pattern by minimizing a cost function, which cost function includes a small-signal error, which is based on a difference of the reference trajectory and the predicted trajectory. The small-signal pulse pattern may encode an instantaneous voltage-time impulse at each switching transition of the nominal pulse pattern. The position in time of the impulse is given by the switching instant, whereas the amplitude or strength of the impulse relates to a voltage-time area when modifying this switching transition. The predicted trajectory may be determined over the horizon from measurements in the converter system and from a model of the converter system, into which a sum of the nominal pulse pattern and the small- signal pulse pattern are input and/or inputs. The cost function may be a function of the small-signal pulse pattern and in particular it may be a function of the instantaneous voltage-time impulses, which may be encoded with a set of voltage-time values. The cost function may be a quadratic function of these voltage time values.

The small-signal error may be determined from a difference of the reference trajectory and a predicted trajectory. More specifically, at future time steps differences of values of these trajectories are determined and a weighted norm of these differences quantifies the result as a scalar. The cost function may be determined to output the small-signal error.

The model, which may be seen as a mathematical and/or physical model of the converter system, may model differential equations of quantities of the converter system, such as a converter current, a capacitor voltage, a grid current, a machine current, a flux, etc. The differential equations may be processed in the form of difference equations. In general, the quantities may comprise currents and/or voltages and/or fluxes of components of the converter system. The cost function may be composed of quantities, which are determined based on the mathematical model. These quantities may be assembled into matrices and/or vectors, which are used in the cost function.

All these quantities may be seen as trajectories over time. For each quantity, sequences of values over time, i.e. trajectories, may be determined.

It may be that the prediction and/or optimization takes place with respect to constraints, such as minimal and maximal voltages and/or currents for specific components of the converter, such as a DC link voltage, a magnitude of an output current and/or output voltage of the converter, etc.

The prediction and/or optimization may lead to a quadratic program, which is implemented in the controller. In this case, the controller solves equations of matrices and vectors, which have been filled before, based on measurements, the reference trajectory and/or the small-signal pulse pattern before.

According to an embodiment of the invention, the method further comprises: determining a modified pulse pattern by moving the switching transitions of the nominal pulse pattern, wherein a switching transition is moved by a time interval, such that the time interval multiplied with a direction of the switching transition equals the voltage-time value at the switching transition. In other words, the strengths of the impulses are equal to the voltage time areas that are added to the nominal pulse pattern to obtain the modified pulse pattern. Here, the direction of the switching transition may refer to a voltage difference and/or a sign of this voltage difference defined by the switching transition.

In this way, not the pulse pattern itself, but the small-signal pulse pattern is optimized, which may simplify the computational burden when solving the optimization problem significantly. Basically, using the small-signal pulse pattern may be seen as a linearization around the nominal switching instants.

According to an embodiment of the invention, the method further comprises: applying at least the next switching transitions of the modified pulse pattern within the sampling interval to the electrical converter system. It may be that a receding horizon policy is performed by the controller, i.e. that the modified pulse pattern and/or the small-signal pulse pattern is determined over a horizon of more than one sampling instant and that solely the next switching transition or the switching transitions up to the next sampling instant are applied to the converter.

In general, the method may be applied to any linear converter system with multiple state variables and integer switch positions, which is modulated by optimized pulse patterns. Both continuous and discontinuous switching angles may be used. The method may regulate the converter system states along their reference trajectories, may manipulate the switch positions (or, effectively, the switching instants and switching transitions) of the converter and may modulate the converter with a modified optimized pulse pattern. The modifications to the pulse pattern may be approximated with the strengths of voltage-time impulses, that is, the normalized volt-second contribution of the impulse. These impulses may be called voltage-time impulses herein. Their strengths may be called voltage-time values.

The usage of the small-signal pulse pattern may be seen as a linearization around the switching instants. As a result, the evolution of the state error may be described by a set of linear differential equations. The optimization problem encoded by the cost function and optionally further constraints may penalize a tracking error and optionally a deviation from the unmodified switching instants. It has to be noted that the optimization problem may be formulated as a convex quadratic program and thus may be computationally relatively easy to solve.

On the other hand, during steady-state operation, the superior harmonic performance of optimized pulse patterns may be achieved. Furthermore, during transients, disturbances and/or faults a fast response may be achieved. One example for this may be a superior low voltage ride-through capability. Electrical resonances in the converter system may not be excited and/or any related oscillations may be to be actively damped.

The method may be insensitive to measurement and observer noise, and may be robust with respect to parameter uncertainties, such as unknown variations in the system parameters. Examples for this may include variations in inductors and/or capacitors of the converter system.

According to an embodiment of the invention, the switching transitions of the modified pulse pattern during an actual and/or current sampling interval are applied to the electrical converter system. The small-signal pulse pattern and the modified pulse pattern may be determined during an actual and/or current sampling interval for a horizon of more than one future sampling interval. Only the switching transitions of the modified pulse pattern during the current sampling interval may be applied to the converter system.

According to an embodiment of the invention, during the current sampling interval, the small-signal pulse pattern and the modified pulse pattern are determined again for a horizon starting with the next sampling interval. In other words, a receding horizon policy may be applied. The small-signal pulse pattern and the modified pulse pattern may be determined at every sampling interval for a horizon longer than one sampling interval.

According to an embodiment of the invention, the cost function is a quadratic function in the voltage-time values, which are arranged into a vector of voltage-time values. The cost function may comprise a quadratic term with a model matrix, which is multiplied at both sides by the vector of voltage-time values and a linear term with a model vector multiplied by the vector of voltage-time values. The structure of the model matrix and the model vector may be determined offline, and/or online by inputting the measurements, the reference trajectory, and the small-signal pulse pattern into the mathematical model of the electrical converter.

According to an embodiment of the invention, the model matrix and the model vector are determined from measurements in the converter, the reference trajectory, and the small- signal pulse pattern, such that the cost function encodes the small-signal error. With the known structure of the model matrix and the model vector, the values of the entries of the model matrix and the model vector can be determined online from measurements in the converter system, the reference trajectory, and the small-signal pulse pattern.

According to an embodiment of the invention, the cost function additionally minimizes a magnitude of the voltage-time impulses, the voltage-time values. For example, the cost function may comprise a quadratic term with a penalty matrix, which is multiplied at both sides by the vector of voltage-time values. The penalty matrix may be a positive semidefmite matrix, which penalizes the voltage-time values of deviating from zero.

According to an embodiment of the invention, the small-signal pulse pattern is determined by minimizing the cost function subject to constraints. These constraints may comprise constraints on voltages and/or currents in the converter system, in particular that these voltages and/or currents do not leave a bounding interval. A bounding interval may be defined by a constant minimum and a constant maximum.

According to an embodiment of the invention, the voltage-time values of the small-signal pulse pattern are constrained, such that the modified switching transitions in a phase stay in the original order.

According to an embodiment of the invention, the optimal small-signal pulse pattern is determined by solving a quadratic program into which the small-signal pulse pattern, the reference trajectory, and the measurements are input and/or are inputs. The quadratic program may be based on a cost function quadratic in the voltage-time values (such as describe above) and optionally constraints (such as mentioned above). At every sampling instant, the quadratic program may be solved numerically by the controller for determining the voltage-time values.

According to an embodiment of the invention, the method further comprises: determining an incumbent pulse pattern over the horizon, wherein the incumbent pulse pattern comprises the modified switching transitions determined at the previous sampling instant and the remaining switching transitions of the nominal pulse pattern up to the horizon.

When the method already has determined a modified pulse pattern, the incumbent pulse pattern may be used instead of the nominal pulse pattern to optimize the voltage-time values of the small-signal pulse pattern. To enhance the accuracy of the approximations, the linearization at subsequent time steps may be done around the modified switching instants computed at the previous time step rather than around the switching instants of the nominal pulse pattern.

In particular, the predicted trajectory may be determined from the model of the converter system, into which a sum of the incumbent pulse pattern and the small-signal pulse pattern are the input. The model matrix and the model vector used for forming a quadratic cost function may be determined from the reference trajectory, the measurements, and the small- signal pulse pattern. According to an embodiment of the invention, the small-signal pulse pattern encodes instantaneous voltage-time impulses, which may be encoded by impulse strengths, at each switching transition of the incumbent pulse pattern. In other words, the time instants of the instantaneous voltage-time impulses of the small-signal pulse pattern are moved to the ones of the incumbent pulse pattern (instead of the nominal pulse pattern). This may enhance the accuracy of the linear approximations around the switching instants.

According to an embodiment of the invention, a difference pulse pattern is determined, which encodes at least one rectangular voltage-time area to compensate a difference between the nominal pulse pattern and the incumbent pulse pattern. The difference pulse pattern may encode a rectangular voltage-time area at some or all switching transitions of the incumbent switching pattern. To account for the difference between the nominal pulse pattern and the incumbent pulse pattern, rectangular voltage-time areas may be included along with the small-signal pulse pattern. The difference pulse pattern may be the difference of the nominal pulse pattern and the incumbent pulse pattern determined at the previous sampling instant. The voltage time area at a switching transition may be equal to a difference of the time- instants of the nominal pulse pattern and the incumbent pulse pattern multiplied by the direction of the switching transition. It has to be noted that the rectangular voltage-time areas, which represent previous switching instant modifications, are not optimized but are used for compensating the differences between the nominal pulse pattern and the incumbent pulse pattern.

According to an embodiment of the invention, the optimized pulse patterns and the reference trajectory are determined offline and stored in a lookup table. An optimized pulse pattern may be determined for each modulation index and each pulse number, which are used in the converter system. The actual modulation index and pulse number may be determined from actual reference values and/or measurements in the converter system.

The optimized pulse patterns may have been calculated offline with respect to a specific optimization goal, such as a minimal total demand distortion of the current during steady- state operation. The optimized pulse patterns may be stored in a lookup table in the controller.

One or more reference trajectories also may have been determined offline for the optimized pulse patterns. The values for these reference trajectories also may be stored in a lookup table in the controller. Further aspects of the invention relate to a computer program, which when executed by a processor is adapted for performing the method as described above and below and to a computer-readable medium, in which such a computer program is stored. The method may be implemented in software and may be run on a controller having a processor and a memory in which the computer program 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. In general, the computer-readable medium may be a non- transitory or transitory medium.

A further aspect of the invention relates to a controller for an electrical converter adapted for performing the method as described above and below. It has to be noted that the method also may be at least partially implemented in hardware, for example in a DSP or FPGA.

A further aspect of the invention relates to a converter system, which comprises an electrical converter interconnected with an electrical grid and a controller as described above and below.

According to an embodiment of the invention, the converter system further comprises a resonant subsystem comprising at least one of inductors and a filter. For example, the resonant subsystem may be an LC filter or a cable, which may have a high impedance. The model of the converter system used during the optimization of the cost function may include a model of the electrical converter and the resonant subsystem. In particular, the resonant subsystem may result in differential equations of higher order.

It has to be understood that features of the method as described in the above and in the following may be features of the converter system, computer program, the computer readable medium and the controller, as described in the above and in the following, and vice versa.

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. 1 schematically shows a converter system according to an embodiment of the invention.

Fig. 2 shows a block diagram for a controller according to an embodiment of the invention.

Fig. 3A and 3B show pulse patterns, which are used in a method according to an embodiment of the invention.

In principle, identical parts are provided with the same reference symbols in the figures.

DETAILED DESCRIPTION OF EXEMPLARY EMBODIMENTS

Fig. 1 shows a converter system 10 comprising an electrical converter 12 and an LC filter 14, which are coupled with an electrical grid 16. The further respective quantities shown in Fig. 1 are listed in the end of the present description. Fig. 1 also shows a controller 18, which is adapted for performing the method for controlling the converter system 10, as described herein.

The LC filter 14 may comprise filter inductors L and filter resistors R connected between the converter 12 and the grid 16, and filter resistors Rc and filter capacitors C connected to the interconnection of the converter 12 and the grid 16.

As shown, the electrical converter 12 may be a neutral-point-clamped converter having a neutral-point-clamped phase leg 20 for each output phase. Other converters 12, such as T- type converters, modular multi-level converters and/or converters with flying capacitors may be used as multi-level converter 12. Also, two-level converters could be used.

Fig. 2 is a further drawing of the system 10, where the controller 18 is shown in more detail. The controller 18 comprises a pulse pattern selector 20, a reference trajectory generator 22, a small-signal optimizer 24, an incumbent pulse pattern determiner 26 and a Clarke transformation block 28.

A method for controlling the converter system 10, which may be automatically performed by the controller 18, will be explained with respect to the different blocks 20, 22, 24, 26, 28 in the following.

In a first step, depending on the grid voltage v g , the grid current reference I* g and the grid phase reference an appropriate optimized pulse pattern is selected by the pulse pattern selector 20. The pulse pattern selector 20 then provides the nominal switching instants t* p , i and the nominal switching transitions Δu* p, i of a nominal pulse pattern. Offline computed OPPs are a specific pulse width modulation (PWM) method. Unlike carrier-based PWM or space vector modulation, OPPs abandon the notion of the fixed modulation interval with one switching transition per phase and modulation (half)interval. The removal of these restrictions facilitates the computation of optimal switching angles that minimize the harmonic current distortions for a given switching frequency.

The switching instants and switch positions of an OPP are typically computed for one phase over a quarter of a fundamental period, assuming quarter- and half-wave symmetry and a 120° phase shift between the three phases.

In a second step, the optimal state reference trajectory x * is generated by the reference trajectory generator 22 from the nominal pulse pattern (t* p, i , Δu* p, ί )

In summary, a nominal pulse pattern (t* p, i , Δu* p, ί ) and at its corresponding reference trajectory x * of the electrical converter system 10 are determined over a horizon of future sampling instants, wherein the nominal pulse pattern (t* p, i , Δu* p, ί ) and the corresponding reference trajectory x * are determined from a table of optimized pulse patterns. The nominal pulse pattern (t* p, i , Δu* p, ί comprises switching transitions Δu* p, ί between output voltages of an electrical converter 12 of the electrical converter system 10 and the reference trajectory x * indicates a desired future development of the electrical quantities of the converter system 10

The optimized pulse patterns and optionally the reference trajectory x * may be determined offline and stored in lookup tables in block 20 and block 22, respectively.

In a third step, the small-signal optimizer 24 receives measurement values, such as the converter current i, the filter capacitor voltage v c and the grid current i g , which have been measured in the system 10 and which have been Clarke transformed by block 28.

The Clarke transformation maps any variable in the abc -plane to the two-dimensional vector in the αβ-plane via the transformation matrix

Herein, all variables in the abc- plane are denoted by their corresponding subscript, whereas the subscript is dropped for those in the ab- plane. 12

From the measurements, the small-signal optimizer 24 calculates an initial small-signal error, It then builds the Hessian H with the help of (44), see below, and the model vector c with the help of (50) and (51). By solving the QP (61), the vector of optimal impulse strengths Λ opt is found.

5 A small-signal pulse pattern u abc (t, λ p,i ), which may be provided as a vector of optimal impulse strengths Λ opt , is determined by minimizing a cost function, which cost function includes a small-signal error, which is based on a difference of the reference trajectory x * and the predicted trajectory x. The impulse strengths λ p,i of the small-signal pulse pattern u abc (t, λ p,i ) encode a voltage-time value A p>i at each switching transition of the nominal 10 pulse pattern t´ p, i , Au p i , and wherein the predicted trajectory x is determined over the horizon from measurements i, v c , i g in the converter system and from a model of the converter system 10, into which a sum of the nominal pulse pattern t* p, i, Δ u * p,i aind small- signal pulse pattern u abc (t, λ p,i ) are input and/or are inputs.

After that, in a fourth step, the strengths A p,i are translated back to the switching instant 15 modifications At opt,p i by the small-signal optimizer 24, which are then added to the switching instants t* p, i of the nominal pulse pattern or to the switching instants t´ p, i of the incumbent pulse pattern (see below) to determine the modified switching instants t opt , p,i of the modified pulse pattern, in accordance with (63).

A modified pulse pattern t opt, p,i , Δu p, l is determined by moving the switching transitions 20 of the nominal pulse pattern t´ p, i , Δ u * p ,i, wherein a switching transition is moved by a time interval, such that the time interval times a direction of the switching transition equals the voltage-time value that the impulse strengthλ p,i encodes at the nominal switching transition.

Only the switching transitions of the modified pulse pattern t opt , p,i, Δu p i within the sampling interval are then applied to the electrical converter 12.

25 Optionally, it may be that the method also uses an incumbent pulse pattern t´ p, i , AU p i instead of the nominal pulse pattern in the small-signal optimizer 24.

In this case, the modified switching instants t' p, i and the switching transitions Au p i determined at a sampling instant are stored as the incumbent pulse pattern by block 26. The incumbent pulse pattern t´ p, i , Au p i is updated at each sampling instant. At the subsequent sampling instant, the incumbent switching pattern (t ' p,i, Δu p, ί ) is an input (instead of the nominal pulse pattern) into the optimizer 24.

In summary, an incumbent pulse pattern t ' p,i, Δu p, i is determined over the horizon, wherein the incumbent pulse pattern t ' p,i , Δu p, i comprises the modified switching transitions t opt,p,i determined at the previous sampling instant and the remaining switching transitions of the nominal pulse pattern t* p i , Δu p, i up to the horizon. In the optimizer 24, the predicted trajectory x is determined from the model of the converter system 10, into which a sum of the incumbent pulse pattern t ' p,i, Δu p, i and small-signal pulse pattern u abc (t,λ p, i ) is the input.

The above steps may be repeated at each sampling instant. Note that the first two steps may be only required, if the operating conditions of the converter system 10 change.

In the method, several types of pulse patterns are used, which are shown in Fig. 3A and 3B.

The nominal pulse pattern u * is determined from the offline calculated optimized pulse pattern. The three-phase nominal pulse pattern is denoted by u* a bc (t). Its switching transitions occur at time instants t* p, i.

The incumbent pulse pattern u may be used by the controller 18 as a starting point, i.e. the pulse pattern whose switching transitions are modified. The three-phase incumbent pulse pattern is denoted by u abc (t). Its switching transitions occur at t' p, i.

The impulse strengths (or voltage-time values) X p, i of the small-signal pulse pattern u are optimized by the small-signal optimizer 24. The small-signal pulse pattern u comprises a train of Dirac delta functions (also known as impulses) at switching instants t' p, i with impulse strengths λ p, i.

The modified pulse pattern u mod results from the optimizer, and its first part (within the sampling interval) is applied to the converter 12. The three-phase modified pulse pattern is denoted by u mod abc (t) . Its switching transitions occur at t p i = t' p, i + Δt p, i.

As shown in Figs. 3 A and 3B, the controller 18 operates at discrete time steps kT s , where k ∈ N, and T s is the sampling interval, such as 25 μs. Note that, even though the controller 18 operates at discrete time instants kT s , the switching instant modification may be formulated in the continuous-time domain. This implies that the modified switching instants are real-valued quantities. The pulse patterns u * , u and u + U are only determined for a prediction horizon 22. Out of the prediction horizon 22, only the modified switching instants within the current sampling interval are applied, that is, between kT s and (k + 1 )T S. Then, at each subsequent sampling instant, the modified switching instants from the previous sample (which are now the incumbent switching instants) are re-optimized based on new information. This may be called receding horizon policy, which provides feedback and may make the controller robust to disturbances and modelling errors.

Converter system

Converter systems 10 are considered, which comprise linear elements and switching elements. The switch positions of the switching elements can be described by integer variables. Typical linear elements are voltage and current sources, ohmic resistances, capacitors and inductors. Because inductors and ohmic resistances are the building blocks of transformers and rotating electrical machines, these also may be part of the converter system 10.

A converter system 10 with linear elements and integer inputs can be described by the continuous-time state-space representation where x ∈ R nx and v g ∈ R nv are the state and parameter vectors in the ab reference frame, respectively, with n x ∈ N + and n v ∈ N + 0 . The input vector u abc = [u a u b u c ] T ∈ Z 3 is the three-phase switch position. Finally, F, G, and P are the state, input and parameter matrices, which characterize the converter system 10.

The formulation in (2) is sufficiently general to include any converter topology, including dc/ac, ac/dc, dc/dc and ac/ac converters, two-level, three-level and general multilevel converters, and voltage-source as well as current-source converters. By adapting the dimension of the input vector u abc , converters with a wide range of phase configurations can be addressed, including single-phase, three-phase and multi-phase converters.

As an embodiment, consider an NPC converter 12 connected to the grid 16 via an LC filter 14, as shown in Fig. 1. The phase voltages are denoted by v p , where p ∈ {a, b, c} are the three phases. Assume that the dc-link capacitors have an infinite capacitance, and that the neutral point N is fixed, dividing the dc-link voltage V d evenly across the dc-link capacitors. Each phase leg can synthesize three voltage levels: Thus, the output voltage for a particular phase is given by where u p ∈ {—1,0,1} represents the switch position of the particular phase.

The three-phase grid voltages are assumed to be symmetrical, and its phase voltages are shifted by 120° with respect to each other with a positive phase sequence. The stationary orthogonal reference frame can be defined by the grid voltage where V g LL is the root-mean-square (rms) line-to-line grid voltage, and ω 1 is the fundamental angular frequency.

Also the three-phase converter current the three-phase capacitor voltage of the LC filter, and the three-phase grid current may be defined. These quantities are transformed into the stationary orthogonal reference frame with the Clarke transformation (1).

Based on this, the state vector is defined as x(t) = [i α (t) ί (t) V C,α (t) V C, β(t)] T and the converter system can be written in the continuous-time state-space form (2). The corresponding matrices are given as

In here, I 2 denotes the 2 x 2 identity matrix, and 0 2x2 is a 2 x 2 zero matrix. The grid voltage v g is treated as a time-varying parameter to the system. Note that the input u abc is given in the three-phase abc frame, whereas the state vector x and the parameter vector v g are given in the stationary orthogonal ab reference frame. Control Problem

The control problem at hand is to regulate the state variables x of the power converter system (2) along a suitable state reference x * . In general, state variables include voltages, currents, fluxes and power of the converter, filter, load, grid or electrical machine. In doing so, the real and reactive power of the converter, its dc-link voltage or current, internal converter quantities such as neutral-point potential or a flying capacitor voltage, and the grid or load can be controlled. Typical load quantities to be controlled are the electromagnetic torque and the magnetization of an electrical machine, the phase currents of a load, or the real and reactive power of a load. Any converter topology can be considered, including single-phase, three-phase, multi-phase, dc/ac, ac/dc, dc/dc, and ac/ac converters. Two-level, three-level and general multilevel converter can be addressed, and voltage- source and current- source converters may be considered.

In order to minimize the harmonic distortions and the switching frequency, optimized pulse patterns (OPPs) with discontinuous switching angles may be used to modulate the converter switches. OPPs lack a fixed modulation interval. Therefore, regularly spaced time instants, and thus sampling instants, do not exist at which the ripple on the state variables is zero. This implies that when sampling the state quantities at regularly spaced time instants, the sum of the fundamental component with its ripple component will be measured. This significantly complicates the controller design.

The present control method described herein regulates the states of a linear multiple-input multiple-output system with integer inputs along its reference trajectories, manipulates the switch positions of the converter, modulates the converter with OPPs during steady-state operation to achieve a superior harmonic performance at a low switching frequency, achieves fast responses with little overshoots during reference step changes, and rejects unmeasured disturbances.

Small-Signal Modifications of the OPP Switching Instants

Small-Signal Corrections Firstly, solely Fig. 3A is considered. To simplify the notation, the phase p is dropped from the variables. The nominal pulse pattern is denoted with u* (t ' ). The nominal pulse pattern has n * switching transitions that occur at the (nominal) switching instants t i *, i = 1, , n * , and can be represented as where h(t) is the Heavyside step function and u* 0 is the initial (nominal) switch position.

The pulse pattern that may be optimized, i.e. the pulse pattern whose switching transitions are modified, is called the incumbent pulse pattern, and it is denoted with u(t). The incumbent pulse pattern can be represented as where the switching transitions t' i are referred to as the incumbent switching instants.

The pulse pattern that will be applied to the power converter is denoted with u mod (t ) and is referred to as the modified pulse pattern. The modified pulse pattern has n switching transitions that occur at the modified switching instants t i = t' i + Δt i for t = 1, and where Δt i is the time modification. It can be observed that the zth switching instant modification is associated with an area of

(7) λ i — Δt i Δui that is removed or added to the incumbent pulse pattern. This area is proportional to a voltage-time area. The modified pulse pattern may be represented by

Recall that the time derivative of the step function h(t) is the Dirac delta function, or simply the impulse, δ (t). By using a first-order Tayler series expansion of the step functions around the incumbent switching instants t·, (8) can be approximated by

With the definitions of (5) and (7), (9) simplifies to

(10)

The (linearized) modified pulse pattern in (10) comprises two terms. The first one is the (unmodified) incumbent pulse pattern u(t), whereas the second expression states the (approximated) modifications. These modifications are impulses at the incumbent switching instants t' i with strengths and the strengths may be seen as representing (rectangular) voltage-time areas.

This gives rise to a train of voltage-time impulses that will be an input to a small-signal model, as describe below. Based on this model, the model predictive controller of the optimizer 24 will adjust the impulse strengths of the small-signal pulse pattern as required. By rewriting (7), the impulse strengths can be translated into the switching instant modifications

The translation from impulse strengths to switching instant modification is based on the linearization in (10). More specifically, the (shaded) rectangular voltage-time areas in Figs. 3A and 3B are approximated by the strengths of the voltage-time impulses. The narrower the voltage-time areas, the better the approximation.

Updating the Incumbent Switching Instants

Since the modifications to the pulse pattern of (10) are based on approximating rectangular voltage-time areas with impulse strengths, the influence of the modifications on the behavior of the system states will as a rule only be accurate for small modifications (i.e. small impulse strengths) to the switching instants. However, using impulse strengths to model corrections will result in the underlying optimization problem of the control algorithm to be a convex QP. If impulse strengths were not used to model corrections, and therefore no linearization step was used, the optimization problem would be substantially more difficult and time consuming to solve. To address this issue, the optimization problem is formulated around the switching instants computed at the previous time step, rather than the nominal switching instants. This ensures a convex QP and highly accurate predictions during steady-state operation within a few sampling instants after a step-like transient.

The small-signal input is defined as the difference between the modified pulse pattern and the nominal pulse pattern,

The small-signal input ii(t) + u(t) comprises two terms.

The first term U(t) = u (t) — u* (t ' ) refers to the difference between the incumbent pulse pattern and the nominal pulse pattern. This term is called small-signal difference pulse pattern, or small-signal difference input, and/or may be composed of voltage-time areas.

The second term u(t ' ) refers to the train of voltage-time impulses, which may be called small-signal pulse pattern.

In Fig. 3A, the switching instants of the nominal pulse pattern and the incumbent pulse pattern are equal (t- = tf). This results in the small-signal input only containing voltagetime impulses u(t ) as defined in (11) and depicted in Fig. 3A. The controller 18 then calculates the impulse strengths, which are then translated to the modified switching instants ti (of the modified pulse pattern) using (6) and (12).

At the subsequent step in Fig. 3B, the incumbent switching instants t[ are updated with the modified switching instants t t computed at the previous time step k - 1 (i.e. the modified switching instants shown in Fig. 3 A). The small-signal input now contains additional terms, which are the actual (rectangular) voltage-time areas from the previous correction, alongside the voltage-time impulses, i.e.,

This is illustrated in Fig. 3B. Note that all terms in (15), except for the last one, refer to the small-signal difference pulse pattern u(t).

Three-Phase Case

The previous sections are generalized to the three-phase case. The modification of the zth switching instant in phase p, with p ∈ {a, b, c}, is defined as where t p i denotes the modified switching instant, and t' p,i is the incumbent switching instant. The corresponding switching transition is defined as from up, i-1 to u p,i, where u p, i-1 and u p,i ∈ Z . Generalizing (7), the zth pulse strength in phase p is defined as

Consider the modified three-phase pulse pattern u mod,abc (t ) over the time interval t e [O, T p ], where T p is the prediction horizon of the to-be-designed controller. Following the principle derived in (10), the modified pulse pattern is defined as the superposition of the incumbent three-phase pulse pattern and the three-phase modification (i.e. the three-phase small-signal pulse pattern) in the form of a train of weighted voltage-time impulses. In here, n p is introduced as the number of switching transitions in phase p that fall within the horizon T p and λ p, i as the strength of the ith impulse in that phase. Note that the incumbent switching instants t' p' i are defined relative to the current time step t 0 = 0. The total number of switching transitions in the three phases within the horizon T p is denoted by n sw = n a + n b + n c.

Internal Dynamic Model

Recall the differential equation of the power converter system in (2). The modified three- phase pulse pattern u mod, abc (t ) is used as the input to this system. By integrating (2), the future state vector at time t ∈ [O, T p ] is where x 0 is the initial state at time t 0 = 0. Similarly, the optimal state reference trajectory during steady-state operation follows from the nominal pulse pattern as where is the optimal initial state and

The error between the actual state and its reference is the so-called small-signal error, x ∈ R nx . By inserting (23) and (22) with (19) into (25), the expression is obtained, where x Q = x 0 — x*0 is the initial small-signal error. Because the expression (19) only holds approximately, the small-signal error in (26) is also an approximation. Note that the state error is a function of the impulse strengths λ p,i, which model the modifications to the incumbent pulse pattern. The grid voltage is not part of the small-signal model in (26), but the grid voltage will be required by the controller when selecting the appropriate pulse pattern.

State Error in Vector Form

The small-signal error (26) can be written in a compact form. To this end, in (26) the small-signal pulse pattern is rearranged, see (21), resulting in

where

Manipulations involving T(t) are moved to Appendix A. By using the well-known sifting property of the impulse, the integral in (27) turns into where G a = G[100] T , G b = G[010] T , and G c = G[001] T The small-signal error can now be written in vector form as where F(ί) e R nxXnsw is the input matrix, and Λ ∈ R nsw is introduced as the vector of impulse strengths, with the n sw impulse strengths over the horizon T p . Note that г(t) captures the behavior of the previous corrections. It will be shown below that it may be neglected at the expense of accuracy.

Control method

In this section, the controller 18 and the control method performed by the controller is described in more detail. The controller 18 and the control method are based on the small- signal error expression (30).

Objective Function

The objective function penalizes with the positive semidefmite penalty matrix Q ∈ R nxXnx the integral of the small-signal error over the prediction horizon of length T p. Note that The second term in (33) penalizes the strength of the voltage-time impulses in order to discourage unnecessarily large modifications to the incumbent pulse pattern. The corresponding penalty matrix R E M nswX nsw is required to be positive semidefmite.

First Term The first term can be expanded to where and Consider the (i',j ') th entry of the n sw X n sw matrix Y in (35). Assume that the i'th entry corresponds to phase p 1 ∈ {a, b, c} and the ith switching transition in that phase. The quantities p 2 and j are defined accordingly for a given j' . The (i',)')th entry of Y can then be written as where t'i j - = max{t p1 t' p2,j· }. The integral of (38b) results in

Calculating the integral of the product of two matrix exponentials, which do not commute, is not trivial. According to a theorem, the integral can be calculated as where Next, the integral in (39) is rewritten in the form of (40) so that (41) and (42) can be used to solve it:

By time shifting the integrand forward by t'i j , the integral becomes

The n sw -dimensional column vector 0(t) in (36) is split it up into two terms where

Consider the i'th entry of Θ 0 (t) T , and assume that it corresponds to phase p and the ith switching transition in that phase. With (31), (48)

Its integral can also be written in the form of (40), so that (41) and (42) can be used to solve it. Following a time shift forward by t' p, i, the integral becomes

The calculation involving the second term in (45),

(51) are moved to Appendix B.

The i'th entry of the vector c is then given by

Note that q(ΐ) in (34) is not a function of the vector of impulse strengths L. Therefore, it is merely a constant in the cost function, which has no influence on the solution of the to- be-derived optimization problem. This fact allows us to omit q(ΐ) hereafter.

The first term of the objective function, J1, which minimizes the small-signal error, can now be written as

Second term The second term of the objective function, which penalizes the entries of the vector of impulse strengths L, is

Vector Form The objective function is the quadratic function where H = V + R is known as the Hessian and contains the second-order partial derivatives of /(L), and c is a vector with linear coefficients.

In the above, the matrix V is also called the model matrix, while the vector c is called the model vector. The matrix R is called the penalty matrix.

Constraints

To enforce an ascending order on the modified switching instants in each phase, the set of constraints must be imposed for each phase p. Switching instants cannot be shifted into the past and not beyond the prediction horizon T p . Alternatively, the n p th switching transition in a phase can be upper bounded by the next incumbent switching transition beyond the horizon, t ' p,n p +1

With the help of (16) and (18), the set of constraints (56) can be recast in terms of the impulse strengths λ p,i:

Applying (57) to the phases a, b, and c, the constraint

AΛ ≤ B (58) in matrix form arises, with respect to

Additional constraints may be added to the controller formulation. For example, state constraints in the form of x(t) ∈ X , with the time t ∈ [O, T p ], could be added to (61b), see below. Provided that the constraint set X is a polyhedron, the optimization problem (61) below remains a convex QP.

Quadratic Program

Minimizing the objective function (55) while respecting the constraint (58) leads to the quadratic program (QP)

The vector of impulse strengths L is the decision (or optimization) variable, and Λ opt is the optimal solution to the QP. The latter cannot be solved algebraically; instead, numerical optimization techniques must be employed, such as gradient methods or interior point methods.

Note that the problem (61) is convex, since the constraints are linear and the objective function is quadratic in the decision variable with a positive semidefmite Hessian H. One can show that this follows from the fact that the penalty matrices Q and R are positive semidefmite. If R is positive definite, then the Hessian H is also positive definite.

Optimal Switching Instants

Having solved the QP (61), the vector of optimal pulse strengths Λ opt is translated with (18) into the optimal switching instant advancements or delays

By adding these modifications to the incumbent switching instants of the pulse pattern, the optimal switching instants are obtained where (16) was used.

Standard Controller

The computational burden of the control algorithm can be reduced if the switching instant updating step is neglected (i.e. the linearization is always done around the nominal switching instants). This implies that the incumbent pulse pattern u abc (t ) is replaced by the nominal pulse pattern u a * bc (t). Because the incumbent pulse pattern and the nominal pulse pattern are then equal, the small-signal error in (30) reduces to The i'th entry of the linear term in the cost function, see (52), then reduces to c i' =c 0,i ' .

The accuracy of the small-signal error prediction may be reduced. Recall that the voltage- time areas in Fig. 3 A where approximated by the strengths of their corresponding impulses. Small modifications, and thus small voltage-time areas with small impulse strengths are accurately represented, but a certain error may arise for larger modifications. These errors may manifest themselves in inaccurate predictions. Nevertheless, thanks to the receding horizon policy, these inaccuracies may be compensated by the controller.

Appendix A

The expression Γ(t) defined in (28), which appears in (30), can be re-arranged as where it has been used that an integral involving the step function is

Here, has been introduced.

(65) is decomposed into three terms

Appendix B

The equations involving the integral of (66) are evaluated. The integrals of the terms in (48) will be considered separately, where First, (71) is further decomposed into each phase separately where p 2 is a particular phase of (67) and Note that Its integral is split into two parts and following a time shift forward with and using algebraic manipulations similar to the derivation of (44), becomes where is defined in (40). The second integral can be calculated using where

Using (77), (76) becomes

Next consider (72), which has the same structure as (71), and after following the same derivations used in the calculation of the latter, can be stated as where

Lastly, consider (73), which can be re-written as

Its integral is also split into two parts and following a time shift forward by t p i becomes

Using (41) and (77), (83) becomes

Symbols t Time, t ∈ R R k Discrete time step, k ∈ N d Pulse number, d ∈ N m Modulation index, m ∈ [0,4/p] p A particular phase, p ∈ {a, b, c} u p i ith single-phase switch position of phase p , u p, i e {—1,0,1}

Δu p i ith switching transition in phase p , Δu p i ∈ {—1,1} λ p,i ith impulse strength (also known as the voltage-time value) in phase p , λ p, ί

R

Λ Vector of impulse strengths (also known as the vector of voltage-time values) over the horizon, Λ ∈ R nsw t* p ,i ith nominal switching instant of phase p t' pi ith incumbent switching instant of phase p t pi ith modified switching instant of phase p

Δt p i ith switching instant modification of phase p , At p i = t p i — t' p, i u a * bc (t ) Three-phase nominal pulse pattern u a6c (0 Three-phase incumbent pulse pattern u moci,abc (0 Three-phase modified pulse pattern u(t) Three-phase small-signal pulse pattern, defined as u(t) = u mod abc (t ) — uabc(t) u(t) Three-phase difference pulse pattern, defined as u(t) = —u abc (t) — u a * bc (t ) x*(t) State vector x * (t) Optimal (reference) trajectory of the state vector x(t) Small-signal error, defined as x(t) = x(t) — x * (t)

T p Prediction horizon in time, T p ∈ R +

T s Sampling interval of the controller, T s ∈ R + n p Number of switching transitions in phase p occurring within the horizon n sw Total number of switching transitions within horizon, n sw = n a + n b + n c

F System matrix in the continuous-time domain G Input matrix in the continuous-time domain

P Parameter matrix in the continuous-time domain

H Hessian matrix in the QP c Column vector in the QP

Variables z(t) Scalar quantity in the continuous-time domain z Column vector referring to, e.g. , a three-phase quantity

Abbreviations ac Alternating current dc Direct current

MPC Model predictive control

MP 3 C Model predictive pulse pattern control

NPC Neutral-point-clamped

OPP Optimized pulse pattern

PWM Pulse width modulation

QP Quadratic program rms Root-mean-square

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 practising 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 fulfil the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. Any reference signs in the claims should not be construed as limiting the scope.