A smart wine glass for healthy drinking management and implementation method thereof

Through the integrated module of the smart wine glass (weighing, liquid level, temperature detection and Bluetooth module), the ethanol concentration and drinking volume in the wine are detected in real time, which solves the problem that the existing wine glasses cannot detect and remind, and realizes the monitoring and control of the drinking volume. Reminders for healthy drinking reduce the health risks of excessive drinking.

CN110301793BActive Publication Date: 2024-09-24SHENZHEN JIUHU HEALTH TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910664288.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-23
Publication Date
2024-09-24
Estimated Expiration
2039-07-23

AI Technical Summary

Technical Problem

Existing wine glasses are unable to detect ethanol concentration, count alcohol consumption and alert users in real time, making it difficult to control health risks caused by excessive drinking.

Method used

A smart wine cup is designed, which integrates a weighing module, liquid level detection module, temperature detection module, touch switch module, OLED display and Bluetooth module. Through these modules, the ethanol concentration and drinking volume in the wine can be detected in real time, and the alcohol content in the wine can be measured in real time. Alerts are sent to users when thresholds are exceeded, and drinking data is collected and pushed to the mobile terminal.

Benefits of technology

It realizes real-time detection of ethanol concentration in wine and statistics of drinking volume, reminds users of excessive drinking, and reduces health risks caused by excessive drinking. Users can check their drinking status at any time and regulate the amount of drinking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN110301793B
    Figure CN110301793B
Patent Text Reader

Abstract

The invention discloses an intelligent wine glass for healthy drinking management and an implementation method thereof. The ethanol concentration in the wine is detected by a weighing module and a liquid level detection module, and the ethanol amount of one-time drinking is displayed in real time on an OLED display screen. When the drinking exceeds a threshold, the ethanol amount is pushed to a mobile terminal, and the ethanol amount drunk within a period of time is counted. The ethanol amount drunk within a period of time is pushed to the mobile terminal. During the drinking process, if the wine temperature is too low, the drinking speed is too fast, and the ethanol amount in the drunk wine exceeds the threshold, the user will be warned through the light color of a first RGB indicator light, and the OLED display screen will display the battery power, the user's drinking speed, the ethanol concentration and the wine temperature in real time. After the user finishes drinking, the hardware circuit will enter a standby mode, which solves the problem that the wine glass currently on the market is simply used as a vessel for holding wine and cannot detect the ethanol concentration, count the drinking amount and remind the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart wine glasses, and in particular to a smart wine glass for healthy drinking management and an implementation method thereof. Background Art

[0002] With the vigorous development of the wine industry and the increase in per capita income in China, the growth rate of alcohol consumption in China has exceeded that of other parts of the world. According to statistics, 6% of male and 1% of female residents in China died from alcohol-related diseases, and the number of deaths caused by drinking was higher than the total number of deaths caused by AIDS, violence and traffic accidents. As early as 2006, the World Health Organization listed China as the world's alcohol "hard-hit area", and the mortality rate and incidence of various diseases caused by alcohol were higher than smoking. According to statistics from the World Health Organization, 60 diseases are caused by unhealthy drinking. In daily life, people often cannot control their drinking and become drunk. Excessive drinking has a great harm to the body and even endangers life. Excessive drinking once can cause acute alcohol poisoning; long-term and frequent excessive drinking can cause chronic alcohol poisoning; therefore, if there is a smart wine glass specifically for healthy drinking management with ethanol concentration detection, drinking volume statistics and reminders, it is of great significance to ensure the health of consumers.

[0003] At present, the wine glasses on the market are simply used as vessels for holding wine. There are no other functions, such as ethanol concentration detection, drinking statistics and reminders. This design proposes a new smart wine glass based on healthy drinking management, which can detect the temperature, ethanol concentration, volume and drinking rate of the wine in the glass in real time and display them on the outside of the wine glass. It can also count the drinking amount within a period of time. If it exceeds a certain value, it will send an alarm to the user. At the same time, at a certain set time, it will count the total amount of drinking of the user and display it on the display of the wine glass. At the same time, the total amount of drinking can be monitored in real time through the mobile terminal, and the time period and alarm value of the statistics can be customized. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the present invention provides a smart wine glass for healthy drinking management and an implementation method thereof, which solves the problem that the wine glasses currently on the market are simply used as vessels for holding wine and are unable to detect ethanol concentration, count drinking volume, and remind users.

[0005] In order to achieve the above-mentioned invention object, the technical solution adopted by the present invention is: a smart wine glass for healthy drinking management, comprising: a cup body, a cup holder, a main control module, a weighing module, a power module, a temperature detection module, a liquid level detection module, a touch switch module, an OLED display, a first RGB indicator light and a Bluetooth module;

[0006] The touch switch module includes a touch sheet and a touch switch circuit; the touch sheet is arranged on the outer wall of the cup body and is fixedly connected to the cup body;

[0007] The main control module, power module, temperature detection module, touch switch circuit, liquid level detection module and Bluetooth module are all arranged inside the cup holder;

[0008] The weighing module is arranged at the geometric center position of the inner upper surface of the cup holder;

[0009] The OLED display screen is arranged on the outer wall of the cup body;

[0010] The first RGB indicator light is arranged on the outer wall of the cup holder;

[0011] The main control module is electrically connected to the power module, the weighing module, the temperature detection module, the liquid level detection module, the touch switch module, the OLED display screen, the first RGB indicator light and the Bluetooth module respectively;

[0012] The power supply module is electrically connected to the weighing module, the temperature detection module, the liquid level detection module, the touch switch module, the OLED display screen, the first RGB indicator light and the Bluetooth module respectively.

[0013] Further: the power module includes a charging and protection module and a 3.3V regulated power module, the peripheral interface of the charging and protection module includes: a +5V terminal, a GND terminal and a BAT+ terminal, the charging and protection module includes a power management chip SE9017, a second RGB indicator light, a battery and a USB interface, the USB interface is arranged on the outer wall of the cup holder for connecting an external USB, the second RGB indicator light is arranged on one side of the USB interface, the BAT pin of the power management chip SE9017 is connected to the positive electrode of the battery and serves as the BAT+ terminal of the charging and protection module, the PROG pin of the power management chip SE9017 is connected to the grounding resistor R16, and the CHRG pin of the power management chip SE9017 is connected to the The R pin of the second RGB indicator light is connected, the CHRGT pin of the power management chip SE9017 is connected to the G pin of the second RGB indicator light, and the positive electrode of the second RGB indicator light is connected to one end of the resistor R13; the other end of the resistor R13 is connected to the VCC pin of the power management chip SE9017, the USB interface and the grounding capacitor C10, the VCC pin of the power management chip SE9017 serves as the +5V end of the charging and protection module, the GND pin of the power management chip SE9017 is respectively connected to the negative electrode of the battery, the grounding end of the grounding resistor R16 and the grounding end of the grounding capacitor C10, and serves as the GND end of the charging and protection module, and the +5V end and GND end of the charging and protection module are connected to the external power supply through the USB interface.

