Control method and control system of intelligent heating water tank
By introducing temperature and water level sensors, Kalman filters, and PID controllers into the heating water tank, combined with remote data transmission and automatic protection mechanisms, the problems of inaccurate control, difficult fault diagnosis, lack of remote control, and insufficient voltage monitoring in existing heating water tanks are solved, achieving precise heating, rapid response, and safety assurance.
Patent Information
- Application Number
- CN202411022414.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-26
AI Technical Summary
Existing heated water tanks suffer from problems such as easily damaged AC contactors, insufficient fault diagnosis, lack of remote control and power supply voltage monitoring, and low energy efficiency, which affect the reliability of the equipment and user experience.
Temperature and water level sensors are used for real-time monitoring. Kalman filters and PID controllers are used for data fusion and heating power calculation. Combined with remote data transmission and anomaly detection, closed-loop control and automatic protection are achieved.
It enables precise control, rapid response, remote management, and safety assurance of the heating process, improving equipment reliability and user convenience while reducing maintenance costs.
Smart Images

Figure CN119024894A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a control method and a control system of an intelligent heating water tank, belonging to the field of intelligence. Background Art
[0002] The heating sink products currently on the market have some obvious deficiencies in design and function, which limit their performance and reliability. The following is a detailed analysis of these current situations:
[0003] Limitations of AC contactors: Many heating sinks use AC contactors to control the power supply and power failure of the silicone heating plate. Since the heating system is usually high-powered, AC contactors are prone to arcing during frequent operation, resulting in contact erosion and sparking. This not only shortens the service life of the contactor, but may also cause safety hazards. In addition, the mechanical characteristics of the contactor also limit its response speed and accuracy.
[0004] Insufficient fault diagnosis: Existing products often cannot provide accurate fault diagnosis when heating equipment fails. The lack of effective fault detection and diagnosis mechanism makes it difficult for users to determine the specific cause of the fault, such as whether it is a damaged heating element, a power supply problem, or a control system failure. This uncertainty increases the difficulty and cost of maintenance.
[0005] Lack of remote control: Many heating water tanks lack remote observation and control functions. Users cannot remotely monitor the status of the water tank in real time, such as water temperature, water level, and energy consumption, nor can they remotely adjust heating parameters or control the heating process when needed. This limitation limits the user's convenience and flexibility.
[0006] Lack of power supply voltage monitoring: Existing heating water tank systems often cannot effectively monitor and adapt to changes in power supply voltage. When the power supply voltage is unstable or exceeds the equipment design range, it is easy to damage the heating equipment and affect the normal operation of the system. The lack of voltage monitoring and protection mechanism increases the risk of equipment failure.
[0007] Energy efficiency issues: Due to the lack of intelligent control, existing heating tanks may waste energy during the heating process. For example, the system may continue to heat the water after the water temperature has reached the preset value, or continue to supply power when the water level is too low, resulting in ineffective energy consumption. Summary of the invention
[0008] In order to overcome the defects of the prior art, the present invention provides a control method and control system of an intelligent heating water tank. The technical solution of the present invention is:
[0009] A control method for an intelligent heating water tank comprises the following steps:
[0010] a. Read the external water temperature and water level;
[0011] b. Calculate the heating power based on the preset water temperature and the current water temperature;
[0012] c. Control the heating system to adjust the water temperature to the preset value;
[0013] d. Transmit data to the cloud system for remote observation and control;
[0014] e. When the voltage is abnormal or the water level is lower than the set value, heating will stop automatically and an alarm will be issued.
[0015] The step a is specifically:
[0016] (1) Use temperature sensors and water level sensors to monitor the water temperature and water level in the water tank in real time;
[0017] (2) Temperature sensor output voltage V temp It is proportional to the water temperature T, and the formula is: V temp =m×T+b, where m is the proportionality factor and b is the bias voltage;
[0018] (2) The output signal of the water level sensor changes according to the water level. The formula is: L = n × (V level -V min ) where L is the water level, V level is the sensor output voltage, V min is the voltage corresponding to the lowest water level, and n is the proportionality coefficient;
[0019] Among them, in step a, the data collected by the temperature sensor is fused using a Kalman filter to improve the accuracy of water temperature measurement:
[0020]
[0021] in, is the filtered temperature, K k is the Kalman gain, T sensor is the raw reading of the sensor;
[0022] The water level measurement data uses a moving average filter to smooth the water level data:
[0023]
[0024] Among them, L smooth is the smoothed water level, L raw is the raw water level reading, w[i] is the weight coefficient, and N is the order of the filter.
[0025] In the step b, specifically:
[0026] (1) According to the preset water temperature Tset and the current water temperature T current , calculate the temperature difference ΔT: ΔT = T set -T current ;
[0027] (2) Use the proportional-integral-derivative controller to calculate the heating power P:
[0028]
[0029] Among them, Kp, Ki and Kd are the proportional, integral and differential gains of the PID controller respectively; ∫(ΔT)dt is the integral term of the error, which means the accumulated sum of the temperature difference from the beginning of the control process to the current moment; d(ΔT) / dt is the differential term of the error, which means the rate of change of the temperature difference over time.
[0030] In the step c, specifically:
[0031] (1) Error calculation: First, calculate the water temperature error e at the current moment k , it is the preset water temperature Tse t With the current water temperature Tcurren t ,k difference: e k =T set -T current,k ;
[0032] (2) Error change: Next, calculate the error change, which is the difference between the current error and the previous error ek-1: Δe k =e k -e k-1 ;
[0033] (3) Adaptive adjustment factor: Use the adjustment factor α to update the proportional gain K p,old The adjustment factor α is a function based on the error change rate, α = f(Δe k )=γ·log(1+|Δe k |), where γ is a positive constant used to control the growth rate of the adjustment factor.
[0034] (4) Update the proportional gain: Update the proportional gain K according to the error change and the adaptive adjustment factor. p,new :K p,new =K p,old +α·Δe k ;
[0035] (5) Integral term and differential term: In addition to the proportional gain, the PID controller also includes an integral term and a differential term, which respond to the accumulation and rate of change of the error respectively:
[0036] I k=I k-1 +e k ·Δt
[0037]
[0038] Where Ik is the integral term of the kth iteration, Dk is the differential term, and Δt is the sampling time interval.
[0039] (6) Controller output: The output of the PID controller is the sum of the proportional term, the integral term, and the differential term, which is used to adjust the power of the heating system:
[0040]
[0041] Among them, K i is the integral gain, K d is the differential gain, u k is the control input.
[0042] (7) Closed-loop control: The controller output uk is applied to the heating system, and the heating power is adjusted according to real-time feedback to form a closed-loop control system.
[0043] In the step d, specifically:
[0044] The data of water temperature T, water level L, and heating power Pout are spliced using a data encapsulation algorithm and sent to the cloud server via a wireless network.
[0045] The step e is specifically as follows:
[0046] (1) Voltage and water level monitoring: Real-time monitoring of the supply voltage V through sensors supply and the current water level L current ;
[0047] (2) Safety threshold setting: Set the voltage safety threshold to V min and V max , and the safety threshold of the water level is L min ;
[0048] (3) Anomaly detection logic: Anomaly detection algorithms use logical operations to determine whether an anomaly exists:
[0049] Safety_Check=(V supply <V min )∨(V supply >V max )∨(L current <L min );
[0050] If Safety_Check is true, V supply Less than Vmin or greater than V max , or L current Less than L min ; indicates that an abnormality has been detected.
[0051] (4) Automatically stop heating: Once an abnormal situation is detected, the following control logic is automatically executed to ensure safety:
[0052]
[0053] If Safety_CheckSafety_Check is false, the heater continues to work; if it is true, the heater stops working immediately;
[0054] (5) Alert information generation: Generate alert information so that users can quickly identify problems and take action:
[0055] (6) Warning information transmission: The warning information is displayed on the display screen of the control panel and sent to the user through the remote notification system;
[0056] (7) User response: After receiving the warning message, the user checks the power supply and water level in the tank and takes necessary corrective measures;
[0057] (8) System recovery: After the problem is solved, the user manually resets the system, or restarts the heating process after normal conditions are automatically detected.
[0058] A control system for an intelligent heating water tank, comprising:
[0059] Data acquisition module, used to read external water temperature and water level;
[0060] A power calculation module, used to calculate the heating power according to the preset water temperature and the current water temperature;
[0061] A heating module is used to control the operation of the heating system to adjust the water temperature to a preset value;
[0062] Data transmission module, used to transmit data to the cloud system for remote observation and control;
[0063] The automatic stop heating module is used to automatically stop heating and issue an alarm when the voltage is abnormal or the water level is lower than the set value.
[0064] The advantages of the present invention are:
[0065] 1. Precise control: By real-time monitoring of water temperature and water level through the data acquisition module, the system can accurately control the heating process to ensure that the water temperature reaches the preset value.
[0066] 2. Data fusion: Using Kalman filter to process water temperature data improves the accuracy and reliability of temperature measurement and reduces the impact of errors and noise.
[0067] 3. Adaptive adjustment: The adaptive control algorithm can dynamically adjust the parameters of the PID controller according to real-time feedback, improve the response speed and stability of the system, and optimize the heating effect.
[0068] 4. Remote observation and control: The data transmission module sends data such as water temperature, water level and heating power to the cloud system. Users can remotely observe and control the heating tank, which improves convenience.
[0069] 5. Safety protection: When the heating module detects abnormal voltage or low water level, it can automatically stop heating and issue an alarm to effectively prevent equipment damage and safety accidents. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 It is a schematic diagram of the main structure of the system of the present invention. DETAILED DESCRIPTION
[0071] The present invention will be further described below in conjunction with specific embodiments, and the advantages and features of the present invention will become clearer as the description proceeds. However, these embodiments are exemplary only and do not constitute any limitation to the scope of the present invention. It should be understood by those skilled in the art that the details and forms of the technical solution of the present invention may be modified or replaced without departing from the spirit and scope of the present invention, but these modifications and replacements all fall within the scope of protection of the present invention.
[0072] The present invention relates to a control method for an intelligent heating water tank, comprising the following steps: a. reading external water temperature and water level; b. calculating heating power according to preset water temperature and current water temperature; c. controlling the operation of the heating system to adjust the water temperature to a preset value; d. transmitting data to a cloud system for remote observation and control; e. automatically stopping heating and issuing an alarm when the voltage is abnormal or the water level is lower than the set value.
[0073] In the present invention, the following effects are achieved:
[0074] Real-time monitoring and response: By reading the water temperature and water level in real time through step a, the system can respond to changes in the external environment in a timely manner to ensure the accuracy and timeliness of the heating process.
[0075] Precise control: In step b, by calculating the difference between the preset water temperature and the current water temperature and applying the PID controller, the system is able to accurately adjust the heating power and achieve precise control of the water temperature.
[0076] Adaptive adjustment: The adaptive control algorithm in step c can dynamically adjust the heating power according to real-time feedback, improve the response speed and stability of the system, and reduce temperature fluctuations.
[0077] Remote management: The data transmission function in step d allows users to remotely observe and control the heating tank through the cloud system, improving the convenience and flexibility of management, no matter where the user is.
[0078] Safety guarantee: The automatic heating stop and warning function in step e can take timely measures when the voltage is abnormal or the water level is too low to prevent equipment damage and safety accidents, thereby enhancing the safety of the system.
[0079] Data recording and analysis: By transmitting data to the cloud system, users can record and analyze the operating data of the heating tank, optimize the heating strategy, and improve energy efficiency.
[0080] Fault diagnosis: The system's anomaly detection logic can accurately determine the fault condition, facilitate rapid location and resolution of the problem, and reduce maintenance costs and time.
[0081] User interaction: The generation and sending mechanism of warning information ensures that users can understand the device status in a timely manner, facilitates users to respond and handle abnormal situations in a timely manner, and improves user experience. Step a is as follows:
[0082] (1) Use temperature sensors and water level sensors to monitor the water temperature and water level in the water tank in real time;
[0083] (2) Temperature sensor output voltage V temp It is proportional to the water temperature T, and the formula is: V temp =m×T+b, where m is the proportionality factor and b is the bias voltage;
[0084] (2) The output signal of the water level sensor changes according to the water level. The formula is: L = n × (V level -V min ) where L is the water level, V level is the sensor output voltage, V min is the voltage corresponding to the lowest water level, and n is the proportionality coefficient;
[0085] Among them, in step a, the data collected by the temperature sensor is fused using a Kalman filter to improve the accuracy of water temperature measurement:
[0086]
[0087] in, is the filtered temperature, K k is the Kalman gain, T sensor is the raw reading of the sensor;
[0088] The water level measurement data uses a moving average filter to smooth the water level data:
[0089]
[0090] Among them, L smooth is the smoothed water level, L raw is the raw water level reading, w[i] is the weight coefficient, and N is the order of the filter.
[0091] In the step b, specifically:
[0092] (1) According to the preset water temperature T set and the current water temperature T current , calculate the temperature difference ΔT: ΔT = T set -T current ;
[0093] (2) Use the proportional-integral-derivative controller to calculate the heating power P:
[0094]
[0095] Among them, Kp, Ki and Kd are the proportional, integral and differential gains of the PID controller respectively; ∫(ΔT)dt is the integral term of the error, which means the accumulated sum of the temperature difference from the beginning of the control process to the current moment; d(ΔT) / dt is the differential term of the error, which means the rate of change of the temperature difference over time.
[0096] In the step c, specifically:
[0097] (1) Error calculation: First, calculate the water temperature error e at the current moment k , it is the preset water temperature T set With the current water temperature T current,k The difference between: e k =T set -T current,k ;
[0098] (2) Error change: Next, calculate the error change, which is the difference between the current error and the previous error ek-1: Δe k =e k -e k-1 ;
[0099] (3) Adaptive adjustment factor: Use the adjustment factor α to update the proportional gain K p,old The adjustment factor α is a function based on the error change rate, α = f(Δe k )=γ·log(1+|Δe k |), where γ is a positive constant used to control the growth rate of the adjustment factor.
[0100] (4) Update the proportional gain: Update the proportional gain K according to the error change and the adaptive adjustment factor. p,new :K p,new =k p,old +α·Δe k ;
[0101] (5) Integral term and differential term: In addition to the proportional gain, the PID controller also includes an integral term and a differential term, which respond to the accumulation and rate of change of the error respectively:
[0102] I k =I k-1 +e k ·Δt
[0103]
[0104] Where Ik is the integral term of the kth iteration, Dk is the differential term, and Δt is the sampling time interval.
[0105] (6) Controller output: The output of the PID controller is the sum of the proportional term, the integral term, and the differential term, which is used to adjust the power of the heating system:
[0106]
[0107] Among them, K i is the integral gain, K d is the differential gain, u k is the control input.
[0108] (7) Closed-loop control: The controller output uk is applied to the heating system, and the heating power is adjusted according to real-time feedback to form a closed-loop control system.
[0109] In the step d, specifically:
[0110] The data of water temperature T, water level L, and heating power Pout are spliced using a data encapsulation algorithm and sent to the cloud server via a wireless network.
[0111] The step e is specifically as follows:
[0112] (1) Voltage and water level monitoring: Real-time monitoring of the supply voltage V through sensors supply and the current water level L current ;
[0113] (2) Safety threshold setting: Set the voltage safety threshold to V min and V max , and the safety threshold of the water level is L min ;
[0114] (3) Anomaly detection logic: Anomaly detection algorithms use logical operations to determine whether an anomaly exists:
[0115] Safety_Check=(V supply <V min )∨(V supply >V max )∨(L current <L min );
[0116] If Safety_Check is true, V supply Less than V min or greater than V max , or L current Less than L min ; indicates that an abnormality has been detected.
[0117] (4) Automatically stop heating: Once an abnormal situation is detected, the following control logic is automatically executed to ensure safety:
[0118]
[0119] If Safety_CheckSafety_Check is false, the heater continues to work; if it is true, the heater stops working immediately;
[0120] (5) Alert information generation: Generate alert information so that users can quickly identify problems and take action:
[0121] (6) Warning information transmission: The warning information is displayed on the display screen of the control panel and sent to the user through a remote notification system, such as SMS, email or mobile application push.
[0122] (7) User response: After receiving the warning message, the user checks the power supply and the water level in the tank and takes necessary corrective measures, such as adjusting the voltage or replenishing the water level.
[0123] (8) System recovery: After the problem is solved, the user manually resets the system, or restarts the heating process after normal conditions are automatically detected.
[0124] The present invention also relates to a control system for an intelligent heating water tank, comprising:
[0125] Data acquisition module 1, used to read external water temperature and water level;
[0126] Power calculation module 2, used to calculate heating power according to preset water temperature and current water temperature;
[0127] The heating module 3 is used to control the operation of the heating system to adjust the water temperature to a preset value;
[0128] The data transmission module 4 is used to transmit data to the cloud system for remote observation and control; the automatic heating stop module 5 is used to automatically stop heating and issue an alarm when the voltage is abnormal or the water level is lower than the set value.
[0129] Based on the design of the above modules, the following are achieved:
[0130] Modular design: By dividing the system into data acquisition module, power calculation module, heating module, data transmission module and automatic stop heating module, each module has clear functions and responsibilities, which is convenient for maintenance and upgrading.
[0131] Real-time data acquisition: The data acquisition module 1 can monitor the water temperature and water level in real time, provide accurate data support, and provide a reliable basis for subsequent control.
[0132] Accurate power control: The power calculation module 2 calculates the heating power according to the preset water temperature and the current water temperature to ensure the accuracy and energy efficiency of the heating process.
[0133] Flexible heating adjustment: The heating module 3 controls the heating system according to the calculation results, and can flexibly adjust the water temperature to the preset value to meet different usage requirements.
[0134] Remote monitoring and control: The data transmission module 4 transmits key data to the cloud system, and users can remotely observe the status of the equipment and control it, which improves the convenience and flexibility of management.
[0135] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can make equivalent replacements or changes according to the technical scheme and inventive concept of the present invention within the technical scope disclosed by the present invention, which should be covered by the protection scope of the present invention.
Claims
1. A control method for an intelligent heating water tank, It is characterized in that The following steps are involved: a. Read the external water temperature and water level; b. Calculate the heating power based on the preset water temperature and the current water temperature; c. Control the heating system to adjust the water temperature to the preset value; d. Transmit data to the cloud system for remote observation and control; e. When the voltage is abnormal or the water level is lower than the set value, heating will stop automatically and an alarm will be issued.
2. The control method of the intelligent heating water tank according to claim 1, It is characterized in that The step a is specifically: (1) Use temperature sensors and water level sensors to monitor the water temperature and water level in the water tank in real time; (2) Temperature sensor output voltage V temp It is proportional to the water temperature T, and the formula is: V temp =m×T+b, where m is the proportionality factor and b is the bias voltage; (2) The output signal of the water level sensor changes according to the water level. The formula is: L = n × (V level -V min ) where L is the water level, V level is the sensor output voltage, V min is the voltage corresponding to the lowest water level, and n is the proportionality coefficient; Among them, in step a, the data collected by the temperature sensor is fused using a Kalman filter to improve the accuracy of water temperature measurement: in, is the filtered temperature, K k is the Kalman gain, T sensor is the raw reading of the sensor; The water level measurement data uses a moving average filter to smooth the water level data: Among them, L smooth is the smoothed water level, L raw is the raw water level reading, w[i] is the weight coefficient, and N is the order of the filter.
3. The control method of the intelligent heating water tank according to claim 1 or 2, It is characterized in that In the step b, specifically: (1) According to the preset water temperature T set and the current water temperature T current , calculate the temperature difference ΔT: ΔT = T set -T current ; (2) Use the proportional-integral-derivative controller to calculate the heating power P: Among them, Kp, Ki and Kd are the proportional, integral and differential gains of the PID controller respectively; ∫(ΔT)dt is the integral term of the error, which means the accumulated sum of the temperature difference from the beginning of the control process to the current moment; d(ΔT) / dt is the differential term of the error, which means the rate of change of the temperature difference over time.
4. The control method of the intelligent heating water tank according to claim 1 or 2, It is characterized in that In the step c, specifically: (1) Error calculation: First, calculate the water temperature error e at the current moment k , it is the preset water temperature T set With the current water temperature T current,k The difference between: e k =T set -T current,k ; (2) Error change: Next, calculate the error change, which is the difference between the current error and the previous error ek-1: Δe k =e k -e k-1 ; (3) Adaptive adjustment factor: Use the adjustment factor α to update the proportional gain K p,old The adjustment factor α is a function based on the error change rate, α = f(Δe k )=γ·log(1+|Δe k |), where γ is a positive constant used to control the growth rate of the adjustment factor. (4) Update the proportional gain: Update the proportional gain K according to the error change and the adaptive adjustment factor. p,new :K p,new =K p,old +α·Δe k ; (5) Integral term and differential term: In addition to the proportional gain, the PID controller also includes an integral term and a differential term, which respond to the accumulation and rate of change of the error respectively: I k =I k-1 +e k ·Δt Where Ik is the integral term of the kth iteration, Dk is the differential term, and Δt is the sampling time interval. (6) Controller output: The output of the PID controller is the sum of the proportional term, the integral term, and the differential term, which is used to adjust the power of the heating system: Among them, K i is the integral gain, K d is the differential gain, u k is the control input. (7) Closed-loop control: The controller output uk is applied to the heating system, and the heating power is adjusted according to real-time feedback to form a closed-loop control system.
5. The control method of the intelligent heating water tank according to claim 1 or 2, It is characterized in that In the step d, specifically: The data of water temperature T, water level L, and heating power Pout are spliced using a data encapsulation algorithm and sent to the cloud server via a wireless network.
6. The control method of the intelligent heating water tank according to claim 1 or 2, It is characterized in that The step e is specifically as follows: (1) Voltage and water level monitoring: Real-time monitoring of the supply voltage V through sensors supply and the current water level L current ; (2) Safety threshold setting: Set the voltage safety threshold to V min and V max , and the safety threshold of the water level is L min ; (3) Anomaly detection logic: Anomaly detection algorithms use logical operations to determine whether an anomaly exists: Safety_Check=(V supply <V min )∨(V supply >V max )∨(L current <L min ); If Safety_Check is true, V supply Less than V min or greater than V max , or L current Less than L min ; indicates that an abnormality has been detected. (4) Automatically stop heating: Once an abnormal situation is detected, the following control logic is automatically executed to ensure safety: If Safety_CheckSafety_Check is false, the heater continues to work; if it is true, the heater stops working immediately; (5) Alert information generation: Generate alert information so that users can quickly identify problems and take action: (6) Warning information transmission: The warning information is displayed on the display screen of the control panel and sent to the user through the remote notification system (7) User response: After receiving the warning message, the user checks the power supply and water level in the tank and takes necessary corrective measures; (8) System recovery: After the problem is solved, the user manually resets the system, or restarts the heating process after normal conditions are automatically detected.
7. A control system for an intelligent heating water tank, It is characterized in that include: Data acquisition module, used to read external water temperature and water level; A power calculation module, used to calculate the heating power according to the preset water temperature and the current water temperature; A heating module is used to control the operation of the heating system to adjust the water temperature to a preset value; Data transmission module, used to transmit data to the cloud system for remote observation and control; The automatic stop heating module is used to automatically stop heating and issue an alarm when the voltage is abnormal or the water level is lower than the set value.
