CN114532850B - Control method and system of water outlet device, water outlet equipment and storage medium - Google Patents
Control method and system of water outlet device, water outlet equipment and storage medium Download PDFInfo
- Publication number
- CN114532850B CN114532850B CN202210168439.XA CN202210168439A CN114532850B CN 114532850 B CN114532850 B CN 114532850B CN 202210168439 A CN202210168439 A CN 202210168439A CN 114532850 B CN114532850 B CN 114532850B
- Authority
- CN
- China
- Prior art keywords
- water outlet
- distance
- distance parameter
- controlling
- water
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47J—KITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
- A47J31/00—Apparatus for making beverages
- A47J31/44—Parts or details or accessories of beverage-making apparatus
- A47J31/46—Dispensing spouts, pumps, drain valves or like liquid transporting devices
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47J—KITCHEN EQUIPMENT; COFFEE MILLS; SPICE MILLS; APPARATUS FOR MAKING BEVERAGES
- A47J31/00—Apparatus for making beverages
- A47J31/44—Parts or details or accessories of beverage-making apparatus
- A47J31/52—Alarm-clock-controlled mechanisms for coffee- or tea-making apparatus ; Timers for coffee- or tea-making apparatus; Electronic control devices for coffee- or tea-making apparatus
Landscapes
- Engineering & Computer Science (AREA)
- Food Science & Technology (AREA)
- Devices For Dispensing Beverages (AREA)
Abstract
The invention discloses a control method and a control system of a water outlet device, water outlet equipment and a storage medium, wherein the water outlet device is arranged on the water outlet equipment and comprises a water outlet pipeline, and the control method comprises the following steps: and acquiring a first distance parameter below the water outlet in an inclined manner and a second distance parameter between nearest substances under the water outlet in real time, and adjusting the position of the water outlet pipeline in the vertical direction and the water outlet state of the water outlet according to the first distance parameter and the second distance parameter. According to the invention, by acquiring the first distance parameter between the water outlet and the nearest substance below the oblique direction and the second distance parameter between the water outlet and the nearest substance below the oblique direction in real time, the position of the water outlet pipeline in the vertical direction and the water outlet state of the water outlet can be adjusted according to the first distance parameter and the second distance parameter, so that the water outlet pipeline is accurately and effectively adjusted to a reasonable position in the vertical direction and water outlet or water cut-off is controlled, the water outlet equipment is ensured to be operated safely and conveniently by a user, and the user experience is improved.
Description
Technical Field
The invention relates to the technical field of intelligent drinking equipment, in particular to a control method and a control system for a water outlet device, water outlet equipment and a storage medium.
Background
At present, use many water outlet device of water dispenser as representative, because the application scene is various, and the environment is limited in addition, lead to the user to need constantly adjust the position of water receiving container according to the delivery port position when the water receiving, it is very inconvenient, in case water receiving container puts improper then probably leads to the rivers fall big and spill, can cause the condition such as user scald even.
Disclosure of Invention
The invention aims to overcome the defect that the water outlet of water outlet equipment in the prior art cannot meet the use requirements of users, and provides a control method and a control system of a water outlet device, the water outlet equipment and a storage medium.
The invention solves the technical problems through the following technical scheme:
the invention provides a control method of a water outlet device, wherein the water outlet device is arranged on water outlet equipment and comprises a water outlet pipeline, and the control method comprises the following steps:
acquiring a first distance parameter between a water outlet of the water outlet pipeline and a nearest substance which has a first downward inclination angle direction with the horizontal direction and a second distance parameter between the water outlet and the nearest substance right below the water outlet pipeline in real time;
and adjusting the position of the water outlet pipeline in the vertical direction and the water outlet state of the water outlet according to the first distance parameter and the second distance parameter.
Preferably, the step of adjusting the position of the water outlet pipe in the vertical direction and the water outlet state of the water outlet according to the first distance parameter and the second distance parameter comprises:
controlling the water outlet pipeline to descend, and detecting whether the first distance parameter reaches a first preset distance; the first preset distance is dynamically determined according to a second distance parameter acquired simultaneously with the first distance parameter and the first inclination angle;
and if so, controlling the water outlet pipeline to be switched to a water outlet state.
Preferably, the step of controlling the outlet pipe to switch to the outlet state includes:
and controlling the water outlet pipeline to ascend, and keeping the second distance parameter within a preset fall range.
Preferably, the step of controlling the water outlet pipe to ascend and keeping the second distance parameter within a preset fall range comprises the following steps:
and controlling the water outlet pipeline to ascend, and adjusting the ascending speed according to the second distance parameter so as to keep the second distance parameter within a preset fall range.
Preferably, before the step of adjusting the position of the water outlet pipe in the vertical direction and the water outlet state of the water outlet according to the first distance parameter and the second distance parameter, the method further comprises:
responding to a water outlet instruction of a user, controlling the water outlet pipeline to descend, and executing the step of collecting the first distance parameter and the second distance parameter in real time;
when the first distance parameter is detected to be smaller than a first trigger distance and the second distance parameter is detected to be larger than a second trigger distance, executing the step of controlling the water outlet pipeline to descend and detecting whether the first distance parameter reaches a first preset distance; wherein the second trigger parameter is dynamically determined according to the first distance parameter and the first inclination angle.
Preferably, the step of acquiring the first distance parameter and the second distance parameter in real time further includes:
when the first distance parameter is detected to be smaller than the first trigger distance and the second distance parameter is detected to be smaller than or equal to the second trigger distance, prompt information is generated; the prompt information is used for prompting a user to move the placement position of the water receiving container on the water outlet equipment.
Preferably, the step of controlling the water outlet pipe to ascend further comprises the following steps:
when the first distance parameter is detected to reach the first trigger distance, controlling the water outlet pipeline to stop rising, and judging whether the second distance parameter reaches a water cut-off trigger distance; the water cut triggering distance is determined according to the first triggering distance and the first inclination angle;
and if so, switching the water outlet pipeline to a water stop state.
Preferably, the step of controlling the water outlet pipe to descend in response to the water outlet instruction of the user comprises the following steps:
and when the first distance parameter is detected to be smaller than a first trigger distance and the water outlet pipeline reaches the lowest position, controlling the water outlet pipeline to enter a water outlet state.
The invention also provides a control system of the water outlet device, the water outlet device is arranged on the water outlet equipment and comprises a water outlet pipeline, and the control system comprises:
the acquisition module is used for acquiring a first distance parameter between a water outlet of the water outlet pipeline and a nearest substance which forms a first downward inclination angle direction with the horizontal direction in real time, and a second distance parameter between the water outlet and the nearest substance right below the water outlet pipeline;
and the adjusting module is used for adjusting the position of the water outlet pipeline in the vertical direction and the water outlet state of the water outlet according to the first distance parameter and the second distance parameter.
Preferably, the adjusting module comprises a first detecting unit and a switching water outlet unit;
the first detection unit is used for controlling the water outlet pipeline to descend and detecting whether the first distance parameter reaches a first preset distance, and if so, the switching water outlet unit is called;
the switching water outlet unit is used for controlling the water outlet pipeline to be switched into a water outlet state;
the first preset distance is dynamically determined according to a second distance parameter acquired simultaneously with the first distance parameter and the first inclination angle.
Preferably, the adjusting module further comprises:
and the fall keeping unit is used for controlling the water outlet pipeline to ascend and keeping the second distance parameter within a preset fall range.
Preferably, the drop height maintaining unit is specifically configured to control the water outlet pipe to ascend, and adjust an ascending speed according to the second distance parameter, so that the second distance parameter is maintained within a preset drop height range.
Preferably, the control system further comprises a starting module, which is used for responding to a water outlet instruction of a user, controlling the water outlet pipeline to descend and calling the collecting module; when the first distance parameter is detected to be smaller than a first trigger distance and the second distance parameter is detected to be larger than a second trigger distance, the first detection unit is called; wherein the second trigger parameter is dynamically determined according to the first distance parameter and the first inclination angle.
Preferably, the control system further includes a prompt module, configured to generate a prompt message when it is detected that the first distance parameter is smaller than the first trigger distance and the second distance parameter is smaller than or equal to the second trigger distance; the prompt information is used for prompting a user to move the placement position of the water receiving container on the water outlet equipment.
Preferably, the adjusting module further comprises:
the switching water stopping unit is used for controlling the water outlet pipeline to stop rising when the first distance parameter is detected to reach the first trigger distance, judging whether the second distance parameter reaches the water stopping trigger distance or not, and switching the water outlet pipeline to a water stopping state if the second distance parameter reaches the water stopping trigger distance;
wherein the water cut trigger distance is determined according to the first trigger distance and the first inclination angle.
Preferably, the control system further comprises a direct water outlet module, configured to control the water outlet pipe to enter a water outlet state when it is detected that the first distance parameter is smaller than the first trigger distance and the water outlet pipe has reached the lowest position.
The invention also provides a water outlet device, which comprises: the system comprises a first distance sensing unit, a second distance sensing unit, one or more processors and a memory, wherein the one or more processors are respectively in communication connection with the first distance sensing unit, the second distance sensing unit and the memory;
the first distance sensing unit is used for acquiring a first distance parameter between a water outlet of the water outlet pipeline and a nearest substance which has a first downward inclination angle direction with the horizontal direction in real time, and the second distance sensing unit is used for acquiring a second distance parameter between the water outlet and the nearest substance right below the water outlet pipeline in real time;
the memory is configured to store instructions that, when executed by the one or more processors, cause the one or more processors to perform the above-described method of controlling a water outlet apparatus.
The invention also provides water outlet equipment which comprises the water outlet device.
The present invention also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the control method of the above-described water outlet apparatus.
The positive progress effects of the invention are as follows: according to the control method and system of the water outlet device, the water outlet equipment and the storage medium, the position of the water outlet pipeline in the vertical direction and the water outlet state of the water outlet can be adjusted according to the first distance parameter and the second distance parameter by acquiring the first distance parameter between the water outlet and the nearest substance below the inclined direction and the second distance parameter between the water outlet and the nearest substance below the inclined direction in real time, so that the water outlet pipeline is accurately and effectively adjusted to a reasonable position in the vertical direction and water outlet or water cut-off is controlled, the water outlet equipment is guaranteed to be operated safely and conveniently by a user, and user experience is improved.
Drawings
Fig. 1 is a flowchart of a control method of a water outlet device in embodiment 1 of the present invention.
Fig. 2 is a block diagram of a control system of a water outlet apparatus in embodiment 2 of the present invention.
Fig. 3 is a schematic block diagram of a water outlet device in embodiment 3 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
Referring to fig. 1, the present embodiment specifically provides a control method for a water outlet apparatus, where the water outlet apparatus is disposed in a water outlet device, the water outlet apparatus includes a water outlet pipe, and the control method includes the following steps:
s1, acquiring a first distance parameter between a water outlet of a water outlet pipeline and a nearest substance which forms a downward first inclination angle direction with the horizontal direction in real time, and acquiring a second distance parameter between the water outlet and the nearest substance right below the water outlet pipeline;
and S2, adjusting the position of the water outlet pipeline in the vertical direction and the water outlet state of the water outlet according to the first distance parameter and the second distance parameter.
Step S1, respectively collecting the distances from a water outlet to the nearest substances at the oblique lower part and the nearest substances at the right lower part. The distance measurement acquisition can be carried out by adopting an infrared distance measurement sensor or an ultrasonic distance measurement sensor, and the like, and the distance measurement object can be solid, such as a water receiving platform and a water receiving container of the water outlet device, or can be liquid, such as the liquid in the water receiving container. Preferably, the first inclination angle at the obliquely lower side may be set to 30 ° to 60 °, and for convenience of description, the preferred setting of 45 ° is illustrated in this embodiment, which does not limit the present invention; so that the effective detection of the water receiving container on the water outlet device can be formed through the step S1; and accurately detecting the distance from the water outlet to the surface of the liquid in the water receiving container.
And S2, adjusting the water outlet pipeline in the vertical direction according to the first distance parameter and the second distance parameter to enable the position of the water outlet to be matched with the water receiving container, and adjusting the water outlet state, namely water outlet or water cut-off. As a preferred embodiment, step S2 includes:
s21, controlling the water outlet pipeline to descend, and detecting whether the first distance parameter reaches a first preset distance; if yes, step S22 is executed, that is, the water outlet pipe is controlled to switch to the water outlet state. The first preset distance is dynamically determined according to a second distance parameter and a first inclination angle, wherein the second distance parameter and the first distance parameter are acquired simultaneously.
Specifically, the flow rate of the water outlet equipment such as a water fountain can be calculated according to the falling height of the water flow at the moment. Assuming that the water flow falls at the height at the moment and the splashing height is 1/x of the falling height at most, the water does not splash outWherein L and D are a first distance parameter and a second distance parameter, respectively, and the first preset distance can be selectedAssuming that D is 50cm and x is 2, the first predetermined distance may be 18cm. It should be noted that, in an actual application scenario, a necessary error interval may be set for the numerical value. When the first distance isIf the distance between the water and the parameter reaches a first preset distance, the opening of the water container is smaller, and water is discharged at the position without splashing; otherwise, the opening of the container is larger, and the water outlet pipeline needs to be further adjusted downwards.
As a preferred embodiment, after the step S22 controls the water outlet pipeline to switch to the water outlet state, the method further includes the steps of:
and S23, controlling the water outlet pipeline to ascend, and keeping the second distance parameter within a preset fall range. Preferably, step S23 specifically includes: and controlling the water outlet pipeline to ascend, and adjusting the ascending speed according to the second distance parameter so as to keep the second distance parameter within a preset fall range.
Specifically, the height of the automatic water outlet pipe can be adjusted according to the second distance parameter in the ascending process of the water outlet pipe, and the liquid level and the water outlet are always kept in a preset fall range, for example, the height can be set to be 3-5cm according to an empirical value.
As a preferred embodiment, step S1 further includes, before step S:
s0. controls the water outlet pipeline to descend in response to the water outlet instruction of the user, and executes the step of collecting the first distance parameter and the second distance parameter in real time; when it is detected that the first distance parameter is smaller than the first trigger distance and the second distance parameter is greater than the second trigger distance, step S21 is executed. And the second trigger parameter is dynamically determined according to the first distance parameter and the first inclination angle.
Specifically, first trigger distance can be confirmed according to the length of water receiving platform of water outlet equipment and oblique below range finding angle to guarantee that the water receiving container on the water receiving platform can be discerned. For example, as described above, when the first inclination angle is 45 ° and the length of the water receiving table is s, the first triggering distance may be set to beAccordingly, the second trigger distance is the projection length of the first distance parameter in the vertical direction. When the first distance parameter is detected to be smaller than the first triggering distance and the second distance parameter is detected to be larger than the second triggering distance, the inner side edge of the water receiving container is monitored, and therefore the water receiving container enters the roomAnd (5) continuing the steps. Otherwise, it may be detected that the outer wall of the water receptacle is full or the water receptacle is full.
In an alternative embodiment, step S0 is followed by the steps of:
and S4, when the first distance parameter is detected to be smaller than the first trigger distance and the water outlet pipeline reaches the lowest position, controlling the water outlet pipeline to enter a water outlet state. In this step, whether the water outlet pipeline has reached the lowest can be judged by detecting the locked-rotor current reaching the transmission motor and other modes.
In another alternative embodiment, step S1 is followed by the steps of:
s3, when the first distance parameter is detected to be smaller than the first trigger distance and the second distance parameter is detected to be smaller than or equal to the second trigger distance, prompt information is generated; prompting that the placing position of the water receiving container is not aligned with the water outlet so that a user can move the placing position of the water receiving container on the water outlet equipment.
As a preferred embodiment, the method further includes, after step S23:
s24, when the first distance parameter is detected to reach the first trigger distance, controlling the water outlet pipeline to stop rising, and judging whether the second distance parameter reaches the water cut-off trigger distance; the water cut triggering distance is determined according to the first triggering distance and the first inclination angle; if yes, step S25 is executed, that is, the water outlet pipeline is switched to the water stop state. Specifically, when the first distance parameter reaches the first trigger distance, it indicates that the water receiving container is about to reach the position above the initially detected position of the water receiving container in the ascending process of the water outlet pipeline. The water cut trigger distance may be determined according to the first trigger distance, and may be set to a projection length of the first trigger distance in a vertical direction, for example.
The following is a specific application example to illustrate the control method of the water outlet device of the present embodiment, and those skilled in the art will appreciate that the numerical values and calculation methods therein do not limit the present invention.
For example, the water receiving platform of a water dispenser has a length l =80cm and a width w =40cm, and the initial water outlet pipe has a height h =60cm from the table top. The control can be divided into a main flow and an effluent sub-flow. The main flow is as follows:
s101, waiting for a user to trigger a water outlet button, and entering step S102.
S102, automatically descending the water outlet pipeline, and detecting whether the first distance parameter L is smaller than a set value K1 in real time, wherein K1 can be set according to the length of the platform and the angle of the sensorIf 2/3 (38 cm) of (theta is 45 degrees), the edge of the water container is detected, the step S103 is carried out, if not, the locked-rotor current of the transmission motor is detected, if yes, the automatic water outlet pipe is lowered to the lowest position, the step S108 is carried out, and if not, the step S102 is carried out. When the user trigger stop button is received, the process proceeds to step S109.
S103, detecting a second distance parameter D, if the distance of D is larger than that of DWithin the range, if L is 20cm at the moment, if an error value is obtained, epsilon is 1cm, and the distance D is larger than 13cm, the water outlet is not aligned with the mouth of the water container, namely the two sensors detect that the outer wall of the container is detected, or the water container is full, voice or display prompts a user to move the water container, the transmission motor is controlled to rotate reversely after the change of the value D is detected, A can obtain 5cm according to an experience value after the rising distance A of the automatic water outlet pipeline is detected, the step S102 is carried out, otherwise, the step S103 is carried out, otherwise, the automatic water outlet pipeline is aligned with the opening of the water container, and the step S104 is carried out.
S104, the first distance parameter L is smaller than a set value K2, the value of K2 can be calculated according to the flow of the water fountain and the falling height of the water flow at the moment, and if the falling height of the water flow at the moment is the distance of 1/x of the falling height, the water does not splash out and the requirement of meeting the requirement that the water does not splash out is metThe set value K2 is preferableSuppose that D is 50cm, x is 2, plus an errorIf the difference is 1cm, the K2 can be 17cm or 18cm, which indicates that the opening of the water container is smaller, water can not be splashed out when water is discharged at the position, and the step S107 is carried out; otherwise, the opening of the container is larger, the faucet needs to be further lowered, and the process goes to step S105. When the user trigger stop button is received, the process proceeds to step S109.
And S105, descending the automatic water outlet pipeline, detecting a first distance parameter L, stopping descending when the distance is less than K2, entering the step S106, and stopping the step S105 if the distance is not less than K2. When the user trigger stop button is received, the process proceeds to step S109.
S106, entering a water outlet subprogram, detecting the distance according to the second distance parameter D, adjusting the height of the automatic water outlet pipeline, controlling the transmission motor to rotate reversely, keeping the distance between the liquid level sensor and the real-time liquid level at M1, wherein M1 can be 3-5cm according to an empirical value, detecting a first distance parameter, the detected value is larger than the distance value L of the initially detected edge, assuming that L is 20cm according to the previous data, indicating that the water outlet of the automatic water outlet pipeline is at the opening of the liquid container, stopping adjusting the height of the water outlet pipeline, and entering S107, otherwise, stopping at the step S106. When the user trigger stop button is received, the process proceeds to step S109.
S107, detecting that the measured value of the first distance parameter is less thanIf the error e is 1cm, namely the distance is less than 13cm, the range is that the container is full of liquid if the extraction rule indicates that the container is full of liquid, the step S109 is carried out, otherwise, the water outlet sub-program is carried out, and the step S107 is remained. When the user trigger stop button is received, the process proceeds to step S109.
And S108, entering a water outlet subprogram, detecting whether the distance of the second distance parameter D is less than M2, wherein the M2 can be obtained from the automatic water outlet pipeline according to an empirical value and is descended to 1/3 of the lowest height from the table board, if so, indicating that the container is full of liquid, entering a step S109, and otherwise, staying at the step S108. When the user trigger stop button is received, the process proceeds to step S109.
S109, stopping water outlet, controlling the transmission motor to rotate reversely, enabling the automatic water outlet pipeline to ascend, judging whether the locked-rotor current of the motor is detected, if so, indicating that the automatic water outlet pipeline returns to the highest point, continuing to enter the step S110, otherwise, stopping at the step S109.
And S110, ending the water outlet operation.
The water outlet sub-program comprises: and detecting whether the second distance parameter D is in a decreasing trend in the water outlet process, if the second distance parameter D is not in the decreasing trend for N consecutive seconds, judging that the outlet of the water outlet pipeline is not positioned at the opening of the container or the water reaches the maximum value, and entering the step S109 of the main flow.
According to the control method of the water outlet device, the position of the water outlet pipeline in the vertical direction and the water outlet state of the water outlet can be adjusted according to the first distance parameter and the second distance parameter by acquiring the first distance parameter between the water outlet and the nearest substance below the inclined position in real time and the second distance parameter between the water outlet and the nearest substance below the inclined position, so that the water outlet pipeline is accurately and effectively adjusted to a reasonable position in the vertical direction and is discharged or stopped, the safety and convenience of a user in operating the water outlet equipment are guaranteed, and the user experience is improved.
Example 2
Referring to fig. 2, this embodiment specifically provides a control system of a water outlet apparatus, the water outlet apparatus is disposed in a water outlet device, the water outlet apparatus includes a water outlet pipe, and the control system includes:
the acquisition module 1 is used for acquiring a first distance parameter between a water outlet at the bottom of the water outlet pipeline and a nearest substance which forms a first downward inclination angle direction with the horizontal direction and a second distance parameter between the water outlet and the nearest substance right below the water outlet pipeline in real time;
and the adjusting module 2 is used for adjusting the position of the water outlet pipeline in the vertical direction and the water outlet state of the water outlet according to the first distance parameter and the second distance parameter.
The acquisition module 1 respectively acquires the distance from the water outlet to the nearest substances below and obliquely below the water outlet. The distance measurement acquisition can be carried out by adopting an infrared distance measurement sensor or an ultrasonic distance measurement sensor, and the like, and the distance measurement object can be solid, such as a water receiving platform and a water receiving container of the water outlet device, or can be liquid, such as the liquid in the water receiving container. Preferably, the first inclination angle at the obliquely lower side may be set to 30 ° to 60 °, and for convenience of description, the preferred setting of 45 ° is illustrated in this embodiment, which does not limit the present invention; therefore, the water receiving container on the water outlet equipment can be effectively detected through the acquisition module 1; and accurately detecting the distance from the water outlet to the surface of the liquid in the water receiving container.
The adjusting module 2 adjusts the water outlet pipeline in the vertical direction according to the first distance parameter and the second distance parameter, so that the position of the water outlet is matched with the water receiving container, and the water outlet state is adjusted, namely water is discharged or water is cut off.
As a preferred embodiment, the adjusting module 2 comprises a first detecting unit 21 and a switching water outlet unit 22; the first detection unit 21 is configured to control the water outlet pipeline to descend, and detect whether the first distance parameter reaches a first preset distance, if so, the switching water outlet unit 22 is called; the switching water outlet unit 22 is used for controlling the water outlet pipeline to be switched into a water outlet state; the first preset distance is dynamically determined according to a second distance parameter and the first inclination angle, wherein the second distance parameter and the first distance parameter are acquired simultaneously.
Specifically, the flow rate of the water outlet equipment such as a water fountain can be calculated according to the falling height of the water flow at the moment. Assuming that the water flow falls at the height at the moment and the splashing height is 1/x of the falling height at most, the water does not splash outWherein L and D are a first distance parameter and a second distance parameter, respectively, and the first preset distance can be takenAssuming that D is 50cm and x is 2, the first predetermined distance may be 18cm. When the first distance parameter reaches a first preset distance, the opening of the water container is smaller, and water is discharged at the position without splashing; otherwise, the opening of the container is larger, and the water outlet pipeline needs to be further adjusted downwards.
As a preferred embodiment, the adjusting module 2 further includes a fall height maintaining unit 23, configured to control the water outlet pipe to ascend and maintain the second distance parameter within a preset fall height range, and specifically, to control the water outlet pipe to ascend and adjust the ascending speed according to the second distance parameter, so as to maintain the second distance parameter within the preset fall height range. For example, the height of the automatic water outlet pipe can be adjusted according to the second distance parameter in the ascending process of the water outlet pipe, and the liquid level and the water outlet are always kept in a preset fall range, for example, the height can be set to be 3-5cm according to an empirical value.
As a preferred embodiment, the control system further includes a starting module 10, configured to respond to a water outlet instruction of a user, control the water outlet pipeline to descend, and call the collecting module; when the first distance parameter is detected to be smaller than the first trigger distance and the second distance parameter is detected to be larger than the second trigger distance, the first detection unit 21 is called; and the second trigger parameter is dynamically determined according to the first distance parameter and the first inclination angle.
Specifically, first trigger distance can be confirmed according to the length of water receiving platform of water outlet equipment and oblique below range finding angle to guarantee that the water receiving container on the water receiving platform can be discerned. For example, as described above, when the first inclination angle is 45 ° and the length of the water receiving table is s, the first triggering distance may be set to beAccordingly, the second trigger distance is the projection length of the first distance parameter in the vertical direction. When the first distance parameter is detected to be smaller than the first triggering distance and the second distance parameter is detected to be larger than the second triggering distance, the inner side edge of the water receiving container is monitored, and then the subsequent steps are carried out. Otherwise it may be detected that the outer wall of the receptacle is full or that the receptacle is full.
In an optional embodiment, the control system further includes a prompt module 4, configured to generate a prompt message when it is detected that the first distance parameter is smaller than the first trigger distance and the second distance parameter is smaller than or equal to the second trigger distance; prompting that the arrangement position of the water receiving container is not aligned with the water outlet so that a user can move the arrangement position of the water receiving container on the water outlet equipment.
In another alternative embodiment, the control system further comprises a direct water outlet module 3 for controlling the water outlet pipe to enter the water outlet state when the first distance parameter is detected to be smaller than the first trigger distance and the water outlet pipe reaches the lowest position. Whether the water outlet pipeline reaches the lowest level can be judged by detecting the locked-rotor current reaching the transmission motor and the like.
As a preferred embodiment, the adjusting module 2 further includes a switching water-stopping unit 24, configured to control the water outlet pipeline to stop rising when it is detected that the first distance parameter reaches the first trigger distance, and determine whether the second distance parameter reaches the water-stopping trigger distance, if yes, switch the water outlet pipeline to a water-stopping state; and the water stopping triggering distance is determined according to the first triggering distance and the first inclination angle. Specifically, when the first distance parameter reaches the first trigger distance, it indicates that the water receiving container is about to reach the position above the initially detected position of the water receiving container in the ascending process of the water outlet pipeline. The water cut trigger distance may be determined according to the first trigger distance, and may be set to a projection length of the first trigger distance in a vertical direction, for example.
The control system of the water outlet device of the embodiment can adjust the position of the water outlet pipeline in the vertical direction and the water outlet state of the water outlet according to the first distance parameter and the second distance parameter by acquiring the first distance parameter between the water outlet and the nearest substance below in real time and the second distance parameter between the water outlet and the nearest substance below, thereby accurately and effectively adjusting the water outlet pipeline to a reasonable position in the vertical direction and discharging water or stopping water, ensuring the safety of a user, conveniently operating water outlet equipment, and improving the user experience.
Example 3
Referring to fig. 3, the embodiment specifically provides a water outlet apparatus, which includes a first distance sensing unit 61, a second distance sensing unit 62, one or more processors 63 and a memory 64, wherein the one or more processors 63 are respectively connected to the first distance sensing unit 61, the second distance sensing unit 62 and the memory 64 in a communication manner.
The first distance sensing unit 61 is used for acquiring a first distance parameter between the water outlet of the water outlet pipeline and a nearest substance which has a first downward inclination angle direction with the horizontal direction in real time, and the second distance sensing unit 62 is used for acquiring a second distance parameter between the water outlet and the nearest substance right below the water outlet pipeline in real time; the memory 64 is configured to store instructions that, when executed by the one or more processors, cause the one or more processors 63 to perform a method of controlling a water outlet apparatus as in embodiment 1.
The water outlet device of the embodiment can adjust the position of the water outlet pipeline in the vertical direction and the water outlet state of the water outlet according to the first distance parameter and the second distance parameter by acquiring the first distance parameter between the water outlet and the nearest substance below the oblique direction and the second distance parameter between the water outlet and the nearest substance below the oblique direction in real time, so that the water outlet pipeline is accurately and effectively adjusted to a reasonable position in the vertical direction and is discharged or stopped, the safety of a user is ensured, the water outlet equipment is conveniently operated, and the user experience is improved.
Example 4
The embodiment provides a water outlet device, which comprises the water outlet device in the embodiment 3. Preferably, the water outlet device includes, but is not limited to, a water dispenser, a drinking water vending machine, a coffee machine, a water purifier, and the like.
According to the water outlet device, the position of the water outlet pipeline in the vertical direction and the water outlet state of the water outlet can be adjusted according to the first distance parameter and the second distance parameter by enabling the water outlet device to collect the first distance parameter between the water outlet and the nearest substance below the inclined plane in real time and the second distance parameter between the water outlet and the nearest substance below the inclined plane, so that the water outlet pipeline is accurately and effectively adjusted to a reasonable position in the vertical direction and is used for water outlet or water cut off, the safety and convenience of a user are guaranteed, and the user experience is improved.
Example 5
The present embodiment provides a computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the control method of the water outlet apparatus in embodiment 1.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation, the present invention can also be implemented in the form of a program product, which includes program code for causing a terminal device to execute a control method for implementing the water outlet apparatus in embodiment 1 when the program product runs on the terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may execute entirely on the user's device, partly on the user's device, as a stand-alone software package, partly on the user's device, partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.
Claims (11)
1. A control method of a water outlet device is characterized in that the water outlet device is arranged on water outlet equipment and comprises a water outlet pipeline, and the control method comprises the following steps:
acquiring a first distance parameter between a water outlet of the water outlet pipeline and a nearest substance which has a first downward inclination angle direction with the horizontal direction and a second distance parameter between the water outlet and the nearest substance right below the water outlet pipeline in real time;
adjusting the position of the water outlet pipeline in the vertical direction and the water outlet state of the water outlet according to the first distance parameter and the second distance parameter;
the step of adjusting the position of the water outlet pipeline in the vertical direction and the water outlet state of the water outlet according to the first distance parameter and the second distance parameter comprises the following steps:
controlling the water outlet pipeline to descend, and detecting whether the first distance parameter reaches a first preset distance; the first preset distance is dynamically determined according to a second distance parameter acquired simultaneously with the first distance parameter and the first inclination angle;
and if so, controlling the water outlet pipeline to be switched to a water outlet state.
2. The method for controlling the water outlet device according to claim 1, wherein the step of controlling the water outlet pipeline to switch to the water outlet state comprises the following steps:
and controlling the water outlet pipeline to ascend, and keeping the second distance parameter within a preset fall range.
3. The method for controlling the water outlet device according to claim 2, wherein the step of controlling the water outlet pipe to ascend and keeping the second distance parameter within a preset fall range comprises:
and controlling the water outlet pipeline to ascend, and adjusting the ascending speed according to the second distance parameter so as to keep the second distance parameter within a preset fall range.
4. The method for controlling a water outlet device according to claim 2, wherein the step of adjusting the position of the water outlet pipe in the vertical direction and the water outlet state of the water outlet according to the first distance parameter and the second distance parameter further comprises:
responding to a water outlet instruction of a user, controlling the water outlet pipeline to descend, and executing the step of collecting the first distance parameter and the second distance parameter in real time;
when the first distance parameter is detected to be smaller than a first trigger distance and the second distance parameter is detected to be larger than a second trigger distance, executing the step of controlling the water outlet pipeline to descend and detecting whether the first distance parameter reaches a first preset distance; wherein the second trigger distance is dynamically determined according to the first distance parameter and the first tilt angle.
5. The method for controlling a water outlet device according to claim 4, wherein the step of acquiring the first distance parameter and the second distance parameter in real time further comprises:
when the first distance parameter is detected to be smaller than the first trigger distance and the second distance parameter is detected to be smaller than or equal to the second trigger distance, prompt information is generated; the prompt information is used for prompting a user to move the placement position of the water receiving container on the water outlet equipment.
6. The method for controlling a water outlet device according to claim 4, wherein the step of controlling the water outlet pipe to ascend further comprises the following steps:
when the first distance parameter is detected to reach the first trigger distance, controlling the water outlet pipeline to stop rising, and judging whether the second distance parameter reaches a water cut-off trigger distance; the water cut triggering distance is determined according to the first triggering distance and the first inclination angle;
and if so, switching the water outlet pipeline to a water stop state.
7. The method of claim 4, wherein the step of controlling the lowering of the outlet conduit in response to the user's outlet command is followed by the steps of:
and when the first distance parameter is detected to be smaller than a first trigger distance and the water outlet pipeline reaches the lowest position, controlling the water outlet pipeline to enter a water outlet state.
8. A control system of a water outlet device, wherein the water outlet device is arranged on a water outlet device and comprises a water outlet pipeline, the control system comprises:
the acquisition module is used for acquiring a first distance parameter between a water outlet at the bottom of the water outlet pipeline and a nearest substance which forms a first downward inclination angle direction with the horizontal direction in real time, and a second distance parameter between the water outlet and the nearest substance right below the water outlet;
the adjusting module is used for adjusting the position of the water outlet pipeline in the vertical direction and the water outlet state of the water outlet according to the first distance parameter and the second distance parameter;
the adjusting module comprises a first detecting unit and a switching water outlet unit;
the first detection unit is used for controlling the water outlet pipeline to descend and detecting whether the first distance parameter reaches a first preset distance; the first preset distance is dynamically determined according to the second distance parameter and the first inclination angle which are acquired simultaneously with the first distance parameter;
if so, calling the switching water outlet unit;
the switching water outlet unit is used for controlling the water outlet pipeline to be switched into a water outlet state.
9. A water output device, characterized in that the water output device comprises: the system comprises a first distance sensing unit, a second distance sensing unit, one or more processors and a memory, wherein the one or more processors are respectively in communication connection with the first distance sensing unit, the second distance sensing unit and the memory;
the first distance sensing unit is used for acquiring a first distance parameter between a water outlet of the water outlet pipeline and a nearest substance which forms a first downward inclination angle direction with the horizontal direction in real time, and the second distance sensing unit is used for acquiring a second distance parameter between the water outlet and the nearest substance right below the water outlet pipeline in real time;
the memory is configured to store instructions that, when executed by the one or more processors, cause the one or more processors to perform a method of controlling a water outlet apparatus as claimed in any one of claims 1 to 7.
10. A water outlet device, characterized in that it comprises a water outlet device according to claim 9.
11. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of controlling a water outlet device according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210168439.XA CN114532850B (en) | 2022-02-23 | 2022-02-23 | Control method and system of water outlet device, water outlet equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210168439.XA CN114532850B (en) | 2022-02-23 | 2022-02-23 | Control method and system of water outlet device, water outlet equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114532850A CN114532850A (en) | 2022-05-27 |
CN114532850B true CN114532850B (en) | 2023-02-14 |
Family
ID=81676877
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210168439.XA Active CN114532850B (en) | 2022-02-23 | 2022-02-23 | Control method and system of water outlet device, water outlet equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114532850B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202287831U (en) * | 2011-07-24 | 2012-07-04 | 九阳股份有限公司 | Induction type water dispenser |
CN204743794U (en) * | 2015-06-29 | 2015-11-11 | 美的集团股份有限公司 | Automatic collect water device |
CN210582187U (en) * | 2019-04-26 | 2020-05-22 | 北京智米科技有限公司 | Water dispenser with anti-overflow function |
CN111568212A (en) * | 2020-02-28 | 2020-08-25 | 佛山市云米电器科技有限公司 | Water dispenser control method, water dispenser and computer readable storage medium |
CN111568244A (en) * | 2020-02-29 | 2020-08-25 | 佛山市云米电器科技有限公司 | Water dispenser control method, water dispenser and computer readable storage medium |
CN213962983U (en) * | 2020-11-11 | 2021-08-17 | 神州顶联科技有限公司 | Splashproof campus sharing water dispenser |
CN213993275U (en) * | 2020-10-22 | 2021-08-20 | 新疆爱华盈通信息技术有限公司 | Intelligent drinking machine |
CN113397385A (en) * | 2021-07-19 | 2021-09-17 | 珠海格力电器股份有限公司 | Water outlet aligning device of drinking equipment and drinking equipment |
CN214270559U (en) * | 2020-08-18 | 2021-09-24 | 纯米科技(上海)股份有限公司 | Water purifying drinking machine |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN206275599U (en) * | 2016-08-26 | 2017-06-27 | 北京京世伟业科技发展有限公司 | The boiler of safety water intaking |
US11297975B2 (en) * | 2019-05-14 | 2022-04-12 | Lg Electronics Inc. | Hydrogen water generator |
KR102284461B1 (en) * | 2019-07-18 | 2021-07-30 | 엘지전자 주식회사 | Water purifier and control method thereof |
CN111568229A (en) * | 2020-02-29 | 2020-08-25 | 佛山市云米电器科技有限公司 | Water outlet device control method, water outlet device and computer readable storage medium |
CN112535406A (en) * | 2020-11-24 | 2021-03-23 | 珠海格力电器股份有限公司 | Water taking device, control method of water taking device and control device |
-
2022
- 2022-02-23 CN CN202210168439.XA patent/CN114532850B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202287831U (en) * | 2011-07-24 | 2012-07-04 | 九阳股份有限公司 | Induction type water dispenser |
CN204743794U (en) * | 2015-06-29 | 2015-11-11 | 美的集团股份有限公司 | Automatic collect water device |
CN210582187U (en) * | 2019-04-26 | 2020-05-22 | 北京智米科技有限公司 | Water dispenser with anti-overflow function |
CN111568212A (en) * | 2020-02-28 | 2020-08-25 | 佛山市云米电器科技有限公司 | Water dispenser control method, water dispenser and computer readable storage medium |
CN111568244A (en) * | 2020-02-29 | 2020-08-25 | 佛山市云米电器科技有限公司 | Water dispenser control method, water dispenser and computer readable storage medium |
CN214270559U (en) * | 2020-08-18 | 2021-09-24 | 纯米科技(上海)股份有限公司 | Water purifying drinking machine |
CN213993275U (en) * | 2020-10-22 | 2021-08-20 | 新疆爱华盈通信息技术有限公司 | Intelligent drinking machine |
CN213962983U (en) * | 2020-11-11 | 2021-08-17 | 神州顶联科技有限公司 | Splashproof campus sharing water dispenser |
CN113397385A (en) * | 2021-07-19 | 2021-09-17 | 珠海格力电器股份有限公司 | Water outlet aligning device of drinking equipment and drinking equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114532850A (en) | 2022-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109998377B (en) | Method and device for controlling fluid flow, computer equipment and storage medium | |
KR101897572B1 (en) | Apparatus for automatic fluid extracting and method for the same | |
CN211324418U (en) | Full-automatic liquid injection system of liquid drinking machine and liquid drinking machine | |
CN114532850B (en) | Control method and system of water outlet device, water outlet equipment and storage medium | |
CN211650551U (en) | Dehumidifier | |
NO146526B (en) | PROCEDURE FOR REGULATING THE SUCCESSION OF AIR OR FLUID SUSPENSIBLE MATERIAL, AND APPARATUS FOR EXERCISING THE PROCEDURE | |
CN111023333A (en) | Dehumidifier and dehumidifier control method | |
KR20170082464A (en) | Wire electric discharge machine | |
CN105537186A (en) | Automatic cleaning device and method for graphite boat | |
CN108245018B (en) | Water dispenser and control method thereof | |
CN106284525A (en) | There is the water tank of gravity sensing function and the Drinking fountain with this water tank | |
KR20130102444A (en) | Apparatus for automatic fluid extracting and method for the same | |
US11661240B2 (en) | Liquid supply system | |
US5154538A (en) | Method and apparatus for removing a liquid phase floating on a surface of groundwater | |
JP2007263028A (en) | Automatic operation type submerged pump | |
CN111156616A (en) | Intelligent humidifying and dehumidifying device, system and method | |
KR101522893B1 (en) | Automated water feeder | |
JP2010115571A (en) | Water treatment device | |
CN108549422A (en) | Water Level Regulating System and its adjusting method | |
JP2002001324A (en) | Device for sampling surface layer liquid | |
CN113465184A (en) | Water heater control method, device, equipment and storage medium | |
CN114224174A (en) | Method and device for automatically stopping water of water purifying and drinking machine, computer equipment and storage medium | |
CN217185703U (en) | Water outlet equipment and water outlet device thereof | |
CN111568201A (en) | Water outlet control method, water dispenser and computer readable storage medium | |
CN111568178A (en) | Water outlet device control method, water outlet device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |