Electronic device, its charging method, and readable storage medium
By introducing a power management module into the electronic device and switching the charging mode according to the display status, the heat loss problem caused by charging of the charge pump is solved, and an efficient and safe charging solution is realized under different states.
Patent Information
- Application Number
- CN202010338400.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-26
- Publication Date
- 2025-07-04
- Estimated Expiration
- 2040-04-26
AI Technical Summary
In the prior art, when electronic devices are charged using charge pump, high switching frequency leads to an increase in heat loss and a temperature increase, which affects charging efficiency and safety, especially when charging and using it while not meeting the needs.
By introducing a power management module into the electronic device, the charge pump charging mode and direct charging mode are switched according to the display status of the display screen, the processor generates a mode selection signal to control the power management module to switch the charging mode, and combines the charge pump control circuit and direct charging control circuit to optimize the charging process.
In the bright screen state, the direct charging mode is used to ensure the reasonable temperature of the equipment and shorten the charging time; in the out-of-screen state, the charge pump mode is used to shorten the charging time, improve charging efficiency and reduce heat loss, and ensure the safe and available equipment.
Smart Images

Figure CN113555917B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of charging, and in particular, to an electronic device, a charging method thereof, and a readable storage medium. Background Art
[0002] Currently, as the display screens of electronic devices are getting larger and larger, the power consumption also increases accordingly, which requires the charging speed of the battery to be faster and faster. In related technologies, electronic devices usually use a charge pump method to charge the battery to meet the requirement of charging speed. However, when charging by the charge pump method, due to the relatively high switching frequencies of multiple switching transistors, the thermal loss will slightly increase, resulting in a higher temperature of the electronic device and even causing a problem of charging protection and inability to charge, which is not suitable for the scenario of using the electronic device while charging. Summary of the Invention
[0003] The present disclosure provides an electronic device, a charging method thereof, and a readable storage medium to solve the deficiencies of related technologies.
[0004] According to a first aspect of an embodiment of the present disclosure, an electronic device is provided, including a display screen, a processor, a battery, and a power management module;
[0005] The processor is configured to obtain the display state of the display screen when the battery needs to be charged, and generate a mode selection signal according to the display state;
[0006] The power management module is connected to the processor and is configured to switch to a charge pump charging mode or a direct charging mode corresponding to the mode selection signal to charge the battery when receiving the mode selection signal.
[0007] Optionally, the power management module includes a digital control circuit, a charge pump control circuit, and a direct charge control circuit;
[0008] The digital control circuit is configured to generate a circuit control instruction according to the mode selection signal in response to receiving the mode selection signal;
[0009] The digital control circuit is further configured to send the circuit control instruction to the charge pump control circuit and the direct charge control circuit to control the power supply to charge the battery through the charge pump control circuit or the direct charge control circuit.
[0010] Optionally, the charge pump control circuit includes a first switching device, a second switching device, a third switching device, and a fourth switching device; a first end of the first switching device is electrically connected to a power supply, a second end of the first switching device is electrically connected to a first end of the second switching device and is also electrically connected to a first end of an external first capacitor; a first end of the third switching device is electrically connected to a second end of the second switching device and is also electrically connected to a first end of an external second capacitor, and a second end of the second capacitor is grounded; a first end of the fourth switching device is electrically connected to a second end of the third switching device and is also electrically connected to a second end of the first capacitor; a second end of the fourth switching device is grounded; control ends of the first switching device, the second switching device, the third switching device, and the fourth switching device are respectively electrically connected to the digital control circuit.
[0011] Optionally, the number of the charge pump control circuits is two, and the power management module is configured to control the power supply to charge the battery through at least one charge pump control circuit.
[0012] Optionally, the direct charging control circuit includes a fifth switching device;
[0013] A first end of the fifth switching device is electrically connected to the power supply, and a second end of the fifth switching device is electrically connected to a second end of the second switching device; a control end of the fifth switching device is electrically connected to the digital control circuit.
[0014] Optionally, the fifth switching device includes a field effect transistor, a first diode, and a second diode; a drain of the field effect transistor is electrically connected to the first end of the fifth switching device, a source of the field effect transistor is electrically connected to the second end of the fifth switching device, and a gate of the field effect transistor is electrically connected to the control end of the fifth switching device;
[0015] A cathode of the first diode is electrically connected to the drain, an anode of the first diode is electrically connected to an anode of the second diode, and a cathode of the second diode is electrically connected to the source.
[0016] Optionally, an impedance of the field effect transistor in the fifth switching device is less than or equal to a preset impedance.
[0017] Optionally, a discharge circuit is further included. A first end of the discharge circuit is connected to the power supply, a second end of the discharge circuit is grounded, and a control end of the discharge circuit is electrically connected to the processor or the power management module;
[0018] The processor or the power management module is further configured to generate a discharge control instruction when ending power supply to the battery, and send the discharge control instruction to the control end of the discharge circuit;
[0019] The discharge circuit is used to discharge when receiving the discharge control instruction, so as to release the residual voltage on the power line between the power supply and the power management module.
[0020] Optionally, the discharge circuit includes a sixth switching device and a discharge resistor; the first end of the sixth switching device is electrically connected to the power supply, the second end of the sixth switching device is electrically connected to the first end of the discharge resistor, and the second end of the discharge resistor is grounded; the control end of the sixth switching device is electrically connected to the processor or the power management module.
[0021] According to a second aspect of the embodiments of the present disclosure, a charging method is provided, which is applied to an electronic device. The electronic device includes a display screen, a processor, a battery, and a power management module; the method includes:
[0022] The processor obtains the display state of the display screen;
[0023] The processor generates a mode selection signal according to the display state and sends it to the power management module, so that the power management module switches to the charge pump charging mode or the direct charging mode corresponding to the mode selection signal to charge the battery when receiving the mode selection signal.
[0024] Optionally, the power management module includes a digital control circuit, a charge pump control circuit, and a direct charge control circuit; the method further includes:
[0025] The digital control circuit responds to receiving the mode selection signal and generates a circuit control instruction according to the mode selection signal;
[0026] The digital control circuit sends the circuit control instruction to the charge pump control circuit and the direct charge control circuit to control the power supply to charge the battery through the charge pump control circuit or the direct charge control circuit.
[0027] Optionally, the number of charge pump control circuits is 2, and the power management module controls the power supply to charge the battery through at least one charge pump control circuit.
[0028] Optionally, the direct charge control circuit includes a fifth switching device; the first end of the fifth switching device is electrically connected to the power supply, the second end of the fifth switching device is electrically connected to the second end of the second switching device; the control end of the fifth switching device is electrically connected to the digital control circuit; the method further includes:
[0029] The digital control circuit sends a circuit control instruction representing conduction to the fifth switching device and sends a circuit control instruction representing disconnection to the charge pump control circuit to control the power supply to charge the battery through the fifth switching device.
[0030] Optionally, it further includes a discharge circuit. The first end of the discharge circuit is connected to a power supply, the second end of the discharge circuit is grounded, and the control end of the discharge circuit is electrically connected to the processor or the power management module; The method further includes:
[0031] When the processor or the power management module finishes powering the battery, it generates a discharge control instruction and sends the discharge control instruction to the control end of the discharge circuit;
[0032] When the discharge circuit receives the discharge control instruction, it discharges to release the residual voltage on the power line between the power supply and the power management module.
[0033] According to a third aspect of the embodiments of the present disclosure, an electronic device is provided. The electronic device includes:
[0034] A power management module;
[0035] A processor;
[0036] A memory for storing executable programs of the processor;
[0037] The processor or the power management module is configured to execute the executable program in the memory to implement the steps of the method described in any one of the above.
[0038] According to a fourth aspect of the embodiments of the present disclosure, a readable storage medium is provided, on which an executable program is stored. When the executable program is executed by a processor, the steps of the method described in any one of the above are implemented.
[0039] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
[0040] As can be seen from the above embodiments, in the embodiments of the present disclosure, the processor can obtain the display state of the display screen (such as the lit screen state or the off screen state), and can generate a mode selection signal according to the display state; After receiving the mode selection signal, the power management module can switch to the corresponding charge pump charging mode or direct charging mode to charge the battery. For example, in the lit screen state, direct charging mode is used for charging, which can ensure that the temperature of the electronic device is within a reasonable range during the charging process. Another example is that in the off screen state, the charge pump mode is used for charging, which can shorten the charging time.
[0041] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The accompanying drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure.
[0043] Figure 1 is a block diagram of an electronic device shown according to an exemplary embodiment.
[0044] Figure 2 is a block diagram of a power management module shown according to an exemplary embodiment.
[0045] Figure 3 is a circuit schematic diagram of a power management module shown according to an exemplary embodiment.
[0046] Figure 4 is an equivalent circuit diagram of stage one shown according to an exemplary embodiment; where Figure 4 (a) is a connection schematic diagram of each switching device, Figure 4 (b) is the equivalent circuit diagram.
[0047] Figure 5 is an equivalent circuit diagram of stage two shown according to an exemplary embodiment; where Figure 5 (a) is a connection schematic diagram of each switching device, Figure 5 (b) is the equivalent circuit diagram.
[0048] Figure 6 is a circuit schematic diagram of a power management module shown according to an exemplary embodiment.
[0049] Figures 7 to 9 is a block diagram of a charging method shown according to an exemplary embodiment.
[0050] Figure 10 is a block diagram of an electronic device shown according to an exemplary embodiment. Detailed Description of the Embodiments
[0051] Here, the exemplary embodiments will be described in detail, and the examples are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The following exemplary embodiments do not represent all embodiments consistent with the present disclosure. On the contrary, they are merely examples of devices consistent with some aspects of the present disclosure as detailed in the appended claims.
[0052] At present, as the display screens of electronic devices are getting larger and larger, the power consumption also increases accordingly, which requires the battery to be charged faster and faster. In related technologies, electronic devices usually use the charge pump method to charge the battery to meet the requirements of the charging speed. However, when charging using the charge pump method, due to the relatively high switching frequencies of multiple switching transistors, the thermal loss will slightly increase, resulting in a higher temperature of the electronic device and even causing a charging protection problem where charging is impossible, which is not suitable for the scenario of using the electronic device while charging.
[0053] To solve the above technical problems, the embodiments of the present disclosure provide an electronic device. The inventive concept lies in improving the circuit of the power management module in the electronic device to make it support the charge pump charging mode and the direct charging mode. In this way, when the power management module receives the mode selection signal generated by the processor according to the display state of the display screen, it can switch to the charge pump charging mode or the direct charging mode corresponding to the mode selection signal to charge the battery, thereby improving the charging efficiency.
[0054] For the convenience of description, in the subsequent embodiments, only some circuits or modules in the electronic device that are involved in the improvement and the circuits or modules connected thereto are described. It can be understood that in order to protect the normal operation of these circuits or modules, corresponding supporting circuits are also required in the electronic device, such as current protection circuits, voltage protection circuits, temperature protection circuits, etc., which will not be elaborated here.
[0055] Figure 1 is a block diagram of an electronic device shown according to an exemplary embodiment. Refer to Figure 1 An electronic device includes a display 10, a processor 20, a power management module 30, and a battery 40;
[0056] The processor 20 can be electrically connected to the display 10 and is used to obtain the display state of the display screen 10 when the battery 40 needs to be charged and generate a mode selection signal according to the display state.
[0057] The power management module 30 is connected to the processor 20 and is used to switch to the charge pump charging mode or the direct charging mode corresponding to the mode selection signal to charge the battery 40 when receiving the mode selection signal.
[0058] It should be noted that the processor 20 obtains the display state of the display screen 10, and this display state includes the screen-off state and the screen-on state. The obtaining method can adopt ways such as the processor requesting the state from the display screen, the processor obtaining the voltage of a specified pin, control instructions in the communication bus, etc. In the case where the display state can be obtained, the corresponding solutions fall within the protection scope of the present disclosure.
[0059] Moreover, the processor 20 may use the instantaneous display state of the display screen 10 as the acquired display state, or may use the display state maintained for a preset duration (such as 1 minute) as the acquired display state, which can be selected according to specific scenarios, and the corresponding solutions fall within the protection scope of the present disclosure. In one example, after acquiring the display state, the processor may start timing to determine whether the acquired display state is maintained for a preset duration (such as 1 minute). Only when the display state is maintained for the preset duration is it a valid display state, thereby ensuring that the detected display state is in a stable state and avoiding the problem of frequent switching of the charging mode caused by frequent switching between the screen-on state and the screen-off state.
[0060] In this embodiment, the mode selection signal includes a signal indicating charging in the charge pump charging mode in the screen-off state and a signal indicating charging in the direct charging mode in the screen-on state. Among them, the charge pump charging mode refers to a mode of charging the battery 40 through a charge pump control circuit, and the direct charging mode refers to a mode of charging the battery 40 through a direct charging control circuit.
[0061] It can be understood that the direct charging mode has the characteristics of small heat loss and high charging efficiency (up to 99%). Therefore, when charging in the direct charging mode, the temperature of the battery 40 is not greatly affected, so that the electronic device can enable better application programs and / or components, such as the display screen. That is, when charging in the direct charging mode, sufficient heat dissipation space can be reserved for other components in the electronic device to ensure that the temperature of the electronic device is maintained within a suitable range. In other words, when charging in the direct charging mode, the user can use the electronic device at the same time, achieving the effect of continuous increase in the battery 40 without getting hot.
[0062] It can be understood that in the charge pump charging mode, when the charger supports a charging current of 5A, the data cable only needs to support a charging current of 5A. If the battery is charged with a 2-fold current, the charging current of the battery can reach 10A. Therefore, the charge pump charging mode has the characteristics of a large charging current, relatively high heat loss (2% - 3%), and short charging time. Therefore, when charging in the charge pump charging mode, the temperature of the battery 40 is affected more. After experiments, it is about 2 degrees Celsius higher than the direct charging mode. In this scenario, if the electronic device turns on more application programs or other components, it may trigger the operation of the temperature protection circuit of the electronic device. Therefore, components with high power consumption need to be turned off, such as turning off the display screen. In other words, when the user does not use the electronic device, the charge pump charging mode can be adopted to shorten the charging time while allowing the temperature of the electronic device to increase appropriately.
[0063] In one embodiment, refer to Figure 2, the power management module 30 includes a digital control circuit, a charge pump control circuit, and a direct charging control circuit. Among them, the digital control circuit is used to respond to the received mode selection signal and generate a circuit control instruction according to the mode selection signal. The digital control circuit is also used to send the circuit control instruction to the charge pump control circuit and the direct charging control circuit to control the power supply to charge the battery 40 through the charge pump control circuit or the direct charging control circuit.
[0064] In one embodiment, the power management module 30 may include a charging switch device. Refer to Figure 3 , when the power management module 30 receives the mode selection signal, the digital control circuit can control the charging switch device Q0 to conduct. At this time, a current path can be formed between the power supply Vin and the battery 40 through the charge pump control circuit or the direct charging control circuit; when the power management module 30 does not receive the mode selection signal or the mode selection signal indicating that charging is not required, a current path cannot be formed between the power supply Vin and the battery 40, and the battery 40 is not charged.
[0065] In one embodiment, the power management module 30 may include at least one charge pump control circuit. Figure 3 The case of setting two charge pump control circuits is exemplified, and the circuit structures of the two charge pump control circuits are the same. Refer to Figure 3 , taking one of the charge pump control circuits as an example, this charge pump control circuit 32 includes a first switch device Q1, a second switch device Q2, a third switch device Q3, and a fourth switch device Q4; the first end of the first switch device Q1 is electrically connected to the power supply (VBUS), the second end of the first switch device Q1 is electrically connected to the first end of the second switch device Q2, and is electrically connected to the first end of an external first capacitor C1; the first end of the third switch device Q3 is electrically connected to the second end of the second switch device Q2, and is electrically connected to the first end of an external second capacitor C2, and the second end of the second capacitor C2 is grounded; the first end of the fourth switch device Q4 is electrically connected to the second end of the third switch device Q3, and is electrically connected to the second end of the first capacitor C1; the second end of the fourth switch device Q4 is grounded; the controllers of the first switch device Q1, the second switch device Q2, the third switch device Q3, and the fourth switch device Q4 are respectively electrically connected to the digital control circuit.
[0066] Taking the charge pump charging mode to charge the battery and using one charge pump control circuit as an example, refer to Figure 3 , Figure 4 and Figure 5 , within one charging cycle, it includes:
[0067] Phase 1
[0068] When the first switch device Q1 and the third switch device Q3 are closed, and the second switch device Q2 and the fourth switch device Q4 are open, the effect is asFigure 4 (As shown in (a), the equivalent circuit is as follows Figure 4 (As shown in (b), at this time, the first capacitor C1 and the second capacitor C2 are in series, and the second capacitor C2 is grounded.)
[0069] Assume that the capacitance values of the first capacitor C1 and the second capacitor C2 are the same. At this time, the voltage across the second capacitor C2 is equal to the voltage across the first capacitor C1, that is, the voltage across the second capacitor C2 is equal to half of the input voltage Vin.)
[0070] In this process, the external power supply Vin charges the first capacitor C1 and the second capacitor C2 at the same time, and the energy stored in the first capacitor C1 and the second capacitor C2 is the same.)
[0071] Phase Two
[0072] When the second switching device Q2 and the fourth switching device Q4 are closed, and the first switching device Q1 and the third switching device Q3 are open, the effect is as shown in Figure 5 (a), and the equivalent circuit is as shown in Figure 5 (b). At this time, the first capacitor C1 and the second capacitor C2 change from the series state to the parallel state.)
[0073] Since the first capacitor C1 and the second capacitor C2 are in parallel, and the energy stored in the first capacitor C1 and the second capacitor C2 is the same, that is, VC1 = VC2 = Vout = 1 / 2Vin.)
[0074] In this stage, according to the law of conservation of energy, the energy stored in the first capacitor C1 and the second capacitor C2, the output voltage is half of the input voltage, but the output current is twice the input current, thus achieving the effect of halving the voltage and doubling the current.)
[0075] It should be noted that during the process of charging the battery in the charge pump charging mode, the digital control circuit 31 can also determine the charging current by using the battery voltage and the actual temperature inside the electronic device, so as to ensure that the battery is charged while the temperature of the electronic device does not exceed the set temperature. Among them, the adjustment method of the charging current can refer to the related technology and is not limited here.)
[0076] It should be noted that the power management circuit 30 can control the two charge pump control circuits to work in a time-sharing manner, so as to ensure that the heat loss of each switching device in the charge pump control circuit is within a reasonable range, and the corresponding solution falls within the protection scope of the present disclosure.)
[0077] In one embodiment, the power management module 30 may include a direct charging control circuit 33, and the direct charging control circuit 33 includes a fifth switching device; a first end of the fifth switching device is electrically connected to the power supply Vin, and a second end of the fifth switching device is electrically connected to a second end of the second switching device Q2; a control end of the fifth switching device is electrically connected to the digital control circuit 31. Continuing to refer to Figure 3 , the fifth switching device Q5 includes a field effect transistor, a first diode, and a second diode; a drain of the field effect transistor is electrically connected to the first end of the fifth switching device, a source of the field effect transistor is electrically connected to the second end of the fifth switching device, and a gate of the field effect transistor is electrically connected to the control end of the fifth switching device; a cathode of the first diode is electrically connected to the drain, an anode of the first diode is electrically connected to an anode of the second diode, and a cathode of the second diode is electrically connected to the source. In this example, by docking the anodes of the first diode and the second diode, reverse charging of the battery current can be prevented, which is beneficial to maintaining the battery power.
[0078] In this example, a low-impedance field effect transistor is selected for the fifth switching device, that is, the impedance of the field effect transistor is less than or equal to a preset impedance, and the preset impedance can be selected according to the specific scenario, so that the heat generated by the field effect transistor can be reduced, which is beneficial to reducing the real-time temperature of the electronic device.
[0079] The following combines Figures 1 to 3 the circuit schematic diagram shown to describe the process of the power management module 33 controlling battery charging, including:
[0080] When the electronic device is plugged into the charger, the electronic device and the charger complete a handshake to determine the charging parameters supported by the electronic device, such as charging voltage, charging current, or charging power, etc. After that, when the processor determines that the electronic device needs to be charged, it can obtain the display state of the display screen.
[0081] When the display state is the off-screen state, the processor can generate a mode selection signal indicating the use of the charge pump charging mode and send the mode selection signal to the mode selection pin of the power management module. After receiving the above mode selection signal, the digital control circuit in the power management module can generate a circuit control instruction: control the direct charging control circuit to disconnect and control the charge pump control circuit to conduct, that is:
[0082] On the basis of controlling the fifth switching device Q5 to disconnect, control the first switching device Q1 and the third switching device Q3 to conduct and the second switching device Q2 and the fourth switching device Q4 to conduct in sequence. For example:
[0083] The first switching device Q1 and the third switching device Q3 conduct, and the second switching device Q2 and the fourth switching device Q4 disconnect. At this time, the path of the charging current is: the power supply Vin, the first switching device Q1, the first capacitor C1, the third switching device Q3, and finally reaches the battery.
[0084] The first switching device Q1 and the third switching device Q3 are turned off, and the second switching device Q2 and the fourth switching device Q4 are turned on. At this time, the path of the charging current is as follows: The first capacitor C1 and the second capacitor C2 are connected in parallel to charge the battery.
[0085] It should be noted that the process of the charge pump charging mode can refer to the above detailed description of the charge pump control circuit, and will not be elaborated here.
[0086] When the display state is the bright screen state, the processor can generate a mode selection signal indicating the use of the direct charging mode and send the mode selection signal to the mode selection pin of the power management module. After receiving the above mode selection signal, the digital control circuit in the power management module can generate a circuit control instruction: control the direct charging control circuit to conduct, and control the charge pump control circuit to disconnect, that is:
[0087] On the basis that the first switching device Q1, the second switching device Q2, the third switching device Q3, and the fourth switching device Q4 are all turned off, control the fifth switching device Q5 to conduct. At this time, the path of the charging current is as follows: the power supply Vin, the fifth switching device, and finally reach the battery.
[0088] In one embodiment, when charging in the direct charging mode, if the direct charging mode is turned off, it will switch to the charge pump charging mode. Due to the existence of parasitic capacitance on the charging line, it is impossible to seamlessly switch to the charge pump charging mode, that is, there will be a switching time of seconds between the direct charging mode and the charge pump charging mode. During the switching time, if the electronic device is inserted into the interface of other devices, the battery 40 will charge other devices, which may cause protection actions or abnormal operations of other devices. Therefore, the electronic device further includes a discharge circuit. The first end of the discharge circuit is connected to the battery, the second end of the discharge circuit is grounded, and the control end of the discharge circuit is electrically connected to the processor or the power management module. Among them, the processor or the power management module is further configured to generate a discharge control instruction when ending the power supply to the battery and send the discharge control instruction to the control end of the discharge circuit. The discharge circuit is configured to discharge the parasitic capacitance of the power line between the power supply and the power management module when receiving the discharge control instruction, so as to quickly eliminate the residual voltage on the power line.
[0089] See Figure 6, the discharge circuit includes a sixth switching device Q6 and a discharge resistor R; a first end of the sixth switching device Q6 is electrically connected to a power supply, a second end of the sixth switching device Q6 is electrically connected to a first end of the discharge resistor R, and a second end of the discharge resistor R is grounded; a control end of the sixth switching device Q6 is electrically connected to a processor or a power management module. When the charging interface is directly unplugged during the charging process, the processor or the power management module controls the sixth switching device Q6 to conduct at the first time. At this time, the second capacitor C2, the fifth switching device Q5, the charging switching device Q0, the sixth switching device Q6 and the discharge resistor R form a discharge loop, and the charges of the first capacitor C1, the second capacitor C2 and the parasitic capacitor can be released through the discharge resistor R, so as to ensure that there is no residual voltage on the power line to protect other devices.
[0090] Based on Figures 1 to 6 the electronic device shown, an embodiment of the present disclosure further provides a charging method. Refer to Figure 7 , including:
[0091] In step 71, the processor obtains the display state of the display screen when the battery needs to be charged;
[0092] In step 72, the processor generates a mode selection signal according to the display state and sends it to the power management module, so that the power management module switches to the charge pump charging mode or the direct charging mode corresponding to the mode selection signal to charge the battery when receiving the mode selection signal.
[0093] In an embodiment, the power management module includes a digital control circuit, a charge pump control circuit and a direct charge control circuit; refer to Figure 8 , the method further includes:
[0094] In step 81, the digital control circuit generates a circuit control instruction according to the mode selection signal in response to receiving the mode selection signal;
[0095] In step 82, the digital control circuit sends the circuit control instruction to the charge pump control circuit and the direct charge control circuit to control the power supply to charge the battery through the charge pump control circuit or the direct charge control circuit.
[0096] In an embodiment, the number of the charge pump control circuits is 2, and the power management module controls the power supply to charge the battery through at least one charge pump control circuit.
[0097] In one embodiment, the direct charging control circuit includes a fifth switching device; a first end of the fifth switching device is electrically connected to the power supply, and a second end of the fifth switching device is electrically connected to a second end of the second switching device; a control end of the fifth switching device is electrically connected to the digital control circuit; the method further includes:
[0098] The digital control circuit sends a circuit control instruction indicating conduction to the fifth switching device and sends a circuit control instruction indicating disconnection to the charge pump control circuit to control the power supply to charge the battery through the fifth switching device.
[0099] In one embodiment, a discharge circuit is further included. A first end of the discharge circuit is connected to the power supply, a second end of the discharge circuit is grounded, and a control end of the discharge circuit is electrically connected to the processor or the power management module; see Figure 9 , the method further includes:
[0100] In step 91, the processor or the power management module generates a discharge control instruction when ending the power supply to the battery and sends the discharge control instruction to the control end of the discharge circuit;
[0101] In step 92, the discharge circuit discharges when receiving the discharge control instruction to release the residual voltage on the power line between the power supply and the power management module.
[0102] It should be noted that the charging method shown in this embodiment has been described in detail in the Figures 1 to 6 operating process of the above-mentioned electronic device, and reference can be made to the content of the above-mentioned electronic device, which will not be elaborated here.
[0103] Figure 10 is a block diagram of an electronic device shown according to an exemplary embodiment. For example, the electronic device 1000 may be a smart phone, a computer, a digital broadcast terminal, a tablet device, a medical device, a fitness device, a personal digital assistant, etc. including the Figures 2 to 5 circuit shown.
[0104] Referring to Figure 10 , the electronic device 1000 may include one or more of the following components: a processing component 1002, a memory 1004, a power supply component 1006, a multimedia component 1008, an audio component 1010, an input / output (I / O) interface 1012, a sensor component 1014, a communication component 1016, and an image acquisition component 1018.
[0105] The processing component 1002 generally manages the overall operations of the electronic device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1002 may include one or more processors 1020 to execute instructions. In addition, the processing component 1002 may include one or more modules to facilitate interactions between the processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interactions between the multimedia component 1008 and the processing component 1002.
[0106] The memory 1004 is configured to store various types of data to support the operation of the electronic device 1000. Examples of such data include instructions for any application or method operating on the electronic device 1000, contact data, phone book data, messages, pictures, videos, and the like. The memory 1004 may be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk.
[0107] The power component 1006 provides power to the various components of the electronic device 1000. The power component 1006 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the electronic device 1000.
[0108] The multimedia component 1008 includes a screen that provides an output interface between the electronic device 1000 and a target object. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the target object. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors can sense not only the boundaries of a touch or swipe action but also detect the duration and pressure associated with the touch or swipe operation.
[0109] The audio component 1010 is configured to output and / or input audio signals. For example, the audio component 1010 includes a microphone (MIC) that is configured to receive external audio signals when the electronic device 1000 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, the audio component 1010 further includes a speaker for outputting audio signals.
[0110] The I / O interface 1012 provides an interface between the processing component 1002 and a peripheral interface module, and the peripheral interface module may be a keyboard, a click wheel, buttons, etc.
[0111] The sensor component 1014 includes one or more sensors for providing an assessment of the status of the electronic device 1000 in various aspects. For example, the sensor component 1014 can detect the on / off state of the electronic device 1000, the relative positioning of components, such as the display screen and keypad of the electronic device 1000, and the sensor component 1014 can also detect a change in the position of the electronic device 1000 or a component, the presence or absence of contact between a target object and the electronic device 1000, the orientation or acceleration / deceleration of the electronic device 1000, and the temperature change of the electronic device 1000.
[0112] The communication component 1016 is configured to facilitate communication between the electronic device 1000 and other devices in a wired or wireless manner. The electronic device 1000 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 1016 further includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0113] In an exemplary embodiment, the electronic device 1000 can be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components.
[0114] In an exemplary embodiment, a non-transitory readable storage medium including executable instructions is also provided, such as a memory 1004 including instructions, and the executable instructions can be executed by the processor 1020 of the electronic device 1000. Among them, the readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0115] Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the disclosure herein. The present disclosure is intended to cover any variations, uses, or adaptations of the above-described embodiments, which follow the general principles of the present disclosure and include known common general knowledge or conventional technical means in the technical field not disclosed by the present disclosure. The specification and examples are only to be considered as exemplary, and the true scope and spirit of the present disclosure are pointed out by the following claims.
[0116] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.
Claims
1. An electronic device, characterized in that, It includes a display screen, a processor, a battery, and a power management module; the power management module includes a digital control circuit, a charge pump control circuit, and a direct charge control circuit; the direct charge control circuit and the charge pump control circuit are used to charge the battery respectively; the second end of the second switching device in the charge pump control circuit is electrically connected to the first end of an external second capacitor; the direct charge control circuit includes a fifth switching device; the first end of the fifth switching device is electrically connected to a power supply, and the second end of the fifth switching device is electrically connected to the second end of the second switching device; the control end of the fifth switching device is electrically connected to the digital control circuit; the processor is used to obtain the display state of the display screen when the battery needs to be charged, and generate a mode selection signal according to the display state. The power management module is connected to the processor and is used to switch to the charge pump charging mode or the direct charge mode corresponding to the mode selection signal to charge the battery when receiving the mode selection signal; the digital control circuit is used to generate a circuit control instruction according to the mode selection signal in response to receiving the mode selection signal; the digital control circuit is also used to send the circuit control instruction to the charge pump control circuit and the direct charge control circuit to control the power supply to charge the battery through the charge pump control circuit or the direct charge control circuit.
2. The electronic device according to claim 1, wherein The charge pump control circuit further includes a first switching device, a third switching device, and a fourth switching device; the first end of the first switching device is electrically connected to a power supply, the second end of the first switching device is electrically connected to the first end of the second switching device and is also electrically connected to the first end of an external first capacitor; the first end of the third switching device is electrically connected to the first end of the second capacitor, and the second end of the second capacitor is grounded; the first end of the fourth switching device is electrically connected to the second end of the third switching device and is also electrically connected to the second end of the first capacitor; the second end of the fourth switching device is grounded; the control ends of the first switching device, the second switching device, the third switching device, and the fourth switching device are respectively electrically connected to the digital control circuit.
3. The electronic device according to claim 1 or 2, characterized in that, The number of the charge pump control circuits is 2, and the power management module is used to control the power supply to charge the battery through at least one charge pump control circuit.
4. The electronic device according to claim 1, wherein The fifth switching device includes a field effect transistor, a first diode, and a second diode; the drain of the field effect transistor is electrically connected to the first end of the fifth switching device, the source of the field effect transistor is electrically connected to the second end of the fifth switching device, and the gate of the field effect transistor is electrically connected to the control end of the fifth switching device. The cathode of the first diode is electrically connected to the drain, the anode of the first diode is electrically connected to the anode of the second diode, and the cathode of the second diode is electrically connected to the source.
5. The electronic device according to claim 4, wherein The impedance of the field effect transistor in the fifth switching device is less than or equal to a preset impedance.
6. The electronic device according to claim 1, wherein It further includes a discharge circuit. The first end of the discharge circuit is connected to a power supply, the second end of the discharge circuit is grounded, and the control end of the discharge circuit is electrically connected to the processor or the power management module; The processor or the power management module is further configured to generate a discharge control instruction when ending the power supply to the battery, and send the discharge control instruction to the control end of the discharge circuit; The discharge circuit is configured to discharge when receiving the discharge control instruction, so as to release the residual voltage on the power line between the power supply and the power management module.
7. The electronic device according to claim 6, wherein The discharge circuit includes a sixth switching device and a discharge resistor; the first end of the sixth switching device is electrically connected to the power supply, the second end of the sixth switching device is electrically connected to the first end of the discharge resistor, and the second end of the discharge resistor is grounded; the control end of the sixth switching device is electrically connected to the processor or the power management module.
8. A charging method, characterized in that, Applied to an electronic device, the electronic device includes a display screen, a processor, a battery, and a power management module; the power management module includes a digital control circuit, a charge pump control circuit, and a direct charge control circuit; the direct charge control circuit and the charge pump control circuit are configured to charge the battery respectively; the second end of the second switching device in the charge pump control circuit is electrically connected to the first end of an external second capacitor; the direct charge control circuit includes a fifth switching device; the first end of the fifth switching device is electrically connected to the power supply, and the second end of the fifth switching device is electrically connected to the second end of the second switching device; The control end of the fifth switching device is electrically connected to the digital control circuit; the method includes: When the battery needs to be charged, the processor obtains the display state of the display screen; The processor generates a mode selection signal according to the display state, and sends it to the power management module, so that the power management module switches to the charge pump charging mode or the direct charge mode corresponding to the mode selection signal to charge the battery when receiving the mode selection signal; the digital control circuit is configured to generate a circuit control instruction according to the mode selection signal in response to receiving the mode selection signal; the digital control circuit is further configured to send the circuit control instruction to the charge pump control circuit and the direct charge control circuit to control the power supply to charge the battery through the charge pump control circuit or the direct charge control circuit.
9. The charging method according to claim 8, wherein The number of the charge pump control circuits is two, and the power management module controls the power supply to charge the battery through at least one charge pump control circuit.
10. The charging method according to claim 8, wherein It further includes a discharge circuit. The first end of the discharge circuit is connected to a power supply, the second end of the discharge circuit is grounded, and the control end of the discharge circuit is electrically connected to the processor or the power management module; the method further includes: The processor or the power management module generates a discharge control instruction when ending the power supply to the battery, and sends the discharge control instruction to the control end of the discharge circuit; The discharge circuit discharges when receiving the discharge control instruction, so as to release the residual voltage on the power line between the power supply and the power management module.
11. An electronic device, characterized in that, The electronic device includes: Power management module; Processor; Memory for storing executable programs executable by the processor; The processor or the power management module is configured to execute the executable program in the memory to implement the steps of the method according to any one of claims 8 to 10.
12. A readable storage medium, on which an executable program is stored, characterized in that, When the executable program is executed by the processor, the steps of the method according to any one of claims 8 to 10 are implemented.
Citation Information
Patent Citations
Charging current limiting method, device and electric device
CN107077181A
Protection and control method of direct-current charging pile residual voltage bleeder resistor
CN108394297A
Battery charging architectures
US20180041060A1