Intelligent closestool capable of adjusting flushing amount based on excrement state and control method of intelligent closestool
By integrating multiple detection modules on the toilet, monitoring the status of excrement in real time, and automatically adjusting the flush amount of intelligent toilets, solving the problem of water waste and waste not being completely washed away in the existing technology, achieving efficient water saving effect.
Patent Information
- Application Number
- CN202510271880.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-10
- Publication Date
- 2025-04-22
AI Technical Summary
The existing toilet flushing system is difficult to accurately control the flushing amount, resulting in the problem of wasting water or the excrement not being completely washed away.
Design an intelligent toilet, integrating a weight sensing module, image detection module and sound detection module, and monitoring the weight, sound and image status of excrement through various detection means in real time, and automatically adjusting the flush amount.
It realizes automatic adjustment of the flush amount according to the quality and status of the excrement, ensuring that the excrement is completely washed away, and at the same time, saving water and improving the water-saving effect.
Smart Images

Figure CN119860038A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to an intelligent toilet, and more particularly to an intelligent toilet for adjusting flushing volume based on excrement status and a control method thereof. Background Art
[0002] Toilets on the market basically have two buttons for flushing, one for urination and the other for defecation. Usually, some defecation does not require a large water flow to flush, which will use excessive water and cause water waste. At the same time, reducing the flushing volume in order to save water will cause the excrement to not be flushed away and require multiple flushing, which in turn increases the waste of water resources. In order to save water resources, the user is required to adjust the time of pressing the flush button during the flushing process. This method has a low degree of automation and is difficult to accurately control the flushing volume. At the same time, it has no effect on people with poor water-saving awareness. For this reason, a smart flushing toilet is needed, which can perform intelligent detection based on the weight, sound and image of the excrement to control the flushing water volume, thereby achieving the effect of saving water. Summary of the invention
[0003] In view of the deficiencies in the prior art, the object of the present invention is to provide an intelligent toilet and a control method thereof that can automatically detect excrement and control the flushing volume according to the excrement status.
[0004] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: an intelligent toilet that adjusts the flushing volume based on the state of excrement, comprising a toilet body, on which a plurality of detection modules are also provided, the detection modules comprising an image and sound detection module and a weight sensing module, the weight sensing module being arranged at the bottom of the toilet, the image and sound detection module being arranged on the inner wall of the toilet and at least facing the flushing area at the bottom of the toilet.
[0005] The present invention is further configured as follows: the weight sensing module includes a weight sensor arranged at the bottom of the toilet body and a signal transmission processing module arranged inside the toilet body.
[0006] The present invention is further configured as follows: the image and sound detection module includes an image acquisition device, a sound acquisition device and an information processing device arranged in the toilet body, and the information processing device includes an image analysis component and a sound processing component.
[0007] The present application also provides a control method for an intelligent toilet that adjusts the flushing volume based on the state of excrement, when the detection module is a weight sensing module, comprising the following steps: S11, when the toilet is installed and no one is using the toilet, the weight sensor detects the current weight and records the current weight as G0; S12, the weight sensor continuously detects the weight. If the measured weight data increases relative to G0, it is determined that there is an object on the toilet. The current weight when the object is detected is G1; S13, the signal transmission processing module calculates the weight GW of the object, GW=G1-G0; S14, the weight sensor detects the weight again. If the measured weight data decreases corresponding to G1, it is determined that the object on the toilet has left, and the current weight G2 is detected; S15, the signal transmission processing module calculates the weight GY of the residue in the toilet, GY=G2-G0; S16, the signal transmission processing module obtains the weight of the current excrement in the toilet according to GW and GY; S17. Set the threshold of the excrement weight to G. If GY>G, it is determined that the current excrement mass in the toilet is large, and a large flow rate is used for flushing. Conversely, if GY<G, it is determined that the current excrement mass in the toilet is small, and a small flow rate is used for flushing.
[0008] Preferably, when the detection module is a sound collection device, the following steps are included: S21, when the weight sensor detects that there is an object on the toilet, the sound collection device collects the sound in the toilet, and stops after the weight sensor detects that the object has left, and transmits the sound information collected during this period of time to the sound processing component; S22, the sound processing component processes the sound, enhances the useful sound signal, and removes the environmental noise; S23, the sound processing component extracts features from the processed sound to obtain the duration T and the dropping frequency P of the excrement falling into the water within the time period; S24. Set the duration threshold of the excrement to T0 and the drop frequency threshold to P0. Within the above characteristics, if T>T0 or P>P0, it is judged that the current excrement is large and the required flushing volume is large. Conversely, if T<T0 and P<P0, it is judged that the current excrement is small and the required flushing volume is small.
[0009] Preferably, when the detection module is an image acquisition device, the following steps are included: S31, when the weight sensor detects that the object has left, the image acquisition device takes a photo of the excrement in the toilet and transmits the photo to the image analysis component of the information processing device; S32, the image analysis component performs image enhancement, image denoising and image segmentation processing on the photo to obtain an image of excrement in the toilet, and provides a flushing method according to the state of the excrement in the photo.
[0010] Preferably, the image enhancement in step S32 includes grayscale adjustment and contrast enhancement of the image, the image denoising includes filtering denoising and wavelet denoising of the image, and the image segmentation includes threshold segmentation, region growth segmentation and edge segmentation.
[0011] By adopting the above technical solution, the beneficial effects are as follows: 1. By arranging multiple detection modules on the toilet, each of the detection modules can detect the weight of the toilet, the state of the inside of the toilet and the sound of excrement falling during use, and can obtain the mass of the excrement according to the detected state of the excrement, and control the flushing water volume according to the mass of the excrement, to ensure that the excrement is flushed away while minimizing the required flushing water volume, meeting the standard of water conservation.
[0012] 2. Further, when the state of the excrement is detected, the detection method adopts the detection of the mass of the excrement, and the detection standard is: by detecting the mass of the toilet when it is not in use, the initial weight of the toilet is obtained; at the same time, when the toilet is used, the weight sensor will detect that the mass of the toilet becomes larger, so as to judge that the current toilet is being used; when the weight sensor detects that the mass of the toilet becomes smaller, it can be judged that the user has left the toilet. At this time, since there is excrement left in the toilet, the mass detected by the weight sensor is greater than the initial weight of the toilet, so the mass of the excrement can be conveniently obtained, and after obtaining the mass of the excrement, by setting the excrement weight If the measured mass of the excrement is greater than the set threshold, it is judged that the current mass of the excrement is too large, and the toilet uses a large flow rate to flush. Otherwise, it is judged that the current mass of the excrement is small, and only a small flow rate is needed to flush, thereby improving the water-saving effect. In the process of quality detection, the weight sensor can detect the quality of the toilet in real time, and can quickly detect when the quality of the toilet changes, with a fast response speed. In addition, the user's weight can be synchronously detected during use, so that the signal transmission processing module can conveniently compare the weight of the user and the weight of the excrement, thereby roughly judging the user's health status, and the use effect is good.
[0013] 3. At the same time, when the detection method uses the sound state of excrement to control the flushing volume, the detection standard is: by installing a sound collection device for collecting the sound of excrement falling into the water on the inner wall of the toilet, the time for the sound collection device to collect the sound is based on the time when the weight sensor detects the existence of an object on the toilet, and during this period of time, it is judged that the toilet is being used. After the information collection is completed, the collected sound is processed by the sound processing component. Specifically, in the process of information collection, environmental noise will inevitably be collected, and the environmental noise will affect the judgment of the sound information of excrement, thereby causing inaccurate information processing. In the process of processing the collected sound, the sound signal is enhanced and the environmental background noise is removed. For example, by filtering and designing a suitable bandpass filter, the signal in the frequency range where the excrement sound is located can be allowed to pass to filter out the noise of the remaining frequencies, thereby obtaining accurate sound information, which is convenient for the sound processing component to extract and analyze the characteristic sound of the excrement. Generally speaking, the sound processing component extracts the duration of a sound in the audio and the frequency of occurrence of the sound, and judges the size and speed information of the excrement according to the duration and the frequency of occurrence, thereby obtaining data on the amount of excrement in the toilet, and controlling the flushing volume based on the above data.
[0014] 4. Furthermore, when the detection method uses the image state of excrement to control the flushing volume, the detection standard is: after the weight sensor detects that the object on the toilet has left, the image acquisition device takes a photo of the excrement in the toilet, and transmits the photo to the image analysis component of the information processing device for excrement image extraction. In order to facilitate the extraction, the extraction method is to convert the collected color image into a grayscale image, which can reduce the amount of data while highlighting the brightness information of the image. The formula for converting the color image into a grayscale image is: Gray=0.299R+0.587G+0.114B (1) Among them, R, G, and B are the red, green, and blue channel pixel values of the color image respectively, and Gray is the converted grayscale value. Secondly, the histogram of the image is adjusted to make the grayscale distribution of the image more uniform, and the contrast of the image is enhanced to facilitate the redistribution of the pixel grayscale values of the image, expand the grayscale range, and make the details of the originally darker or brighter areas clearer. Further, high-pass filtering is used to highlight the edge and detail information of the image. At the same time, filtering denoising and wavelet denoising are used to remove noise in the image, and the edge and detail information of the image are retained. In addition, after the image is processed, it needs to be segmented and removed. Useless background in the picture, such as the inner wall of the toilet and toilet water, is divided into different categories by selecting one or more thresholds according to the grayscale histogram of the image. For example, a threshold T is selected. Generally speaking, since the excrement is darker in color, its pixel grayscale value is larger after being converted into a grayscale image. On the contrary, the inner wall of the toilet is usually white, and its pixel grayscale value is smaller after being converted into a grayscale image. When the pixel grayscale is greater than T, it is set as the foreground, and when the pixel grayscale is less than T, it is set as the background, so that the excrement can be easily intercepted with high efficiency, and the amount of excrement can be judged according to the extracted excrement picture to control the flushing volume. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A schematic diagram of the specific structure of an intelligent toilet for adjusting the flushing volume based on the state of excrement and a control method thereof according to an embodiment of the present invention; Figure 2 This is a flow chart of a control method when the detection module of an embodiment of an intelligent toilet for adjusting flushing volume based on excrement status and a control method thereof is a weight sensing module; Figure 3 This is a flow chart of a control method when the detection module of an embodiment of an intelligent toilet for adjusting flushing volume based on excrement status and a control method thereof is a sound collection device; Figure 4 This is a flow chart of a control method when the detection module of an embodiment of an intelligent toilet for adjusting flushing volume based on excrement status and a control method thereof is an image acquisition device; Reference numerals in the figure: 1. toilet body; 2. image and sound detection module; 3. weight sensing module. DETAILED DESCRIPTION
[0016] Reference Figures 1 to 4 The present invention further describes an intelligent toilet that adjusts the flushing volume based on the state of excrement and an embodiment of a control method thereof.
[0017] For ease of explanation, spatial relative terms such as "upper", "lower", "left", "right" and the like are used in the embodiments to illustrate the relationship of one element or feature shown in the figure relative to another element or feature. It should be understood that, in addition to the orientation shown in the figure, the spatial terms are intended to include different orientations of the device in use or operation. For example, if the device in the figure is inverted, the element described as being "under" other elements or features will be positioned "on" other elements or features. Therefore, the exemplary term "under" can include both upper and lower orientations. The device can be positioned in other ways (rotated 90 degrees or in other orientations), and the spatial relative descriptions used here can be interpreted accordingly.
[0018] Furthermore, relational terms such as “first” and “second” and the like are merely used to distinguish one component from another having the same name, but do not necessarily require or imply any such actual relationship or order between these components.
[0019] A smart toilet that adjusts flushing volume based on excrement status includes a toilet body 1. The toilet body 1 is also provided with a plurality of detection modules, the detection modules including an image and sound detection module 2 and a weight sensing module 3. The weight sensing module 3 is arranged at the bottom of the toilet, and the image and sound detection module is arranged on the inner wall of the toilet and at least faces the flushing area at the bottom of the toilet.
[0020] The weight sensing module 3 includes a weight sensor disposed at the bottom of the toilet body 1 and a signal transmission processing module disposed inside the toilet body 1 .
[0021] The image and sound detection module 2 includes an image acquisition device, a sound acquisition device and an information processing device arranged in the toilet body 1, and the information processing device includes an image analysis component and a sound processing component.
[0022] By arranging multiple detection modules on the toilet, each of the detection modules can detect the weight of the toilet, the state of the inside of the toilet and the sound of excrement falling during use, and can obtain the mass of the excrement based on the detected state of the excrement, and control the flushing water volume according to the mass of the excrement, to ensure that the excrement is flushed away while minimizing the required flushing water volume, meeting the standard of water conservation.
[0023] The present application also provides a control method for an intelligent toilet that adjusts the flushing volume based on the state of excrement, when the detection module is a weight sensing module, comprising the following steps: S11, when the toilet is installed and no one is using the toilet, the weight sensor detects the current weight and records the current weight as G0; S12, the weight sensor continuously detects the weight. If the measured weight data increases relative to G0, it is determined that there is an object on the toilet. The current weight when the object is detected is G1; S13, the signal transmission processing module calculates the weight GW of the object, GW=G1-G0; S14, the weight sensor detects the weight again. If the measured weight data decreases corresponding to G1, it is determined that the object on the toilet has left, and the current weight G2 is detected; S15, the signal transmission processing module calculates the weight GY of the residue in the toilet, GY=G2-G0; S16, the signal transmission processing module obtains the weight of the current excrement in the toilet according to GW and GY; S17. Set the threshold of the excrement weight to G. If GY>G, it is determined that the current excrement mass in the toilet is large, and a large flow rate is used for flushing. Conversely, if GY<G, it is determined that the current excrement mass in the toilet is small, and a small flow rate is used for flushing.
[0024] Preferably, when the detection module is a sound collection device, the following steps are included: S21, when the weight sensor detects that there is an object on the toilet, the sound collection device collects the sound in the toilet, and stops after the weight sensor detects that the object has left, and transmits the sound information collected during this period of time to the sound processing component; S22, the sound processing component processes the sound, enhances the useful sound signal, and removes the environmental noise; S23, the sound processing component extracts features from the processed sound to obtain the duration T and the dropping frequency P of the excrement falling into the water within the time period; S24. Set the duration threshold of the excrement to T0 and the drop frequency threshold to P0. Within the above characteristics, if T>T0 or P>P0, it is judged that the current excrement is large and the required flushing volume is large. Conversely, if T<T0 and P<P0, it is judged that the current excrement is small and the required flushing volume is small.
[0025] Preferably, when the detection module is an image acquisition device, the following steps are included: S31, when the weight sensor detects that the object has left, the image acquisition device takes a photo of the excrement in the toilet and transmits the photo to the image analysis component of the information processing device; S32, the image analysis component performs image enhancement, image denoising and image segmentation processing on the photo to obtain an image of excrement in the toilet, and provides a flushing method according to the state of the excrement in the photo.
[0026] Preferably, the image enhancement in step S32 includes grayscale adjustment and contrast enhancement of the image, the image denoising includes filtering denoising and wavelet denoising of the image, and the image segmentation includes threshold segmentation, region growth segmentation and edge segmentation.
[0027] When detecting the state of excrement, the detection method adopts the detection of the mass of excrement, and the detection standard is: by detecting the mass of the toilet when it is not in use, the initial weight of the toilet is obtained; at the same time, when the toilet is used, the weight sensor will detect that the mass of the toilet becomes larger, so as to judge that the current toilet is being used; when the weight sensor detects that the mass of the toilet becomes smaller, it can be judged that the user has left the toilet. At this time, since there is excrement residual in the toilet, the mass detected by the weight sensor is greater than the initial weight of the toilet, so the mass of the excrement can be conveniently obtained, and after obtaining the mass of the excrement, the threshold of the excrement weight is set. If the measured mass of the excrement is greater than the set threshold, it is judged that the current mass of the excrement is too large, and the toilet uses a large flow rate to flush. Otherwise, it is judged that the current mass of the excrement is small, and only a small flow rate is needed to flush, thereby improving the water-saving effect. In the process of quality detection, the weight sensor can detect the quality of the toilet in real time, and can quickly detect when the quality of the toilet changes. The response speed is fast, and the weight of the user can be synchronously detected during use, so that the signal transmission processing module can conveniently compare the weight of the user and the weight of the excrement, thereby roughly judging the health status of the user, and the use effect is good.
[0028] At the same time, when the detection method uses the sound state of excrement to control the flushing volume, the detection standard is: by installing a sound collection device for collecting the sound of excrement falling into the water on the inner wall of the toilet, the time for the sound collection device to collect the sound is based on the time when the weight sensor detects the existence of an object on the toilet, and during this period of time, it is judged that the toilet is being used. After the information collection is completed, the collected sound is processed by the sound processing component. Specifically, in the process of information collection, environmental noise will inevitably be collected, and the environmental noise will affect the judgment of the sound information of excrement, thereby causing inaccurate information processing. In the process of processing the collected sound, the sound signal is enhanced and the environmental background noise is removed. For example, by filtering and designing a suitable bandpass filter, the signal in the frequency range where the excrement sound is located can be allowed to pass to filter out the noise of the remaining frequencies, thereby obtaining accurate sound information, which is convenient for the sound processing component to extract and analyze the characteristic sound of the excrement. Generally speaking, the sound processing component extracts the duration of a sound in the audio and the frequency of occurrence of the sound, and judges the size and speed information of the excrement according to the duration and frequency of occurrence, thereby obtaining data on the amount of excrement in the toilet, and controlling the flushing volume based on the above data.
[0029] Furthermore, when the detection method uses the image state of excrement to control the flushing volume, the detection standard is: after the weight sensor detects that the object on the toilet has left, the image acquisition device takes a photo of the excrement in the toilet, and transmits the photo to the image analysis component of the information processing device for excrement image extraction. In order to facilitate the extraction, the extraction method is to convert the collected color image into a grayscale image, which can reduce the amount of data while highlighting the brightness information of the image. The formula for converting the color image into a grayscale image is: Gray=0.299R+0.587G+0.114B (1) Among them, R, G, and B are the red, green, and blue channel pixel values of the color image respectively, and Gray is the converted grayscale value. Secondly, the histogram of the image is adjusted to make the grayscale distribution of the image more uniform, and the contrast of the image is enhanced to facilitate the redistribution of the pixel grayscale values of the image, expand the grayscale range, and make the details of the originally darker or brighter areas clearer. Further, high-pass filtering is used to highlight the edge and detail information of the image. At the same time, filtering denoising and wavelet denoising are used to remove noise in the image, and the edge and detail information of the image are retained. In addition, after the image is processed, it needs to be segmented and removed. Useless background in the picture, such as the inner wall of the toilet and toilet water, is divided into different categories by selecting one or more thresholds according to the grayscale histogram of the image. For example, a threshold T is selected. Generally speaking, since the excrement is darker in color, its pixel grayscale value is larger after being converted into a grayscale image. On the contrary, the inner wall of the toilet is usually white, and its pixel grayscale value is smaller after being converted into a grayscale image. When the pixel grayscale is greater than T, it is set as the foreground, and when the pixel grayscale is less than T, it is set as the background, so that the excrement can be easily intercepted with high efficiency, and the amount of excrement can be judged according to the extracted excrement picture to control the flushing volume.
[0030] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Common changes and substitutions made by those skilled in the art within the scope of the technical solution of the present invention should be included in the protection scope of the present invention.
Claims
1. An intelligent toilet for adjusting flushing volume based on excrement status, comprising a toilet body (1), characterized in that: The toilet body (1) is also provided with a plurality of detection modules, the detection modules comprising an image and sound detection module (2) and a weight sensing module (3), the weight sensing module (3) being arranged at the bottom of the toilet, and the image and sound detection module being arranged on the inner wall of the toilet and at least facing the flushing area at the bottom of the toilet.
2. The intelligent toilet for adjusting flushing volume based on excrement status according to claim 1, characterized in that: The weight sensing module (3) comprises a weight sensor arranged at the bottom of the toilet body (1) and a signal transmission processing module arranged inside the toilet body (1).
3. The intelligent toilet for adjusting flushing volume based on excrement status according to claim 1, characterized in that: The image and sound detection module (2) comprises an image acquisition device, a sound acquisition device and an information processing device arranged in the toilet body (1); the information processing device comprises an image analysis component and a sound processing component.
4. A control method for an intelligent toilet for adjusting flushing volume based on excrement status according to claim 2, characterized in that: When the detection module is a weight sensing module, the following steps are included: S11, when the toilet is installed and no one is using the toilet, the weight sensor detects the current weight and records the current weight as G0; S12, the weight sensor continuously detects the weight. If the measured weight data increases relative to G0, it is determined that there is an object on the toilet. The current weight when the object is detected is G1; S13, the signal transmission processing module calculates the weight GW of the object, GW=G1-G0; S14, the weight sensor detects the weight again. If the measured weight data decreases corresponding to G1, it is determined that the object on the toilet has left, and the current weight G2 is detected; S15, the signal transmission processing module calculates the weight GY of the residue in the toilet, GY=G2-G0; S16, the signal transmission processing module obtains the weight of the current excrement in the toilet according to GW and GY; S17. Set the threshold of the excrement weight to G. If GY>G, it is determined that the current excrement mass in the toilet is large, and a large flow rate is used for flushing. Conversely, if GY<G, it is determined that the current excrement mass in the toilet is small, and a small flow rate is used for flushing.
5. A control method for an intelligent toilet for adjusting flushing volume based on excrement status according to claim 3, characterized in that: When the detection module is a sound collection device, the following steps are included: S21, when the weight sensor detects that there is an object on the toilet, the sound collection device collects the sound in the toilet, and stops after the weight sensor detects that the object has left, and transmits the sound information collected during this period of time to the sound processing component; S22, the sound processing component processes the sound, enhances the useful sound signal, and removes the environmental noise; S23, the sound processing component extracts features from the processed sound to obtain the duration T and the dropping frequency P of the excrement falling into the water within the time period; S24. Set the duration threshold of the excrement to T0 and the drop frequency threshold to P0. Within the above characteristics, if T>T0 or P>P0, it is judged that the current excrement is large and the required flushing volume is large. Conversely, if T<T0 and P<P0, it is judged that the current excrement is small and the required flushing volume is small.
6. A control method for an intelligent toilet for adjusting flushing volume based on excrement status according to claim 3, characterized in that: When the detection module is an image acquisition device, the following steps are included: S31, when the weight sensor detects that the object has left, the image acquisition device takes a photo of the excrement in the toilet and transmits the photo to the image analysis component of the information processing device; S32, the image analysis component performs image enhancement, image denoising and image segmentation processing on the photo to obtain an image of excrement in the toilet, and provides a flushing method according to the state of the excrement in the photo.
7. A control method for an intelligent toilet for adjusting flushing volume based on excrement status according to claim 6, characterized in that: The image enhancement in step S32 includes grayscale adjustment and contrast enhancement of the image, the image denoising includes filtering denoising and wavelet denoising of the image, and the image segmentation includes threshold segmentation, region growth segmentation and edge segmentation.
Citation Information
Cited By
Closestool intelligent control method and device
CN120652851A