CN114935953A - Constant-temperature water control method, device and medium - Google Patents

Constant-temperature water control method, device and medium Download PDF

Info

Publication number
CN114935953A
CN114935953A CN202210568512.2A CN202210568512A CN114935953A CN 114935953 A CN114935953 A CN 114935953A CN 202210568512 A CN202210568512 A CN 202210568512A CN 114935953 A CN114935953 A CN 114935953A
Authority
CN
China
Prior art keywords
hot water
water pump
control
water temperature
temperature offset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210568512.2A
Other languages
Chinese (zh)
Inventor
陈新
肖文斌
何浩浩
王超
张航登
刘俊丽
陈贵
于慎瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Lonsid Healthy Drinking Water Equipment Co ltd
Original Assignee
Zhejiang Lonsid Healthy Drinking Water Equipment Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Lonsid Healthy Drinking Water Equipment Co ltd filed Critical Zhejiang Lonsid Healthy Drinking Water Equipment Co ltd
Priority to CN202210568512.2A priority Critical patent/CN114935953A/en
Publication of CN114935953A publication Critical patent/CN114935953A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D23/00Control of temperature
    • G05D23/19Control of temperature characterised by the use of electric means
    • G05D23/20Control of temperature characterised by the use of electric means with sensing elements having variation of electric or magnetic properties with change of temperature
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Feedback Control In General (AREA)

Abstract

The application discloses a control method of constant temperature water, relates to the field of electric appliance control, and comprises the following steps: acquiring a preset hot water pump duty ratio corresponding to the target outlet water temperature; determining the current water temperature offset and the historical water temperature offset; calculating according to the current water temperature offset to obtain a proportional control item; calculating to obtain an integral control item according to the accumulated values of the current water temperature offset and the historical water temperature offset; determining the change rate of the water temperature offset according to the current water temperature offset and the historical water temperature offset, and calculating according to the change rate of the water temperature offset to obtain a differential control item; calculating according to the preset duty ratio of the hot water pump, the proportional control term, the integral control term and the derivative control term to obtain the control quantity of the hot water pump; and taking the control quantity of the hot water pump as the target duty ratio of the hot water pump so that the hot water pump controls the hot water flow according to the target duty ratio. The duty ratio of the preset hot water pump is adjusted, the system error of the clean hot water drinking all-in-one machine is effectively avoided, and the accuracy of the water outlet temperature is improved.

Description

