Switching loss calculation method and device, equipment, storage medium and program product

By simplifying and linearly fitting the collector current and voltage waveforms of IGBT, the switching loss of IGBT is calculated, which solves the problem of large loss calculation error in traditional methods and achieves more accurate loss estimation.

CN118606830APending Publication Date: 2024-09-06CHINA FAW CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410691978.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

The traditional method uses the average collector current value during the IGBT switching cycle for loss calculation, which cannot accurately reflect the current changes, resulting in large loss calculation errors.

Method used

By obtaining the collector current waveform curve and collector-emitter voltage waveform curve in each switching cycle of the IGBT, we perform simplified processing, divide the current and voltage change stages, perform linear fitting, and calculate the switching loss based on time synchronization.

Benefits of technology

It significantly reduces the error in loss calculation, can more accurately reflect the current and voltage changes of IGBT during the switching cycle, and provides a more accurate estimate of switching loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118606830A
    Figure CN118606830A
Patent Text Reader

Abstract

The invention relates to a switching loss calculation method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: acquiring a collector current waveform curve and a collector-emitter voltage waveform curve of a transistor in each switching period; for each switching period, simplifying the collector current waveform curve in the switching period to obtain a current simplified waveform curve, and simplifying the collector-emitter voltage waveform curve in the switching period to obtain a voltage simplified waveform curve; and calculating the switching loss in the switching period based on the current simplified waveform curve and the voltage simplified waveform curve after time synchronization. By adopting the method, the error of loss calculation can be remarkably reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of switch tube technology, and in particular to a method and apparatus for calculating switch loss, a computer device, a computer-readable storage medium, and a computer program product. Background Art

[0002] In automotive applications, insulated gate bipolar transistors (IGBTs) are commonly used power switching components in electric and hybrid vehicles. IGBTs mainly work in the switching state in power electronic circuits, so IGBTs are electronic devices with high power consumption. As the switching frequency increases, switching loss becomes the main factor affecting the power consumption of the device. In addition, the switching loss of the power device IGBT may generate a lot of heat, resulting in excessive temperature rise, which seriously affects the reliability of the device.

[0003] In conventional technology, the average collector current value of the IGBT in one switching cycle is substituted into a loss calculation function to obtain the loss of the IGBT in one switching cycle.

[0004] However, the average current value is a relatively rough indicator and cannot accurately reflect the current change of the IGBT during the switching cycle. This rough loss estimation method may lead to large errors. Summary of the invention

[0005] Based on this, it is necessary to provide a switching loss calculation method, device, computer equipment, computer-readable storage medium and computer program product that can reduce the loss calculation error in response to the above technical problems.

[0006] In a first aspect, the present application provides a method for calculating switching loss, the method comprising:

[0007] Obtaining the collector current waveform curve and the collector-emitter voltage waveform curve in each switching cycle of the transistor;

[0008] For each switching cycle, the collector current waveform curve in the switching cycle is simplified to obtain a simplified current waveform curve, and the collector-emitter voltage waveform curve in the switching cycle is simplified to obtain a simplified voltage waveform curve;

[0009] The switching loss in the switching cycle is calculated based on the time-synchronized simplified current waveform curve and the simplified voltage waveform curve.

[0010] In one embodiment, the simplification of the collector current waveform curve within the switching cycle to obtain the simplified current waveform curve includes:

[0011] Determine the current change stage according to the current change characteristics of the collector current waveform curve within the switching cycle;

[0012] According to the current variation phase of the collector current waveform curve, the collector current waveform curve within the switching cycle is divided into a plurality of first segmented curves;

[0013] Adjacent first segmented curves are connected to obtain a simplified current waveform curve.

[0014] In one embodiment, the collector current waveform curve within the switching cycle is divided into a plurality of first segmented curves according to the current variation phase of the collector current waveform curve, including:

[0015] Determine the current change stage of the collector current waveform curve; the current change stage includes a time period characterizing the collector current rising from zero to the on-current, a time period characterizing the collector current maintaining the on-current, a time period characterizing the collector current falling from the on-current to zero, and a time period characterizing the collector current maintaining 0;

[0016] For any current change stage, based on the time period and current amplitude corresponding to the current change stage, a linear fitting is performed on the curve of the corresponding time period in the collector current waveform curve to obtain a first segmented curve corresponding to the current change stage.

[0017] In one embodiment, the simplification of the collector-emitter voltage waveform curve in the switching cycle to obtain the voltage simplified waveform curve includes:

[0018] Determine the voltage variation stage according to the voltage variation characteristics of the collector-emitter voltage waveform curve within the switching cycle;

[0019] According to the voltage variation phase of the collector-emitter voltage waveform curve, the collector-emitter voltage waveform curve within the switching cycle is divided into a plurality of second segmented curves;

[0020] Adjacent second segmented curves are connected to obtain a voltage simplified waveform curve.

[0021] In one embodiment, the collector-emitter voltage waveform curve within the switching cycle is divided into a plurality of second segmented curves according to the voltage variation phase of the collector-emitter voltage waveform curve, including:

[0022] Determine the voltage variation stage of the collector-emitter voltage waveform curve; the voltage variation stage includes a time period representing a decrease of the collector-emitter voltage from the bus DC voltage to the on-voltage, a time period representing a rise of the collector-emitter voltage from the on-voltage to the DC bus voltage, a time period representing a maintenance of the collector-emitter voltage at the bus DC voltage, and a time period representing a maintenance of the collector-emitter voltage at the on-voltage;

[0023] For any voltage change stage, based on the time period and voltage amplitude corresponding to the voltage change stage, a linear fitting is performed on the curve of the corresponding time period in the collector-emitter voltage waveform curve to obtain a second segmented curve corresponding to the voltage change stage.

[0024] In one embodiment, the calculating of the switching loss in the switching cycle based on the time-synchronized simplified current waveform curve and the simplified voltage waveform curve includes:

[0025] Calculate the switch power consumption in the switching cycle based on the simplified current waveform curve and the simplified voltage waveform curve after time synchronization;

[0026] The switching loss in the switching cycle is determined based on the switch power consumption in the switching cycle.

[0027] In a second aspect, the present application also provides a switching loss calculation device, comprising:

[0028] A curve acquisition module is used to acquire a collector current waveform curve and a collector-emitter voltage waveform curve in each switching cycle of the transistor;

[0029] A curve simplification module is used to simplify the collector current waveform curve in each switching cycle to obtain a simplified current waveform curve, and to simplify the collector-emitter voltage waveform curve in the switching cycle to obtain a simplified voltage waveform curve;

[0030] The loss calculation module is used to calculate the switching loss in the switching cycle based on the simplified current waveform curve and the simplified voltage waveform curve after time synchronization.

[0031] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned switching loss calculation method when executing the computer program.

[0032] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above-mentioned switching loss calculation method when executed by a processor.

[0033] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned switching loss calculation method when executed by a processor.

[0034] The above-mentioned switching loss calculation method, device, computer equipment, computer-readable storage medium and computer program product obtain the collector current waveform curve and the collector-emitter voltage waveform curve in each switching cycle of the transistor, and for each switching cycle, simplify the collector current waveform curve in the switching cycle to obtain a simplified current waveform curve, and simplify the collector-emitter voltage waveform curve in the switching cycle to obtain a simplified voltage waveform curve, wherein the simplified processing can reduce the amount of calculation while retaining sufficient information for accurate loss calculation; further, compared with the traditional method of calculating the loss only using the average current value, the switching loss in the switching cycle is calculated based on the simplified current waveform curve and the simplified voltage waveform curve after time synchronization, which can more accurately reflect the current and voltage changes of the transistor in the switching cycle, thereby obtaining a more accurate switching loss estimate, which can significantly reduce the error of the loss calculation. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0036] FIG1 is a schematic diagram of a flow chart of a method for calculating switching loss in one embodiment;

[0037] Figure 2 is a schematic diagram of a waveform curve in a switching cycle in an embodiment;

[0038] Figure 3 is a structural block diagram of a switching loss calculation device in one embodiment;

[0039] Figure 4 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0041] In automotive applications, insulated gate bipolar transistors (IGBTs) and freewheeling diodes (FWDs) are commonly used power switching components in electric and hybrid vehicles. IGBTs combine the high-speed switching and voltage drive characteristics of MOSFETs with the low saturation voltage characteristics and the ability to easily achieve large currents of power bipolar transistors (BJTs). Therefore, IGBTs are becoming increasingly indispensable in the fields of industry, energy, and transportation. Although IGBTs mainly work in the switching state in power electronic circuits, they are still electronic devices with high power consumption. As the switching frequency increases, switching loss becomes the main factor affecting device power consumption.

[0042] The performance of IGBT modules is closely related to their switching characteristics. The switching characteristics of the device directly affect its switching loss, which in turn limits the working efficiency of the device. In addition, the switching loss of the power device IGBT may generate a lot of heat, resulting in excessive temperature rise, which seriously affects the reliability of the device.

[0043] In conventional technology, the average collector current value of the IGBT in one switching cycle is substituted into a loss calculation function to obtain the loss of the IGBT in one switching cycle.

[0044] However, the average current value is a relatively rough indicator and cannot accurately reflect the current change of the IGBT during the switching cycle. This rough loss estimation method may lead to large errors.

[0045] Therefore, in order to solve the problems of the prior art, an embodiment of the present application provides a switching loss calculation method. Compared with the traditional method of calculating the loss only using the average current value, the switching loss within the switching cycle is calculated based on the simplified current waveform curve and the simplified voltage waveform curve after time synchronization. This can more accurately reflect the current and voltage changes of the transistor within the switching cycle, thereby obtaining a more accurate switching loss estimate, which can significantly reduce the error in loss calculation.

[0046] In an exemplary embodiment, as shown in FIG1 , a method for calculating switching loss is provided, comprising the following steps. Among them:

[0047] Step 102 : obtaining a collector current waveform curve and a collector-emitter voltage waveform curve in each switching cycle of the transistor.

[0048] Among them, a transistor is a semiconductor device used to control the flow of electric current. It usually has three main terminals: base, collector and emitter.

[0049] A switching cycle is the time it takes for a transistor to completely switch from one state (i.e., "on" or "off") to another state and then back again. A switching cycle means that the transistor switches from a low resistance state between the collector and emitter (on) to a high resistance state (off) and back again.

[0050] The collector current waveform describes how the collector current of a transistor changes over a period of time. When the transistor is used as a switch, the collector current waveform may show a rapid change from one value (such as maximum current when turned on) to another value (such as almost no current when turned off).

[0051] The collector-emitter voltage waveform curve describes the change in the voltage between the collector and emitter of the transistor over a period of time. When the transistor is in different switching states, the voltage between the collector and emitter will also be different. For example, when the transistor is turned off, this voltage may be high (close to the power supply voltage), and when the transistor is turned on, this voltage may be low (close to zero).

[0052] Specifically, the transistor to be tested is pre-set in a switching circuit, which allows the state of the transistor to be controlled within a switching cycle. The electronic device measures the collector current waveform and the collector-emitter voltage waveform of the transistor within each switching cycle through a measuring device.

[0053] For example, the measuring device can be an oscilloscope, and one channel of the oscilloscope is connected to the collector of the transistor and a reference point (such as ground) to measure the collector-emitter voltage, thereby obtaining the collector-emitter voltage waveform curve of the transistor in each switching cycle. Another channel of the oscilloscope is connected to the collector of the transistor using a current probe or an appropriate resistor shunt to measure the collector current, thereby obtaining the collector current waveform curve of the transistor in each switching cycle.

[0054] Step 104 , for each switching cycle, simplify the collector current waveform curve in the switching cycle to obtain a simplified current waveform curve, and simplify the collector-emitter voltage waveform curve in the switching cycle to obtain a simplified voltage waveform curve.

[0055] Simplification refers to a series of operations on the original waveform data to reduce its complexity and redundant information while retaining its main features and shape for easier analysis and interpretation. Simplification usually includes steps such as removing noise, smoothing data, identifying key feature points, interpolation, fitting or piecewise approximation.

[0056] The simplified current waveform is a simplified collector current waveform. It retains the main features and shape of the original current waveform, but removes noise and redundant information. The simplified current waveform is usually smoother, clearer, and easier to identify key feature points such as peaks and valleys. The simplified current waveform has fewer details and higher generalizations than the original collector current waveform. However, it can still accurately reflect the main characteristics and trends of the original waveform.

[0057] The voltage simplified waveform curve is a simplified collector-emitter voltage waveform curve. Similarly, it retains the main features and shape of the original voltage waveform, but removes noise and redundant information. The voltage simplified waveform curve is usually smoother, clearer, and easier to identify key feature points. The voltage simplified waveform curve has less details and higher generalization than the original collector-emitter voltage waveform curve. But it can still accurately reflect the main characteristics and trends of the original waveform.

[0058] Specifically, for each switching cycle, the electronic device uses a digital filter (such as a low-pass filter) to remove high-frequency noise in the collector current waveform curve and the collector-emitter voltage waveform curve in the switching cycle, and identifies key feature points in the collector current waveform curve and the collector-emitter voltage waveform curve, such as peak value, valley value, rise time and fall time, etc. Based on the key feature points, the electronic device simplifies the collector current waveform curve and the collector-emitter voltage waveform curve into a model that is easier to analyze by interpolation, fitting or piecewise approximation.

[0059] For example, a piecewise linear approximation method may be used to divide the collector current waveform and the collector-emitter voltage waveform into several linear segments, and a piecewise function may be used to represent the simplified current waveform and the simplified voltage waveform.

[0060] Alternatively, a more complex function (such as a sine wave, an exponential function, etc.) can be used to fit the collector current waveform curve and the collector-emitter voltage waveform curve, and the fitting curves are the simplified current waveform curve and the simplified voltage waveform curve.

[0061] Step 106 : Calculate the switching loss in the switching cycle based on the time-synchronized simplified current waveform curve and the simplified voltage waveform curve.

[0062] Among them, switching loss refers to the energy loss caused by circuit switching action in power electronic switching devices (such as MOSFET, IGBT). This includes turn-on loss and turn-off loss. Turn-on loss refers to the power loss generated when the power tube goes from cut-off to conduction; turn-off loss refers to the power loss generated when the power tube goes from conduction to cut-off.

[0063] Specifically, the electronic device performs time synchronization processing on the simplified current waveform curve and the simplified voltage waveform curve to ensure that the simplified current waveform curve and the simplified voltage waveform curve are synchronized in time so as to accurately correspond to the current and voltage changes in each switching cycle. For the waveform curve after time synchronization, in any switching cycle, the electronic device determines the process interval of opening and closing according to the waveform curves of the current and voltage in the switching cycle, wherein the opening process interval is the interval in which the current starts to rise from 0 to a stable value and the voltage starts to drop from a high value to a low value; the closing process interval is the interval in which the current starts to drop from a stable value to 0 and the voltage starts to rise from a low value to a high value. In the opening process interval, the electronic device will generate energy loss due to the overlap of current and voltage (i.e., the current rises and the voltage drops), and this loss can be calculated by integration or approximation method. Specifically, the integral value of the product of current and voltage in the opening process interval can be calculated, that is, the opening loss = ∫(I(t) * V(t)) dt (where I(t) is the current function, V(t) is the voltage function, and t is time). Similarly, during the turn-off process, energy loss will also be generated due to the overlap of current and voltage (i.e., current decreases and voltage increases). This loss can also be calculated by integration or approximation. Electronic devices add the turn-on loss and turn-off loss to obtain the total switching loss for the switching cycle.

[0064] In the above-mentioned switching loss calculation method, the collector current waveform curve and the collector-emitter voltage waveform curve in each switching cycle of the transistor are obtained. For each switching cycle, the collector current waveform curve in the switching cycle is simplified to obtain a simplified current waveform curve, and the collector-emitter voltage waveform curve in the switching cycle is simplified to obtain a simplified voltage waveform curve. The simplified processing can reduce the amount of calculation while retaining sufficient information for accurate loss calculation. Furthermore, compared with the traditional method of calculating the loss only using the average current value, the switching loss in the switching cycle is calculated based on the simplified current waveform curve and the simplified voltage waveform curve after time synchronization, which can more accurately reflect the current and voltage changes of the transistor in the switching cycle, thereby obtaining a more accurate switching loss estimate, which can significantly reduce the error of the loss calculation.

[0065] In one embodiment, the collector current waveform curve in the switching cycle is simplified to obtain a simplified current waveform curve, including:

[0066] 1. Determine the current change stage according to the current change characteristics of the collector current waveform curve within the switching cycle.

[0067] Among them, the current change characteristics refer to the specific pattern or trend of the collector current waveform curve changing over time during the switching cycle. The current change characteristics usually include the change of current amplitude, the rate of current rise or fall, the shape of the current waveform, the maximum value, minimum value, peak time, the slope of current change, etc. The current change characteristics describe the dynamic behavior of the current during the switching cycle.

[0068] The current change phase is a different time period or interval divided according to the current change characteristics of the collector current waveform curve. The current change phase represents the different states or processes that the current goes through during the switching cycle, such as the rising phase, stable phase, and falling phase of the current. Each phase may have different current change characteristics, such as different current amplitudes, slopes, or waveform shapes.

[0069] Specifically, the electronic device analyzes the collector current waveform curve and extracts key features. Based on the extracted features, the electronic device detects the change phase of the current waveform curve by setting thresholds, comparing slope changes, identifying peaks and valleys, etc. For example, when the current value begins to rise significantly, it can be considered to have entered the rising phase; when the current value remains stable, it can be considered to have entered the stable phase; when the current value begins to drop significantly, it can be considered to have entered the falling phase.

[0070] 2. According to the current variation phase of the collector current waveform curve, the collector current waveform curve within the switching cycle is divided into a plurality of first segmented curves.

[0071] The first segmented curve is a specific part divided according to the current change stage of the collector current waveform curve. In each current change stage, the collector current waveform curve can be divided into one or more segmented curves to better describe the detailed change of the current in this stage. The first segmented curve corresponds to a specific time period or interval in the current change stage.

[0072] Specifically, the electronic device divides the collector current waveform curve into different intervals (ie, different current change stages) according to the detected current change stage, and each stage corresponds to one or more continuous time periods on the collector current waveform curve.

[0073] In some embodiments, the current change characteristic can be set to whether it is greater than a preset current threshold, and the corresponding current change stage can be a stage greater than the preset current threshold and a stage less than the preset current threshold. In this way, the collector current waveform curve division strategy can be: according to the characteristics of the current waveform curve, set multiple thresholds (such as a first preset value, a conduction current, a second preset value, etc.). When the current value starts to rise from 0 and exceeds the first threshold, a new segment starts. When the current value reaches and exceeds the second threshold (such as the conduction current), another segment starts. When the current value starts to drop from the peak value and is lower than the third threshold (such as the second preset value), a new segment starts. And so on, the waveform curve is divided into multiple segments according to the set threshold.

