Temperature control system based on PID algorithm
By introducing data collection, processing and machine learning models into the temperature control system, combined with the PID algorithm, real-time monitoring and control of the temperature during the drying process of the cable core is achieved, solving the problem of difficult temperature adjustment in the existing technology and improving efficiency. Drying efficiency and system automation.
Patent Information
- Application Number
- CN202410958525.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing temperature control system based on PID algorithm is difficult to achieve real-time temperature monitoring and adjustment during the drying process, resulting in large temperature differences and affecting drying efficiency and practicality.
A temperature control system based on PID algorithm is adopted, including data collection, data processing, temperature monitoring model training and PID control module. It measures data in real time through temperature sensors, uses machine learning models to predict temperature change trends, and inputs the PID controller to adjust the drying equipment. parameters to achieve real-time monitoring and control of temperature.
It realizes real-time monitoring and control of the temperature of the cable core during drying, improves the drying efficiency and system automation, ensures that the temperature is within the set range, and improves the practicality and efficiency of the equipment.
Smart Images

Figure CN118732735A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of temperature control, and more specifically, to a temperature control system based on a PID algorithm. Background Art
[0002] Temperature control based on the PID algorithm is a common temperature control method, where PID stands for proportional-integral-derivative. The goal of this algorithm is to maintain the temperature around the set point by adjusting the output of the system (such as heater power).
[0003] In temperature control based on the PID algorithm, three main control parameters are used:
[0004] Proportional: reflects the relationship between the output change rate and the temperature deviation. The proportional parameter determines the degree of direct response of the controller to the temperature deviation. When the temperature deviation is large, the proportional parameter will make the system respond more quickly.
[0005] Integral: The cumulative controller integrates the historical information of temperature deviation. The integral term compensates for long-term temperature deviation to ensure that the system eventually reaches the set temperature.
[0006] Derivative: Adjusts the controller output based on the rate of change of the temperature deviation. The derivative term can predict temperature trends in advance, thereby reducing the response of the temperature control system to sudden changes.
[0007] The PID controller calculates a control signal based on the difference between the current temperature and the set temperature, which is used to adjust the power output of the heater. The calculation of the control signal is based on a weighted combination of proportional, integral and derivative parameters.
[0008] By constantly measuring the temperature and adjusting the parameters, the PID controller can achieve precise control of the temperature to keep the temperature near the set value. This method is widely used in many fields, including industrial process control, constant temperature equipment and automation systems.
[0009] The document with the prior art publication number CN106653232A provides a drying device, which can greatly improve the production efficiency, significantly improve the drying effect, and greatly reduce the energy consumption by drying the mineral insulation material of the cable.
[0010] Although the above-mentioned prior art solution can achieve the relevant beneficial effects through the structure of the prior art, it still has the following defects: when the device is in use, it is not convenient to monitor and control the temperature during drying in real time, resulting in difficulty in timely adjustment when a large temperature difference occurs, affecting the drying efficiency and poor practicality.
[0011] In view of this, we propose a temperature control system based on PID algorithm. Summary of the invention
[0012] 1. Technical issues to be solved
[0013] The purpose of the present application is to provide a temperature control system based on PID algorithm, which solves the technical problems raised in the above-mentioned background technology and achieves the technical effect of facilitating real-time monitoring and control of the temperature during drying.
[0014] 2. Technical solution
[0015] The embodiment of the present application provides a temperature control system based on the PID algorithm, including: a cable core drying data acquisition module, a cable core drying data processing module, a data set preparation module, a cable core drying temperature monitoring model training module, and a PID algorithm temperature control module.
[0016] Cable core drying data acquisition module: The cable core drying data acquisition module installs the temperature sensor at an appropriate position of the drying equipment to accurately measure the temperature data of the cable core during drying;
[0017] Cable core drying data processing module: The cable core drying data processing module collects real-time temperature data and performs necessary data cleaning and preprocessing;
[0018] Dataset preparation module: The data set preparation module divides the collected temperature data into a training set and a test set to prepare for training the model;
[0019] Cable core drying temperature monitoring model training module: The cable core drying temperature monitoring model training module selects a suitable machine learning model according to demand, and uses a training set to train the model to predict future temperature change trends when the cable core is drying;
[0020] Temperature control module of PID algorithm: The temperature control module of the PID algorithm inputs the output result of the model into the PID controller, and the PID controller adjusts the operating parameters of the drying equipment according to the control suggestion to control the temperature of the cable core during drying.
[0021] As an optional solution to the technical solution of the present application document, the cable core drying data acquisition module installs the temperature sensor at an appropriate position of the drying equipment to accurately measure the temperature data of the cable core during drying, and selects a sensor type suitable for measuring the drying temperature of the cable core, such as a thermocouple sensor. After the installation is completed, the cable core drying data acquisition module will periodically read the data of the temperature sensor and transfer the data to other storage devices.
[0022] As an optional solution of the technical solution of this application document, when the cable core is dried, the data processing module collects real-time temperature data and performs necessary data cleaning, preprocessing, and feature extraction. The data cleaning: for the collected original temperature data, data cleaning is required to remove abnormal values, missing values and redundant data from the collected temperature data, thereby improving the accuracy and reliability of the data;
[0023] The data preprocessing: After data cleaning, the data needs to be preprocessed, and the raw data is converted into a form suitable for subsequent analysis and processing through data conversion and data normalization. For example, temperature data can be converted into logarithmic temperature, temperature data can be converted into Celsius or Fahrenheit, etc.;
[0024] The feature extraction: for temperature data, some features need to be extracted, such as average temperature, maximum temperature, minimum temperature, etc. These features can better represent the characteristics of the data and help improve the prediction accuracy of the model.
[0025] As an optional solution of the technical solution of the present application document, the data set preparation module divides the collected temperature data into a training set and a test set to prepare for the training model. The division method of time series data is usually adopted. For time series data, the rolling window method is usually used to divide the data set. For example, it is possible to select a time window length (for example, the past 7 days) and then move forward one time window each time (for example, 1 day each time) to divide the training set and the test set in this way, so that the training set will contain past data, and the test set will contain future real-time data.
[0026] As an optional solution to the technical solution of the present application document, the temperature monitoring model training module during cable core drying selects a machine learning model of a neural network according to demand, and trains the model using a training set, and applies the trained machine learning model to temperature control during the cable core drying process. Based on real-time temperature data, the model can predict future temperature change trends and generate corresponding control instructions.
[0027] As an optional solution of the technical solution of the present application document, the temperature control module of the PID algorithm inputs the output result of the model into the PID controller, and monitors the temperature of the cable core in real time through the temperature sensor. If the temperature deviates from the set range, the PID controller will continue to monitor the temperature change, perform feedback control on the deviation, and adjust the power output of the heater so that the system can stably maintain near the target temperature, and automatically adjust the operating parameters of the drying equipment to ensure that the temperature of the cable core is within the set range.
[0028] 3. Beneficial effects
[0029] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0030] 1. Since the present application adopts technical means such as a data acquisition module for cable core drying, it effectively solves the technical problems in the prior art, and further realizes real-time monitoring of the temperature in the drying equipment through a temperature sensor when the cable core is drying, and then predicts the future temperature change trend of the cable core when drying through a temperature monitoring model when the cable core is drying, and then inputs the output result of the model into a PID controller. The PID controller adjusts the operating parameters of the drying equipment according to the control suggestions to control the temperature of the cable core when drying, thereby achieving the effect of real-time monitoring of the temperature of the cable core when drying.
[0031] 2. The present application sets up a waste heat utilization mechanism and accelerates the air flow through an exhaust fan, so that the cable core dries quickly. At the same time, the extracted high-temperature gas will be injected into the waste heat sleeve, thereby preheating one end of the cable core to be dried and improving its drying efficiency.
[0032] 3. The present application provides a cable core positioning mechanism to facilitate the positioning of cables of different sizes. At the same time, by providing an automatic cable core adjustment mechanism, the cable core is automatically pulled to achieve continuous drying of the cable core, thereby further improving the drying efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] Figure 1 This is a schematic diagram of the overall structure of a temperature control system based on a PID algorithm disclosed in a preferred embodiment of the present application;
[0034] Figure 2 A schematic diagram of the overall structure temperature control flow of a temperature control system based on a PID algorithm disclosed in a preferred embodiment of the present application;
[0035] Figure 3 A schematic cross-sectional view of the structure of a waste heat utilization mechanism of a temperature control system based on a PID algorithm disclosed in a preferred embodiment of the present application;
[0036] Figure 4 This is a schematic diagram of the structure of a cable core automatic adjustment mechanism of a temperature control system based on a PID algorithm disclosed in a preferred embodiment of the present application;
[0037] Figure 5 It is a partial cross-sectional schematic diagram of the cable core positioning mechanism structure of a temperature control system based on a PID algorithm disclosed in a preferred embodiment of the present application;
[0038] Explanation of the numbers in the figure: 1. Fixed seat; 2. Heating tube; 3. Induction coil; 4. Waste heat utilization mechanism; 5. Cable core automatic adjustment mechanism; 6. Cable core positioning mechanism; 401. Exhaust pipe; 402. Exhaust fan; 403. Waste heat sleeve; 501. Electric push rod; 502. Push frame; 503. Sliding frame; 504. Tension spring; 505. Clamping seat; 506. Spring; 601. Ring rack; 602. Gear; 603. Worm; 604. Worm wheel; 605. Adjusting rod; 606. Positioning wheel. DETAILED DESCRIPTION
[0039] The present application is further described in detail below in conjunction with the accompanying drawings.
[0040] Reference Figure 1 A temperature control system based on PID algorithm, comprising: a cable core drying data acquisition module, a cable core drying data processing module, a data set preparation module, a cable core drying temperature monitoring model training module, and a PID algorithm temperature control module.
[0041] Cable core drying data acquisition module: The cable core drying data acquisition module installs the temperature sensor at the appropriate position of the drying equipment to accurately measure the temperature data of the cable core during drying;
[0042] Cable core drying data processing module: The cable core drying data processing module collects real-time temperature data and performs necessary data cleaning and preprocessing;
[0043] Dataset preparation module: The dataset preparation module divides the collected temperature data into training sets and test sets to prepare for training models;
[0044] Cable core drying temperature monitoring model training module: The cable core drying temperature monitoring model training module selects a suitable machine learning model according to the needs, and uses the training set to train the model to predict the future temperature change trend of the cable core during drying;
[0045] Temperature control module of PID algorithm: The temperature control module of PID algorithm inputs the output result of the model into the PID controller. The PID controller adjusts the operating parameters of the drying equipment according to the control suggestions to control the temperature of the cable core during drying.
[0046] The data acquisition module for cable core drying installs the temperature sensor at an appropriate position of the drying equipment to accurately measure the temperature data of the cable core during drying. Select a sensor type suitable for measuring the cable core drying temperature, such as a thermocouple sensor. After the installation is completed, the data acquisition module for cable core drying will periodically read the data of the temperature sensor and transfer the data to other storage devices.
[0047] When the cable core is drying, the data processing module collects real-time temperature data and performs necessary data cleaning, preprocessing, and feature extraction. Data cleaning: For the collected original temperature data, data cleaning is required to remove abnormal values, missing values, and redundant data from the collected temperature data to improve the accuracy and reliability of the data;
[0048] Data preprocessing: After data cleaning, data preprocessing is required to convert the raw data into a form suitable for subsequent analysis and processing through data conversion and data normalization. For example, temperature data can be converted into logarithmic temperature, temperature data can be converted into Celsius or Fahrenheit, etc.
[0049] Feature extraction: For temperature data, some features need to be extracted, such as average temperature, maximum temperature, minimum temperature, etc. These features can better represent the characteristics of the data and help improve the prediction accuracy of the model.
[0050] The data set preparation module divides the collected temperature data into training sets and test sets to prepare for training models. The division method of time series data is usually adopted. For time series data, the rolling window method is usually used to divide the data set. For example, it is possible to select a time window length, such as the past 7 days, and then move forward a time window each time, such as 1 day each time, to divide the training set and the test set in this way, so that the training set will contain past data, and the test set will contain future real-time data.
[0051] The temperature monitoring model training module during cable core drying selects the machine learning model of the neural network according to the needs, and trains the model using the training set. The trained machine learning model is applied to the temperature control during the cable core drying process. Based on the real-time temperature data, the model can predict future temperature change trends and generate corresponding control instructions.
[0052] The temperature control module of the PID algorithm inputs the output results of the model into the PID controller, and monitors the temperature of the cable core in real time through the temperature sensor. If the temperature deviates from the set range, the PID controller will continue to monitor the temperature changes, perform feedback control on the deviation, and adjust the power output of the heater so that the system can stably maintain near the target temperature. It automatically adjusts the operating parameters of the drying equipment to ensure that the temperature of the cable core is within the set range.
[0053] Reference Figure 2 A temperature control system based on PID algorithm includes a fixing seat 1, a heating tube 2, an induction coil 3, a waste heat utilization mechanism 4, a cable core automatic adjustment mechanism 5, and a cable core positioning mechanism 6.
[0054] A heating tube 2 is fixedly connected to the fixed seat 1, an induction coil 3 is sleeved on the outer wall of the heating tube 2, a waste heat utilization mechanism 4 is fixedly connected to the heating tube 2, a cable core automatic adjustment mechanism 5 is fixedly connected to the fixed seat 1, and two cable core positioning mechanisms 6 are rotatably connected to the fixed seat 1.
[0055] Reference Figure 3 The waste heat utilization mechanism 4 includes an exhaust pipe 401, one end of which is connected to the exhaust end of the heating pipe 2, an exhaust fan 402 is fixedly installed on the inner wall of the exhaust pipe 401, and the other end of the exhaust pipe 401 is connected and fixedly provided with a waste heat sleeve 403, and a sponge sleeve is fixedly provided on the inner wall of one end of the waste heat sleeve 403.
[0056] Reference Figure 4 The cable core automatic adjustment mechanism 5 includes an electric push rod 501, which is connected and fixed to the fixing seat 1 through the electric push rod 501, and a pushing frame 502 is connected and fixed to the output end of the electric push rod 501.
[0057] The cable core automatic adjustment mechanism 5 also includes a sliding frame 503, which is slidably matched with the fixed seat 1, and a tension spring 504 is fixedly connected between the sliding frame 503 and the fixed seat 1. Two clamping seats 505 are slidably matched on the sliding frame 503, and a spring 506 is fixedly connected between the clamping seat 505 and the sliding frame 503, and the pushing frame 502 is in sliding contact with the inclined surface of the clamping seat 505.
[0058] Reference Figure 5 The cable core positioning mechanism 6 includes an annular rack 601, which is rotatably connected to the fixed seat 1. One side of the annular rack 601 is meshingly connected with multiple gears 602. The gears 602 are rotatably connected to the fixed seat 1. The gears 602 are connected and fixed with a worm 603. The worm 603 is meshingly connected with a worm wheel 604. An adjusting rod 605 is connected and fixed to the worm wheel 604. The adjusting rod 605 is rotatably connected to the fixed seat 1. The other end of the adjusting rod 605 is connected and fixed with a positioning wheel 606.
[0059] The implementation principle of a temperature control system based on a PID algorithm in the embodiment of the present application is as follows: when the cable core needs to be dried, the cable core is passed through the heating tube 2, and then the annular racks 601 on both sides are rotated respectively, so that the annular racks 601 drive the worm 603 connected to the gear 602 to rotate, so that the worm 603 drives the adjusting rod 605 connected to the worm wheel 604 to rotate, so that the adjusting rod 605 drives the positioning wheel 606 to clamp and position the cable core;
[0060] Then, the heating tube 2 is heated by the induction coil 3, and the heating tube 2 dries the cable core. At this time, the exhaust fan 402 is used to accelerate the air flow. At this time, the heated air in the heating tube 2 is injected into the residual heat sleeve 403 through the exhaust pipe 401 to preheat the part of the cable core to be dried;
[0061] After the cable core is dried for a period of time, the electric push rod 501 is used to drive the push frame 502 to move. At this time, the push frame 502 will contact the inclined surface of the clamping seat 505, which will cause the two clamping seats 505 to move to clamp the cable core. At this time, under the action of the electric push rod 501, the cable core will be driven to move for automatic loading;
[0062] When drying, install the temperature sensor at an appropriate position of the drying equipment to accurately measure the temperature data of the cable core during drying. Select a sensor type suitable for measuring the drying temperature of the cable core, such as a thermocouple sensor. After installation, the data acquisition module will periodically read the data of the temperature sensor during the drying of the cable core and transfer the data to other storage devices.
[0063] The data processing module is used to collect real-time temperature data during cable core drying, and necessary data cleaning, preprocessing, and feature extraction are performed. Data cleaning: For the collected original temperature data, data cleaning is required to remove abnormal values, missing values, and redundant data from the collected temperature data to improve the accuracy and reliability of the data;
[0064] Data preprocessing: After data cleaning, data preprocessing is required to convert the raw data into a form suitable for subsequent analysis and processing through data conversion and data normalization. For example, temperature data can be converted into logarithmic temperature, temperature data can be converted into Celsius or Fahrenheit, etc.
[0065] Feature extraction: For temperature data, some features need to be extracted, such as average temperature, maximum temperature, minimum temperature, etc. These features can better represent the characteristics of the data and help improve the prediction accuracy of the model;
[0066] The collected temperature data is divided into a training set and a test set through the data set preparation module to prepare for the training model. The division method of time series data is usually adopted. For time series data, the rolling window method is usually used to divide the data set. For example, a time window length can be selected, such as the past 7 days, and then a time window is moved forward each time, such as 1 day each time, to divide the training set and the test set in this way, so that the training set will contain past data, and the test set will contain future real-time data;
[0067] The cable core drying temperature monitoring model training module is used to select the machine learning model of the neural network according to the needs, and the model is trained using the training set. The trained machine learning model is applied to the temperature control during the cable core drying process. Based on the real-time temperature data, the model can predict the future temperature change trend and generate corresponding control instructions;
[0068] Then the temperature control module of the PID algorithm inputs the output results of the model into the PID controller, and monitors the temperature of the cable core in real time through the temperature sensor. If the temperature deviates from the set range, the PID controller will continue to monitor the temperature changes, perform feedback control on the deviation, and adjust the power output of the heater so that the system can stably maintain near the target temperature and automatically adjust the operating parameters of the drying equipment to ensure that the temperature of the cable core is within the set range.
Claims
1. A temperature control system based on PID algorithm, comprising: a cable core drying data acquisition module, a cable core drying data processing module, a data set preparation module, a cable core drying temperature monitoring model training module, and a PID algorithm temperature control module, characterized in that: Cable core drying data acquisition module: The cable core drying data acquisition module installs the temperature sensor at an appropriate position of the drying equipment to accurately measure the temperature data of the cable core during drying; Cable core drying data processing module: The cable core drying data processing module collects real-time temperature data and performs necessary data cleaning and preprocessing; Dataset preparation module: The data set preparation module divides the collected temperature data into a training set and a test set to prepare for training the model; Cable core drying temperature monitoring model training module: The cable core drying temperature monitoring model training module selects a suitable machine learning model according to demand, and uses a training set to train the model to predict future temperature change trends when the cable core is drying; Temperature control module of PID algorithm: The temperature control module of the PID algorithm inputs the output result of the model into the PID controller, and the PID controller adjusts the operating parameters of the drying equipment according to the control suggestion to control the temperature of the cable core during drying.
2. The temperature control system based on PID algorithm according to claim 1 is characterized in that: The cable core drying data acquisition module installs the temperature sensor at an appropriate position of the drying equipment to accurately measure the temperature data of the cable core during drying, and selects a sensor type suitable for measuring the cable core drying temperature, such as a thermocouple sensor. After the installation is completed, the cable core drying data acquisition module will regularly read the data of the temperature sensor and transfer the data to other storage devices.
3. The temperature control system based on PID algorithm according to claim 1 is characterized in that: When the cable core is dried, the data processing module collects real-time temperature data and performs necessary data cleaning, preprocessing, and feature extraction. The data cleaning: for the collected original temperature data, data cleaning is required to remove abnormal values, missing values, and redundant data from the collected temperature data to improve the accuracy and reliability of the data; The data preprocessing: After data cleaning, the data needs to be preprocessed, and the raw data is converted into a form suitable for subsequent analysis and processing through data conversion and data normalization. For example, temperature data can be converted into logarithmic temperature, temperature data can be converted into Celsius or Fahrenheit, etc.; The feature extraction: for temperature data, some features need to be extracted, such as average temperature, maximum temperature, minimum temperature, etc. These features can better represent the characteristics of the data and help improve the prediction accuracy of the model.
4. The temperature control system based on PID algorithm according to claim 1 is characterized in that: The data set preparation module divides the collected temperature data into a training set and a test set to prepare for the training model. The division method of time series data is usually adopted. For time series data, the rolling window method is usually used to divide the data set. For example, a time window length can be selected and then a time window is moved forward each time to divide the training set and the test set in this way, so that the training set will contain past data, and the test set will contain future real-time data.
5. The temperature control system based on PID algorithm according to claim 1 is characterized in that: The cable core drying temperature monitoring model training module selects a neural network machine learning model according to demand, and uses a training set to train the model. The trained machine learning model is applied to temperature control during the cable core drying process. Based on real-time temperature data, the model can predict future temperature change trends and generate corresponding control instructions.
6. The temperature control system based on PID algorithm according to claim 1, characterized in that: The temperature control module of the PID algorithm inputs the output results of the model into the PID controller, and monitors the temperature of the cable core in real time through the temperature sensor. If the temperature deviates from the set range, the PID controller will continue to monitor the temperature change, perform feedback control on the deviation, and adjust the power output of the heater so that the system can stably maintain near the target temperature and automatically adjust the operating parameters of the drying equipment to ensure that the temperature of the cable core is within the set range.
