Control method and control device of water outlet equipment, electronic equipment and storage medium

By correcting the reference water outlet flow of the water outlet equipment, and determining the target time based on the corrected flow rate and target water outlet volume, the water outlet equipment is controlled, and the problem of insufficient accuracy of the water outlet equipment in the prior art is solved, and a higher water outlet accuracy is achieved.

CN119882847AActive Publication Date: 2025-04-25ZHEJIANG SHAOXING SUPOR DOMESTIC ELECTRICAL APPLIANCE CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510006210.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-02
Publication Date
2025-04-25
Estimated Expiration
2045-01-02

AI Technical Summary

Technical Problem

Existing water effluent equipment has limitations in precisely controlling the water effluent, and it is difficult to meet the demand for high accuracy.

Method used

By correcting the reference water outlet flow rate and determining the target duration based on the corrected flow rate and target water outlet volume, the water outlet equipment is controlled to improve the water outlet accuracy.

Benefits of technology

It realizes more precise control of the water effluent equipment, improves the water effluent accuracy, and can more accurately achieve the target water effluent.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119882847A_ABST
    Figure CN119882847A_ABST
Patent Text Reader

Abstract

The invention relates to a control method and device for water outlet equipment, electronic equipment and a storage medium. The control method comprises the steps that S1, after a starting instruction containing the target water outlet amount M is received, the water outlet equipment is controlled to start to discharge water; s2, acquiring a set time period T; s3, when the water outlet duration t reaches the set time period T, the corresponding actual water outlet amount m is obtained, and the expected water outlet amount M'is calculated according to the reference water outlet amount Q of the water outlet equipment and the set time period T; s4, the reference water outlet flow Q is corrected according to the difference between the actual water outlet flow m and the expected water outlet flow M '; s5, acquiring a next set time period, and repeating the steps S3 to S5 until no next set time period exists; and S6, determining the target water outlet duration according to the corrected reference water outlet flow Q and the target water outlet flow M. According to the method, the reference water outlet flow is corrected at least once, and the water outlet equipment is controlled according to the target duration determined by the corrected reference water outlet flow, so that the water outlet accuracy of the water outlet equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of water outlet equipment, and in particular to a control method, a control device, an electronic device and a storage medium for water outlet equipment. Background Art

[0002] In modern industry and daily life, water discharge equipment that accurately controls the water output is indeed widely used, such as beverage filling, chemical preparation ratio, agricultural irrigation, etc. Traditional water discharge equipment usually relies on mechanical flow meters or electronic scales to control the water output. Although these methods can meet basic water output needs to a certain extent, they have limitations in accuracy.

[0003] Therefore, how to improve the water output accuracy of the water output equipment is a problem that needs to be solved urgently. Summary of the invention

[0004] The present invention aims to solve one of the technical problems in the related art at least to a certain extent.

[0005] To this end, the first object of the present invention is to propose a control method for a water outlet device, which method corrects the reference water outlet flow rate at least once, determines the target duration based on the corrected reference water outlet flow rate and the target water outlet, and controls the water outlet device according to the target duration, thereby improving the water outlet accuracy of the water outlet device.

[0006] The second objective of the present invention is to provide a control device for a water outlet device.

[0007] A third objective of the present invention is to provide an electronic device.

[0008] A fourth object of the present invention is to provide a computer-readable storage medium.

[0009] To achieve the above-mentioned purpose, the first aspect of the present invention proposes a control method for a water outlet device, comprising: S1: after receiving a start-up instruction including a target water outlet M, controlling the water outlet device to start water outlet; S2: obtaining a set time period T; S3: when the water outlet duration t reaches the set time period T, obtaining the corresponding actual water outlet m, and calculating the expected water outlet M' according to the reference water outlet flow Q of the water outlet device and the set time period T; S4: correcting the reference water outlet flow Q according to the difference between the actual water outlet m and the expected water outlet M'; S5: obtaining the next set time period, and repeating steps S3 to S5 until there is no next set time period; S6: determining the target water outlet duration according to the corrected reference water outlet flow Q and the target water outlet M.

[0010] According to the control method of the water outlet device of the embodiment of the present invention, the following steps are performed: step S1, after receiving the start instruction containing the target water outlet M, the water outlet device is controlled to start water outlet; step S2, the set time period T is obtained; step S3, when the water outlet duration t reaches the set time period T, the corresponding actual water outlet m is obtained, and the expected water outlet M' is calculated according to the reference water outlet flow Q of the water outlet device and the set time period T; step S4, according to the difference between the actual water outlet m and the expected water outlet M', the reference water outlet flow Q is corrected; step S5, the next set time period is obtained, and steps S3 to S5 are repeated until there is no next set time period; step S6, according to the corrected reference water outlet flow Q and the target water outlet M, the target water outlet duration is determined. The method controls the water outlet device by determining the target duration according to the corrected reference water outlet flow and the target water outlet, which can improve the water outlet accuracy of the water outlet device.

[0011] In addition, the control method of the water outlet device provided in the first aspect of the present invention may also have the following additional technical features:

[0012] In one embodiment of the present invention, the step of correcting the reference water output flow rate Q according to the difference between the actual water output m and the expected water output M' comprises:

[0013] According to the expected water output M' and the set deviation water volume, an expected water output range is determined; wherein the lower limit value of the expected water output range is the difference between the expected water output M' and the set deviation water volume, and the upper limit value of the expected water output range is the sum of the expected water output M' and the set deviation water volume;

