Control of modular multipoint serial-to-parallel converters (MMSPC) with the aid of switch tables and their continuous background optimization

By dividing the controller of the multi-level converter into real-time and offline parts, and using the cost function to optimize the switching state, the problems of large computational workload and switching state deviation in the existing technology are solved, and real-time optimization and switching state of the multi-level converter are realized. Improved efficiency.

CN112868174BActive Publication Date: 2024-09-13DR ING H C F PORSCHE AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201980068367.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-10-17
Filing Date
2019-05-13
Publication Date
2024-09-13
Estimated Expiration
2039-05-13

AI Technical Summary

Technical Problem

When controlling the total switching state of existing multi-level converters, the calculation workload is huge, and existing methods cannot effectively handle it, causing the switching state to gradually deviate from the optimal state, making real-time optimization impossible.

Method used

The controller is divided into a real-time part and an offline part. The real-time part controls the switching state in real time through the modulator. The offline part calculates the second switch table through the optimizer to achieve mathematical optimization, and uses the cost function to minimize the uniform discharge and Switching losses, real-time and offline parts run asynchronously to reduce computational load.

Benefits of technology

It achieves real-time optimization of multi-level converters during operation, maintains the optimality of switching states, reduces computational load, and improves system efficiency and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112868174B_ABST
    Figure CN112868174B_ABST
Patent Text Reader

Abstract

The invention relates to a method for a controller (300) for the switching state of a multilevel converter, in which the controller is divided into a real-time part (320) and an offline part (310), wherein in the real-time part a corresponding voltage level (325) is specified for a corresponding voltage requirement (324) for each time step by a modulator (322), and the corresponding switching states of all switches are acquired in a first switch table by a scheduler (323) with respect to the corresponding voltage level, and the corresponding switching states are forwarded to all switches of the multilevel converter as control signals (302), wherein in the offline part an optimal second switch table (312, 313) is calculated in a continuous sequence according to a cost function by an optimizer (311), wherein after the calculation is completed, the calculated second switch table replaces the first switch table and becomes the first switch table at this time.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a method for controlling a total switching state, ie a method for controlling the switching states of all switches of a multilevel converter, in particular a modular multilevel converter. Furthermore, protection is claimed for a system for implementing such a switch control. Background Art

[0002] In order to obtain an AC voltage with a predetermined frequency from a DC voltage, the input voltage and the output voltage in conventional power electronics are connected between a few (mostly two to three) levels with a few power switches in order to obtain the desired magnitude in the average value. In contrast, modern multilevel converters operate according to the following scheme: the AC voltage is generated by a dynamically variable configuration of energy storage devices (e.g. capacitors or energy cells) connected via a plurality of electronic switches. In this case, substantially more electronic switches (e.g. power semiconductor switches) can be used than in conventional power electronics, whereby a plurality of achievable total switching states and the output voltage of the multilevel converter associated therewith can be formed in very finely divided levels or voltage levels. At the same time, there is a high degree of freedom in achieving the same voltage level with different total switching states, wherein the controller of the multilevel converter must assign a clear state to all switches at any time.

[0003] In theory, the corresponding design of a multilevel converter can be defined with the aid of individual modules, as is shown, for example, in DE 10 2015 112 512 A1 of the applicant. Depending on the circuit arrangement of the switching elements contained in the individual modules, all switching states associated with the connection of the energy stores also contained can be realized independently of additionally connected individual modules of the same design.

[0004] An important central multilevel converter in this sense is the modular multilevel converter MMSPC, which is described in SM Goetz, AV Peterchev and T. Weyh, "Modular Multilevel Converter With Series and Parallel Module Connectivity: Topology and Control", IEEE Transactions on Power Electronics, vol. 30, no. 1, pp. 203-215, Jan. 2015 and in US Pat. No. 9,502,960 B2 and DE 10 2016112250 A1. This modular multilevel converter is unique compared to conventional modular multilevel converters (such as those described by R. Marquardt in DE 101 030301 A1 and to which the present invention is also applicable) in that an additional parallel state is present, whereby the MMSPC in a string can produce almost any electrical series-parallel circuit configuration of the module-integrated energy storage and can change this circuit configuration dynamically. In addition, in most cases, a bypass state, so-called bypass, can also be used in order to bypass the energy storage of the module. In general, in the case of modular multilevel converters, the module switching states (i.e. the switching states of the switches of the individual modules) can be described unambiguously according to the following list: parallel, series, bypass, disconnected. One application is a modular multiphase multilevel converter, in which a plurality of modules are respectively arranged in a string, wherein the respective string then provides a respective phase of a multiphase AC voltage.

[0005] The basic problem of the controller of modular multilevel converters is the high degree of freedom, that is to say, a large number of different switch states or module states that constitute the same voltage. The totality of the module states determines the output voltage of the multilevel converter. For the operation of the multilevel converter, the control device of the circuit controller (the so-called scheduler) must determine and actively control the states of all modules at any time. Such state acquisition and specification of all switches of all modules is carried out at a sampling frequency between 1kHz and 1MHz, corresponding to 1000 to 1 million times per second.

[0006] Various methods for selecting the corresponding module state to generate the desired voltage are known from the prior art. One of the methods includes using a so-called lookup table or switch table, in which the module state to be switched is determined, which brings the advantages of low computational workload and simple implementation. The document WO 2015 / 193439A1 describes a multiphase current converter for this purpose, for example, and a switch table can be applied when it is controlled. Disadvantageous in such methods is that the switch table only provides an optimized connection mode at a certain time point (if any). Due to the different discharges of the individual energy battery cells or energy storage devices in the corresponding modules, for the corresponding desired voltage level at the output of the multi-level converter, a new optimal switch state is always generated, and the total switch state specified according to the switch table formed and stored once is increasingly away from the optimal total switch state as the operating time increases.

[0007] Here, an online optimization method is preferred, which obtains a mathematical optimization based on the current state of all energy storage devices of the multilevel converter and / or other conceivable additional conditions (e.g., uniform discharge of the energy storage devices). In order to obtain a true mathematical optimization, all possible switching states must be calculated in theory (e.g., in the case of a 10MMSPC-type module with at least five switching states per module, a total of 5^10 and thus approximately 10^7 (equal to 10 million) possible switching states per time step) and weighed against each other. Then a certain number of future time steps must be calculated in order to find the best solution in this regard. In the case of M time steps, there will be (5^10)^M possibilities. The calculation of just two time steps already has about 10^21 possibilities, which is far beyond the scope of high-performance computers (10^15 operations per second). Therefore, none of the existing methods to date can handle this huge computational workload. On the contrary, although heuristic methods can be solved online (depending on the complexity), these solutions are always still a certain distance from the optimal total switching state. Summary of the invention

[0008] Against this background, the object of the present invention is to provide a method for a controller of the switching states of all switches of a multilevel converter, which method calculates the corresponding optimal total switching state of the multilevel converter online (that is, in real time during the operation of the multilevel converter) with respect to the corresponding voltage requirements according to predetermined additional conditions and provides a controller of the multilevel converter. In addition, a corresponding system should be provided, which is configured to implement the method.

[0009] In order to achieve the above-mentioned object, a method for a controller of the total switching state of a multi-level converter is provided, in which the multi-level converter has at least one module, in which the at least one module has: at least one terminal on the first side and at least one terminal on the second side, at least two controllable switches and at least one energy storage. In one embodiment, the at least one energy storage is arranged in series with the first switch of the at least two controllable switches in the first connection between the at least one terminal on the first side and the at least one terminal on the second side, and the second switch of the at least two controllable switches is arranged in the second connection between the at least one terminal on the first side and the at least one terminal on the second side. Through this embodiment, the energy storage can be connected in series between the first terminal and the second terminal of the at least one module, or the energy storage can be bypassed, or the conduction can be completely interrupted. In another embodiment, the at least one module has at least two terminals on the first side and at least two terminals on the second side. The at least one energy storage device is directly arranged between at least two terminals on the first side or the second side, the first switch of the at least two controllable switches is arranged between the first terminal on the first side and the first terminal on the second side, and the second switch of the at least two controllable switches is arranged between the second terminal on the first side and the second terminal on the second side. Through this embodiment, the energy storage device of the at least one module can be connected in parallel with other modules when the at least two switches are in the closed state, wherein a series connection or bypassing of the energy storage device can also be achieved through other switch states. In the method of the present invention, the controller of the multi-level converter is divided into a real-time part and an offline part. In the following, real-time is particularly understood to mean that the corresponding controller part is necessarily required as part of the control cycle for generating the total switch state required for control, and therefore the maximum processing time must never be exceeded to avoid delaying the generation of the total switch state. In contrast, offline refers in particular to the following controller parts: these controller parts do not need to have a fixed known maximum processing duration and / or run significantly slower than the real-time part, for example at least 10 times slower, preferably at least 100 times slower, and therefore, for example, run concurrently and / or asynchronously with the processing of the real-time part. In each time step, in the real-time part, a corresponding voltage level is assigned to the corresponding voltage requirement by the modulator, and the corresponding total switching state of all switches of the multilevel converter is obtained in a first switching table by the scheduler for the corresponding voltage level and forwarded as a control signal to all switches. In the offline part, a second switching table is calculated in a continuous sequence by the optimizer, which second switching table assigns the corresponding total switching state to the corresponding voltage level.The second switching table is derived on the basis of minimizing a cost function, wherein the cost function evaluates the total switching state consisting of the predetermined respective module switching states of the plurality of modules with reference to at least a uniform discharge of all energy storages of the multilevel converter and / or with reference to minimum switching losses and / or minimum conduction losses and / or minimum losses in the energy storages and / or minimum total losses. Finally, the optimizer provides the current charge states of all energy storages of the multilevel converter.

[0010] At a point in time, the first switching table and the second switching table may be different from or the same as each other.

[0011] In one embodiment of the method according to the invention, in the real-time part, the corresponding overall states of all switches are acquired in the first switching table, and in the offline part, the second switching table is calculated by the optimizer in a continuous sequence, wherein the first switching table and the second switching table can be different from each other at a point in time. After the calculation is completed, the calculated second switching table is used to replace the first switching table and is used as the first switching table from now on, and then the optimizer starts calculating a new second switching table.

[0012] The method of the present invention can use multiple switching tables, similar to the so-called shadow memory scheme, in which the real-time part works with one or more tables, while the offline part or asynchronous part works with other tables, and these tables are exchanged at a certain point in time, for example simply by switching memory addresses in the computing unit of the system implementing the method of the present invention.

[0013] Alternatively, however, the offline part can also theoretically work directly on the switch table of the real-time part, but for consistency reasons at least one overall status entry should always be exchanged. The real-time part accesses the at least one first switch table only in a read manner.

[0014] The method according to the invention achieves the stated object by moving the optimization problem out of the modulator of the real-time part of the controller, in which the switching method was previously implemented according to the prior art, to the offline part, in which the optimizer searches for the optimal second switching table with the aid of a cost function. As a result, the modulator can maintain its necessary high speed in order to call up the total switching state together with the scheduler according to the first switching table provided in the multilevel converter, the result of which is the output voltage of the multilevel converter corresponding to the corresponding voltage requirement. During this period, the optimization is carried out in parallel, wherein a new first switching table is provided to the scheduler after the calculations required for this have been completed accordingly, which is equivalent to re-parameterizing the connection method in the corresponding total switching state for the corresponding voltage level formed by the multilevel converter. Based on this first switching table, the scheduler then selects the total switching state for the multilevel converter in the further operation.

[0015] The parameterization or the first switching table or the second switching table (also referred to as a lookup table in each case) specifies a combination of switch positions in the respective module for each of the voltage levels that form, in the case of N modules, most (2N+1) of the voltage levels at the output of the multilevel converter. The respective module switching states of the respective modules are essentially always related to how the energy storage included in the respective module is connected to the other energy storages of the multilevel converter. For the voltage level quantized by the modulator and forwarded to the scheduler, the scheduler searches the first switching table for the overall switching state that is defined or definable by the respective module switching states. Thus, in the case of an exemplary module with eight switches (see Figure 1 and related instructions) determine a total of five module switching states, for which the eight switches occupy the switch positions detailed in Table 1. The module switching states are: "s+" indicates series connection with positive polarity, "s-" indicates series connection with negative polarity, "p" indicates parallel connection, "b+" indicates bypass with positive polarity and "b-" indicates bypass with negative polarity. Here, the positive or negative polarity indicates with what polarity the two terminals on the first side of the module are connected to the two terminals on the second side of the module. In the case of bypassing or bypassing the module, this is equivalent to the conduction mode via the high-side connection (also called the lower module bus, which can be considered to be electrically connected to the negative terminal of the energy storage device) or the low-side connection (also called the upper module bus, which can be considered to be electrically connected to the positive terminal of the energy storage device) of the switches arranged in the half-bridge of the module. Further instructions for this are in the section about Figure 1 is carried out in the description of the accompanying drawings.

[0016] Table 1: Module switch status s+, s-, p, b+, b- and from Figure 1 The corresponding switch positions of the eight switches S1 to S8.

[0017]

[0018] The optimizer performs calculations independently of the scheduler and calculates a new second switching table simultaneously or in parallel with the scheduler and takes into account the current state of the system in order to achieve at least one mathematically described goal by minimizing a cost function. For example, for the goal of charge balance between the modules, that is, all modules or all energy stores included in the respective modules discharge or receive the same charge as far as possible over a long operating period, the current charge state of the respective module or the respective energy store included therein is meaningful, so that the optimizer can decide which module should discharge or receive particularly much power and whether this module should, for example, preferably be set up for series connection "s+" or "s-" during operation.

[0019] The optimizer preferably uses a numerical optimization method to obtain a new second switch table. For this purpose, the optimization problem is advantageously expressed as a mathematical problem, wherein the cost function to be minimized has at least one item, in which the at least one target is mathematically expressed as a distance and / or a total size, wherein the target is just approached or achieved when the distance and / or the total size becomes optimal. In most cases, optimality should be understood as minimum. If it is possible to maximize the total size, this mathematical maximization can be reversed by multiplying with -1 to minimize. Certain boundary conditions can also be added thereto. In addition, additional items corresponding to additional targets (provided with corresponding scaling factors when appropriate) can also be mathematically combined with the at least one item. The optimizer now calculates the total switch state corresponding to the corresponding minimum value of the cost function for the voltage level that can be generated accordingly by the multi-level converter and stores this total switch state in the second switch table. In some cases, it is possible that multiple total switch states contribute to the same minimum value of the cost function and are also stored in the second switch table. The total switch state corresponds to the entirety of the switch positions of all switches of the multi-level converter or the entirety of all the following module switch states: these module switch states can be set or have been set to provide a desired predetermined voltage level. The corresponding switching tables (that is to say the first switching table and the second switching table) thus specify at least one overall switching state for each voltage level or at least one module switching state for each module. Specifically, when the currently determined second switching table is transferred to the first switching table, the scheduler and the optimizer can be run asynchronously and in parallel without greater synchronization effort, since the scheduler only accesses the first switching table in a read manner, but the optimizer advantageously only accesses it in a write manner.