Constant-temperature water control method, device and medium
Technical Field
The present application relates to the field of electrical appliance control, and in particular, to a method, an apparatus and a medium for controlling constant temperature water.
Background
In order to meet the requirements of users, most of the clean hot drink all-in-one machines in the market can provide water with corresponding temperature according to the temperature set by the users.
At present, a clean hot water and drinking all-in-one machine provides water with corresponding temperature according to the temperature set by a user, and the duty ratio of a water pump corresponding to a hot water tank and the duty ratio of a water pump corresponding to a cold water tank are respectively determined according to the temperature set by the user so as to control the flow of the two water pumps, so that the temperature of outlet water is ensured to be the temperature set by the user; by controlling the duty ratio of the double pumps, compared with the structure of single-speed heating and single-heating tanks, the high-flow water outlet and real-time temperature adjustment can be realized. However, due to the difference of the water pump, the performance of the water pump is also reduced after the water pump is used for many times, and due to the deformation of a water pipeline and the like, the flow corresponding to the same duty ratio is deviated, so that the actual outlet water temperature is deviated from the temperature set by a user.
Therefore, how to improve the accuracy of the outlet water temperature is a problem that needs to be solved urgently by those skilled in the art.
Disclosure of Invention
The application aims to provide a method, a device and a medium for controlling constant-temperature water, which are used for improving the accuracy of outlet water temperature.
In order to solve the above technical problem, the present application provides a method for controlling constant temperature water, including:
acquiring a preset hot water pump duty ratio corresponding to the target outlet water temperature;
determining the current water temperature offset and the historical water temperature offset;
calculating to obtain a proportional control item according to the current water temperature offset;
calculating to obtain an integral control term according to the accumulated value of the current water temperature offset and the historical water temperature offset;
determining the change rate of the water temperature offset according to the current water temperature offset and the historical water temperature offset, and calculating according to the change rate of the water temperature offset to obtain a differential control item;
calculating to obtain the control quantity of the hot water pump according to the preset duty ratio of the hot water pump, the proportional control term, the integral control term and the derivative control term;
and taking the control quantity of the hot water pump as a target duty ratio of the hot water pump so that the hot water pump can control the hot water flow according to the target duty ratio.
Preferably, the taking the hot water pump control amount as a target duty ratio of the hot water pump includes:
judging whether the control quantity of the hot water pump is within a preset interval or not;
if not, taking the preset hot water pump duty ratio as the target duty ratio;
and if so, taking the control quantity of the hot water pump as the target duty ratio.
Preferably, after the setting the control amount of the hot water pump as the target duty ratio, the method further includes:
and recording the control quantity of the hot water pump corresponding to the target outlet water temperature, and modifying the preset duty ratio of the hot water pump corresponding to the target outlet water temperature into the control quantity of the hot water pump.
Preferably, the calculating a proportional control term according to the current water temperature offset includes:
calculating to obtain the proportional control term by adopting a first preset formula, wherein the first preset formula is as follows:
C 1 =K P ×e(k),
wherein, the C 1 Is the proportional control term;
said K P Is a proportionality coefficient;
said e (k) is said current water temperature offset.
Preferably, the calculating an integral control term according to the accumulated value of the current water temperature offset and the historical water temperature offset includes:
and calculating to obtain the integral control term by adopting a second preset formula, wherein the second preset formula is as follows:
Figure BDA0003659235020000021
wherein, the C 2 Is the integral control term;
said K I Is an integral coefficient;
the Σ e (i) is the accumulated value.
Preferably, said calculating a derivative control term according to said water temperature offset change rate includes:
calculating to obtain the differential control term by adopting a third preset formula, wherein the third preset formula is as follows:
C 3 =K D [e(k)-e(k-1)],
wherein, the C 3 Is the differential control term;
said K D Is a differential coefficient;
the e (k) -e (k-1) is the water temperature offset change rate.
Preferably, the calculating the control amount of the hot water pump according to the preset duty ratio of the hot water pump, the proportional control term, the integral control term and the derivative control term includes:
calculating to obtain the control quantity of the hot water pump by adopting a fourth preset formula, wherein the fourth preset formula is as follows:
u(k)=C 1 +C 2 +C 3 +K C
wherein, the C 1 Is the proportional control term;
said C is 2 Is the integral control term;
said C is 3 Is the differential control term;
said K C And setting the duty ratio of the hot water pump.
The present application also provides a control device of constant temperature water, including:
the acquisition module is used for acquiring a preset hot water pump duty ratio corresponding to the target outlet water temperature;
the determining module is used for determining the current water temperature offset and the historical water temperature offset;
the first calculation module is used for calculating to obtain a proportional control item according to the current water temperature offset;
the second calculation module is used for calculating to obtain an integral control item according to the accumulated value of the current water temperature offset and the historical water temperature offset;
the third calculation module is used for determining the change rate of the water temperature offset according to the current water temperature offset and the historical water temperature offset, and calculating to obtain a differential control item according to the change rate of the water temperature offset;
the fourth calculation module is used for calculating the control quantity of the hot water pump according to the preset hot water pump duty ratio, the proportional control term, the integral control term and the derivative control term;
and the control module is used for taking the control quantity of the hot water pump as a target duty ratio of the hot water pump so as to control the hot water flow according to the target duty ratio by the hot water pump.
The application also provides a control device of the constant temperature water, which comprises a memory, a control unit and a control unit, wherein the memory is used for storing a computer program;
and the processor is used for realizing the steps of the constant-temperature water control method when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, implements the steps of the method for controlling constant-temperature water.
According to the control method of the constant-temperature water, the preset hot water pump duty ratio corresponding to the target outlet water temperature is obtained; determining the current water temperature offset and the historical water temperature offset; calculating according to the current water temperature offset to obtain a proportional control item; calculating to obtain an integral control term according to the accumulated value of the current water temperature offset and the historical water temperature offset; determining the change rate of the water temperature offset according to the current water temperature offset and the historical water temperature offset, and calculating according to the change rate of the water temperature offset to obtain a differential control item; calculating according to a preset hot water pump duty ratio, a proportional control term, an integral control term and a derivative control term to obtain a hot water pump control quantity; and taking the control quantity of the hot water pump as the target duty ratio of the hot water pump so that the hot water pump controls the hot water flow according to the target duty ratio. The duty ratio of the hot water pump is adjusted and preset, the system error of the clean hot water and drinking all-in-one machine is effectively avoided, and the accuracy of the outlet water temperature is improved.
The device, the medium and the method for controlling the constant-temperature water correspond to the device, the medium and the method, and the effects are as above.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a structural diagram of a control device for constant temperature water according to an embodiment of the present application;
fig. 2 is a flowchart of a method for controlling constant-temperature water according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another constant temperature water control method provided in an embodiment of the present application;
fig. 4 is a structural view of another constant temperature water control apparatus provided in an embodiment of the present application;
fig. 5 is a structural diagram of another control device for constant-temperature water according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without any creative effort belong to the protection scope of the present application.
The core of the application is to provide a control method, a device and a medium for constant-temperature water.
In order that those skilled in the art will better understand the disclosure, the following detailed description will be given with reference to the accompanying drawings.
For convenience of understanding the present solution, a hardware environment to which the method of the present application is applied is first introduced. Fig. 1 is a structure diagram of a controlling means of thermostatted water that this application embodiment provided, as shown in fig. 1, purifier 1 respectively with hot pot 2 and cold water storage cistern 3 be connected, hot pot 2 is connected with hot-water pump 4, cold water storage cistern 3 is connected with cold water pump 5, the water of hot pot 2 is generally the water that reaches the boiling point, the water of cold water storage cistern 3 is normal atmospheric temperature water, hot-water pump 4 and cold water pump 5 all with be connected with mixing chamber 8 through check valve 7, controller 6 is connected with hot-water pump 4 and cold water pump 5 respectively, hot pot 2 is connected with temperature sensor 9 and barometer 10 respectively, cold water storage cistern 3 is connected with temperature sensor 9, mixing chamber 8 is connected with temperature sensor 8. The specific application scenario is that when a user sets a target temperature, the controller 6 determines the duty ratio of the hot water pump 4 and the duty ratio of the cold water pump 5 according to the target temperature, so as to control the hot water flow rate of the hot water pump 4 and the flow rate of the cold water pump 5, and enable the water in the mixing chamber 8 to reach the target temperature. However, in actual conditions, due to the difference of the water pump itself, the performance of the water pump is also reduced after multiple uses, and the water pipe is deformed, and the actual water temperature in the mixing cavity 8 is different from the target temperature. The application provides a control method of constant temperature water for improving accuracy of outlet water temperature of a mixing cavity.
Fig. 2 is a flowchart of a method for controlling constant-temperature water according to an embodiment of the present application, and as shown in fig. 1, the method for controlling constant-temperature water includes:
s10: and acquiring the preset hot water pump duty ratio corresponding to the target outlet water temperature.
S11: a current water temperature offset and a historical water temperature offset are determined.
S12: and calculating to obtain a proportional control item according to the current water temperature offset.
S13: and calculating to obtain an integral control term according to the accumulated value of the current water temperature offset and the historical water temperature offset.
S14: and determining the change rate of the water temperature offset according to the current water temperature offset and the historical water temperature offset, and calculating according to the change rate of the water temperature offset to obtain a differential control item.
S15: and calculating to obtain the control quantity of the hot water pump according to the preset duty ratio of the hot water pump, the proportional control term, the integral control term and the derivative control term.
S16: and taking the control quantity of the hot water pump as the target duty ratio of the hot water pump so that the hot water pump controls the hot water flow according to the target duty ratio.
In step S10, when the user sets the target outlet water temperature, the duty ratios corresponding to the hot water pump corresponding to the hot tank and the cold water pump corresponding to the cold water tank are set according to experience or a preset list. Therefore, the duty ratio of the hot water pump corresponding to the target water outlet temperature is obtained, and the preset list can be the duty ratio of the hot water pump and the duty ratio of the cold water tank corresponding to the water outlet temperature.
In step S11, a current water temperature offset and a historical water temperature offset are determined, the water temperature offset being a difference between a target outlet water temperature set by a user and an actual outlet water temperature. After a user sets a target water outlet temperature, respectively recording the actual water outlet temperature of the mixing cavity when water is taken each time; when the current water temperature offset is the user water intaking this time, the difference of target outlet water temperature and actual outlet water temperature, and the historical water temperature offset is the difference of target outlet water temperature and actual outlet water temperature when the user water intaking this time before.
In step S12, a proportional control term is calculated according to the current water temperature offset, and the specific calculation formula is as follows:
C 1 =K P ×e(k),
wherein, C 1 Is a proportional control term;
K P is a proportionality coefficient;
e (k) is the current water temperature offset.
In step S13, an integral control term is calculated according to the accumulated value of the current water temperature offset and the historical water temperature offset; the specific calculation formula is as follows:
Figure BDA0003659235020000061
wherein, C 2 Is an integral control term;
K I is an integral coefficient;
Σ e (i) is an accumulated value.
In step S14, a water temperature offset change rate is determined based on the current water temperature offset and the historical water temperature offset, and a differential control term is calculated based on the water temperature offset change rate. The rate of change of the water temperature offset amount is e (k) -e (k-1), i.e., the amount of the water temperature offset at this time minus the amount of the water temperature offset at the previous time. The calculation formula of the differential control term is as follows:
C 3 =K D [e(k)-e(k-1)],
wherein, C 3 Is a differential control term;
K D is a differential coefficient;
e (k) -e (k-1) is the rate of change of the water temperature offset.
In step S15, a hot water pump control amount is calculated from the preset hot water pump duty ratio, the proportional control term, the integral control term, and the derivative control term. The calculation formula of the control quantity of the hot water pump is as follows:
u(k)=C 1 +C 2 +C 3 +K C
wherein, C 1 Is a proportional control term;
C 2 is an integral control term;
C 3 is a derivative control term;
K C the duty ratio of the hot water pump is preset.
In step S16, the hot water pump control amount is set as the target duty of the hot water pump, and the hot water pump controls the hot water flow rate according to the target duty.
According to the control method of the constant-temperature water, the preset hot water pump duty ratio corresponding to the target outlet water temperature is obtained; determining the current water temperature offset and the historical water temperature offset; calculating according to the current water temperature offset to obtain a proportional control item; calculating to obtain an integral control term according to the accumulated value of the current water temperature offset and the historical water temperature offset; determining the change rate of the water temperature offset according to the current water temperature offset and the historical water temperature offset, and calculating according to the change rate of the water temperature offset to obtain a differential control item; calculating according to the preset duty ratio of the hot water pump, the proportional control term, the integral control term and the derivative control term to obtain the control quantity of the hot water pump; and taking the control quantity of the hot water pump as the target duty ratio of the hot water pump so that the hot water pump controls the hot water flow according to the target duty ratio. This application is through further adjustment preset hot water pump duty cycle, effectively avoids the system error of net hot drink all-in-one, improves the accuracy of outlet water temperature.
Based on the above embodiments, the embodiments of the present application, which take the control amount of the hot water pump as the target duty ratio of the hot water pump, include: judging whether the control quantity of the hot water pump is within a preset interval or not; if not, taking the preset duty ratio of the hot water pump as a target duty ratio; and if so, taking the control quantity of the hot water pump as a target duty ratio.
In the embodiment of the application, after the calculated hot water pump control amount is calculated in consideration of the fact that errors may occur in the calculated hot water pump control amount, whether the hot water pump control amount is in a preset interval is further judged, and the preset interval is not specifically limited; if the control quantity of the hot water pump is not in the preset interval, the control quantity of the hot water pump does not meet the requirement, the original preset duty ratio of the hot water pump is used as the control quantity of the hot water pump, and the error between the actual outlet water temperature and the target outlet water temperature is reduced.
Based on the above embodiments, fig. 3 is a flowchart of another constant temperature water control method provided in the embodiments of the present application; as shown in fig. 3, the method for controlling constant temperature water includes:
s20: and acquiring the preset hot water pump duty ratio corresponding to the target outlet water temperature.
S21: a current water temperature offset and a historical water temperature offset are determined.
S22: and calculating to obtain a proportional control item according to the current water temperature offset.
S23: and calculating to obtain an integral control term according to the accumulated value of the current water temperature offset and the historical water temperature offset.
S24: and determining the change rate of the water temperature offset according to the current water temperature offset and the historical water temperature offset, and calculating according to the change rate of the water temperature offset to obtain a differential control item.
S25: and calculating to obtain the control quantity of the hot water pump according to the preset duty ratio of the hot water pump, the proportional control term, the integral control term and the derivative control term.
S26: and taking the control quantity of the hot water pump as the target duty ratio of the hot water pump so that the hot water pump controls the hot water flow according to the target duty ratio.
S27: and recording the control quantity of the hot water pump corresponding to the target water outlet temperature, and modifying the preset hot water pump duty ratio corresponding to the target water outlet temperature into the control quantity of the hot water pump.
Since the contents of steps S20 to S26 are the same as those of the previous embodiment, the description of the embodiment of the present application is omitted for the moment. According to the embodiment of the application, after the control quantity of the hot water pump meets the requirement, the control quantity of the hot water pump is used as the target duty ratio of the hot water pump, the target outlet water temperature and the corresponding control quantity of the hot water pump are recorded, the original preset duty ratio corresponding to the target outlet water temperature is updated to be the control quantity of the hot water pump, when a user takes water next time, the obtained control quantity of the hot water pump corresponding to the target outlet water temperature last time is obtained, the time for reaching the target outlet water temperature can be shortened through the modes of fine adjustment and self-learning of the duty ratio of the hot water pump, the efficiency is higher, and the accuracy of the outlet water temperature is continuously improved.
In the above embodiments, the control method of the constant temperature water is described in detail, and the present application also provides embodiments corresponding to the control device of the constant temperature water. It should be noted that the present application describes the embodiments of the apparatus portion from two perspectives, one from the perspective of the function module and the other from the perspective of the hardware.
Fig. 4 is a structural diagram of another apparatus for controlling constant-temperature water according to an embodiment of the present application, where the apparatus for controlling constant-temperature water shown in fig. 4 includes:
the acquisition module 10 is used for acquiring a preset hot water pump duty ratio corresponding to the target outlet water temperature;
the determining module 11 is used for determining the current water temperature offset and the historical water temperature offset;
the first calculation module 12 is used for calculating a proportional control item according to the current water temperature offset;
the second calculation module 13 is used for calculating to obtain an integral control term according to the accumulated value of the current water temperature offset and the historical water temperature offset;
the third calculation module 14 is configured to determine a change rate of the water temperature offset according to the current water temperature offset and the historical water temperature offset, and calculate a differential control term according to the change rate of the water temperature offset;
the fourth calculating module 15 is configured to calculate a control amount of the hot water pump according to a preset hot water pump duty ratio, a proportional control term, an integral control term, and a derivative control term;
and the control module 16 is used for taking the control quantity of the hot water pump as the target duty ratio of the hot water pump so that the hot water pump controls the hot water flow according to the target duty ratio.
Based on the above embodiment, as a preferred embodiment, the control module includes:
the judging unit is used for judging whether the control quantity of the hot water pump is within a preset interval or not;
the first determining unit is used for taking the preset hot water pump duty ratio as a target duty ratio when the control quantity of the hot water pump is not within a preset interval;
and the second determining unit is used for controlling the control quantity of the hot water pump within a preset interval and taking the control quantity of the hot water pump as the target duty ratio.
Based on the above embodiment, as a preferred embodiment, the method further includes:
and the updating module is used for recording the control quantity of the hot water pump corresponding to the target water outlet temperature and modifying the preset hot water pump duty ratio corresponding to the target water outlet temperature into the control quantity of the hot water pump.
Since the embodiments of the apparatus portion and the method portion correspond to each other, please refer to the description of the embodiments of the method portion for the embodiments of the apparatus portion, which is not repeated here.
According to the control device for the constant-temperature water, the preset hot water pump duty ratio corresponding to the target outlet water temperature is obtained; determining the current water temperature offset and the historical water temperature offset; calculating according to the current water temperature offset to obtain a proportional control item; calculating to obtain an integral control term according to the accumulated value of the current water temperature offset and the historical water temperature offset; determining the change rate of the water temperature offset according to the current water temperature offset and the historical water temperature offset, and calculating according to the change rate of the water temperature offset to obtain a differential control item; calculating according to the preset duty ratio of the hot water pump, the proportional control term, the integral control term and the derivative control term to obtain the control quantity of the hot water pump; and taking the control quantity of the hot water pump as the target duty ratio of the hot water pump so that the hot water pump controls the hot water flow according to the target duty ratio. This application is through further adjustment preset hot water pump duty cycle, effectively avoids the system error of net hot drink all-in-one, improves the accuracy of outlet water temperature.
Fig. 5 is a structural diagram of another apparatus for controlling constant temperature water according to an embodiment of the present application, and as shown in fig. 5, the apparatus for controlling constant temperature water includes: a memory 20 for storing a computer program;
and a processor 21 for implementing the steps of the control method of constant temperature water as described in the above embodiment when executing the computer program.
The control device for constant-temperature water provided by the embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like.
The processor 21 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The Processor 21 may be implemented in at least one hardware form of a Digital Signal Processor (DSP), a Field-Programmable Gate Array (FPGA), and a Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 21 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, the processor 21 may further include an Artificial Intelligence (AI) processor for processing computational operations related to machine learning.
Memory 20 may include one or more computer-readable storage media, which may be non-transitory. Memory 20 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 20 is at least used for storing the following computer program 201, wherein after the computer program is loaded and executed by the processor 21, the relevant steps of the control method for constant temperature water disclosed in any one of the foregoing embodiments can be realized. In addition, the resources stored in the memory 20 may also include an operating system 202, data 203, and the like, and the storage manner may be a transient storage manner or a permanent storage manner. Operating system 202 may include, among other things, Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, a preset hot water pump duty cycle, etc.
In some embodiments, the control device for thermostatic water may further comprise a display screen 22, an input/output interface 23, a communication interface 24, a power supply 25 and a communication bus 26.
It will be understood by those skilled in the art that the structure shown in fig. 5 does not constitute a limitation of the control device for thermostatic water and may comprise more or less components than those shown.
The control device of the constant temperature water provided by the embodiment of the application comprises a memory and a processor, and when the processor executes a program stored in the memory, the following method can be realized: acquiring a preset hot water pump duty ratio corresponding to the target outlet water temperature; determining the current water temperature offset and the historical water temperature offset; calculating according to the current water temperature offset to obtain a proportional control item; calculating to obtain an integral control term according to the accumulated value of the current water temperature offset and the historical water temperature offset; determining the change rate of the water temperature offset according to the current water temperature offset and the historical water temperature offset, and calculating according to the change rate of the water temperature offset to obtain a differential control item; calculating according to the preset duty ratio of the hot water pump, the proportional control term, the integral control term and the derivative control term to obtain the control quantity of the hot water pump; and taking the control quantity of the hot water pump as the target duty ratio of the hot water pump so that the hot water pump controls the hot water flow according to the target duty ratio.
Finally, the application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps recited in the method for controlling constant-temperature water of the above-described method embodiment.
It is to be understood that if the method in the above embodiments is implemented in the form of software functional units and sold or used as a stand-alone product, it can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and executes all or part of the steps of the methods described in the embodiments of the present application, or all or part of the technical solutions. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The method, the device and the medium for controlling the constant temperature water provided by the application are described in detail above. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed in the embodiment corresponds to the method disclosed in the embodiment, so that the description is simple, and the relevant points can be referred to the description of the method part. It should be noted that, for those skilled in the art, without departing from the principle of the present application, the present application can also make several improvements and modifications, and those improvements and modifications also fall into the protection scope of the claims of the present application.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A method for controlling constant temperature water, comprising:
acquiring a preset hot water pump duty ratio corresponding to the target outlet water temperature;
determining the current water temperature offset and the historical water temperature offset;
calculating to obtain a proportional control item according to the current water temperature offset;
calculating to obtain an integral control term according to the accumulated value of the current water temperature offset and the historical water temperature offset;
determining the change rate of the water temperature offset according to the current water temperature offset and the historical water temperature offset, and calculating according to the change rate of the water temperature offset to obtain a differential control item;
calculating to obtain the control quantity of the hot water pump according to the preset duty ratio of the hot water pump, the proportional control term, the integral control term and the derivative control term;
and taking the control quantity of the hot water pump as a target duty ratio of the hot water pump so that the hot water pump can control the hot water flow according to the target duty ratio.
2. The method for controlling constant-temperature water according to claim 1, wherein the taking the hot water pump control amount as a target duty ratio of a hot water pump includes:
judging whether the control quantity of the hot water pump is within a preset interval or not;
if not, taking the preset hot water pump duty ratio as the target duty ratio;
and if so, taking the control quantity of the hot water pump as the target duty ratio.
3. The method for controlling constant-temperature water according to claim 1, wherein the controlling the hot water pump with the target duty ratio further comprises:
and recording the control quantity of the hot water pump corresponding to the target outlet water temperature, and modifying the preset hot water pump duty ratio corresponding to the target outlet water temperature into the control quantity of the hot water pump.
4. The method for controlling constant-temperature water as claimed in claim 1, wherein the calculating a proportional control term according to the current water temperature offset includes:
calculating to obtain the proportional control term by adopting a first preset formula, wherein the first preset formula is as follows:
C 1 =K P ×e(k),
wherein, the C 1 Is the proportional control term;
said K P Is a proportionality coefficient;
said e (k) is said current water temperature offset.
5. The constant-temperature water control method as claimed in claim 1, wherein the calculating an integral control term according to the accumulated value of the current water temperature offset and the historical water temperature offset includes:
and calculating to obtain the integral control term by adopting a second preset formula, wherein the second preset formula is as follows:
Figure FDA0003659235010000021
wherein, the C 2 Is the integral control term;
said K I Is an integral coefficient;
the sum e (i) is the accumulated value.
6. The control method of constant-temperature water as set forth in claim 1, wherein said calculating a differential control term according to the water temperature offset change rate includes:
calculating to obtain the differential control term by adopting a third preset formula, wherein the third preset formula is as follows:
C 3 =K D [e(k)-e(k-1)],
wherein, the C 3 Is the differential control term;
said K D Is a differential coefficient;
the e (k) -e (k-1) is the water temperature offset change rate.
7. The method for controlling constant-temperature water as set forth in claim 1, wherein the calculating a control amount of the hot water pump according to the preset hot water pump duty ratio, the proportional control term, the integral control term and the derivative control term includes:
calculating to obtain the control quantity of the hot water pump by adopting a fourth preset formula, wherein the fourth preset formula is as follows:
u(k)=C 1 +C 2 +C 3 +K C
wherein, the C 1 Is the proportional control term;
said C is 2 Is the integral control term;
said C is 3 Is the differential control term;
said K C And setting the duty ratio of the hot water pump.
8. A control device of constant temperature water, characterized by comprising:
the acquisition module is used for acquiring the preset duty ratio of the hot water pump corresponding to the target outlet water temperature;
the determining module is used for determining the current water temperature offset and the historical water temperature offset;
the first calculation module is used for calculating to obtain a proportional control item according to the current water temperature offset;
the second calculation module is used for calculating to obtain an integral control item according to the accumulated value of the current water temperature offset and the historical water temperature offset;
the third calculation module is used for determining the change rate of the water temperature offset according to the current water temperature offset and the historical water temperature offset, and calculating to obtain a differential control item according to the change rate of the water temperature offset;
the fourth calculation module is used for calculating the control quantity of the hot water pump according to the preset hot water pump duty ratio, the proportional control item, the integral control item and the derivative control item;
and the control module is used for taking the control quantity of the hot water pump as a target duty ratio of the hot water pump so as to control the hot water flow according to the target duty ratio by the hot water pump.
9. A control device for thermostatic water is characterized by comprising a memory for storing a computer program;
processor for implementing the steps of the method for controlling thermostated water as claimed in one of claims 1 to 7 when said computer program is executed.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for controlling thermostatic water according to any one of claims 1 to 7.
CN202210568512.2A 2022-05-24 2022-05-24 Constant-temperature water control method, device and medium Pending CN114935953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210568512.2A CN114935953A (en) 2022-05-24 2022-05-24 Constant-temperature water control method, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210568512.2A CN114935953A (en) 2022-05-24 2022-05-24 Constant-temperature water control method, device and medium

