The present application is a National Stage Entry of International Application No. PCT/EP2020/077254, filed on Sep. 29, 2020, which claims the benefit of priority to European Patent Application No. 19202733.2, filed on Oct. 11, 2019, the entire contents of which are incorporated by reference in their entirety herein.
The disclosure relates to the field of control of electrical converters. In particular, the disclosure relates to a method, a computer program, a computer-readable medium and a controller for controlling an electrical converter system. Additionally, the disclosure relates to an electrical converter system.
Some years ago, MP3C (model predictive pulse pattern control) has been introduced to control electrical converters. With MP3C offline optimized pulse patterns may be modified online to control them in a closed loop to even better reach control objectives.
For example, EP 2 469 692 A1 describes such a method, in which switching instants generated from optimized pulse patterns are modified (or moved) to reduce a flux error.
The concept of MP3C is usually limited to control systems whose dynamics can be described by first-order differential equations. For example, when controlling the virtual converter flux vector of a grid-connected converter or when controlling the stator flux vector of an electrical machine, first-order dynamical systems arises.
When adding an LC filter to the converter system, a third-order system may arise, since the LC filter adds two more state variables in each axis of an orthogonal coordinate system.
In the presence of LC filters a standard MP3C may be adopted and virtual filter quantities may be controlled, rather than grid or machine quantities. Specifically, the virtual converter flux vector may be controlled. By doing so, a current through the LC filter's inductor may be controlled, rather than a grid current or a stator current of a machine. As a result, the system, which is to be controlled is of first order and standard MP3C may be used.
However, the closed-loop behaviour of such a type of control may be slow. Even more importantly, poorly damped resonance peaks in the circuit may lead to oscillations in the LC filter and/or when a long cable is present. Without passive damping, active damping methods may be required to avoid large oscillations. These may require the addition of an active damping control loop.
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.
EP 3 496 261 A1 mention that the switching signal may be averaged for concealing the switching nature of the power converter. Such a statement is also made in by Quevedo et al: “Model Predictive Control for Power Electronics Applications” In: “Handbook of Model Predictive Control”, 30 Nov. 2018 (2018 Nov. 30), Springer International Publishing, pages 551-580.
A controller for an electrical converter system based on optimized pulse pattern is provided, which also has a good performance during transient operations and/or which can be used for converter systems being higher order physical systems.
The features of the controller are achieved by the subject-matter of the disclosure, and further example embodiments are also described herein.
An aspect of the disclosure relates to a method for controlling an electrical converter system. In particular, the method may be applied to a converter system including an electrical converter and a further component supplied by the converter, such as an electrical machine, a grid, 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 solved with the present method. The method may be automatically performed by a controller of the converter system.
According to an embodiment of the disclosure, the method includes: determining a switching signal and a reference trajectory of at least one electrical quantity of the electrical converter system over a horizon of future sampling instants, wherein the switching signal and the reference trajectory are determined from a table of optimized pulse patterns, the switching signal includes and/or defines switching transitions between output levels of an electrical converter of the electrical converter system and the reference trajectory indicates a desired future trajectory of the at least one electrical quantity and/or desired future developments of electrical quantities of the converter system.
A switching signal may include switching instants and switch positions at the switching instants. The switching signal and all quantities mentioned below may be multi-phase quantities, i.e. may have values for every phase of the converter system. A switch position may be an output level of an electrical converter.
A switching instant may be a time, at which the converter semiconductor switches are switched. A sampling instant may be a time, at which measurements and/or estimates are obtained and 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 switching signal may be determined by the controller online from a lookup table of offline computed 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, a reference trajectory may be determined. The electrical quantities may include a converter current, a grid current, a filter capacitor voltage, a stator current, a stator flux, etc. In general, an electrical quantity may be a current, voltage and/or flux of a component of the converter system.
This may be done by predicting the quantities from actual values, which may have been determined from measurements, into the future. The prediction may be done with a mathematical model of the converter, which may include 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 disclosure, the method further includes: generating a sequence of nominal (discrete-time) averaged switch positions from the nominal (continuous-time) switching signal over the horizon, wherein the switching signal is divided into sampling intervals, and the averaged switch positions are determined by averaging the switching signal in the sampling interval defined by the time instants and switch positions in the sampling interval. The sequence of nominal averaged switch positions, which may be determined for each phase of the converter system, may be interpreted as a step function, which changes solely at sampling instants. A sampling interval may be the interval between two consecutive sampling instants. The averaging may be done such that in a sampling interval, the averaged switch position is the exact representation of the averaged switching signal in that sampling interval.
Due to the usage of the averaged switch position, in the following steps of the method, predicted future values solely may be determined for the sampling instants (and not additionally for the switching instants). This may simplify the problem and/or the calculations for the controller significantly.
According to an embodiment of the disclosure, the method includes: determining a sequence of optimized averaged switch positions by optimizing a cost function based on the sequence of averaged switch positions, which cost function includes an error term with a difference of the reference trajectory and the predicted trajectory, both being trajectories of at least one output quantity, wherein the predicted trajectory is determined over the horizon from a model of the converter system, into which a sequence of modified averaged switch positions and measurements of the converter system are input.
The model, which may be considered 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 machine flux, etc. The differential equations may be processed in the form of difference equations adapted to the sampling instants. In general, the quantities may include currents, voltages and/or fluxes of components of the converter system.
All these quantities may be considered trajectories over time. For each quantity, sequences of values at sampling instants, i.e. trajectories, may be determined. The optimization of the sequence of averaged switch positions takes place with a cost (or objective) function, into which the reference trajectories and predicted trajectories are input and which cost function is optimal (minimal or maximal), when the predicted closed-loop performance becomes optimal.
It may be that the prediction and/or optimization takes place with respect to constraints, such as minimal and maximal voltages, currents and/or fluxes for specific components of the converter, such as a capacitor voltage, a magnitude of a current and/or an output voltage of the converter, etc.
The optimization may be performed with a quadratic program, which is implemented in the controller. In this case, the controller solves equations of matrices, which have been filled before based on measurements and/or estimates, the reference trajectories and/or the switching signals.
According to an embodiment of the disclosure, the method further includes: determining an optimized switching signal for a current sampling interval by moving switching transitions of the switching signal, such that in the current sampling interval the average of the switching signal with the modified switching transitions equals the optimized averaged switch position. From the optimized averaged switch positions, which have been optimized by optimizing the cost function, an optimized switching signal and/or at least an optimized switching signal up to the next sampling instant may be determined. This may be seen as the reverse operation of the operation described above, in which the averaged switch position is determined from the optimized pulse pattern.
According to an embodiment of the disclosure, the method further includes: applying the switching signal at least until the next sampling instant of the optimized switching signal to the electrical converter. It may be that a receding horizon policy is performed by the controller, i.e. that the sequence of optimized averaged switch positions over a horizon of more than one sampling instant and at least the optimized switching signal up to the next sampling instant are determined and that solely the optimized switching signal up to the next sampling instant is applied to the converter.
In summary, for converter systems with a physical behaviour of higher order, the method may manipulate the switching instants of pre-computed optimized pulse patterns in order to achieve the following:
The output variables may be regulated along their respective reference trajectories. These output variables may include the converter current, capacitor voltage and grid current for grid-connected converters with an LC filter. For converter systems with an electrical machine and an LC filter, the output quantities may be an electromagnetic torque, a stator flux magnitude, a stator flux vector, a rotor flux and/or a speed of the electrical machine, as well as an inductor current and/or a capacitor voltage of the LC filter.
During steady-state operation the superior harmonic performance of optimized pulse patterns may be achieved. Disturbances, such as a dc-link voltage ripple, may be fully rejected thanks to the high bandwidth of the controller.
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 to be excited and/or any related oscillations may 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 disclosure, sampling intervals without switching transitions are discarded and the averaged switch positions are solely optimized in the sampling intervals including at least one switching transition. This may reduce the complexity of the system of difference equations to be solved. For example, the resulting quadratic program may be composed of matrices of lower size and dimension, without entries for the discarded sampling intervals. In the optimized switching signal, the switching instants and/or switching transitions in the discarded sampling intervals from the original switching signal may be inserted.
According to an embodiment of the disclosure, the sequence of optimized averaged switch positions is determined by solving a quadratic program into which the sequence of averaged switch positions, the reference trajectory and the system model are input. This may result in a cost function equation with a Hessian matrix, which is multiplied by two vectors of input variables. It may be that the Hessian matrix of the quadratic program is time-independent and may be precalculated, for example in the case, when all sampling intervals are considered in the optimization of the cost function.
According to an embodiment of the disclosure, the cost function additionally includes a term with a difference of the nominal averaged switch positions and the optimized averaged switch positions. This may result in the optimization goal that switching instants are modified as little as possible.
According to an embodiment of the disclosure, the optimized averaged switch positions are determined by optimizing the cost function subject to constraints. As already mentioned, these constraints may include constraints on voltages, currents and/or fluxes in the converter system, such that these voltages, currents and/or fluxes do not leave a bounding interval. A bounding interval may be defined by a constant minimum and/or a constant maximum.
According to an embodiment of the disclosure, the averaged switch positions of the sequence of averaged switch positions are constrained, such that the modified switching transitions stay in the respective sampling interval. This may be achieved by determining a minimal and maximal value of the averaged switch positions for each sampling interval. The minimal value may be the lowest switch position of the nominal switching signal in that sampling interval. Analogously, the maximum value may be the highest switch position of the nominal switching signal in that sampling interval.
According to an embodiment of the disclosure, the averaged switch positions of the sequence of averaged switch positions are constrained, such that the modified switching transitions stay in the original order. In this case, the switching transitions may be moved outside of their original sampling instants.
According to an embodiment of the disclosure, the modified switching transitions of the optimized switching signal are determined for each sampling interval by solving a linear program with a further cost function, which minimizes the differences between the nominal switching transitions and the respective modified switching transitions, and constrains the modification of the switching transitions to equal the modification of the averaged switch position in that sampling interval. The linear program may also constrain the modified switching transitions to stay in their respective sampling intervals and in the original order. In the case when several switching transitions may be present between two sampling instants, the modification of the switching transitions may be performed subject to the optimization goal that the switching instants are modified as little as possible. This optimization may be performed independently from the optimization of the error between the reference trajectory and the predicted trajectory and/or the averaged switch positions.
According to an embodiment of the disclosure, the reference trajectory has a converter contribution, which is determined from the optimized pulse patterns, and/or the reference trajectory has a grid contribution, which is determined from an estimated sinusoidal grid voltage. In the case when the converter is connected to an electrical grid, the reference trajectory may be the sum of the reference trajectory with the converter contribution and the reference trajectory with the contribution from the grid voltage. The influence of the converter and of the grid on the reference trajectories may be split up into contributions from the converter and contributions from the grid.
The reference trajectory of each respective quantity may be the sum of the converter contribution and the grid contribution of the respective quantity. The converter contribution may be determined from the optimized pulse pattern, for example offline, and/or may be stored in the lookup table. The grid contribution may be determined from measurements, and the grid voltage may be assumed to be a sinusoidal quantity.
According to an embodiment of the disclosure, the converter contribution to the reference trajectory is determined at support points which may have a different spacing as the controller sampling instants, and the values of the reference trajectory at the sampling instants are determined by interpolation. For example, the reference trajectory may have support points at the switching instants of the switching signal. A linear interpolation between these points may be performed.
According to an embodiment of the disclosure, the optimized pulse patterns and a converter contribution of 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 from the optimized pulse patterns. The values for these reference trajectories also may be stored in a lookup table in the controller. These reference trajectories solely may provide a converter contribution of the overall reference trajectories, to which a grid contribution may be added.
Further aspects of the disclosure 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 disclosure 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 disclosure relates to a converter system, which includes an electrical converter connected to an electrical grid and a controller as described above and below.
According to an embodiment of the disclosure, the converter system further includes a resonant subsystem including at least one of an inductor, a capacitor, a filter and/or transformer. 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 disclosure will be apparent from and elucidated with reference to the embodiments described hereinafter.
The subject matter of the disclosure will be explained in more detail in the following text with reference to exemplary embodiments, which are illustrated in the attached drawings.
In principle, identical parts are provided with the same reference symbols in the figures.
Furthermore,
The LC-filter 14 may include filter inductors L1 and filter resistors R2 connected between the converter 12 and the transformer 16, and filter resistors R2 and filter capacitors C2 connected between the converter 12 and the transformer 16.
In the controller 20, a mathematical and/or physical system model is used, which is described with respect to the system 10 with the three-level NPC converter 12 connected to the grid 18 via the LC filter and the transformer as shown in
The converter system 10 may be connected to the grid 18 at the point of common coupling (PCC). Harmonic grid codes may be imposed at this point. To simplify the problem at hand, it may be assumed that the grid voltage and parameters are known. All quantities are referred to the secondary side of the transformer 16.
The three-phase converter current ic,abc(t), the capacitor voltage vcap,abc(t), the grid current ig,abc(t), the grid voltage vg,abc(t) and the converter voltage vc,abc(t) are transformed by a Clarke transformation (6, see below) to the stationary orthogonal αβ reference frame. The system model is shown in
From this, the following dynamical equations of the system 10 in the stationary orthogonal reference frame are derived
The converter voltage
A state vector
xαβ(t)=[ic,αβT(t) vcap,αβT(t) ig,αβT(t) vg,αβT(t)]T (3)
The system output
a. yαβ(t)=[ic,αβT(t) vcap,αβT(t) ig,αβT(t)]T
The controller operates at the discrete time instants t=kTs, with k∈N. Transforming the continuous-time dynamical system (4) to the discrete-time domain with the sampling interval Ts is done by exact discretization of the system:
xαβ(k+1)=Axαβ(k)+Bvabc(k)
yαβ(k)=Cxαβ(k), (5)
A Clarke transformation is used to translate three-phase quantities from the abc system to the stationary orthogonal reference frame. More specifically, the Clarke transformation translates the three-phase quantity ξabc=[ξaξbξc]T to the vector ξαβ=[ξαξβ]T and vice versa by:
ξαβ=Kαβξabc and ξabc=Kαβ−1ξαβ, (6)
The scaling factor ⅔ is needed to ensure invariance of the amplitudes.
(2) is inserted into (1), and the notation is simplified by combining the grid and transformer inductances and resistances to
L3=Lt+Lg and R3=Rt+Rg.
This leads to
When it is assumed that the grid voltages are perfectly sinusoidal quantities, they can be stated in the stationary orthogonal coordinate system as
where {circumflex over (v)}g is the amplitude of the grid voltage, ωg=2πfg is the angular grid frequency, and θg is the phase angle. The derivative of the grid voltage follows as
Writing (8) in vector notation with the definition of the state vector (3) directly leads to the compact continuous-time model (4) with the system, input and output matrices
Note that I2 and 02 are the identity and the zero matrix of the size 2×2, respectively. The identity matrix I6 is of the size 6×6.
A block diagram of a controller 20 for performing the method as described above and below is shown in
In the converter voltage determination block 24, the amplitude of the grid voltage is obtained from the absolute value of the measured grid voltage. From the real and reactive power references, P* and Q*, the required load angle γ* can be obtained. This may be done with the help of a phasor analysis using the system model shown in
The modulation index m is passed to the reference and pattern loader 26 together with the specified pulse number d. Based on these two parameters, the required OPP is loaded from a look-up table. The OPP is represented by the single-phase vectors A* and U*. The former holds the switching angles over one fundamental waveform, whereas the latter holds the corresponding single-phase switch positions.
The corresponding reference trajectory Y*1conv,αβ(θ) with a converter contribution is also loaded from the lookup table, which provides the references for the output variables when applying the OPP and when assuming a zero grid voltage. The reference trajectory Y*1conv,αβ(θ) may be provided at the angle samples θ*1.
In the switching table determination block 28, the switching table holds in each phase the next np, with p∈{a,b,c}, switching transitions within a prediction horizon interval. To compute the entries of the switching table, which correspond to a switching signal, the three-phase pulse pattern is created from the single-phase vectors A* and U*. The desired angular position θ*c on the pulse pattern is determined with the help of the voltage grid angle θg at the current sampling time and the load angle. The switching angles are translated into switching instants by
where ωg denotes the angular grid frequency. A suitable time offset might be subtracted from t*pi in (11). Finally, the switching transitions that fall within the prediction horizon are selected and stored with their nominal switching instant t*pi and switch position u*pi in the three-phase switching signal T*abc and U*abc.
In the reference trajectory determination block 30, the reference trajectories Y*αβ(k) for at least one electrical quantity of the converter system 10 are determined from the reference trajectory Y*1conv,αβ(θ) with the converter contribution and further quantities. The offline computed reference trajectory Y*1conv,αβ(θ) may be a function of only the converter voltage (the grid voltage is set to zero) at the support points θ*1. During online operation, the desired angular position θ*c on the trajectory may be determined, and the reference vectors Y*conv,αβ(k) for the next N sampling instants may be selected by interpolation. The grid-voltage-dependent trajectory Y*grid,αβ(k) is computed and both trajectories are superimposed. This will be described in more detail with respect to
The pulse pattern controller 32, which is described in more detail with respect to
Typically, the switching instants within the current sampling interval along with the new switch positions are provided to the converter. This concept may be based on time stamps. Alternatively, a single switch position can be computed, e.g. by rounding the averaged switch position to the nearest integer switch position.
For the converter 12 of
To characterize the general periodic switching signal, a fundamental period of 2π is assumed. The 2π-periodic switching signal u*(θ) with pulse number d is defined by 4d switching angles α*i with i∈{1, . . . , 4d} and 4d+1 switch positions u*i with i∈{0, . . . , 4d}, see
Δu*i=u*i−u*i−1. (14)
Switching by more than one level up or down is generally prohibited for multi-level converters; this restricts the switching transitions to Δu*i∈{−1,1}. Furthermore, for the three-level converter, the switch positions are restricted to u*i∈{−1,0,1}.
Optimized pulse patterns A*, U* may be the solution to an optimization problem subject to constraints. From the definition of the general switching signal follows that there are two sets of optimization variables in the optimization problem: the set of switching angles A*=[α*1 . . . α*4d]T and the set of switch positions U*=[u*0 u*1 . . . u*4d]T, which also contains the initial switch position.
Typically, a cost function J(A*, U*) for optimizing the optimized pulse patterns A*, U* may capture the total demand distortion (TDD) of the current, which is either the grid current of a grid-connected converter or the stator current of a machine-side inverter. The current TDD
The general OPP optimization problem minimizes the objective function J(A*, U*) subject to the following constraints:
This leads to the general OPP optimization problem of the following form:
The reference trajectories may be the steady-state waveforms of the nominal output variables over one fundamental period. These are directly obtained from the nominal OPP (assuming no disturbances, no dc-link voltage ripple, no ripple on the neutral point potential, etc.). Note that the output variables are a subset of the states.
In order to calculate the reference trajectories, the converter and grid voltages may be considered separately as inputs to the system using the notion of superposition. In this way, the grid voltages may be removed from the state vector, and the reduced state vector
{tilde over (x)}αβ(t)=[ic,αβT(t) vcap,αβT(t) ig,αβT(t)]T
with ñx=6 state variables may be defined. The corresponding continuous-time state-space model
treats the grid voltage as a time-varying parameter. In this model, the state and output variables are the same; this implies ñy=ñx.
To compute the matrices of the reduced state-space model (17a), the grid voltage may be treated as a parameter instead of a state variable. The new system matrix {tilde over (F)} can be derived from F by removing the seventh and eighth dimension
The input matrix G may be replaced by the two new input matrices
The controller requires the reference vectors at the next N sampling instants
Y*αβ(k)=[y*αβT(k+1)y*αβT(k+2) . . . y*αβT(k+N)]T.
By using the method of superposition, the contributions to the reference trajectories of the converter voltage Y*conv,αβ(k) and of the grid voltage Y*grid,αβ(k) are computed separately. This is shown in
Consider the nominal OPP with the modulation index m and pulse number d with the vector of switching angles A* and the vector of switch positions U*. From these, the three-phase switching signal u*abc(θ) can be constructed, which has 4d switching transitions in any of the three phases. A single switching angle vector is created, containing the n=3·4d switching angles sorted in ascending order α=[α0 α1 α2 . . . αn+1]T. New names are assigned to the switching angles according to their sorted position. Note that the initial angle α0=0 and the terminal angle αn+1=2π are added to ease the computation over one fundamental period of 2π.
The constant three-phase switch position u*abc(αi) may be determined between two consecutive switching angles αi and αi+1. Given the state vector {tilde over (x)}conv,αβ(αi) at αi the state vector at the next switching angle αi+1 is computed using (17a) in which the grid voltage vg,αβ is set to zero:
{tilde over (x)}conv,αβ(αi+1)=e{tilde over (F)}(α
a. =Ãi{tilde over (x)}conv,αβ(αi)+{tilde over (B)}iu*abc(αi), (20)
The product of the matrices can be simplified by noting that
ÃnÃn−1 . . . Ãi=e{tilde over (F)}(α
The first term in (25) further reduces to
ÃnÃn−1 . . . Ã0=e{tilde over (F)}(α
With (26) and (27), (25) can be rewritten as
{tilde over (x)}conv,αβ(αn+1)=e{tilde over (F)}2π{tilde over (x)}conv,αβ(α0)+Σi=0ne{tilde over (F)}(α
Due to periodicity,
{tilde over (x)}conv,αβ(α0)={tilde over (x)}conv,αβ(αn+1). (29)
With (28) inserted into (29), the initial state vector
{tilde over (x)}conv,αβ(α0)=[Iñ
In the following, the evolution of the nominal output vector over the fundamental period is computed. To do so, the angle between 0 and 2π is gridded with the angle interval Δθ*, and the output vectors at the reference angles θ*1=[0 Δθ* . . . 2π]T are computed with the reduced system model (17a)
The reference sampling instants θ*1 and the resulting trajectory of nominal output vectors
Y*1conv,αβ(θ)=[y*conv,αβT(0) y*conv,αβT(Δθ*) . . . y*conv,αβT(2π)]T (32)
may be stored for one fundamental period in a look-up table. This may be done for each pulse number and modulation index.
The reference selector 38 may load the precomputed output trajectories Y*1conv,αβ(θ) for the appropriate pulse number d and modulation index m, and may select from these the reference vectors for the next N sampling instants in the following way, see also
θ*c=θg+γ*. (33)
The load angle depends on the real and reactive power references, P* and Q*. In
The nominal output vectors over the prediction horizon N
Y*conv,αβ(k)=[y*conv,αβT(k+1) y*conv,αβT(k+2) . . . y*conv,αβT(k+N)]T
may be computed by interpolation.
For the online computation of the output trajectories as a function of the grid voltage, the converter voltage in (17a) may be set to zero and a perfect sinusoidal grid voltage may be assumed. The corresponding state vector is {tilde over (x)}grid,αβ. The grid voltage is given in stationary orthogonal αβ coordinates by
and evolves according to the differential equation
The derivative of the state vector can be explicitly determined, and (17a) can be rewritten as
Note that 02 is the 2×2 zero matrix. Rearranging (37), the nominal output vector can be obtained as a function of the grid voltage
y*grid,αβ(k)=[R−{tilde over (F)}]−1{tilde over (G)}2vg,αβ(k), (38)
By superposition, the overall resulting output trajectory of the system is derived as
Y*αβ(k)=Y*conv,αβ(k)+Y*grid,αβ(k), (39)
This trajectory includes the offline computed contribution from the OPP and the online computed contribution from the grid voltage. It may be used by the controller 20 as a reference for the output variables over a prediction horizon.
In particular, at the sampling instants kTs, the switching table with the entries U*abc and T*abc contains the nominal three-phase switch positions and the nominal switching instants of the continuous-time OPP between the current time kTs and the end of the prediction horizon (k+N)Ts. From this, the real-valued discrete-time sequence of nominal averaged switch positions V*abc(k) is generated over the prediction horizon by the switching signal transformation explained hereafter.
Block 42 translates the continuous-time switching signal u*abc(t) into the discrete-time averaged switch positions v*abc(k). This is done separately for each phase. The discrete-valued switching signal u*p(t)∈{−1,0,1}, with p∈{a,b,c} and t∈[kTs,(k+1)Ts] is turned into the real-valued averaged switch position v*p(k)∈[−1,1], which has the same average switch position within the kth sampling interval.
The single-phase switching signal u*p(t) is constructed from the nominal switching table with the entries T*abc and U*abc. This switching signal is defined from the current sampling instant kTs until the end of the prediction horizon (k+N)Ts. The switching signal approximation, the averaged switch position, is derived by averaging the continuous-time switching signal over the kth sampling interval [kTs,(k+1)Ts] according to
Let npk be the number of switching transitions occurring in phase p within the kth sampling interval
kTs≤t*p1≤t*p2≤ . . . ≤t*pn
For simplification in the derivation, the interval limits are renamed to
t*p0=kTs and t*p,n
The switching signal has the constant switch position u*pi between the switching instants t*pi and t*p,i+1. With this, (41) is solved by splitting the integral into npk+1 intervals of constant switch position, which leads to
Defining the ith time interval of constant switch position
τpi=t*p,i+1−t*pi with i=0, 1, . . . , npk, (45)
This equation states the general transformation of the single-phase switching signal to the averaged switch position in the kth sampling interval, i.e. the kth averaged switch position, with npk switching transitions in the kth sampling interval.
When npk=0, meaning there is no switching transition within the kth sampling interval, the time interval of constant switch position τp0, as defined in (45), is
τp0=Ts. (47)
Inserting (47) in (46) results in
v*p(k)=u*p0, (48)
The nominal averaged switch positions of each phase for the kth sampling interval are aggregated in the three-phase nominal averaged switch position vector v*abc(k)=[v*a(k) v*b(k) v*c(k)]T. The sequence of averaged switch positions may include averaged switch positions from the current sampling instant kTs until the end of the horizon at (k+N)Ts
V*abc(k)=[v*abcT(k) v*abcT(k+1) . . . v*abcT(k+N−1)]T. (49)
The three-phase averaged switch positions over the prediction horizon may be the manipulated variables of the controller. Their sequence may be defined as the vector
Vabc(k)=[vabcT(k) vabcT(k+1) . . . vabcT(k+N−1)]T. (50)
Consider phase p and assume npk switching transitions in the kth sampling interval. Let tpi denote the ith modified switching instant, with i∈{1, 2, . . . , npk}. It is required that the order of the switching instants remains unchanged in each phase. To achieve this, the constraint
kTs≤tp1≤tp2≤ . . . ≤tpn
Let vp(k) denote the modified averaged switch position in phase p and in the kth sampling interval. This variable is manipulated by the controller within the bounds
vp(k)≤vp(k)≤
These definitions hold true independent of the number of switching transitions in that sampling interval.
In sampling intervals in which no switching transition occurs, i.e., for which npk=0, the averaged single-phase switch position remains equal to the nominal switching signal u*p(t) at the kth sampling instant, i.e.,
vp(k)=u*p(kTs). (54)
With the above described constraints, the switching instants cannot be moved out of their respective sampling interval, see (51). This implies that the lower and upper constraints on the averaged switch positions are determined by the minimum and maximum switch position that can be synthesized in that sampling interval.
To relax the restriction imposed by the sampling interval, the bounds may be relaxed by a given Δvp,max such that the switching instants are allowed to be moved beyond their corresponding sampling intervals.
Alternatively, the sampling interval restrictions can be fully removed. Consider phase p, with p∈{a,b,c}, and consider its np switching transitions within the prediction horizon. The constraint (51) is then generalized to the whole prediction horizon interval, i.e.,
kTs≤tp1≤tp2≤ . . . ≤tpn
The lower constraint at kTs ensures that switching instants are not moved into the past. The upper constraint at (k+N)Ts limits the last switching instant tpn), with
∈{k, k+1, . . . , k+N}. These constraints may be added for each phase p. A coupling constraint between the three phases may not be required.
In block 44, the method achieves trajectory tracking by modifying the sequence of averaged switch positions such that the predicted tracking error within the prediction horizon is minimized at the sampling instants. The required inputs are the measured (or estimated) state vector xαβ(k), the reference trajectory Y*αβ(k), the sequence of nominal averaged switch positions V*abc(k), and the discrete-time system model (5). The latter is used to predict the tracking error at each sampling instant within the prediction horizon. The controller manipulates the sequence of averaged switch positions Vabc(k) defined in (50).
Cost Function
The cost function of the optimization problem may be defined as
J(Vabc(k))=Σ=kk+N−1∥y*αβ(
+1)−yαβ(
+1)∥Q2+λv∥v*abc(
)−vabc(
)∥22. (56)
The cost function is a function of the sequence of averaged switch positions over the prediction horizon, Vabc(k). The tracking error y*αβ(+1)−yαβ(
+1) is the difference between the optimal steady-state reference trajectory, computed in (39), and the output predictions, which are obtained from the discrete-time system model (5) using Vabc(k) as input. The positive definite penalty matrix Q adjusts the weight on the tracking error for each output variable. Note that ∥ξ∥Q2=ξTQξ.
The control effort corresponds to the degree with which the averaged switch positions are corrected. It may be defined as the 2-norm of the difference v*abc()−vabc(
) between the nominal and the modified averaged switch positions. The control effort is penalized with the scalar weight λv>0.
Constraints
The constraints on the averaged switch position (52) may be derived for each phase and sampling interval by Algorithm 1.
= k to k + N − 1 do
i such that
Ts ≤ tpi ≤ (
+ 1)Ts, i ∈ {1, . . . , np} then
) = up*(
Ts)
) ≤ vp(
) ≤
) with
The upper bounds on the averaged switch positions are aggregated in
The lower bounds are aggregated accordingly in the vector Vabc(k). This gives the general formulation for the constraints
Note that I3N denotes the identity matrix of the size 3N×3N.
One of the main benefits of MPC is its ability to impose constraints on state, input and output variables. It may be beneficial to impose constraints on the output (or controlled) variables to limit overshoots during transients and faults. By limiting the converter current and capacitor voltage to their safe operating area with the help of output constraints, damage to the converter and its passive components can be avoided.
Based on the current state vector xαβ(k) and the sequence of future manipulated variables Vabc(k), the future output variables Yαβ(k) can be predicted. It is straightforward to impose upper and lower constraints on these output variables. To ensure that a solution to the quadratic program always exists, i.e. that a sequence of manipulated variables Vabc(k) can be computed for the given state vector and OPP in all circumstances, it is advisable to impose the constraints on the output variables as soft constraints. These introduce slack variables in the inequality constraints, which are heavily penalized in an additional term in the objective function. In doing so, (slight) violations of the output constraints are possible, albeit at the expense of a huge penalty in the objective function.
Quadratic Program
The cost function J in (56), the inequality constraints (58) and the discrete-time system model (5) form the basis to formulate the optimization problem underlying the present method. The following optimization problem can be formulated
To solve this problem, it can be reformulated in the conventional quadratic program (QP) form.
The sequence of predicted output variables over the prediction horizon computed at the current sampling instant kTs is
Yαβ(k)=[yαβT(k+1) yαβT(k+2) . . . yαβT(k+N)]T, (61)
Recall that Vabc(k) is the sequence of modified averaged switch positions defined in (50). Define the penalty matrix
a. {tilde over (Q)}=diag(Q, Q, . . . , Q),
In the end, the cost function is
J=½VabcT(k)HVabc(k)+ΘT(k)Vabc(k)+θ(k), (64)
Note that the term θ(k) remains constant during the optimization and can thus be neglected in the cost function.
In summary, the quadratic program (QP)
subject to GVabc(k)≤g
By subtracting the sequence of nominal averaged switch positions, the sequence of optimal averaged switch position modifications
The proposed control method may be extended in various ways. The optimization vector of the QP, Vabc(k), is of the dimension 3N, owing to the three phases and the prediction horizon N. The time required to solve the QP strongly depends on the dimension of Vabc(k). To speed up the computations, the problem dimension can be easily reduced. Recall that the controller 20 may only be allowed to modify the averaged switch position in sampling intervals in which at least one switching transition occurs. Conversely, in this case, the averaged switch position cannot be manipulated in sampling intervals without a switching transition; the averaged switch position in these sampling intervals is, thus, fixed, and can be removed as a degree of freedom. This means that the dimension of the optimization vector can be reduced accordingly. However, the Hessian matrix then becomes a time-varying matrix.
Switching Instants as Decision Variables
In an alternative problem formulation, the switching instant modifications of the switching transitions Δtpi may be used as decision variables. As before, the averaged switch positions vp(k) are used as input to the discrete-time system model (5). However, the sequence of averaged switch positions Vabc(k), see (50), is considered now an auxiliary variable, not the decision variable. The averaged switch positions are obtained from the nominal averaged switch positions v*p(k) (46) and the averaged switch position modifications Δvp(k) according to
vp(k)=v*p(k)+Δvp(k). (69)
At each time step ∈{k, k+1, . . . , k+N} within the prediction horizon and for each phase p, with p∈a, b, c, equality constraints of the form
The switching instant modifications in the three phases within the prediction horizon are aggregated in the vector
ΔT=[Δta1 Δta2 . . . Δtan
The following QP can be derived: The cost function is the same as in (68). Additional equality constraints of the form (70) are added. The constraints (55) are added as inequality constraints with the help of tpi=t*pi+Δtpi. The decision variable, over which the QP is solved, is the vector ΔT as defined in (71).
The sequence of averaged switch position modifications ΔVabc(k) in the discrete-time domain may be translated back into switching instant modifications
Δtabc=[Δta1 Δta2 . . . Δtan
Consider the single-phase averaged switch position modification in the kth sampling interval
Δvp(k)=vp(k)−v*p(k), (73)
Note that according to (43) the first and last switching instants for the modified and nominal averaged switch positions are equal, as they correspond to the sampling interval limits
tp0=t*p0=kTs and tp,n
Furthermore, the ith switching instant modification in phase p is defined
Δtpi=tpi−t*pi (76)
With the definition of the switching transition Δu*pi in (14), (77) simplifies to
Thus, the relationship
Δvp(k)Ts=−Σi=1n
To compute the switching instant modifications, the linear optimization problem
The controller 20 may operate in a receding horizon fashion, as illustrated for the single-phase case in
At time instant kTs, the controller determines the sequence of optimal averaged switch positions over the prediction horizon of N steps Vp(k)=[vp(k) vp(k+1) . . . vp(k+N−1)]T, see
At the next sampling instant (k+1)Ts, the controller 20 receives new reference values and a new state vector. Based on these, a new optimization problem is formulated and solved. The solution to this problem is the sequence of modified averaged switch positions Vp(k+1), see
In general, the receding horizon policy may provide feedback and a high degree of robustness in the presence of unmodeled disturbances and inaccuracies in the model.
While the disclosure has been illustrated and described in detail in the drawings and foregoing description, such illustration and description are to be considered illustrative or exemplary and not restrictive; the disclosure is not limited to the disclosed embodiments. Other variations to the disclosed embodiments can be understood and effected by those skilled in the art and practising the claimed disclosure, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word “comprising” does not exclude other elements or steps, and the indefinite article “a” or “an” does not exclude a plurality. A single processor or controller or other unit may fulfil the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage. Any reference signs in the claims should not be construed as limiting the scope.
Number | Date | Country | Kind |
---|---|---|---|
19202733 | Oct 2019 | EP | regional |
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/EP2020/077254 | 9/29/2020 | WO |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2021/069261 | 4/15/2021 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
20180054112 | Al-Hokayem et al. | Feb 2018 | A1 |
20180131266 | Rohr | May 2018 | A1 |
20180145579 | Spudic | May 2018 | A1 |
20190181775 | Geyer | Jun 2019 | A1 |
20200350847 | Geyer | Nov 2020 | A1 |
20200409320 | El Shormbably | Dec 2020 | A1 |
Number | Date | Country |
---|---|---|
2469692 | Jun 2012 | EP |
3058646 | Aug 2016 | EP |
3262741 | Jan 2018 | EP |
3496261 | Jun 2019 | EP |
3501091 | Apr 2020 | EP |
3806311 | Apr 2021 | EP |
3529888 | May 2021 | EP |
2016134874 | Sep 2016 | WO |
2018033214 | Feb 2018 | WO |
Entry |
---|
Remarks filed Oct. 13, 2021 in response to EPO search report and opinion in foreign priority application EP 19202733. Obtained via Global Dossier (https://globaldossier.uspto.gov) on Jan. 13, 2024. (Year: 2021). |
B. P. McGrath, S. G. Parker, and D. G. Holmes, “High-performance current regulation for low-pulse-ratio inverters,” EEE Trans. Ind. Appl., vol. 49, pp. 149-158, Jan./Feb. 2013. |
H. du Toit Mouton and T. Geyer, “Trajectory-based LQR control of a grid-connected converter with an LCL filter,” in Proc. IFAC Conf. on Nonlin. Model Predictive Control, (Madison, WI, USA), Aug. 2018. |
T. Laczynski, T. Werner, and A. Mertens, “Energy-based modulation error control for high-power drives with output LC-filters and synchronous optimal pulse width modulation,” in Proc. IEEE Power Electron. and Motion Control Conf., pp. 649-656, Sep. 2008. |
T. Laczynski, T. Werner, and A. Mertens, “Active damping of LC-filters for high power drives using synchronous optimal pulsewidth modulation,” in Proc. IEEE Power Electron. Spec. Conf., pp. 1033-1040, Jun. 2008. |
S. Mariethoz and M. Morari, “Explicit model predictive control of a PWM inverter with an LCL filter,” IEEE Trans. Ind. Electron., vol. 56, pp. 389-399, Feb. 2009. |
I. Pejcic, S. Almer, and H. Peyrl, “Voltage source converter MPC with optimized pulse patterns and minimization of Integrated squared tracking error,” in Proc. Am. Control Conf., (Seattle, WA, USA), May 2017. |
S. Almér, “Predictive pulse pattern control of an inverter with LCL filter: A nonlinear transfor-mation approach,” in Proc. IEEE Energy Convers. Congr. Expo., (Kaohsiung, Taiwan), 2017. |
R. P. Aguilera, P. Acuña, P. Lezana, G. Konstantinou, B. Wu, S. Bernet, and V. G. Agelidis, “Selective harmonic elimination model predictive control for multilevel power converters,” IEEE Trans. Power Electron., vol. 32, pp. 2416-2426, Mar. 2017. |
T. Geyer, N. Oikonomou, G. Papafotiou, and F. Kieferndorf. Model predictive pulse pattern control. IEEE Trans. Ind. Appl., 48(2):663-676, Mar./Apr. 2012. |
J. B. Rawlings and D. Q. Mayne. Model predictive control: Theory and design. Nob Hill Publ., Madison, WI, USA, 2009. |
H. S. Patel and R. G. Hoft. Generalized techniques of harmonic elimination and voltage con-trol in thyristor inverters: Part I—Harmonic elimination. IEEE Trans. Ind. Appl., IA-9(3):310-317, May/Jun. 1973. |
G. S. Buja. Optimum output waveforms in PWM inverters. IEEE Trans. Ind. Appl., 16(6):830-836, Nov./Dec. 1980. |
T. Geyer, N. Oikonomou, G. Papafotiou, and F. Kieferndorf. Model predictive pulse pattern control. In Proc. IEEE Energy Convers. Congr. Expo., pp. 3306-3313, Phoenix, AZ, USA, Sep. 2011. |
J. Holtz and N. Oikonomou. Synchronous optimal pulsewidth modulation and stator flux tra- jectory control for medium- voltage drives. IEEE Trans. Ind. Appl., 43(2):600-608, Mar./Apr. 2007. |
A. Birth, T. Geyer, and H. du Toit Mouton. Symmetry relaxation of three-level optimal pulse patterns for lower harmonic distortion. In Proc. Eur. Power Electron. Conf., Genova, Italy, Sep. 2019. |
P. Al Hokayem, T. Geyer, and N. Oikonomou. Active damping for model predictive pulse pattern control. In Proc. IEEE Energy Convers. Congr. Expo., pp. 1220-1227, Pittsburgh, PA, USA, Sep. 2014. |
I. Pejcic. Spectral predictive control in power electronics. Master's thesis, EPFL, Automatic Control Laboratory, Aug. 2014. |
T. Geyer. Model predictive control of high power converters and industrial drives. Wiley, London, UK, Oct. 2016. |
Quevedo et al: “Model Predictive Control for Power Electronics Applications” In: “Handbook of Model Predictive Control”, Nov. 30, 2018 (Nov. 30, 2018), Springer International Publishing, pp. 551-580. |
Liuping Wang et al: “PID and Predictive Control of Electrical Drives and Power Converters Using Matlab /Simulink” In: “PID and Predictive Control of Electrical Drives and Power Converters Using Matlab /Simulink”, Dec. 31, 2015 (Dec. 31, 2015), https://ieeexpiore.ieee.org/book/7111423, XP055741372, ISBN: 978-1-118-33944-2 pp. 265¬313, p. 287. |
International Search Report and Written Opinion for Corresponding International Application No. PCT/EP2020/077254, mailed Nov. 4, 2020, 16 pages. |
Tomlinson, Males, Toit Mouton, and Ralph Kennel. “Finite-control-set model predictive control with a fixed switching. Frequency vs. linear control for current control of a single-leg inverter.” 2015 IEEE International Symposium on Predictive Control of Electrical Drives and Power Electronics (PRECEDE). IEEE, 2015. |
Number | Date | Country | |
---|---|---|---|
20240097553 A1 | Mar 2024 | US |