[0014] Determine whether the actual water output m falls within the expected water output range;

[0015] In response to the actual water output m being less than the lower limit of the expected water output range, or in response to the actual water output being greater than the upper limit of the expected water output range, calculating the actual water output flow rate according to the actual water output m and the set time period T, and correcting the reference water output flow rate Q to the actual water output flow rate;

[0016] In response to the actual water output m being greater than or equal to the lower limit of the expected water output range, and the actual water output m being less than or equal to the upper limit of the expected water output range, the reference water output flow Q is maintained unchanged.

[0017] In one embodiment of the present invention, after correcting the reference water outlet flow rate Q, the method further includes:

[0018] In response to the actual water output m being less than the lower limit of the expected water output range, the actual water output flow rate is calculated according to the actual water output m and the set time period T, and the reference water output flow rate Q is corrected to the actual water output flow rate, and the display unit of the water output device is controlled to keep displaying the expected water output for a preset time after the set time period;

[0019] After the preset time, the display unit is controlled to update the water output calculated according to the actual water output flow rate and the corresponding water output time in real time until the water output time reaches the next set time period obtained;

[0020] Alternatively, in response to the actual water output m being greater than or equal to the lower limit of the expected water output range, and the actual water output m being less than or equal to the upper limit of the expected water output range, the reference water output flow rate Q is maintained unchanged, the display unit of the water output device is controlled to update the display of the water output calculated according to the reference water output flow rate and the corresponding water output time in real time until the water output time reaches the next set time period obtained;

[0021] Alternatively, in response to the actual water output being greater than the upper limit value of the expected water output range, the actual water output flow is calculated based on the actual water output and the set time period, and the reference water output flow Q is corrected to the actual water output flow, the display unit of the water output device is controlled to update the display of the water output calculated based on the actual water output flow and the corresponding water output duration in real time until the water output time reaches the next set time period obtained.

[0022] In one embodiment of the present invention, the method further comprises:

[0023] In response to the actual water output volume m being equal to 0, the reference water output flow rate is maintained unchanged, and the display unit of the water output device is controlled to update and display the water output volume calculated according to the reference water output flow rate Q and the corresponding water output duration in real time.

[0024] In one embodiment of the present invention, the steps of determining the reference water outlet flow rate Q are as follows:

[0025] Obtaining the weight of an object of known weight by means of an electronic scale in the water outlet device as a standard weight value;

[0026] Obtaining the actual water delivery time required for the water delivery device to deliver water to the standard weight value;

[0027] The reference water outlet flow rate Q is determined according to the standard weight value and the actual water outlet time.

[0028] In one embodiment of the present invention, determining the target water outlet duration according to the corrected reference water outlet flow rate Q and the target water outlet flow rate M includes:

[0029] Obtain the last set time period T and its corresponding actual water output;

[0030] The target water outlet duration = (the target water outlet M - the actual water outlet corresponding to the last set period T) / the corrected reference water outlet flow Q + the last set period T;

[0031] In response to the total water outlet time of the water outlet device reaching the target water outlet time, the water outlet device is controlled to stop water outlet.

[0032] In another embodiment of the present invention, determining the target water outlet duration according to the corrected reference water outlet flow rate Q and the target water outlet flow rate M includes:

[0033] The target water outlet duration = the target water outlet volume / the corrected reference water outlet flow rate Q;

[0034] In response to the total water outlet time of the water outlet device reaching the target water outlet time, the water outlet device is controlled to stop water outlet.

[0035] To achieve the above-mentioned purpose, the second aspect of the present invention proposes a control device for a water outlet device, comprising: a control module, which is used to control the water outlet device to start water outlet after receiving a start-up instruction including a target water outlet M; a first acquisition module, which is used to acquire a set time period T; a calculation module, which is used to acquire the corresponding actual water outlet m when the water outlet duration t reaches the set time period T, and calculate the expected water outlet M' according to the reference water outlet flow Q of the water outlet device and the set time period T; a correction module, which is used to correct the reference water outlet flow Q according to the difference between the actual water outlet m and the expected water outlet M'; a second acquisition module, which is used to acquire the next set time period, and work in conjunction with the calculation module and the correction module until there is no next set time period; a determination module, which is used to determine the target water outlet duration according to the corrected reference water outlet flow Q and the target water outlet M.

[0036] According to the control device of the water outlet device of the embodiment of the present invention, after receiving the start instruction including the target water outlet M, the control module controls the water outlet device to start water outlet, obtains the set time period T through the first acquisition module, obtains the corresponding actual water outlet m when the water outlet duration t reaches the set time period T through the calculation module, and calculates the expected water outlet M' according to the reference water outlet flow Q of the water outlet device and the set time period T, and corrects the reference water outlet flow Q according to the difference between the actual water outlet m and the expected water outlet M' through the correction module, obtains the next set time period through the second acquisition module, and works in coordination with the calculation module and the correction module until there is no next set time period, and determines the target water outlet duration according to the corrected reference water outlet flow Q and the target water outlet M through the determination module. The device controls the water outlet device by determining the target duration according to the corrected reference water outlet flow and the target water outlet, which can improve the water outlet accuracy of the water outlet device.

[0037] In addition, the control device of the water outlet device provided in the second aspect of the present invention may also have the following additional technical features:

[0038] In one embodiment of the present invention, the correction module is used to correct the reference water output flow rate Q according to the difference between the actual water output m and the expected water output M', including:

[0039] According to the expected water output M' and the set deviation water volume, an expected water output range is determined; wherein the lower limit value of the expected water output range is the difference between the expected water output M' and the set deviation water volume, and the upper limit value of the expected water output range is the sum of the expected water output M' and the set deviation water volume;

[0040] Determine whether the actual water output m falls within the expected water output range;

[0041] In response to the actual water output m being less than the lower limit of the expected water output range, or in response to the actual water output being greater than the upper limit of the expected water output range, calculating the actual water output flow rate according to the actual water output m and the set time period T, and correcting the reference water output flow rate Q to the actual water output flow rate;

[0042] In response to the actual water output m being greater than or equal to the lower limit of the expected water output range, and the actual water output m being less than or equal to the upper limit of the expected water output range, the reference water output flow Q is maintained unchanged.

[0043] In one embodiment of the present invention, the control module is further used for:

[0044] In response to the actual water output m being less than the lower limit of the expected water output range, the actual water output flow rate is calculated according to the actual water output m and the set time period T, and the reference water output flow rate Q is corrected to the actual water output flow rate, and the display unit of the water output device is controlled to keep displaying the expected water output for a preset time after the set time period;

[0045] After the preset time, the display unit is controlled to update the water output calculated according to the actual water output flow rate and the corresponding water output time in real time until the water output time reaches the next set time period obtained;

[0046] Alternatively, in response to the actual water output m being greater than or equal to the lower limit of the expected water output range, and the actual water output m being less than or equal to the upper limit of the expected water output range, the reference water output flow rate Q is maintained unchanged, the display unit of the water output device is controlled to update the display of the water output calculated according to the reference water output flow rate and the corresponding water output time in real time until the water output time reaches the next set time period obtained;

[0047] Alternatively, in response to the actual water output being greater than the upper limit value of the expected water output range, the actual water output flow is calculated based on the actual water output and the set time period, and the reference water output flow Q is corrected to the actual water output flow, the display unit of the water output device is controlled to update the display of the water output calculated based on the actual water output flow and the corresponding water output duration in real time until the water output time reaches the next set time period obtained.

[0048] In one embodiment of the present invention, the control module is further used for:

[0049] In response to the actual water output volume m being equal to 0, the reference water output flow rate is maintained unchanged, and the display unit of the water output device is controlled to update and display the water output volume calculated according to the reference water output flow rate Q and the corresponding water output duration in real time.

[0050] In one embodiment of the present invention, the steps for determining the reference water outlet flow rate Q in the calculation module are as follows:

[0051] Obtaining the weight of an object of known weight by means of an electronic scale in the water outlet device as a standard weight value;

[0052] Obtaining the actual water delivery time required for the water delivery device to deliver water to the standard weight value;

[0053] The reference water outlet flow rate Q is determined according to the standard weight value and the actual water outlet time.

[0054] In one embodiment of the present invention, the determination module is used to determine the target water outlet duration according to the corrected reference water outlet flow rate Q and the target water outlet flow rate M, including:

[0055] Obtain the last set time period T and its corresponding actual water output;

[0056] The target water outlet duration = (the target water outlet M - the actual water outlet corresponding to the last set period T) / the corrected reference water outlet flow Q + the last set period T;

[0057] In response to the total water outlet time of the water outlet device reaching the target water outlet time, the water outlet device is controlled to stop water outlet.

[0058] In another embodiment of the present invention, the determination module is used to determine the target water outlet duration according to the corrected reference water outlet flow rate Q and the target water outlet M, including:

[0059] The target water outlet duration = the target water outlet volume / the corrected reference water outlet flow rate Q;

[0060] In response to the total water outlet time of the water outlet device reaching the target water outlet time, the water outlet device is controlled to stop water outlet.

[0061] To achieve the above object, a third aspect of the present invention provides an electronic device, including:

[0062] at least one processor; and

[0063] a memory communicatively connected to the at least one processor; wherein,

[0064] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method of the water outlet device mentioned above.

[0065] The electronic device of the embodiment of the present invention, through the above-mentioned control method of the water outlet device, corrects the reference water outlet flow rate at least once, determines the target duration based on the corrected reference water outlet flow rate and the target water outlet volume, and controls the water outlet device according to the target duration, thereby improving the water outlet accuracy of the water outlet device.

[0066] To achieve the above-mentioned purpose, a fourth aspect of the present invention provides a computer-readable storage medium having computer program instructions stored thereon, which implement the above-mentioned control method of the water outlet device when executed by a processor.

[0067] The computer-readable storage medium of an embodiment of the present invention, through the above-mentioned control method of the water outlet device, corrects the reference water outlet flow rate at least once, determines the target duration based on the corrected reference water outlet flow rate and the target water outlet, and controls the water outlet device according to the target duration, thereby improving the water outlet accuracy of the water outlet device.

[0068] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0069] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0070] Figure 1 is a flow chart of a method for controlling a water outlet device according to an embodiment of the present invention;

[0071] Figure 2 is a flow chart of a method for controlling a water outlet device according to an embodiment of the present invention;

[0072] Figure 3 4 is a block diagram of a control device for a water outlet device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0073] In order to enable ordinary persons in the art to better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings.