Publications (1)

Publication Number Publication Date
CN114935953A true CN114935953A (en) 2022-08-23

Family

ID=82864763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210568512.2A Pending CN114935953A (en) 2022-05-24 2022-05-24 Constant-temperature water control method, device and medium

Country Status (1)

Country Link
CN (1) CN114935953A (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002300968A (en) * 2001-04-09 2002-10-15 Tiger Vacuum Bottle Co Ltd Electric pot
CN103622554A (en) * 2013-12-11 2014-03-12 何杰恩 Water dispenser with quantitative and constant-temperature water discharging function and control method for water discharging of water dispenser
CN103970166A (en) * 2013-02-02 2014-08-06 成都达创科技有限责任公司 Intelligent water temperature and quantity control device
CN104482655A (en) * 2014-11-19 2015-04-01 珠海格力电器股份有限公司 Control method and device of water heater
JP2016093351A (en) * 2014-11-14 2016-05-26 象印マホービン株式会社 Liquid supply device
CN105630033A (en) * 2016-02-29 2016-06-01 西南大学 Water temperature control method and control system thereof based on adaptable fuzzy PID
CN110089941A (en) * 2019-04-10 2019-08-06 深圳拓邦股份有限公司 A kind of temperature adjustment control method, system and drinking equipment
CN111713978A (en) * 2020-05-21 2020-09-29 浙江沁园水处理科技有限公司 Temperature-adjusting water dispenser and quantitative water taking method thereof
WO2021051185A1 (en) * 2019-09-20 2021-03-25 Camus Hydronics Ltd. System and method for controlling water heater output temperature
CN214581767U (en) * 2020-09-28 2021-11-02 艾欧史密斯(中国)热水器有限公司 Water drinking system and water drinking equipment thereof
CN215077603U (en) * 2021-04-08 2021-12-10 深圳安吉尔饮水产业集团有限公司 Quick multi-temperature mixing device
CN113885469A (en) * 2021-08-31 2022-01-04 广州文远知行科技有限公司 Calibration method and device for vehicle control parameters, electronic equipment and storage medium
CN114251852A (en) * 2021-08-24 2022-03-29 佛山市顺德区美的饮水机制造有限公司 Instantaneous heating device, control method and control device thereof, water treatment device and medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002300968A (en) * 2001-04-09 2002-10-15 Tiger Vacuum Bottle Co Ltd Electric pot
CN103970166A (en) * 2013-02-02 2014-08-06 成都达创科技有限责任公司 Intelligent water temperature and quantity control device
CN103622554A (en) * 2013-12-11 2014-03-12 何杰恩 Water dispenser with quantitative and constant-temperature water discharging function and control method for water discharging of water dispenser
JP2016093351A (en) * 2014-11-14 2016-05-26 象印マホービン株式会社 Liquid supply device
CN104482655A (en) * 2014-11-19 2015-04-01 珠海格力电器股份有限公司 Control method and device of water heater
CN105630033A (en) * 2016-02-29 2016-06-01 西南大学 Water temperature control method and control system thereof based on adaptable fuzzy PID
CN110089941A (en) * 2019-04-10 2019-08-06 深圳拓邦股份有限公司 A kind of temperature adjustment control method, system and drinking equipment
WO2021051185A1 (en) * 2019-09-20 2021-03-25 Camus Hydronics Ltd. System and method for controlling water heater output temperature
CN111713978A (en) * 2020-05-21 2020-09-29 浙江沁园水处理科技有限公司 Temperature-adjusting water dispenser and quantitative water taking method thereof
CN214581767U (en) * 2020-09-28 2021-11-02 艾欧史密斯(中国)热水器有限公司 Water drinking system and water drinking equipment thereof
CN215077603U (en) * 2021-04-08 2021-12-10 深圳安吉尔饮水产业集团有限公司 Quick multi-temperature mixing device
CN114251852A (en) * 2021-08-24 2022-03-29 佛山市顺德区美的饮水机制造有限公司 Instantaneous heating device, control method and control device thereof, water treatment device and medium
CN113885469A (en) * 2021-08-31 2022-01-04 广州文远知行科技有限公司 Calibration method and device for vehicle control parameters, electronic equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
余利锋等: "地热水产养殖水温调节的流体控制分析", 中国水运, vol. 07, no. 05, pages 50 - 51 *

Similar Documents

Publication Publication Date Title
CN113157023B (en) Control method and device for water dispenser, storage medium and processor
CN107544304B (en) Fracturing truck control method and device
CN112066567B (en) Constant temperature control method and system for gas water heater, electronic equipment and storage medium
CN114020067B (en) Temperature control method and device for reaction kettle and computer readable storage medium
CN111972991B (en) Hot water treatment device and control method and device thereof
CN109146236A (en) Indexes Abnormality detection method, device, readable storage medium storing program for executing and electronic equipment
CN104185827B (en) Power consumption in control multi-core environment
CN113531912A (en) Temperature control method, system and equipment of water heater and storage medium
CN114935953A (en) Constant-temperature water control method, device and medium
CN114459160A (en) Water heater temperature setting method, water heater and storage medium
CN112854948A (en) Window control method and device and window
CN115470732A (en) Temperature determination method of water heater and related equipment
CN116211136A (en) Control method and device of water purifying and drinking machine, electronic equipment and storage medium
CN114608172A (en) Method and device for controlling air conditioner, air conditioner and storage medium
CN113503643A (en) Control method and control device for heating drinking water
CN116250723A (en) Water purifier water outlet control method
JP2721669B2 (en) Variable speed pump operation control method
CN118036348B (en) Wireless layered water injection communication strategy determination method and device, electronic equipment and medium
CN116105378A (en) Water heater and temperature control method, system and storage medium thereof
CN118149476A (en) Hot water equipment control method and device, electronic equipment and storage medium
CN117150976B (en) Determination method, device, equipment and storage medium for water temperature change coefficient
CN112327606B (en) Heat exchange station water temperature control method, device, controller and storage medium
CN107728661B (en) Control method, system, terminal equipment and medium for seawater desalination and water production
CN116972541A (en) Water heater control method and system, water heater and medium
KR101908810B1 (en) Method for noise filtering of signal of power meter and computer-readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination