Control method and system of intelligent closestool
Through infrared sensors, the toilet water seal plane fluctuations are monitored, and the toilet seat and cover are controlled by distance judgment, the complex signal interaction of smart toilet multi-sensors is solved, and accurate automatic flush control and user experience improvement is achieved.
Patent Information
- Application Number
- CN202411962824.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-11
AI Technical Summary
The automatic flip and flush function of smart toilets is prone to signal interference or mistouch due to the complex signal interaction of multiple sensors, resulting in functional failure or a decline in user experience, and increases the risk of misoperation in toilets with limited space.
Infrared sensors are used to monitor the fluctuations in the toilet water seal plane, and determine the start and end time of toilet use by obtaining the fluctuation characterization value, trigger the automatic flushing function of the smart toilet, and control the opening and closing of the toilet seat and cover through distance judgment.
It realizes precise control of the smart toilet function, reduces the risk of false triggering, improves user experience, saves water resources, and reduces manufacturing costs.
Smart Images

Figure CN119801103A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart toilets, and in particular to a control method and system for a smart toilet. Background Art
[0002] The automatic flip function of the smart toilet usually uses two or more sensors to cooperate with each other to control the automatic flip of the toilet seat, the toilet lid, and the automatic flushing of the toilet. Although this design improves the convenience and hygiene of use, it also increases the manufacturing cost of the toilet. The signal matching of multiple sensors works alternately, which not only increases the technical complexity, but also may cause functional failure or reduced user experience due to signal interference or asynchrony between sensors. For example, if the sensitivity of the sensor is not set properly, it may cause the toilet lid to accidentally flip up when it is not needed, or not flip up when it is needed, causing inconvenience to the user. In addition, the increase in sensors also means an increase in the user's cost of use. Furthermore, the automatic flushing function of the smart toilet mainly relies on infrared sensing or microwave sensor technology. When the human body approaches or leaves the toilet, these sensors can keenly detect the presence or movement of the human body, thereby triggering the automatic flushing mechanism. Taking the infrared sensor as an example, its working principle is to process the received signal through the microcomputer in the integrated circuit, and then send instructions to the pulse solenoid valve to control the flushing process. When the user sits on the toilet, the infrared sensing device can sense the body temperature and movement of the human body and activate the flushing system. After the user leaves, the sensor detects this action and automatically flushes after a set delay. When the solenoid valve does not receive a signal, it automatically resets through the action of the internal spring, thereby shutting off the water flow. In addition, the system can also control the solenoid valve to open and flush the toilet when the person leaves the toilet, which avoids the traditional pyroelectric infrared sensor triggering the flush when the person enters and leaves the toilet, achieving a water-saving effect.
[0003] However, this design requires setting an infrared sensing area or sensing range within the three-dimensional space of the toilet to ensure that the flushing function will only be triggered when the human hand or body is within the sensing range. This may increase the risk of misoperation for toilets with smaller spaces. If the sensing range is set too large, users may frequently trigger the flush when performing daily activities in the toilet (such as taking a bath, brushing teeth) due to space limitations; if the sensing range is too small, users may need to actively trigger the sensing, which will weaken the convenience of the smart toilet. Summary of the invention
[0004] In view of this, the purpose of the present invention is to provide a control method and system for a smart toilet to solve the problems mentioned in the above background technology section.
[0005] According to one aspect of the present invention, a method for controlling an intelligent toilet is provided, the method comprising:
[0006] When it is detected that the toilet lid is in the open position and when the sensor detects the target person, it is determined that the target person is at a first distance or a second distance; the first distance is greater than the second distance;
[0007] When the target person is detected to be within the first distance, the toilet seat is opened;
[0008] When the target person is detected to be within the second distance, infrared rays are actively emitted to the water surface, and the changes in the reflected infrared signals when the water seal plane fluctuates are detected, and the fluctuation characterization value is obtained; the start and end time points of going to the toilet are monitored based on the characterization value, and the smart toilet is triggered to automatically flush according to the time points;
[0009] Continuously monitor the target person until the target person leaves the range of the second distance, and then close the toilet lid;
[0010] When the target person is not detected within the preset time, the toilet lid is closed.
[0011] In the above technical solution, a sensor is used to detect whether someone is approaching the toilet. This helps to determine whether someone is ready to use the toilet. Distance judgment. When the target person is at the first distance, the system automatically opens the toilet seat. When the target person is at the second distance, the system monitors the infrared emission fluctuations of the toilet water seal plane. By obtaining the fluctuation characterization value, the system can monitor the start and end time points of going to the toilet. Based on the monitored time point, the system automatically triggers the toilet flushing system to continue monitoring the target person until leaving the range of the second distance, and then automatically closes the toilet lid. If the target person is not detected within the preset time, the system automatically closes the toilet lid. This is to prevent energy waste when no one uses it for a long time. When the target person passes through the detection range, the opening and closing control of the toilet lid and toilet seat is realized. Further, the toilet water seal plane, that is, the static water film formed at the bottom of the toilet, plays an important role in isolating odors, bacteria and insects in the sewer and preventing them from invading the room. This water seal layer is naturally formed by gravity and persists by relying on the S-shaped or U-shaped pipe structure inside the toilet. During the flushing process, the water flow quickly carries the dirt out through the pipe, and then the system automatically replenishes clean water to the water seal line to form a new water seal layer. This study senses the changes in infrared emission by monitoring the slight fluctuations in the water seal plane. The experimental results show that when the water seal plane fluctuates, the integrated infrared sensor can sensitively capture the subtle changes in infrared emission, and the characteristic values generated by these fluctuations can be used as a trigger signal for flushing. Compared with the traditional external solution, this case places the recognition area inside the toilet to reduce the probability of accidental touch.
[0012] In some embodiments, when the target person is detected to be within the first distance, the toilet seat is opened, and then the method further includes:
[0013] When it is detected that the target person leaves the range of the first distance, the toilet seat is closed and the flushing is controlled.
[0014] In the above technical solution, when the sensor detects that the target person enters the preset first distance range, the system will open the toilet seat to facilitate the user to sit down. The system needs to continuously monitor the position of the target person. Once the target person leaves the first distance range, the system will trigger subsequent actions. After the target person leaves, the system will automatically close the toilet seat. At the same time or after closing the toilet seat, the system will control the toilet to flush. The above method takes into account the convenience and hygiene of the user, reduces the steps that the user needs to manually operate through automation, and also reduces the possibility of forgetting to flush.
[0015] In some embodiments, the method of continuously monitoring the target person until the target person leaves the range of the second distance and then closing the toilet lid further includes:
[0016] When the target person is at the second distance for longer than a second set time, a sedentary reminder signal is sent.
[0017] In the above technical solution, the system will continuously monitor whether the target person is within the second distance range. When the target person is detected to leave the second distance range, the toilet lid will be closed. If the target person stays within the second distance range for longer than the preset time, the system will think that the user may be sedentary and needs to be reminded. After the sensor detects that the target person exceeds the second set time, it will transmit a signal to the controller to send a sedentary reminder signal. The sedentary reminder signal can be a sound prompt, vibration feedback or visual prompt to remind the user that they have used the toilet for more than the recommended time.
[0018] In some embodiments, the method, specifically:
[0019] Transmitting an infrared light signal to the water seal plane at a preset distance above the water seal plane;
[0020] When the water seal plane is calm, the reflected infrared emission signal is recorded and used as the first characterization value;
[0021] When the water seal plane fluctuates, the fluctuation parameter value of infrared reflection or refraction is continuously collected, and the parameter value is used as the second characterization value, and the characterization sequence is formed after deducting the first characterization value;
[0022] The starting and ending points of the characterization sequence are used as the time points for triggering the smart toilet flushing.
[0023] In the above technical solution, the water seal plane will fluctuate when the human body urinates. At this time, the fluctuation value captured by the infrared sensor is used as the start signal of flushing; when the fluctuation value gradually stabilizes, it is used as the end signal of flushing. Once the end point is reached, the system automatically triggers the flushing mechanism to ensure the cleanliness and hygiene of the toilet. Specifically: the infrared sensor emits infrared light signals at a preset position above the water seal plane and monitors the reflection of these signals. When there is no fluctuation in the water seal plane, the reflected infrared emission signal remains stable, and this state is recorded as the reference signal or the first characterization value. When the water seal plane fluctuates due to human body movements or other factors, the reflected infrared emission signal changes accordingly, and these changes are continuously collected and recorded as the second characterization value. By subtracting the first characterization value (reflection value in calm) from the second characterization value (reflection value in fluctuation), a characterization sequence is obtained, which truly reflects the fluctuation of the water seal plane and eliminates the influence of environmental factors on infrared emission, thereby enhancing the accuracy and reliability of the system. By analyzing the starting and ending points of this characterization sequence, the beginning and end of the toilet behavior can be accurately determined. For example, when the user starts to use the toilet, the water seal plane fluctuates more and the characterization sequence changes accordingly; after the user leaves, the fluctuation decreases and the characterization sequence returns to calm. The smart toilet automatically triggers the flushing function based on this, realizing the automation and intelligence of flushing control. This solution not only has the advantage of saving water - because it only triggers the flushing after detecting actual use, avoiding unnecessary waste of water resources - but also compared with traditional sensing methods (such as microwave sensing), it is not prone to false triggering, providing a more accurate and reliable user experience.
[0024] In some embodiments, when the water seal plane fluctuates, the method further comprises:
[0025] The first characterization value is deducted from the second characterization value collected when the water seal plane fluctuates for the first time. If the result is less than the first threshold, it is judged as urine; otherwise, it is defecation.
[0026] In the above technical solution, an infrared light signal is emitted at a predetermined position above the water seal plane, and the infrared emission signal reflected by the water seal plane in a static state is recorded, and these signals are used as the first characterization value of the benchmark. When the water seal plane fluctuates due to toilet behavior, the infrared emission parameter values of these fluctuations are continuously collected and regarded as the second characterization value. By comparing the difference between the second characterization value (parameter value in fluctuation) and the first characterization value (reflection value in calm), the smart toilet can distinguish between defecation and urination events. If this difference is lower than the preset first threshold, the system will judge it as urination; if the difference reaches or exceeds the threshold, it is judged as defecation. This judgment mechanism sets the threshold based on the fluctuation characteristics of the water seal plane caused by different toilet behaviors. The experimental results show that there are obvious differences in the changes in infrared emission in the cases of urination and defecation, mainly because the fluctuation caused by urine entering the water is usually smaller than that of feces entering the water, resulting in different fluctuations in infrared emission and the intensity collected in the two cases. Based on this discovery, thresholds can be preset according to different usage scenarios to achieve accurate judgment and response of smart toilets. This method not only improves the intelligence level of smart toilets, but also provides users with a more hygienic and convenient user experience.
[0027] In some embodiments, if it is determined to be urination, the start and end points of the characterization sequence are used as the time points for triggering the smart toilet flushing, and then the following steps are further included:
[0028] Based on the characterization sequence, a mapping relationship between the characterization value and the toilet time t is constructed, and the characterization values in the range of 15%t to 85%t are extracted to calculate the average value, and the average value is used as the first indicator of the toilet time;
[0029] The above steps are repeated for a preset number of times, and the median value of the toilet time and the median value of the characterization value are extracted respectively, which are recorded as (t0, Q0), where t0 is the median value of the toilet time and Q0 is the median value of the characterization value;
[0030] Taking (t0, Q0) as the coordinate value and adopting the four-quadrant classification method, a four-quadrant classification interval is constructed.
[0031] In the above technical solution, when the smart toilet recognizes a urination event, the triggering of its flushing mechanism is based on the starting and ending points of the characterization sequence. Specifically, the system starts timing when the start of the urination behavior is detected, and performs the flushing operation at an appropriate time point after the behavior ends. By constructing a mapping relationship between the characterization value and the toilet time t, the dynamic change of the characterization value over time during the toilet process can be deeply understood. Furthermore, this study extracted the characterization values in the interval of 15% to 85% of the toilet time, and calculated the average value of the characterization value in this interval. The average value is defined as the first indicator of this toilet event as a key parameter for evaluating the characteristics of toilet behavior. By repeating the above steps for a predetermined number of times, the average value of the characterization value is extracted in each iteration. After the iteration is completed, these average values are sorted, and the median values are extracted respectively, recorded as (t0, Q0), where t0 is the median value of the toilet time, and Q0 is the median value of the characterization value. The median value is a robust statistic that can reduce the impact of outliers and provide more reliable data. Using (t0, Q0) as the coordinate value, the four-quadrant classification method is used to construct the four-quadrant classification interval. This method can map different toilet behavior characteristics into four quadrants, each of which represents a specific behavior pattern or health condition. For example: Quadrant 1: short toilet time, high representation value, may indicate fast and intense toilet behavior. Quadrant 2: long toilet time, high representation value, may indicate a toilet behavior of longer duration. Quadrant 3: short toilet time, low representation value, may indicate mild toilet behavior. Quadrant 4: long toilet time, low representation value, may indicate slow toilet behavior. This classification method allows the smart toilet to not only automatically perform the flushing function, but also monitor the user's health status and provide health feedback or early warning. For example, if the user's toilet behavior frequently appears in a specific quadrant, the system can prompt the user to pay attention to eating habits or seek medical advice. By analyzing and classifying toilet behavior, this solution not only improves the automation level of the smart toilet, but also provides users with the potential value of health monitoring. This system can be used for personal health management and assist medical institutions in remote monitoring of patient health status.
[0032] In some embodiments, with (t0, Q0) as the coordinate value, a four-quadrant classification method is used to construct a four-quadrant classification interval, and then further includes:
[0033] Each time you urinate, record the characterization value - the time t of this toilet visit, and based on the characterization value - the time t of this toilet visit and the four-quadrant classification intervals, distinguish: young and strong men, young and strong women, middle-aged and elderly people, and children.
[0034] In the above technical solution, according to the age segmentation standard of the World Health Organization (WHO), the population can be divided into the following age groups: children (0-14 years old), youth (15-44 years old), middle-aged (45-59 years old) and elderly (60 years old and above). The smart toilet can identify users of different age groups by analyzing the distribution characteristics in the four-quadrant classification interval and combining the above age segmentation. Specifically, children may have shorter toilet time due to their smaller body size, and the corresponding representation value is relatively low. In contrast, there are significant differences in the representation values generated by toilet behavior between young and middle-aged men and women due to differences in body shape and muscle mass. Due to physiological changes, middle-aged and elderly people may have longer toilet time and the representation value may also change accordingly. When distinguishing young and middle-aged men and women, in addition to considering toilet time and representation values, other physiological parameters such as weight and body shape can also be combined, which may affect the distribution of representation values. The smart toilet can provide customized feedback and suggestions based on the user's age and gender. For example, for children, smart toilets can provide gentler flushing settings; for middle-aged and elderly people, they can provide more comfortable seat heating and appropriate flushing intensity. By comprehensively analyzing the representation values and time data of toilet behavior, combined with the four-quadrant classification method, smart toilets can effectively distinguish users of different ages and genders, and provide more personalized services and health monitoring. This meticulous approach not only improves the user experience, but also helps to achieve accurate health assessment and intervention, bringing smart hygiene solutions that are more in line with the physiological and health needs of different user groups.
[0035] In some embodiments, each time urinating, the characterization value - the toilet time t of this time is recorded, and based on the characterization value - the toilet time t of this time and the four-quadrant classification interval, it is distinguished into: young and strong men, young and strong women, middle-aged and elderly people, and children, and then it also includes:
[0036] Based on the second characterization value, the output voltage value of the collected second characterization value at the corresponding time point is obtained, and is calculated based on the following formula:
[0037]
[0038] Where, C is the theoretical temperature value; V is the output voltage value; K is the sensor constant, which is the product of the detector sensitivity R, the standard urine emissivity ∈ and the Stefan-Boltzmann constant σ;
[0039] Based on the characterization sequence, a mapping relationship between the theoretical temperature measurement value and the toilet time t is constructed, and the theoretical temperature measurement values in the range of 15%t to 85%t are extracted to calculate the average value, and the average value is used as the second indicator of the toilet time;
[0040] The second indicator is compared with a second threshold to determine whether it is abnormal.
[0041] In the above technical solution, each time you urinate, the smart toilet will record the relationship between the characterization value and the time t of that toilet trip. Based on the characterization value of that toilet trip, the system will capture the output voltage value V of the second characterization value at the corresponding time point. This voltage value reflects the sensitive response of the sensor to changes in urine or other physical quantities (such as temperature), and provides basic data for subsequent calculations. Use the formula To calculate the theoretical temperature value C, this formula is based on the laws of physics and is used to extract temperature information from the voltage output of the sensor. Further, based on the characterization sequence, a mapping relationship between the theoretical temperature value and the toilet time t is constructed. This mapping relationship helps to deeply understand the dynamic change of temperature over time during the toilet process. The theoretical temperature value of the interval between 15% and 85% of the toilet time is extracted, and the average value of the temperature value in this interval is calculated as the second indicator of the toilet. This average value is used as a key parameter to evaluate the characteristics of toilet behavior. The second indicator calculated this time is compared with the preset second threshold to determine whether there is an abnormality. If the difference between the current indicator and the second threshold is large, it may indicate an abnormal situation, such as a health problem or a system failure. The second threshold can be set through a calibration process or determined based on the mean of the historical second indicator. By comparing the current second indicator with the second threshold, the smart toilet can identify potential health problems or system abnormalities. For example, if the temperature value is continuously abnormally high or low, it may indicate that the user has a fever or other health problems; if the fluctuation range of the temperature value is abnormal, it may indicate that the sensor is faulty or needs to be recalibrated. By analyzing the representation value and time data of toilet behavior, combining physical formulas to calculate the theoretical temperature value, and comparing it with historical data, the smart toilet can effectively distinguish users of different age groups and provide health monitoring functions. This method not only improves the automation level of smart toilets, but also provides users with the possibility of health monitoring, opening up new ways for personal health management and remote patient monitoring in medical institutions.
[0042] In some embodiments, if it is determined to be a stool, the start and end points of the characterization sequence are used as the time points for triggering the smart toilet flushing, and then the following steps are further included:
[0043] If it is judged as defecation, when the fluctuation characterization value remains unchanged, the smart toilet flushing is triggered.
[0044] In the above technical solution, the smart toilet will continuously monitor the infrared emission fluctuations above the water seal plane and convert these fluctuations into characterization values. These characterization values reflect the fluctuations of the water seal plane, and the user's toilet behavior can be inferred. When the fluctuation characterization value remains unchanged for a period of time, the smart toilet will judge that the user's defecation behavior has ended. This is because during the defecation process, the fluctuation of the water seal plane will change with the user's movements. When the fluctuation stops, it can be considered that the defecation is complete. The smart toilet can also adjust the intensity and duration of the flushing according to the fluctuation of the fluctuation characterization value to judge the amount of stool. For example, if the amount of stool is large, the toilet may use a stronger flushing force and a longer flushing time to ensure cleaning.
[0045] According to another aspect of the present invention, a control system for an intelligent toilet is provided, characterized in that, based on the above method, the system comprises:
[0046] A distance measuring module, which is configured to, when detecting that the toilet lid is in an open position and when the sensor detects a target person, determine that the target person is at a first distance or a second distance; the first distance is greater than the second distance;
[0047] A first control module, configured to open the toilet seat when a target person is detected to be within a first distance;
[0048] The second control module is configured to, when it is detected that the target person is within the range of the second distance, actively transmit infrared rays to the water surface, detect the change of the infrared signal reflected back when the water seal plane fluctuates, and obtain the fluctuation characterization value; based on the characterization value, monitor the start and end time points of going to the toilet, and trigger the smart toilet to automatically flush according to the time points;
[0049] A third control module is configured to continuously monitor the target person until the target person leaves the range of the second distance and then close the toilet lid;
[0050] The fourth control module is configured to close the toilet lid when the target person is not detected within a preset time.
[0051] In the above technical scheme, in order to better use the above method, the present application proposes a control system for an intelligent toilet, wherein each module corresponds to each step of the above method, and its specific principles have been described above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. 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 paying creative work.
[0053] Figure 1 It is a flow chart of an embodiment of a control method of an intelligent toilet of the present invention;
[0054] Figure 2 It is a schematic diagram of a water seal plane in a calm state according to an embodiment of a control method for an intelligent toilet of the present invention;
[0055] Figure 3 It is a schematic diagram of a water seal plane of an embodiment of a control method for an intelligent toilet of the present invention when a user is standing and urinating;
[0056] Figure 4 It is a schematic diagram of a water seal plane of an embodiment of a control method for an intelligent toilet of the present invention when a user is sitting down to urinate;
[0057] Figure 5 It is a schematic diagram of a water seal plane of an embodiment of a control method for an intelligent toilet of the present invention when a user is sitting down to defecate;
[0058] Figure 6 This is one of the four-quadrant classification diagrams of an embodiment of a control method for an intelligent toilet of the present invention;
[0059] Figure 7 This is the second of the four-quadrant classification diagrams of an embodiment of a control method for an intelligent toilet of the present invention;
[0060] Figure 8 It is a schematic diagram of a framework of an embodiment of a control system of an intelligent toilet of the present invention;
[0061] Fig. 9 It is a schematic diagram of a distance measuring sensor of an embodiment of a control system of an intelligent toilet of the present invention;
[0062] Fig.10 It is a schematic diagram of the steps of a control system of an intelligent toilet according to an embodiment of the present invention. DETAILED DESCRIPTION
[0063] The present invention will be further described in detail below in conjunction with the accompanying drawings and examples. It is particularly noted that the following examples are only used to illustrate the present invention, but are not intended to limit the scope of the present invention. Similarly, the following examples are only partial embodiments of the present invention rather than all embodiments, and all other embodiments obtained by those of ordinary skill in the art without creative work are within the scope of protection of the present invention.
[0064] The present invention provides a control method and system for an intelligent toilet, in which a toilet recognition area is set inside the toilet and above a water seal, and automatic flushing is controlled by infrared detection of fluctuations in the water seal plane to avoid frequent mis-touch in a small space.
[0065] Embodiment 1
[0066] See also Figure 1 , a control method for a smart toilet, the method comprising:
[0067] S1, when it is detected that the toilet lid is in the open position, and when the infrared sensor detects the target person, it is determined that the target person is at the first distance α1 or the second distance α2; the first distance α1 is greater than the second distance α2;
[0068] See also Fig. 9 The distance measuring sensor can be implemented using an infrared sensor or a microwave sensor, which will not be described in detail here. Further, the toilet lid can be detected by a gyroscope in an open position or a closed position. When the gyroscope detects that the toilet lid is in the closed position, the target person is detected, and step S2 is executed. When the gyroscope detects that the toilet lid is in the open position and the infrared sensor detects the target person, step S3 is executed.
[0069] S2, when the target person is detected to be within the range of the first distance α1, open the toilet seat;
[0070] S3, when the target person is detected to be within the range of the second distance α2, infrared rays are actively emitted to the water surface, and the change of the infrared signal reflected back when the water seal plane fluctuates is detected, and the fluctuation characterization value is obtained; the start and end time points of going to the toilet are monitored based on the characterization value, and the smart toilet is triggered to automatically flush according to the time point;
[0071] In this embodiment, infrared rays are actively emitted to the water surface, and then the changes in the reflected infrared signals when the water seal plane fluctuates are detected, and the fluctuation characterization value is obtained; the start and end time points of using the toilet are monitored based on the characterization value, and the smart toilet is triggered to automatically flush according to the time points. Fig.10 , as follows:
[0072] Q1. Monitor the infrared emission fluctuation caused by the fluctuation of the toilet water seal plane M, and obtain the fluctuation characterization value; the fluctuation characterization value is the light intensity signal or combined with the change of distance.
[0073] See also Figure 2 , K in the figure represents an infrared sensor that transmits and receives all the information, that is, an active infrared sensor, which irradiates infrared light to the water surface, and the light on the water surface is reflected back to the receiving tube. A split sensor can also be used, as long as it can emit infrared light and receive light reflection, which will not be repeated or listed here. At the same time, it should be noted that the emission angle can be set according to the configuration of the inner wall of the toilet, and the emitted light can be as far as possible in the water seal plane. The specific angle setting can be set according to actual needs. The schematic diagram of emission and reflection at different angles is drawn in the figure for reference only. In the figure, M0 represents the toilet water seal plane, that is, the static water film formed at the bottom of the toilet, which plays an important role in isolating odors, bacteria and insects in the sewer and preventing them from invading the room. This water seal layer is naturally formed by gravity and relies on the S-shaped or U-shaped pipe structure inside the toilet to continue to exist. During the flushing process, the water flow quickly carries the dirt out through the pipe, and then the system automatically replenishes clean water to the water seal line to form a new water seal layer.
[0074] See also Figure 3 , Figure 3 A schematic diagram of a man urinating is drawn. In the figure, P1 represents the direction and trajectory of urine emission. When a man urinates, the water seal plane M0 of the toilet will fluctuate, forming a water wave M1. When urine enters the water seal plane, the changes in infrared emission are sensed by monitoring the fluctuations of the water seal plane. The experimental results show that when the water seal plane fluctuates, the integrated infrared sensor can sensitively capture the subtle changes in infrared emission, and the characteristic values generated by these fluctuations can be used as a trigger signal for flushing. Compared with the traditional external solution, this case places the recognition area inside the toilet to reduce the probability of accidental touch. It should be noted that different infrared sensors have different parameter indicators such as sensitivity, and the structures of different toilet products are also different. Those skilled in the art can adapt the corresponding infrared sensor according to their own toilet configuration, which will not be repeated here.
[0075] See also Figure 4 , Figure 4 A schematic diagram of a woman urinating is drawn. In the figure, P1 represents the direction and trajectory of urine emission. When a man urinates, the toilet water seal plane M0 causes fluctuations, forming water waves M2. Since men usually urinate while standing, and because of differences in body shape and muscle mass, when urine enters the water seal plane, the ripples are more intense, while those of women are more moderate. The monitoring principle is the same as above and will not be repeated here. The numerical feedback of the infrared sensor can be used to distinguish between men and women for subsequent analysis.
[0076] Q2. Monitor the start and end time points of using the toilet based on the characterization value, and trigger the automatic flushing of the smart toilet according to the time points.
[0077] In this embodiment, Figure 2 For example, the method specifically:
[0078] A1, emit infrared light signal to the water seal plane M0 at a preset distance above the water seal plane;
[0079] A2, recording the reflected infrared emission signal when the water seal plane M0 is calm, and using it as the first characterization value;
[0080] A3, when the water seal plane generates fluctuations to form water waves M1, the fluctuation parameter value of infrared reflection or refraction is continuously collected, and the parameter value is used as the second characterization value, and the characterization sequence is formed after deducting the first characterization value;
[0081] A4. The starting and ending points of the characterization sequence are used as the time points for triggering the flushing of the smart toilet.
[0082] In this embodiment, the water seal plane will fluctuate when the human body urinates. At this time, the fluctuation value captured by the infrared sensor is used as the start signal of flushing; when the fluctuation value gradually stabilizes, it is used as the end signal of flushing. Once the end point is reached, the system automatically triggers the flushing mechanism to ensure the cleanliness and hygiene of the toilet. Specifically: the infrared sensor emits infrared light signals at a preset position above the water seal plane and monitors the reflection of these signals. When the water seal plane does not fluctuate, the reflected infrared emission signal remains stable, and this state is recorded as a reference signal or a first characterization value. When the water seal plane fluctuates due to human body movements or other factors, the reflected infrared emission signal changes accordingly, and these changes are continuously collected and recorded as a second characterization value. By subtracting the first characterization value (reflection value in calm) from the second characterization value (reflection value in fluctuation), a characterization sequence is obtained, which truly reflects the fluctuation of the water seal plane and eliminates the influence of environmental factors on infrared emission, thereby enhancing the accuracy and reliability of the system. By analyzing the starting and ending points of this characterization sequence, the beginning and end of the toilet behavior can be accurately determined. For example, when the user starts to use the toilet, the water seal plane fluctuates more and the characterization sequence changes accordingly; after the user leaves, the fluctuation decreases and the characterization sequence returns to calm. The smart toilet automatically triggers the flushing function based on this, realizing the automation and intelligence of flushing control. This solution not only has the advantage of saving water - because it only triggers the flushing after detecting actual use, avoiding unnecessary waste of water resources - but also compared with traditional sensing methods (such as microwave sensing), it is not prone to false triggering, providing a more accurate and reliable user experience.
[0083] In this example, see Figure 5 , P3 in the figure is resolution. When the water seal plane M0 fluctuates, it also includes:
[0084] A31. When the first water seal plane M0 fluctuates to form water waves, the second characterization value collected at M3 is deducted from the first characterization value. If the result is less than the first threshold, it is judged as urination; otherwise, it is defecation. Since the volume and weight of feces far exceed that of urine, the intensity of the fluctuation of the water seal plane when entering the water is much higher than that of urination. The threshold can be set to judge the initial state and distinguish the two toilet methods, thereby avoiding false triggering. It should be noted that due to different toilet heights, water seal plane sizes and sensor usage, the first threshold can be set according to the products of technicians in this field, and is not limited here.
[0085] In this embodiment, an infrared light signal is emitted at a predetermined position above the water seal plane, and the infrared emission signal reflected by the water seal plane in a static state is recorded, and these signals are used as the first characterization value of the benchmark. When the water seal plane fluctuates due to toilet behavior, the infrared emission parameter values of these fluctuations are continuously collected and regarded as the second characterization value. By comparing the difference between the second characterization value (parameter value in fluctuation) and the first characterization value (reflection value in calm), the smart toilet can distinguish between defecation and urination events. If this difference is lower than the preset first threshold, the system will judge it as urination; if the difference reaches or exceeds the threshold, it is judged as defecation. This judgment mechanism sets the threshold based on the fluctuation characteristics of the water seal plane caused by different toilet behaviors. The experimental results show that there are obvious differences in the changes in infrared emission in the case of urination and defecation, mainly because the fluctuation caused by urine entering the water is usually smaller than that of feces entering the water, resulting in different fluctuations in infrared emission and the intensity collected in the two cases. Based on this discovery, thresholds can be preset according to different usage scenarios to achieve accurate judgment and response of the smart toilet. This method not only improves the intelligence level of smart toilets, but also provides users with a more hygienic and convenient user experience.
[0086] In this embodiment, if it is determined to be urination, the start and end points of the characterization sequence are used as the time points for triggering the smart toilet flushing, and then the following steps are also included:
[0087] A51. Construct a mapping relationship between the characterization value and the toilet time t based on the characterization sequence, extract the characterization values in the range of 15%t to 85%t, calculate the average value, and use the average value as the first indicator of the toilet time;
[0088] A61. Repeat the above steps for a preset number of times, and extract the median value of the toilet time and the median value of the representation value, respectively, which are recorded as (t0, Q0), where t0 is the median value of the toilet time and Q0 is the median value of the representation value;
[0089] A71. Take (t0, Q0) as the coordinate value and use the four-quadrant classification method to construct the four-quadrant classification interval. Figure 6 For example, the first quadrant: the toilet time is long, the representation value is high, which may indicate a long-lasting and more intense toilet behavior. The second quadrant: the toilet time is short, the representation value is high, which may indicate a fast and intense toilet behavior. The third quadrant: the toilet time is short, the representation value is low, which may indicate a slight toilet behavior. The fourth quadrant: the toilet time is long, the representation value is low, which may indicate a slow toilet behavior. It can be set according to different needs, and only an example is given here. When the smart toilet recognizes a urination event, the triggering of its flushing mechanism is based on the starting and ending points of the representation sequence. Specifically, the system starts timing at the start moment of the urination behavior and performs the flushing operation at an appropriate time point after the behavior ends. By constructing a mapping relationship between the representation value and the toilet time t, we can deeply understand the dynamic changes of the representation value over time during the toilet process. Furthermore, this study extracted the representation values in the range of 15% to 85% of the toilet time, and calculated the average value of the representation values in this range. The average value is defined as the first indicator of this toilet event as a key parameter for evaluating the characteristics of toilet behavior. By repeating the above steps for a predetermined number of times, the average value of the characterization value is extracted in each iteration. After the iteration is completed, these average values are sorted, and the median values are extracted respectively, which are recorded as (t0, Q0), where t0 is the median value of the toilet time and Q0 is the median value of the characterization value. The median value is a robust statistic that can reduce the impact of outliers and provide more reliable data. Using (t0, Q0) as the coordinate value, the four-quadrant classification method is used to construct the four-quadrant classification interval. This method can map different toilet behavior characteristics into four quadrants, each quadrant representing a specific behavior pattern or health condition. This classification method allows the smart toilet to not only automatically perform the flushing function, but also monitor the user's health status and provide health feedback or warnings. For example, if the user's toilet behavior frequently appears in a specific quadrant, the system can prompt the user to pay attention to eating habits or seek medical advice. By analyzing and classifying toilet behavior, this solution not only improves the automation level of the smart toilet, but also provides users with the potential value of health monitoring. This system can be used for personal health management and assist medical institutions in remote monitoring of patient health status.
[0090] In this embodiment, A71, taking (t0, Q0) as the coordinate value, adopting the four-quadrant classification method, constructing the four-quadrant classification interval, and then also including,
[0091] A81. Each time you urinate, record the characterization value - the time t of that toilet visit. Based on the characterization value - the time t of that toilet visit and the four-quadrant classification intervals, distinguish between: young and strong men, young and strong women, middle-aged and elderly people, and children.
[0092] See also Figure 7According to the age classification standards of the World Health Organization (WHO), the population can be divided into the following age groups: children (0-14 years old), youth (15-44 years old), middle-aged (45-59 years old) and elderly (60 years old and above). Smart toilets can identify users of different age groups by analyzing the distribution characteristics within the four-quadrant classification interval and combining the above age segmentation. Specifically,
[0093] Children, due to their smaller body size, may spend less time in the toilet and have a lower corresponding representation value, which can be classified as the third quadrant.
[0094] In contrast, due to differences in body shape and muscle mass, there are significant differences in the representation values of toilet behavior between young and middle-aged men and women. Studies have shown that men's bladder urine storage capacity is generally higher than that of women, and the average bladder urine storage capacity of men is 50ml-100ml larger than that of women. Therefore, young and middle-aged men are divided into the first quadrant and women in the second quadrant. Due to physiological changes, middle-aged and elderly people may spend longer time in the toilet and have a relatively flat representation value, so they are classified in the fourth quadrant. It should be stated that the four-quadrant example here only distinguishes four different groups in a rough way. On this basis, technicians in this field can further cluster big data to make more classifications, such as adolescent males, adult males, adolescent females, adult females, etc., which will not be repeated here. At the same time, when distinguishing young and middle-aged men and women, in addition to considering toilet time and representation values, other physiological parameters, such as weight and body shape, can also be combined, which may affect the distribution of representation values. Smart toilets can provide customized feedback and suggestions based on the user's age and gender. For example, for children, smart toilets can provide gentler flushing settings; for middle-aged and elderly people, they can provide more comfortable seat heating and appropriate flushing intensity. By comprehensively analyzing the representation values and time data of toilet behavior, combined with the four-quadrant classification method, smart toilets can effectively distinguish users of different ages and genders, and provide more personalized services and health monitoring. This meticulous approach not only improves the user experience, but also helps to achieve accurate health assessment and intervention, bringing smart hygiene solutions that are more in line with the physiological and health needs of different user groups.
[0095] In this embodiment, A81, each time you urinate, record the characterization value - the time t of this toilet trip, based on the characterization value - the time t of this toilet trip and the four-quadrant classification interval: young and strong men, young and strong women, middle-aged and elderly people, and children, and then also include:
[0096] A91. Based on the second characterization value, obtain the output voltage value of the collected second characterization value at the corresponding time point, and calculate based on the following formula:
[0097]
[0098] Where, C is the theoretical temperature value; V is the output voltage value; K is the sensor constant, which is the product of the detector sensitivity R, the standard urine emissivity ∈ and the Stefan-Boltzmann constant σ;
[0099] A101. Construct a mapping relationship between the theoretical temperature measurement value and the toilet time t based on the characterization sequence, extract the theoretical temperature measurement values in the range of 15%t to 85%t to calculate the average value, and use the average value as the second indicator of the toilet time;
[0100] A111. Compare the second indicator with the second threshold to determine whether it is abnormal.
[0101] Every time you urinate, the smart toilet will record the relationship between the characterization value and the time t of that toilet trip. Based on the characterization value of that toilet trip, the system will capture the output voltage value V of the second characterization value at the corresponding time point. This voltage value reflects the sensitive response of the sensor to changes in urine or other physical quantities (such as temperature), providing basic data for subsequent calculations. Use the formula To calculate the theoretical temperature value C, this formula is based on the laws of physics and is used to extract temperature information from the voltage output of the sensor. Further, based on the characterization sequence, a mapping relationship between the theoretical temperature value and the toilet time t is constructed. This mapping relationship helps to deeply understand the dynamic change of temperature over time during the toilet process. The theoretical temperature value of the interval between 15% and 85% of the toilet time is extracted, and the average value of the temperature value in this interval is calculated as the second indicator of the toilet. This average value is used as a key parameter to evaluate the characteristics of toilet behavior. The second indicator calculated this time is compared with the preset second threshold to determine whether there is an abnormality. If the difference between the current indicator and the second threshold is large, it may indicate an abnormal situation, such as a health problem or a system failure. The second threshold can be set through a calibration process or determined based on the mean of the historical second indicator. By comparing the current second indicator with the second threshold, the smart toilet can identify potential health problems or system abnormalities. For example, if the temperature value is continuously abnormally high or low, it may indicate that the user has a fever or other health problems; if the fluctuation range of the temperature value is abnormal, it may indicate that the sensor is faulty or needs to be recalibrated. By analyzing the characterization value and time data of toilet behavior, the smart toilet calculates the theoretical temperature value based on physical formulas and compares it with historical data. It can effectively distinguish users of different age groups and provide health monitoring functions. This method not only improves the automation level of smart toilets, but also provides users with the possibility of health monitoring, opening up new avenues for personal health management and remote patient monitoring in medical institutions. It should be stated that the temperature measured by this scheme is not accurate, but it can be used as a relative quantity to measure the relative changes in different urination situations. Therefore, in this case, the calculation result tends to be recorded more as a dimensionless indicator. However, it is also possible to set up an additional temperature sensor to obtain the corresponding temperature data, or to use a more accurate and sensitive infrared sensor to obtain more accurate data. This will not be explained in detail here.
[0102] In this embodiment, if it is determined to be a defecation, the start and end points of the characterization sequence are used as the time points for triggering the smart toilet flushing, and then the following steps are also included:
[0103] A62. If it is determined to be a defecation, when the fluctuation characterization value remains unchanged, the smart toilet is triggered to flush. The smart toilet will continuously monitor the infrared emission fluctuations above the water seal plane and convert these fluctuations into characterization values. These characterization values reflect the fluctuations of the water seal plane, and the user's toilet behavior can be inferred. When the fluctuation characterization value remains unchanged for a period of time, the smart toilet will determine that the user's defecation behavior has ended. This is because during the defecation process, the fluctuation of the water seal plane will change with the user's movements. When the fluctuation stops, it can be considered that the defecation is complete.
[0104] The smart toilet can also adjust the intensity and duration of the flushing by judging the amount of stool according to the fluctuation of the fluctuation characterization value. For example, if the amount of stool is large, the fluctuation of the corresponding characterization value is also more obvious. By setting a threshold or calibration, the approximate amount of stool can be preliminarily judged at each fluctuation. If the amount of stool is large, the toilet can use a stronger flushing force and a longer flushing time to ensure cleaning. It should be noted that different infrared sensors have different parameter indicators such as sensitivity, and the structures of different toilet products are also different. Those skilled in the art can adapt the corresponding infrared sensor according to their own toilet configuration, and then set the threshold or calibration, which will not be repeated here.
[0105] S4, continue to monitor the target person until the target person leaves the range of the second distance, and then close the toilet lid;
[0106] S5. When the target person is not detected within the preset time, close the toilet lid.
[0107] Embodiment 2
[0108] See also Figure 8 , a control system of an intelligent toilet, characterized in that, based on the above method; the system comprises:
[0109] A distance measuring module, which is configured to, when it is detected that the toilet lid is in an open position and when the infrared sensor detects the target person, determine that the target person is at a first distance or a second distance; the first distance is greater than the second distance;
[0110] A first control module, configured to open the toilet seat when a target person is detected to be within a first distance;
[0111] The second control module is configured to, when it is detected that the target person is within the range of the second distance, actively transmit infrared rays to the water surface, detect the change of the infrared signal reflected back when the water seal plane fluctuates, and obtain the fluctuation characterization value; based on the characterization value, monitor the start and end time points of going to the toilet, and trigger the smart toilet to automatically flush according to the time points;
[0112] A third control module is configured to continuously monitor the target person until the target person leaves the range of the second distance and then close the toilet lid;
[0113] The fourth control module is configured to close the toilet lid when the target person is not detected within a preset time.
[0114] In the above technical scheme, in order to better use the method described in one of the embodiments, the present application proposes a control system for an intelligent toilet, and each module corresponds to each step of the method described in one of the embodiments. The specific principles have been described above and will not be repeated here.
[0115] The above descriptions are only some embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Any equivalent device or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A method for controlling an intelligent toilet, characterized in that: The method comprises: When it is detected that the toilet lid is in the open position and when the sensor detects the target person, it is determined that the target person is at a first distance or a second distance; the first distance is greater than the second distance; When the target person is detected to be within the first distance, the toilet seat is opened; When the target person is detected to be within the second distance, infrared rays are actively emitted to the water surface, and the changes in the reflected infrared signals when the water seal plane fluctuates are detected, and the fluctuation characterization value is obtained; the start and end time points of going to the toilet are monitored based on the characterization value, and the smart toilet is triggered to automatically flush according to the time points; Continuously monitor the target person until the target person leaves the range of the second distance, and then close the toilet lid; When the target person is not detected within the preset time, the toilet lid is closed.
2. A method for controlling an intelligent toilet as claimed in claim 1, characterized in that: When the target person is detected to be within the first distance, the toilet seat is opened, followed by: When it is detected that the target person leaves the range of the first distance, the toilet seat is closed and the flushing is controlled.
3. The control method of a smart toilet according to claim 1, characterized in that: Continuously monitoring the target person until the target person leaves the range of the second distance, and then closing the toilet lid, further comprising: When the target person is at the second distance for longer than the set time, a sedentary reminder signal is sent.
4. The control method of a smart toilet according to claim 1, characterized in that: By actively emitting infrared rays to the water surface, and then detecting the changes in the reflected infrared signals when the water seal plane fluctuates, the fluctuation characterization value is obtained; Based on the characterization value, the start and end time points of using the toilet are monitored, and the smart toilet is triggered to automatically flush according to the time points, including: Transmitting an infrared light signal to the water seal plane at a preset distance above the water seal plane; When the water seal plane is calm, the reflected infrared emission signal is recorded and used as the first characterization value; When the water seal plane fluctuates, the fluctuation parameter value of infrared reflection or refraction is continuously collected, and the parameter value is used as the second characterization value, and the characterization sequence is formed after deducting the first characterization value; The starting and ending points of the characterization sequence are used as the time points for triggering the smart toilet flushing.
5. A method for controlling an intelligent toilet as claimed in claim 4, characterized in that: When the water seal plane fluctuates, it also includes: The first characterization value is deducted from the second characterization value collected when the water seal plane fluctuates for the first time. If the result is less than the first threshold, it is judged as urine; otherwise, it is defecation.
6. A method for controlling an intelligent toilet as claimed in claim 5, characterized in that: If it is determined to be urination, the start and end points of the characterization sequence are used as the time points to trigger the smart toilet flushing, and then the following are also included: Based on the characterization sequence, a mapping relationship between the characterization value and the toilet time t is constructed, and the characterization values in the range of 15%t to 85%t are extracted to calculate the average value, and the average value is used as the first indicator of the toilet time; The above steps are repeated for a preset number of times, and the median value of the toilet time and the median value of the characterization value are extracted respectively, which are recorded as (t0, Q0), where t0 is the median value of the toilet time and Q0 is the median value of the characterization value; Taking (t0, Q0) as the coordinate value and adopting the four-quadrant classification method, a four-quadrant classification interval is constructed.
7. A method for controlling an intelligent toilet as claimed in claim 6, characterized in that: Taking (t0, Q0) as the coordinate value, the four-quadrant classification method is used to construct the four-quadrant classification interval, which is also included. Each time you urinate, record the characterization value - the time t of this toilet visit, and based on the characterization value - the time t of this toilet visit and the four-quadrant classification intervals, distinguish: young and strong men, young and strong women, middle-aged and elderly people, and children.
8. The control method of a smart toilet according to claim 6, characterized in that: Each time you urinate, record the characterization value - the time t of this toilet trip, and based on the characterization value - the time t of this toilet trip and the four-quadrant classification interval, distinguish: young and strong men, young and strong women, middle-aged and elderly people, and children, and then also include: Based on the second characterization value, the output voltage value of the collected second characterization value at the corresponding time point is obtained, and is calculated based on the following formula: Where, C is the theoretical temperature value; V is the output voltage value; K is the sensor constant, which is the product of the detector sensitivity R, the standard urine emissivity ∈ and the Stefan-Boltzmann constant σ; Based on the characterization sequence, a mapping relationship between the theoretical temperature measurement value and the toilet time t is constructed, and the theoretical temperature measurement values in the range of 15%t to 85%t are extracted to calculate the average value, and the average value is used as the second indicator of the toilet time; The second indicator is compared with a second threshold to determine whether it is abnormal.
9. A method for controlling an intelligent toilet as claimed in claim 6, characterized in that: If it is determined to be defecation, the start and end points of the characterization sequence are used as the time points to trigger the smart toilet flushing, and then the following are included: If it is judged as defecation, when the fluctuation characterization value remains unchanged, the smart toilet flushing is triggered.
10. A control system for an intelligent toilet, characterized in that: Based on the method described in any one of claims 1 to 8; the system comprises: A distance measuring module, which is configured to, when detecting that the toilet lid is in an open position and when the sensor detects a target person, determine that the target person is at a first distance or a second distance; the first distance is greater than the second distance; A first control module, configured to open the toilet seat when a target person is detected to be within a first distance; The second control module is configured to, when it is detected that the target person is within the range of the second distance, actively transmit infrared rays to the water surface, detect the change of the infrared signal reflected back when the water seal plane fluctuates, and obtain the fluctuation characterization value; based on the characterization value, monitor the start and end time points of going to the toilet, and trigger the smart toilet to automatically flush according to the time points; A third control module is configured to continuously monitor the target person until the target person leaves the range of the second distance and then close the toilet lid; The fourth control module is configured to close the toilet lid when the target person is not detected within a preset time.
Citation Information
Cited By
Method and system for monitoring vital signs in whole process of defecation and pedestal pan
CN121400789A
Toilet whole process vital sign monitoring method, system and toilet bowl
CN121400789B