Event-driven simulation method, system and device for power electronic systems

By constructing a discrete simulation framework based on event time, the simulation process of power electronic systems is handled, solving the accuracy and stability problems of event-driven simulation technology in complex systems, and achieving efficient and accurate simulation results.

CN122389338APending Publication Date: 2026-07-14DSIM TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
DSIM TECH CO LTD
Filing Date
2026-04-23
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

Existing event-driven power electronics simulation technology is prone to problems such as inconsistent control updates, non-convergence of device state transitions, and inaccurate prediction of the next event when dealing with complex systems, which affect the simulation accuracy and stability.

Method used

The simulation process of power electronic systems is divided into discrete simulation steps with event time as the boundary. Through stages such as left limit update, event processing and prediction, right limit update and switching transient solution, a unified event-driven simulation framework is constructed to handle active and passive events, predict the next event time, and calculate the transient process of power semiconductor switching devices.

Benefits of technology

It improves the efficiency and accuracy of power electronic system simulation, enhances the stability and engineering applicability of simulation calculations, and can maintain high efficiency at the system level and achieve precise solutions at the moment of device action.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122389338A_ABST
    Figure CN122389338A_ABST
Patent Text Reader

Abstract

The application discloses an event-driven simulation method, system and device of a power electronic system. The event-driven simulation method of the power electronic system comprises the following steps: dividing a simulation process of the power electronic system into discrete simulation steps with event time as a boundary, and sequentially performing the following operations in each simulation step: updating a left limit of a control system; processing an event occurring in a current simulation step and predicting an event in a next simulation step; updating a right limit of the control system; calculating a transient process of a power semiconductor switching device with a state switching occurring in the current simulation step, and starting simulation calculation of the next simulation step according to a time of occurrence of the event predicted in the next simulation step after the current simulation step is completed, until a preset simulation end condition is reached. By using the application, the efficiency, precision and engineering applicability of the power electronic system simulation can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power electronics simulation technology, and in particular to an event-driven simulation method, system and device for power electronic systems. Background Technology

[0002] Power electronics technology is a crucial supporting technology for the modern national economy, enabling the efficient conversion and control of electromagnetic energy using power semiconductor switching devices. Industrial simulation software is an important tool for the analysis and design of power electronic systems. It allows for the simulation of the behavior of power electronic systems on a computer based on user-created power electronic system models, enabling digital experiments, verification of system functions, and evaluation of system performance. Conventional time-step-based industrial simulation techniques for power electronic systems suffer from slow computation. Under a fixed or small-step integration framework, to ensure simulation accuracy near the operating moments of power semiconductor switching devices, the global time step is typically set small, resulting in extensive numerical calculations even in regions where system state changes slowly, leading to low computational resource utilization. Event-driven simulation technology uses events to determine discrete simulation points. This type of technology inherently features variable step sizes, and the simulation is event-driven, enabling efficient solutions for complex systems. Because power electronic systems naturally contain numerous discrete events introduced by power semiconductor switching devices, event-driven simulation technology has significant advantages in the simulation and analysis of large-scale power electronic systems.

[0003] However, event-driven power electronics simulation technology algorithms are relatively complex and technically difficult to implement. Simulation calculations require the design of judgment, processing, and prediction timing sequences for various events to achieve the accuracy and efficiency of industrial simulation software. Especially in scenarios where control events, external events, state events, and passive events coexist, an unreasonable event processing order can easily lead to inconsistent control quantity updates, non-convergence of device state transitions, and inaccurate prediction of the next event, thus affecting simulation accuracy and stability. Summary of the Invention

[0004] Therefore, it is necessary to provide an event-driven simulation method, system, and device for power electronic systems to address the aforementioned technical problems, which can effectively improve the efficiency, accuracy, and engineering applicability of power electronic system simulation.

