Water taking method and device, computer equipment and electrical equipment

By calculating and compensating for the error water volume in the start and end stages of the water intake by the water purifier, the accuracy of the quantitative water intake of the water purifier is improved, and the problem of low accuracy of the quantitative water intake function is solved.

CN119118237AActive Publication Date: 2024-12-13GREE ELECTRIC APPLIANCE INC OF ZHUHAI
View PDF 5 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The water extraction accuracy of the quantitative water withdrawal function of the water purifier is low, mainly due to the instability of the pulse signal of the flowmeter during the start and end of the water withdrawal stage and the delay in the electromagnetic induction element shutdown response time.

Method used

By obtaining the error water volume at the start and end stages of water withdrawal, including pulse signal instability and electromagnetic induction element shutdown delay time, the error water volume is calculated and the initial water withdrawal is corrected, and the target water withdrawal is determined, so as to perform accurate water withdrawal operations.

Benefits of technology

The accuracy of quantitative water withdrawal by the water purifier is improved, the difference between the actual water withdrawal amount and the target water withdrawal amount is reduced, and the water withdrawal error is reduced. It is suitable for users who improve users' accuracy requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119118237A_ABST
    Figure CN119118237A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electrical equipment, and discloses a water taking method and device, computer equipment and electrical equipment. The water taking method comprises the steps that when a water taking signal is received, the error water amount is obtained, the initial water taking amount determined according to the water taking signal can be corrected through the error water amount, and the target water taking amount is obtained; further, water can be taken according to the corrected target water taking amount; according to the corrected target water taking amount, on the basis of the initial water taking amount, the first error amount caused by the unstable pulse signal of the flowmeter in the water taking starting stage and the second error amount caused by the closing response time delay of the electromagnetic induction element in the water taking ending stage are compensated in advance; therefore, water is taken according to the target water taking amount, and the problem that the water taking precision of the quantitative water taking function of the water purifier is low can be solved.
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 taking method, device, computer equipment and electrical equipment. Background Art

[0002] At present, the development direction of household water purifiers is further tending towards home intelligence, functional integration, and practicality and beauty. Therefore, it is necessary to develop water purification products with smart screen faucet operation or integrated purification and heating to meet market demand. Quantitative water extraction is an indispensable function in mainstream screens or APPs. However, at present, when quantitative water extraction is performed, the actual amount of water obtained is often quite different from the target amount of water required, that is, the water extraction accuracy of the quantitative water extraction function is low. Summary of the invention

[0003] In view of this, the present invention provides a water intake method, device, computer equipment and electrical equipment to solve the problem of low water intake accuracy of the quantitative water intake 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 amount according to the water intake signal; obtaining an error water amount; wherein the error water amount includes 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 a response time of an electromagnetic induction element at the end of water intake; determining a target water intake amount according to the initial water intake amount and the error water amount; and taking water according to the target water intake amount.

[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 beginning of water intake, the moment the whole machine receives the water intake signal, the water channel has just been opened, the system has not reached a stable state, and the frequency of the pulse signal detected by the flowmeter is unstable. For example, after receiving the water intake signal, the opening time of the water pump and the solenoid valve is slightly delayed due to objective factors of the material, and the impeller rotation speed of the pulse counter will go from fast to slow and stabilize after t1 (milliseconds). During the t1 (milliseconds) time, the pulse signal is unstable, and the cumulative number of pulses detected in the t1 time period will be less than the actual situation, that is, the actual water flow is greater than the detected amount.

[0007] At the end of water extraction, although the flow of the whole machine has reached a stable state, there are two components in the water purifier system: the water pump and the solenoid valve, which work based on the principle of electromagnetic induction. The response time of these two components is determined by the time it takes to establish a stable electromagnetic field. The material and manufacturing process of the material itself are the reasons for the delay in the closing response time. For example, when the stop water extraction signal is received, the water pump and the solenoid valve are closed after a delay of t2 (milliseconds) due to the above reasons, but water still escapes during the t2 time period.

[0008] The water intake method provided by the present invention can obtain an 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 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 the first error amount caused by the instability of the pulse signal of the flow meter at the beginning stage of water intake and the second error amount caused by the delay in the closing response time of the electromagnetic induction element at the end stage 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 a water intake signal at the beginning of water intake to the stabilization of a pulse signal of a flow meter; obtaining a second time duration from receiving a stop water intake signal at the end of water intake to the closing of an 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] That is to say, the first water flow rate can be a historical stable water flow rate measurement value or a theoretical water production flow rate. Between the historical stable water flow rate measurement value and the theoretical water production flow rate, the historical stable water flow rate measurement value is the preferred option. The theoretical water production flow rate is only selected when there is no historical stable water 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 own flow rate, etc., and its accuracy is lower than the historical stable water flow rate measurement value.

[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 according to the target water intake volume and the second water outlet flow rate; obtaining the actual water intake time from receiving 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 implementation, the water intake control method further includes: obtaining the water outlet flow rate when the water output is stable, obtaining the current stable water outlet flow rate measurement value, and saving it.

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

[0019] In an optional implementation, before obtaining the error water volume, it also includes: judging whether a pulse signal of the flow meter can be obtained; when the pulse signal of the flow meter can be obtained, executing the step of obtaining the error water volume.

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

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

[0022] In a third aspect, the present invention further 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, including a flow meter and a component operating based on the principle of electromagnetic induction, wherein the flow meter and the component operating based 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 can be obtained, and the initial water intake volume determined according to the water intake signal can be corrected using the error water volume 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 implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying 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 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the 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 creative work are within the scope of protection of the present invention.

[0035] The quantitative water intake of water purifiers relies on the flow meter in the water channel, but there is a problem of inaccurate water intake. Through testing, it was found that when using the flow meter to detect the flow, the error is mostly in the two time periods of the beginning and end of water intake.

[0036] At the beginning of water intake, the moment the whole machine receives the water intake signal, the water channel has just been opened, the system has not reached a stable state, and the frequency of the pulse signal detected by the flow meter is unstable. Specifically, after receiving the water intake signal, the opening time of the water pump and the solenoid valve is slightly delayed due to objective factors of the material, and 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, and the cumulative number of pulses detected in the t1 time period will be less than the actual situation, that is, the actual water flow is greater than the detected amount.

[0037] At the end of water extraction, although the flow of the whole machine has reached a stable state, there are two components in the water purifier system: the water pump and the solenoid valve, which work based on the principle of electromagnetic induction. The response time of these two components is determined by the time it takes to establish a stable electromagnetic field. The material and manufacturing process of the material itself are the reasons for the delay in the closing response time. Specifically, when the stop water extraction signal is received, the water pump and the solenoid valve are closed after a delay of t2 (milliseconds) due to the above reasons, but water still escapes during the t2 time period.

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

[0039] At present, the water intake error in actual products is generally within 10%. The larger the flow rate specification of the water purifier, the more obvious the water intake error. According to the accuracy percentage calculation, the low-speed deviation is greater (50mL-150mL), which is not friendly to users who often use low-speed and have high accuracy requirements (such as mothers and babies).

[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 closing response time of the electromagnetic induction element 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 intake method provided in the present embodiment can obtain an error water volume when a water intake signal is received. 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 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.

[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 closing response time of the electromagnetic induction element at the end of water intake.

[0053] In an optional implementation, 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 material factors. 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 device.

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

[0057] As mentioned above, at the end stage of water extraction, 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 element working based on the electromagnetic induction principle. That is to say, when the material and manufacturing process of the element 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 obtained by detecting 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 there is a historical stable water outlet flow rate measurement value, 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. That is to say, 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 outlet flow rate measurement value, the theoretical water production flow rate is used as the first water outlet flow rate. When the water purifier is not used for the first time and there is a historical stable water outlet flow rate measurement value, the historical stable water outlet flow rate measurement value is used as the first water outlet 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 outlet flow rate obtained by flow detection is used to calculate the error water volume. The premise is that the whole machine has been working, and the next time water is taken, the memory value of the initial water start-up or the last water intake can be read for continuous calibration.

[0062] Step S2024: Determine the error water volume according to the first time length, the second time length 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 intake method provided in the present embodiment can obtain an error water volume when a water intake signal is received. 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 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.

[0067] In this embodiment, a water extraction method is provided, which can be used for the above-mentioned computer equipment. Figure 3 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 of flow meter failure.

[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 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 closing 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 receiving 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 the second time duration from the receipt of the stop water extraction 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, see 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 implementation, 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 stop water extraction signal is issued.

[0086] In order to explain the water taking 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 taking function button or an APP operation option, and the system uses a pulse counter (flow meter) to detect the flow rate.

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

[0088] Phase 1: Get the initial water intake L1 (ml). The water pump and solenoid valve are affected by objective factors of the material. They will 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 stabilize after t1 (milliseconds). 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 intake 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 / millisecond to prepare for the next calculation of the error water output.

[0090] Phase 3: When it is detected that the number of pulses reaches the target value, the program issues a stop command, and the water pump and the 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, determine 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, calculate the error water volume l, and use the initial water extraction volume L1 and the error water volume l to calculate the target water volume L2; calculate the target water extraction time TS according to the target water volume L2, and stop extracting water when the actual water extraction time reaches the target water extraction time.

[0092] The above method solves the problem of water 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] In this embodiment, a water intake device is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and the descriptions that have been made will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that implements a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

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

[0095] The initial water intake amount determination module 501 is used 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 of the closing 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 intake;

[0098] The water intake module 504 is used to take water according to the 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 acquire a first duration from the receipt of a water intake signal at the beginning of water intake to the stabilization of a pulse signal of a flow meter; the second duration acquisition unit is used to acquire a second duration from the receipt of a stop water intake signal to the closing of an electromagnetic induction element at the end of water intake; the water outlet flow rate acquisition unit is used to acquire a 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 used to: multiply 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.

[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 used to: obtain the water outlet flow rate when the water output is stable, obtain the current stable water outlet flow rate measurement value, and save it.

[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 a 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 electromagnetic induction principle, wherein the flow meter and the component working based on the electromagnetic induction principle are both arranged in a water intake waterway and are communicatively connected with a computer device.

[0109] See also Figure 6 , Figure 6is a schematic diagram of the structure 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, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, 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 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. Similarly, multiple computer devices can be connected, and each device provides some 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 a dedicated 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 executable by at least one processor 10, so that at least one processor 10 executes 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, an application required for at least one function; the data storage area may store data created according to 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 arranged 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 also 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 example of connecting through bus is taken in the following.

[0115] The input device 30 can receive input digital or character information, and generate key signal input related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, an indicator bar, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (e.g., an LED) and a tactile feedback device (e.g., a vibration motor), etc. 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 method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, 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 hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. 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 part 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 existence of the computer program instruction in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc., and 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 accessible to the computer.

[0118] Although the embodiments of the present invention have been described in conjunction with 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, and 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; 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 of the closing response time of the electromagnetic induction element at the end of water intake; Determine a target water intake according to the initial water intake and the error water intake; Water is taken according to the target water intake.

2. The method according to claim 1, characterized in that 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 a stop water extraction signal to closing the electromagnetic induction element at the end of water extraction; Obtaining a first water outlet flow rate; The error water volume is determined according to the first time period, the second time period and the first water outlet flow rate.

3. The method according to claim 2, characterized in that Determining the error water volume according to the first time length, the second time length and the first water outlet flow rate comprises: The error water volume is obtained by multiplying the sum of the first time period and the second time period by the first water outlet flow rate.

4. The method according to claim 2, characterized in that: 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 flow rate measurement value exists, taking the historical stable water outflow flow rate measurement value as the first water outflow flow 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.

5. 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; Determine 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.

6. The method according to claim 5, 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.

7. The method according to claim 1, characterized in that 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.

8. A water intake device, characterized in that: include: An initial water intake amount determination module, 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 the 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 closing response time of an electromagnetic induction element at the end of water intake; A target water intake determination module, used to determine the target water intake according to the initial water intake and the error water intake; A water intake module is used to take water according to the target water intake.

9. 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 7 by executing the computer instructions.

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

11. 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 7.

12. 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 7.

Citation Information

Patent Citations

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

    CN108627214A

  • Secondary water supply quality monitoring waterway control system and control method thereof

    CN110862160A

  • Control method of water taking device, water taking device and electronic equipment

    CN114451785A

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

    CN116105809A

  • Method for measurement flow ofthe water-purifying device

    KR1020040084487A