[0020] In one embodiment of the method of the invention, the first switch table is replaced by a newly calculated second switch table after a predetermined time span. This means that the first switch table is not overwritten immediately after the optimizer has finished calculating the new second switch table, but only after a predetermined time span has passed. This predetermined time span can be constituted, for example, by a fixed time interval, but the time span can also be arbitrarily constituted by a random number generator. In addition, the time span can be determined by possibly limited computational cardinality resources and / or by the necessity of providing the scheduler with an improved first switch table.

[0021] The scoring of the current charge states of all energy storage devices of the multilevel converter can be included in the cost function, the main task of which is to design the discharge of the corresponding energy storage devices as uniformly as possible. As a result, the total discharge capacity is advantageously maximized and the service life of the corresponding energy storage devices is also generally extended. Alternatively or in conjunction with this, the contribution to the cost function can be formed by scoring the losses, for example, by switching losses in semiconductors and / or ohmic losses in the case of connecting individual modules in parallel with adjacent modules and / or by ohmic losses in energy storage devices and / or semiconductors (conduction losses). The description of optimizing the second switching table (and thus the later first switching table) in this regard is carried out further below.

[0022] In another embodiment of the method according to the invention, a plurality of modules are connected in series to form at least one string, by which the corresponding phases of the AC voltage are formed. These corresponding strings can be connected via a double neutral point at the corresponding string start. At the end of their corresponding string, the corresponding module terminating the corresponding string is short-circuited at its terminal to its corresponding second side and also forms the corresponding phase for operating a multiphase electrode or an AC power grid device there. The multiphase electrode can drive an electric vehicle, for example.

[0023] As mentioned above, the example module with eight switches has five different module switching states. If a plurality of such example modules are combined into a string, for example, three strings are formed by six example modules in total, then the last example modules in the corresponding string have only four module switching states, because in this case the module switching states "s-" and "b-" generate the same switching state. Therefore, 5^5*4=12500 different switching states are obtained for each string or each phase in the example of six modules in each string. If the corresponding string is connected to a double neutral point at its corresponding string start point, the three phases are no longer independent of each other and a total of 12500^3 possible module switching states are obtained for the multi-level converter assembled with the example modules. However, not all combinations of connection modes between these example modules are meaningful. For example, it is meaningless to connect adjacent example modules that have module switching states "s+" or "s-" at the same time. Therefore, it is explained below how to reduce the entirety of all possible module switching states to a smaller set of achievable module switching states of modules connected to each other in the corresponding string.

[0024] In order to reduce losses, it is advantageous to divide the respective strings into large groups of modules connected in parallel to one another and to avoid bypassing. Therefore, in a further embodiment of the method according to the invention, the whole of all possible module switching states constitutes an associated or associable module switching state formed by the following module switching states: these module switching states can be generated from the parallel connection of all modules in the basic switching state. However, this does not limit the following possibility: essentially all possible combinations of module switching states are used for optimization. However, if only those module switching states that result from parallel connection are used, the basic switching state for adjacent modules is the parallel module switching state "p". As shown in relation to Figure 2 As can be seen from the description of , there are N-1 negative voltage levels and N positive voltage levels l, where l∈(-N+1,...,N). In order to obtain the desired voltage level l, l modules must be connected in series. The number of all possible module switching states n in the case of a positive voltage level l≥0 This is given by:

[0025]

[0026] And in the case of negative voltage level, the number of possible module switching states n l<0 for

[0027]

[0028] The total number of possible module switching states n for the achievable voltage level 总 Here it is given by

[0029]

[0030] If a module fails, the parallel module switching state is no longer possible for this module and is replaced by the bypass "b+" or "b-". However, this does not reduce the total number of possible module switching states n within the string. 总 .

[0031] In the case where N=6 modules are arranged in a string, for example Figure 2 In the case of a three-phase multilevel converter, the total number of achievable module switching states n 总 =95. All these module switch devices are stored in (n 总 ×N) matrix A, where

[0032] A=(a mj ) where a mj ∈{s+, s-, p, b+, b-}. (4)

[0033] The matrix A is constructed so that in a corresponding row or line m, corresponding groups of module switching states are listed for all j∈{1, ..., N} modules of a string. Then, in a corresponding column j, there is the module switching state for the jth module of the string. Only the module switching states stored in the matrix A are available for further optimization of the second switching table, that is, to minimize the cost function.

[0034] In another embodiment of the method according to the invention, the total cost function is formed by the cost function and at least one additional condition on at least one state variable from the following list: current ripple factor, efficiency of the multilevel converter, aging of the corresponding energy storage, electromagnetic compatibility, distortion-free current / voltage curve, module temperature of the corresponding module, temperature change of the corresponding module (first derivative of the module temperature over time), in particular as a conclusion on the load of the corresponding module, switch faults, conduction losses, failure safety, in particular targeted protection of certain modules in order to maximize failure safety, balancing of known weaknesses or different limit values ​​of individual modules, speed of the motor driven by the multilevel converter, output frequency, grid frequency, phase current. Other state variables, in terms of which other additional conditions for the cost function can be formed, are conceivable.

[0035] Subsets or combinations from the above list form additional conditions, such that firstly all modules should have the same module temperature and secondly the current ripple factor should be minimal. The individual module temperatures t (in [K]) of the respective modules are communicated to the optimizer by the respective temperature sensors at the respective modules. For the example of a three-phase multilevel converter with K=3 strings, k∈{a, b, c}, and N=6 modules, with every k-th string j∈{1, ..., N}, the totality of all module temperatures results in a (K×N) matrix T, where

[0036] T=(t kj ) where t kj ∈[230,340]. (5)

[0037] The current ripple factor depends on the corresponding phase current I k (unit is [A]), where for this example we get K = 3 strings

[0038] I=(I k ) where I k ∈[-200, 200] and k∈{a, b, c}. (6)

[0039] In addition to these two additional conditions, the above-mentioned loss reduction can be considered as a third additional condition, from which the module switching states given in equation (4) by the matrix A result. Finally, according to the invention, the uniform discharge of all energy stores of the multilevel converter is taken into account in the cost function, which is referred to here as SOC for "state of charge" (unitless, given in %), whereby here also for the above-mentioned example the matrix (K×N) is obtained

[0040] SOC=(soc kj ) where soc kj ∈[0,100]. (7)

[0041] All these parameters are combined together through the overall cost function G(SOC, T, I, A).

[0042] As all N 总 = Example of a simple algorithm for uniform discharge of K*N energy storage devices, resulting in a module current I with respect to the corresponding module f i And the charge state soc of the corresponding module i i The following cost function:

[0043]

[0044] The optimization of the cost function in equation (8) advantageously produces a second switching table that helps to increase the state of charge above the average state of charge soc 平均 The modules are discharged, and the state of charge is lower than soc 平均 Those modules are charged.

[0045] As a further example of a simple algorithm focusing only on the efficiency of the multilevel converter, the module current I i The following cost function:

[0046]

[0047] It is confirmed that in the case of modular multilevel converters, e.g. Figure 1 The corresponding modules described in the above advantageously reduce ohmic losses by connecting adjacent modules in parallel. i 2 The efficiency of this modular multilevel converter is maximized by minimizing the module current which is proportional to the ohmic losses.

