Event-driven power electronics and motor system modeling simulation method and device

Through event-driven simulation methods, based on energy invariance equivalent processing and behavioral model methods, we solve the problem that traditional simulation methods cannot solve the multi-disciplinary system of power electronics and motor systems, achieve efficient multi-disciplinary system simulation, and improve the efficiency of power electronics and motor systems. Simulation efficiency and applicability of electronic and electrical systems.

CN118797932APending Publication Date: 2024-10-18TSINGHUA UNIVERSITY
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410871176.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

Traditional time-discrete simulation methods are difficult to adapt to the simulation needs of large-scale power electronic systems, resulting in low practicability and applicability, and cannot effectively solve multi-disciplinary system simulations of power electronics and motor systems.

Method used

Using event-driven power electronics and motor system modeling and simulation methods, by identifying the components and topology of the physical system, converting it into a circuit model of the electrical system based on energy invariance equivalent processing, generating a mathematical model, and based on the event-driven simulation method Perform simulation.

Benefits of technology

It realizes the overall modeling of multi-disciplinary and multi-physics systems, improves the simulation efficiency and applicability of power electronics and motor systems, can solve multi-disciplinary systems that cannot be processed by traditional methods, and improves the accuracy and speed of simulation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118797932A_ABST
    Figure CN118797932A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of power electronics and motor systems, in particular to an event-driven power electronics and motor system modeling simulation method and device.The method comprises the steps that elements corresponding to at least one physical system of a mechanical system, a fluid system and a thermal system and topological structures between the elements are recognized; converting the elements and the topological structure between the elements into a circuit model of a corresponding electrical system based on energy invariance equivalent processing; generating a mathematical model of the power electronics and motor system according to the converted circuit model of the electrical system and the state variable corresponding to the circuit model; and performing event-driven simulation on the physical system based on the mathematical model of the power electronics and motor system to obtain a simulation result. Therefore, the problems of low practicability and applicability and the like caused by the fact that a traditional discrete state event-driven modeling method in related technologies cannot solve simulation requirements of various types of systems of power electronics and motor systems are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power electronics and motor systems, and in particular to an event-driven power electronics and motor system modeling and simulation method and device. Background Art

[0002] Power electronics and motor systems are important components of modern power engineering and automation technology. They play a key role in energy conversion, transmission and control. Power electronics and motor systems are widely used in industrial automation, electric vehicles, renewable energy systems, household appliances and many other fields. The integrated design and multidisciplinary collaborative optimization of power electronics and motor systems have posed huge challenges to both industry and academia. In order to study the complex behaviors of multidisciplinary interactions in the system, efficient and accurate numerical simulation methods and platforms are indispensable tools.

[0003] In related technologies, the simulation of power electronic systems often faces the problems of slow speed and poor convergence. This is because power electronic systems naturally have hybrid characteristics, with both continuous state variables and discrete events coexisting. Traditional methods based on time discretization and simulation are difficult to adapt to the simulation needs of large-scale power electronic systems, resulting in low practicality and applicability. Summary of the invention

[0004] The present application provides an event-driven power electronics and motor system modeling and simulation method and device to solve the problems in the related art that the traditional discrete state event-driven modeling method in the related art cannot solve the simulation requirements of various types of power electronics and motor systems, resulting in low practicality and applicability.

[0005] In a first aspect, an embodiment of the present application provides an event-driven modeling and simulation method for power electronics and motor systems, wherein the power electronics and motor systems include an electrical system, a mechanical system, a fluid system, and a thermal system, wherein the method includes: identifying components and topological structures between components corresponding to at least one physical system of the mechanical system, the fluid system, and the thermal system; converting the components and the topological structures between components into a circuit model of the corresponding electrical system based on energy invariance equivalent processing; generating a mathematical model of the power electronics and motor system based on the circuit model of the converted electrical system and the state variables corresponding to the circuit model; and performing event-driven simulation of the physical system based on the mathematical model of the power electronics and motor system to obtain a simulation result.

[0006] Optionally, the topological structure of the elements and the elements is converted into a circuit model of the corresponding electrical system based on energy invariance equivalent processing, including: if the type of the power electronics and motor system is a mechanical system, the speed, force, elastic coefficient, damping coefficient, mass, displacement, momentum and gearbox in the mechanical system are processed equivalently based on energy invariance to obtain the corresponding voltage, current, inductance, conductance, capacitance, voltage pulse, charge and transformer of the electrical system; if the type of the power electronics and motor system is a thermal system, the temperature, heat flow, thermal resistance and thermal capacity in the thermal system are processed equivalently based on energy invariance to obtain the corresponding voltage, current, resistance and capacitance of the electrical system; if the type of the power electronics and motor system is a fluid system, the pressure, flow, volume and pipeline resistance in the fluid system are processed equivalently based on energy invariance to obtain the corresponding voltage, current, charge and resistance of the electrical system.

[0007] Optionally, a mathematical model of the power electronics and motor system is generated based on the circuit model of the converted electrical system and the state variables corresponding to the circuit model, including: identifying a controlled source in the circuit model of the converted electrical system; connecting the topologies of different systems to generate a target topology based on the controlled source, and generating a corresponding mathematical model of the power electronics and motor system based on the target topology and the state variables corresponding to the circuit model.

[0008] Optionally, the state equation of the mathematical model of the power electronics and motor system is:

[0009]

[0010]

[0011] Y e =C e X e +D e_i U e_i +C ag_p U ag_p +C bh_p U bh_p

[0012] Y ag =C ag X ag +D ag_i U ag_i +C e_p U e_p +C bh_p U bh_p ,

[0013] Where X = {X e ,X ag},Y={Y e ,Y ag},U ag_p =g ag (Y ag ),U e_p =g e (Y e ),

[0014] U bh =g bh (Y bh ) = g bh (H(s)X in (s)+f(x in ), where X is the state variable of the multidisciplinary system of power electronics and motors, Y is the output variable of the multidisciplinary system of power electronics and motors, U is the input variable of the multidisciplinary system of power electronics and motors, A is the state matrix of the multidisciplinary system of power electronics and motors, B is the input matrix of the multidisciplinary system of power electronics and motors, C is the state matrix of the output variables, D is the input matrix of the output variables, subscripts e, ag, bh represent electrical, analog, and behavioral model related variables / matrices, i represents independent source, p represents controlled source, g represents ag and g e is the mapping function from output variables to controlled sources.

[0015] Optionally, the event-driven simulation of the physical system based on the mathematical model of the power electronics and motor system to obtain a simulation result includes: modifying the state equation and the output equation of the mathematical model according to the at least one event state to obtain an output value; calculating a controlled source value according to the output equation and the topological relationship; and determining the simulation result according to the output value and the controlled source value.

[0016] Optionally, the events include state events, control events and passive events.

[0017] The second aspect of the present application provides an event-driven modeling and simulation device for power electronics and motor systems, wherein the power electronics and motor systems include an electrical system, a mechanical system, a fluid system and a thermal system, wherein the device includes: an identification module for identifying components and topological structures between components corresponding to at least one physical system of the mechanical system, the fluid system and the thermal system; a conversion module for converting the components and topological structures between components into a circuit model of the corresponding electrical system based on energy invariance equivalent processing; a generation module for generating a mathematical model of the power electronics and motor system based on the circuit model of the converted electrical system and the state variables corresponding to the circuit model; and a simulation module for performing event-driven simulation of the physical system based on the mathematical model of the power electronics and motor system to obtain a simulation result.

[0018] The third aspect of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the event-driven power electronics and motor system modeling and simulation method as described in the above embodiments.

[0019] The fourth aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which is executed by a processor to implement the event-driven power electronics and motor system modeling and simulation method as described in the above embodiments.

[0020] The fifth aspect of the present application provides a computer program product, which, when executed, is used to implement the event-driven power electronics and motor system modeling and simulation method as described in the above embodiment.

[0021] Therefore, this application has at least the following beneficial effects:

[0022] The event-driven multidisciplinary modeling and simulation method for power electronics and motor systems in the embodiment of the present application realizes the overall modeling of multidisciplinary and multi-physical systems through the equivalent method and the behavioral model method, and realizes the connection between the physical systems through circuit elements, which solves the problem that the traditional discrete state event-driven modeling method cannot solve the multidisciplinary system of power electronics and motor systems, so that the state discrete event-driven method can solve the multidisciplinary system of power electronics and motors, with high applicability and practicality, and adopts an event-driven mechanism to improve the solution efficiency of the multidisciplinary system of power electronics and motor systems.

[0023] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0025] Figure 1 A flowchart of an event-driven power electronics and motor system modeling and simulation method provided according to an embodiment of the present application;

[0026] Figure 2 A schematic diagram of an event-driven multidisciplinary modeling and simulation method for power electronics and motor systems provided according to an embodiment of the present application;

[0027] Figure 3 A schematic diagram of a permanent magnet synchronous motor with a hub load system selected according to an embodiment of the present application;

[0028] Figure 4 A circuit diagram of a modeled permanent magnet synchronous motor with a hub load system according to an embodiment of the present application;

[0029] Figure 5 A comparison diagram of key waveform simulations of power electronics and motor systems in embodiments of the present invention using the present invention technology and commercial software provided in embodiments of the present invention;

[0030] Figure 6 A block diagram of an event-driven power electronics and motor system modeling and simulation device provided according to an embodiment of the present application;

[0031] Figure 7 Schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0032] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0033] Power electronics and motor systems are widely used in industrial automation, electric vehicles, renewable energy systems, household appliances, and many other fields. For example, in electric vehicles, power electronics control the charging and discharging process of the battery and regulate the operation of the motor to provide the required power and optimize energy efficiency. In wind power generation, power electronic converters are used to adjust the electric energy converted from wind energy to a voltage and frequency suitable for the grid. Although the analysis and design methods of traditional power systems are mature, power electronics and motor systems show the characteristics of close integration and mutual influence of multiple disciplines. For example, in motor drives, mechanical behavior can affect the design and control strategy of power electronic converters; in power generation, traditional internal combustion engines combine fluid, mechanical and thermal characteristics; wind power generation also involves aspects such as wind flow and the rotation of blades and fans. The integrated design and multidisciplinary collaborative optimization of power electronics and motor systems pose great challenges to both industry and academia. In order to study the complex behavior of multidisciplinary interactions in this system, efficient and accurate numerical simulation methods and platforms are indispensable tools.

[0034] Currently, there is a state discrete event driven simulation method that can achieve efficient system simulation, which is several orders of magnitude faster than the existing technology. However, this method cannot currently simulate multidisciplinary systems, such as mechanical systems, thermal systems, fluid systems, etc., which results in the discrete state event driven method not being widely adapted and applied to the simulation, design, and optimization of power electronics and motor systems.

[0035] The event-driven power electronics and motor system modeling and simulation method and device of the embodiment of the present application are described below with reference to the accompanying drawings. Specifically, Figure 1 A schematic flow chart of an event-driven power electronics and motor system modeling and simulation method provided in an embodiment of the present application.

[0036] like Figure 1 As shown, the event-driven power electronics and motor system modeling and simulation method, the power electronics and motor system includes an electrical system, a mechanical system, a fluid system and a thermal system, wherein the following steps are included:

[0037] In step S101 , components corresponding to at least one of a mechanical system, a fluid system, and a thermal system and a topological structure between the components are identified.

[0038] It can be understood that the embodiments of the present application can identify the topological structures of the elements and the elements corresponding to at least one of the mechanical system, the fluid system and the thermal system, so as to facilitate the conversion of the topological structures of the elements and the elements into the circuit model of the corresponding electrical system based on the energy invariance equivalent processing.

[0039] In step S102, the topological structures of the components and the components are converted into a circuit model of the corresponding electrical system based on energy invariance equivalent processing.

[0040] It can be understood that the embodiments of the present application can convert the topological structure between components and components into a circuit model of the corresponding electrical system based on energy invariance equivalent processing, so as to generate a mathematical model of the power electronics and motor system according to the converted circuit model of the electrical system and the state variables corresponding to the circuit model.

[0041] In an embodiment of the present application, the topological structure between elements and elements is converted into a circuit model of the corresponding electrical system based on energy invariance equivalent processing, including: if the type of the power electronics and motor system is a mechanical system, the speed, force, elastic coefficient, damping coefficient, mass, displacement, momentum and gearbox in the mechanical system are equivalently processed based on energy invariance to obtain the voltage, current, inductance, conductivity, capacitance, voltage pulse, charge and transformer of the corresponding electrical system; if the type of the power electronics and motor system is a thermal system, the temperature, heat flow, thermal resistance and thermal capacity in the thermal system are equivalently processed based on energy invariance to obtain the voltage, current, resistance and capacitance of the corresponding electrical system; if the type of the power electronics and motor system is a fluid system, the pressure, flow, volume and pipeline resistance in the fluid system are equivalently processed based on energy invariance to obtain the voltage, current, charge and resistance of the corresponding electrical system.

[0042] It can be understood that the embodiments of the present application are based on the principle of energy consistency and generalized Kirchhoff's laws, and the physical quantities of the mechanical system, thermal system, and fluid system are equivalent to the physical quantities of the electrical system, so as to generate a mathematical model of the power electronics and motor system based on the circuit model of the converted electrical system and the state variables corresponding to the circuit model.

[0043] Specifically, for the mechanical system, the velocity v is analogized to the voltage V, the force F is analogized to the current I; the elastic coefficient k is analogized to the inverse of the inductance 1 / L, following the relationship shown in Formula 1; the damping coefficient b is analogized to the conductance G, following the relationship shown in Formula 2; the mass m is analogized to the capacitance C, following the relationship shown in Formula 3; the displacement x is analogized to the voltage pulse Vimpulse, following the relationship shown in Formula 4; the momentum p is analogized to the charge Q, following the relationship shown in Formula 5; the gearbox is analogized to a transformer.

[0044]

[0045] F=bv;I=GV (2)

[0046]

[0047] x=∫vdt;Vimpulse=∫Vdt (4)

[0048] p=∫Fdt;Q=∫Vdt (5)

[0049] For the thermal system, the temperature T is analogized to the voltage V, the heat Q is analogized to the current I; the thermal resistance Rt is analogized to the resistance R, following the relationship shown in Formula 6; the thermal capacitance Ct is analogized to the capacitance C, following the relationship shown in Formula 7.

[0050] T=R t Q; V = RI (6)

[0051]

[0052] For the fluid system, the pressure p is analogized to the voltage V, the flow q is analogized to the current I; the volume v is analogized to the charge Q; the pipeline resistance Rt is analogized to the resistance R, following the relationship shown in Formula 8.

[0053] p=R f Q; V = RI (8)

[0054] The behavioral model is expressed using transfer functions and descriptive equations:

[0055] y=H(s)x in (s)+f(x in ) (9)

[0056] Where y is the output, x is inis the input quantity, H(s) is the continuous domain transfer function that represents the input-output relationship of the physical system, f(x in ) is the descriptive equation that describes the behavior of the physical system. The behavior of a physical system is described using a combination of transfer function and descriptive equation.

[0057] In step S103, a mathematical model of the power electronics and motor system is generated according to the converted circuit model of the electrical system and the state variables corresponding to the circuit model.

[0058] It can be understood that the embodiments of the present application can generate a mathematical model of the power electronics and motor system based on the circuit model of the converted electrical system and the state variables corresponding to the circuit model, which solves the problem that the traditional discrete state event-driven modeling method cannot solve the multidisciplinary system of power electronics and motor systems, thereby enabling the state discrete event-driven method to solve the multidisciplinary system of power electronics and motors, with high applicability and practicality.

[0059] In an embodiment of the present application, a mathematical model of a power electronics and motor system is generated based on a circuit model of a converted electrical system and state variables corresponding to the circuit model, including: identifying controlled sources in the circuit model of the converted electrical system; connecting the topological structures of different systems to generate a target topological structure based on the controlled sources, and generating a corresponding mathematical model of the power electronics and motor system based on the target topological structure and the state variables corresponding to the circuit model.

[0060] It can be understood that the embodiments of the present application can use a controlled voltage source or a controlled current source as the key to establish a topological relationship between the electrical system and at least one of the mechanical system, the thermal system and the fluid system, and generate a mathematical model of the power electronics and motor system based on the topological relationship and the state variables corresponding to the circuit model, so as to facilitate the subsequent use of the mathematical model for event-driven simulation.

[0061] Specifically, multiple physical systems are connected through controlled sources based on the principle of energy invariance to express the influence of other physical systems on the physical system. The specific steps are:

[0062] Step 1: Connect the electrical system to the mechanical system, use a controlled current source to represent the moment of inertia of the electrical output to the mechanical system, and use a controlled voltage source to represent the back electromotive force of the mechanical feedback to the electrical system;

[0063] Step 2: Connect the electrical system to the thermal system, use a controlled current source to represent the electrical system as the heat source in the thermal system, and use a controlled voltage source to represent the thermal system as the influence on the overall temperature of the electrical system.

[0064] Step 3: Connect the electrical system to the behavioral model system and use a controlled voltage source or current source to represent the influence of the system on the electrical system;

[0065] Step 4: For the interconnections between multi-physical systems, use controlled current sources to represent "pass-type" variables and controlled voltage sources to represent "state-type" variables.

[0066] In the embodiment of the present application, the state equation of the mathematical model of the power electronics and motor system is:

[0067]

[0068] Y e =C e X e +D e_i U e_i +C ag_p U ag_p +C bh_p U bh_p

[0069] Y ag =C ag X ag +D ag_i U ag_i +C e_p U e_p +C bh_p U bh_p ,

[0070] Where X = {X e ,X ag},Y={Y e ,Y ag},U ag_p =g ag (Y ag ),U e_p =g e (Y e ),

