Automobile cup holder temperature regulation control method based on microcontroller
Through a microcontroller-based method, container and environmental data are collected, a temperature regulation model is established, and the cooling plate current or heating film voltage is dynamically adjusted. This solves the problem of inaccurate temperature regulation of the car cup holder in complex environments, realizes intelligent and precise temperature control, and improves user experience and driving safety.
Patent Information
- Application Number
- CN202511195645.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-26
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2045-08-26
AI Technical Summary
The existing temperature adjustment method of the car cup holder cannot perform intelligent and accurate temperature adjustment according to changes in the environment and container material, resulting in poor beverage temperature control in complex and changeable driving environments, and cannot meet users' needs for convenient and efficient temperature adjustment.
Through a microcontroller-based method, real-time temperature data of the container and the environment is collected to generate an initial temperature parameter set. A regulation model of the cooling power mapping relationship and the heating power compensation rule is established. Combined with the thermal conductivity characteristics of the container material, the cooling plate current or the heating film voltage is dynamically adjusted to achieve precise temperature control.
It achieves precise adjustment of beverage temperature in complex driving environments, adapts to the heat conduction characteristics of containers of different materials, ensures stable beverage temperature, and improves user experience and driving safety.
Smart Images

Figure CN120803127A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automobile cup holder temperature control methods, and in particular to a microcontroller-based automobile cup holder temperature adjustment and control method. Background Art
[0002] With the development of modern automobiles, people are placing increasing emphasis on the functionality and comfort of vehicle interiors. As a common feature in vehicle cabins, the functions of in-vehicle cup holders are also constantly expanding. Traditional in-vehicle cup holders only serve the basic function of placing containers such as cups, bottles, and beverages, providing only a fixed space for drivers and passengers, and failing to meet diverse needs.
[0003] As people's quality of life improves, their demands for beverage temperature have become more diverse, especially during long-distance driving, business trips, and family outings. For example, in winter, people expect cup holders to heat their drinks for a warm experience, while in summer, they prefer them to cool them for a cooler experience. However, while some in-car cup holders currently offer simple heating and cooling functions, these features have many shortcomings. Most rely on the user to actively turn them on and off, failing to automatically adjust them based on actual conditions. Existing cup holders lack precision and intelligence in temperature control. Traditional temperature control methods struggle to cope with the complex and changing environmental factors of a vehicle's journey. Vehicle jolting, large fluctuations in ambient temperature, and differences in heat conduction between containers made of different materials can all affect the temperature of the drink in the cup holder. Traditional cup holders struggle to effectively address these disturbances, resulting in poor temperature regulation. For example, heating and cooling cup holders offer a limited heating range and slow heating speed. Typically, the water temperature rises by only about 3°C in 10 minutes, and the maximum temperature can only reach around 40°C. When 350ml of water is heated at room temperature for 20 minutes, the temperature rise is extremely limited. Moreover, in terms of cooling, traditional cup holders also have problems such as low cooling efficiency and unstable temperature control. In the hot summer, it is impossible to quickly cool the drinks to a suitable temperature, making it difficult to meet users' urgent demand for cold drinks in high temperature environments. In addition, cups of different materials, such as glass cups, plastic cups, and thermos cups, have very different thermal conductivity characteristics. When adjusting the temperature, traditional cup holders cannot be optimized according to the different container materials, which further reduces the temperature adjustment effect and user experience. It can be seen that the existing temperature adjustment method of the car cup holder is difficult to meet people's demand for convenient, efficient, and intelligent temperature adjustment. An innovative control method is urgently needed to solve these problems. Summary of the Invention
[0004] The object of the present invention is to provide a microcontroller-based automobile cup holder temperature adjustment control method to solve the problems raised in the above background technology.
[0005] To achieve the above object, the application provides a microcontroller-based temperature regulation control method for a car cup holder, which comprises the following steps:
[0006] collecting real-time temperature data and environmental parameters of a target container to generate an initial temperature parameter set, wherein the initial temperature parameter set comprises a container surface temperature distribution curve and an environmental heat exchange coefficient sequence;
[0007] establishing a first regulation model according to the container surface temperature distribution curve in the initial temperature parameter set, wherein the first regulation model comprises a mapping relationship between surface temperature variation and refrigeration power;
[0008] establishing a second regulation model according to the environmental heat exchange coefficient sequence in the initial temperature parameter set, wherein the second regulation model comprises a compensation rule between environmental heat interference and heating power;
[0009] activating a target model in the first regulation model or the second regulation model based on real-time temperature difference fluctuation data in a cup holder temperature control process and container material thermal conduction characteristic data, and generating a dynamic power instruction through the target model;
[0010] inputting the dynamic power instruction into a semiconductor temperature control unit of the cup holder to adjust a refrigeration fin current gradient or a heating film voltage distribution.
[0011] Preferably, the collecting of real-time temperature data and environmental parameters of a target container to generate an initial temperature parameter set comprises the following steps:
[0012] synchronously collecting temperature sampling values of each surface of the container through a multi-region temperature sensor, and analyzing original data streams of an environmental temperature and humidity sensor;
[0013] dividing the container surface into at least two thermal sections according to the spatial distribution characteristics of the temperature sampling values, and assigning each thermal section with a corresponding initial refrigeration reference value and a heating compensation coefficient;
[0014] extracting refrigeration response parameters and heating lag time constants matched with each thermal section from a historical parameter library;
[0015] performing time-domain normalization processing on the refrigeration response parameters to generate an optimized refrigeration gradient sequence corresponding to each thermal section;
[0016] performing frequency-domain decomposition processing on the heating lag time constants to generate an optimized heating response curve corresponding to each thermal section;
[0017] fusing the optimized refrigeration gradient sequence and the optimized heating response curve of each thermal section to generate the initial temperature parameter set.
[0018] Preferably, the first adjustment model and the second adjustment model are established, comprising:
[0019] The optimized refrigeration gradient sequence is input into a temperature prediction model, model weights are trained through historical temperature distribution data, and a refrigeration power mapping function in the first adjustment model is generated;
[0020] The optimized heating response curve is input into a power control model, a control threshold is adjusted through a heat conduction compensation parameter, and a heating compensation rule table in the second adjustment model is generated;
[0021] After the temperature prediction model and the power control model converge, key control vectors in the refrigeration power mapping function and the heating compensation rule table are extracted, respectively;
[0022] The key control vectors are matched with real-time collected container material heat conduction characteristic data for matching degree verification;
[0023] When the matching degree is lower than a preset threshold, the temperature prediction model and the power control model are re-iteratively trained until a convergence condition is met.
[0024] Preferably, based on real-time temperature difference fluctuation data and container material heat conduction characteristic data in the cup holder temperature control process, a target model in the first adjustment model or the second adjustment model is activated, and a dynamic power instruction is generated through the target model, comprising:
[0025] The cup holder internal temperature difference fluctuation amplitude and the container heat conduction delay time are monitored in real time;
[0026] When the temperature difference fluctuation amplitude exceeds a refrigeration activation threshold and the heat conduction delay time is in a stable interval, a refrigeration power mapping function in the first adjustment model is activated;
[0027] According to a gradient mapping rule in the refrigeration power mapping function, a dynamic current adjustment instruction of a refrigeration sheet is generated;
[0028] When the heat conduction delay time exceeds a heating activation threshold and the temperature difference fluctuation amplitude is in a stable interval, a heating compensation rule table in the second adjustment model is activated;
[0029] According to a compensation distribution rule in the heating compensation rule table, a dynamic voltage adjustment instruction of a heating film is generated.
[0030] Preferably, the dynamic power instruction is input into a semiconductor temperature control unit of the cup holder, comprising:
[0031] According to a gradient change amount in the dynamic current adjustment instruction, the driving current values of each region of the refrigeration sheet are adjusted in stages;
[0032] After each current adjustment, collect the container surface temperature feedback data and calculate the error with the predicted value of the refrigeration power mapping function;
[0033] According to the error change trend, dynamically correct the weight parameters of the refrigeration power mapping function.
[0034] Preferably, the method further comprises:
[0035] According to the voltage distribution parameters in the dynamic voltage adjustment instruction, adjust the output voltage values of the heating film in different temperature zones;
[0036] During the voltage adjustment process, the uniformity of the container temperature is detected in real time by an infrared sensor, and the compensation coefficients in the heating compensation rule table are updated according to the detection results.
[0037] Preferably, the method further comprises a feedback phase after the execution of the dynamic power instruction, comprising:
[0038] Collecting the final temperature distribution data of the container and the heating film energy consumption data;
[0039] Comparing the final temperature distribution data with the expected temperature range of the first adjustment model to generate a refrigeration model error signal;
[0040] Performing deviation analysis on the heating film energy consumption data and the reference energy consumption curve of the second adjustment model to generate a heating model error signal;
[0041] According to the system deviation component in the refrigeration model error signal, adjust the reference current gradient in the refrigeration power mapping function;
[0042] According to the energy consumption fluctuation component in the heating model error signal, optimize the voltage distribution parameters in the heating compensation rule table.
[0043] Preferably, adjusting the reference current gradient and optimizing the voltage distribution parameters comprises:
[0044] Identify the steady-state deviation in the refrigeration model error signal, and calculate the current compensation amount by a sliding mean algorithm;
[0045] Update the reference parameters of the refrigeration power mapping function according to the current compensation amount;
[0046] Identify the transient fluctuation component in the heating model error signal, and extract the effective voltage correction amount by a filtering algorithm;
[0047] Adjust the voltage distribution weight in the heating compensation rule table according to the effective voltage correction amount.
[0048] Preferably, the method further comprises, in the device initialization phase, performing:
[0049] Parsing the thermal capacity identifier in the material code of the target container and the thermal conductivity coefficient code segment, to generate a material thermal characteristic vector;
[0050] Inputting the material thermal characteristic vector into a preset material thermal characteristic database for similarity search, and screening candidate temperature control templates with a matching degree exceeding a threshold;
[0051] Selecting an optimal refrigeration reference template according to the historical control stability index of the candidate temperature control template;
[0052] Extracting a set of heating response curves associated with the optimal refrigeration reference template from the database;
[0053] Verifying the temperature-power synergy of the set of heating response curves, and eliminating abnormal curves with temperature mutations or power conflicts;
[0054] Aligning the verified heating response curves with the optimal refrigeration reference template in time sequence, to generate a reference configuration of an initial temperature parameter set.
[0055] Preferably, the temperature-power synergy verification of the set of heating response curves comprises:
[0056] Extracting heating power distribution data of a single to-be-verified curve, and synchronously acquiring a refrigeration power sequence of a corresponding time node in the optimal refrigeration reference template;
[0057] According to the phase node of the refrigeration power sequence, labeling a synergy timestamp on the heating power distribution data;
[0058] Detecting whether the power change slope of the adjacent interval of the synergy timestamp exceeds a mutation threshold;
[0059] When a power conflict is detected, generating a replacement power smoothing segment based on a historical conflict correction record and updating the curve.
[0060] Compared with the prior art, the present application has the following beneficial effects:
[0061] The method can realize accurate temperature regulation. By collecting real-time temperature data of the target container, an initial temperature parameter set containing the container surface temperature distribution curve is generated, and then a first adjustment model is established, and the mapping relationship between the surface temperature change and the refrigeration power is determined. This means that during the refrigeration process, the system can accurately adjust the refrigeration power according to the actual change of the container surface temperature. For example, when the container surface temperature drops too quickly and exceeds the preset appropriate temperature change range, the system can quickly reduce the refrigeration power to avoid the beverage temperature being too low; on the contrary, if the temperature drops too slowly, the system will automatically increase the refrigeration power to speed up the refrigeration speed, so as to ensure that the beverage temperature can stably approach the user's desired temperature value. Similarly, for the heating process, the second adjustment model established according to the environmental heat exchange coefficient sequence contains the compensation rules of environmental heat interference and heating power. In cold winter, the low-temperature environment outside the vehicle during driving will cause great heat interference to the beverage in the cup holder. At this time, the system can automatically increase the heating power according to the environmental heat exchange coefficient to compensate for the heat loss caused by environmental heat interference and maintain the stability of the beverage temperature.
[0062] The method has intelligent dynamic adjustment capability. During the cup holder temperature control process, the system will monitor the temperature difference fluctuation data in real time, and intelligently activate the target model in the first adjustment model or the second adjustment model in combination with the container material thermal conductivity characteristic data, and then generate a dynamic power instruction. Containers made of different materials, such as glass, plastic, and stainless steel, have significantly different thermal conductivity characteristics. Glass containers have fast thermal conductivity, plastic containers have relatively slow thermal conductivity, and stainless steel containers have unique thermal conductivity characteristics. When the user places containers made of different materials in the cup holder, the system can automatically identify the container material and flexibly adjust the temperature regulation strategy according to the thermal conductivity characteristic data of the container material. For example, for glass containers with fast thermal conductivity, the system will appropriately increase the power adjustment range during heating or refrigeration to quickly reach and maintain the target temperature; for plastic containers with slow thermal conductivity, a relatively gentle power adjustment method is adopted to avoid excessive or insufficient temperature regulation. At the same time, the monitoring of real-time temperature difference fluctuation data enables the system to respond to temperature changes in a timely manner. During vehicle driving, the ambient temperature around the cup holder may fluctuate due to factors such as direct sunlight and air conditioner outlet position, and the system can quickly adjust the power instruction according to these real-time changes to ensure that the beverage temperature in the cup holder is not disturbed by external interference and always remains stable. This intelligent dynamic adjustment capability enables the cup holder to adapt to various complex and variable actual use scenarios, providing users with a more convenient and intelligent temperature regulation experience.
[0063] The application of the method helps to improve the overall comfort and user experience of the automobile cabin. During long-distance driving, the user does not need to manually adjust the temperature of the cup holder frequently. The system can automatically adjust the temperature of the beverage intelligently and accurately according to various factors, so that the user can enjoy the beverage at the appropriate temperature at any time, reducing the distraction operation during driving and improving the driving safety. For business users, they can drink coffee or tea at the right temperature at any time in the car, which helps to improve the atmosphere and efficiency of business negotiations. For family outing scenarios, parents can conveniently provide children with beverages at the appropriate temperature, ensuring the health and comfort experience of children's diet. BRIEF DESCRIPTION OF DRAWINGS
[0064] Figure 1 The working principle diagram of the microcontroller-based automobile cup holder temperature adjustment control method described in the application;
[0065] Figure 2 The flowchart of multi-region parameter acquisition and processing;
[0066] Figure 3 The flowchart of model training and verification;
[0067] Figure 4 The flowchart of feedback stage error signal processing. DETAILED DESCRIPTION
[0068] The technical solutions in the embodiments of the application will be described clearly and completely below with reference to the drawings in the embodiments of the application. Obviously, the described embodiments are only part of the embodiments of the application, rather than all the embodiments. Based on the embodiments in the application, all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the application.
[0069] Please refer to Figure 1 The application provides a microcontroller-based automobile cup holder temperature adjustment control method, which comprises:
[0070] Precise control of container temperature is achieved through the integration of temperature sensing, environmental monitoring, and intelligent algorithms. The system first collects target container surface temperature distribution data through a multi-zone temperature sensor array, simultaneously acquiring ambient temperature and humidity parameters, and constructing an initial temperature parameter set consisting of the container surface temperature distribution curve and the ambient heat exchange coefficient sequence. Based on this set, two independent adjustment models are established: the first adjustment model generates a cooling control strategy by analyzing the mapping relationship between container surface temperature changes and cooling power, and the second adjustment model forms a heating control strategy based on the compensation rules for ambient thermal interference and heating power. The system monitors temperature difference fluctuations and heat conduction characteristics in real time, dynamically selects and activates the corresponding adjustment model, generates execution instructions for the semiconductor temperature control unit, and achieves precise temperature control by adjusting the current gradient of the cooling plate or the voltage distribution of the heating film.
[0071] Example 1: See Figure 2 During the generation of the initial temperature parameter set, the system achieves accurate modeling of the container's temperature characteristics through multi-sensor collaborative data acquisition and processing. The temperature acquisition module utilizes six high-precision digital temperature sensors distributed in a circular pattern. Each sensor is mounted on the inner wall of the cup holder at a fixed spatial angle, forming a full-coverage monitoring network for the container's sidewalls. The sensor utilizes a digital device with an I2C interface and a built-in 16-bit ADC converter. The temperature resolution reaches 0.015°C, and the sampling frequency is set to 10Hz to ensure real-time dynamic response. In addition to recording the temperature value, each sampling point also includes a three-dimensional spatial coordinate marker, forming a temperature data packet with location information. Environmental parameter monitoring utilizes an integrated temperature and humidity composite sensor with a humidity measurement range of 5% to 95% RH and a temperature measurement accuracy of ±0.3°C. Signal noise caused by vehicle vibration is eliminated through hardware filtering circuits.
[0072] The microcontroller collects data from each sensor via a multiplexer, employing a timestamp synchronization mechanism to ensure consistent timing across channels. The raw data undergoes a sliding average filter before entering a spatial temperature distribution reconstruction algorithm. This algorithm, based on the principle of inverse distance weighted interpolation, calculates the estimated temperature of unmonitored areas on the container surface based on the spatial position of the sensors, generating a complete two-dimensional temperature field distribution map. The environmental parameter parsing module extracts three key indicators from the raw data stream: absolute humidity, dew point temperature, and dry-bulb temperature. It then calculates the current air heat exchange coefficient using a table lookup.
[0073] The thermal zone division algorithm adopts a gradient-based edge detection technique to analyze the slope variation characteristics of each region in the temperature distribution map. When the temperature variation rate difference between adjacent regions exceeds the set threshold, the automatic division boundary line is generated. In typical applications, the container surface is divided into three independent control sections, top, middle and bottom, each with different thermodynamic characteristics. The top section is directly exposed to the air, and the environmental heat exchange effect is significant; the middle section is affected by the container wall thickness and liquid convection, and the thermal inertia is large; the bottom section is in contact with the cup holder base, and conduction heat dissipation dominates. The system assigns each section an independent control parameter set, including the reference cooling intensity, heating compensation coefficient and temperature response time constant.
[0074] The historical parameter library adopts a hierarchical storage structure, with the upper layer storing standard parameter templates for common container types and the lower layer recording adaptive adjustment data in actual operation. When retrieving data, first match the container material type and volume specification, and then filter the historical records under similar working conditions according to the current environmental conditions. The extraction process of refrigeration response parameters includes time domain feature analysis, the system identifies the inflection point position of the temperature drop curve in the historical data, and calculates the time constant and power variation rate of each stage. The analysis of heating lag characteristics focuses on the delay time and overshoot in the temperature rise process, and through curve fitting, the parameter estimation value of the first-order inertia link is obtained.
[0075] The time domain normalization processing module adopts the sliding window Fourier transform technique to convert the non-stationary refrigeration response signal into time-frequency joint domain features. In the processing process, a 256-point Hanning window function is set, and the signal segment is intercepted with a 50% overlap rate, and the energy distribution characteristics of each frequency band are extracted by fast Fourier transform. The generated optimized refrigeration gradient sequence contains a 32-dimensional feature vector, each feature corresponds to the energy integral value of a specific frequency band, and is arranged in time order to form a time spectrum diagram of refrigeration control. The frequency domain decomposition of the heating lag parameter uses the wavelet packet transform algorithm, and the db4 wavelet basis function is selected for 6-layer decomposition to accurately locate the feature frequency band in the thermal response process. The energy values of each node obtained by decomposition constitute the multi-scale description features of the heating response curve, which are weighted and fused with the thermal conductivity of the container material.
[0076] The improved Kalman filter algorithm is used in the parameter fusion stage to make optimal estimation of the time-frequency domain features and the real-time collected physical quantity measurement data. The state equation of the filter contains the physical model of temperature conduction, and the observation equation integrates the actual measurement values of each sensor. In each iteration process, the system dynamically adjusts the process noise covariance matrix to adapt to the characteristic changes of different thermal sections. The generated initial temperature parameter set is stored in a structured data format, including time series labels, spatial distribution matrices, and environmental correction coefficients. The time series labels record the time stamp and duration of each control period; the spatial distribution matrix stores the temperature gradient values and heat flux density of each thermal section; and the environmental correction coefficient contains the compensation values of the air convection coefficient and the radiation heat transfer coefficient.
[0077] The data verification module performs integrity checking after the parameter set is generated, ensuring that the data packet is error-free during transmission through the cyclic redundancy check. The abnormality detection algorithm analyzes the logical relationship between the parameters of each thermal section. When an abnormal combination that violates the laws of thermodynamics is found, the data re-sampling process is automatically triggered. The parameter set that passes the verification is sent to the double-buffer memory for real-time calling by the subsequent modeling module. The entire acquisition and processing process is completed within a 20 ms control period, meeting the strict real-time requirements of automotive electronic systems.
[0078] The system maintenance mechanism periodically performs self-diagnosis on the sensor network by injecting test signals to detect the response characteristics of each channel. The drift error of the temperature sensor is eliminated by the two-point calibration method, and the periodic calibration of the environmental sensor is automatically triggered based on the climate control parameters on the vehicle CAN bus. The update strategy of the historical database uses incremental learning, which only triggers database structure expansion when the feature distribution of newly collected data exceeds the original range. This design ensures the adaptive ability of the system while avoiding unlimited growth of storage space.
[0079] The hardware acceleration module plays an important role in the critical path of data processing. Temperature interpolation calculation is accelerated by the geometry processor unit, and Fourier transform and wavelet decomposition are completed by calling the dedicated digital signal processing coprocessor. This heterogeneous computing architecture reduces the load of the main control chip by about 40%, ensuring stable operation of the system under complex working conditions. The communication interface uses the automotive CANFD bus protocol, and the transmission bandwidth of the parameter set reaches 5 Mbps, supporting data sharing with other thermal management units such as the vehicle air conditioning system.
[0080] In terms of fault-tolerant mechanism design, the system automatically switches to a degraded mode based on the remaining sensors when a single sensor failure is detected. The hot section partitioning algorithm uses nearest neighbor interpolation to compensate for missing data at this time, and the abnormal state is prompted on the diagnostic interface with a red marker. When the environmental sensors fail, the system switches to a preset typical working condition parameter set, and the environmental heat exchange conditions are inversely calculated by monitoring the cup holder temperature change trend. These designs significantly improve the robustness and usability of the system.
[0081] The quality of the initial temperature parameter set directly affects the subsequent control effect, so the system sets up a multi-level verification mechanism. In the data acquisition stage, the sampling values of the analog channels need to pass the reasonableness test, and the abnormal values outside the physical possible range are removed; in the feature extraction stage, the intermediate results of each algorithm module are output to the debugging interface for offline analysis and verification; after the final parameter set is generated, it is cross-validated with the working condition data recorded by the on-board diagnostic system. These measures together constitute a complete quality assurance system, providing a reliable input basis for temperature regulation control.
[0082] Embodiment 2: see Figure 3 The first adjustment model is based on a deep neural network architecture, and its core is to establish a nonlinear mapping relationship between the temperature change of the container surface and the refrigeration power. The input layer of the network receives the optimized refrigeration gradient sequence generated in Embodiment 1, which contains 32-dimensional time-frequency domain feature vectors, and each feature dimension represents the energy integral value of a specific frequency band. The hidden layer is designed as a recursive structure containing 128 long short-term memory (LSTM) units, and the internal state update of the unit follows the principle of the gating mechanism. The forgetting gate controls the retention degree of historical information, the input gate adjusts the proportion of new information, and the output gate determines the external influence intensity of the current state. This structural characteristic enables the network to effectively capture the time sequence dependence of temperature changes, especially the thermal inertia effect and delay response characteristics in the refrigeration process.
[0083] The root mean square back propagation algorithm (RMSprop) is used to optimize the weight parameters in the network training stage, and the loss function is defined as the mean square error of the predicted temperature and the actual temperature. The training data set is composed of historical operation records, each sample contains an input feature vector, a temperature distribution true value corresponding to the time stamp, and an environmental condition label. The input features are standardized in the data preprocessing link, so that their numerical values are distributed in the [-1, 1] interval. To prevent overfitting, the network introduces Dropout regularization technology, which randomly discards part of the neuron connections with a probability p dr = 0.2 during the training process, where p dr represents the probability of neuron being discarded. The training process is set with an early stopping mechanism, which terminates iteration when the validation set error does not decrease for 5 consecutive epochs, and the prediction error of the finally converged network is controlled within the engineering allowable range.
[0084] The implementation of the second regulation model relies on a fuzzy logic control framework, whose core is to transform the heating compensation problem into a multi-dimensional decision-making process. The input variables are defined as the heat conduction delay time and the temperature difference fluctuation amplitude, which are fuzzified into three linguistic variables of "low", "medium", and "high" through membership functions. The output variable is the heating film voltage adjustment, which is divided into 7 discrete levels. The rule base contains 27 control rules in the form of "if the delay time is high and the temperature difference is medium, then the voltage adjustment is level 4". The defuzzification process uses the gravity method to calculate the exact output value, generating the final heating compensation rule table. This table is stored in the form of a two-dimensional matrix, with the row index corresponding to the discretized heat conduction delay time, the column index representing the temperature difference fluctuation interval, and the matrix elements storing the recommended voltage adjustment level.
[0085] The model parameter adjustment phase introduces the heat conduction compensation coefficient α hc , which dynamically modifies the effect of the control rules according to the container material characteristics. hc The calculation formula of α
[0086]
[0087] where κ mat represents the measured thermal conductivity of the current container material, κ std is the reference thermal conductivity under standard conditions, ρ env is the measured value of the ambient air density, and ρ nom is the nominal air density. This coefficient is used to scale the amplitude of the voltage adjustment levels in the rule table, appropriately reducing the heating intensity when the material's thermal conductivity is better than the standard value, and increasing the compensation amount when the air density is higher to offset the effect of convective heat dissipation.
[0088] The model convergence verification uses a two-stage strategy. The first stage checks the monotonicity of the refrigeration power mapping function, requiring the output refrigeration power to strictly increase when the input temperature rises. This property is verified by traversing discrete test points within the function's domain. The second stage evaluates the completeness of the heating compensation rule table, ensuring that all possible input combinations can find corresponding entries with non-zero membership in the rule table. When boundary conditions are missing during the verification process, a rule interpolation mechanism is automatically triggered, generating new control entries based on the weighted average of adjacent rules.
[0089] The extraction process of the key control vectors focuses on the core decision features of the model. For the refrigeration power mapping function, the partial derivative matrix of its output with respect to the input features is extracted, and the top 3 feature dimensions with the largest variation rates are selected as the dominant control vectors. The heating compensation rule table then counts the frequency of occurrence of each voltage level, and rules with a usage frequency exceeding a threshold and a large adjustment amplitude are marked as key control points. When these vectors are matched with the real-time collected container material data, a distance measurement system for the feature space is established. The material data is obtained through an embedded RFID reader, decoded and converted into a 16-dimensional material feature vector, and the cosine similarity is calculated in the same measurement space with the model control vectors. When the similarity is lower than the preset threshold, the system records the current working condition as a new type of working mode and starts the model incremental learning process.
[0090] The model retraining mechanism uses the elastic weight consolidation algorithm to adapt to new working conditions while preserving existing knowledge. Before each retraining, the importance scores of the weights of each layer of the network are calculated, and important parameters are protected during subsequent training by adding a constraint term. The update of the heating compensation rule table uses a gradual adjustment strategy, modifying only rule entries that differ significantly from the current working condition. This design ensures the adaptability of the model while avoiding control instability caused by frequent adjustments. The retraining process is executed in the background thread, and after completion, the new model version is verified through at least 10 control cycles of shadow running, and only after confirming performance improvement is it switched to online control.
[0091] During real-time control, the model selection logic is based on dual judgment conditions. The temperature difference fluctuation monitoring module calculates the root mean square value of the temperature change of each thermal section within adjacent sampling periods, and when this value exceeds the refrigeration activation threshold, the first adjustment model is called preferentially. The heat conduction delay time is estimated by analyzing the initial slope of the temperature response after the heating instruction is issued, and when the delay exceeds the set threshold, the second adjustment model is enabled. The outputs of the two models are coordinated in the time and space dimensions, with refrigeration power adjustment mainly affecting the temperature rapid change stage and heating compensation focusing on maintaining steady-state accuracy. When the system detects a conflict between the control instructions of the two models, the arbitration algorithm is started, and the dominant control mode is selected based on the degree and direction of the current temperature deviation from the target value.
[0092] The model performance maintenance system continuously monitors the control effect, recording temperature tracking errors and energy consumption indicators. The error analysis module aligns the actual temperature trajectory with the model prediction curve using dynamic time warping, calculates the deviation at each time point to form an error distribution map. The energy consumption statistics unit accumulates the current and voltage integral values of the semiconductor temperature control unit to generate a power-time curve. These data are fed back to the model parameter optimization loop regularly, forming a closed-loop learning system. The anomaly detection algorithm scans for outliers in the error distribution, and when a persistent deviation pattern is found, a diagnostic report is automatically generated, indicating possible model degradation or hardware failure.
[0093] Hardware acceleration, neural network inference process is deployed on a dedicated AI accelerator, using matrix multiplication instruction set to realize parallel computing. The rule evaluation of fuzzy logic control is realized through lookup table, which discretizes the continuous input into 256 index to access the precomputed results directly. These optimizations control the joint inference time of the two models within 5ms, meeting the real-time requirements of automotive electronic systems. Memory management uses block caching strategy to save frequently accessed model parameters in cache area, reducing main memory access delay.
[0094] The safety mechanism design ensures that the model output is within a physically reasonable range. The refrigeration power instruction is saturated and limited within the safe working area of semiconductor devices. The heating film voltage adjustment amount is set to limit the rate to avoid thermal stress on the container caused by sudden temperature changes. All model output instructions are checked by an independent safety monitoring unit, and instructions that violate the constraints will be intercepted and trigger a system safety state transition. Model version management uses blockchain technology to record each update, supporting fast rollback to a stable version in case of failure.
[0095] Integration with the vehicle system is achieved through a standardized interface. The model receives environmental temperature, solar intensity and other auxiliary information from the vehicle bus, dynamically adjusting the control parameters. At the same time, the cup holder temperature state is uploaded to the vehicle infotainment system, supporting user interface display and voice prompt functions. The diagnostic interface supports engineers to read the internal state of the model through a special tool, including neuron activation patterns, rule trigger frequency and other deep information, providing data support for on-site troubleshooting.
[0096] Example 3: The temperature difference fluctuation monitoring module uses a differential signal processing architecture to detect abnormal changes by comparing the real-time readings of adjacent temperature sensors. The hardware circuit design includes six parallel instrumentation amplifiers, each connected to a pair of spatially adjacent sensors, amplifying the microvolt-level temperature difference signal to a processable range. The signal conditioning stage uses a second-order Butterworth filter with a cutoff frequency of 0.5Hz to suppress high-frequency noise while preserving the dynamic characteristics of real temperature changes. When the differential voltage of any channel exceeds the threshold V th , an interrupt signal is triggered to notify the microcontroller to start the refrigeration regulation process. The threshold voltage V th is dynamically calculated by the following formula:
[0097] V th = G amp · S sens · ΔT set
[0098] Where: G amp represents the gain coefficient of the instrumentation amplifier (typical value 500), S sens is the sensitivity of the temperature sensor (unit mV / ℃), and ΔT setThe threshold value is self-adaptive to the ambient temperature, which relaxes the fluctuation tolerance in high-temperature environment and improves the monitoring sensitivity in low-temperature condition.
[0099] The refrigeration film current control adopts a three-stage gradient regulation strategy, each stage corresponding to a different thermodynamic state. The initial stage increases the driving current at a preset slope, and the slope value is obtained from a table according to the heat capacity characteristics of the container material. During the current rising process, the microcontroller outputs an analog control signal through a 16-bit DAC, which drives the semiconductor refrigeration film through a power amplification circuit. The current monitoring uses a Hall effect sensor, and the sampled data is compared with the set value after ADC conversion to form a closed-loop control. The fuzzy PID algorithm is introduced in the stable stage, and the proportional coefficient K p The integral time T i and the differential gain K d are nonlinearly adjusted according to the temperature difference error, and are dynamically optimized according to the temperature change rate. The final stage uses pulse width modulation technology, with a switching frequency of 25kHz to avoid audible noise, and a duty cycle adjustment step of 0.5% to achieve fine temperature stabilization.
[0100] The temperature feedback verification system starts after each current adjustment, with a collection period of 200ms to match the time constant of heat conduction. Multi-channel sensor data is captured through a synchronous sampling hold circuit to eliminate time deviation between channels. The data verification algorithm first eliminates outliers caused by electromagnetic interference, then calculates the temperature average and standard deviation of each thermal section. The prediction error evaluation uses the weighted residual sum of squares method, and gives higher weight to the bottom section to reflect its key influence on the overall temperature. When the error exceeds the limit, the parameter correction process is triggered, and the weight matrix of the refrigeration power mapping function is updated iteratively through the conjugate gradient method, with each adjustment amplitude limited to within 5% to avoid system oscillation.
[0101] The heating film control uses spatial zoning voltage regulation technology, dividing the flexible heating film into eight independently controlled fan-shaped regions. Each zone is equipped with a dedicated drive circuit, including a MOSFET switch tube and a current detection resistor. The voltage distribution algorithm is based on the temperature field data input by the infrared thermal imager, calculating the compensation voltage value of each region. The Gaussian smoothing algorithm is used for boundary processing to avoid temperature unevenness caused by voltage sudden change in adjacent regions. The calculation of voltage regulation amount ΔV reg considers the local temperature difference ΔT local and the environmental heat flux density φ env :
[0102] ΔV reg = K v ·(ΔT local +C comp ·φ env )
[0103] where: K v is the voltage-temperature conversion coefficient (unit V / °C), C comp is the ambient compensation factor. This formula ensures automatic enhancement of heating power under strong convection conditions to offset additional heat loss.
[0104] The infrared temperature detection system uses a 32x32 pixel thermopile array with a spatial resolution of 1.5mm and a temperature refresh rate of 5Hz. The image processing algorithm first performs non-uniformity correction, and calibrates the response curve of each pixel point by referencing a blackbody. Temperature uniformity analysis extracts five characteristic parameters: the difference between the highest and lowest temperatures, the hotspot position offset, the radial temperature gradient, the circumferential asymmetry, and the overall standard deviation. These parameters are input into the query engine of the heating compensation rule table to generate targeted voltage adjustment instructions. After the instructions are executed, the system monitors the evolution trend of the temperature field, and if the uniformity improvement is insufficient, it triggers a secondary compensation cycle.
[0105] Hardware protection mechanisms run throughout the entire control process. The refrigeration sheet drive circuit includes an overcurrent protection chip that automatically cuts off the power supply when the current exceeds the safety threshold. Independent temperature fuses are set for each partition of the heating film to prevent local overheating from causing material aging. The power device heat dissipation uses a design combining heat pipes with fins to ensure that the junction temperature does not exceed the rated value under maximum load. All analog signal channels are configured with TVS diodes for protection, suppressing power fluctuations and electrostatic discharge interference.
[0106] The timing synchronization system ensures that all subsystems work in coordination. The main controller generates a reference clock signal, which is distributed to each functional module through the LVDS interface. Critical operations such as current adjustment and temperature sampling are strictly aligned to the time slot window to avoid resource conflicts caused by concurrent operations. The exception handling uses a priority interrupt mechanism, with the temperature difference overrun alarm having the highest priority, immediately suspending other task execution to perform the emergency temperature control program.
[0107] The dynamic parameter storage management system maintains three sets of operating parameters: factory default values, adaptive learning values, and temporary adjustment values. When the system detects a container change, it automatically loads the corresponding material's reference parameters; during stable operation, it gradually replaces them with learning-optimized values; and in the event of sudden working conditions, it uses temporary adjustment parameters for rapid response. Parameter version management uses the copy-on-write technology to ensure the atomicity and traceability of the parameter update process.
[0108] Interaction with the vehicle system is achieved through the CANFD bus. The cup holder controller sends temperature status messages regularly (period 100ms) and receives environmental parameter updates from the air conditioning system (period 1s). When the vehicle enters energy-saving mode, the temperature control system automatically switches to a low-power strategy, limiting the maximum operating current and relaxing the temperature control accuracy requirements. User interface integration is achieved through the AUTOSAR architecture, supporting the display of real-time temperature curves and energy consumption statistics on the central control screen.
[0109] The diagnostic function design contains both online self-check and offline analysis modes. The power-on self-check procedure verifies the health status of all sensor channels and drive circuits, and the ECC error correction capability of the memory is tested periodically during operation. Fault records are stored in a circular buffer, saving detailed data of the last 100 abnormal events, including temperature profile, control instruction sequence, and environmental snapshot at the time of occurrence. Engineers can inject test mode instructions through the diagnostic interface to simulate various boundary conditions and verify the system robustness.
[0110] The thermodynamic model online update mechanism allows the import of verified new control algorithms. The update package uses digital signature to ensure the source is trustworthy, and AES-256 encryption is used to protect the transmission process. The model switching uses a fade-in and fade-out strategy, with the new and old versions running in parallel for a period of time, gradually transferring control to avoid step disturbance. The version rollback function can quickly recover to a stable state when the new model performs poorly.
[0111] The manufacturing consistency guarantee measures include an end-to-end traceability system. Each cup holder module undergoes 72-hour aging test before leaving the factory, recording its baseline performance curve under different working conditions. Key parameters such as sensor sensitivity and drive circuit gain are written to one-time programmable memory to prevent later tampering. The batch management database associates material sources, production processes, and test results, supporting root cause analysis of quality problems.
[0112] The environmental adaptability design takes into account the harsh conditions of automotive applications. The circuit board is encapsulated with automotive-grade epoxy resin, capable of withstanding temperature cycles from -40°C to 125°C. The connector has an IP67 protection level to prevent car wash liquid from seeping in. All software algorithms are verified through -40°C low-temperature startup and 85°C high-temperature full-load operation tests. The electromagnetic compatibility design includes multi-layer board stacking, magnetic bead filtering, and shielded housing, meeting the CISPR25 Class 5 radiation standard.
[0113] The energy consumption optimization strategy is implemented throughout the system. The refrigeration sheet drive uses a zero-voltage switching topology to reduce switching loss; the heating film is powered in partitions and dynamically started and stopped according to demand; the microcontroller switches to low-power mode during idle periods. The energy recovery circuit stores the reverse thermoelectric conversion energy generated during braking in a super capacitor. The system calculates and accumulates energy consumption indicators in real time to provide decision-making basis for vehicle energy management.
[0114] The life cycle management includes performance degradation monitoring functions. The Seebeck coefficient of the refrigeration sheet is recorded over time to predict the remaining service life. The resistance value of the heating film is measured periodically, and maintenance recommendations are prompted when the resistance value changes by more than 10%. The equivalent series resistance (ESR) of key components such as electrolytic capacitors is continuously monitored, and an alarm is triggered for preventive maintenance when it abnormally rises. These data are uploaded to the cloud through the Internet of Vehicles to support predictive maintenance and supply chain optimization.
[0115] Example 4: Refer to Figure 4 The data processing of feedback stage starts from the acquisition of final temperature distribution of the container. The system initiates multi-channel synchronous sampling after the end of the refrigeration or heating cycle, and the six sensors record the stable values of the top, middle and bottom sections respectively. The temperature data is transmitted to the analysis module through the DMA channel, and the energy consumption monitoring circuit records the cumulative charge of the semiconductor temperature control unit with a resolution of 0.1 mAh.
[0116] The data preprocessing includes outlier rejection and unit unification. For the cooling scenario of aluminum beverage cans, assuming the target temperature is set to 5°C, the system records the final temperature distribution of a certain run, refer to Table 1.
[0117] Table 1: Final temperature distribution of a certain run.
[0118]
[0119]
[0120] The refrigeration model error analysis uses Gaussian blur processing technology. The system first establishes a tolerance interval for the target temperature, and constructs a Gaussian distribution curve with the target value as the center and the positive and negative tolerances. For the 5.8°C measured value of the top section, calculate the Mahalanobis distance outside the target interval [4.5°C, 5.5°C], quantify the deviation and generate a deviation signal. The deviation signals of the three sections are fused into the total error value of the refrigeration model, and are decomposed into two components of steady-state offset and dynamic fluctuation.
[0121] The energy consumption analysis module uses dynamic time warping algorithm. Take the current run's current-time series and the reference curve to perform nonlinear alignment, calculate the power spectral density difference after eliminating the time delay effect. When energy saving is detected in the middle section, extract the negative fluctuation component in the frequency range of 0.05-0.1 Hz, and mark it as an abnormal energy saving mode.
[0122] The reference current gradient adjustment uses adaptive filtering technology. The system identifies a +0.3°C steady-state offset in the top section, automatically calculates the compensation amount: the sliding window is set to 10 historical periods (200ms / period), and the offset mean of the last three periods is taken as the effective compensation value. In the case of aluminum can refrigeration, the compensation module increases the reference current intensity of the refrigeration mapping function by 5mA, and records the special tuning parameters of this material under the current environment simultaneously.
[0123] The voltage distribution optimization process transient fluctuation component. The bottom section of the energy consumption deviation Hilbert transform, extract the instantaneous amplitude characteristics at 0.15Hz, determine the dominant mode of transient interference. Voltage weight adjustment using asynchronous zoning strategy: high temperature area compensation coefficient increases 0.15, low temperature area remains unchanged. New parameters are written to the backup sector of FLASH memory in real time, and hot update is realized through double buffering mechanism.
[0124] Data reliability safeguards include a triple check mechanism. Temperature data performs CRC16 check after transmission, and triggers re-sampling process when abnormal. Energy consumption data eliminates gain error through analog-to-digital converter self-calibration function, and the system injects test current regularly to verify the accuracy of the measurement channel. Parameter update process uses version transaction management, and automatically rolls back to the last stable version when any step fails.
[0125] The environmental disturbance compensation strategy is associated with vehicle state data. When the monitored solar intensity during this run reaches 800W / m 2 2, the system automatically amplifies the compensation amount of the top temperature zone by 20%. If the vehicle is in a driving vibration environment, the bottom temperature zone increases the anti-interference coefficient by 0.1. These associated parameters form an environmental feature matrix, which is stored synchronously with the error signal.
[0126] The model parameter correlation update mechanism establishes a temperature-energy consumption double closed loop. After adjusting the slope of the mapping function according to the top error, the refrigeration model is optimized simultaneously. The heating model updates the heat conduction delay parameter according to the bottom energy consumption fluctuation characteristics. The cross-correction module scans the physical constraint relationship between parameters regularly, such as the power conservation principle requires that the sum of the three section energy consumption correction amounts tends to zero.
[0127] The fault recovery system starts deep diagnosis when it detects continuous abnormalities. When the error of a certain temperature zone exceeds the set threshold for three consecutive times, the system automatically loads backup parameters and runs, and performs hardware self-detection sequence at the same time. The detection items include sensor impedance measurement, refrigeration plate junction temperature estimation and driving circuit conduction test. After generating the diagnosis report, the automatic optimization scheme is transmitted to the cloud analysis platform through OTA.
[0128] The industrial implementation example shows the whole process operation. During the heating process of the cylindrical stainless steel thermos, the system detects that the bottom temperature always lags behind the target value by 3℃. The analysis stage identifies the heat conduction delay characteristics of this material, and the error component shows that the steady-state deviation is 0.7℃. The parameter update link increases the voltage weight of the bottom heating zone by 22%, and prolongs the compensation gradient time by 300ms. The subsequent running data shows that the temperature tracking accuracy is improved, and the energy consumption deviation converges to the allowable range.
[0129] The historical data intelligent analysis engine automatically mines correction laws. The system screens successful correction cases of typical containers such as aluminum cans, glass cups, and vacuum cups, and establishes a material-environment-parameter three-dimensional knowledge base. When processing a new type of bamboo fiber material container, the system matches similar cases in the knowledge base according to the thermal conductivity coefficient 0.18 W / m·K, and initializes the optimization parameter to 85% of the ceramic material, avoiding starting from zero.
[0130] The operation monitoring system generates a visual report interface. Engineers can view the temperature-energy consumption hyperbolic curve with timestamps through the diagnostic device, where the benchmark curve is marked with a blue dashed line, and the actual trajectory is drawn with a red solid line. The parameter modification record is displayed below the curve, marking the specific value and time point of each adjustment. The historical operation log can be searched by date, container type, environmental conditions, and other dimensions.
[0131] The life cycle maintenance function records the performance degradation of key components. The Seebeck coefficient of the refrigeration sheet is automatically measured every 100 hours of operation, and the change curve is stored in the database. When the coefficient is detected to decrease by more than 8% of the initial value, the system automatically increases the driving current by 10% to compensate while maintaining the target temperature, and prompts a device aging alarm on the maintenance interface.
[0132] The system integration verification passes the vehicle vibration bench test. Under the condition of 5-500Hz random vibration, the feedback data processing module uses a time sequence latching mechanism to ensure data integrity. The electromagnetic compatibility test shows that after the variable frequency drive noise is eliminated by a band-stop filter, the temperature acquisition system has a measurement error of less than 0.1°C under a field intensity of 30V / m. These designs ensure reliable operation in harsh environments.
[0133] Example 5: The device initialization phase begins with the container identity recognition process. When the container is placed in the cup holder, the RFID sensing coil at the bottom of the cup holder activates the container tag and reads its data stream of material code. The code structure contains a 24-bit identifier, the first 8 bits are the material category code, the middle 8 bits store the heat capacity characteristic value, and the last 8 bits record the thermal conductivity coefficient range. The decoder converts the physical parameters into a feature vector, where the thermal conductivity coefficient code segment is processed by a floating point conversion engine to generate a standard format thermal conductivity characteristic value. The heat capacity identifier is mapped to a dimensionless thermal inertia index, and the two together form a 16-dimensional material thermal characteristic vector, each dimension representing the thermal response characteristics of the material in a specific temperature range.
[0134] The material thermal property database stores data using a graph neural network architecture, with nodes representing different material types and edge weights reflecting the similarity of thermal properties. The retrieval process first locates the current material vector in the feature space, and performs a nearest neighbor search using cosine similarity as the metric. The algorithm automatically ignores candidate records with a similarity of less than 90%, and ranks the candidate set in descending order of similarity. The retrieval mechanism adds an environmental compensation factor, which automatically relaxes the similarity threshold by 5 percentage points when the vehicle is in high-altitude areas, adapting to changes in thermal conductivity characteristics under low pressure conditions.
[0135] The selection of candidate temperature control templates is based on multi-dimensional stability indicators. The system calculates three core parameters for each candidate template in historical operation: temperature control standard deviation, power output fluctuation rate, and response time dispersion. Temperature standard deviation reflects long-term control accuracy, power fluctuation rate represents energy efficiency, and response time dispersion measures system robustness. The multi-objective decision-making process uses an improved entropy weight TOPSIS algorithm to normalize and weight the three indicators. The weight coefficient dynamic adjustment mechanism automatically updates according to the current environmental temperature change rate, giving more weight to the response time indicator when the temperature changes rapidly, and prioritizing control accuracy in stable environments. After selecting the optimal refrigeration reference template, the system automatically checks its compatibility with the current hardware version to exclude potential risks of firmware mismatch.
[0136] The extraction of heating response curve sets uses association indexing technology. In the database, heating curves are cross-table linked with refrigeration templates, and each heating curve record has its adapted refrigeration template number and effective temperature range. The system first filters the curve set that has successful pairing records with the optimal refrigeration reference template, and then performs working range cross-validation. The curve set contains multiple heating response curves under different environmental conditions, with each curve stored as a sequence of time-temperature-power three-dimensional coordinate points, with a uniform sampling interval of 500ms.
[0137] The temperature-power synergy verification establishes a dual-channel analysis model. The verification algorithm first performs time-domain alignment on the selected refrigeration reference template and the heating curve to be verified, using the inflection point of refrigeration power change as the synchronization marker. The synergy detection module scans the power output value of the heating curve at each time node, while detecting the phase characteristics of the refrigeration power curve. When the refrigeration power is in the rapid change stage, the system requires the heating power to remain relatively stable; in the refrigeration power platform period, it allows the heating power to adjust appropriately. The key verification point is set at the 300ms window period after the refrigeration power switches, and if the gradient change of the heating power exceeds the set threshold value at this time, it is marked as a power conflict event.
[0138] Anomaly curve processing adopts intelligent repair strategy. When power conflict is detected, the system first analyzes the power trend in the conflict period. If the conflict is caused by local mutation and the duration is less than 600ms, a smooth transition segment is generated by taking two normal reference points before and after the conflict point using cubic spline interpolation method. For large-scale persistent conflict curve, the system automatically retrieves successful curve samples of similar materials from the historical database, learns their power coordination mode through dynamic time warping algorithm, and synthesizes a new response curve that meets the requirements. Each curve repair operation generates a detailed correction log, including original data points, replacement point position and interpolation parameters.
[0139] The timing alignment stage implements a multi-scale phase synchronization mechanism. The main time axis takes the refrigeration power sequence as the reference, and identifies its key event marker points: including refrigeration start point, maximum power point, power switching point and steady state maintenance start point. The time axis of the heating response curve is mapped to the main time axis through a nonlinear stretching algorithm, and the temperature response characteristics of the heating curve are kept unchanged during the stretching process. The timing compensation module specially processes the initial delay characteristics of the heating response, and inserts a preset leading delay segment to ensure that the heating power and the refrigeration power are coordinated at the system response level. The aligned double curve generates a configuration file with collaborative control markers, and each control point contains a state code to identify the master-slave relationship between refrigeration and heating.
[0140] The initialization verification process performs closed-loop testing. After loading the baseline configuration, the system enters simulation mode and calls the built-in digital twin engine for virtual temperature control simulation. The simulation model includes cup holder structure heat transfer equation, container material thermal resistance network and environmental convection boundary conditions. The system injects standard temperature disturbance signals and monitors the temperature response data of the virtual container at each stage. The verification indicators focus on temperature overshoot, steady-state error and recovery time, and all indicators must meet the requirements before entering the actual control stage. If the verification fails, the system automatically triggers the configuration rollback mechanism and reinitializes the problem module according to the failure characteristics.
[0141] The hardware adaptation layer handles specific drive parameter conversion. The system converts the logical control parameters in the baseline configuration into hardware instruction sets, maps the refrigeration baseline template into PWM output frequency and duty cycle combinations, and converts the heating response curve into DAC output level sequences. The temperature sensor characteristic calibration value is added during the instruction conversion process to eliminate the influence of individual differences. After safety verification, the drive parameter set is stored in the FRAM memory with power failure protection function to ensure that the configuration data is complete after the vehicle is turned off.
[0142] The vehicle network cooperative initialization mechanism exchanges environmental parameters. Before the system startup is completed, the current environmental state snapshot is requested from the air conditioning control unit through the CAN bus, including the cabin temperature distribution map, the sunshine angle coefficient, and the air conditioning outlet speed. These parameters are used to fine-tune the environmental compensation factor in the baseline configuration, especially increasing the forced convection compensation coefficient for the cup holder position near the front row outlet. The system simultaneously registers the temperature control service to the cabin domain controller, establishing a priority communication channel, which can receive real-time control target updates when the user operates the center screen to switch the beverage type.
[0143] Configuration updates during operation use an incremental loading method. When the system detects that the container thermal characteristics continuously deviate from the initialization baseline, it starts a partial configuration update process in the background. The update process only replaces the module configurations with poor performance, such as updating only the refrigeration template or the local heating curve, maintaining the stability of the remaining parts of the system. The update package is verified for integrity through a dual-channel verification mechanism. The main controller and the security coprocessor independently calculate the hash value of the configuration data, and only after the comparison is consistent is the update applied.
[0144] The abnormality handling plan contains multiple response strategies. When the container material cannot be identified, the system switches to a general multi-layer configuration scheme: the bottom layer loads the stainless steel material baseline configuration, and the upper layer adds a heat conduction compensation coefficient estimated according to the container shape. When the database retrieval times out, the emergency mode is started, and the configuration parameters of the last successful run are used. All abnormal events generate a diagnostic snapshot with an environmental image, which is stored in an independent partition for subsequent analysis.
[0145] The firmware upgrade process includes configuration migration. When a new system firmware version is detected, the compatibility flag of the existing baseline configuration is automatically checked. In the compatible case, the configuration structure conversion is performed to migrate the old version parameters to the new format; in the incompatible case, the user is prompted to reset the configuration through a special tool. The migration process preserves historical running statistical information, and the new control algorithm can use these data to optimize the initialization accuracy.
[0146] The life cycle maintenance mechanism tracks the configuration validity. The system records the actual running effect indicators of each set of baseline configuration, establishes a configuration health degree evaluation model, and when the cumulative use time of a configuration reaches a certain threshold, the system automatically performs a re-initialization process before replacing the new configuration. The historical configurations with performance degradation are marked and archived for later fault analysis and backtracking comparison, forming a closed-loop learning system for configuration optimization.
[0147] The system integration test phase verifies the stability of the initialization process under extreme conditions such as voltage fluctuation, temperature shock, etc. Special attention is paid to the low-temperature cold start scenario, and the system ensures reliable reading of configuration data by preheating the FRAM memory at an environmental temperature of -30°C. In the startup scenario with serious electrical interference, the configuration data uses differential transmission and retransmission protocol to ensure complete loading of control parameters. The entire initialization process takes less than 2 seconds, and seamless switching of control strategies can be achieved when replacing the container during vehicle driving.
[0148] It should be noted that the relational terms herein such as first and second and the like are used solely to distinguish one from another entity or action without necessarily requiring or implying any actual relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can also include other elements not expressly listed or inherent to such process, method, article, or apparatus.
[0149] While embodiments of the present application have been shown and described, it is to be understood that various modifications, substitutions, changes, and alterations can be made by those skilled in the art without departing from the principles and spirit of the present application, and it is intended that the present application be limited only by the scope of the claims hereinafter and their equivalents.
Claims
1. A microcontroller-based automobile cup holder temperature control method, characterized in that: The method comprises: Collecting real-time temperature data and environmental parameters of the target container to generate an initial temperature parameter set, wherein the initial temperature parameter set includes a container surface temperature distribution curve and an environmental heat exchange coefficient sequence; Establishing a first adjustment model based on the container surface temperature distribution curve in the initial temperature parameter set, wherein the first adjustment model includes a mapping relationship between surface temperature change and refrigeration power; establishing a second regulation model according to the environmental heat exchange coefficient sequence in the initial temperature parameter set, wherein the second regulation model includes a compensation rule for environmental thermal interference and heating power; activating a target model in the first adjustment model or the second adjustment model based on real-time temperature difference fluctuation data during the cup holder temperature control process and heat conduction characteristic data of the container material, and generating a dynamic power instruction through the target model; The dynamic power instruction is input to the semiconductor temperature control unit of the cup holder to adjust the current gradient of the cooling plate or the voltage distribution of the heating film.
2. The microcontroller-based automobile cup holder temperature adjustment control method according to claim 1, characterized in that: The collecting of real-time temperature data and environmental parameters of the target container to generate an initial temperature parameter set includes: The temperature sampling values of each surface of the container are collected synchronously through multi-area temperature sensors, and the raw data stream of the ambient temperature and humidity sensors is analyzed; Dividing the container surface into at least two thermal zones according to the spatial distribution characteristics of the temperature sampling values, and assigning a corresponding initial cooling reference value and heating compensation coefficient to each thermal zone; Extract cooling response parameters and heating lag time constants matching each thermal zone from the historical parameter library; performing time-domain normalization processing on the refrigeration response parameters to generate an optimized refrigeration gradient sequence corresponding to each thermal segment; Performing frequency domain decomposition processing on the heating lag time constant to generate an optimized heating response curve corresponding to each thermal section; The initial temperature parameter set is generated by fusing the optimized cooling gradient sequence and the optimized heating response curve of each thermal section.
3. The microcontroller-based automobile cup holder temperature adjustment control method according to claim 2, characterized in that: Establishing a first adjustment model and a second adjustment model includes: Inputting the optimized cooling gradient sequence into a temperature prediction model, training the model weights using historical temperature distribution data, and generating a cooling power mapping function in the first adjustment model; Inputting the optimized heating response curve into the power control model, adjusting the control threshold by the heat conduction compensation parameter, and generating a heating compensation rule table in the second regulation model; After the temperature prediction model and the power control model converge, extracting key control vectors from the cooling power mapping function and the heating compensation rule table respectively; Verifying the matching degree between the key control vector and the real-time collected thermal conductivity characteristic data of the container material; When the matching degree is lower than a preset threshold, the temperature prediction model and the power control model are re-iteratively trained until a convergence condition is met.
4. The microcontroller-based automobile cup holder temperature adjustment control method according to claim 3, characterized in that: The method of activating a target model in the first adjustment model or the second adjustment model based on the real-time temperature difference fluctuation data and the container material heat conduction characteristic data during the cup holder temperature control process, and generating a dynamic power instruction through the target model includes: Real-time monitoring of the temperature fluctuation amplitude inside the cup holder and the heat conduction delay time of the container; When the temperature difference fluctuation amplitude exceeds the cooling activation threshold and the heat conduction delay time is in a stable range, activating the cooling power mapping function in the first adjustment model; generating a dynamic current adjustment instruction for the refrigeration plate according to a gradient mapping rule in the refrigeration power mapping function; When the heat conduction delay time exceeds the heating activation threshold and the temperature difference fluctuation amplitude is within a stable range, activating the heating compensation rule table in the second adjustment model; A dynamic voltage adjustment instruction for the heating film is generated according to the compensation distribution rule in the heating compensation rule table.
5. The microcontroller-based automobile cup holder temperature adjustment control method according to claim 4, characterized in that: The semiconductor temperature control unit inputting the dynamic power instruction to the cup holder includes: Adjusting the driving current value of each area of the cooling plate in stages according to the gradient change in the dynamic current adjustment instruction; After each current adjustment, collecting container surface temperature feedback data and performing error calculation with the predicted value of the refrigeration power mapping function; The weight parameters of the cooling power mapping function are dynamically modified according to the error variation trend.
6. The microcontroller-based automobile cup holder temperature adjustment control method according to claim 5, characterized in that: The method further comprises: Adjusting the output voltage values of the heating film in different temperature zones according to the voltage distribution parameters in the dynamic voltage adjustment instruction; During the voltage adjustment process, the temperature uniformity of the container is detected in real time by an infrared sensor, and the compensation coefficient in the heating compensation rule table is updated according to the detection result.
7. The microcontroller-based automobile cup holder temperature adjustment control method according to claim 6, characterized in that: The method further includes, in a feedback phase after the execution of the dynamic power instruction, the following steps: Collect final temperature distribution data of the container and energy consumption data of the heating film; comparing the final temperature distribution data with the expected temperature range of the first adjustment model to generate a refrigeration model error signal; Performing deviation analysis on the heating film energy consumption data and the reference energy consumption curve of the second adjustment model to generate a heating model error signal; adjusting a reference current gradient in the cooling power mapping function according to a system deviation component in the cooling model error signal; The voltage distribution parameters in the heating compensation rule table are optimized according to the energy consumption fluctuation component in the heating model error signal.
8. The microcontroller-based automobile cup holder temperature adjustment control method according to claim 7, characterized in that: Adjust the reference current gradient and optimize the voltage distribution parameters, including: Identifying a steady-state offset in the refrigeration model error signal and calculating a current compensation amount using a sliding mean algorithm; updating a reference parameter of the cooling power mapping function according to the current compensation amount; Identifying the transient fluctuation component in the heating model error signal and extracting the effective voltage correction value through a filtering algorithm; The voltage distribution weight in the heating compensation rule table is adjusted according to the effective voltage correction amount.
9. The microcontroller-based automobile cup holder temperature adjustment control method according to claim 1, characterized in that: The method further comprises, during the device initialization phase, executing: Parsing the heat capacity identifier and thermal conductivity code segment in the material code of the target container to generate a material thermal characteristic vector; Inputting the material thermal characteristic vector into a preset material thermal characteristic database for similarity search, and screening candidate temperature control templates whose matching degree exceeds a threshold; Select the optimal cooling benchmark template based on the historical control stability index of the candidate temperature control templates; extracting a set of heating response curves associated with an optimal cooling benchmark template from a database; Performing temperature-power synergy verification on the heating response curve set, and eliminating abnormal curves with temperature mutations or power conflicts; The verified heating response curve is time-aligned with the optimal cooling benchmark template to generate a benchmark configuration for the initial temperature parameter set.
10. The microcontroller-based automobile cup holder temperature adjustment control method according to claim 9, characterized in that: The verifying the temperature-power synergy of the heating response curve set includes: Extracting the heating power distribution data of a single curve to be verified, and simultaneously obtaining the cooling power sequence of the corresponding time node in the optimal cooling benchmark template; According to the phase nodes of the cooling power sequence, a collaborative timestamp is marked on the heating power distribution data; Detect whether the power change slope of adjacent intervals of the coordinated timestamp exceeds the mutation threshold; When a power conflict is detected, an alternative power smoothing segment is generated based on the historical conflict correction record and the curve is updated.
Citation Information
Patent Citations
Intelligent substation merging unit simulation modeling method
CN103345543A
Optical module temperature compensation control system and method
CN118983687A
Cup stand control method and device and cup stand equipment
CN119058515A
Intelligent temperature adjusting method and system for injection molding mold
CN119871831A
Intelligent temperature control device and method for optical communication device coupling production
CN120335534A
Cited By
Full-automatic chemiluminescence analyzer control system for blood sample detection
CN120992975A
Adaptive voltage dynamic stability control method for new energy automobile converter
CN121000021A
Unmanned parking control system and method
CN121069861A
An unmanned parking control system and method
CN121069861B
Multi-device temperature control cooperative adjustment method and system
CN121785405A