Temperature Curve of Reflow Furnace Based on Newton’s Law of Cooling

: Soldering in a reﬂow oven is an important and efﬁcient technical means to produce integrated circuit boards. The key to the quality of integrated circuit boards lies in the furnace temperature curve. In this paper, Newton’s law of cooling is used to establish the mechanism model of the temperature of each zone of the furnace and the curve of furnace temperature, which can reduce the number of experiments in actual production and obtain a better furnace temperature curve, thus improving production efﬁciency. Finally, several concrete examples are given to discuss and solve some common problems in the industry.


Introduction
Integrated circuits, also known as microcircuits, are a kind of miniature electronic device or component, and they are also indispensable electronic components in modern electronic products.Reflow soldering is a modern technology that can miniaturize and fix circuit components on semiconductor chips, which effectively reduces the wastage of components and greatly improves the performance of products.The production of an integrated circuit board involves putting it into a reflow oven and soldering electronic components to the circuit board by means of heating.In this process, whether the temperature in each area of the reflow oven can be kept within the optimal range or not determines the quality of the product.How to control the temperature in each area is the key to producing high-quality circuit boards.
At present, in actual production, the method of experiments [1][2][3][4][5][6][7] is mainly used to set and control the temperature of each zone for different functions, that is, the temperature is controlled and adjusted through experiments, which means that it takes a lot of time and materials to obtain a furnace temperature curve that adapts to the production process requirements.
With the rapid development of electronic technology, the requirements of various industries for the quality of electronic components and integrated circuit boards are gradually improving, so it is particularly urgent to study the furnace temperature curve.
Several small temperature zones are set inside a reflow oven, which can be divided into four large temperature zones according to their functions: preheating zone, constant temperature zone, reflow zone, and cooling zone (shown in Figure 1).Both sides of the circuit board ride on the conveyor belt and enter the oven for heating and welding at a constant speed.In this paper, the curve of furnace temperature is analyzed and studied by establishing a mechanism model that can reduce the number of experiments in actual production and obtain a better furnace temperature curve, thus improving production efficiency.Moreover, several concrete examples are given to discuss and solve some common problems in the industry.

Differential Model of Temperature Change in Welding Area
In the process of integrated circuit board soldering, the initial temperature of the circuit board is the indoor temperature.After the reflow oven is started, the air temperature in the oven reaches stability in a short time.After the temperature is stabilized, the circuit board enters the reflow oven on the conveyor belt at a constant speed.The temperature of each small temperature zone and the speed of the conveyor belt passing through the furnace are known.The derivative of the temperature of the circuit board with respect to time is the embodiment of the temperature rise and fall speed of the circuit board, and the rates of temperature increase and decrease are proportional to the difference between the circuit board and the ambient temperature.When the difference between the ambient temperature and the circuit board is large, the temperature of the circuit board changes quickly.When the difference decreases, the temperature changes slowly.Therefore, we use Newton's law of cooling to study the relationship between the central temperature of the welding area and the temperature in the small temperature zone.
Taking the temperature of the welding area as the research object, the law of the furnace temperature curve is found from the angle of temperature change.It is known that the temperature of the welding area satisfies Newton's law of cooling.
We will slightly modify this formula to facilitate the handling of problems.Let us assume that the temperature of the welding area is T(t), and at this time, the circuit board is about to enter the reflow oven.Setting the front end of the oven area as the origin, x is the position of the welding area (preheating zone, constant temperature zone, reflow zone, and cooling zone); C(x) is the ambient temperature of the welding area; and k is the influence coefficient reflecting the speed of temperature change, that is, k is the proportional coefficient of the heat loss per unit time of the object and the difference in the temperatures between the body and its environment.The position of the circuit board changes with time.Then, the ambient temperature around the welding area changes, which is influenced by the position of the circuit.The environmental temperature function is C(x); the temperature change between temperature zones is continuous, and it represents the smooth curve in the image.Therefore, it is judged that it has the form of a piecewise smooth function as follows: x ∈ [x 0 , x 1 ), T 1 x ∈ [x 1 , x 2 ), . . .
where T i (i = 1, 2, • • • n) is the center temperature zone of each small zone and K j (x) (j = 1, 2, • • • , n + 1) represents the temperature of the area before and after the furnace and the gap.We represent the temperature in the center of each small temperature with T i , and supplement the temperature data between the centers of two adjacent temperature zones using cubic interpolation in [24,25] to confirm function C(x) of the whole interval.The specific construction method is shown in Table 1.
Table 1.Construction method of ambient temperature.

Construction Method of C(x)
Step 1 For a small temperature area, its temperature is T ′ , and we set the midpoint of the small temperature range as x 0 ; then, we intercept a small neighborhood U(x 0 , ǫ) (∀ǫ > 0) centered on this point.The figures of C(x) in this neighborhood are defined as T ′ .
Step 2 For two adjacent and small temperature zones a and b, and the gap between adjacent temperature zones, and for each small temperature zone, we choose the middle point and its neighborhood as in step 1, and respectively record them as x a , x b , U(x a , ǫ), and U(x b , ǫ) (∀ǫ > 0).According to x a and x b , for interval [x a + ǫ, x b − ǫ], we can carry out cubic interpolation to obtain temperature function K ′ (x) in this interval.
Step 3 Generally speaking, in a reflow oven, the set temperature of small temperature zone 1 is quite different from the temperature at the beginning of the furnace front area, but in order to conform to reality, the temperature change should be slow and continuous.We take the distance from the beginning of the furnace front area to the end of small temperature zone 1 as the buffer distance of the temperature change and record it as [x 0 , x 1 ).In this interval, according to the given temperature at both ends, K 1 (x) is obtained with the cubic interpolation method.
Step 4 In the same way as in step 3, because the set temperature of small temperature zone 10 and small temperature zone 11 is the same as the room temperature, the distance from the end of small temperature zone 9 to the end of the rear furnace zone is taken as the buffer zone of temperature change and is recorded as is obtained by means of cubic interpolation according to the given temperature at both ends.At the same time, From a physical point of view, this construction method can make the model more practical.The temperature in different temperature zones is different.The temperature zone in which the circuit board is currently located can be indicated by the speed and transmission time of the conveyor belt, which means that the position of soldering area x is function x(t) = vt, where v represents the speed of the conveyor belt.On the premise that time is measurable, the temperature zone of the circuit board is also known.The initial time is recorded as t 0 = 0; then, C(x) and K j (x) can also be seen as functions C ′ (t) and K ′ (t), that is, and under the condition of no ambiguity, the following uses mark C ′ (t) instead of C(t).
To sum up, our question lies in studying the mechanism model where T(t) is the furnace temperature curve under study; k is the heat transfer coefficient, that is, k is the proportional coefficient of the heat loss per unit time of the object and the difference in the temperatures between the body and its environment; and C(t) is the welding area at the time t ambient temperature of the location.We set the corresponding temperature of every moment t i as F(t i ), and ∆t i = t i+1 − t i is the time interval (i = 1, 2, • • • , N).We write Equation (1) as the difference form as follows: also denoted as

Determining Coefficient K Using Trial Solution
For each pending k, simulated furnace temperature curve T(t) can be obtained with an iterative solution, which means that by changing Equation (2) to a difference equation satisfying the initial conditions, the difference equation can be solved with the Euler method in [25].
where k is the coefficient and θ is the initial temperature.For each discrete point t i , when the ambient temperature of the welding area, C(t i ), is known and k is given, T i+1 can be calculated by knowing . We can obtain all the corresponding results T n by means of iteration.It is easy to know each group T n defined by k, so it is function T n (k).Then, according to each t i , we can find the corresponding appendix temperature data F(t i ).When the variance of T n (k) and F(t i ) is the smallest, it represents that the furnace temperature curve determined by k is best fitted with the furnace temperature curve given in the attachment, and what is required at this time is the optimal solution.
To sum up, the problem turns into seeking the best k, so that objective function Z is the smallest.At the same time,

Feasibility Test of the Model
In this section, we test the model with an example.We assume that the number of small temperature zones of the reflow oven is 11, the length of each small temperature zone is 30.5 cm, the gap between the small temperature zones is 5 cm, and the areas in front of and behind the reflow oven are 25 cm.The gap and the temperatures in front of and behind the oven do not need special treatment.Taking the furnace temperature curve drawn in an experiment as a reference, we establish a mathematical model and solve the problem according to the law of this temperature change.For the experimental data, we use the method described above to fit the temperature curve, and the steps are shown below.
First, we construct function C(t) according to Table 2.
Table 2. Construction method of experimental ambient temperature.

Construction Method of C(t)
Step 1 The set temperature of small temperature zones 1~5 is 175 • C; small temperature zone 1 is affected by the area in front of the furnace, and small temperature zone 5 is affected by small temperature zone 6, so we define function C(t) in interval [55.5, 187.5).According to the given speed, v = 70 cm/min, we convert interval [55.5, 187.5) into the corresponding interval.We make the value of function C(t) in the interval be equal to 175 • C. Similarly, for small temperature zone 8 and small temperature zone 9, the interval of x is [283.5, 338.5).We convert it into the corresponding interval; then, the value of function C(t) in the interval is 255 • C.

Step 2
The set temperatures at the center of small temperature zones 6 and 7 are 195 • C and 235 • C. According to the relationship between x and t, we can obtain C(t).
Step 3 For small temperature zone 1 and the furnace front zone, we manage our ambient temperature in the interval of [0, 55.5) using the cubic interpolated method according to the above method and obtain C(t).
Step 4 For small temperature zones 10 and 11, and the area behind the furnace, our ambient temperature in interval [338.5, 435.5] is cubic-interpolated according to the above method, and we obtain C(t).
So far, we have determined function C(t).The result is shown in Figure 2.This figure shows the change in the set temperature in the area where the element is located as it moves over time.Next, Equation ( 2) is rewritten into the following difference equation, which is solved with the Euler method: T 1 = 30.03.
According to existing calculation studies, it can be preliminarily determined that k ranges in [0.005, 0.03].With k as the independent variable, we draw an image of the objective function, and the result is shown in Figure 3.This figure shows the change in error with the change in k.
The k that gains the best condition is 0.021.We substitute the result into Formula (1) and solve T(t).The comparison with the experimental data is shown in Figure 4.It is found that the simulated curve is consistent with the actual curve, which proves that the model is reasonable.

Solutions to Common Problems in Several Industries
In this section, several concrete examples will be given to discuss and solve some common problems in the industry.

Drawing Furnace Temperature Curves in Different Temperature Environments
It is assumed that the conveying speed of the conveyor belt is 78 cm/min; the temperatures of small temperature zones 1~5 are all the same, 173 • C; the temperatures of small temperature zones 6 and 7 are 198 • C and 230 • C, respectively; small temperature zones 8 and 9 have the same temperature, 257 • C; and small temperature zones 10 and 11 have the same temperature, 25 • C.This chapter will next discuss the method application.
Following the discussion on k in the previous section, we substitute it into Equation (1).At this time, the relationship of temperature T of the welding area and time t is determined as According to the discussion, we only need to make the corresponding modification on C(t), and the modified result is shown in Figure 5.This figure shows the temperature set for each temperature zone.Then, we use two ways to solve problem T(t), which are iteration and difference equations, to obtain the numerical solution.The obtained T(t) is shown in Figure 5b.This figure shows the simulated furnace temperature curve.With this simulation, we can obtain some commonly used data in industrial production, which are shown in Table 3. From this table, we can know the temperature around the element when it passes through the corresponding position.

Optimization of Furnace Speed
When reflow soldering circuit boards are running, the curve of furnace temperature needs to meet a certain condition, which is the process limit.Therefore, this chapter will discuss how to calculate the maximum transmission speed of the conveyor belt under the premise of not exceeding the process limit.The assumption we have is that the temperature in zones 1~5 is changed to 182 • C; in zone 6, the temperature is changed to 203 • C; in zone 7, the temperature is changed to 237 • C; and in zones 8~9, it is changed to 254 • C. The rest of the situation remains the same as that in Section 4.1.
We assume that the requirements of T(t) are the following: 1.
The temperature rising slope must not exceed 3.

2.
The temperature drop slope must not exceed 3.

3.
The time for the temperature to rise from 150 • C to 190 • C must be between 60 s and 120 s.

4.
The temperature above 217 • C must be maintained for 40 s to 90 s.

5.
The highest temperature should be between 240 Through the preliminary test, conveyor belt speed v is optional in interval [65, 100], which is divided into M values, and we can obtain M data of conveyor belt speeds v i (i = 1, 2, • • • , M). Traversing data from large to small, the maximum furnace passing speed is found under this condition and is 83 cm/min.

Peak Temperature Coverage Problem
When welding, temperatures over 217 • C in the welding area center should not be maintained for a long time, and the maximum temperature should not be too high.
The ideal condition is to minimize the area covered by the temperature curve over 217 • C, as shown in Figure 6.Next, under this condition, we will discuss how to obtain the optimal furnace temperature curve, determine the temperature of each small temperature zone, determine the speed of the conveyor belt passing through the furnace, and obtain the mentioned area.The area covered by the curve of the central temperature of the welding area exceeding 217 • C and reaching the peak value of temperature can be divided.The approximate value of this area is calculated with the summation trapezoid method.
The variable is speed v of the conveyor belt passing through the furnace, and the set temperature values of the temperature zones are C 1 , C 2 , C 3 , and C 4 .From the previous discussion, we know that when a set of data are given as v, C 1 , C 2 , C 3 , and C 4 , a boiler temperature curve T(t) can be uniquely determined with Equation (1).According to boiler temperature curve T(t), the required area of the shadow part can be obtained.
Considering the process boundary and that the temperature adjustment range of each temperature zone does not exceed 10 where Z in the objective function can be regarded as a multivariate function, i.e., If we want to consider every point of the global variable, it is quite difficult to solve it.Therefore, we choose the point-taking traversal method.According to the continuity of temperature change, we can pass, using discrete point-taking traversal, from low precision to fine precision (from large range to small range), find out the possible point of extreme value through step-by-step trial, and narrow the range for this point.Eventually, we can improve the accuracy of the ergodic solution step by step.
In this way, when there are enough cycles, we can obtain the corresponding optimal solution, v, C 1 , C 2 , C 3 , and C 4 , of this problem.The results are shown in Table 4.The four groups of results all meet our expectations; the calculated areas are all 39.94, and their corresponding parameters are all optimal solutions.

Group
The

Symmetry of Peak Temperature Image
When welding, in addition to meeting the process limit, it is also hoped that the furnace temperature curve, with the peak temperature as the center line and both sides exceeding 217 • C, is as symmetrical as possible (see Figure 6).In this paper, using Section 4.3, we will further find the local optimal solution in the vicinity of the optimal solution and obtain the corresponding optimal furnace temperature curve, the temperature set in each temperature zone, and the conveyor belt passing speed.Moreover, the corresponding index values will be given.
According to Formula (1), the furnace temperature curve image should satisfy Assuming that the peak of T(t) is reached at t max , the furnace temperature curve should be symmetrical, with the peak temperature as the center line.
Let us take point t max for central symmetry.Let us set the point to the left as t −1 , t −2 , • • • , and take the right point as t 1 , t 2 , • • • .Now, we just need to make ∑ (T(t −i ) + T(t i )) 2 reach the minimum.
According to the previous discussion, when given a set of data, v, C 1 , C 2 , C 3 , and C 4 , a furnace temperature curve T(t) can be uniquely determined using Equation (1).According to furnace temperature curve T(t), we can find the above variance.
To sum up, our problem comprises decision variables v, C 1 , C 2 , C 3 , and C 4 , and objective function Z = ∑ (T(t −i ) + T(t i )) 2 .
Using Section 4.3, we only need to find the local optimal solution around the four groups of data given in Table 4.
Through calculation, when the objective function is the closest to the expected value, we obtain the results of calculation as shown in Table 5 below.This table shows the furnace passing speed and the set temperature of each temperature zone.

Summary
When an integrated circuit board is soldered in a reflow oven, temperature control seriously affects product quality.At present, temperature is mostly controlled and adjusted using experiments, and the establishment of this model provides a new idea to solve the problem.The mechanism model is used to monitor and control the temperature.According to Newton's law of cooling, the relationship between the ambient temperature and the central temperature of the welding area is obtained.There is only one coefficient to be determined in this relationship.According to existing calculation studies, the optimal thermal conductivity coefficient is obtained with a tentative solution and numerical experiments, which greatly reduces the time complexity of the program and the loss in actual production.The thermal conductivity coefficient is substituted into the original model for operation.It can fit the furnace temperature curve given in the actual experiment well.

Figure 4 .
Figure 4. Simulation curves and experimental data.

Figure 6 .
Figure 6.Area covered by peak temperature.
• C and 250 • C. T(t) ≤ 190 of t compose interval [t s 1 , t e 1 ], which satisfies 60 ≤ |t e 1 − t s 1 | ≤ 120. 3.In all ascending segments, all t of 217 ≤ T(t) meeting the requirements compose the interval of [t s 2 , t e 2 ], which satisfies 40 ≤ |t e 2 − t s 2 | ≤ 90. 4. Finally, 240 ≤ max T(t) ≤ 250.Using the above four constraints in |t e 1 − t s 1 | and |t e 2 − t s 2 |, the model can be recorded as max • C, the model can be recorded as min Z = ∑