[0074] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0075] The following describes a control method, a control device, an electronic device, and a storage medium for a water outlet device according to an embodiment of the present invention with reference to the accompanying drawings.

[0076] Before introducing the control method of the water outlet device of the present invention, let's first summarize two mainstream control schemes of the water outlet device in the related art:

[0077] The first option is to equip the water outlet device with a flow meter.

[0078] After the user sets the target capacity, the water outlet device starts the water pump to start discharging water. This solution calculates the time required for water discharging by the amount of water measured by the flow meter every revolution, and stops discharging water after the preset time is reached. However, this flow meter-based control method has several factors that affect accuracy:

[0079] a) Changes in water temperature have a significant effect on water density. For example, the density of water is 998 ml / L at 20°C, while it drops to 960 ml / L at 100°C. This difference results in a deviation of about ±4% under the two working conditions, or an error of about ±40 mL.

[0080] b) Assembly errors of the flow meter's internal components, dimensional changes of components at different temperatures, and dirt accumulated on the inner wall of the water pipe after long-term use will significantly affect the accuracy of the water output, causing the water output to gradually decrease and fail to meet users' expectations for accurate water output.

[0081] The second option is to use a water outlet device equipped with an electronic scale.

[0082] After the user sets the target capacity, the water outlet device starts the water pump to start discharging water, and uses the electronic scale to provide real-time feedback on the water volume. When the target capacity is reached, the water outlet stops. However, this control method based on electronic scales also has some obvious problems:

[0083] a) If the user does not start the water discharge before placing the cup on the electronic scale, the water discharge device will control the water discharge according to the preset time, resulting in a large deviation in the water discharge volume, which may exceed 30%.

[0084] b) When there is steam or air in the water pipe, resulting in poor water flow, even if the water outlet device stops discharging water after exceeding the set time by about 30%, the water output at this time is still far below the set target capacity.

[0085] c) Air or steam in the water outlet pipe may also cause unstable water output, resulting in jumps and sudden changes in the water volume data measured by the electronic scale, affecting the accuracy of the water output and bringing a bad experience to users.

[0086] d) During the normal water output process, although the electronic scale can measure the water output in real time and transmit the data to the control chip, there is a time delay and a delay in the flow of water in the pipe. If the conversion process is not performed, these delays will have a significant impact on the control of the water volume, resulting in a large deviation in the water output and failure to meet the demand for accurate water output.

[0087] To this end, the present invention proposes an innovative water outlet equipment control method, which corrects the reference water outlet flow rate at least once, determines the target duration based on the corrected reference water outlet flow rate and the target water outlet, and controls the water outlet equipment according to the target duration, thereby improving the water outlet accuracy of the water outlet equipment.

[0088] Figure 1 is a flow chart of a method for controlling a water outlet device according to an embodiment of the present invention.

[0089] It should be noted that the water outlet device in the embodiment of the present invention may be a water dispenser, a coffee machine, a tea machine, etc.

[0090] like Figure 1 As shown, the control method of the water outlet device in the embodiment of the present invention includes:

[0091] S1: After receiving a start instruction including a target water output M, the water output device is controlled to start outputting water.

[0092] S2: Get the set time period T.

[0093] S3: When the water outlet duration t reaches the set time period T, the corresponding actual water outlet volume m is obtained, and the expected water outlet volume M' is calculated according to the reference water outlet flow Q of the water outlet device and the set time period T.

[0094] In this embodiment, the reference water flow rate Q is determined by the following steps: First, an electronic scale is used to obtain the weight of an object of known weight, such as a weight, as the standard weight value m. 标 ; Then, measure the actual water discharge time t3 required for the water discharge device to discharge water to the standard weight value; Finally, according to the standard weight value m 标 And the actual water discharge time t3, calculate the reference water discharge flow Q, Q = m 标 / t3.

[0095] In front of the water outlet device, the user places the water receiving container on the water receiving tray where the electronic scale of the water outlet device is located, and starts the zeroing procedure to ensure that the electronic scale reading is zero. The user sets the water outlet target capacity, such as 500ml, through the touch screen or button, and issues a start command. The water outlet device immediately starts to discharge water and converts the target capacity into the target water outlet volume M.

[0096] The water outlet device sets a time window such as a set period T (such as 2 seconds) to measure the actual water output after the water outlet starts. Within the set period T, the water outlet device records the weight of the actual water output through a built-in electronic scale, and when the water outlet time t reaches the set period T1, the corresponding actual water output m is obtained, and the expected water output M' is calculated based on the reference water outlet flow Q of the water outlet device and the set period T, M'=Q*T.

[0097] S4: Correct the reference water flow rate Q according to the difference between the actual water flow rate m and the expected water flow rate M'.

[0098] First, the expected water output range is determined according to the expected water output M' and the set deviation water output m', such as 3g. Among them, the lower limit of the expected water output range is the difference between the expected water output M' and the set deviation water output m', that is, M'-m', and the upper limit of the expected water output range is the sum of the expected water output M' and the set deviation water output m', that is, M'+m'.

[0099] Then, it is determined whether the actual water output m falls within the expected water output range.

[0100] If the actual water output m is less than the lower limit of the expected water output range, or, in response to the actual water output being greater than the upper limit of the expected water output range, the actual water output flow rate is calculated based on the actual water output m and the set time period T, and the reference water output flow rate Q is corrected to the actual water output flow rate;