[0074] In some embodiments, the current change feature may be to set a slope change threshold, and the corresponding current change stage may be a stage greater than the slope change threshold and less than the slope change threshold. In this way, the collector current waveform curve division strategy may be: calculate the slope between adjacent data points on the waveform curve, set a slope change threshold, and when the slope change between adjacent data points exceeds the threshold, it is considered to be a slope change point. These slope change points will be used as candidate points for segmentation, and the data points between adjacent slope change points will be divided into a segment. If the slope remains stable for a period of time (that is, the slope change is less than the threshold), the data points in the time period can be merged into a segment.

[0075] In some embodiments, the current change feature may be a current waveform mode (such as a rising mode, a peak mode, a falling mode, etc.), and the corresponding current change phase may be a rising phase, a maintaining phase, and a falling phase. Thus, the collector current waveform curve division strategy may be: using machine learning or pattern recognition algorithms (such as support vector machines, neural networks, dynamic time warping, etc.) to identify the patterns in the waveform curve. The boundary between different modes is identified by training the model, and the waveform curve is divided into corresponding segments.

[0076] 3. Connect adjacent first segment curves to obtain a simplified current waveform curve.

[0077] Specifically, the electronic device sequentially connects adjacent first segmented curves in time sequence to obtain a simplified current waveform curve.

[0078] In this embodiment, by dividing the collector current waveform curve into several representative first segmented curves, the data can be greatly simplified. Each first segmented curve represents a specific stage of the current waveform, so that the key information in the current waveform is more prominent, and the dynamic changes of the current during the switching cycle can be more accurately represented; by connecting adjacent first segmented curves, a simplified current waveform curve can be obtained. While maintaining the main features of the original waveform, the current waveform curve reduces the complexity and redundancy of the data, significantly reduces the amount of calculation, and improves the calculation efficiency.

[0079] In one embodiment, according to the current variation phase of the collector current waveform curve, the collector current waveform curve within the switching cycle is divided into a plurality of first segmented curves, including:

[0080] 1. Determine the current change stage of the collector current waveform curve; the current change stage includes the time period characterizing the collector current rising from zero to the on-current, the time period characterizing the collector current maintaining the on-current, the time period characterizing the collector current falling from the on-current to zero, and the time period characterizing the collector current maintaining 0.

[0081] The time period during which the collector current rises from zero to the on-current begins when the transistor is triggered (e.g., by applying a gate voltage) to begin conducting electricity, and continues until the collector current reaches its predetermined on-current value. During this stage, the corresponding current change characteristic is that the current increases rapidly from zero until it reaches a stable on-current value.

[0082] The period of time during which the collector current maintains the on-current: the collector current stabilizes near the on-current value, and the device maintains its conductive state. In this stage, the current change characteristics are: the current value remains basically unchanged, or fluctuates within a very small range.

[0083] The period of time during which the collector current decreases from the on-state current to zero: When the transistor is turned off (e.g. by removing the gate voltage), the collector current begins to decrease until it reaches zero. During this stage, the current change is characterized by the current gradually decreasing from the on-state current value until the current reaches zero.

[0084] Specifically, the electronic device determines the on-current of the transistor, analyzes the collector current waveform curve, determines a first time period during the switching cycle when the collector current maintains 0 or is within a first preset range centered on 0, and uses the first time period as a time period characterizing that the collector current maintains 0. The electronic device determines a second time period during the switching cycle when the collector current increases from 0 or approximately 0 to the on-current, and uses the second time period as a time period characterizing that the collector current rises from zero to the on-current. The electronic device determines a third time period during the switching cycle when the collector current maintains the on-current or is within a second preset range centered on the on-current, and uses the third time period as a time period characterizing that the collector current maintains the on-current. The electronic device determines a fourth time period during the switching cycle when the collector current drops from the on-current to 0 or within a third preset range centered on 0, and uses the fourth time period as a time period characterizing that the collector current drops from the on-current to zero.

[0085] 2. For any current change stage, based on the time period and current amplitude corresponding to the current change stage, a linear fitting is performed on the curve of the corresponding time period in the collector current waveform curve to obtain the first segmented curve corresponding to the current change stage.

[0086] Specifically, for any current change stage, the electronic device determines the time period corresponding to the current change stage and the current amplitude range set for the current change stage, and determines the piecewise function corresponding to the current change stage based on the ratio of the current amplitude change value of the current amplitude range and the time period, and uses the linear curve represented by the piecewise function as the first piecewise curve corresponding to the current change stage.

[0087] For example, Figure 2 is a schematic diagram of a waveform curve in a switching cycle in an embodiment, Figure 2 The upper figure shows the collector current waveform curve and the collector-emitter voltage waveform curve without simplification, and the lower figure shows the simplified current waveform curve and the simplified voltage waveform curve after simplification. Figure 2 Middle I C Represents the current waveform curve, V CE Represents the voltage waveform curve.

[0088] like Figure 2 As shown, at the t0-t1 moment and t10-t11 moment of the collector current waveform curve, I C The collector current is basically maintained at 0. Therefore, the current change phases at time t0-t1 and time t10-t11 represent the time period when the collector current is maintained at 0. The corresponding first segmented curve in this current change phase is as follows: Figure 2 The simplified waveform of the current is shown at moments t0-t1 and t10-t11.

[0089] like Figure 2 As shown, the collector current waveform curve at time t1-t2 I C The current continues to increase to the on-current. Therefore, the current change stage at time t1-t2 represents the time period when the collector current rises from zero to the on-current. The first segmented curve corresponding to this current change stage is as follows: Figure 2 The simplified waveform of the current is shown at time t1-t2.

[0090] like Figure 2 As shown, at the time t2-t9 of the collector current waveform curve, I C The current is maintained at the on-current. Therefore, the current change phase at time t2-t9 represents the time period in which the collector current maintains the on-current. The first segmented curve corresponding to the current change phase is as follows: Figure 2 The simplified waveform of the current is shown at time t2-t9.