[0005] In a first aspect, an event-driven simulation method for a power electronic system is provided, the power electronic system including a power circuit, a control system, and power semiconductor switching devices, the method comprising: The simulation process of the power electronic system is divided into discrete simulation steps with event time as the boundary, and the following operations are performed sequentially in each simulation step: Update the left limit of the control system; Process the events that occur in the current simulation step and predict the events in the next simulation step; Update the right limit of the control system; Calculate the transient process of the power semiconductor switching device that undergoes state switching in the current simulation step, and after the current simulation step is completed, start the simulation calculation of the next simulation step according to the predicted occurrence time of the event in the next simulation step, until the preset simulation end condition is reached.

[0006] In some examples, it also includes: When updating the left limit of the control system, the left limit calculation functions of each control element are called sequentially according to the solution order of the control system determined in the simulation initialization phase, so as to obtain the output value of each control node and the gate control signal before the event occurs through the left limit calculation functions of each control element.

[0007] In some examples, where: The events occurring in the current simulation step include active events and passive events. When processing the events occurring in the current simulation step and predicting the events in the next simulation step, the process is carried out in the order of processing active events, processing passive events, and predicting the events in the next simulation step. The active events include at least control events and external events.

[0008] In some examples, where: When processing control events, each control node connected to the gate level of the power semiconductor switching device is detected sequentially, and it is determined whether the gate-level control signal of each control node connected to the gate level of the power semiconductor switching device has changed relative to the previous simulation step. When a change occurs, the corresponding gate-level control signal is recorded, and the on or off state of the corresponding power semiconductor switching device is updated. When handling external events, iterate through the list of components in the current simulation step where external events will occur, and call the external event update function of the corresponding component.

[0009] In some examples, where: When handling passive events, the list of components that have experienced passive events is retrieved based on the current simulation step, and the components that have experienced passive events are traversed and state flips are performed. After each round of state flipping, determine whether the corresponding components have all reached a stable state; If there are unstable components, continue to traverse and repeat the state reversal and stability judgment until all components that will cause passive events in the current simulation step are stabilized and the process ends.

[0010] In some examples, where: When predicting events in the next simulation step, all components that may experience external events and all components that may experience control events are traversed to determine the timing of the next external event and the next control event. The earlier of the times of the next external event and the next control event is taken as the time of the next active event. By combining the occurrence time of the next state event detected by the numerical integrator, the occurrence time of the currently predicted next event is determined; Between the current time and the predicted time of the next event, all possible passive events are traversed. If a passive event occurs at an earlier time, the time of the earlier passive event is adjusted to the time of the next event.

[0011] In some examples, it also includes: When updating the right limit of the control system, the right limit calculation function of each control element is called sequentially according to the solution order of the control system determined in the simulation initialization stage. The immediate output value of each control node after the event is applied is obtained through the right limit calculation function of each control element, and the immediate output value is used as the input basis for subsequent simulation step calculations.

[0012] In some examples, calculating the transient process of the power semiconductor switching device undergoing a state transition in the current simulation step includes: Iterate through all power semiconductor switching devices that undergo an on or off state transition in the current simulation step; Call the corresponding transient model of the power semiconductor switching device to calculate the device voltage, current and dynamic changes during the switching process of the power semiconductor switching device.

[0013] Secondly, an event-driven simulation system for a power electronic system is provided. The power electronic system includes a power circuit, a control system, and power semiconductor switching devices. The simulation process of the power electronic system is divided into discrete simulation steps with event times as boundaries. The event-driven simulation system for the power electronic system includes: A left limit update module is used to update the left limit of the control system in each simulation step; The event handling and prediction module is used to process events that occur in the current simulation step and predict events in the next simulation step. A right limit update module is used to update the right limit of the control system; The switching transient solution module is used to calculate the transient process of power semiconductor switching devices that undergo state switching in the current simulation step; The time progression module is used to drive the simulation stepping based on the occurrence time of events in the next simulation step output by the event processing and prediction module.

[0014] Thirdly, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, it implements the steps of the event-driven simulation method for a power electronic system according to the first aspect and any possible implementation of the first aspect.

[0015] Fourthly, a computer-readable storage medium is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of the event-driven simulation method for a power electronic system according to the first aspect and any possible implementation thereof.

[0016] Fifthly, a computer program product is provided, on which a computer program is stored, which, when executed by a processor, implements the steps of the event-driven simulation method for a power electronic system of the first aspect and any possible implementation thereof.

[0017] The embodiments of this application provide a unified event-driven simulation step framework applicable to power electronics industrial software. Each simulation step is divided into stages such as left limit update, event processing and prediction, right limit update, switching transient solution, and time progression, thereby establishing a standardized solution process suitable for complex power electronic systems. Specifically, by constructing a discrete simulation framework based on event-time progression, combined with left and right limit updates of the control system, hierarchical processing of active and passive events, next event prediction, and switching transient solution of power semiconductor devices, the efficiency, accuracy, and engineering applicability of power electronic system simulation can be effectively improved. Attached Figure Description

[0018] Other features, objects, and advantages of this application will become more apparent from the following detailed description of non-limiting embodiments with reference to the accompanying drawings: Figure 1 A flowchart of an event-driven simulation method for power electronic systems provided in this application embodiment; Figure 2 Timing diagram of the event-driven simulation method for power electronic systems provided in the embodiments of this application; Figure 3 Another flowchart of the event-driven simulation method for power electronic systems provided in the embodiments of this application; Figure 4 A structural block diagram of an event-driven simulation system for power electronic systems provided in this application embodiment; Figure 5 This is a structural block diagram of a computer device provided in an embodiment of this application. Detailed Implementation

[0019] The present application will now be described in further detail with reference to the embodiments and accompanying drawings. It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the application. Furthermore, it should be noted that, for ease of description, only the parts relevant to the application are shown in the accompanying drawings.

[0020] It should be noted that, unless otherwise specified, the embodiments and features of the embodiments in this application can be combined with each other. The present application will now be described in detail with reference to the accompanying drawings and embodiments.

[0021] The event-driven simulation method, system, and device for a power electronic system according to embodiments of this application are described in detail below with reference to the accompanying drawings. The power electronic system includes a power circuit, a control system, and power semiconductor switching devices.

[0022] Compared with existing technologies, the embodiments of this application significantly reduce the number of invalid calculations and improve the simulation efficiency of large-scale power electronic systems by using the event moment rather than a fixed time step as the simulation advancement boundary. By calculating the left and right limits of the control system separately within each simulation step, the control output before and after the event can be clearly distinguished, which is beneficial to improving control consistency in discrete switching scenarios. By dividing event processing into active event processing, passive event processing, and next event prediction, it is beneficial to build a unified event scheduling mechanism and improve the solution stability of complex power electronic systems. By calling the switching transient model on the power semiconductor device undergoing state switching, both system-level event-driven simulation efficiency and device-level transient accuracy can be balanced.

[0023] Figure 1 This is a flowchart of an event-driven simulation method for a power electronic system according to an embodiment of this application. Figure 1 As shown, according to the event-driven simulation method for power electronic systems in this application embodiment, the simulation process of the power electronic system is first divided into discrete simulation steps with event time as the boundary, and the following operations are performed sequentially in each simulation step. That is, simulation initialization and discrete simulation steps are first performed according to event boundaries, and then the following operations are performed sequentially in each simulation step.

[0024] Specifically, a unified event-driven simulation framework is established for power electronic systems that include power circuits, control systems, power semiconductor switching devices, and external excitation sources. The system state can be represented as: (1) in, Represents the continuous state variables of a power circuit. Represents the internal state variables of the control system. This represents the discrete state variables of a power semiconductor device.

[0025] At two adjacent event moments and Between these points, the continuous part of the system can be represented as: (2) in, u(t) For input quantity, p For parameter set, s k It represents the discrete topological state that remains unchanged within the current event step.

[0026] Unlike the fixed step size method, this application does not require a pre-defined uniform step size Δt, but instead obtains the next simulation discrete point through event prediction: (3) in, t ctrl Indicates the time when the next control event occurs. t ext Indicates the time when the next external event occurs. t state Indicates the time when the next state event occurs. t passive Indicates the time when the next passive event will occur.

[0027] Therefore, the simulation step size can be adaptively expressed as: (4) When the system is in a stable operating range, Δt k It can automatically increase; when the switch is frequently switched or there are dense external disturbances, Δt k It automatically reduces, thereby achieving a balance between accuracy and efficiency.

[0028] Before the simulation begins, the industrial software (i.e., the power electronic system) first performs model analysis, parameter loading, component instantiation, network topology establishment, and control system execution sequence generation. For the control system, a directed graph can be formed based on data dependencies. (5) in, V A collection of control elements, E This refers to the signal connection relationships. The solution order of the control system is obtained through topology sorting. (6) in, O Indicates the order in which control elements are called. v 1 to v nRepresenting the first to the last n There are 1 control element. This sequence can be reused in both left and right limit updates to ensure the consistency of control signal propagation.

[0029] In this application, the system simulation process is divided into discrete simulation steps with event times as boundaries. At the start of the k-th simulation step, the current simulation time is t. k In this simulation step, the industrial software sequentially performs left limit update, event processing and next event prediction, right limit update, switch transient calculation, and time advancement.

[0030] The main loop of this simulation can be written as: (7) Execute in sequence: Calculate the left limit; Process current events and predict the next event; Calculate the right limit; Calculate the switching transient; Time advances to t k +1.

[0031] Among them, T end The simulation end time set by the user.

[0032] Specifically, combined Figure 2 and Figure 3 As shown, the event-driven simulation method for power electronic systems according to an embodiment of this application includes: S101: Update the left limit of the control system.

[0033] Specifically, when updating the left limit of the control system, the left limit calculation functions of each control element are called sequentially according to the solution order of the control system determined in the simulation initialization phase, so as to obtain the output value of each control node and the gate control signal before the event occurs through the left limit calculation functions of each control element.

[0034] Specifically, at event time t k To characterize the response state of the control system before the event occurs, the left limit of the control system is first updated. Let the input of the i-th control element be ξi(t), and its output be y. i (t), then it is calculated in the left limit update stage: (8) Among them, F i Let z represent the left-hand limit function. i This refers to the internal state of the component.

[0035] For all control elements, the left-hand limit calculation function is called sequentially in the order determined during initialization O to obtain the values ​​of all control nodes at time t. k Output value at time t and gate control signal g(t) k This accurately reflects the driving state of the power devices by the control system before the event occurs. S102: Process the events that occur in the current simulation step and predict the events in the next simulation step.

[0036] As a specific example, the events occurring in the current simulation step include active events and passive events. When processing the events occurring in the current simulation step and predicting the events in the next simulation step, the process is carried out in the order of processing active events, processing passive events, and predicting the events in the next simulation step. The active events include at least control events and external events.

[0037] When handling control events, each control node connected to the gate level of the power semiconductor switching device is detected sequentially, and it is determined whether the gate-level control signal of each control node connected to the gate level of the power semiconductor switching device has changed relative to the previous simulation step. When a change occurs, the corresponding gate-level control signal is recorded, and the on or off state of the corresponding power semiconductor switching device is updated. When handling external events, the list of components that will experience external events in the current simulation step is traversed, and the external event update function of the corresponding component is called.

[0038] Furthermore, when handling passive events, based on the list of components that will experience passive events in the current simulation step, the system iterates through the components that will experience passive events and performs state flips. After each round of state flips, it determines whether the corresponding components have all reached a stable state. If there are unstable components, the system continues to iterate and repeat the state flip and stability determination until all components that will experience passive events in the current simulation step are stable, at which point the processing ends.

[0039] Furthermore, when predicting events in the next simulation step, all components that may experience external events and all components that may experience control events are traversed to determine the occurrence time of the next external event and the next control event. The earlier of the occurrence times of the next external event and the next control event is taken as the occurrence time of the next active event. The occurrence time of the next state event detected by the numerical integrator is combined to determine the occurrence time of the currently predicted next event. Between the current time and the occurrence time of the currently predicted next event, all components that may experience passive events are traversed. If there is a passive event that occurred at an earlier time, the occurrence time of the passive event that occurred at an earlier time is corrected to the occurrence time of the next event.

[0040] Specifically, for control events, the industrial software sequentially checks each control node connected to the gate level of the power semiconductor switching device to determine whether the current gate-level control signal has changed relative to the previous simulation step. This can be expressed by the following criterion: (9) when When the j-th switching device experiences a control event, its discrete switching state is updated as follows: (10) Where 1 represents the on state and 0 represents the off state.

[0041] For external events, the industrial software iterates through the list of components where external events will occur in this simulation step and calls the corresponding component's external event update function. For example, external events could be given waveform switching, load abrupt changes, reference value jumps, grid fault injection, etc. If the parameter of the m-th external component changes at time tk, it can be represented as: (11) Among them, U m For external event update functions, d atam This represents the internal data of the m-th external component.

[0042] Passive events refer to indirect external events caused by topology changes, state coupling, or logic linkage, such as natural commutation of diodes or logic flips caused by voltage or current out-of-bounds.

[0043] In this application, passive events are handled using a mechanism of "traversal—state reversal—stability judgment—repetition when necessary". Let S(r) be the set of passive element states after the r-th iteration, and define the state reversal operator Φ, then: (12) If the following conditions are met: (13) If the passive event handling is stable, then the process is considered to have reached a stable state; otherwise, the next round of traversal and state reversal will continue.

[0044] To avoid infinite loops, a maximum number of iterations Nmax can be set in the engineering implementation, and an exception handling or local recalculation mechanism can be triggered after the threshold is reached.

[0045] After completing the event processing for the current moment, it is necessary to predict the boundary of the next simulation step. First, traverse all components that may experience external events and all components that may experience control events to determine the active event moment tactive: (14) Then, by combining the next state event occurrence time tstate obtained from the numerical integrator, the current predicted next event time tpred is obtained: (15) Then, iterate through all elements that may experience passive events within the interval (tk, tpred); if the predicted time tpassive of a passive event satisfies: (16) The next event time will then be revised as follows: (17) otherwise: (18) This collaborative prediction mechanism for active events, passive events, and state events, through a unified comparison of t ctrl t ext t state With t passive This helps improve the positioning accuracy of the boundary in the next simulation step and reduces misjudgments and backtracking calculations. Furthermore, the iterative stabilization mechanism for passive events, by combining state reversal with stability assessment, solves the chain switching problem caused by topological coupling.

[0046] S103: Update the right limit of the control system.

[0047] When updating the right limit of the control system, the right limit calculation function of each control element can be called sequentially according to the solution order of the control system determined in the simulation initialization stage. The immediate output value of each control node after the event is applied can be obtained through the right limit calculation function of each control element, and the immediate output value can be used as the input basis for subsequent simulation step calculations.

[0048] That is, after completing the current event processing step, the right limit of the control system needs to be updated to reflect the immediate output of the control system after the event's effect. For the i-th control element, we have: (19) Among them, F i + indicates the right limit calculation function.

[0049] Similarly, following the control system calculation sequence determined in the initialization phase, the right limit calculation functions of each control element are called sequentially to obtain the instantaneous output values ​​of each control node after the event, which serve as the input basis for subsequent simulation step calculations.

[0050] The separate calculation of the left and right limits is one of the key features that distinguishes this application from ordinary single-point update methods. By simultaneously retaining the control outputs before and after the event, the discontinuous behavior of the controller, comparator, and trigger pulse generator at the event boundary can be accurately described.