[0101] If the actual water output m is greater than or equal to the lower limit of the expected water output range, and the actual water output m is less than or equal to the upper limit of the expected water output range, the reference water output flow Q is maintained unchanged.

[0102] S5: Get the next set time period, and repeat steps S3 to S5 until there is no next set time period.

[0103] Step S5 is to determine whether there is a next set time period after correcting the reference water flow rate Q. If yes, steps S3 to S5 are repeated; if not, step S6 is executed.

[0104] When the actual water output m is less than the lower limit of the expected water output range, the actual water output flow is calculated according to the actual water output m and the set time period T, and the reference water output flow Q is corrected to the actual water output flow. In order to make up for the shortage of the actual water output m, the display unit of the water output device is controlled to keep displaying the expected water output for a preset time, such as 0.5s, after the set time period;

[0105] After the preset time, the control display unit updates and displays the water output calculated according to the actual water output flow rate and the corresponding water output time in real time until the water output time reaches the next set time period obtained.

[0106] or,

[0107] When the actual water output m is greater than or equal to the lower limit of the expected water output range, and the actual water output m is less than or equal to the upper limit of the expected water output range, and the reference water output flow rate Q is maintained unchanged, the display unit of the water output control device is updated and displayed in real time based on the water output calculated according to the reference water output flow rate and the corresponding water output time, until the water output time reaches the next set time period obtained.

[0108] or,

[0109] When the actual water output is greater than the upper limit of the expected water output range, the actual water output flow is calculated based on the actual water output and the set time period, and the reference water output flow Q is corrected to the actual water output flow. The display unit of the water output control device is updated and displayed in real time based on the water output calculated based on the actual water output flow and the corresponding water output duration until the water output time reaches the next set time period obtained.

[0110] In one embodiment of the present invention, if the actual water output m is equal to 0, the reference water output flow rate Q is maintained unchanged, and the display unit of the water output device is controlled to update the display of the water output calculated based on the reference water output flow rate Q and the corresponding water output duration in real time.

[0111] S6: Determine the target water outlet duration according to the corrected reference water outlet flow rate Q and the target water outlet volume M.

[0112] As a process for accurately determining the target water outlet time, it includes: obtaining the last set time period T and its corresponding actual water outlet, the target water outlet time = (target water outlet M-actual water outlet corresponding to the last set time period T) / corrected reference water outlet flow Q+the last set time period T, and when the total water outlet time of the water outlet equipment reaches the target water outlet time, the water outlet equipment is controlled to stop discharging water, such as by controlling the water receiving pump of the water outlet equipment to stop discharging water.

[0113] A process for roughly determining the target water outlet time includes: target water outlet time = target water outlet volume / corrected reference water outlet flow rate Q, and when the total water outlet time of the water outlet device reaches the target water outlet time, the water outlet device is controlled to stop discharging water.

[0114] Therefore, the control method of the water outlet equipment of the present invention corrects the reference water outlet flow rate Q at least once, determines the target duration based on the corrected reference water outlet flow rate Q and the target water outlet, and controls the water outlet equipment according to the target duration, thereby improving the water outlet accuracy of the water outlet equipment.

[0115] In order to further improve the accuracy of the water outlet device, the set time period T may include multiple time intervals. At this time, the steps for correcting the reference water outlet flow rate Q are as follows:

[0116] The actual water output corresponding to each time interval is obtained, and the actual water output flow corresponding to each time interval is calculated based on each time interval and the actual water output corresponding to each time interval. The average water output flow is calculated based on each actual water output flow. When the sum of the actual water output corresponding to each time interval is less than the lower limit of the expected water output range, or the sum of the actual water output corresponding to each time interval is greater than the upper limit of the expected water output range, the reference water output flow Q is corrected to the average water output flow.

[0117] In order to further improve the accuracy of water outlet of the water outlet device, after the first set time period T, the first actual water outlet time t11 required for the first set water outlet M11 and the second actual water outlet time t12 required for the second set water outlet M12 are obtained; the first water outlet flow Q1 is calculated according to the first set water outlet M11 and the first actual water outlet time t11, that is, Q1=M11 / t11, and the second water outlet flow Q2 is calculated according to the second set water outlet M12 and the second actual water outlet time t12, that is, Q2=M12 / t12; according to the first water outlet flow Q1 and the second water outlet flow Q2, the water outlet time of the water outlet device continues to be controlled.

[0118] In this embodiment, the water outlet duration of the water outlet device is continuously controlled according to the first water outlet flow rate Q1 and the second water outlet flow rate Q2, including the following two situations:

[0119] In the first case, if the first water outlet flow rate Q1 and the second water outlet flow rate Q2 are equal, the target water outlet time t5 required to reach the target water outlet M is calculated based on the reference water outlet flow rate Q, t5=M / Q, and the water outlet is calculated based on the reference water outlet flow rate Q and the corresponding water outlet time. The control display unit continues to update and display the actual water outlet in real time, and when the total water outlet time of the water outlet equipment reaches the target water outlet time t5, the water outlet equipment is controlled to stop discharging water.