[0014] The beneficial effects of the above further scheme are: the external power supply is connected to the charging and protection module through the USB interface, providing a 5V voltage source for the charging and protection module, and charging the battery through the power management chip SE9017. The power management chip SE9017 is a constant current and constant voltage lithium battery charging IC. The battery is charged through the BAT pin of the power management chip SE9017, and its charging current is V PROG is the voltage value of the PROG pin of the power management chip SE9017. The charging speed can be controlled by adjusting the resistance value of the resistor R16. During charging, the CHRG pin of the power management chip SE9017 outputs a low level, and the second RGB indicator light is red. When the charging is saturated, the CHRGT pin of the power management chip SE9017 outputs a low level, and the second RGB indicator light is yellow. When the external power is disconnected, the second RGB indicator light goes out.

[0015] Further: the peripheral interface of the 3.3V voltage-stabilized power supply module includes: a Batter_ADC terminal, an EN_POWER terminal, a BAT+ terminal, a 3V3 terminal, a VCC terminal and a GND terminal; the BAT+ terminal of the 3.3V voltage-stabilized power supply module is connected to the BAT+ terminal of the charging and protection module, and the GND terminal of the 3.3V voltage-stabilized power supply module is connected to the GND terminal of the charging and protection module; the 3.3V voltage-stabilized power supply module includes: a grounding resistor R14, a resistor 15, a voltage-stabilizing chip HT7133, a MOS tube Q2, a resistor R10, a resistor R11, a grounding capacitor C13, a grounding capacitor C12 and a grounding capacitor C11, one end of the resistor R15 is connected to the grounding resistor R14 and serves as the Batter_ADC terminal of the 3.3V voltage-stabilized power supply module, and the other end thereof is respectively connected to the grounding capacitor C13 and the voltage-stabilizing chip The Vin end of the HT7133 is connected and serves as the BAT+ end of the 3.3V voltage-stabilized power supply module. The Vout end of the voltage-stabilizing chip HT7133 is connected to the grounding capacitor C12, the grounding capacitor C11, one end of the resistor R11 and the source S of the MOS tube Q2, and serves as the 3V3 end of the 3.3V voltage-stabilized power supply module. The GND end of the voltage-stabilizing chip HT7133 is connected to the grounding end of the grounding capacitor C13, the grounding end of the grounding capacitor C12 and the grounding end of the grounding capacitor C11, and serves as the GND end of the 3.3V voltage-stabilized power supply module. The other end of the resistor R11 is respectively connected to one end of the resistor R10 and the gate G of the MOS tube Q2. The other end of the resistor R10 serves as the EN_POWER end of the 3.3V voltage-stabilized power supply module. The drain D of the MOS tube Q2 serves as the VCC end of the 3.3V voltage-stabilized power supply module.

[0016] The beneficial effects of the above further scheme are: the 3.3V voltage-stabilized power supply module stabilizes the voltage input by the battery to 3.3V, suppresses power supply ripple, and stabilizes the performance of the circuit system. When the user is not using the smart wine glass for healthy drinking management, the smart wine glass for healthy drinking management is in standby mode, and only the main control module, the power supply module, the first RGB indicator light, the touch switch module and the OLED display screen are in working state, thereby reducing the power consumption of the hardware system of the smart wine glass for healthy drinking management.

[0017] Furthermore: the main control chip of the main control module adopts the main control chip of STM8L151K4T6, and its peripheral interface includes: a 3V3 terminal and a GND terminal, wherein the 3V3 terminal is connected to the 3V3 terminal of the 3.3V voltage-regulated power supply module, and the GND terminal is connected to the GND terminal of the 3.3V voltage-regulated power supply module.

[0018] Further: the peripheral interface of the weighing module includes: a VCC terminal and a GND terminal, wherein the VCC terminal is connected to the VCC terminal of the 3.3V voltage-stabilized power supply module, and the GND terminal is connected to the GND terminal of the 3.3V voltage-stabilized power supply module; the weighing module includes: an A / D conversion chip HX711, a transistor Q1, a grounding capacitor C4, a grounding capacitor C6, a capacitor C9, a resistor R6, a resistor R9, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a grounding resistor strain gauge R7 and a grounding resistor R8, wherein the grounding resistor strain gauge R7 ... One end of the resistor R4 is connected to one end of the resistor R9, the other end of the resistor R9 is respectively connected to one end of the capacitor C9 and the INPA pin of the A / D conversion chip HX711, the grounding resistor R8 is respectively connected to one end of the resistor R5 and one end of the resistor R6, the other end of the resistor R6 is respectively connected to the other end of the capacitor C9 and the INNA pin of the A / D conversion chip HX711, the other end of the resistor R4 is respectively connected to the other end of the resistor R5, the grounding capacitor C4, one end of the resistor R2, the A / D conversion chip HX711 The VDD pin is connected to the collector C of the transistor Q1, the VBG pin of the A / D conversion chip HX711 is connected to the grounding capacitor C6, the other end of the resistor R2 is connected to the grounding resistor R3 and the VFB pin of the A / D conversion chip HX711 respectively, the base B of the transistor Q1 is connected to the BASE pin of the A / D conversion chip HX711, the INPB pin of the A / D conversion chip HX711 is connected to the INNB pin of the A / D conversion chip HX711, the AGN pin of the A / D conversion chip HX711 The D pin, the RATE pin of the A / D conversion chip HX711, the XI pin of the A / D conversion chip HX711, the grounding end of the grounding resistor strain gauge R7, the grounding end of the grounding resistor R8, the grounding end of the grounding resistor R3, the grounding end of the grounding capacitor C4 and the grounding end of the grounding capacitor C6 are connected and serve as the GND end of the weighing module, and the VSUP pin of the A / D conversion chip HX711 is respectively connected to the DVDD pin of the A / D conversion chip HX711 and the emitter E of the transistor Q1, and serve as the VCC end of the weighing module.

[0019] The beneficial effects of the above further scheme are: resistor R4, resistor R5, resistor strain gauge R7 and resistor R8 form a Wheatstone bridge, which accurately transmits the mass data on the resistor strain gauge R7 to the A / D conversion chip HX711, converts the analog signal into a digital signal, and transmits the digital signal to the main control module. The A / D conversion chip HX711 has the advantages of high integration, fast response speed, and strong anti-interference.

[0020] Furthermore: the temperature detection module adopts a thermistor with model MF52AT as the temperature detection sensor; the liquid level detection module adopts a proximity sensor VL6180X as the liquid level detection sensor; the touch switch module adopts a touch detection IC with model TTP223N, and the Bluetooth module adopts a Bluetooth module with model JYD_19.

[0021] The beneficial effects of the above further scheme are as follows: when the user clicks the touch sheet of the touch switch module, a parasitic capacitance is generated between the user's finger and the touch sheet, causing a change in the equivalent capacitance, thereby changing the charge and discharge time, and the changed capacitance is converted into a change in the electrical signal and transmitted to the main control module. After the main control module receives the signal from the user to wake up the hardware system, the PA5 pin of the main control module outputs a high level, and the drain D and source S of the MOS tube Q2 of the 3.3V voltage-stabilized power supply module are connected to provide working voltage for the weighing module, the temperature detection module, the liquid level detection module and the Bluetooth module. The temperature detection module detects the temperature of the wine and displays the temperature value of the wine on the OLED display in real time. The first RG The yellow light of indicator B is used to warn the user that the wine temperature is too low to prevent gastrointestinal damage caused by too low wine temperature. The mass of the wine and the liquid height in the glass are obtained through the weighing module and the liquid level detection module, so as to calculate the user's one-time drinking amount and the number of times the user drinks within a period of time; establish a connection between the mobile terminal and the Bluetooth module. When the Bluetooth module is not connected to the mobile terminal, the STAT pin of the Bluetooth module outputs a low level and the LED light of the Bluetooth module is off. After the Bluetooth module is connected to the mobile terminal, the STAT pin of the Bluetooth module outputs a high level and the LED light of the Bluetooth module is on. The one-time drinking amount and the number of times the user drinks within a period of time are transmitted to the mobile terminal through the Bluetooth module.

[0022] A method for implementing a smart wine glass for healthy drinking management comprises the following steps:

[0023] S1. Wake up the hardware system through the touch panel and initialize the main control module;

[0024] S2. Set the bottom area S of the wine glass and the drinking threshold P h , drinking speed threshold v h , temperature threshold k h , the number of drinking times exceeding the threshold C and the number of drinking days T t , where C = 0;

[0025] S3, pre-processing the wine glass and configuring the mobile terminal to communicate with the Bluetooth module;

[0026] S4, obtaining the wine quality data, the wine liquid level height data and the wine temperature data through the weighing module, the liquid level detection module and the temperature detection module;

[0027] S5. The moment when the quality data and the liquid level data of the wine change for the first time is the moment when the user starts drinking. a , and record i = 1, j = 1, i is the number of glasses of wine per day, j is T t Number of alcohol consumption per day;

[0028] S6. According to the wine quality data, the user's drinking speed v is obtained, and it is determined whether the drinking speed v is greater than the drinking speed threshold v. h If yes, the first RGB indicator light turns red and the process goes to step S7; if no, the process goes to step S7;

[0029] S7, determine whether the quality data and the wine liquid level data are both 0, if so, set F1=i, i=F1+1; F1 is the cache data, and jump to step S8, if not, jump to step S4;

[0030] S8. Get the current temperature value k through the wine temperature data a , and the temperature value k a Real-time display on the OLED display screen to determine the temperature value k a Is it lower than the temperature threshold kh? If so, the first RGB indicator light turns yellow and the process jumps to step S9; if not, the process jumps to step S9;

[0031] S9. Calculate the ethanol volume v of the user's i-th glass of wine based on the wine quality data, the wine liquid level data and the bottom area S. c (i);

[0032] S10, determine whether the wine quality data and the wine liquid level data have not changed within the time t0, if so, record the current time as the drinking end time t b , get the drinking time t, where t = t b -t0-t a , and note that F2=j, j=F2+1, F2 is cache data, the hardware system enters standby mode and jumps to step S11, if not, jumps to step S4;

[0033] S11. Record the number of glasses of alcohol N and the amount of ethanol v within the time t c(i) , 1≤i≤N, calculate the amount of ethanol consumed by the user at the jth time t The amount of ethanol P j Real-time display on the OLED display screen to determine the amount of ethanol P j Is it greater than the drinking threshold P? hIf yes, then record F3=C, C=F3+1, F3 is cached data, push the drinking threshold value message and the drinking threshold value times C to the mobile terminal through the Bluetooth module, the first RGB indicator light turns red, and jump to step S12, if no, jump to step S12;

[0034] S12, T t Record T in days t The number of drinking times per day M and the amount of ethanol P j , 1≤j≤M, get user T t Amount of ethanol consumed per day G, And the amount of ethanol G, time T t , drinking frequency M and T t The number of alarms C per day is pushed to the mobile terminal via the Bluetooth module.

[0035] Further: Step S3 comprises the following steps:

[0036] S31, detect battery voltage value U BAT , and the battery voltage value U BAT Real-time display on the OLED screen to determine whether the battery voltage meets U BAT <U L , U L is the minimum operating voltage, if so, jump to step S32, if not, jump to step S4;

[0037] S32, remind the user to charge by flashing the first RGB indicator light, and the second RGB indicator light turns red during charging to determine whether the battery voltage meets U BAT ≥U H , U H is the lower limit of the surplus charging voltage. If so, the second RGB indicator light turns green to remind the user that the charging is full, and jumps to step S4. If not, jumps to step S31.

[0038] Further: step S6 comprises the following steps:

[0039] S61, presetting the wine quality data collection interval time as t1, the current time is T;

[0040] S62, obtaining the quality of the wine according to the quality data of the wine;

[0041] S63. The mass of the wine at time T-t1 is m t -, the mass of the wine at time T+t1 is m t+ , we get the mass of wine consumed by the user in 2t1 time as m h , where m h =m t+ -m t- ;

[0042] S64, let the drinking speed at the current time T be v, v = (m t+ -m t- ) / 2t1, determine whether v>0 is satisfied, if so, display the drinking speed v in real time through the OLED display screen, and jump to step S65, if not, jump to step S7;

[0043] S65: Determine whether the drinking speed v is greater than the drinking speed threshold v h If yes, the first RGB indicator light turns red and the process goes to step S7; if no, the process goes to step S7;

[0044] Further: step S9 comprises the following steps:

[0045] S91. Obtain the drinking quality m of the user's i-th glass of wine according to the wine quality data and the wine liquid level data. i and liquid level h i ;

[0046] S92, according to the bottom area S and liquid level height h i , calculate the volume v of alcohol consumed i , where v i =Sh i ;

[0047] S93, based on the drinking quality m of the i-th glass of wine i and the volume of alcohol consumed i , we get the density of wine ρ i ;

[0048] S94, according to the density of wine ρ i , find the density and ethanol concentration comparison table to get the ethanol concentration c i , the ethanol concentration c i Real-time display on the OLED display;

[0049] S95, according to ethanol concentration c i and the volume of alcohol consumed i , get the ethanol volume v of the i-th drink c(i) .

[0050] The beneficial effects of the present invention are as follows: the present invention realizes the detection of ethanol concentration in wine through a weighing module and a liquid level detection module, and displays the amount of ethanol consumed in one drinking in real time on an OLED display screen; when the drinking exceeds a threshold value in one drinking, the amount of ethanol is pushed to a mobile terminal, and the amount of ethanol consumed in a period of time is counted, and the amount of ethanol consumed in a period of time is pushed to a mobile terminal; the user can check his or her own drinking situation at any time to regulate his or her own drinking amount; during the drinking process, if the wine temperature is too low, the drinking speed is too fast, and the amount of ethanol in the drunk wine exceeds the threshold value, the light color of the first RGB indicator light will warn the user, and the OLED display screen will display the battery power, the user's drinking speed, the ethanol concentration and the wine temperature in real time; after the user finishes drinking, the hardware circuit will enter the standby mode to minimize the power consumption of the hardware system. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] Figure 1 A schematic diagram of the structure of a smart wine glass for healthy drinking management;

[0052] Figure 2 A block diagram of the power supply principle of a module for a smart wine glass for healthy drinking management;

[0053] Figure 3 A first RGB indicator light circuit diagram of a smart wine glass for healthy drinking management;

[0054] Figure 4 An OLED display circuit diagram of a smart wine glass for healthy drinking management;

[0055] Figure 5 A circuit diagram of a charging and protection module for a smart wine glass for healthy drinking management;

[0056] Figure 6 A 3.3V voltage-regulated power supply module circuit diagram for a smart wine glass for healthy drinking management;

[0057] Figure 7 A circuit diagram of a main control module of a smart wine glass for healthy drinking management;

[0058] Figure 8 A circuit diagram of a weighing module for a smart wine glass for healthy drinking management;

[0059] Fig. 9 A circuit diagram of a temperature detection module for a smart wine glass for healthy drinking management;

[0060] Fig.10 A circuit diagram of a liquid level detection module for a smart wine glass for healthy drinking management;

[0061] Fig.11 A circuit diagram of a touch switch module for a smart wine glass for healthy drinking management;

[0062] Fig.12 A circuit diagram of a Bluetooth module for a smart wine glass for healthy drinking management;

[0063] Fig.13 A flow chart of a method for implementing a smart wine glass for healthy drinking management;

[0064] Among them: 1. Cup body; 2. Cup base; 3. Touch panel; 4. Weighing module; 5. OLED display; 6. LED light of Bluetooth module; 7. Second RGB indicator light; 8. First RGB indicator light; 9. USB interface. DETAILED DESCRIPTION

[0065] The specific implementation modes of the present invention are described below so that those skilled in the art can understand the present invention. However, it should be clear that the present invention is not limited to the scope of the specific implementation modes. For those of ordinary skill in the art, as long as various changes are within the spirit and scope of the present invention as defined and determined by the attached claims, these changes are obvious, and all inventions and creations utilizing the concept of the present invention are protected.

[0066] like Figure 1 As shown, a smart wine glass for healthy drinking management includes: a cup body 1, a cup holder 2, a main control module, a weighing module 4, a power module, a temperature detection module, a liquid level detection module, a touch switch module, an OLED display 5, a first RGB indicator light 8 and a Bluetooth module;

[0067] The touch switch module includes a touch sheet 3 and a touch switch circuit; the touch sheet 3 is arranged on the outer wall of the cup body 1 and is fixedly connected to the cup body 1;

[0068] The main control module, power module, temperature detection module, touch switch circuit, liquid level detection module and Bluetooth module are all arranged inside the cup holder 2;

[0069] The weighing module 4 is arranged at the geometric center position of the inner upper surface of the cup holder 2;

[0070] The OLED display screen 5 is arranged on the outer wall of the cup body 1;

[0071] The first RGB indicator light 8 is arranged on the outer wall of the cup holder 2;

[0072] The main control module is electrically connected to the power module, the weighing module 4, the temperature detection module, the liquid level detection module, the touch switch module, the OLED display 5, the first RGB indicator light 8 and the Bluetooth module respectively;

[0073] like Figure 2As shown, the power supply module is electrically connected to the weighing module 4, the temperature detection module, the liquid level detection module, the touch switch module, the OLED display screen 5, the first RGB indicator light 8 and the Bluetooth module respectively.

[0074] Figure 3 The circuit diagram of the first RGB indicator light 8;

[0075] Figure 4 is a circuit diagram of an OLED display screen 5;

[0076] The power module includes a charging and protection module and a 3.3V regulated power module. Figure 5 As shown, the peripheral interface of the charging and protection module includes: a +5V terminal, a GND terminal and a BAT+ terminal. The charging and protection module includes a power management chip SE9017, a second RGB indicator light 7, a battery and a USB interface 9. The USB interface 9 is arranged on the outer wall of the cup holder 2 for connecting an external USB. The second RGB indicator light 7 is arranged on one side of the USB interface 9. The BAT pin of the power management chip SE9017 is connected to the positive electrode of the battery and serves as the BAT+ terminal of the charging and protection module. The PROG pin of the power management chip SE9017 is connected to the grounding resistor R16, and the CHRG pin of the power management chip SE9017 is connected to the R pin of the second RGB indicator light 7. , the CHRGT pin of the power management chip SE9017 is connected to the G pin of the second RGB indicator light 7, and the positive electrode of the second RGB indicator light 7 is connected to one end of the resistor R13; the other end of the resistor R13 is connected to the VCC pin of the power management chip SE9017, the USB interface 9 and the grounding capacitor C10, the VCC pin of the power management chip SE9017 serves as the +5V end of the charging and protection module, the GND pin of the power management chip SE9017 is respectively connected to the negative electrode of the battery, the grounding end of the grounding resistor R16 and the grounding end of the grounding capacitor C10, and serves as the GND end of the charging and protection module, and the +5V end and GND end of the charging and protection module are connected to the external power supply through the USB interface 9.

[0077] The external power supply is connected to the charging and protection module through the USB interface 9, providing a 5V voltage source for the charging and protection module, and charging the battery through the power management chip SE9017. The power management chip SE9017 is a constant current and constant voltage lithium battery charging IC. The battery is charged through the BAT pin of the power management chip SE9017. The charging current is V PROGis the voltage value of the PROG pin of the power management chip SE9017. The charging speed can be controlled by adjusting the resistance value of the resistor R16. During charging, the CHRG pin of the power management chip SE9017 outputs a low level, and the second RGB indicator light 7 lights up red. When the charging is saturated, the CHRGT pin of the power management chip SE9017 outputs a low level, and the second RGB indicator light 7 lights up yellow. When the external power supply is disconnected, the light of the second RGB indicator light 7 goes out.