[0051] This mechanism of separating and updating the left and right limits, which characterizes the control output in two states before and after the event boundary, helps to solve the problem of discontinuous calculation of gate drive signals, logic comparison results and control feedback at the moment of the event in power electronic systems.

[0052] S104: Calculate the transient process of the power semiconductor switching device undergoing state switching in the current simulation step, and after the current simulation step is completed, start the simulation calculation of the next simulation step according to the predicted occurrence time of the event in the next simulation step, until the pre-set simulation termination condition is reached. This introduces a device-level switching transient model into the overall event-driven framework, thereby achieving a balance between "efficient system-level simulation + precise solution of key device-level transients".

[0053] In a specific example, the transient process of the power semiconductor switching device that undergoes a state transition in the current simulation step is calculated, including: traversing all power semiconductor switching devices that undergo an on or off state transition in the current simulation step; calling the corresponding power semiconductor switching device transient model, and calculating the device voltage, current and dynamic changes during the switching process of the power semiconductor switching device.

[0054] Specifically, within this simulation step, if a power semiconductor device is detected to be in a state transition from on to off, the corresponding switching transient model is called to calculate the device voltage, current, and their dynamic changes.

[0055] Suppose a certain switching device at time t k When the device switches from off to on, its voltage v sw Current i sw The piecewise analytical transient model can be used to describe it as follows: (20) in, T von and T Ion These are the on-voltage model function and on-current model function determined by the piecewise analytical transient model, respectively.

[0056] If a device switches from being on to being off, it can be represented as: (twenty one) in, T voff and T IoffThese are the turn-off voltage model function and turn-off current model function determined by the piecewise analytical transient model, respectively.

[0057] Using the above model, industrial software can not only maintain the high efficiency of event-driven systems, but also extract more engineering-significant peak voltage, peak current, and d values ​​at the moment of device action. v / d t d i / d t Including indicators such as switching losses.

[0058] At event time t k After processing, the system starts from t k Advance to t k +1. The discrete topological state remains unchanged within this time interval, while the continuous state is solved using a corresponding numerical integrator. For example, it can be represented as: (twenty two) Among them, Ψ( The state propagation operator can be implemented using the trapezoidal method, Runge-Kutta method, exponential integral method, or piecewise analytical method.

[0059] In a linearized embodiment, if the continuous portion of the system approximately satisfies: (twenty three) in, A s and B s It is determined by the current discrete topological state The determined coefficient matrix can then be written as: (twenty four) The event-driven simulation method for power electronic systems according to embodiments of this application provides a unified event-driven simulation step framework applicable to power electronics industrial software. Each simulation step is divided into stages such as left limit update, event processing and prediction, right limit update, switching transient solution, and time progression, thereby establishing a standardized solution process suitable for complex power electronic systems. Specifically, by constructing a discrete simulation framework based on event-time progression, combined with left and right limit updates of the control system, hierarchical processing of active and passive events, prediction of the next event, and switching transient solution of power semiconductor devices, the efficiency, accuracy, and engineering applicability of power electronic system simulation can be effectively improved.

[0060] Figure 4 This is a structural block diagram of an event-driven simulation system for a power electronic system according to an embodiment of this application. Figure 4As shown, an event-driven simulation system for a power electronic system according to an embodiment of this application includes: a left limit update module 410, an event processing and prediction module 420, a right limit update module 430, a switching transient solution module 440, and a time advancement module 450, wherein: Left limit update module 410 is used to update the left limit of the control system in each simulation step; The event processing and prediction module 420 is used to process events that occur in the current simulation step and predict events in the next simulation step; Right limit update module 430, used to update the right limit of the control system; The switching transient solution module 440 is used to calculate the transient process of the power semiconductor switching device that undergoes state switching in the current simulation step; The time advancement module 450 is used to drive the simulation stepping based on the occurrence time of the event in the next simulation step output by the event processing and prediction module.

[0061] The event-driven simulation system for power electronic systems according to embodiments of this application provides a unified event-driven simulation step framework applicable to power electronics industrial software. Each simulation step is divided into stages such as left limit update, event processing and prediction, right limit update, switching transient solution, and time progression, thereby establishing a standardized solution process suitable for complex power electronic systems. Specifically, by constructing a discrete simulation framework based on event-time progression, combined with left and right limit updates of the control system, hierarchical processing of active and passive events, prediction of the next event, and switching transient solution of power semiconductor devices, the efficiency, accuracy, and engineering applicability of power electronic system simulation can be effectively improved.

[0062] Specific limitations regarding event-driven simulation systems for power electronic systems can be found in the above section on the limitations of event-driven simulation methods for power electronic systems, and will not be repeated here. Each module of the aforementioned event-driven simulation system for power electronic systems can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the computer device's memory as software, so that the processor can call and execute the corresponding operations of each module.

[0063] In one embodiment, a computer device is provided. Figure 5 This is a structural block diagram of the computer device provided in the embodiments of this application, with reference to... Figure 5The computer device includes a memory and a processor. The memory stores a computer program, and the processor executes the computer program to implement the aforementioned event-driven simulation method embodiment for the power electronic system. For example, it executes the following: dividing the simulation process of the power electronic system into discrete simulation steps with event times as boundaries, and performing the following operations sequentially in each simulation step: Update the left limit of the control system; Process the events that occur in the current simulation step and predict the events in the next simulation step; Update the right limit of the control system; Calculate the transient process of the power semiconductor switching device that undergoes state switching in the current simulation step, and after the current simulation step is completed, start the simulation calculation of the next simulation step according to the predicted occurrence time of the event in the next simulation step, until the preset simulation end condition is reached.

[0064] This application also provides a computer-readable storage medium storing a computer program. When the processor executes the computer program, it implements the aforementioned event-driven simulation method embodiment for power electronic systems. For example, it executes the following: dividing the simulation process of the power electronic system into discrete simulation steps with event times as boundaries, and performing the following operations sequentially in each simulation step: Update the left limit of the control system; Process the events that occur in the current simulation step and predict the events in the next simulation step; Update the right limit of the control system; Calculate the transient process of the power semiconductor switching device that undergoes state switching in the current simulation step, and after the current simulation step is completed, start the simulation calculation of the next simulation step according to the predicted occurrence time of the event in the next simulation step, until the preset simulation end condition is reached.

[0065] This application provides a computer program product including instructions that, when executed, cause the method described in this application embodiment to be performed. For example, it can execute... Figure 1 The event-driven simulation method for the power electronic system shown includes the following steps, for example: dividing the simulation process of the power electronic system into discrete simulation steps with event times as boundaries, and performing the following operations sequentially in each simulation step: Update the left limit of the control system; Process the events that occur in the current simulation step and predict the events in the next simulation step; Update the right limit of the control system; Calculate the transient process of the power semiconductor switching device that undergoes state switching in the current simulation step, and after the current simulation step is completed, start the simulation calculation of the next simulation step according to the predicted occurrence time of the event in the next simulation step, until the preset simulation end condition is reached.

[0066] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage, etc. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc.

[0067] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0068] The above embodiments merely illustrate several implementation methods of this application, and while the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this patent application should be determined by the appended claims.

Claims

1. An event-driven simulation method for power electronic systems, characterized in that, The power electronic system includes a power circuit, a control system, and power semiconductor switching devices; the method includes: The simulation process of the power electronic system is divided into discrete simulation steps with event time as the boundary, and the following operations are performed sequentially in each simulation step: Update the left limit of the control system; Process the events that occur in the current simulation step and predict the events in the next simulation step; Update the right limit of the control system; Calculate the transient process of the power semiconductor switching device that undergoes state switching in the current simulation step, and after the current simulation step is completed, start the simulation calculation of the next simulation step according to the predicted occurrence time of the event in the next simulation step, until the preset simulation end condition is reached.

2. The event-driven simulation method for power electronic systems according to claim 1, characterized in that, Also includes: When updating the left limit of the control system, the left limit calculation functions of each control element are called sequentially according to the solution order of the control system determined in the simulation initialization phase, so as to obtain the output value of each control node and the gate control signal before the event occurs through the left limit calculation functions of each control element.

3. The event-driven simulation method for power electronic systems according to claim 1, characterized in that, in: The events occurring in the current simulation step include active events and passive events. When processing the events occurring in the current simulation step and predicting the events in the next simulation step, the process is carried out in the order of processing active events, processing passive events, and predicting the events in the next simulation step. The active events include at least control events and external events.

4. The event-driven simulation method for power electronic systems according to claim 3, characterized in that, in: When processing control events, each control node connected to the gate level of the power semiconductor switching device is detected sequentially, and it is determined whether the gate-level control signal of each control node connected to the gate level of the power semiconductor switching device has changed relative to the previous simulation step. When a change occurs, the corresponding gate-level control signal is recorded, and the on or off state of the corresponding power semiconductor switching device is updated. When handling external events, iterate through the list of components in the current simulation step where external events will occur, and call the external event update function of the corresponding component.

5. The event-driven simulation method for power electronic systems according to claim 3, characterized in that, in: When handling passive events, the list of components that have experienced passive events is retrieved based on the current simulation step, and the components that have experienced passive events are traversed and state flips are performed. After each round of state flipping, determine whether the corresponding components have all reached a stable state; If there are unstable components, continue to traverse and repeat the state reversal and stability judgment until all components that will cause passive events in the current simulation step are stabilized and the process ends.

6. The event-driven simulation method for power electronic systems according to claim 3, characterized in that, in: When predicting events in the next simulation step, all components that may experience external events and all components that may experience control events are traversed to determine the timing of the next external event and the next control event. The earlier of the times of the next external event and the next control event is taken as the time of the next active event. By combining the occurrence time of the next state event detected by the numerical integrator, the occurrence time of the currently predicted next event is determined; Between the current time and the predicted time of the next event, all possible passive events are traversed. If a passive event occurs at an earlier time, the time of the earlier passive event is adjusted to the time of the next event.

7. The event-driven simulation method for power electronic systems according to claim 1, characterized in that, Also includes: When updating the right limit of the control system, the right limit calculation function of each control element is called sequentially according to the solution order of the control system determined in the simulation initialization stage. The immediate output value of each control node after the event is applied is obtained through the right limit calculation function of each control element, and the immediate output value is used as the input basis for subsequent simulation step calculations.

8. The event-driven simulation method for power electronic systems according to any one of claims 1-7, characterized in that, The calculation of the transient process of the power semiconductor switching device undergoing state switching in the current simulation step includes: Iterate through all power semiconductor switching devices that undergo an on or off state transition in the current simulation step; Call the corresponding transient model of the power semiconductor switching device to calculate the device voltage, current and dynamic changes during the switching process of the power semiconductor switching device.

9. An event-driven simulation system for power electronic systems, characterized in that, The power electronic system includes power circuits, a control system, and power semiconductor switching devices. The simulation process of the power electronic system is divided into discrete simulation steps with event times as boundaries. The event-driven simulation system of the power electronic system includes: A left limit update module is used to update the left limit of the control system in each simulation step; The event handling and prediction module is used to process events that occur in the current simulation step and predict events in the next simulation step. A right limit update module is used to update the right limit of the control system; The switching transient solution module is used to calculate the transient process of power semiconductor switching devices that undergo state switching in the current simulation step; The time progression module is used to drive the simulation stepping based on the occurrence time of events in the next simulation step output by the event processing and prediction module.

10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the event-driven simulation method for the power electronic system according to any one of claims 1-8.