[0120] In the second case, if the first water outlet flow rate Q1 and the second water outlet flow rate Q2 are not equal, the subsequent actual water outlet is calculated based on the second water outlet flow rate Q2, and the water outlet is obtained based on the actual water outlet M1, the first set water outlet M11, the second set water outlet M12 and the subsequent actual water outlet. The display unit is controlled to continue to update and display the actual water outlet that has flowed out in real time, and then the water outlet flows corresponding to the two subsequent adjacent set water outlets are continued to be compared until the total actual water outlet of the water outlet equipment reaches the target water outlet M.

[0121] In order to make those skilled in the art understand the present invention more clearly, the following Figure 2 The control method of the water outlet device according to the embodiment of the present invention is described as follows: Figure 2 As shown, the control method of the water outlet device in the embodiment of the present invention includes:

[0122] S101, setting the target water output M.

[0123] S102, the water outlet device starts to weigh the weight before water outlet and calculates the required water outlet time.

[0124] S103, water starts to flow out.

[0125] S104, within the first set time period T, the real-time water volume is displayed according to Q*t.

[0126] S105, when the first set time period T is reached, the increased water volume M1 is compared with Q*T. The comparison results include three cases, the first case includes steps S106 and S107, the second case includes steps S108 and S109, and the third case includes S110 and S111.

[0127] S106, M1<Q*Tm.

[0128] S107, after the display is paused for a period of time (such as 0.5s), the display continues according to Q1*t, where Q1=M1 / T1.

[0129] S108, M1>Q*T+m.

[0130] S109, after the display is paused for a period of time (such as 0.5s), the display continues according to Q2*t, where Q2=M2 / T1.

[0131] S110, Q*Tm≤M1≤Q*T+m.

[0132] S111, continue to press Q*t to display the water volume.

[0133] S112, completing the first set water output M11, obtaining the second actual water output time t11, and calculating Q1, wherein Q1 = M11 / t11.

[0134] S113, completing the second set water output M12, obtaining the second actual water output time t12, and calculating Q2, wherein Q2 = M12 / t12.

[0135] S114, compare Q1 and Q2. The comparison result of Q1 and Q2 includes two cases, the first case includes steps S115 and S116, and the second case includes steps S117 to S119.

[0136] S115, Q1=Q2.

[0137] S116, displaying the water volume Q*t in the original manner.

[0138] S117, Q1≠Q2.

[0139] S118, displayed according to M1+M2+M3+Q2*t4 (t4 is the subsequent added water outlet time).

[0140] S119, and so on: when M1+M2+M3+…=M.

[0141] S120, until the water discharge ends.

[0142] In summary, according to the control method of the water outlet device of the embodiment of the present invention, the following steps are performed: Step S1, after receiving the start instruction containing the target water outlet M, the water outlet device is controlled to start water outlet; Step S2, the set time period T is obtained; Step S3, when the water outlet duration t reaches the set time period T, the corresponding actual water outlet m is obtained, and the expected water outlet M' is calculated according to the reference water outlet flow Q of the water outlet device and the set time period T; Step S4, according to the difference between the actual water outlet m and the expected water outlet M', the reference water outlet flow Q is corrected; Step S5, the next set time period is obtained, and steps S3 to S5 are repeated until there is no next set time period; Step S6, according to the corrected reference water outlet flow Q and the target water outlet M, the target water outlet duration is determined. This method controls the water outlet device by determining the target duration according to the corrected reference water outlet flow and the target water outlet, which can improve the water outlet accuracy of the water outlet device.

[0143] Figure 3 4 is a block diagram of a control device for a water outlet device according to an embodiment of the present invention.

[0144] like Figure 3 As shown, the control device 300 of the water outlet device according to the embodiment of the present invention includes:

[0145] The control module 310 is used to control the water outlet device to start water outlet after receiving a start instruction including a target water outlet M;

[0146] A first acquisition module 320 is used to acquire a set time period T;

[0147] The calculation module 330 is used to obtain the corresponding actual water output m when the water output time t reaches the set time period T, and calculate the expected water output M' according to the reference water output flow Q of the water output device and the set time period T;

[0148] A correction module 340, configured to correct the reference water output flow rate Q according to the difference between the actual water output m and the expected water output M';

[0149] The second acquisition module 350 is used to acquire the next set period and work in conjunction with the calculation module 330 and the correction module 340 until there is no next set period;

[0150] The determination module 360 ​​is used to determine the target water outlet duration according to the corrected reference water outlet flow rate Q and the target water outlet volume M.

[0151] In one embodiment of the present invention, the correction module 340 is used to correct the reference water flow rate Q according to the difference between the actual water flow rate m and the expected water flow rate M', including:

[0152] According to the expected water output M' and the set deviation water volume, the expected water output range is determined; wherein the lower limit of the expected water output range is the difference between the expected water output M' and the set deviation water volume, and the upper limit of the expected water output range is the sum of the expected water output M' and the set deviation water volume;

[0153] Determine whether the actual water output m falls within the expected water output range;

[0154] In response to the actual water output m being less than the lower limit of the expected water output range, or in response to the actual water output being greater than the upper limit of the expected water output range, the actual water output flow rate is calculated according to the actual water output m and the set time period T, and the reference water output flow rate Q is corrected to the actual water output flow rate;

[0155] In response to the actual water output m being greater than or equal to the lower limit of the expected water output range, and the actual water output m being less than or equal to the upper limit of the expected water output range, the reference water output flow Q is maintained unchanged.

[0156] In one embodiment of the present invention, the control module 310 is further configured to:

[0157] In response to the actual water output m being less than the lower limit of the expected water output range, the actual water output flow rate is calculated according to the actual water output m and the set time period T, and the reference water output flow rate Q is corrected to the actual water output flow rate, and the display unit of the water output device is controlled to keep displaying the expected water output for a preset time after the set time period;

[0158] After the preset time, the control display unit updates the water output calculated according to the actual water output flow rate and the corresponding water output time in real time until the water output time reaches the next set time period obtained;

[0159] Alternatively, in response to the actual water output m being greater than or equal to the lower limit of the expected water output range, and the actual water output m being less than or equal to the upper limit of the expected water output range, the reference water output flow rate Q is maintained unchanged, and the display unit of the water output device is controlled to update the display of the water output calculated according to the reference water output flow rate Q and the corresponding water output time in real time until the water output time reaches the next set time period obtained;

[0160] Alternatively, in response to the actual water output being greater than the upper limit of the expected water output range, the actual water output flow is calculated based on the actual water output and the set time period, and the reference water output flow Q is corrected to the actual water output flow, the display unit of the water output control device is updated and displayed in real time based on the water output calculated based on the actual water output flow and the corresponding water output duration until the water output time reaches the next set time period obtained.

[0161] In one embodiment of the present invention, the control module 310 is further configured to:

[0162] In response to the actual water output volume m being equal to 0, the reference water output flow rate Q is maintained unchanged, and the display unit of the water output device is controlled to update the display of the water output volume calculated according to the reference water output flow rate Q and the corresponding water output duration in real time.

[0163] In one embodiment of the present invention, the steps for determining the reference water flow rate Q in the calculation module 330 are as follows:

[0164] The weight of an object of known weight is obtained by an electronic scale in the water outlet device as the standard weight value;

[0165] Obtain the actual water delivery time required for the water delivery equipment to deliver water to the standard weight value;

[0166] Determine the reference water flow rate Q based on the standard weight value and the actual water outlet time.

[0167] In one embodiment of the present invention, the determination module 360 ​​is used to determine the target water outlet duration according to the corrected reference water outlet flow rate Q and the target water outlet M, including:

[0168] Get the last set time period T and its corresponding actual water output;

[0169] Target water discharge duration = (target water discharge M-actual water discharge corresponding to the last set period T) / corrected reference water discharge flow Q+last set period T;

[0170] In response to the total water outlet time of the water outlet device reaching the target water outlet time, the water outlet device is controlled to stop water outlet.

[0171] In another embodiment of the present invention, the determination module 360 ​​is used to determine the target water outlet duration according to the corrected reference water outlet flow rate Q and the target water outlet M, including:

[0172] Target water discharge time = target water discharge volume / corrected reference water discharge flow rate Q;

[0173] In response to the total water outlet time of the water outlet device reaching the target water outlet time, the water outlet device is controlled to stop water outlet.

[0174] It should be noted that for details not disclosed in the control device of the water outlet device in the embodiment of the present invention, please refer to the details disclosed in the control method of the water outlet device in the embodiment of the present invention, and the details will not be repeated here.

[0175] According to the control device of the water outlet device of the embodiment of the present invention, after receiving the start instruction including the target water outlet M, the control module controls the water outlet device to start water outlet, obtains the set time period T through the first acquisition module, obtains the corresponding actual water outlet m when the water outlet duration t reaches the set time period T through the calculation module, and calculates the expected water outlet M' according to the reference water outlet flow Q of the water outlet device and the set time period T, and corrects the reference water outlet flow Q according to the difference between the actual water outlet m and the expected water outlet M' through the correction module, obtains the next set time period through the second acquisition module, and works in coordination with the calculation module and the correction module until there is no next set time period, and determines the target water outlet duration according to the corrected reference water outlet flow Q and the target water outlet M through the determination module. The device controls the water outlet device by determining the target duration according to the corrected reference water outlet flow and the target water outlet, which can improve the water outlet accuracy of the water outlet device.

[0176] Based on the above embodiments, the present invention further proposes an electronic device, including:

[0177] at least one processor; and

[0178] a memory communicatively connected to the at least one processor; wherein,

[0179] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method of the water outlet device mentioned above.

[0180] The electronic device of the embodiment of the present invention, through the above-mentioned control method of the water outlet device, corrects the reference water outlet flow rate at least once, determines the target duration based on the corrected reference water outlet flow rate and the target water outlet volume, and controls the water outlet device according to the target duration, thereby improving the water outlet accuracy of the water outlet device.

[0181] Based on the above embodiments, the present invention further proposes a computer-readable storage medium on which computer program instructions are stored. When the program instructions are executed by a processor, the above-mentioned control method of the water outlet device is implemented.

[0182] The computer-readable storage medium of an embodiment of the present invention, through the above-mentioned control method of the water outlet device, corrects the reference water outlet flow rate at least once, determines the target duration based on the corrected reference water outlet flow rate and the target water outlet, and controls the water outlet device according to the target duration, thereby improving the water outlet accuracy of the water outlet device.

[0183] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0184] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0185] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.

[0186] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0187] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0188] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0189] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0190] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. A method for controlling a water outlet device, characterized in that: include: S1: after receiving a start instruction including a target water output M, controlling the water output device to start outputting water; S2: Get the set time period T; S3: when the water outlet time t reaches the set time period T, the corresponding actual water outlet volume m is obtained, and the expected water outlet volume M' is calculated according to the reference water outlet flow Q of the water outlet device and the set time period T; S4: Correcting the reference water flow rate Q according to the difference between the actual water flow rate m and the expected water flow rate M'; S5: Get the next set time period, and repeat steps S3 to S5 until there is no next set time period; S6: Determine a target water outlet duration according to the corrected reference water outlet flow rate Q and the target water outlet flow rate M.

2. The method according to claim 1, characterized in that The step of correcting the reference water outlet flow rate Q according to the difference between the actual water outlet flow rate m and the expected water outlet flow rate M' comprises: According to the expected water output M' and the set deviation water volume, an expected water output range is determined; wherein the lower limit value of the expected water output range is the difference between the expected water output M' and the set deviation water volume, and the upper limit value of the expected water output range is the sum of the expected water output M' and the set deviation water volume; Determine whether the actual water output m falls within the expected water output range; In response to the actual water output m being less than the lower limit of the expected water output range, or in response to the actual water output being greater than the upper limit of the expected water output range, calculating the actual water output flow rate according to the actual water output m and the set time period T, and correcting the reference water output flow rate Q to the actual water output flow rate; In response to the actual water output m being greater than or equal to the lower limit of the expected water output range, and the actual water output m being less than or equal to the upper limit of the expected water output range, the reference water output flow Q is maintained unchanged.

3. The method according to claim 2, characterized in that After correcting the reference water outlet flow rate Q, it also includes: In response to the actual water output m being less than the lower limit of the expected water output range, the actual water output flow rate is calculated according to the actual water output m and the set time period T, and the reference water output flow rate Q is corrected to the actual water output flow rate, and the display unit of the water output device is controlled to keep displaying the expected water output for a preset time after the set time period; After the preset time, the display unit is controlled to update the water output calculated according to the actual water output flow rate and the corresponding water output time in real time until the water output time reaches the next set time period obtained; Alternatively, in response to the actual water output m being greater than or equal to the lower limit of the expected water output range, and the actual water output m being less than or equal to the upper limit of the expected water output range, the reference water output flow rate Q is maintained unchanged, the display unit of the water output device is controlled to update the display of the water output calculated according to the reference water output flow rate and the corresponding water output time in real time until the water output time reaches the next set time period obtained; Alternatively, in response to the actual water output being greater than the upper limit value of the expected water output range, the actual water output flow is calculated based on the actual water output and the set time period, and the reference water output flow Q is corrected to the actual water output flow, the display unit of the water output device is controlled to update the display of the water output calculated based on the actual water output flow and the corresponding water output duration in real time until the water output time reaches the next set time period obtained.

4. The method according to claim 1, characterized in that The method further comprises: In response to the actual water output volume m being equal to 0, the reference water output flow rate Q is maintained unchanged, and the display unit of the water output device is controlled to update and display the water output volume calculated according to the reference water output flow rate Q and the corresponding water output duration in real time.

5. The method according to claim 1, characterized in that The steps for determining the reference water outlet flow rate Q are as follows: Obtaining the weight of an object of known weight by means of an electronic scale in the water outlet device as a standard weight value; Obtaining the actual water delivery time required for the water delivery device to deliver water to the standard weight value; The reference water outlet flow rate Q is determined according to the standard weight value and the actual water outlet time.

6. The method according to claim 1, characterized in that The step of determining the target water outlet duration according to the corrected reference water outlet flow rate Q and the target water outlet flow rate M includes: Obtain the last set time period T and its corresponding actual water output; The target water outlet duration = (the target water outlet M - the actual water outlet corresponding to the last set period T) / the corrected reference water outlet flow Q + the last set period T; In response to the total water outlet time of the water outlet device reaching the target water outlet time, the water outlet device is controlled to stop water outlet.

7. The method according to claim 1, characterized in that The step of determining the target water outlet duration according to the corrected reference water outlet flow rate Q and the target water outlet flow rate M includes: The target water outlet duration = the target water outlet volume / the corrected reference water outlet flow rate Q; In response to the total water outlet time of the water outlet device reaching the target water outlet time, the water outlet device is controlled to stop water outlet.

8. A control device for a water outlet device, characterized in that: include: A control module, configured to control the water outlet device to start discharging water after receiving a start instruction including a target water outlet M; A first acquisition module is used to acquire a set time period T; A calculation module, used to obtain the corresponding actual water output m when the water output time t reaches the set time period T, and calculate the expected water output M' according to the reference water output flow Q of the water output device and the set time period T; A correction module, used for correcting the reference water outlet flow rate Q according to the difference between the actual water outlet m and the expected water outlet M'; A second acquisition module is used to acquire a next set time period and work in conjunction with the calculation module and the correction module until there is no next set time period; The determination module is used to determine the target water outlet duration according to the corrected reference water outlet flow rate Q and the target water outlet volume M.

9. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the control method of the water outlet device according to any one of claims 1 to 7.

10. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the program instructions are executed by the processor, the control method of the water outlet device described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Water outlet control method and device, electronic equipment and water outlet system

    CN113907604A

  • Instant drinking machine and water outlet control method thereof

    CN114674082A

  • Control method and control device of water softener, water softener and storage medium

    CN115893534A

  • Liquid outlet method and device, processor and electronic equipment

    CN117530607A

  • Control method and control device for water outlet calibration of water drinking device and water drinking device

    CN118614764A