Drainage control method of bathroom equipment, controller, bathroom equipment and computer readable storage medium
By introducing an automated water level detection and control system into the bathroom equipment, the problems of overflow structure exposure and manual operation are solved, and seamless automatic water level control is achieved to ensure the aesthetics and hygiene of the equipment.
Patent Information
- Application Number
- CN202410740426.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-08
- Publication Date
- 2024-11-08
AI Technical Summary
The overflow structure of existing bathroom equipment is exposed on the water surface for a long time, which makes it unsightly and hygienic and difficult to clean. It requires manual operation of the user to drain when the water level exceeds the preset value, and lacks automatic control.
Design a drainage control method for bathroom equipment, obtain the current water level through the water level detection module. If it is higher than the allowed maximum water level, the overflow component will be automatically controlled to drain water at a preset speed, and the accumulated water inlet time will be accumulated when the module is faulty or water level fluctuates. Just make sure that the water level falls at a higher speed; at the same time, if the water level is higher than the preset inlet water level, stop water supply.
Automatic drainage without user on-site monitoring is achieved, water overflow and sanitation problems are avoided, and the aesthetics and convenience of the equipment are improved.
Smart Images

Figure CN118915831A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of bathroom equipment, and in particular to a drainage control method for bathroom equipment, a controller, bathroom equipment and a computer-readable storage medium. Background Art
[0002] Most of the equipment used to hold water for bathing or cleaning, such as bathtubs and sinks, are provided with overflow ports. The overflow ports are usually formed by opening a hole at the highest water level set on the inner wall of the equipment, and are connected to the main drain port through a pipe with a smaller diameter than the main drain port. When the water level reaches the above-mentioned highest water level and the water inlet is not shut off in time, the water can be drained from the overflow port to the main drain port to be discharged, thereby preventing the water from overflowing the equipment and overflowing from the edge of the equipment. This type of overflow structure has low cost and simple structure, but a hole must be opened on the equipment, and this hole is exposed on the water surface for a long time, which is not beautiful. At the same time, the overflow port is a sanitary dead corner that is difficult to clean. It is easy to hide dirt and grime after a long time of use, causing sanitary problems. In view of this problem, the prior art proposes a bathroom equipment with an overflow structure at the bottom, which solves the above problem, but this overflow structure requires manual operation by the user to play the function of draining water when the water level exceeds the preset value. Summary of the invention
[0003] Based on this, it is necessary to provide a drainage control method, controller, bathroom equipment and computer-readable storage medium for bathroom equipment to address the existing overflow problem of bathroom equipment.
[0004] According to a first aspect of the present invention, a drainage control method for bathroom equipment is provided, wherein the bathroom equipment comprises a water supply mechanism and a water storage body, wherein the water supply mechanism is used to supply water to the water storage body, and an overflow assembly is provided at the bottom of the water storage body, wherein the overflow assembly is used to discharge water in the water storage body, and the drainage control method comprises: The current water level of the water storage body is obtained. If the current water level is higher than the maximum water level allowed by the water storage body, the overflow assembly is controlled to drain water at a first preset drainage speed.
[0005] In one of the embodiments, if the duration of the current water level being higher than the maximum water level allowed by the water storage body is greater than a first preset threshold, the overflow assembly is controlled to drain water at a first preset speed.
[0006] In one embodiment, the drainage control method also includes obtaining the cumulative water inflow time T3 in the process of the third preset water level reaching the second preset water level, and obtaining the cumulative water inflow time T2 after the water level reaches the second preset water level. If T2≥KT3, the overflow component is controlled to drain at a second preset drainage speed, the third preset water level is lower than the second preset water level, the second preset water level is lower than the maximum water level allowed by the water storage body, the height difference between the third preset water level and the second preset water level is equal to the height difference between the second preset water level and the maximum water level allowed by the water storage body, and K is the width difference between the upper and lower ends of the water storage body, in cm.
[0007] In one embodiment, the control method also includes obtaining the current cumulative water inflow time T, and if T≥Y / X / H*A*K, controlling the overflow component to drain water at a third preset speed, wherein Y is the capacity of the water storage body, in L, X is the maximum flow rate of water inflowing into the water storage body, in L / min, H is the height of the water storage body, in cm, and A is the height difference between the first preset water level and the third preset water level, in cm.
[0008] In one embodiment, the first preset speed is equal to the second preset speed, and the third preset speed is greater than the first preset speed.
[0009] In one of the embodiments, if the current water level is higher than a preset water inlet level, the water supply mechanism is controlled not to supply water to the water storage body.
[0010] In one of the embodiments, the preset water inlet level is any one of the first preset water level, the second preset water level or the third preset water level.
[0011] In one of the embodiments, if the duration of the current water level being higher than the preset water inlet level is greater than a second preset time value, the water supply mechanism is controlled not to supply water to the water storage body.
[0012] According to a second aspect of the present invention, a controller is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the drainage control method as described in the first aspect when executing the computer program.
[0013] According to a third aspect of the present invention, a bathroom device is provided, which includes a water storage body, a water supply mechanism, an overflow component and a water level detection module, the water supply mechanism is used to supply water to the water storage body, the overflow component is arranged at the bottom of the water storage body, and is used to discharge water in the water storage body, the water level detection module is arranged on the side wall of the water storage body, and the bathroom device also includes a controller as described in the second aspect of the present invention, and the controller is electrically connected to the water supply mechanism, the water level detection module and the overflow component respectively.
[0014] In some embodiments, the water level detection module is a first water level sensor, a second water level sensor and a third water level sensor arranged from top to bottom along the height direction of the water storage body, the first water level sensor is arranged at the highest water level height allowed by the water storage body, the height difference between the second water level sensor and the first water level sensor is equal to the height difference between the second water level sensor and the third water level sensor, and the first water level sensor, the second water level sensor and the third water level sensor are all electrically connected to the controller.
[0015] In some embodiments, the water supply mechanism includes a water inlet mechanism and an electronic thermostatic water inlet valve, the water inlet mechanism is connected to the electronic thermostatic water inlet valve, and the water flowing out of the water inlet mechanism is temperature-controlled by the electronic thermostatic water inlet valve and then flows into the water storage body.
[0016] According to a fourth aspect of the present invention, there is provided a computer-readable storage medium storing computer-executable instructions for executing the drainage control method for bathroom equipment as described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings constituting a part of this application are used to provide a further understanding of the present invention. The illustrative embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.
[0018] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0019] Figure 1 A flow chart of a drainage control method provided by an embodiment of the present invention; Figure 2 A flow chart of a drainage control method provided by an embodiment of the present invention; Figure 3 A schematic diagram of the structure of a bathroom device provided by an embodiment of the present invention; Figure 4 This is a schematic diagram of the structure of bathroom equipment provided by an embodiment of the present invention.
[0020] Explanation of the accompanying drawings: water storage body 1, first water supply mechanism 21, first water supply mechanism water outlet 211, second water supply mechanism 22, second water supply mechanism water outlet 221, electronic thermostatic water inlet valve 23, overflow assembly 3, first water level sensor 41, second water level sensor 42, third water level sensor 43, controller 5, overflow assembly mounting hole 6. DETAILED DESCRIPTION
[0021] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.
[0022] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0023] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0024] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like 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 an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0025] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0026] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "upper", "lower", "left", "right" and similar expressions used herein are for illustrative purposes only and are not intended to be the only implementation method.
[0027] An embodiment of the present invention provides a drainage control method for bathroom equipment, wherein the bathroom equipment includes a water supply mechanism and a water storage body, wherein the water supply mechanism is used to supply water to the water storage body, and an overflow assembly is provided at the bottom of the water storage body, wherein the overflow assembly is used to discharge water in the water storage body, and the drainage control method includes: The current water level of the water storage body is obtained. If the current water level is higher than the maximum water level allowed by the water storage body, the overflow assembly is controlled to drain water at a first preset drainage speed.
[0028] In this embodiment, by detecting whether the water level is higher than the maximum allowable water level, drainage is performed at a first preset speed if so, thereby eliminating the need for the user to monitor the water level on site and manually control the overflow assembly to discharge the water in the water storage body when the water level exceeds the maximum allowable water level.
[0029] In some embodiments, if the duration of the current water level being higher than the maximum water level allowed by the water storage body is greater than a first preset threshold, the overflow assembly is controlled to drain water at a first preset speed.
[0030] Since the water surface in the water storage body will fluctuate to a certain extent when water is inflowing, which may lead to inaccurate water level detection, in this embodiment, only when the current water level is higher than the maximum water level allowed by the water storage body for a duration greater than a first preset threshold value, the water level is considered to be higher than the maximum water level, and then the overflow assembly is controlled to drain water to eliminate the influence of water surface fluctuations when water is inflowing. In this embodiment, the first preset threshold value is 10 seconds.
[0031] In some embodiments, Figure 1 As shown, the drainage control method also includes: obtaining the cumulative water inflow time T3 in the process of the third preset water level reaching the second preset water level, obtaining the cumulative water inflow time T2 after the water level reaches the second preset water level, if T2≥KT3, then controlling the overflow component to drain at the second preset drainage speed, the third preset water level height is lower than the second preset water level, the second preset water level height is lower than the maximum water level allowed by the water storage body, the height difference between the third preset water level and the second preset water level is equal to the height difference between the second preset water level and the maximum water level allowed by the water storage body, K is the width difference between the upper end and the lower end of the water storage body, and the unit is cm.
[0032] This embodiment takes into account that the water level detection module may malfunction and fail to detect that the water level has reached the maximum allowable water level, resulting in the water level being higher than the maximum allowable water level and unable to drain automatically, causing water to overflow the water storage body and flow onto the ground, causing trouble to the user. Therefore, in this embodiment, it is further detected whether T2 ≥ KT3, wherein T3 is the cumulative water inflow time in the process of the third preset water level reaching the second preset water level, and T2 is the cumulative water inflow time after the water level reaches the second preset water level. The height of the third preset water level is lower than the second preset water level, and the height of the second preset water level is lower than the maximum allowable water level of the water storage body. The height difference between the third preset water level and the second preset water level is equal to the height difference between the second preset water level and the maximum allowable water level of the water storage body, and K is the height difference between the upper end of the water storage body and the The width difference at the lower end is in cm. In this way, based on the time T3 for the third preset water level to reach the second preset water level, the time KT3 for the second preset water level to reach the maximum water level allowed by the water storage body is inferred. When the cumulative water inflow time after the water level reaches the second preset water level is greater than or equal to KT3, it means that the current water level is already higher than the maximum water level allowed by the water storage body, and drainage is required to make the water level drop below the maximum water level allowed by the water storage body. Therefore, in this embodiment, when T2≥KT3 is satisfied, the water is drained at the second preset speed. In this way, even if the water level detection module fails to detect the maximum water level, as long as it can still detect the second and third water levels, the bathroom equipment can still effectively start drainage when the water level exceeds the maximum water level allowed by the water storage body, so as to prevent the water from exceeding the maximum allowable water level and causing unnecessary trouble.
[0033] In some embodiments, Figure 2 As shown, the drainage control method also includes obtaining the current cumulative water inflow time T, and if T≥Y / X / H*A*K, controlling the overflow component to drain water at a third preset speed, the second preset speed is greater than the first preset speed, wherein Y is the capacity of the water storage body, in units of L, X is the maximum flow rate of water inflowing into the water storage body, in units of L / min, H is the height of the water storage body, in units of cm, and A is the height difference between the first preset water level and the third preset water level, in units of cm.
[0034] In order to avoid that both the maximum water level allowed and the second preset water level fail to be detected, resulting in the water level in the water storage body exceeding the maximum water level allowed and still unable to start draining, and the water level continues to rise or even overflows from the water storage body and flows to the ground, the present embodiment determines whether the current water storage body is likely to be full of water by calculating the cumulative water inflow time, that is, if the drainage is still not started, it may cause water to overflow from the edge of the water storage body, flow to the ground and wet the floor, and when the cumulative water inflow time reaches the threshold, the overflow component is controlled to start draining, ensuring that even if both the maximum water level and the second preset water level fail to be detected, even if the water in the water storage body exceeds the maximum water level allowed, it will not overflow from the water storage body and overflow from the edge of the water storage body to wet the ground.
[0035] In some embodiments, the first preset speed is equal to the second preset speed, and the third preset speed is greater than the first preset speed.
[0036] When it is detected that the current water level is higher than the maximum water level allowed by the water storage body, or T2≥KT3, it means that the current water level is higher than the maximum water level allowed, so the drainage speed in the two cases is the same. When T≥Y / X / H*A*K, the current water may have filled the water storage body and is about to overflow along the upper edge of the water storage body, so the drainage speed in this case is greater.
[0037] In some embodiments, if the current water level is higher than a preset water inlet level, the water supply mechanism is controlled not to supply water to the water storage body.
[0038] The user can set a preset water inlet level in advance. When it is detected that the current water level is higher than the preset water inlet level, the water supply mechanism is controlled to stop supplying water. In this way, the user does not need to monitor the water level on site, which improves the convenience of use.
[0039] In some embodiments, the preset water inlet level is any one of the first preset water level, the second preset water level or the third preset water level.
[0040] In some embodiments, in one of the embodiments, if the duration of the current water level being higher than the preset water inlet level is greater than a second preset time value, the water supply mechanism is controlled not to supply water to the water storage body.
[0041] The water surface will fluctuate when water is entering, which may cause the current water level value to be inaccurate. Therefore, in this embodiment, if the current water level is higher than the preset water inlet level for a period of time greater than a second preset time value, it is considered that the water level has reached the preset water inlet level, and water supply to the water storage body is stopped.
[0042] An embodiment of the present invention provides a controller, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the drainage control method as described in the first aspect when executing the computer program.
[0043] It is worth noting that since the drainage control method of the above embodiments can be executed in the controller of the embodiment of the present invention, the specific implementation manner and technical effects of the controller of this embodiment can refer to the specific implementation manner and technical effects of the drainage control method of any of the above embodiments.
[0044] One embodiment of the present invention provides a bathroom device, such as Figure 3 and Figure 4As shown, the bathroom equipment includes a water storage body 1, a water supply mechanism, an overflow component 3 and a water level detection module. The water supply mechanism is used to supply water to the water storage body 1. An overflow component mounting hole 6 is provided at the bottom of the water storage body 1. The overflow component 3 is installed at the overflow component mounting hole 6 and is connected to a drain pipe 7 for discharging water in the water storage body 1. The water level detection module is provided on the side wall of the water storage body 1. The bathroom equipment also includes a controller 5 as described in the aforementioned embodiment, and the controller 5 is electrically connected to the water supply mechanism, the water level detection module and the overflow component 3, respectively.
[0045] In some embodiments, the water level detection module is a first water level sensor 41, a second water level sensor 42 and a third water level sensor 43 arranged from top to bottom along the height direction of the water storage body 1. The first water level sensor 41 is set at the highest water level height allowed by the water storage body 1. The height difference between the second water level sensor 42 and the first water level sensor 41 is equal to the height difference between the second water level sensor 42 and the third water level sensor 43. The first water level sensor 41, the second water level sensor 42 and the third water level sensor 43 are all electrically connected to the controller 5.
[0046] In some embodiments, the water supply mechanism includes a water inlet mechanism and an electronic thermostatic water inlet valve 23, the water inlet mechanism is connected to the electronic thermostatic water inlet valve 23, and the water flowing out of the water inlet mechanism is temperature-controlled by the electronic thermostatic water inlet valve 23 and then flows into the water storage body.
[0047] In some embodiments, the water inlet mechanism includes a first water inlet mechanism 21 and a second water inlet mechanism 22, and the first water inlet mechanism 21 and the second water inlet mechanism 22 are both connected to the electronic thermostatic water inlet valve 23. The water outlet 211 of the first water inlet mechanism 21 is arranged on the side wall of the water storage body 1, and the water outlet 221 of the second water inlet mechanism 22 is arranged on the top wall of the water storage body 1.
[0048] In some embodiments, the water outlet 221 of the second water inlet mechanism 22 may be a shower head.
[0049] In some embodiments, the specific structure of the overflow component can refer to the structure of the drainage mechanism disclosed by the applicant in the invention patent application with patent application number 202211084129.6, wherein the driving component is specifically a stepper motor, and the stepper motor is electrically connected to the controller 5.
[0050] An embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the drainage control method as described in the first aspect.
[0051] It is worth noting that since the computer-readable storage medium of this embodiment stores computer-executable instructions capable of executing the drainage method of the above-mentioned embodiments, the specific implementation manner and technical effects of the computer-readable storage medium of this embodiment can refer to the specific implementation manner and technical effects of the drainage method of any of the above-mentioned embodiments.
[0052] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0053] The above-mentioned embodiments only express several implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A drainage control method for bathroom equipment, the bathroom equipment comprising a water supply mechanism and a water storage body, the water supply mechanism is used to supply water to the water storage body, the bottom of the water storage body is provided with an overflow assembly, the overflow assembly is used to discharge the water in the water storage body, the drainage control method comprises: The current water level of the water storage body is obtained. If the current water level is higher than the maximum water level allowed by the water storage body, the overflow assembly is controlled to drain water at a first preset drainage speed.
2. The drainage control method for bathroom equipment according to claim 1, characterized in that: If the duration of the current water level being higher than the maximum water level allowed by the water storage body is greater than a first preset threshold, the overflow assembly is controlled to drain water at a first preset speed.
3. The drainage control method for bathroom equipment according to claim 1, characterized in that: The drainage control method also includes obtaining the cumulative water inflow time T3 in the process of the third preset water level reaching the second preset water level, obtaining the cumulative water inflow time T2 after the water level reaches the second preset water level, and if T2≥KT3, controlling the overflow component to drain water at a second preset drainage speed, the third preset water level is lower than the second preset water level, the second preset water level is lower than the maximum water level allowed by the water storage body, the height difference between the third preset water level and the second preset water level is equal to the height difference between the second preset water level and the maximum water level allowed by the water storage body, and K is the width difference between the upper end and the lower end of the water storage body, in cm.
4. The drainage control method for bathroom equipment according to claim 3, characterized in that: The first preset speed is equal to the second preset speed.
5. The drainage control method for bathroom equipment according to claim 1, characterized in that: The control method also includes obtaining a current cumulative water inflow time T, and if T≥Y / X / H*A*K, controlling the overflow assembly to drain water at a third preset speed, wherein Y is the capacity of the water storage body, in L, X is the maximum flow rate of water inflowing into the water storage body, in L / min, H is the height of the water storage body, in cm, and A is the height difference between the first preset water level and the third preset water level, in cm.
6. The drainage control method for bathroom equipment according to claim 5, characterized in that: The third preset speed is greater than the first preset speed.
7. The drainage control method for bathroom equipment according to any one of claims 1 to 6, characterized in that: If the current water level is higher than the preset water inlet level, the water supply mechanism is controlled not to supply water to the water storage body.
8. The drainage control method for bathroom equipment according to any one of claim 7, characterized in that: If the duration of the current water level being higher than the preset water inlet level is greater than a second preset time value, the water supply mechanism is controlled not to supply water to the water storage body.
9. A controller, characterized in that: The controller includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the drainage control method according to any one of claims 1 to 8 is implemented.
10. A bathroom device, comprising a water storage body, a water supply mechanism, an overflow assembly and a water level detection module, wherein the water supply mechanism is used to supply water to the water storage body, the overflow assembly is arranged at the bottom of the water storage body and is used to discharge water in the water storage body, and the water level detection module is arranged on the side wall of the water storage body, characterized in that: The bathroom equipment further comprises a controller as claimed in claim 9, wherein the controller is electrically connected to the water supply mechanism, the water level detection module and the overflow component respectively.
11. The bathroom equipment according to claim 10, characterized in that: The water level detection module includes a first water level sensor, a second water level sensor and a third water level sensor which are arranged from top to bottom along the height direction of the water storage body. The first water level sensor is arranged at the highest water level height allowed by the water storage body. The height difference between the second water level sensor and the first water level sensor is equal to the height difference between the second water level sensor and the third water level sensor. The first water level sensor, the second water level sensor and the third water level sensor are all electrically connected to the controller.
12. The bathroom equipment according to claim 10, characterized in that: The water supply mechanism comprises a water inlet mechanism and an electronic temperature-controlled water inlet valve. The water inlet mechanism is connected to the electronic temperature-controlled water inlet valve. Water flowing out of the water inlet mechanism is temperature-controlled by the electronic temperature-controlled water inlet valve and then flows into the water storage body.
13. A computer-readable storage medium, characterized in that: Computer executable instructions are stored, and the computer executable instructions are used to execute the drainage control method of the bathroom equipment as described in any one of claims 1-8.
