Constant power control method, device, equipment and storage medium based on COT

CN121116003BActive Publication Date: 2026-09-01HANGZHOU TOLL MICROELECTRONIC CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511276230.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-09-08
Publication Date
2026-09-01
Estimated Expiration
2045-09-08

AI Technical Summary

Technical Problem

[0003]1、电池电压波动与控制延迟问题:当采用锂电池供电时,电池电压会随着时间的推移而逐渐下降,即便在单个毫秒级的输出周期内,电压也可能发生变化;这种电压的波动会直接导致输出电压或功率不稳定;此外,受限于设备的计算速度,在当前周期开通时间内所测得的平均电压或功率,无法直接用于控制本周期的关断时间,只能延后至下一周期进行调整;这种延迟调整的方式极易造成误差的累积,进而影响输出精度

Benefits of technology

[0018] In the technical solution of this invention, by combining a fixed on-time with dynamic off-time adjustment, the simplicity of constant on-time (COT) control is retained, while the real-time sampling and closed-loop feedback mechanism enables precise control of output power. This effectively counteracts the impact of interference factors such as battery voltage drop and load fluctuations on constant power output. Specifically, a multi-output synchronous on-time design is adopted, combined with a unified off-time adjustment logic. That is, the off-time of the k+1th cycle is calculated based on the total duration of the target cycle to avoid asynchronous off-time caused by differences in parameters of each channel, and to reduce the voltage rise deviation of the later off-time channel due to load changes. By sampling the real-time output voltage and load resistance multiple times within a cycle, battery voltage fluctuations and load changes are monitored in real time to avoid error accumulation caused by the measurement value of the current cycle being delayed to the next cycle for adjustment. Then, the total duration of the target cycle is dynamically calculated based on real-time data to achieve rapid adjustment of the off-time, reducing output deviation caused by control delay.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121116003B_ABST
    Figure CN121116003B_ABST
Patent Text Reader

Abstract

This invention relates to the field of output control technology, and particularly to a constant power control method, apparatus, device, and storage medium based on COT (Constant On-Time) control. The method, by combining fixed on-time with dynamic off-time adjustment, retains the simplicity of COT control while achieving precise control of output power, effectively offsetting the impact of interference factors such as battery voltage drop and load fluctuations on constant power output. Specifically, it employs a multi-output synchronous on-time design combined with a unified off-time adjustment logic, i.e., calculating the off-time of the (k+1)th cycle based on the total duration of the target cycle, to avoid asynchronous off-time caused by differences in parameters of each channel, and to reduce voltage rise deviations in the later-off channels due to load changes. By sampling the real-time output voltage and load resistance within a cycle, it monitors battery voltage fluctuations and load changes in real time, avoiding error accumulation caused by delaying the adjustment of the current cycle's measurement value to the next cycle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of output control technology, and in particular to a constant power control method, apparatus, device and storage medium based on COT. Background Technology

[0002] In portable product devices powered by lithium batteries, such as e-cigarettes, it is often necessary to achieve two or more output channels, and each channel must output the same average voltage, RMS voltage, or average power. However, existing technologies have the following problems in meeting these requirements:

[0003] 1. Battery voltage fluctuation and control delay issues: When using lithium battery power, the battery voltage will gradually decrease over time, and the voltage may change even within a single millisecond-level output cycle. This voltage fluctuation will directly lead to unstable output voltage or power. In addition, due to the limitations of the device's computing speed, the average voltage or power measured during the current cycle's on-time cannot be directly used to control the off-time of the current cycle, and can only be adjusted in the next cycle. This delayed adjustment method is very likely to cause the accumulation of errors, thereby affecting the output accuracy.

[0004] 2. Voltage fluctuation problem caused by asynchronous shutdown of multiple channels: Multi-channel output is generally turned on synchronously, but due to the difference in parameters of each channel, asynchronous shutdown may occur. For example, channel A is turned off first, and channel B is turned off later. When asynchronous shutdown occurs, the output voltage of the channel that is turned off later will rise significantly after the other channel is turned off, due to the change in the load of the power supply circuit. This causes the average voltage or power of the channel that is turned off later to deviate from the preset target within the cycle, and the existing control logic is difficult to compensate for such disturbances in real time.

[0005] For multi-channel constant voltage or constant power control, the existing COT control strategy adopts a fixed on-time design, and the off-time changes dynamically with the input voltage and load. If the load changes rapidly, since the on-time is preset, it is impossible to achieve a fast response by adjusting the on-time in real time. As a result, the output voltage may overshoot or undershoot, and the fluctuation of the operating frequency will have an adverse effect on the electromagnetic compatibility design of the system.

[0006] It is evident that existing technologies still need improvement and enhancement. Summary of the Invention

[0007] In order to overcome the shortcomings of the prior art, the purpose of this invention is to provide a constant power control method based on COT, which retains the simplicity of COT control and achieves precise control of output power, and can effectively offset the influence of interference factors such as battery voltage drop and load change on constant power output.

