Transient modeling method for IGBT switch driven by neural network data
By introducing the time-series feedback neural network model and FPGA pipeline architecture into the IGBT switching transient modeling, the problem of ignoring the time continuity of transient characteristics in the existing technology is solved, and high-precision and high-efficiency real-time simulation is achieved, improving Design and test capabilities for power electronic equipment.
Patent Information
- Application Number
- CN202410756236.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-12
- Publication Date
- 2024-08-23
AI Technical Summary
Existing IGBT switching transient modeling methods are insufficient in capturing the transient characteristics of the device, making it difficult to guarantee the stability and efficiency of the power system, and making it difficult to meet computational complexity and real-time requirements.
A neural network model based on time series feedback is adopted. By optimizing the neural network architecture and combining it with the pipeline architecture of FPGA hardware, the real-time simulation accuracy and efficiency of IGBT devices are improved, and time continuity is considered to enhance the accuracy of the model.
It significantly improves the real-time simulation accuracy and efficiency of IGBT devices, provides high-precision, high-throughput simulation solutions, and improves the design and testing capabilities of power electronic equipment.
Smart Images

Figure CN118536451A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of real-time simulation of power electronic systems, and in particular to an IGBT switch transient modeling method driven by neural network data. Background Art
[0002] As the world relies more and more on renewable energy and electric vehicles, power electronic devices such as frequency converters, inverters and rectifiers play a vital role in the interaction between these technologies and the power grid. These devices must be able to operate stably in complex power environments and changing grid conditions to ensure system stability and efficiency. To this end, real-time simulation of the behavior of power electronic devices, especially under extreme conditions and fault conditions, has become a key tool to ensure system reliability and optimize equipment performance.
[0003] Real-time simulation technology allows engineers to test and verify the design of power electronic systems, including their control strategies and dynamic responses, in detail before the equipment is actually put into operation. This technology can not only identify potential problems during the design phase, but also significantly reduce the cost and risk of actual hardware testing. Real-time simulation is particularly important for complex power electronic control algorithms that require fast responses at the millisecond or even microsecond level.
[0004] Traditional real-time simulation techniques usually rely on system-level switching device models, such as binary resistor models and L / C models. Although these models can better analyze the basic electrical characteristics of the device at a fixed operating point (such as voltage, current, and power), they perform poorly in capturing transient characteristics during the switching process, such as voltage and current spikes. The transient characteristics of switching devices during operation are critical to the stability, efficiency, and electromagnetic compatibility of power systems. For example, overvoltages generated by switching actions may damage equipment, and current spikes may trigger protection mechanisms, which are difficult to fully consider with system-level models.
[0005] In order to meet the continuous development of power electronics technology towards higher efficiency and greater power density, it is particularly urgent to develop accurate device-level models. These models can provide in-depth insights into the detailed behavior of power electronic devices during switching, including losses, thermal effects, and thermal stability of devices. This information is crucial for engineers to predict and mitigate problems during the design stage.
[0006] However, the development of accurate real-time simulation models at the device level for power electronics faces many challenges, including high computational complexity and strict real-time requirements. Such models must process large amounts of data in a very short time and accurately simulate phenomena such as current and voltage spikes caused by switching actions. Any computational delay in real-time simulation can lead to inaccurate simulation results, especially when simulating critical system responses.
[0007] Current device-level real-time simulation model methods include nonlinear behavioral models, piecewise linear transient models, curve fitting models, and quasi-transient switch models. These models have their own advantages and disadvantages. For example, although nonlinear behavioral models provide higher accuracy, they have high computational complexity and slow simulation speed. Piecewise linear models simplify the calculation process and improve speed, but may sacrifice some accuracy and have a high demand for FPGA hardware resources, limiting their application in complex circuits. Curve fitting models rely on offline simulation data for model training and can respond quickly, but their accuracy is limited by the quality and extensiveness of training data.
[0008] The quasi-transient model divides the real-time simulation into two time scales, microsecond and nanosecond, and performs parallel simulation, so as to achieve the decoupling of the circuit network solution and the solution of the transient process of the switching device, thereby reducing the simulation calculation delay. The literature proposes a neural network-assisted data-driven IGBT switch transient modeling method, which divides the switching transient process into several time nodes according to a certain time step, establishes a simple neural network for each time node to simulate the transient process, and trains the neural network based on the offline simulation waveform data under different working conditions. Finally, the transient process is described by outputting several time nodes in sequence. Although this method has extremely high output resolution, the model accuracy is insufficient due to the small number of neurons in the hidden layer of the neural network used. Although increasing the number of neurons can improve the model accuracy, due to the problem of neural network calculation complexity, increasing the number of neurons will lead to a significant increase in the hardware resources consumed by the model calculation.
[0009] Therefore, finding a simulation technology that can maintain high simulation accuracy and effectively manage computing resources is still one of the key technical challenges facing the power electronics field. This paper proposes a neural network model based on time series feedback. By optimizing the neural network architecture, the real-time simulation accuracy and efficiency of IGBT devices are significantly improved, providing strong technical support for the design and operation of power electronic equipment. Summary of the invention
[0010] In order to solve the problems in the prior art, the present invention proposes a neural network data-driven IGBT switch transient modeling method for a neural network assisted data-driven IGBT switch transient modeling method. The method optimizes the architecture of the neural network based on the modeling principle of the device-level switch model assisted by a neural network data-driven.
[0011] A neural network data-driven IGBT switch transient modeling method, wherein the neural network model is used for IGBT device-level real-time simulation, and the modeling method comprises: an IGBT offline simulation data acquisition step, a neural network architecture establishment and training step, and an FPGA hardware design and implementation step;
[0012] A1. IGBT offline simulation data collection steps: In the early stage of simulation model establishment, it is necessary to perform offline test circuit simulation on the IGBT device to obtain a data set for neural network training. Specifically, it includes: using advanced simulation software to simulate the test circuit of the selected IGBT model to collect data on its transient characteristics under different voltage, current and temperature conditions;
[0013] A2. Neural network architecture establishment and training steps: design and establish the neural network architecture proposed by the present invention, set the connection status of each layer in the neural network, and train the neural network of all time nodes;
[0014] A3.FPGA hardware design and implementation steps: After completing the network training of all time nodes, they need to be properly deployed in the FPGA, where a pipeline architecture is required to improve data throughput.
[0015] The first step of the present invention is to obtain the performance data of IGBT through high-precision offline simulation to support the subsequent neural network modeling and training. The core of this step is to use advanced simulation software to simulate the test circuit of the selected model of IGBT to collect data about its transient characteristics under different voltage, current and temperature conditions.
[0016] As a further improvement of the present invention, the data collection of the test circuit offline simulation in step A1 specifically includes:
[0017] B0. Test circuit design: First, build an IGBT test circuit that can simulate various operating conditions that the IGBT may encounter in actual applications. The designed test circuit should include different conditions of operating voltage, operating current, and operating temperature.
[0018] B1. Parameter setting: Set the operating parameters of the IGBT in the simulation software, including different steady-state voltages, currents and temperatures. These parameters should cover the full range of possible IGBT operations to ensure the comprehensiveness of the data and the accuracy of the simulation.
[0019] B2. Data recording: During the simulation process, the system will record the voltage and current waveforms of the IGBT under various conditions, especially the rapid changes in the transient process. Each test point should record the corresponding transient response and steady-state behavior in detail to form a comprehensive data set.
[0020] B3. High time resolution sampling: In order to capture subtle changes in transient processes, simulation data needs to be collected at high time resolution, such as nanosecond time steps. This is crucial for the accurate learning of subsequent neural network models.
[0021] After successfully collecting a large amount of offline simulation data of IGBTs, the next step is to build and train a specially designed neural network model to accurately simulate the power electronic behavior of IGBTs. This step involves three key links: data preprocessing, neural network design, and model training.
[0022] As a further improvement of the present invention, the steps of establishing and training the neural network architecture in step A2 specifically include:
[0023] C1. Data preprocessing: In order to unify the accuracy of model training and prediction, the data collected in step 1 needs to be re-interpolated to ensure that the time step of all data is 5 nanoseconds. This process can be completed through linear interpolation or more advanced interpolation methods (such as spline interpolation) to smooth the data and fill in the gaps in the time series. Secondly, all input and output data are standardized or normalized to eliminate the influence of different dimensions and ensure the stability and efficiency of neural network training.
[0024] C2. Neural network design: Design a multi-layer neural network, each layer is specifically designed to model the specific behavioral characteristics of the IGBT. It is important to pay attention to the connection relationship between the layers of the network to ensure that the network can effectively transfer information from the input layer to the output layer. The input layer will accept steady-state voltage, current and temperature parameters, while the output layer provides transient voltage and current predictions for the current time node. For the activation function, tanh is selected to improve the nonlinear modeling and fitting capabilities of the network. A time series feedback mechanism is introduced, that is, the output of the previous time node is used as part of the input of the current time node, and specifically the transient voltage and current output of the previous time node is added at the output layer of the neural network. This design is the core of the present invention, which enables the model to take into account the temporal continuity of the IGBT behavior, thereby improving the accuracy of the overall simulation.
[0025] C3. Neural network training: The preprocessed data is divided into a training set and a validation set. The training set is used to learn the network, while the validation set is used to evaluate the performance of the model on unseen data to monitor overfitting. For the neural network at the same time node, it is necessary to train the model multiple times, and each model is trained under different initialization and hyperparameter settings. By comparing the performance on the validation set, the best performing model is selected as the representative model for that time node.
[0026] After successfully building and training the neural network model for IGBT, the next step of the present invention is to implement the deployment of this model on FPGA (field programmable gate array) hardware. The key to this step is to design a hardware architecture that can efficiently execute the neural network model to ensure the high throughput and real-time response capability of the model.
[0027] As a further improvement of the present invention, the FPGA hardware design and implementation steps in step A3 are:
[0028] The first is pipeline design: design a pipeline architecture so that each layer of the neural network model can process data continuously and reduce processing delays. The pipeline architecture allows multiple data points to be processed simultaneously, with each stage completing a portion of the computing task, forming a continuous processing flow from input to output. This design is the key to improving data throughput and can fully utilize the parallel processing capabilities of FPGAs.
[0029] Secondly, hardware optimization: According to the specific requirements of the neural network model, the logic units, registers, and memory in the FPGA are optimized. This includes optimizing the data path, reducing unnecessary data transmission and storage operations, and adjusting the clock frequency of each part to match the processing speed. At the same time, the hardware resources of the FPGA need to be reasonably allocated to ensure that each part has enough resources to perform its functions while avoiding resource waste. This includes the allocation of lookup tables (LUTs), digital signal processor (DSP) blocks, and memory resources inside the FPGA.
[0030] The beneficial effects of the present invention are as follows: Compared with the existing technology, the present invention has the following advantages: high simulation accuracy, high data throughput and real-time performance of the model: the present invention can more accurately simulate the transient behavior of the IGBT by introducing a neural network model with time series feedback. At the same time, the execution of the neural network model is optimized by using the pipeline architecture of the FPGA, which significantly improves the speed and efficiency of data processing. The present invention provides a high-precision, high-efficiency real-time simulation solution, which significantly improves the design and testing capabilities of power electronic equipment, especially showing its superiority when dealing with complex and fast-changing electronic systems. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 The method flow of the present invention;
[0032] Figure 2 To test the circuit for offline simulation;
[0033] Figure 3 This is a diagram of the neural network architecture;
[0034] Figure 4 Time series feedback neural network signal flow chart;
[0035] Figure 5 Feedback layer signal flow diagram. DETAILED DESCRIPTION
[0036] The present invention is further described below in conjunction with the accompanying drawings and specific implementation methods.
[0037] The present invention proposes a neural network data-driven IGBT switch transient modeling method to solve the problem that the model in the prior art ignores the time continuity of transient characteristics. The model not only takes into account the transient characteristics of IGBT devices, but also optimizes the architecture of the neural network to improve the accuracy and real-time performance of the simulation.
[0038] like Figure 1 As shown, the IGBT switch transient modeling method of the present invention includes the following steps.
[0039] Step 1: IGBT offline simulation data acquisition step. The initial step of the present invention involves using offline simulation software to perform detailed test circuit simulation on the IGBT model required for real-time simulation, with the aim of obtaining sufficient data for neural network training. This step is the basis for ensuring that the model can accurately simulate the behavior of the IGBT under various working conditions.
[0040] Specifically, the test circuit simulation process is:
[0041] First build a test circuit such as Figure 2 As shown. This circuit is designed to simulate various operating conditions that the IGBT may encounter in actual applications, including different settings of operating voltage, current and temperature. Subsequently, various steady-state operating parameters of the IGBT are set in the simulation software to cover its entire possible operating range to ensure the comprehensiveness and accuracy of the simulation data. During the simulation process, the system will record in detail the voltage and current waveforms of the IGBT under various conditions, especially the rapid changes during the transient process, to ensure that the transient response and steady-state behavior of each test point are accurately captured. In order to accurately capture these subtle changes, data acquisition will adopt a high time resolution of nanoseconds.
[0042] Step 2: Neural network architecture establishment and training step. After successfully collecting a large amount of offline simulation data of IGBT, the next step is to build and train a specially designed neural network model to accurately simulate the power electronic behavior of IGBT. This process involves re-interpolating the collected data to ensure that the time step of all data is 5 nanoseconds, smoothing the data through linear interpolation or spline interpolation methods, and standardizing or normalizing the data to eliminate dimensional effects and ensure the stability and efficiency of training. Next, design a multi-layer neural network with a network architecture such as Figure 3As shown. Each layer of the neural network models the specific behavioral characteristics of the IGBT, with the focus on maintaining effective information transfer between the layers of the network. The input layer of the network receives steady-state voltage, current, and temperature parameters, and introduces the output of the previous time node to the current node to enhance the model's consideration of time continuity, thereby improving simulation accuracy. In addition, multiple neural network trainings are performed, and the data is divided into training sets and validation sets to monitor overfitting and select the best model based on the performance of the validation set.
[0043] Step 3: FPGA hardware design and implementation steps. After successfully building and training the neural network model for IGBT, the next step of the present invention is to deploy the model on FPGA (field programmable gate array) hardware and design a hardware architecture that efficiently executes the neural network model to ensure high throughput and real-time responsiveness. This includes designing a pipeline architecture, such as Figure 4 As shown, when the time series feedback neural network receives the switch steady-state value signal, it is input into the normalization calculation unit for processing, and after a 1-cycle delay, it is input into the neural network input layer calculation unit for processing, and then after being processed by the hidden layer and output layer operation units in sequence, the output layer data is input into the feedback layer calculation unit. Since the introduction of feedback in the pipeline will cause the throughput rate to decrease, it will affect the accuracy of the model built by this method. Therefore, the feedback layer here is the innovation of the present invention, and the network output value of the previous time node can be directly obtained through the output layer data after being processed by the feedback layer calculation unit, thereby ensuring the throughput rate of the pipeline.
[0044] The flow chart of feedback layer data processing is as follows: Figure 5 As shown. Where Y(t) represents the output value of the neural network output layer, y(t) represents the output value of the neural network at the current time node, and W y (t) represents the weight of the feedback layer after neural network training. According to the above description of the calculation method of the neural network output variable, the network output is the weighted sum of the output of the previous time node and the output of the neural network output layer: y(t) = Y(t) + W y (t)·y(t-1)
[0045] Since the high throughput performance of the pipeline needs to be maintained, the above formula needs to be transformed as follows:
[0046] After the transformation, it can be seen that the network output at time t depends on the output value Y(t) of the output layer at time t, t-1 and t-2, the weight of the feedback layer at time t and t-1, and the output value of the feedback layer at time t-2. Figure 5 The FPGA computing unit designed according to the flowchart shown can realize the neural network time series feedback while maintaining a high throughput pipeline of 1 cycle / sample.
[0047] The innovation of the present invention is that the output of the previous time node is fed back to the next time node, while ensuring the high throughput operation of the pipeline 1 cycle / sample, that is, after the pipeline is filled, a value can be calculated in each clock cycle. The use of pipelines enables each layer of the neural network model to process data continuously, reduce processing delays, and allow multiple data points to be processed simultaneously, thereby forming a continuous processing flow from input to output. In addition, hardware optimization is performed to adjust the configuration of the logic units, registers and memory in the FPGA, optimize the data path and reduce unnecessary data transmission and storage operations, adjust the clock frequency to match the processing speed, and reasonably allocate the hardware resources of the FPGA to ensure that each part has sufficient resources to perform its functions, thereby fully utilizing the parallel processing capabilities of the FPGA.
[0048] Traditional IGBT simulation models ignore the time continuity of transient characteristics and focus on the state of each independent time point. The present invention adds the output of the previous time node (i.e., transient voltage and current) to the input of the neural network, so that the model can take into account the time continuity, thereby more accurately simulating the transient behavior of the IGBT. This method of considering time series feedback can better predict and understand the performance of the device in actual work, especially the response under complex or extreme working conditions.
[0049] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention. For ordinary technicians in this field, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as belonging to the protection scope of the present invention.
Claims
1. A neural network data driven IGBT switch transient modeling method, characterized in that: The IGBT switch transient modeling method is based on a neural network model of time series feedback, and the method comprises the following steps: A1. IGBT offline simulation data collection steps: Use simulation software to simulate the test circuit of the IGBT device and collect IGBT transient and steady-state characteristic data under different voltage, current and temperature conditions; A2. Neural network architecture establishment and training steps: Based on the collected data, a multi-layer neural network is designed and established, in which each layer models the specific behavioral characteristics of the IGBT and uses the output of the previous time node as part of the input of the current time node, wherein the output of the previous time node includes transient voltage and current; A3.FPGA hardware design and implementation steps: After completing the training of the neural network model, the model is deployed on the FPGA, and a pipeline architecture is used to optimize the execution of the neural network model to increase data throughput and reduce processing delays.
2. The IGBT switch transient modeling method according to claim 1, wherein: Step A1 specifically includes: B1. Parameter setting: Set the operating parameters of the IGBT in the simulation software, including different steady-state voltages, currents and temperatures; B2. Data recording: During the simulation process, the system will record the voltage and current waveforms of the IGBT under various conditions, especially the rapid changes in the transient process. Each test point should record the corresponding transient response and steady-state behavior in detail to form a comprehensive data set; B3. High time resolution sampling: In order to capture subtle changes in transient processes, simulation data needs to be collected with high time resolution, such as nanosecond time steps.
3. The IGBT switch transient modeling method according to claim 1, wherein: Step A1 also includes: B0. Construct an IGBT test circuit, wherein the test circuit design includes simulating various operating conditions encountered by the IGBT in actual applications, including operating voltage, operating current, and operating temperature.
4. The IGBT switch transient modeling method according to claim 1, wherein: Step A2 specifically includes: C1. Data preprocessing: re-interpolate the collected data so that the time step of all data is 5 nanoseconds, and standardize or normalize all input and output data; C2. Neural network design: Design a multi-layer neural network, each layer is dedicated to modeling the specific behavioral characteristics of IGBT; the input layer will accept steady-state voltage, current and temperature parameters, while the output layer provides transient voltage and current predictions at the current time node; for the activation function, choose tanh to improve the nonlinear modeling and fitting capabilities of the network; introduce a time series feedback mechanism, that is, the output of the previous time node is used as part of the input of the current time node, specifically adding the transient voltage and current output of the previous time node at the output layer of the neural network; C3. Neural network training: Divide the preprocessed data into training and validation sets, train the model multiple times, and select the best performing model as the final model.
5. The IGBT switch transient modeling method according to claim 1, wherein: In the FPGA hardware design of step A3, the logic units, registers and memory configurations within the FPGA are optimized, and hardware resources are reasonably allocated to ensure that each part has sufficient resources to perform its functions.
6. The IGBT switch transient modeling method according to claim 1, wherein: The pipeline design of step A3 allows multiple data points to be processed simultaneously, with each stage completing a portion of the computational task, forming a continuous processing flow from input to output to improve data throughput and reduce processing latency.
Citation Information
Cited By
IGBT fault prediction method and system based on inverted Transform network
CN118761444A
Power semiconductor transient simulation precision optimization method and system based on machine learning
CN119849334A
Power semiconductor transient simulation accuracy optimization method and system based on machine learning
CN119849334B