[0071] U bh =g bh (Y bh ) = g bh (H(s)X in (s)+f(x in ), where X is the state variable of the multidisciplinary system of power electronics and motors, Y is the output variable of the multidisciplinary system of power electronics and motors, U is the input variable of the multidisciplinary system of power electronics and motors, A is the state matrix of the multidisciplinary system of power electronics and motors, B is the input matrix of the multidisciplinary system of power electronics and motors, C is the state matrix of the output variables, D is the input matrix of the output variables, subscripts e, ag, bh represent electrical, analog, and behavioral model related variables / matrices, i represents independent source, p represents controlled source, g represents ag and g eis the mapping function from output variables to controlled sources.

[0072] In step S104, an event-driven simulation is performed on the physical system based on the mathematical model of the power electronics and motor system to obtain a simulation result.

[0073] Among them, events include state events, control events and passive events.

[0074] It can be understood that the embodiments of the present application can perform event-driven simulation of the physical system based on the mathematical model of the power electronics and motor system, and adopt an event-driven mechanism to improve the solution efficiency of the multidisciplinary system of the power electronics and motor system.

[0075] In an embodiment of the present application, an event-driven simulation of a physical system is performed based on a mathematical model of a power electronics and motor system to obtain a simulation result, including: modifying a state equation and an output equation of the mathematical model according to at least one event state to obtain an output value; calculating a controlled source value according to the output equation and a topological relationship; and determining the simulation result according to the output value and the controlled source value.

[0076] It can be understood that the embodiments of the present application can modify the state equation and the output equation in the mathematical model according to at least one event state to obtain the output value; calculate the controlled source value according to the output equation and the topological relationship; determine the simulation result according to the output value and the controlled source value, thereby improving the simulation efficiency of the multidisciplinary system of power electronics and motor systems.

[0077] Specifically, the solution steps of the event-driven method are:

[0078] Step 1: System modeling: Divide the power electronics and motor system into electrical systems and other physical systems, and connect the systems with controlled sources;

[0079] Step 2: Multidisciplinary event definition: define state events, control events, and passive events for multi-physical systems. State events are events triggered when the state variable error accumulates to the set value; control events are events triggered by controllers or external operations, such as valve opening, switch closing, etc.; passive events are automatically triggered when certain physical quantities reach a threshold, such as friction, system abnormality monitoring, etc.

[0080] Step 3: Event system processing; modify the state equation and output equation of the system where the event occurs;

[0081] Step 4: Determine the value of the controlled source at the connection of each physical system; use the topological relationship and output equation to establish an algebraic equation for determining the value of the controlled source, and solve the controlled source value through the trust region method;

[0082] Step 5: Numerical integration: Using the results of steps 3 and 4, the numerical solution of the system at the end of the simulation step is obtained through numerical integration;

[0083] Step 6: Event and step selection; end the step calculation, the event processor makes a comprehensive decision based on the control system, integrator and system equations to obtain the time of the next event of the overall multidisciplinary system, repeat steps 3 to 5, and continue the simulation.

[0084] According to the event-driven power electronics and motor system modeling and simulation method proposed in the embodiment of the present application, the event-driven power electronics and motor system multidisciplinary modeling and simulation method realizes the overall modeling of multidisciplinary and multi-physical systems through the equivalent method and the behavioral model method, and realizes the connection between the physical systems through circuit elements, which solves the problem that the traditional discrete state event-driven modeling method cannot solve the power electronics and motor system multidisciplinary system, so that the state discrete event-driven method can solve the power electronics and motor multidisciplinary system, and has high applicability and practicality. In addition, the event-driven mechanism is adopted to improve the solution efficiency of the power electronics and motor system multidisciplinary system.

[0085] The following will be combined Figure 2 The event-driven power electronics and motor system modeling and simulation method of this application is described in detail, and the specific steps are as follows:

[0086] Step 1: Divide the power electronics and motor systems into electrical systems and other physical systems, including mechanical systems, thermal systems, and fluid systems. For other physical systems, use circuit equivalent or behavioral models to model them.

[0087] The circuit equivalent method is used to equate the physical quantities of the mechanical system, thermal system, and fluid system to the physical quantities of the electrical system based on the energy consistency principle and generalized Kirchhoff's law.

[0088] For the mechanical system, the velocity v is analogized to the voltage V, the force F is analogized to the current I; the elastic coefficient k is analogized to the inverse of the inductance 1 / L, following the relationship shown in Formula 1; the damping coefficient b is analogized to the conductance G, following the relationship shown in Formula 2; the mass m is analogized to the capacitance C, following the relationship shown in Formula 3; the displacement x is analogized to the voltage pulse Vimpulse, following the relationship shown in Formula 4; the momentum p is analogized to the charge Q, following the relationship shown in Formula 5; the gearbox is analogized to a transformer.

[0089]

[0090] F=bv;I=GV (2)

[0091]

[0092] x=∫vdt;Vimpulse=∫Vdt (4)

[0093] p=∫Fdt;Q=∫Vdt (5)

[0094] For the thermal system, the temperature T is analogized to the voltage V, the heat Q is analogized to the current I; the thermal resistance Rt is analogized to the resistance R, following the relationship shown in Formula 6; the thermal capacitance Ct is analogized to the capacitance C, following the relationship shown in Formula 7.

[0095] T=R t Q; V = RI (6)

[0096]

[0097] For the fluid system, the pressure p is analogized to the voltage V, the flow q is analogized to the current I; the volume v is analogized to the charge Q; the pipeline resistance Rt is analogized to the resistance R, following the relationship shown in Formula 8.

[0098] p=R f Q; V = RI (8)

[0099] The behavioral model is expressed using transfer functions and descriptive equations:

[0100] y=H(s)x in (s)+f(x in ) (9)

[0101] Where y is the output, x is in is the input quantity, H(s) is the continuous domain transfer function that represents the input-output relationship of the physical system, f(x in ) is the descriptive equation that describes the behavior of the physical system. The behavior of a physical system is described using a combination of transfer function and descriptive equation.

[0102] Step 2: Based on the principle of energy invariance, multiple physical systems are connected through controlled sources to express the influence of other physical systems on the physical system. The specific steps are as follows:

[0103] (1) For the connection between the electrical system and the mechanical system, a controlled current source is used to represent the moment of inertia of the electrical output to the mechanical system, and a controlled voltage source is used to represent the back electromotive force of the mechanical feedback to the electrical system;

[0104] (2) For the connection between the electrical system and the thermal system, a controlled current source is used to represent the heat source of the electrical system in the thermal system, and a controlled voltage source is used to represent the influence of the thermal system on the overall temperature of the electrical system;

[0105] (3) Connect the electrical system to the behavioral model system and use a controlled voltage source or current source to represent the influence of the system on the electrical system;

[0106] (4) For the interconnections between multi-physical systems, controlled current sources are used to represent “pass-type” variables, and controlled voltage sources are used to represent “state-type” variables.

[0107] Step 3: Model the power electronics and motor system using the state equation method:

[0108]

[0109]

[0110] Y e =C e X e +D e_i U e_i +C ag_p U ag_p +C bh_p U bh_p

[0111] Y ag =C ag X ag +D ag_i U ag_i +C e_p U e_p +C bh_p U bh_p ,

[0112] Where X = {X e ,X ag},Y={Y e ,Y ag},U ag_p =g ag (Y ag ),U e_p =g e (Y e ),

[0113] U bh =g bh (Y bh ) = g bh (H(s)X in (s)+f(x in ), where X is the state variable of the multidisciplinary system of power electronics and motors, Y is the output variable of the multidisciplinary system of power electronics and motors, U is the input variable of the multidisciplinary system of power electronics and motors, A is the state matrix of the multidisciplinary system of power electronics and motors, B is the input matrix of the multidisciplinary system of power electronics and motors, C is the state matrix of the output variables, D is the input matrix of the output variables, subscripts e, ag, bh represent electrical, analog, and behavioral model related variables / matrices, i represents independent source, p represents controlled source, g represents ag and ge is the mapping function from output variables to controlled sources.

[0114] Step 4: The solution steps of the event-driven method are:

[0115] (1) System modeling: Divide the power electronics and motor systems into electrical systems and other physical systems, and connect the systems with controlled sources;

[0116] (2) Multidisciplinary event definition: define state events, control events, and passive events for multi-physical systems. State events are events triggered when the state variable error accumulates to a set value; control events are events triggered by controllers or external operations, such as valve opening, switch closing, etc.; passive events are automatically triggered when certain physical quantities reach a threshold, such as friction, system abnormality monitoring, etc.

[0117] (3) Event system processing: modifying the state equations and output equations of the system where the event occurs;

[0118] (4) Determine the value of the controlled source at the connection of each physical system; use the topological relationship and output equation to establish an algebraic equation for determining the value of the controlled source, and solve it through the trust region method to determine the value of the controlled source;

[0119] (5) Numerical integration: Using the results of steps 3 and 4, the numerical solution of the system at the end of the simulation step is obtained through numerical integration;

[0120] (6) Event and step selection: After the step calculation is completed, the event processor makes a comprehensive decision based on the control system, integrator and system equations to obtain the time of the next event of the overall multidisciplinary system, and repeats steps 3 to 5 to continue the simulation.

[0121] Specifically, the event-driven method is used to solve the system. The solution steps in one simulation step are:

[0122] Step (1) event system processing: modifying the state equation and output equation of the system where the event occurs;

[0123] Step (2) determining the value of the controlled source at the connection of each physical system; using the topological relationship and the output equation, establishing an algebraic equation for determining the value of the controlled source, and solving the controlled source value by the trust region method;

[0124] Step (3) numerical integration: using the results of step 3 and step 4, the numerical solution of the system at the end of the simulation step is obtained by numerical integration;

[0125] Step (4) event and step selection; end the step calculation, the event processor makes a comprehensive decision based on the control system, integrator and system equation to obtain the time of the next event of the overall multidisciplinary system, repeat the above steps (1) to (3) and continue the simulation.

[0126] This application combines Figure 3-Figure 5 The specific examples are as follows:

[0127] The embodiment takes the scenario of a permanent magnet synchronous motor with a hub load as an example, realizes motor driving and control through a power electronic device, and simultaneously simulates and calculates the temperature rise of the power electronic switch tube.

[0128] The multidisciplinary system of power electronics and motors includes electrical systems, mechanical systems, and thermal systems. The power electronics system and the motor are connected through an equivalent controlled current source and a controlled voltage source. The torque output by the motor to the mechanical system is represented by a controlled current source, and the back electromotive force of the mechanical system to the motor is represented by a controlled voltage source. The heat of the switch tube in the thermal system is represented by a controlled current source. The remaining components are modeled using the equivalent principle.

[0129] The system was simulated using commercial software and the present invention. The commercial software was unable to simulate the heat and temperature of the switch tube. Under this condition, the comparison of the results was as follows: Figure 4 As shown, under the premise of ensuring the same accuracy, to simulate a 0.4s dynamic process, the commercial software takes 25s, while the present invention takes 9s. The speed of the present invention is 3 times faster than that of the commercial software.

[0130] In summary, the event-driven multidisciplinary modeling and simulation method of power electronics and motor systems of the present application realizes the overall modeling of multidisciplinary and multi-physical systems through the equivalent method and the behavioral model method, and realizes the connection between the physical systems through circuit elements, which solves the problem that the traditional discrete state event-driven modeling method cannot solve the multidisciplinary system of power electronics and motor systems, so that the state discrete event-driven method can solve the multidisciplinary system of power electronics and motors, and adopts an event-driven mechanism to improve the solution efficiency of the multidisciplinary system of power electronics and motor systems.

[0131] Next, the event-driven modeling and simulation device for power electronics and motor systems proposed in accordance with the embodiments of the present application will be described with reference to the accompanying drawings.

[0132] Figure 6 It is a block diagram of a modeling and simulation device for an event-driven power electronics and motor system according to an embodiment of the present application.

[0133] like Figure 6As shown, the event-driven modeling and simulation device 10 of the power electronics and motor system, the power electronics and motor system includes an electrical system, a mechanical system, a fluid system and a thermal system, wherein the device includes: an identification module 100, a conversion module 200, a generation module 300 and a simulation module 400.

[0134] Among them, the identification module 100 is used to identify the components and the topological structure between the components corresponding to at least one system of the mechanical system, the fluid system and the thermal system; the conversion module 200 is used to convert the topological structure between the components and the components into the circuit model of the corresponding electrical system based on the energy invariance equivalent processing; the generation module 300 is used to generate the mathematical model of the power electronics and motor system according to the converted circuit model of the electrical system and the state variables corresponding to the circuit model; the simulation module 400 is used to perform event-driven simulation of the physical system based on the mathematical model of the power electronics and motor system to obtain the simulation result.

[0135] It should be noted that the above explanation of the embodiment of the modeling and simulation method of event-driven power electronics and motor systems is also applicable to the modeling and simulation device of event-driven power electronics and motor systems of this embodiment, and will not be repeated here.

[0136] According to the event-driven modeling and simulation device of power electronics and motor systems proposed in the embodiments of the present application, the event-driven multidisciplinary modeling and simulation method of power electronics and motor systems realizes the overall modeling of multidisciplinary and multi-physical systems through the equivalent method and the behavioral model method, and realizes the connection between the physical systems through circuit elements, so that the state discrete event-driven method can solve the multidisciplinary system of power electronics and motors, and adopts an event-driven mechanism to improve the solution efficiency of the multidisciplinary system of power electronics and motor systems.

[0137] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device may include:

[0138] A memory 701 , a processor 702 , and a computer program stored in the memory 701 and executable on the processor 702 .

[0139] When the processor 702 executes the program, the event-driven modeling and simulation method of the power electronics and motor system provided in the above embodiment is implemented.

[0140] Furthermore, the electronic device further comprises:

[0141] The communication interface 703 is used for communication between the memory 701 and the processor 702 .

[0142] The memory 701 is used to store computer programs that can be executed on the processor 702 .

[0143] The memory 701 may include a high-speed RAM (Random Access Memory) memory, and may also include a non-volatile memory, such as at least one disk memory.

[0144] If the memory 701, the processor 702 and the communication interface 703 are implemented independently, the communication interface 703, the memory 701 and the processor 702 can be connected to each other through a bus and communicate with each other. The bus can be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0145] Optionally, in a specific implementation, if the memory 701, the processor 702 and the communication interface 703 are integrated on a chip, the memory 701, the processor 702 and the communication interface 703 can communicate with each other through an internal interface.

[0146] The processor 702 may be a CPU (Central Processing Unit), or an ASIC (Application Specific Integrated Circuit), or one or more integrated circuits configured to implement the embodiments of the present application.

[0147] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above event-driven modeling and simulation method for power electronics and motor systems.

[0148] The embodiment of the present application also provides a computer program product, which, when executed, is used to implement the event-driven modeling and simulation method of the power electronics and motor system as in the above embodiment.

[0149] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms are not necessarily directed to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0150] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0151] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0152] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one or a combination of multiple of the following technologies known in the art: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array, a field programmable gate array, etc.

[0153] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0154] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. An event-driven power electronics and motor system modeling and simulation method, characterized in that: The power electronics and motor system includes an electrical system, a mechanical system, a fluid system and a thermal system, wherein the method includes: Identify the components and the topological structure between the components corresponding to at least one physical system of the mechanical system, the fluid system and the thermal system; Convert the components and the topological structures between the components into a circuit model of a corresponding electrical system based on energy invariance equivalent processing; Generate a mathematical model of the power electronics and motor system according to the converted circuit model of the electrical system and the state variables corresponding to the circuit model; Based on the mathematical model of the power electronics and motor system, an event-driven simulation of the physical system is performed to obtain a simulation result.

2. The event-driven power electronics and motor system modeling and simulation method according to claim 1 is characterized in that: The converting the topological structures of the components and the components into a circuit model of a corresponding electrical system based on energy invariance equivalent processing includes: If the type of the power electronics and motor system is a mechanical system, the speed, force, elastic coefficient, damping coefficient, mass, displacement, momentum and gearbox in the mechanical system are equivalently processed based on energy invariance to obtain the corresponding voltage, current, inductance, conductance, capacitance, voltage pulse, charge and transformer of the electrical system; If the type of the power electronics and motor system is a thermal system, the temperature, heat flow, thermal resistance and thermal capacity of the thermal system are equivalently processed based on energy invariance to obtain the corresponding voltage, current, resistance and capacitance of the electrical system; If the type of the power electronics and motor system is a fluid system, the pressure, flow, volume and pipeline resistance in the fluid system are equivalently processed based on energy invariance to obtain the corresponding voltage, current, charge and resistance of the electrical system.

3. The event-driven power electronics and motor system modeling and simulation method according to claim 1 is characterized in that: Generating a mathematical model of the power electronics and motor system according to the converted circuit model of the electrical system and the state variables corresponding to the circuit model, including: identifying controlled sources in the circuit model of the converted electrical system; Based on the controlled source, the topological structures of different systems are connected to generate a target topological structure, and the corresponding mathematical model of the power electronics and motor system is generated according to the target topological structure and the state variables corresponding to the circuit model.

4. The event-driven power electronics and motor system modeling and simulation method according to claim 3 is characterized in that: The state equation of the mathematical model of the power electronics and motor system is: X& e =A e X e +B e_i U e_i +B ag_p U ag_p +B bh_p U bh_p X& ag =A ag X ag +B ag_i U ag_i +B e_p U e_p +B bh_p U bh_p Y e =C e X e +D e_i U e_i +C ag_p U ag_p +C bh_p U bh_p Y ag =C ag X ag +D ag_i U ag_i +C e_p U e_p +C bh_p U bh_p , Where X = {X e ,X ag },Y={Y e ,Y ag },U ag_p =g ag (Y ag ),U e_p =g e (Y e ), U bh =g bh (Y bh ) = g bh (H(s)X in (s)+f(x in ), where X is the state variable of the multidisciplinary system of power electronics and motors, Y is the output variable of the multidisciplinary system of power electronics and motors, U is the input variable of the multidisciplinary system of power electronics and motors, A is the state matrix of the multidisciplinary system of power electronics and motors, B is the input matrix of the multidisciplinary system of power electronics and motors, C is the state matrix of the output variables, D is the input matrix of the output variables, subscripts e, ag, bh represent electrical, analog, and behavioral model related variables / matrices, i represents independent source, p represents controlled source, g represents ag and g e is the mapping function from output variables to controlled sources.

5. The event-driven power electronics and motor system modeling and simulation method according to claim 1, characterized in that: The event-driven simulation of the physical system based on the mathematical model of the power electronics and motor system to obtain the simulation result includes: Modify the state equation and output equation of the mathematical model according to the at least one event state to obtain an output value; Calculate the controlled source value according to the output equation and the topological relationship; A simulation result is determined according to the output value and the controlled source value.

6. The event-driven power electronics and motor system modeling and simulation method according to claim 1, characterized in that: The events include state events, control events and passive events.

7. An event-driven power electronics and motor system modeling and simulation device, characterized in that: The power electronics and motor system includes an electrical system, a mechanical system, a fluid system and a thermal system, wherein the device includes: An identification module, used to identify components and topological structures between components corresponding to at least one physical system of the mechanical system, the fluid system and the thermal system; A conversion module, used for converting the components and the topological structures between the components into a circuit model of a corresponding electrical system based on energy invariance equivalent processing; A generating module, configured to generate a mathematical model of the power electronics and motor system according to the converted circuit model of the electrical system and the state variables corresponding to the circuit model; The simulation module is used to perform event-driven simulation on the physical system based on the mathematical model of the power electronics and motor system to obtain simulation results.

8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the event-driven power electronics and motor system modeling and simulation method as described in any one of claims 1 to 6.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the event-driven power electronics and motor system modeling and simulation method as described in any one of claims 1 to 6.

10. A computer program product comprising: A computer program or instruction, characterized in that when the computer program or instruction is executed, it implements the event-driven power electronics and motor system modeling and simulation method as described in any one of claims 1-6.

Citation Information

Cited By

  • Motor equipment hybrid system simulation method and device, electronic equipment and storage medium

    CN119358277A