Method for controlling temperature of inner cavity of dual-spectrum long-distance field domain temperature measuring equipment

The method uses a temperature prediction model with model predictive control to optimize fan operation, addressing inefficiencies in traditional temperature control by maintaining the inner cavity temperature within a set range, enhancing equipment reliability and efficiency.

CN119088115APending Publication Date: 2024-12-06XIAN TECH UNIV
View PDF 0 Cites 1 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

Traditional temperature control methods for field temperature measurement equipment are inefficient and lead to frequent fan switching, causing unnecessary energy loss and reducing the service life of the equipment due to the complex interaction of structural, ambient, and internal temperature factors.

Method used

A method involving a temperature prediction model that combines the inner cavity and shell temperature models, using model predictive control (MPC) to optimize fan operation based on historical data, real-time measurements, and feedback correction to maintain the inner cavity temperature within a set range, minimizing energy consumption and extending equipment life.

Benefits of technology

The method enhances the robustness, accuracy, and reliability of temperature control, improving equipment efficiency and stability by predicting future temperature changes and adapting fan operation, thus reducing performance degradation and safety risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088115A_ABST
    Figure CN119088115A_ABST
Patent Text Reader

Abstract

The invention discloses a method for controlling the temperature of an inner cavity of dual-spectrum long-distance field-domain temperature measurement equipment, and the method comprises the following steps: constructing a temperature prediction model, and predicting the temperature prediction data of the inner cavity of the field-domain temperature measurement equipment at the current moment through the temperature prediction model; subtracting the temperature prediction data at the current moment from the actual temperature data at the current moment to obtain a temperature prediction error at the current moment; based on the actual temperature data of the inner cavity of the field domain temperature measurement equipment at the current moment and the temperature prediction error at the current moment, solving the temperature optimization objective function to obtain an optimal control variable sequence in a future control time domain; a switch combination sequence enabling the target function to be minimum is searched in the optimal control variable sequence, feedback correction is conducted, and the first switch state in the switch combination sequence subjected to feedback correction is output to the fan system; repeating the process from sampling to solving the switch combination sequence until the end; and regulating and controlling the actual temperature of the inner cavity temperature of the field domain temperature measurement equipment to be within a set temperature interval.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of temperature control, and in particular to a method for controlling the inner cavity temperature of a dual-spectrum long-distance field temperature measuring device. Background Art

[0002] Temperature control in the inner cavity of field temperature measurement equipment is crucial to ensure the stable operation of internal equipment and extend its service life. Too high temperature will cause damage to the internal components of the equipment; while too low temperature will affect the normal function of the equipment and reduce work efficiency. Therefore, by real-time monitoring and adjusting the temperature of the temperature measurement equipment, the health index of the equipment can be effectively improved, ensuring that the equipment operates in the best condition, avoiding potential safety hazards, and thus maintaining the efficiency and safety of the entire system. When the field temperature measurement equipment is working, the temperature of the equipment is greatly affected by factors such as its structure, ambient temperature, and fan speed, and the temperature of the equipment itself is a large hysteresis and nonlinear control object, and the coupling of various influencing factors is strong. The traditional method of controlling the start and stop of the fan with a fixed threshold can achieve cooling, but frequent switching of the fan causes unnecessary losses and may reduce the service life of the fan. Summary of the invention

[0003] Purpose of the invention: In order to overcome the deficiencies in the prior art, the present invention provides a method for controlling the inner cavity temperature of a dual-spectrum long-distance field temperature measurement device, which predicts the temperature changes that may occur in a certain time period in the future, thereby formulating a more accurate and reliable control plan and regulating the actual temperature of the inner cavity of the field temperature measurement device within a set temperature range.

[0004] Technical solution: To achieve the above purpose, a method for controlling the inner cavity temperature of a dual-spectrum long-distance field temperature measurement device of the present invention comprises the following steps:

[0005] Step 1: Combine the temperature rise model of the inner cavity of the field temperature measurement equipment and the discrete model of the equipment shell temperature to obtain a temperature prediction model;

[0006] Step 2: The temperature prediction model predicts the temperature of the inner cavity of the field temperature measuring device according to the actual temperature data of the inner cavity in the history of the field temperature measuring device to obtain the temperature prediction data at the current moment; the temperature prediction data at the current moment is subtracted from the actual temperature data at the current moment to obtain the temperature prediction error at the current moment;

[0007] Step 3: Based on the actual temperature data of the inner cavity of the field temperature measurement equipment at the current moment and the temperature prediction error at the current moment, the temperature optimization objective function is solved to obtain the optimal control variable sequence in the future control time domain;

[0008] Step 4: Find the switch combination sequence that minimizes the objective function in the optimal control variable sequence as the optimal control input, perform feedback correction to obtain a feedback-corrected switch combination sequence, and output the first switch state in the feedback-corrected switch combination sequence to the fan system;

