Water extraction method, device, computer equipment and electrical equipment

By calculating the error at the beginning and end of the water purifier's water intake, the initial water intake is corrected to determine the target water intake, which solves the problem of low precision in the water purifier's quantitative water intake and achieves high-precision quantitative water intake.

CN119118237BActive Publication Date: 2025-09-26GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411265358.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-10
Publication Date
2025-09-26
Estimated Expiration
2044-09-10

AI Technical Summary

Technical Problem

The water purifier's quantitative water intake function has low water intake accuracy, especially there are errors at the beginning and end of water intake, resulting in a large difference between the actual water volume and the target water volume.

Method used

By obtaining the first error amount caused by the instability of the flow meter pulse signal at the beginning of water intake and the second error amount caused by the delay in the response time of the electromagnetic induction element closing at the end of water intake, the error water volume is calculated and the initial water intake volume is corrected to determine the target water intake volume for water intake.

Benefits of technology

The accuracy of quantitative water extraction of the water purifier is improved, and the error of water extraction is reduced, especially in the low gear case, the error is reduced to less than 5%, meeting the needs of users with high precision such as mothers and babies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119118237B_ABST
    Figure CN119118237B_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of electrical equipment, and discloses a water intake method, device, computer equipment and electrical equipment, wherein the water intake method includes: when a water intake signal is received, by obtaining an error water volume, the error water volume can be used to correct the initial water intake volume determined according to the water intake signal to obtain a target water intake volume, and then water can be taken according to the corrected target water intake volume. Since the corrected target water intake volume compensates in advance for a first error amount caused by an unstable pulse signal of a flow meter at the beginning of water intake and a second error amount caused by a delay in the response time of an electromagnetic induction element closing at the end of water intake on the basis of the initial water intake volume, taking water according to the target water intake volume can solve the problem of low water intake accuracy of the quantitative water intake function of a water purifier.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrical equipment, and in particular to a water extraction method, device, computer equipment and electrical equipment. Background Art

[0002] The current development trend of household water purifiers is moving towards smart homes, integrated functions, and practicality and aesthetics. Therefore, it is necessary to develop water purifiers with smart display and faucet operation or integrated purification and heating functions to meet market demand. Quantified water dispensing is an essential function in mainstream displays or apps. However, currently, the actual water volume obtained during quantitative water dispensing often differs significantly from the target water volume, indicating that the water dispensing accuracy of quantitative water dispensing is low. Summary of the Invention

[0003] In view of this, the present invention provides a water extraction method, device, computer equipment and electrical equipment to solve the problem of low water extraction accuracy of the quantitative water extraction function of a water purifier.

[0004] In a first aspect, the present invention provides a water intake method, comprising the following steps: when a water intake signal is received, determining an initial water intake volume according to the water intake signal; obtaining an error water volume; wherein the error water volume includes a first error volume caused by an unstable pulse signal of a flow meter at the beginning of water intake and a second error volume caused by a delay in the response time of an electromagnetic induction element at the end of water intake; determining a target water intake volume according to the initial water intake volume and the error water volume; and taking water according to the target water intake volume.

[0005] This is because, through testing, it was found that when using a flow meter to detect flow, the errors are mostly in the two time periods of the beginning and end of water intake.

[0006] At the start of water intake, the moment the system receives the water intake signal, the waterway is just flowing and the system has not yet reached a stable state, so the frequency of the flowmeter's detection pulse signal is unstable. For example, after receiving the water intake signal, due to objective factors such as the material, the opening time of the water pump and solenoid valve is slightly delayed. The pulse counter's impeller rotation speed will go from fast to slow, and it will take t1 (milliseconds) to stabilize. During this time, the pulse signal is unstable, and the cumulative number of pulses detected during this time period will be less than the actual amount of water flowing through, indicating that the actual amount of water flowing through is greater than the detected amount.

