# US 2023/0057941 A1 · Multi-physics co-simulation method of power semiconductor modules

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0057941 A1
- Document ID: US20230057941A1
- Status: Published application
- Kind: A1
- Application number: 17/890,354
- Filed: 2022-08-18
- Published: 2023-02-23
- Earliest claimed: 2021-08-20
- Assignees: Huazhong University of Science and Technology; Shenzhen Union Semiconductor Co., LTD
- Applicants: Huazhong University of Science and Technology; Shenzhen Union Semiconductor Co., LTD
- Inventors: Zhiqiang WANG; Yayong YANG; Yuxin GE; Guoqing XIN; Xiaojie SHI
- Web page: https://patentgrep.com/patent/US20230057941A1

## CPC

- G06F 30/367: Design verification, e.g. using simulation, simulation program with integrated circuit emphasis [SPICE], direct methods or relaxation methods
- G06F 30/31: Design entry, e.g. editors specifically adapted for circuit design
- G06F 30/398: Design verification or optimisation, e.g. using design rule check [DRC], layout versus schematics [LVS] or finite element methods [FEM] (optical proximity correction [OPC] design processes G03F1/36)
- G06F 2119/06: Power analysis or power optimisation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

The present invention belongs to the technical field of simulation of power semiconductor modules, and discloses a multi-physics co-simulation method of a power semiconductor module. The multi-physics co-simulation method of the power semiconductor module comprises: adopting professional circuit simulation software PSpice supporting a spice model to be imported into a device, and by designing a specific collaborative analysis method and performing secondary development of a software data exchange interface, i.e. constructing a coupling interface of co-simulation, performing electricity-heat-force co-simulation of two types of software PSpice and COMSOL by adopting an indirect coupling manner. The simulation time is greatly shortened, and the simulation efficiency is improved.

## Claims

### Claim 1

A multi-physics co-simulation method of a power semiconductor module, wherein the multi-physics co-simulation method of the power semiconductor module comprises:
adopting a circuit simulator supporting the device behavior model to perform circuit simulation, and by designing a specific collaborative analysis method and performing secondary construction of a coupling interface of co-simulation of the software, performing electricity-heat-force co-simulation of different types of software by adopting an indirect coupling manner.

### Claim 2 (depends on 1)

The multi-physics co-simulation method of the power semiconductor module according to claim 1, wherein the coupling interface of the co-simulation comprises:
a circuit model constructed by using a spice language in PSpice, a thermal-mechanical model constructed by using a java language in COMSOL and a control script file constructed in a MATLAB;
different types of software comprise two types of software PSpice and COMSOL; and the step of performing the electricity-heat-force co-simulation comprises:
performing circuit simulation of the PSpice and heat-force simulation of the COMSOL, processing data obtained by simulation by utilizing the coupling interface of the co-simulation and based on a MATLAB script program, coordinating data transfer between a circuit simulation result of the PSpice and a heat-force simulation result of the COMSOL and performing co-simulation between the PSpice and the COMSOL;
the step of performing the heat-force simulation of the COMSOL comprises:
constructing a heat-force model by using a java language and combining COMSOL Multiphysics 5.6 with MATLAB;
performing COMSOL simulation by adopting a manner of saving the heat-force model as a file with a suffix of .m, and controlling a simulation process by utilizing the MATLAB; drawing a geometric figure by adopting SOLIDWORKS and importing a CAD model into the COMSOL; and setting the heat consumption rate of a heat source as a variable and updating a parameter of the heat consumption rate when in data exchange with the PSpice every time; and
dividing grids manually, setting a steady-state type and a transient type, taking a steady-state solved result as an initial value of transient simulation, performing infinite element calculation, extracting junction temperature of the device and feeding back the junction temperature of the device into the circuit simulation.

### Claim 3 (depends on 2)

The multi-physics co-simulation method of the power semiconductor module according to claim 2, wherein the step of processing the data obtained by the simulation by utilizing the coupling interface of the co-simulation and based on the MATLAB script program comprises:
extracting simulation data of the PSpice by the MATLAB: reading and writing a spice circuit simulation program saved as a text file and written in advance by adopting a file reading and writing function by the MATLAB, so as to obtain power loss data, circuit simulation data and other data included in the text file; and screening the data by adopting a regular expression to obtain screened loss data, extracting the loss of the device corresponding to time points at equal intervals, and obtaining the average loss of each device within the time step length of data exchange by adopting a method of calculus division and summation; and
extracting simulation data of the COMSOL by the MATLAB: setting a temperature probe to obtain a temperature data table of the device, and reading junction temperature data in the data table by using an integrated MATLAB function; and updating corresponding temperature parameters in a power device model file with a suffix of .lib through a file reading and writing command by utilizing the collected temperature data by the MATLAB; and
the step of reading and writing the spice circuit simulation program saved as the text file and written in advance by adopting the file reading and writing function by the MATLAB comprises:
firstly, obtaining a PSpice circuit simulation input file with a suffix of .cir; controlling the input file with the suffix of .cir to be executed in PSpice AD, setting the time step lengths in the input .cir file to be equal, and performing PSpice circuit simulation; automatically generating an output file with a suffix of .out, and obtaining the power loss data corresponding to the time points at equal intervals in different devices based on the output .out file; and converting the .out file into a text file by the file reading and writing command.