[0009] Step 5: Repeat the process from step 2 to step 4 until the end.

[0010] Furthermore, in the step 1, a temperature rise model of the inner cavity of the field temperature measurement device is established through the heat balance equation and the law of conservation of energy;

[0011] T=T W (1-e -τ / K )

[0012] Where, T w is the difference between the maximum temperature reached in the device cavity and the ambient temperature when stable, and K is the time constant;

[0013]

[0014] Through the thermoelectric similarity theory, a discrete model of the equipment shell temperature is established;

[0015]

[0016] Furthermore, in the step 2, the actual temperature data of the inner cavity of the field temperature measuring device at the current time k+1 is detected and the temperature data at the current time k+1 predicted by the temperature prediction model at the time k is subtracted to obtain the temperature prediction error e(k) at the current time k+1;

[0017]

[0018] In the formula, y(k) is the temperature measurement value at the current time k, is the temperature prediction value at time k by the prediction model at time k-1.

[0019] Furthermore, in the step three, a temperature optimization objective function based on model predictive control is established;

[0020]

[0021] Where n is the maximum prediction time domain, m is the control time domain, and m <n; y is the temperature of the device cavity at the future k+i moment predicted at the k moment; ref Given the desired reference value for temperature, y max is the upper limit of the set temperature, y minis the lower limit of the set temperature; λ1 is the weight factor of the output error; λ2 is the weight factor of the control variable; u(k+j) is the switch state of the fan at time k+1 predicted at time k, and u(k+j)∈int[0,1]; u is the variable to be optimized and is the future input sequence.

[0022] Furthermore, under the condition of satisfying the constraints, the mixed integer programming method is used to minimize the objective function and solve the optimal control variable sequence u in the future control time domain. (k) ;

[0023] u(k)=[u(k+1),...,u(k+i),...,u(k+m)]

[0024] Where u(k+i) is the k+ith element in the optimal control variable sequence.

[0025] Furthermore, a mixed integer programming method is used to optimize the fan switch combination sequence for the next n moments.

[0026]

[0027] The temperature prediction error e(k) is used to perform feedback correction on the optimal control input to obtain a feedback-corrected switch combination sequence The calculation process is as follows:

[0028]

[0029] In the formula, is the k+ith element in the switch combination sequence, e(k) is the temperature prediction error; is the k+ith element in the switch combination sequence for feedback correction.

[0030] Furthermore, a first-order inertial time lag system is used to describe the temperature control model of the equipment, and its transfer function is;

[0031]

[0032] Furthermore, in the step one, the actual temperature data of the inner cavity of the field temperature measuring device is obtained. First, the field temperature measuring device is turned off and left to stand until it reaches a stable state. Then, the field temperature measuring device is placed in various temperature environments and left to stand for a period of time so that the temperature of the inner cavity of the field temperature measuring device reaches a steady state. Then, the temperature data of the inner cavity and shell of the field temperature measuring device at various temperatures are measured and recorded.

[0033] Beneficial effects: The present invention provides a method for controlling the inner cavity temperature of a dual-spectrum long-distance field temperature measurement device and a proposed inner cavity optimization method based on model predictive control, which provides an efficient, practical and economical solution for improving the overall performance of the temperature measurement device. The design of the closed-loop control mechanism makes the temperature control system of the field temperature measurement device more robust, accurate and reliable. Through refined control strategies, the operating efficiency and stability of the equipment can be significantly improved, reducing performance degradation and potential safety risks caused by temperature fluctuations. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 This is a flow chart of the method for controlling the inner cavity temperature of the field temperature measurement equipment;

[0035] Figure 2 This is the schematic diagram of the DS18B20 temperature sensor;

[0036] Figure 3 This is the control principle diagram of the model prediction algorithm;

[0037] Figure 4 The temperature variation curves of the device housing and inner cavity at each temperature;

[0038] Figure 5 The temperature variation curves of the equipment shell and inner cavity at various temperatures;

[0039] Figure 6 It is a line graph of simulation results for temperature prediction;

[0040] Figure 7 is the temperature error curve;

[0041] Figure 8 The MPC curve of the inner cavity temperature of the field temperature measurement device in Example 1;

[0042] Fig. 9 The MPC curve of the shell temperature of the field temperature measurement equipment in Example 1;

[0043] Fig.10 The MPC curve of the inner cavity temperature of the field temperature measurement device in Example 2;

[0044] Fig.11 This is the MPC curve of the shell temperature of the field temperature measurement equipment in Example 2. DETAILED DESCRIPTION

[0045] The present invention will be further described below in conjunction with the accompanying drawings.

[0046] like Figure 1 As shown, a method for controlling the inner cavity temperature of a dual-spectrum long-distance field temperature measurement device comprises the following steps:

[0047] Step 1: Combine the temperature rise model of the inner cavity of the field temperature measurement equipment and the discrete model of the equipment shell temperature to obtain a temperature prediction model;

[0048] Step 2: The temperature prediction model predicts the temperature of the inner cavity of the field temperature measuring device according to the actual temperature data of the inner cavity in the history of the field temperature measuring device to obtain the temperature prediction data at the current moment; the temperature prediction data at the current moment is subtracted from the actual temperature data at the current moment to obtain the temperature prediction error at the current moment;

[0049] Step 3: Based on the actual temperature data of the inner cavity of the field temperature measurement equipment at the current moment and the temperature prediction error at the current moment, the temperature optimization objective function is solved to obtain the optimal control variable sequence in the future control time domain;

[0050] Step 4: Find the switch combination sequence that minimizes the objective function in the optimal control variable sequence as the optimal control input, perform feedback correction to obtain a feedback-corrected switch combination sequence, and output the first switch state in the feedback-corrected switch combination sequence to the fan system;

[0051] Step 5: Repeat the process from step 2 to step 4 until the end.

[0052] The field temperature measurement equipment includes a device shell, which includes components such as a red light camera, a white light camera, a router module, a switch module, a temperature control board chip, and a main control board; the main control board and other components will generate a large amount of heat due to the operation of electronic devices; since the device shell is a closed structure, the heat generated by these devices will spread from the source to the surrounding environment, resulting in a higher heat flux density in the inner cavity of the device, that is, the internal space, thereby increasing the temperature of the device; in the sealed inner cavity of the device, due to the relatively narrow space and the presence of stacked components, it is not conducive to the formation of effective airflow circulation; as a result, the air flow is blocked, forming a local airflow dead zone, which will weaken the heat dissipation effect; the increase in temperature will reduce the operating speed of each component in the field temperature measurement device, or it may cause the components in the field temperature measurement device to be damaged and unable to operate due to the increase in temperature. Therefore, it is necessary to set up a temperature control system to control the temperature of the inner cavity of the field temperature measurement device to be in a temperature range suitable for the normal operation of various components in the field temperature measurement device.

[0053] The temperature control system includes a fan system consisting of a temperature control board chip, a temperature measurement module, a fan module and a fan drive module. The temperature control board chip is responsible for monitoring and adjusting the temperature level inside the system; the temperature measurement module accurately measures the temperature in the environment through a high-precision sensor; the fan module achieves a more efficient heat dissipation effect and can provide ventilation and cooling when necessary to ensure that the normal operation of the equipment is not affected; the fan drive module provides power for the fan, allowing the fan to operate smoothly and continuously to maintain the appropriate temperature required by the system.

[0054] Temperature acquisition module, the temperature monitoring of the inner cavity is realized by DS18B20 temperature sensor. DS18B20 is a digital temperature sensor with small size, low cost, strong anti-interference ability and high accuracy. The VDD pin of the sensor is connected to the 5V power supply through a 4.7Ω pull-up resistor, the GND pin is grounded, and the data pin DQ is connected to the PB2 pin of the STM32 microcontroller. According to the schematic diagram, Figure 2 As shown, DS18B20 outputs 16-bit binary numbers to represent the detected temperature data.

[0055] The temperature control board chip uses the STM32F103C8T6 single-chip microcomputer chip; the STM32F103C8T6 single-chip microcomputer chip has powerful processing capabilities and high energy efficiency, providing the system with stable and reliable data processing and control functions, ensuring that the entire temperature control system can accurately track and adjust the temperature to meet the needs of various application scenarios. The STM32F103C8T6 chip is mainly composed of the Cortex-M3 core, multiple communication interfaces, external memory interfaces, and DMA. With its high performance, low power consumption, rich peripheral support, cost-effectiveness, ease of use, and flexible packaging design, it has been widely used in many fields such as industrial control, consumer electronics, and communication equipment.

[0056] The fan module includes three fans. A fan is fixed to the top shell of the device's inner cavity just above the main control board in the inner cavity of the field temperature measurement device to accelerate the flow rate of the heat fluid in the inner cavity of the device, thereby accelerating the diffusion of heat to the outside; two fans are arranged at the bottom outside the shell of the field temperature measurement device to accelerate the temperature of the inner cavity of the field temperature measurement device to dissipate heat to the outside through the device shell.

[0057] The fan driver module mainly uses the STM32 microcontroller to control the 12V cooling fan; a driver module - AT8236 driver is connected between the STM32 microcontroller pin and the fan, placed between the microcontroller pins, and connected to the fan. The current attenuation mechanism of the AT8236 driver is used to accurately control the motor speed through pulse width modulation PWM technology, ensuring that the fan can be stably and continuously driven even when the microcontroller pin outputs a high level, thereby ensuring that the system can operate efficiently.

[0058] In the step 1, a temperature rise model of the inner cavity of the field temperature measurement device is established through the heat balance equation and the law of conservation of energy;

[0059] T=T W (1-e -τ / K )

[0060] Where, T wis the steady-state temperature rise value, that is, the difference between the maximum temperature reached in the equipment cavity and the ambient temperature when stable, and K is the time constant;

[0061]

[0062] The gray box method is used to study the temperature change model of field temperature measurement equipment, which integrates the physical knowledge of heat transfer and the advantages of both system and identification modeling methods. Through the thermoelectric similarity theory, a discrete model of the equipment shell temperature is established;

[0063]

[0064] The actual measured temperature data is used as the input variable of the temperature prediction model to obtain the simulation results of the inner cavity temperature of the field temperature measurement equipment and the error between the actual measured temperature data and the actual measured temperature data. Figure 6-7 as shown; Figure 6 As shown in Figure 2, the change trend of the simulated temperature in the inner cavity of the field temperature measurement equipment is consistent with the change trend of the actual inner cavity temperature; Figure 7 As shown, the simulation results are not much different from the measured results, the maximum deviation is within 1°C, and the deviation at most sampling moments is within 0.5°C, which can well reflect the changing characteristics of the inner cavity temperature of the field temperature measurement equipment.

[0065] An advanced optimization control technology model predictive control MPC is set in the temperature control board chip, which can convert the control problem into a multi-step optimization process to seek the optimal solution; at the same time, model predictive control is a control strategy based on limited range and iteration, in which an optimal control problem is solved at each time step. Compared with traditional control methods, the model predictive control strategy algorithm is more flexible, can adapt to complex and changeable actual conditions, and continuously adjust the optimization parameters during execution; the predictive control algorithm has better robustness, fast response ability and requirements for model accuracy. By setting the temperature reference value as the benchmark, a multi-step dynamic rolling optimization strategy is adopted, combined with the temperature prediction model and real-time measurement data, to optimize the action sequence of the controlled object, that is, the fan. Through continuous iterative solution, we strive to make the system performance indicators reach the best state under the constraints; not only the current temperature control effect is considered, but also the possible temperature changes in a certain period of time in the future are predicted, so as to formulate a more accurate and reliable control plan. In addition, in order to further improve the accuracy and adaptability of the control, feedback correction is also introduced; this link will continuously correct and improve the current model prediction output value to ensure that the final output control result always meets the predetermined goal.

[0066] like Figure 3As shown in the figure, the principle diagram of model predictive control MPC; by comparing the difference between the real-time measured output data and the estimated value in the preset model, the error term of the model is determined; these errors reflect the deviation between the actual value and the model predicted value, so the model needs to be corrected accordingly. The adjustment and optimization process is repeated continuously until the performance of the system reaches a stable state, the system output result is close to the ideal predicted value, and the prediction error is minimized. Predictive control can ensure that the output of the system can better meet the predetermined goals or standards in the future, thereby improving the efficiency and reliability of the entire system.

[0067] The controller of model predictive control mainly includes three core modules: MPC controller, controlled object and state estimation module; it aims to achieve efficient and precise control. The MPC controller is responsible for optimizing the control strategy based on the current state and future predicted values. The MPC controller can be a temperature control board chip; the controlled object is the actual running system or process, which is the object of the controller. The controlled object can be the fan module of the field temperature measurement equipment; the state estimator passes the input state quantity, that is, the current actual state information of the system, to the model predictive control MPC controller. In this way, the controller can use this information for further optimization calculations to find the optimal control variables, thereby providing the necessary control for the controlled platform at some point in the future. These three modules work together to form a complete model predictive controller framework, ensuring that the controller can adapt to dynamic changes in various complex situations.

[0068] Model predictive control (MPC) builds an accurate temperature prediction model and combines it with historical data to predict changes in the controlled object in the future time domain. The prediction results help the control system make adaptive adjustments in a real-time environment to optimize its performance. It mainly includes three steps: temperature prediction model, rolling optimization and feedback correction.

[0069] At each sampling, an optimization performance index is set in a limited time domain, a set of optimized control sequences are solved online, and the first control sequence is applied to the actual system; when the next sampling time is input, the system will cyclically execute the same series of tasks. This special method for solving the control sequence is different from the general optimization control method and has the advantage of effectively solving constrained optimization control problems. The rolling multi-step prediction of the internal cavity temperature system control of the field temperature measurement equipment is performed to improve the accuracy of the prediction data. The objective function is solved by rolling optimization in a limited time domain, and only the first item of the optimized solution is applied to the system; the output can better meet the predetermined goals or standards, thereby improving the efficiency and reliability of the entire system. The optimal item is only maintained within the control time, so that MPC can adapt to the interference of uncertain factors such as ambient temperature and abnormal operation of equipment.

[0070] The temperature prediction model is a model that can accurately depict the dynamic changes of complex objects. By detecting the temperature data at time k and combining it with the control instructions at time k, it can predict the output at time k+1 in the future. When the input signal at time k acts on the output at time k+1 and prompts it to approach the ideal target, the temperature prediction model predicts the temperature prediction value at time k+1 at time k. In step 2, the actual temperature data of the inner cavity of the field temperature measurement device at the current time k+1 is detected and the temperature data predicted by the temperature prediction model at the current time k+1 is subtracted to obtain the temperature prediction error e(k) at the current time k+1.

[0071]

[0072] In the formula, y(k) is the temperature measurement value at the current time k, is the temperature prediction value at time k by the prediction model at time k-1.

[0073] In the rolling optimization step, due to the influence of external disturbances and model mismatch, there will be a certain error between the predicted result and the actual result; if the error amount can be measured, the actual temperature data at the next moment is used for online calculation to optimize the error. If the entire obtained control output is acted upon, the measured value at time k+1 will not affect the control behavior, that is, the external disturbance or model error information contained in the measured variable cannot be effectively used. First, the optimal solution for each sampling time is processed, and then at the next selection, the newly obtained observation data is used as the initial value, the system is re-predicted, and the optimal solution is optimized, and then the first group of optimal solutions at this time is applied to the system, and repeated to infinity. In the rolling optimization step, the temperature optimization objective function to be optimized is set and the constraints are defined; the function can be presented in linear, nonlinear or quadratic form. The standard form of the objective function is expressed as:

[0074] min / maxJ=T(x)

[0075] From a process control perspective, constraints can be defined as a set of restrictions or limitations on the input, output, or state variables of a system; if these restrictions are not taken into account, the system performance may be affected. These constraints can take two main forms: hard constraints, which usually appear as constraints on the input variables of the system and should not be violated under any circumstances; and soft constraints, which usually relate to the output of the system and can be violated or relaxed in certain circumstances.

[0076] In the framework of model predictive control, complex control problems are transformed into a series of optimization problems within a limited future time range. By optimizing them, the optimal control sequence is obtained so that the state or output of the system reaches the predetermined target value. Under the premise of satisfying the system constraints, the entire control strategy is ensured to be both effective and in line with the needs of practical applications, so that the system performance indicators are minimized. The regulation of the cavity temperature of the field temperature measurement equipment aims to achieve the cavity temperature of the field temperature measurement equipment within the set reference temperature range, and to minimize the energy consumption of the control fan while ensuring the safe operation of the device; so that the cavity temperature of the field temperature measurement equipment approaches the set value in the best way at the next sampling moment. In the step three, a temperature optimization objective function based on model predictive control is established;

[0077]

[0078]

[0079] Where n is the maximum prediction time domain, m is the control time domain, and m <n; y is the temperature of the device cavity at the future k+i moment predicted at the k moment; ref Given the desired reference value for temperature, y max is the upper limit of the set temperature, y min is the lower limit of the set temperature; λ1 is the weight factor of the output error; λ2 is the weight factor of the control variable; u(k+δ) is the switch state of the fan at time k+1 predicted at time k, and u(k+j)∈int[0,1]; u is the variable to be optimized and is the future input sequence.

[0080] For model predictive control MPC, it integrates three main elements: prediction model, control scope (Np, Nc) and optimizer to achieve an efficient algorithm based on MPC; in order to avoid any obstacles, the prediction model must be accurate and often meet MPC and optimization requirements; the more accurate the model, the more efficient the control task. In the control scope, Np refers to the number of time steps used by MPC to calculate accurate predictions, and Nc refers to the number of time steps used by MPC to calculate the optimal control operation related to the objective function. The optimizer plays a major role because it generates control activities; in the case of online solution of the optimal control sequence, the solution of QP in MPC requires a powerful computing toolbox and solver.

[0081] When using model predictive control to control the temperature of the inner cavity of a field temperature measurement device, it is first necessary to set the control range and sampling period; at the same time, it is necessary to set the temperature range controlled by the field temperature measurement device, including the upper and lower limits of the temperature, and set the temperature reference value as a benchmark. The temperature prediction model is used to predict the temperature prediction data at the current moment, and the temperature prediction error at the current moment is obtained; the temperature prediction data are combined to form a temperature prediction sequence, which corresponds to all the switching states of the actuator in each prediction step, and is used for the entire prediction range. The objective function is solved based on the temperature prediction error sequence and the actual detected temperature to obtain a sequence of m switch states; under the condition that the constraints are met, the mixed integer programming method is used to minimize the temperature optimization objective function to solve the optimal control variable sequence u in the future control time domain m. (k) ;

[0082] u(k)=[u(k+1),...,u(k+i),...,u(k+m)]

[0083] Where u(k+i) is the k+ith element in the optimal control variable sequence.

[0084] Under the condition of satisfying the constraints, the mixed integer programming method is used to optimize the switch combination sequence of the fan in the next n moments. As optimal control input;

[0085]

[0086] The accuracy of the equipment cavity temperature prediction is not enough to ensure that the model prediction output is completely consistent with the actual temperature and humidity; when the model predictive control MPC issues optimization instructions in advance, the actual temperature and humidity may deviate from the expected values. The feedback correction mechanism is introduced to solve this deviation problem. The feedback correction mechanism calculates the difference between the current actual equipment cavity temperature and the model's prediction value of the current temperature at the previous moment, obtains the prediction error, and uses this error to adjust the current prediction output to achieve closed-loop control. It can effectively overcome model errors and system uncertainties, and improve the prediction accuracy of the subsequent field temperature measurement equipment cavity temperature, making it closer to the actual situation. The introduction of feedback correction can improve the accuracy of the prediction and make the control more precise. The temperature prediction error e(k) is used to perform feedback correction on the optimal control input to obtain a feedback-corrected switch combination sequence The calculation process is as follows:

[0087]

[0088] In the formula, is the k+ith element in the switch combination sequence, e(k) is the temperature prediction error; is the k+ith element in the switch combination sequence for feedback correction.

[0089] The first switch state in the feedback-corrected switch combination sequence is transmitted to the fan system, so that the fan drive module is started or shut down, and then the three fans of the fan module are driven to rotate or stop, so as to regulate the temperature of the inner cavity of the field temperature measurement equipment so that the temperature of the inner cavity of the field temperature measurement equipment is within the set temperature range.

[0090] The basic idea of ​​the model predictive control of the internal temperature of the field temperature measurement equipment is to transform the control problem into an optimal problem and solve the fan operation state within the prediction range for optimization. The temperature control model of the equipment is described by a first-order inertial time lag system to eliminate the lag problem of temperature feedback in the thermal management system of the field temperature measurement equipment. The transfer function is:

[0091]

[0092] Discretize the transfer function above to get:

[0093]

[0094] In the step 1, the temperature data of the inner cavity and the shell are collected by the temperature acquisition module, and the influence of the temperature change law on the surface temperature distribution of the equipment is analyzed; based on the temperature data of different parts of the equipment, its heat dissipation mechanism is studied, and more effective heat dissipation strategies are developed by accurately measuring and analyzing these data to ensure that the equipment can maintain the best performance and the longest service life under various working conditions. Since the equipment works in the external environment for a long time, the ambient temperature is an important reason affecting the temperature change of the equipment. Therefore, by placing the equipment in a constant temperature box and setting different temperature parameters, the temperature change of the equipment under different ambient temperatures is simulated. In the step 1, the actual temperature data of the inner cavity of the field temperature measurement device is obtained. First, the field temperature measurement device is turned off and left to stand until it is stable. Then, the field temperature measurement device is placed in various temperature environments, and when the temperature of the inner cavity of the field temperature measurement device is left to stand for a period of time so that the temperature of the inner cavity of the field temperature measurement device reaches a steady state, the temperature data of the inner cavity and the shell of the field temperature measurement device at various temperatures are measured and recorded.

[0095] The constant temperature and humidity chamber has an adjustable temperature range of -40°C to 150°C, and a temperature fluctuation of ≤±1°C. It can provide a constant temperature and humidity environment for the field temperature measurement equipment. First, place the field temperature measurement equipment at an initial temperature of 25°C and let it stand to naturally return to room temperature. Set the initial temperature of the constant temperature chamber to 10°C, place the field temperature measurement equipment in it and let it stand for a period of time to maintain its overall temperature at around 10°C. When the equipment reaches a stable state, measure and record the temperature data of the inner cavity and shell of the field temperature measurement equipment. When the equipment reaches a steady state, increase the temperature of the constant temperature chamber from 10°C to 20°C, 30°C, and 40°C, and let it stand for a period of time. When the equipment reaches a stable state, measure and record the temperature data of the inner cavity and shell of the field temperature measurement equipment at different temperatures. The temperature acquisition module is used to obtain the temperature change trend of the equipment's inner cavity and shell, and the collected equipment's inner cavity and shell temperature data are organized as follows. Figure 4 shown.

[0096] The temperature change curves of the device cavity and shell under different ambient temperatures are integrated. It can be found from the figure that the temperature change trends of the device cavity and shell are similar, such as Figure 4 As shown in the figure, the temperature change curve of the device cavity shows that as the ambient temperature increases, the temperature of the device cavity gradually increases, and the temperature change rate also increases. As time goes by, it gradually decreases until the temperature of the cavity reaches a steady state and the temperature hardly changes. When the ambient temperature is 10℃, the temperature of the device cavity and the shell finally stabilize at around 30℃; when the ambient temperature is 20℃, the temperature of the device cavity finally stabilizes at 40℃, and the temperature of the device shell finally stabilizes at around 38℃; when the ambient temperature is 30℃, the temperature of the device cavity finally stabilizes at 50℃, and the temperature of the device shell finally stabilizes at around 40℃; when the ambient temperature is 40℃, the temperature of the device cavity finally stabilizes at 60℃, and the temperature of the device shell finally stabilizes at around 47℃.

[0097] The temperature change trends of the equipment cavity and shell at different ambient temperatures are summarized as follows: Figure 5 As shown in the figure, after the equipment starts to run, as time goes by, the components in the equipment generate heat, causing the temperature of the equipment cavity to gradually increase, and the temperature of the equipment cavity and shell gradually rises. When the equipment temperature is higher than the set ambient temperature, it reaches a thermal equilibrium state, the temperature gradually tends to stabilize, and the temperature of the equipment cavity reaches a peak and remains at the highest temperature. Due to the transfer of heat, the increase in the cavity temperature also causes the temperature of the equipment shell to increase, and the temperature of the equipment shell has a certain delay compared to the cavity temperature.

[0098] Example 1

[0099] Based on the prediction model of the inner cavity of the field temperature measurement equipment, the temperature of the field temperature measurement equipment is model predicted and controlled. min =37℃,y max=43℃, Np=10, Nc=5, that is, the optimal state of the fan for the next 3 minutes and the temperature of the equipment cavity for 6 minutes are predicted every 35 seconds. The fan's on state is used as the input variable, and the mixed integer programming method is used to solve the rolling optimization problem, so as to obtain the optimal state sequence of the fan in the future control time period. The temperature prediction value inside the field temperature measurement equipment during the prediction time period is continuously adjusted to minimize the deviation between the temperature and the reference value and try to reduce the energy consumption of the fan. Since the field temperature measurement equipment is currently mainly put into use in Guangxi power plants, the highest temperature in Guangxi occurs in July and August in a year. Therefore, the temperature data obtained on two days in July and August 2023 were obtained for experimental analysis.

[0100] On August 11, 2023, starting from 16:35 in the afternoon, the MPC optimization control of the inner cavity temperature and fan switch status of the field temperature measurement equipment in the next 16 hours is predicted, such as Figure 8-9 As shown in Figure 2, the model predictive control method controls the temperature of the inner cavity and shell of the inner cavity device. Figure 8 As shown in the figure, in the entire sampling interval, the temperature inside the equipment cavity is basically controlled at 37℃-43℃, the temperature changes are relatively stable, and when the predicted temperature reaches the specified upper or lower temperature limit, the fan can be controlled to be turned on or off in advance. Fig. 9 As shown, the temperature change trend of the device shell is the same as the temperature change trend of the device cavity, but there is a certain delay compared with the temperature change of the device cavity.

[0101] Example 2

[0102] On July 24, 2022, starting from 11:07 p.m., the MPC optimization control of the inner cavity temperature and fan switch status of the field temperature measurement equipment in the next 16 hours is predicted, and y is set min =45℃,y max =50℃, Np=10, Nc=5, such as Figure 10-11 As shown in Figure 2, the model predictive control method controls the temperature of the inner cavity and shell of the inner cavity device. Fig.10 As shown, from 11:07 to 19:07 on July 24, i.e., in the first 800 sampling intervals, the temperature control range of the equipment cavity was between 45°C and 50°C; from 19:07 on the 24th to 03:07 the next day, i.e., in the last 800 sampling intervals, the temperature control range of the equipment cavity was between 41°C and 47°C. Due to the high ambient temperature during the day on July 24, the control temperature was set high, and the local temperature dropped at night, the maximum temperature did not reach the set temperature maximum threshold for a long time, so the temperature control range was lowered.

[0103] By comparison Figure 8 , Fig.10From the MPC simulation curve of the field temperature measurement equipment's inner cavity temperature, it can be seen that the former has a larger range of operating temperature changes, but at the same time it can also ensure the normal and safe operation of the internal equipment. Since the field temperature measurement equipment's inner cavity operating temperature range selected by the equipment on August 11 is larger, it can also be seen that the larger the upper and lower limits of the temperature, the longer the fan's shutdown time, and the fan state changes less frequently. From the perspective of energy consumption, it is more effective to increase the upper and lower limits of the operating temperature, and effectively prevent the fan from being replaced too many times, thereby extending its service life. Therefore, by taking different values ​​for the upper and lower limits of the field temperature measurement equipment's inner cavity temperature, the relationship between the temperature control effect and the fan energy consumption can be coordinated to adjust the performance of the MPC controller and improve the flexibility of the MPC strategy for the field temperature measurement equipment's inner cavity temperature.

[0104] The multi-step prediction and rolling optimization functions of the MPC control strategy can make advance plans based on accurate predictions of future states, thereby guiding execution actions. The model predictive control strategy solves the optimal working state of the fan by rolling backward, improving the fan efficiency and extending the service life of the equipment. The internal temperature control of the field temperature measurement equipment based on the MPC control strategy achieves an ideal temperature control effect.

[0105] The above is only a description of the preferred embodiments of the present invention. Ordinary technicians in this technical field can make several modifications and optimizations based on the above disclosure without departing from the above basic principles. These improvements and optimizations should be regarded as the understood protection scope of the present invention.

Claims

1. A method for controlling the inner cavity temperature of a dual-spectrum long-distance field temperature measurement device, characterized in that: The following steps are involved: Step 1: Combine the temperature rise model of the inner cavity of the field temperature measurement equipment and the discrete model of the equipment shell temperature to obtain a temperature prediction model; Step 2: The temperature prediction model predicts the temperature of the inner cavity of the field temperature measurement device according to the actual temperature data of the inner cavity of the field temperature measurement device in history to obtain the temperature prediction data at the current moment; The temperature prediction data at the current moment is subtracted from the actual temperature data at the current moment to obtain the temperature prediction error at the current moment; Step 3: Based on the actual temperature data of the inner cavity of the field temperature measurement equipment at the current moment and the temperature prediction error at the current moment, the temperature optimization objective function is solved to obtain the optimal control variable sequence in the future control time domain; Step 4: Find the switch combination sequence that minimizes the objective function in the optimal control variable sequence as the optimal control input, perform feedback correction to obtain a feedback-corrected switch combination sequence, and output the first switch state in the feedback-corrected switch combination sequence to the fan system; Step 5: Repeat the process from step 2 to step 4 until the end.

2. According to claim 1, a method for controlling the inner cavity temperature of a dual-spectrum long-distance field temperature measurement device is characterized in that: In the step 1, a temperature rise model of the inner cavity of the field temperature measurement device is established through the heat balance equation and the law of conservation of energy; T=T W (1-e -τ / K ) Where, T W is the difference between the maximum temperature reached in the device cavity and the ambient temperature when stable, and K is the time constant; Through the thermoelectric similarity theory, a discrete model of the equipment shell temperature is established; 3. The method for controlling the inner cavity temperature of a dual-spectrum long-distance field temperature measurement device according to claim 1, characterized in that: In the step 2, the actual temperature data of the inner cavity of the field temperature measuring device at the current time k+1 is detected and the temperature data at the current time k+1 predicted by the temperature prediction model at the time k is subtracted to obtain the temperature prediction error e(k) at the current time k+1; In the formula, y(k) is the temperature measurement value at the current time k, is the temperature prediction value at time k by the prediction model at time k-1.

4. The method for controlling the inner cavity temperature of a dual-spectrum long-distance field temperature measurement device according to claim 1, characterized in that: In the step 3, a temperature optimization objective function based on model predictive control is established; Where n is the maximum prediction time domain, m is the control time domain, and m <n; y is the temperature of the device cavity at the future k+i moment predicted at the k moment; ref Given the desired reference value for temperature, y max is the upper limit of the set temperature, y min is the lower limit of the set temperature; λ1 is the weight factor of the output error; λ2 is the weight factor of the control variable; u(k+j) is the switch state of the fan at time k+1 predicted at time k, and u(k+j)∈int[0,1]; u is the variable to be optimized and is the future input sequence.

5. The method for controlling the inner cavity temperature of a dual-spectrum long-distance field temperature measurement device according to claim 1, characterized in that: Under the condition of satisfying the constraints, the mixed integer programming method is used to minimize the objective function and solve the optimal control variable sequence u in the future control time domain. (k) ; u(k)=[u(k+1),...,u(k+i),...,u(k+m)] Where u(k+i) is the k+ith element in the optimal control variable sequence.

6. The method for controlling the inner cavity temperature of a dual-spectrum long-distance field temperature measurement device according to claim 1, characterized in that: The mixed integer programming method is used to optimize the fan switch combination sequence in the next n moments. The temperature prediction error e(k) is used to perform feedback correction on the optimal control input to obtain a feedback-corrected switch combination sequence The calculation process is as follows: In the formula, is the k+ith element in the switch combination sequence, e(k) is the temperature prediction error; is the k+ith element in the switch combination sequence for feedback correction.

7. The method for controlling the inner cavity temperature of a dual-spectrum long-distance field temperature measurement device according to claim 1, characterized in that: The first-order inertial time lag system is used to describe the temperature control model of the equipment, and its transfer function is; 8. The method for controlling the inner cavity temperature of a dual-spectrum long-distance field temperature measurement device according to claim 1, characterized in that: In the step one, the actual temperature data of the inner cavity of the field temperature measuring device is obtained. First, the field temperature measuring device is turned off and left to stand until it reaches a stable state. Then, the field temperature measuring device is placed in various temperature environments and left to stand for a period of time so that the temperature of the inner cavity of the field temperature measuring device reaches a steady state. Then, the temperature data of the inner cavity and shell of the field temperature measuring device at various temperatures are measured and recorded.

Citation Information

Cited By

  • Thermal runaway self-healing control method and device for integrated circuit high-temperature aging table test box

    CN122219062A