[0008] The first aspect of this invention provides a constant power control method based on COT (Constant On-Time), comprising: acquiring preset key parameters, the key parameters including fixed on-time, target power, and nominal battery voltage; before device startup, sampling a reference resistor and confirming initial parameters based on the reference resistor and the preset key parameters, the initial parameters including initial duty cycle, initial total cycle duration, and initial off-time; at device startup, controlling multiple outputs to synchronously turn on based on the confirmed initial parameters; during the on-time of cycle k, sampling the real-time output voltage of the multiple outputs multiple times, and during the off-time of cycle k, sampling the real-time load resistance of the multiple outputs, wherein cycle k ≥ 1; at the end of cycle k, confirming the target total cycle duration based on the multiple real-time output voltages, real-time load resistances, and the initial parameters; and adjusting the off-time of the (k+1)th cycle based on the confirmed target total cycle duration and the fixed on-time.

[0009] Optionally, in a first implementation of the first aspect of the present invention, the step of sampling a reference resistor before device startup and confirming initial parameters based on the reference resistor and preset key parameters, wherein the initial parameters include an initial duty cycle, an initial total cycle duration, and an initial shutdown time, includes: sampling the reference resistor before device startup; calculating an initial target voltage based on the reference resistor and a preset target power; confirming the initial total cycle duration based on the initial target voltage, the nominal battery voltage, and a fixed on-time; and confirming the initial shutdown time based on the initial total cycle duration and the fixed on-time.

[0010] Optionally, in a second implementation of the first aspect of the present invention, the step of sampling the real-time output voltage of multiple outputs multiple times during the conduction time of period k, and sampling the real-time load resistance of multiple outputs during the off-time of period k, wherein period k ≥ 1, includes: during the conduction time of period k, wherein period k ≥ 1, continuously sampling the real-time output voltage of multiple outputs multiple times through an analog-to-digital converter; for each output, calculating the voltage fluctuation based on the sampled real-time output voltages; during the off-time of period k, sampling the real-time load resistance of multiple outputs; if the off-time of period k is less than the preset minimum time required for resistance sampling, then extending the off-time of period k, and recording the amount of the extension.

[0011] Optionally, in a third implementation of the first aspect of the present invention, the step of calculating the voltage fluctuation for each output based on the sampled multiple real-time output voltages includes: for each output, calculating the average effective voltage based on the sampled multiple real-time output voltages using an integral algorithm with a fixed conduction time; and calculating the voltage fluctuation of each output during the period k conduction time based on the average effective voltage and the nominal battery voltage.

[0012] Optionally, in a fourth implementation of the first aspect of the present invention, the step of determining the target total duration of the cycle at the end of cycle k based on the multiple real-time output voltages, real-time load resistances, and the initial parameters includes: at the end of cycle k, calculating the real-time target voltage based on the target power and the real-time load resistance; calculating the real-time battery voltage based on the voltage fluctuation and the nominal battery voltage; and calculating the target total duration of the cycle based on the real-time target voltage, the real-time battery voltage, and the fixed conduction time.

[0013] Optionally, in a fifth implementation of the first aspect of the present invention, adjusting the turn-off time of the (k+1)th cycle based on the confirmed total duration of the target cycle and the fixed on-time includes: calculating a target turn-off time based on the confirmed total duration of the target cycle and the fixed on-time; and adjusting the turn-off time of the (k+1)th cycle based on the calculated target turn-off time.

[0014] Optionally, in a sixth implementation of the first aspect of the present invention, the step of calculating the target shutdown time based on the confirmed total duration of the target period and the fixed conduction time further includes: obtaining a preset minimum shutdown time and a preset maximum shutdown time; if the calculated target shutdown time is less than the preset minimum shutdown time, then the target shutdown time is set to the preset minimum shutdown time; if the calculated target shutdown time is greater than the preset maximum shutdown time, then the target shutdown time is set to the preset maximum shutdown time.

[0015] A second aspect of the present invention provides a constant power control device based on COT, comprising: a first acquisition module for acquiring preset key parameters, the key parameters including a fixed on-time, a target power, and a nominal battery voltage; a first confirmation module for sampling a reference resistor before device startup and confirming initial parameters based on the reference resistor and the preset key parameters, the initial parameters including an initial duty cycle, an initial total cycle duration, and an initial off-time; a startup module for controlling the synchronous activation of multiple outputs based on the confirmed initial parameters at device startup time; a second acquisition module for sampling the real-time output voltage of the multiple outputs multiple times during the on-time of cycle k, and sampling the real-time load resistance of the multiple outputs during the off-time of cycle k, wherein cycle k ≥ 1; a second confirmation module for confirming the target total cycle duration based on the multiple real-time output voltages, real-time load resistances, and the initial parameters at the end of cycle k; and an adjustment module for adjusting the off-time of the (k+1)th cycle based on the confirmed target total cycle duration and the fixed on-time.

[0016] A third aspect of the present invention provides a constant power control device based on COT, the COT-based constant power control device comprising: a memory and at least one processor, the memory storing instructions; at least one processor calling the instructions in the memory to cause the COT-based constant power control device to perform the various steps of the COT-based constant power control method described in any of the preceding claims.

[0017] A fourth aspect of the present invention provides a computer-readable storage medium storing instructions that, when executed by a processor, implement the steps of the constant power control method based on COT described in any of the preceding claims.

[0018] In the technical solution of this invention, by combining a fixed on-time with dynamic off-time adjustment, the simplicity of constant on-time (COT) control is retained, while the real-time sampling and closed-loop feedback mechanism enables precise control of output power. This effectively counteracts the impact of interference factors such as battery voltage drop and load fluctuations on constant power output. Specifically, a multi-output synchronous on-time design is adopted, combined with a unified off-time adjustment logic. That is, the off-time of the k+1th cycle is calculated based on the total duration of the target cycle to avoid asynchronous off-time caused by differences in parameters of each channel, and to reduce the voltage rise deviation of the later off-time channel due to load changes. By sampling the real-time output voltage and load resistance multiple times within a cycle, battery voltage fluctuations and load changes are monitored in real time to avoid error accumulation caused by the measurement value of the current cycle being delayed to the next cycle for adjustment. Then, the total duration of the target cycle is dynamically calculated based on real-time data to achieve rapid adjustment of the off-time, reducing output deviation caused by control delay. Attached Figure Description

[0019] Figure 1 A logic flowchart of the constant power control method based on COT provided in an embodiment of the present invention;

[0020] Figure 2 A schematic diagram of the structure of a COT-based constant power control device provided in an embodiment of the present invention;

[0021] Figure 3 This is a schematic diagram of the structure of a COT-based constant power control device provided in an embodiment of the present invention. Detailed Implementation

[0022] This invention provides a constant power control method, apparatus, device, and storage medium based on COT. In this invention, the terms "first," "second," "third," "fourth," etc. (if present)," in the specification, claims, and accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms "comprising" or "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or devices.

[0023] This application discloses a constant power control method based on COT. For ease of understanding, the specific process of the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 1 One embodiment of the constant power control method based on COT in this invention includes:

[0024] 101. Obtain preset key parameters, including fixed conduction time, target power, and nominal battery voltage;

[0025] In this embodiment, key parameters include fixed conduction time, target power, and nominal battery voltage. The fixed conduction time is a fixed value set in advance based on hardware characteristics, such as the response speed of the switching transistor and the charging and discharging efficiency of the inductor, to ensure that the conduction phase duration is consistent in each cycle. The target power needs to match the load requirements, such as setting the heating power of an electronic cigarette to 10W and the constant power charging power of a lithium battery to 20W. The nominal battery voltage is the standard voltage of the power supply battery, such as a 3.7V lithium battery, and is used as the reference voltage for initial calculations.

[0026] 102. Before the device is started, the reference resistor is sampled, and the initial parameters are confirmed based on the reference resistor and the preset key parameters. The initial parameters include the initial duty cycle, the initial total cycle duration, and the initial turn-off time.

[0027] In this embodiment, when the device is powered on but not yet started output, the reference resistance of the load is obtained through the sampling circuit, and then combined with preset key parameters, the initial duty cycle, the initial total cycle duration and the initial off time are calculated to provide the initial basis for output control during startup.

[0028] 103. At the time of device startup, control the synchronous activation of multiple outputs based on the confirmed initial parameters;

[0029] In this embodiment, at the moment of device startup, based on the aforementioned initial parameters, all output channels are controlled to simultaneously enter the conduction phase. For example, in a dual-output scenario, channels A and B begin conduction at the same time, and the conduction duration is a fixed duration, avoiding output inconsistency caused by channel opening time differences during startup. Multi-channel synchronous activation is a key design feature that distinguishes it from traditional control. Traditional multi-channel control often results in asynchronous startup / shutdown due to differences in channel parameters. However, this step avoids output deviation during startup from the source by unifying initial parameters and synchronous triggering signals. It eliminates the startup time difference of multiple channels, prevents uneven load distribution caused by one channel starting first, and reduces output fluctuations in subsequent cycles. It is especially suitable for scenarios with high requirements for multi-channel consistency, such as electronic cigarettes and multi-module power supply.

[0030] 104. During the conduction time of period k, the real-time output voltage of the multiple outputs is sampled multiple times, and during the turn-off time of period k, the real-time load resistance of the multiple outputs is sampled, wherein period k ≥ 1.

[0031] In this embodiment, the period k≥1, and when k=1, it is the first operating cycle. During the conduction phase of each cycle, the real-time output voltage of each channel is collected multiple times by a voltage sampling circuit, such as an ADC analog-to-digital converter. During the turn-off phase, the real-time load resistance of each channel is collected to realize real-time monitoring of the output status and load characteristics, providing data support for the confirmation of the subsequent target turn-off time.

[0032] 105. At the end of period k, based on the multiple real-time output voltages, real-time load resistances and the initial parameters, determine the total duration of the target period;

[0033] In this embodiment, when cycle k ends, that is, when both the conduction and turn-off phases are completed, based on the real-time voltage and resistance data collected in step 104 and the initial parameters determined in step 102, the total duration of the target cycle that the (k+1)th cycle should follow is calculated through the power formula and voltage compensation logic to ensure that the output power of the next cycle can approach the target power.

[0034] 106. Based on the confirmed total duration of the target cycle and the fixed on-time, adjust the off-time of the (k+1)th cycle;

[0035] In this embodiment, the turn-off time of the (k+1)th cycle is determined based on the difference between the total duration of the target cycle and the fixed on-time. Since the fixed on-time remains constant, the total cycle duration can be changed by adjusting the turn-off time, thereby correcting the duty cycle and achieving dynamic adjustment of the output power. Through the connection design between cycle k and cycle k+1, that is, by adjusting the turn-off time of cycle k+1 after cycle k ends, the limitation of sampling and adjustment delay of more than one cycle in traditional control is broken. That is, the adjustment cycle is compressed to a single cycle lag, which greatly improves the response speed and can quickly cope with sudden situations such as sudden drop in battery voltage and sudden change in load. In addition, through real-time sampling and dynamic turn-off time adjustment, the problem that traditional COT control can only maintain constant voltage but not constant power is solved.

[0036] This application discloses a constant power control method based on constant on-time (COT). By combining a fixed on-time with dynamic off-time adjustment, it retains the simplicity of constant on-time (COT) control while achieving precise control of output power through real-time sampling and closed-loop feedback mechanisms. This effectively counteracts the impact of disturbances such as battery voltage drops and load surges on constant power output. Specifically, it adopts a multi-output synchronous on-time design combined with a unified off-time adjustment logic. That is, the off-time of the k+1th cycle is calculated based on the total duration of the target cycle to avoid asynchronous off-time caused by differences in parameters of each channel, and to reduce the voltage rise deviation of the later off-time channel due to load changes. By sampling the real-time output voltage and load resistance multiple times within a cycle, the battery voltage fluctuation and load change are monitored in real time to avoid error accumulation caused by the measurement value of the current cycle being delayed to the next cycle for adjustment. Then, based on the real-time data, the total duration of the target cycle is dynamically calculated to achieve rapid adjustment of the off-time, reducing the output deviation caused by control delay.

[0037] Furthermore, in this embodiment of the invention, before the device is started, a reference resistor is sampled, and initial parameters are confirmed based on the reference resistor and preset key parameters. These initial parameters include an initial duty cycle, an initial total cycle duration, and an initial shutdown time, including:

[0038] 201. Sample the reference resistor before starting the equipment;

[0039] In this embodiment, when the device is in power-on standby mode, the resistance sampling module is activated to sample the load at least three times and take the average value to obtain the reference resistance, so as to eliminate noise interference from a single sampling.

[0040] 202. Calculate the initial target voltage based on the reference resistor and the preset target power;

[0041] 203. Determine the total duration of the initial cycle based on the initial target voltage, nominal battery voltage, and fixed conduction time;

[0042] In this embodiment, the formula for calculating the total duration of the initial cycle is: total duration of the initial cycle = fixed conduction time × nominal battery voltage / initial target voltage; the core logic of this formula is: following the positive proportional relationship between duty cycle and output voltage and input voltage.

[0043] 204. Determine the initial turn-off time based on the initial total cycle duration and fixed conduction time;

[0044] In this embodiment, the initial turn-off time is calculated using the formula: Initial turn-off time = Initial cycle total duration - Fixed conduction time. The key to calculating the initial turn-off time lies in establishing the numerical correlation between the cycle, conduction, and turn-off, thereby providing an initial reference for adjustments after startup. By calculating the initial parameters using a clear mathematical formula, errors caused by traditional empirical value presets can be avoided, making the initial output voltage closer to the target output voltage, thus reducing the magnitude and duration of adjustments after startup.

[0045] In this embodiment, by sampling the reference resistor, calculating the initial target voltage, and deriving the cycle and turn-off time, it is ensured that the output parameters of the device at startup match the initial state of the load and the nominal state of the battery, so as to avoid overvoltage or undervoltage at the moment of startup and reduce the impact on the load during the startup phase.

[0046] Furthermore, in this embodiment of the invention, the step of sampling the real-time output voltage of the multiple outputs multiple times during the on-time of period k, and sampling the real-time load resistance of the multiple outputs during the off-time of period k, wherein period k ≥ 1, includes:

[0047] 301. During the conduction time of period k, where period k ≥ 1, the real-time output voltage of multiple outputs is continuously sampled multiple times through an analog-to-digital converter.

[0048] In this embodiment, real-time output voltage sampling is performed during the conduction phase, not the turn-off phase. During the turn-off phase, the output voltage is maintained by energy released by the inductor, which cannot truly reflect the energy input during the conduction phase. The voltage during the conduction phase reflects the balance between battery power supply and load consumption, making the sampled data more valuable. Specifically, during the conduction time of period k, the real-time output voltage of multiple outputs is continuously sampled using an ADC analog-to-digital converter. The sampling frequency is 10-20 times the conduction time, such as 20 samplings during a 2ms conduction time, with an interval of 100μs. The number of samplings must balance accuracy and computational load. If the number of samplings is too small, the average value may deviate significantly. If the number of samplings is too large, it will increase the computational burden and cause adjustment delays. Therefore, the optimal number of samplings is 5-20.

[0049] 302. For each output, calculate the voltage fluctuation based on the multiple sampled real-time output voltages;

[0050] In this embodiment, the multiple sampled voltage data of each output are processed to obtain the actual voltage level of the output during the conduction phase. Then, it is compared with the nominal battery voltage or the initial target voltage to calculate the voltage fluctuation. The voltage fluctuation reflects the deviation between the current output voltage and the reference state.

[0051] 303. During the off-time of period k, sample the real-time load resistance of the multiple outputs. If the off-time of period k is less than the preset minimum time required for resistance sampling, extend the off-time of period k and record the amount of extension.

[0052] In this embodiment, during the turn-off phase of the k-th cycle, the resistance sampling circuit is activated to collect the real-time load resistance of each load. If the current turn-off time is less than the preset minimum time required for resistance sampling, the turn-off time is extended to the minimum time required for resistance sampling, and the extension amount is recorded to ensure the integrity of the resistance sampling process and the reliability of the data. Furthermore, the extension of the turn-off time will cause the total duration of the k-th cycle to exceed the original plan. If it is not compensated, it will affect the power calculation of subsequent cycles. Therefore, the recorded extension amount needs to be deducted from the turn-off time calculation of the k+1-th cycle. For example, the turn-off time of the next cycle = total duration of the target cycle - fixed conduction time - extension amount, to avoid power deviation caused by time base drift.

[0053] In this embodiment, the real-time sampling resistor can capture the drift of the load resistance in a timely manner. For example, after the heating wire of an electronic cigarette is heated, the resistance increases from 1Ω to 1.2Ω, which provides a basis for subsequent real-time target voltage calculation. This solves the problem of power drift caused by the assumption of a fixed load resistance in traditional methods. When the load resistance changes, the power control accuracy can still maintain a deviation of ≤3%.

[0054] Furthermore, in this embodiment of the invention, the step of calculating the voltage fluctuation based on the sampled multiple real-time output voltages for each output channel includes:

[0055] 401. For each output, the average effective voltage is calculated using an integral algorithm based on the sampled real-time output voltages and a fixed on-time.

[0056] In this embodiment, for multiple sampled voltage data of each output, the average effective voltage during the conduction phase is calculated using the trapezoidal integral method based on a fixed conduction time. The average effective voltage reflects the true effective value of the output voltage during the conduction phase, rather than the instantaneous value, thus avoiding the random error of a single sampling. Calculating the average effective voltage through an integral algorithm avoids the problem of interference with instantaneous sampling, enabling the voltage data to truly reflect the output state during the conduction phase and providing high-precision voltage parameters for subsequent power control.

[0057] In this embodiment, whether the battery voltage is slowly decreasing or the input voltage is fluctuating instantaneously, the average effective voltage can smoothly capture the voltage change trend, improving the versatility and flexibility of the method.

[0058] 402. Based on the average effective voltage and the nominal battery voltage, calculate the voltage fluctuation of each output during the period k conduction time.

[0059] In this embodiment, the voltage fluctuation refers to the difference between the average effective voltage and the nominal battery voltage. If the voltage fluctuation is positive, it indicates that the current output voltage is higher than the expected value corresponding to the nominal battery voltage. If it is negative, it means that the output voltage is lower than the expected value. In this case, it is necessary to increase the duty cycle through subsequent adjustments, such as shortening the off-time, to improve the output voltage. The voltage fluctuation can directly reflect the deviation between the output voltage and the reference state, and can distinguish whether the deviation is due to changes in battery voltage or load. This provides a clear compensation direction for subsequent adjustments to the total duration of the target cycle, avoiding blind adjustments.

[0060] Furthermore, in this embodiment of the invention, determining the total duration of the target period at the end of period k, based on the multiple real-time output voltages, real-time load resistances, and the initial parameters, includes:

[0061] 501. At the end of period k, calculate the real-time target voltage based on the target power and the real-time load resistance;

[0062] In this embodiment, based on the preset target power and the real-time load resistance sampled during the period k turn-off phase, the real-time target voltage that needs to be met under the current load condition is calculated. The core of this step is to adjust the required output voltage according to the dynamic change of the load resistance to ensure constant power. After the real-time target voltage is calculated, it needs to be compared with the hardware safety range. If it exceeds the boundary, the protection mechanism needs to be triggered to avoid overvoltage damage to the load or undervoltage causing the power to fail to meet the requirements.

[0063] 502. Calculate the real-time battery voltage based on the voltage fluctuation and the nominal battery voltage;

[0064] In this embodiment, the real-time battery voltage is the sum of the nominal battery voltage and the voltage fluctuation. The voltage fluctuation reflects the deviation between the output voltage and the nominal battery voltage during the conduction phase. Since the real-time output voltage is coupled with the input battery voltage, the real-time change of the battery voltage can be inferred from the voltage fluctuation, thus ensuring the accuracy of the real-time battery voltage calculation.

[0065] 503. Calculate the total duration of the target cycle based on the real-time target voltage, real-time battery voltage, and fixed conduction time;

[0066] In this embodiment, the target total cycle duration is derived based on the duty cycle principle of COT control. The formula for calculating the target total cycle duration is: Target total cycle duration = Fixed on-time × Real-time battery voltage / Real-time target voltage. This formula directly relates to real-time input and real-time demand, and is consistent with the control cycle to ensure that the duty cycle of the next cycle can adapt to the current state, thereby maintaining constant power. By adjusting the target voltage according to the real-time load resistance and adjusting the total cycle duration in combination with the real-time battery voltage, a closed-loop control link is constructed, thereby effectively solving the power drift problem caused by assuming a fixed load resistance and ignoring changes in battery voltage in traditional fixed on-time (COT) control. Whether there is a sudden change in load or the battery is in a continuous discharge state, the calculation logic of the target total cycle duration can respond quickly. In dynamic load scenarios such as electronic cigarettes and portable heating devices, this calculation logic of the target total cycle duration can ensure the consistency of power output during user use.

[0067] In this embodiment, after calculating the total duration of the target period, it needs to be converted into a switching frequency, and the obtained switching frequency needs to be verified to see if it is within the frequency range allowed by the hardware. For example, when the maximum allowable frequency of the switching transistor is 100kHz and the minimum allowable frequency is 10kHz, the corresponding switching frequency should be between 10μs and 100μs. If the total duration of the target period is too small, it means that the frequency is too high. In this case, the total duration of the target period needs to be extended to the corresponding minimum period. An excessively high frequency may cause the switching frequency to exceed the EMC design range or cause excessive output ripple, thereby affecting the performance and stability of the system. Therefore, it is necessary to adjust the total duration of the target period if it is too small. Conversely, if the total duration of the target period is too large, that is, if the frequency is too low, the total duration of the target period needs to be shortened to the corresponding maximum period to avoid the switching frequency exceeding the EMC design range or causing excessive output ripple, and to ensure that the entire system can operate stably within a reasonable frequency range.

[0068] Furthermore, in this embodiment of the invention, adjusting the turn-off time of the (k+1)th cycle based on the confirmed total duration of the target cycle and the fixed on-time includes:

[0069] 601. Calculate the target turn-off time based on the confirmed total duration of the target cycle and the fixed conduction time;

[0070] In this embodiment, the target off time is the difference between the total duration of the target cycle and the fixed on time. The adjustment of the off time depends on a high-precision timer, and the positioner's accuracy is usually required to be no less than 1% of the off time.

[0071] 602. Based on the calculated target turn-off time, adjust the turn-off time of cycle k+1;

[0072] In this embodiment, the calculated target turn-off time is configured as the turn-off time of the (k+1)th cycle to achieve precise timing control of the switching transistor: within the (k+1)th cycle, the switching transistor is first turned on for a fixed on time, and then turned off to the target turn-off time; taking a target turn-off time of 0.5ms as an example, the switching transistor completes a timing cycle of 2ms on and 0.5ms off within the cycle, maintaining output voltage stability through the synergistic effect of energy storage during conduction and energy release during turn-off; through real-time sampling and dynamic adjustment mechanism of turn-off time within the cycle, the accumulation of delay error in traditional control methods is significantly reduced, and voltage fluctuation is controlled within ±2%, improving the reliability of load power supply; the dynamic turn-off time algorithm greatly improves the system's response speed to load changes, and can still maintain the output voltage ripple coefficient ≤1.5% under load jump conditions, with significantly better robustness than the fixed cycle control strategy; precise timing control reduces switching losses, and combined with the adaptive turn-off mechanism, effectively improves light load energy efficiency.

[0073] Furthermore, in this embodiment of the invention, the step of calculating the target turn-off time based on the confirmed total duration of the target period and the fixed on-time further includes:

[0074] 701. Obtain the preset minimum shutdown time and the preset maximum shutdown time;

[0075] In this embodiment, after calculating the target turn-off time, the preset minimum turn-off time and maximum turn-off time are first retrieved from the system preset parameters. These two boundary parameters are set based on the hardware safe operating range and system performance requirements. The minimum turn-off time is the shortest time to ensure reliable turn-off of the switching transistor. If the turn-off time is too short, the switching transistor may not be able to turn off completely, resulting in shoot-through between the upper and lower bridge arms and causing overcurrent burnout. At the same time, an excessively short turn-off time will cause the switching frequency to be too high, exceeding the frequency range allowed by EMC design, and generating serious electromagnetic interference. The maximum turn-off time is the longest turn-off time to avoid excessive output voltage fluctuations. If the turn-off time is too long, the total cycle time will increase, the switching frequency will be too low, and the output voltage ripple will increase, failing to meet the device's requirements for voltage stability.

[0076] 702. If the calculated target shutdown time is less than the preset minimum shutdown time, then set the target shutdown time to the preset minimum shutdown time.

[0077] 703. If the calculated target shutdown time is greater than the preset maximum shutdown time, then set the target shutdown time to the preset maximum shutdown time.

[0078] In this embodiment, the target turn-off time is compared with the minimum turn-off time. If the target turn-off time is less than the preset minimum turn-off time, the turn-off time of the (k+1)th cycle is forcibly set to the preset minimum turn-off time to avoid damage to the switching transistor. If the target turn-off time is greater than the maximum turn-off time, the turn-off time is forcibly set to the preset maximum turn-off time to avoid increased ripple due to excessively low switching frequency. When the turn-off time is forcibly set to the minimum or maximum turn-off time, the system will synchronously adjust the target duty cycle calculation logic for the next cycle. For example, after the turn-off time is set to the minimum turn-off time, the actual duty cycle will be less than the target duty cycle. At this time, the system will gradually increase the calculation weight of the target duty cycle in subsequent cycles to avoid being in a boundary state for a long time. If the boundary limit is triggered for three consecutive cycles, the system will determine it as a hardware abnormality, such as battery depletion or load short circuit, and trigger shutdown protection or abnormal alarm to improve the safety of equipment use.

[0079] The constant power control method based on COT in the embodiments of the present invention has been described above. The constant power control device based on COT in the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 2 One embodiment of the constant power control device based on COT in this invention includes:

[0080] The first acquisition module 801 is used to acquire preset key parameters, including fixed conduction time, target power and nominal battery voltage.

[0081] The first confirmation module 802 is used to sample the reference resistor before the device starts up, and confirm the initial parameters based on the reference resistor and preset key parameters. The initial parameters include the initial duty cycle, the initial total cycle duration and the initial turn-off time.

[0082] The startup module 803 is used to control the synchronous activation of multiple outputs based on the confirmed initial parameters at the time of device startup;

[0083] The second acquisition module 804 is used to sample the real-time output voltage of the multiple outputs multiple times during the on-time of period k, and to sample the real-time load resistance of the multiple outputs during the off-time of period k, wherein period k ≥ 1.

[0084] The second confirmation module 805 is used to confirm the total duration of the target cycle at the end of cycle k based on multiple real-time output voltages, real-time load resistances and the initial parameters.

[0085] The adjustment module 806 is used to adjust the off time of the (k+1)th cycle based on the confirmed total duration of the target cycle and the fixed on time.

[0086] Based on the same ideas as the methods in the above embodiments, the apparatus provided in this application can implement the methods in the above embodiments.

[0087] above Figure 2 The constant power control device based on COT in the embodiments of the present invention will be described in detail from the perspective of modular functional entities. The constant power control device based on COT in the embodiments of the present invention will be described in detail from the perspective of hardware processing.

[0088] Figure 3 This is a schematic diagram of a COT-based constant power control device 800 provided in an embodiment of the present invention. The COT-based constant power control device 800 can vary significantly due to different configurations or performance characteristics. It may include one or more central processing units (CPUs) 810 and memory 820, and one or more storage media 830 (e.g., one or more mass storage devices) storing application programs 833 or data 832. The memory 820 and storage media 830 can be temporary or persistent storage. The program stored in the storage media 830 may include one or more modules (not shown in the diagram), each module including a series of instruction operations on the COT-based constant power control device 800. Furthermore, the processor 810 may be configured to communicate with the storage media 830 and execute the series of instruction operations in the storage media 830 on the COT-based constant power control device 800 to implement the steps of the COT-based constant power control method provided in the above-described method embodiments.

[0089] The COT-based constant power control device 800 may also include one or more power supplies 840, one or more wired or wireless network interfaces 850, one or more input / output interfaces 860, and / or one or more operating systems 831, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will understand that... Figure 3 The illustrated structure of the COT-based constant power control device does not constitute a limitation on the COT-based constant power control device, which may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.

[0090] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to perform the steps of a constant power control method based on COT.

[0091] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system, device, or unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0092] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0093] Finally, it should be noted that the above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the protection scope of the present invention.

Claims

1. A constant power control method based on COT, characterized in that, include: Obtain preset key parameters, including fixed conduction time, target power, and nominal battery voltage; Before the device is started, the reference resistor is sampled, and the initial parameters are confirmed based on the reference resistor and preset key parameters. The initial parameters include the initial duty cycle, the initial total cycle duration, and the initial shutdown time. At the time of device startup, multiple outputs are synchronously activated based on the confirmed initial parameters; During the on-time of period k, the real-time output voltage of the multiple outputs is sampled multiple times, and during the off-time of period k, the real-time load resistance of the multiple outputs is sampled, wherein period k ≥ 1. At the end of period k, the total duration of the target period is determined based on the multiple real-time output voltages, real-time load resistances, and the initial parameters. Based on the confirmed total duration of the target cycle and the fixed on-time, the off-time of the (k+1)th cycle is adjusted.

2. The constant power control method based on COT according to claim 1, characterized in that, Before the device starts, a reference resistor is sampled, and initial parameters are confirmed based on the reference resistor and preset key parameters. These initial parameters include the initial duty cycle, the initial total cycle duration, and the initial off-time, including: Sample the reference resistor before starting the device; Calculate the initial target voltage based on the reference resistor and the preset target power; The total duration of the initial cycle is determined based on the initial target voltage, nominal battery voltage, and fixed conduction time. The initial turn-off time is determined based on the initial total cycle duration and the fixed on-time.

3. The constant power control method based on COT according to claim 1, characterized in that, The process of sampling the real-time output voltage of multiple outputs multiple times during the on-time of period k, and sampling the real-time load resistance of multiple outputs during the off-time of period k, wherein period k ≥ 1, includes: During the conduction time of period k, where period k ≥ 1, the real-time output voltage of multiple outputs is continuously sampled multiple times through the analog-to-digital converter. For each output, the voltage fluctuation is calculated based on the multiple sampled real-time output voltages. During the off-time of period k, the real-time load resistance of the multiple outputs is sampled. If the off-time of period k is less than the preset minimum time required for resistance sampling, the off-time of period k is extended, and the amount of extension is recorded.

4. The constant power control method based on COT according to claim 3, characterized in that, For each output, the voltage fluctuation is calculated based on the multiple sampled real-time output voltages, including: For each output, the average effective voltage is calculated using an integral algorithm based on the sampled real-time output voltages and a fixed on-time. Calculate the voltage fluctuation of each output during the period k of conduction time based on the average effective voltage and the nominal battery voltage.

5. The constant power control method based on COT according to claim 3, characterized in that, At the end of period k, based on multiple real-time output voltages, real-time load resistances, and the initial parameters, the total duration of the target period is determined, including: At the end of period k, the real-time target voltage is calculated based on the target power and the real-time load resistance. Calculate the real-time battery voltage based on the voltage fluctuation and the nominal battery voltage; The total duration of the target cycle is calculated based on the real-time target voltage, real-time battery voltage, and fixed conduction time.

6. The constant power control method based on COT according to claim 5, characterized in that, The adjustment of the turn-off time in the (k+1)th cycle based on the confirmed total duration of the target cycle and the fixed on-time includes: Calculate the target turn-off time based on the confirmed total duration of the target cycle and the fixed on time; Based on the calculated target turn-off time, adjust the turn-off time of cycle k+1.

7. The constant power control method based on COT according to claim 6, characterized in that, The step of calculating the target turn-off time based on the confirmed total target cycle duration and the fixed conduction time, further includes: Get the preset minimum shutdown time and the preset maximum shutdown time; If the calculated target shutdown time is less than the preset minimum shutdown time, then set the target shutdown time to the preset minimum shutdown time. If the calculated target shutdown time is greater than the preset maximum shutdown time, then the target shutdown time is set to the preset maximum shutdown time.

8. A constant power control device based on COT, characterized in that, include: The first acquisition module is used to acquire preset key parameters, including fixed conduction time, target power and nominal battery voltage. The first confirmation module is used to sample the reference resistor before the device starts up, and confirm the initial parameters based on the reference resistor and preset key parameters. The initial parameters include the initial duty cycle, the initial total cycle duration and the initial shutdown time. The startup module is used to control the synchronous activation of multiple outputs based on the confirmed initial parameters at the time of device startup; The second acquisition module is used to sample the real-time output voltage of the multiple outputs multiple times during the on-time of period k, and to sample the real-time load resistance of the multiple outputs during the off-time of period k, wherein period k ≥ 1. The second confirmation module is used to confirm the total duration of the target cycle at the end of cycle k based on multiple real-time output voltages, real-time load resistances, and the initial parameters. The adjustment module is used to adjust the off time of the (k+1)th cycle based on the confirmed total duration of the target cycle and the fixed on time.

9. A constant power control device based on COT, characterized in that, The COT-based constant power control device includes: a memory and at least one processor, wherein the memory stores instructions; At least one of the processors invokes the instructions in the memory to cause the COT-based constant power control device to perform the steps of the COT-based constant power control method as described in any one of claims 1-7.

10. A computer-readable storage medium storing instructions thereon, characterized in that, When the instructions are executed by the processor, they implement the steps of the constant power control method based on COT as described in any one of claims 1-7.

Citation Information

Patent Citations

  • Switch power supply control circuit, switch power supply and control method thereof

    CN103683908A

  • Switching power supply for constant on-time control and control circuit and control method of switching power supply

    CN105553263A