[0091] like Figure 2 As shown, the collector current waveform curve at time t9-t10 I C The current drops from the on-current to approximately zero. Therefore, the current change phase at time t9-t10 represents the time period when the collector current drops from the on-current to zero. The first segmented curve corresponding to this current change phase is as follows: Figure 2 The simplified waveform of the current is shown at time t9-t10.

[0092] Therefore, the simplified collector current waveform curve finally becomes Figure 2 The simplified current waveform curve is shown in Figure 1. The simplified current waveform curve is expressed as follows:

[0093]

[0094] in, Represents the load current flowing through the transistor. and They represent the slope of the collector current rising from zero to the on-current and the slope of the collector current falling from the on-current to zero respectively. The time interval between t1 and t2 is defined as the current rise time tr_on. The time interval between t9 and t10 is defined as the current fall time tf_off, which can be obtained from the multimeter.

[0095] In this embodiment, the complex current waveform curve is divided into several different stages, each stage has a specific current change characteristic, and a linear fit is performed in each current change stage to obtain an approximate straight line of the current change in that stage. This linear approximation can accurately describe the main change characteristics of the current in that stage, while reducing data fluctuations caused by factors such as noise and measurement errors.

[0096] In one embodiment, the collector-emitter voltage waveform curve in the switching cycle is simplified to obtain a voltage simplified waveform curve, including:

[0097] 1. Determine the voltage change stage according to the voltage change characteristics of the collector-emitter voltage waveform curve within the switching cycle.

[0098] The voltage variation characteristics refer to the law or characteristics of the collector-emitter voltage variation over time. It usually includes voltage amplitude, frequency, phase, rise time, fall time, stabilization time and other parameters. For example, in the collector-emitter voltage waveform curve, the voltage variation characteristics may be manifested as the peak value, valley value, periodic fluctuation, ramp up or down of the collector-emitter voltage.

[0099] Voltage change phases refer to different time periods in the voltage waveform curve, and the collector-emitter voltage exhibits different change characteristics in each time period. Voltage change phases can be defined based on the amplitude, slope, or relative relationship of the collector-emitter voltage with other waveform characteristics. For example, a typical collector-emitter voltage waveform curve may include the following phases:

[0100] Voltage rise phase: Starting from the off state, the collector-emitter voltage gradually rises to a peak or stable value.

[0101] Voltage maintenance stage: The collector-emitter voltage is maintained at a relatively stable level, which may be accompanied by small fluctuations.

[0102] Voltage drop phase: The collector-emitter voltage gradually decreases from a stable value or peak value until the next off state.

[0103] Specifically, the electronic device analyzes the collector-emitter voltage waveform curve and extracts key features. Based on the extracted features, the electronic device detects the change phase of the collector-emitter voltage waveform curve by setting thresholds, comparing slope changes, identifying peaks and valleys, etc. For example, when the voltage value begins to rise significantly, it can be considered to have entered the rising phase; when the current value remains stable, it can be considered to have entered the stable phase; when the current value begins to drop significantly, it can be considered to have entered the falling phase.

[0104] 2. According to the voltage variation phase of the collector-emitter voltage waveform curve, the collector-emitter voltage waveform curve within the switching cycle is divided into a plurality of second segmented curves.

[0105] The second segmented curve is a specific part divided according to the voltage change stage of the collector-emitter voltage waveform curve. In each voltage change stage, the collector-emitter voltage waveform curve can be divided into one or more segmented curves to better describe the detailed change of voltage in this stage. The second segmented curve corresponds to a specific time period or interval in the voltage change stage.

[0106] Specifically, the electronic device divides the collector-emitter voltage waveform curve into different intervals (ie, different voltage change stages) according to the detected voltage change stage, and each stage corresponds to one or more continuous time periods on the collector-emitter voltage waveform curve.

[0107] In some embodiments, the scalable partitioning strategy of the collector-emitter voltage waveform curve is the same as the partitioning strategy of the collector current waveform curve, and will not be described again here.

[0108] 3. Connect the adjacent second segmented curves to obtain a simplified voltage waveform curve.

[0109] Specifically, the electronic device sequentially connects adjacent second segmented curves in time sequence to obtain a voltage simplified waveform curve.

[0110] In this embodiment, by dividing the collector-emitter voltage waveform curve into several representative second segmented curves, the data can be greatly simplified. Each second segmented curve represents a specific stage of the voltage waveform, so that the key information in the voltage waveform is more prominent, and the dynamic changes of the voltage during the switching cycle can be more accurately represented; by connecting adjacent second segmented curves, a simplified voltage waveform curve can be obtained. While maintaining the main features of the original waveform, the voltage waveform curve reduces the complexity and redundancy of the data, significantly reduces the amount of calculation, and improves calculation efficiency.

[0111] In one embodiment, according to the voltage variation phase of the collector-emitter voltage waveform curve, the collector-emitter voltage waveform curve within the switching cycle is divided into a plurality of second segmented curves, including:

[0112] 1. Determine the voltage change stage of the collector-emitter voltage waveform curve; the voltage change stage includes the time period representing the collector-emitter voltage dropping from the bus DC voltage to the conduction voltage, the time period representing the collector-emitter voltage rising from the conduction voltage to the DC bus voltage, the time period representing the collector-emitter voltage maintaining the bus DC voltage, and the time period representing the collector-emitter voltage maintaining the conduction voltage.

[0113] Among them, the time period that characterizes the collector-emitter voltage dropping from the bus DC voltage to the on-voltage refers to the time period from the off state of the transistor (such as IGBT, MOSFET, etc.) when the collector-emitter voltage gradually drops from the high voltage of the DC bus (usually the power supply voltage) to the voltage when the transistor starts to turn on (i.e., the on-voltage). The corresponding voltage change characteristics during this time period are: the voltage shows a downward trend during this time period, starting from the high voltage of the DC bus, and as the internal structure of the transistor gradually turns on, the voltage gradually decreases to the on-voltage. During this process, the current may still be very small or zero because the transistor has not yet been fully turned on.

[0114] The time period that characterizes the collector-emitter voltage rising from the on-voltage to the DC bus voltage refers to the time period from the moment the transistor starts to turn on (or is called "on") to the moment the collector-emitter voltage rises to the DC bus voltage (that is, the highest voltage provided by the power supply). The corresponding voltage change characteristics during this time period are: the voltage rises rapidly, and the rising speed may be faster at the beginning because the transistor enters a low-resistance state and the current begins to flow. Subsequently, the voltage may gradually approach and stabilize at the DC bus voltage.

[0115] Characterizes the time period during which the collector-emitter voltage maintains the bus DC voltage: After the transistor is fully turned on, the collector-emitter voltage remains at a level close to the DC bus voltage. This is because in the on state, the resistance of the transistor is very small and almost negligible, so the collector-emitter voltage is almost equal to the DC bus voltage. The corresponding voltage change characteristics during this time period are: the voltage remains stable during this period, basically maintaining the level of the DC bus voltage. Even if there are slight fluctuations, they are usually caused by the charging and discharging effects of other components in the circuit (such as inductors and capacitors) or load changes.

[0116] Characterizes the period of time during which the collector-emitter voltage maintains the on-voltage: The collector-emitter voltage is maintained at a low but stable level for a period of time, and this level is close to the on-voltage of the transistor. The corresponding voltage change characteristics during this period are: The voltage remains stable during this period, but the value is low, close to the on-voltage of the transistor.

[0117] Specifically, the electronic device determines the bus DC voltage and the on-state voltage of the transistor, and analyzes the collector-emitter voltage waveform curve to determine the time period during which the collector-emitter voltage is maintained at the bus DC voltage or maintained in the off state within the switching cycle, and uses the time period as the time period for characterizing that the collector-emitter voltage maintains the bus DC voltage. The electronic device determines the time period during which the collector-emitter voltage drops from the bus DC voltage to the on-state voltage, or the transistor switches from the off state to the on-state within the switching cycle, and uses the time period as the time period for characterizing that the collector-emitter voltage drops from the bus DC voltage to the on-state voltage. The electronic device determines the time period during which the collector-emitter voltage maintains the on-state voltage within the switching cycle, and uses the time period as the time period for characterizing that the collector-emitter voltage maintains the on-state voltage. The electronic device determines the time period during which the collector-emitter voltage rises from the on-state voltage to the DC bus voltage, or the transistor switches from the on-state to the off-state within the switching cycle, and uses the time period as the time period for characterizing that the collector-emitter voltage rises from the on-state voltage to the DC bus voltage.

[0118] 2. For any voltage change stage, based on the time period and voltage amplitude corresponding to the voltage change stage, a linear fit is performed on the curve of the corresponding time period in the collector-emitter voltage waveform curve to obtain a second segmented curve corresponding to the voltage change stage.

[0119] Specifically, for any voltage change stage, the electronic device determines the time period corresponding to the voltage change stage and the voltage amplitude range set for the voltage change stage, and determines the piecewise function corresponding to the voltage change stage based on the ratio of the voltage amplitude change value of the voltage amplitude range and the time period, and uses the linear curve represented by the piecewise function as the second piecewise curve corresponding to the voltage change stage.

[0120] For example, Figure 2 As shown in FIG. 1 , at the time t0-t2 and the time t9-t11 of the collector-emitter voltage waveform curve, the collector-emitter voltage is basically maintained at the DC bus voltage. Therefore, the voltage change stage at the time t0-t2 and the time t9-t11 represents the time period in which the collector-emitter voltage maintains the bus DC voltage. The corresponding second segmented curve in this voltage change stage is as follows: Figure 2 The simplified waveform of the voltage is shown at the moments t0-t2 and t9-t11.

[0121] like Figure 2As shown in FIG. 1 , the collector-emitter voltage waveform curve at time t2-t4 drops from the bus DC voltage to the conduction voltage. Therefore, the voltage change stage at time t2-t4 represents the time period in which the collector-emitter voltage drops from the bus DC voltage to the conduction voltage. The corresponding second segmented curve in this voltage change stage is as follows: Figure 2 The simplified waveform of the voltage is shown at time t2-t4.

[0122] like Figure 2 As shown, at the time t4-t7 of the collector-emitter voltage waveform curve, the collector-emitter voltage is maintained at the on-voltage. Therefore, t4-t7 represents the time period in which the collector-emitter voltage maintains the on-voltage. The corresponding second segmented curve in this voltage change stage is as follows: Figure 2 The simplified waveform of the voltage is shown at time t4-t7.

[0123] like Figure 2 As shown, the collector-emitter voltage waveform curve is at time t7-t9, the time period during which the collector-emitter voltage rises from the on-voltage to the DC bus voltage. Therefore, the voltage change stage at time t7-t9 represents the time period during which the collector-emitter voltage rises from the on-voltage to the DC bus voltage. The corresponding second segmented curve in this voltage change stage is as follows: Figure 2 The simplified voltage waveform is shown at time t7-t9.

[0124] Therefore, the simplified collector-emitter voltage waveform curve finally becomes Figure 2 The simplified voltage waveform curve is shown in Figure 1. The simplified voltage waveform curve is expressed as follows:

[0125]

[0126] in, and are the on-state voltage drop and the DC bus voltage, respectively. k2 is the slope of the collector-emitter voltage falling from the bus DC voltage to the on-state voltage. k4 is the slope of the collector-emitter voltage rising from the on-state voltage to the DC bus voltage. The time interval between t2 and t4 is defined as the voltage fall time and needs to be measured. Once the drive circuit is determined, the voltage fall time is a fixed value.

[0127] In this embodiment, the complex collector-emitter voltage waveform curve is divided into several different stages, each stage has a specific voltage change characteristic, and a linear fit is performed in each voltage change stage to obtain an approximate straight line of the voltage change in that stage. This linear approximation can accurately describe the main change characteristics of the voltage in that stage, while reducing data fluctuations caused by factors such as noise and measurement errors.

[0128] In one embodiment, calculating the switching loss in the switching cycle based on the time-synchronized simplified current waveform curve and the simplified voltage waveform curve includes:

[0129] 1. Based on the simplified current waveform curve and the simplified voltage waveform curve after time synchronization, the switching power consumption in the switching cycle is calculated.

[0130] Among them, switching power consumption refers to the energy consumed when a transistor switches from one state (such as on) to another state (such as off). Switching power consumption includes turn-on power consumption and turn-off power consumption.

[0131] It should be noted that switching power consumption and switching loss have different meanings, and the relationship between the two is that switching loss is equal to the product of switching power consumption and switching frequency.

[0132] Specifically, the electronic device determines the turn-on process interval and the turn-off process interval based on the time-synchronized simplified current waveform curve and the simplified voltage waveform curve, calculates the turn-on power consumption and the turn-off power consumption in the switching cycle according to the power consumption calculation formula, and records the sum of the turn-on power consumption and the turn-off power consumption as the switching power consumption in the switching cycle.

[0133] For example, according to the power consumption calculation formula, Figure 2 The power consumption during the switching cycle is shown as the power consumption during the switching cycle. for:

[0134]

[0135] Further, open the power consumption can be simplified to:

[0136]

[0137] Considering , therefore, the power consumption It can be further simplified to:

[0138]

[0139] Similarly, the shutdown power consumption is calculated as:

[0140] in, and They are defined as the opening system and the closing system respectively, which can be expressed as:

[0141] .

[0142] Furthermore, the switching power consumption of the IGBT switch tube in one cycle can be expressed as:

[0143]

[0144] in, and .

[0145] 2. Based on the switching power consumption in the switching cycle, the switching loss in the switching cycle is determined.

[0146] Among them, the switching loss is equal to the product of the switching power consumption and the switching frequency.

[0147] Specifically, the electronic device obtains the switching power consumption in the switching cycle, and calculates the switching loss in the switching cycle based on the conversion relationship between the switching power consumption and the switching loss.

[0148] For example, based on the conversion relationship between switching power consumption and switching loss, the switching loss in the switching cycle can be expressed as:

[0149]

[0150] in, is the switching cycle, is the number of times the transistor is turned on during a switching cycle.

[0151] Further, considering , is the output current of the transistor, is the phase current angle, and only half of the current cycle flows through the IGBT. The IGBT turn-on and turn-off losses based on the current cycle can be expressed as:

[0152]

[0153] In this embodiment, when the switching power consumption within a switching cycle is calculated using the simplified current waveform curve and the simplified voltage waveform curve based on time synchronization, the energy loss of a switching device (such as an IGBT, MOSFET, etc.) under specific working conditions can be estimated more accurately.

[0154] In a detailed embodiment, a switching loss calculation method includes the following steps:

[0155] 1. Obtain the collector current waveform curve and collector-emitter voltage waveform curve in each switching cycle of the transistor.

[0156] 2. For each switching cycle, the current change stage of the collector current waveform curve is determined according to the current change characteristics of the collector current waveform curve within the switching cycle; the current change stage includes the time period characterizing the collector current rising from zero to the on-current, the time period characterizing the collector current maintaining the on-current, the time period characterizing the collector current falling from the on-current to zero, and the time period characterizing the collector current maintaining 0.

[0157] 3. For any current change stage, based on the time period and current amplitude corresponding to the current change stage, a linear fitting is performed on the curve of the corresponding time period in the collector current waveform curve to obtain the first segmented curve corresponding to the current change stage.

[0158] 4. Connect adjacent first segment curves to obtain a simplified current waveform curve.

[0159] 5. Determine the voltage change stage of the collector-emitter voltage waveform curve based on the voltage change characteristics of the collector-emitter voltage waveform curve within the switching cycle; the voltage change stage includes the time period characterizing the collector-emitter voltage dropping from the bus DC voltage to the on-voltage, the time period characterizing the collector-emitter voltage rising from the on-voltage to the DC bus voltage, the time period characterizing the collector-emitter voltage maintaining the bus DC voltage, and the time period characterizing the collector-emitter voltage maintaining the on-voltage.

[0160] 6. For any voltage change stage, based on the time period and voltage amplitude corresponding to the voltage change stage, a linear fit is performed on the curve of the corresponding time period in the collector-emitter voltage waveform curve to obtain a second segmented curve corresponding to the voltage change stage.

[0161] 7. Connect the adjacent second segmented curves to obtain a simplified voltage waveform curve.

[0162] 8. Based on the simplified current waveform curve and the simplified voltage waveform curve after time synchronization, calculate the switching power consumption within the switching cycle.

[0163] 9. Determine the switching loss within the switching cycle based on the switching power consumption within the switching cycle.

[0164] In this embodiment, the collector current waveform curve and the collector-emitter voltage waveform curve in each switching cycle of the transistor are obtained, and for each switching cycle, the collector current waveform curve in the switching cycle is simplified to obtain a simplified current waveform curve, and the collector-emitter voltage waveform curve in the switching cycle is simplified to obtain a simplified voltage waveform curve, wherein the simplified processing can reduce the amount of calculation while retaining sufficient information for accurate loss calculation; further, compared with the traditional method of calculating the loss only using the average current value, the switching loss in the switching cycle is calculated based on the simplified current waveform curve and the simplified voltage waveform curve after time synchronization, which can more accurately reflect the current and voltage changes of the transistor in the switching cycle, thereby obtaining a more accurate switching loss estimate, which can significantly reduce the error in loss calculation.

[0165] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0166] Based on the same inventive concept, the embodiment of the present application also provides a switching loss calculation device for implementing the switching loss calculation method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more switching loss calculation device embodiments provided below can refer to the limitations on the switching loss calculation method above, and will not be repeated here.

[0167] In an exemplary embodiment, Figure 3 As shown, a switching loss calculation device is provided, comprising:

[0168] The curve acquisition module 301 is used to acquire the collector current waveform curve and the collector-emitter voltage waveform curve in each switching cycle of the transistor;

[0169] The curve simplification module 302 is used for simplifying the collector current waveform curve in each switching cycle to obtain a simplified current waveform curve, and simplifying the collector-emitter voltage waveform curve in the switching cycle to obtain a simplified voltage waveform curve;

[0170] The loss calculation module 303 is used to calculate the switching loss in the switching cycle based on the time-synchronized simplified current waveform curve and the simplified voltage waveform curve.

[0171] In one embodiment, the curve simplification module 302 is also used to determine the current change stage according to the current change characteristics of the collector current waveform curve in the switching cycle; divide the collector current waveform curve in the switching cycle into multiple first segmented curves according to the current change stage of the collector current waveform curve; connect adjacent first segmented curves to obtain a current simplified waveform curve.

[0172] In one embodiment, the curve simplification module 302 is also used to determine the current change stage of the collector current waveform curve; the current change stage includes a time period characterizing the collector current rising from zero to the on-current, a time period characterizing the collector current maintaining the on-current, a time period characterizing the collector current falling from the on-current to zero, and a time period characterizing the collector current maintaining 0; for any current change stage, based on the time period and current amplitude corresponding to the current change stage, a linear fit is performed on the curve of the corresponding time period in the collector current waveform curve to obtain a first segmented curve corresponding to the current change stage.

