Control method and control circuit
By switching power supply paths in electronic devices and switching from energy storage components to external power supply, the problem of power supply in battery under charging state is solved, extending battery life and ensuring the normal operation of the power amplifier.
Patent Information
- Application Number
- CN202411865480.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-17
- Publication Date
- 2025-03-21
AI Technical Summary
When the battery of an electronic device is in a charged state, it directly supplies power to the power amplifier, resulting in a decrease in the power capacity and reducing the battery's service life.
By determining that the electronic device is in an external power supply state, switching the power supply object of the second target element, switching from the energy storage element to the first power supply path to supply power, avoiding repeated charge and discharge of the energy storage element in the charging state.
It extends the service life of the battery, avoids the aging of energy storage components due to repeated charging and discharging, and ensures the normal operation of the power amplifier.
Smart Images

Figure CN119675228A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power supply control, and in particular to a processing method and a control circuit. Background Art
[0002] At present, electronic devices are usually equipped with power amplifiers to enhance the playback effect of audio devices. The power amplifier requires a high amount of power. In the prior art, the power amplifier is usually powered directly by the battery of the electronic device to enable the power amplifier to work normally and ensure the stability of the power supply system of the electronic device. However, when the battery of the electronic device is in a charging state, the battery will still directly power the power amplifier, and the battery will experience a decrease in power while being charged, which reduces the battery life and affects the user experience. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a control method and a control circuit.
[0004] In a first aspect, an embodiment of the present application provides a control method, including:
[0005] Determining that the electronic device is in an external power supply state, wherein the external power supply supplies power to at least a first target element of the electronic device through a first power supply path, the external power supply charges the energy storage element through a second power supply path, and the energy storage element supplies power to at least a second target element;
[0006] It is determined that the use state of the first target element meets the first target condition, and the power supply object of the second target element is switched from being powered by the energy storage element to being powered by the first power supply path.
[0007] Optionally, determining that the usage status of the first target element satisfies a first target condition includes:
[0008] Determine that the first target element switches from a first state to a second state, wherein power consumed by the first target element in the first state is greater than power consumed by the first target element in the second state, and a power difference between power consumed by the first target element in the first state and power consumed by the first target element in the second state is greater than power consumed by the second target element.
[0009] Optionally, the method further comprises:
[0010] Determine that the second target element meets a second target condition, and switch the power supply of the second target element from the energy storage element to the first power supply path, wherein the second target condition indicates that the power consumption of the second target element is greater than the charging power of the energy storage element.
[0011] Optionally, the method further comprises:
[0012] Determine that the energy storage element satisfies a third target condition, and switch the power supply of the second target element from being supplied by the energy storage element to being supplied by the first power supply path, wherein the third target condition indicates that the current power of the energy storage element is greater than a preset charge amount, or the current state of charge of the energy storage element is greater than a preset state of charge.
[0013] Optionally, the method further comprises:
[0014] In response to the usage status of the first target element satisfying the first target condition, the power supply path of the second target element is switched by the switch unit of the electronic device, so that the power supply object of the second target element is converted from being powered by the energy storage element to being powered by the first power supply path.
[0015] Optionally, the first target element is a display element, the second target element is a power control element, and the determining that the use state of the first target element meets the first target condition includes:
[0016] The power consumption of the display element on the first power supply path is reduced from the first power to the second power, and the change amount satisfies a preset threshold; or,
[0017] The usage state of the display element is adjusted from a screen-on state to a screen-off state.
[0018] In a second aspect, an embodiment of the present application further provides a control circuit, including:
[0019] A first power supply path, comprising a first input interface, for obtaining a power supply voltage from an external power source, wherein the first power supply path is provided with a power management unit, and an output interface of the power management unit is used to supply power to at least a first target element of the electronic device;
[0020] A second power supply path, comprising a second input interface, for obtaining a power supply voltage from the external power supply, the second power supply path being used to charge an energy storage element, the energy storage element supplying power to at least a second target element;
[0021] The controller, in response to the external power supply being in a power supply state, determines that the use state of the first target element meets the first target condition, and switches the power supply object of the second target element from being powered by the energy storage element to being powered by the first power supply.
[0022] Optionally, determining that the usage status of the first target element satisfies a first target condition includes:
[0023] Determine that the first target element switches from a first state to a second state, wherein power consumed by the first target element in the first state is greater than power consumed by the first target element in the second state, and a power difference between power consumed by the first target element in the first state and power consumed by the first target element in the second state is greater than power consumed by the second target element.
[0024] Optionally, the controller is further configured to:
[0025] Determine that the second target element meets a second target condition, and switch the power supply of the second target element from the energy storage element to the first power supply path, wherein the second target condition indicates that the power consumption of the second target element is greater than the charging power of the energy storage element.
[0026] Optionally, the control circuit further includes:
[0027] A switch unit, wherein the switch unit is used to, in response to the use status of the first target element satisfying the first target condition, perform a switching operation on the power supply path of the second target element, so that the power supply object of the second target element is converted from being powered by the energy storage element to being powered by the output interface of the first power supply path. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The following drawings of the present disclosure are used as a part of the present disclosure for understanding the present disclosure. The embodiments of the present disclosure are shown in the drawings and the description thereof is used to explain the principle of the present disclosure.
[0029] Figure 1 A flow chart of a control method according to an embodiment of the present application;
[0030] Figure 2 Another flow chart of the control method of the embodiment of the present application;
[0031] Figure 3 is another flow chart of the control method of the embodiment of the present application;
[0032] Figure 4 A flowchart of a specific embodiment of the control method of the embodiment of the present application;
[0033] Figure 5 A schematic diagram of the structure of a control circuit according to an embodiment of the present application;
[0034] Figure 6 A schematic diagram of a second target element in a control circuit according to an embodiment of the present application being powered by an energy storage element;
[0035] Figure 7It is a schematic diagram of a power supply object of a second target element in a control circuit according to an embodiment of the present application being powered by a first power supply path.
[0036] Reference numerals:
[0037] 10 - first power supply path; 20 - external power supply; 30 - power management unit; 40 - first target component; 50 - second power supply path; 60 - energy storage component; 70 - second target component; 80 - controller; 90 - other components; 100 - buck converter. DETAILED DESCRIPTION
[0038] Various aspects and features of the present application are described herein with reference to the accompanying drawings.
[0039] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.
[0040] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0041] These and other characteristics of the present 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.
[0042] It should also be understood that, although the present application has been described with reference to some specific examples, those skilled in the art will be able to realize many other equivalent forms of the present application that have the features described in the claims and are therefore within the scope of protection defined thereby.
[0043] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
[0044] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.
[0045] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.
[0046] Figure 1 A flow chart of a control method according to an embodiment of the present application is shown. A control method according to an embodiment of the present application is provided, such as Figure 1 As shown, including:
[0047] S100, determining that the electronic device is in an external power supply state, wherein the external power supply supplies power to at least a first target element of the electronic device through a first power supply path, the external power supply charges the energy storage element through a second power supply path, and the energy storage element supplies power to at least a second target element;
[0048] The control method of this embodiment can be applied to electronic devices such as Figure 5-6 As shown, the electronic device may be an electronic device having an energy storage element 60, for example, the electronic device may be a tablet computer or a laptop computer; the energy storage element 60 may be a battery. When the electronic device is powered only by the energy storage element 60, the energy storage element 60 supplies power to the first target element 40 and the second target element 70 of the electronic device. The first target element 40 may be a display element, and the second target element 70 may be a smart power amplifier (Smart Power Amplifier, SmartPA). When it is determined that the electronic device is in a state of being powered by an external power supply 20, the external power supply 20 may power the electronic device through a circuit line in a USB interface for providing power and transmitting power-related information. For example, the external power supply 20 may power the electronic device through VBUS (Voltage Bus). Specifically, after the external power supply 20 is connected to the electronic device, the higher input voltage is first converted into a lower output voltage through a buck converter 100 (Buck Charger), and then the power management integrated circuit (Power Management Integrated Circuit, PMIC) of the electronic device is used to manage and distribute the power. As shown Figure 6As shown, the power supply path for the external power supply 20 to power at least the first target element 40 of the electronic device via the PMIC is the first power supply path 10. The external power supply 20 can power the first target element 40 and other elements 90 of the electronic device through the first power supply path 10. For example, the first target element 40 can be a display element, a camera element, etc., and the other elements 90 can be a system-on-chip (SoC), a radio transmission and reception system, and an OTG device. The power supply path for the external power supply 20 to power the energy storage element 60 of the electronic device is the second power supply path 50. The external power supply 20 can charge the energy storage element 60 through the second power supply path 50, and the energy storage element 60 can directly power the second target element 70. For example, the second target element 70 can be a SmartPA to ensure the audio processing effect of the SmartPA.
[0049] S200, determining that the use state of the first target element meets a first target condition, and switching the power supply object of the second target element from being powered by the energy storage element to being powered by the first power supply path.
[0050] In this embodiment, if Figure 7 As shown, when the external power supply 20 is supplying power to the electronic device, if the use state of the first target element 40 satisfies the first target condition, the power supply object of the second target element 70 is switched from the energy storage element 60 to the first power supply path 10. The first target condition indicates that the use state of the first target element 40 has changed. Specifically, the use state of the first target element 40 satisfying the first target condition may indicate that the power consumed by the first target element 40 has changed. In the case where the use state of the first target element 40 has changed, the power supply to the first target element 40 through the external power supply 20 may be stopped, or the power supply amount of the external power supply 20 to the first target element 40 may be reduced. In the case where the power consumed by the first target element 40 is reduced, the external power supply 20 may stop supplying power to the first target element 40 through the first power supply path 10, and the power supply object of the second target element 70 is switched from the energy storage element 60 to the first power supply path 10. That is, the power supply object of the second target element 70 is switched from the energy storage element 60 to the external power supply 20, so that the second target element 70 is no longer powered by the energy storage element 60. After the energy storage element 60 no longer supplies power to the second target element 70, the external power supply 20 can charge the energy storage element 60 through the second power supply path 50, and the energy storage element 60 can no longer discharge. In particular, after the energy storage element 60 is fully charged, the second target element 70 will not consume power, thus avoiding the problem of easy aging of the energy storage element caused by repeated charging. In addition, the second target element 70 is powered by the external power supply 20, which can ensure the normal operation of the second target element 70.
[0051] In the above manner, when the electronic device is powered by an external power supply 20, the external power supply 20 supplies power to at least a first target element 40 of the electronic device through a first power supply path 10, and the external power supply 20 charges an energy storage element 60 through a second power supply path 50, and the energy storage element 60 supplies power to at least a second target element 70 of the electronic device; if it is determined that the use state of the first target element 40 of the electronic device has changed, the power supply object of the second target element 70 of the electronic device is switched from being powered by the energy storage element 60 to being powered by the first power supply path 10, so that the second target element 70 is no longer powered by the energy storage element 60, thereby ensuring the power stability of the energy storage element 60 and avoiding the problem of easy aging of the energy storage element caused by repeated charging.
[0052] In one embodiment, the second target element 70 is a power amplifier SmartPA, such as an audio power amplifier. The present application can dynamically adjust the power supply path of the power amplifier in the charging scenario of the electronic device to avoid repeated charging and discharging of energy storage elements, such as batteries, in high voltage scenarios, thereby increasing the battery life; and maintaining the normal working state of the power amplifier, thereby improving the user experience.
[0053] In one embodiment of the present application, Figure 2 As shown, the determining that the use status of the first target element meets the first target condition includes:
[0054] S20, determining that the first target element switches from a first state to a second state, wherein the power consumed by the first target element in the first state is greater than the power consumed by the first target element in the second state, and the power difference between the power consumed by the first target element in the first state and the power consumed by the first target element in the second state is greater than the power consumed by the second target element.
[0055] In this embodiment, when the external power source 20 supplies power to the electronic device, if it is determined that the use state of the first target element 40 satisfies the first target condition, it indicates that the use state of the first target element 40 has changed. Specifically, when it is determined that the first target element 40 switches from the first state to the second state, it is determined that the use state of the first target element 40 satisfies the first target condition. The power consumed by the first target element 40 in the first state is greater than the power consumed by the first target element 40 in the second state, that is, the amount of electricity consumed by the first target element 40 when it is in the first state is greater than the amount of electricity consumed by the first target element 40 when it is in the second state. For example, when the first target element 40 is in the first state, the first target element 40 is in a working state; when the first target element 40 is in the second state, the first target element 40 is in a non-working state. Since the first target element 40 is powered by the external power source 20, when it is determined that the first target element 40 switches from the first state to the second state, the amount of electricity provided to the first target element 40 by the external power source 20 can be reduced accordingly. After the first target element 40 is switched from the first state to the second state, the power difference between the power consumed by the first target element 40 in the first state and the power consumed by the first target element 40 in the second state corresponds to the power supply reduced by the external power supply 20 for the first target element 40. That is, the current power supply provided by the external power supply 20 through the first power supply path 10 can support the redundant power consumption. The power difference between the power consumed by the first target element 40 in the first state and the power consumed by the first target element 40 in the second state is greater than the power consumed by the second target element 70. After the first target element 40 is switched from the first state to the second state, the current power supply provided by the external power supply 20 can meet the power consumed by the second target element 70. In the case of determining that the first target element 40 is switched from the first state to the second state, the power supply object of the second target element 70 is switched from the energy storage element 60 to the external power supply 20 through the first power supply path 10.
[0056] In one embodiment of the present application, the method further includes:
[0057] Determine that the second target element meets a second target condition, and switch the power supply of the second target element from the energy storage element to the first power supply path, wherein the second target condition indicates that the power consumption of the second target element is greater than the charging power of the energy storage element.
[0058] In this embodiment, when the external power supply 20 is supplying power to the electronic device, if the second target element 70 satisfies the second target condition, the power supply object of the second target element 70 is switched from the energy storage element 60 to the first power supply path 10, and the second target condition indicates that the power consumption of the second target element 70 is greater than the charging power of the energy storage element 60. Since the energy storage element 60 directly supplies power to the second target element 70, and the energy storage element 60 is in a charging state, and the energy storage element 60 supplies power to the second target element 70, if the speed at which the second target element 70 consumes power is too fast, the energy storage element 60 will be in a charging state and continuously discharged at the same time. The power consumption of the second target element 70 can be compared with the charging power of the energy storage element 60. In the case where the speed at which the second target element 70 consumes power is not greater than the charging power speed of the energy storage element 60, the energy storage element 60 can continue to directly supply power to the second target element 70. In the case that the rate at which the second target element 70 consumes electricity is greater than the rate at which the energy storage element 60 is charged, the power supply of the second target element 70 is switched from the energy storage element 60 to the external power supply 20 through the first power supply path 10, so that the energy storage element 60 in the charging state is no longer continuously discharged, thereby ensuring the charging state of the energy storage element 60 and maintaining the normal operation of the second target element 70.
[0059] In one embodiment of the present application, Figure 3 As shown, the method also includes:
[0060] S50, determining that the energy storage element satisfies a third target condition, and switching the power supply object of the second target element from being powered by the energy storage element to being powered by the first power supply path, wherein the third target condition indicates that the current power of the energy storage element is greater than a preset charge amount, or the current state of charge of the energy storage element is greater than a preset state of charge.
[0061] In this embodiment, when the external power supply 20 is supplying power to the electronic device, if the energy storage element 60 satisfies the third target condition, the power supply object of the second target element 70 is switched from the energy storage element 60 to the first power supply path 10, and the third target condition indicates that the current power of the energy storage element 60 is greater than the preset charge amount, or the current state of charge of the energy storage element 60 is greater than the preset state of charge. The preset charge amount can indicate the recharge threshold of the energy storage element 60. When the energy storage element 60 is being charged and used at the same time, if the current power of the energy storage element 60 reaches the recharge threshold and is still in a discharge state, the energy storage element 60 will be charged and discharged in a high power scenario, reducing the service life of the energy storage element 60. For example, the recharge threshold of the battery is 95% of the full charge. If the current power of the battery reaches the recharge threshold and is still in a discharge state, the battery will be charged and discharged in a high power scenario, and the battery power will vary between 100% of the full charge and 95% of the full charge. If the current power of the energy storage element 60 is greater than the recharge threshold, the energy storage element 60 needs to stop supplying power to the second target element 70 , and the power supply object of the second target element 70 can be switched from the energy storage element 60 to the external power supply 20 through the first power supply path 10 .
[0062] In one embodiment of the present application, Figure 4 As shown, the method also includes:
[0063] S300, in response to the usage status of the first target element satisfying the first target condition, performing a switching operation on the power supply path of the second target element by the switch unit of the electronic device, so that the power supply object of the second target element is converted from being powered by the energy storage element to being powered by the first power supply path.
[0064] In this embodiment, the electronic device is further provided with a switch unit, and the switch unit is used to switch the power supply path of the second target element 70. In the case of determining that the use state of the first target element 40 meets the first target condition, the system of the electronic device can trigger the switch unit in response to the use state of the first target element 40 meeting the first target condition, and perform a switching operation on the power supply path of the second target element 70 through the switch unit, so that the power supply object of the second target element 70 is converted from the energy storage element 60 to the first power supply path 10. For example, a DCDC path switching switch is set on the power supply path of the power amplifier. In the case of determining that the power consumption of the display element has changed, the system of the electronic device can trigger the DCDC path switching switch, and dynamically adjust the power supply path of the power amplifier through the DCDC path switching switch, so that the power supply object of the power amplifier is converted from battery power to the first power supply path 10.
[0065] In one embodiment of the present application, the first target element is a display element, the second target element is a power control element, and determining that the use state of the first target element meets the first target condition includes:
[0066] The power consumption of the display element on the first power supply path is reduced from the first power to the second power, and the change amount satisfies a preset threshold; or,
[0067] The usage state of the display element is adjusted from a screen-on state to a screen-off state.
[0068] In the present embodiment, the first target element 40 is a display element of an electronic device, for example, the display element may be a liquid crystal display LCD; the second target element 70 is a power control element of the electronic device, for example, the second target element 70 may be a smart power amplifier SmartPA. In the state where the external power supply 20 supplies power to the electronic device, the process of determining whether the use state of the first target element 40 meets the first target condition may specifically determine that the use state of the display element meets the first target condition. Specifically, if the change in the power consumption of the display element on the first power supply path 10 from the first power to the second power meets the preset threshold, it may be determined that the use state of the display element meets the first target condition. The preset threshold may characterize the power consumption required by the power control element. When the use state of the display element changes, the power consumed by the display element may change. When the power consumed by the display element decreases, the amount of power provided to the display element by the external power supply 20 may be reduced accordingly. If the change in the power consumption of the display element on the first power supply path 10 from the first power to the second power meets the preset threshold, it indicates that the excess power consumption supported by the current power supply provided by the external power supply 20 through the first power supply path 10 is the same as the power change of the display element, that is, the current power supply provided by the external power supply 20 can meet the power consumed by the power control element, and the power supply object of the power control element can be switched from battery power supply to power supply by the external power supply 20 through the first power supply path 10. For example, the current usage scenario of the display screen is the color screen display mode, and the display screen switches from the color screen display mode to the night display mode. If the power change consumed by the display screen when switching from the color screen display mode to the night display mode is the same as the power required to be consumed by the power amplifier, the power supply object of the power amplifier can be switched from battery power supply to power supply by the external power supply 20 through the first power supply path 10.
[0069] If the use state of the display element is adjusted from the screen-on state to the screen-off state, it can be determined that the use state of the display element meets the first target condition. That is, it can be determined that the display element switches from the first state to the second state, and the power consumed by the display element in the first state is greater than the power consumed by the display element in the second state. After the use state of the display element is adjusted from the screen-on state to the screen-off state, the power difference between the power consumed by the display element in the screen-on state and the power consumed by the display element in the screen-off state corresponds to the power supply reduced by the external power supply 20 for the display element. The current power supply provided by the external power supply 20 through the first power supply path 10 can support the excess power consumption. After the use state of the display element is adjusted from the screen-on state to the screen-off state, the current power supply provided by the external power supply 20 can meet the power consumed by the power control element, and the power supply object of the power control element can be switched from battery power supply to power supply by the external power supply 20 through the first power supply path 10.
[0070] The present application also provides a control circuit corresponding to a control method, such as Figure 5 As shown, including:
[0071] A first power supply path 10, comprising a first input interface, obtaining a power supply voltage from an external power source 20, wherein the first power supply path 10 is provided with a power management unit 30, and an output interface of the power management unit 30 is used to supply power to at least a first target element 40 of the electronic device;
[0072] A second power supply path 50, comprising a second input interface, for obtaining a power supply voltage from the external power source 20, wherein the second power supply path 50 is used to charge an energy storage element 60, and the energy storage element 60 supplies power to at least a second target element 70;
[0073] The controller 80, in response to the external power source 20 being in the power supply state, determines that the use state of the first target element 40 meets the first target condition, and switches the power supply object of the second target element 70 from the energy storage element 60 to the first power supply.
[0074] The control circuit of this embodiment can be applied to electronic devices, such as Figure 5-6As shown, the electronic device may be an electronic device having an energy storage element 60, for example, the electronic device may be a desktop computer or a laptop computer; the energy storage element 60 may be a battery. When the electronic device is powered only by the energy storage element 60, the energy storage element 60 supplies power to the first target element 40 and the second target element 70 of the electronic device, the first target element 40 may be a display element, and the second target element 70 may be a smart power amplifier (Smart Power Amplifier, SmartPA). When it is determined that the electronic device is in a state of being powered by an external power supply 20, the external power supply 20 may supply power to the electronic device through a circuit line in a USB interface for providing power and transmitting power-related information, for example, the external power supply 20 may supply power to the electronic device through VBUS (Voltage Bus). The control circuit may obtain a supply voltage from the external power supply 20 through a first input interface of the first power supply path 10, and supply power to at least the first target element 40 of the electronic device through an output interface of a power management unit 30 provided in the first power supply path 10; the power management unit 30 may be a power management integrated circuit (Power Management Integrated Circuit, PMIC). Specifically, after the external power supply 20 is connected to the electronic device, a higher input voltage can be converted into a lower output voltage through a buck converter 100 (Buck Charger), and then the power is managed and distributed through the PMIC. The power supply path for the external power supply 20 to power at least the first target component 40 of the electronic device via the PMIC is the first power supply path 10. The external power supply 20 can power the first target component 40 and other components 90 of the electronic device through the first power supply path 10. For example, the first target component 40 can be a display component, a camera component, etc., and the other components 90 can be a system on chip (System on Chip, SoC), a radio transmission and reception system, and an OTG device.
[0075] The control circuit can obtain the power supply voltage from the external power supply 20 through the second input interface of the second power supply path 50, and charge the energy storage element through the second power supply path 50, and the energy storage element 60 supplies power to at least the second target element 70. The power supply path through which the external power supply 20 supplies power to the energy storage element 60 of the electronic device is the second power supply path 50, and the external power supply 20 can charge the energy storage element 60 through the second power supply path 50, and the energy storage element 60 can directly supply power to the second target element 70, for example, the second target element 70 can be a SmartPA, to ensure the audio processing effect of the SmartPA.
[0076] When the external power source 20 is supplying power to the electronic device, the controller 80 of the control circuit responds to the external power source 20 being in the power supply state, and when it is determined that the use state of the first target element 40 satisfies the first target condition, the power supply object of the second target element 70 is switched from the energy storage element 60 to the first power supply path 10. The first target condition indicates that the use state of the first target element 40 has changed. Specifically, the use state of the first target element 40 satisfying the first target condition may indicate that the power consumed by the first target element 40 has changed. When the use state of the first target element 40 has changed, the power supply to the first target element 40 through the external power source 20 may be stopped, or the power supply amount of the external power source 20 to the first target element 40 may be reduced. When the power consumed by the first target element 40 is reduced, the external power source 20 may stop supplying power to the first target element 40 through the first power supply path 10, and switch the power supply object of the second target element 70 from the energy storage element 60 to the first power supply path 10. That is, the controller 80 switches the power supply of the second target element 70 from the energy storage element 60 to the external power supply 20, so that the second target element 70 is no longer powered by the energy storage element 60. After the energy storage element 60 no longer supplies power to the second target element 70, the external power supply 20 can charge the energy storage element 60 through the second power supply path 50, and the energy storage element 60 can no longer discharge. In particular, after the energy storage element 60 is fully charged, it is not consumed by the second target element 70, thereby avoiding the problem of easy aging of the energy storage element caused by repeated charging. In addition, the second target element 70 is powered by the external power supply 20, which can ensure the normal operation of the second target element 70.
[0077] The present application uses the above-mentioned control circuit to supply power to at least a first target element 40 of the electronic device through the first power supply path 10, and to charge the energy storage element 60 through the second power supply path 50 when the electronic device is powered by an external power supply 20, and the energy storage element 60 supplies power to at least a second target element 70 of the electronic device; if it is determined that the use state of the first target element 40 of the electronic device has changed, the controller 80 switches the power supply of the second target element 70 of the electronic device from the energy storage element 60 to the first power supply path 10, so that the second target element 70 is no longer powered by the energy storage element 60, thereby ensuring the power stability of the energy storage element 60 and avoiding the problem of easy aging of the energy storage element caused by repeated charging.
[0078] In one embodiment, the second target element 70 is a power amplifier SmartPA, such as an audio power amplifier. The present application can dynamically adjust the power supply path of the power amplifier in the charging scenario of the electronic device to avoid repeated charging and discharging of energy storage elements, such as batteries, in high voltage scenarios, thereby increasing the battery life; and maintaining the normal working state of the power amplifier, thereby improving the user experience.
[0079] In one embodiment of the present application, determining that the use status of the first target element meets the first target condition includes:
[0080] Determine that the first target element switches from a first state to a second state, wherein power consumed by the first target element in the first state is greater than power consumed by the first target element in the second state, and a power difference between power consumed by the first target element in the first state and power consumed by the first target element in the second state is greater than power consumed by the second target element.
[0081] In this embodiment, when the external power source 20 supplies power to the electronic device, if it is determined that the use state of the first target element 40 satisfies the first target condition, it indicates that the use state of the first target element 40 has changed. Specifically, when it is determined that the first target element 40 switches from the first state to the second state, it is determined that the use state of the first target element 40 satisfies the first target condition. The power consumed by the first target element 40 in the first state is greater than the power consumed by the first target element 40 in the second state, that is, the amount of electricity consumed by the first target element 40 when it is in the first state is greater than the amount of electricity consumed by the first target element 40 when it is in the second state. For example, when the first target element 40 is in the first state, the first target element 40 is in a working state; when the first target element 40 is in the second state, the first target element 40 is in a non-working state. Since the first target element 40 is powered by the external power source 20, when it is determined that the first target element 40 switches from the first state to the second state, the amount of electricity provided to the first target element 40 by the external power source 20 can be reduced accordingly. After the first target element 40 is switched from the first state to the second state, the power difference between the power consumed by the first target element 40 in the first state and the power consumed by the first target element 40 in the second state corresponds to the power supply reduced by the external power supply 20 for the first target element 40. That is, the current power supply provided by the external power supply 20 through the first power supply path 10 can support the redundant power consumption. The power difference between the power consumed by the first target element 40 in the first state and the power consumed by the first target element 40 in the second state is greater than the power consumed by the second target element 70. After the first target element 40 is switched from the first state to the second state, the current power supply provided by the external power supply 20 can meet the power consumed by the second target element 70. In the case of determining that the first target element 40 is switched from the first state to the second state, the power supply object of the second target element 70 is switched from the energy storage element 60 to the external power supply 20 through the first power supply path 10.
[0082] In one embodiment of the present application, the controller 80 is further configured to:
[0083] Determine that the second target element 70 satisfies a second target condition, and switch the power supply of the second target element 70 from the energy storage element 60 to the first power supply path 10, wherein the second target condition indicates that the power consumption of the second target element 70 is greater than the charging power of the energy storage element 60.
[0084] In this embodiment, when the external power supply 20 is supplying power to the electronic device, if the second target element 70 satisfies the second target condition, the controller 80 is further used to switch the power supply object of the second target element 70 from being supplied by the energy storage element 60 to being supplied by the first power supply path 10, and the second target condition indicates that the power consumption of the second target element 70 is greater than the charging power of the energy storage element 60. Since the energy storage element 60 directly supplies power to the second target element 70, and the energy storage element 60 is in a charging state, and the energy storage element 60 supplies power to the second target element 70, if the speed at which the second target element 70 consumes power is too fast, the energy storage element 60 will be in a charging state and continuously discharged at the same time. The power consumption of the second target element 70 can be compared with the charging power of the energy storage element 60. In the case where the speed at which the second target element 70 consumes power is not greater than the charging power speed of the energy storage element 60, the energy storage element 60 can continue to directly supply power to the second target element 70. When the rate at which the second target element 70 consumes electricity is greater than the rate at which the energy storage element 60 is charged, the power supply of the second target element 70 is switched from the energy storage element 60 to the external power supply 20 through the first power supply path 10, so that the energy storage element 60 in the charging state no longer discharges continuously, thereby ensuring the charging state of the energy storage element 60 and maintaining the normal operation of the second target element 70.
[0085] In one embodiment of the present application, the control circuit further includes:
[0086] A switch unit, wherein the switch unit is used to, in response to the usage status of the first target element 40 satisfying the first target condition, perform a switching operation on the power supply path of the second target element 70, so that the power supply object of the second target element 70 is converted from being powered by the energy storage element 60 to being powered by the output interface of the first power supply path 10.
[0087] In this embodiment, the switch unit is used to switch the power supply path of the second target element 70 in response to the use state of the first target element 40 satisfying the first target condition. In the case where it is determined that the use state of the first target element 40 satisfies the first target condition, the system of the electronic device can trigger the switch unit in response to the use state of the first target element 40 satisfying the first target condition, and perform a switching operation on the power supply path of the second target element 70 through the switch unit, so that the power supply object of the second target element 70 is converted from the power supply of the energy storage element 60 to the power supply of the first power supply path 10. For example, a DCDC path switching switch is set on the power supply path of the power amplifier. In the case of determining that the power consumption of the display element has changed, the system of the electronic device can trigger the DCDC path switching switch, and dynamically adjust the power supply path of the power amplifier through the DCDC path switching switch, so that the power supply object of the power amplifier is converted from battery power to first power supply path 10.
[0088] Multiple embodiments of the present application are described in detail above, but the present application is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concept of the present application, and these variations and modifications should all fall within the scope of protection required by the present application.
Claims
1. A control method, comprising: Determining that the electronic device is in an external power supply state, wherein the external power supply supplies power to at least a first target element of the electronic device through a first power supply path, the external power supply charges the energy storage element through a second power supply path, and the energy storage element supplies power to at least a second target element; It is determined that the use state of the first target element meets the first target condition, and the power supply object of the second target element is switched from being powered by the energy storage element to being powered by the first power supply path.
2. The control method according to claim 1, wherein determining that the usage state of the first target element satisfies the first target condition comprises: Determine that the first target element switches from a first state to a second state, wherein the power consumed by the first target element in the first state is greater than the power consumed by the first target element in the second state, and the power difference between the power consumed by the first target element in the first state and the power consumed by the first target element in the second state is greater than the power consumed by the second target element.
3. The control method according to claim 1, further comprising: Determine that the second target element meets a second target condition, and switch the power supply of the second target element from the energy storage element to the first power supply path, wherein the second target condition indicates that the power consumption of the second target element is greater than the charging power of the energy storage element.
4. The control method according to claim 1, further comprising: Determine that the energy storage element satisfies a third target condition, and switch the power supply of the second target element from being supplied by the energy storage element to being supplied by the first power supply path, wherein the third target condition indicates that the current power of the energy storage element is greater than a preset charge amount, or the current state of charge of the energy storage element is greater than a preset state of charge.
5. The control method according to claim 1, further comprising: In response to the usage status of the first target element satisfying the first target condition, the power supply path of the second target element is switched by the switch unit of the electronic device, so that the power supply object of the second target element is converted from being powered by the energy storage element to being powered by the first power supply path.
6. The control method according to claim 1, wherein: The first target element is a display element, the second target element is a power control element, and determining that the use state of the first target element meets the first target condition includes: The power consumption of the display element on the first power supply path is reduced from the first power to the second power, and the change amount satisfies a preset threshold; or, The usage state of the display element is adjusted from a screen-on state to a screen-off state.
7. A control circuit comprising: A first power supply path, comprising a first input interface, for obtaining a power supply voltage from an external power source, wherein the first power supply path is provided with a power management unit, and an output interface of the power management unit is used to supply power to at least a first target element of the electronic device; A second power supply path, comprising a second input interface, for obtaining a power supply voltage from the external power supply, the second power supply path being used to charge an energy storage element, the energy storage element supplying power to at least a second target element; The controller, in response to the external power supply being in a power supply state, determines that the use state of the first target element meets the first target condition, and switches the power supply object of the second target element from being powered by the energy storage element to being powered by the first power supply.
8. The control circuit according to claim 7, wherein determining that the usage state of the first target element satisfies a first target condition comprises: Determine that the first target element switches from a first state to a second state, wherein the power consumed by the first target element in the first state is greater than the power consumed by the first target element in the second state, and the power difference between the power consumed by the first target element in the first state and the power consumed by the first target element in the second state is greater than the power consumed by the second target element.
9. The control circuit according to claim 7, wherein the controller is further configured to: Determine that the second target element meets the second target condition, and switch the power supply object of the second target element from the energy storage element to the first power supply path, wherein: The second target condition indicates that the power consumption of the second target element is greater than the charging power of the energy storage element.
10. The control circuit according to claim 7, further comprising: A switch unit, wherein the switch unit is used to, in response to the use status of the first target element satisfying the first target condition, perform a switching operation on the power supply path of the second target element, so that the power supply object of the second target element is converted from being powered by the energy storage element to being powered by the output interface of the first power supply path.