[0078] like Figure 6 As shown, the peripheral interface of the 3.3V voltage-stabilized power supply module includes: a Batter_ADC terminal, an EN_POWER terminal, a BAT+ terminal, a 3V3 terminal, a VCC terminal and a GND terminal; the BAT+ terminal of the 3.3V voltage-stabilized power supply module is connected to the BAT+ terminal of the charging and protection module, and the GND terminal of the 3.3V voltage-stabilized power supply module is connected to the GND terminal of the charging and protection module; the 3.3V voltage-stabilized power supply module includes: a grounding resistor R14, a resistor 15, a voltage-stabilizing chip HT7133, a MOS tube Q2, a resistor R10, a resistor R11, a grounding capacitor C13, a grounding capacitor C12 and a grounding capacitor C11, one end of the resistor R15 is connected to the grounding resistor R14 and serves as the Batter_ADC terminal of the 3.3V voltage-stabilized power supply module, and the other end thereof is respectively connected to the grounding capacitor C13 and the voltage-stabilizing chip H The Vin end of the voltage regulator chip HT7133 is connected to the Vin end of the MOS tube Q2 and serves as the BAT+ end of the 3.3V voltage-regulated power supply module. The Vout end of the voltage regulator chip HT7133 is connected to the grounding capacitor C12, the grounding capacitor C11, one end of the resistor R11 and the source S of the MOS tube Q2 and serves as the 3V3 end of the 3.3V voltage-regulated power supply module. The GND end of the voltage regulator chip HT7133 is connected to the grounding end of the grounding capacitor C13, the grounding end of the grounding capacitor C12 and the grounding end of the grounding capacitor C11 and serves as the GND end of the 3.3V voltage-regulated power supply module. The other end of the resistor R11 is respectively connected to one end of the resistor R10 and the gate G of the MOS tube Q2. The other end of the resistor R10 serves as the EN_POWER end of the 3.3V voltage-regulated power supply module. The drain D of the MOS tube Q2 serves as the VCC end of the 3.3V voltage-regulated power supply module.

[0079] The 3.3V voltage-stabilized power supply module stabilizes the voltage input by the battery to 3.3V, suppresses power ripple, and stabilizes the performance of the circuit system. When the user is not using the smart wine glass for healthy drinking management, the smart wine glass for healthy drinking management is in standby mode, and only the main control module, the power supply module, the first RGB indicator light 8, the touch switch module and the OLED display screen 5 are in working mode, thereby reducing the power consumption of the hardware system of the smart wine glass for healthy drinking management.

[0080] like Figure 7As shown, the main control chip of the main control module adopts the main control chip of STM8L151K4T6, and its peripheral interface includes: a 3V3 terminal and a GND terminal, wherein the 3V3 terminal is connected to the 3V3 terminal of the 3.3V voltage-regulated power supply module, and the GND terminal is connected to the GND terminal of the 3.3V voltage-regulated power supply module.

[0081] like Figure 8 As shown, the peripheral interface of the weighing module 4 includes: a VCC terminal and a GND terminal, wherein the VCC terminal is connected to the VCC terminal of the 3.3V voltage-stabilized power supply module, and the GND terminal is connected to the GND terminal of the 3.3V voltage-stabilized power supply module; the weighing module 4 includes: an A / D conversion chip HX711, a transistor Q1, a grounding capacitor C4, a grounding capacitor C6, a capacitor C9, a resistor R6, a resistor R9, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a grounding resistor strain gauge R7 and a grounding resistor R8, wherein the grounding resistor strain gauge R7 ... One end of the resistor R4 is connected to one end of the resistor R9, the other end of the resistor R9 is respectively connected to one end of the capacitor C9 and the INPA pin of the A / D conversion chip HX711, the grounding resistor R8 is respectively connected to one end of the resistor R5 and one end of the resistor R6, the other end of the resistor R6 is respectively connected to the other end of the capacitor C9 and the INNA pin of the A / D conversion chip HX711, the other end of the resistor R4 is respectively connected to the other end of the resistor R5, the grounding capacitor C4, one end of the resistor R2, the AV The DD pin is connected to the collector C of the transistor Q1, the VBG pin of the A / D conversion chip HX711 is connected to the grounding capacitor C6, the other end of the resistor R2 is connected to the grounding resistor R3 and the VFB pin of the A / D conversion chip HX711 respectively, the base B of the transistor Q1 is connected to the BASE pin of the A / D conversion chip HX711, the INPB pin of the A / D conversion chip HX711 is connected to the INNB pin of the A / D conversion chip HX711, the AGND pin of the A / D conversion chip HX711 respectively, and the DD pin of the A / D conversion chip HX711 is connected to the collector C of the transistor Q1, the VBG pin of the A / D conversion chip HX711 is connected to the grounding capacitor C6, the other end of the resistor R2 is connected to the grounding resistor R3 and the VFB pin of the A / D conversion chip HX711 respectively, the base B of the transistor Q1 is connected to the BASE pin of the A / D conversion chip HX711 The grounding terminal of the weighing module 4 is connected to the RATE pin of the A / D conversion chip HX711, the XI pin of the A / D conversion chip HX711, the grounding end of the grounding resistor strain gauge R7, the grounding end of the grounding resistor R8, the grounding end of the grounding resistor R3, the grounding end of the grounding capacitor C4 and the grounding end of the grounding capacitor C6, and serve as the GND terminal of the weighing module 4. The VSUP pin of the A / D conversion chip HX711 is respectively connected to the DVDD pin of the A / D conversion chip HX711 and the emitter E of the transistor Q1, and serve as the VCC terminal of the weighing module 4.

[0082] Resistors R4, R5, strain gauge R7 and R8 form a Wheatstone bridge, which accurately transmits the mass data on the strain gauge R7 to the A / D conversion chip HX711, converts the analog signal into a digital signal, and transmits the digital signal to the main control module. The A / D conversion chip HX711 has the advantages of high integration, fast response speed and strong anti-interference.

[0083] like Fig. 9 As shown, the temperature detection module uses a thermistor model MF52AT as a temperature detection sensor. Resistor R2 is connected in series with the thermistor NTC1 to convert temperature changes into voltage changes on the thermistor NTC1. Fig.10 As shown, the liquid level detection module uses the short-distance sensor VL6180X as the liquid level detection sensor; Fig.11 As shown in the figure, the touch switch module adopts the TTP223N touch detection IC. Fig.12 As shown, the Bluetooth module adopts a Bluetooth module with model number JYD_19.

