An electronic atomization device constant power control method and system based on historical data prediction
By using multi-dimensional prediction and confidence assessment based on historical data, and dynamically adjusting control parameters, the problems of initial power deviation and response lag in electronic atomization devices are solved, achieving high-precision, fast-response constant power control that adapts to battery aging and changes in user behavior.
Patent Information
- Application Number
- CN202611535285.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-30
- Publication Date
- 2026-11-27
AI Technical Summary
The existing constant power control scheme for electronic atomizing devices suffers from initial power deviation, response lag, and inability to adapt to battery aging due to fixed initial heating parameters. Furthermore, the existing predictive scheme fails to effectively utilize historical data and user behavior information, resulting in decreased control accuracy and stability.
A constant power control method based on historical data prediction is adopted. The voltage and pumping intensity change trends of the current cycle are predicted by multi-dimensional data, the prediction confidence is evaluated, a differentiated control strategy is selected, and a prediction-feedback inconsistency detection and model self-correction mechanism is established to dynamically adjust the control parameters to reduce initial deviation and adapt to battery aging.
It significantly improves control accuracy and response speed, reduces initial power deviation, adapts to dynamic changes in battery voltage, maintains the stability and continuity of power output, and automatically switches to a conservative strategy when predictions are unreliable, thus achieving high-precision constant power control.
Smart Images

Figure CN123166429A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic atomization technology, and more specifically, to a power control technology for an electronic atomization device. Background Technology
[0002] Electronic atomizing devices, such as e-cigarettes, typically use pulse width modulation (PWM) technology to heat the internal heating coil in order to achieve a constant power output and thus ensure a consistent user experience.
[0003] In a common existing control scheme, the control system typically operates in two phases within a heating cycle. First, the system uses a set of preset, fixed initial control parameters (e.g., a fixed initial heating duration and a fixed initial PWM duty cycle) to initially heat the heating wire. After this initial heating phase, the system monitors the operating status of the heating wire in real time, such as voltage and current, and calculates compensation control parameters for the remaining time of the cycle based on the difference between the detected results and the target power, thus completing the heating process for the entire cycle. This "fixed initial value + intra-cycle compensation" scheme, compared to a cross-cycle compensation scheme that relies entirely on the results of the previous cycle, improves the immediacy and accuracy of power control to a certain extent.
[0004] However, the above-mentioned technical solutions still have several inherent defects. First, initial power deviation is difficult to avoid. Since the initial control parameters are fixed, when the actual battery supply voltage fluctuates due to power consumption, load changes, or ambient temperature, the actual output power in the initial heating stage will inevitably deviate from the target power. This deviation can only be detected and compensated after the initial stage ends, resulting in an unavoidable power control error in the initial stage of each heating cycle. Second, the system response is lagging. In scenarios of continuous user use, the battery voltage may exhibit a continuous and rapid downward trend. Fixed initial parameters cannot predict this trend, causing the compensation adjustment of the control system to always lag behind the actual voltage change, which to some extent affects the smoothness and stability of power output. In addition, the historical operating data generated in each heating cycle, such as voltage and current, is only used for compensation in the current cycle, while the information such as voltage change trends contained in the historical operating data of multiple consecutive cycles is not effectively utilized, resulting in a waste of information resources. Furthermore, as the battery is used for a long time, its internal resistance will gradually increase and its discharge characteristics will change. Fixed initial control parameters cannot adapt to these slow changes, causing the accuracy of constant power control to gradually decrease as the battery ages.
[0005] In existing technologies, some solutions attempt to improve constant power control using historical data. For example, some solutions disclose deriving a representative battery voltage value at the end of port n and applying it to the control of port n+1. However, these solutions only focus on predicting the "voltage value itself," without considering the reliability of the prediction result or incorporating user behavior factors such as pumping intensity into the prediction model. When the prediction result is unreliable, directly using the predicted value for control may actually lead to greater power deviation. Furthermore, the prediction and feedback in existing solutions are simply connected in series, and the prediction model itself lacks self-correction capabilities. When the battery state undergoes nonlinear changes, the prediction accuracy will continuously decrease. Summary of the Invention
[0006] To address the problems of inherent power deviation in the initial heating stage, delayed response to dynamic battery voltage changes, and inability to adapt to battery aging caused by fixed initial heating parameters in existing constant power control schemes, this invention provides a constant power control method and system for electronic atomization devices based on historical data prediction. This scheme can utilize multi-dimensional data from historical heating cycles to predict the voltage and suction intensity trends of the current cycle, assess the prediction confidence level, and select differentiated control strategies accordingly. Simultaneously, it establishes a prediction-feedback inconsistency detection and model self-correction mechanism, thereby improving the response speed, accuracy, and robustness of constant power output control.
[0007] This invention provides a constant power control method for an electronic atomizing device based on historical data prediction, comprising: before the start of a heating cycle, acquiring stored historical operating data from at least one previous heating cycle, wherein the historical operating data includes at least a power supply voltage sequence and a vaping intensity sequence; calculating the power supply voltage variation trend and the vaping intensity variation trend based on the historical operating data, and determining predictive initial control parameters for the current heating cycle accordingly; wherein the step of determining the predictive initial control parameters includes: evaluating the prediction confidence levels of the power supply voltage variation trend and the vaping intensity variation trend, and selecting a corresponding parameter determination strategy based on the prediction confidence levels. The parameter determination strategy includes an aggressive adjustment strategy and a conservative adjustment strategy; based on the predicted initial control parameters, the heating wire of the electronic atomizing device is initially heated; after the initial heating is completed, compensation control for the remaining time of the current heating cycle is calculated and applied according to the real-time detected operating status of the heating wire; the predicted initial voltage is compared with the measured voltage at the end of the initial heating, and the algorithm parameters used to calculate the trend of power supply voltage change in subsequent heating cycles are adjusted according to the deviation between the two; after the current heating cycle is completed, the historical operating data is updated so that the operating data of the current heating cycle can be used for trend prediction of subsequent heating cycles.
[0008] Through this closed-loop control method of "multi-dimensional prediction - confidence assessment - differentiated execution - compensation - self-correction - update", the present invention can anticipate changes in voltage and pumping behavior, reduce initial power deviation from the source, and automatically revert to a conservative strategy when the prediction is unreliable, thus avoiding control deterioration caused by prediction errors.
[0009] Optionally, calculating the supply voltage variation trend and suction intensity variation trend based on the historical operating data includes: predicting the supply voltage at the start of the current heating cycle based on the supply voltage sequence in the historical operating data; predicting the peak suction intensity during the current heating cycle based on the suction intensity sequence in the historical operating data; calculating the target energy required for the current heating cycle based on the predicted supply voltage and the predicted peak suction intensity; calculating the cumulative deviation trend between the target energy and the actual released energy in the historical operating data to predict the energy gap value that may occur in the initial stage of the current heating cycle; and determining the predicted initial control parameters based on the energy gap value. This method is no longer limited to predicting the voltage value itself, but rather predicts the magnitude of the control error, thus providing a more direct basis for determining the initial parameters.
[0010] Further, the assessment of prediction confidence includes: performing linear regression on data points in the historical operating data to fit voltage change equations and suction intensity change equations; calculating the goodness of fit of the linear regression as a first confidence index; calculating the fluctuation degree of data points in the historical operating data as a second confidence index; combining the first and second confidence indices to obtain the prediction confidence; when the prediction confidence is higher than a preset confidence threshold, the aggressive adjustment strategy is selected; when the prediction confidence is lower than or equal to the preset confidence threshold, the conservative adjustment strategy is selected. By introducing a prediction confidence mechanism, the system can distinguish between "reliable prediction" and "unreliable prediction," avoiding blindly adopting predicted values when the prediction quality is poor.
[0011] Optionally, the aggressive adjustment strategy includes: using complete predicted initial control parameters for initial heating, wherein the predicted initial control parameters include the predicted initial heating duration and the predicted initial PWM duty cycle; the conservative adjustment strategy includes: attenuating the predicted initial control parameters to obtain attenuated predicted initial control parameters, and using the attenuated predicted initial control parameters for initial heating, while extending the initial heating duration to reserve a larger compensation control space. This differentiated strategy ensures that the system maintains stable control performance under different prediction qualities.
[0012] Furthermore, the algorithm parameters used to adjust the calculated supply voltage change trend in subsequent heating cycles based on the deviation between the two include: calculating the voltage deviation value between the predicted initial voltage and the measured voltage; determining whether the voltage deviation value exceeds a preset deviation threshold; if the voltage deviation value continuously exceeds the preset deviation threshold for a preset number of times, then adjusting the algorithm parameters, which include the historical data sliding window length and the linear regression slope damping coefficient used for trend prediction; wherein adjusting the algorithm parameters includes: shortening the historical data sliding window length and / or increasing the linear regression slope damping coefficient. This constitutes a self-correcting loop for the prediction model, enabling the prediction model to dynamically adjust its own parameters according to the actual control effect.
[0013] Optionally, the historical operating data also includes battery aging characteristic parameters, which are extracted as follows: Based on the supply voltage and current sequences in the historical operating data, an estimated equivalent battery internal resistance is calculated; the voltage drop rate is calculated based on the supply voltage sequence, and a slow-changing aging component and a fast-changing load component are separated from the voltage drop rate; the estimated equivalent battery internal resistance and the slow-changing aging component are stored as the battery aging characteristic parameters in the historical operating data; when determining the initial predictive control parameters, the prediction results are corrected based on the battery aging characteristic parameters. This transforms "aging adaptation" from a passive result to an active feature extraction and correction mechanism.
[0014] Furthermore, updating the historical operating data includes: storing the voltage value, current value, suction intensity value, and calculated compensation control parameters at the end of the current heating cycle as new historical data points into the historical operating data; maintaining the historical operating data using a sliding window method, and removing the oldest data point when the number of data points in the historical operating data exceeds the preset window length.
[0015] Optionally, the method further includes a battery status warning step: calculating the voltage drop rate based on the supply voltage change trend; comparing the absolute value of the voltage drop rate with a preset voltage drop rate threshold; when the absolute value of the voltage drop rate is greater than or equal to the preset voltage drop rate threshold, determining that the battery is in an abnormal state, and sending a warning command to the battery status warning unit; the warning command includes at least one of the following: controlling an indicator light to flash at a preset frequency, driving a vibration motor to generate a preset vibration mode, and pushing a warning notification to an external device via a wireless communication module.
[0016] The present invention also provides a constant power control system for an electronic atomizing device, comprising: a processor; and a memory communicatively connected to the processor, the memory storing a computer program, which, when executed by the processor, implements the method described in any of the preceding claims; the system further comprising: a historical data storage and trend prediction module, used to perform the steps of acquiring historical operating data, calculating the trend of power supply voltage change and the trend of vaping intensity change, evaluating prediction confidence, determining prediction initial control parameters, and updating historical operating data in the aforementioned method; a PWM control module, used to perform the steps of initial heating, applying compensation control, and adjusting algorithm parameters in the aforementioned method; a vaping intensity detection module, used to detect the airflow intensity flowing through the electronic atomizing device and generate a vaping intensity signal; a heating wire; a heating module electrically connected to the heating wire; a voltage detection module for detecting the voltage across the heating wire; and a current detection module for detecting the current flowing through the heating wire.
[0017] Furthermore, the historical data storage and trend prediction module is configured to: calculate the supply voltage change trend and the suction intensity change trend by calculating the average voltage drop rate or by performing linear regression; evaluate the prediction confidence by calculating the goodness of fit of the linear regression and the degree of fluctuation of the data points; and extract battery aging characteristic parameters from the historical operating data and correct the prediction results; the PWM control module is configured to: select an aggressive adjustment strategy or a conservative adjustment strategy according to the prediction confidence; calculate compensation control parameters according to the real-time detected operating status after the initial heating is completed; and compare the predicted initial voltage with the measured voltage and adjust the algorithm parameters according to the deviation.
[0018] Compared with the prior art, the present invention has the following beneficial effects: First, this invention significantly improves control accuracy and reduces initial deviation. By using historical data to predict the initial voltage and peak suction intensity of the current cycle, this invention can dynamically generate predicted initial control parameters that are closer to the actual working conditions, thereby greatly reducing the power deviation caused by fixed parameters in the initial stage of the heating cycle, making the output power closer to the target value from the beginning.
[0019] Secondly, this invention improves the system's response speed, enabling it to better adapt to dynamic changes. The predictive mechanism allows the control system to anticipate rapid drops in battery voltage and changes in suction intensity, and pre-adjust control parameters, effectively overcoming the response lag problem of existing technologies and ensuring the continuity and stability of power output in continuous use scenarios.
[0020] Furthermore, this invention solves the technical problem of "inaccurate predictions leading to greater deviations" by introducing a prediction confidence assessment mechanism. When the prediction confidence is low, the system automatically switches to a conservative adjustment strategy, attenuating the prediction parameters and reserving a larger compensation space, thereby maintaining stable control performance even with poor prediction quality. This mechanism is unprecedented in existing technologies.
[0021] Furthermore, this invention establishes a prediction-feedback inconsistency detection and model self-correction mechanism. By comparing the deviation between the predicted initial voltage and the measured voltage, and automatically adjusting the prediction algorithm parameters (such as shortening the sliding window length and increasing the damping coefficient) when the deviation continues to exceed a threshold, the prediction model itself possesses self-correction capabilities. This is a higher-order control architecture, distinct from the simple series connection of prediction and feedback in existing technologies.
[0022] Finally, this invention achieves proactive battery aging characterization and correction. By extracting the equivalent battery internal resistance estimate and the slowly varying aging component from historical data as independent battery aging characteristic parameters, and correcting the results accordingly during prediction, "aging adaptation" is transformed from a passive result into an active feature extraction and correction mechanism, thereby maintaining high-precision constant power control performance throughout the battery's entire lifespan. Attached Figure Description
[0023] Figure 1 This is a schematic diagram of the system structure and data flow according to one embodiment of the present invention.
[0024] Figure 2 This is a flowchart of a constant power control method according to one embodiment of the present invention.
[0025] Figure 3 This is a schematic diagram of the control timing within a single heating cycle according to one embodiment of the present invention.
[0026] Figure 4 This is a schematic diagram of a heating and detection circuit according to one embodiment of the present invention.
[0027] Figure 5 This is a flowchart illustrating the prediction confidence assessment and strategy selection process according to one embodiment of the present invention.
[0028] Figure 6 This is a flowchart of the prediction-feedback inconsistency detection and model self-correction in an embodiment of the present invention. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be described in detail below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0030] This invention addresses the problems of existing electronic atomization devices using fixed initial heating parameters, which lead to inherent power deviations, response lags, and inability to adapt to battery aging due to battery voltage fluctuations. It proposes an adaptive constant power control method and system based on "multi-dimensional prediction-confidence assessment-differentiated execution-compensation-self-correction-update". The core of this method lies in using historical operating data, specifically the supply voltage sequence and suction intensity sequence, to predict the initial state of the current heating cycle. The prediction confidence is assessed, and an aggressive or conservative control strategy is selected accordingly. Simultaneously, a prediction-feedback inconsistency detection and model self-correction mechanism is established to achieve high-precision, fast-response, and robust constant power control.
[0031] To facilitate understanding, the core terms involved in this invention will first be explained. "Heating cycle" refers to the time unit for an electronic atomizing device to complete one full heating-stop process. For example, the total duration of a typical heating cycle can be set to 10 milliseconds (ms). "Historical operating data" refers to the set of operating parameters recorded in one or more previous heating cycles for predicting the current cycle state. This set includes at least the supply voltage and vaping intensity values for each cycle, and may also include other parameters such as current, calculated duty cycle, and battery aging characteristic parameters. "Supply voltage change trend" is a quantitative indicator calculated based on historical operating data, characterizing the change pattern of the supply voltage in continuous heating cycles. For example, it can be the average rate of voltage drop or the slope obtained through a linear regression equation. "Vaping intensity change trend" is a quantitative indicator calculated based on historical operating data, characterizing the change pattern of the user's vaping behavior in continuous heating cycles. "Prediction confidence" is a quantitative indicator used to characterize the reliability of the supply voltage change trend and vaping intensity change trend, which can be derived based on a combination of the goodness of fit of linear regression and the degree of fluctuation of data points. "Predicted initial control parameters" are control parameters dynamically determined based on calculated voltage and suction intensity trends, used for the initial stage of the current heating cycle. Examples include the predicted initial heating duration and / or the predicted initial pulse width modulation (PWM) duty cycle. "Compensation control," on the other hand, is a closed-loop control process calculated and applied after the initial heating stage, based on real-time detected operating conditions (such as real-time voltage and current), to correct any remaining power deviations. "Energy gap value" refers to the expected deviation between the actual energy released and the target energy during the initial stage of the current heating cycle, predicted based on historical data.
[0032] Reference Figure 1This diagram illustrates the structure and data flow of a constant power control system according to one embodiment of the present invention. The system includes at least a processor and a memory communicatively connected to the processor. When the computer program stored in the memory is executed by the processor, it can implement the following methods. In a specific modular implementation, the system can be divided into multiple functional modules. The system includes a historical data storage and trend prediction module 10 and a PWM control module 20. The historical data storage and trend prediction module 10 is responsible for storing historical operating data and performing steps such as calculating the supply voltage change trend and the suction intensity change trend, evaluating the prediction confidence level, determining the initial control parameters for prediction, extracting battery aging characteristic parameters, and updating the historical data after the cycle ends. The PWM control module 20 is responsible for performing initial heating based on the prediction parameters, applying compensation control based on real-time detection results, and performing prediction-feedback inconsistency detection and model self-correction. These two modules work together to form the core of the "multi-dimensional prediction + confidence level evaluation + feedback + self-correction" control strategy of the present invention. To achieve a complete control closed loop, the system also includes physical components, including a heating module 30 electrically connected to the heating wire 40, a voltage detection module 50 for detecting the voltage across the heating wire 40, a current detection module 60 for detecting the current flowing through the heating wire 40, and a suction intensity detection module 80 for detecting the airflow intensity flowing through the electronic atomizing device and generating a suction intensity signal. The PWM control module 20 drives the heating wire 40 by controlling the heating module 30 and receives real-time feedback signals from the voltage detection module 50, current detection module 60, and suction intensity detection module 80, forming a closed loop of data flow. An optional battery status warning unit 70 is also shown in the figure for implementing a warning function.
[0033] Reference Figure 2 This is a flowchart of a constant power control method according to one embodiment of the present invention. The method embodies a complete closed-loop control logic of "multi-dimensional prediction - confidence assessment - differentiated execution - compensation - self-correction - update". Before the start of a heating cycle, the control system first executes the prediction phase steps. Specifically, in step S201, the system acquires historical operating data from at least one, preferably N, previous heating cycles. This data constitutes a time series reflecting recent battery behavior and user suction behavior. The historical operating data includes at least a power supply voltage sequence and a suction intensity sequence.
[0034] Next, in step S202, the system calculates the supply voltage change trend and the suction intensity change trend based on the acquired historical operating data. For example, by analyzing the historical voltage sequence, the supply voltage U_pre at the start of the current heating cycle can be predicted; by analyzing the historical suction intensity sequence, the peak suction intensity S_pre during the current heating cycle can be predicted. This step is the foundation for the predictive control of this invention, enabling the system to "anticipate" changes in operating conditions caused by continuous use, power consumption reduction, or changes in user suction behavior, rather than passively waiting for changes to occur.
[0035] After obtaining the quantitative results of the voltage change trend and the suction intensity change trend, the system proceeds to step S203 to evaluate the prediction confidence. Specifically, the system performs linear regression on the data points in the historical operating data to fit the voltage change equation and the suction intensity change equation; calculates the goodness of fit of the linear regression as the first confidence index; calculates the degree of fluctuation of the data points in the historical operating data as the second confidence index; and combines the first and second confidence indices to obtain the prediction confidence. Then, the system determines whether the prediction confidence is higher than a preset confidence threshold. If it is higher, an aggressive adjustment strategy is selected; if it is lower than or equal to, a conservative adjustment strategy is selected.
[0036] In step S204, the system determines the predicted initial control parameters according to the selected strategy. If an aggressive adjustment strategy is selected, the complete predicted initial control parameters are used, including the predicted initial heating duration T0' and the predicted initial PWM duty cycle D0'. If a conservative adjustment strategy is selected, the predicted initial control parameters are attenuated to obtain attenuated predicted initial control parameters, while the initial heating duration is extended to reserve a larger compensation control space.
[0037] After the prediction phase is completed, the system enters the execution and compensation phase. In step S205, based on the predicted initial control parameters determined in step S204, the system generates an initial PWM control signal to initially heat the heating wire of the electronic atomizing device. Since the initial parameters have been predicted, optimized, and assessed for confidence, the actual output power in this stage is very close to the target power, significantly improving the consistency of the user experience.
[0038] After the initial heating is completed, in order to eliminate prediction errors and cope with sudden disturbances during the cycle, the system immediately activates a real-time feedback compensation mechanism. In step S206, the system samples the operating status of the heating wire in real time through the detection module, specifically acquiring the real-time voltage U and real-time current I. This real-time data accurately reflects the current load and power supply status.
[0039] Subsequently, in step S207, the system calculates the compensation control parameters for the remaining time of the current heating cycle based on the acquired real-time voltage U, real-time current I, and preset target heating power Pw. Specifically, the system calculates a new compensation heating duty cycle D and the remaining heating time T2 that needs to continue heating. This step constitutes the core of the closed-loop feedback control, ensuring that the total energy output for the entire cycle accurately meets the target.
[0040] In step S208, the system continues to apply compensation control to the heating wire based on the calculated compensation parameters until the remaining heating time T2 ends. At this point, a complete heating cycle, optimized by prediction and compensated in real time, is completed.
[0041] In step S209, the system performs prediction-feedback inconsistency detection and model self-correction. Specifically, the system calculates the voltage deviation ΔU between the predicted initial voltage U_pre and the measured voltage U at the end of the initial heating; determines whether the voltage deviation exceeds a preset deviation threshold; if the voltage deviation exceeds the preset deviation threshold for a preset number of consecutive times, the algorithm parameters used to calculate the trend of power supply voltage changes in subsequent heating cycles are adjusted, including shortening the sliding window length of historical data and / or increasing the linear regression slope damping coefficient.
[0042] Finally, to achieve the system's self-adaptation and self-learning capabilities, after the current heating cycle ends, the system executes step S210 of the update phase. In this step, the system updates the historical operating data of the current heating cycle, such as the real-time voltage U, real-time current I, suction intensity value, calculated compensated heating duty cycle D, and remaining heating duration T2, into the historical operating data. The latest system state is incorporated into the historical database, providing an updated and more accurate basis for trend prediction of the next heating cycle, enabling the control model to continuously track and adapt to the battery aging process.
[0043] Reference Figure 5This is a flowchart illustrating the prediction confidence assessment and strategy selection according to one embodiment of the present invention. In step S301, a linear regression is performed on the power supply voltage sequence in the historical operating data to fit the voltage change equation U(t) = a1·t + b1. In step S302, a linear regression is performed on the pumping intensity sequence in the historical operating data to fit the pumping intensity change equation S(t) = a2·t + b2. In step S303, the goodness of fit R1² of the voltage change equation and R2² of the pumping intensity change equation are calculated, and their weighted average is taken as the first confidence index C1. In step S304, the standard deviation σ_U of the power supply voltage data points and σ_S of the pumping intensity data points in the historical operating data are calculated, and their weighted average is taken as the second confidence index C2. In step S305, the prediction confidence C = w1·C1 + w2·(1-C2) is obtained by combining the first and second confidence indices, where w1 and w2 are preset weights. In step S306, it is determined whether the prediction confidence level C is greater than the preset confidence threshold C_th. If C>C_th, proceed to step S307 and select an aggressive adjustment strategy; if C≤C_th, proceed to step S308 and select a conservative adjustment strategy.
[0044] Reference Figure 6 This is a flowchart of a prediction-feedback inconsistency detection and model self-correction according to one embodiment of the present invention. In step S401, the predicted initial voltage U_pre and the measured voltage U at the end of the initial heating are obtained. In step S402, the voltage deviation value ΔU = |U_pre - U| is calculated. In step S403, it is determined whether ΔU is greater than a preset deviation threshold ΔU_th. If not, proceed to step S404 and maintain the current algorithm parameters unchanged. If yes, proceed to step S405 and increment the deviation over-limit counter. In step S406, it is determined whether the deviation over-limit counter has reached a preset number N_th. If not, return to step S404. If yes, proceed to step S407 and shorten the historical data sliding window length. In step S408, the linear regression slope damping coefficient is increased. In step S409, the deviation over-limit counter is cleared. In this way, the prediction model can dynamically adjust its parameters according to the actual control effect, maintaining prediction accuracy.
[0045] To illustrate the above method in more detail, a detailed embodiment is provided below. (Refer to...) Figure 3 The diagram illustrates the control timing within a single heating cycle, where T represents the total duration of a heating cycle and Pw represents the target power. The entire cycle is divided into a predictive initial heating phase (duration T0', duty cycle D0') and a compensation control phase (duration T2, duty cycle D).
[0046] In this embodiment, the total duration T of a complete heating cycle is set to 10ms, and the target heating power Pw is 8W. The power supply voltage range of the electronic atomizing device is 3.0V to 4.2V, and the resistance of its internal heating wire typically fluctuates between 1.1Ω and 1.4Ω. The historical data storage and trend prediction module 10 is configured to store voltage data and suction intensity data for the most recent 5 (i.e., N=5) heating cycles using a sliding window method.
[0047] At the start of a new heating cycle, data acquisition and prediction are performed first. Assume the end-voltage sequences of the first five completed cycles recorded by the system are: U1=4.02V, U2=4.04V, U3=4.06V, U4=4.08V, U5=4.10V. Assume the peak suction intensity sequences of the first five cycles are: S1=0.8, S2=0.82, S3=0.85, S4=0.83, S5=0.86 (normalized values).
[0048] The historical data storage and trend prediction module 10 calculates the average voltage drop rate ΔU / Δt = (U1 - UN) / (N - 1) = (4.02V - 4.10V) / (5 - 1) = -0.02V / cycle based on this data. This indicates that the voltage has dropped by an average of 0.02V per cycle in the recent cycles. Based on this rate, the system predicts the supply voltage at the start of the current heating cycle as U_pre = U1 + (ΔU / Δt) × 1 = 4.02V + (-0.02V / cycle) × 1 cycle = 4.00V. Simultaneously, the system calculates the suction intensity change trend and predicts the peak suction intensity S_pre for the current cycle to be approximately 0.87.
[0049] Next, the system evaluates the prediction confidence. Linear regression is performed on the five voltage data points, yielding the voltage change equation U(t) = -0.02t + 4.12, with a goodness-of-fit R1² = 0.99. Linear regression is also performed on the five suction intensity data points, yielding the suction intensity change equation S(t) = 0.015t + 0.79, with a goodness-of-fit R2² = 0.85. The first confidence index C1 = (0.99 + 0.85) / 2 = 0.92 is calculated. The standard deviations of the voltage data points σ_U = 0.0316 and the suction intensity data points σ_S = 0.0283 are calculated, resulting in the second confidence index C2 = (0.0316 + 0.0283) / 2 = 0.030. With w1=0.7 and w2=0.3, the prediction confidence level C=0.7×0.92+0.3×(1-0.030)=0.644+0.291=0.935. Assuming a preset confidence threshold C_th=0.8, since C=0.935>0.8, the system chooses an aggressive adjustment strategy.
[0050] Based on the predicted supply voltage U_pre=4.00V, the predicted peak suction intensity S_pre=0.87, the target heating power Pw=8W, and an initial current I_pre (assumed to be 2.0A here), which can also be predicted based on historical data, the predicted initial PWM duty cycle D0' is calculated. The formula is: D0'=(Pw×I_pre) / (U_pre²×f(S_pre)), where f(S_pre) is the suction intensity correction function, for example, f(S_pre)=1+0.1×S_pre. Substituting the values, D0'=(8W×2.0A) / ((4.00V)²×(1+0.1×0.87))=(16) / (16×1.087)=0.92. In practical applications, to retain a certain control margin, the calculated duty cycle can be limited; for example, the upper limit of D0' can be set to 0.9. Then, the predicted initial heating time T0' = D0' × T = 0.9 × 10 ms = 9 ms is calculated. Therefore, the PWM control module 20 drives the heating module 30 to perform initial heating for 9 ms with a duty cycle of 0.9.
[0051] After the initial 9ms heating period, the system immediately enters the real-time detection and compensation control phase. At 9ms, the voltage detection module 50 measures a real-time voltage U = 4.00V, and the current detection module 60 measures a real-time current I = 2.0A. The PWM control module 20 recalculates the compensation heating duty cycle D = (Pw × I) / U² = (8W × 2.0A) / (4.00V)² = 1.0 based on these real-time values. Simultaneously, the system calculates the total heating time T1 = D × T = 1.0 × 10ms = 10ms theoretically required to reach the target total energy. Then, the remaining heating time T2 = T1 - T0' = 10ms - 9ms = 1ms for the required compensation control is calculated. Finally, the PWM control module 20 continues to drive the heating module 30 with a duty cycle of 1.0 for 1ms to complete the power output for the entire cycle.
[0052] During the compensation control phase, the system simultaneously performs prediction-feedback inconsistency detection. The voltage deviation ΔU = |4.00V - 4.00V| between the predicted initial voltage U_pre = 4.00V and the measured voltage U = 4.00V is calculated as 0V. Since ΔU = 0V is less than the preset deviation threshold ΔU_th = 0.05V, the system maintains the current algorithm parameters unchanged.
[0053] After the current heating cycle ends, a data update step is performed. The system stores key operational data for this cycle, such as the voltage value of 4.00V and the suction intensity value of 0.87 at the end of the cycle, into the historical data storage and trend prediction module 10, replacing the oldest data points U5=4.10V and S5=0.86. This updates the voltage sequence to {4.00V, 4.02V, 4.04V, 4.06V, 4.08V} and the suction intensity sequence to {0.87, 0.80, 0.82, 0.85, 0.83}. This updated database will be used for prediction of the next cycle, thus forming a closed loop of continuous learning and optimization.
[0054] In another embodiment, it is assumed that the prediction confidence decreases due to nonlinear changes in battery state. For example, the voltage sequence for the first 5 cycles is: U1=4.00V, U2=3.95V, U3=3.85V, U4=3.70V, U5=3.50V. At this time, the voltage drop rate accelerates, and the goodness of fit of the linear regression may decrease to R1²=0.90, and the standard deviation σ_U increases to 0.20. The prediction confidence is calculated as C=0.7×0.88+0.3×(1-0.20)=0.616+0.24=0.856. Assuming a preset confidence threshold C_th=0.9, since C=0.856<0.9, the system selects a conservative adjustment strategy. The initial prediction control parameters are attenuated, for example, the initial prediction PWM duty cycle D0' is multiplied by an attenuation coefficient of 0.8, resulting in the attenuated D0''=0.8×0.9=0.72. Meanwhile, the initial heating time is extended by T0'' = D0'' × T × 1.2 = 0.72 × 10 ms × 1.2 = 8.64 ms to reserve a larger compensation control margin. In this way, the system automatically reverts to a conservative strategy when the prediction is unreliable, avoiding control deterioration caused by prediction errors.
[0055] In another embodiment, assuming the predicted initial voltage U_pre = 4.00V, but the measured voltage at the end of the initial heating phase U = 3.90V, the voltage deviation ΔU = 0.10V exceeds the preset deviation threshold ΔU_th = 0.05V. If this occurs three times consecutively (reaching the preset number N_th = 3), the system performs model self-correction: shortening the historical data sliding window length from 5 to 3 to respond more quickly to recent changes; and simultaneously increasing the linear regression slope damping coefficient from 1.0 to 1.5 to suppress fluctuations in the predicted value. In this way, the prediction model can dynamically adjust its parameters according to the actual control effect.
[0056] In another embodiment, the system also performs battery aging characteristic parameter extraction. Based on the supply voltage and current sequences from historical operating data, the estimated equivalent battery internal resistance R_bat = ΔU / ΔI is calculated. For example, if the voltage drops by 0.05V and the current drops by 0.1A in a certain cycle, then R_bat = 0.5Ω. The voltage drop rate is calculated based on the supply voltage sequence, and the slow-changing aging component and the fast-changing load component are separated from the voltage drop rate. For example, a high-pass filter is used to separate the fast-changing load component, and a low-pass filter is used to separate the slow-changing aging component. The estimated equivalent battery internal resistance and the slow-changing aging component are stored as battery aging characteristic parameters in the historical operating data. When determining the initial predictive control parameters, the prediction results are corrected based on the battery aging characteristic parameters. For example, if the slow-changing aging component indicates an accelerated voltage drop rate, the initial predictive PWM duty cycle is appropriately increased to compensate for energy loss caused by battery aging.
[0057] In another embodiment, the system also performs a battery status warning. The voltage drop rate ΔU / Δt is calculated based on the supply voltage change trend. The absolute value of the voltage drop rate |ΔU / Δt| is compared with a preset voltage drop rate threshold V_th. When |ΔU / Δt| ≥ V_th, the battery is determined to be in an abnormal state, and a warning command is sent to the battery status warning unit 70. For example, an LED indicator can be controlled to flash red light at a specific frequency (e.g., flashing 3 times per second), or a vibration motor can be driven to generate two short vibrations. Alternatively, if the device has Bluetooth communication capabilities, a notification can be pushed to the paired mobile app via Bluetooth module stating "Battery power is low or aging; please charge or replace it promptly." In this way, intelligent monitoring of battery health is achieved.
[0058] Reference Figure 4 This is a schematic diagram of a heating and detection circuit according to one embodiment of the present invention, which shows in detail... Figure 1 The circuit-level implementation of each module is described below. In this circuit, the PWM control module 20 is typically implemented by a microcontroller. The core of the heating module 30 is a first PMOS transistor Q1, which acts as a high-side switch. The PWM output pin PWM_OUT of the PWM control module 20 is connected to the gate of Q1 through a first pull-up resistor R1 and a second resistor R2 for gate drive. The source of Q1 is connected to the positive terminal BAT+ of the battery, and its drain is connected to the positive terminal H+ of the heating wire R through a third resistor R3, which acts as a sampling resistor. The negative terminal H- of the heating wire R is directly grounded. When PWM_OUT outputs a low level, Q1 is turned on; when PWM_OUT outputs a high level, Q1 is turned off. In this way, the PWM control module 20 precisely controls the average current flowing through the heating wire R using the PWM signal.
[0059] The voltage detection module 50 is implemented using the analog-to-digital converter (ADC) built into the PWM control module 20. One of the ADC pins of the PWM control module 20, ADC_V, is directly connected to the positive terminal H+ of the heating wire. With ground as a reference, it can directly sample the real-time voltage U across the heating wire.
[0060] The current detection module 60 employs a dedicated high-side current detection chip U1. The positive and negative input terminals of chip U1 are connected across the third resistor R3, which serves as the sampling resistor. The current I flowing through R3 generates a small voltage drop across it (V = I × R3). Chip U1 can accurately amplify this voltage drop and output a voltage signal proportional to the current I at its output terminal. This output terminal is connected to another ADC pin, ADC_I, of the PWM control module 20. After reading the voltage at this pin, the PWM control module 20 can calculate the real-time current I flowing through the heating wire.
[0061] The suction intensity detection module 80 employs a microelectromechanical system (MEMS) airflow sensor or microphone, whose output is connected to another ADC pin, ADC_S, of the PWM control module 20. When the user inhales, the airflow sensor generates an analog voltage signal proportional to the suction intensity. The PWM control module 20 reads this signal to obtain the real-time suction intensity value. This circuit scheme has a clear structure, strong common-mode interference immunity, and provides a reliable hardware foundation for the stable operation of the upper-level control algorithm.
[0062] The present invention also provides a constant power control system for an electronic atomizing device, comprising: a processor; and a memory communicatively connected to the processor, the memory storing a computer program, which, when executed by the processor, implements the constant power control method for an electronic atomizing device based on historical data prediction as described in any of the foregoing method embodiments.
[0063] The present invention also provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, it implements the constant power control method for an electronic atomizing device based on historical data prediction as described in any of the foregoing method embodiments.
[0064] The present invention also provides a computer program product, which includes a computer program that, when executed by a processor, implements the constant power control method for an electronic atomizing device based on historical data prediction as described in any of the foregoing method embodiments.
[0065] The above description is merely a preferred embodiment of the present invention and is not intended to limit the invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A constant power control method for an electronic atomizing device based on historical data prediction, characterized in that, include: Before the start of a heating cycle, acquire historical operating data from at least one previous heating cycle, which includes at least a power supply voltage sequence and a suction intensity sequence. Based on the historical operating data, the trends of power supply voltage change and suction intensity change are calculated, and the predicted initial control parameters for the current heating cycle are determined accordingly. The step of determining the predicted initial control parameters includes: evaluating the prediction confidence of the trends of power supply voltage change and suction intensity change, and selecting the corresponding parameter determination strategy according to the prediction confidence. The parameter determination strategy includes an aggressive adjustment strategy and a conservative adjustment strategy. Based on the predicted initial control parameters, the heating wire of the electronic atomizing device is initially heated; After the initial heating is completed, compensation control for the remaining time of the current heating cycle is calculated and applied based on the real-time detected operating status of the heating wire. Compare the predicted initial voltage with the measured voltage at the end of the initial heating, and adjust the algorithm parameters used to calculate the trend of power supply voltage change in subsequent heating cycles based on the deviation between the two. After the current heating cycle ends, the historical operating data is updated so that the operating data of the current heating cycle can be used for trend prediction of subsequent heating cycles.
2. The method according to claim 1, characterized in that, The calculation of the supply voltage change trend and the suction intensity change trend based on the historical operating data includes: Based on the power supply voltage sequence in the historical operating data, predict the power supply voltage at the start of the current heating cycle; Based on the suction intensity sequence in the historical operating data, predict the peak suction intensity in the current heating cycle; Calculate the target energy required for the current heating cycle based on the predicted supply voltage and the predicted peak suction intensity; Calculate the cumulative trend of the deviation between the target energy and the actual released energy in historical operating data, and predict the energy gap value that may occur in the initial stage of the current heating cycle; The predicted initial control parameters are determined based on the energy gap value.
3. The method according to claim 1, characterized in that, The assessment of the prediction confidence levels for the trends in the supply voltage and the suction intensity includes: Linear regression was performed on the data points in the historical operation data to fit the voltage change equation and the suction intensity change equation; Calculate the goodness of fit of the linear regression as the first confidence index; The degree of fluctuation of data points in the historical operating data is calculated as a second confidence index; The prediction confidence level is obtained by combining the first confidence index and the second confidence index; When the prediction confidence level is higher than the preset confidence threshold, the aggressive adjustment strategy is selected; when the prediction confidence level is lower than or equal to the preset confidence threshold, the conservative adjustment strategy is selected.
4. The method according to claim 3, characterized in that: The aggressive adjustment strategy includes: using complete predictive initial control parameters for initial heating, the predictive initial control parameters including the predicted initial heating duration and the predicted initial PWM duty cycle; The conservative adjustment strategy includes: attenuating the predicted initial control parameters to obtain attenuated predicted initial control parameters, and using the attenuated predicted initial control parameters for initial heating, while extending the initial heating time to reserve a larger compensation control space.
5. The method according to claim 1, characterized in that, The algorithm parameters used to adjust the calculated supply voltage change trend in subsequent heating cycles based on the deviation between the two include: Calculate the voltage deviation between the predicted initial voltage and the measured voltage; Determine whether the voltage deviation value exceeds a preset deviation threshold; If the voltage deviation value exceeds the preset deviation threshold for a preset number of consecutive times, the algorithm parameters are adjusted. The algorithm parameters include the historical data sliding window length and the linear regression slope damping coefficient used for trend prediction. The adjustment of the algorithm parameters includes: shortening the sliding window length of the historical data, and / or increasing the damping coefficient of the linear regression slope.
6. The method according to claim 1, characterized in that, The historical operating data also includes battery aging characteristic parameters, which are extracted in the following ways: Based on the power supply voltage sequence and current sequence in the historical operating data, calculate the estimated value of the equivalent battery internal resistance; The voltage drop rate is calculated based on the power supply voltage sequence, and the slow aging component and the fast load component are separated from the voltage drop rate. The estimated equivalent battery internal resistance and the slow aging component are stored as battery aging characteristic parameters in the historical operating data. When determining the initial control parameters for prediction, the prediction results are corrected based on the battery aging characteristic parameters.
7. The method according to claim 1, characterized in that, The updating of the historical running data includes: The voltage, current, and suction intensity values at the end of the current heating cycle, along with the calculated compensation control parameters, are stored as new historical data points in the historical operation data. The historical operation data is maintained using a sliding window method. When the number of data points in the historical operation data exceeds the preset window length, the oldest data point is removed.
8. The method according to claim 1, characterized in that, It also includes battery status warning steps: Calculate the voltage drop rate based on the supply voltage change trend; The absolute value of the voltage drop rate is compared with a preset voltage drop rate threshold; When the absolute value of the voltage drop rate is greater than or equal to the preset voltage drop rate threshold, the battery is determined to be in an abnormal state, and a warning command is sent to the battery status warning unit. The warning instructions include at least one of the following: controlling the indicator light to flash at a preset frequency, driving the vibration motor to generate a preset vibration mode, and pushing a warning notification to an external device via a wireless communication module.
9. A constant power control system for an electronic atomizing device, characterized in that, include: processor; The processor also includes a memory that is communicatively connected to the processor, the memory storing a computer program that, when executed by the processor, implements the method as described in any one of claims 1 to 8. The system also includes: The historical data storage and trend prediction module is used to perform the steps of acquiring historical operating data, calculating the power supply voltage change trend and the suction intensity change trend, evaluating the prediction confidence level, determining the prediction initial control parameters, and updating the historical operating data in the method of claim 1. The PWM control module is used to execute the steps of initial heating, applying compensation control, and adjusting algorithm parameters in the method of claim 1. The suction intensity detection module is used to detect the airflow intensity through the electronic atomizing device and generate a suction intensity signal. Heating wire; Heating module electrically connected to the heating wire; A voltage detection module for detecting the voltage across the heating wire; and A current detection module for detecting the current flowing through the heating wire.
10. The system according to claim 9, characterized in that: The historical data storage and trend prediction module is configured to calculate the supply voltage change trend and the suction intensity change trend by calculating the average rate of voltage drop or by performing linear regression. The confidence level of the prediction is assessed by calculating the goodness of fit of the linear regression and the degree of variability of the data points; And extract battery aging characteristic parameters from the historical operating data and correct the prediction results; The PWM control module is configured to: select an aggressive adjustment strategy or a conservative adjustment strategy based on the predicted confidence level; calculate compensation control parameters based on the real-time detected operating status after the initial heating is completed; and compare the predicted initial voltage with the measured voltage and adjust the algorithm parameters based on the deviation.
