Intelligent closestool induction control system
Through the intelligent toilet sensing control system, the user type is obtained by using sensors and the toilet cover opening time is solved, and the fixed time threshold in the prior art cannot adapt to different user habits is improved, and the user experience and system accuracy are improved.
Patent Information
- Application Number
- CN202411700015.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-03-18
AI Technical Summary
In the existing smart toilet system, the fixed time threshold cannot adapt to the usage habits of different users, resulting in young users waiting time too long or the toilet lid is accidentally opened.
An intelligent toilet sensing control system including weight sensors and microwave sensors is adopted to obtain the user type through a data analysis device and adjust the toilet cover opening time according to the user type.
It realizes dynamic adjustment of toilet lid opening time according to user type, improves user experience, and effectively reduces the probability of mistaken opening.
Smart Images

Figure CN119632445A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control, and in particular to an intelligent toilet induction control system. Background Art
[0002] Existing smart toilets generally control the opening and closing of the toilet lid by induction. When the toilet lid is in a closed state, if it is detected that the user stays in a space in front of the sensor installed at the bottom of the toilet body and the distance between the sensor is less than the set distance threshold for a time greater than the set time threshold, the toilet lid will be opened, and when it is detected that the user gets up and leaves the toilet, the toilet lid will be closed. This brings a problem. Different users have different usage habits, and a fixed time threshold cannot be well applied to users with different usage habits. For young users, they approach the toilet quickly. If the set time threshold is too large, young users will have to wait for a long time before the toilet lid opens, resulting in a poor user experience. If the set time threshold is too small, it is easy to cause the toilet lid to be opened by mistake. For example, the user may only pass in front of the toilet and does not need to use the toilet. Summary of the invention
[0003] The purpose of the present invention is to disclose an intelligent toilet induction control system to solve the technical problems raised in the background technology.
[0004] In order to achieve the above object, the present invention adopts the following technical solution:
[0005] The present invention provides an intelligent toilet induction control system, including a sensor device, a data storage device, a data analysis device and a control device;
[0006] The sensor device includes a weight sensor arranged under the toilet seat and a microwave sensor arranged at the front end of the toilet body;
[0007] The microwave sensor is used to obtain the distance between the user and the toilet bowl, and transmit the distance to the data storage device;
[0008] The data storage device is used to store the distance;
[0009] The data analysis device is used to obtain the data characteristics of the distance stored in the data storage device, and obtain the type of the user based on the data characteristics;
[0010] The control device is used to control the toilet lid to open according to the type of user;
[0011] The weight sensor is used to sense the weight above the toilet seat and transmit it to the data storage device;
[0012] The data storage device is used to store the weight;
[0013] The control device is used to control the toilet lid to close according to weight.
[0014] Preferably, it also includes a foot sensor;
[0015] The foot sensor is arranged on the side of the toilet body, and is used to detect whether there is an object in front of itself that is less than a set first distance threshold. If so, a notification signal is sent to the control device;
[0016] The control device is used to control the toilet pad to open according to the notification signal.
[0017] Preferably, the front end of the barrel body refers to the end away from the toilet tank.
[0018] Preferably, the angle between the emission direction of the microwave of the microwave sensor and the ground is φ;
[0019] The calculation formula for the distance L between the user and the toilet body is:
[0020] L=A×cos(φ)
[0021] A represents the distance detected by the microwave sensor.
[0022] Preferably, storing the distance includes:
[0023] The distance is filtered, and the obtained filtered distance is stored.
[0024] Preferably, obtaining the distance between the user and the toilet body includes:
[0025] Adopt adaptive time interval to obtain the distance between the user and the toilet bowl.
[0026] Preferably, obtaining the data features of the distance stored in the data storage device includes:
[0027] For the qth distance L in the data storage device q , judge L q Is it less than the preset second distance threshold thre2? If so, perform the following processing:
[0028] The time distance L will be obtained q The distance whose value is greater than the third distance threshold thre3 is represented by L s , L s represents the sth distance; s is less than q; thre3 is greater than thre2;
[0029] Will get the time at The distance and L s , L qStore in sequence sequ according to the order of acquisition time from earliest to latest; gt s and gt q L s , L q The acquisition time;
[0030] Get the data characteristics of sequ.
[0031] Preferably, the data feature comprises the number Nsq of distances in sequ.
[0032] Preferably, obtaining the type of user based on data features includes:
[0033] The types of users are divided into four types: young people, middle-aged people, old people and unknown people;
[0034] If Nsq is less than nthr0, it means the user type is unknown;
[0035] If Nsq is greater than or equal to nthr0 and less than nthr1, it means that the user type is young people;
[0036] If Nsq is greater than or equal to nthr1 and less than nthr2, it means that the user type is middle-aged;
[0037] If Nsq is greater than or equal to nthr2, it means that the user type is elderly;
[0038] nthr2 is greater than nthr1, and thr1 is greater than nthr0.
[0039] Preferably, the toilet lid is controlled to open according to the type of user, including:
[0040] If the user type is a young person, after determining the user type, wait for t1 seconds to determine whether the closest distance to tf+t1 at the acquisition time stored in the data storage device is still less than thre2. If so, control the toilet lid to open, and tf represents the time when the user type is determined;
[0041] If the user type is a middle-aged person, after determining the user type, wait for t2 seconds to determine whether the closest distance from the acquisition time to tf+t2 stored in the data storage device is still less than thre2. If so, control the toilet lid to open;
[0042] If the user type is elderly, after determining the user type, wait for t3 seconds to determine whether the closest distance from the acquisition time tf+t3 stored in the data storage device is still less than thre2. If so, control the toilet lid to open;
[0043] If the user type is unknown, after determining the user type, wait for t4 seconds to determine whether the closest distance from the acquisition time to tf+t4 stored in the data storage device is still less than thre2. If so, control the toilet lid to open;
[0044] t3=2×t1, t4=3×t1.
[0045] Beneficial effects:
[0046] Compared with the prior art, the present invention can judge the type of user based on the characteristics of the obtained distance data, so that different toilet lid opening speeds can be set more reasonably for different users, so as to provide a better user experience and effectively reduce the probability of accidental opening. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0048] Figure 1 A schematic diagram of an intelligent toilet sensor control system of the present invention.
[0049] Figure 2 A schematic diagram of the relationship between L and A of the present invention. DETAILED DESCRIPTION
[0050] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents the selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present invention.
[0051] like Figure 1 In one embodiment shown, the present invention provides an intelligent toilet induction control system, including a sensor device, a data storage device, a data analysis device and a control device;
[0052] The sensor device includes a weight sensor arranged under the toilet seat and a microwave sensor arranged at the front end of the toilet body;
[0053] The microwave sensor can be set in the lower half of the front end of the toilet bowl; the weight sensor can be a piezoelectric sensor; the piezoelectric sensor senses the change of weight through the piezoelectric effect. Piezoelectric materials (such as quartz crystals, ceramics, etc.) will deform when subjected to force, thereby generating electric charge;
[0054] The microwave sensor is used to obtain the distance between the user and the toilet bowl, and transmit the distance to the data storage device;
[0055] The data storage device is used to store the distance;
[0056] The data analysis device is used to obtain the data characteristics of the distance stored in the data storage device, and obtain the type of the user based on the data characteristics;
[0057] The control device is used to control the toilet lid to open according to the type of user;
[0058] The weight sensor is used to sense the weight above the toilet seat and transmit it to the data storage device;
[0059] The data storage device is used to store the weight;
[0060] The control device is used to control the toilet lid to close according to weight.
[0061] The above implementation can judge the type of user based on the characteristics of the obtained distance data, so that different toilet lid opening speeds can be set more reasonably for different users, so as to provide a better user experience and effectively reduce the probability of accidental opening.
[0062] Preferably, it also includes a foot sensor;
[0063] The foot sensor is arranged on the side of the toilet body, and is used to detect whether there is an object in front of itself that is less than a set first distance threshold. If so, a notification signal is sent to the control device;
[0064] The control device is used to control the toilet pad to open according to the notification signal.
[0065] A foot sensor is provided so that male users can open the toilet seat without moving their hands when urinating.
[0066] Specifically, the foot sensor can be set on the left side or the right side of the toilet.
[0067] Specifically, the first distance threshold may be set to 7 cm.
[0068] Specifically, the notification signal may be a pulse signal.
[0069] Specifically, controlling the toilet pad to open according to the notification signal includes:
[0070] After receiving the notification signal, if the toilet lid has been opened, the toilet pad is controlled to be opened, otherwise, the toilet pad is not controlled to be opened.
[0071] Preferably, the front end of the barrel body refers to the end away from the toilet tank.
[0072] Generally speaking, one end of the toilet body is closer to the water tank, while the other end is farther from the water tank. When using the toilet, the user usually approaches the toilet from the direction along the front end of the toilet body.
[0073] Preferably, if Figure 2 , the angle between the microwave emission direction of the microwave sensor and the ground is φ;
[0074] The calculation formula for the distance L between the user and the toilet body is:
[0075] L=A×cos(φ)
[0076] A represents the distance detected by the microwave sensor.
[0077] Specifically, the microwave sensor transmits pulse microwave signals at an angle upward, which can effectively reduce the probability of the toilet lid being opened by mistake when mopping the floor, because the mop is generally used close to the ground.
[0078] Preferably, storing the distance includes:
[0079] The distance is filtered, and the obtained filtered distance is stored.
[0080] Filtering the obtained distance can effectively improve the validity of the obtained data and reduce the impact of noise on subsequent judgments.
[0081] Preferably, for the pth distance L obtained p , for L p The filtering formula is:
[0082]
[0083] lwu represents the time distance gt stored in the data storage device. p The set of the first Q nearest distances, v represents a distance in lwu, v is the vhth distance obtained, nlwu represents the total number of distances in lwu, mxL=|L p -vmi|, vmi means getting time and gt in lwu pThe farthest distance, Q is a preset integer, gt p For L p The acquisition moment.
[0084] Specifically, the present invention performs filtering based on the acquisition time ratio gt p The data in LWU are filtered and stored in the data storage device. Therefore, the data in LWU are filtered and the LWU is calculated based on the data. p Filtering can effectively improve the effectiveness of the filtering results.
[0085] When the distance v in lwu is p The greater the difference between the serial numbers, the greater the difference between v and L p The larger the numerical difference between them, the smaller the reference ratio of v in the filtering, so that the acquisition time distance gt can be given p More recently, with L p The larger the reference ratio of the minimum distance between the sequence numbers, the more accurate the filtering result can be.
[0086] Preferably, obtaining the distance between the user and the toilet body includes:
[0087] Adopt adaptive time interval to obtain the distance between the user and the toilet bowl.
[0088] Specifically, if a smaller time interval is always used to obtain the distance between the user and the toilet body, the power consumption of the smart toilet will be too high. Therefore, the present invention can effectively reduce power consumption while ensuring the amount of data in the subsequent judgment process through an adaptive time interval.
[0089] The distance between the user and the toilet bowl is obtained once at every time interval.
[0090] Preferably, the process of obtaining the adaptive time interval is as follows:
[0091] After the current time period ends, the time interval in the next time period is calculated using the following formula:
[0092]
[0093] cycs b+1 and cycs b are the time intervals used for the b+1th and bth time periods, respectively, abs b and abs b-1 represents the standard deviation of the distance obtained by the microwave sensor in the time interval corresponding to the bth and b-1th time periods, ave brepresents the average value of the distance obtained by the microwave sensor in the time interval corresponding to the bth time period, and cyct represents the preset time interval;
[0094] If cycs b+1 If the time interval is less than the minimum value cyci, cycs b+1 The value of is changed to cyci;
[0095] If cycs b+1 If the time interval is greater than the maximum value cyca, cycs b+1 The value of is changed to cyca;
[0096] All time periods have the same duration.
[0097] The present invention obtains the time interval in the next time period by comparing the standard deviation of the distances obtained in the previous two time periods. b Greater than abs b-1 When , it means that the fluctuation of distance becomes larger, therefore, the time interval of the next time period is adaptively shortened, and in abs b Less than abs b-1 When , it means that the fluctuation of distance becomes smaller, therefore, the time interval of the next time period is adaptively expanded, in abs b Equal to abs b-1 When , the time interval remains unchanged. And the change amplitude of the time interval is the same as abs b 、abs b-1 The absolute value of the difference between them is positively correlated, so that when the fluctuation of the distance is greater, a smaller time interval can be set to increase the number of distances obtained per unit time, providing a sufficient number of distances for subsequent judgment; when the fluctuation of the distance is smaller, a larger time interval can be set to reduce the number of distances obtained per unit time, reduce the power consumption of the sensor device, and achieve a balance between power consumption and monitoring performance.
[0098] Specifically, when cycs is calculated b+1 After that, it enters the b+1th time period.
[0099] Specifically, the preset time interval is 0.1 second.
[0100] Specifically, cyci is 0.01 seconds and cyca is 0.1 seconds.
[0101] Specifically, the time period may be 1 second.
[0102] Preferably, obtaining the data features of the distance stored in the data storage device includes:
[0103] For the qth distance L in the data storage device q , judge L q Is it less than the preset second distance threshold thre2? If so, perform the following processing:
[0104] The time distance L will be obtained q The distance whose value is greater than the third distance threshold thre3 is represented by L s , L s represents the sth distance; s is less than q; thre3 is greater than thre2;
[0105] The time to obtain is [gt s ,gt q ] and L s , L q Store in sequence sequ according to the order of acquisition time from earliest to latest; gt s and gt q L s , L q The acquisition time;
[0106] Get the data characteristics of sequ.
[0107] Specifically, the third distance threshold may be 1.5 meters, and the second distance threshold may be 0.3 meters.
[0108] Preferably, the data feature comprises the number Nsq of distances in sequ.
[0109] Preferably, obtaining the type of user based on data features includes:
[0110] The types of users are divided into four types: young people, middle-aged people, old people and unknown people;
[0111] If Nsq is less than nthr0, it means the user type is unknown;
[0112] If Nsq is greater than or equal to nthr0 and less than nthr1, it means that the user type is young people;
[0113] If Nsq is greater than or equal to nthr1 and less than nthr2, it means that the user type is middle-aged;
[0114] If Nsq is greater than or equal to nthr2, it means that the user type is elderly;
[0115] nthr2 is greater than nthr1, and thr1 is greater than nthr0.
[0116] Specifically, when a user passes by a toilet but does not use it, since the user stays there for a short time, the present invention sets an unknown person type as the user type in this case, which can effectively reduce the probability of the toilet lid being opened by mistake.
[0117] Specifically, nthr0 may be two-thirds of thr1, and nthr1 may be two-thirds of nthr2.
[0118] Specifically, nthr0 can be 20.
[0119] Preferably, the toilet lid is controlled to open according to the type of user, including:
[0120] If the user type is a young person, after determining the user type, wait for t1 seconds to determine whether the closest distance to tf+t1 at the acquisition time stored in the data storage device is still less than thre2. If so, control the toilet lid to open, and tf represents the time when the user type is determined;
[0121] If the user type is a middle-aged person, after determining the user type, wait for t2 seconds to determine whether the closest distance from the acquisition time to tf+t2 stored in the data storage device is still less than thre2. If so, control the toilet lid to open;
[0122] If the user type is elderly, after determining the user type, wait for t3 seconds to determine whether the closest distance from the acquisition time tf+t3 stored in the data storage device is still less than thre2. If so, control the toilet lid to open;
[0123] If the user type is unknown, after determining the user type, wait for t4 seconds to determine whether the closest distance from the acquisition time to tf+t4 stored in the data storage device is still less than thre2. If so, control the toilet lid to open;
[0124] t3=2×t1t4=3×t1
[0125] Specifically, t1 may be 1 second.
[0126] Preferably, the toilet lid is closed by controlling the weight, including:
[0127] For the data storage device, the latest weight P is obtained. c , c is P c The serial number of P c and P c-1 Whether the absolute value of the difference between them is greater than the set absolute value threshold, if so, the toilet lid is controlled to be closed.
[0128] Specifically, the absolute value threshold is set to 10 kg.
[0129] Preferably, the control device is further used to control the toilet seat and the toilet lid to close based on the distance stored in the data storage device:
[0130] If after the toilet lid is opened, there are H consecutive acquisition times greater than And if the distance is less than thre3, the toilet pad and toilet lid are controlled to be closed.
[0131] When the user does not use the toilet pad, the weight of the toilet pad cannot be obtained. Therefore, it is possible to determine whether the user is far away from the toilet by judging whether the obtained distance is within a specified distance interval. This is because if the user is far away from the toilet, the distance between the user and the toilet body will gradually increase.
[0132] Specifically, controlling the toilet seat and toilet lid to close includes:
[0133] If the toilet seat and toilet lid are both open, the toilet seat and toilet lid are controlled to be closed at the same time;
[0134] If only the toilet lid is open, the toilet lid is controlled to be closed.
[0135] Specifically, the value of H may be 20.
[0136] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims
1. An intelligent toilet induction control system, characterized in that: including a sensor device, a data storage device, a data analysis device and a control device; The sensor device includes a weight sensor arranged under the toilet seat and a microwave sensor arranged at the front end of the toilet body; The microwave sensor is used to obtain the distance between the user and the toilet bowl, and transmit the distance to the data storage device; The data storage device is used to store the distance; The data analysis device is used to obtain the data characteristics of the distance stored in the data storage device, and obtain the type of the user based on the data characteristics; The control device is used to control the toilet lid to open according to the type of user; The weight sensor is used to sense the weight above the toilet seat and transmit it to the data storage device; The data storage device is used to store the weight; The control device is used to control the toilet lid to close according to weight.
2. The intelligent toilet induction control system according to claim 1, characterized in that: Also includes foot sensors; The foot sensor is arranged on the side of the toilet body, and is used to detect whether there is an object in front of itself that is less than a set first distance threshold. If so, a notification signal is sent to the control device; The control device is used to control the toilet pad to open according to the notification signal.
3. The intelligent toilet induction control system according to claim 1, characterized in that: The front end of the toilet body refers to the end away from the toilet tank.
4. The intelligent toilet induction control system according to claim 1, characterized in that: The angle between the microwave emission direction of the microwave sensor and the ground is φ; The calculation formula for the distance L between the user and the toilet body is: L=A×cos(φ) A represents the distance detected by the microwave sensor.
5. The intelligent toilet induction control system according to claim 1, characterized in that: The distance is stored, including: The distance is filtered, and the obtained filtered distance is stored.
6. The intelligent toilet induction control system according to claim 1, characterized in that: Get the distance between the user and the toilet bowl, including: Adopt adaptive time interval to obtain the distance between the user and the toilet bowl.
7. The intelligent toilet induction control system according to claim 1, characterized in that: Obtaining data characteristics of the distance stored in the data storage device, including: For the qth distance L in the data storage device q , judge L q Is it less than the preset second distance threshold thre2? If so, perform the following processing: The time distance L will be obtained q The distance whose value is greater than the third distance threshold thre3 is represented by L s , L s represents the sth distance; s is less than q; thre3 is greater than thre2; The time to obtain is [gt s ,gt q ] and L s , L q Store in sequence sequ according to the order of acquisition time from earliest to latest; gt s and gt q L s , L q The acquisition time; Get the data characteristics of sequ.
8. The intelligent toilet induction control system according to claim 7, characterized in that: The data features include the number Nsq of distances in the sequence.
9. The intelligent toilet induction control system according to claim 8, characterized in that: Get the user type based on data features, including: The types of users are divided into four types: young people, middle-aged people, old people and unknown people; If Nsq is less than nthr0, it means the user type is unknown; If Nsq is greater than or equal to nthr0 and less than nthr1, it means that the user type is young people; If Nsq is greater than or equal to nthr1 and less than nthr2, it means that the user type is middle-aged; If Nsq is greater than or equal to nthr2, it means that the user type is elderly; nthr2 is greater than nthr1, and thr1 is greater than nthr0.
10. The intelligent toilet induction control system according to claim 9, characterized in that: Control the toilet lid to open according to the type of user, including: If the user type is a young person, after determining the user type, wait for t1 seconds to determine whether the closest distance to tf+t1 at the acquisition time stored in the data storage device is still less than thre2. If so, control the toilet lid to open, and tf represents the time when the user type is determined; If the user type is a middle-aged person, after determining the user type, wait for t2 seconds to determine whether the closest distance from the acquisition time to tf+t2 stored in the data storage device is still less than thre2. If so, control the toilet lid to open; If the user type is elderly, after determining the user type, wait for t3 seconds to determine whether the closest distance from the acquisition time tf+t3 stored in the data storage device is still less than thre2. If so, control the toilet lid to open; If the user type is unknown, after determining the user type, wait for t4 seconds to determine whether the closest distance from the acquisition time to tf+t4 stored in the data storage device is still less than thre2. If so, control the toilet lid to open; <h2 style=";text-align:left;direction:ltr"> <h2 style=";text-align:left;direction:ltr"> t3 = 2×t1, t4 = 3×t1.
Citation Information
Patent Citations
Control method and device for intelligent toilet bowl
CN105735444A
Elevator system and control method for same
CN106315316A
Intelligent toilet with FMCW (frequency modulated continuous wave) microwave distance-measuring induction function and detection method
CN108252378A
Intelligent closestool and relevant user view recognition device and controlling means
CN207959403U
Toilet seat and cover opening / closing device
JP1995079884A