[0084] The user clicks the touch sheet 3 of the touch switch module, and a parasitic capacitance is generated between the user's finger and the touch sheet 3, causing the equivalent capacitance to change, thereby changing the charge and discharge time. The changed capacitance is converted into a change in the electrical signal and transmitted to the main control module. After the main control module receives the signal from the user to wake up the hardware system, the PA5 pin of the main control module outputs a high level, and the drain D and source S of the MOS tube Q2 of the 3.3V voltage-stabilized power supply module are connected, providing working voltage for the weighing module 4, the temperature detection module, the liquid level detection module and the Bluetooth module. The temperature detection module detects the temperature of the wine and displays the temperature value of the wine on the OLED display screen 5 in real time, and the first RGB indicator light 8 lights up yellow. It is used to warn users that the wine temperature is too low to prevent gastrointestinal damage caused by too low wine temperature. Through the weighing module 4 and the liquid level detection module, the mass of the wine and the liquid height in the wine glass are obtained, so as to calculate the user's one-time drinking amount and the number of drinking times within a period of time; establish a connection between the mobile terminal and the Bluetooth module. When the Bluetooth module is not connected to the mobile terminal, the STAT pin of the Bluetooth module outputs a low level, and the LED light 6 of the Bluetooth module is in the off state. After the Bluetooth module is connected to the mobile terminal, the STAT pin of the Bluetooth module outputs a high level, and the LED light 6 of the Bluetooth module is lit, and the one-time drinking amount and the number of drinking times within a period of time are transmitted to the mobile terminal through the Bluetooth module.

[0085] like Fig.13 As shown, a method for implementing a smart wine glass for healthy drinking management includes the following steps:

[0086] S1, wake up the hardware system through the touch panel 3 and initialize the main control module;

[0087] S2. Set the bottom area S of the wine glass and the drinking threshold Ph , drinking speed threshold v h , temperature threshold k h , the number of drinking times exceeding the threshold C and the number of drinking days T t , where C = 0

[0088] S3, pre-processing the wine glass and configuring the mobile terminal to communicate with the Bluetooth module;

[0089] Step S3 includes the following steps:

[0090] S31, detect battery voltage value U BAT , and the battery voltage value U BAT Real-time display on the OLED display 5 to determine whether the battery voltage meets U BAT <U L , U L is the minimum operating voltage, if so, jump to step S32, if not, jump to step S4;

[0091] S32, remind the user to charge by flashing the first RGB indicator light 8, and the second RGB indicator light 7 lights up red during charging, judging whether the battery voltage meets U BAT ≥U H , U H is the lower limit of the surplus charging voltage. If so, the second RGB indicator light 7 turns on green to remind the user that the charging is full, and jumps to step S4. If not, jumps to step S31.

[0092] S4, obtaining the wine quality data, the wine liquid level height data and the wine temperature data through the weighing module 4, the liquid level detection module and the temperature detection module;

[0093] S5. The moment when the quality data and the liquid level data of the wine change for the first time is the moment when the user starts drinking. a , and record i = 1, j = 1, i is the number of glasses of wine per day, j is T t Number of alcohol consumption per day;

[0094] S6. According to the wine quality data, the user's drinking speed v is obtained, and it is determined whether the drinking speed v is greater than the drinking speed threshold v. h , if yes, the first RGB indicator light 8 turns red and jumps to step S7, if no, jumps to step S7;

[0095] Step S6 includes the following steps:

[0096] S61, presetting the wine quality data collection interval time as t1, the current time is T;

[0097] S62, obtaining the quality of the wine according to the quality data of the wine;

[0098] S63. The mass of the wine at time T-t1 is m t -, the mass of the wine at time T+t1 is m t+ , we get the mass of wine consumed by the user in 2t1 time as m h , where m h =m t+ -m t- ;

[0099] S64, let the drinking speed at the current time T be v, v = (m t+ -m t- ) / 2t1, determine whether v>0 is satisfied, if so, display the drinking speed v in real time through the OLED display screen 5, and jump to step S65, if not, jump to step S7;

[0100] S65: Determine whether the drinking speed v is greater than the drinking speed threshold v h If yes, the first RGB indicator light 8 turns red and jumps to step S7; if no, jumps to step S7.

[0101] S7, determine whether the quality data and the wine liquid level data are both 0, if so, set F1=i, i=F1+1; F1 is the cache data, and jump to step S8, if not, jump to step S4;

[0102] S8. Get the current temperature value k through the wine temperature data a , and the temperature value k a Real-time display on the OLED display 5, judging the temperature value k a Is it lower than the temperature threshold kh? If so, the first RGB indicator light 8 turns yellow and jumps to step S9; if not, jumps to step S9;

[0103] S9. Calculate the ethanol volume v of the user's i-th glass of wine based on the wine quality data, the wine liquid level data and the bottom area S. c(i) ;

[0104] Step S9 includes the following steps:

[0105] S91. Obtain the drinking quality m of the user's i-th glass of wine according to the wine quality data and the wine liquid level data. i and liquid level h i ;

[0106] S92, according to the bottom area S and liquid level height h i , calculate the volume v of alcohol consumed i , where v i =Sh i ;

[0107] S93, based on the drinking quality m of the i-th glass of wine i and the volume of alcohol consumed i , we get the density of wine ρ i ;

[0108] S94, according to the density of wine ρ i , find the density and ethanol concentration comparison table to get the ethanol concentration c i , the ethanol concentration c i Real-time display on the OLED display 5;

[0109] S95, according to ethanol concentration c i and the volume of alcohol consumed i , get the ethanol volume v of the i-th drink c(i) .

[0110] S10, determine whether the wine quality data and the wine liquid level data have not changed within the time t0, if so, record the current time as the drinking end time t b , get the drinking time t, where t = t b -t0-t a , and note that F2=j, j=F2+1, F2 is cache data, the hardware system enters standby mode and jumps to step S11, if not, jumps to step S4;

[0111] S11. Record the number of glasses of alcohol N and the amount of ethanol v within the time t c(i) , 1≤i≤N, calculate the amount of ethanol consumed by the user at the jth time t The amount of ethanol P j The OLED display screen 5 is displayed in real time to judge the amount of ethanol P j Is it greater than the drinking threshold P? h If yes, then record F3=C, C=F3+1, F3 is cached data, push the drinking threshold value message and the drinking threshold value times C to the mobile terminal through the Bluetooth module, the first RGB indicator light 8 turns red, and jump to step S12, if no, jump to step S12;

[0112] S12, T t Record T in days t The number of drinking times per day M and the amount of ethanol P j , 1≤j≤M, get user T t Amount of ethanol consumed per day G, And the amount of ethanol G, time T t , drinking frequency M and T t The number of alarms C per day is pushed to the mobile terminal via the Bluetooth module.

[0113] Table 1 Communication interface connection table between each module and main control module

[0114]

[0115] The beneficial effects of the present invention are as follows: the present invention realizes the detection of ethanol concentration in wine through the weighing module 4 and the liquid level detection module, and displays the ethanol amount of one-time drinking on the OLED display screen 5 in real time. When the drinking exceeds the threshold value, the ethanol amount is pushed to the mobile terminal, and the amount of ethanol consumed within a period of time is counted, and the amount of ethanol consumed within a period of time is pushed to the mobile terminal. The user can check his own drinking situation at any time to regulate his own drinking amount. During the drinking process, if the wine temperature is too low, the drinking speed is too fast, and the ethanol amount in the drinking wine exceeds the threshold value, the light color of the first RGB indicator light 8 will warn the user, and the OLED display screen 5 will display the battery power, the user's drinking speed, the ethanol concentration and the wine temperature in real time. After the user finishes drinking, the hardware circuit will enter the standby mode to minimize the power consumption of the hardware system.

Claims

1. A smart wine glass for healthy drinking management, characterized in that: include: A cup body (1), a cup base (2), a main control module, a weighing module (4), a power module, a temperature detection module, a liquid level detection module, a touch switch module, an OLED display screen (5), a first RGB indicator light (8) and a Bluetooth module; The touch switch module comprises a touch sheet (3) and a touch switch circuit; the touch sheet (3) is arranged on the outer wall of the cup body (1) and is fixedly connected to the cup body (1); The main control module, power module, temperature detection module, touch switch circuit, liquid level detection module and Bluetooth module are all arranged inside the cup holder (2); The weighing module (4) is arranged at the geometric center position of the inner upper surface of the cup holder (2); The OLED display screen (5) is arranged on the outer wall of the cup body (1); The first RGB indicator light (8) is arranged on the outer wall of the cup holder (2); The main control module is electrically connected to the power module, the weighing module (4), the temperature detection module, the liquid level detection module, the touch switch module, the OLED display screen (5), the first RGB indicator light (8) and the Bluetooth module respectively; The power supply module is electrically connected to the weighing module (4), the temperature detection module, the liquid level detection module, the touch switch module, the OLED display screen (5), the first RGB indicator light (8) and the Bluetooth module respectively; The power module comprises a charging and protection module and a 3.3V regulated power module. The peripheral interface of the charging and protection module comprises: a +5V terminal, a GND terminal and a BAT+ terminal. The charging and protection module comprises a power management chip SE9017, a second RGB indicator light (7), a battery and a USB interface (9). The USB interface (9) is arranged on the outer wall of the cup holder (2) and is used to connect to an external USB. The second RGB indicator light (7) is arranged on one side of the USB interface (9). The BAT pin of the power management chip SE9017 is connected to the positive electrode of the battery and serves as the BAT+ terminal of the charging and protection module. The PROG pin of the power management chip SE9017 is connected to the grounding resistor R16. The CHRG pin of the power management chip SE9017 is connected to the first The R pin of the second RGB indicator light (7) is connected, the CHRGT pin of the power management chip SE9017 is connected to the G pin of the second RGB indicator light (7), and the positive electrode of the second RGB indicator light (7) is connected to one end of the resistor R13; the other end of the resistor R13 is connected to the VCC pin of the power management chip SE9017, the USB interface (9) and the grounding capacitor C10, the VCC pin of the power management chip SE9017 serves as the +5V end of the charging and protection module, the GND pin of the power management chip SE9017 is respectively connected to the negative electrode of the battery, the grounding end of the grounding resistor R16 and the grounding end of the grounding capacitor C10, and serves as the GND end of the charging and protection module, and the +5V end and the GND end of the charging and protection module are connected to the external power supply through the USB interface (9); The peripheral interface of the 3.3V voltage-stabilized power supply module includes: a Batter_ADC terminal, an EN_POWER terminal, a BAT+ terminal, a 3V3 terminal, a VCC terminal and a GND terminal; the BAT+ terminal of the 3.3V voltage-stabilized power supply module is connected to the BAT+ terminal of the charging and protection module, and the GND terminal of the 3.3V voltage-stabilized power supply module is connected to the GND terminal of the charging and protection module; the 3.3V voltage-stabilized power supply module includes: a grounding resistor R14, a resistor R15, a voltage-stabilizing chip HT7133, a MOS tube Q2, a resistor R10, a resistor R11, a grounding capacitor C13, a grounding capacitor C12 and a grounding capacitor C11, one end of the resistor R15 is connected to the grounding resistor R14 and serves as the Batter_ADC terminal of the 3.3V voltage-stabilized power supply module, and the other end thereof is respectively connected to the grounding capacitor C13 and the voltage-stabilizing chip H The Vin end of the voltage regulator chip HT7133 is connected to the Vin end of the MOS tube Q2 and serves as the BAT+ end of the 3.3V voltage-regulated power supply module. The Vout end of the voltage regulator chip HT7133 is connected to the grounding capacitor C12, the grounding capacitor C11, one end of the resistor R11 and the source S of the MOS tube Q2 and serves as the 3V3 end of the 3.3V voltage-regulated power supply module. The GND end of the voltage regulator chip HT7133 is connected to the grounding end of the grounding capacitor C13, the grounding end of the grounding capacitor C12 and the grounding end of the grounding capacitor C11 and serves as the GND end of the 3.3V voltage-regulated power supply module. The other end of the resistor R11 is respectively connected to one end of the resistor R10 and the gate G of the MOS tube Q2. The other end of the resistor R10 serves as the EN_POWER end of the 3.3V voltage-regulated power supply module. The drain D of the MOS tube Q2 serves as the VCC end of the 3.3V voltage-regulated power supply module. The main control chip of the main control module adopts the main control chip of STM8L151K4T6, and its peripheral interface includes: a 3V3 terminal and a GND terminal, wherein the 3V3 terminal is connected to the 3V3 terminal of the 3.3V voltage-stabilized power supply module, and the GND terminal is connected to the GND terminal of the 3.3V voltage-stabilized power supply module; The peripheral interface of the weighing module (4) comprises: a VCC terminal and a GND terminal, wherein the VCC terminal is connected to the VCC terminal of the 3.3V voltage-stabilized power supply module, and the GND terminal is connected to the GND terminal of the 3.3V voltage-stabilized power supply module; the weighing module (4) comprises: an A / D conversion chip HX711, a transistor Q1, a grounding capacitor C4, a grounding capacitor C6, a capacitor C9, a resistor R6, a resistor R9, a resistor R2, a resistor R3, a resistor R4, a resistor R5, a grounding resistor strain gauge R7 and a grounding resistor R8, wherein the grounding resistor strain gauge R7 is connected to One end of the resistor R4 is connected to one end of the resistor R9, and the other end of the resistor R9 is respectively connected to one end of the capacitor C9 and the INPA pin of the A / D conversion chip HX711, the grounding resistor R8 is respectively connected to one end of the resistor R5 and one end of the resistor R6, and the other end of the resistor R6 is respectively connected to the other end of the capacitor C9 and the INNA pin of the A / D conversion chip HX711, and the other end of the resistor R4 is respectively connected to the other end of the resistor R5, the grounding capacitor C4, one end of the resistor R2, and the AVD pin of the A / D conversion chip HX711. The D pin is connected to the collector C of the transistor Q1, the VBG pin of the A / D conversion chip HX711 is connected to the grounding capacitor C6, the other end of the resistor R2 is connected to the grounding resistor R3 and the VFB pin of the A / D conversion chip HX711 respectively, the base B of the transistor Q1 is connected to the BASE pin of the A / D conversion chip HX711, the INPB pin of the A / D conversion chip HX711 is connected to the INNB pin of the A / D conversion chip HX711, the AGND pin of the A / D conversion chip HX711, The RATE pin of the A / D conversion chip HX711, the XI pin of the A / D conversion chip HX711, the grounding end of the grounding resistance strain gauge R7, the grounding end of the grounding resistor R8, the grounding end of the grounding resistor R3, the grounding end of the grounding capacitor C4 and the grounding end of the grounding capacitor C6 are connected and serve as the GND end of the weighing module (4); the VSUP pin of the A / D conversion chip HX711 is respectively connected to the DVDD pin of the A / D conversion chip HX711 and the emitter E of the transistor Q1, and serves as the VCC end of the weighing module (4); The temperature detection module uses a thermistor model MF52AT as a temperature detection sensor; the liquid level detection module uses a proximity sensor VL6180X as a liquid level detection sensor; the touch switch module uses a touch detection IC model TTP223N, and the Bluetooth module uses a Bluetooth module model JYD_19; The method for implementing the smart wine glass for healthy drinking management comprises the following steps: S1, waking up the hardware system through the touch panel (3) and initializing the main control module; S2. Set the bottom area S of the wine glass and the drinking threshold P h , drinking speed threshold v h , temperature threshold k h , the number of drinking times exceeding the threshold C and the number of drinking days T t , where C = 0; S3, pre-processing the wine glass and configuring the mobile terminal to communicate with the Bluetooth module; S4, obtaining the wine quality data, the wine liquid level data and the wine temperature data through the weighing module (4), the liquid level detection module and the temperature detection module; S5. The moment when the quality data and the liquid level data of the wine change for the first time is the moment when the user starts drinking. a , and record i = 1, j = 1, i is the number of glasses of wine per day, j is T t Number of alcohol consumption per day; S6. According to the wine quality data, the user's drinking speed v is obtained, and it is determined whether the drinking speed v is greater than the drinking speed threshold v. h If yes, the first RGB indicator light (8) turns red and the process goes to step S7; if no, the process goes to step S7; S7, determine whether the quality data and the wine liquid level data are both 0, if so, set F1=i, i=F1+1; F1 is the cache data, and jump to step S8, if not, jump to step S4; S8. Get the current temperature value k through the wine temperature data a , and the temperature value k a The temperature value k is displayed in real time on the OLED display (5). a Is it lower than the temperature threshold k? h If yes, the first RGB indicator light (8) turns yellow and the process goes to step S9; if no, the process goes to step S9; S9. Calculate the ethanol volume v of the user's i-th glass of wine based on the wine quality data, the wine liquid level data and the bottom area S. c(i) ; S10, determine whether the wine quality data and the wine liquid level data have not changed within the time t0, if so, record the current time as the drinking end time t b , get the drinking time t, where t = t b -t0-t a , and note that F2=j, j=F2+1, F2 is cache data, the hardware system enters standby mode and jumps to step S11, if not, jumps to step S4; S11. Record the number of glasses of alcohol N and the amount of ethanol v within the time t c(i) , 1≤i≤N, calculate the amount of ethanol consumed by the user at the jth time t The amount of ethanol P j The ethanol amount P is displayed in real time on the OLED display (5). j Is it greater than the drinking threshold P? h If yes, then record F3=C, C=F3+1, F3 is cached data, push the drinking threshold value message and the drinking threshold value number C to the mobile terminal through the Bluetooth module, the first RGB indicator light (8) turns red, and jump to step S12, if no, jump to step S12; S12, T t Record T in days t The number of drinking times per day M and the amount of ethanol P j , 1≤j≤M, get user T t Amount of ethanol consumed per day G, And the amount of ethanol G, time T t , drinking frequency M and T t The number of alarms C per day is pushed to the mobile terminal via the Bluetooth module.

2. The smart wine glass for healthy drinking management according to claim 1, characterized in that: The step S3 comprises the following steps: S31, detect battery voltage value U BAT , and the battery voltage value U BAT The OLED display (5) is displayed in real time to determine whether the battery voltage meets U BAT L , U L is the minimum operating voltage, if so, jump to step S32, if not, jump to step S4;​ S32, reminding the user to charge by flashing the first RGB indicator light (8), and during charging, the second RGB indicator light (7) lights up red to determine whether the battery voltage meets the U BAT ≥U H , U H is the lower limit of the surplus charging voltage. If so, the second RGB indicator light (7) turns on green to remind the user that the battery is fully charged, and the process jumps to step S4. If not, the process jumps to step S31.

3. The smart wine glass for healthy drinking management according to claim 1, characterized in that: The step S6 comprises the following steps: S61, presetting the wine quality data collection interval time as t1, the current time is T; S62, obtaining the quality of the wine according to the quality data of the wine; S63. The mass of the wine at time T-t1 is m t- , the mass of wine at time T+t1 is m t+ , we get the mass of wine consumed by the user in 2t1 time as m h , where m h =m t+ -m t- ; S64, let the drinking speed at the current time T be v, v = (m t+ -m t- ) / 2t1, determine whether v>0 is satisfied, if so, display the drinking speed v in real time through the OLED display screen (5), and jump to step S65, if not, jump to step S7; S65: Determine whether the drinking speed v is greater than the drinking speed threshold v h If yes, the first RGB indicator light (8) turns red and jumps to step S7; if no, jumps to step S7.

4. The smart wine glass for healthy drinking management according to claim 1, characterized in that: The step S9 comprises the following steps: S91. Obtain the drinking quality m of the user's i-th glass of wine according to the wine quality data and the wine liquid level data. i and liquid level h i ; S92, according to the bottom area S and liquid level height h i , calculate the volume v of alcohol consumed i , where v u =Sh i ; S93, based on the drinking quality m of the i-th glass of wine i and the volume of alcohol consumed i , we get the density of wine ρ i ; S94, according to the density of wine ρ i , find the density and ethanol concentration comparison table to get the ethanol concentration c i , the ethanol concentration c i Displayed in real time on the OLED display (5); S95, according to ethanol concentration c i and the volume of alcohol consumed i , get the ethanol volume v of the i-th drink c(i) .