As the people's living standard continues to rise, smart toilet has gradually stepped into people's life. In addition to satisfying the comfort requirements, the smart toilet is additionally provided with a health monitoring function, such as making a health data analysis through collecting urine sample. However, cross-contamination may occur when using urine samples collected from an inner surface of the toilet, which affects the accuracy of the health data analysis. Therefore, at present, how to avoid the cross-contamination between urine samples absorbed from the inner surface of the toilet to improve the accuracy of the health data analysis has become an urgent problem to be solved.
A first technical problem to be solved by the present invention is to provide a method for automatically positioning urine, used for a healthy smart toilet. In this method, the urine can be positioned while it is in the air before contacting the toilet, therefore the urine can be collected without contacting the toilet. This method prevents the cross-contamination between urine samples and improves the accuracy of the health data analysis.
The present invention uses the following technical solutions in order to solve the above-mentioned technical problems.
A method for automatically positioning urine, comprising: determining a position of the urine according to a temperature result scanned by a non-contact temperature sensor, and calculating point coordinates of the position of the urine in a toilet.
Further, the method comprises: step A: scanning and detecting temperature by sector scanning within an angle γ using the non-contact temperature sensor arranged in a left or right side wall of the toilet, the non-contact temperature sensor is driven by a stepping motor; calculating X in point coordinates (X, Y) of the position of the urine in the toilet based on the angle with the highest temperature and tangent formula; and/or step B: scanning and detecting temperature within an angle δ by sector scanning using the non-contact temperature sensor arranged in a front or rear side wall of the toilet, the non-contact temperature sensor is driven by a stepping motor, and calculating Y in point coordinates (X, Y) of the position of the urine in the toilet based on the angle with the highest temperature and tangent formula.
Further, the step A specifically comprises: step A1: when the sensor scans within the angle γ, each time the stepping motor turns by an angle φ, the sensor reads temperature and records the highest temperature value and the turning angle λ of the stepping motor at which the highest temperature value is read; and step A2: calculating the position of the urine each time the sensor reaches the boundary of the angle γ.
Step B specifically comprises: step B1: when the sensor scans within the angle δ, each time the stepping motor turns by an angle θ, the sensor reads temperature and records the highest temperature value and the turning angle ω of the stepping motor at which the highest temperature value is read; and step B2: calculating the position of the urine each time the sensor reaches the boundary of the angle δ.
Further, in the step A2, the calculation method is X=(L1/COS μ)*TAN(|γ/2−λ|); wherein, L1 is the distance between the long shaft of the toilet and the central scanning point of the left or right side wall where the sensor is located, and μ is an included angle between a scanning plane of the sensor and the horizontal plane; and in the step B2, the calculation method is Y=(L2/COS ξ)*TAN(|δ/2−ω|); wherein, L2 is the distance between the short shaft of the toilet and the central scanning point of the front or rear side wall where the sensor is located, and ξ is an included angle between a scanning plane of the sensor and the horizontal plane.
Further, in the steps A1 and B1, when the sensor reads temperature, the lowest temperature value is recorded meanwhile; and in the steps A2 and B2, each time the sensor reaches the boundary, a temperature difference between the highest temperature and the lowest temperature is calculated, and if the temperature difference is greater than a set temperature difference threshold, the position of the urine is calculated.
Further, in the steps A1 and B1, the entire scanning area is divided into N sectors; and in the steps A2 and B2, each time the sensor reaches the lower boundary of one sector, a temperature difference between the highest temperature and the lowest temperature of the sector is calculated, and if the temperature difference is greater than the set temperature difference threshold, the position of the urine is calculated.
Further, prior to step A, scanning is firstly conducted in the scope of the angle γ or angle δ, the lowest environment temperature in the scope of the angle γ or angle δ is recorded, and different temperature difference thresholds are set according to different lowest environment temperatures; or the temperature difference thresholds are directly set as 3° C.
Further, the sensor has three modes comprising full-angle scanning, small-angle scanning and extended-scope scanning, within the angle γ and the angle δ; the full-angle scanning reads temperature within the entire angle γ and angle δ; each scanning area is divided into N sectors, the small-angle scanning reads temperature in the scope of a center sector and its adjacent sectors on both left and right sides; and the extended-scope scanning reads temperature in the scope of a center sector and its adjacent two sectors on both left and right sides; before the position of the urine is found for the first time, the sensor conducts the full-angle scanning; when the position of the urine is found, the sensor conducts the small-angle scanning in the sector where the urine is found and the adjacent sectors on both left and right sides; when the sensor conducts a small-angle scanning, if none of the sectors presents a temperature difference greater than the temperature difference threshold, which indicates that the position of the urine is changed, the extended-scope scanning is conducted by the sensor in the scope of the sector where the urine is originally found and adjacent two sectors on both left and right sides; and if none of the sectors presents a temperature difference greater than the temperature difference threshold during the extended-scope scanning, the sensor conducts a full-angle scanning again.
Additionally, a second technical problem to be solved by the present invention is to provide a device for automatically positioning urine in a healthy smart toilet. In this device, the urine can be positioned while it is in the air before contacting the toilet, therefore the urine can be collected without contacting the toilet, which prevents the cross-contamination between urine samples.
The present invention uses the following technical solutions in order to solve the above-mentioned technical problems.
A device for automatically positioning urine, comprising a module for automatically positioning urine, configured to determine the position of the urine according to a temperature result scanned by a non-contact temperature sensor, and calculate point coordinates of the position of the urine in a toilet.
Further, the module for automatically positioning urine comprises a first module for scanning, recording and position calculating, configured to scan and detect temperature by sector scanning within an angle γ using the non-contact temperature sensor arranged in a left or right side wall of the toilet, the non-contact temperature sensor is driven by a stepping motor, and calculate X in point coordinates (X, Y) of the position of the urine in the toilet based on the angle with the highest temperature and tangent formula; and/or a second module for scanning, recording and position calculating, configured to scan and detect temperature by sector scanning within an angle δ using the non-contact temperature sensor arranged in a front or rear side wall of the toilet, the non-contact temperature sensor is driven by the stepping motor, and calculate Y in point coordinates (X, Y) of the position of the urine in the toilet based on the angle with the highest temperature and tangent formula.
Further, the first module for scanning, recording and position calculating specifically comprises: a first module for scanning and recording, configured to: when the sensor scans within the angle γ, read temperature each time the stepping motor turns by an angle (p, and record the highest temperature value and the turning angle λ of the stepping motor at which the highest temperature value is read; and a first module for position calculating, configured to calculate the position of the urine each time the sensor reaches the boundary of the angle.
The second module for scanning, recording and position calculating specifically comprises: a second module for scanning and recording, configured to: when the sensor scans within the angle δ, read temperature each time the stepping motor turns by an angle θ, and record the highest temperature value and the turning angle ω of the stepping motor at which the highest temperature value is read; and a second module for position calculating, configured to calculate the position of the urine when the sensor reaches the boundary of the angle δ.
Further, in the first module for position calculating, the calculation method is X=(L1/COS μ)*TAN(|γ/2−λ|); wherein, L1 is the distance between the long shaft of the toilet and the central scanning point of the left or right side wall where the sensor is located, and μ is the included angle between a scanning plane of the sensor and the horizontal plane; and in the second module for position calculating, the calculation method is Y=(L2/COS ξ)*TAN(|δ/2−ω|); wherein, L2 is the distance between the short shaft of the toilet and the central scanning point of the front or rear side wall where the sensor is located, and ξ is the included angle between a scanning plane of the sensor and the horizontal plane.
Further, in the first and second modules for scanning and recording, when the sensor reads temperature, the lowest temperature value is recorded meanwhile; and in the first and second modules for position calculating, each time the sensor reaches the boundary, a temperature difference between the highest temperature and the lowest temperature is calculated, and if the temperature difference is greater than the set temperature difference threshold, the position of the urine is calculated.
Further, in the first and second modules for scanning and recording, the entire scanning area is divided into N sectors; and in the first and second modules for position calculating, each time the sensor reaches the lower boundary of one sector, a temperature difference between the highest temperature and the lowest temperature of the sector is calculated, and if the temperature difference is greater than the set temperature difference threshold, the position of the urine is calculated.
The device for automatically positioning urine further comprises a module for setting temperature difference threshold, wherein scanning is firstly conducted in the scope of the angle γ or angle δ, the lowest environment temperature in the scope of the angle γ or angle δ is recorded, and different temperature difference thresholds are set according to different lowest environment temperatures; or the temperature difference threshold is directly set as 3° C.
The device for automatically positioning urine further comprises a module for setting temperature difference threshold, wherein scanning is firstly conducted in the scope of the angle γ or angle δ, the lowest environment temperature in the scope of the angle γ or angle δ is recorded, and different temperature difference thresholds are set according to different lowest environment temperatures; or the temperature difference threshold is directly set as 3° C.
Further, in the module for automatically positioning urine, the sensor has three modes comprising full-angle scanning, small-angle scanning and extended-scope scanning, within angle γ and angle δ; the full-angle scanning reads temperature within the entire angle γ and angle δ; each scanning area is divided into N sectors, the small-angle scanning reads temperature in the scope of a center sector and its adjacent sectors on both left and right sides; and the extended-scope scanning reads temperature in the scope of a center sector and its adjacent two sectors on both left and right sides; before the position of the urine is found for the first time, the sensor conducts the full-angle scanning; when the position of the urine is found, the sensor conducts the small-angle scanning in the scope of the sector where the urine is found and the adjacent sectors on both left and right sides; when the sensor conducts a small-angle scanning, if none of the sectors presents a temperature difference greater than the temperature difference threshold, which indicates that the position of the urine is changed, the extended-scope scanning is conducted by the sensor in the scope of the sector where the urine is originally found and adjacent two sectors on both left and right sides; and if none of the sectors presents a temperature difference greater than the temperature difference threshold during the extended-scope scanning, the sensor conducts a full-angle scanning again.
A device for automatically positioning urine comprises one or more sets of positioning assemblies in the sense of physical structure, wherein the positioning assembly comprises a non-contact temperature sensor, a stepping motor and a motor frame; the non-contact temperature sensor is fixed to the main shaft of the stepping motor, the stepping motor is fixed to the motor frame, and the motor frame is used for fixing to the toilet; and the stepping motor can drive the non-contact temperature sensor to conduct sector scanning.
The positioning assembly further comprises an optocoupler connected to the non-contact temperature sensor and used for determining a zero point of polar coordinates of the sensor.
A third technical problem to be solved by the present invention is to provide a healthy smart toilet containing a device for automatically positioning urine. In the healthy smart toilet, urine can be positioned while it is in the air before contacting the toilet, therefore the urine can be collected without contacting the toilet, which prevents the cross-contamination between urine samples.
The present invention uses the following technical solutions in order to solve the above-mentioned technical problems.
A healthy smart toilet comprises a toilet body, and further comprises the device for automatically positioning urine as described above in the section on the physical structure, wherein the device for automatically positioning urine is mounted on the toilet body, and the stepping motor can drive the non-contact temperature sensor to conduct sector scanning.
Further, two sets of the positioning assemblies are provided, one set is mounted on a front or rear side wall of the toilet body, and the other set is mounted on a left or right side wall of the toilet body.
The present invention at least has the following advantages by use of the above-mentioned designs.
1. In the present invention, point coordinates of the urine are determined by use of temperature (urine temperature, or urine temperature and environment temperature), so that the urine absorbed while being in air is used as the sample for health analysis, avoiding the cross-contamination when absorbing the urine sample from the inner surface of the toilet and thus improving the accuracy of the health data analysis.
2. By using the non-contact temperature sensor with the stepping motor to conduct sector scanning and by determining point coordinates using tangent formula, a new positioning method is provided, which is simple and practical with small error that can be neglected.
3. With two scanning areas in cooperation and using tangent formula to achieve positioning by point coordinates (X, Y), positioning accuracy is improved.
4. Positioning accuracy and positioning efficiency are improved by calculating temperature difference based on the full-angle scanning.
5. Positioning accuracy is improved by setting multiple sectors and conducting comparison calculation at the lower boundary of the sector.
6. The problem of position change of urine is solved by conducting the full-angle scanning in cooperation with the small-angle scanning or the extended-scope scanning.
7. Positioning accuracy can be improved by scanning firstly and determining the lowest environment temperature in the scanning scope, and then setting different temperature difference thresholds according to the lowest environment temperature.
The foregoing description is merely a summary of the technical solutions of the present invention. To understand the technical means of the present invention more clearly, the present invention is further described in detail with reference to the drawings and the detailed embodiments hereinafter.
The present invention provides a method for automatically positioning urine in a healthy smart toilet, which mainly comprises: based on a phenomenon that a temperature of urine is higher than an environment temperature, conducting scans for the urine by a non-contact temperature sensor when the toilet is in use, determining a position of the urine according to a temperature result scanned, and calculating the coordinates of the position points of the urine in the toilet. By this method, urine can be positioned while it is in the air, therefore the urine can be collected without contacting the toilet. This method prevents the cross-contamination between urine samples and improves the accuracy of the health data analysis. Preferably, the non-contact temperature sensor is an infrared temperature sensor.
According to the temperature positioning principle above, either a horizontal and vertical straight-line scanning mode, or a sector scanning mode can be used.
As shown in
Preferably, two sensors are used, one sensor is arranged at a center position of the left or right side wall of the toilet to calculate the X in the point coordinates (X, Y), and the other sensor is arranged at a center position of the front or rear side wall of the toilet to calculate the Y in the point coordinates (X, Y). The positions above are only preferred positions, and the two sensors can also be arranged at other positions.
Detailed description is conducted by taking the sector scanning mode as an example.
A sensor is mounted and fixed on the main shaft of a stepping motor, the sensor scans with the main shaft of the stepping motor within an angle γ, as shown in
The position of the urine is calculated each time the sensor reaches the boundary of the angle γ, as shown in
A sensor is mounted and fixed on the main shaft of a stepping motor, the sensor scans with the main shaft of the stepping motor within an angle γ, as shown in
When the sensor scans within the angle γ, the temperature is read by the sensor each time the stepping motor turns by an angle γ, and the highest temperature value, the lowest temperature value and the turning angle λ of the stepping motor at which the highest temperature value is read are recorded.
A temperature difference between the highest temperature and the lowest temperature of the sector is calculated each time the sensor reaches the boundary of the angle γ, as shown in
A sensor is mounted and fixed on the main shaft of a stepping motor, the sensor scans with the main shaft of the stepping motor within an angle γ, as shown in
In the angle γ, every 5 degrees are defined as one sector, and the entire angle γ is divided into N sectors, as shown in
When the sensor scans within the angle γ, temperature is read by the sensor each time the stepping motor turns by an angle φ, and the highest temperature value, the lowest temperature value and the turning angle λ of the stepping motor at which the highest temperature value is read are recorded.
A temperature difference between the highest temperature and the lowest temperature of the sector is calculated each time the sensor reaches the lower boundary of a sector, as shown in
When the position of the urine is changed, the sensor needs to re-determine the position of the urine.
The sensor has three modes comprising full-angle scanning, small-angle scanning and extended-scope scanning, in the angle γ. The full-angle scanning reads the temperature in the entire angle γ. The small-angle scanning reads temperature in the scope of a center sector and its adjacent sectors on both left and right sides, as shown in
Before the position of the urine is found for the first time, the sensor conducts the full-angle scanning.
When the position of the urine is found, the sensor conducts the small-angle scanning in the scope of the sector where the urine is found and the adjacent sectors on both left and right sides.
When the sensor conducts the small-angle scanning, if none of the sectors presents a temperature difference greater than the temperature difference threshold, which indicates that the position of the urine is changed, the sensor conducts the extended-scope scanning in the scope of the center sector where the urine is originally found and adjacent two sectors on both left and right sides.
If none of the sectors presents a temperature difference greater than the temperature difference threshold during the extended-scope scanning, the sensor conducts a full-angle scanning again.
A control flowchart of the entire method is shown in
A sensor is mounted and fixed on the main shaft of a stepping motor, the sensor scans with the main shaft of the stepping motor within an angle γ, as shown in
When the sensor scans within the angle γ for the first time, temperature is read by the sensor each time the stepping motor turns by an angle γ, and the lowest temperature value is recorded. Environment temperature is calculated when the boundary of the angle γ is reached, and the environment temperature is the lowest temperature. Different temperature difference thresholds are set according to different environment temperatures.
When the sensor scans within the angle γ for the second and subsequent times, temperature is read once by the sensor each time the stepping motor turns by an angle φ, and the highest temperature value, the lowest temperature value and a turning angle λ of the stepping motor at which the highest temperature value is read are recorded.
In the angle γ, every 5 degrees are defined as one sector, and the entire angle γ is divided into N sectors, as shown in
A temperature difference between the highest temperature and the lowest temperature of the sector is calculated when the sensor reaches the lower boundary of a sector, as shown in
When the position of the urine is changed, the sensor needs to re-determine the position of the urine.
The sensor has three modes comprising full-angle scanning, small-angle scanning and extended-scope scanning in the angle γ. The full-angle scanning reads temperature in the entire angle γ. The small-angle scanning reads temperature in the scope of a center sector and its adjacent sectors on both left and right sides, as shown in
Before the position of the urine is found for the first time, the sensor conducts the full-angle scanning.
When the position of the urine is found, the sensor conducts the small-angle scanning in the scope of the sector where the urine is found and the adjacent sectors on both left and right sides.
When the sensor conducts the small-angle scanning, if none of the sectors presents a temperature difference greater than the temperature difference threshold, which indicates that the position of the urine is changed, the sensor conducts the extended-scope scanning in the scope of the sector where the urine is originally found and the adjacent two sectors on both left and right sides.
If none of the sectors presents a temperature difference greater than the temperature difference threshold during the extended-scope scanning, the sensor conducts a full-angle scanning again.
A control flowchart of the entire method is shown in
A device for automatically positioning urine for a healthy smart toilet according to the present invention, in a sense of virtual module structure, the device comprises a module for automatically positioning urine configured to determine the position of urine according to a temperature result scanned by a non-contact temperature sensor and calculate point coordinates of the position of the urine in the toilet.
The above module for automatically positioning urine comprises:
a first module for scanning, recording and position calculating, configured to scan and detect temperature by sector scanning within an angle γ using a non-contact temperature sensor arranged in a left or right side wall of the toilet driven by a stepping motor, and calculate, based on the angle with the highest temperature and tangent formula, X in point coordinates (X, Y) of the position of the urine in the toilet; and/or
a second module for scanning, recording and position calculating, configured to scan and detect temperature by sector scanning within an angle δ using the non-contact temperature sensor arranged in a front or rear side wall of the toilet and driven by a stepping motor, and calculate, based on the angle with the highest temperature and tangent formula, Y in point coordinates (X, Y) of the position of the urine in the toilet.
The above first module for scanning, recording and position calculating specifically comprises: a first module for scanning and recording, configured to read temperature by the sensor when the sensor scans within the angle γ each time the stepping motor turns by an angle φ, and to record the highest temperature value and the turning angle λ of the stepping motor at which the highest temperature value is read; and a first module for position calculating, configured to calculate the position of the urine when the sensor reaches the boundary of the angle γ; and
the above second module for scanning, recording and position calculating specifically comprises: a second module for scanning and recording, configured to read temperature by the sensor when the sensor scans within the angle δ each time the stepping motor turns by an angle θ, and to record the highest temperature value and the turning angle ω of the stepping motor at which the highest temperature value is read; and a second module for position calculating, configured to calculate the position of the urine when the sensor reaches the boundary of the angle δ.
In the first module for position calculating of the first module for scanning, recording and position calculating, the calculation method is: X=(L1/COS μ)*TAN(|γ/2−λ|); wherein, L1 is the distance between the long shaft of the toilet and the central scanning point of the left or right side wall where the sensor is located.
In the second module for position calculating of the second module for scanning, recording and position calculating, the calculation method is Y=(L2/COS ξ)*TAN(|δ/2−ω|); wherein, L2 is the distance between the short shaft of the toilet and the central scanning point of the front or rear side wall where the sensor is located.
Preferably, in the first and second modules for scanning and recording, when the sensor reads temperature, the lowest temperature value is recorded meanwhile; and in the first and second modules for position calculating, each time the sensor reaches the boundary, a temperature difference between the highest temperature and the lowest temperature is calculated, and if the temperature difference is greater than a set temperature difference threshold, the position of the urine is calculated.
Preferably, in the first and second modules for scanning and recording, the entire scanning area is divided into N sectors; and in the first and second modules for position calculating, each time the sensor reaches the lower boundary of one sector, a temperature difference between the highest temperature and the lowest temperature of the sector is calculated, and if the temperature difference is greater than the set temperature difference threshold, the position of the urine is calculated.
Preferably, the device for automatically positioning urine further comprises a module for setting temperature difference threshold, wherein scanning is firstly conducted in the scope of the angle γ or angle δ, the lowest environment temperature in the scope of the angle γ or angle δ is recorded, and different temperature difference thresholds are set according to different lowest environment temperatures; or the temperature difference threshold is directly set as 3° C.
Preferably, in the module for automatically positioning urine, the sensor has three modes comprising full-angle scanning, small-angle scanning and extended-scope scanning in the angle γ and angle δ; the full-angle scanning reads temperature within the entire angle γ and angle δ; Each scanning area is divided into N sectors, the small-angle scanning reads temperature in the scope of a center sector and its adjacent sectors on both left and right sides; and the extended-scope scanning reads temperature in the scope of a center sector and its adjacent two sectors on both left and right sides; before the position of the urine is found for the first time, the sensor conducts the full-angle scanning; when the position of the urine is found, the sensor conducts the small-angle scanning in the scope of the sector where the urine is found and the adjacent sectors on both left and right sides; when the sensor conducts a small-angle scanning, if none of the sectors presents a temperature difference greater than the temperature difference threshold, which indicates that the position of the urine is changed, the extended-scope scanning is conducted by the sensor in the scope of the sector where the urine is originally found and adjacent two sectors on both left and right sides; and if none of the sectors presents a temperature difference greater than the temperature difference threshold during the extended-scope scanning, the sensor conducts a full-angle scanning again.
As shown in
The above positioning assembly 2 further comprises an optocoupler 25 connected to the non-contact temperature sensor 21 and used for determining a zero point of polar coordinates of the sensor.
As shown in
One set of the positioning assembly 2 may be provided, which is mounted on a left or right side wall of the toilet body 1, and more preferably, two sets of the positioning assemblies 2 may be provided, one set is mounted on a front or rear side wall of the toilet body 1, and the other set is mounted on the left or right side wall of the toilet body 1.
The foregoing description is merely preferred embodiments of the present invention, but is not intended to limit the present invention in any form, and any simple amendments, equivalent changes or modifications made by those skilled in the art using the technical contents disclosed above shall all fall within the protection scope of the present invention.
Number | Date | Country | Kind |
---|---|---|---|
201610273915.9 | Apr 2016 | CN | national |
This application is a Continuation of U.S. patent application Ser. No. 16/925,742, filed Jul. 10, 2020, which is a Continuation of U.S. patent application Ser. No. 16/097,229, filed Oct. 26, 2018, which is a U.S. National Stage of International Application No. PCT/CN2016/103184, filed Oct. 25, 2016, which claims the benefit of and priority to Chinese Patent Application No. 201610273915.9, filed Apr. 28, 2016. The entire disclosures of the foregoing applications are hereby incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
Parent | 16925742 | Jul 2020 | US |
Child | 17681053 | US | |
Parent | 16097229 | Oct 2018 | US |
Child | 16925742 | US |