A smart in-vehicle beverage identification and temperature control method and a hot / cold cup for identification and temperature control.

By collecting time-series temperature data and using a decision tree model to identify beverage types, combined with incremental PID control, the problems of beverage identification and environmental interference in vehicle-mounted temperature-controlled cups have been solved, achieving precise beverage temperature control and improving the user experience.

CN123104501APending Publication Date: 2026-11-17FOSHAN CHEFU TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611019347.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-07-09
Publication Date
2026-11-17

AI Technical Summary

Technical Problem

Existing in-vehicle temperature-controlled beverage cups cannot automatically identify the type of beverage and adopt a single, fixed temperature control strategy. This cannot adapt to the differences in the physical properties of different beverages, resulting in overheating and unsuitable temperatures. Furthermore, they lack the ability to resist interference in complex in-vehicle environments, which affects the user experience.

Method used

By collecting time-series temperature data and extracting thermal response characteristic parameters, the beverage can be automatically identified by combining a decision tree classification model. Incremental PID closed-loop control is adopted, matched with a dedicated temperature control strategy, and environmental temperature interference is eliminated to achieve precise constant temperature control.

Benefits of technology

It enables accurate identification and constant temperature control of various beverage types in the vehicle environment, improves temperature control adaptability and user experience, overcomes environmental interference, and ensures that the beverage temperature is appropriate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123104501A_ABST
    Figure CN123104501A_ABST
Patent Text Reader

Abstract

This invention discloses an intelligent in-vehicle beverage identification and temperature control method and an in-vehicle cup for identifying and controlling hot and cold beverages. The cup includes a cup body structure, a semiconductor cooling and heating device, dual temperature measuring devices, a heat dissipation component, and a control board. It independently collects in-vehicle ambient temperature and beverage temperature data via dual sensors, ensuring accurate temperature acquisition. This invention extracts thermal response characteristic parameters of the beverage by collecting temperature data during the beverage's heating and cooling stages, and performs deviation calibration based on dynamic in-vehicle ambient temperature, effectively eliminating data errors caused by seasonal temperature differences, air conditioning convection, and other environmental disturbances, resulting in standardized characteristic parameters. Based on these standardized characteristic parameters, this invention can identify multiple beverage categories and match specific temperature control strategies according to the different beverage properties. This invention effectively improves beverage identification accuracy and environmental interference resistance under complex in-vehicle conditions, significantly enhances the intelligence level and temperature control adaptability of the device, and optimizes the user's in-vehicle beverage drinking experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of vehicle-mounted temperature-controlled cup technology, specifically to a smart vehicle-mounted cup beverage identification and temperature control method and a temperature-controlled cup for identifying hot and cold beverages. Background Technology

[0002] Existing in-car smart beverage cups and in-car thermostat cups mostly only support users manually setting target temperatures, fixed-temperature heating, or simple cooling and insulation functions, and generally lack the ability to automatically identify the type of beverage inside. In actual in-car use scenarios, different beverages such as water, milk, coffee, and juice have significant differences in their specific heat capacity, thermal conductivity, and heat dissipation characteristics, and their corresponding optimal drinking temperature ranges also differ. Traditional in-car thermostat beverage cups all use a single, fixed, universal temperature control strategy, applying the same heating, cooling, and temperature control logic to all types of beverages. This fails to adapt to the inherent differences in the physical properties of different beverages, easily leading to problems such as overheating, excessively high temperatures, insufficient insulation, and excessively rapid cooling, resulting in poor taste and unsuitable temperature, seriously affecting the user's in-car experience.

[0003] Meanwhile, the in-vehicle environment is complex and variable. In-vehicle temperature is easily affected by seasonal changes, in-vehicle air conditioning, and air convection, often fluctuating dynamically. This makes it difficult to maintain a stable heat exchange environment for the cup, thus interfering with the normal heating and cooling patterns of the beverage. If the goal is to differentiate beverage types and achieve intelligent adaptive temperature control based on the beverage's inherent temperature characteristics, these environmental disturbances will directly cause large fluctuations and poor consistency in temperature data, failing to accurately reflect the beverage's inherent thermophysical properties. However, current technologies lack effective error correction and adaptive compensation mechanisms for the complex temperature disturbances in in-vehicle environments. They cannot effectively shield against interference from ambient temperature, making it difficult to accurately distinguish the differences in the physical properties of different beverages. Ultimately, this results in unreasonable temperature control strategies, low temperature control accuracy, and insufficient environmental adaptability of the equipment.

[0004] In summary, existing in-vehicle temperature-controlled beverage cups generally suffer from technical shortcomings such as the inability to automatically identify beverage types, a single and fixed temperature control strategy, poor adaptability to complex in-vehicle environments, and low temperature control accuracy and intelligence. These limitations make it difficult to meet the refined and adaptable temperature control needs of various beverage types under complex in-vehicle conditions throughout the year. Therefore, how to identify beverage types in dynamically changing in-vehicle environments, effectively counteract ambient temperature interference, and match specific temperature control strategies based on beverage types to achieve closed-loop, precise, and constant temperature regulation is a pressing technical problem that needs to be solved in this field. Summary of the Invention

[0005] The purpose of this invention is to provide a smart in-vehicle beverage identification and temperature control method and a method for identifying and controlling the temperature of hot and cold cups, so as to solve the technical problems mentioned in the background art.

[0006] To achieve the above objectives, the present invention provides the following technical solution: a smart in-vehicle beverage identification and temperature control method, comprising the following steps: S1: Collect the ambient temperature of the vehicle and the time-series temperature data of the beverage in the cup at different times; S2: Extract the thermal response characteristic parameters of the beverage based on the collected time-series temperature data; S3: Combine the vehicle ambient temperature to perform deviation calibration on the thermal response characteristic parameters to obtain standardized characteristic parameters; S4: Automatic identification of beverage categories using standardized feature parameters; S5: Match the corresponding temperature control strategy to the identified beverage type and perform closed-loop constant temperature control on the beverage.

[0007] Preferably, the time-series temperature data acquisition in step S1 is specifically divided into two stages: The first stage involves collecting temperature data during a fixed-duration pulse trial heating state. The heating unit is activated to perform a fixed-duration pulse trial heating, while the beverage temperature sensor attached to the inner wall of the cup collects the temperature data of the beverage in the cup in real time according to a preset sampling frequency. The second stage involves collecting heat dissipation and cooling data during the natural resting state after the active temperature adjustment is stopped. After heating is completed, the heating unit stops working, allowing the beverage in the cup to naturally cool down. At the same time, the beverage temperature sensor continuously collects beverage temperature data according to a preset sampling frequency, and the ambient temperature sensor simultaneously collects real-time ambient temperature.

[0008] Preferably, the thermal response characteristic parameters in step S2 include the initial temperature rise slope, the temperature rise curvature, the heat dissipation attenuation coefficient, and the steady-state temperature difference after heating. Among them, the initial temperature rise slope is extracted by linear regression, the temperature rise change curvature is extracted by second derivative operation, the heat dissipation attenuation coefficient is extracted by exponential fitting operation, and the steady-state temperature difference is extracted by difference operation.

[0009] Preferably, the deviation calibration process in step S3 specifically includes: The preset reference room temperature is used as the reference standard for temperature calibration. The initial temperature rise slope, heat dissipation attenuation coefficient and steady-state temperature difference, which are greatly affected by the ambient temperature, are numerically corrected by the preset calibration formula, while the temperature rise change curvature is not calibrated. During the calibration process, the collected thermal response characteristic parameters are compared with the reference room temperature. The measured thermal response characteristic parameters are converted into equivalent standard parameters at the reference room temperature through a preset calibration algorithm, thus eliminating the influence of ambient temperature on the parameters.

[0010] Preferably, the calibration formula is as follows: The initial temperature rise slope calibration formula is: ; in, The initial temperature rise slope after calibration. To measure the initial temperature rise slope, To preset the temperature rise calibration coefficient, The preset reference room temperature, To measure the ambient temperature inside the vehicle; The formula for calibrating the heat dissipation attenuation coefficient is: ; in, This is the calibrated heat dissipation attenuation coefficient. To measure the heat dissipation attenuation coefficient, To preset the reference temperature difference, This represents the highest temperature of the beverage at the end of the heating process. To measure the ambient temperature inside the vehicle; The steady-state temperature difference calibration formula is: ; in, The equivalent steady-state temperature difference after calibration. The measured temperature of the beverage at the end of heating. The preset reference temperature is room temperature.

[0011] Preferably, the automatic identification of beverage categories in step S4 adopts a pre-trained decision tree classification method, specifically as follows: The standardized feature parameters, calibrated for ambient temperature, are input into the pre-trained decision tree classification model. The model presets the feature parameter judgment intervals for different beverage types. By comparing the standardized feature parameters with the preset intervals, the model automatically determines the specific category of the beverage based on the parameter value interval division rules.

[0012] Preferably, the method further includes an anomaly handling process: When the standardized feature parameters are detected to be unable to match any preset beverage category's judgment range, it is judged as an identification anomaly; The system automatically initiates the abnormality detection and handling process: it automatically switches to the room temperature maintenance mode, allowing the beverage in the cup to naturally approach the ambient temperature, while simultaneously issuing an abnormality detection prompt. The system receives temperature setting commands manually issued by the user. After the user issues the command, the system immediately switches to the constant temperature control mode that executes according to the set temperature, without having to re-execute the temperature acquisition and recognition process.

[0013] Preferably, the closed-loop constant temperature control in step S5 adopts an incremental PID closed-loop control method, specifically as follows: The system matches the corresponding exclusive temperature control strategy to the identified beverage type, collects the beverage temperature in the cup in real time through a beverage temperature sensor, and compares the real-time temperature with the appropriate drinking temperature for that type to calculate the temperature deviation. The formula for calculating temperature deviation is: ; in, For the first Temperature deviation at any time To identify the appropriate drinking temperature for the obtained beverage categories, For the first The beverage temperature sensor collects the temperature of the beverage inside the cup in real time. By using an incremental PID control algorithm to adjust the output power of the semiconductor cooling and heating components according to the temperature deviation, dynamic temperature regulation is achieved, and the beverage temperature is stably maintained within the appropriate drinking temperature range for the corresponding category. The core formula for incremental PID is: ; in, For the first Power adjustment increment at any time, This is the proportionality coefficient. The integral coefficient is... The differential coefficients are... For the first Temperature deviation at any time For the first Temperature deviation at any time For the first Temperature deviation at any given time.

[0014] The present invention also provides an intelligent in-vehicle cup with beverage recognition and temperature control, wherein the cup is used to implement the above-mentioned intelligent in-vehicle cup with beverage recognition and temperature control method, and the cup includes a cup body structure, heat dissipation components, semiconductor cooling and heating devices, temperature measuring devices and control board; The cup structure includes a liquid storage cup body and a lower shell; The liquid storage cup is an insulated container, which consists of an inner liner and an outer shell; The outer wall of the liquid storage cup is equipped with an operation display module, which is used to display the cup temperature, equipment status and beverage identification result; The semiconductor cooling and heating device is used for heat exchange with the bottom wall of the liquid storage cup; The temperature measuring device includes a first temperature sensor for collecting the temperature of the beverage; The lower housing is connected to the outer shell of the liquid storage cup, and its outer wall is provided with a ventilation structure, and its interior forms an assembly cavity; The heat dissipation component is disposed in the assembly cavity and is used to dissipate heat from the semiconductor cooling and heating device; The temperature measuring device also includes a second temperature sensor for collecting ambient temperature. The assembly cavity is provided with ventilation holes corresponding to the positions of the heat dissipation components to form convective heat dissipation. The control board is installed in the assembly cavity and is electrically connected to the first temperature sensor, the second temperature sensor, the heat dissipation component, the semiconductor cooling and heating device, and the operation display module, respectively. Preferably, the first temperature sensor is disposed on the inner wall of the liquid storage cup; The second temperature sensor is located near the heat dissipation component; The semiconductor cooling and heating device is a Peltier semiconductor cooling and heating component, which is installed at the bottom of the liquid storage cup.

[0015] The present invention has the following beneficial effects: This invention enables automatic identification of various beverage types in in-vehicle scenarios, overcoming the drawbacks of traditional in-vehicle temperature-controlled cups that rely on manual temperature settings and have a single, fixed temperature control strategy. By collecting time-series temperature data throughout the entire heating and cooling process of beverages, this invention extracts multi-dimensional thermal response characteristic parameters that characterize the inherent properties of the beverages. Combined with a decision tree classification model, it achieves intelligent beverage category identification, accurately distinguishing between different beverages such as water, milk, coffee, and juice. It then matches each beverage with its own optimal temperature control strategy, effectively avoiding problems such as beverages being too hot, too cold, or having poor taste caused by a uniform temperature control mode. This significantly improves the adaptability and user experience of in-vehicle beverage temperature control.

[0016] This invention effectively solves the interference problem caused by dynamic temperature fluctuations in the vehicle environment. Addressing the continuous fluctuations in the vehicle environment due to seasonal changes, air conditioning temperature control, and air convection, this invention introduces an environmental temperature calibration mechanism to standardize and correct the deviations of the collected thermal response characteristic parameters. This eliminates the influence of different environmental temperatures on beverage characteristic parameters, ensuring consistency of recognition parameters across environments. This significantly improves the accuracy and stability of beverage category recognition under complex vehicle conditions, overcoming the shortcomings of existing technologies such as weak anti-interference capabilities and poor recognition accuracy. Attached Figure Description

[0017] Figure 1 The external structure diagram of an intelligent in-vehicle cup with beverage recognition and temperature control for hot and cold drinks provided by the present invention; Figure 2 A flowchart of a smart vehicle-mounted beverage identification and temperature control method for hot and cold cups provided by the present invention; In the diagram: 11. Inner shell; 12. Outer shell; 13. Display screen; 2. Lower shell; 20. Strip ventilation hole; 21. Upper section of lower shell; 22. Lower section of lower shell. Detailed Implementation

[0018] The technical solution of one embodiment of the present invention will be clearly and completely described below with reference to the accompanying drawings.

[0019] Please see Figure 1-2 : This specific embodiment provides an intelligent in-vehicle cup with beverage recognition and temperature control, which mainly consists of a cup body structure, a semiconductor cooling and heating device, a temperature measuring device, a heat dissipation component, and a control board.

[0020] Specifically, the cup structure includes a liquid storage cup body and a lower shell. The liquid storage cup body is a heat-insulated container suitable for vehicle use, consisting of an inner liner and an outer shell. The inner liner is made of stainless steel or other metal materials with good thermal conductivity, allowing direct contact with the beverage inside and efficient heat conduction, ensuring sensitive temperature acquisition and control. The outer shell is made of heat-insulating materials such as plastic. The outer wall of the liquid storage cup body features an integrated frame structure, integrating switches, operation buttons, and a display screen. The display screen can visually show the real-time temperature of the beverage inside the cup, the real-time operating status of the device, and accurately display the beverage identification results, including various beverage types such as drinking water, milk, coffee, and juice, allowing users to intuitively understand the device's operation and the beverage's status. The lower shell and the outer shell of the liquid storage cup body are integrally molded. The outer wall of the lower shell has strip-shaped ventilation holes along its length, and the interior of the shell forms a closed assembly cavity to accommodate various electrical and heat dissipation components. The lower shell adopts a stepped structure that is wider at the top and narrower at the bottom, including an upper section and a lower section.

[0021] The semiconductor heating and cooling device uses a Peltier semiconductor heating and cooling component, which is fixedly installed at the bottom of the liquid storage cup and in close contact with the bottom wall of the cup. The heat exchange surface of the Peltier semiconductor heating and cooling component is in contact with the bottom wall of the cup, allowing for active heating or cooling of the beverage inside the cup when powered on. The heat dissipation surface on the other side of the component faces the lower assembly cavity, forming a stable thermal contact with the heat dissipation component, which can quickly dissipate excess heat generated during operation, ensuring stable and continuous operation of the device.

