Water purifier control method and system, electronic device, and medium
Patent Information
- Application Number
- CN202410060589.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-16
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2044-01-16
AI Technical Summary
[0004]本发明要解决的技术问题是为了克服现有技术中无法智能控制净水机的工作模式的缺陷,提供一种净水机的控制方法及系统、电子设备、介质
[0035]在符合本领域常识的基础上,上述各优选条件,可任意组合,即得本发明各较佳实例。
Smart Images

Figure CN117850280B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of water purifier technology, specifically to a control method and system for a water purifier, electronic equipment, and a medium. Background Technology
[0002] Currently, commercial water purifiers on the market can only be set to turn on and off at fixed times. However, in some public places or offices, people arrive early and leave late, so the timing is not consistent. This means that the machine may be turned off when people are present, or it may continue to run even when no one is there, heating a large tank of hot water, which is very wasteful of electricity. Moreover, the demand for hot water varies with the seasons for the same water purifier. Hot water consumption is high in winter and low in summer. Current machines on the market cannot intelligently adjust the hot water output, resulting in significant waste of hot water, electricity, and water.
[0003] Most water dispensers on the market don't discharge water that has been left overnight. Water left overnight is bad for health, and the repeated boiling of the water creates "repeatedly boiled water," which is also harmful. If the machine is turned off and someone wants to get water, it can't automatically turn on, leaving people unable to get water. Without internet access, the machine can't be turned on and off, or in some areas, various reasons may prevent the machine from connecting to the internet. The cost of a network module is high, increasing the burden on both businesses and consumers. The installation and maintenance of the network module, as well as IoT cards, all require significant costs. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to overcome the defects of the prior art in that it is impossible to intelligently control the working mode of a water purifier, and to provide a control method and system, electronic equipment and medium for a water purifier.
[0005] The present invention solves the above-mentioned technical problems through the following technical solution:
[0006] Firstly, a control method for a water purifier is provided, the control method comprising:
[0007] The current season is determined based on the heat dissipation of the water in the water tank of the water purifier within a preset time period.
[0008] The operating strategy of the water purifier is determined based on the current season and the resistance data of the photoresistor; wherein, the resistance value of the photoresistor represents the brightness of the environment in which the water purifier is located; the resistance data includes the resistance value and / or the change in the resistance value.
[0009] The water purifier is controlled to operate according to the described working strategy.
[0010] Optionally, determining the current season based on the heat dissipation of the water in the water tank of the water purifier within a preset time period includes:
[0011] If the temperature of the water in the water tank of the water purifier is greater than the first temperature threshold, then the current season is summer.
[0012] Based on the current season and the resistance data of the photoresistor, the operating strategy of the water purifier is determined, including:
[0013] When the current season is summer and the resistance change does not exceed the resistance threshold, the water purifier's working strategy is to add cold water to the water tank and boil it after a preset standby time.
[0014] Optionally, determining the water purifier's operating strategy based on the current season and the photoresistor's resistance data includes:
[0015] After adding cold water to the water tank and boiling it, the timer begins.
[0016] When the resistance of the photoresistor is greater than the first threshold and the duration of the timing is greater than the first duration, the water level of the hot water in the water tank is maintained at no lower than the middle water level, and the current resistance of the photoresistor is determined.
[0017] If the resistance value is greater than the second threshold, and the current season is summer, and the hot water level in the water tank is lower than the low water level, the working strategy of the water purifier is to add cold water to the water tank to the low water level and boil it; wherein, the first threshold is less than the second threshold.
[0018] Optionally, determining the water purifier's operating strategy based on the current season and the photoresistor's resistance data includes:
[0019] If the resistance of the photoresistor is greater than the third threshold and the duration is greater than the second duration, the working strategy of the water purifier is to control the water purifier to enter the shutdown state.
[0020] Optionally, determining the water purifier's operating strategy based on the current season and the photoresistor's resistance data further includes:
[0021] If the water purifier is in the off state and the resistance of the photoresistor is less than the fourth threshold, the water purifier is controlled to enter the on state.
[0022] When the water purifier is turned on, if the water in the water tank of the water purifier decreases to below the low water level, the working strategy of the water purifier is to control the water purifier to replenish cold water to the low water level and boil it; wherein, the third threshold is greater than the fourth threshold.
[0023] Optionally, determining the water purifier's operating strategy based on the current season and the photoresistor's resistance data further includes:
[0024] If the water purifier is in the off state and the resistance of the photoresistor is greater than the third threshold, determine whether the water level in the water tank is high.
[0025] If the water level in the water tank is high, then the cold water in the pressure tank of the water purifier is discharged, and the temperature of the water in the water tank is determined.
[0026] If the temperature of the water in the tank is greater than the second temperature threshold, the water purifier's operating strategy is to open the hot water drain valve until all the hot water is drained.
[0027] Optionally, determining the water purifier's operating strategy based on the current season and the photoresistor's resistance data further includes:
[0028] If the temperature of the water in the tank is not greater than the first temperature threshold, then the current season is winter, and the working strategy of the water purifier is to control the water level in the tank to a high level.
[0029] Secondly, a control system for a water purifier is provided, the control system comprising:
[0030] The judgment module is used to determine the current season based on the heat dissipation of the water in the water tank of the water purifier within a preset time period.
[0031] The determination module is used to determine the working strategy of the water purifier based on the current season and the resistance data of the photoresistor; wherein, the resistance value of the photoresistor represents the brightness of the environment in which the water purifier is located; the resistance data includes the resistance value and / or the change in the resistance value.
[0032] The control module is used to control the operation of the water purifier according to the operating strategy.
[0033] Thirdly, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and for running on the processor, wherein the processor executes the computer program to implement the control method for a water purifier as described in the first aspect.
[0034] Fourthly, a computer storage medium is provided, on which a computer program is stored, characterized in that, when the computer program is executed by a processor, it implements the control method for a water purifier as described in the first aspect.
[0035] Based on common knowledge in the field, the above-mentioned preferred conditions can be combined arbitrarily to obtain various preferred embodiments of the present invention.
[0036] The significant advantages of this invention are: it determines the user's water demand based on the current season and the resistance value of the photoresistor, flexibly adjusting the machine's hot water output according to different sunrise times and seasons. This eliminates the need for manually setting timers, ensuring hot water is available upon arrival and preventing water and electricity waste. Furthermore, it can intelligently reduce hot water output based on the photoresistor's resistance value at night and the season, avoiding hot water waste and saving energy. Attached Figure Description
[0037] Figure 1 This is a first flowchart of a water purifier control method provided in an embodiment of the present invention;
[0038] Figure 2 This is a second flowchart of a water purifier control method provided in an embodiment of the present invention;
[0039] Figure 3 A third flowchart of a water purifier control method provided in an embodiment of the present invention;
[0040] Figure 4 A fourth flowchart of a water purifier control method provided in an embodiment of the present invention;
[0041] Figure 5 The fifth flowchart of a water purifier control method provided in an embodiment of the present invention;
[0042] Figure 6 The sixth flowchart of a water purifier control method provided in an embodiment of the present invention;
[0043] Figure 7 A schematic diagram of the control system of a water purifier provided in an embodiment of the present invention;
[0044] Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0045] The present invention will be further illustrated by way of embodiments below, but the present invention is not limited to the scope of the embodiments described herein.
[0046] like Figure 1 As shown, an embodiment of the present invention provides a water purifier control method comprising the following steps:
[0047] S11. Determine the current season based on the heat dissipation of the water in the water tank of the water purifier within a preset time period.
[0048] The water purifier mentioned in this invention refers to one installed in an office or public place, equipped with a hot water tank and a pressure tank, capable of dispensing both hot and cold water. In addition, the water purifier also includes basic components such as a controller, a water dispensing button, a water inlet valve, a heating element, and a hot water outlet valve.
[0049] In one embodiment, the current season is determined based on the heat dissipation of the water in the water tank of the water purifier within a preset time period, including: if the temperature of the water in the water tank of the water purifier is greater than a first temperature threshold, then the current season is summer.
[0050] Based on the current season and the resistance data of the photoresistor, determine the water purifier's operating strategy, including:
[0051] When the current season is summer and the resistance change does not exceed the resistance threshold, the water purifier's working strategy is to add cold water to the water tank and boil it after a preset standby time.
[0052] The first temperature threshold can be set according to the actual situation, such as 10℃ or 20℃.
[0053] The preset duration can be set according to the actual situation, such as half an hour or one hour.
[0054] The resistance threshold can be set according to the actual situation, for example, 1kΩ.
[0055] The water purifier is turned on in the morning to refill and heat water. It judges the heat dissipation based on the water temperature in the hot water tank; heat dissipation is faster in winter and slower in summer. If the water temperature is above a first temperature threshold, it indicates slow heat dissipation, and the current season is summer. If the resistance change does not exceed the resistance threshold, it indicates minimal change, excluding the possibility of a sudden large resistance change due to someone entering the tank. In this case, no additional water needs to be added. After the preset standby time, add cold water to the tank and boil it to maintain the required water usage.
[0056] S12. Determine the working strategy of the water purifier based on the current season and the resistance data of the photoresistor.
[0057] The photoresistor is installed on the water purifier or at a preset distance from the water purifier, facing the light. The resistance value of the photoresistor represents the brightness of the environment in which the water purifier is located.
[0058] Resistance data includes the resistance value and / or the change in resistance value. The change in resistance value is the change in resistance over a period of time. For example, the resistance value remains at 1MΩ for a long time, and then suddenly changes by more than 1kΩ within 5 seconds.
[0059] In one embodiment, the working strategy of the water purifier is determined based on the current season and the resistance data of the photoresistor, including: adding cold water to the water tank and boiling it, then starting the timer; when the resistance of the photoresistor is greater than a first threshold and the duration of the timer is greater than a first duration, then maintaining the water level of the hot water in the water tank at no lower than the middle water level, and determining the current resistance of the photoresistor.
[0060] If the resistance is greater than the second threshold and the current season is summer, the hot water level in the tank is lower than the low water level. The water purifier's working strategy is to add cold water to the tank to the low water level and boil it.
[0061] The first threshold is less than the second threshold. The first and second thresholds can be set according to the actual situation, such as 500kΩ and 700kΩ.
[0062] The first duration can be set according to the actual situation, for example, 10 hours.
[0063] After adding cold water to the water tank and boiling it, the morning water replenishment and heating process is complete, and the daytime workflow begins. The timer starts tracking the elapsed daytime. When the resistance of the photoresistor exceeds the first threshold and the duration is greater than the first time interval, it indicates that the light is dim and the daytime is relatively long. For example, if the daytime duration is 10 hours, it means it's almost dark and it's not winter, so the water demand will gradually decrease. Simply maintain the hot water level at least at the medium level. If the resistance exceeds the second threshold, it means it's already very dark, with only artificial lighting. Since it's summer, the hot water demand is even lower, so simply maintain the hot water level in the tank at a low level.
[0064] In one embodiment, the operating strategy of the water purifier is determined based on the current season and the resistance data of the photoresistor, including:
[0065] If the resistance of the photoresistor is greater than the third threshold and the duration is greater than the second duration, the water purifier's operating strategy is to control the water purifier to enter the shutdown state.
[0066] The third threshold can be set according to the actual situation, for example, 1MΩ. The second duration can be set according to the actual situation, for example, half an hour.
[0067] If the resistance of the photoresistor is greater than the third threshold and the duration is greater than the second duration, for example, if the resistance is greater than 1MΩ and the duration is greater than half an hour, it means that the lights are off and no one is around. The water purifier stops heating, replenishing water and producing water, enters standby energy-saving mode, turns off the display screen and all loads, and enters the shutdown state.
[0068] In one embodiment, determining the water purifier's operating strategy based on the current season and the resistance data of the photoresistor further includes:
[0069] If the water purifier is in the off state and the resistance of the photoresistor is less than the fourth threshold, the water purifier will be turned on.
[0070] When the water purifier is turned on, if the water in the water tank decreases below the low water level, the water purifier's working strategy is to control the water purifier to add cold water to the low water level and boil it.
[0071] The third threshold is greater than the fourth threshold. The third and fourth thresholds can be set according to the actual situation, such as 900kΩ and 1MΩ.
[0072] When the water purifier is off, if the resistance of the photoresistor suddenly becomes less than the fourth threshold, it means that someone has turned on the light and controlled the water purifier to turn on. The screen lights up and the water in the tank is heated to boil. If someone takes hot water and the water level is lower than the low water level, the water is replenished to the low water level and boiled. The water purifier maintains the low water level operation.
[0073] In one embodiment, determining the water purifier's operating strategy based on the current season and the resistance data of the photoresistor further includes:
[0074] If the water purifier is turned off and the resistance of the photoresistor is greater than the third threshold, determine whether the water level in the tank is high.
[0075] If the water level in the tank is high, drain the cold water from the pressure tank of the water purifier and determine the temperature of the water in the tank.
[0076] If the temperature of the water in the tank is higher than the second temperature threshold, the water purifier will open the hot water drain valve until all the hot water is drained.
[0077] The second temperature threshold can be set according to the actual situation, such as 60℃ or 80℃.
[0078] If the resistance of the photoresistor is greater than the third threshold and the water level in the tank is high, it means there is too much hot water. Open the pressure tank drain valve to drain the cold water from the pressure tank and replenish it to the hot water tank. Then check if the temperature in the hot water tank is higher than 80℃. If it is higher than 80℃, it means there is too much hot water and the temperature is too high, which may cause scalding. At this time, open the hot water drain valve to drain the water for 10 seconds, then wait for 20 seconds before draining again, until all the hot water is drained.
[0079] In one embodiment, determining the water purifier's operating strategy based on the current season and the resistance data of the photoresistor further includes:
[0080] If the temperature of the water in the tank is not greater than the first temperature threshold, and the current season is winter, the water purifier's working strategy is to control the water level in the tank to a high level.
[0081] Hot water usage is high at night in winter, so the water purifier maintains full hot water level without lowering the water level.
[0082] S13. Control the operation of the water purifier according to the working strategy.
[0083] The modes for controlling the operation of the water purifier include heating, water replenishment, water boiling, water production, and water drainage.
[0084] The water purifier control method provided in this invention eliminates the need for manual setting of timed on / off times. It intelligently switches on and off, and flexibly adjusts the hot water output based on daylight hours and season, ensuring hot water is always available when someone visits, preventing water and electricity waste. It can also intelligently reduce the hot water output based on ambient light levels at night and the season, avoiding waste. The machine automatically shuts off when no one is present and the lights are turned off, saving energy. It automatically turns on again when someone visits to ensure water supply. It drains overnight water daily, easily addressing the issue of excessive bacteria in the first cup of water, and intelligently drains water based on temperature, preventing damage to drain pipes.
[0085] Furthermore, the water purifier does not require a network module to achieve intelligent on / off operation and can also determine the season. In addition, the cost of the photoresistor used is low, far lower than that of the network module, which can reduce production costs and subsequent maintenance costs.
[0086] The following is combined Figure 2 The control method of the water purifier will be further explained below:
[0087] S21, The water purifier starts to supply water and electricity, then proceeds to S22;
[0088] S22. Enter the "Morning Hydration and Heating" sub-flowchart, determine the current season, and proceed to S23;
[0089] S23. Determine if the current winter indicator is 1. If the current winter indicator is 1, it means it is currently winter, proceed to S24; if the current winter indicator is not 1, it means it is not currently winter, proceed to S25.
[0090] S24. In winter, when the amount of hot water used at night is large, the system does not intelligently lower the hot water level to maintain full water level operation, thus entering S29.
[0091] S25. Determine whether the current resistance of the photoresistor is greater than 500K ohms. If the current resistance of the photoresistor is greater than 500K ohms, proceed to S26; if the current resistance of the photoresistor is not greater than 500K ohms, proceed to S27.
[0092] S26. Determine if the elapsed time during the day is greater than 10 hours. If the elapsed time during the day is greater than 10 hours, proceed to S28; if the elapsed time during the day is not greater than 10 hours, proceed to S27.
[0093] S27. Wait, proceed to S25;
[0094] S28. Enter the "Intelligent Water Level Reduction at Night" sub-flowchart, then enter S29;
[0095] S29. Determine whether the current resistance of the photoresistor is greater than 1 megohm. If the current resistance of the photoresistor is greater than 1 megohm, proceed to S210; if the current resistance of the photoresistor is not greater than 1 megohm, proceed to S211.
[0096] S210 indicates that the lights are off and no one is present. Heating, water replenishment and water production have stopped, and the system has entered standby energy-saving mode. Enter S212.
[0097] S211, Wait, proceed to S29;
[0098] S212. Determine whether the time during which the resistance of the photoresistor is greater than 1 megohm is greater than half an hour. If the time during which the resistance of the photoresistor is greater than 1 megohm is greater than half an hour, proceed to S213; if the time during which the resistance of the photoresistor is greater than 1 megohm is not greater than half an hour, proceed to S210.
[0099] S213, The machine turns off the display screen, shuts down all loads, and enters the shutdown state, then enters S214;
[0100] S214. Determine whether the resistance of the photoresistor suddenly becomes less than 900K ohms within 5 seconds. If the resistance of the photoresistor suddenly becomes less than 900K ohms within 5 seconds, proceed to S215; if the resistance of the photoresistor does not suddenly become less than 900K ohms within 5 seconds, proceed to S216.
[0101] S215, Enter the "Handling someone turning on the lights at night" sub-flowchart, then enter S29;
[0102] S216. Determine whether the time when the photoresistor resistance value is greater than 1 megohm is greater than 6 hours. If the time when the photoresistor resistance value is greater than 1 megohm is greater than 6 hours, proceed to S217; if the time when the photoresistor resistance value is greater than 1 megohm is not greater than 6 hours, proceed to S214.
[0103] S217, Enter the "Drain overnight water to prevent scalding" sub-flowchart, then enter S218;
[0104] S218, End.
[0105] Figure 3A flowchart of the sub-process "morning water replenishment and heating" of a water purifier control method provided in an embodiment of the present invention is shown below:
[0106] S31, Enter the "Morning Water Replenishment and Heating" subprocess, then enter S32;
[0107] S32. When the resistance of the photoresistor gradually decreases from 1.5 megohms to 1 megohm, it indicates that dawn is approaching. The machine will then replenish the water to the low water level and proceed to S33.
[0108] S33. Drain the overnight water from the hot and cold water outlets for 10 seconds, then proceed to S34;
[0109] S34. Determine whether the resistance change of the photoresistor exceeds 1K ohms within 5 seconds. If the resistance change of the photoresistor exceeds 1K ohms within 5 seconds, proceed to S35; if the resistance change of the photoresistor does not exceed 1K ohms within 5 seconds, proceed to S39.
[0110] S35 indicates that the lights were suddenly turned on and someone came; proceed to S36.
[0111] S36. Boil the water at the lowest level and proceed to S37;
[0112] S37. Add water for another 20 seconds, then stop adding water, boil the added water, and proceed to S38.
[0113] S38. Fill the entire tank with water in this manner and boil it, then proceed to S327;
[0114] S39. Determine if the current temperature in the hot water tank is below 10 degrees Celsius. If the current temperature in the hot water tank is below 10 degrees Celsius, proceed to S310; if the current temperature in the hot water tank is not below 10 degrees Celsius, proceed to S314.
[0115] S310: It is currently winter. Set the winter indicator to 1 and proceed to S311.
[0116] S311. Boil the water at the lowest level and proceed to S312;
[0117] S312, add water for another 20 seconds, then stop adding water, boil the added water, and proceed to S313;
[0118] S313. Fill the entire tank with water in this manner and boil it, then proceed to S327;
[0119] S314. Determine if the current temperature in the hot water tank is below 20 degrees Celsius. If the current temperature in the hot water tank is below 20 degrees Celsius, proceed to S315; if the current temperature in the hot water tank is not below 20 degrees Celsius, proceed to S321.
[0120] S315. Indicate that it is currently the Spring and Autumn Period. Set the Spring and Autumn Period flag to 1 and proceed to S316.
[0121] S316. Boil the water at the lowest level and proceed to S317;
[0122] S317, wait half an hour, then enter S318;
[0123] S318. Add water to the medium water level and boil the water, then proceed to S319;
[0124] S319, wait half an hour, then enter S320;
[0125] S320, add water to the high water level and boil the water, then proceed to S327;
[0126] S321. Indicate that it is currently summer. Set the summer flag to 1 and proceed to S322.
[0127] S322, wait one hour, then enter S323;
[0128] S323, Boil the water at the lowest level, then proceed to S324;
[0129] S324, wait one hour, then proceed to S325;
[0130] S325, add water for another 20 seconds, then stop adding water, boil the added water, and proceed to S326;
[0131] S326. Fill the entire tank with water in this manner and boil it, then proceed to S327;
[0132] S327. Water is replenished and heated in the morning. The timer starts counting down the days as they pass, waiting for people to collect water.
[0133] Figure 4 The flowchart of the sub-process "intelligent water level reduction at night" of the water purifier control method provided in this embodiment of the invention is as follows:
[0134] S41. Enter the "Intelligent Water Level Reduction at Nightfall" subprocess, then proceed to S42;
[0135] S42 indicates that it is getting dark and it is not winter, so the demand for water will gradually decrease, and we will enter S43;
[0136] S43. Determine whether the current hot water level is lower than the middle water level. If the current hot water level is lower than the middle water level, proceed to S44; if the current hot water level is not lower than the middle water level, proceed to S45.
[0137] S44. Add water to the medium water level and bring to a boil, then proceed to S43;
[0138] S45, No more water is added, waiting for people to use the water, then proceed to S46;
[0139] S46. Determine whether the current resistance of the photoresistor is greater than 700K ohms. If the current resistance of the photoresistor is greater than 700K ohms, proceed to S47; if the current resistance of the photoresistor is not greater than 700K ohms, proceed to S45.
[0140] S47 indicates that it is already very dark, with only artificial light for illumination. Proceed to S48.
[0141] S48. Determine if the current summer indicator is 1. If the current summer indicator is 1, proceed to S49; if the current summer indicator is not 1, proceed to S410.
[0142] S49. Determine whether the current hot water level is lower than the low water level. If the current hot water level is lower than the low water level, proceed to S411; if the current hot water level is not lower than the low water level, proceed to S412.
[0143] S410 indicates that the water level should be maintained at a medium level during the spring and autumn seasons.
[0144] S411, add water to the low water level and boil, maintain low water level operation in summer;
[0145] S412, no more water will be added; it awaits people's use of the water.
[0146] The machine's hot water output can be flexibly adjusted according to the time of daybreak and the season to ensure that people always have hot water to drink and to avoid wasting water and electricity.
[0147] Figure 5 The flowchart of the sub-process "Handling someone turning on the lights at night" of a water purifier control method provided in an embodiment of the present invention is as follows:
[0148] S51, Enter the "Handling someone turning on the lights at night" sub-process, then enter S52;
[0149] S52 indicates that someone has turned on the light, proceed to S53;
[0150] S53. The machine is turned on, the screen lights up, and it starts heating up to boil the water inside. No water is added, and the process proceeds to S54.
[0151] S54. Determine if anyone has taken hot water. If someone has taken hot water, proceed to S55; if no one has taken hot water, proceed to S53.
[0152] S55. Determine if the water level in the tank is below the low water level. If it is below the low water level, proceed to S56; if it is not below the low water level, proceed to S54.
[0153] S56. Add water to the low water level and boil it, then maintain the low water level operation.
[0154] The machine intelligently adjusts the hot water supply based on the amount of ambient light at night and the season, preventing waste. It automatically shuts off when no one is around and the lights are turned off, saving energy. It automatically turns back on when someone arrives to ensure a continuous water supply.
[0155] Figure 6 A flowchart of the sub-process "draining overnight water to prevent scalding" of a water purifier control method provided in an embodiment of the present invention is as follows:
[0156] S61, Enter the "Drain overnight water to prevent scalding" sub-process, then enter S62;
[0157] S62. Determine whether the current water level in the hot water tank is high. If the current water level in the hot water tank is high, proceed to S65; if the current water level in the hot water tank is not high, proceed to S63.
[0158] S63. Add cold water from the pressure tank to the hot water tank. Stop adding water after the water level reaches the high level and proceed to S64.
[0159] S64. Let stand for 10 minutes, then proceed to S65;
[0160] S65. Open the pressure tank drain valve to drain the cold water from the pressure tank and proceed to S66.
[0161] S66. Determine if the temperature in the hot water tank is higher than 80 degrees. If the temperature in the hot water tank is higher than 80 degrees, proceed to S67; if the temperature in the hot water tank is not higher than 80 degrees, proceed to S68.
[0162] S67. Open the hot water drain valve to drain water for 10 seconds, then wait for 20 seconds, and repeat this cycle until all the hot water has been drained.
[0163] S68. Determine if the temperature in the hot water tank is higher than 60 degrees. If the temperature in the hot water tank is higher than 60 degrees, proceed to S69; if the temperature in the hot water tank is not higher than 60 degrees, proceed to S610.
[0164] S69. Open the hot water drain valve to drain water for 10 seconds, then wait for 10 seconds, and repeat this cycle until all the hot water has been drained.
[0165] S610. Open the drain valve to drain all the hot water.
[0166] The water purifier controls the discharge of overnight water every day, solving the problem of excessive bacteria in the first cup of water in the simplest way. It can also intelligently drain water according to different water temperatures, which can prevent damage to the drain pipes.
[0167] It should be noted that all specific values provided in any of the above embodiments are numerical examples provided by the embodiments of the present invention, and other values obtained by theoretical calculation or experimental testing fall within the protection scope of the present invention.
[0168] This invention also provides a control system for a water purifier, such as... Figure 7 As shown, the control system includes:
[0169] The judgment module 71 is used to determine the current season based on the heat dissipation of the water in the water tank of the water purifier within a preset time period.
[0170] The determining module 72 is used to determine the working strategy of the water purifier based on the current season and the resistance data of the photoresistor; wherein, the resistance value of the photoresistor represents the brightness of the environment in which the water purifier is located; the resistance data includes the resistance value and / or the change in the resistance value;
[0171] The control module 73 is used to control the operation of the water purifier according to the working strategy.
[0172] In one embodiment, the determination module includes:
[0173] The first judgment unit is used to determine that the current season is summer if the temperature of the water in the water tank of the water purifier is greater than a first temperature threshold.
[0174] The module to be determined includes:
[0175] The first determining unit is used to determine the working strategy of the water purifier as follows: when the current season is summer and the resistance change does not exceed the resistance threshold, the water purifier will add cold water to the water tank and boil it after a preset standby time.
[0176] In one embodiment, the determining module further includes:
[0177] A timing unit is used to start timing after cold water is added to the water tank and boiled;
[0178] The second judgment unit is used to maintain the water level of the hot water in the water tank at no lower than the middle water level when the resistance of the photoresistor is greater than the first threshold and the duration of the timing is greater than the first duration, and to judge the current resistance of the photoresistor.
[0179] The second determining unit is configured to determine the working strategy of the water purifier as adding cold water to the water tank to the low water level and boiling it if the resistance value is greater than the second threshold, and the current season is summer, and the hot water level in the water tank is lower than the low water level; wherein the first threshold is less than the second threshold.
[0180] In one embodiment, the determining module further includes:
[0181] The third determining unit is used to determine that the working strategy of the water purifier is to control the water purifier to enter the shutdown state if the resistance value of the photoresistor is greater than the third threshold and the duration is greater than the second duration.
[0182] In one embodiment, the determining module further includes:
[0183] The control unit is used to control the water purifier to turn on if the water purifier is in the off state and the resistance of the photoresistor is less than the fourth threshold.
[0184] The fourth determining unit is used to determine the working strategy of the water purifier as follows when the water purifier is in the on state: if the water in the water tank of the water purifier decreases to below the low water level, the third threshold is greater than the fourth threshold.
[0185] In one embodiment, the determining module further includes:
[0186] The third judgment unit is used to determine whether the water level in the water tank is high if the water purifier is in the off state and the resistance of the photoresistor is greater than the third threshold.
[0187] The fourth judgment unit is used to discharge the cold water in the pressure tank of the water purifier if the water level in the water tank is high, and to judge the temperature of the water in the water tank.
[0188] The fifth determining unit is used to determine that if the temperature of the water in the water tank is greater than the second temperature threshold, the working strategy of the water purifier is to open the hot water drain valve of the water purifier until all the hot water is drained.
[0189] In one embodiment, the determining module further includes:
[0190] The sixth determining unit is used to determine the working strategy of the water purifier to control the water level in the water tank to a high level if the temperature of the water in the water tank is not greater than the first temperature threshold and the current season is winter.
[0191] For the system embodiments, since they basically correspond to the method embodiments, the relevant parts can be referred to in the description of the method embodiments. The system embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of the present invention according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0192] This invention also provides an electronic device such as Figure 8 As shown, it includes a memory, a processor, and a computer program stored in the memory and used to run on the processor. When the processor executes the computer program, it implements the control method of the water purifier described in any of the above embodiments. Figure 8 The electronic device 80 shown is merely an example and should not be construed as limiting the functionality or scope of the embodiments of the present invention. Figure 8 As shown, the electronic device 80 can be manifested as a general-purpose computing device, such as a server device. The components of the electronic device 80 may include, but are not limited to: at least one processor 81, at least one memory 82, and a bus 83 connecting different system components (including memory 82 and processor 81).
[0193] Bus 83 includes a data bus, an address bus, and a control bus.
[0194] The memory 82 may include volatile memory, such as random access memory (RAM) 821 and / or cache memory 822, and may further include read-only memory (ROM) 823.
[0195] The memory 82 may also include a program tool 825 (or utility) having a set (at least one) program module 824, including but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of these examples may include an implementation of a network environment.
[0196] The processor 81 executes various functional applications and data processing by running computer programs stored in the memory 82, such as the water purifier control method described in any of the above embodiments.
[0197] Electronic device 80 can also communicate with one or more external devices 84. This communication can be performed via input / output (I / O) interface 85. Furthermore, the model-generated electronic device 80 can also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN), and / or public networks, such as the Internet) via network adapter 86. Figure 8 As shown, network adapter 86 communicates with other modules of electronic device 80 via bus 83. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with electronic device 80, 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.
[0198] This invention also provides a computer storage medium storing a computer program, which, when executed by a processor, implements the control method for the water purifier provided in any of the above embodiments.
[0199] While specific embodiments of the present invention have been described above, those skilled in the art should understand that these are merely illustrative examples, and the scope of protection of the present invention is defined by the appended claims. Those skilled in the art can make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but all such changes and modifications fall within the scope of protection of the present invention.
Claims
1. A control method for a water purifier, characterized in that, The control method includes: The current season is determined based on the heat dissipation of the water in the water tank of the water purifier within a preset time period. The operating strategy of the water purifier is determined based on the current season and the resistance data of the photoresistor; wherein, the resistance value of the photoresistor represents the brightness of the environment in which the water purifier is located; the resistance data includes the resistance value and / or the change in the resistance value. The water purifier is controlled to operate according to the aforementioned working strategy; The step of determining the current season based on the heat dissipation of the water in the water tank of the water purifier within a preset time period includes: If the temperature of the water in the water tank of the water purifier is greater than the first temperature threshold, then the current season is summer. Based on the current season and the resistance data of the photoresistor, the operating strategy of the water purifier is determined, including: When the current season is summer and the resistance change does not exceed the resistance threshold, the working strategy of the water purifier is to add cold water to the water tank and boil it after a preset standby time. The step of determining the water purifier's operating strategy based on the current season and the resistance data of the photoresistor includes: After adding cold water to the water tank and boiling it, the timer begins. When the resistance of the photoresistor is greater than the first threshold and the duration of the timing is greater than the first duration, the water level of the hot water in the water tank is maintained at no lower than the middle water level, and the current resistance of the photoresistor is determined. If the resistance value is greater than the second threshold, and the current season is summer, and the hot water level in the water tank is lower than the low water level, the working strategy of the water purifier is to add cold water to the water tank to the low water level and boil it; wherein, the first threshold is less than the second threshold. The step of determining the water purifier's operating strategy based on the current season and the resistance data of the photoresistor includes: If the resistance of the photoresistor is greater than the third threshold and the duration is greater than the second duration, the working strategy of the water purifier is to control the water purifier to enter the shutdown state.
2. The control method as described in claim 1, characterized in that, The step of determining the water purifier's operating strategy based on the current season and the photoresistor's resistance data further includes: If the water purifier is in the off state and the resistance of the photoresistor is less than the fourth threshold, the water purifier is controlled to enter the on state. When the water purifier is turned on, if the water in the water tank of the water purifier decreases to below the low water level, the working strategy of the water purifier is to control the water purifier to replenish cold water to the low water level and boil it; wherein, the third threshold is greater than the fourth threshold.
3. The control method as described in claim 2, characterized in that, The step of determining the water purifier's operating strategy based on the current season and the photoresistor's resistance data further includes: If the water purifier is in the off state and the resistance of the photoresistor is greater than the third threshold, determine whether the water level in the water tank is high. If the water level in the water tank is high, then the cold water in the pressure tank of the water purifier is discharged, and the temperature of the water in the water tank is determined. If the temperature of the water in the tank is greater than the second temperature threshold, the water purifier's operating strategy is to open the hot water drain valve until all the hot water is drained.
4. The control method as described in claim 1, characterized in that, The step of determining the water purifier's operating strategy based on the current season and the photoresistor's resistance data further includes: If the temperature of the water in the tank is not greater than the first temperature threshold, then the current season is winter, and the working strategy of the water purifier is to control the water level in the tank to a high level.
5. A control system for a water purifier, characterized in that, The control system includes: The judgment module is used to determine the current season based on the heat dissipation of the water in the water tank of the water purifier within a preset time period. The determination module is used to determine the working strategy of the water purifier based on the current season and the resistance data of the photoresistor; wherein, the resistance value of the photoresistor represents the brightness of the environment in which the water purifier is located; the resistance data includes the resistance value and / or the change in the resistance value. The control module is used to control the water purifier to operate according to the operating strategy; The judgment module includes: The first judgment unit is used to determine if the temperature of the water in the water tank of the water purifier is greater than a first temperature threshold, and if so, the current season is summer. The determining module includes: The first determining unit is configured to, when the current season is summer and the resistance change does not exceed the resistance threshold, the working strategy of the water purifier is to add cold water to the water tank and boil it after a preset standby time. The determining module further includes: The timing unit is used to start timing after cold water is added to the water tank and boiled; The second judgment unit is used to maintain the water level of the hot water in the water tank at no lower than the middle water level when the resistance of the photoresistor is greater than the first threshold and the duration of the timing is greater than the first duration, and to judge the current resistance of the photoresistor. The second determining unit is configured to, if the resistance value is greater than the second threshold and the current season is summer, and the hot water level in the water tank is lower than the low water level, the working strategy of the water purifier is to add cold water to the water tank to the low water level and boil it; wherein, the first threshold is less than the second threshold. The determining module further includes: The third determining unit is used to determine the water purifier's operating strategy as follows: if the resistance of the photoresistor is greater than a third threshold and the duration is greater than a second duration, the water purifier is controlled to enter a shutdown state.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and for running on the processor, characterized in that, When the processor executes a computer program, it implements the control method for the water purifier as described in any one of claims 1-4.
7. A computer storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the control method for the water purifier as described in any one of claims 1-4.
Citation Information
Patent Citations
Control system and method for heating power optimal configuration of water purifier
CN107643686A
Environment parameter adjusting method and device, storage medium and electronic device
CN111736477A