### Claim 4 (depends on 2)

The multi-physics co-simulation method of the power semiconductor module according to claim 2, wherein the step pf coordinating data transfer between the circuit simulation result of the PSpice and the heat-force simulation result of the COMSOL comprises: transmitting the loss data obtained by calculation into the COMSOL by the MATLAB, updating the heat consumption rate of the heat source and changing a boundary condition of heat-force simulation.

### Claim 5 (depends on 1)

The multi-physics co-simulation method of the power semiconductor module according to claim 1, wherein the step of performing the electricity-heat-force co-simulation of the two types of software PSpice and COMSOL by adopting an indirect coupling manner comprises the following steps:
firstly, calculating the circuit model and taking the power loss of the device, which is obtained by the circuit simulation, as a boundary condition of transient heat-force simulation; next, performing the transient heat-force simulation in the COMSOL; finally, taking the junction temperature of each device, which is obtained by the heat-force simulation, as a boundary condition of next circuit simulation; and performing constant iterative loop until a condition of loop termination is met.

### Claim 6 (depends on 1)

The multi-physics co-simulation method of the power semiconductor module according to claim 1, wherein the multi-physics co-simulation method of the power semiconductor module comprises the following steps:
step 1, predefining parameters, performing the circuit simulation under the given initial temperature in the PSpice, and suspending the circuit simulation when the preset step length of data exchange is reached;
step 2, calculating the power loss data by adopting the power loss calculation method in the MATLAB, and transmitting the power loss data into the COMSOL;
step 3, performing the heat-force simulation in the COMSOL, and suspending the heat-force simulation when the preset step length of data exchange is reached;
step 4, feeding back the extracted parameter of the junction temperature to the circuit model of the PSpice by the MATLAB; and taking the parameter of the junction temperature as a new initial value, and continuing to perform simulation of the next time step length of data exchange based on the former state; and
step 5, taking the state when a former loop is terminated as the initial state of a next loop, iterating to perform dynamic continuous multi-physics simulation, and terminating co-simulation when an iteration termination condition is met.

### Claim 7 (depends on 6)

The multi-physics co-simulation method of the power semiconductor module according to claim 6, wherein the multi-physics co-simulation method of the power semiconductor module further comprises:
enabling the time step length of data exchange of the PSpice and the COMSOL to be equal to the time step length of data exchange of the COMSOL and the PSpice; and setting different time step lengths of data exchange to control the rate of the circuit simulation and the rate of the heat-force simulation, and performing multi-rate multi-physics coupling simulation;
the step of setting the different time step lengths of data exchange comprises: dynamically calculating a first-order derivative of a Lagrange interpolation function of a temperature coupling variable, and dynamically adjusting the time step length of data exchange according to an adaptive adjustment strategy of the time step length;
the step of setting the different time step lengths of data exchange comprises the following steps:
constructing a first-order variable step length three-point numerical differentiation formula based on a Lagrange function by extracting and iterating numerical solutions of temperature coupling state variables of nodes, and calculating and obtaining a first-order derivative of an interpolation function of a current node:
L′n(ti)=λi/λi−1(λi−1+λi)T(ti−2)=λi−1+λi/λi−1λiT(ti−1)+λi−1+2λi/λi(λi−1+λi)T(ti)
wherein ti−2, ti−1, ti represent three adjacent continuous data exchange time points; ti represents a current time node; the relational expressions: ti−1=ti−2+λi−1, and ti=ti−2+λi−1+λi are met; and T(ti−2), T(ti−1) and T(ti) represent corresponding numerical solutions of temperature at ti−2, ti−1, ti; and
a step length adjustment strategy is established according to the first-order derivative of the interpolation function of the current node; and a step length decision interval is set as [ϵ1, ϵ2], and step length adjustment coefficients are set as a and b respectively, wherein a∈(0,1), b∈(1,+∞), and the following conditions are met:
(1) if |L′n(ti)|∈[ϵ1, ϵ2], λi+1=λi;
(2) if |L′n(ti)|≤ϵ1, λi+1=λi×b; and the time step length of data exchange is appropriately increases; and
(3) if |L′n(ti)|≥ϵ2, λi+1=λi×a; and the step length is decreased.

### Claim 8 (depends on 1)

A multi-physics co-simulation system of a power semiconductor module for implementing the multi-physics co-simulation method of the power semiconductor module of claim 1.

### Claim 9 (depends on 1)

An information data processing terminal, comprising a memory and a processor, wherein a computer program is stored in the memory; and when the computer program is executed by the processor, the processor is configured to execute the multi-physics co-simulation method of the power semiconductor module of claim 1.
