Water discharge control method, water discharge device, electronic equipment and readable storage medium

By acquiring the reflected signal and using a calibrated object to determine the threshold, the problem of the water dispensing device failing to sense the black water cup was solved, achieving accurate control of water dispensing and energy-saving effects.

CN118216802BActive Publication Date: 2026-11-17WUHU MIDEA SMART KITCHEN APPLIANCE MFG CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211704393.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-20
Publication Date
2026-11-17
Estimated Expiration
2042-12-20

AI Technical Summary

Technical Problem

The existing water dispensing device fails to detect black water cups, resulting in inaccurate water dispensing control.

Method used

By acquiring the reflected signal and using a calibrated object to determine the threshold of the reflected signal, water is controlled when the object approaches the water outlet device. This involves the cooperation of a signal transmitting module, a signal receiving module, and a control module. The reflected signal is obtained by transmitting the signal with a calibrated power and the signal strength is judged within a preset time.

Benefits of technology

Accurately determine the approach of an object to the water outlet device to prevent misjudgment and ensure that the water outlet device dispenses water at the appropriate time, avoiding waste of electricity and water resources.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118216802B_ABST
    Figure CN118216802B_ABST
Patent Text Reader

Abstract

This application discloses a water dispensing control method, a water dispensing device, an electronic device, and a readable storage medium. The method includes acquiring a reflected signal; wherein the reflected signal is obtained by reflecting a signal emitted by a signal transmitting module in the water dispensing device at a calibrated power; and controlling the water dispensing device to dispense water in response to a first signal strength value of the reflected signal being greater than a first preset threshold, and a second signal strength value of the reflected signal after a preset time being greater than or equal to the first signal strength value; wherein the calibrated power is obtained based on a calibrated object. Through the above method, this application solves the technical problem of the water dispensing device failing to dispense water due to unsuccessful sensing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of control, and in particular to a water discharge control method, water discharge device, electronic equipment, and readable storage medium. Background Technology

[0002] With the development of technology, water dispensers have entered the lives of countless households, and non-contact water dispensing functions have also been widely applied in water dispensers. In automatic water dispensing schemes, the need for water is determined by sending signals and receiving corresponding feedback signals. These schemes typically use objects such as water cups as the basis for signal judgment, and use feedback signals to determine whether an object like a water cup is near, thereby controlling water dispensing. Summary of the Invention

[0003] The main purpose of this application is to provide a water discharge control method, a water discharge device, an electronic device, and a readable storage medium, which can solve the technical problem that the water discharge device cannot discharge water if the sensing fails.

[0004] To solve the aforementioned technical problems, the first technical solution adopted in this application is: to provide a water discharge control method. This method is applied to a water discharge device, which includes a signal transmitting module, a signal receiving module, and a control module. The method includes acquiring a reflected signal; wherein the reflected signal is obtained based on the reflection of a signal transmitted by the signal transmitting module in the water discharge device at a calibrated power; and controlling the water discharge device to discharge water in response to a first signal strength value of the reflected signal being greater than a first preset threshold, and a second signal strength value of the reflected signal after a preset time being greater than or equal to the first signal strength value; wherein the calibrated power is obtained based on a calibrated object.

[0005] To solve the aforementioned technical problems, the second technical solution adopted in this application is to provide a water dispensing device. This water dispensing device includes a control module, a signal transmitting module, and a signal receiving module, with the control module connected to both the signal transmitting and receiving modules. The control module is used to send control signals to the signal transmitting module; the signal transmitting module is used to transmit signals in response to control commands; the signal receiving module is used to receive reflected signals; and the control module is further used to acquire the reflected signals, thereby implementing the water dispensing control method as described in the first technical solution.

[0006] To address the aforementioned technical problems, the third technical solution adopted in this application is to provide an electronic device. This electronic device includes a memory and a processor. The memory stores program data, which can be executed by the processor to implement the method described in the first technical solution.

[0007] To address the aforementioned technical problems, the fourth technical solution adopted in this application is to provide a computer-readable storage medium. This computer-readable storage medium stores program data and can be executed by a processor to implement the method described in the first technical solution.

[0008] The beneficial effects of this application are as follows: The control module acquires the reflected signal and then judges the reflected signal. In response to the first signal strength value of the received reflected signal being greater than a first preset threshold, and the second signal strength value of the reflected signal after a preset time being greater than or equal to the first signal strength value, the control module controls the water outlet device to dispense water. If the first signal strength value of the reflected signal is determined to be greater than the first preset threshold, it is determined that an object is approaching the water outlet device. The second signal strength value of the reflected signal after a preset time being greater than or equal to the first signal strength value further confirms the judgment in the previous step, preventing misjudgment and thus controlling the water outlet device to dispense water. During the judgment process, the reflected signal is obtained based on the reflection of the signal emitted by the signal transmitting module in the water outlet device at a calibrated power. The calibrated power is obtained in advance by the control module using a calibrated object. Therefore, the control module can accurately determine an object whose reflection capability of the signal used by the signal transmitting module is stronger than that of the calibrated object, and thus control water dispensing when the object approaches the water outlet device. Attached Figure Description

[0009] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort, wherein:

[0010] Figure 1 This is a flowchart illustrating the first embodiment of the water effluent control method of this application;

[0011] Figure 2 This is a flowchart illustrating the second embodiment of the water effluent control method of this application;

[0012] Figure 3 This is a flowchart illustrating the third embodiment of the water effluent control method of this application;

[0013] Figure 4 This is a schematic diagram illustrating the specific process by which the control module obtains the calibrated power in this application.

[0014] Figure 5 This is a schematic diagram of the specific process of the water effluent control method of this application;

[0015] Figure 6 This is a schematic diagram of the structure of an embodiment of the water outlet device of this application;

[0016] Figure 7 This is a structural schematic diagram of a specific embodiment of the water outlet device;

[0017] Figure 8 This is a schematic diagram of the structure of an embodiment of the electronic device of this application;

[0018] Figure 9 This is a schematic diagram of the structure of an embodiment of the computer-readable storage medium of this application. Detailed Implementation

[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of the embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.

[0020] The terms "first," "second," etc., used in this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0021] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0022] In certain scenarios, objects such as water cups used to hold water have different colors, resulting in variations in their signal reflectivity. For example, black has a lower reflectivity to infrared signals compared to other colors. Therefore, when detecting feedback signals, the presence of a black water cup may not be detected, leading to a failed sensor and the water dispenser failing to dispense water. To address this issue of failed water dispensing, this application proposes the following water dispensing control method.

[0023] Reference Figure 1 , Figure 1 This is a schematic flowchart of the first embodiment of the water outlet control method of this application. The method is applied to a water outlet device. The method includes the following steps:

[0024] S11: Acquire the reflected signal.

[0025] The control module in the water outlet device acquires the reflected signal. The control module controls the signal transmitting module in the water outlet device to transmit a signal outwards, and controls the signal receiving module in the water outlet device to receive the reflected signal, thereby determining whether an object exists in the direction of the signal transmission. The reflected signal is obtained based on the reflection of the signal transmitted by the signal transmitting module at a calibrated power. The calibrated power is obtained by the control module using the signal transmitting module based on a calibrated object.

[0026] S12: In response to the first signal strength value of the reflected signal being greater than the first preset threshold, and the second signal strength value of the reflected signal after a preset time being greater than or equal to the first signal strength value, control the water outlet device to discharge water.

[0027] After acquiring the reflected signal, the signal strength value of the reflected signal is determined as a first signal strength value, and it is then determined whether the first signal strength value is greater than a first preset threshold. Once the first signal strength value is determined to be greater than the first preset threshold, a timer is started. The signal strength value of the reflected signal after a preset time is determined as a second signal strength value, and it is then determined whether the second signal strength value is greater than or equal to the first signal strength value. When the second signal strength value is determined to be greater than or equal to the first signal strength value, the control module controls the water outlet device to discharge water.

[0028] Unlike related technologies, this application does not directly determine the signal strength value of the reflected signal, but rather determines it through the transmission power of the signal transmitted by the calibrated object and the signal transmitting module. The calibrated object can be an object with a reflectivity of less than a preset threshold for the transmitted signal. When the transmitted signal is an infrared signal, the calibrated object can be a black object, because black has a lower reflectivity for infrared signals compared to other colors, such as red and yellow. After determining the threshold of the reflected signal based on the calibrated object, accurate identification can be made when an object with a stronger reflectivity than the calibrated object or a similar object approaches the water dispensing device, thereby controlling the water dispensing device to dispense water.

[0029] In this embodiment, the control module acquires the reflected signal and then judges the reflected signal. In response to the first signal strength value of the received reflected signal being greater than a first preset threshold, and the second signal strength value of the reflected signal after a preset time being greater than or equal to the first signal strength value, the control module controls the water dispensing device to dispense water. Determining that the first signal strength value of the reflected signal is greater than the first preset threshold confirms the presence of an object approaching the water dispensing device. The second signal strength value after a preset time being greater than or equal to the first signal strength value further confirms the judgment in the previous step, preventing misjudgment and thus controlling the water dispensing device to dispense water. During the judgment process, the reflected signal is obtained based on the reflection of a signal emitted by the signal transmitting module in the water dispensing device at a calibrated power. The calibrated power is obtained in advance by the control module using a calibrated object. Therefore, the control module can accurately determine an object whose reflection capability of the signal used by the signal transmitting module is stronger than that of the calibrated object, and thus control water dispensing when the object approaches the water dispensing device.

[0030] In one embodiment, the preset time is between zero and three seconds. For example, the preset time can be set to one second. After determining that the first signal strength of the reflected signal is greater than the first preset threshold, the transmitted signal is received again after one second, and it is determined whether the second signal strength of the reflected signal is greater than or equal to the first signal strength. When the second signal strength is greater than or equal to the first signal strength, it can be determined that there is an object with a reflectivity to the transmitted signal that is stronger than that of the calibration object or similar to the calibration object, and the water outlet device is controlled to discharge water.

[0031] In one embodiment, after determining that the first signal strength value is greater than a first preset threshold, timing begins. The signal strength value of the reflected signal after a preset time is determined as the second signal strength value, and it is determined whether the second signal strength value is greater than or equal to the first signal strength value. If the second signal strength value is less than the first signal strength value, in response to the first signal strength value of the reflected signal being greater than the first preset threshold, and the second signal strength value of the reflected signal after a preset time being less than the first signal strength value, the control module re-determines whether the signal strength value of the currently received reflected signal is greater than the first preset threshold. If the second signal strength value is less than the first signal strength value, it indicates that the previous determination process of the reflected signal was affected by external environmental factors, making it impossible to determine whether there was an object in the signal transmission direction. Therefore, the determination process is restarted to ensure the accuracy of the determination result.

[0032] Reference Figure 2 , Figure 2 This is a schematic flowchart of a second embodiment of the water effluent control method of this application. This method is a further extension of the above embodiment and includes the following steps:

[0033] S21: In response to controlling the water outlet device to discharge water, obtain the signal strength value received at the initial moment of water discharge.

[0034] When the control module detects an approaching object in the signal direction and controls the water outlet device to dispense water, it acquires the signal strength value of the received reflected signal at that moment, i.e., the initial moment of water dispensing.

[0035] S22: In response to the current received signal strength value being less than the second preset threshold, control the water outlet device to stop discharging water.

[0036] The second preset threshold is obtained based on the signal strength value received at the initial moment of water dispensing. The second preset threshold is less than or equal to the signal strength value received at the initial moment of water dispensing. The second preset threshold can be determined as a percentage of the signal strength value of the transmitted signal received at the initial moment of water dispensing. For example, if the signal strength value of the transmitted signal received at the initial moment of water dispensing is A, the second preset threshold can be 90%A. The purpose of setting the second preset threshold is to determine whether an object has left or is about to leave the water dispensing device, thereby controlling the water dispensing device to stop dispensing water and preventing waste of water resources.

[0037] In one embodiment, when the control module controls the signal transmitting module to transmit a signal at a calibrated power, the control module controls the signal transmitting module to transmit the signal according to a first preset time interval and the calibrated power. When no object is detected in the signal transmission direction, the signal transmitting module is controlled to transmit the signal at certain time intervals to avoid the signal transmitting module continuously sending signals when no object is present, thus avoiding wasting power resources. The first preset time interval can be determined according to the specific environmental conditions. A larger time interval can avoid more power waste. However, an excessively large time interval may cause users to wait too long for water to come out. Therefore, the first preset time interval can be set to zero to three seconds.

[0038] Furthermore, in one embodiment, after acquiring the signal strength value received at the initial moment of water effluent discharge, the signal transmission module is controlled to transmit signals according to a second preset time interval and a calibrated power, where the second preset time interval is less than the first preset time interval. When it is determined that the first signal strength is greater than a first preset threshold, indicating the presence of an object in the signal transmission direction, the signal transmission module is controlled to transmit signals at the second preset time interval. Subsequent judgments require more real-time information on the reflected signals; therefore, a second preset time interval less than the first preset time interval is set to control the signal transmission of the signal transmission module. When the second preset time interval is zero, the real-time information of the reflected signals can be obtained most accurately, enabling an accurate judgment of the current situation of the object.

[0039] In one embodiment, after controlling the water outlet device to dispense water, the water dispensing time can be timed. In response to the water dispensing time exceeding a preset water dispensing time, the control module controls the water outlet device to stop dispensing water.

[0040] The determination that the signal strength value of the reflected signal is less than the second preset threshold can be set together with the determination of the water output time, but the determination of the second preset threshold has a higher response priority.

[0041] Reference Figure 3 , Figure 3 This is a flowchart illustrating the third embodiment of the water outlet control method of this application. This method is a further extension of the step described in the above embodiments where the control module uses a signal transmission module to obtain the calibration power in advance based on a calibration object. It includes the following steps:

[0042] S31: The control signal transmitting module transmits a signal to the calibrated object according to the first transmitting power.

[0043] S32: Acquire the received target reflection signal.

[0044] The control module acquires the signal transmitted by the signal transmitting module, and the control signal receiving module acquires the target reflected signal. The target reflected signal is obtained based on the transmitted signal and the calibration object. The calibration object is placed in the direction of the transmitted signal so that the signal receiving module can receive the signal reflected back from the calibration object, and uses the reflected signal as the target reflected signal. Depending on the actual application scenario of the water dispenser, the calibration object is positioned two to eight centimeters away from the signal transmission point in the direction of the signal transmitter; for example, it is set to be five centimeters away from the signal transmission point in the direction of the signal transmitter.

[0045] S33: Adjust the first transmission power according to the target reflection signal until the target reflection signal is equal to or greater than the first preset threshold, and use the first transmission power at the current moment as the calibration power.

[0046] After setting the position of the calibration object, the control module controls the signal transmission module to transmit a signal. The power of the transmitted signal increases from zero, and the signal strength value of the received target reflected signal is obtained. It is then determined whether the signal strength value of the reflected signal is greater than a first preset threshold. In response to the target reflected signal being equal to or greater than the first preset threshold, the first transmission power of the transmitted signal at the current moment is used as the calibration power.

[0047] The first preset threshold is determined based on the accuracy and resolution of the signal receiving module of the water outlet device and the environment. It is the minimum response signal value determined based on the actual circuit and environment.

[0048] The following specific embodiments will be used to illustrate the above embodiments of this application in more detail.

[0049] Reference Figure 4 , Figure 4 This is a schematic diagram illustrating the specific process by which the control module obtains the calibrated power in this application.

[0050] Step 1: Control the water outlet apparatus to enter a calibration mode.

[0051] Step 2: Fix a black standard block at a specific position directly in front of the signal transmitting module, with a distance value of 5cm. The distance value may be determined according to actual conditions, and the range may be 2cm-8cm.

[0052] Step 3: The processor controls the signal transmitting module to gradually increase the signal transmitting power starting from 0.

[0053] Step 4: The processor receives the processed received signal from the signal receiving module, and compares it with the threshold S1.

[0054] Step 5: If the signal strength value of the received signal is greater than the threshold S1, record the power of the corresponding transmitted signal into the storage unit as the calibrated power, and complete the calibration. The value of the threshold S1 depends on the precision and resolution of the AD sampling circuit, the environmental noise signal of the whole machine, and the like.

[0055] With reference to Figure 5 , Figure 5 is a schematic diagram of a specific process of the water outlet control method of the present application.

[0056] Step 1: The processor controls the signal transmitting module to transmit signals at time intervals and with the calibrated power.

[0057] Step 2: The processor controls the signal transmitting module to transmit signals at intervals and with the calibrated power. When the received signal strength is greater than the threshold S1, it may be assumed that a user brings a water cup close to the water taking area of the water outlet apparatus.

[0058] Step 3: Delay for 1 second. If the signal strength of the received signal is greater than or equal to the signal strength 1 second ago, water outlet may be started. If the received signal strength is less than the signal strength 1 second ago, return to Step 2. The delay time may be set according to specific conditions, and the time range may be 0-3 seconds.

[0059] Step 4: After starting automatic water outlet, record the current received signal strength as S2 and continuously monitor the real-time received signal strength.

[0060] Step 5: When the real-time received signal strength < S2*K1, it is determined that the user has moved the water cup away, and the water outlet is closed. K1 is a coefficient less than 1, which may be set to 0.9. The coefficient K1 may be set to a positive number not greater than 1 according to actual conditions.

[0061] The signals in the above embodiments may be infrared signals.

[0062] As shown in Figure 6 , Figure 6 is a schematic structural diagram of an embodiment of the water outlet apparatus of the present application.

[0063] The water outlet device includes a signal transmitting module 110, a signal receiving module 120, and a control module 130. The control module 130 is connected to both the signal transmitting module 110 and the signal receiving module 120. The control module 130 sends control commands to the signal transmitting module 110. The signal transmitting module 110 transmits signals in response to the control commands sent by the control module 130. The signal receiving module 120 receives reflected signals. The control module 130 also acquires the reflected signals received by the signal receiving module 120 to implement the water outlet control method provided in any embodiment and possible combinations thereof in this application.

[0064] Reference Figure 7 , Figure 7 This is a schematic diagram of a specific embodiment of the water dispensing device. In this specific structure, the water dispensing device may also include an infrared transmitting module 10, an infrared receiving module 20, a transmitting power adjustment module 30, a receiving AD sampling module 40, and a control module 50. The control module 50 is responsible for the modulation and transmission of infrared signals, the reception and decoding of infrared signals, and related logic processing. The transmitting power adjustment module 30 adjusts the transmitting power according to the transmitting power set by the control module 50. The infrared transmitting module 10 uses an infrared light-emitting diode to transmit the processed signal to the outside at a specific intensity and frequency. The infrared receiving module 20 is responsible for receiving infrared signals and adapting to the transmission frequency of the infrared transmitting module 10. The receiving AD sampling module 40 converts the signal processed by the infrared receiving module 20 into a voltage digital signal for use by the control module 50. The various modules are interconnected to implement the method provided by any embodiment and possible combination of the water dispensing control method of this application.

[0065] The water outlet device described in the above embodiments also includes a main body, on which a water outlet module is disposed. A signal transmitting module, a signal receiving module, a control module, a transmitting power adjustment module, and a receiving AD sampling module may also be disposed on the main body. The control module is connected to the water outlet module to control the water outlet module to discharge water based on the method provided by any embodiment and possible combination of the water outlet control method of this application.

[0066] like Figure 8 As shown, Figure 8 This is a schematic diagram of the structure of an embodiment of the electronic device of this application.

[0067] The electronic device includes a processor 210 and a memory 220.

[0068] Processor 210 controls the operation of electronic devices. Processor 210 can also be called a CPU (Central Processing Unit). Processor 210 may be an integrated circuit chip with signal sequence processing capabilities. Processor 210 can also be a general-purpose processor, a digital signal sequence processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. A general-purpose processor can be a microprocessor or any conventional processor.

[0069] The memory 220 stores the instructions and program data required for the processor 210 to operate.

[0070] The processor 210 is used to execute instructions to implement the methods provided by any embodiment and possible combination of the water discharge control methods described above in this application.

[0071] like Figure 9 As shown, Figure 9 This is a schematic diagram of the structure of an embodiment of the computer-readable storage medium of this application.

[0072] One embodiment of the readable storage medium of this application includes a memory 310 that stores program data that, when executed, implements the method provided by any embodiment and possible combinations of the water discharge control method of this application.

[0073] The memory 310 may include a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, or other media that can store program instructions. Alternatively, it may be a server that stores the program instructions, which can send the stored program instructions to other devices for execution or execute the stored program instructions itself.

[0074] In summary, the control module acquires the reflected signal received by the signal receiving module and then judges the reflected signal. In response to the first signal strength value of the received reflected signal being greater than a first preset threshold, and the second signal strength value of the reflected signal after a preset time being greater than or equal to the first signal strength value, the control module controls the water dispensing device to dispense water. The determination that the first signal strength value of the reflected signal is greater than the first preset threshold confirms the presence of an object approaching the water dispensing device. The second signal strength value after a preset time being greater than or equal to the first signal strength value further confirms the judgment in the previous step, preventing misjudgment and thus controlling the water dispensing device to dispense water. During the judgment process, the reflected signal received by the receiving module is based on the signal transmitted by the signal transmitting module at a calibrated power. The calibrated power is obtained in advance by the control module using the signal transmitting module and a calibrated object. Therefore, the control module can accurately determine which object has a stronger reflection capability of the signal used by the signal transmitting module than the calibrated object, and thus controls water dispensing when it approaches the water dispensing device. Unlike related technologies, this application does not directly determine the signal strength value of the reflected signal, but rather determines it through the transmission power of the signal transmitted by the calibrated object and the signal transmitting module. The calibrated object can be an object with a reflectivity of less than a preset threshold for the transmitted signal. When the transmitted signal is an infrared signal, the calibrated object can be a black object, because black has a lower reflectivity for infrared signals compared to other colors, such as red and yellow. After determining the threshold of the reflected signal based on the calibrated object, accurate identification can be made when an object with a stronger reflectivity than the calibrated object or a similar object approaches the water dispensing device, thereby controlling the water dispensing device to dispense water.

[0075] In the several embodiments provided in this application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.

[0076] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment, depending on actual needs.

[0077] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0078] If the integrated units in the other embodiments described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0079] The above description is merely an embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A water outlet control method, applied to a water outlet device, characterized in that, The method includes: Acquire a reflected signal; wherein the reflected signal is obtained based on the reflection of a signal emitted by the signal transmitting module in the water outlet device at a calibrated power; the signal transmission method includes: controlling the signal transmitting module to transmit a signal according to a first preset time interval and the calibrated power; In response to the first signal strength value of the reflected signal being greater than a first preset threshold, and the second signal strength value of the reflected signal being greater than or equal to the first signal strength value after a preset time, the water outlet device is controlled to discharge water. The calibration power is obtained based on a calibration object; the calibration object is an object with a reflectivity of less than a preset threshold for the transmitted signal; accurate identification is made when an object with a reflectivity of stronger than the calibration object approaches the water outlet device. The method for obtaining the calibration power based on the calibration object includes: The signal transmitting module is controlled to transmit a signal to the calibrated object according to a first transmission power; Acquire the received target reflected signal; The first transmission power is adjusted according to the target reflection signal until the target reflection signal is equal to or greater than the first preset threshold, and the first transmission power at the current moment is taken as the calibration power.

2. The method according to claim 1, characterized in that, In response to controlling the water outlet device to discharge water, the signal strength value received at the initial moment of water discharge is acquired; In response to the current received signal strength value being less than a second preset threshold, the water device is controlled to stop discharging water, wherein the second preset threshold is obtained based on the signal strength value received at the initial moment of water discharging.

3. The method according to claim 2, characterized in that, The second preset threshold is less than or equal to the signal strength value received at the initial moment of water effluent discharge.

4. The method according to claim 2, characterized in that, After obtaining the signal strength value received at the initial moment of water effluent discharge, the process includes: The signal transmitting module is controlled to transmit signals according to a second preset time interval and the calibration power, wherein the second preset time interval is less than the first preset time interval.

5. The method according to claim 1, characterized in that, After controlling the water outlet device to dispense water, the method includes: in response to the water dispensing time being longer than a preset water dispensing time, controlling the water outlet device to stop dispensing water.

6. The method according to claim 1, characterized in that, The method further includes: In response to the first signal strength value of the reflected signal being greater than a first preset threshold, and the second signal strength value of the reflected signal being less than the first signal strength value after a preset time, the system re-determines whether the signal strength value of the currently received reflected signal is greater than the first preset threshold.

7. The method according to claim 1, characterized in that, The preset time ranges from zero to three seconds.

8. A water outlet device, characterized in that, The water outlet device includes: a control module, a signal transmitting module, and a signal receiving module, wherein the control module is connected to the signal transmitting module and the signal receiving module; wherein... The control module is used to send control commands to the signal transmitting module; The signal transmitting module is used to transmit signals in response to the control command; The signal receiving module is used to receive reflected signals; The control module is further used to acquire the reflected signal to implement the water outlet control method as described in any one of claims 1-7.

9. The water outlet device according to claim 8, characterized in that, The water outlet device also includes: A transmit power adjustment module is connected to the signal transmission module and the control module to adjust the power of the transmitted signal from the signal transmission module.

10. The water outlet device according to claim 8, characterized in that, The water outlet device also includes: The receiving AD sampling module is connected to the signal receiving module and the control module, and the receiving AD sampling module processes the reflected signal received by the signal receiving module.

11. The water outlet device according to claim 8, characterized in that, The water outlet device also includes: The main body includes a water outlet module, a signal transmitting module, a signal receiving module, and a control module. The control module is connected to the water outlet module and controls the water outlet module to discharge water.

12. An electronic device, characterized in that, It includes a memory and a processor, the memory being used to store program data, the program data being executable by the processor to implement the method as described in any one of claims 1-7.

13. A computer-readable storage medium, characterized in that, It stores program data and can be executed by a processor to implement the method as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Sensing faucet

    CN105736802A

  • Water supplier

    JP2018053525A