Liquid temperature control method of tank device
A PLC-controlled system with a pneumatic diaphragm valve and temperature sensor rapidly heats liquids by adjusting steam intake and stirring based on weight and temperature ranges, addressing slow heating issues and ensuring stable production.
Patent Information
- Application Number
- CN202411294455.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2024-12-03
AI Technical Summary
Traditional liquid temperature control methods in industrial processes suffer from slow temperature rise and long adjustment times, leading to inefficient production and unstable temperature fluctuations.
A PLC-based control system with a pneumatic diaphragm valve and temperature sensor, which adjusts steam intake and stirring based on liquid weight and temperature ranges to achieve precise and rapid heating.
Rapid temperature increase and precise control of liquid temperature, reducing heating time and maintaining stability during production changes.
Smart Images

Figure CN119065416A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of industrial automation control equipment, and more specifically to a liquid temperature control method for a tank device. Background Art
[0002] The traditional liquid temperature control method is mainly PID negative feedback regulation. The disadvantage is that the liquid temperature rises slowly in the initial stage and the adjustment time is long. Once the PID parameters are set unreasonably, long-term temperature fluctuations will occur, affecting production. Summary of the invention
[0003] In order to overcome the deficiencies of the prior art, the present invention proposes a liquid temperature control method for a tank device, so as to achieve rapid temperature increase of the liquid, shorten the heating time at the start of production and during the brand change process, thereby improving production efficiency.
[0004] The present invention adopts the following technical solutions to solve the technical problems:
[0005] The liquid temperature control method of a tank device of the present invention is characterized in that it is applied to a scene composed of a PLC electronic control system, a temperature sensor, a tank device, a steam pipeline, a compressed air pipeline, and a pneumatic diaphragm regulating valve; wherein the pneumatic diaphragm valve is located on the steam pipeline, the compressed air pipeline is used to provide an air source, and the tank device includes: a tank body, a stirring motor, a stirring device, and a static scale; the liquid temperature control method is performed according to the following steps:
[0006] Step 1: Set I temperature variables and record any i-th temperature variable as ΔT i , and ΔT1>ΔT2>...>ΔT i >...>ΔT I , I represents the total number of temperature variables;
[0007] Set the weight intervals corresponding to J weight thresholds, where the jth weight interval is recorded as (σ j-1 , σ j ], where σ j-1 represents the j-1th weight threshold, σ j represents the jth weight threshold;
[0008] Step 2: The PLC electronic control system uses the static scale to obtain the weight G of the liquid in the tank at time t. t ;
[0009] Step 3: If G t >G0, then execute step 4; otherwise, it means that the heating operation condition is not met at time t, and after assigning t+1 to t, return to step 2; where G0 represents the weight threshold;
[0010] Step 4: The PLC electronic control system uses the temperature sensor to measure the temperature of the liquid in the tank to obtain the temperature T of the liquid at time t. t ;
[0011] Step 5, initialize i=1;
[0012] Step 6: Determine T t ≤(T target -ΔT i ) is true, if true, then execute step 7, otherwise, assign i+1 to i and return to step 6 to execute until i>I; where T target Indicates the set target temperature;
[0013] Step 7, initialize j=1;
[0014] Step 8: If σ j-1 ≤G t ≤σ j , then execute step 9; otherwise, assign j+1 to j and return to step 8 to execute until j>J;
[0015] Step 9: The PLC electronic control system calculates the i-th temperature variable ΔT of the pneumatic diaphragm regulating valve at time t. i The corresponding opening CV t,i =K mi ×(T target -ΔT i ), where K mi is the i-th temperature variable ΔT i The opening coefficient inside;
[0016] At the same time, the PLC electronic control system calculates the jth weight interval [σ j-1 , σ j ] Opening time Δto t,j =C 1j ×G t And the corresponding temperature variable ΔT at time t i The next j-th weight interval [σ j-1 , σ j ]Close time Δtc t,i,j =C 2j / G t / (T target -ΔT i ), where C 1j is the jth weight opening coefficient; C 2j is the jth weight closure coefficient;
[0017] Step 10: The PLC electronic control system is set at time t according to the opening CV t,i Control the pneumatic diaphragm regulating valve to open to adjust the steam intake, and at the same time, the opening time Δto t,j The stirring motor is controlled to drive the stirring device to move, and the stirring device is closed according to the closing time Δtc t,i,j Control the pneumatic diaphragm regulating valve to close, so that the steam in the steam pipeline is opened for a period of time Δto t,j and the closing time Δtc t,i,j The internal energy can evenly heat the liquid in the tank to achieve the tank heating function, where Δto t,j That is the time for steam to pass through the tank interlayer;
[0018] Step 11: t+Δto t,j +Δtc t,i,j After assigning the value to t, return to step 2 and execute sequentially until T t Arrival T target -ΔT I until.
[0019] The electronic device of the present invention includes a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the liquid temperature control method, and the processor is configured to execute the program stored in the memory.
[0020] The present invention provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and the computer program executes the steps of the liquid temperature control method when the computer program is executed by a processor.
[0021] Compared with the prior art, the present invention has the following beneficial effects:
[0022] 1. According to the characteristics of liquid heating, the liquid heating process has a certain hysteresis. Liquids in different temperature ranges are heated in stages according to liquid weight data using different valve positions and opening and closing times, thereby achieving rapid tracking of the liquid temperature and maintaining the required temperature.
[0023] 2. The present invention realizes precise control by nesting judgments and setting different heating on and off times through dual conditions at different liquid weight stages and different temperature ranges to keep the liquid temperature at the set value. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a schematic diagram of the liquid temperature control structure of the present invention;
[0025] Figure 2 It is a workflow diagram of the method of the present invention. DETAILED DESCRIPTION
[0026] In this embodiment, Figure 1 As shown, a liquid temperature control device for a tank device includes: a PLC electronic control system, a temperature sensor, a tank device, a steam pipeline, a compressed air pipeline, and a pneumatic diaphragm regulating valve;
[0027] Among them, the temperature sensor is connected to the PLC electronic control system through a signal line; the temperature sensor is connected to the tank body through a thread and fixed to the bottom of the tank body, the pneumatic diaphragm regulating valve and the tank body (interlayer) are connected through a steam pipeline, the valve island provides an air source for the compressed air pipeline, and the compressed air pipeline is connected to the pneumatic diaphragm regulating valve;
[0028] The PLC electronic control system includes: mounting backplane, mounting rails, PVC wire duct, power module, CPU, switch, distributed I / O substation system ET200SP, valve island, and frequency converter.
[0029] The mounting rail is connected to the mounting backplate through rivets, the PVC wire trough is connected to the mounting backplate through rivets, the CPU is connected to the power module through cables, the CPU is connected to the switch through Industrial Ethernet, the distributed I / O substation system ET200SP is connected to the switch through Industrial Ethernet, the valve island is connected to the CPU through the industrial field bus PROFIBUS_DP, and the frequency converter is connected to the switch through Industrial Ethernet PROFINET.
[0030] The distributed I / O substation system ET200SP includes: interface module, digital input module, digital output module, analog input module, analog output module, motor starter module; the digital input module, digital output module, analog input module, analog output module and interface module are connected through the module base, and the motor starter module and interface module are connected through the module base.
[0031] The tank device includes: a tank, a stirring motor, a stirring device, and a static scale. The stirring motor and the stirring device are connected through bearings, and the tank and the static scale are fixedly connected through screws.
[0032] In this embodiment, Figure 2 As shown, a liquid temperature control method of a tank device is applied to the above control system and includes the following steps:
[0033] Step 1: Set I temperature variables and record any i-th temperature variable as ΔT i , and ΔT1>ΔT2>...>ΔT i >...>ΔT I , I represents the total number of temperature variables; in this implementation case, two temperature variables are set, ΔT1=10°C, ΔT2=3°C.
[0034] Set the weight intervals corresponding to J weight thresholds, where the jth weight interval is recorded as (σ j-1 , σ j ], where σ j-1 represents the j-1th weight threshold, σ j represents the jth weight threshold; in this real-time example, five weight intervals are set, (10, 60], (60, 120], (120, 180], (180, 240], (240, 300], where 300 kg represents the maximum weight of the liquid in the tank.
[0035] Step 2: The PLC electronic control system uses a static scale to obtain the weight G of the liquid in the tank at time t. t ;
[0036] Step 3: If G t >G0, execute step 4; otherwise, it means that the heating operation condition is not met at time t, and after assigning t+1 to t, return to step 2; wherein G0 represents the weight threshold; in this real-time example, G0=10kg, when the weight of the liquid in the tank device is less than 10kg, the liquid content is small and the system will not heat.
[0037] Step 4: The PLC electronic control system uses a temperature sensor to measure the temperature of the liquid in the tank and obtains the temperature T of the liquid at time t. t , the liquid temperature control range is within 0-100℃.
[0038] Step 5, initialize i=1;
[0039] Step 6: Determine T t ≤(T target -ΔT i ) is true, if true, then execute step 7, otherwise, assign i+1 to i and return to step 6 to execute until i>I; where T target Indicates the set target temperature; this step is to first determine whether the liquid temperature range is less than the set value of -10°C, and if the condition is met, continue to determine the weight range.
[0040] Step 7, initialize j=1;
[0041] Step 8: If σ j-1 ≤G t ≤σ j , then execute step 9; otherwise, assign j+1 to j and return to step 8 to execute until j>J; determine the weight range to which the liquid belongs.
[0042] Step 9: The PLC electronic control system calculates the i-th temperature variable ΔT of the pneumatic diaphragm control valve at time t iThe corresponding opening CV t,i =K mi ×(T target -ΔT i ), where K mi is the i-th temperature variable ΔT i The opening coefficient inside;
[0043] At the same time, the PLC electronic control system calculates the jth weight interval [σ j-1 , σ j ] Opening time Δto t,j =C 1j ×G t And the corresponding temperature variable ΔT at time t i The next j-th weight interval [σ j-1 , σ j ]Close time Δtc t,i,j =C 2j / G t / (T target -ΔT i ), where C 1j is the jth weight opening coefficient; C 2j is the jth weight closing coefficient; the valve opening size is set according to the temperature range of the liquid, and the valve opening and closing time are set according to the temperature and weight range of the liquid.
[0044] Step 10: The PLC electronic control system is set at time t according to the opening CV t,i Control the opening of the pneumatic diaphragm regulating valve to adjust the steam intake and the opening time Δto t,j The stirring motor is controlled to drive the stirring device to move, and the closing time Δtc t,i,j Control the pneumatic diaphragm regulating valve to close, so that the steam in the steam pipeline is opened for a period of time Δto t,j and the closing time Δtc t,i,j The internal energy can evenly heat the liquid in the tank to achieve the tank heating function, where Δto t,j That is the time for steam to pass through the tank interlayer;
[0045] Step 11: t+Δto t,j +Δtc t,i,j After assigning the value to t, return to step 2 and execute sequentially until T t Arrival T target -ΔT I until.
[0046] In this embodiment, an electronic device includes a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the above method, and the processor is configured to execute the program stored in the memory.
[0047] In this embodiment, a computer-readable storage medium stores a computer program on the computer-readable storage medium, and the computer program executes the steps of the above method when executed by a processor.
[0048] In this embodiment, if the temperature is less than (set temperature - 10 ° C), and 10 kg < liquid weight ≤ 60 kg, then the opening of the pneumatic diaphragm regulating valve is sent to CV t,1 =K m1 ×(T target -ΔT1)=2.0×(60-10)=100 opening value, the opening coefficient is 2.0, the target temperature is the set temperature of 60℃, and the opening time of the pneumatic diaphragm control valve is Δto t,1 =C 11 ×G t =0.1G t ; The closing time of the pneumatic diaphragm control valve is Δtc t,1,1 =C 21 / G t / (T target -ΔT1)=100000 / G t / 50;
[0049] If the temperature is less than (set temperature - 10°C) and 60kg<liquid weight≤120kg, the opening is sent to the pneumatic diaphragm regulating valve. t ,1=K m1 ×(T target -ΔT1)=2.0×(60-10)=100 opening value, the opening coefficient is 2.0, the target temperature is the set temperature of 60℃, and the opening time of the pneumatic diaphragm control valve is Δto t ,2=C 12 ×G t =0.1G t ; The closing time of the pneumatic diaphragm regulating valve is Δtc t,1,2 =C 22 / G t / (T target -ΔT1)=150000 / G t / 50;
[0050] If the temperature is less than (set temperature - 10°C) and 120kg<liquid weight≤180kg, send an opening of CV to the pneumatic diaphragm regulating valve. t,1 =K m1 ×(T target-ΔT1)=2.0×(60-10)=100 opening value, the opening coefficient is 2.0, the target temperature is the set temperature of 60℃, and the opening time of the pneumatic diaphragm control valve is Δto t,3 =C 13 ×G t =0.1G t ; The closing time of the pneumatic diaphragm regulating valve is Δtc t,1,3 =C 23 / G t / (T target -ΔT1)=350000 / G t / 50;
[0051] If the temperature is less than (set temperature - 10°C) and 180kg<liquid weight≤240kg, send the opening CV to the pneumatic diaphragm regulating valve. t,1 =K m1 ×(T target -ΔT1)=2.0×(60-10)=100 opening value, the opening coefficient is 2.0, the target temperature is the set temperature of 60℃, and the opening time of the pneumatic diaphragm control valve is Δto t,4 =C 14 ×G t =0.1G t ; The closing time of the pneumatic diaphragm regulating valve is Δtc t,1,4 =C 24 / G t / (T target -ΔT1)=500000 / G t / 50;
[0052] If the temperature is less than (set temperature - 10°C) and 240kg<liquid weight≤300kg, send an opening of CV to the pneumatic diaphragm control valve. t,1 =K m1 ×(T target -ΔT1)=2.0×(60-10)=100 opening value, the opening coefficient is 2.0, the target temperature is the set temperature of 60℃, and the opening time of the pneumatic diaphragm control valve is Δto t,5 =C 15 ×G t =0.1G t ; The closing time of the pneumatic diaphragm regulating valve is Δtc t,1,5 =C 25 / G t / (T target -ΔT1)=700000 / G t / 50;
[0053] If the temperature is less than (set temperature - 3°C) and 10kg<liquid weight≤60kg, the opening is sent to the pneumatic diaphragm regulating valve. t,2 =K m2 ×(T target -ΔT2)=1.0×(60-3)=57 opening value, the opening coefficient is 1.0, the target temperature is the set temperature 60℃, and the opening time of the pneumatic diaphragm control valve is Δto t,1 =C 11 ×G t =0.1G t ; The closing time of the pneumatic diaphragm regulating valve is Δtc t,2,1 =C 21 / G t / (T target -ΔT2)=100000 / G t / 57;
[0054] If the temperature is less than (set temperature - 3°C) and 60kg<liquid weight≤120kg, send the opening CV to the pneumatic diaphragm regulating valve. t,2 =K m2 ×(T target -ΔT2)=1.0×(60-3)=57 opening value, the opening coefficient is 1.0, the target temperature is the set temperature 60℃, and the opening time of the pneumatic diaphragm control valve is Δto t,2 =C 12 ×G t =0.1G t ; The closing time of the pneumatic diaphragm regulating valve is Δtc t,2,2 =C 22 / G t / (T target -ΔT2)=150000 / G t / 57;
[0055] If the temperature is less than (set temperature - 3°C) and 120kg<liquid weight≤180kg, send the opening CV to the pneumatic diaphragm regulating valve. t,2 =K m2 ×(T target -ΔT2)=1.0×(60-3)=57 opening value, the opening coefficient is 1.0, the target temperature is the set temperature 60℃, and the opening time of the pneumatic diaphragm control valve is Δto t,3 =C 13 ×G t =0.1G t ; The closing time of the pneumatic diaphragm regulating valve is Δtc t,2,3 =C 23 / G t / (T target -ΔT2)=350000 / Gt / 57;
[0056] If the temperature is less than (set temperature - 3°C) and 180kg<liquid weight≤240kg, send an opening of CV to the pneumatic diaphragm regulating valve. t,2 =K m2 ×(T target -ΔT2)=1.0×(60-3)=57 opening value, the opening coefficient is 1.0, the target temperature is the set temperature 60℃, and the opening time of the pneumatic diaphragm control valve is Δto t,4 =C 14 ×G t =0.1G t ; The closing time of the pneumatic diaphragm regulating valve is Δtc t,2,4 =C 24 / G t / (T target -ΔT2)=500000 / G t / 57;
[0057] If the temperature is less than (set temperature - 3°C) and 240kg<liquid weight≤300kg, send an opening of CV to the pneumatic diaphragm control valve. t,2 =K m2 ×(T target -ΔT2)=1.0×(60-3)=57 opening value, the opening coefficient is 1.0, the target temperature is the set temperature 60℃, and the opening time of the pneumatic diaphragm control valve is Δto t,5 =C 15 ×G t =0.1G t ; The closing time of the pneumatic diaphragm regulating valve is Δtc t,2,5 =C 25 / G t / (T target -ΔT2)=700000 / G t / 57.
Claims
1. A method for controlling the liquid temperature of a tank device, characterized in that: It is applied to a scene composed of a PLC electronic control system, a temperature sensor, a tank device, a steam pipeline, a compressed air pipeline, and a pneumatic diaphragm regulating valve; wherein the pneumatic diaphragm valve is located on the steam pipeline, the compressed air pipeline is used to provide an air source, and the tank device includes: a tank, a stirring motor, a stirring device, and a static scale; the liquid temperature control method is performed according to the following steps: Step 1: Set I temperature variables and record any i-th temperature variable as ΔT i , and ΔT1>ΔT2>...>ΔT i >...>ΔT I , I represents the total number of temperature variables; Set the weight intervals corresponding to J weight thresholds, where the jth weight interval is recorded as (σ j-1 , σ j ], where σ j-1 represents the j-1th weight threshold, σ j represents the jth weight threshold; Step 2: The PLC electronic control system uses the static scale to obtain the weight G of the liquid in the tank at time t. t ; Step 3: If G t >G0, then execute step 4; otherwise, it means that the heating operation condition is not met at time t, and after assigning t+1 to t, return to step 2; where G0 represents the weight threshold; Step 4: The PLC electronic control system uses the temperature sensor to measure the temperature of the liquid in the tank to obtain the temperature T of the liquid at time t. t ; Step 5, initialize i=1; Step 6: Determine T t ≤(T target -ΔT i ) is true, if true, then execute step 7, otherwise, assign i+1 to i and return to step 6 to execute until i>I; where T target Indicates the set target temperature; Step 7, initialize j=1; Step 8: If σ j-1 ≤G t ≤σ j , then execute step 9; otherwise, assign j+1 to j and return to step 8 to execute until j>J; Step 9: The PLC electronic control system calculates the i-th temperature variable ΔT of the pneumatic diaphragm regulating valve at time t. i The corresponding opening CV t,i =K mi ×(T target -ΔT i ), where K mi is the i-th temperature variable ΔT i The opening coefficient inside; At the same time, the PLC electronic control system calculates the jth weight interval [σ j-1 , σ j ] Opening time Δto t,j =C 1j ×G t And the corresponding temperature variable ΔT at time t i The next j-th weight interval [σ j-1 , σ j ]Close time Δtc t,i,j =C 2j / G t / (T target -ΔT i ), where C 1j is the jth weight opening coefficient; C 2j is the jth weight closure coefficient; Step 10: The PLC electronic control system is set at time t according to the opening CV t,i Control the pneumatic diaphragm regulating valve to open to adjust the steam intake, and at the same time, the opening time Δto t,j The stirring motor is controlled to drive the stirring device to move, and the stirring device is closed according to the closing time Δtc t,i,j Control the pneumatic diaphragm regulating valve to close, so that the steam in the steam pipeline is opened for a period of time Δto t,j and the closing time Δtc t,i,j The internal energy can evenly heat the liquid in the tank to achieve the tank heating function, where Δto t,j That is the time for steam to pass through the tank interlayer; Step 11: t+Δto t,j +Δtc t,i,j After assigning the value to t, return to step 2 and execute sequentially until T t Arrive at T target -ΔT I until.
2. An electronic device, comprising a memory and a processor, characterized in that: The memory is used to store a program that supports the processor to execute the liquid temperature control method according to claim 1, and the processor is configured to execute the program stored in the memory.
3. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the liquid temperature control method according to claim 1 are executed.
