[go: up one dir, main page]

CN110456147B - Wattage information acquisition method and device of power adapter and electronic equipment - Google Patents

Wattage information acquisition method and device of power adapter and electronic equipment Download PDF

Info

Publication number
CN110456147B
CN110456147B CN201910809291.1A CN201910809291A CN110456147B CN 110456147 B CN110456147 B CN 110456147B CN 201910809291 A CN201910809291 A CN 201910809291A CN 110456147 B CN110456147 B CN 110456147B
Authority
CN
China
Prior art keywords
power adapter
discharging
stage
wattage
discharge
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910809291.1A
Other languages
Chinese (zh)
Other versions
CN110456147A (en
Inventor
岳鹏阁
吴志宏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Ruiqin Technology Co Ltd
Original Assignee
Wuxi Ruiqin Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Ruiqin Technology Co Ltd filed Critical Wuxi Ruiqin Technology Co Ltd
Priority to CN201910809291.1A priority Critical patent/CN110456147B/en
Publication of CN110456147A publication Critical patent/CN110456147A/en
Application granted granted Critical
Publication of CN110456147B publication Critical patent/CN110456147B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R21/00Arrangements for measuring electric power or power factor
    • G01R21/133Arrangements for measuring electric power or power factor by using digital technique

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

The invention relates to the technical field of electronics, and discloses a wattage information acquisition method and device of a power adapter and electronic equipment. The acquisition method comprises the following steps: after the power adapter is connected, the power adapter is promoted to discharge step by step; in the step-by-step discharging process, whether the step-by-step discharging exit condition is met or not is monitored in real time, and if yes, the step-by-step discharging exits; the exit conditions include: the transient voltage value of the power adapter is lower than a voltage threshold value, the battery discharge current value exceeds a battery current limiting point, or the CPU temperature exceeds a preset temperature threshold value; and acquiring the wattage information corresponding to the previous discharging stage of the current discharging stage when the stage-by-stage discharging exits according to the pre-obtained discharging stage and adapter wattage comparison table, so as to obtain the actual wattage information of the power adapter. The invention adopts a mode of promoting the power adapter to discharge step by step, realizes the acquisition of the actual wattage information of the power adapter by means of the conventional logic module of the charging chip and the like, reduces the realization cost and has stronger practicability.

Description

Wattage information acquisition method and device of power adapter and electronic equipment
Technical Field
The invention relates to the technical field of electronics, in particular to a wattage information acquisition method and device of a power adapter and electronic equipment.
Background
At present, a commonly used power adapter and a notebook computer system cannot directly acquire wattage information of the power adapter, and current limiting of the power adapter and setting parameters related to a CPU preset in a register of a charging chip at a system mainboard end are all written in an Embedded Controller (EC) and the CPU in a standard of the lower wattage of the power adapter for shipment, and cannot be properly adjusted along with the change of the wattage of an external power adapter, so that the following problems are caused:
when a user uses a power adapter with lower wattage, the pen is in downtime risk; the surplus wattage cannot be fully used by using a high-wattage power adapter; under the action of an external heat dissipation measure, the purpose of improving the electrical performance of the pen cannot be achieved, and the user experience is poor.
Therefore, it is necessary to adjust each setting parameter according to the wattage information of the power adapter in the actual application scenario, so as to solve the above problem.
However, in order to obtain the wattage information of the power adapter in practical application scenarios, a method of externally adding an identification line is currently adopted, which obviously increases the cost and is poor in practicability.
Disclosure of Invention
The invention aims to provide a wattage information acquisition method and device of a power adapter and electronic equipment, which solve the defects of high implementation cost and poor practicability in the prior art.
In order to achieve the purpose, the invention adopts the following technical scheme:
a wattage information acquisition method of a power adapter comprises the following steps:
after the power adapter is connected to a system, applying loads to the system step by step according to a preset increasing amplitude to promote the power adapter to perform step by step discharge, wherein the step by step discharge process is divided into a plurality of discharge stages corresponding to different loads, and the load corresponding to the previous discharge stage is smaller than the load of the next discharge stage;
in the step-by-step discharging process, whether the step-by-step discharging exit condition is met or not is monitored in real time, and if yes, the step-by-step discharging exits; the step-by-step discharge exit condition includes: the transient voltage value of the power adapter is lower than a preset voltage threshold value, the battery discharge current value exceeds a battery current limiting point, and the CPU temperature exceeds at least one of a preset temperature threshold value;
and acquiring wattage information corresponding to a previous discharging stage of the current discharging stage when the stage-by-stage discharging exits according to a discharging stage and adapter wattage comparison table obtained by pre-calculation, so as to obtain the actual wattage information of the power adapter.
Optionally, the method for identifying that the transient voltage value of the power adapter is lower than the preset voltage threshold includes: and acquiring the level state of a comparator turnover signal in the charging chip in real time, and if the level state is a low level state, judging that the transient voltage value of the power adapter is lower than a preset voltage threshold value.
Optionally, the wattage information obtaining method of the power adapter further includes: in the step-by-step discharging process, if the transient voltage value of the power adapter is monitored to be lower than the preset voltage threshold value, the system is abnormally shut down before the step-by-step discharging exit operation is completed, when the system is restarted, the wattage information corresponding to the previous discharging stage of the current discharging stage during abnormal shutdown is obtained, and the actual wattage information of the power adapter is obtained.
A wattage information acquisition apparatus for a power adapter, comprising: the device comprises an embedded controller, a charging chip and a step-by-step discharging control unit;
the step-by-step discharging control unit is used for applying loads to the system step by step according to a preset increasing amplitude after the power adapter is connected into the system to promote the power adapter to perform step-by-step discharging, the step-by-step discharging process is divided into a plurality of discharging stages corresponding to different loads, and the load corresponding to the previous discharging stage is smaller than that of the next discharging stage; the power adapter is also used for controlling the power adapter to quit the step-by-step discharging when receiving a notice of quitting the step-by-step discharging;
the embedded controller is used for monitoring whether the current step-by-step discharge quitting condition is met or not in real time in the step-by-step discharge process, and if the current step-by-step discharge quitting condition is met, sending a quitting step-by-step discharge notification to the step-by-step discharge control unit; the step-by-step discharge exit condition includes: the transient voltage value of the power adapter is lower than a preset voltage threshold value, the battery discharge current value exceeds a battery current limiting point, and the CPU temperature exceeds at least one of a preset temperature threshold value; and the wattage control module is also used for acquiring wattage information corresponding to a previous discharging stage of the current discharging stage when the stage-by-stage discharging exits according to the pre-calculated discharging stage and the adapter wattage comparison table, so as to obtain the actual wattage information of the power adapter.
Optionally, the embedded controller is further configured to obtain a level state of a comparator flip signal inside the charging chip in real time, and determine that the transient voltage value of the power adapter is lower than a preset voltage threshold when the comparator flip signal is in a low level state.
Optionally, the embedded controller is further configured to, during the step-by-step discharging process, if it is monitored that the transient voltage value of the power adapter is lower than the preset voltage threshold, when the step-by-step discharging control unit completes the step-by-step discharging exit operation, perform an abnormal shutdown of the system before the step-by-step discharging control unit completes the step-by-step discharging exit operation, and when the system is restarted, obtain wattage information corresponding to a previous discharging stage of a current discharging stage during the abnormal shutdown, to obtain actual wattage information of the power adapter.
A wattage information acquisition method of a power adapter comprises the following steps:
after the power adapter is connected to a system, applying loads to the system step by step according to a preset increasing amplitude to promote the power adapter to perform step by step discharge, wherein the step by step discharge process is divided into a plurality of discharge stages corresponding to different loads, and the load corresponding to the previous discharge stage is smaller than the load of the next discharge stage;
in the step-by-step discharging process, whether the step-by-step discharging exit condition is met or not is monitored in real time, and if yes, the step-by-step discharging exits; the step-by-step discharge exit condition includes: the transient voltage value of the power adapter is reduced by a preset amplitude compared with the initial voltage value, the battery discharge current value exceeds a battery current limiting point set in the charging chip, and the CPU temperature exceeds at least one of a preset temperature threshold value;
and reading the transient voltage value and the transient current value of the power adapter from an ADC register in the charging chip in real time when the step-by-step discharging exits, and calculating according to the transient voltage value and the transient current value to obtain the actual wattage information of the power adapter.
Optionally, the operation method of the actual wattage information of the power adapter is as follows: and multiplying the transient current value of the power adapter by the transient voltage value, and dividing by the current limiting factor.
A wattage information acquisition apparatus for a power adapter, comprising: the charging device comprises an embedded controller, a charging chip and a step-by-step discharging control unit;
the step-by-step discharging control unit is used for applying loads to the system step by step according to a preset increasing amplitude after the power adapter is connected into the system to promote the power adapter to perform step-by-step discharging, the step-by-step discharging process is divided into a plurality of discharging stages corresponding to different loads, and the load corresponding to the previous discharging stage is smaller than that of the next discharging stage; the power adapter is also used for controlling the power adapter to quit the step-by-step discharging when receiving a notice of quitting the step-by-step discharging;
the embedded controller is used for monitoring whether the current step-by-step discharge quitting condition is met or not in real time in the step-by-step discharge process, and quitting the step-by-step discharge if the current step-by-step discharge quitting condition is met; the step-by-step discharge exit condition includes: the transient voltage value of the power adapter is reduced by a preset amplitude compared with the initial voltage value, the battery discharge current value exceeds a battery current limit point set in the charging chip, and the CPU temperature exceeds at least one of a preset temperature threshold value; and the real-time reading module is also used for reading the transient voltage value and the transient current value of the power adapter from an ADC register in the charging chip in real time when the step-by-step discharging exits, and calculating according to the transient voltage value and the transient current value to obtain the actual wattage information of the power adapter.
An electronic device comprising the wattage information acquisition apparatus of the power adapter as described in any one of the above.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the embodiment of the invention realizes the acquisition of the actual wattage information of the power adapter by adopting a mode of promoting the power adapter to discharge step by step and by means of the conventional logic module of the charging chip and the like, does not need to add an identification circuit outside the system, reduces the realization cost and has stronger practicability.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart of a wattage information obtaining method of a power adapter under a Hybrid Power Boost (HPB) charging chip architecture platform according to an embodiment of the present invention.
Fig. 2 is a schematic diagram illustrating a trend of a load regulation rate in a discharging process of a power adapter according to an embodiment of the present invention.
Fig. 3 is a schematic circuit diagram of a part of a charging chip (for example, BQ 24781) under the HPB architecture according to an embodiment of the present invention.
Fig. 4 is a schematic circuit diagram of another part of a charging chip (for example, BQ 24781) under the HPB architecture according to an embodiment of the present invention.
Fig. 5 is a flowchart of a wattage information obtaining method of a power adapter under a Narrow Voltage Direct Current (NVDC) charging chip architecture platform according to an embodiment of the present invention.
Fig. 6 is a schematic diagram of input voltage information in an ADC register of a charging chip (for example, BQ 25700A) with NVDC architecture according to an embodiment of the present invention.
Fig. 7 is a schematic diagram of ADC register input current information of a charging chip (for example, BQ 25700A) with NVDC architecture according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The invention can respectively realize the acquisition of the wattage information of the external power adapter without cost by matching with customized power adapter step-by-step discharging software through the control logic of the charging chip at the mainboard end of the pen system and the algorithm written in the EC, and combining the functional logic module of two commonly used charging chip architectures at present and the working characteristics of the CPU.
Example one
Referring to fig. 1, the present embodiment provides a method for acquiring wattage information of a power adapter under an HPB charging chip architecture platform, including:
step 101, after the power adapter is connected to the system, applying a load to the system step by step according to a preset increase amplitude, and prompting the power adapter to discharge the system step by step. As the load increases, the step-by-step discharge process can be divided into a plurality of discharge stages corresponding to different load sizes, and the load corresponding to the previous discharge stage is smaller than that of the next discharge stage.
In this embodiment, after the EC determines that the battery level in the system is greater than 80%, the CPU temperature is lower than 60 degrees, and the battery has no discharging current, the current limit setting of the initial power adapter in the charging chip is released, and a load may be applied to the system step by step according to a preset increase range (e.g., 5%), so as to promote the power adapter to discharge step by step.
In practical application, PAdapter=(PCPU+PSYS) Energy conversion efficiency-PBattery(ii) a Wherein, PAdapterWattage, P, of the power adapterCPUFor CPU operating wattage, PSYSIs the system background wattage, PBatteryThe batteries were discharged in watts. At PBatteryWhen the battery is equal to 0 (i.e., the battery has no discharge current), PCPUMaximum value of (1) and PSYSAnd the sum is the maximum value of the actual wattage of the power adapter. Under the system desktop, PSYSAlmost a fixed wattage value. Therefore, in this embodiment, the load mainly refers to the operating wattage of the CPU.
For example: the maximum wattage that a certain model of CPU can work is 71W, and the sum of this wattage 71W and the system background wattage (power consumption generated by the sum of the panel, the solid state disk, the memory, and the system leakage cause, etc. under the system desktop except the CPU operation if not charged) is the maximum value of the wattage of the power adapter.
Specifically, the working wattage of the CPU can be actively and gradually raised through the EC, so that the load is applied to the system step by step, and the effect of promoting the power adapter to discharge step by step is realized. Taking the preset increase amplitude of 5% as an example, 5% (P) under the condition that the battery has no discharge current and the energy conversion rate is 100%CPUMaximum value of + PSYS) I.e. a step-wise increasing load gear size.
And 102, in the step-by-step discharging process, monitoring whether the step-by-step discharging exit condition is met or not in real time, and if yes, exiting the step-by-step discharging.
Specifically, the step-by-step discharge exit condition may include: the transient voltage value of the power adapter is lower than a preset voltage threshold value, the battery discharge current value exceeds a battery current limiting point set in the charging chip, and the CPU temperature exceeds at least one of a preset temperature threshold value.
The battery discharge current value and the CPU temperature can be obtained by the EC using conventional techniques, and will not be described in detail here.
For whether the transient voltage value of the power adapter is lower than the preset voltage threshold, the charging chip is used for identification in the embodiment.
Please refer to the Load regulation trend of the power adapter in the discharging process shown in fig. 2, and the logic circuit diagram of the charging chip (for example, BQ 24781) under the HPB architecture shown in fig. 3 and 4. In fig. 3, the divided voltage P _ CHG _ ACDET _5 of + VADP (transient voltage value of the power adapter) is an input of the ACDET comparator inside the charging chip shown in fig. 4.
As can be seen from fig. 2, the transient voltage of the power adapter decreases with the increase of the load current. With reference to fig. 3 and fig. 4, taking the preset voltage threshold of the power adapter as 18V as an example, when the divided voltage P _ CHG _ ACDET _5 of + VADP is lower than the logic level 2.4V inside the charging chip, that is, the voltage of + VADP is lower than the voltage threshold 18V; at this time, the ACDET comparator in the charging chip is turned over, a corresponding comparator turning signal (AC _ OK) is immediately changed from a high level to a low level (at this time, the discharging current of the corresponding power adapter is close to the size of a current limiting point), the charging chip judges that the power adapter is pulled out, and a PROCHOT _ N signal is sent to the CPU to trigger the CPU to carry out frequency division.
Based on the above analysis, when the transient voltage value of the power adapter is lower than the preset voltage threshold, the ACDET comparator will flip, and then the AC _ OK inside the charging chip will be converted into a low level state. Therefore, the present embodiment utilizes the AC _ OK of the charging chip to identify whether the transient voltage value of the power adapter is lower than the preset voltage threshold: when the AC _ OK is at a high level, the power adapter is considered to be valid in the system, and the transient voltage value of the power adapter is judged to be not lower than the preset voltage threshold; when the AC _ OK is low, the power adapter is considered to be invalid, and the transient voltage value of the power adapter is determined to be lower than the preset voltage threshold.
And 103, acquiring wattage information corresponding to a previous discharging stage of the current discharging stage when the stage-by-stage discharging exits according to a pre-calculated discharging stage and adapter wattage comparison table, so as to obtain actual wattage information of the system external power adapter.
The following table is an example of a comparison table of the discharge phase and the adapter wattage provided in this embodiment. The look-up table can be derived from a rough estimate according to fig. 2. For example, a gradient of 5% per step is applied to the system step by step to cause the power adapter to discharge step by step. The power adapter wattage information in the table has been stripped of current limiting factors (e.g., 150%), since the adapter wattage for each discharge phase is: the power adapter current limit point is multiplied by + VADP and divided by the current limit factor of 150%. In the calculation formula, the current-limiting point of the power adapter can be derived according to the trend schematic diagram of the load regulation rate in the discharging process of the power adapter shown in fig. 2, and when the transient voltage value of the power adapter drops to the preset voltage threshold, the transient current value of the power adapter actually approaches the current-limiting point, so that the current-limiting point can be regarded as the current-limiting point of the power adapter. Through calculation, 5% of the discharging stages correspond to the wattage of the power adapter of 5W, 10% of the discharging stages correspond to the wattage of the power adapter of 10W, and by analogy, the approximate interval of the wattage of the power adapter can be obtained through rough quantitative calculation of load software.
Stage of discharge Load application rate (%) P power adapter (W)
First stage 5 5
Second stage 10 10
The third stage 15 15
-- -- --
The eleventh stage 55 55
The twelfth stage 60 60
-- -- --
The twentieth stage 100 100
According to the comparison table, the actual wattage information of the external power adapter is obtained, for example:
if the transient voltage value of the power adapter starts to be lower than the preset voltage threshold value of 18V when the step-by-step discharge program corresponds to the twelfth discharge stage with the load application rate of 60%, the EC acquires the wattage information of the power adapter corresponding to the eleventh discharge stage with the load application rate of 55% to obtain the actual wattage information of the external power adapter;
if the battery discharge current value starts to reach the battery current limiting point in the twelfth discharge stage corresponding to the load application rate of 60%, the EC obtains the wattage information of the power adapter corresponding to the eleventh discharge stage corresponding to the load application rate of 55%, and obtains the actual wattage information of the external power adapter.
It should be noted that when it is monitored that the transient voltage value of the power adapter is lower than the preset voltage threshold and the battery discharge current does not exceed the battery current limiting point set in the charging core, a system may be down before performing step-by-step discharge and exiting operation. With reference to fig. 3 and 4, since the ACDET comparator flip threshold is a fixed value, such as 18V, there is no way to completely cover power adapters with + VADP reference voltages greater than 19V; for example, when the voltage value of the power adapter is 20V, when + VADP is decreased by 5%, the corresponding voltage value of + VADP is still 19V, the ACDET comparator in the corresponding charging slice cannot be turned over, at this time, after the current-limiting protection of the corresponding power adapter, the + VADP will fall below 18V, and all system loads will be applied to the battery at the corresponding moment, thereby causing a downtime phenomenon. When the system is powered on again, the wattage information of the power adapter corresponding to the previous discharging stage of the current discharging stage during the shutdown is obtained, and the actual wattage information of the external power adapter is obtained.
In step 102, the battery discharge current value and the CPU temperature are used as independent determination conditions, in addition to the power adapter voltage value. This is due to:
the battery is not replaceable for the devices such as the pen system, and is basically built-in and standard-configuration-invariant, so the embodiment uses the battery discharge current as an independent judgment condition, and also has a risk of downtime after the power supply current value of the battery exceeds the current-limiting value of the power adapter while the wattage of the power adapter is completely occupied in the step-by-step discharge process. In addition, based on the Turbo characteristic of the CPU (GPU Turbo is a graphics acceleration technology with soft and hard cooperation, similar to the technology of Turbo charging on automobiles, the performance of the GPU can be improved, the graphics processing efficiency is improved, and the energy consumption is reduced at the same time), battery discharge occurs easily when the system runs due to transient battery power-up, and the judgment is made only by starting the power-up of the battery, which easily results in misjudgment of the corresponding wattage information.
The CPU temperature is taken as an independent judgment condition, so as to effectively ensure the safety of the CPU under various application conditions. Considering that the initial heat treatment measures and related settings of the design of the pen power system are matched with the wattage of the standard power adapter, namely the hottest condition which can occur to the CPU is certainly within the allowable range of the wattage of the standard power adapter; after the wattage of the power adapter is increased externally, whether the external expansion heat dissipation measures exist or not must be ensured that the working temperature of the CPU is within a normal range under each application condition of the pen power complete machine system.
Example two
Referring to fig. 5, the present embodiment provides a wattage information obtaining method for a power adapter under an NVDC charging chip architecture platform, including the steps of:
step 201, after the power adapter is connected to the system, applying a load to the system step by step according to a preset increase amplitude, and prompting the power adapter to discharge the system step by step. As the load increases, the step-by-step discharge process can be divided into a plurality of discharge stages corresponding to different load sizes, and the load corresponding to the previous discharge stage is smaller than that of the next discharge stage.
In this embodiment, after the EC determines that the battery level in the system is greater than 80%, the CPU temperature is lower than 60 degrees, and the battery has no discharging current, the current limit setting of the initial power adapter in the charging chip is released, and a load may be applied to the system step by step according to a preset increase range (e.g., 5%), so as to promote the power adapter to discharge step by step.
Step 202, in the step-by-step discharging process, monitoring whether the step-by-step discharging exit condition is met currently or not in real time, and if yes, exiting the step-by-step discharging.
Specifically, the step-by-step discharge exit condition may include: the transient voltage value of the power adapter is reduced by a preset amplitude (for example, 4%) compared with the initial voltage value, the battery discharge current value exceeds a battery current limiting point set in the charging chip, and the CPU temperature exceeds at least one of preset temperature thresholds.
Both battery discharge current and CPU temperature can be obtained by the EC using conventional techniques and will not be described in detail herein.
For the transient voltage value of the power adapter, the embodiment uses the EC to read from the ADC register inside the charging chip in real time. Referring to the schematic diagram of the input voltage information in the ADC register of the NVDC charging chip (by taking BQ25700A as an example) shown in fig. 6, the data corresponding to bits 8-Bit15 in the BQ25700A 23h register is the real-time + VADP voltage information, and the EC can be obtained by accessing the corresponding address.
And step 203, calculating to obtain the actual wattage information of the external power adapter according to the transient voltage value and the transient current value of the power adapter read in real time when the step-by-step discharge exits.
The transient current value of the power adapter can also be read in real time by the EC from an ADC register inside the charging chip. Referring to the schematic diagram of the ADC register input current information inside the NVDC charging chip (using BQ25700A as an example) shown in fig. 7, data corresponding to bits 8-Bit15 in the BQ25700A 25h register is the real-time power adapter current information, and the EC can obtain the current information by accessing the corresponding address.
The specific calculation method of the actual wattage information of the power adapter comprises the following steps: the transient current value of the power adapter is multiplied by the transient voltage value and then divided by the current limiting factor of 150%.
In this embodiment, the manner in which the NVDC framework charging chip acquires the power adapter information is more flexible and accurate, and the risk of downtime during the system load extraction process is easily avoided.
EXAMPLE III
Corresponding to the first embodiment, the third embodiment provides a wattage information obtaining apparatus of a power adapter, which is suitable for an HPB charging chip architecture platform, and includes: EC and charging chip, step-by-step discharge control unit.
The step-by-step discharging control unit is used for applying loads to the system step by step according to a preset increasing amplitude after the power adapter is connected into the system to promote the power adapter to perform step-by-step discharging, the step-by-step discharging process can be divided into a plurality of discharging stages corresponding to different loads, and the load corresponding to the previous discharging stage is smaller than that of the next discharging stage; the power adapter is also used for controlling the power adapter to quit the step-by-step discharging when receiving the notice of quitting the step-by-step discharging;
the EC is used for monitoring whether the current step-by-step discharge quitting condition is met or not in real time in the step-by-step discharge process, and if yes, sending a quit step-by-step discharge notification to the step-by-step discharge control unit; the step-by-step discharge exit condition includes: the transient voltage value of the power adapter is lower than a preset voltage threshold value, the battery discharge current value exceeds a battery current limiting point, and the CPU temperature exceeds at least one of a preset temperature threshold value; and the wattage control module is also used for acquiring wattage information corresponding to a previous discharging stage of the current discharging stage when the stage-by-stage discharging exits according to the pre-calculated discharging stage and the adapter wattage comparison table, so as to obtain the actual wattage information of the power adapter.
In addition, the EC is further configured to obtain a level state of AC _ OK inside the charging chip in real time, and determine that the transient voltage value of the power adapter is lower than the preset voltage threshold when the AC _ OK is in a low level state.
And the EC is further configured to, during the step-by-step discharging process, if it is monitored that the transient voltage value of the power adapter is lower than the preset voltage threshold, when the step-by-step discharging control unit completes the step-by-step discharging exit operation and the system is abnormally shut down, obtain wattage information corresponding to a previous discharging stage of the current discharging stage during the abnormal shutdown, and obtain actual wattage information of the power adapter.
Example four
Corresponding to the second embodiment, the fourth embodiment provides a wattage information obtaining apparatus of a power adapter, which is suitable for an NVDC charging chip architecture platform, and includes: EC. A charging chip and a step-by-step discharging control unit.
The step-by-step discharging control unit is used for applying loads to the system step by step according to a preset increasing amplitude after the power adapter is connected into the system to promote the power adapter to perform step-by-step discharging, the step-by-step discharging process can be divided into a plurality of discharging stages corresponding to different loads, and the load corresponding to the former discharging stage is smaller than that of the latter discharging stage; the power adapter is also used for controlling the power adapter to quit the step-by-step discharging when receiving a notice of quitting the step-by-step discharging;
the EC is used for monitoring whether the current step-by-step discharge quitting condition is met or not in real time in the step-by-step discharge process, and quitting the step-by-step discharge if the current step-by-step discharge quitting condition is met; the step-by-step discharge exit condition includes: the transient voltage value of the power adapter is reduced by a preset amplitude compared with the initial voltage value, the battery discharge current value exceeds a battery current limiting point set in the charging chip, and the CPU temperature exceeds at least one of a preset temperature threshold value; and the real-time reading module is also used for reading the transient voltage value and the transient current value of the power adapter from an ADC register in the charging chip in real time when the step-by-step discharging exits, and calculating according to the transient voltage value and the transient current value to obtain the actual wattage information of the power adapter.
EXAMPLE five
The embodiment provides an electronic device comprising the wattage information acquisition apparatus according to the third or fourth embodiment. It is understood that the electronic device can be any device capable of being charged by the power adapter, such as a laptop, a mobile phone, a PAD, etc. When the actual wattage information of the power adapter is acquired through the device, the terminal equipment can fully distribute power supply energy according to actual conditions, and the use experience of a user is improved.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (5)

1. A wattage information acquisition method of a power adapter is characterized by comprising the following steps:
after the power adapter is connected to the notebook computer system, gradually applying loads to the notebook computer system according to a preset increasing amplitude to promote the power adapter to discharge step by step, wherein the step-by-step discharging process is divided into a plurality of discharging stages corresponding to different loads, and the load corresponding to the previous discharging stage is smaller than the load of the next discharging stage;
in the step-by-step discharging process, whether the step-by-step discharging exit condition is met or not is monitored in real time, and if yes, the step-by-step discharging exits; the step-by-step discharge exit condition includes: the transient voltage value of the power adapter is lower than a preset voltage threshold value;
acquiring wattage information corresponding to a previous discharging stage of the current discharging stage when the stage-by-stage discharging exits according to a discharging stage and an adapter wattage comparison table obtained by pre-calculation, and obtaining actual wattage information of the power adapter;
the identification method for the transient voltage value of the power adapter to be lower than the preset voltage threshold value comprises the following steps: and acquiring the level state of a comparator turnover signal in the charging chip in real time, and if the level state is a low level state, judging that the transient voltage value of the power adapter is lower than a preset voltage threshold value.
2. The wattage information acquisition method for a power adapter according to claim 1, further comprising: in the step-by-step discharging process, if the transient voltage value of the power adapter is lower than a preset voltage threshold value and the battery discharging current does not exceed a battery current limiting point set in the charging core, the notebook computer system is abnormally shut down before the step-by-step discharging exit operation is completed, when the notebook computer system is restarted, wattage information corresponding to a previous discharging stage of a current discharging stage during abnormal shutdown is obtained, and then the actual wattage information of the power adapter is obtained.
3. A wattage information acquisition apparatus for a power adapter, comprising: the device comprises an embedded controller, a charging chip and a step-by-step discharging control unit;
the step-by-step discharging control unit is used for applying loads to the notebook computer system step by step according to a preset increasing amplitude after the power adapter is connected to the notebook computer system to promote the power adapter to discharge step by step, the step-by-step discharging process is divided into a plurality of discharging stages corresponding to different loads, and the load corresponding to the previous discharging stage is smaller than the load corresponding to the next discharging stage; the power adapter is also used for controlling the power adapter to quit the step-by-step discharging when receiving a notice of quitting the step-by-step discharging;
the embedded controller is used for monitoring whether the current step-by-step discharge quitting condition is met or not in real time in the step-by-step discharge process, and if the current step-by-step discharge quitting condition is met, sending a quitting step-by-step discharge notification to the step-by-step discharge control unit; the step-by-step discharge exit condition includes: the transient voltage value of the power adapter is lower than a preset voltage threshold value; the power adapter is also used for acquiring wattage information corresponding to a previous discharging stage of the current discharging stage when the step-by-step discharging exits according to a discharging stage and adapter wattage comparison table obtained by pre-calculation, so as to obtain the actual wattage information of the power adapter;
the embedded controller is further configured to obtain a level state of a comparator flip signal inside the charging chip in real time, and determine that the transient voltage value of the power adapter is lower than a preset voltage threshold when the comparator flip signal is in a low level state.
4. The apparatus according to claim 3, wherein the embedded controller is further configured to, during the step-by-step discharging process, if it is monitored that the transient voltage value of the power adapter is lower than a preset voltage threshold and the battery discharging current does not exceed a battery current limiting point set in the charging core, when the step-by-step discharging control unit completes the step-by-step discharging exit operation, obtain wattage information corresponding to a previous discharging stage of a current discharging stage during abnormal shutdown, and obtain actual wattage information of the power adapter.
5. An electronic device characterized by comprising the wattage information acquisition means of the power adapter according to claim 3 or 4.
CN201910809291.1A 2019-08-29 2019-08-29 Wattage information acquisition method and device of power adapter and electronic equipment Active CN110456147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910809291.1A CN110456147B (en) 2019-08-29 2019-08-29 Wattage information acquisition method and device of power adapter and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910809291.1A CN110456147B (en) 2019-08-29 2019-08-29 Wattage information acquisition method and device of power adapter and electronic equipment

Publications (2)

Publication Number Publication Date
CN110456147A CN110456147A (en) 2019-11-15
CN110456147B true CN110456147B (en) 2021-12-24

Family

ID=68489876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910809291.1A Active CN110456147B (en) 2019-08-29 2019-08-29 Wattage information acquisition method and device of power adapter and electronic equipment

Country Status (1)

Country Link
CN (1) CN110456147B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538587A (en) * 2003-03-31 2004-10-20 ��ʽ�����Ŷ�Ƶ�������� AC Adaptor power supply apparatus
CN102201747A (en) * 2010-03-23 2011-09-28 鸿富锦精密工业(深圳)有限公司 Voltage converting equipment
CN102200826A (en) * 2010-03-25 2011-09-28 联想(北京)有限公司 Power adapter and portable computer
CN106026705A (en) * 2016-06-24 2016-10-12 深圳创维-Rgb电子有限公司 Adapter
CN106712210A (en) * 2017-02-16 2017-05-24 杰华特微电子(杭州)有限公司 Power equipment and charging control method therefor
CN107332313A (en) * 2017-08-16 2017-11-07 联想(北京)有限公司 Electronic equipment and its charging method
CN107918076A (en) * 2015-06-12 2018-04-17 广东欧珀移动通信有限公司 A kind of power supply adaptor detection method and power supply adaptor detection device
CN110286733A (en) * 2019-06-28 2019-09-27 无锡睿勤科技有限公司 Method, equipment and the storage medium of Electric adapter adaptive setting cpu performance

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538587A (en) * 2003-03-31 2004-10-20 ��ʽ�����Ŷ�Ƶ�������� AC Adaptor power supply apparatus
CN102201747A (en) * 2010-03-23 2011-09-28 鸿富锦精密工业(深圳)有限公司 Voltage converting equipment
CN102200826A (en) * 2010-03-25 2011-09-28 联想(北京)有限公司 Power adapter and portable computer
CN107918076A (en) * 2015-06-12 2018-04-17 广东欧珀移动通信有限公司 A kind of power supply adaptor detection method and power supply adaptor detection device
CN106026705A (en) * 2016-06-24 2016-10-12 深圳创维-Rgb电子有限公司 Adapter
CN106712210A (en) * 2017-02-16 2017-05-24 杰华特微电子(杭州)有限公司 Power equipment and charging control method therefor
CN107332313A (en) * 2017-08-16 2017-11-07 联想(北京)有限公司 Electronic equipment and its charging method
CN110286733A (en) * 2019-06-28 2019-09-27 无锡睿勤科技有限公司 Method, equipment and the storage medium of Electric adapter adaptive setting cpu performance

Also Published As

Publication number Publication date
CN110456147A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
US9411398B2 (en) Electronic device and method to extend battery life
CN106445078B (en) Dynamic response improvement of hybrid power boost techniques
TWI532293B (en) Charging method and portable electronic apparatus using the same
CN114156971B (en) Method, device and equipment for controlling energy storage charge and discharge and energy storage system
CN107394841A (en) A kind of storage device and its standby electric method for charging batteries and control device
US20150277535A1 (en) Controlling the cpu slew rates based on the battery state of charge
TWI511409B (en) Power management method, apparatus and chip and non-transitory computer readable recording medium
US10534420B2 (en) Electronic devices, electronic systems, and control methods therefor
CN111240458B (en) CPU frequency reduction method, system and portable computer
CN103677199A (en) Information processing method and electronic equipment
CN110456147B (en) Wattage information acquisition method and device of power adapter and electronic equipment
EP3148038B1 (en) Charging control method and apparatus, terminal and computer storage medium
CN114142550A (en) Control method and device of energy storage device and energy storage device
US20110127968A1 (en) Method Of Managing A Rechargeable Battery For An Electronic Device
TW201328117A (en) Power management system and method
CN113872303B (en) Charging control method, device, electronic device and storage medium
CN114221403B (en) Charging method and charging device
CN112713632B (en) Control method and device for variable pitch system super capacitor charging equipment and terminal equipment
CN104679133B (en) Computer device
US12242321B2 (en) Power management method and electronic device using same
US20250208680A1 (en) Information processing apparatus and control method
EP3968487A1 (en) Charging current control method, electronic device, and power supply apparatus
CN115459427B (en) Auxiliary power supply control method, device, equipment, uninterruptible power supply and medium
CN115118004B (en) UPS control method and control terminal
CN116317057B (en) Control method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant