SMART CUP, DRINKING AMOUNT DETECTING METHOD FOR SMART CUP AND SYSTEM THEREFOR
20180045547 ยท 2018-02-15
Inventors
- Gang ZHANG (Shanghai, CN)
- Rul XU (Shanghai, CN)
- Yizhen JIANG (Shanghai, CN)
- Chih-chiang CHIANG (Taipei, TW)
Cpc classification
G01F22/00
PHYSICS
A47G19/2227
HUMAN NECESSITIES
International classification
Abstract
A smart cup, comprising a cup body (110), a cup cover (120), a light sensor (130) and a main board (140), wherein the cup cover (120) is arranged on the cup body (110), the light sensor (130) is arranged on the cup body (110) and is covered by the cup cover (120), the light sensor (130) can be exposed by opening the cup cover (120), the main board (140) is arranged at the bottom part of the cup body (110) and is isolated from an inner cavity of the cup body (110), the main board (140) is provided with a main processor (141) and a gravitational accelerometer (142), and the light sensor (130) and the gravitational accelerometer (142) are both connected to the main processor (141).
Claims
1: A smart cup, characterized in that it comprises a cup body, a cup cover, a light sensor and a main board, wherein the cup cover is arranged on the cup body, the light sensor is arranged on the cup body and is covered by the cup cover, the light sensor can be exposed by opening the cup cover, the main board is arranged at a bottom part of the cup body and is isolated from an inner cavity of the cup body, the main board is provided with a main processor and a gravitational accelerometer, and the light sensor and the gravitational accelerometer are both connected to the main processor.
2: The smart cup as in claim 1, characterized in that the cup body is screwed to the cup cover, and the light sensor is arranged on a receiving surface where the cup body is connected to a lower end surface of the cup cover.
3: The smart cup as in claim 2, characterized in that the cup cover comprises a cup cover body, a shading tube and a slide cover, wherein the cup cover body has a peripheral wall with a vertical groove, and an upper end surface provided with a slide rail from the groove to a center of the cup cover body, the shading tube is arranged in the groove, and the shading tube is located just above the light sensor after the cup cover and the cup body are screwed together, the slide cover is arranged in the slide rail, the shading tube has an upper tube opening which can be opened or closed by sliding the slide cover back and forth in the slide rail.
4: A drinking amount detecting method for the smart cup as in claim 3, characterized in that it comprises: Detecting light in real time by the light sensor; detection of presence of light indicates that the cup cover is opened or the slide cover on the cup cover is opened; after the cup cover or the slide cover is opened, detection of dimming of light indicates that user tries to drink water and the gravitational accelerometer is activated; Calculating inclination of the smart cup relative to a vertical direction by the gravitational accelerometer, and sending data of the inclination to the main processor; Calculating mean and variance of each set of the data of the inclination by the main processor, wherein each set of the data of the inclination comprises a pluraity of units of data of the inclination; if the mean is larger than a preset angle of drinking water and the variance is less than 1, the corresponding mean is an initial angle of drinking water, the preset angle of drinking water is 9 to 15; a maximum value of the means is determined, and the corresponding mean around the maximum value is taken as a maximum angle of drinking water; Calculating an initial water amount according to the initial angle of drinking water and capacity of the smart cup by the main processor, and calculating a remaining water amount according to the maximum angle of drinking water and capacity of the smart cup by the main processor; then calculating a difference between the initial water amount and the remaining water amount to obtain a drinking amount.
5: The drinking amount detecting method for smart cup as in claim 4, characterized in that the preset angle of drinking water is 10.
6: The drinking amount detecting method for smart cup as in claim 4 or 5, characterized in that each set of data of the inclination comprises 1024 units of data of the inclination.
7: A drinking amount detecting system for smart cup, characterized in that it comprises: a light detection unit for detecting light in real time by a light sensor; detection of presence of light indicates that a cup cover is opened or a slide cover on the cup cover is opened; after the cup cover or the slide cover is opened, detection of dimming of light indicates that user tries to drink water and a gravitational accelerometer is activated; an inclination calculation unit which calculates inclination of the smart cup relative to a vertical direction by the gravitational accelerometer, and sending data of the inclination to a main processor; an angle of drinking water analysis unit for calculating mean and variance of each set of the data of the inclination by a main processor, wherein each set of the data of the inclination comprises a plurality of units of data of the inclination, if the mean is larger than a preset angle of drinking water and the variance is less than 1, the corresponding mean is an initial angle of drinking water, the preset angle of drinking water is 9-15; a maximum value of the means is determined, and the corresponding mean around the maximum value is taken as a maximum angle of drinking water; a drinking amount calculation unit for calculating an initial water amount according to the initial angle of drinking water and capacity of the smart cup by the main processor, and calculating a remaining water amount according to the maximum angle of drinking water and capacity of the smart cup by the main processor, and the calculating a difference between the initial water amount and the remaining water amount to obtain a drinking amount.
8: The drinking amount detecting system for smart cup as in claim 7, characterized in that the preset angle of drinking water is 10.
9: The drinking amount detecting system for smart cup as in claim 7 or 8, characterized in that each set of data of the inclination calculated by the angle of drinking water analysis unit comprises 1024 units of data of the inclination.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments:
[0026]
[0027]
[0028]
[0029]
[0030]
DETAILED DESCRIPTION OF THE INVENTION
[0031] As shown in
[0032] The cup cover 120 is arranged on the cup body 110 and can be opened or closed.
[0033] The light sensor 130 is arranged on the cup body 110 and is covered by the cup cover 120. The light sensor 130 can be exposed by opening the cup cover 120.
[0034] Specifically, the cup body 110 is screwed to the cup cover 120, and the light sensor 130 is arranged on a receiving surface where the cup body 110 is connected to a lower end surface of the cup cover 120.
[0035] Preferably, the cup cover 120 comprises a cup cover body 121, a shading tube 122 and a slide cover 123, wherein a peripheral wall of the cup cover body 121 is provided with a vertical groove, and an upper end surface of the cup cover body 121 is provided with a slide rail from the groove to a center of the cup cover body. The shading tube 122 is arranged in the groove, and the shading tube 122 is located just above the light sensor 130 after the cup cover and the cup body are screwed together. The slide cover 123 is arranged in the slide rail. The shading tube 122 has an upper tube opening which can be opened or closed by sliding the slide cover back and forth in the slide rail.
[0036] As shown in
[0037] The light sensor 130 is used for detecting light. Whether the user has opened the cup cover 120 or the slide cover 123 and whether the user is trying to drink water are determined from the changes in light.
[0038] The gravitational accelerometer 142 is used for calculating the inclination of the smart cup relative to a vertical direction. Certainly, other sensors can also be used for calculating the inclination.
[0039] The main processor 141 is used for analyzing the initial angle of drinking water and the maximum angle of drinking water according to data of the inclination, and calculating the initial water amount and the remaining water amount according to the initial angle of drinking water and the maximum angle of drinking water; the difference between the two is the drinking amount of drinking water this time.
[0040] The present invention can measure a drinking amount in real time and has no need to wait until the smart cup is in a static steady state, and a measuring element is not in contact with drinking water, so the measurement is safe and sanitary.
[0041] As shown in
[0042] S101, Light detection: Light is detected in real time by the light sensor 130. Detection of presence of light indicates that currently the cup cover 120 is opened or the slide cover 123 on the cup cover 120 is opened. Detection of presence of light continues after the cup cover 120 or the slide cover 123 is opened. Detection of dimming of light indicates that the user tries to drink water at this moment and the gravitational accelerometer 142 is activated.
[0043] S102, Inclination calculation: The gravitational accelerometer 142 calculates the inclination of the smart cup relative to the vertical direction, and sends data of the inclination to the main processor 141.
[0044] S103, Angle of drinking water analysis: The main processor 141 calculates mean and variance of each set of data of the inclination which comprises 10 units of data of the inclination. If the mean is larger than the preset angle of drinking water and the variance is less than 1, the corresponding mean is the initial angle of drinking water. The preset angle of drinking water can be set to 9-15 according to the physical characteristics of the cup body. When the angle is larger than the preset angle, begin recording the data of the inclination; the maximum of the means is determined, and the corresponding mean is taken as the maximum angle of drinking water.
[0045] Preferably, the preset angle of drinking water is 10.
[0046] S104, Calculation of the drinking amount the main processor 141 calculates the initial water amount according to the initial angle of drinking water and the capacity of the smart cup. The main processor 141 calculates the remaining water amount according to the maximum angle of drinking water and the capacity of the smart cup. The difference between the initial water amount and the remaining water amount is calculated to obtain the drinking amount.
[0047] As shown in
[0048] According to the internal physical properties of the cup, the inclination of the cup when drinking water and the remaining water amount in the cup have a corresponding relationship. The current water amount can be calculated according to the capacity and inclination of the cup. For example, an inclination of 20 degrees corresponds to a remaining water amount of 500 ml, 30 degrees corresponds to 200 ml, and 90 degrees corresponds to 0 ml.
[0049] As shown in
[0050] As shown in
[0051] As shown in
[0052] Thus, the drinking amount this time is 160 ml-30 ml=130 ml.
[0053] The method of the present invention can measure a drinking amount in real time and has no need to wait until the smart cup is in a static steady state, and is safe and sanitary.
[0054] As shown in
[0055] A light detection unit 101 for detecting light in real time by a light sensor 130. Detection of light indicates that the cup cover 120 is opened or the slide cover 123 on the cup cover 120 is opened. Detection of presence of light is continued after the cup cover 120 or the slide cover 123 is opened. Detection of dimming of light indicates that the user tries to drink water at this moment and the gravitational accelerometer 142 is activated.
[0056] An inclination calculation unit 102 for calculating the inclination of the smart cup relative to the vertical direction by the gravitational accelerometer 142, and sending data of the inclination to the main processor 141. Certainly, other sensors can also be used for calculating the inclination.
[0057] An angle of drinking water analysis unit 103 for calculating mean and variance of each set of data of the inclination by the main processor 141, with each set of data of the inclination comprising 10 units of data of the inclination. If the mean is larger than the preset angle of drinking water and the variance is less than 1, the corresponding mean is the initial angle of drinking water. The preset angle of drinking water is 9-15; the maximum of the means is determined, and the corresponding mean is taken as the maximum angle of drinking water.
[0058] Preferably, the preset angle of drinking water is 10.
[0059] A drinking amount calculation unit 104 for calculating the initial water amount according to the initial angle of drinking water and the capacity of the smart cup by the main processor 141, and calculating the remaining water amount according to the maximum angle of drinking water and the capacity of the smart cup by the main processor 141, and then calculating the difference between the initial water amount and the remaining water amount to obtain the drinking amount.
[0060] As shown in
[0061] According to the internal physical properties of the cup, the inclination of the cup and the remaining water amount in the cup have a corresponding relationship when drinking water. The current water amount can be calculated according to the capacity and inclination of the cup. For example, an inclination of 20 degrees corresponds to a remaining water amount of 500 ml, 30 degrees corresponds to 200 ml, and 90 degrees corresponds to 0 ml.
[0062] As shown in
[0063] As shown in
[0064] As shown in
[0065] Thus, the drinking amount this time is 160 ml-30 ml=130 ml.
[0066] The method of the present invention can measure a drinking amount in real time and has no need to wait until the smart cup is in a static steady state, and is safe and sanitary.
[0067] However, it should be understood by those of ordinary skill in the art that the foregoing embodiments are intended to be illustrative of the invention, and they do not imply any limitations on the invention described and claimed herein. All modifications and variations made to the foregoing embodiments within the spirit or scope of the invention are included within the scope of the invention as defined by the following claims.