[0022] The temperature sensing device includes a first temperature sensor and a second temperature sensor, both employing high-precision NTC thermistors to achieve independent dual-channel temperature acquisition. The first temperature sensor is embedded in the lower part of the inner wall of the liquid storage cup, within the normal liquid level range of the beverage. This allows for direct and sufficient contact with the beverage, enabling real-time and accurate acquisition of dynamic temperature data, effectively avoiding temperature acquisition failures and data distortion caused by changes in liquid level. The second temperature sensor is mounted near the side of the heat dissipation component, maintaining a safe distance from the radiator to effectively avoid temperature interference caused by the radiator's heat dissipation.

[0023] The heat dissipation component is located below the liquid storage cup and consists of a radiator and a fan. The radiator is located in the upper section of the lower housing assembly cavity, and the fan is located in the lower section of the lower housing assembly cavity. The top surface of the radiator is tightly fitted and fixed to the heat dissipation surface of the Peltier semiconductor cooling and heating component. The fan is fixedly installed below the radiator and can quickly draw away and expel the heat accumulated in the radiator from the assembly cavity through forced air convection.

[0024] The control board is fixedly installed on the bottom surface of the assembly cavity at the bottom of the lower housing. The control board is electrically connected to the first temperature sensor, the second temperature sensor, the cooling fan, the radiator, the Peltier semiconductor cooling and heating component, and the operation display module. The control board integrates a main control chip (MCU), a temperature acquisition circuit, a storage module, and a power drive circuit. It can fully realize all the core functions corresponding to the following methods, such as temperature acquisition, data processing, parameter calibration, beverage identification, anomaly detection, and temperature control drive. The storage module pre-stores standard thermal response characteristic parameters, ambient temperature calibration coefficients, and category-specific temperature control strategies for various beverages, providing data and algorithm support for the execution of the method process.

[0025] Specifically, the control board integrates a main control chip, a storage module, and a wireless communication module, with each module working collaboratively and in tandem. The main control chip integrates a computing unit, an identification unit, an anomaly detection logic module, an incremental PID control module, and a timing / counting module. The computing unit reads the time-series temperature data stored in the storage module and calculates four core thermal response characteristic parameters—initial temperature rise slope, temperature rise curvature, heat dissipation attenuation coefficient, and steady-state temperature difference—based on a preset mathematical algorithm. The identification unit uses a pre-trained decision tree classification model as its core algorithm, inputting the calibrated standardized feature parameter vector into the model to complete traversal judgment and accurately output the beverage type identification result. The anomaly detection logic module compares the standardized feature parameters with the preset parameter judgment range for each beverage type during the beverage identification process. If the parameters cannot match any category range, it is judged as an identification anomaly and triggers the anomaly handling mechanism. The incremental PID control module calculates the temperature control power adjustment increment based on the real-time temperature deviation and historical deviation trend of the beverage to achieve precise constant temperature control. The timing / counting module includes a heating timer and a cooling timer, which are used to precisely control the fixed trial heating duration during the heating stage and the sampling sequence and sampling period of each acquisition stage, respectively.

[0026] The storage module integrates a decision tree classification model, a feature parameter database, an environmental calibration coefficient library, a temperature control strategy library, and a temporary data storage area. Each database is stored independently and accessed on demand. The decision tree classification model is stored in a binary tree structure, with each internal node corresponding to a set of feature indices and a decision threshold, and each leaf node corresponding to a unique beverage type label. The feature parameter database pre-stores standard thermal response feature parameters for various common beverages such as drinking water, milk, coffee, and juice. The environmental calibration coefficient library pre-stores all calibration parameters, including preset temperature rise calibration coefficients, baseline room temperature, and baseline temperature difference. The temperature control strategy library pre-stores specific temperature control strategies, such as suitable drinking temperature ranges and PID control parameters, for different beverage types. The temporary data storage area is used to store real-time operational data, including collected time-series temperature data, temporary variables, beverage identification results, and historical temperature data.

[0027] The wireless communication module can establish a communication connection with mobile terminals and vehicle central control systems, and receive manual control commands such as beverage selection and custom temperature settings issued by users in real time, realizing flexible switching between intelligent recognition and manual control.

[0028] This invention also provides an intelligent in-vehicle beverage recognition and temperature control method, the specific execution steps of which are as follows: Step S1: Collect the vehicle ambient temperature and the time-series temperature data of the beverage inside the cup at different times. This step uses a dual-sensor independent acquisition design through the temperature acquisition unit. One NTC temperature sensor, fitted to the inner wall of the cup, is used to collect the temperature of the beverage inside, and another NTC temperature sensor, located in the assembly cavity at the bottom of the cup, is used to collect the vehicle ambient temperature. The two sensors work synchronously and acquire data independently, eliminating the need for time-sharing multiplexing, thus improving temperature acquisition efficiency and accuracy, and adapting to the temperature acquisition needs of the complex in-vehicle environment.

[0029] During the data acquisition process, the ambient temperature sensor continuously collects multiple sets of data and calculates the average value, which serves as the benchmark for subsequent temperature calibration. The formula for calculating the average ambient temperature is as follows: ; In the formula: This represents the number of data collection groups. For the first The group measured the ambient temperature in the vehicle.

[0030] The beverage temperature sensor synchronously initiates time-series temperature acquisition, collecting temperature data of the beverage inside the cup at different times, covering the heating and cooling stages of the beverage's operation. Time-series temperature data acquisition is divided into heating and cooling stages. During the heating stage, the heating unit initiates pulse probe heating for a fixed duration, the heating duration being preset by the system (e.g., 20 to 30 seconds). Simultaneously, the beverage temperature sensor, attached to the inner wall of the cup, collects real-time temperature data of the beverage inside the cup at a preset sampling frequency (e.g., 10Hz). The sampling frequency is calculated using the following formula: ; In the formula: Sampling frequency, in Hz; The sampling period is expressed in seconds (s).

[0031] The system records temperature changes throughout the entire heating period. During the cooling phase, the heating unit stops working after heating, allowing the beverage in the cup to cool down naturally. At the same time, the beverage temperature sensor continuously collects beverage temperature data at a preset sampling frequency, and the ambient temperature sensor collects real-time ambient temperature data simultaneously for subsequent parameter calculations. Temperature data from both phases are stored in real time for subsequent feature parameter extraction, ensuring the integrity and accuracy of the collected data.

[0032] After temperature acquisition, step S2 is executed: Based on the acquired time-series temperature data, thermal response characteristic parameters corresponding to the beverage are extracted. The computing unit processes the time-series temperature data and extracts the thermal response characteristic parameters of the beverage through preset mathematical operations. These parameters accurately reflect the inherent thermophysical properties of the beverage, providing a core basis for subsequent beverage category identification. The thermal response characteristic parameters include four types of parameters: initial temperature rise slope, temperature rise curvature, heat dissipation attenuation coefficient, and steady-state temperature difference after heating. All are extracted through corresponding mathematical operations. Drinking water has a higher initial temperature rise slope and a larger heat dissipation attenuation coefficient; milk / thick fruit juice has a lower initial temperature rise slope and a smaller heat dissipation attenuation coefficient; and coffee's initial temperature rise slope and heat dissipation attenuation coefficient are both between those of drinking water and milk.

[0033] The initial temperature rise slope was extracted using linear regression. Temperature data collected during the first 2 seconds of the heating phase were selected, and the data points were set as follows: ,in For the time of collection, The linear regression fitting formula is as follows, representing the beverage temperature at the corresponding time: ; In the formula: The initial temperature rise slope; The intercept is the fitting angle.

[0034] The initial temperature rise slope is solved using the least squares method. The calculation formula is as follows: ; This parameter reflects the rate of temperature rise of the beverage in the initial stage of heating.

[0035] The curvature of the temperature rise change is extracted through second-order differentiation. The temperature rise rate is obtained by first-order differentiation of the temperature change data during the heating period, and the calculation formula is as follows: ; Taking the second derivative of the temperature rise rate again, we obtain the curvature of the temperature rise change, calculated using the following formula: ; This parameter reflects the rate of change in temperature rise during the heating process.

[0036] The heat dissipation attenuation coefficient is extracted through exponential fitting calculation. The temperature change during the heat dissipation stage follows an exponential decay law, and the fitting formula is as follows: ; In the formula: for The temperature of the beverage at any given moment; Real-time vehicle ambient temperature; This refers to the highest temperature of the beverage at the end of the heating process; This is the heat dissipation attenuation coefficient; This refers to the duration of heat dissipation.

[0037] The heat dissipation attenuation coefficient is obtained by nonlinear fitting. This parameter reflects the changing pattern of the beverage's heat dissipation rate.

[0038] Steady-state temperature difference is extracted through difference calculation. The difference between the beverage temperature at the end of heating and the ambient temperature collected by the ambient temperature sensor at the same time is calculated using the following formula: ; In the formula: The steady-state temperature difference; The measured temperature of the beverage at the end of heating; The measured ambient temperature in the vehicle was recorded during the same period.

[0039] This parameter reflects the temperature difference between the beverage and the environment after heating. The measured steady-state temperature difference can be obtained through the above difference calculation. This difference is then used to complete parameter calibration in conjunction with a reference room temperature, ultimately yielding a standardized steady-state temperature difference that can be used for beverage category identification. ; Then, step S3 is executed: The thermal response characteristic parameters are calibrated based on the vehicle's ambient temperature to obtain standardized characteristic parameters. Because of significant differences in vehicle ambient temperature (e.g., low temperatures in winter and high temperatures in summer), deviations in the thermal response characteristic parameters can occur, affecting recognition accuracy. The processing unit combines the collected vehicle ambient temperature with the thermal response characteristic parameters and uses a preset calibration algorithm to calibrate the parameters, eliminating the influence of ambient temperature and obtaining standardized characteristic parameters to ensure comparability of characteristic parameters under different environments. The preset baseline temperature is 25℃, serving as the reference standard for temperature calibration. Using a preset calibration formula, the initial temperature rise slope, heat dissipation attenuation coefficient, and steady-state temperature difference, which are significantly affected by ambient temperature, are numerically corrected. The temperature rise curvature is minimally affected by ambient temperature and is not calibrated.

[0040] During calibration, the collected thermal response characteristic parameters are compared with a reference room temperature. A preset calibration algorithm converts the measured thermal response characteristic parameters into equivalent standard parameters at the reference room temperature, eliminating the influence of ambient temperature on the parameters and ensuring a unified judgment standard for characteristic parameters under different environments, thus improving recognition accuracy. Preset reference temperature difference. The value is 20℃, which corresponds to the common temperature difference between the end of heating a typical beverage and the ambient temperature at a base temperature of 25℃.

[0041] The initial temperature rise slope calibration formula is as follows: ; In the formula: The initial temperature rise slope after calibration; The initial temperature rise slope was measured before calibration; The preset temperature rise calibration coefficient has a value range of 0.005 to 0.01. The baseline temperature is 25℃. This is to measure the ambient temperature in the vehicle.

[0042] During the calibration process, the measured temperature rise slope is substituted into the formula to calculate the calibrated temperature rise slope. This eliminates the influence of ambient temperature on the temperature rise slope, ensuring that it reflects the inherent thermal properties of the beverage.

[0043] The formula for calibrating the heat dissipation attenuation coefficient is as follows: ; In the formula: This is the calibrated heat dissipation attenuation coefficient; The measured heat dissipation attenuation coefficient before calibration; The preset reference temperature difference is set at 20℃. This refers to the highest temperature of the beverage at the end of the heating process; This is to measure the ambient temperature in the vehicle.

[0044] This formula converts the measured heat dissipation attenuation coefficient into an equivalent value under a reference temperature difference. This ensures that it accurately reflects the inherent heat dissipation characteristics of the beverage.

[0045] The steady-state temperature difference calibration formula is as follows: ; In the formula: The steady-state temperature difference after calibration; The measured temperature of the beverage at the end of heating; The reference temperature is 25℃.

[0046] The equivalent transformation of this formula is as follows: ; That is, the calibrated equivalent steady-state temperature difference is equal to the difference between the measured beverage temperature and the reference room temperature. Through this formula, the steady-state temperature difference under different environments is uniformly converted into the equivalent temperature difference under the reference room temperature, ensuring the comparability and physical consistency of the temperature difference parameters.

[0047] Next, step S4 is executed: Automatic beverage category identification is achieved using standardized feature parameters. The calibrated standardized feature parameters are input into the identification unit, and a preset identification algorithm analyzes and judges these parameters to automatically identify the beverage type, accurately distinguishing different types of beverages and providing a basis for subsequent temperature control strategy matching. The identification process uses a decision tree classification model, whose core judgment logic is based on the principle of maximizing posterior probability, as shown in the following formula: ; In the formula: To ultimately identify the type of beverage; Standardized feature parameter vector; A collection of preset beverage types; For parameter vectors Category The posterior conditional probability.

[0048] Specifically, a pre-trained decision tree classification method is adopted, and the standardized feature parameter vector after environmental temperature calibration is set as follows: ; The above parameter vector is input into a pre-trained decision tree classification model, which pre-determines the feature parameter ranges for different beverage types, such as for drinking water. Higher than the preset threshold and Higher than a preset threshold; for milk, Below the preset threshold and It is below the preset threshold.

[0049] The decision tree classification process starts from the root node, compares the input parameters based on the feature index and threshold of the current node. The algorithm iterates down the corresponding branch according to the threshold value until it reaches a leaf node. The category marked by that leaf node is the identification result. The beverage category set includes drinking water, milk, coffee, juice, etc. By comparing standardized feature parameters with preset intervals and according to the parameter value interval division rules, the specific category of the beverage is automatically determined, thus achieving identification.

[0050] When identifying beverage categories, the system determines in real time whether the standardized feature parameters match the preset range of beverage category feature parameters. The core logic for anomaly detection is as follows: ; In the formula: For the first One standardized feature parameter; For category The corresponding number Each parameter has a preset value range.

[0051] When standardized feature parameters cannot match any preset beverage type judgment range, the system determines it as an identification anomaly and triggers the anomaly handling mechanism. At this time, the system exits the intelligent identification and temperature control logic, switches to the normal temperature maintenance mode, and stops all active heating and cooling operations, allowing the beverage temperature to change naturally with the vehicle environment. Simultaneously, the device features a miniaturized display interface, briefly displaying the identification anomaly prompt and the current ambient temperature on the operation display module, allowing users to promptly understand the device's operating status.

[0052] To ensure the availability of temperature control in abnormal situations, this invention provides two manual intervention and control methods that can be used independently or in combination. After a user triggers manual intervention, the system directly calls upon historical data that has already been collected and processed to perform temperature control, eliminating the need to repeat the processes of trial heating, temperature acquisition, feature extraction, and category identification. This effectively improves the temperature control response speed and avoids repeated temperature adjustments that could affect the taste of the beverage.

[0053] Method 1: Local manual temperature control setting within the cup. The cup integrates a simplified local operating interface, featuring temperature adjustment buttons and a temperature progress bar. Upon detecting an abnormal trigger, the user can adjust the target temperature via the buttons, with the progress bar simultaneously displaying the set temperature. After confirmation, the system immediately switches to manual constant temperature mode and utilizes an incremental PID algorithm to achieve precise closed-loop temperature control for the beverage.

[0054] Method 2: Wireless manual setting via mobile app. The cup establishes communication with the mobile app through its built-in wireless communication module, and the app simultaneously pushes notifications when abnormalities are detected. Users can select preset beverage types on the app, and the device will match the corresponding exclusive temperature control strategy; alternatively, users can manually customize the target temperature. After receiving commands from the app, the device directly switches to the corresponding temperature control mode to complete precise temperature regulation, making operation convenient and efficient.

[0055] Finally, step S5 is executed: Based on the identified beverage type, a corresponding temperature control strategy is matched, and closed-loop constant temperature control is performed on the beverage. The system matches the corresponding category's temperature control strategy based on the beverage identification result, activates the closed-loop temperature control unit, and performs closed-loop constant temperature control on the beverage in the cup, stabilizing the beverage temperature within the suitable drinking temperature range for that category of beverage, achieving precise temperature control and improving the user experience. The core of the closed-loop control uses an incremental PID algorithm, and the core calculation formula for the incremental PID is as follows: ; in, For the first Power adjustment increment at any time, This is the proportionality coefficient. The integral coefficient is... The differential coefficients are... For the first Temperature deviation at any time For the first Temperature deviation at any time For the first Temperature deviation at any given time.

[0056] The specific control process is as follows: the system collects the real-time temperature of the beverage in the cup through a beverage temperature sensor. The real-time temperature is compared with the set drinking temperature for this type of beverage. To compare and calculate the real-time temperature deviation, the formula is as follows: ; In the formula: For the first Temperature deviation over time; Set the appropriate drinking temperature for beverages; For the first Real-time measured temperature of beverages.

[0057] An ambient temperature sensor synchronously collects real-time ambient temperature data to assist in determining the temperature control adjustment range. An incremental PID control algorithm calculates the power adjustment increment based on the temperature deviation and its historical trends. This process adjusts the output power of the semiconductor cooling and heating components to achieve dynamic temperature regulation. By repeatedly executing the above steps, the beverage temperature is kept stable within the appropriate drinking temperature range for the corresponding category, ensuring temperature control accuracy and improving the taste of the beverage.

[0058] The aforementioned intelligent in-vehicle cup beverage recognition and temperature control method is compatible with dual trigger modes, supporting both automatic and manual triggering. In the automatic triggering mode, a first temperature sensor at the bottom of the cup monitors temperature changes in real time to determine the operating condition. It identifies whether a beverage has been poured or consumed based on sudden temperature changes. After the beverage is poured and left to stand for a preset time, the device automatically initiates a time-series temperature acquisition process. Once thermal response characteristic parameters are extracted and environmental deviation calibration is completed, beverage category recognition is triggered. When the user finishes drinking and refills the cup, or when the sensor detects another temperature change, the device repeats the entire recognition process. For the manual triggering mode, this invention utilizes existing conventional button triggering technology, configuring a dedicated recognition button on the operation display module. This allows users to manually initiate beverage recognition according to their needs, offering convenient operation and effectively balancing the intelligence of automatic recognition with the flexibility of manual operation, adapting to various complex in-vehicle usage scenarios.

[0059] Although the illustrative specific embodiments of this application have been described above to enable those skilled in the art to understand this application, this application is not limited to the scope of the specific embodiments. For those skilled in the art, all applications utilizing the concept of this application are protected as long as various variations are within the spirit and scope of this application as defined and determined by the appended claims.

Claims

1. An intelligent vehicle-mounted cup-in-drink recognition temperature control method, characterized in that, The method comprises the following steps: S1: Collecting the vehicle-mounted environment temperature and the time-series temperature data of the beverage in the cup at different time periods; S2: Extracting the thermal response characteristic parameters corresponding to the beverage according to the collected time-series temperature data; S3: Combining the vehicle-mounted environment temperature to perform deviation calibration processing on the thermal response characteristic parameters to obtain standardized characteristic parameters; S4: Using the standardized characteristic parameters to complete automatic identification of the beverage category; S5: According to the identified beverage category, matching the corresponding temperature control strategy to execute closed-loop constant-temperature regulation and control on the beverage.

2. The intelligent in-cup beverage recognition and temperature control method of claim 1, wherein, The time-series temperature data collection in the step S1 is specifically divided into two stages: The first stage is the temperature rise data collection in the fixed-time pulse exploratory heating state, starting the heating unit to perform fixed-time pulse exploratory heating, and simultaneously collecting the temperature data of the beverage in the cup in real time through the beverage temperature sensor attached to the inner wall of the cup according to the preset sampling frequency; The second stage is the heat dissipation and cooling data collection in the natural standing state after stopping active temperature regulation, stopping the work of the heating unit after the heating is completed, and allowing the beverage in the cup to naturally stand and dissipate heat, while continuously collecting the temperature data of the beverage through the beverage temperature sensor according to the preset sampling frequency, and synchronously collecting the real-time environment temperature through the environment temperature sensor.

3. The intelligent in-cup drink recognition temperature control method of claim 1 or 2, wherein, The thermal response characteristic parameters in the step S2 include the initial temperature rise slope, the temperature rise change curvature, the heat dissipation attenuation coefficient, and the steady-state temperature difference after the heating is completed; Among them, the initial temperature rise slope is extracted through linear regression operation, the temperature rise change curvature is extracted through second-order derivative operation, the heat dissipation attenuation coefficient is extracted through exponential fitting operation, and the steady-state temperature difference is extracted through difference operation.

4. The intelligent in-cup beverage recognition and temperature control method of claim 1, wherein, The deviation calibration processing in the step S3 is specifically as follows: The preset reference normal temperature is used as the reference standard for temperature calibration, and the initial temperature rise slope, the heat dissipation attenuation coefficient, and the steady-state temperature difference which are greatly affected by the environment temperature are numerically corrected through the preset calibration formula, while the temperature rise change curvature is not calibrated; In the calibration process, the collected thermal response characteristic parameters are compared with the reference normal temperature, and the measured thermal response characteristic parameters are converted into equivalent standard parameters under the reference normal temperature through the preset calibration algorithm to eliminate the influence of the environment temperature on the parameters.

5. The intelligent in-cup beverage recognition and temperature control method of claim 4, wherein, The calibration formula is specifically as follows: The initial temperature rise slope calibration formula is: ; wherein, is the initial temperature rise slope after calibration, is the measured initial temperature rise slope, is the preset temperature rise calibration coefficient, is the preset reference normal temperature, is the measured vehicle-mounted environment temperature; The heat dissipation attenuation coefficient calibration formula is: ; wherein, is the calibrated heat dissipation attenuation coefficient, is the measured heat dissipation attenuation coefficient, is the preset reference temperature difference, is the highest temperature of the beverage at the heating end time, is the measured vehicle-mounted environment temperature; The steady-state temperature difference calibration formula is: ; wherein, is the calibrated equivalent steady state temperature difference, is the measured temperature of the beverage at the end of heating, is the pre-set reference normal temperature.

6. The intelligent in-cup beverage recognition and temperature control method of claim 1, wherein, The beverage category automatic identification in the step S4 adopts the pre-trained decision tree classification determination method, specifically as follows: The standardized characteristic parameters after the environment temperature calibration are input into the pre-trained decision tree classification model, the model presets the characteristic parameter determination interval of different beverage categories, the standardized characteristic parameters are compared with the preset interval, and the specific category of the beverage is automatically determined according to the parameter value interval division rule.

7. The intelligent in-cup beverage recognition and temperature control method of claim 1, wherein, The method further comprises an identification exception processing procedure: When it is detected that the standardized characteristic parameters cannot match the determination interval of any preset beverage category, it is determined that an identification exception occurs; The system automatically starts the identification exception processing procedure: automatically switches to the normal temperature maintenance mode, so that the beverage in the cup naturally tends to the environment temperature, and an identification exception prompt is issued; The system receives the temperature setting instruction manually issued by the user, and after the user issues the instruction, the system immediately switches to the constant-temperature regulation and control mode according to the set temperature, without the need to re-execute the temperature collection and identification procedure.

8. The intelligent in-cup beverage recognition and temperature control method of claim 1, wherein, The closed-loop constant temperature regulation in the step S5 adopts an incremental PID closed-loop regulation mode, specifically: The system matches the exclusive temperature control strategy of the corresponding category according to the identified beverage category, collects the beverage temperature in the cup in real time through the beverage temperature sensor, compares the real-time temperature with the suitable drinking temperature of the category, and calculates the temperature deviation; The temperature deviation calculation formula is: ; wherein, is the first temperature deviation, is the identified appropriate drinking temperature for the beverage category, is the first is the real-time temperature of the beverage in the cup collected by the beverage temperature sensor at the time The output power of the semiconductor refrigeration and heating assembly is adjusted according to the temperature deviation through the incremental PID regulation algorithm, so as to realize dynamic adjustment of the temperature and maintain the beverage temperature in the suitable drinking temperature interval of the corresponding category; The incremental PID core formula is: ; wherein, is the first is the power adjustment increment at the time instant, is the proportional coefficient, is the integral coefficient, is the derivative coefficient, is the first is the temperature deviation at the time instant, is the first is the temperature deviation at the time instant, is the first is the temperature deviation at the time instant.

9. An intelligent vehicle-mounted cup-in-drink recognition temperature control hot and cold cup, characterized in that: The recognition and temperature control cold and hot cup is used to realize the intelligent vehicle-mounted beverage recognition and temperature control method in any one of claims 1-8, and the recognition and temperature control cold and hot cup comprises a cup body structure, a heat dissipation component, a semiconductor refrigeration and heating device, a temperature measuring device and a control board; The cup body structure comprises a liquid storage cup body and a lower shell; The liquid storage cup body is a heat-insulating container composed of an inner container and an outer shell; An operation display module is arranged on the outer wall of the liquid storage cup body for displaying the cup temperature, equipment state and beverage recognition result; The semiconductor refrigeration and heating device is used for heat exchange with the bottom wall of the liquid storage cup body; The temperature measuring device comprises a first temperature sensor for collecting the beverage temperature; The lower shell is connected with the outer shell of the liquid storage cup body, the outer wall of the lower shell is provided with a ventilation structure, and an assembly cavity is formed in the lower shell; The heat dissipation component is arranged in the assembly cavity for dissipating heat of the semiconductor refrigeration and heating device; The temperature measuring device further comprises a second temperature sensor for collecting the ambient temperature; The assembly cavity is provided with a ventilation hole corresponding to the position of the heat dissipation component for forming convective heat dissipation; The control board is installed in the assembly cavity and is electrically connected with the first temperature sensor, the second temperature sensor, the heat dissipation component, the semiconductor refrigeration and heating device and the operation display module.

10. The intelligent vehicle-mounted beverage recognition and temperature control cold and hot cup according to claim 9, characterized in that: The first temperature sensor is arranged on the inner wall of the liquid storage cup body; The second temperature sensor is arranged near the heat dissipation component; The semiconductor refrigeration and heating device is a Peltier semiconductor refrigeration and heating assembly which is installed at the bottom of the liquid storage cup body.