[0007] At the end of water withdrawal, although the flow rate has reached a stable state, the water purifier system contains two components: the water pump and the solenoid valve, which operate based on the principle of electromagnetic induction. The response time of these two components is determined by the time it takes for their own electromagnetic fields to stabilize. The material and manufacturing process of the materials themselves can cause delays in the closing response time. For example, when the water withdrawal stop signal is received, the water pump and solenoid valve will close after a delay of t2 (milliseconds) due to the above reasons, but water will still escape during the t2 period.

[0008] The water intake method provided by the present invention can obtain the error water volume when a water intake signal is received, and can use the error water volume to correct the initial water intake volume determined according to the water intake signal to obtain the target water intake volume, and then water can be taken according to the corrected target water intake volume. Since the corrected target water intake volume compensates in advance for the first error amount caused by the instability of the pulse signal of the flow meter at the beginning of water intake and the second error amount caused by the delay in the response time of the electromagnetic induction element closing at the end of water intake on the basis of the initial water intake volume, taking water according to the target water intake volume can solve the problem of low water intake accuracy of the quantitative water intake function of the water purifier.

[0009] In an optional embodiment, obtaining the error water volume includes: obtaining a first time duration from receiving the water intake signal at the beginning of the water intake phase to the stabilization of the pulse signal of the flow meter; obtaining a second time duration from receiving the stop water intake signal at the end of the water intake phase to the closing of the electromagnetic induction element; obtaining a first water outlet flow rate; and determining the error water volume based on the first time duration, the second time duration and the first water outlet flow rate.

[0010] In this way, the error water volume can be accurately and conveniently obtained.

[0011] In an optional embodiment, determining the error water volume based on the first time length, the second time length and the first water outlet flow rate includes: multiplying the sum of the first time length and the second time length by the first water outlet flow rate to obtain the error water volume.

[0012] In this way, the error water volume can be obtained accurately and conveniently.

[0013] In an optional embodiment, obtaining the first water outlet flow rate includes: determining whether there is a historical stable water outlet flow rate measurement value; when there is a historical stable water outlet flow rate measurement value, using the historical stable water outlet flow rate measurement value as the water outlet flow rate; otherwise, obtaining the theoretical water production flow rate, and using the theoretical water production flow rate as the first water outlet flow rate.

[0014] In other words, the first outlet water flow rate can be either a historically stable outlet water flow rate measurement or a theoretical water flow rate. Between the historically stable outlet water flow rate measurement and the theoretical water flow rate, the historically stable outlet water flow rate measurement is the preferred option. The theoretical water flow rate is only used when no historically stable outlet water flow rate measurement exists. This is because the theoretical water flow rate depends on the nominal accuracy of the components, the matching degree between the user's purchased flux and their own flow rate, and other factors, and is therefore less accurate than the historically stable outlet water flow rate measurement.

[0015] In an optional embodiment, drawing water according to the target water intake volume includes: obtaining a second water outlet flow rate; determining a target water intake time based on the target water intake volume and the second water outlet flow rate; obtaining the actual water intake time from the receipt of the water intake signal to the current moment; when the actual water intake time reaches the target water intake time, issuing a stop water intake signal.

[0016] This allows for precise control of the water intake process.

[0017] In an optional embodiment, the water intake control method further includes: obtaining the water outlet flow rate when the water output is stable, obtaining a current stable water outlet flow rate measurement value, and saving it.

[0018] In this way, the current stable water outflow rate measurement value can be obtained, so that when water is taken next time, the historical stable water outflow rate measurement value can be obtained based on the saved current stable water outflow rate measurement value.

[0019] In an optional embodiment, before obtaining the error water volume, the method further includes: determining whether a pulse signal of the flow meter can be obtained; and executing the step of obtaining the error water volume when a pulse signal of the flow meter can be obtained.

[0020] Therefore, water can be drawn only when the flow meter is operating normally, thus ensuring water drawing accuracy.

[0021] In the second aspect, the present invention provides a water intake device, including an initial water intake quantity determination module, an error water quantity acquisition module, a target water intake quantity determination module and a water intake module; wherein, the initial water intake quantity determination module is used to determine the initial water intake quantity according to the water intake signal when a water intake signal is received; the error water quantity acquisition module is used to obtain the error water quantity; wherein the error water quantity includes a first error quantity caused by the instability of the pulse signal of the flow meter at the beginning of water intake and a second error quantity caused by the delay in the response time of the electromagnetic induction element at the end of water intake; the target water intake quantity determination module is used to determine the target water intake quantity based on the initial water intake quantity and the error water quantity; the water intake module is used to take water according to the target water intake quantity.

[0022] In a third aspect, the present invention also provides a computer device comprising a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the water extraction method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.

[0023] In a fourth aspect, the present invention further provides an electrical device comprising a flow meter and a component operating on the principle of electromagnetic induction, wherein the flow meter and the component operating on the principle of electromagnetic induction are both arranged in a water intake channel and are communicatively connected to a computer device.

[0024] In a fifth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the water extraction method of the first aspect or any corresponding embodiment thereof.

[0025] In a sixth aspect, the present invention provides a computer program product comprising computer instructions for causing a computer to execute the water extraction method of the first aspect or any corresponding embodiment thereof.

[0026] The water intake method, device, computer equipment and electrical equipment provided by the present invention have the following beneficial effects: when a water intake signal is received, the error water volume is obtained, and the error water volume can be used to correct the initial water intake volume determined according to the water intake signal to obtain the target water intake volume, and then water can be taken according to the corrected target water intake volume. Since the corrected target water intake volume compensates in advance for the first error amount caused by the instability of the pulse signal of the flow meter at the beginning of water intake and the second error amount caused by the delay in the response time of the electromagnetic induction element at the end of water intake on the basis of the initial water intake volume, taking water according to the target water intake volume can solve the problem of low water intake accuracy of the quantitative water intake function of the water purifier. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0028] Figure 1 is a flow chart of a water extraction method according to an embodiment of the present invention;

[0029] Figure 2 is a flow chart of another water extraction method according to an embodiment of the present invention;

[0030] Figure 3is a flow chart of another water extraction method according to an embodiment of the present invention;

[0031] Figure 4 is a flow chart of an example of a water extraction method according to an embodiment of the present invention;

[0032] Figure 5 is a structural block diagram of a water intake device according to an embodiment of the present invention;

[0033] Figure 6 Schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0034] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.

[0035] Water purifiers rely on flow meters installed in the waterway to measure water flow, but this can lead to inaccurate flow rates. Testing has found that flow rate measurement errors using flow meters are mostly inaccurate at the start and end of water withdrawal.

[0036] At the beginning of water intake, the moment the machine receives the water intake signal, the waterway has just been opened and the system has not yet reached a stable state, so the frequency of the flowmeter's detection pulse signal is unstable. Specifically, after receiving the water intake signal, the opening time of the water pump and solenoid valve is slightly delayed due to objective factors such as the material. The impeller rotation speed of the pulse counter will go from fast to slow and then stabilize after t1 (milliseconds). During this time period, the pulse signal is unstable, and the cumulative number of pulses detected during this time period will be less than the actual amount of water flowing through, indicating that the actual amount of water flowing through is greater than the detected amount.

[0037] At the end of water withdrawal, although the flow rate has reached a stable state, the water purifier system contains two components: the water pump and the solenoid valve, which operate based on the principle of electromagnetic induction. The response time of these two components is determined by the time it takes for their electromagnetic fields to stabilize. The material and manufacturing process of these components also cause a delay in the closing response time. Specifically, when the water withdrawal stop signal is received, the water pump and solenoid valve close after a delay of t2 (milliseconds) due to the above reasons, but water still escapes during this time period.

[0038] Based on the above reasons, currently after users select a target water volume and complete water withdrawal, the actual water volume they obtain is often greater than the target amount.

[0039] Currently, the water volume error in actual products is generally within 10%. The larger the flow rate specification of the water purifier, the more significant the water volume error. According to the accuracy percentage calculation, the deviation is even greater in low-speed settings (50mL-150mL), which is not user-friendly for users who frequently use low settings and have high accuracy requirements (such as mothers and infants).

[0040] According to an embodiment of the present invention, an embodiment of a water extraction method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0041] In this embodiment, a water extraction method is provided, which can be used for the above-mentioned computer device. For example, the computer device can be a controller of a water purifier. Figure 1 is a flow chart of a water extraction method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:

[0042] Step S101: When a water intake signal is received, an initial water intake amount is determined according to the water intake signal.

[0043] Specifically, the initial water intake amount can be obtained by analyzing the water intake signal.

[0044] Step S102: Obtain the error water volume; wherein the error water volume includes a first error volume caused by the instability of the pulse signal of the flow meter at the beginning of water intake and a second error volume caused by the delay in the response time of the electromagnetic induction element closing at the end of water intake.

[0045] Step S103: Determine the target water intake according to the initial water intake and the error water intake.

[0046] Specifically, the target water intake can be obtained by subtracting the error water intake from the initial water intake.

[0047] Step S104: taking water according to the target water intake.

[0048] The water extraction method provided in this embodiment, when receiving a water extraction signal, can use the error water volume to correct the initial water extraction volume determined according to the water extraction signal to obtain the target water extraction volume, and then water can be extracted according to the corrected target water extraction volume. Since the corrected target water extraction volume compensates in advance for the first error amount caused by the instability of the pulse signal of the flow meter at the beginning of water extraction and the second error amount caused by the delay in the response time of the electromagnetic induction element at the end of water extraction on the basis of the initial water extraction volume, extracting water according to the target water extraction volume can solve the problem of low water extraction accuracy of the quantitative water extraction function of the water purifier.

[0049] In this embodiment, a water extraction method is provided, which can be used for the above-mentioned computer equipment. Figure 2 is a flow chart of another water extraction method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:

[0050] Step S201: When a water intake signal is received, an initial water intake amount is determined according to the water intake signal.

[0051] Specifically, the initial water intake amount can be obtained by analyzing the water intake signal.

[0052] Step S202: Obtain the error water volume; wherein the error water volume includes a first error volume caused by the instability of the pulse signal of the flow meter at the beginning of water intake and a second error volume caused by the delay in the response time of the electromagnetic induction element closing at the end of water intake.

[0053] In an optional embodiment, obtaining the error water volume includes the following steps:

[0054] Step S2021: Obtain the first duration from receiving the water intake signal to the stabilization of the pulse signal of the flow meter at the start of water intake.

[0055] As mentioned above, at the beginning of water intake, the first duration from the receipt of the water intake signal to the stabilization of the pulse signal of the flow meter is determined by objective factors of the material. That is to say, after the material of the flow meter is determined, the first duration from the receipt of the water intake signal to the stabilization of the pulse signal of the flow meter is also determined. Therefore, the first duration can be preset in the computer equipment.

[0056] Step S2022: Obtain a second time duration from the receipt of the water extraction stop signal to the closing of the electromagnetic induction element at the end of the water extraction phase.

[0057] As mentioned above, at the end of the water extraction stage, the second time length from the receipt of the stop water extraction signal to the closing of the electromagnetic induction element is determined by the material and manufacturing process of the component working based on the electromagnetic induction principle. That is to say, after the material and manufacturing process of the component working based on the electromagnetic induction principle are determined, the second time length from the receipt of the stop water extraction signal to the closing of the electromagnetic induction element is also determined. Therefore, the second time length can be preset in the computer device.

[0058] Step S2023: Obtain a first water outlet flow rate.

[0059] In this embodiment, the first water outlet flow rate can be a historical stable water outlet flow rate measurement value, or it can be a theoretical water production flow rate. Among them, the historical stable water outlet flow rate measurement value refers to the water outlet flow rate detected by the flow meter after the pulse signal of the flow meter is stable during the water intake process. The stable water outlet flow rate measurement value can be obtained based on a single water intake process, or it can be obtained based on multiple water intake processes. The theoretical water production flow rate can be obtained based on the flux of the water purifier. The flux of a water purifier refers to the amount of water that the water purifier can process per hour, usually marked in liters / hour or gallons / hour. The "500G", "1000G", etc. seen when purchasing a water purifier are the flux of the water purifier, which represents the water production capacity.

[0060] In an optional embodiment, obtaining the first water outlet flow rate includes the following steps: determining whether there is a historical stable water outlet flow rate measurement value; when a historical stable water outlet flow rate measurement value exists, using the historical stable water outlet flow rate measurement value as the first water outlet flow rate; otherwise, obtaining the theoretical water production flow rate, and using the theoretical water production flow rate as the first water outlet flow rate. In other words, between the historical stable water outlet flow rate measurement value and the theoretical water production flow rate, the historical stable water outlet flow rate measurement value is the preferred option, and the theoretical water production flow rate is only selected when there is no historical stable water outlet flow rate measurement value. This is because the theoretical water production flow rate depends on the nominal accuracy of the components, the matching degree between the flux purchased by the user and the user's own flow rate, etc., and its accuracy is lower than the historical stable water outlet flow rate measurement value.

[0061] For example, when the water purifier is used for the first time and there is no historical stable water flow rate measurement value, the theoretical water flow rate is used as the first water flow rate. When the water purifier is not used for the first time and there is a historical stable water flow rate measurement value, the historical stable water flow rate measurement value is used as the first water flow rate. In other words, when the whole machine is not used for the first time, that is, after water has flowed through the pipeline, the water flow rate obtained by flow detection is used to calculate the error water volume. The premise is that the whole machine has been working. When water is drawn next time, the memory value of the initial startup water drawing or the previous water drawing can be read for continuous calibration.

[0062] Step S2024: Determine the error water volume according to the first time duration, the second time duration and the first water outlet flow rate.

[0063] In an optional embodiment, determining the error water volume based on the first time length, the second time length and the first water outlet flow rate includes: multiplying the sum of the first time length and the second time length by the first water outlet flow rate to obtain the error water volume.

[0064] Step S203: Determine the target water intake according to the initial water intake and the error water intake.

[0065] Step S204: taking water according to the target water intake.

[0066] The water extraction method provided in this embodiment, when receiving a water extraction signal, can use the error water volume to correct the initial water extraction volume determined according to the water extraction signal to obtain the target water extraction volume, and then water can be extracted according to the corrected target water extraction volume. Since the corrected target water extraction volume compensates in advance for the first error amount caused by the instability of the pulse signal of the flow meter at the beginning of water extraction and the second error amount caused by the delay in the response time of the electromagnetic induction element at the end of water extraction on the basis of the initial water extraction volume, extracting water according to the target water extraction volume can solve the problem of low water extraction accuracy of the quantitative water extraction function of the water purifier.

[0067] In this embodiment, a water extraction method is provided, which can be used for the above-mentioned computer equipment. Figure 3 FIG. 1 is a flow chart of another water extraction method according to an embodiment of the present invention. Figure 3 As shown, the process includes the following steps:

[0068] Step S301: Power on the entire device.

[0069] Step S302: Determine whether the pulse signal of the flow meter can be obtained. If the pulse signal of the flow meter can be obtained, proceed to step S303; otherwise, issue a prompt message indicating that the flow meter is faulty.

[0070] Step S303: When a water intake signal is received, an initial water intake amount is determined according to the water intake signal.

[0071] Step S304: obtaining an error water volume; wherein the error water volume includes a first error volume caused by an unstable pulse signal of the flow meter at the beginning of water intake and a second error volume caused by a delay in the response time of the electromagnetic induction element at the end of water intake;

[0072] Specifically, obtaining the error water volume includes the following steps:

[0073] Step S3041: Obtain the first duration from the receipt of the water intake signal to the stabilization of the pulse signal of the flow meter at the start of water intake.

[0074] Step S3042: Obtain a second time duration from the receipt of the water extraction stop signal to the closing of the electromagnetic induction element at the end of the water extraction phase.

[0075] Step S3043: Obtain the first water outlet flow rate.

[0076] Step S3044: Determine the error water volume according to the first time length, the second time length and the first water outlet flow rate.

[0077] For details of step S304, please refer to Figure 2 Step S202 of the illustrated embodiment will not be described in detail here.

[0078] Step S305: Determine the target water intake according to the initial water intake and the error water intake.

[0079] Specifically, the target water intake can be obtained by subtracting the error water intake from the initial water intake.

[0080] Step S306: taking water according to the target water intake.

[0081] In an optional embodiment, taking water according to the target water intake includes the following steps:

[0082] Step S3061: Obtain a second water outlet flow rate.

[0083] Step S3062: Determine the target water intake duration according to the target water intake volume and the second water outlet flow rate.

[0084] Step S3063: Obtain the actual water extraction time from receiving the water extraction signal to the current moment.

[0085] Step S3064: When the actual water extraction time reaches the target water extraction time, a water extraction stop signal is issued.

[0086] To illustrate the water extraction method of this embodiment more clearly, a specific example is given. This example is applied to a water purifier product configured with a quantitative water extraction function button or an APP operation option, and the system uses a pulse counter (flow meter) to detect flow.

[0087] The water intake process in a water purifier consists of three stages.

[0088] Phase 1: Obtain the initial water intake volume L1 (ml). The water pump and solenoid valve are affected by objective factors of the material and open with a slight delay after receiving the main control signal. The impeller rotation speed of the pulse counter will go from fast to slow and will go through t1 (milliseconds) to stabilize. During the t1 (milliseconds) time, the pulse signal is unstable. The cumulative number of pulses detected in this period will be less than the actual situation, that is, the actual water flow is greater than the detected amount.

[0089] Phase 2: During the middle period of the water extraction process, the load maintains stable operation, the water flow and pressure in the system remain unchanged, and the real-time flow rate of the water outlet circuit in a stable state is recorded as x ml / ms to prepare for the next calculation of the error water output.

[0090] Phase 3: When the number of pulses detected reaches the target value, the program issues a stop command. The water pump and solenoid valve are closed after a delay of t2 (milliseconds) due to the above reasons. During the delayed closing time of the two, water will still escape.

[0091] Based on this, Figure 4As shown, the water extraction process includes the following steps: after the whole machine is powered on, it is determined whether the pulse signal fed back by the flow meter is obtained; when the pulse signal fed back by the flow meter is obtained and the initial water extraction volume L1 input by the user is read, the error water volume l is calculated, and the target water volume L2 is calculated using the initial water extraction volume L1 and the error water volume l; the target water extraction time TS is calculated based on the target water extraction time L2, and when the actual water extraction time reaches the target water extraction time, water extraction is stopped.

[0092] The above method solves the problem of water outlet flow deviation caused by unstable initial water flow state and material movement delay in the water purifier system, and can be adapted to different flux models. According to this method, the quantitative water extraction error can be reduced to less than 5% under theoretical conditions.

[0093] This embodiment also provides a water intake device for implementing the above-mentioned embodiments and preferred embodiments. Details already described will not be repeated. As used below, the term "module" may refer to a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented using software, implementation using hardware, or a combination of software and hardware, is also possible and contemplated.

[0094] This embodiment provides a water intake device, such as Figure 5 Shown, including:

[0095] The initial water intake amount determination module 501 is configured to determine the initial water intake amount according to the water intake signal when a water intake signal is received;

[0096] The error water volume acquisition module 502 is used to acquire the error water volume; wherein the error water volume includes a first error volume caused by the instability of the pulse signal of the flow meter at the beginning of water intake and a second error volume caused by the delay in the response time of the electromagnetic induction element at the end of water intake;

[0097] The target water intake determination module 503 is used to determine the target water intake according to the initial water intake and the error water amount;

[0098] The water intake module 504 is configured to take water according to a target water intake amount.

[0099] In some optional embodiments, the error water volume acquisition module 502 includes a first duration acquisition unit, a second duration acquisition unit, a water outlet flow rate acquisition unit and a calculation unit, wherein the first duration acquisition unit is used to obtain the first duration from the receipt of the water intake signal to the stabilization of the pulse signal of the flow meter in the start stage of water intake; the second duration acquisition unit is used to obtain the second duration from the receipt of the stop water intake signal to the closing of the electromagnetic induction element in the end stage of water intake; the water outlet flow rate acquisition unit is used to obtain the first water outlet flow rate; and the calculation unit is used to determine the error water volume based on the first duration, the second duration and the first water outlet flow rate.

[0100] In some optional implementations, the calculation unit is specifically configured to: multiply the first water outlet flow rate by the sum of the first time duration and the second time duration to obtain the error water volume.

[0101] In some optional embodiments, the water outlet flow rate acquisition unit is specifically used to: determine whether there is a historical stable water outlet flow rate measurement value; when the historical stable water outlet flow rate measurement value exists, use the historical stable water outlet flow rate measurement value as the first water outlet flow rate; otherwise, obtain the theoretical water production flow rate, and use the theoretical water production flow rate as the first water outlet flow rate.

[0102] In some optional embodiments, the water intake module 504 is specifically used to: obtain a second water outlet flow rate; determine a target water intake time based on the target water intake volume and the second water outlet flow rate; obtain the actual water intake time from the receipt of the water intake signal to the current moment; when the actual water intake time reaches the target water intake time, issue a stop water intake signal.

[0103] In some optional implementations, the water intake module 504 is further configured to obtain the water flow rate when the water output is stable, obtain the current stable water flow rate measurement value, and save the measurement value.

[0104] In some optional embodiments, the water intake device also includes a flow meter detection module. Before obtaining the error water volume, the flow meter detection module is used to determine whether the pulse signal of the flow meter can be obtained; when the pulse signal of the flow meter can be obtained, an instruction to obtain the error water volume is issued.

[0105] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0106] The water intake device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0107] The embodiment of the present invention also provides a computer device having the above Figure 5 The water intake device shown.

[0108] The present invention also provides an electrical device, including a flow meter and a component working based on the principle of electromagnetic induction, wherein the flow meter and the component working based on the principle of electromagnetic induction are both arranged in a water intake channel and are communicatively connected to a computer device.

[0109] See also Figure 6 , Figure 6is a structural diagram of a computer device provided by an optional embodiment of the present invention, such as Figure 6 As shown, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components utilize different buses to communicate with each other and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Equally, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 6 A processor 10 is taken as an example.

[0110] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.

[0111] The memory 20 stores instructions that can be executed by at least one processor 10, so as to enable at least one processor 10 to execute the method shown in the above embodiment.

[0112] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created based on the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0113] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0114] The computer device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30 and the output device 40 may be connected via a bus or other means. Figure 6 The bus connection is taken as an example.

[0115] The input device 30 can receive input digital or character information and generate key signal input related to user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a trackpad, a touch pad, an indicator stick, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 can include a display device, an auxiliary lighting device (e.g., an LED), and a tactile feedback device (e.g., a vibration motor). The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display, and a plasma display. In some optional embodiments, the display device can be a touch screen.

[0116] The embodiment of the present invention also provides a computer-readable storage medium. The above-mentioned method according to the embodiment of the present invention can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.

[0117] A portion of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the form in which the computer program instruction exists in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc. Accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by the computer.

[0118] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A water extraction method, characterized in that: include: When a water intake signal is received, determining an initial water intake amount according to the water intake signal; Obtaining an error water volume; wherein the error water volume includes a first error volume caused by an unstable pulse signal of the flow meter at the beginning of water extraction and a second error volume caused by a delay in the response time of the electromagnetic induction element closing at the end of water extraction; Determine the target water intake according to the initial water intake and the error water intake; Taking water according to the target water intake; The obtaining of the error water volume comprises: Obtaining a first duration from receiving a water intake signal to stabilizing a pulse signal of the flow meter at the start of water intake; Acquire a second time duration from receiving the water extraction stop signal to turning off the electromagnetic induction element during the water extraction end phase; Obtaining a first water outlet flow rate; Determine the error water volume according to the first time duration, the second time duration and the first water outlet flow rate; Determining the error water volume according to the first time duration, the second time duration, and the first water outlet flow rate includes: Multiplying the sum of the first time duration and the second time duration by the first water outlet flow rate to obtain the error water volume; The obtaining of the first water outlet flow rate comprises: Determine whether there is a historical stable water flow rate measurement value; When the historical stable water outflow rate measurement value exists, using the historical stable water outflow rate measurement value as the first water outflow rate; Otherwise, a theoretical water production flow rate is obtained, and the theoretical water production flow rate is used as the first water outlet flow rate.

2. The method according to claim 1, characterized in that The taking water according to the target water intake comprises: Obtaining a second water outlet flow rate; Determining a target water intake duration according to the target water intake amount and the second water outlet flow rate; Obtaining the actual water extraction time from receiving the water extraction signal to the current moment; When the actual water extraction time reaches the target water extraction time, a water extraction stop signal is issued.

3. The method according to claim 2, characterized in that Also includes: Obtain the water flow rate when the water output is stable, obtain the current stable water flow rate measurement value, and save it.

4. The method according to claim 1, wherein Before obtaining the error water volume, it also includes: Determine whether the pulse signal of the flow meter can be obtained; When the pulse signal of the flow meter can be obtained, the step of obtaining the error water volume is performed.

5. A water intake device, characterized in that: include: An initial water intake amount determination module is configured to determine an initial water intake amount according to the water intake signal when a water intake signal is received; An error water volume acquisition module is used to acquire an error water volume; wherein the error water volume includes a first error volume caused by an unstable pulse signal of the flow meter at the beginning of water intake and a second error volume caused by a delay in the response time of the electromagnetic induction element at the end of water intake; The obtaining of the error water volume comprises: obtaining a first time duration from the receipt of the water intake signal to the stabilization of the pulse signal of the flow meter at the start of water intake; obtaining a second time duration from the receipt of the stop water intake signal to the closing of the electromagnetic induction element at the end of water intake; obtaining a first water outlet flow rate; determining the error water volume according to the first time duration, the second time duration and the first water outlet flow rate; determining the error water volume according to the first time duration, the second time duration and the first water outlet flow rate comprises: multiplying the sum of the first time duration and the second time duration by the first water outlet flow rate to obtain the error water volume; obtaining the first water outlet flow rate comprises: judging whether there is a historical stable water outlet flow rate measurement value; when the historical stable water outlet flow rate measurement value exists, using the historical stable water outlet flow rate measurement value as the first water outlet flow rate; otherwise, obtaining a theoretical water production flow rate, and using the theoretical water production flow rate as the first water outlet flow rate; A target water intake determination module is used to determine the target water intake according to the initial water intake and the error water amount; The water intake module is used to take water according to the target water intake.

6. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the water extraction method according to any one of claims 1 to 4 by executing the computer instructions.

7. An electrical device, characterized in that: include: A flow meter is provided in the water intake channel; A component operating on the principle of electromagnetic induction, arranged in the water intake channel; The computer device according to claim 6 is communicatively connected to the flow meter and the element operating based on the principle of electromagnetic induction.

8. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the water extraction method according to any one of claims 1 to 4.

9. A computer program product, characterized in that The method comprises computer instructions for causing a computer to execute the water extraction method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Water intake compensation and calculation method and system based on flow meter

    CN108627214A

  • Water flow pulse compensation method, water yield detection method, water flow pulse compensation device, water yield detection device and cleaning machine

    CN116105809A