Drinking water platform and temperature control method, system and storage medium thereof
By judging the water temperature in the drinking water platform and adjusting the temperature, the drainage valve and flow regulating valve are used to control the water outlet temperature, the problem of inconstant water outlet temperature in the prior art is solved, the user experience and product compatibility are improved, and the water outlet temperature is reduced. R&D costs.
Patent Information
- Application Number
- CN202211129558.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-16
- Publication Date
- 2024-12-27
- Estimated Expiration
- 2042-09-16
AI Technical Summary
The existing drinking water platforms cannot accurately control the effluent temperature, and the effluent temperature is not constant due to environmental factors. Replacing different models of equipment requires re-temperature adjustment, which increases R&D costs and user experience issues.
By determining whether the water temperature exceeds the preset range, stop the water outlet and adjust the temperature, drain the water with the drain valve, and determine the steps of the flow regulating valve to conduct the water inlet according to the inlet temperature and the preset boiling point value, so as to accurately control the water outlet temperature, including Various threshold and growth rate adjustment mechanisms.
It realizes precise control of the effluent temperature, reduces the impact of environmental factors on the temperature, improves user experience, and reduces the dependence on hardware equipment. It is suitable for different models of drinking water platforms, reducing the process of re-debugging and R&D costs.
Smart Images

Figure CN116098461B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of drinking water platforms, and in particular to a drinking water platform and a temperature control method, system and storage medium thereof. Background Art
[0002] The drinking water platform in the prior art does not have the ability to self-learn the temperature adjustment, and is affected by various environmental and other factors. The outlet water temperature is not constant, and the temperature difference range of the outlet water is large, and it is impossible to accurately control the temperature according to different machines. Once a heat exchanger with different power is replaced or a drinking water platform with different flow rate is used, it is necessary to re-explore the temperature adjustment experience value, and the research and development cost is high. Therefore, the drinking water platform in the prior art lacks a truly effective control method for abnormal outlet water temperature. Summary of the invention
[0003] The technical problem to be solved by the present invention is to overcome the defect in the prior art that the drinking water platform is affected by the environment and cannot accurately control the water outlet temperature, and to provide a drinking water platform and its temperature control method, system and storage medium.
[0004] The present invention solves the above technical problems through the following technical solutions:
[0005] In a first aspect, the present invention provides a temperature control method for a drinking water platform, the temperature control method for the drinking water platform comprising:
[0006] Determine whether the outlet water temperature exceeds the preset temperature range;
[0007] If the outlet water temperature exceeds the preset temperature range, stop the water outlet and adjust the temperature;
[0008] The temperature adjustment step includes: opening the drain valve to drain water, and determining the number of steps of the flow regulating valve according to the inlet water temperature and the preset boiling point value, and letting in water according to the ratio of the number of steps to the water flow rate; the inlet water temperature is the temperature of the water in the water inlet of the drinking water platform; the preset boiling point value is a preset target temperature that the water in the heating tank of the drinking water platform needs to reach, and the water outlet of the heating tank is connected to the water inlet of the drinking water platform.
[0009] Preferably, the temperature adjustment step includes:
[0010] Determine whether the temperature adjustment time is greater than a first preset time;
[0011] If the temperature adjustment time is longer than the first preset time, determining whether the difference between the outlet water temperature after the temperature adjustment and the preset temperature is greater than or equal to a first threshold;
[0012] If the difference is greater than or equal to the first threshold, returning to the temperature adjustment step;
[0013] If the difference is less than the first threshold, determining whether the difference is greater than or equal to a second threshold; wherein the second threshold is less than the first threshold;
[0014] If the difference is greater than or equal to the second threshold, the number of steps of the flow regulating valve is increased by a first target number of steps, and water is introduced according to the sum of the number of steps of the flow regulating valve and the first target number of steps;
[0015] If the difference is less than the second threshold, return to the step of determining whether the outlet water temperature exceeds a preset temperature range.
[0016] Preferably, the temperature adjustment step includes:
[0017] Determine whether the temperature adjustment time is greater than a second preset time;
[0018] If the temperature adjustment time is longer than the second preset time, determining whether the difference between the outlet water temperature after the temperature adjustment and the preset temperature is greater than or equal to a third threshold;
[0019] If the difference is less than the third threshold, return to the step of determining whether the outlet water temperature exceeds a preset temperature range;
[0020] If the difference is greater than or equal to the third threshold, determining whether the temperature adjustment step is the first temperature adjustment step after water is discharged;
[0021] If it is the first temperature adjustment step after the water comes out, return to the temperature adjustment step;
[0022] If it is not the first temperature adjustment step after the water comes out, the number of steps of the flow regulating valve is increased according to the first preset speed increase, and water is introduced according to the ratio of the number of steps of the flow regulating valve after adjustment to the water flow rate.
[0023] Preferably, the temperature adjustment step includes:
[0024] Determining whether the temperature adjustment time is greater than a third preset time;
[0025] If the temperature adjustment time is longer than the third preset time, determining whether the difference between the outlet water temperature after the temperature adjustment and the preset temperature is less than a fourth threshold;
[0026] If the difference is greater than or equal to the fourth threshold, return to the step of determining whether the outlet water temperature exceeds a preset temperature range;
[0027] If the difference is less than a fourth threshold, determining whether the temperature adjustment step is the first temperature adjustment step after water discharge;
[0028] If it is the first temperature adjustment step after the water comes out, return to the temperature adjustment step;
[0029] If it is not the first temperature adjustment step after the water comes out, the number of steps of the flow regulating valve is reduced according to the second preset speed increase, and water is introduced according to the ratio of the number of steps of the flow regulating valve after adjustment to the water flow rate.
[0030] Preferably, the number of steps of the flow control valve is determined according to the following formula:
[0031] B1=B-(Tmax0-Tmax)*k1-(T0-T1)*k2-(T-T2)*k3-(T-T3)*k4;
[0032] Among them, B1 is used to characterize the number of adjustment steps of the flow control valve; B is used to characterize the maximum number of steps of the flow control valve; Tmax0 is used to characterize the initial boiling point value; Tmax is used to characterize the preset boiling point value; T0 is used to characterize the initial water inlet temperature; T1 is used to characterize the water inlet temperature; T is used to characterize the preset temperature; T2 is used to characterize the median of the preset temperature range; T3 is used to characterize the outlet water temperature; k1 is the first constant coefficient, which is used to characterize the influence ratio of the change of the preset boiling point value on the number of adjustment steps of the flow control valve; k2 is the second constant coefficient, which is used to characterize the influence ratio of the change of the inlet water temperature on the number of adjustment steps of the flow control valve; k3 is the third constant coefficient, which is used to characterize the influence ratio of the deviation between the preset temperature and the median of the preset temperature range on the number of adjustment steps of the flow control valve; k4 is the fourth constant coefficient, which is used to characterize the influence ratio of the deviation between the outlet water temperature and the preset temperature on the number of adjustment steps of the flow control valve.
[0033] Preferably, the step of if the outlet water temperature exceeds the preset temperature range includes:
[0034] The current water temperature is announced by voice to remind the user to stop drawing water.
[0035] Preferably, the temperature control method of the drinking water platform further comprises:
[0036] Periodically obtain the inlet water temperature;
[0037] Determine whether the temperature difference between the inlet water temperature and the inlet water temperature corresponding to the number of steps of the flow control valve exceeds a preset threshold;
[0038] If it exceeds, the new number of steps of the flow control valve is re-determined according to the water inlet temperature and the preset boiling point value.
[0039] In a second aspect, the present invention provides a temperature control system for a drinking water platform, the temperature control system for the drinking water platform comprising:
[0040] A judgment module, used to judge whether the outlet water temperature exceeds a preset temperature range;
[0041] The temperature control module is used to stop water discharge and adjust the temperature if the water outlet temperature exceeds the preset temperature range; specifically, it is used to: open the drain valve to drain water, and determine the number of steps of the flow regulating valve according to the water inlet temperature and the preset boiling point value, and let water in according to the ratio of the number of steps to the water flow rate to complete the temperature control; the water inlet temperature is the temperature of the water in the water inlet of the drinking water platform; the preset boiling point value is the target temperature that the water in the heating tank of the drinking water platform needs to reach in advance, and the water outlet of the heating tank is connected to the water inlet of the drinking water platform.
[0042] In a third aspect, the present invention provides a drinking water platform, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the temperature control method of the drinking water platform when executing the computer program.
[0043] Preferably, the drinking water platform further comprises: a heating tank, a heat exchanger, a flow regulating valve and a temperature detection module;
[0044] The heating tank is used to store hot water and output the hot water to the water outlet of the drinking water platform;
[0045] The cold water outlet of the heat exchanger is connected to the cold water inlet of the heating tank, and the hot water outlet of the heat exchanger is connected to the hot water inlet of the heating tank;
[0046] The flow regulating valve is arranged at the cold water outlet of the heat exchanger and the hot water outlet of the heat exchanger, and is used to adjust the cold water outlet flow rate of the heat exchanger and the hot water outlet flow rate of the heat exchanger;
[0047] The temperature detection module is used to detect the water inlet temperature, the water outlet temperature and the temperature of the heating tank.
[0048] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the temperature control method of the drinking water platform described above.
[0049] The positive and progressive effects of the present invention are:
[0050] The present invention drains water through a drain valve and controls the water inlet by determining the number of steps of a flow regulating valve according to the water inlet temperature and a preset boiling point value, thereby adjusting the water outlet temperature and reducing the influence of other factors such as the environment on the water outlet temperature, thereby accurately controlling the water outlet temperature of the drinking water platform, maintaining the water outlet temperature constant, and improving the user experience. At the same time, the present invention reduces the dependence of the temperature control method on hardware equipment, can be applied to drinking water platforms of different models, reduces the process of re-exploring experience values, reduces research and development costs, and improves product compatibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1This is a first flow chart of the temperature control method of the drinking water platform according to Embodiment 1 of the present invention;
[0052] Figure 2 This is a second flow chart of the temperature control method of the drinking water platform according to Embodiment 1 of the present invention;
[0053] Figure 3 The third flow chart of the temperature control method of the drinking water platform of Example 1 of the present invention;
[0054] Figure 4 This is a fourth flow chart of the temperature control method of the drinking water platform of Example 1 of the present invention;
[0055] Figure 5 The fifth flow chart of the temperature control method of the drinking water platform of Example 1 of the present invention;
[0056] Figure 6 The sixth flow chart of the temperature control method of the drinking water platform of Example 1 of the present invention;
[0057] Figure 7 The seventh flow chart of the temperature control method of the drinking water platform of Example 1 of the present invention;
[0058] Figure 8 The eighth flow chart of the temperature control method of the drinking water platform of Example 1 of the present invention;
[0059] Fig. 9 This is a first structural diagram of a temperature control system of a drinking water platform according to Embodiment 2 of the present invention;
[0060] Fig.10 This is a second structural diagram of the temperature control system of the drinking water platform according to Embodiment 2 of the present invention;
[0061] Fig.11 This is a schematic diagram of the structure of the drinking water platform of Example 3 of the present invention. DETAILED DESCRIPTION
[0062] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.
[0063] Example 1
[0064] This embodiment provides a temperature control method for a drinking water platform, which can be applied to drinking water platforms of different models. Figure 1 , the temperature control methods of the drinking water platform include:
[0065] S1. Determine whether the outlet water temperature exceeds a preset temperature range.
[0066] The preset temperature range can be set according to user needs. For example, the preset temperature range can be set to be greater than or equal to 40 degrees and less than or equal to 50 degrees.
[0067] If the outlet water temperature exceeds the preset temperature range, steps S2 and S3 are executed.
[0068] In an optional embodiment, step S1 includes:
[0069] The current water temperature is announced by voice to remind the user to stop drawing water.
[0070] In this embodiment, the user is reminded to stop fetching water through voice announcement, so as to prevent the user from being scalded or fetching water with an undesirable outlet temperature, thereby improving the user's water fetching experience.
[0071] S2: Stop water discharge.
[0072] S3. Adjust the temperature.
[0073] Wherein, step S3 comprises:
[0074] S31. Open the drain valve to drain water.
[0075] S32, determining the number of steps of the flow regulating valve according to the inlet water temperature and the preset boiling point value, and letting in water in accordance with the ratio of the number of steps to the water flow rate.
[0076] In an optional embodiment, the number of steps of the flow control valve is determined according to the following formula:
[0077] B1=B-(Tmax0-Tmax)*k1-(T0-T1)*k2-(T-T2)*k3-(T-T3)*k4;
[0078] Among them, B1 is used to characterize the number of adjustment steps of the flow control valve; B is used to characterize the maximum number of steps of the flow control valve; Tmax0 is used to characterize the initial boiling point value; Tmax is used to characterize the preset boiling point value; T0 is used to characterize the initial water inlet temperature; T1 is used to characterize the water inlet temperature; T is used to characterize the preset temperature; T2 is used to characterize the median of the preset temperature range; T3 is used to characterize the outlet water temperature; k1 is the first constant coefficient, which is used to characterize the influence ratio of the change of the preset boiling point value on the number of adjustment steps of the flow control valve; k2 is the second constant coefficient, which is used to characterize the influence ratio of the change of the water inlet temperature on the number of adjustment steps of the flow control valve; k3 is the third constant coefficient, which is used to characterize the influence ratio of the deviation between the preset temperature and the median of the preset temperature range on the number of adjustment steps of the flow control valve; k4 is the fourth constant coefficient, which is used to characterize the influence ratio of the deviation between the outlet water temperature and the preset temperature on the number of adjustment steps of the flow control valve. k1, k2, k3 and k4 are all empirical values explored by experiments.
[0079] Among them, the water inlet temperature is the temperature of the water in the water inlet of the drinking water platform; the water inlet temperature will change due to the influence of environmental factors, and eventually cause the water outlet temperature to change accordingly; the preset boiling point value is the target temperature that the water in the heating tank of the drinking water platform needs to reach in advance, the water outlet of the heating tank is connected to the water inlet of the drinking water platform, the water in the heating tank is transmitted to the water inlet of the drinking water platform through the water outlet of the heating tank, and then transmitted to the water outlet of the drinking water platform through the water inlet of the drinking water platform. When the user takes water, it flows out from the water outlet of the drinking water platform.
[0080] This embodiment drains water through a drain valve and controls the water inlet by determining the number of steps of a flow regulating valve according to the water inlet temperature and a preset boiling point value, thereby adjusting the water outlet temperature and reducing the impact of other factors such as the environment on the water outlet temperature, thereby accurately controlling the water outlet temperature of the drinking water platform, maintaining a constant water outlet temperature, and improving the user experience. At the same time, the present invention reduces the dependence of the temperature control method on hardware equipment, can be applied to drinking water platforms of different models, reduces the process of re-exploring experience values, reduces R&D costs, and improves product compatibility.
[0081] In an alternative embodiment, see Figure 2 , after step S3, including:
[0082] S321, determining whether the temperature adjustment time is greater than a first preset time.
[0083] The first preset time is set according to the actual situation. For example, if the first preset time is 10 seconds, the drain valve is kept open for 10 seconds, and water is kept flowing in for 10 seconds according to the ratio of the steps of the flow regulating valve and the water flow.
[0084] If the temperature adjustment time is longer than the first preset time, step S322 is executed.
[0085] If the temperature adjustment time is less than or equal to the first preset time, return to step S3.
[0086] S322: Determine whether the difference between the outlet water temperature after temperature adjustment and the preset temperature is greater than or equal to a first threshold.
[0087] The preset temperature is the maximum value of the preset temperature range. The first threshold value is set according to actual needs.
[0088] If the difference is greater than or equal to the first threshold, return to step S3.
[0089] If the difference is less than the first threshold, step S323 is executed.
[0090] S323: Determine whether the difference is greater than or equal to a second threshold.
[0091] The second threshold is smaller than the first threshold. For example, if the first threshold is set to 10 degrees and the second threshold is smaller than 10 degrees, the second threshold can be set to 5 degrees.
[0092] If the difference is greater than or equal to the second threshold, execute step S324.
[0093] S324, increasing the number of steps of the flow regulating valve by a first target number of steps, and letting in water according to the sum of the number of steps of the flow regulating valve and the first target number of steps.
[0094] The first target number of steps can be set according to actual conditions, for example, the first target number of steps can be set to 10 steps.
[0095] If the difference is less than the second threshold, return to step S1.
[0096] See below Figure 3 Here are the temperature adjustment steps when the difference between the outlet water temperature and the preset temperature is greater than or equal to 10 degrees:
[0097] S331. Close the water outlet solenoid valve, stop the water outlet, and give a voice message that the temperature is too high and asks you to get water later.
[0098] S332. Calculate the number of rotation steps of the flow control valve motor according to the algorithm, and open the drain solenoid valve to adjust the temperature (i.e., open the drain valve to drain water, and determine the number of steps of the flow control valve according to the inlet water temperature and the preset boiling point value, and let in water according to the ratio of the number of steps to the water flow).
[0099] S333, determine whether the temperature adjustment time is greater than 10 seconds (the first preset time); if greater, execute S334; if less than or equal to, return to S332.
[0100] S334, determine whether the water temperature is lower than T+5 degrees (i.e., determine whether the difference is greater than or equal to the second threshold, the second threshold is 5 degrees, and T is the preset temperature); if greater than or equal to, execute S335, otherwise, execute step S336.
[0101] S335, add 10 steps to the number of steps calculated in the previous step (that is, increase the number of steps of the flow regulating valve by the first target number of steps, which is 10 steps, and let in water according to the sum of the number of steps of the flow regulating valve and the first target number of steps), and continue to open the drain solenoid valve to drain for 10 seconds, and return to step S334.
[0102] S336. Let water in according to the number of steps of the flow control valve calculated last time, and continue to open the drain solenoid valve to drain for 10 seconds.
[0103] S337, determine whether the water outlet temperature is lower than T+2 degrees, if not lower than T+2 degrees, execute step S338, otherwise execute step S339.
[0104] S338. Increase the number of steps of the flow control valve adjusted last time by 5 steps, and return to step S336.
[0105] S339, save the current water inlet temperature, boiling point value and the number of rotation steps of the current motor of the flow control valve, and set the flag of abnormal water outlet temperature to 1 to prompt the user to get water.
[0106] In this embodiment, after a set time, it is determined whether the outlet water temperature is within the preset temperature range. By correcting it under different conditions, the outlet water temperature is made more constant, reducing the influence of the water inlet flow rate, water outlet flow rate, ambient temperature, etc. on the outlet water temperature, thereby improving the user experience.
[0107] In an alternative embodiment, see Figure 4 , after step S3, including:
[0108] S341, determining whether the temperature adjustment time is greater than a second preset time.
[0109] The second preset time length is set according to actual conditions. For example, if the second preset time length is 10 seconds, the drain valve is kept open for 10 seconds, and water is kept flowing in for 10 seconds according to the ratio of the steps of the flow regulating valve and the water flow.
[0110] If the temperature adjustment time is longer than the second preset time, step S342 is executed.
[0111] If the temperature adjustment time is less than or equal to the second preset time, return to step S3.
[0112] S342: Determine whether the difference between the outlet water temperature after temperature adjustment and the preset temperature is greater than or equal to a third threshold.
[0113] The preset temperature is the maximum value of the preset temperature range. The third threshold value is set according to actual needs.
[0114] If the difference is less than the third threshold, return to step S1.
[0115] If the difference is greater than or equal to the third threshold, execute step S343.
[0116] S343, determining whether the temperature adjustment step is the first temperature adjustment step after water discharge.
[0117] The first temperature adjustment step after the water comes out is the first temperature adjustment operation performed by the drinking water platform after the user takes the water.
[0118] If it is the first temperature adjustment step after water comes out, return to step S3.
[0119] If it is not the first temperature adjustment step after water comes out, execute step S344.
[0120] S344, increasing the number of steps of the flow regulating valve according to a first preset speed increase, and letting in water according to the ratio of the adjusted number of steps of the flow regulating valve to the water flow rate.
[0121] The first preset speed increase rate can be set according to actual needs. For example, the first preset speed increase rate can be set to increase by one step every two seconds.
[0122] See below Figure 5 Here are the temperature adjustment steps when the difference between the outlet water temperature and the preset temperature is greater than or equal to 2 degrees but less than 10 degrees:
[0123] S351. Determine whether the user continues to discharge water for more than 10 seconds (i.e., determine whether the temperature adjustment time is greater than the second preset time, which is 10 seconds). If it exceeds 10 seconds, execute step S353; if it does not exceed 10 seconds, execute step S352.
[0124] S352. Open the drain valve and continue draining water for 10 seconds.
[0125] S353: Determine whether the difference between the outlet water temperature and the preset temperature is less than 10 degrees; if it is greater than or equal to 10 degrees, execute Figure 3 If the temperature is less than 10 degrees, execute step S354.
[0126] Step S353 is mainly to prevent the situation where the difference between the outlet water temperature and the preset temperature is greater than or equal to 10 degrees due to environmental factors, thereby preventing the risk of scalding the user.
[0127] S354, determine whether the difference between the water outlet temperature and the preset temperature is less than 2 degrees. If so, execute step S355; if greater than or equal to 2 degrees, execute step S356.
[0128] S355, save the current water inlet temperature, boiling point value and the number of rotation steps of the current motor of the flow control valve, set the flag of abnormal water outlet temperature to 1, and prompt the user that water can be drawn normally.
[0129] S356. Determine whether it is the first temperature adjustment in the water taking process (i.e., determine whether the temperature adjustment step is the first temperature adjustment step after the water comes out). If so, execute step S357; if not, execute step S358.
[0130] S357. Calculate the number of rotation steps of the flow control valve motor according to the algorithm, and return to step S351.
[0131] S358. According to the number of steps calculated in the previous step, increase the temperature by 1 step every two seconds, and return to step S351 (i.e. increase the number of steps of the flow regulating valve according to the first preset growth rate, and let in water according to the ratio of the adjusted number of steps of the flow regulating valve to the water flow rate).
[0132] In this embodiment, if it is not the first temperature adjustment, the number of rotation steps of the flow control valve motor is further increased to prevent the outlet water temperature from being too high, thereby more accurately adjusting the outlet water temperature, making the outlet water temperature more constant, and improving the user experience.
[0133] In an alternative embodiment, see Figure 6 , after step S3, including:
[0134] S361, determine whether the temperature adjustment time is greater than the third preset time. If the temperature adjustment time is greater than the third preset time, execute step S362.
[0135] If the temperature adjustment time is less than or equal to the third preset time, return to step S3.
[0136] The third preset time length is set according to actual conditions. For example, if the third preset time length is 10 seconds, the drain valve is kept open for 10 seconds, and water is kept flowing in for 10 seconds according to the ratio of the steps of the flow regulating valve and the water flow.
[0137] S362: Determine whether the difference between the outlet water temperature after temperature adjustment and the preset temperature is less than a fourth threshold; if the difference is greater than or equal to the fourth threshold, return to step S1. If the difference is less than the fourth threshold, execute step S363.
[0138] The preset temperature is the minimum value of the preset temperature range. The fourth threshold value is set according to actual needs.
[0139] S363, determine whether the temperature adjustment step is the first temperature adjustment step after the water comes out; if it is the first temperature adjustment step after the water comes out, return to step S3; if it is not the first temperature adjustment step after the water comes out, execute step S364.
[0140] The first temperature adjustment step after the water comes out is the first temperature adjustment operation performed by the drinking water platform after the user takes the water.
[0141] S364, reducing the number of steps of the flow regulating valve according to the second preset speed increase, and letting in water according to the ratio of the adjusted number of steps of the flow regulating valve to the water flow rate.
[0142] The second preset speed increase can be set according to actual needs. For example, the second preset speed increase can be set to decrease by one step every two seconds.
[0143] See below Figure 7 Here are the temperature adjustment steps when the difference between the outlet water temperature and the preset temperature is less than -2 degrees:
[0144] S371. Determine whether the user continues to discharge water for more than 10 seconds (i.e., determine whether the temperature adjustment time is greater than the third preset time, which is 10 seconds). If it exceeds 10 seconds, execute step S373; if it does not exceed 10 seconds, execute step S372.
[0145] S372. Open the drain valve and continue draining water for 10 seconds.
[0146] S373, determine whether the difference between the water outlet temperature and the preset temperature is less than -2 degrees; if it is greater than or equal to -2 degrees, execute S374; if it is less than -2 degrees, execute step S375.
[0147] S374, save the current water inlet temperature, boiling point value and the number of rotation steps of the current motor of the flow control valve, set the flag of abnormal water outlet temperature to 1, and prompt the user that water can be drawn normally.
[0148] S375. Determine whether it is the first temperature adjustment in the water taking process (i.e., determine whether the temperature adjustment step is the first temperature adjustment step after the water comes out). If so, execute step S376; if not, execute step S377.
[0149] S376. Calculate the number of rotation steps of the flow control valve motor according to the algorithm, and return to step S371.
[0150] S377. According to the number of steps calculated in the previous step, reduce the temperature by 1 step every two seconds, continue to adjust the temperature, and return to step S371 (i.e. reduce the number of steps of the flow regulating valve according to the second preset speed increase, and let in water according to the ratio of the adjusted number of steps of the flow regulating valve to the water flow).
[0151] In this embodiment, if it is not the first temperature adjustment, the number of rotation steps of the flow control valve motor is further reduced to prevent the outlet water temperature from being too low, thereby more accurately adjusting the outlet water temperature, making the outlet water temperature more constant, and improving the user experience.
[0152] In an optional embodiment, the temperature control method of the drinking water platform further includes:
[0153] S4. Periodically obtain the water inlet temperature. The period can be set according to the needs.
[0154] S5, judging whether the temperature difference between the inlet water temperature and the inlet water temperature corresponding to the number of steps of the flow control valve exceeds a preset threshold. If so, executing step S6.
[0155] S6. Re-determine the new number of steps of the flow control valve according to the inlet water temperature and the preset boiling point value.
[0156] In this embodiment, since the inlet water temperature will change with the change of ambient temperature, the inlet water temperature is not constant. The difference between the inlet water temperature and the inlet water temperature corresponding to the step number of the flow control valve is monitored. If the difference is too large, the new step number of the flow control valve is re-determined to reduce the impact of ambient temperature on the inlet water temperature, thereby reducing the impact of ambient temperature on the outlet water temperature, thereby achieving the effect of precise temperature control.
[0157] A specific example of a temperature control method for a drinking water platform is introduced below to further illustrate the temperature control method for the drinking water platform of this embodiment.
[0158] Figure 8 The specific steps of the temperature adjustment method for the drinking water platform are:
[0159] S81, perform initialization operation: the drinking water platform is powered on and starts working; the flow regulating valve is reset to zero, that is, the motor of the flow regulating valve finds the zero point, and the number of steps of the flow regulating valve is 0 at this time.
[0160] S82. Read the water inlet temperature and the boiling point value set by the user (ie, the preset boiling point value).
[0161] S83. Determine whether there is a sign indicating abnormal water temperature. If so, execute step S84; if not, execute step S85.
[0162] S84. Match the number of steps adjusted during abnormal processing according to the current inlet water temperature and boiling point (ie, the preset boiling point value), and execute step S86.
[0163] S85, calculate the number of rotation steps of the flow control valve motor according to the algorithm formula, and then execute step S88.
[0164] The algorithm formula is:
[0165] B1=B-(Tmax0-Tmax)*k1-(T0-T1)*k2-(T-T2)*k3-(T-T3)*k4;
[0166] Among them, B1 is used to characterize the number of adjustment steps of the flow control valve; B is used to characterize the maximum number of steps of the flow control valve; Tmax0 is used to characterize the initial boiling point value; Tmax is used to characterize the preset boiling point value; T0 is used to characterize the initial water inlet temperature; T1 is used to characterize the water inlet temperature; T is used to characterize the preset temperature; T2 is used to characterize the median of the preset temperature range; T3 is used to characterize the outlet water temperature; k1 is the first constant coefficient, which is used to characterize the influence ratio of the change of the preset boiling point value on the number of adjustment steps of the flow control valve; k2 is the second constant coefficient, which is used to characterize the influence ratio of the change of the water inlet temperature on the number of adjustment steps of the flow control valve; k3 is the third constant coefficient, which is used to characterize the influence ratio of the deviation between the preset temperature and the median of the preset temperature range on the number of adjustment steps of the flow control valve; k4 is the fourth constant coefficient, which is used to characterize the influence ratio of the deviation between the outlet water temperature and the preset temperature on the number of adjustment steps of the flow control valve. k1, k2, k3 and k4 are all empirical values explored by experiments.
[0167] The default maximum step number of the flow control valve is 700, the initial boiling point value is 95, the initial water inlet temperature is 20, the median value of the preset temperature range is 45 degrees, k1 is 1.2, k2 is 1.5, k3 is 2, and k4 is 2.
[0168] The algorithm formula is:
[0169] B1=700-(95-Tmax)×1.2-(20-T1)×1.5-(T-45)×2-(T-T3)×2.
[0170] S86. Determine whether the current water inlet temperature and boiling point match the number of steps of the flow control valve. If they match, execute step S87; if not, return to step S85.
[0171] S87, the flow regulating valve rotates according to the matched number of steps, and then executes step S881.
[0172] S88 includes:
[0173] S881. Fill the pressure tank and hot water tank with water;
[0174] S882. Turn on the heating plate and boil the water in the hot water tank;
[0175] S883. If a user takes water, the display shows the actual water temperature
[0176] S884. Monitor the outlet and inlet water temperatures.
[0177] The hot water tank is a heating tank used to store hot water and output the hot water to the water outlet of the drinking water platform.
[0178] The drinking water platform uses the pressure of the internal air bag of the pressure barrel to drain and intake water.
[0179] S89, determine whether the inlet water temperature deviates from the initial temperature by more than two degrees (i.e., determine whether the temperature difference between the inlet water temperature and the inlet water temperature corresponding to the number of steps of the flow control valve exceeds a preset threshold). If so, return to step S85 and then return to step S884. If not, execute step S810.
[0180] S810, determine whether the actual outlet water temperature is more than two degrees higher than the preset temperature (T), if it is more than two degrees, execute step S811, if it is not more than two degrees, execute step S812.
[0181] S811, determine whether the water temperature exceeds T+10 degrees, if it exceeds, execute Figure 3 If the temperature adjustment step is not exceeded, execute Figure 5 The temperature adjustment steps.
[0182] S812: Determine whether the outlet water temperature is more than two degrees lower than T. If so, execute Figure 7 If the temperature is not exceeded, execute step S813.
[0183] S813, No need to adjust the number of steps for normal water flow.
[0184] S814: Determine whether the user continues to fetch water. If the user continues to fetch water, return to step S883; if the user does not continue to fetch water, execute step S815.
[0185] S815, stop discharging water, the display screen shows the hot tank temperature, and the procedure for solving the abnormal water outlet temperature of the drinking water platform is completed.
[0186] Example 2
[0187] This embodiment provides a temperature control system for a drinking water platform. Fig. 9 , the temperature control system of the drinking water platform includes:
[0188] The judgment module 1 is used to judge whether the outlet water temperature exceeds a preset temperature range.
[0189] The temperature control module 2 is used to stop the water discharge and adjust the temperature if the water outlet temperature exceeds the preset temperature range; it is specifically used to: open the drain valve to drain water, and determine the number of steps of the flow control valve according to the inlet water temperature and the preset boiling point value, and let water in according to the ratio of the number of steps to the water flow rate to complete the temperature control; the inlet water temperature is the temperature of the water in the water inlet of the drinking water platform; the preset boiling point value is the target temperature that the water in the heating tank of the drinking water platform needs to reach in advance, and the water outlet of the heating tank is connected to the water inlet of the drinking water platform.
[0190] In an optional embodiment, the judgment module 1 is also used to judge whether the temperature adjustment time is greater than a first preset time; if the temperature adjustment time is greater than the first preset time, it is judged whether the difference between the outlet water temperature after temperature adjustment and the preset temperature is greater than or equal to a first threshold.
[0191] If the difference is greater than or equal to the first threshold, the process returns to the temperature adjustment step of the temperature adjustment module 2 .
[0192] The judgment module 1 is further used to judge whether the difference is greater than or equal to a second threshold if the difference is less than the first threshold; the second threshold is less than the first threshold.
[0193] The temperature adjustment module 2 is also used to increase the number of steps of the flow control valve by a first target number of steps if the difference is greater than or equal to a second threshold, and to allow water to enter according to the sum of the number of steps of the flow control valve and the first target number of steps.
[0194] If the difference is less than the second threshold, the process returns to the step of determining whether the outlet water temperature exceeds a preset temperature range in the determination module 1 .
[0195] In an optional embodiment, the judgment module 1 is also used to judge whether the temperature adjustment time is greater than a second preset time; if the temperature adjustment time is greater than the second preset time, it is judged whether the difference between the outlet water temperature after temperature adjustment and the preset temperature is greater than or equal to a third threshold.
[0196] If the difference is less than the third threshold, the process returns to the step of determining whether the outlet water temperature exceeds a preset temperature range in the determination module 1 .
[0197] The judgment module 1 is also used to judge whether the temperature adjustment step is the first temperature adjustment step after the water comes out if the difference is greater than or equal to the third threshold; if it is the first temperature adjustment step after the water comes out, return to the temperature adjustment step of the temperature adjustment module 2.
[0198] The temperature control module 2 is also used to increase the number of steps of the flow control valve according to a first preset speed increase if it is not the first temperature control step after water comes out, and to let water in according to the ratio of the number of steps of the flow control valve after adjustment to the water flow.
[0199] In an optional embodiment, the judgment module 1 is also used to judge whether the temperature adjustment time is greater than a third preset time; if the temperature adjustment time is greater than the third preset time, it is judged whether the difference between the outlet water temperature after temperature adjustment and the preset temperature is less than a fourth threshold.
[0200] If the difference is greater than or equal to the fourth threshold, the process returns to the step of determining whether the outlet water temperature exceeds a preset temperature range in the determination module 1 .
[0201] The judgment module 1 is further used to judge whether the temperature adjustment step is the first temperature adjustment step after the water comes out if the difference is less than a fourth threshold.
[0202] If it is the first temperature adjustment step after the water comes out, the process returns to the temperature adjustment step of the temperature adjustment module 2.
[0203] The temperature control module 2 is also used to reduce the steps of the flow control valve according to the second preset speed increase if it is not the first temperature control step after water discharge, and to let water in according to the ratio of the adjusted steps of the flow control valve and the water flow.
[0204] In an alternative embodiment, see Fig.10 , the temperature control system of the drinking water platform also includes:
[0205] The determination module 3 is used to determine the number of steps of the flow control valve according to the following formula:
[0206] B1=B-(Tmax0-Tmax)*k1-(T0-T1)*k2-(T-T2)*k3-(T-T3)*k4;
[0207] Among them, B1 is used to characterize the number of adjustment steps of the flow control valve; B is used to characterize the maximum number of steps of the flow control valve; Tmax0 is used to characterize the initial boiling point value; Tmax is used to characterize the preset boiling point value; T0 is used to characterize the initial water inlet temperature; T1 is used to characterize the water inlet temperature; T is used to characterize the preset temperature; T2 is used to characterize the median of the preset temperature range; T3 is used to characterize the outlet water temperature; k1 is the first constant coefficient, which is used to characterize the influence ratio of the change of the preset boiling point value on the number of adjustment steps of the flow control valve; k2 is the second constant coefficient, which is used to characterize the influence ratio of the change of the water inlet temperature on the number of adjustment steps of the flow control valve; k3 is the third constant coefficient, which is used to characterize the influence ratio of the deviation between the preset temperature and the median of the preset temperature range on the number of adjustment steps of the flow control valve; k4 is the fourth constant coefficient, which is used to characterize the influence ratio of the deviation between the outlet water temperature and the preset temperature on the number of adjustment steps of the flow control valve. k1, k2, k3 and k4 are all empirical values explored by experiments.
[0208] In an alternative embodiment, see Fig.10 , the temperature control system of the drinking water platform also includes:
[0209] The reminder module 4 is used to announce the current water outlet temperature by voice to remind the user to stop taking water.
[0210] In an alternative embodiment, see Fig.10 , the temperature control system of the drinking water platform also includes:
[0211] The acquisition module 5 is used to periodically acquire the inlet water temperature.
[0212] The judgment module 1 is also used to judge whether the temperature difference between the inlet water temperature and the inlet water temperature corresponding to the number of steps of the flow control valve exceeds a preset threshold.
[0213] The temperature control module 2 is also used to redetermine the new step number of the flow control valve according to the inlet water temperature and the preset boiling point value if it exceeds.
[0214] It should be noted that the implementation methods and technical effects of each module in the temperature control system of the drinking water platform of this embodiment can refer to the corresponding parts of Example 1, so they will not be repeated here.
[0215] Example 3
[0216] This embodiment provides a drinking water platform. Fig.11 The drinking water platform includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the temperature control method of the drinking water platform of Example 1 is implemented.
[0217] In an optional embodiment, the drinking water platform also includes: a heating tank, a heat exchanger, a flow regulating valve and a temperature detection module; the heating tank is used to store hot water and output the hot water to the water outlet of the drinking water platform; the cold water outlet of the heat exchanger is connected to the cold water inlet of the heating tank, and the hot water outlet of the heat exchanger is connected to the hot water inlet of the heating tank; the flow regulating valve is arranged at the cold water outlet of the heat exchanger and the hot water outlet of the heat exchanger, and is used to adjust the cold water outlet flow rate of the heat exchanger and the hot water outlet flow rate of the heat exchanger; the temperature detection module is used to detect the inlet temperature, the outlet temperature and the temperature of the heating tank.
[0218] Fig.11 The drinking water platform 30 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0219] like Fig.11 As shown, the drinking water platform 30 can be in the form of a general computing device, for example, it can be a server device. The components of the drinking water platform 30 can include but are not limited to: at least one processor 31, at least one memory 32, and a bus 33 connecting different system components (including the memory 32 and the processor 31).
[0220] The bus 33 includes a data bus, an address bus, and a control bus.
[0221] The memory 32 may include a volatile memory, such as a random access memory (RAM) 321 and / or a cache memory 322 , and may further include a read-only memory (ROM) 323 .
[0222] The memory 32 may also include a program / utility 325 having a set (at least one) of program modules 324, such program modules 324 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0223] The processor 31 executes various functional applications and data processing by running the computer program stored in the memory 32, such as the temperature control method of the drinking water platform in Example 1 of the present invention.
[0224] The drinking water platform 30 may also communicate with one or more external devices 34 (e.g., keyboards, pointing devices, etc.). Such communication may be performed via an input / output (I / O) interface 35. Furthermore, the model generating device 30 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 36. Fig.11 As shown, the network adapter 36 communicates with other modules of the model-generated device 30 via the bus 33. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the model-generated device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
[0225] It should be noted that although several units / modules or sub-units / modules of the drinking water platform are mentioned in the above detailed description, this division is only exemplary and not mandatory. In fact, according to an embodiment of the present invention, the features and functions of two or more units / modules described above can be embodied in one unit / module. Conversely, the features and functions of one unit / module described above can be further divided into multiple units / modules to be embodied.
[0226] Example 4
[0227] This embodiment provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the temperature control method of the drinking water platform of Embodiment 1 is implemented.
[0228] The readable storage medium may include but is not limited to: a portable disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical storage device, a magnetic storage device or any suitable combination of the above.
[0229] In a possible implementation manner, the present invention can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the temperature control method for the drinking water platform of Example 1.
[0230] Among them, the program code for executing the present invention can be written in any combination of one or more programming languages, and the program code can be executed completely on the user device, partially on the user device, as an independent software package, partially on the user device and partially on a remote device, or completely on the remote device.
[0231] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.
Claims
1. A temperature control method for a drinking water platform, characterized in that: The temperature control method of the drinking water platform comprises: Determine whether the outlet water temperature exceeds the preset temperature range; If the outlet water temperature exceeds the preset temperature range, stop the water outlet and adjust the temperature; The temperature adjustment step includes: opening the drain valve to drain water, and determining the number of steps of the flow regulating valve according to the inlet water temperature and the preset boiling point value, and letting water in according to the ratio of the number of steps to the water flow rate; the inlet water temperature is the temperature of the water in the water inlet of the drinking water platform; the preset boiling point value is the target temperature that the water in the heating tank of the drinking water platform needs to reach in advance, and the water outlet of the heating tank is connected to the water inlet of the drinking water platform; Determine the number of steps for the flow control valve according to the following formula: B1=B-(Tmax0-Tmax)*k1-(T0-T1)*k2-(T-T2)*k3-(T-T3)*k4; Among them, B1 is used to characterize the number of adjustment steps of the flow control valve; B is used to characterize the maximum number of steps of the flow control valve; Tmax0 is used to characterize the initial boiling point value; Tmax is used to characterize the preset boiling point value; T0 is used to characterize the initial water inlet temperature; T1 is used to characterize the water inlet temperature; T is used to characterize the preset temperature; T2 is used to characterize the median of the preset temperature range; T3 is used to characterize the outlet water temperature; k1 is the first constant coefficient, which is used to characterize the influence ratio of the change of the preset boiling point value on the number of adjustment steps of the flow control valve; k2 is the second constant coefficient, which is used to characterize the influence ratio of the change of the inlet water temperature on the number of adjustment steps of the flow control valve; k3 is the third constant coefficient, which is used to characterize the influence ratio of the deviation between the preset temperature and the median of the preset temperature range on the number of adjustment steps of the flow control valve; k4 is the fourth constant coefficient, which is used to characterize the influence ratio of the deviation between the outlet water temperature and the preset temperature on the number of adjustment steps of the flow control valve.
2. The temperature control method for a drinking water platform according to claim 1, characterized in that: The temperature adjustment step comprises: Determine whether the temperature adjustment time is greater than a first preset time; If the temperature adjustment time is longer than the first preset time, determining whether the difference between the outlet water temperature after the temperature adjustment and the preset temperature is greater than or equal to a first threshold; If the difference is greater than or equal to the first threshold, returning to the temperature adjustment step; If the difference is less than the first threshold, determining whether the difference is greater than or equal to a second threshold; wherein the second threshold is less than the first threshold; If the difference is greater than or equal to the second threshold, the number of steps of the flow regulating valve is increased by a first target number of steps, and water is introduced according to the sum of the number of steps of the flow regulating valve and the first target number of steps; If the difference is less than the second threshold, return to the step of determining whether the outlet water temperature exceeds a preset temperature range.
3. The temperature control method of the drinking water platform according to claim 1, characterized in that: The temperature adjustment step comprises: Determine whether the temperature adjustment time is greater than a second preset time; If the temperature adjustment time is longer than the second preset time, determining whether the difference between the outlet water temperature after the temperature adjustment and the preset temperature is greater than or equal to a third threshold; If the difference is less than the third threshold, return to the step of determining whether the outlet water temperature exceeds a preset temperature range; If the difference is greater than or equal to the third threshold, determining whether the temperature adjustment step is the first temperature adjustment step after water is discharged; If it is the first temperature adjustment step after the water comes out, return to the temperature adjustment step; If it is not the first temperature adjustment step after the water comes out, the number of steps of the flow regulating valve is increased according to the first preset speed increase, and water is introduced according to the ratio of the number of steps of the flow regulating valve after adjustment to the water flow rate.
4. The temperature control method for a drinking water platform according to claim 1, characterized in that: The temperature adjustment step comprises: Determining whether the temperature adjustment time is greater than a third preset time; If the temperature adjustment time is longer than the third preset time, determining whether the difference between the outlet water temperature after the temperature adjustment and the preset temperature is less than a fourth threshold; If the difference is greater than or equal to the fourth threshold, return to the step of determining whether the outlet water temperature exceeds a preset temperature range; If the difference is less than a fourth threshold, determining whether the temperature adjustment step is the first temperature adjustment step after water discharge; If it is the first temperature adjustment step after the water comes out, return to the temperature adjustment step; If it is not the first temperature adjustment step after the water comes out, the number of steps of the flow regulating valve is reduced according to the second preset speed increase, and water is introduced according to the ratio of the number of steps of the flow regulating valve after adjustment to the water flow rate.
5. The temperature control method for a drinking water platform according to claim 1, characterized in that: The step of if the outlet water temperature exceeds the preset temperature range includes: The current water temperature is announced by voice to remind the user to stop drawing water.
6. The temperature control method for a drinking water platform according to claim 1, characterized in that: The temperature control method of the drinking water platform also includes: Periodically obtain the inlet water temperature; Determine whether the temperature difference between the inlet water temperature and the inlet water temperature corresponding to the number of steps of the flow control valve exceeds a preset threshold; If it exceeds, the new number of steps of the flow control valve is re-determined according to the water inlet temperature and the preset boiling point value.
7. A temperature control system for a drinking water platform, characterized in that: The temperature control system of the drinking water platform includes: A judgment module, used to judge whether the outlet water temperature exceeds a preset temperature range; The temperature control module is used to stop discharging water and adjust the temperature if the outlet water temperature exceeds the preset temperature range; specifically, it is used to: open the drain valve to drain water, and determine the number of steps of the flow control valve according to the inlet water temperature and the preset boiling point value, and inlet water according to the ratio of the number of steps to the water flow rate to complete the temperature control; the inlet water temperature is the temperature of the water in the water inlet of the drinking water platform; the preset boiling point value is the target temperature that the water in the heating tank of the drinking water platform needs to reach in advance, and the water outlet of the heating tank is connected to the water inlet of the drinking water platform; Determine the number of steps for the flow control valve according to the following formula: B1=B-(Tmax0-Tmax)*k1-(T0-T1)*k2-(T-T2)*k3-(T-T3)*k4; Among them, B1 is used to characterize the number of adjustment steps of the flow control valve; B is used to characterize the maximum number of steps of the flow control valve; Tmax0 is used to characterize the initial boiling point value; Tmax is used to characterize the preset boiling point value; T0 is used to characterize the initial water inlet temperature; T1 is used to characterize the water inlet temperature; T is used to characterize the preset temperature; T2 is used to characterize the median of the preset temperature range; T3 is used to characterize the outlet water temperature; k1 is the first constant coefficient, which is used to characterize the influence ratio of the change of the preset boiling point value on the number of adjustment steps of the flow control valve; k2 is the second constant coefficient, which is used to characterize the influence ratio of the change of the inlet water temperature on the number of adjustment steps of the flow control valve; k3 is the third constant coefficient, which is used to characterize the influence ratio of the deviation between the preset temperature and the median of the preset temperature range on the number of adjustment steps of the flow control valve; k4 is the fourth constant coefficient, which is used to characterize the influence ratio of the deviation between the outlet water temperature and the preset temperature on the number of adjustment steps of the flow control valve.
8. A drinking water platform, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the temperature control method of the drinking water platform described in any one of claims 1-6 is implemented.
9. The drinking water platform according to claim 8, characterized in that: The drinking water platform also includes: a heating tank, a heat exchanger, a flow regulating valve and a temperature detection module; The heating tank is used to store hot water and output the hot water to the water outlet of the drinking water platform; The cold water outlet of the heat exchanger is connected to the cold water inlet of the heating tank, and the hot water outlet of the heat exchanger is connected to the hot water inlet of the heating tank; The flow regulating valve is arranged at the cold water outlet of the heat exchanger and the hot water outlet of the heat exchanger, and is used to adjust the cold water outlet flow rate of the heat exchanger and the hot water outlet flow rate of the heat exchanger; The temperature detection module is used to detect the water inlet temperature, the water outlet temperature and the temperature of the heating tank.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the temperature control method of the drinking water platform according to any one of claims 1 to 6 is implemented.