PSO fitting-based structure function acquisition method and system
Through multiple low-order fittings and network conversions based on the particle swarm optimization algorithm, the problem of abnormal high-order fitting parameters in IGBT device thermal resistance detection is solved, the calculation efficiency and accuracy are improved, and accurate thermal resistance parameter acquisition is achieved. .
Patent Information
- Application Number
- CN202410798070.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-17
AI Technical Summary
When the existing technology detects the thermal resistance of different layers of materials in IGBT devices, in the process of obtaining the parameters of the Foster network parameter model, the curve fitting method has problems with data storage accuracy and algorithm accuracy after the fitting order is high, resulting in abnormal parameters, and Computer computing power is stressful.
The particle swarm optimization algorithm (PSO) is used to repeatedly find the optimal thermal resistance and optimal heat capacity. Through multiple low-order fittings to achieve the purpose of high-order fitting, the Foster thermal resistance network is constructed and converted into a Cauer thermal resistance network. Obtain the integral structure function curve.
It avoids abnormal parameter problems caused by high-order fitting, reduces the amount of calculation, improves calculation efficiency and accuracy, and achieves accurate acquisition of device thermal resistance parameters.
Smart Images

Figure CN118656574A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of device detection technology, and in particular to a method and system for obtaining a structure function based on PSO fitting. Background Art
[0002] High-power IGBT devices have large switching losses when working. If the heat dissipation is poor, the junction temperature will rise sharply, directly affecting the reliability of the entire system. Thermal resistance is an important indicator to measure the heat dissipation performance during operation, so it is of great significance to accurately know the thermal resistance of IGBT. At present, the commonly used methods for testing thermal resistance are infrared scanning imaging method and traditional electrical testing method.
[0003] The infrared scanning imaging method can accurately obtain the chip temperature distribution, but the equipment operation is complex, the cost is high, and it will cause permanent damage to the device. The traditional electrical test method uses the PN junction characteristics of the IGBT device to obtain the thermal sensitive parameters, and then the junction temperature Tj is obtained, and the shell temperature Tc is measured with a thermocouple, thereby indirectly obtaining the thermal resistance parameters of the IGBT. The electrical test method is simple, efficient, low-cost, and non-destructive; however, the shell temperature distribution of the IGBT device is uneven during the heat conduction process, and the thermocouple can only obtain the local temperature. In addition, due to the deviation of the thermocouple measurement position, the measured thermal resistance value is inconsistent and the repeatability is poor.
[0004] In addition, the above two measurement methods cannot compare the thermal conductivity of different materials. In recent years, the structure function method that can detect the thermal resistance of different layers of materials in the device has been widely used in the thermal design and reliability analysis of power devices, LEDs and other products. The structure function method needs to first obtain the cooling curve of the device under test. According to the number of cooling curves obtained, it can be divided into the traditional single interface method and the double interface method. In short, the structure function thermal resistance measurement method can give the materials of different layers in the vertical direction of the device, which is very suitable for the analysis of crimped IGBT modules, such as: chip layer, molybdenum sheet layer, copper pole layer, contact layer and other layers. Thermal resistance characteristics and their changes. At present, most of the thermal resistance measurements using the structure function method use the electrically sensitive parameter (TSP) method to measure the cooling curve, which is similar to the traditional electrical test method.
[0005] There are two key steps in the mathematical process of converting the cooling curve to the structure function curve, namely, obtaining the parameters of the Foster network model and converting the parameters from the Foster network to the Cauer network. At present, there are two main methods for obtaining the parameters of the Foster network parameter model: curve fitting and deconvolution. At present, these two methods still have the following disadvantages: First, the running time of both mathematical processing methods is relatively long, which puts a great pressure on the computing power of the host computer or host computer or single-chip microcomputer; second, after the curve fitting method has a high fitting order (greater than 10 orders), abnormal parameters may occur due to data storage accuracy and algorithm accuracy; third, the accuracy of the deconvolution method is highly dependent on the time interval of the cooling curve, that is, a large amount of data needs to be recorded during the cooling process to ensure its accuracy and the smoothness of the structure function curve. Summary of the invention
[0006] In view of the shortcomings in the prior art, the present invention provides a method and system for obtaining a structure function based on PSO fitting, which solves the problem of abnormal parameters caused by data storage accuracy and algorithm accuracy when the curve fitting method in the process of obtaining parameters of the Foster network parameter model is used in the structure function method for detecting the thermal resistance of different layers of materials in the device after the fitting order is high.
[0007] In order to solve the above technical problems, the present invention is solved by the following technical solutions:
[0008] A method for obtaining a structure function based on PSO fitting comprises the following steps:
[0009] Obtaining the temperature drop characteristic curve of the device under test;
[0010] Construct the target initial function, and find the optimal thermal resistance and optimal heat capacity closest to the cooling characteristic curve based on the particle swarm optimization algorithm, and obtain the target function fitted by the particle swarm optimization algorithm;
[0011] Repeat the particle swarm optimization algorithm fitting, the order of the objective function used is a factor of the final order, and is integrated with the objective function of the particle swarm optimization algorithm fitting once to obtain the target complete order function;
[0012] Based on the thermal resistance parameters and thermal capacitance parameters obtained by the target complete order function, a Foster thermal resistance network is constructed, and the time constants of each RC network are sorted to obtain a discrete time constant spectrum function;
[0013] The Foster thermal resistance network is converted into a Cauer thermal resistance network, and the thermal resistance and heat capacity are accumulated according to the heat conduction direction to obtain the integral structure function curve.
[0014] Optionally, searching for the optimal thermal resistance and the optimal thermal capacity closest to the cooling characteristic curve based on a particle swarm optimization algorithm includes the following steps:
[0015] Set the initial random position and initial velocity of the particle swarm, set the number of iterations, and obtain the velocity update formula, position update formula and fitness value function;
[0016] Based on the speed update formula, the position update formula and the fitness value function, the fitness value 1 corresponding to each particle position update is calculated, and the fitness value 2 corresponding to the stored single particle optimal position update is calculated;
[0017] Based on the speed update formula, the position update formula and the fitness value function, the fitness value three corresponding to the global particle position update is calculated, and the fitness value four corresponding to the stored global particle optimal position update is calculated;
[0018] Determine whether the position update meets the convergence condition. If so, stop the iteration. Otherwise, re-update the position and re-obtain fitness value 1, fitness value 2, fitness value 3 and fitness value 4.
[0019] The individual optimal position of the current particle is obtained based on the fitness value one and the fitness value two, and the global optimal position of the global particle is obtained based on the fitness value three and the fitness value four.
[0020] Optionally, based on the speed update formula, the position update formula and the fitness value function, calculating the fitness value 1 corresponding to each particle after the position is updated, and calculating the fitness value 2 corresponding to the stored single particle optimal position after the update, comprises the following steps:
[0021] The speed and position of each particle are optimized based on the speed formula and the position formula to obtain a particle update position 1 of each particle, and a fitness value 1 corresponding to the particle update position 1 is calculated based on the fitness value function;
[0022] The stored optimal position of a single particle is obtained, and the optimal position of the single particle is further optimized based on the speed formula and the position formula to obtain the second particle update position, and the second fitness value corresponding to the second particle update position is calculated based on the fitness value function.
[0023] Optionally, based on the speed update formula, the position update formula and the fitness value function, calculating the fitness value 3 corresponding to the global particle position update, and calculating the fitness value 4 corresponding to the stored global particle optimal position update, include the following steps:
[0024] Optimizing the speed and position of the global particle based on the speed formula and the position formula to obtain a particle update position three of the global particle, and calculating a fitness value three corresponding to the particle update position three based on a fitness value function;
[0025] The stored global particle optimal position is obtained, and the global particle optimal position is further optimized based on the speed formula and the position formula to obtain a particle update position four, and a fitness value four corresponding to the particle update position four is calculated based on the fitness value function.
[0026] Optionally, obtaining the individual optimal position of the current particle based on the fitness value 1 and the fitness value 2, and obtaining the global optimal position of the global particle based on the fitness value 3 and the fitness value 4, comprises the following steps:
[0027] Comparing the fitness value 1 and the fitness value 2, and taking the updated position of the particle with the smaller fitness value as the individual optimal position of the current particle;
[0028] The fitness value three and the fitness value four are compared, and the updated position of the particle with the smaller fitness value is used as the global optimal position of the global particle.
[0029] Optionally, the speed formula is:
[0030]
[0031] The position formula is:
[0032] Where k is the number of iterations of the particle; d is the dimension; i is the particle number; ω is the inertia weight; C1 and C2 are the individual and group learning factors, respectively; r1 and r2 are random numbers between [0, 1]; x is the particle coordinate; p d,gbest represents the optimal position of the group in d dimensions; p id,pbest represents the d-dimensional individual optimal position of particle i; v is the particle velocity vector.
[0033] Optionally, the fitness value function is expressed as:
[0034] Among them, a(·) is the objective function of the particle swarm optimization algorithm fitting; y(·) represents the cooling characteristic curve; k represents the number of iterations of the particle; d represents the dimension; i represents the particle number; and x represents the particle coordinate.
[0035] Optionally, the convergence condition is set to:
[0036] Set the iteration threshold, and converge when the number of iterations reaches the iteration threshold;
[0037] Or, set an iteration error threshold, and converge when the iteration error is less than the iteration error threshold.
[0038] A structure function acquisition system based on PSO fitting, the system executes any one of the structure function acquisition methods based on PSO fitting described above, including a curve generation unit, a first optimization unit, a second optimization unit, a thermal resistance network construction unit and a thermal resistance network conversion unit;
[0039] The curve generating unit is used to obtain a temperature drop characteristic curve of the device under test;
[0040] The first optimization unit is used to construct an initial target function, and to find the optimal thermal resistance and optimal thermal capacity closest to the cooling characteristic curve based on a particle swarm optimization algorithm, so as to obtain a target function fitted by a particle swarm optimization algorithm;
[0041] The second optimization unit is used to repeatedly search for the optimal thermal resistance and the optimal thermal capacity, and integrate them with the objective function fitted by the primary particle swarm optimization algorithm to obtain the target complete order function;
[0042] The thermal resistance network construction unit is used to construct a Foster thermal resistance network based on the thermal resistance parameters and thermal capacitance parameters obtained by the target complete order function, and to sort the time constants of each RC network to obtain a discrete time constant spectrum function;
[0043] The thermal resistance network conversion unit is used to convert the Foster thermal resistance network into a Cauer thermal resistance network, and accumulate the thermal resistance and thermal capacity according to the heat conduction direction to obtain an integral structure function curve.
[0044] A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for obtaining a structure function based on PSO fitting described in any one of the above is implemented.
[0045] Compared with the prior art, the technical solution provided by the present invention has the following beneficial effects:
[0046] By repeatedly searching for the optimal thermal resistance and optimal thermal capacity, and integrating them with the objective function fitted by a particle swarm optimization algorithm, the target complete order function is obtained, and multiple low-order fittings are implemented to achieve the purpose of high-order fitting. Therefore, there is no problem of abnormal parameters caused by data storage accuracy and algorithm accuracy in high-order fitting. This is because the time domain response of the Foster network is characterized by being composed of multiple RC network responses of the same form, so it is suitable to adopt the method of PSO fitting each item again. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0048] Figure 1 This is a flow chart of a method for obtaining a structure function based on PSO fitting proposed in the first embodiment;
[0049] Figure 2 This is the PSO algorithm fitting flow chart proposed in this embodiment 1;
[0050] Figure 3 This is the Foster network diagram proposed in the first embodiment;
[0051] Figure 4 This is the Cauer network diagram proposed in this embodiment 1. DETAILED DESCRIPTION
[0052] The present invention is further described in detail below in conjunction with embodiments. The following embodiments are for explanation of the present invention but the present invention is not limited to the following embodiments.
[0053] Embodiment 1
[0054] like Figure 1 As shown, a method for obtaining a structure function based on PSO fitting includes the following steps: obtaining a cooling characteristic curve of a device under test. Specifically, the cooling characteristic curve of the device under test can be tested according to the JESD51-14 standard, wherein the test steps are as follows:
[0055] S11. In a constant temperature box or liquid cooling environment, calibrate the voltage V under low current CE and junction temperature T j The linear k coefficient of
[0056] S12, use constant heating power P H (In practice, a constant current is used) to heat the device until thermal equilibrium is reached;
[0057] S13, cut off the power input, quickly switch to the small current used during calibration (usually within 1-2μs), and record the V during the process of cooling down to thermal equilibrium (i.e. ambient temperature / heat sink temperature). CE curve;
[0058] S14, V CE Curve processing is T j curve, and then divided by the heating power P H This is the cooling characteristic curve.
[0059] After obtaining the cooling characteristic curve, the target initial function can be constructed, and its expression is: Among them, the number of terms n is the fitting order, and each term represents an RC network in the Foster network; the time constant τ i =R thi ·C thi , R thi With C thi is the thermal resistance and thermal capacitance of the RC network of each layer of the Foster network.
[0060] Specifically, according to the Foster network diagram, the total thermal resistance of the Foster network can be written as follows:
[0061] It can be obtained that the temperature response of the system under unit heating power input is the target initial function It can be seen that the target initial function is composed of the sum of n terms () of the responses of the RC networks, where n is the number of RC networks contained in the Foster network, that is, the order that needs to be fitted, and the higher the fitting order, the better.
[0062] In the PSO fitting method of this embodiment, since the Foster network transfer function is the corresponding addition of multiple RC networks, the order is factored to decompose the fitting steps into multiple steps to reduce the amount of calculation. Therefore, the order of the target initial function in the first step can be one of the factor orders m (as reflected by the actual test results, m should not be greater than 10, preferably less than or equal to 5, and the best is 3rd order), and then multiple fittings are used to achieve higher-order fitting; it is recommended to appropriately limit the range of the thermal resistance R and thermal capacitance C values of each RC network in each PSO fitting (at least less than the total thermal resistance and total thermal capacitance of the entire device or module) to obtain a more uniform distribution of data points.
[0063] Then, if Figure 2 As shown, the PSO algorithm is performed to obtain the thermal resistance parameters and thermal capacity parameters that are closest to the cooling characteristic curve.
[0064] Furthermore, based on the particle swarm optimization algorithm, the optimal thermal resistance and optimal heat capacity closest to the cooling characteristic curve are found, and the objective function of the particle swarm optimization algorithm fitting is obtained, which specifically includes the following steps: first, the initial random position and initial speed of the particle swarm are set, and the number of iterations is set, and the speed update formula, position update formula and fitness value function are obtained. The speed formula is: The position formula is: Where k is the number of iterations of the particle; d is the dimension; i is the particle number; ω is the inertia weight; C1 and C2 are the individual and group learning factors, respectively; r1 and r2 are random numbers between [0, 1]; x is the particle coordinate; p d,gbest represents the optimal position of the group in d dimensions; p id,pbest represents the d-dimensional individual optimal position of particle i; v is the particle velocity vector.
[0065] The expression of the fitness value function is: Among them, a(·) is the objective function of the particle swarm optimization algorithm fitting; y(·) represents the cooling characteristic curve; k represents the number of iterations of the particle; d represents the dimension; i represents the particle number; and x represents the particle coordinate.
[0066] Among them, in this embodiment, the fitness value is recommended to be selected as a function value that is positively correlated with the distance of the measured cooling characteristic curve, and the smaller the function value, the better. This embodiment selects the natural logarithm of the distance (i.e., the absolute value of the difference) as the fitness value function, and the function value that is positively correlated with the distance of the measured cooling characteristic curve, taking the three points of the curve (x1, y1), (x2, y2), (x3, y3), and the objective function y=Ax+B as an example, its fitness value function can be taken as δ=[yi-(Axi+B)]^2, and the curve is fitted by adjusting A and B to minimize the individual fitness and the group fitness, which is the fitting process.
[0067] Furthermore, based on the speed update formula, the position update formula and the fitness value function, the fitness value one corresponding to each particle position update is calculated, and the fitness value two corresponding to the stored single particle optimal position update is calculated, which specifically includes the following steps: optimizing the speed and position of each particle based on the speed formula and the position formula to obtain the particle update position one of each particle, and calculating the fitness value one corresponding to the particle update position one based on the fitness value function; obtaining the stored single particle optimal position, and further optimizing the single particle optimal position based on the speed formula and the position formula to obtain the particle update position two, and calculating the fitness value two corresponding to the particle update position two based on the fitness value function.
[0068] Among them, when optimizing the particle position update, the setting of parameters should be noted: the inertia weight should be larger in the early stage to ensure that the individual independence of the particles is stronger and to search as many positions as possible; it should be smaller in the later stage to increase the learning component from other particles, so as to converge to the global optimum as much as possible. Similarly, the independent learning rate C1 needs to be larger in the early stage, and the group learning rate C2 should be smaller to ensure particle independence; in the later stage, C1 should be smaller and C2 should be larger to converge to the global optimum as soon as possible. In the actual operation process, it is found that in the fitting of the Foster network, the particles need to be more globally weighted, and C2 is preferably twice as much as C1.
[0069] At the same time, based on the speed update formula, the position update formula and the fitness value function, the fitness three corresponding to the global particle position update is calculated, and the fitness value four corresponding to the stored global particle optimal position update is calculated, which specifically includes the following steps: optimizing the speed and position of the global particle based on the speed formula and the position formula to obtain the particle update position three of the global particle, and calculating the fitness value three corresponding to the particle update position three based on the fitness value function; obtaining the stored global particle optimal position, and further optimizing the global particle optimal position based on the speed formula and the position formula to obtain the particle update position four, and calculating the fitness value four corresponding to the particle update position four based on the fitness value function.
[0070] Determine whether the position update satisfies the convergence condition. If so, stop the iteration. Otherwise, re-update the position and re-acquire the fitness value 1, fitness value 2, fitness value 3 and fitness value 4. Get the individual optimal position of the current particle based on the fitness value 1 and fitness value 2, and get the global optimal position of the global particle based on the fitness value 3 and fitness value 4. The convergence condition is set as follows: set an iteration threshold, and converge when the number of iterations reaches the iteration threshold; or set an iteration error threshold, and converge when the iteration error is less than the iteration error threshold.
[0071] On the other hand, the individual optimal position of the current particle is obtained based on the fitness value one and the fitness value two, and the global optimal position of the global particle is obtained based on the fitness value three and the fitness value four, including the following steps: comparing the fitness value one and the fitness value two, and updating the position of the particle with the smaller fitness value as the individual optimal position of the current particle; comparing the fitness value three and the fitness value four, and updating the position of the particle with the smaller fitness value as the global optimal position of the global particle.
[0072] In this embodiment, the stored optimal position of a single particle and the stored optimal position of a global particle refer to the optimal position of a single particle and the global optimal position that have been stored in the system before. This embodiment further updates the stored optimal positions of a single particle and a global particle, and further compares the latest updated optimal position of a single particle with the updated optimal position of a single particle in the initial setting, and further compares the latest updated optimal position of a global particle with the updated optimal position of a global particle in the initial setting, thereby determining a better optimal position of a single particle and a global particle, so that the result is more accurate and the obtained fitness value is closer to the cooling characteristic curve.
[0073] On the other hand, since only updating the method of obtaining the global optimal position will cause the position update to not converge and the quality of the obtained global optimal position is poor, in this embodiment, by combining the method of obtaining the individual optimal position, the accuracy of the updated global optimal position is guaranteed, so that the quality of the obtained global optimal position is better.
[0074] After obtaining the individual optimal position and the global optimal position, the thermal resistance and thermal capacity corresponding to the global optimal position are the thermal resistance and thermal capacity when the objective function fitted by the primary particle swarm optimization algorithm is closest to the cooling characteristic curve.
[0075] Furthermore, each RC network term (i.e. each term) in the objective function fitted by the above-mentioned particle swarm optimization algorithm is ) is regarded as the curve to be fitted, and then the particle swarm optimization algorithm fitting is repeated. The order of the objective function used is the factor of the final order (all factors of the final order need to be traversed, and the factor decomposition method is not limited, but each factor must be less than 10, and it is recommended to be less than or equal to 5, and 3 is preferred), so as to find the optimal thermal resistance and optimal thermal capacity, and integrate them with the objective function of the particle swarm optimization algorithm fitting once to obtain the target complete order function. For example, the first time the m-order fitting is performed, and the second time the n-order fitting is performed on each RC network function in the m-order function, and the final target complete order function is m*n order.
[0076] Furthermore, based on the thermal resistance parameters and thermal capacitance parameters obtained by the target full-order function, the following is constructed: Figure 3 The Foster thermal resistance network shown in the figure is constructed, and the time constants of each RC network are sorted to obtain the discrete time constant spectrum function. The Foster thermal resistance network is then converted into a Cauer thermal resistance network, and the thermal resistance and heat capacity are accumulated according to the direction of heat conduction to obtain the integral structure function curve. After differentiation, the differential structure function curve can be obtained.
[0077] Among them, since each RC network of the Foster network represents the thermal resistance and interval thermal capacitance within the divided network, and the Foster network is from the junction to the heat dissipation environment, it is necessary to first obtain the time constant spectrum to sort the RC network, so as to obtain the Foster network. The sorting principle is: time constants are sorted from small to large.
[0078] The conversion from Foster thermal resistance network to Cauer thermal resistance network is as follows:
[0079] The total thermal resistance formula of the Foster network form is divided into the following formula (1), and then the reciprocal of formula (1) is obtained to obtain the admittance formula (2), which is obtained by Figure 4It can be seen that the total admittance of the network is the admittance of C1 plus the rest, so the coefficient of s in the admittance formula (2) is the value of C1, as shown in formula (3). Then the total admittance formula (2) minus the admittance of C1 is the admittance of the rest, and the reciprocal is the residual thermal resistance, as shown in formula (4). Figure 4 It can be seen that the remaining thermal resistance is R1 plus other thermal resistances, so the constant term of formula (4) is the value of R1. As shown in formula (5), the remaining thermal resistance is subtracted from R1, that is, formula (4) minus formula (5), and formula (6) is exactly the same as formula (1). Repeat the above steps until all R and C parameters of the Cauer network are obtained.
[0080] It should be noted that Figure 4 The Cauer thermal resistance network can also be used to write another form of total thermal resistance as shown in equation (7). The two total thermal resistance equations are just different in form, and their values should be equal.
[0081]
[0082] Finally, the thermal resistance R and the heat capacity C are accumulated respectively according to the direction of heat conduction (i.e. the discrete time constant spectrum function sorted as mentioned above) to obtain the integral structure function curve. The differential structure function curve can be obtained by taking the derivative. For example, if a third-order fitting is performed, there are three RC networks in the Foster network, and there are three pairs of RC values (r1, c1), (r2, c2), and (r3, c3) (which have been sorted from small to large according to τ=RC). The three points on the integral structure function curve are (r1, c1), (r1+r2, c1+c2), and (r1+r2+r3, c1+c2+c3). It can also be seen that the higher the fitting order, the more complete and detailed the obtained structure function is.
[0083] Embodiment 2
[0084] A structure function acquisition system based on PSO fitting, which executes the structure function acquisition method based on PSO fitting as described in Example 1, includes a curve generation unit, a first optimization unit, a second optimization unit, a thermal resistance network construction unit and a thermal resistance network conversion unit.
[0085] A curve generation unit is used to obtain the cooling characteristic curve of the device under test; a first optimization unit is used to construct a target initial function, and find the optimal thermal resistance and optimal thermal capacitance closest to the cooling characteristic curve based on the particle swarm optimization algorithm to obtain the target function fitted by the first particle swarm optimization algorithm; a second optimization unit is used to repeatedly find the optimal thermal resistance and optimal thermal capacitance, and integrate them with the target function fitted by the first particle swarm optimization algorithm to obtain the target complete order function; a thermal resistance network construction unit is used to construct a Foster thermal resistance network based on the thermal resistance parameters and thermal capacitance parameters obtained from the target complete order function, and sort the time constants of each RC network to obtain a discrete time constant spectrum function; a thermal resistance network conversion unit is used to convert the Foster thermal resistance network into a Cauer thermal resistance network, and accumulate the thermal resistance and thermal capacitance according to the heat conduction direction to obtain an integral structure function curve.
[0086] A computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the method for obtaining a structure function based on PSO fitting described in Embodiment 1 is implemented.
[0087] More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductor segments, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk-read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0088] In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless segments, wire segments, optical cables, RF, etc., or any suitable combination of the above.
[0089] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules, modules or units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units, modules or components can be combined or integrated into another device, or some features can be ignored or not executed.
[0090] The units may or may not be physically separated, and the components displayed as units may be one physical unit or multiple physical units, that is, they may be located in one place or distributed in multiple different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0091] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0092] In particular, according to the embodiments disclosed in the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by the central processing unit (CPU), the above-mentioned functions defined in the method of the present application are executed. It should be noted that the above-mentioned computer-readable medium of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of an electrical, magnetic, optical, electromagnetic, infrared segment, or semiconductor, or any combination of the above.
[0093] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present invention. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0094] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. A method for obtaining a structure function based on PSO fitting, characterized in that: The following steps are involved: Obtaining the temperature drop characteristic curve of the device under test; Construct the target initial function, and find the optimal thermal resistance and optimal heat capacity closest to the cooling characteristic curve based on the particle swarm optimization algorithm, and obtain the target function fitted by the particle swarm optimization algorithm; Repeat the particle swarm optimization algorithm fitting, the order of the objective function used is a factor of the final order, and is integrated with the objective function of the particle swarm optimization algorithm fitting once to obtain the target complete order function; Based on the thermal resistance parameters and thermal capacitance parameters obtained by the target complete order function, a Foster thermal resistance network is constructed, and the time constants of each RC network are sorted to obtain a discrete time constant spectrum function; The Foster thermal resistance network is converted into a Cauer thermal resistance network, and the thermal resistance and heat capacity are accumulated according to the heat conduction direction to obtain the integral structure function curve.
2. The method for obtaining a structure function based on PSO fitting according to claim 1, characterized in that: Based on the particle swarm optimization algorithm, the optimal thermal resistance and optimal thermal capacity closest to the cooling characteristic curve are found, including the following steps: Set the initial random position and initial velocity of the particle swarm, set the number of iterations, and obtain the velocity update formula, position update formula and fitness value function; Based on the speed update formula, the position update formula and the fitness value function, the fitness value 1 corresponding to each particle position update is calculated, and the fitness value 2 corresponding to the stored single particle optimal position update is calculated; Based on the speed update formula, the position update formula and the fitness value function, the fitness value three corresponding to the global particle position update is calculated, and the fitness value four corresponding to the stored global particle optimal position update is calculated; Determine whether the position update meets the convergence condition. If so, stop the iteration. Otherwise, re-update the position and re-obtain fitness value 1, fitness value 2, fitness value 3 and fitness value 4. The individual optimal position of the current particle is obtained based on the fitness value one and the fitness value two, and the global optimal position of the global particle is obtained based on the fitness value three and the fitness value four.
3. The method for obtaining a structure function based on PSO fitting according to claim 2, characterized in that: Based on the speed update formula, the position update formula and the fitness value function, the fitness value 1 corresponding to each particle position update is calculated, and the fitness value 2 corresponding to the stored single particle optimal position update is calculated, including the following steps: The speed and position of each particle are optimized based on the speed formula and the position formula to obtain a particle update position 1 of each particle, and a fitness value 1 corresponding to the particle update position 1 is calculated based on the fitness value function; The stored optimal position of a single particle is obtained, and the optimal position of the single particle is further optimized based on the speed formula and the position formula to obtain the second particle update position, and the second fitness value corresponding to the second particle update position is calculated based on the fitness value function.
4. The method for obtaining a structure function based on PSO fitting according to claim 2, characterized in that: Based on the speed update formula, the position update formula and the fitness value function, the fitness value three corresponding to the global particle position update is calculated, and the fitness value four corresponding to the stored global particle optimal position update is calculated, including the following steps: Optimizing the speed and position of the global particle based on the speed formula and the position formula to obtain a particle update position three of the global particle, and calculating a fitness value three corresponding to the particle update position three based on a fitness value function; The stored global particle optimal position is obtained, and the global particle optimal position is further optimized based on the speed formula and the position formula to obtain the particle update position four, and the fitness value four corresponding to the particle update position four is calculated based on the fitness value function.
5. A method for obtaining a structure function based on PSO fitting according to any one of claims 2 to 4, characterized in that: The individual optimal position of the current particle is obtained based on the fitness value 1 and the fitness value 2, and the global optimal position of the global particle is obtained based on the fitness value 3 and the fitness value 4, including the following steps: Comparing the fitness value 1 and the fitness value 2, and taking the updated position of the particle with the smaller fitness value as the individual optimal position of the current particle; The fitness value three and the fitness value four are compared, and the updated position of the particle with the smaller fitness value is used as the global optimal position of the global particle.
6. A method for obtaining a structure function based on PSO fitting according to any one of claims 2 to 4, characterized in that: The speed formula is: The position formula is: Where k is the number of iterations of the particle; d is the dimension; i is the particle number; ω is the inertia weight; C1 and C2 are the individual and group learning factors, respectively; r1 and r2 are random numbers between [0, 1]; x is the particle coordinate; p d,gbest represents the optimal position of the group in d dimensions; p id,pbest represents the d-dimensional individual optimal position of particle i; v is the particle velocity vector.
7. A method for obtaining a structure function based on PSO fitting according to any one of claims 2 to 4, characterized in that: The expression of the fitness value function is: Objective function; y(·) represents the cooling characteristic curve; k represents the number of iterations of the particle; d represents the dimension; i represents the particle number; and x represents the particle coordinate.
8. The method for obtaining a structure function based on PSO fitting according to claim 2, characterized in that: The convergence condition is set as: Set the iteration threshold, and converge when the number of iterations reaches the iteration threshold; Or, set an iteration error threshold, and converge when the iteration error is less than the iteration error threshold.
9. A structure function acquisition system based on PSO fitting, characterized in that: The system executes the structure function acquisition method based on PSO fitting according to any one of claims 1 to 8, including a curve generation unit, a first optimization unit, a second optimization unit, a thermal resistance network construction unit and a thermal resistance network conversion unit; The curve generating unit is used to obtain a temperature drop characteristic curve of the device under test; The first optimization unit is used to construct an initial target function, and to find the optimal thermal resistance and optimal thermal capacity closest to the cooling characteristic curve based on a particle swarm optimization algorithm, so as to obtain a target function fitted by a particle swarm optimization algorithm; The second optimization unit is used to repeatedly search for the optimal thermal resistance and the optimal thermal capacity, and integrate them with the objective function fitted by the primary particle swarm optimization algorithm to obtain the target complete order function; The thermal resistance network construction unit is used to construct a Foster thermal resistance network based on the thermal resistance parameters and thermal capacitance parameters obtained by the target complete order function, and to sort the time constants of each RC network to obtain a discrete time constant spectrum function; The thermal resistance network conversion unit is used to convert the Foster thermal resistance network into a Cauer thermal resistance network, and accumulate the thermal resistance and thermal capacity according to the heat conduction direction to obtain an integral structure function curve.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for obtaining a structure function based on PSO fitting according to any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Automobile dissimilar metal galvanic couple compatibility evaluation method based on deconvolution technology
CN119442667A