[0048] In yet another embodiment of the method of the invention, with respect to the corresponding state variables that are included in the corresponding at least one additional condition and that change only within their own corresponding time period, the associated terms in the total cost function are recalculated only after the corresponding time period has passed. Thus, according to the invention, when calculating the total cost function G, it is taken into account that the corresponding state variables vary differently in time. Since some state variables (e.g., module temperature or state of charge) change more slowly than the time required by the optimizer for calculating the new second switching table, it is only necessary to re-analyze the associated additional conditions in the optimizer when changes have already occurred after the corresponding time period has passed. For example, due to the high thermal capacity and high capacitance of the energy storage of the multilevel converter, the module temperature and the state of charge change only slowly and will hardly change significantly with respect to a time period of one second. Therefore, within this time period, it is not necessary to recalculate the terms in this regard for optimizing the total cost function. On the contrary, the current flowing through the corresponding module changes within a time period predetermined by the switching frequency and depends on the corresponding phase current. Therefore, within a time period of, for example, one second, the current solution space of the total cost function G (SOC, T, I, A) of the optimizer for the above example is affected by the current temperature T 当前 and the current state of charge SOC 当前 The optimization to be performed by the optimizer in this time period (that is, to find the total cost function G (SOC 当前 , T 当前 , I, A), these module switching states are preselected from all possible switching states with regard to the minimum switching losses) and are therefore advantageously limited to the phase current I:

[0049] Time period (I, A) = G (SOC 当前 , T 当前 , I, A). (10)

[0050] The optimization with respect to switching losses is exactly the greatest when each switching step causes at most one module to change its module switching state. If only the current direction of one phase current is taken into account in the optimization algorithm, the optimization algorithm can be limited to having to decide whether to choose a higher voltage level or a lower voltage level and whether the corresponding phase current is positive or negative. All these situations add up to the following result: for n modules of a string 总 There is exactly one optimal set of subsequent module switching states for each module switching state, which depends on the required output voltage and the direction of the phase current. Then, for the example described above, the phase current distribution along the modules located in the string is estimated depending on the module switching state and the total cost function G is calculated according to equation (10) 时间段(I, A). As the next switching step, the four optimal module switching states that optimize the total cost function are assigned to the corresponding module switching states, wherein these optimal switching states depend on the voltage level and the current direction respectively. The corresponding four optimal module switching state groups are represented by their corresponding row numbers m∈{1, 2, ..., n in the matrix A. 总}Recorded in (n 总 ×2×2) matrix B, which is given by the following formula

[0051] B=(s hpq ) where s hpq ∈{1, 2, ..., n 总}. (11) A row of this matrix B h∈{1, 2, ..., n 总} forms the current module switching state of all modules for a corresponding phase or its row position in matrix A. When the required voltage level l is lower than the current voltage level, the subscript p=1 is selected, otherwise p=2 is selected. In the case of a negative phase current, the subscript q=1 is selected, otherwise the subscript q=2 is selected. As an example, the current module switching state group 40 should be observed, that is, the 40th row in matrix A, with n=6 module switching states of the corresponding modules of the string, the voltage requirement should be lower than the current output voltage and the current current direction of the phase current is positive. Then, the entry s is selected in matrix B 40 , 1,2 The corresponding matrices B for these three phases for this example are a , B b , B c Together with the matrix A, a second switching table is formed, or after transfer to the scheduler, a first switching table is formed, according to which the multilevel converter is controlled.

[0052] Depending on the task setting of the optimization problem, the matrix B or in the case of three phases the corresponding matrix B a , B b , B c The above dimensions are determined (for the above example as (n 总×2×2) matrix) can be adapted. Although it is sufficient to observe only the current direction or only one sign of the corresponding phase current for the above examples, more complex division methods can also be imagined. Thus, for the example of phase current, it is possible to obtain a dimensional expansion represented by the subscript k in equation (11). The division can be performed, for example, according to the current amplitude. Correspondingly, for example, a division method of less than -150A, -150A to -100A, -100A to -50A, -50A to 0A, 0A to 50A, 50A to 100A, 100A to 150A and greater than 150A can be used. In the sense of the present invention, alternative division methods in terms of range are also conceivable.

[0053] For the example of the three-phase multi-level converter described above, the optimization algorithm implementing the method of the present invention can be implemented as a part of the controller of the three-phase multi-level converter. -7000@ The chip has a programmable -7 logical dual core -A9 processor. If still in Figure 3 As described in , the scheduler or switch controller is implemented in programmable logic, and in parallel, the optimization algorithm is implemented in The required parameters (in this case, temperature and state of charge) are transmitted to the - A9, which stores the next optimal module switching state or its row number in matrix A in the three matrices B (one for each phase a, b or c in the above example) a , B b , B c and sends it together with the matrix A as a new second switching table to the scheduler on the programmable logic. This first switching table is now periodically overwritten by the correspondingly recalculated or optimized second switching table, but on a time scale much larger than the time scale of the scheduler. The scheduler is thus relieved of any additional computational load and only needs to depend on the required voltage level (l a , l b , l c ) and phase current (I a ,I b ,I c ) to select the corresponding next main switch state (s hpq ) a 、(s hpq ) b 、(s hpq ) c . So, for each phase a, b, c, the corresponding result S a , S b , Sc is the corresponding row of the matrix A and the module switching states stored therein. The parallel execution of the switching controller and the optimization algorithm thus allows fast switching frequencies, for example in the order of kHz or higher, because the calculation of the optimal switching table is performed asynchronously and also runs on a larger time scale, for example in the order of Hertz.

[0054] However, it is also conceivable that the optimization algorithm and the switch controller implementing the method according to the invention are implemented on a common digital signal processor (DSP) without further logic (such as field programmable gate array (FPGA), complex programmable logic device (CPLD) etc.). In this case, the scheduler is run as a conventional sequential process on the signal processor with a fixed real-time capable scheduling function, that is, with a guaranteed maximum delay and a guaranteed maximum deadline, so that a predetermined minimum rate or reaction time of, for example, grid control or machine control is maintained. The call to the grid control or machine control and to the scheduler is made, for example, via corresponding interrupts. In parallel, the optimization is run almost independently as a further process or thread with a much longer deadline or deadline or without a deadline or deadline at all. Since the scheduler has only read access to the first switch table, while the optimization algorithm has temporary write or copy access to the first switch table, it is generally possible to achieve any separation of the two processes or threads. The same processor (with multiple cores if appropriate) can run the optimization algorithm when the scheduler or other processes applied to the real-time part (such as grid control or machine control) are suspended, without affecting the scheduler or these other processes. For example, the scheduler can be designed to simply read the corresponding next module switching state from the memory as a function of the input value and directly forward it to the I / O unit of the processor.

[0055] In another embodiment of the method of the present invention, the row of the first switch table is accessed by mapping the corresponding voltage level provided by the modulator, the row having the module switch state to be set in the multi-level converter according to the corresponding voltage level, wherein the row can also be used as an address for quoting the content of the row in the memory of the switch table. Another parameter for mapping can be, for example, the current direction. When there is no dedicated logic that can be optionally programmable, it is advantageous to directly convert the input parameter arriving at the scheduler into an addressing instruction for locating the module switch state in the first switch table. Mapping is performed by bit-by-bit logical operations, bit-by-bit chain formation, addition and / or difference and / or multiplication by multiples of two and / or division by multiples of two. In this way, the calculation of the address of the output module switch state can be formed by simple arithmetic operations, which do not require floating-point calculation units or complex jump operations (Sprungoperationen), because in the mapping provided by the method of the present invention, these input parameters themselves preferably constitute the address or row in the first switch table. Examples of such address formation are described in Table 2.

[0056] Table 2: Example for forming an address from the current direction and the current level provided by the modulator as input variables to access the corresponding row in the first switching table. The address or row is formed directly from the current overall switching state and the combination of bits formed from the input variables (here voltage requirement and current direction), wherein for a direct jump within the memory of the calculation unit, the starting address of the beginning of the location of the first switching table within the memory is added.

[0057]

[0058] In another embodiment of the method of the present invention, when there are multiple alternative total switching states of the multi-level converter, the scheduler selects according to a predetermined rule. This selection is, for example, random or based on a deterministic rule. Such a deterministic rule can, for example, be a strict selection based on the previous frequency of use.

[0059] In yet another embodiment of the method according to the invention, a machine regulator is arranged before the modulator in the real-time part during operation, which applies a preset value to the modulator as a function of the difference between the actual phase current and the desired phase current of the motor connected to the multilevel converter. The exact arrangement of the machine regulator in the real-time part is determined by Figure 3 Alternatively, when the multilevel converter operates as an AC power system device, this may also be a device for AC power system regulation. However, if the electric machine is driven by the multilevel converter, the torque requirement or the speed requirement should be predefined by the machine controller.

[0060] In another embodiment of the method according to the invention, at least one switching modulation is implemented by the modulator according to the following list: PWM generation, ΣΔ modulation, voltage level modulation, pulse density modulation, spectrum regulation. This is a method for switching modulation known from the prior art. By means of one embodiment of the method according to the invention, such a switching modulation of the modulator can be implemented in the real-time part without being influenced by the optimization algorithm.

[0061] In addition, a system for a controller of the total switching state of a multi-level converter is claimed, in which the multi-level converter has at least one module. The at least one module has: at least one terminal on the first side and at least one terminal on the second side, at least two controllable switches and at least one energy storage. In a first design scheme, the at least one energy storage is arranged in series with the first switch of the at least two controllable switches in the first connection between the at least one terminal on the first side and the at least one terminal on the second side, and the second switch of the at least two controllable switches is arranged in the second connection between the at least one terminal on the first side and the at least one terminal on the second side. Through this embodiment, the energy storage can be connected in series between the first terminal and the second terminal of the at least one module, or the energy storage can be bypassed, or the conduction can be completely interrupted. In a second design scheme, the at least one module has at least two terminals on the first side and at least two terminals on the second side. The at least one energy storage is arranged directly between at least two terminals on the first side or the second side, and the first switch of the at least two controllable switches is arranged between the first terminal on the first side and the first terminal on the second side. The second switch of the at least two controllable switches is arranged between the second terminal on the first side and the second terminal on the second side. In the system of the present invention, the controller is divided into a real-time module and an offline module, wherein the real-time module has at least one modulator and a scheduler. The modulator specifies the corresponding voltage level for the voltage requirement for each time step. The scheduler obtains the corresponding total switch state of all switches in the first switch table with respect to the corresponding voltage level and forwards the corresponding total switch state as a control signal to all switches. The offline module includes an optimizer, wherein the optimizer calculates the second switch table according to the cost function in a continuous sequence. The cost function evaluates the total switch state consisting of a plurality of predetermined module switch states with reference to the uniform discharge of all energy storage devices of the multi-level converter, wherein the current charge state of all energy storage devices of the multi-level converter should be continuously provided to the optimizer. The system provides at least one corresponding calculation unit for the real-time module and the offline module for this purpose.

[0062] In another design scheme of the system of the present invention, in the real-time module the modulator is formed to obtain the corresponding total state of all switches in the first switch table, and in the offline module the optimizer is formed to calculate the second switch table in a continuous sequence, wherein the first switch table and the second switch table can be different from each other, wherein after the calculation is completed, the calculated second switch table should be used to replace the first switch table and serve as the first switch table from then on, and the optimizer should start calculating a new second switch table.

[0063] In yet another embodiment of the system according to the invention, the totality of all possible module switching states forms the predetermined module switching state which is formed from those module switching states which can be generated starting from the basic switching state by connecting all modules of the plurality of modules in parallel.

[0064] In a further embodiment of the system according to the invention, the system further comprises at least one sensor which is associated with at least one state variable of an overall system, in which the overall system comprises the multilevel converter, a controller for the overall switching state of the multilevel converter and an electronic consumer which taps off an output voltage of the multilevel converter, wherein an additional condition for the cost function is formed with the aid of at least one of the measured variables provided by the at least one sensor with respect to the at least one state variable and thus together with the cost function an overall cost function is generated, and wherein the at least one state variable is derived from the following table: current ripple factor, efficiency of the multilevel converter, aging of the respective energy store, electromagnetic compatibility, undistorted current / voltage curve, module temperature of the respective module, temperature change of the respective module (first derivative of the module temperature over time), in particular as a conclusion on module load, switching faults, conduction losses, fail safety, in particular targeted protection of certain modules in order to maximize fail safety, compensation of known weaknesses or different limit values ​​of individual modules, rotational speed of an electric machine driven by the multilevel converter, output frequency, grid frequency, phase currents.

[0065] In a still further embodiment of the system according to the invention, the real-time module of the system further comprises a machine regulator which is designed to apply a preset value to the modulator as a function of a difference between an actual phase current and a desired phase current of the electric machine.

[0066] Finally, a modular multilevel converter equipped with the system of the present invention is claimed, the multilevel converter is designed to implement the method of the present invention, and in the multilevel converter, the corresponding module has at least four switches (which are sufficient for the multilevel converter without parallel connection) and in a preferred design, has eight switches (corresponding to the multilevel converter with parallel connection). In the multilevel converter of the present invention with at least four switches, at least one half-bridge is arranged on each side. In the multilevel converter of the present invention with eight switches, four half-bridges are arranged accordingly by the eight switches, wherein in a corresponding module, the first two half-bridges are connected in parallel with at least two terminals on the first side, the latter two half-bridges are connected in parallel with at least two terminals on the second side (right side), and there is an electrical connection between the corresponding low-side (referred to as low-side in English) switches and the high-side (referred to as high-side in English) switches of the corresponding half-bridges on the first side and the second side of the corresponding module.

[0067] Further advantages and embodiments of the invention are apparent from the description and the drawings.

[0068] It goes without saying that the features mentioned above and those still to be explained below can be used not only in the respectively stated combination but also in other combinations or alone, without departing from the scope of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] The drawings will be summarized and generally described, like components being associated with like reference numerals.

[0070] Figure 1 The circuit of a module of a modular multilevel converter according to the prior art is schematically shown.

[0071] Figure 2 The circuit of a modular three-phase multilevel converter according to the prior art is schematically shown.

[0072] Figure 3 A block diagram for dividing a controller of a multilevel converter according to the invention into a real-time part and an offline part in one specific embodiment of the method according to the invention is schematically shown.

[0073] Figure 4 A block diagram schematically shows input and output variables for a scheduler in one specific embodiment of the method according to the invention.

[0074] Figure 5 A block diagram for an optimizer in one embodiment of the method according to the present invention is schematically shown.

[0075] Figure 6The physical structure of the hardware in one embodiment of the system according to the present invention is shown schematically.

[0076] Figure 7 The division of a digital signal processor into units in another embodiment of the system according to the invention is schematically shown.

[0077] Figure 8 The sequence of steps in one specific embodiment of the method according to the invention during the address formation by means of mapping the input variables arriving at the scheduler onto a row of the first switching table is schematically shown.

[0078] Fig. 9 The sequence in one specific embodiment of the method according to the invention is schematically shown during a further address formation by means of mapping the input variables arriving at the scheduler onto a row of the first switching table. DETAILED DESCRIPTION

