CN118353136A - Power supply control method and electronic equipment - Google Patents
Power supply control method and electronic equipment Download PDFInfo
- Publication number
- CN118353136A CN118353136A CN202410485377.4A CN202410485377A CN118353136A CN 118353136 A CN118353136 A CN 118353136A CN 202410485377 A CN202410485377 A CN 202410485377A CN 118353136 A CN118353136 A CN 118353136A
- Authority
- CN
- China
- Prior art keywords
- chip
- power
- battery
- control unit
- saving mode
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 2
- 238000007599 discharging Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
Landscapes
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
- Power Sources (AREA)
Abstract
The application discloses a power supply control method and electronic equipment, wherein the method comprises the following steps: when the electronic equipment is in a power-off state, a first signal is sent to a second power chip through a deep power-saving mode control module, and the second power chip is adjusted to be in the power-off state so that the control unit is in a deep power-saving mode; if the electric quantity value of the battery is smaller than the first electric quantity threshold value, a second signal is sent to the second power chip through the deep power saving mode control module, and the second power chip is adjusted to be in an on state, so that the control unit is switched from the deep power saving mode to the working mode; the control unit sends a third signal to the third power chip, and the third power chip is adjusted to be in a closed state so as to prevent the third power chip from converting USB working voltage for the USB charging chip; and sending a fourth signal to the USB charging chip through the control unit, and adjusting the USB charging chip to be in a closed state so as to prevent the USB charging chip from outputting USB working voltage to the USB interface.
Description
Technical Field
The present application relates to the field of power supply control, and in particular, to a power supply control method and an electronic device.
Background
Under the condition that the electronic equipment is in a shutdown state, the battery is usually in a discharge state so as to maintain the charging function of the USB interface, in order to prevent the overdischarge of the battery, the embedded controller EC can monitor the electric quantity of the battery, and when the electric quantity of the battery is too low, the embedded controller can close the USB charging chip, so that the charging function of the USB interface is closed, and the external power receiving equipment is prevented from causing the overdischarge of the battery, therefore, the embedded controller cannot enter a deep power saving mode, and the power supply of the embedded controller needs to be started. If the charging function of the USB interface is closed in the shutdown state, the embedded controller does not need to monitor the electric quantity of the battery, and can enter a deep power saving mode, so that the power supply of the embedded controller can be closed, the energy consumption is saved, but the charging function of the USB interface is closed, the USB interface cannot be charged in the shutdown state, and the user experience is influenced.
Disclosure of Invention
In order to solve the above technical problems, an embodiment of the present application provides a power supply control method, which is applied to an electronic device, where the electronic device includes a battery assembly and a control unit, the battery assembly includes a battery, a first power chip, a second power chip, a third power chip and a USB charging chip, the control unit includes a deep power saving mode control module, the first power chip is used to convert a voltage of the battery into a first working voltage of the deep power saving mode control module, the second power chip is used to convert the voltage of the battery into a second working voltage of the control unit, the third power chip is used to convert the voltage of the battery into a USB working voltage of a USB interface, and the USB charging chip is used to output the USB working voltage to the USB interface, and the method includes:
when the electronic equipment is in a power-off state, a first signal is sent to the second power chip through the deep power-saving mode control module, and the second power chip is adjusted to be in the power-off state so that the control unit is in a deep power-saving mode;
determining whether a charge value of the battery is less than a first charge threshold;
If the electric quantity value of the battery is smaller than the first electric quantity threshold value, a second signal is sent to the second power chip through the deep power saving mode control module, and the second power chip is adjusted to be in an on state, so that the control unit is switched from the deep power saving mode to the working mode;
Transmitting a third signal to the third power chip through the control unit, and adjusting the third power chip to be in a closed state so as to prevent the third power chip from converting USB working voltage for the USB charging chip;
And sending a fourth signal to the USB charging chip through the control unit, and adjusting the USB charging chip to be in a closed state so as to prevent the USB charging chip from outputting USB working voltage to the USB interface.
Optionally, if the electric quantity value of the battery is smaller than the first electric quantity threshold, the deep power saving mode control module sends a second signal to the second power chip, and adjusts the second power chip to be in an on state, so that the control unit is switched from the deep power saving mode to the working mode, and the method includes:
if the electric quantity value of the battery is smaller than the first electric quantity threshold value, triggering a wake-up signal through the battery;
The wake-up signal is sent to the deep power saving mode control module, so that the deep power saving mode control module sends the second signal to the second power chip, and the second power chip is adjusted to be in an on state;
and outputting a second working voltage to the control unit through the second power chip so as to enable the control unit to be switched from a deep power saving mode to a working mode.
Optionally, the method further comprises:
Sending an SMBUS signal to the battery through the control unit so as to acquire the electric quantity value of the battery;
And determining whether to turn off the third power chip and the USB charging chip based on the electric quantity value of the battery.
Optionally, the method further comprises:
If the electric quantity value of the battery is not smaller than the first electric quantity threshold value, a fifth signal is sent to the third power chip through the deep power saving mode control module, and the third power chip is adjusted to be in an on state so that the third power chip converts USB working voltage for the USB charging chip;
And sending a sixth signal to the USB charging chip through the deep power saving mode control module, and adjusting the USB charging chip to be in an on state so that the USB charging chip outputs USB working voltage to the USB interface.
Optionally, the method further comprises:
And under the condition that the electronic equipment is in a shutdown state or an on state, sending a first instruction to the low-dropout linear voltage regulator through the first power chip so that the low-dropout linear voltage regulator converts the voltage of the battery into a first working voltage of the deep power saving mode control module.
Optionally, the method further comprises:
And under the condition that the electronic equipment is in a shutdown state or an on state, sending a second instruction to the low-dropout linear voltage regulator through the second power chip so as to enable the low-dropout linear voltage regulator to convert the voltage of the battery into a second working voltage of the control unit.
Optionally, the method further comprises:
and under the condition that the electronic equipment is in a shutdown state or an on state, sending a third instruction to the pulse width modulation circuit through the third power chip so that the pulse width modulation circuit converts the voltage of the battery into the USB working voltage of the USB interface.
In another aspect, an embodiment of the present application further provides an electronic device, including:
The battery assembly comprises a battery, a first power chip, a second power chip, a third power chip and a USB charging chip, and the control unit comprises a deep power saving mode control module; the first power chip is connected with the deep power saving mode control module and is used for converting the voltage of the battery into a first working voltage of the deep power saving mode control module; the second power chip is connected with the control unit and is used for converting the voltage of the battery into a second working voltage of the control unit; the third power chip is connected with the USB charging chip, the USB charging chip is connected with the USB interface, the third power chip is used for converting the voltage of the battery into the USB working voltage of the USB interface, and the USB charging chip is used for outputting the USB working voltage to the USB interface;
The deep power saving mode control module is connected with the second power chip, and is used for sending a first signal to the second power chip when the electronic equipment is in a power-off state, and adjusting the second power chip to be in a power-off state so as to enable the control unit to be in a deep power saving mode;
the deep power saving mode control module is further configured to send a second signal to the second power chip when the electric quantity value of the battery is smaller than the first electric quantity threshold value, and adjust the second power chip to an on state, so that the control unit is switched from the deep power saving mode to a working mode;
The control unit is connected with the third power chip and is used for sending a third signal to the third power chip, and the third power chip is adjusted to be in a closed state so as to prevent the third power chip from converting USB working voltage for the USB charging chip;
The control unit is connected with the USB charging chip, and is further used for sending a fourth signal to the USB charging chip and adjusting the USB charging chip to be in a closed state so as to prevent the USB charging chip from outputting USB working voltage to the USB interface.
Optionally, the deep power saving mode control module is connected with the battery, and the battery is used for triggering a wake-up signal when the electric quantity value of the battery is smaller than the first electric quantity threshold value; the battery is further used for sending the wake-up signal to the deep power saving mode control module, so that the deep power saving mode control module sends the second signal to the second power chip, and the second power chip is adjusted to be in an on state;
The second power chip is further configured to output a second operating voltage to the control unit, so that the control unit switches from a deep power saving mode to an operating mode.
Optionally, the control unit is connected with the battery, and the control unit is further configured to send an SMBUS signal to the battery to obtain an electric quantity value of the battery; the control unit is further configured to determine whether to turn off the third power chip and the USB charging chip based on an electric quantity value of the battery.
Compared with the prior art, the embodiment of the application has the beneficial effects that: according to the application, under the condition that the electronic equipment is in the power-off state, the second power supply chip is turned off by the deep power-saving mode control module, so that the control unit is in the deep power-saving mode, and meanwhile, the third power supply chip and the USB charging chip are kept in the enabling state, so that the charging function of the USB interface is kept on under the condition that the electronic equipment is turned off. If the electric quantity value of the battery is lower, the second power chip is adjusted to be in an on state, so that the control unit is switched from a deep power saving mode to a working mode, and the third power chip and the USB charging chip are adjusted to be in an off state through the control unit, so that the charging function of the USB interface is closed, and overdischarge of the battery is avoided.
Drawings
FIG. 1 is a flow chart of a power supply control method according to an embodiment of the application;
FIG. 2 is a flow chart of one embodiment of step S300 of FIG. 1 according to an embodiment of the present application;
FIG. 3 is another flowchart of a power control method according to an embodiment of the present application;
FIG. 4 is a flow chart of a power supply control method according to an embodiment of the application;
FIG. 5 is a block diagram of an electronic device according to an embodiment of the application;
fig. 6 is a schematic diagram of a power supply control method according to an embodiment of the application.
Reference numerals:
A 100-cell assembly; 200-a control unit; 10-a first power chip; 20-a second power chip; 30-a third power chip; a 40-USB charging chip; 50-cell; a 60-deep power saving mode control module; 70-USB interface.
Detailed Description
Various aspects and features of the present application are described herein with reference to the accompanying drawings.
It should be understood that various modifications may be made to the embodiments of the application herein. Therefore, the above description should not be taken as limiting, but merely as exemplification of the embodiments. Other modifications within the scope and spirit of the application will occur to persons of ordinary skill in the art.
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and, together with a general description of the application given above, and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the application will become apparent from the following description of a preferred form of embodiment, given as a non-limiting example, with reference to the accompanying drawings.
It is also to be understood that, although the application has been described with reference to some specific examples, those skilled in the art can certainly realize many other equivalent forms of the application.
The above and other aspects, features and advantages of the present application will become more apparent in light of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application will be described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application in unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not intended to be limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the word "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the application.
As shown in fig. 1, 5 and 6, an embodiment of the present application provides a power supply control method, which is applied to an electronic device, such as a notebook computer, a desktop computer, etc., having a USB interface, the electronic device including a battery assembly 100 and a control unit 200, the battery assembly 100 including a battery 50, a first power chip 10, a second power chip 20, a third power chip 30 and a USB charging chip 40, the control unit 200 including an embedded controller EC, the control unit 200 including a deep power saving mode control module 60, the first power chip 10 being configured to convert a voltage of the battery 50 into a first operating voltage of the deep power saving mode control module 60, the second power chip 20 being configured to convert the voltage of the battery 50 into a second operating voltage of the control unit 200, the third power chip 30 being configured to convert the voltage of the battery 50 into a USB operating voltage of the USB interface 70, the USB charging chip 40 being configured to output the USB operating voltage to the USB interface 70, the method including:
S100, when the electronic device is in a power-off state, a first signal is sent to the second power chip 20 through the deep power-saving mode control module 60, and the second power chip 20 is adjusted to be in a power-off state, so that the control unit 200 is in the deep power-saving mode;
In this embodiment, when the electronic device is in the off state, the battery 50 is in the discharging state to supply power to the components of the electronic device, for example, the battery 50 may supply power to the USB interface 70 of the electronic device. After the electronic device is adjusted to the power-off state, the control unit 200 can be adjusted from the working mode to the deep power-saving mode to save the electric quantity of the battery 50; meanwhile, the deep power saving mode control module 60 may be maintained in an enabled state, and the operating state of the battery chip is controlled by the deep power saving mode control module 60 when the control unit 200 is in the deep power saving mode. Specifically, the deep power saving mode control module 60 may send a first signal to the second power chip 20, adjust the second power chip 20 to be turned off, the first signal is an enable signal for adjusting the second power chip 20 to be turned off, and adjust the second power chip 20 to be turned off, so as to prevent the second power chip 20 from converting the voltage of the battery 50 to the second operating voltage of the control unit 200, and the control unit 200 may switch from the operating mode to the deep power saving mode.
For example, the voltage of the battery 50 is 13V, and when the electronic device is in an operating state, the battery 50 converts the voltage to the second operating voltage vcc3.3v of the control unit 200 through the second power chip 20. After the electronic device is turned off, the deep power saving mode control module 60 may send a low level signal to the second power chip 20, so that the second power chip 20 is turned off, the second power chip 20 stops outputting the second operating voltage Vcc3.3V of the control unit 200, and the control unit 200 is switched from the operating mode to the deep power saving mode.
After the control unit 200 is adjusted to the deep power saving mode, the third power chip 30 and the USB charging chip 40 are kept in an enabled state, so that the charging function of the USB interface 70 can be kept on under the condition that the electronic device is turned off.
S200, determining whether the electric quantity value of the battery 50 is smaller than a first electric quantity threshold value;
In the present embodiment, in the case where the electronic device is in the off state, and after the control unit 200 is in the deep power saving mode, it is determined whether the power value of the battery 50 is less than the first power threshold. The first power threshold may be 20% of the power value of the battery 50, or may be 5% or 1% of the power value of the battery 50, and may be set according to circumstances.
If the battery 50 has a lower power level than the first power threshold, the charging function of the USB interface 70 needs to be turned off to avoid overdischarging the battery 50. If the electric quantity value of the battery 50 is not less than the first electric quantity threshold value, the voltage of the battery 50 can be converted into the USB working voltage of the USB interface 70, so that the charging function of the USB interface 70 is kept on.
S300, if the electric quantity value of the battery 50 is smaller than the first electric quantity threshold value, a second signal is sent to the second power chip 20 through the deep power saving mode control module 60, and the second power chip 20 is adjusted to be in an on state, so that the control unit 200 is switched from the deep power saving mode to the working mode;
In this embodiment, if the power level of the battery 50 is smaller than the first power level threshold, it indicates that the power level of the battery 50 is lower, and in this case, the charging function of the USB interface 70 needs to be turned off by the control unit 200. The deep power saving mode control module 60 sends a second signal to the second power chip 20 to adjust the second power chip 20 to an on state, the second signal is an enable signal to adjust the second power chip 20 to the on state, and the second power chip 20 is adjusted to the on state, so that the voltage of the battery 50 can be converted into a second working voltage of the control unit 200 by using the second power chip 20, and the control unit 200 can be switched from the deep power saving mode to the working mode.
For example, when the power value of the battery 50 is low, the deep power saving mode control module 60 may send a high level signal to the second power chip 20, so as to turn on the second power chip 20, the second power chip 20 may output the second operating voltage Vcc 3.3V of the control unit 200, and the control unit 200 may switch from the deep power saving mode to the operating mode.
S400, sending a third signal to the third power chip 30 through the control unit 200, and adjusting the third power chip 30 to be in a closed state so as to prevent the third power chip 30 from converting the USB working voltage for the USB charging chip 40;
In the present embodiment, after the control unit 200 is switched from the deep power saving mode to the operation mode, the control unit 200 needs to turn off the charging function of the USB interface 70 due to the low power value of the battery 50. The control unit 200 sends a third signal to the third power chip 30, and adjusts the third power chip 30 to be in an off state, the third signal is an enable signal for adjusting the third power chip 30 to be in an off state, and adjusts the third power chip 30 to be in an off state, so that the third power chip 30 can be prevented from converting the USB working voltage for the USB charging chip 40.
For example, when the third power chip 30 of the battery 50 is turned on, the battery 50 converts the voltage into the USB operating voltage Sys 5V through the third power chip 30. When the electric quantity value of the battery 50 is low, the control unit 200 may send a low level signal to the third power chip 30, thereby turning off the third power chip 30, and the third power chip 30 stops converting the USB operating voltage Sys 5V for the USB charging chip 40.
S500, the control unit 200 sends a fourth signal to the USB charging chip 40 to adjust the USB charging chip 40 to be in a closed state, so as to prevent the USB charging chip 40 from outputting a USB working voltage to the USB interface 70.
In this embodiment, after the control unit 200 adjusts the third power chip 30 to the off state, the control unit 200 sends a fourth signal to the USB charging chip 40 to adjust the USB charging chip 40 to the off state, the fourth signal is an enable signal for adjusting the USB charging chip 40 to the off state, and the USB charging chip 40 is adjusted to the off state, so that the USB charging chip 40 is prevented from outputting the USB operating voltage to the USB interface 70.
For example, when the USB charging chip 40 of the battery 50 is turned on, the third power chip 30 outputs the USB operating voltage Sys 5V to the USB interface 70 through the USB charging chip 40, so that the external device connected to the USB interface 70 can be charged. When the electric quantity value of the battery 50 is low, the control unit 200 may send a low level signal to the USB charging chip 40, so as to turn off the USB charging chip 40, and the USB charging chip 40 stops outputting the USB operating voltage Sys 5V to the USB interface 70.
In the above manner, when the electronic device is in the power-off state, the deep power-saving mode control module 60 is utilized to turn off the second power chip 20, so that the control unit 200 is in the deep power-saving mode, and simultaneously the third power chip 30 and the USB charging chip 40 are kept in the enabled state, so that the charging function of the USB interface 70 is kept on when the electronic device is turned off. If the electric quantity value of the battery 50 is low, the second power chip 20 is adjusted to be in an on state, so that the control unit 200 is switched from the deep power saving mode to the working mode, and the third power chip 30 and the USB charging chip 40 are adjusted to be in an off state by the control unit 200, so that the charging function of the USB interface 70 is turned off, and the overdischarge of the battery 50 is avoided.
In one embodiment of the present application, as shown in fig. 2, 5 and 6, if the power level of the battery 50 is smaller than the first power level threshold, the deep power saving mode control module 60 sends a second signal to the second power chip 20, and adjusts the second power chip 20 to be in an on state, so that the control unit 200 switches from the deep power saving mode to the working mode, including:
S310, triggering a wake-up signal through the battery 50 if the electric quantity value of the battery 50 is smaller than the first electric quantity threshold value;
In this embodiment, if the electric quantity value of the battery 50 is smaller than the first electric quantity threshold, that is, the electric quantity value of the battery 50 is lower, the control unit 200 is required to adjust the third power chip 30 and the USB charging chip 40 to be in the off state, so as to turn off the charging function of the USB interface 70. When the power level of the battery 50 is less than the first power threshold, the battery 50 triggers an alarm output, thereby triggering a wake-up signal to adjust the control unit 200 to an on state.
S320, the wake-up signal is sent to the deep power saving mode control module 60, so that the deep power saving mode control module 60 sends the second signal to the second power chip 20, and the second power chip 20 is adjusted to be in an on state;
In this embodiment, if the electric quantity value of the battery 50 is low, after the battery 50 triggers the wake-up signal, the wake-up signal is sent to the deep power saving mode control module 60, and the deep power saving mode control module 60 can send a second signal to the second power chip 20 based on the wake-up signal to adjust the second power chip 20 to be in an on state. Since the second power chip 20 is used to convert the voltage of the battery 50 into the second operating voltage of the control unit 200, the second power chip 20 is turned on, and the control unit 200 can be supplied with power through the second power chip 20.
S330, outputting a second working voltage to the control unit 200 through the second power chip 20, so that the control unit 200 is switched from the deep power saving mode to the working mode.
In the present embodiment, after the second power chip 20 is adjusted to be in the on state by the deep power saving mode control module 60, the second operating voltage is output to the control unit 200 by the second power chip 20, so that the control unit 200 is switched from the deep power saving mode to the operating mode. Specifically, after the second power chip 20 is enabled in the deep power saving mode, the second power chip 20 converts the voltage of the battery 50 into a second operating voltage of the control unit 200, and then outputs the second operating voltage to the control unit 200, the control unit 200 switches from the deep power saving mode to the operating mode, and the charging function of the USB interface 70 can be turned off by the control unit 200.
In one embodiment of the present application, as shown in fig. 3, 5 and 6, the method further comprises:
S600 of transmitting an SMBUS signal to the battery 50 through the control unit 200 to acquire an electric quantity value of the battery 50;
In the present embodiment, after the control unit 200 is switched from the deep power saving mode to the operation mode, the electric power value of the battery 50 can be detected by the control unit 200. Specifically, the control unit 200 may send the SMBUS signal to the battery 50 to directly obtain the electric quantity value of the battery 50, so as to determine whether to turn off the charging function of the USB interface 70 according to the specific electric quantity value of the battery 50.
S700, based on the electric quantity value of the battery 50, it is determined whether to turn off the third power chip 30 and the USB charging chip 40.
In the present embodiment, after the control unit 200 obtains the power value of the battery 50, it may be determined whether to turn off the third power chip 30 and the USB charging chip 40 based on the power value of the battery 50. If the electric quantity value of the battery 50 is low, the control unit 200 is required to adjust the third power chip 30 and the USB charging chip 40 to be in the off state, so as to turn off the charging function of the USB interface 70. If the charge value of the battery 50 is not lower than the discharge threshold of the battery 50, the third power chip 30 and the USB charging chip 40 can be kept in the enabled state, so that the charging function of the USB interface 70 is kept on.
In one embodiment of the present application, as shown in fig. 4,5 and 6, the method further comprises:
S800, if the electric quantity value of the battery 50 is not less than the first electric quantity threshold value, sending a fifth signal to the third power chip 30 through the deep power saving mode control module 60, and adjusting the third power chip 30 to be in an on state, so that the third power chip 30 converts the USB working voltage for the USB charging chip 40;
In this embodiment, if the electric quantity value of the battery 50 is not less than the first electric quantity threshold, it indicates that the electric quantity of the battery 50 can supply power to the USB interface 70 to maintain the charging function. The deep power saving mode control module 60 sends a fifth signal to the third power chip 30 to adjust the third power chip 30 to an on state, the fifth signal is an enable signal for adjusting the third power chip 30 to an on state, for example, the deep power saving mode control module 60 may send a high level signal to the third power chip 30 to adjust the third power chip 30 to an on state, and then the voltage of the battery 50 is converted into the USB operating voltage of the USB interface 70 by using the third power chip 30.
S900, the deep power saving mode control module 60 sends a sixth signal to the USB charging chip 40 to adjust the USB charging chip 40 to be in an on state, so that the USB charging chip 40 outputs a USB working voltage to the USB interface 70.
In the present embodiment, the deep power saving mode control module 60 sends a sixth signal to the USB charging chip 40, where the sixth signal is an enable signal for adjusting the USB charging chip 40 to an on state, for example, the deep power saving mode control module 60 may send a high level signal to the USB charging chip 40 to adjust the USB charging chip 40 to an on state, and the USB charging chip 40 may output a USB operating voltage to the USB interface 70 to enable an external device connected to the USB interface 70 to charge.
In one embodiment of the application, the method further comprises:
In the case that the electronic device is in the off state or the on state, a first instruction is sent to the low dropout linear regulator through the first power chip 10, so that the low dropout linear regulator converts the voltage of the battery 50 into the first operating voltage of the deep power saving mode control module 60.
In the present embodiment, in the case that the electronic device is in the off state or the on state, the deep power saving mode control module 60 needs to maintain the enabled state. The first power chip 10 may send a first instruction to the low dropout linear regulator, where the first instruction is an instruction for controlling the low dropout linear regulator to convert the voltage of the battery 50 into the first working voltage of the deep power saving mode control module 60, and after receiving the first instruction sent by the first power chip 10, the low dropout linear regulator converts the voltage of the battery 50 into the first working voltage of the deep power saving mode control module 60, so as to supply power to the deep power saving mode control module 60, and keep the deep power saving mode control module 60 in an enabled state.
In one embodiment of the application, the method further comprises:
In the case that the electronic device is in the off state or the on state, a second instruction is sent to the low dropout linear regulator through the second power chip 20, so that the low dropout linear regulator converts the voltage of the battery 50 into the second operating voltage of the control unit 200.
In this embodiment, if the control unit 200 needs to maintain the enabled state when the electronic device is in the off state or the on state, the second power chip 20 may send a second instruction to the low dropout linear regulator, where the second instruction is an instruction for controlling the low dropout linear regulator to convert the voltage of the battery 50 into the second operating voltage of the control unit 200, and after receiving the second instruction sent by the second power chip 20, the low dropout linear regulator converts the voltage of the battery 50 into the second operating voltage of the control unit 200, so as to supply power to the control unit 200, and maintain the control unit 200 in the enabled state.
In one embodiment of the application, the method further comprises:
In the case that the electronic device is in the off state or the on state, a third instruction is sent to the pwm circuit through the third power chip 30, so that the pwm circuit converts the voltage of the battery 50 into the USB operating voltage of the USB interface 70.
In this embodiment, if the charging function of the USB interface 70 needs to be kept on when the electronic device is in the off state or the on state, the third power chip 30 may send a third instruction to the pwm circuit, where the third instruction is an instruction for controlling the pwm circuit to convert the voltage of the battery 50 into the USB operating voltage of the USB interface 70, and after receiving the third instruction sent by the third power chip 30, the pwm circuit converts the voltage of the battery 50 into the USB operating voltage of the USB interface 70, so as to charge the external device connected to the USB interface 70.
Based on the same inventive concept, as shown in fig. 5 and 6, the present embodiment further includes an electronic device including:
A battery assembly 100 and a control unit 200 connected to each other, the battery assembly 100 including a battery 50, a first power chip 10, a second power chip 20, a third power chip 30, and a USB charging chip 40, the control unit 200 including a deep power saving mode control module 60; the first power chip 10 is connected to the deep power saving mode control module 60, and the first power chip 10 is configured to convert the voltage of the battery 50 into a first working voltage of the deep power saving mode control module 60; the second power chip 20 is connected to the control unit 200, and the second power chip 20 is configured to convert the voltage of the battery 50 into a second operating voltage of the control unit 200; the third power chip 30 is connected with the USB charging chip 40, the USB charging chip 40 is connected with the USB interface 70, the third power chip 30 is configured to convert the voltage of the battery 50 into a USB working voltage of the USB interface 70, and the USB charging chip 40 is configured to output the USB working voltage to the USB interface 70;
the deep power saving mode control module 60 is connected to the second power chip 20, where the deep power saving mode control module 60 is configured to send a first signal to the second power chip 20 when the electronic device is in a power-off state, and adjust the second power chip 20 to be in a power-off state, so that the control unit 200 is in the deep power saving mode;
In this embodiment, when the electronic device is in the off state, the battery 50 is in the discharging state to supply power to the components of the electronic device, for example, the battery 50 may supply power to the USB interface 70 of the electronic device. After the electronic device is adjusted to the power-off state, the control unit 200 can be adjusted from the working mode to the deep power-saving mode to save the electric quantity of the battery 50; meanwhile, the deep power saving mode control module 60 may be maintained in an enabled state, and the operating state of the battery chip is controlled by the deep power saving mode control module 60 when the control unit 200 is in the deep power saving mode. Specifically, the deep power saving mode control module 60 may send a first signal to the second power chip 20, adjust the second power chip 20 to be turned off, the first signal is an enable signal for adjusting the second power chip 20 to be turned off, and adjust the second power chip 20 to be turned off, so as to prevent the second power chip 20 from converting the voltage of the battery 50 to the second operating voltage of the control unit 200, and the control unit 200 may switch from the operating mode to the deep power saving mode.
For example, the voltage of the battery 50 is 13V, and when the electronic device is in an operating state, the battery 50 converts the voltage to the second operating voltage vcc3.3v of the control unit 200 through the second power chip 20. After the electronic device is turned off, the deep power saving mode control module 60 may send a low level signal to the second power chip 20, so that the second power chip 20 is turned off, the second power chip 20 stops outputting the second operating voltage Vcc3.3V of the control unit 200, and the control unit 200 is switched from the operating mode to the deep power saving mode.
After the control unit 200 is adjusted to the deep power saving mode, the third power chip 30 and the USB charging chip 40 are kept in an enabled state, so that the charging function of the USB interface 70 can be kept on under the condition that the electronic device is turned off.
The deep power saving mode control module 60 is further configured to send a second signal to the second power chip 20 to adjust the second power chip 20 to an on state when the power value of the battery 50 is less than the first power threshold, so that the control unit 200 switches from the deep power saving mode to the operation mode;
In this embodiment, if the power level of the battery 50 is smaller than the first power level threshold, it indicates that the power level of the battery 50 is lower, and in this case, the charging function of the USB interface 70 needs to be turned off by the control unit 200. The deep power saving mode control module 60 sends a second signal to the second power chip 20 to adjust the second power chip 20 to an on state, the second signal is an enable signal to adjust the second power chip 20 to the on state, and the second power chip 20 is adjusted to the on state, so that the voltage of the battery 50 can be converted into a second working voltage of the control unit 200 by using the second power chip 20, and the control unit 200 can be switched from the deep power saving mode to the working mode.
For example, when the power value of the battery 50 is low, the deep power saving mode control module 60 may send a high level signal to the second power chip 20, so as to turn on the second power chip 20, the second power chip 20 may output the second operating voltage Vcc 3.3V of the control unit 200, and the control unit 200 may switch from the deep power saving mode to the operating mode.
The control unit 200 is connected to the third power chip 30, and the control unit 200 is configured to send a third signal to the third power chip 30, and adjust the third power chip 30 to an off state, so as to prevent the third power chip 30 from converting a USB working voltage for the USB charging chip 40;
In the present embodiment, after the control unit 200 is switched from the deep power saving mode to the operation mode, the control unit 200 needs to turn off the charging function of the USB interface 70 due to the low power value of the battery 50. The control unit 200 sends a third signal to the third power chip 30, and adjusts the third power chip 30 to be in an off state, the third signal is an enable signal for adjusting the third power chip 30 to be in an off state, and adjusts the third power chip 30 to be in an off state, so that the third power chip 30 can be prevented from converting the USB working voltage for the USB charging chip 40.
For example, when the third power chip 30 of the battery 50 is turned on, the battery 50 converts the voltage into the USB operating voltage Sys 5V through the third power chip 30. When the electric quantity value of the battery 50 is low, the control unit 200 may send a low level signal to the third power chip 30, thereby turning off the third power chip 30, and the third power chip 30 stops converting the USB operating voltage Sys 5V for the USB charging chip 40.
The control unit 200 is connected to the USB charging chip 40, and the control unit 200 is further configured to send a fourth signal to the USB charging chip 40 to adjust the USB charging chip 40 to a closed state, so as to prevent the USB charging chip 40 from outputting a USB working voltage to the USB interface 70.
In this embodiment, after the control unit 200 adjusts the third power chip 30 to the off state, the control unit 200 sends a fourth signal to the USB charging chip 40 to adjust the USB charging chip 40 to the off state, the fourth signal is an enable signal for adjusting the USB charging chip 40 to the off state, and the USB charging chip 40 is adjusted to the off state, so that the USB charging chip 40 is prevented from outputting the USB operating voltage to the USB interface 70.
For example, when the USB charging chip 40 of the battery 50 is turned on, the third power chip 30 outputs the USB operating voltage Sys 5V to the USB interface 70 through the USB charging chip 40, so that the external device connected to the USB interface 70 can be charged. When the electric quantity value of the battery 50 is low, the control unit 200 may send a low level signal to the USB charging chip 40, so as to turn off the USB charging chip 40, and the USB charging chip 40 stops outputting the USB operating voltage Sys 5V to the USB interface 70.
According to the electronic device, when the electronic device is in the power-off state, the second power chip 20 is turned off by the deep power-saving mode control module 60, so that the control unit 200 is in the deep power-saving mode, and meanwhile, the third power chip 30 and the USB charging chip 40 are kept in the enabled state, so that the charging function of the USB interface 70 is kept on under the condition that the electronic device is turned off. If the electric quantity value of the battery 50 is low, the second power chip 20 is adjusted to be in an on state, so that the control unit 200 is switched from the deep power saving mode to the working mode, and the third power chip 30 and the USB charging chip 40 are adjusted to be in an off state by the control unit 200, so that the charging function of the USB interface 70 is turned off, and the overdischarge of the battery 50 is avoided.
In one embodiment of the present application, as shown in figures 5 and 6,
The deep power saving mode control module 60 is connected to the battery 50, where the battery 50 is configured to trigger a wake-up signal when the power value of the battery 50 is less than the first power threshold; the battery 50 is further configured to send the wake-up signal to the deep power saving mode control module 60, so that the deep power saving mode control module 60 sends the second signal to the second power chip 20, and adjust the second power chip 20 to an on state;
In this embodiment, if the electric quantity value of the battery 50 is smaller than the first electric quantity threshold, that is, the electric quantity value of the battery 50 is lower, the control unit 200 is required to adjust the third power chip 30 and the USB charging chip 40 to be in the off state, so as to turn off the charging function of the USB interface 70. When the power level of the battery 50 is less than the first power threshold, the battery 50 triggers an alarm output, thereby triggering a wake-up signal to adjust the control unit 200 to an on state.
After the battery 50 triggers the wake-up signal, the wake-up signal is sent to the deep power saving mode control module 60, and the deep power saving mode control module 60 can send a second signal to the second power chip 20 based on the wake-up signal, so as to adjust the second power chip 20 to be in an on state. Since the second power chip 20 is used to convert the voltage of the battery 50 into the second operating voltage of the control unit 200, the second power chip 20 is turned on, and the control unit 200 can be supplied with power through the second power chip 20.
The second power chip 20 is further configured to output a second operating voltage to the control unit 200, so that the control unit 200 switches from the deep power saving mode to the operating mode.
In the present embodiment, after the second power chip 20 is adjusted to be in the on state by the deep power saving mode control module 60, the second operating voltage is output to the control unit 200 by the second power chip 20, so that the control unit 200 is switched from the deep power saving mode to the operating mode. Specifically, after the second power chip 20 is enabled in the deep power saving mode, the second power chip 20 converts the voltage of the battery 50 into a second operating voltage of the control unit 200, and then outputs the second operating voltage to the control unit 200, the control unit 200 switches from the deep power saving mode to the operating mode, and the charging function of the USB interface 70 can be turned off by the control unit 200.
In one embodiment of the present application, as shown in fig. 5 and 6, the control unit 200 is connected to the battery 50, and the control unit 200 is further configured to send an SMBUS signal to the battery 50 to obtain an electric power value of the battery 50; the control unit 200 is further configured to determine whether to turn off the third power chip 30 and the USB charging chip 40 based on the charge value of the battery 50.
In the present embodiment, after the control unit 200 is switched from the deep power saving mode to the operation mode, the electric power value of the battery 50 can be detected by the control unit 200. Specifically, the control unit 200 may send the SMBUS signal to the battery 50 to directly obtain the electric quantity value of the battery 50, so as to determine whether to turn off the charging function of the USB interface 70 according to the specific electric quantity value of the battery 50.
After the control unit 200 obtains the power value of the battery 50, it may be determined whether to turn off the third power chip 30 and the USB charging chip 40 based on the power value of the battery 50. If the electric quantity value of the battery 50 is low, the control unit 200 is required to adjust the third power chip 30 and the USB charging chip 40 to be in the off state, so as to turn off the charging function of the USB interface 70. If the charge value of the battery 50 is not lower than the discharge threshold of the battery 50, the third power chip 30 and the USB charging chip 40 can be kept in the enabled state, so that the charging function of the USB interface 70 is kept on.
While various embodiments of the present application have been described in detail, the present application is not limited to these specific embodiments, and various modifications and embodiments can be made by those skilled in the art on the basis of the inventive concept, and these modifications and modifications should be included in the scope of the claimed application.
Claims (10)
1. The power supply control method is applied to electronic equipment and is characterized by comprising a battery assembly and a control unit, wherein the battery assembly comprises a battery, a first power chip, a second power chip, a third power chip and a USB charging chip, the control unit comprises a deep power saving mode control module, the first power chip is used for converting the voltage of the battery into a first working voltage of the deep power saving mode control module, the second power chip is used for converting the voltage of the battery into a second working voltage of the control unit, the third power chip is used for converting the voltage of the battery into a USB working voltage of a USB interface, and the USB charging chip is used for outputting the USB working voltage to the USB interface, and the method comprises the following steps:
when the electronic equipment is in a power-off state, a first signal is sent to the second power chip through the deep power-saving mode control module, and the second power chip is adjusted to be in the power-off state so that the control unit is in a deep power-saving mode;
determining whether a charge value of the battery is less than a first charge threshold;
If the electric quantity value of the battery is smaller than the first electric quantity threshold value, a second signal is sent to the second power chip through the deep power saving mode control module, and the second power chip is adjusted to be in an on state, so that the control unit is switched from the deep power saving mode to the working mode;
Transmitting a third signal to the third power chip through the control unit, and adjusting the third power chip to be in a closed state so as to prevent the third power chip from converting USB working voltage for the USB charging chip;
And sending a fourth signal to the USB charging chip through the control unit, and adjusting the USB charging chip to be in a closed state so as to prevent the USB charging chip from outputting USB working voltage to the USB interface.
2. The method of claim 1, wherein if the power level of the battery is less than the first power level threshold, sending, by the deep power saving mode control module, a second signal to the second power chip, and adjusting the second power chip to an on state to switch the control unit from the deep power saving mode to the operation mode, comprises:
if the electric quantity value of the battery is smaller than the first electric quantity threshold value, triggering a wake-up signal through the battery;
The wake-up signal is sent to the deep power saving mode control module, so that the deep power saving mode control module sends the second signal to the second power chip, and the second power chip is adjusted to be in an on state;
and outputting a second working voltage to the control unit through the second power chip so as to enable the control unit to be switched from a deep power saving mode to a working mode.
3. The method according to claim 2, wherein the method further comprises:
Sending an SMBUS signal to the battery through the control unit so as to acquire the electric quantity value of the battery;
And determining whether to turn off the third power chip and the USB charging chip based on the electric quantity value of the battery.
4. The method according to claim 1, wherein the method further comprises:
If the electric quantity value of the battery is not smaller than the first electric quantity threshold value, a fifth signal is sent to the third power chip through the deep power saving mode control module, and the third power chip is adjusted to be in an on state so that the third power chip converts USB working voltage for the USB charging chip;
And sending a sixth signal to the USB charging chip through the deep power saving mode control module, and adjusting the USB charging chip to be in an on state so that the USB charging chip outputs USB working voltage to the USB interface.
5. The method according to claim 1, wherein the method further comprises:
And under the condition that the electronic equipment is in a shutdown state or an on state, sending a first instruction to the low-dropout linear voltage regulator through the first power chip so that the low-dropout linear voltage regulator converts the voltage of the battery into a first working voltage of the deep power saving mode control module.
6. The method according to claim 1, wherein the method further comprises:
And under the condition that the electronic equipment is in a shutdown state or an on state, sending a second instruction to the low-dropout linear voltage regulator through the second power chip so as to enable the low-dropout linear voltage regulator to convert the voltage of the battery into a second working voltage of the control unit.
7. The method according to claim 1, wherein the method further comprises:
and under the condition that the electronic equipment is in a shutdown state or an on state, sending a third instruction to the pulse width modulation circuit through the third power chip so that the pulse width modulation circuit converts the voltage of the battery into the USB working voltage of the USB interface.
8. An electronic device, comprising:
The battery assembly comprises a battery, a first power chip, a second power chip, a third power chip and a USB charging chip, and the control unit comprises a deep power saving mode control module; the first power chip is connected with the deep power saving mode control module and is used for converting the voltage of the battery into a first working voltage of the deep power saving mode control module; the second power chip is connected with the control unit and is used for converting the voltage of the battery into a second working voltage of the control unit; the third power chip is connected with the USB charging chip, the USB charging chip is connected with the USB interface, the third power chip is used for converting the voltage of the battery into the USB working voltage of the USB interface, and the USB charging chip is used for outputting the USB working voltage to the USB interface;
The deep power saving mode control module is connected with the second power chip, and is used for sending a first signal to the second power chip when the electronic equipment is in a power-off state, and adjusting the second power chip to be in a power-off state so as to enable the control unit to be in a deep power saving mode;
the deep power saving mode control module is further configured to send a second signal to the second power chip when the electric quantity value of the battery is smaller than the first electric quantity threshold value, and adjust the second power chip to an on state, so that the control unit is switched from the deep power saving mode to a working mode;
The control unit is connected with the third power chip and is used for sending a third signal to the third power chip, and the third power chip is adjusted to be in a closed state so as to prevent the third power chip from converting USB working voltage for the USB charging chip;
The control unit is connected with the USB charging chip, and is further used for sending a fourth signal to the USB charging chip and adjusting the USB charging chip to be in a closed state so as to prevent the USB charging chip from outputting USB working voltage to the USB interface.
9. The electronic device of claim 8, wherein the electronic device comprises a memory device,
The deep power saving mode control module is connected with the battery, and the battery is used for triggering a wake-up signal under the condition that the electric quantity value of the battery is smaller than the first electric quantity threshold value; the battery is further used for sending the wake-up signal to the deep power saving mode control module, so that the deep power saving mode control module sends the second signal to the second power chip, and the second power chip is adjusted to be in an on state;
The second power chip is further configured to output a second operating voltage to the control unit, so that the control unit switches from a deep power saving mode to an operating mode.
10. The electronic device of claim 8, wherein the electronic device comprises a memory device,
The control unit is connected with the battery and is further used for sending an SMBUS signal to the battery so as to acquire the electric quantity value of the battery; the control unit is further configured to determine whether to turn off the third power chip and the USB charging chip based on an electric quantity value of the battery.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410485377.4A CN118353136A (en) | 2024-04-22 | 2024-04-22 | Power supply control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410485377.4A CN118353136A (en) | 2024-04-22 | 2024-04-22 | Power supply control method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118353136A true CN118353136A (en) | 2024-07-16 |
Family
ID=91822665
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410485377.4A Pending CN118353136A (en) | 2024-04-22 | 2024-04-22 | Power supply control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118353136A (en) |
-
2024
- 2024-04-22 CN CN202410485377.4A patent/CN118353136A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100621101B1 (en) | Electronic device and control method thereof | |
US7863775B2 (en) | Power management and control in electronic equipment | |
KR101445011B1 (en) | Power converter with reduced power consumption when toggling between sleep and normal modes during device charging | |
US6833686B2 (en) | Circuit and method of operation for an adaptive charge rate power supply | |
JP4197189B2 (en) | Circuit for power supply and method of operation | |
US5729061A (en) | Over discharge protection circuit for a rechargeable battery | |
US9966781B2 (en) | Apparatus for battery charger with controlled charge current and associated methods | |
US7420296B2 (en) | Power supply circuit | |
CN101167037B (en) | Systems and methods for disabling power management in a computer system | |
KR100630964B1 (en) | Adapter and elecrtonic device using the same | |
US7679321B2 (en) | Power circuit | |
KR20210087816A (en) | Apparatus for managing battery | |
KR100584324B1 (en) | Apparatus for controlling power in complex mobile terminal | |
JP4336799B2 (en) | Portable electronic device, power supply control circuit and control method for portable electronic device | |
US8115346B2 (en) | Electronic device and external power supply device control method applicable thereto | |
CN113852147B (en) | Power supply device of display screen and electronic equipment | |
CN118353136A (en) | Power supply control method and electronic equipment | |
CN112600283B (en) | Startup and shutdown circuit | |
CN111045506B (en) | Control method and electronic equipment | |
US11128149B2 (en) | Charging apparatus | |
CN110148992B (en) | Charging control method, terminal device and storage medium | |
CN209805473U (en) | Control circuit and charger of power supply | |
KR101359091B1 (en) | Apparatus for power managing/controlling in portable electron equipment and method thereof | |
CA2419497C (en) | Circuit and method of operation for an adaptive charge rate power supply | |
TWI488519B (en) | A wireless communication device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination |