Control method for water dispenser and water dispenser
Through the human perception module and the water cup perception module, the water nozzle is driven to automatically track and move, which solves the problem of inconvenience in use of traditional water dispensers and realizes convenient water cup water handling operation.
Patent Information
- Application Number
- CN202411216662.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-30
- Publication Date
- 2024-11-15
AI Technical Summary
Traditional water dispensers are inconvenient to use, the water nozzle is fixed and requires the user to manually turn it to change the direction of water outlet, which is troublesome.
The human body perception module and the water cup perception module are combined with the driving device. By obtaining the position information of the user and the water cup, the water nozzle is driven to track and move the human body to achieve automatic alignment of the water outlet.
Users only need to place the water cup and press the button to receive water, which is simple and convenient to operate and improve the user experience.
Smart Images

Figure CN118948095A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of water drinking machines, and in particular provides a control method for a water drinking machine and a water drinking machine. Background Art
[0002] The position of the water spout of a traditional water dispenser is fixed. When using it, place the cup in the specified position and press a button to dispense water. However, this type of water dispenser is relatively rigid to use, and the placement of the water dispenser and the user's water collection position are relatively fixed.
[0003] In order to solve the above problems, water dispensers with movable spouts have been introduced, that is, the spouts of the water dispensers can be rotated around a vertically arranged pivot axis to change the water outlet direction. However, this type of water dispenser still requires the user to manually move the spout when using it, which is troublesome to operate. Therefore, how to improve the convenience of using a water dispenser has become a technical problem that needs to be solved urgently in this field.
[0004] In view of this, the art needs a new control method for a water dispenser and a water dispenser to solve the existing problems. Summary of the invention
[0005] The present invention aims to solve the above technical problem, that is, to solve the problem that the existing water dispenser is inconvenient to use.
[0006] In a first aspect, the present invention provides a control method for a water dispenser, wherein the water dispenser comprises a human body sensing module and a water cup sensing module, the water dispenser further comprises a movable water spout and a driving device for driving the water spout to move, the human body sensing module, the water cup sensing module and the driving device are communicatively connected to a controller of the water dispenser, and the control method comprises: controlling the human body sensing module to obtain user location information; controlling the driving device to drive the water spout to perform human body tracking based on the user location information; judging whether a "water outlet" instruction is obtained; if a "water outlet" instruction is obtained, controlling the water cup sensing module to obtain the location information of the water cup; and controlling the driving device to drive the water spout to move to the location of the water cup and discharge water based on the location information of the water cup.
[0007] In the specific implementation of the above-mentioned control method for a water dispenser, the step of "controlling the human perception module to obtain the user's location information" further includes: controlling the human perception module to obtain the user's orientation information, and / or controlling the human perception module to obtain the user's distance information.
[0008] In the specific implementation of the above-mentioned control method for a water dispenser, the step of "controlling the driving device to drive the water spout to track a human body based on the user's position information" further includes: controlling the driving device to drive the water spout to track a human body based on the user's orientation information.
[0009] In the specific implementation of the above-mentioned control method for a water dispenser, the step of "controlling the driving device to drive the water spout to track the human body based on the user's position information" further includes: if the distance between the user and the water spout is less than or equal to a first preset distance, controlling the driving device to drive the water spout to track the human body based on the user's orientation information.
[0010] In the specific implementation of the above-mentioned control method for a water dispenser, the step of "controlling the driving device to drive the water spout to track a human body based on the user's position information" also includes: determining whether the movement of the water spout is obstructed during the process of tracking a human body; if the movement of the water spout is obstructed during the process of tracking a human body, controlling the driving device to intermittently output driving force to the water spout.
[0011] In the specific implementation of the above-mentioned control method for a water dispenser, the step "if the movement of the water spout is obstructed during the process of human body tracking, then controlling the driving device to intermittently output driving force to the water spout" also includes: if the movement of the water spout is no longer obstructed during the process of human body tracking, then controlling the driving device to drive the water spout to track the human body based on the user's orientation information.
[0012] In the specific implementation of the above-mentioned control method for a water dispenser, the step of "if the 'water out' instruction is obtained, then controlling the water cup sensing module to obtain the position information of the water cup" further includes: if the "water out" instruction is obtained, then controlling the human body sensing module to stop human body information perception, and controlling the water cup sensing module to obtain the orientation information and distance information of the water cup.
[0013] In the specific implementation of the above-mentioned control method for a water dispenser, the step of "controlling the driving device to drive the water spout to move to the position of the water cup and discharge water based on the position information of the water cup" further includes: if the distance between the water cup and the water spout is less than or equal to a second preset distance, controlling the driving device to drive the water spout to move to the position of the water cup and discharge water based on the orientation information of the water cup.
[0014] In a specific implementation of the above-mentioned control method for a water dispenser, the water dispenser further includes an alarm device, which is communicatively connected to the controller of the water dispenser, and the step of "if the distance between the water cup and the water spout is less than or equal to a second preset distance, controlling the driving device to drive the water spout to move to the position of the water cup and discharge water based on the orientation information of the water cup" further includes: determining whether the movement of the water spout is obstructed during the process of moving to the position of the water cup; if the movement of the water spout is obstructed during the process of moving to the position of the water cup, controlling the driving device to intermittently output driving force to the water spout, and controlling the alarm device to issue an alarm message.
[0015] In a specific implementation of the control method for a water dispenser, the water dispenser further includes an alarm device, which is communicatively connected to the controller of the water dispenser, and the step of "if the distance between the water cup and the water spout is less than or equal to the second preset distance, controlling the driving device to drive the water spout to move to the position of the water cup and discharge water based on the orientation information of the water cup" further includes: if the distance between the water cup and the water spout is less than or equal to the second preset distance, controlling the driving device to drive the water spout to move to the position of the water cup based on the orientation information of the water cup; controlling the water cup sensing module to obtain the orientation information and distance information of the water cup again; obtaining the difference in distance and orientation between the water cup and the water spout; if the distance between the water cup and the water spout is less than or equal to the second preset distance and the difference in orientation is less than or equal to the first preset orientation value, controlling the water spout to discharge water; if the difference in orientation between the water cup and the water spout is greater than the first preset orientation value or the distance between the water cup and the water spout is greater than the second preset distance, controlling the alarm device to issue an alarm message and controlling the water cup sensing module to stop sensing.
[0016] In the specific implementation of the above-mentioned control method for a water dispenser, the step of "controlling the driving device to drive the water spout to move to the position of the water cup and discharge water based on the position information of the water cup" also includes: if the distance between the water cup and the water spout is greater than a second preset distance, controlling the water spout to stop discharging water.
[0017] The present invention also provides a water dispenser, which includes a human body sensing module, a water cup sensing module and an alarm device. The water dispenser also includes a movable water spout and a driving device for driving the water spout to move. The human body sensing module, the water cup sensing module, the alarm device and the driving device are communicatively connected to the controller of the water dispenser, and the water dispenser can execute any one of the control methods for the water dispenser described in the above technical solutions.
[0018] When the above-mentioned implementation mode is adopted, the water dispenser of the present invention obtains the user's position information through the human body sensing module, and controls the driving device to drive the water spout to track the human body, and makes the water spout face the user in advance to facilitate the user to get water, and at the same time determines whether the water discharge command issued by the user is received (the user can issue the water discharge command through the control button on the water dispenser operation panel). If it is detected that the user has issued a water discharge command, the human body sensing module is controlled to stop running, and the water cup sensing module is controlled to obtain the position information of the water cup. When the distance between the water cup and the water spout is relatively far, the water discharge condition is not met. At this time, it is only necessary to drive the water spout to align with the direction of the water cup through the driving device. When the distance between the water cup and the water spout is relatively close (in the extreme state, it can be understood that the distance between the water cup and the water spout is zero, that is, the water cup is directly below the water spout), the water spout meets the water discharge condition, and the driving device drives the water spout to align with the direction of the water cup to discharge water.
[0019] The advantage of the above embodiment is that when using the water dispenser of the present invention, the user only needs to place the water cup on the water cup holder of the water dispenser and press the water outlet button. The user does not need to align the water cup with the water spout of the water dispenser. The use process is convenient and comfortable, which improves the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings, in which:
[0021] Figure 1 is an overall flow chart of the control method for a water dispenser of the present invention;
[0022] Figure 2 is a flow chart of step S11 in embodiment 1 of the control method for a water dispenser of the present invention;
[0023] Figure 3 is a flow chart of step S21 in the first embodiment of the control method for a water dispenser of the present invention;
[0024] Figure 4 is a flow chart of step S41 in the first embodiment of the control method for a water dispenser of the present invention;
[0025] Figure 5 is a flow chart of steps S51 and S52 in the first embodiment of the control method for a water dispenser of the present invention;
[0026] Figure 6 is a flow chart of steps S11 and S12 in the second embodiment of the control method for a water dispenser of the present invention;
[0027] Figure 7 is a flow chart of step S22 in the second embodiment of the control method for a water dispenser of the present invention;
[0028] Figure 8 is a flow chart of steps S23, S24, and S25 in Embodiment 2 of the control method for a water dispenser of the present invention;
[0029] Fig. 9 is a flow chart of steps S511 and S512 in the second embodiment of the control method for a water dispenser of the present invention;
[0030] Fig.10 It is a flow chart of steps S513-S517 in the second embodiment of the control method for a water dispenser of the present invention. DETAILED DESCRIPTION
[0031] The preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the scope of protection of the present invention. Those skilled in the art can make adjustments to them as needed to adapt to specific application scenarios.
[0032] The terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. In addition, it should be noted that in the description of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be internal communication between two elements. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0033] First, the existing water dispenser is described. The position of the water spout of a traditional water dispenser is fixed. When in use, place the cup in the designated position and press a button to dispense water. However, this type of water dispenser is relatively rigid to use, and the placement of the water dispenser and the user's water receiving position are relatively fixed. In order to solve the above problems, a water dispenser with a movable spout has been introduced, that is, the spout of the water dispenser can be rotated around a vertically arranged pivot shaft to change the water outlet direction. However, this type of water dispenser still requires the user to use his hands to move the spout when in use, which is more troublesome to operate. Therefore, how to improve the convenience of using a water dispenser has become a technical problem that needs to be solved urgently in this field. The following implementation methods are proposed for this purpose.
[0034] Embodiment 1
[0035] like Figure 1-Figure 5As shown, in order to solve the problem that the existing water dispenser is inconvenient to use, the water dispenser of the present invention includes a human body sensing module and a water cup sensing module, the water dispenser also includes a movable water spout and a driving device for driving the water spout to move, the human body sensing module, the water cup sensing module and the driving device are communicatively connected with the controller of the water dispenser, wherein the human body sensing module is a first camera, the water cup sensing module is a second camera and a second distance sensor (such as an infrared sensor), and the control method includes:
[0036] S1, controlling the human body sensing module to obtain the user's location information;
[0037] S2, controlling the driving device to drive the water spout to track the human body based on the user's position information;
[0038] S3, determining whether a "water out" instruction is obtained;
[0039] S4. If the "water out" instruction is obtained, the water cup sensing module is controlled to obtain the position information of the water cup;
[0040] S5. Based on the position information of the water cup, the driving device is controlled to drive the water spout to move to the position of the water cup and discharge water.
[0041] In the above steps, step S1 further comprises:
[0042] S11, controlling the human body perception module to obtain the user's position information.
[0043] Step S2 further comprises:
[0044] S21, controlling the driving device to drive the water nozzle to track the human body based on the user's position information.
[0045] Step S4 further comprises:
[0046] S41. If a "water outlet" instruction is obtained, the human body sensing module is controlled to stop sensing human body information, and the water cup sensing module is controlled to obtain the orientation information and distance information of the water cup.
[0047] Step S5 further comprises:
[0048] S51. If the distance between the water cup and the water spout is less than or equal to a second preset distance, the driving device is controlled to drive the water spout to move to the position of the water cup and discharge water based on the orientation information of the water cup.
[0049] S52: If the distance between the water cup and the water spout is greater than a second preset distance, control the water spout to stop discharging water.
[0050] In the case of adopting the above implementation mode, the first camera is first controlled to obtain the user's position information, and then the driving device is controlled to drive the water spout to track the human body based on the user's position information, so that the water spout is directed to the user in advance to facilitate the user to receive water, and at the same time, it is determined whether a water outlet command issued by the user is received (the user can issue a water outlet command through the control button on the water dispenser operation panel). If it is detected that the user has issued a water outlet command, the first camera is controlled to stop obtaining the user's position information, and at the same time, the second camera and the second distance sensor are controlled to obtain the position information and distance information of the water cup. When the water cup is close to the water cup, the water spout is directed to the user. When the distance between the spouts is greater than the second preset distance (the range of the second preset distance is that the spout is located above the mouth of the water cup, that is, the water flowing out of the spout can enter the water cup), the water outlet condition is not met. At this time, the spout only needs to be driven by the driving device to align with the position of the water cup, and the spout will not discharge water. When the distance between the water cup and the spout is less than or equal to the second preset distance (that is, the spout can be located above the mouth of the water cup), the water outlet condition is met. After the driving device drives the spout to align with the position of the water cup based on the position information of the water cup (that is, drives the spout to move to the position of the water cup), the spout is located above the mouth of the water cup, and then water is discharged. When the water cup is full of water, the user only needs to take away the water cup so that the distance between the water cup and the spout is greater than the second preset distance, and the controller of the water dispenser will control the spout to stop discharging water.
[0051] The advantage of the above embodiment is that: in the process of using the water dispenser of the present invention, the user only needs to place the water cup on the water cup holder of the water dispenser and press the water outlet button. The user does not need to align the water cup with the water spout of the water dispenser. After receiving water, the user only needs to take the water cup away. At this time, the distance between the water cup and the water spout increases. The controller of the water dispenser determines that the water outlet condition is not met at this time and controls the water spout to stop discharging water. The use process is convenient and comfortable, and the user experience is improved. Furthermore, those skilled in the art can also improve the control logic of the water dispenser to: when the distance between the water cup and the water spout is less than or equal to the second preset distance (that is, the water spout can be located above the mouth of the water cup) and the distance between the water spout and the water cup remains unchanged and continues to reach the first preset time, it is considered that the water outlet condition is met. Similarly, whether before or after receiving water, when it is detected that the distance between the water spout and the water cup changes, the water spout is immediately controlled to stop discharging water, thereby further ensuring that the user will not be scalded by the water spout when receiving water.
[0052] Embodiment 2
[0053] In the above-mentioned embodiment 1, it is mentioned that the human perception module only includes the first camera for obtaining the position information of the user. In this embodiment, the human perception module also includes a first distance sensor, and the water dispenser also includes an alarm device, which is communicated with the controller of the water dispenser. Figure 6-Figure 9As shown, step S1 also includes:
[0054] S12: Control the human body perception module to obtain the distance information of the user.
[0055] Step S2 further comprises:
[0056] S22: If the distance between the user and the water spout is less than or equal to a first preset distance, the control driving device drives the water spout to track the human body based on the user's position information.
[0057] Step S2 also includes:
[0058] S23, determining whether the movement of the water spout is obstructed during the human body tracking process;
[0059] S24, if the movement of the water nozzle is blocked during the human body tracking process, the driving device is controlled to intermittently output driving force to the water nozzle;
[0060] S25. If the movement of the water spout is no longer obstructed during the process of human body tracking, the control driving device drives the water spout to track the human body based on the user's position information.
[0061] Step S51 further comprises:
[0062] S511, determining whether the water spout is obstructed in the process of moving to the position of the water cup;
[0063] S512: If the movement of the water spout is blocked when it moves to the position of the water cup, the driving device is controlled to intermittently output driving force to the water spout, and the alarm device is controlled to send out an alarm message.
[0064] In the case of adopting the above-mentioned embodiment, during the use of the water dispenser of the present invention, the user's distance information is first obtained through the first distance sensor. If the distance between the user and the water spout is less than or equal to the first preset distance, it means that the user may have the intention to get water from the water dispenser. Then the first camera is controlled to obtain the user's position information, and the control driving device is controlled to drive the water spout to perform human body tracking based on the user's position information. Compared with the above-mentioned embodiment 1, the advantage of this embodiment is that by judging the distance between the user and the water spout, it avoids the situation where the controller driving device of the water dispenser drives the water spout to perform invalid human body tracking when the user has no intention to get water, thereby reducing the energy consumption of the water dispenser. At the same time, during the process of the water spout tracking the human body, if there is an obstacle in the movement path of the water spout, the movement of the water spout may be obstructed. When the movement of the water spout is obstructed, the current of the driving device will increase. Therefore, it can be known based on the feedback current of the driving device (driving motor) that when it is detected that the movement of the water spout is obstructed, the driving motor is controlled to intermittently output driving force to the water spout to avoid burning out of the driving motor. At this time, the first camera continues to obtain the user's orientation information. If the water spout will no longer be obstructed when tracking the human body after the user moves, the driving motor is controlled to continue to drive the water spout for human body tracking based on the user's orientation information. The above is the situation when the water spout is blocked during the human body tracking process. After receiving the user's water outlet command, the water spout enters the water cup tracking stage. At this time, the water spout may still be blocked during the movement of the water spout. The specific solution is similar to the human body tracking solution mentioned above and will not be repeated here. It is worth mentioning that in the water cup tracking stage, since the user has pressed the water outlet button, it is necessary to send a prompt message to the user after the water spout is blocked to let the user know the situation. Therefore, the water dispenser of this embodiment also includes an alarm device. When the water spout is blocked, the alarm device will send an alarm message to the user, thereby prompting the user to remove the obstacles on the water spout's movement path in time to ensure the normal water outlet of the water dispenser. In addition, it should be noted that the technicians in this field can also set an alarm device during the human body tracking stage of the water spout. Preferably, the alarm message is sent only when the distance between the user and the water spout is less than or equal to the first preset distance and the water spout is blocked. These changes do not exceed the technical principles of the present invention, and therefore will also be included in the protection scope of the present invention.
[0065] Further, in a possible implementation manner, as Fig.10 As shown, step S51 further includes:
[0066] S513, if the distance between the water cup and the water spout is less than or equal to a second preset distance, controlling the driving device to drive the water spout to move to the position of the water cup based on the orientation information of the water cup;
[0067] S514, controlling the water cup sensing module again to obtain the position information and distance information of the water cup;
[0068] S515, obtaining the difference in distance and orientation between the water cup and the water spout;
[0069] S516, if the distance between the water cup and the water spout is less than or equal to the second preset distance, and the difference in the orientation is less than or equal to the first preset orientation value, control the water spout to discharge water;
[0070] S517: If the difference between the orientations of the water cup and the water spout is greater than a first preset orientation value or the distance between the water cup and the water spout is greater than a second preset distance, the alarm device is controlled to send out an alarm message and the water cup sensing module is controlled to stop sensing.
[0071] In the above-mentioned second embodiment, step S51 mentioned that if the distance between the water cup and the water spout is less than or equal to the second preset distance, the control driving device drives the water spout to move to the position of the water cup and discharge water based on the orientation information of the water cup. However, the above-mentioned embodiment does not verify whether the water spout has moved to the position of the water cup. If the water spout discharges water without moving to the position of the water cup, there may be danger. Therefore, in this embodiment, it is proposed that if the distance between the water cup and the water spout is less than or equal to the second preset distance, the control driving device drives the water spout to move to the position of the water cup based on the orientation information of the water cup, first controls the water spout not to discharge water, obtains the orientation and distance information of the water cup again through the water cup sensing module, and then judges the difference in distance and orientation between the water cup and the water spout. When it is confirmed that the distance between the water cup and the water spout is less than or equal to the second preset distance and the difference in orientation is less than or equal to the first preset orientation value (that is, the water spout is located above the mouth of the water cup), the water spout is controlled to discharge water, thereby providing a guarantee for the safe use of the water dispenser through secondary verification and avoiding the above-mentioned problems.
[0072] It should be noted that the above-mentioned implementation mode is only used to illustrate the principle of the present invention and is not intended to limit the scope of protection of the present invention. Without departing from the principle of the present invention, those skilled in the art can adjust the above-mentioned structure so that the present invention can be applied to more specific application scenarios.
[0073] In addition, the present invention also provides a water dispenser, including a human body sensing module, a water cup sensing module and an alarm device. The water dispenser also includes a movable water spout and a driving device for driving the water spout to move. The human body sensing module, the water cup sensing module, the alarm device and the driving device are communicatively connected to the controller of the water dispenser, and the water dispenser can execute any one of the control methods for the water dispenser in the above technical solutions.
[0074] Finally, it should be noted that although the present invention is described by taking an infrared sensor as an example, the distance sensor of the present invention can obviously also be other sensors for measuring distance, such as an ultrasonic sensor, a laser distance sensor, and the like.
[0075] Those skilled in the art can understand that the above-mentioned water dispenser also includes some other well-known structures, such as a processor, a controller, a memory, etc., wherein the memory includes but is not limited to a random access memory, a flash memory, a read-only memory, a programmable read-only memory, a volatile memory, a non-volatile memory, a serial memory, a parallel memory or a register, etc., and the processor includes but is not limited to a CPLD / FPGA, a DSP, an ARM processor, a MIPS processor, etc. In order to unnecessarily obscure the embodiments of the present disclosure, these well-known structures are not shown in the drawings.
[0076] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A control method for a water dispenser, characterized in that: The water dispenser includes a human body sensing module and a water cup sensing module, the water dispenser also includes a movable water spout and a driving device for driving the water spout to move, the human body sensing module, the water cup sensing module and the driving device are communicatively connected with a controller of the water dispenser, and the control method includes: Controlling the human body sensing module to obtain user location information; Controlling the driving device to drive the water nozzle to perform human body tracking based on the user's position information; Determine whether the "water out" command is obtained; If the "water out" instruction is obtained, the water cup sensing module is controlled to obtain the position information of the water cup; Based on the position information of the water cup, the driving device is controlled to drive the water nozzle to move to the position of the water cup and discharge water.
2. The control method for a water dispenser according to claim 1, characterized in that: The step of "controlling the human body sensing module to obtain the user's location information" further includes: Control the human body sensing module to obtain the user's position information, and / or Control the human body perception module to obtain the distance information of the user.
3. The control method for a water dispenser according to claim 2, characterized in that: The step of "controlling the driving device to drive the water nozzle to perform human body tracking based on the user's position information" further includes: The driving device is controlled based on the user's position information to drive the water nozzle to perform human body tracking.
4. The control method for a water dispenser according to claim 2, characterized in that: The step of "controlling the driving device to drive the water nozzle to perform human body tracking based on the user's position information" further includes: If the distance between the user and the water spout is less than or equal to a first preset distance, the driving device is controlled to drive the water spout to perform human body tracking based on the user's position information.
5. The control method for a water dispenser according to claim 3 or 4, characterized in that: The step of "controlling the driving device to drive the water nozzle to perform human body tracking based on the user's position information" also includes: Determining whether the movement of the water nozzle is obstructed during the human body tracking process; If the movement of the water nozzle is obstructed during the process of human body tracking, the driving device is controlled to intermittently output driving force to the water nozzle.
6. The control method for a water dispenser according to claim 5, characterized in that: The step "if the movement of the water nozzle is blocked during the human body tracking process, controlling the driving device to intermittently output driving force to the water nozzle" also includes: If the movement of the water nozzle is no longer blocked during the human body tracking process, the driving device is controlled to drive the water nozzle to track the human body based on the user's position information.
7. The control method for a water dispenser according to claim 1, characterized in that: The step of "if the 'water outlet' instruction is obtained, then controlling the water cup sensing module to obtain the position information of the water cup" further includes: If the "water out" instruction is obtained, the human body sensing module is controlled to stop sensing human body information, and the water cup sensing module is controlled to obtain the orientation information and distance information of the water cup.
8. The control method for a water dispenser according to claim 7, characterized in that: The step of "controlling the driving device to drive the water spout to move to the position of the water cup and discharge water based on the position information of the water cup" further includes: If the distance between the water cup and the water spout is less than or equal to a second preset distance, the driving device is controlled to drive the water spout to move to the position of the water cup and discharge water based on the orientation information of the water cup.
9. The control method for a water dispenser according to claim 8, characterized in that: The water dispenser further includes an alarm device, which is communicatively connected to the controller of the water dispenser. The step of "if the distance between the water cup and the water spout is less than or equal to a second preset distance, controlling the driving device to drive the water spout to move to the position of the water cup based on the orientation information of the water cup and discharge water" further includes: Determining whether the water spout is obstructed in the process of moving to the position of the water cup; If the movement of the water spout is blocked when it moves to the position of the water cup, the driving device is controlled to intermittently output driving force to the water spout, and the alarm device is controlled to send out an alarm message.
10. The control method for a water dispenser according to claim 8, characterized in that: The water dispenser further includes an alarm device, which is communicatively connected to the controller of the water dispenser. The step of "if the distance between the water cup and the water spout is less than or equal to a second preset distance, controlling the driving device to drive the water spout to move to the position of the water cup based on the orientation information of the water cup and discharge water" further includes: If the distance between the water cup and the water spout is less than or equal to a second preset distance, controlling the driving device to drive the water spout to move to the position of the water cup based on the orientation information of the water cup; controlling the water cup sensing module again to obtain the orientation information and distance information of the water cup; Obtaining the difference in distance and orientation between the water cup and the water spout; If the distance between the water cup and the water spout is less than or equal to a second preset distance, and the difference in orientation is less than or equal to a first preset orientation value, the water spout is controlled to discharge water; If the difference between the orientations of the water cup and the water spout is greater than a first preset orientation value or the distance between the water cup and the water spout is greater than a second preset distance, the alarm device is controlled to send out an alarm message and the water cup sensing module is controlled to stop sensing.
11. The control method for a water dispenser according to claim 8, characterized in that: The step of "controlling the driving device to drive the water spout to move to the position of the water cup and discharge water based on the position information of the water cup" also includes: If the distance between the water cup and the water spout is greater than a second preset distance, the water spout is controlled to stop discharging water.
12. A water dispenser, characterized in that: The water dispenser includes a human body sensing module, a water cup sensing module and an alarm device. The water dispenser also includes a movable water spout and a driving device for driving the water spout to move. The human body sensing module, the water cup sensing module, the alarm device and the driving device are communicatively connected to the controller of the water dispenser, and the water dispenser can execute the control method for the water dispenser described in any one of claims 1-11.