[0079] exist Figure 1Schematically shows the circuit of a module 100 of a modular multilevel converter with the possibility of series-parallel connection according to the prior art. Four half-bridges are arranged, one energy storage 109 and one capacitor 110, each of which has two switches "S1" 101 and "S2" 102 or "S3" 103 and "S4" 104 or "S5" 105 and "S6" 106 or "S7" 107 and "S8" 108. The corresponding switches 101, 102, 103, 104, 105, 106, 107, 108 are represented by the switch symbols of MOSFETs with inherently existing body diodes. The two half-bridges 101, 102 and 105, 106 or 103, 104 and 107, 108 are connected to each other between their respective low-side switches 102 and 106 or 104 and 108 and the associated high-side switches 101 and 105 or 103 and 107. The module 100 has two first terminals 111 and 112, here on the first side (left side), and two terminals 113 and 114, here on the second side (right side). Depending on the respective module switching state, i.e., depending on the switching state of the switches of the module 100 at the same point in time, the module 100 or the energy store 109 can be connected to other identically constructed modules in order to thus bring about a series connection or a parallel connection of the energy store 109 or to bypass the energy store. The first module switching state (designated as "s+" to indicate a series connection with positive polarity) is formed by the series connection of the switches 101 and 106 and the switches 103 and 108. The second module switching state (designated as "s-" to indicate a series connection with negative polarity) is formed by the series connection of the switches 102 and 105 and the switches 104 and 107. The third module switching state (designated as "p" to indicate a parallel connection) is formed by the series connection of the switches 101 and 105 and the switches 104 and 108. The fourth module switch state (designated "b+" to indicate that the module is bypassed or circumvented by the switch on the low voltage side) is formed by the series connection of switches 102 and 106 and switches 104 and 108. The fifth module switch state (designated "b-" to indicate that the module is bypassed or circumvented by the switch on the high voltage side) is formed by the series connection of switches 101 and 105 and switches 103 and 107. All module switch states with corresponding switch positions within module 100 are detailed in Table 1.

[0080] exist Figure 2 Schematically shows a circuit diagram of a modular three-phase multi-level converter 200 according to the prior art. Each of the three phases is respectively Figure 1The first phase is composed of a first string 210 having modules 211, 212, 213, 214, 215, 216, the second phase is composed of a second string 220 having modules 221, 222, 223, 224, 225, 226, and the third phase is composed of a third string 230 having modules 231, 232, 233, 234, 235, 236. The respective string start points are composed of modules 211, 221, 231, and the respective string end points are composed of modules 216, 226, 236. The three phases formed at the respective string end points of the respective strings 210, 220, 230 drive the motor 202, which can be, for example, a traction motor of an electric vehicle. At the respective string start points of the respective strings 210, 220, 230, the modules 211, 221 and 231 are connected via a double neutral point 201. If all six modules 100 of a corresponding string 210, 220, 230 are connected in series "s+", the corresponding energy storage devices 109 in the corresponding strings 210, 220, 230 form a series circuit and obtain six times the module voltage. Thus, when the number of modules in each phase is N, a phase voltage N times the module voltage can be obtained. Each phase short-circuits the last module 216, 226, 236, respectively, so these modules 216, 226, 236 are not allowed to be connected in parallel module switching state "p" to avoid short-circuiting of the corresponding energy storage devices 109 of this module 216, 226, 236. The basic state of this last module 216, 226, 236 is always composed of the module switching state "b-", which corresponds to the module switching state "s-". Therefore, only N-1 negative voltage steps can always be formed by the modular multilevel converter 200. On the other side, the energy stores 109 of the respective modules 211, 221, 231 are connected substantially in parallel via a double neutral point 201. This results in a mutual dependence of the three phases in the strings 210, 220, 230. Together with the zero value set by bypassing or bypassing all modules 100, a number L of voltage levels that can be formed is produced in the case of N modules in the multilevel converter.

[0081] L = N + (N-1) + 1 = 2 N. (1)

[0082] exist Figure 3 Schematically, a block diagram 300 is shown for dividing the controller of a multilevel converter according to the invention into an offline part 310 and a real-time part 320 in one embodiment of the method according to the invention. The offline part 310 comprises an optimizer 311, which can be implemented in hardware technology in -A9 processor. The real-time part 320, which can be implemented in programmable logic separately from the offline part 310 in terms of hardware technology, includes a modulator 322 and a scheduler 323 and optionally a machine regulator 321. The optimizer 311 receives as input, for example, measured variables about the charge state 301 of the corresponding energy storage device, or about the corresponding module temperature 302, or about the switch fault 303 from the corresponding sensor. For the corresponding voltage level, the optimization algorithm running on the optimizer searches for the following module switching states from the universe of all possible module switching states: In order to minimize the losses, these module switching states can be generated from the basic open state by the parallel connection of all modules, and are written separately for each string j as a matrix A j 313. The optimization algorithm uses the cost function (e.g., equation (10)) to calculate the corresponding matrix A. j 313 further finds the best (including each module of string j) next set of module switching states for the string and puts them in matrix A j The line number in 313 is written as (n 总 ×2×2) matrix B j 312. Depending on the set voltage and current direction, the matrix A j The row numbers in 313 are stored in matrix B j 312. Since only changes of one voltage level up or down or one current level up or down are considered, a 2×2 size is generated. When the size related to the current is expanded, the matrix B j 312 may also be expanded. Matrix A j 313 and B j 312 constitutes a second switching table, which is provided to the scheduler 323 as a first switching table asynchronously with the process in the real-time part. The optimization algorithm therefore does not need to be real-time, which advantageously protects resources. In the real-time part 320, a machine regulator 321 can be optionally arranged, which obtains measured variables such as the rotational speed of the connected motor 304 or the individual phase currents 305 as input from corresponding sensors. If a multilevel converter is used as an AC power grid device, the measured variable can be the grid frequency instead of the rotational speed 304. The machine regulator 321 continuously compares the actual value of the corresponding parameter with the rated value and applies a voltage requirement (v V ... * a , v * b , v * c) 324. The modulator 322 performs switching modulation, which is implemented, for example, by pulse width modulation PWM or ΣΔ modulation or voltage level modulation or pulse density modulation or spectrum modulation or other conceivable modulation, and converts the resulting quantized voltage level (I a ,I b ,I c ) 325 is transmitted to the scheduler 323 as the output voltage to be formed. The scheduler finally obtains the corresponding module switch state group (S a , S b , S c )306 and sends it to the multi-level converter for implementation.

[0083] exist Figure 4 Schematically shown in FIG. 4 is a block diagram 400 of an embodiment of the method of the present invention with respect to input variables 401, 402, 403, 420 and a total switching state 404 to be implemented by a multilevel converter as an output variable of a scheduler 410. The input variables 401, 402, 403, 420 present the scheduler 410 with, for example, a new voltage requirement 401, which has been quantified as a voltage level formed by these modules of the multilevel converter and / or a current requirement 402. In addition, the total switching state 403 previously implemented in the switch table is taken into account. The scheduler queries the first switch table 420 in a pure read process 405, in which the associated module switching states are stored for the corresponding desired voltage level. For better optimization results or to match the current total switching state, more dimensions can be added to the first switch table 420, which dimensions, for example, have been optimized for different current amplitudes and / or current directions. In addition, the selection of the optimal next total switch state under a given voltage requirement can also refer to the last total switch state 403, because, for example, it is advantageous to change as few module switch states as possible from this last total switch state 403 to reach a new total switch state 404 in order to avoid switching losses. Correspondingly, the first switch table can be expanded with other dimensions. One of these dimensions can be given, for example, by a corresponding current, for which certain module switch states are switched on, for example, for a current of 0A, there is an initial state "all module switch states are set to bypass", for a current of 0A, there is an initial state "all module switch states are set to bypass, except for the modules at the end of the corresponding string connected in series", or for a current of 500A, there is an initial state "all module switch states are set to series connection", etc. Theoretically, the dimension setting of the first switch table can be expanded for all conceivable additional conditions, as long as the available computing time and / or storage space allows.

[0084] exist Figure 5Schematically shows a block diagram 500 for an optimizer 510 in one embodiment of the method of the present invention. The optimizer 510 calculates all voltage levels that can be generated by the module switching states for multiple current levels and bears the main calculation load. However, since the optimizer is implemented in hardware technology on its own computing unit, it does not affect the implementation process of the scheduler, which works based on the existing (first) switching table until the scheduler obtains its newly calculated (second) switching table 520 from the optimizer 510. The optimizer 510 searches for the optimized module switching state for each total switching state based on the cost function and writes it in the second switching table 520 through a storage process 502. The total switching state can advantageously be defined by as many measured variables as possible, where only the available computing time and / or storage space constitute a limitation. These measured variables constitute the input 501 to the optimizer 510 and are derived, for example, from the following list: charging state, fault state, physical differences between modules, modulation degree, phase angle cosΦ, electrical frequency, leakage current and / or other current extraction from individual modules.

[0085] exist Figure 6 Schematically shows the physical structure 600 of the hardware in a design of the system of the present invention, which indicates the division into two physically separated computing units. The offline part 602 with the optimizer is implemented on a microcontroller or a microprocessor or a digital signal processor (DSP) or an ALU-based computing architecture or a combination thereof. The real-time part 606 with at least one modulator and a scheduler is implemented on an optionally programmable logic circuit, such as an FPGA (field programmable gate array) or a CPLD (complex programmable logic device) or a gate array or a PLA (programmable logic array). The offline part 602 and the real-time part 606 both access a shared memory 604 that accommodates the first switch table and the second switch table, wherein the access of the offline part 602 is write-type, and the access of the real-time part 606 is read-type. If the size of the first switch table and the second switch table is determined to be larger, a dynamic memory can be involved here. Alternatively, in particular when the size of the first switch table and the second switch table is determined to be smaller, a fast static memory can be involved, such as a memory or a vector register based on a flip-flop (Flip-Flop). The corresponding module switching state for the next switching step is transmitted 612 to the multilevel converter via the control bus. At least one corresponding current sensor 614 is arranged at the corresponding module 608 of the multilevel converter. Optionally, other sensors, such as corresponding temperature sensors or corresponding module voltage sensors, can also be arranged at the corresponding module 608. The corresponding sensor 614 transmits its measured variable 610 as a sensor signal (as a separate signal or in a way of being aggregated via a bus, such as a physical return channel of a control bus) to the offline part 602 and the real-time part 606 accordingly.

[0086] exist Figure 7 FIG. 2 schematically shows a division of a digital signal processor (DSP) 700 into units in another design of the system of the present invention. The DSP 700 includes at least one CPU core 706, a RAM memory 704, a flash memory 708, a peripheral bus controller 710 (e.g., an I 2The control unit 710 comprises a plurality of control logic units, a SPI (SPI of C), a GPIO multiplexer 712, a DMA controller 714, a hardware PI controller 716 and a scheduler 718. The communication between these units takes place via the memory bus 702. The optimization algorithm and the switch controller implementing the method of the invention are implemented on a common digital signal processor 700 without other logic (such as a field programmable gate array (FPGA), a complex programmable logic device (CPLD) or the like). In this case, the scheduler is run as a conventional sequential process on the signal processor 700 with a fixed real-time capable scheduling function, that is, with a guaranteed maximum delay and a guaranteed maximum deadline, so as to maintain a predetermined minimum rate or reaction time of, for example, grid regulation or machine regulation. The call to the grid regulation or machine regulation and to the scheduler is made, for example, via corresponding interrupts. In parallel, the optimization is run almost independently as a further process or thread with a much longer deadline or deadline or without a deadline or deadline at all. Since the scheduler has only read access to the first switch table, while the optimization algorithm has temporary write or copy access to the first switch table, it is generally possible to achieve arbitrary separation of these two processes or threads. The same processor (with multiple cores if appropriate) can implement the optimization algorithm when the scheduler or other processes applied to the real-time part (such as grid regulation or machine regulation) are suspended, without affecting the scheduler or these other processes. The scheduler can be formed, for example, to purely read the corresponding next module switching state from the memory depending on the input value and directly transfer it to the I / O unit of the processor. The remaining scheduling part after the optimization split is relatively small and has low requirements. The main task is to obtain the module switching state value of the individual module associated with or closest to the input variable provided (such as the required voltage level or, in simplified terms, a voltage increase or decrease that is only one level different and, for example, the current direction) from the memory 704, 708 with the first switching table and transfer it to the I / O unit, so as to send the module switch state associated with it to the module directly or preferably via the bus. For simplicity, the scheduler can be arranged in a dedicated hardware unit of the processor, which implements the scheduling task without the help of the CPU core 706. For this purpose, the dedicated unit must access the memory 704, 708 with the first switching table and the I / O unit (eg GPIO 712) or the peripheral bus unit 710 via the internal processor bus 702. The CPU core 706 can perform corresponding adjustments, tuning and optimization.

[0087] exist Figure 8Schematically shows a flow 800 during address formation in one embodiment of the method according to the invention, in which a memory address of a memory area of ​​a scheduler including a total switching state is referenced by means of a mapping of input variables 801, 802, 803, wherein the module switching state and thus the total switching state should be optimized depending on the input variables. The memory address formed by the combination of the current total switching state and other input variables is not stored as is, but a reference to the memory address with the next total switching state is already formed with its binary value. That is, for example, the current total switching state can be used as a bit combination as a first input variable 801, wherein the first input variable and other input variables 802 and 803 described exemplarily below form a memory address, which is preferably sorted, that is, listed according to its binary size. The second input variable 802 can be formed, for example, by a quantized voltage level provided by a modulator, wherein the second input variable has a bit value "1" when the current voltage level is to be increased by one level, and has a bit value "0" when the current voltage level is to be reduced by one level. The third input parameter 803 can be formed, for example, by the current direction required in the next switching step, wherein the third input parameter is a bit value "1" when the current direction runs from the first side of the module to the second side, and the third input parameter has a bit value "0" when the current direction runs from the second side of the module to the first side. However, the input parameter 803 should also be completely universal for any number of other input parameters, preferably for rapidly changing input parameters. In the bit link module 810, these three input parameters are combined into a juxtaposition of bits. In the combination module 812, the juxtaposition is combined with the memory cell size, that is, the size of the memory space required to store the individual total system state (i.e., all module states of the multi-level converter) (in units [bytes]). Finally, in the addition module 814, the starting address of the beginning of the position of the first switch table in the memory is added. The result 806 is used as a direct jump address to realize the next total switch state from the first switch table on the multi-level converter.

[0088] exist Fig. 9 Schematically, a flow chart 900 is shown in one embodiment of the method according to the present invention for a further address formation by mapping the input variables 922, 802, 803 arriving at the scheduler onto a row of the first switching table. Figure 8In contrast, the first input variable 922 is a quantized voltage requirement, which is encoded by the modulator 920 in an absolute value or relative to the last voltage requirement. The input to the modulator 920 is a non-quantized (e.g., continuous) voltage requirement 912, for example, transmitted by a grid regulator or a machine regulator 910. The use of relative voltage requirements allows control of how many voltage steps there are in the next total switching state starting from the current total switching state. Due to the huge computational workload of the optimization, the number of possibilities to be tested can also be reduced in advance very efficiently. In most cases, only a small number of switching steps are required for fast switching modulation. Larger changes are only required in the case of frequent jump voltage changes. Frequent larger voltage steps also produce increased switching losses, because multiple modules must be quickly connected, while only changing a voltage level can be done by only changing one or a small number of module states.

Claims

1. A method for a controller of a switching state of a multilevel converter, wherein the multilevel converter has a plurality of modules, wherein each of the plurality of modules has: at least one terminal on a first side and at least one terminal on a second side, at least two controllable switches and at least one energy storage device, wherein in a first connection between the at least one terminal on the first side and the at least one terminal on the second side the at least one energy storage device is arranged in series with a first switch of the at least two controllable switches, and in a second connection between the at least one terminal on the first side and the at least one terminal on the second side a second switch of the at least two controllable switches is arranged, wherein the controller is divided into a real-time part and an offline part, wherein in the real-time part a corresponding voltage level is specified for each time step by a modulator for a corresponding voltage requirement, and with respect to the corresponding voltage level, a corresponding voltage level is specified. The stage obtains the corresponding total switching state of all switches in the first switching table by a scheduler, and forwards the corresponding total switching state to all switches as a control signal, wherein in the offline part, a second switching table is calculated in a continuous sequence by an optimizer, and the second switching table is obtained based on minimizing a cost function, wherein the cost function evaluates the total switching state composed of predetermined corresponding module switching states of the plurality of modules with reference to at least a uniform discharge of all energy storage devices of the multilevel converter and / or minimum conduction losses and / or minimum losses in these energy storage devices and / or minimum total losses, wherein the current charge states of all energy storage devices of the multilevel converter are continuously provided to the optimizer, and wherein a row of the first switching table with the module switching states to be implemented in the multilevel converter is accessed by mapping at least the voltage level provided by the modulator, wherein the row is used as an address for referencing the content of the row in a memory of the calculation unit that accommodates the switching table.

2. The method according to claim 1 , wherein in the real-time part, the corresponding overall status of all switches is acquired in the first switch table, and in the offline part, the second switch table is calculated in a continuous sequence by the optimizer, wherein at a point in time, the first switch table and the second switch table can be different from each other, wherein after the calculation is completed, the calculated second switch table replaces the first switch table and is used as the first switch table from then on, and the optimizer starts calculating a new second switch table.

3. A method according to claim 1 or claim 2, in which a predetermined module switching state formed by the overall formation of all possible module switching states is formed by the following module switching states: these module switching states can be generated by the parallel connection of all modules in the multiple modules starting from the basic switching state.

4. The method according to claim 1 or claim 2, in which a plurality of modules among the plurality of modules are connected in series to form at least one string, and a corresponding phase of an AC voltage is formed by the at least one string.

5. A method according to claim 1 or claim 2, in which the first switching table is replaced by a newly calculated second switching table after a predetermined time span.

6. The method according to claim 1 or claim 2, in which the total cost function is formed by the cost function and at least one additional condition regarding at least one of the following state variables: current ripple factor, efficiency of the multilevel converter, aging of the energy storage device of the multilevel converter, electromagnetic compatibility, distortion-free current / voltage curve, module temperature of the corresponding module, temperature change of the module, switching faults, conduction losses, fail safety, balancing of known defects or different limit values ​​of individual modules of the plurality of modules, speed of the motor driven by the multilevel converter, output frequency, grid frequency, phase current.

7. A method according to claim 6, in which, with respect to corresponding state parameters that are included in the cost function or at least one corresponding additional condition and that change only within their own corresponding time period, the associated items in the total cost function are recalculated only after the corresponding time period has passed.

8. The method according to claim 1 or claim 2, in which method, when there are a plurality of alternative overall switching states of the multi-level converter, the scheduler makes a selection according to a predetermined rule.

9. A method according to claim 1 or claim 2, in which a machine regulator is arranged before the modulator in the real-time part during operation, and applies a preset value to the modulator as a function of the difference between the actual phase current and the desired phase current of the motor connected to the multilevel converter.

10. The method according to claim 1 or claim 2, in which method at least one switching modulation is implemented by the modulator according to the following list: PWM generation, ΣΔ modulation, nearest voltage level modulation, pulse density modulation, spectrum regulation.

11. The method of claim 6, wherein the at least one status parameter comprises targeted protection of some modules of the plurality of modules in order to maximize fail-safety.

12. A system for a controller of the overall switching state of a multi-level converter, in which the multi-level converter has a plurality of modules, in which each module has: at least one terminal on a first side and at least one terminal on a second side, at least two controllable switches and at least one energy storage device, in which the at least one energy storage device is arranged in series with a first switch of the at least two controllable switches in a first connection between the at least one terminal on the first side and the at least one terminal on the second side, and a second switch of the at least two controllable switches is arranged in a second connection between the at least one terminal on the first side and the at least one terminal on the second side, in which the controller is divided into a real-time module and an offline module, wherein the real-time module has at least one modulator and a scheduler, wherein the modulator is formed to specify a corresponding voltage level for a corresponding voltage requirement for each time step, and the scheduler is designed to close At the corresponding voltage level, the corresponding total switching state of all switches is obtained in the first switching table and the corresponding total switching state is forwarded as a control signal to the controllers of all switches. In the system, the offline module has an optimizer, wherein the optimizer is designed to calculate the second switching table in a continuous sequence by minimizing a cost function, wherein the cost function refers to the uniform discharge of all energy storage devices of the multi-level converter and / or the minimum conduction loss and / or the minimum loss in these energy storage devices and / or the minimum total loss to evaluate the total switching state consisting of the predetermined corresponding module switching states of the multiple modules, wherein the current charge state of all energy storage devices of the multi-level converter should be continuously provided to the optimizer, and wherein the system is configured to access the row of the first switching table with the module switching state to be implemented in the multi-level converter by mapping at least the voltage level provided by the modulator, wherein the row contains an address that references the content of the row in the memory of the calculation unit that accommodates the switching table.

13. A system according to claim 12, in which the modulator in the real-time module is formed to obtain the corresponding overall state of all switches in the first switch table, and the optimizer in the offline module is formed to calculate the second switch table in a continuous sequence, wherein at a point in time the first switch table and the second switch table can be different from each other, wherein after the calculation is completed, the calculated second switch table replaces the first switch table and should be used as the first switch table from now on, and the optimizer should start calculating a new second switch table.

14. A system according to claim 12 or claim 13, in which a predetermined module switching state formed by the overall composition of all possible module switching states is formed by the following module switching states: these module switching states can be generated from the basic switching state by the parallel connection of all modules among the multiple modules.

15. The system according to claim 12 or claim 13, further comprising at least one sensor which is associated with at least one state variable of an overall system, in which the overall system comprises the multilevel converter, controllers of all switches of the multilevel converter and an electronic consumer which taps off an output voltage of the multilevel converter, wherein an additional condition for the cost function is formed with the aid of at least one of the measured variables provided by the at least one sensor with respect to the at least one state variable and thus together with the cost function an overall cost function is generated, and wherein the at least one state variable is derived from the following table: current ripple factor, efficiency of the multilevel converter, aging of an energy store of the multilevel converter, electromagnetic compatibility, undistorted current / voltage curve, module temperature of the respective module, switch faults, conduction losses, failsafety, compensation of known defects or different limit values ​​for individual modules of the plurality of modules, rotational speed of an electric machine driven by the multilevel converter, output frequency, grid frequency, phase current.

16. A system according to claim 12 or claim 13, in which the real-time module additionally has a machine regulator, which is designed to apply a preset value to the modulator as a function of the difference between the actual phase current and the desired phase current of the motor connected to the multilevel converter.

17. The system of claim 15, wherein the at least one status parameter includes targeted protection of some of the plurality of modules in order to maximize fail-safety.

18. A modular multilevel converter, comprising a system according to one of claims 12 to 17 and configured to implement a method according to one of claims 1 to 11, and in the multilevel converter a corresponding module has eight switches, wherein the eight switches are arranged to form four half-bridges, wherein in a corresponding module the first two half-bridges are connected in parallel to at least two terminals on the first side, the last two half-bridges are connected in parallel to at least two terminals on the second side, and there is an electrical connection between the corresponding low-side switches and the high-side switches of the corresponding half-bridges on the first side and the second side of the corresponding module.