A method, device, electronic device and storage medium for determining multi-chip thermal layout
By constructing a digital twin model and using back-propagation neural network and particle swarm optimization algorithm to optimize the multi-chip thermal layout, it solves the problem of low accuracy and efficiency in determining the multi-chip thermal layout in the existing technology, and achieves a more balanced temperature distribution and Higher integrated circuit performance.
Patent Information
- Application Number
- CN202310126533.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-08
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2043-02-08
AI Technical Summary
The existing multi-chip thermal layout determination method has low accuracy and efficiency, resulting in uneven temperature distribution of the integrated circuit board, affecting the practicality and reliability of the board.
By constructing a digital twin model of the multi-chip body, the hot spot temperature is predicted, and the back-propagation neural network and particle swarm optimization algorithm are used to determine the target three-dimensional geometric model to optimize the chip layout and reduce the maximum temperature.
The accuracy and efficiency of multi-chip thermal layout determination are improved, better thermal balance is achieved, and the performance and reliability of integrated circuits are enhanced.
Smart Images

Figure CN116341477B
Abstract
Description
Technical Field
[0001] The present application belongs to the technical field of integrated circuit manufacturing, and in particular, relates to a method, device, electronic device and storage medium for determining a multi-chip thermal layout. Background Art
[0002] With the development of integrated circuit manufacturing technology, the market demand for chips continues to grow, and the size of transistors has been getting closer and closer to the physical size limit. As the main heat-generating component on the integrated circuit board, the location and layout of the chip directly affects the temperature distribution of the entire board. Especially when using a multi-chip layout, the increase in the number of chips will lead to an increase in the overall heat generation, but the heat dissipation area has not increased, resulting in a significant increase in the heat density of the entire multi-chip layout, which reduces the practicality and reliability of the integrated circuit board.
[0003] At present, there are many ways to determine the thermal layout of multiple chips. For example, a thermal layout optimization method for electronic components on a PCB board based on a particle swarm optimization algorithm is used to optimize the thermal layout of electronic components on the PCB board. However, the maximum temperature value corresponding to each chip in this method for determining the thermal layout of multiple chips is inaccurate; a method for studying the thermal layout optimization of electronic components on a PCB board based on an ant colony algorithm is used to optimize the thermal layout of electronic components on the PCB board. However, this method for determining the thermal layout of multiple chips is too inefficient. Therefore, the determination accuracy and efficiency of the existing multi-chip thermal layout determination method are both low and need to be further improved. Summary of the invention
[0004] The embodiments of the present application provide a method, device, electronic device and storage medium for determining a multi-chip thermal layout, which can solve the problem of low determination accuracy and determination efficiency of the method for determining a multi-chip thermal layout.
[0005] In a first aspect, an embodiment of the present application provides a method for determining a multi-chip thermal layout, comprising:
[0006] Constructing at least two digital twin models of the multi-chip body, wherein each digital twin model corresponds to a three-dimensional geometric model of the multi-chip body;
[0007] predicting a hotspot temperature of each digital twin model of the multi-chip body;
[0008] A target three-dimensional geometric model of the multi-chip body is determined according to the hotspot temperatures of the at least two digital twin models of the multi-chip body, and the layout mode of the multi-chip body in the target three-dimensional geometric model is the thermal layout mode of the multi-chip body.
[0009] In a second aspect, an embodiment of the present application provides a multi-chip thermal layout determination device, comprising:
[0010] A construction module, used to construct at least two digital twin models of the multi-chip body, wherein each digital twin model corresponds to a three-dimensional geometric model of the multi-chip body;
[0011] A prediction module, used to predict the hot spot temperature of each digital twin model of the multi-chip body;
[0012] Determination module: used to determine the target three-dimensional geometric model of the multi-chip body according to the hotspot temperatures of the at least two digital twin models of the multi-chip body, and the layout mode of the multi-chip body in the target three-dimensional geometric model is the thermal layout mode of the multi-chip body.
[0013] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the multi-chip thermal layout determination method described in any one of the first aspects above when executing the computer program.
[0014] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and wherein when the computer program is executed by a processor, the multi-chip thermal layout determination method described in any one of the first aspects above is implemented.
[0015] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes the multi-chip thermal layout determination method described in any one of the first aspects above.
[0016] The present application constructs at least two digital twin models of a multi-chip body, wherein each digital twin model corresponds to a three-dimensional geometric model of the multi-chip body; predicts the hotspot temperature of each digital twin model of the multi-chip body; determines the target three-dimensional geometric model of the multi-chip body according to the hotspot temperatures of the at least two digital twin models of the multi-chip body, and the layout mode of the multi-chip body in the target three-dimensional geometric model is the thermal layout mode of the multi-chip body. In the present application, firstly, at least two digital twin models of a multi-chip body are constructed, and then the hotspot temperature of each digital twin model of the multi-chip body is predicted, and finally the target three-dimensional geometric model of the multi-chip body is determined according to the hotspot temperature of each digital twin model of the multi-chip body; this multi-chip thermal layout determination method can improve the determination accuracy and efficiency of the multi-chip thermal layout determination method. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present application, 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 application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0018] Figure 1 It is a flowchart of a method for determining a multi-chip thermal layout provided by an embodiment of the present application;
[0019] Figure 2 is a schematic diagram of a three-dimensional geometric model of a multi-chip body provided in an embodiment of the present application;
[0020] Figure 3 It is a schematic diagram of a process for predicting hotspot temperature by back propagation neural network and particle swarm optimization algorithm provided by an embodiment of the present application;
[0021] Figure 4 is a structural schematic diagram of a multi-chip thermal layout determination device provided by an embodiment of the present application;
[0022] Figure 5 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION
[0023] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0024] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0025] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0026] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.
[0027] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0028] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0029] Figure 1 A schematic diagram showing a flow chart of a method for determining a multi-chip thermal layout according to an embodiment of the present application is shown. Figure 1 , the method comprising:
[0030] S101, construct at least two digital twin models of a multi-chip body, wherein each digital twin model corresponds to a three-dimensional geometric model of the multi-chip body.
[0031] The essence of digital twin technology is to use virtual twin modeling to restore the physical world scene. Digital twin technology combines virtual models and physical entities into a whole, reproduces physical entity data in the virtual model space, and through real-time information interaction, feeds back virtual data to the physical entity to help it make the best decision.
[0032] The construction of a digital twin model also requires modeling and simulation of physical entities. The digital twin transfers the entity's data to the virtual space in real time. Through real-time information interaction between the physical entity and the digital twin model, the model is continuously updated and the model status is corrected, ultimately obtaining a digital twin model that accurately reflects the physical entity object.
[0033] A three-dimensional geometric model is a polygonal representation of an object, usually displayed by a computer or other video device; the displayed object can be a real-world entity or a fictional object; anything that exists in the physical nature can be represented by a three-dimensional geometric model.
[0034] The embodiment of the present application is used to determine the optimal thermal layout of a multi-chip body composed of multiple chips, in the hope that after the multiple chips are combined into an integrated circuit in the manner of the determined optimal thermal layout, the integrated circuit has a better thermal balance, thereby avoiding serious heat generation at one or certain positions of the integrated circuit, which affects the performance of the integrated circuit.
[0035] In the specific implementation, the number and size of the chips constituting the integrated circuit must be determined first. The multiple chips constituting the integrated circuit are referred to as a multi-chip body.
[0036] The multiple chips in the multi-chip body can be arranged in different forms in advance to obtain multiple three-dimensional geometric models, wherein each three-dimensional geometric model can obtain a digital twin model of the multi-chip body.
[0037] As an example of a three-dimensional geometric model of a multi-chip body, if an integrated circuit needs to be composed of 1 large chip and 8 small chips, then the multi-chip body includes the 1 large chip and the 8 small chips.
[0038] In practical applications, the nine chips in the multi-chip body can be arranged in a variety of ways, and each arrangement is used as a three-dimensional geometric model of the multi-chip body.
[0039] Reference Figure 2 , which is a schematic diagram of a three-dimensional geometric model of a multi-chip body provided in an embodiment of the present application.
[0040] As an example, the embodiment of the present application adopts a multi-chip layout method of one large chip plus eight small chips, such as Figure 2 (a) Figure 2 (b) Figure 2 As shown in (c) in . Figure 2 The layout method (a) is to place the large chip in the center of the circuit board, and the other 8 small chips are evenly distributed around the large chip. Figure 2 In the layout method (b), the large chip is still placed in the center of the circuit board, and the other 8 small chips are divided into two groups, one group is placed above the large chip, and the other group is placed below the large chip. Figure 2 The layout method (c) is to place the large chip in the center of the circuit board, take 2 of the other 8 small chips and place them above the large chip, take 2 and place them on both sides of the large chip, and the remaining 4 small chips are placed below the large chip.
[0041] The size of the large chip is 6mm*6mm*0.8mm, the size of the small chip is 3mm*3mm*0.8mm, the center distance between the large and small chips is 10mm, the thermal conductivity of the chip is 80W / m·k, the boundary condition of the finite element thermal analysis is 25℃, the initial temperature is set to 25℃, and the convection heat transfer coefficient is set to 10W / m 2 k, the heat generation rate is obtained by dividing the chip power by the corresponding chip volume.
[0042] The embodiment of the present application takes a multi-chip layout method of 1 large chip plus 8 small chips as an example. When faced with chip layouts with different requirements, the digital twin model constructed in the embodiment of the present application can still be used. This application does not make specific limitations on the number, size and multi-chip layout method of chips.
[0043] As another embodiment of the present application, constructing at least two digital twin models of the multi-chip body includes:
[0044] Acquire three-dimensional geometric models of at least two different arrangements of the multi-chip body;
[0045] Obtain a heat transfer model;
[0046] Based on each three-dimensional geometric model of the multi-chip body and the heat transfer model, a digital twin model corresponding to each three-dimensional geometric model of the multi-chip body is constructed.
[0047] The embodiment of the present application is used to determine the construction of a digital twin model of a multi-chip body composed of multiple chips, in the hope of determining the target three-dimensional geometric model of the multi-chip body by predicting the hotspot temperatures of the digital twin model of each multi-chip body. The layout of the multi-chip body in the target three-dimensional geometric model is the optimal thermal layout of the multi-chip body. This layout can effectively reduce the maximum temperature of the multi-chips and avoid the local temperature of one or some chips being too high, affecting the chip's performance.
[0048] Due to the different geometric arrangements of the three-dimensional geometric model of the multi-chip body, the power consumption of multiple chips is also different. The hotspot temperatures of the digital twin models corresponding to the three-dimensional geometric models of the multi-chip body in each multi-chip layout method are also different. Therefore, it is necessary to find an optimal layout method for multiple chips in the three-dimensional geometric model of the multi-chip body so that the maximum temperature of the multiple chips can reach a lower level.
[0049] In the specific implementation, it is first necessary to obtain a multi-chip body corresponding to multiple chips arranged in different arrangements to obtain at least two different arranged three-dimensional geometric models of the multi-chip body, where the different arrangements of multiple chips can be regarded as different three-dimensional geometric models of the multi-chip body.
[0050] As mentioned above, as an example of a three-dimensional geometric model of a multi-chip body, a multi-chip layout method of one large chip plus eight small chips is adopted in the embodiment of the present application, and three different arrangements of three-dimensional geometric models of the multi-chip body are obtained, such as Figure 2 (a) Figure 2 (b) Figure 2 In order to predict the hotspot temperature of the digital twin model corresponding to each of the three-dimensional geometric models of the multi-chip body in each multi-chip layout method, it is necessary to obtain the heat transfer model of the multi-chip body.
[0051] In specific implementation, heat transfer is the process of heat being transferred from a chip with a high temperature to a chip with a low temperature, or from a high temperature part of a chip to a low temperature part of a chip.
[0052] Based on the three-dimensional geometric model and heat transfer model of the multi-chip body in each multi-chip layout method, a digital twin model of the multi-chip body corresponding to multi-chips with different arrangement methods is constructed. At this time, different digital twin models correspond to different three-dimensional geometric models of the multi-chip body.
[0053] In the specific implementation, based on the above Figure 2 (a) Figure 2 (b) Figure 2 The three 3D geometric models and heat transfer models of the multi-chip body corresponding to (c) are constructed as follows: Figure 2 (a) Figure 2 (b) Figure 2 The three multi-chip arrangements in (c) correspond to three digital twin models respectively.
[0054] As another embodiment of the present application, the heat transfer model includes a model of heat generated by each chip in the multi-chip body, a heat conduction model between chips in the multi-chip body, and a heat convection model.
[0055] The embodiment of the present application is used to obtain a heat transfer model of a multi-chip body, hoping to determine the optimal thermal layout of a multi-chip body composed of multiple chips by predicting the hotspot temperature of the digital twin model corresponding to each three-dimensional geometric model of the multi-chip body, thereby reducing the maximum temperature of multiple chips with different arrangements in the multi-chip body.
[0056] In the specific implementation, it is first necessary to determine that the temperature of the chip that constitutes the integrated circuit is not only affected by the heat generated by the chip itself, but also by the heat generated by the components around the chip during normal operation.
[0057] As an example, a three-dimensional geometric model of a multi-chip body corresponding to a digital twin model consists of one large chip and eight small chips. The temperature of the large chip in the large chip body will be affected not only by the heat generated by the large chip itself, but also by the heat generated by the eight surrounding small chips.
[0058] In the embodiment of the present application, heat transfer is the process of heat being transferred from a chip with a high temperature to a chip with a low temperature, or from a high temperature part of a chip to a low temperature part of a chip.
[0059] Heat conduction is the phenomenon of heat transfer caused by temperature differences between two objects in contact or between parts of the same object, for example, heat is transferred from one part of a system to another or from one system to another.
[0060] Thermal convection is the process of transferring heat by the flow of a medium around a heat source. For example, heat is transferred from one place to another in space through a flowing medium. The flowing medium may be air, for example.
[0061] In specific implementation, the heat generated by the chip itself can be approximately regarded as its power consumption. The temperature calculation formula when only the heat generated by the chip itself is affected is:
[0062] T1=PR+T a (1)
[0063] In formula (1), P is the chip thermal power, R is the package thermal resistance constant, and T a is the ambient temperature, and formula (1) is a model for the heat generated by each chip in the multi-chip body.
[0064] Heat conduction is the phenomenon of heat transfer between two objects in contact or between parts of the same object due to temperature differences. Figure 2 (a) Figure 2 (b) Figure 2 In the three chip layout methods (c), since the power consumption of large chips and small chips is different, their heat generation rates are also different, and the temperature difference between each chip is also different, so heat conduction becomes the most significant way to transfer heat between chips, which follows Fourier's law:
[0065]
[0066] In formula (2), Q1 is the heat transferred by heat conduction, k is the thermal conductivity, A1 is the cross section along the conduction direction, ΔT1 is the temperature difference between adjacent chips, and ΔL represents the length of heat conduction. Formula (2) is the heat conduction model between chips in the multi-chip body.
[0067] Thermal convection is the process of transferring heat by the flow of medium around the heating element. Figure 2 (a) Figure 2 (b) Figure 2 Among the three chip layouts in (c), thermal convection is the most significant heat dissipation method for the chip. The entire heat dissipation process obeys Newton's cooling law, that is, under natural convection conditions, the heat flow equation from the surface of the heat-generating chip to the surrounding space is:
[0068] Q2=A2hΔT2(3)
[0069] In formula (3), Q2 is the heat exchanged by thermal convection, A2 is the surface area of the object in contact with the fluid, h is the convection heat transfer coefficient, ΔT2 is the temperature difference between the surface of the object and the surrounding fluid, and formula (3) is the thermal convection model between the chips in the multi-chip body.
[0070] S102, predicting the hot spot temperature of each digital twin model of the multi-chip body.
[0071] The embodiment of the present application is used to predict the hotspot temperature of a digital twin model of a multi-chip body composed of multiple chips in different arrangements, in the hope of determining the optimal thermal layout of the multi-chip body. An integrated circuit composed of multiple chips in the manner of the optimal thermal layout can effectively reduce the hotspot temperature of the multiple chips and improve the performance of the chips.
[0072] Among them, for an integrated circuit composed of multiple chips arranged in different ways, the temperature corresponding to the position of the highest temperature point on the integrated circuit is the hotspot temperature.
[0073] As an embodiment of the present application, predicting the hotspot temperature of each digital twin model of the multi-chip body includes:
[0074] A back propagation neural network and a particle swarm optimization algorithm are used to predict the hotspot temperature of each digital twin model of the multi-chip body.
[0075] In the embodiments of the present application, the back propagation neural network, also known as the BP neural network, is a feedforward neural network model that uses error back propagation. The BP neural network can learn and store a large number of input-output pattern mapping relationships without revealing the mathematical equations that describe this mapping relationship in advance. Each time, an error analysis is performed based on the output value and expected value obtained through training, and the weights and thresholds of the network are continuously adjusted through back propagation. It is gradually iterated until the error between the network output value and the expected value is within a certain range, or the network output value and the expected value are finally consistent. It can be used to predict the hotspot temperature of the digital twin model corresponding to the three-dimensional geometric model of the multi-chip body under different multi-chip arrangements.
[0076] The particle swarm optimization algorithm, also known as the PSO algorithm, is an optimization algorithm based on iteration. Its basic principle is inspired by the results of modeling and simulation research on bird group behavior. There is no crossover, mutation and other operations in the particle swarm algorithm. The overall number of parameters is reduced, the overall calculation process is simple, and it is easier to achieve the purpose of finding the optimal solution. The search process is a process of finding and tracking the optimal particles by continuously updating their speed and position in space. It can be used to predict the individual optimal position of particles in the population and the optimal position of the group.
[0077] After obtaining at least two digital twin models of the multi-chip body constructed as described above, the hotspot temperature of each digital twin model of the multi-chip body is predicted by using a back propagation neural network and a particle swarm optimization algorithm. This algorithm using a particle swarm optimization algorithm and a back propagation neural network can be recorded as a PSO-BP neural network algorithm. Since the weights and threshold initial values of the back propagation neural network algorithm have a great influence on its output results, it is easy to fall into a local extreme point during forward propagation, the learning time during the optimization process is too long, the number of algorithm iterations is large, and the convergence speed is slow, so the particle swarm optimization algorithm is combined with the back propagation neural network on the basis of the back propagation neural network, so that the back propagation neural network avoids falling into the local optimal solution, and improves the prediction accuracy of the back propagation neural network.
[0078] As another embodiment of the present application, the method of using a back propagation neural network and a particle swarm optimization algorithm to predict the hotspot temperature of each digital twin model of the multi-chip body includes:
[0079] Get the initial weights and thresholds of each layer in the back-propagation neural network;
[0080] Using the initial weights and thresholds of each layer in the back propagation neural network as the position and velocity of particles in the particle swarm optimization algorithm;
[0081] The difference between the predicted value and the expected value of the back propagation neural network is used as the fitness function in the particle swarm optimization algorithm;
[0082] Find individual extreme values and group extreme values through the particle swarm optimization algorithm;
[0083] Using the individual extreme value and the group extreme value found by the particle swarm algorithm as the optimal initial weight and the optimal threshold in the back propagation neural network;
[0084] The back propagation neural network assigned with the optimal initial weight and the optimal threshold is used to predict the hot spot temperature of each digital twin model of the multi-chip body.
[0085] The back propagation neural network algorithm combined with the particle swarm optimization algorithm maps the initial weights and thresholds of each layer of the back propagation neural network to the position and velocity of the particles in the particle swarm optimization algorithm, and uses the difference between the predicted value and the expected value of the back propagation neural network as the fitness function in the particle swarm optimization algorithm. When the fitness value reaches the set accuracy or the iteration reaches the set number of times, the iteration is terminated, thereby obtaining the optimal initial weights and optimal thresholds.
[0086] Figure 3 A schematic diagram of a process for predicting hotspot temperature by back propagation neural network and particle swarm optimization algorithm provided in an embodiment of the present application is shown.
[0087] like Figure 3 As shown, the back propagation neural network and particle swarm optimization algorithm process in the method for determining the multi-chip thermal layout provided by the embodiment of the present application can be summarized as follows: first, determine the structure of the BP neural network, initialize the number of weight thresholds of the BP neural network, and obtain the initial weights and thresholds of each layer in the back propagation neural network; use the initial weights and thresholds of each layer in the back propagation neural network as the position and speed of the i-th particle in the particle swarm optimization algorithm; then use the difference between the predicted value and the expected value of the back propagation neural network as the fitness function in the particle swarm optimization algorithm, and determine the fitness value F of each particle according to the fitness function formula; update the position, speed and fitness function of the particle according to the individual extreme value, group extreme value and fitness function of the particle; for each particle, there will be a fitness value and the best individual position P that has been obtained. i , by comparing the two, if P i Better, use P i Replace the fitness value F; at the same time, compare its fitness value F with the best group position P already obtained in the particle swarm g , by comparing the two, if the best group position P g Better, use the best group position P g Replace the fitness value F; update the individual extreme value and group extreme value of the particle according to the updated particle position, speed and fitness function; in each iteration, if the updated individual extreme value and group extreme value do not meet the conditions for the end of optimization, the particle position and speed are updated again; if the updated individual extreme value and group extreme value meet the conditions for the end of optimization, the optimal solution found by each particle is P i , the optimal solution found by the entire population is P g ; The particle swarm optimization algorithm finds the best position P of the individual i and the group's best position P gTo obtain the optimal initial weights and optimal thresholds of the back propagation neural network; calculate the error between the output value and the expected value of the network; the BP neural network is given the optimal initial weights and optimal thresholds as input learning samples, and the weights and thresholds of the network are repeatedly adjusted and trained using the back propagation neural network algorithm to make the output value as close to the expected value as possible; if the sum of the squares of the errors of the network output layer is not less than the specified error, return to the calculation of the network error; when the sum of the squares of the errors of the network output layer is less than the specified error, the training is completed, the weights and thresholds of the network are saved and updated, and the final output prediction results are obtained, that is, the hotspot temperatures of each digital twin model of the multi-chip body are predicted.
[0088] The particle swarm optimization algorithm is used to find the optimal individual position and the optimal group position to obtain the optimal initial weights and thresholds of the back propagation neural network. This PSO-BP neural network algorithm avoids the single back propagation neural network using the error back propagation network connection weight adjustment, is not easy to fall into the local optimal solution, and improves the prediction accuracy of the back propagation neural network.
[0089] The particle characteristics in the PSO-BP neural network algorithm are mainly characterized by three factors: particle position, velocity and fitness value, which are updated as follows:
[0090] (1) Particle update processing
[0091] Each particle represents a solution in n-dimensional space, and its position and vector are X i =(X i1 ,X i2 ,…,X i3 ) and V i =(V i1 ,V i2 ,…,V im ), P i represents the optimal state that each particle passes through, P g represents the optimal state that the group has passed through,
[0092] The velocity update formula for each particle is:
[0093]
[0094] The position update formula is:
[0095]
[0096] In formula (4) and formula (5), k is the current iteration number; Refers to the k+1th generation movement speed of the ith particle in the population; represents the k-th generation moving speed of the ith particle; represents the optimal state of each particle in the kth generation, represents the optimal state of the kth generation passed by the group; w is the inertia weight; r1 and r2 are random numbers between 0 and 1; c1 and c2 are acceleration factors of the particles, which are non-negative constants. In the embodiment of the present application, c1=c2=2 is taken.
[0097] (2) Fitness function
[0098] The initial value of the network is obtained by encoding, and the error between the predicted value and the expected value of the back propagation neural network is used as the fitness function in the particle swarm optimization algorithm. The calculation formula is:
[0099]
[0100] In formula (6), n is the number of output nodes; y i is the expected output of the i-th node of the back propagation neural network; z i is the predicted output of the i-th node of the back-propagation neural network; k is a constant; abs is also a constant.
[0101] (3) Inertia weight
[0102] The inertia weight during particle evolution is:
[0103]
[0104] In formula (7), i max Refers to the maximum number of iterations of the particle swarm; i t Refers to the current iteration number of the particle; w max is the maximum inertia weight; w min is the minimum inertia weight.
[0105] The particle swarm optimization algorithm is used to find the optimal individual position and the optimal group position to obtain the optimal initial weight and optimal threshold of the back propagation neural network, which are used for sample training and verification of prediction results of network output. This application constructs a digital twin model, imports the physical chip parameters into the digital twin model, and then predicts the hot spot temperature of multiple chips in the digital twin model through the PSO-BP neural network algorithm.
[0106] In an embodiment of the present application, the input parameters of the back propagation neural network include: power consumption of multiple chips, ambient temperature, and heat conduction length between chips, and the output parameters of the back propagation neural network include hot spot temperature.
[0107] Based on the analysis of hotspot temperature of the digital twin model of multi-chip body, multi-chip power consumption Q, ambient temperature T a, the inter-chip heat conduction length L are the input parameters of the back propagation neural network, where the multi-chip power consumption Q includes the heat generated by the chip itself, the heat transferred by heat conduction Q1 and the heat exchanged by heat convection Q2; the hot spot temperature is the output parameter of the back propagation neural network. Figure 2 (a) Figure 2 (b) Figure 2 The maximum chip temperature under the three chip layouts in the digital twin model of the multi-chip body corresponding to each of (c) is predicted to obtain the optimal chip layout method. In the embodiment of the present application, the input data matrix x and the output data matrix y are:
[0108] x=[Q,T a ,L](8)
[0109] y=[T h ](9)
[0110] S103, determining a target three-dimensional geometric structure of the multi-chip body according to the hotspot temperatures of the at least two digital twin models of the multi-chip body, wherein a layout of the multi-chip body in the target three-dimensional geometric model is a thermal layout of the multi-chip body.
[0111] In the implementation of this application, two three-dimensional models with the lowest hotspot temperatures are combined into a target three-dimensional geometric model. For example, a part of a three-dimensional geometric model is selected, and then a part of another three-dimensional geometric model is selected to combine into a new target three-dimensional geometric model.
[0112] As another embodiment of the present application, determining the target three-dimensional geometric model of the multi-chip body according to the hotspot temperatures of the at least two digital twin models of the multi-chip body includes:
[0113] The three-dimensional geometric model corresponding to the digital twin model with the lowest hotspot temperature among the at least two digital twin models of the multi-chip body is selected as the target three-dimensional geometric model of the multi-chip body.
[0114] As mentioned above, after obtaining the hotspot temperatures of the digital twin models under different multi-chip layout methods, the hotspot temperatures of each digital twin model are compared. Based on the degree of temperature influence, the multi-chip layout corresponding to the three-dimensional geometric model with the least temperature influence, that is, the lowest hotspot temperature, is found as the optimal thermal layout.
[0115] This application constructs a digital twin model, imports the physical chip parameters into the digital twin model, and then predicts the hot spot temperature of the chip in the digital twin model through the PSO-BP neural network algorithm, and finally obtains the following Figure 2 (a) Figure 2 (b) Figure 2 (c) The highest chip temperature of the digital twin model under the three layout methods, that is, the hot spot temperature, is T h1 , T h2 , T h3 , and then compare the sizes of the three hotspot temperatures to obtain the three-dimensional geometric model corresponding to the digital twin model with the lowest hotspot temperature. At this time, the three-dimensional geometric model is the target three-dimensional geometric model of the multi-chip body, and the layout method of the multi-chip body in the target three-dimensional geometric model is the optimal thermal layout method of the multi-chip body to be found in this application.
[0116] It should be noted that the above only lists possible implementation methods of the multi-chip thermal layout determination method, which is used to illustrate the multi-chip thermal layout determination method claimed by the present application. The target three-dimensional geometric model of the multi-chip body can be determined based on the hotspot temperatures of the at least two digital twin models of the multi-chip body. The layout method of the multi-chip body in the target three-dimensional geometric model is the thermal layout method of the multi-chip body. The specific form of the three-dimensional geometric model is not limited here.
[0117] The present application constructs at least two digital twin models of a multi-chip body, wherein each digital twin model corresponds to a three-dimensional geometric model of the multi-chip body; predicts the hotspot temperature of each digital twin model of the multi-chip body; determines the target three-dimensional geometric model of the multi-chip body according to the hotspot temperatures of the at least two digital twin models of the multi-chip body, and the layout mode of the multi-chip body in the target three-dimensional geometric model is the thermal layout mode of the multi-chip body. In the present application, firstly, at least two digital twin models of a multi-chip body are constructed, and then the hotspot temperature of each digital twin model of the multi-chip body is predicted, and finally the target three-dimensional geometric model of the multi-chip body is determined according to the hotspot temperature of each digital twin model of the multi-chip body; this multi-chip thermal layout determination method can improve the determination accuracy and efficiency of the multi-chip thermal layout determination method.
[0118] It should be understood that the order of execution of each step in the method for determining the multi-chip thermal layout in the above embodiment does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
[0119] Corresponding to the multi-chip thermal layout determination method described in the above embodiment, Figure 4 A multi-chip thermal layout determination device provided in an embodiment of the present application is shown. For ease of explanation, only the parts related to the embodiment of the present application are shown.
[0120] The multi-chip thermal layout determination device comprises:
[0121] A construction module 41 is used to construct at least two digital twin models of the multi-chip body, wherein each digital twin model corresponds to a three-dimensional geometric model of the multi-chip body;
[0122] A prediction module 42, configured to predict the hotspot temperature of each digital twin model of the multi-chip body after the construction module 41 constructs at least two digital twin models of the multi-chip body;
[0123] Determination module 43: used to determine the target three-dimensional geometric model of the multi-chip body according to the hotspot temperatures of the at least two digital twin models of the multi-chip body predicted by the prediction module 42, and the layout mode of the multi-chip body in the target three-dimensional geometric model is the thermal layout mode of the multi-chip body.
[0124] The module described above can also implement other steps in the above method embodiment to determine the optimal thermal layout of multiple chips.
[0125] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / modules are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0126] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. The functional modules in the embodiment can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one unit, and the above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of each module in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0127] The present application also provides an electronic device, see Figure 5 The electronic device 50 may include: at least one processor 51, a memory 52, and a computer program stored in the memory 52 and executable on the at least one processor 51. When the processor 51 executes the computer program, the steps in any of the above-mentioned method embodiments are implemented, for example: Figure 1 Steps S101 to S103 in the embodiment shown. Alternatively, when the processor 51 executes the computer program, the functions of the modules in the above-mentioned device embodiments are realized, for example Figure 4 The functions of modules 41 to 43 are shown.
[0128] Exemplarily, the computer program may be divided into one or more modules / units, one or more modules / units are stored in the memory 52, and executed by the processor 51 to complete the present application. The one or more modules / units may be a series of computer program segments that can complete specific functions, and the program segments are used to describe the execution process of the computer program in the electronic device 50.
[0129] Those skilled in the art will understand that Figure 5 These are merely examples of electronic devices and do not constitute a limitation of the electronic device. The electronic device may include more or fewer components than those shown in the figure, or a combination of certain components, or different components, such as input and output devices, network access devices, buses, etc.
[0130] The processor 51 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.
[0131] The memory 52 may be an internal storage unit of the electronic device, or an external storage device of the electronic device, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. The memory 52 is used to store the computer program and other programs and data required by the electronic device. The memory 52 may also be used to temporarily store data that has been output or is to be output.
[0132] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0133] The multi-chip thermal layout determination method provided in the embodiment of the present application can be applied to electronic devices such as computers, tablet computers, laptop computers, netbooks, personal digital assistants (PDAs), etc. The embodiment of the present application does not impose any restrictions on the specific types of electronic devices.
[0134] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0135] An embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0136] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / electronic device, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0137] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0138] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0139] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0140] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0141] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A method for determining a multi-chip thermal layout, characterized in that: The method comprises: Constructing at least two digital twin models of the multi-chip body, wherein each digital twin model corresponds to a three-dimensional geometric model of the multi-chip body; predicting a hotspot temperature of each digital twin model of the multi-chip body; Determining a target three-dimensional geometric model of the multi-chip body according to the hotspot temperatures of the at least two digital twin models of the multi-chip body, wherein the layout of the multi-chip body in the target three-dimensional geometric model is a thermal layout of the multi-chip body; Wherein, predicting the hot spot temperature of each digital twin model of the multi-chip body includes: Get the initial weights and thresholds of each layer in the back-propagation neural network; Using the initial weights and thresholds of each layer in the back propagation neural network as the positions and velocities of particles in the particle swarm optimization algorithm; The difference between the predicted value and the expected value of the back propagation neural network is used as the fitness function in the particle swarm optimization algorithm; Find individual extreme values and group extreme values through the particle swarm optimization algorithm; Using the individual extreme value and the group extreme value found by the particle swarm optimization algorithm as the optimal initial weight and the optimal threshold in the back propagation neural network; The back propagation neural network assigned with the optimal initial weight and the optimal threshold is used to predict the hot spot temperature of each digital twin model of the multi-chip body.
2. The method according to claim 1, characterized in that The constructing of at least two digital twin models of the multi-chip body comprises: Acquire three-dimensional geometric models of at least two different arrangements of the multi-chip body; Obtain a heat transfer model; Based on each three-dimensional geometric model of the multi-chip body and the heat transfer model, a digital twin model corresponding to each three-dimensional geometric model of the multi-chip body is constructed.
3. The method according to claim 2, characterized in that The heat transfer model includes a model of heat generated by each chip in the multi-chip body, a heat conduction model between chips in the multi-chip body, and a heat convection model.
4. The method according to claim 1, characterized in that The input parameters of the back-propagation neural network include: power consumption of multiple chips, ambient temperature, and heat conduction length between chips, and the output parameters of the back-propagation neural network include hot spot temperature.
5. The method according to any one of claims 1 to 4, characterized in that: Determining the target three-dimensional geometric model of the multi-chip body according to the hotspot temperatures of the at least two digital twin models of the multi-chip body includes: The three-dimensional geometric model corresponding to the digital twin model with the lowest hotspot temperature among the at least two digital twin models of the multi-chip body is selected as the target three-dimensional geometric model of the multi-chip body.
6. A multi-chip thermal layout determination device, characterized in that: include: A construction module, used to construct at least two digital twin models of the multi-chip body, wherein each digital twin model corresponds to a three-dimensional geometric model of the multi-chip body; A prediction module, used to predict the hot spot temperature of each digital twin model of the multi-chip body; A determination module: used to determine a target three-dimensional geometric model of the multi-chip body according to the hotspot temperatures of the at least two digital twin models of the multi-chip body, wherein the layout mode of the multi-chip body in the target three-dimensional geometric model is the thermal layout mode of the multi-chip body; The prediction model is also used to: Get the initial weights and thresholds of each layer in the back-propagation neural network; Using the initial weights and thresholds of each layer in the back propagation neural network as the positions and velocities of particles in the particle swarm optimization algorithm; The difference between the predicted value and the expected value of the back propagation neural network is used as the fitness function in the particle swarm optimization algorithm; Find individual extreme values and group extreme values through the particle swarm optimization algorithm; Using the individual extreme value and the group extreme value found by the particle swarm optimization algorithm as the optimal initial weight and the optimal threshold in the back propagation neural network; The back propagation neural network assigned with the optimal initial weight and the optimal threshold is used to predict the hot spot temperature of each digital twin model of the multi-chip body.
7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