[0173] In one of the embodiments, the curve simplification module 302 is also used to determine the voltage change stage according to the voltage change characteristics of the collector-emitter voltage waveform curve within the switching cycle; divide the collector-emitter voltage waveform curve within the switching cycle into multiple second segmented curves according to the voltage change stage of the collector-emitter voltage waveform curve; and connect adjacent second segmented curves to obtain a voltage simplified waveform curve.

[0174] In one embodiment, the curve simplification module 302 is also used to determine the voltage change stage of the collector-emitter voltage waveform curve; the voltage change stage includes a time period representing the collector-emitter voltage dropping from the bus DC voltage to the on-voltage, a time period representing the collector-emitter voltage rising from the on-voltage to the DC bus voltage, a time period representing the collector-emitter voltage maintaining the bus DC voltage, and a time period representing the collector-emitter voltage maintaining the on-voltage; for any voltage change stage, based on the time period and voltage amplitude corresponding to the voltage change stage, a linear fit is performed on the curve of the corresponding time period in the collector-emitter voltage waveform curve to obtain a second segmented curve corresponding to the voltage change stage.

[0175] In one embodiment, the loss calculation module 303 is further used to calculate the switch power consumption in the switching cycle based on the simplified current waveform curve and the simplified voltage waveform curve after time synchronization; and determine the switch loss in the switching cycle based on the switch power consumption in the switching cycle.

[0176] Each module in the switching loss calculation device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0177] In an exemplary embodiment, a computer device is provided. The computer device may be an electronic device, and its internal structure diagram may be as shown in FIG. Figure 4As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a switching loss calculation method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0178] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0179] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0180] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0181] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0182] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.

[0183] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0184] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0185] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for calculating switching loss, characterized in that: The method comprises: Obtaining the collector current waveform curve and the collector-emitter voltage waveform curve in each switching cycle of the transistor; For each switching cycle, the collector current waveform curve in the switching cycle is simplified to obtain a simplified current waveform curve, and the collector-emitter voltage waveform curve in the switching cycle is simplified to obtain a simplified voltage waveform curve; The switching loss in the switching cycle is calculated based on the time-synchronized simplified current waveform curve and the simplified voltage waveform curve.

2. The method according to claim 1, characterized in that The simplified processing of the collector current waveform curve in the switching cycle to obtain the simplified current waveform curve includes: Determine the current change stage according to the current change characteristics of the collector current waveform curve within the switching cycle; According to the current variation phase of the collector current waveform curve, the collector current waveform curve within the switching cycle is divided into a plurality of first segmented curves; Adjacent first segmented curves are connected to obtain a simplified current waveform curve.

3. The method according to claim 2, characterized in that According to the current variation phase of the collector current waveform curve, the collector current waveform curve within the switching cycle is divided into a plurality of first segmented curves, including: Determine the current change stage of the collector current waveform curve; the current change stage includes a time period characterizing the collector current rising from zero to the on-current, a time period characterizing the collector current maintaining the on-current, a time period characterizing the collector current falling from the on-current to zero, and a time period characterizing the collector current maintaining 0; For any current change stage, based on the time period and current amplitude corresponding to the current change stage, a linear fitting is performed on the curve of the corresponding time period in the collector current waveform curve to obtain a first segmented curve corresponding to the current change stage.

4. The method according to claim 1, characterized in that: The simplified processing of the collector-emitter voltage waveform curve in the switching cycle to obtain a simplified voltage waveform curve includes: Determine the voltage variation stage according to the voltage variation characteristics of the collector-emitter voltage waveform curve within the switching cycle; According to the voltage variation phase of the collector-emitter voltage waveform curve, the collector-emitter voltage waveform curve within the switching cycle is divided into a plurality of second segmented curves; Adjacent second segmented curves are connected to obtain a voltage simplified waveform curve.

5. The method according to claim 4, characterized in that The collector-emitter voltage waveform curve within the switching cycle is divided into a plurality of second segmented curves according to the voltage variation phase of the collector-emitter voltage waveform curve, including: Determine the voltage variation stage of the collector-emitter voltage waveform curve; the voltage variation stage includes a time period representing a decrease of the collector-emitter voltage from the bus DC voltage to the on-voltage, a time period representing a rise of the collector-emitter voltage from the on-voltage to the DC bus voltage, a time period representing a maintenance of the collector-emitter voltage at the bus DC voltage, and a time period representing a maintenance of the collector-emitter voltage at the on-voltage; For any voltage change stage, based on the time period and voltage amplitude corresponding to the voltage change stage, a linear fitting is performed on the curve of the corresponding time period in the collector-emitter voltage waveform curve to obtain a second segmented curve corresponding to the voltage change stage.

6. The method according to claim 1, characterized in that The calculating of the switching loss in the switching cycle based on the time-synchronized simplified current waveform curve and the simplified voltage waveform curve includes: Calculate the switch power consumption in the switching cycle based on the simplified current waveform curve and the simplified voltage waveform curve after time synchronization; The switching loss in the switching cycle is determined based on the switch power consumption in the switching cycle.

7. A switching loss calculation device, characterized in that: The device comprises: A curve acquisition module is used to acquire a collector current waveform curve and a collector-emitter voltage waveform curve in each switching cycle of the transistor; A curve simplification module is used to simplify the collector current waveform curve in each switching cycle to obtain a simplified current waveform curve, and to simplify the collector-emitter voltage waveform curve in the switching cycle to obtain a simplified voltage waveform curve; The loss calculation module is used to calculate the switching loss in the switching cycle based on the simplified current waveform curve and the simplified voltage waveform curve after time synchronization.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Thermoelectric coupling IGBT (Insulated Gate Bipolar Translator) module transient model establishment method

    CN106156379A

  • High impedance fault identification method and system based on zero-sequence current waveform interval slope curve

    CN110320434A

  • Power device loss calculation method and device

    CN115166466A

  • Method and device for determining switching power loss

    DE102020203123A1

  • Method and apparatus for training photovoltaic monitoring model, and method and apparatus for monitoring photovoltaic device

    WO2023033727A2