Electronic equipment, control method and related device
By canceling the VPH_PWR network in foldable electronic devices and using the transmission link of the secondary battery to power the external screen, the problem of large and insufficient thickness of the equipment is solved, and the user experience and battery efficiency are improved.
Patent Information
- Application Number
- CN202310848499.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-11
- Publication Date
- 2025-01-14
AI Technical Summary
The folding electronic device has a large thickness after folding, which affects the user experience. The VPH_PWR network in the shaft occupies space, resulting in the device not being thin enough.
The first step-down circuit does not supply power to the external screen, but the secondary battery supplies power to the external screen through the transmission link on the second folding part, canceling the VPH_PWR network on the rotary shaft, thereby reducing the shaft width and making the device thinner.
It realizes greater lightness and thinness of foldable electronic devices, improves user experience, reduces the number of charges and the probability of reduced battery performance, and improves battery charging efficiency and device power-on speed.
Smart Images

Figure CN119316501A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to an electronic device, a control method and related devices. Background Art
[0002] Some electronic devices are foldable electronic devices. When unfolded, the foldable electronic device can provide a larger display screen, which is convenient for users to operate on the display screen. After being folded, the foldable electronic device is easy to carry.
[0003] In a possible implementation, after the foldable electronic device is folded, the thickness is relatively large, which may reduce the user's experience of using the electronic device. Summary of the invention
[0004] The embodiments of the present application provide an electronic device, a control method and related devices, which are applied to the field of terminal technology. Instead of supplying power to the external screen through the first step-down circuit, the external screen is supplied with power by the auxiliary battery through a transmission link between the auxiliary battery on the second folding part and the power supply interface of the external screen. Therefore, the VPH_PWR network in the hinge can be eliminated, thereby reducing the hinge width, making the foldable electronic device thinner and lighter, and improving the user experience of the foldable electronic device.
[0005] The embodiment of the present application provides an electronic device, comprising: a first folding portion, a second folding portion, a first display screen, a second display screen and a rotating shaft; the first folding portion comprises an external interface, a power supply interface of the first display screen, a first step-down circuit and a first battery; the second folding portion comprises a power supply interface of the second display screen and a second battery;
[0006] The first folding part and the second folding part are connected by a rotating shaft; the rotating shaft is used to make the first folding part rotate around the rotating shaft, and also used to make the second folding part rotate around the rotating shaft;
[0007] The first step-down circuit is connected between the external interface and the power supply interface of the first display screen, and the first step-down circuit is also connected between the external interface and the first battery; the first battery is connected between the first step-down circuit and the second battery; the second battery is connected between the first battery and the power supply interface of the second display screen;
[0008] The first step-down circuit is used to supply power to the first display screen and charge the first battery when the external interface is connected to the charger, but not to supply power to the second display screen;
[0009] A first battery, used to supply power to the first display screen when the external interface is not connected to a charger;
[0010] The second battery is used to supply power to the second display screen through a transmission link between the second battery on the second folding portion and the power supply interface of the second display screen.
[0011] In this way, the first display screen can be powered by the first step-down circuit, the first battery or the second battery. The first step-down circuit does not power the second display screen, but the second battery powers the second display screen through a transmission link between the second battery deployed on the second folding portion and the power supply interface of the second display screen. The VPH_PWR network on the hinge is cancelled, the width of the hinge can be reduced, and the electronic device can be made thinner and lighter, thereby improving the user experience of the electronic device.
[0012] In a possible implementation, the second folding portion further includes: a second step-down circuit;
[0013] The second step-down circuit is connected between the external interface and the second battery, and the second step-down circuit is also connected between the external interface and the power supply interface of the second display screen;
[0014] The second step-down circuit is used to supply power to the second display screen and charge the second battery when the external interface is connected to the charger.
[0015] In this way, if the external interface is connected to the charger, in a full charging scenario, the second step-down circuit can power the second display screen without the need for a second battery to power the second display screen, thereby reducing the probability of repeated charging of the first battery and the second battery, reducing the probability of performance and life degradation of the first battery and the second battery, and improving the user experience of the electronic device.
[0016] In a possible implementation, the second step-down circuit further includes a charging switch;
[0017] The charging switch is used to be turned on when the external interface is connected to a charger and the second battery is not fully charged, so that the second step-down circuit supplies power to the second display screen and charges the second battery; it is also used to be turned off when the external interface is connected to a charger and the second battery is fully charged, so that the second step-down circuit supplies power to the second display screen and does not charge the second battery; it is also used to be turned on when the external interface is not connected to a charger, so that the second battery supplies power to the second display screen.
[0018] In this way, the charging of the second battery can be controlled to improve the charging efficiency of the second battery.
[0019] In a possible implementation, the second folding portion further includes: an isolation circuit;
[0020] The isolation circuit is connected between the first battery and the second battery;
[0021] The isolation circuit is used to be turned on when the absolute value of the voltage difference between the voltage of the first battery and the voltage of the second battery is greater than a first threshold value, so that the voltage between the first battery and the second battery is balanced.
[0022] In this way, the voltage balance between the first battery and the second battery can be controlled, and the charging efficiency of the battery can be improved.
[0023] In a possible implementation, the electronic device provided in the embodiment of the present application may be used to execute a control method provided in the embodiment of the present application, the method comprising:
[0024] When the electronic device enters a shutdown state due to low power, if the external interface is connected to a charger, determining whether the voltage of the first battery is greater than or equal to a second threshold;
[0025] When the voltage of the first battery is greater than or equal to the second threshold, determining whether the voltage of the second battery is greater than a third threshold;
[0026] When the voltage of the second battery is less than or equal to the third threshold, determining whether the voltage of the first battery is greater than a fourth threshold; the fourth threshold is greater than the second threshold;
[0027] When the voltage of the first battery is greater than a fourth threshold, the second step-down circuit is controlled to charge the second battery.
[0028] In this way, the voltage of the first battery and the voltage of the second battery can reach their respective power-on thresholds more quickly, thereby shortening the power-on time and improving the user experience of the electronic device.
[0029] In a possible implementation, the method further includes:
[0030] Before controlling the second step-down circuit to charge the second battery, controlling the first step-down circuit to stop charging the first battery;
[0031] Determine whether the voltage of the second battery is greater than a fifth threshold; the fifth threshold is greater than or equal to the third threshold;
[0032] When the voltage of the second battery is less than or equal to the fifth threshold, the second step-down circuit is controlled to charge the second battery.
[0033] In this way, the charging of the first battery is stopped, and the probability of the charging efficiency of the second battery being reduced due to the charging of the first battery is reduced.
[0034] In a possible implementation, the method further includes:
[0035] From the moment when the charging of the second battery starts to the moment when the sixth threshold is reached, if the voltage of the second battery does not reach the fifth threshold, the electronic device is controlled to re-enter the shutdown state, so that the charging of the second battery is stopped.
[0036] In this way, from the moment the second battery starts charging to the moment the sixth threshold is reached, if the voltage of the second battery does not reach the fifth threshold, it can indicate that the second battery is charging abnormally, and the electronic device is controlled to re-enter the shutdown state to stop charging the second battery, thereby reducing the probability of the second battery charging abnormality affecting the electronic device.
[0037] In a possible implementation, the method further includes:
[0038] When the voltage of the first battery is less than or equal to a fourth threshold, the first step-down circuit is controlled to charge the first battery and not to charge the second battery.
[0039] In this way, the probability of the charging efficiency of the first battery being reduced due to the charging of the second battery can be reduced.
[0040] In a possible implementation, the method further includes:
[0041] From the moment when the charging of the first battery starts to reach the seventh threshold, if the voltage of the first battery does not reach the fourth threshold, the electronic device is controlled to re-enter the shutdown state, so that the charging of the first battery is stopped.
[0042] In this way, from the moment when the charging of the first battery starts to reach the seventh threshold, if the voltage of the first battery does not reach the fourth threshold, it can indicate that the charging of the first battery is abnormal. The electronic device is controlled to re-enter the shutdown state, so that the charging of the first battery stops, which can reduce the probability of the first battery charging abnormality affecting the electronic device.
[0043] In a possible implementation, the method further includes:
[0044] After controlling the first step-down circuit to charge the first battery, determining whether a battery temperature of the first battery is greater than or equal to an eighth threshold;
[0045] When the battery temperature of the first battery is greater than or equal to an eighth threshold, the electronic device is controlled to re-enter the shutdown state, so that the charging of the first battery is stopped.
[0046] In this way, if the battery temperature of the first battery is greater than or equal to the eighth threshold, it can indicate that the first battery is charging abnormally. The electronic device is controlled to re-enter the shutdown state to stop charging the first battery, which can reduce the probability of the first battery charging abnormality affecting the electronic device.
[0047] In a possible implementation, the method further includes:
[0048] When the voltage of the second battery is greater than the fifth threshold, determining whether the absolute value of the voltage difference between the voltage of the first battery and the voltage of the second battery is greater than the first threshold;
[0049] When the absolute value of the voltage difference between the voltage of the first battery and the voltage of the second battery is greater than a first threshold, the first battery and the second battery are controlled to perform voltage balancing.
[0050] In this way, the voltage of the first battery and the voltage of the second battery can be balanced, so that the voltage of the first battery and the voltage of the second battery can reach their respective power-on thresholds more quickly, thereby shortening the power-on time.
[0051] In a possible implementation, the method further includes:
[0052] When the absolute value of the voltage difference between the voltage of the first battery and the voltage of the second battery is less than or equal to the first threshold, determining whether the voltage of the first battery and the voltage of the second battery reach their respective power-on thresholds; the power-on threshold of the first battery includes a ninth threshold, and the power-on threshold of the second battery includes a tenth threshold;
[0053] When the voltage of the first battery does not reach a ninth threshold value, and / or the voltage of the second battery does not reach a tenth threshold value, controlling the first step-down circuit to charge the first battery, and also controlling the second step-down circuit to charge the second battery;
[0054] When the voltage of the first battery and the voltage of the second battery both reach their respective power-on thresholds, the kernel startup process is executed.
[0055] In this way, the voltage of the first battery and the voltage of the second battery can both reach their respective power-on thresholds, and then the electronic device is powered on, so that the application of the electronic device can be used, thereby improving the user experience of the electronic device.
[0056] In a possible implementation, the method further includes:
[0057] When the voltage of the first battery is less than the second threshold, the first step-down circuit is controlled to charge the first battery.
[0058] In this way, the voltage of the first battery can reach the power-on threshold of the first battery more quickly, thereby shortening the power-on time.
[0059] The embodiment of the present application also provides an electronic device, including: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the electronic device executes the control method provided in the embodiment of the present application. The technical solution of the electronic device corresponds to the technical solution of the control method provided in the embodiment of the present application, and the beneficial effects achieved by the corresponding feasible implementation methods are similar, which will not be repeated.
[0060] The embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the control method provided in the embodiment of the present application is implemented.
[0061] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the control method provided in the embodiment of the present application.
[0062] An embodiment of the present application provides a chip, the chip includes a processor, and the processor is used to call a computer program in a memory to execute a control method as provided in the embodiment of the present application.
[0063] It should be understood that the computer-readable storage medium, computer program product and chip provided in the embodiments of the present application correspond to the technical solutions of the control method provided in the embodiments of the present application, and the beneficial effects achieved by the corresponding feasible implementation methods are similar and will not be repeated. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] Figure 1 is a schematic diagram of a foldable electronic device in a possible implementation;
[0065] Figure 2 A schematic diagram of a circuit in a foldable electronic device in a possible implementation;
[0066] Figure 3 Schematic diagram of the circuit structure of the electronic device provided in the embodiment of the present application Figure 1 ;
[0067] Figure 4 A schematic diagram of the software structure of an electronic device provided in an embodiment of the present application;
[0068] Figure 5 Module interaction diagram provided in the embodiment of the present application Figure 1 ;
[0069] Figure 6 Schematic diagram of the boot process provided in the embodiment of the present application Figure 1 ;
[0070] Figure 7 Schematic diagram of the secondary battery activation process provided in the embodiment of the present application Figure 1 ;
[0071] Figure 8 Schematic diagram of the circuit structure of the electronic device provided in the embodiment of the present application Figure 2 ;
[0072] Fig. 9 Module interaction diagram provided in the embodiment of the present application Figure 2 ;
[0073] Fig.10 Schematic diagram of the boot process provided in the embodiment of the present application Figure 2 ;
[0074] Fig.11 Schematic diagram of the secondary battery activation process provided in the embodiment of the present application Figure 2 ;
[0075] Fig.12 Schematic diagram of the secondary battery activation process provided in the embodiment of the present application Figure 3 ;
[0076] Fig.13 A schematic diagram of the structure of an electronic device 100 provided in an embodiment of the present application. DETAILED DESCRIPTION
[0077] In order to clearly describe the technical solutions of the embodiments of the present application, some terms and technologies involved in the embodiments of the present application are briefly introduced below:
[0078] 1. Some terms
[0079] In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with substantially the same functions and effects. For example, the first chip and the second chip are only used to distinguish different chips, and their order is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different.
[0080] It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0081] In the embodiments of the present application, "at least one" refers to one or more, and "more than one" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, ab, a--c, bc, or abc, where a, b, c can be single or multiple.
[0082] It should be noted that the "at..." in the embodiment of the present application can be the instant when a certain situation occurs, or a period of time after a certain situation occurs, and the embodiment of the present application does not specifically limit this. In addition, the display interface provided in the embodiment of the present application is only an example, and the display interface can also include more or less content.
[0083] 2. Electronic equipment
[0084] The electronic devices of the embodiments of the present application may include handheld devices, vehicle-mounted devices, foldable electronic devices, etc. with image processing functions. For example, some electronic devices are: mobile phones, foldable phones, tablet computers, PDAs, laptop computers, mobile internet devices (MIDs), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication functions, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks or future evolved public land mobile communication networks (public land mobile The embodiments of the present application do not limit this.
[0085] As an example but not limitation, in the embodiments of the present application, the electronic device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as hearing aids, glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.
[0086] In addition, in the embodiments of the present application, the electronic device may also be an electronic device in an Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.
[0087] The electronic devices in the embodiments of the present application may also be referred to as: user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
[0088] In an embodiment of the present application, the electronic device or each network device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory (also called main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.
[0089] Figure 1 A schematic diagram of a foldable electronic device in a possible implementation is shown.
[0090] like Figure 1 As shown, the foldable electronic device includes a first folding portion 11, a second folding portion 12, a hinge 13, a camera 14, an inner screen 15 and an outer screen 16. Among them, the camera 14 can be arranged on the first folding portion 11. The inner screen 15 and the outer screen 16 are both display screens of the foldable electronic device. The inner screen 15 can be arranged on the first folding portion 11 and the second folding portion 12. The outer screen 16 can be arranged on the second folding portion 12. The area of the inner screen 15 is greater than the area of the outer screen 16. The inner screen 15 can be a foldable soft screen.
[0091] When the foldable electronic device is unfolded, the inner screen 15 is also unfolded. Figure 1 FIG. b shows a schematic top view of the foldable electronic device when the foldable electronic device is unfolded, for example, the first folding portion 11 and the second folding portion 12 form an angle of 180°, and the inner screen 15 is unfolded upward. Figure 1 As shown in b, when the foldable electronic device is unfolded, the foldable electronic device can provide a larger display screen (such as the inner screen 15), which is convenient for the user to operate or watch videos on the inner screen 15, thereby improving the user's experience of using the electronic device.
[0092] Figure 1 c in FIG. 1 shows a schematic top view of the foldable electronic device when the foldable electronic device is unfolded, for example, the first folding portion 11 and the second folding portion 12 form an angle of 180°, and the outer screen 16 faces upward. Figure 1 As can be seen from b and c, the outer screen 16 and the inner screen 15 are respectively arranged on both sides of the second folding portion 12.
[0093] Figure 1 d in FIG. 1 shows a schematic top view of the foldable electronic device when the foldable electronic device is folded, for example, the first folding portion 11 and the second folding portion 12 form an angle of 0°, and the outer screen 16 faces upward. Figure 1 In the folded state shown in d in FIG. , the foldable electronic device is easy to carry.
[0094] In a possible implementation, the diameter (or width) of the rotating shaft 13 of the foldable electronic device is greater than the sum of the thickness of the first folding part 11 and the thickness of the second folding part 12 of the foldable electronic device. When the foldable electronic device is folded, the thickness of the entire foldable electronic device is relatively large, making the entire foldable electronic device not light and thin enough after folding, which may reduce the user experience of the electronic device.
[0095] The diameter (or width) of the rotating shaft 13 of the foldable electronic device may be related to the circuit structure in the foldable electronic device. Figure 2 A schematic diagram of a circuit in a foldable electronic device in a possible implementation is shown.
[0096] like Figure 2 As shown, the foldable electronic device includes a main battery 111, an isolation circuit 124, a first buck circuit 112, a USB interface 114, a first switching capacitor (SC) circuit 115, a secondary battery 121, a second SC circuit 122 and an input power network (VPH_PWR network) 131.
[0097] The first buck circuit 112 can be referred to as a main buck circuit. In order to reduce the thickness of the first folding portion 11 and the thickness of the second folding portion 12, so that the thickness of the foldable electronic device is smaller after folding, the main battery 111, the first buck circuit 112, the inner screen 15 ( Figure 2The power supply interface 113, the USB interface 114 and the first SC circuit 115 (not shown) are disposed on the first folding portion 11. The secondary battery 121, the second SC circuit, the outer screen 16 ( Figure 2 The power supply interface 123 and the isolation circuit 124 (not shown) are disposed on the second folding portion 12. The VPH_PWR network 131 is disposed in a through-shaft deployment manner.
[0098] The first step-down circuit 112 is connected between the USB interface 114 and the power supply interface 113 of the inner screen 15 .
[0099] The first step-down circuit 112 is also connected between the USB interface 114 and the power supply interface 123 of the external screen 16 . The VPH_PWR network 131 passes through the rotating shaft 13 and is connected between the first step-down circuit 112 and the power supply interface 123 of the external screen 16 .
[0100] The first step-down circuit 112 is also connected between the USB interface 114 and the main battery 111. The first step-down circuit 112 includes a switch Q41, which is connected between the main battery 111 and the power supply interface 113 of the inner screen 15.
[0101] The first SC circuit 115 is connected between the USB interface 114 and the main battery 111 .
[0102] The isolation circuit 124 is connected between the main battery 111 and the secondary battery 121, and is also connected between the first step-down circuit 112 and the secondary battery 121. The switch Q41 is also connected between the isolation circuit 124 and the power supply interface 113 of the inner screen 15.
[0103] The second SC circuit 122 is connected between the USB interface 114 and the sub-battery 121 .
[0104] The first step-down circuit 112 is used to step down the VBUS voltage transmitted by the USB interface 114, and can power the inner screen 15 and the outer screen 16, and can also charge the main battery 111. Exemplarily, the first step-down circuit 112 steps down the VBUS voltage transmitted by the USB interface 114 to obtain a system voltage (Vsys) for powering the inner screen 15 and the outer screen 16, and can also obtain a charging voltage for charging the main battery 111.
[0105] The VPH_PWR network 131 is used to transmit the system voltage (Vsys) to the external screen 16 .
[0106] The first SC circuit 115 is used to transmit the fast charging voltage transmitted by the VBUS pin of the USB interface 114 to the main battery 111 to fast charge the main battery 111.
[0107] The isolation circuit 124 is used to turn on or off the transmission link between the first step-down circuit 112 and the secondary battery 121 , and is also used to control the charging current when the main battery 111 charges the secondary battery 121 .
[0108] The second SC circuit 122 is used to transmit the fast charging voltage transmitted by the VBUS pin of the USB interface 114 to the secondary battery 121 to fast charge the secondary battery 121.
[0109] The main battery 111 is used to provide a first battery voltage (Vbat1) to power the inner screen 15 and the outer screen 16 when the USB interface 114 is not connected to a charger and the switch Q41 is turned on; it is also used to charge the auxiliary battery 121 when the power of the auxiliary battery 121 is less than that of the main battery 111.
[0110] The secondary battery 121 is used to provide a second battery voltage (Vbat2) to power the inner screen 15 and the outer screen 16 when the USB interface 114 is not connected to a charger, the isolation circuit 124 turns on the transmission link between the first step-down circuit 112 and the secondary battery 121, and the switch Q41 is turned on; it can also be used to charge the main battery 111 when the power of the main battery 111 is less than that of the secondary battery 121.
[0111] Since the VPH_PWR network 131 passes through the hinge 13, power is supplied to the outer screen 16. For example, the VPH_PWR network 131 can pass through the hinge 13 in the form of a flexible printed circuit (FPC). In order to facilitate the deployment of the VPH_PWR network 131, the diameter (or width, such as d1) of the hinge 13 is large, which makes the entire foldable electronic device thicker after folding, not thin and light enough, and may affect the user's experience of using the electronic device.
[0112] If the VPH_PWR network 131 can be eliminated, the diameter or width of the rotating shaft 13 can be reduced, and the entire foldable electronic device can be made thinner and lighter after folding, thereby improving the user experience of the electronic device.
[0113] In view of this, an embodiment of the present application provides an electronic device, which does not supply power to the external screen through the first step-down circuit, but supplies power to the external screen through the transmission link between the secondary battery on the second folding part and the power supply interface of the external screen. Therefore, the VPH_PWR network in the hinge can be eliminated, thereby reducing the width of the hinge, making the foldable electronic device lighter and thinner, and improving the user experience of the foldable electronic device.
[0114] In the embodiment of the present application, the main battery 111 charges the secondary battery 121 , and the secondary battery 121 charges the main battery 111 , which can both be called voltage balancing.
[0115] The electronic device proposed in the embodiments of the present application is described below in conjunction with some embodiments.
[0116] Figure 3 The circuit structure of the electronic device provided by the embodiment of the present application is shown in FIG. Figure 1 .
[0117] like Figure 3 As shown, the electronic device may include a first folding part 21, a second folding part 22, a hinge 23, a main battery 111, a first step-down circuit 112, a power supply interface 113 of the inner screen 15, a USB interface 114, a first SC circuit 115, a secondary battery 121, a second SC circuit 122, a power supply interface 123 of the outer screen 16 and an isolation circuit 124.
[0118] and Figure 2 Similar to the embodiment shown, in order to reduce the thickness of the first folding portion 11 and the thickness of the second folding portion 12, so that the thickness of the electronic device after folding is smaller, the main battery 111, the first step-down circuit 112, the power supply interface 113 of the inner screen 15, the USB interface 114 and the first SC circuit 115 are deployed on the first folding portion 11. The secondary battery 121, the second SC circuit 122, the power supply interface 123 of the outer screen 16 and the isolation circuit 124 are deployed on the second folding portion 12.
[0119] The first step-down circuit 112 is connected between the USB interface 114 and the power supply interface 113 of the inner screen 15 .
[0120] The first step-down circuit 112 is also connected between the USB interface 114 and the main battery 111. The first step-down circuit 112 includes a switch Q41, which is connected between the main battery 111 and the power supply interface 113 of the inner screen 15.
[0121] The connection method of the first SC circuit 115, the second SC circuit 122 and the isolation circuit 124 is shown in Figure 2 The connection method of the first SC circuit 115, the second SC circuit 122 and the isolation circuit 124 in the illustrated embodiment will not be described in detail herein.
[0122] The secondary battery 121 is connected to the power supply interface 123 of the outer screen 16 via a transmission link on the second folding portion 22 .
[0123] The first step-down circuit 112 is used to step down the VBUS voltage transmitted by the USB interface 114, so as to power the internal screen 15 and charge the main battery 111. Exemplarily, the first step-down circuit 112 steps down the VBUS voltage transmitted by the USB interface 114 to obtain a system voltage (Vsys) for powering the internal screen 15 and a charging voltage for charging the main battery 111.
[0124] The first SC circuit 115 and the second SC circuit 122 respectively function as Figure 2 In the embodiment, the functions of the first SC circuit 115 and the second SC circuit 122 are similar and will not be described in detail herein.
[0125] The isolation circuit 124 is used to turn on or off the transmission link between the first step-down circuit 112 and the secondary battery 121 , and is also used to control the charging current when the main battery 111 charges the secondary battery 121 .
[0126] The main battery 111 is used to provide a first battery voltage (Vbat1) to power the inner screen 15 when the USB interface 114 is not connected to a charger and the switch Q41 is turned on; it is also used to charge the auxiliary battery 121 when the power of the auxiliary battery 121 is less than that of the main battery 111.
[0127] The secondary battery 121 is used to provide a second battery voltage (Vbat2) to power the external screen 16 through the transmission link between the secondary battery 121 on the second folding part 22 and the power supply interface 123 of the external screen 16; it is also used to provide the second battery voltage (Vbat2) to power the inner screen 15 when the USB interface 114 is not connected to the charger, the isolation circuit 124 turns on the transmission link between the first step-down circuit 112 and the secondary battery 121, and the switch Q41 is turned on; it can also be used to charge the main battery 111 when the power of the main battery 111 is less than that of the secondary battery 121.
[0128] Understandably, Figure 3 The electronic device shown may also include Figure 3 The camera 14 not shown in the figure is set in the same manner as Figure 1 The camera 14 is configured similarly.
[0129] like Figure 3 As shown, the secondary battery 121 can power the external screen 16 through the transmission link deployed on the second folding portion 22, so that the electronic device can realize the power supply of the external screen 16 without the VPH_PWR network, and can also shorten the power supply path of the secondary battery 121 to power the external screen 16. In this way, there is no need to consider the deployment of the VPH_PWR network on the shaft 23, and the diameter or width of the shaft 23 can be reduced to d2. Wherein, d2<d1.
[0130] The electronic device provided in this embodiment realizes that the first step-down circuit, the main battery or the auxiliary battery supplies power to the inner screen. The first step-down circuit does not supply power to the outer screen, but the auxiliary battery supplies power to the outer screen through a transmission link between the auxiliary battery deployed on the second folding portion and the power supply interface of the outer screen, thereby eliminating the VPH_PWR network. Since there is no need to consider the deployment of the VPH_PWR network on the hinge, the width of the hinge can be reduced, making the electronic device lighter and thinner, thereby improving the user experience of the electronic device.
[0131] In one possible scenario, the power of the electronic device is low and the electronic device is turned off, wherein the electronic device being turned off may include: the electronic device screen being black, the electronic device application being unusable, and the user connecting the electronic device to a charger, and the electronic device will start the boot process. The boot process includes the charging process of the main battery 111 and the auxiliary battery 121. In the boot process, the main battery 111 and the auxiliary battery 121 can be charged, and when the voltage of the main battery 111 and the voltage of the auxiliary battery 121 both reach their respective boot thresholds, the electronic device is turned on.
[0132] The power-on threshold of the main battery 111 may be referred to as a first power-on threshold. The power-on threshold of the auxiliary battery 121 may be referred to as a second power-on threshold. The first power-on threshold and the second power-on threshold may be the same or different.
[0133] Combine the following Figure 4-Figure 7 The power-on process of the electronic device in this scenario is described.
[0134] Figure 4 A schematic diagram of the software structure of an electronic device provided in an embodiment of the present application is shown.
[0135] In a scenario where the power of an electronic device is low, the electronic device is turned off, and the user connects the electronic device to a charger, the boot process may include: primary boot loader (PBL) stage → second boot loader (SBL) stage → extensible boot loader (XBL) stage → application boot loader (ABL) → kernel startup stage.
[0136] like Figure 4As shown, the electronic device includes a primary boot loader (PBL), a second boot loader (SBL), a unified extensible firmware interface (UEFI) and a kernel. Among them, the unified extensible firmware interface (UEFI) includes an extensible boot loader (XBL) and an application boot loader (ABL).
[0137] The first boot loader (PBL) may be used to guide the SBL to be loaded into the memory (RAM); the first boot loader (PBL) running phase may also be referred to as the PBL phase.
[0138] The second boot loader (SBL) can be used to initialize the system security environment so that the subsequent application programs (APPS) in the XBL can run normally. The second boot loader (SBL) running stage can also be called the SBL stage.
[0139] The Extensible Bootloader (XBL) can be used to initialize the hardware environment and code security environment, and can also be used for core application functions such as chip driving and charging. The Extensible Bootloader (XBL) running stage can also be called the XBL stage.
[0140] The application boot loader (ABL) can be used to receive the initialization information transmitted by the XBL, and transmit the initialization information transmitted by the XBL to the kernel to guide the kernel to start. The application boot loader (ABL) running stage can also be called the ABL stage.
[0141] The kernel can be used to perform a series of initialization operations when the kernel starts, such as setting up cache, memory, loading drivers, mounting the root file system, initializing input and output, etc.
[0142] exist Figure 4 On the basis of Figure 5 The module interaction diagram provided in the embodiment of the present application is shown Figure 1 .
[0143] like Figure 5 As shown, the module interaction of the electronic device is shown in S100-S113 as follows:
[0144] S100: The user inserts the charger into the electronic device.
[0145] Optionally, the charger can be replaced with a power bank or other charging device.
[0146] S101, the first boot loader (PBL) is initialized.
[0147] S102. The PBL calls the SBL interface to guide the SBL code to be loaded into the memory.
[0148] S103 , the SBL guides the charging module to initialize, and performs a pre-charge state detection on the main battery 111 to determine whether to perform a main battery activation process.
[0149] Exemplarily, the charging module may include a first step-down circuit 112. The SBL detects whether the voltage of the main battery 111 is lower than 3V.
[0150] When the voltage of the main battery 111 is lower than 3V, the SBL controls the switch Q41 of the first buck circuit 112 to turn on to charge the main battery 112 .
[0151] S104. The SBL calls the XBL interface to guide the XBL initialization.
[0152] S105, XBL initialization.
[0153] S106. XBL calls the ABL interface to guide ABL initialization.
[0154] S107, ABL initialization.
[0155] S108 . The ABL calls a charging configuration interface or a charging configuration function, so that the charging configuration module performs charging module configuration.
[0156] S109: The charging configuration module configures battery-related thresholds for the charging module.
[0157] Exemplarily, the battery-related thresholds include voltage-related thresholds, temperature-related thresholds, and charging duration-related thresholds. The charging configuration module can configure the thresholds related to the main battery 111 and the thresholds related to the secondary battery 121 for the charging module.
[0158] S110 , the charging configuration module calls the low-battery detection interface, or the charging configuration module calls the low-battery detection function, so that the secondary battery activation process module detects the voltage and / or current of the battery.
[0159] S111 , the secondary battery activation process module detects the voltage status of the main battery 111 and the secondary battery 121 .
[0160] Exemplarily, the secondary battery activation process module detects whether the voltage of the main battery 111 is greater than 3.3V, and the secondary battery activation process module detects whether the voltage of the secondary battery 121 is lower than 3V.
[0161] If the voltage of the main battery 111 is higher than 3.3V and the voltage of the sub-battery 121 is lower than 3V, step S112 is executed.
[0162] 3V and 3.3V may be the voltage-related thresholds configured in step S109 .
[0163] S112 , the secondary battery activation process module executes the secondary battery activation process to charge the secondary battery 112 .
[0164] Exemplarily, when the voltage of the main battery 111 is higher than 3.3V and the voltage of the secondary battery 121 is lower than 3V, the secondary battery activation process module controls the main battery 111 to charge the secondary battery 112.
[0165] To understand the boot process and Figure 5 The main battery activation process and the auxiliary battery activation process shown in the figure are explained. Figure 6 The power-on process provided by the embodiment of the present application is shown Figure 1 The system on chip (SoC) of an electronic device may include Figure 5 The modules shown are for the convenience of understanding the boot process. In the embodiment of the present application, the boot process is described with SoC as the execution subject.
[0166] like Figure 6 As shown in FIG. 1 , the boot process includes:
[0167] S200: The user inserts the charger into the electronic device.
[0168] S201 , the SoC reads the voltage of the main battery 111 , and determines whether the voltage of the main battery 111 reaches 3V.
[0169] Exemplarily, the main fuel gauge may be used to monitor the voltage and current of the main battery 111. The voltage of the main fuel gauge may indicate the voltage of the main battery 111. The current of the main fuel gauge may indicate the current of the main battery 111.
[0170] The SoC may read the voltage of the main battery 111 from the main fuel gauge and determine whether the voltage of the main battery 111 reaches 3V.
[0171] When the voltage of the main battery 111 does not reach 3V, the SoC may perform step S202.
[0172] When the voltage of the main battery 111 reaches 3V, the SoC may perform step S203.
[0173] S202: SoC executes a main battery activation process.
[0174] For example, when the voltage of the main battery 111 does not reach 3V, such as when the voltage of the main battery 111 is less than 3V, the SoC can control the switch Q41 of the first buck circuit 112 to be turned on, and charge the main battery 111 according to the Japan Electronic Information Technology Association (JEITA) rules. When the voltage of the main battery 111 reaches 3V, it can indicate that the main battery 111 is activated.
[0175] When the main battery 111 is activated, the SoC may execute step S203 .
[0176] Optionally, during the execution of the main battery activation process, the SoC may execute step S203. In this way, the secondary battery 121 may be charged as early as possible so that the voltage of the secondary battery 121 reaches the power-on threshold as early as possible, thereby shortening the power-on time and improving the user experience of the electronic device.
[0177] The boot time, for example, when the electronic device is turned off due to low battery, and the user connects the electronic device to a charger, and the electronic device starts the boot process to turn on the electronic device, the time from when the electronic device is turned off to when the electronic device is turned on.
[0178] S203 , the SoC reads the voltage of the secondary battery 121 , and determines whether the voltage of the secondary battery 121 reaches 3V.
[0179] Exemplarily, the sub-gauge may be used to monitor the voltage and current of the sub-battery 121. The voltage of the sub-gauge may indicate the voltage of the sub-battery 121. The current of the sub-gauge may indicate the current of the sub-battery 121.
[0180] When the voltage of the main battery reaches 3V, the SoC can read the voltage of the slave battery 121 from the slave fuel gauge to determine whether the voltage of the slave battery 121 reaches 3V.
[0181] When the voltage of the sub-battery 121 does not reach 3V, for example, when the voltage of the sub-battery 121 is less than 3V, the SoC may execute step S204.
[0182] When the voltage of the sub-battery 121 reaches 3V, such as when the voltage of the sub-battery 121 is greater than or equal to 3V, the SoC may execute step S205 .
[0183] Optionally, when the voltage of the secondary battery 121 is greater than 3V, the SoC can control the second step-down circuit 301 (secondary buck circuit) to be in a high impedance state (HiZ) and not charge the secondary battery 121. In this way, the probability of the charging efficiency of the main battery 111 being reduced due to the secondary battery 121 also being charged can be reduced.
[0184] S204, the SoC executes a secondary battery activation process.
[0185] For example, when the voltage of the sub-battery 121 does not reach 3V, the SoC may control the main battery 111 to charge the sub-battery 121 .
[0186] For example, when the voltage of the main battery 111 is greater than 3.45V, the SoC may turn off the switch Q41 of the first buck circuit 112 and turn on the isolation circuit, so that the main battery 111 charges the sub-battery 121 .
[0187] After the SoC completes the secondary battery activation process, the SoC may execute step S205 .
[0188] Optionally, during the execution of the secondary battery activation process, the SoC may also execute step S205. In this way, the secondary battery 121 can be charged by the main battery 111 as early as possible, thereby improving the charging efficiency of the secondary battery 121 and shortening the startup time of the electronic device.
[0189] S205 , the SoC determines whether the absolute value ΔV of the voltage difference between the main battery 111 and the sub-battery 121 is greater than a voltage difference threshold Vth.
[0190] Exemplarily, the SoC reads the voltage V1 of the main fuel gauge and also reads the voltage V2 of the sub-fuel gauge to obtain the absolute value ΔV of the voltage difference between the main battery 111 and the sub-battery 121. ΔV=|V1-V2|.
[0191] When the absolute value ΔV of the voltage difference between the main battery 111 and the sub-battery 121 is greater than the voltage difference threshold Vth, the SoC may execute step S206 .
[0192] When the absolute value ΔV of the voltage difference between the main battery 111 and the sub-battery 121 is less than or equal to the voltage difference threshold Vth, the SoC may execute step S207 .
[0193] S206, SoC executes dual-battery voltage equalization process.
[0194] Exemplarily, when the absolute value ΔV of the voltage difference between the main battery 111 and the sub-battery 121 is greater than the voltage difference threshold Vth, the SoC may control the isolation circuit 124 to be turned on so that the main battery 111 and the sub-battery 121 are voltage-balanced.
[0195] Through the dual-battery voltage equalization process, the voltage of the main battery 111 and the voltage of the secondary battery 121 can quickly reach their respective power-on thresholds, thereby shortening the power-on time of the electronic device and improving the user experience of the electronic device.
[0196] When the absolute value ΔV of the voltage difference between the main battery 111 and the sub-battery 121 is less than or equal to the voltage difference threshold Vth, the SoC may execute step S207 .
[0197] S207 , the SoC determines whether the voltage of the main battery 111 and the voltage of the sub-battery 121 both reach the power-on threshold.
[0198] When the voltage of the main battery 111 does not reach the first power-on threshold, and / or the voltage of the sub-battery 121 does not reach the second power-on threshold, the SoC may execute step S208.
[0199] When the voltage of the main battery 111 and the voltage of the sub-battery 121 both reach their respective power-on thresholds, the SoC may execute step S209 .
[0200] S208. The SoC executes a dual-battery low-battery charging process.
[0201] Exemplarily, when the voltage of the main battery 111 does not reach the first power-on threshold, and / or the voltage of the slave battery 121 does not reach the second power-on threshold, the SoC can control the switch Q41 of the first buck circuit 112 to turn on to charge the main battery 111. The SoC can also control the isolation circuit to turn on to balance the voltage of the main battery 111 and the slave battery 121.
[0202] In this way, the voltage of the main battery 111 and the voltage of the secondary battery 121 can reach their respective power-on thresholds more quickly, thereby shortening the power-on time.
[0203] S209: When the voltage of the main battery 111 and the voltage of the sub-battery 121 both reach their respective startup thresholds, the SoC may enter a kernel startup phase.
[0204] The SoC enters a kernel startup phase, and the electronic device is turned on by executing a kernel startup process, so that the application program of the electronic device can be used.
[0205] exist Figure 6 In the illustrated embodiment, steps S201 - S202 may be performed in the SBL stage, and steps S203 - S208 may be performed in the ABL stage.
[0206] To facilitate Figure 6 The auxiliary battery activation process in the embodiment shown is understood, and further, combined with Figure 7 ,right Figure 6 The secondary battery activation process in the illustrated embodiment is described. Figure 7 The secondary battery activation process provided in the embodiment of the present application is shown Figure 1 .
[0207] like Figure 7 As shown, Figure 6 The secondary battery activation process in the illustrated embodiment includes:
[0208] S203 , the SoC reads the voltage of the secondary battery 121 , and determines whether the voltage of the secondary battery 121 reaches 3V.
[0209] When the voltage of the sub-battery 121 is less than 3V, or when the electronic device fails to communicate, the SoC may perform step S301.
[0210] S301 , the SoC reads the voltage of the main battery 111 , and determines whether the voltage of the main battery 111 is greater than 3.45V.
[0211] Exemplarily, the main fuel gauge may be used to monitor the voltage and current of the main battery 111. The voltage of the main fuel gauge may indicate the voltage of the main battery 111. The current of the main fuel gauge may indicate the current of the main battery 111.
[0212] The SoC may read the voltage of the main battery 111 from the main fuel gauge and determine whether the voltage of the main battery 111 is greater than 3.45V.
[0213] When the voltage of the main battery 111 is less than or equal to 3.45V, the SoC may perform step S302.
[0214] When the voltage of the main battery 111 is greater than 3.45V, the SoC may perform steps S303 - S309 .
[0215] S302 , the SoC controls the first step-down circuit 112 to charge the main battery 111 according to JEITA regulations.
[0216] Exemplarily, the SoC can control the switch Q41 of the first buck circuit 112 to turn on, charge the main battery 111 according to the JEITA rule, and perform step S301 periodically or in real time. When the voltage of the main battery 111 is greater than 3.45V, the SoC can perform steps S303-S309.
[0217] S303 , the SoC may control the switch Q41 of the first step-down circuit 112 (or the main buck circuit) to be turned off, and read the voltage and current of the main battery 111 and the voltage and current of the sub-battery 121 .
[0218] Exemplarily, when the voltage of the main battery 111 is greater than 3.45V, the SoC can control the switch Q41 of the first buck circuit 112 to turn off, and read the voltage and current of the main battery 111 from the main fuel gauge, and read the voltage and current of the slave battery 121 from the slave fuel gauge.
[0219] S304 , the SoC determines whether the voltage of the sub-battery 121 is greater than 3V.
[0220] When the voltage of the sub-battery 121 is less than or equal to 3V, step S305 is executed.
[0221] When the voltage of the secondary battery 121 is greater than 3V, the SoC can execute Figure 6 Step S205 in the embodiment.
[0222] S305 , the SoC queries the voltage of the main battery 111 , and determines whether the voltage of the main battery 111 is greater than 3.05V.
[0223] When the voltage of the main battery 111 is less than or equal to 3.05V, the SoC may perform step S306.
[0224] When the main battery voltage is greater than 3.05V, the SoC may execute steps S307-S309.
[0225] S306 , when the main battery voltage is less than or equal to 3.05V, the SoC may turn off the isolation circuit and turn on (or conduct) the switch Q41 of the first buck circuit 112 .
[0226] Exemplarily, the isolation circuit includes a voltage balancing switch, which may be a metal-oxide-semiconductor field-effect transistor (MOSFET). MOSFET may be abbreviated as MOS. The SoC may shut down the voltage balancing switch to shut down the isolation circuit and stop the voltage balancing process between the main battery 111 and the secondary battery 121.
[0227] By way of example, the switch Q41 may also be a MOS.
[0228] The SoC turns on (or conducts) the switch Q41 of the first buck circuit 112 , so that the first buck circuit 112 charges the main battery 111 .
[0229] The SoC may also execute step S301 periodically or in real time.
[0230] S307: When the main battery voltage is greater than 3.05V, the SoC may read the main fuel gauge current to determine whether the main fuel gauge current is greater than 50mA.
[0231] For example, when the main battery voltage is greater than 3.05V, the SoC may turn on the isolation circuit through pulse width modulation (PWM) based on the main fuel gauge current, and adjust the charging current of the main battery 111 to charge the sub-battery 121 through pulse width modulation.
[0232] For example, when the main fuel gauge current is greater than 50 mA, the SoC may execute step S308 .
[0233] When the main fuel gauge current is less than or equal to 50 mA, the SoC may execute step S309 .
[0234] S308 , when the main fuel gauge current is greater than 50 mA, the SoC may turn on the isolation circuit and perform pulse width modulation (PWM step-1) in a step-down manner to reduce the charging current of the main battery 111 to charge the secondary battery 121 .
[0235] In this way, the change of charging current can be kept stable, reducing the impact of charging current on the battery.
[0236] When the SoC executes PWM step-1, the SoC may also periodically or in real time execute step S304. When the voltage of the secondary battery 121 is greater than 3V, the SoC may execute Figure 6 Step S205 in the embodiment.
[0237] S309 , when the main battery meter current is less than or equal to 50 mA, the SoC may turn on the isolation circuit and perform pulse width modulation (PWM step+1) in a step-increasing manner to increase the charging current of the main battery 111 to charge the secondary battery 121 .
[0238] In this way, the change of charging current can be kept stable, reducing the impact of charging current on the battery.
[0239] When the SoC executes PWM step+1, the SoC may also periodically or in real time execute step S304. When the voltage of the secondary battery 121 is greater than 3V, the SoC may execute Figure 6 Step S205 in the embodiment.
[0240] The process shown in steps S301-S309 can be called a secondary battery over-discharge activation process PWM scheme. The secondary battery activation process is implemented when the electronic device has only one step-down circuit, and the secondary battery 121 is charged by the main battery 111, so that in the startup process, the main battery 111 and the secondary battery 121 can reach their respective startup thresholds as early as possible to shorten the startup time.
[0241] In one possible scenario, when the main battery 111 and the secondary battery 121 are both fully charged (or fully charged), and the electronic device remains connected to the charger, the external screen 16 is in working condition.
[0242] In this scenario, the main battery 111 and the sub-battery 121 may be charged repeatedly. Figure 3As shown, the secondary battery 121 supplies power to the external screen 16 to maintain the working state of the external screen 16. Due to the power consumption of the external screen 16, the power of the secondary battery 121 will continue to decrease. When the power of the secondary battery 121 is less than the power of the main battery 111, the main battery 111 will charge the secondary battery 121. When the power of the main battery 111 is reduced to a preset value, the first step-down circuit 112 will charge the main battery 111 until both the main battery 111 and the secondary battery 121 are fully charged. When the battery is fully charged, the battery charging stops. The secondary battery 121 continues to supply power to the external screen 16, and the power of the secondary battery 121 will continue to decrease again. When the power of the secondary battery 121 is less than the power of the main battery 111, the main battery 111 will charge the secondary battery 121. When the power of the main battery 111 is reduced to a preset value, the first step-down circuit 112 will charge the main battery 111 until both the main battery 111 and the secondary battery 121 are fully charged. In this way, the main battery 111 and the sub-battery 121 are charged repeatedly.
[0243] Repeated charging of the main battery 111 and the sub-battery 121 may affect the performance and life of the main battery 111 and the sub-battery 121, thereby reducing the user's experience of using the electronic device.
[0244] In this regard, Figure 8 The circuit structure of the electronic device provided by the embodiment of the present application is shown in FIG. Figure 2 .
[0245] like Figure 8 As shown, in Figure 3 On the basis of the embodiment shown, the electronic device may further include a second buck circuit 301. The second buck circuit 301 may also be referred to as a secondary buck circuit. The second buck circuit 301 is disposed on the second folding portion 12.
[0246] The second step-down circuit 301 is connected between the USB interface 114 and the secondary battery 121. The second step-down circuit 301 is also connected between the USB interface 114 and the power supply interface 123 of the external screen 16.
[0247] Optionally, the second step-down circuit 301 includes a switch Q42 , and the switch Q42 is connected between the secondary battery 121 and the power supply interface of the external screen 16 .
[0248] The connection method of the first step-down circuit 112, the first SC circuit 115, the second SC circuit 122 and the isolation circuit 124 is shown in Figure 3 The deployment manner of the first buck circuit 112 , the first SC circuit 115 , the second SC circuit 122 and the isolation circuit 124 in the illustrated embodiment will not be described in detail herein.
[0249] The second step-down circuit 301 is used to step down the VBUS voltage transmitted by the USB interface 114 when the USB interface 114 is connected to the charger, to power the external screen 16, and to charge the secondary battery 121. Exemplarily, the second step-down circuit 301 steps down the VBUS voltage transmitted by the USB interface 114 to obtain a system voltage (Vsys) for powering the external screen 16, and also to obtain a charging voltage for charging the secondary battery 121.
[0250] The secondary battery 121 is used to provide a second battery voltage (Vbat2) to power the external screen 16 through the second step-down circuit 301 when the USB interface 114 is not connected to a charger and the switch Q42 is turned on; it is also used to provide a second battery voltage (Vbat2) to power the internal screen 15 when the USB interface 114 is not connected to a charger, the isolation circuit 124 turns on the transmission link between the first step-down circuit 112 and the secondary battery 121, and the switch Q41 is turned on.
[0251] The switch Q42 can be used to be turned on when the USB interface 114 is connected to a charger and the secondary battery 121 is not fully charged, so that the second buck circuit 301 supplies power to the external screen 16 and charges the secondary battery 121; it can also be used to be turned off when the USB interface 114 is connected to a charger and the secondary battery 121 is fully charged, so that the second buck circuit 301 supplies power to the external screen 16 and does not charge the secondary battery 121; it can also be used to be turned on when the USB interface 114 is not connected to a charger, so that the secondary battery 121 supplies power to the external screen 16. Exemplarily, the switch Q42 can be a MOS.
[0252] The main battery 111, the first step-down circuit 112, the first SC circuit 115, the second SC circuit 122 and the isolation circuit 124 respectively function as Figure 3 In the embodiment, the main battery 111 , the first buck circuit 112 , the first SC circuit 115 , the second SC circuit 122 and the isolation circuit 124 have similar functions, which will not be described in detail herein.
[0253] like Figure 8 As shown, when the electronic device is not connected to the charger, the secondary battery 121 can supply power to the external screen 16 through the second step-down circuit 301, so that the electronic device can supply power to the external screen 16 without the VPH_PWR network. If the electronic device is connected to the charger, the charger supplies power to the external screen 16 through the second step-down circuit 301, and the secondary battery 121 is not required to supply power to the external screen. Therefore, the cancellation of the VPH_PWR network can reduce the width of the shaft. The diameter or width of the shaft 23 can be reduced to Figure 8 As shown in FIG. d2, d2<d1.
[0254] When the main battery 111 and the sub-battery 121 are fully charged and the electronic device remains connected to the charger, the charger supplies power to the external screen 16 through the second step-down circuit 301, and there is no need for the sub-battery 121 to supply power to the external screen 16. The operation of the external screen 16 will not reduce the power of the sub-battery 121. In this way, when the electronic device is connected to the charger and the main battery 111 and the sub-battery 121 are fully charged, the probability of repeated charging of the main battery 111 and the sub-battery 121 can be reduced, thereby improving the user experience of the electronic device.
[0255] Combine the following Figure 9-12 ,right Figure 8 The electronic device shown in the embodiment illustrates the startup process of the electronic device in a scenario where the power of the electronic device is low, the electronic device is turned off, and the user connects the electronic device to a charger.
[0256] exist Figure 4 On the basis of Fig. 9 The module interaction diagram provided in the embodiment of the present application is shown Figure 2 .
[0257] like Fig. 9 As shown, the module interaction of the electronic device is shown in S400-S413 as follows:
[0258] S400: The user inserts the charger into the electronic device.
[0259] Optionally, the charger can be replaced with a power bank or other charging device.
[0260] S401: Initialize the first boot loader (PBL).
[0261] S402: PBL calls the SBL interface to guide the SBL code to be loaded into the memory.
[0262] S403 , the SBL guides the charging module to initialize, and performs a pre-charge state detection on the main battery 111 to determine whether to perform a main battery activation process.
[0263] Exemplarily, the charging module may include a first buck circuit 112 and may further include a second buck circuit 301. The SBL detects whether the voltage of the main battery 111 is lower than 3V.
[0264] When the voltage of the main battery 111 is lower than 3V, the SBL controls the switch Q41 of the first step-down circuit 112 to be turned on to charge the main battery 112 .
[0265] S404: SBL calls the XBL interface to guide XBL initialization.
[0266] S405: XBL is initialized.
[0267] S406: XBL calls the ABL interface to guide ABL initialization.
[0268] S407: ABL initialization.
[0269] S408 , the ABL calls the charging configuration interface or the ABL calls the charging configuration function, so that the charging configuration module performs charging module configuration.
[0270] S409: The charging configuration module configures battery-related thresholds for the charging module.
[0271] Exemplarily, the battery-related thresholds include voltage-related thresholds, temperature-related thresholds, and charging duration-related thresholds. The charging configuration module can configure the thresholds related to the main battery 111 and the thresholds related to the secondary battery 121 for the charging module.
[0272] S410: The charging configuration module calls a low-battery detection interface, or the charging configuration module calls a low-battery detection function, so that the secondary battery activation process module detects the voltage and / or current of the battery.
[0273] S411 , the secondary battery activation process module detects the voltage status of the main battery 111 and the secondary battery 121 .
[0274] Exemplarily, the secondary battery activation process module detects whether the voltage of the main battery 111 is greater than 3.3V, and the secondary battery activation process module detects whether the voltage of the secondary battery 121 is lower than 3V.
[0275] If the voltage of the main battery 111 is higher than 3.3V and the voltage of the sub-battery 121 is lower than 3V, step S412 is executed.
[0276] 3V and 3.3V may be the voltage-related thresholds configured in step S409 .
[0277] S412 , the secondary battery activation process module executes the secondary battery activation process to charge the secondary battery 112 .
[0278] Exemplarily, when the voltage of the main battery 111 is higher than 3.3V and the voltage of the secondary battery 121 is lower than 3V, the secondary battery activation process module controls the second buck circuit 301 to be turned on, so that the second buck circuit 301 charges the secondary battery 112.
[0279] S413, the secondary battery activation process module executes the secondary buck circuit control process.
[0280] Exemplarily, when the voltage of the secondary battery 121 reaches 3V, the secondary battery activation process module can control the second step-down circuit 301 (secondary buck circuit) to shut down, stop charging the secondary battery 121, and enable the electronic device to execute subsequent processes, such as the dual-battery voltage equalization process.
[0281] To understand the boot process and Fig. 9 The main battery activation process and the auxiliary battery activation process shown in the figure are explained. Fig.10 The power-on process provided by the embodiment of the present application is shown Figure 2 .
[0282] like Fig.10 As shown in FIG. 1 , the boot process includes:
[0283] S500: The user inserts the charger into the electronic device.
[0284] S501 , the SoC reads the voltage of the main battery 111 , and determines whether the voltage of the main battery 111 reaches 3V.
[0285] Exemplarily, the main fuel gauge may be used to monitor the voltage and current of the main battery 111. The voltage of the main fuel gauge may indicate the voltage of the main battery 111. The current of the main fuel gauge may indicate the current of the main battery 111.
[0286] The SoC may read the voltage of the main battery 111 from the main fuel gauge and determine whether the voltage of the main battery 111 reaches 3V.
[0287] When the voltage of the main battery 111 does not reach 3V, or the voltage of the main battery 111 is less than 3V, the SoC may perform step S502.
[0288] When the voltage of the main battery 111 reaches 3V, or the voltage of the main battery 111 is greater than or equal to 3V, the SoC may execute step S503.
[0289] S502: The SoC executes a main battery activation process.
[0290] For example, when the voltage of the main battery 111 does not reach 3V, the SoC can control the switch Q41 of the first buck circuit 112 to turn on and charge the main battery 111 according to the JEITA rule. When the voltage of the main battery 111 reaches 3V, it can indicate that the main battery 111 is activated.
[0291] When the main battery 111 is activated, the SoC may execute step S503 .
[0292] Optionally, during the execution of the main battery activation process, the SoC may execute step S503. In this way, the secondary battery 121 may be charged as early as possible so that the voltage of the secondary battery 121 reaches the power-on threshold as early as possible, thereby shortening the power-on time and improving the user experience of the electronic device.
[0293] S503 , the SoC reads the voltage of the secondary battery 121 , and determines whether the voltage of the secondary battery 121 reaches 3V.
[0294] Exemplarily, the sub-gauge may be used to monitor the voltage and current of the sub-battery 121. The voltage of the sub-gauge may indicate the voltage of the sub-battery 121. The current of the sub-gauge may indicate the current of the sub-battery 121.
[0295] When the voltage of the main battery reaches 3V, the SoC can read the voltage of the slave battery 121 from the slave fuel gauge to determine whether the voltage of the slave battery 121 reaches 3V.
[0296] When the voltage of the sub-battery 121 does not reach 3V, for example, when the voltage of the sub-battery 121 is less than 3V, the SoC may execute step S504.
[0297] When the voltage of the sub-battery 121 reaches 3V, such as when the voltage of the sub-battery 121 is greater than or equal to 3V, the SoC may execute step S505.
[0298] Optionally, when the voltage of the secondary battery 121 is greater than 3V, the SoC can control the second step-down circuit 301 (secondary buck circuit) to be in a high impedance state (HiZ) and not charge the secondary battery 121. In this way, the probability of the charging efficiency of the main battery 111 being reduced due to the secondary battery 121 also being charged can be reduced.
[0299] S504: The SoC executes a secondary battery activation process.
[0300] For example, when the voltage of the secondary battery 121 does not reach 3V, the SoC can control the switch Q42 of the second buck circuit 301 to be turned on, so that the second buck circuit 301 charges the secondary battery 121. The second buck circuit 301 can charge the secondary battery 121 according to the JEITA rule.
[0301] Optionally, when the voltage of the main battery 111 is greater than 3.4V, the SoC can turn off the switch Q41 of the first buck circuit 112 and turn on the isolation circuit so that the main battery 111 charges the secondary battery 121. When the voltage of the secondary battery 121 is greater than 3V, the SoC can execute step S505.
[0302] S505 , the SoC determines whether the absolute value ΔV of the voltage difference between the main battery 111 and the sub-battery 121 is greater than a voltage difference threshold Vth.
[0303] Exemplarily, the SoC reads the voltage V1 of the main fuel gauge and also reads the voltage V2 of the sub-fuel gauge to obtain the absolute value ΔV of the voltage difference between the main battery 111 and the sub-battery 121. ΔV=|V1-V2|.
[0304] When the absolute value ΔV of the voltage difference between the main battery 111 and the sub-battery 121 is greater than the voltage difference threshold Vth, the SoC may execute step S506 .
[0305] When the absolute value ΔV of the voltage difference between the main battery 111 and the sub-battery 121 is less than or equal to the voltage difference threshold Vth, the SoC may execute step S507 .
[0306] S506 , the SoC executes a dual-battery voltage equalization process.
[0307] Exemplarily, when the absolute value ΔV of the voltage difference between the main battery 111 and the secondary battery 121 is greater than the voltage difference threshold Vth, the SoC can control the voltage equalization switch of the isolation circuit 124 to turn on, so that the main battery 111 and the secondary battery 121 are voltage-balanced, for example, the main battery 111 charges the secondary battery 121.
[0308] By charging the secondary battery 121 through the main battery 111, the charging efficiency of the secondary battery 121 can be improved, so that the voltage of the secondary battery 121 quickly reaches the power-on threshold, thereby shortening the power-on time of the electronic device and improving the user experience of the electronic device.
[0309] When the absolute value ΔV of the voltage difference between the main battery 111 and the sub-battery 121 is less than or equal to the voltage difference threshold Vth, the SoC may execute step S507 .
[0310] S507 , the SoC determines whether the voltage of the main battery 111 and the voltage of the sub-battery 121 have reached their respective power-on thresholds.
[0311] Exemplarily, when the voltage of the main battery 111 does not reach the first power-on threshold, and / or the voltage of the sub-battery 121 does not reach the second power-on threshold, the SoC may execute step S508.
[0312] When the voltage of the main battery 111 and the voltage of the sub-battery 121 both reach their respective power-on thresholds, the SoC may execute step S509 .
[0313] S508. The SoC executes a dual-battery low-battery charging process.
[0314] Exemplarily, when the voltage of the main battery 111 does not reach the first power-on threshold, and / or the voltage of the sub-battery 121 does not reach the second power-on threshold, the SoC can control the switch Q41 of the first buck circuit 112 to turn on to charge the main battery 111, and the SoC can also control the switch Q42 of the second buck circuit 301 to turn on to charge the sub-battery 121. Optionally, the SoC can also control the isolation circuit 124 to turn on so that the voltage of the main battery 111 and the sub-battery 121 are voltage-balanced, so that the voltage of the main battery 111 and the voltage of the sub-battery 121 can reach their respective power-on thresholds more quickly to shorten the power-on time.
[0315] Optionally, when the voltage of the main battery 111 reaches the first power-on threshold and the voltage of the slave battery 121 does not reach the second power-on threshold, the SoC can control the switch Q41 of the first buck circuit 112 to turn off and not charge the main battery 111, and the SoC can control the switch Q42 of the second buck circuit 301 to turn on and charge the slave battery 121.
[0316] In this way, the probability of the charging efficiency of the secondary battery 121 being reduced due to the charging of the main battery 111 can be reduced, the charging efficiency of the secondary battery 121 can be improved, and the secondary battery 121 can quickly reach the startup threshold, thereby shortening the startup time.
[0317] When the voltage of the main battery 111 does not reach the first power-on threshold, and the voltage of the slave battery 121 reaches the second power-on threshold, the SoC can control the switch Q41 of the first buck circuit 112 to turn on to charge the main battery 111, and the SoC can control the switch Q42 of the second buck circuit 301 to turn off to stop charging the slave battery 121.
[0318] In this way, the probability of the charging efficiency of the main battery 111 being reduced due to the charging of the secondary battery 121 can be reduced, the charging efficiency of the main battery 111 can be improved, and the main battery 111 can quickly reach the startup threshold, thereby shortening the startup time.
[0319] Optionally, when the voltage of the main battery 111 and the voltage of the secondary battery 121 do not reach their respective power-on thresholds, the SoC can execute the main battery activation process shown in step S502 to charge the main battery, and the SoC can also execute the secondary battery activation process shown in step S504 to charge the secondary battery.
[0320] When the voltage of the main battery 111 reaches the first power-on threshold and the voltage of the sub-battery 121 does not reach the second power-on threshold, the SoC may execute the sub-battery activation process shown in step S504 to charge the sub-battery 121 .
[0321] When the voltage of the main battery 111 does not reach the first power-on threshold, and the voltage of the sub-battery 121 reaches the second power-on threshold, the SoC may execute the main battery activation process shown in step S502 to charge the main battery 111 .
[0322] S509: When the voltage of the main battery 111 and the voltage of the sub-battery 121 both reach their respective startup thresholds, the SoC may enter a kernel startup phase.
[0323] The SoC enters a kernel startup phase and executes a kernel startup process, and the electronic device is turned on so that the application program of the electronic device can be used.
[0324] exist Fig.10In the illustrated embodiment, steps S501 - S502 may be performed in the SBL stage, and steps S503 - S508 may be performed in the ABL stage.
[0325] In order to facilitate the understanding of the secondary battery activation process, further, combined with Fig.11 and Fig.12 ,right Fig. 9 and Fig.10 The secondary battery activation process shown in is explained.
[0326] Fig.11 The secondary battery activation process provided in the embodiment of the present application is shown Figure 2 .
[0327] like Fig.11 As shown, the secondary battery activation process includes:
[0328] S601 , the SoC reads the voltage of the main battery 111 , and determines whether the voltage of the main battery 111 is greater than 3.3V.
[0329] For example, the SoC may read the voltage of the main battery 111 from the main fuel gauge to determine whether the voltage of the main battery 111 is greater than 3.3V.
[0330] When the voltage of the main battery 111 is greater than 3.3V, steps S602 to S606 are executed.
[0331] When the voltage of the main battery 111 is less than or equal to 3.3V, steps S607 to S609 are executed.
[0332] S602: When the voltage of the main battery 111 is greater than 3.3V, the SoC may control the switch Q41 in the first step-down circuit 112 (or the main buck circuit) to be turned off.
[0333] In this way, the charging of the main battery 111 can be stopped, thereby reducing the probability of the charging efficiency of the sub-battery 121 being reduced due to the charging of the main battery 111.
[0334] For example, Figure 5 As shown, when the SoC controls the switch Q41 of the first buck circuit 112 to turn off and stops charging the main battery 111, the first buck circuit 112 can still transmit the system voltage (Vsys) to the power supply interface 113 of the inner screen 15 to power the inner screen 15.
[0335] S603 , the SoC reads the voltage of the secondary battery 121 , and determines whether the voltage of the secondary battery 121 is greater than 3V.
[0336] For example, the SoC may read the voltage of the slave battery 121 from the slave fuel gauge to determine whether the voltage of the slave battery 121 is greater than 3V.
[0337] When the voltage of the secondary battery 121 is greater than 3V, the SoC may execute step S601 , thereby reducing the probability that the primary battery 111 does not reach the power-on threshold.
[0338] When the voltage of the secondary battery 121 is greater than 3V, the SoC can also perform Fig.10 Step S505 in the embodiment.
[0339] When the voltage of the sub-battery 121 is less than or equal to 3V, the SoC may perform step S604.
[0340] S604 , the SoC may control the second step-down circuit 301 (or the secondary buck circuit) to start, and charge the secondary battery 121 according to JEITA regulations.
[0341] Exemplarily, when the voltage of the secondary battery 121 is less than or equal to 3V, the SoC can control the switch Q42 of the second buck circuit 301 to be turned on, so that the second buck circuit 301 charges the secondary battery 121 according to the JEITA rule. In this way, the voltage of the secondary battery 121 can reach the second power-on threshold as soon as possible, thereby shortening the power-on time of the electronic device.
[0342] S605 , the SoC determines whether the charging time of the secondary battery 121 exceeds a charging time threshold of the secondary battery 121 .
[0343] Exemplarily, the charging time of the secondary battery 121 may include the time from the start of charging of the secondary battery 121 to the time when the voltage of the secondary battery 121 reaches 3 V. The SoC may determine whether the charging time of the secondary battery 121 exceeds the time threshold of the secondary battery 121 by setting a timer when the secondary battery 121 is charged. For example, the time threshold of the secondary battery 121 may be 30 minutes.
[0344] When the charging time of the secondary battery 121 exceeds the charging time threshold of the secondary battery 121 , step S606 is executed.
[0345] When the charging time of the secondary battery 121 does not exceed the time threshold of the secondary battery 121, step S603 is executed. When the voltage of the secondary battery 121 is greater than 3V, the SoC may execute Fig.10 The embodiment further comprises step S505.
[0346] By determining whether the charging time of the secondary battery 121 exceeds the charging time threshold of the secondary battery 121 , it can be determined whether the charging of the secondary battery 121 is faulty or abnormal.
[0347] S606: When the charging time of the secondary battery 121 exceeds the charging time threshold of the secondary battery 121, the SoC controls the electronic device to enter a shutdown state.
[0348] If the charging time of the secondary battery 121 exceeds the time threshold of the secondary battery 121, it may indicate that the charging of the secondary battery 121 is abnormal. The SoC may control the electronic device to enter a shutdown state to stop charging the secondary battery 121, thereby reducing the probability of the abnormal charging of the secondary battery 121 affecting the electronic device.
[0349] S607 . When the voltage of the main battery 111 is less than or equal to 3.3 V, the SoC may control the first step-down circuit 112 to charge the main battery 111 according to JEITA.
[0350] Exemplarily, when the voltage of the main battery 111 is less than or equal to 3.3V, the SoC may control the switch Q41 of the first buck circuit 112 to be turned on, so that the first buck circuit 112 charges the main battery 111 according to JEITA.
[0351] S608 . The SoC determines whether the charging time of the main battery 111 exceeds a charging time threshold of the main battery 111 .
[0352] Exemplarily, the charging time of the main battery 111 may include the time from when the main battery 111 starts to be charged to when the voltage of the main battery 111 reaches 3.3 V. The SoC may determine whether the charging time of the main battery 111 exceeds a time threshold of the main battery 111 by setting a timer when the main battery 111 is charged. For example, the time threshold of the main battery 111 may be 30 minutes.
[0353] When the charging time of the main battery 111 exceeds the charging time threshold of the main battery 111 , the SoC executes step S609 .
[0354] When the charging time of the main battery 111 does not exceed the charging time threshold of the main battery 111 , the SoC executes step S601 , and when the voltage of the main battery 111 is greater than 3.3V, the SoC may execute S602 .
[0355] S609: When the charging time of the main battery 111 exceeds the charging time threshold of the main battery 111, the SoC controls the electronic device to re-enter the shutdown state.
[0356] If the charging time of the main battery 111 exceeds the time threshold of the main battery 111, it may indicate a charging failure or charging abnormality of the main battery 111. The SoC may control the electronic device to enter a shutdown state to stop charging the main battery 111, thereby reducing the probability that the abnormal charging of the main battery 111 will adversely affect the electronic device.
[0357] In addition to the charging time, which can reflect whether the battery is charging abnormally, the battery temperature can also reflect whether the battery is charging abnormally.
[0358] Furthermore, in order to reduce the probability of abnormal charging affecting electronic devices, Fig.11 Based on the process shown, Fig.12 The secondary battery activation process provided in the embodiment of the present application is shown Figure 3 . Fig.11 The embodiments shown and Fig.12 The illustrated embodiments all show the secondary battery activation process after step S503 .
[0359] Fig.12 and Fig.11 The difference is that: before step S608, Fig.12 The illustrated embodiment also includes step S701; after step S503, Fig.12 The illustrated embodiment also includes step S702. Fig.12 Other steps of the embodiment shown can be found in Fig.11 The steps shown in the embodiments are not described in detail here.
[0360] Step S701 and step S702 are described below.
[0361] S701 , the SoC determines whether the temperature of the main battery 111 is greater than or equal to 50° C. When the temperature of the main battery 111 is greater than or equal to 50° C., the SoC may execute step S609 . When the temperature of the main battery 111 is less than 50° C., the SoC may execute step S608 .
[0362] Exemplarily, the main fuel gauge may also monitor the battery temperature of the main battery 111. After the SoC executes step S607, the SoC may read the battery temperature of the main fuel gauge to determine whether the temperature of the main battery 111 is greater than or equal to 50° C. The battery temperature of the main fuel gauge may indicate the battery temperature of the main battery 111.
[0363] The temperature of the main battery 111 is greater than or equal to 50°C, indicating that the temperature of the main battery 111 is too high. Continuing to charge the main battery 111 when the temperature of the main battery 111 is too high may have an adverse effect on the electronic device. Therefore, when the temperature of the main battery 111 is greater than or equal to 50°C, the SoC can execute the shutdown process shown in step S609 to stop charging the main battery 111, thereby reducing the probability of the main battery 111 charging at an overly high temperature affecting the electronic device.
[0364] Optionally, after the SoC executes step S607, the SoC may also read the battery temperature of the main fuel gauge to determine whether the temperature of the main battery 111 is less than 0° C. When the temperature of the main battery 111 is less than 0° C., the SoC may execute step S609. When the temperature of the main battery 111 is greater than or equal to 0° C., the SoC may execute step S608.
[0365] The temperature of the main battery 111 is less than 0°C, indicating that the temperature of the main battery 111 is too low. Continuing to charge the main battery 111 when the temperature of the main battery 111 is too low may have an adverse effect on the electronic device. Therefore, when the temperature of the main battery 111 is less than 0°C, the SoC can execute the process shown in step S609 to stop charging the main battery 111, thereby reducing the probability of the main battery 111 charging at too low a temperature affecting the electronic device.
[0366] Optionally, the sub-electrical gauge may also monitor the battery temperature of the sub-battery 121. After the SoC executes step S604, the SoC may read the battery temperature of the sub-electrical gauge to determine whether the temperature of the sub-battery 121 is greater than or equal to 50°C. The battery temperature of the sub-electrical gauge may indicate the battery temperature of the sub-battery 121. When the temperature of the sub-battery 121 is greater than or equal to 50°C, the SoC may execute step S606. When the temperature of the sub-battery 121 is less than 50°C, the SoC may execute step S605.
[0367] The temperature of the secondary battery 121 is greater than or equal to 50°C, indicating that the temperature of the secondary battery 121 is too high. Continuing to charge the secondary battery 121 when the temperature of the secondary battery 121 is too high may have an adverse effect on the electronic device. Therefore, when the temperature of the secondary battery 121 is greater than or equal to 50°C, the SoC can execute the process shown in step S606 to stop charging the secondary battery 121, thereby reducing the probability of the occurrence of the impact of charging at an excessively high temperature of the secondary battery 121 on the electronic device.
[0368] Optionally, after the SoC completes step S304, the SoC may read the battery temperature of the secondary fuel gauge to determine whether the temperature of the secondary battery 121 is less than 0° C. When the temperature of the secondary battery 121 is less than 0° C., the SoC may execute step S606. When the temperature of the secondary battery 121 is greater than or equal to 0° C., the SoC may execute step S605.
[0369] The temperature of the secondary battery 121 is less than 0°C, indicating that the temperature of the secondary battery 121 is too low. Continuing to charge the secondary battery 121 when the temperature of the secondary battery 121 is too low may have an adverse effect on the electronic device. Therefore, when the temperature of the secondary battery 121 is less than 0°C, the SoC can execute the process shown in step S606 to stop charging the secondary battery 121, thereby reducing the probability of adverse effects on the electronic device caused by charging the secondary battery 121 at too low a temperature.
[0370] like Fig.12 As shown, after the SoC executes step S503, the SoC may execute step S702.
[0371] S702 , when the voltage of the secondary battery 121 is greater than 3V, the SoC may control the second step-down circuit 301 (secondary buck circuit) to be in a high impedance state (HiZ).
[0372] In this way, the second step-down circuit 601 (sub-buck circuit) can be stopped from charging the sub-battery 121 , thereby reducing the probability of the charging efficiency of the main battery 111 being reduced due to the charging of the sub-battery 121 .
[0373] Optionally, when the voltage of the secondary battery 121 is greater than 3V, the SoC can control the switch Q42 of the second step-down circuit 301 (secondary buck circuit) to turn off, so that the second step-down circuit 301 is in a high impedance state (HiZ) to the secondary battery 121, stops charging the secondary battery 121, and enables the second step-down circuit 301 to transmit the system voltage (Vsys) to the power supply interface 123 of the external screen 16.
[0374] Figure 9-12 The process shown can be called a secondary battery over-discharge activation process double buck solution.
[0375] Above Figure 9-12 ,right Figure 8 The electronic device shown in the embodiment illustrates the power-on process of the electronic device in a scenario where the power of the electronic device is low, the electronic device is turned off, and the user connects the electronic device to the charger. In this scenario, when the voltage of the main battery is lower than 3V, the main battery activation process is executed to charge the main battery. When the voltage of the main battery is greater than 3.3V, the charging of the main battery is stopped, and the secondary battery is charged through the second step-down circuit. In the dual-battery low-power charging process, the main battery and the secondary battery can be voltage-balanced, which can improve the charging efficiency of the main battery or the secondary battery, and can make the voltage of the main battery and the voltage of the secondary battery reach their respective power-on thresholds faster, shorten the power-on time, speed up the low-power activation process, and thus improve the user experience of the electronic device. In addition, by judging whether the charging time of the main battery has exceeded and judging whether the charging time of the secondary battery has exceeded, the probability of main battery charging failure or secondary battery charging failure causing adverse effects on electronic devices is reduced. By judging the battery temperature of the main battery and judging the battery temperature of the secondary battery, the probability of the main battery charging at too high or too low temperature causing adverse effects on electronic devices can be reduced. The probability of the secondary battery charging at too high or too low temperature causing adverse effects on electronic devices can also be reduced, and the user experience of the electronic devices can be improved.
[0376] It is understandable that when the power of the electronic device is low, the voltage of the main battery 111 and the auxiliary battery 121 is lower than the power-on threshold, causing the electronic device to have a black screen. If the electronic device is not connected to a charger, the electronic device may enter a shutdown state without starting the power-on process.
[0377] The electronic device proposed in this application is described below in combination with some embodiments.
[0378] The present application also provides an electronic device, including: a first folding portion, a second folding portion, a first display screen, a second display screen, and a hinge. The first folding portion includes an external interface, a power supply interface of the first display screen, a first step-down circuit, and a first battery. The second folding portion includes a power supply interface of the second display screen and a second battery.
[0379] The first folding part Figure 8 The first folded portion 21 is shown.
[0380] The second folding part Figure 8 The second folded portion 22 is shown.
[0381] The first display screen Figure 1 The inner screen 15 is shown.
[0382] The second display Figure 1 The external screen 16 is shown.
[0383] The shaft is Figure 8 The rotating shaft 23 is shown.
[0384] External interface such as Figure 8 A USB interface 114 is shown.
[0385] The power supply interface of the first display screen is as follows Figure 8 The power supply interface 113 of the inner screen 15 is shown.
[0386] The first step-down circuit is Figure 8 The first step-down circuit 112 is shown.
[0387] The first battery Figure 8 A main battery 111 is shown.
[0388] The power supply interface of the second display is as follows Figure 8 The power supply interface 123 of the external screen 16 is shown.
[0389] The second battery Figure 8 The secondary battery 121 is shown.
[0390] The first folding part and the second folding part are connected via a rotating shaft, which is used to rotate the first folding part around the rotating shaft and also to rotate the second folding part around the rotating shaft.
[0391] The first step-down circuit is connected between the external interface and the power supply interface of the first display screen, and the first step-down circuit is also connected between the external interface and the first battery.
[0392] The first battery is connected between the first step-down circuit and the second battery.
[0393] The second battery is connected between the first battery and the power supply interface of the second display screen.
[0394] The first step-down circuit is used to supply power to the first display screen and charge the first battery, but not supply power to the second display screen when the external interface is connected to the charger.
[0395] The first battery is used to supply power to the first display screen when the external interface is not connected to a charger.
[0396] The second battery is used to supply power to the second display screen through a transmission link between the second battery on the second folding portion and the power supply interface of the second display screen.
[0397] Optionally, the second folding portion further includes: a second step-down circuit.
[0398] The second step-down circuit is Figure 8 The second step-down circuit 301 is shown.
[0399] The second step-down circuit is connected between the external interface and the second battery, and the second step-down circuit is also connected between the external interface and the power supply interface of the second display screen;
[0400] The second step-down circuit is used to supply power to the second display screen and charge the second battery when the external interface is connected to the charger.
[0401] Optionally, the second step-down circuit further includes: a charging switch.
[0402] Charging switch Figure 8 Switch Q42 is shown.
[0403] The charging switch is used to be turned on when the external interface is connected to a charger and the second battery is not fully charged, so that the second step-down circuit supplies power to the second display screen and charges the second battery; it is also used to be turned off when the external interface is connected to a charger and the second battery is fully charged, so that the second step-down circuit supplies power to the second display screen and does not charge the second battery; it is also used to be turned on when the external interface is not connected to a charger, so that the second battery supplies power to the second display screen.
[0404] Optionally, the second folding portion further includes: an isolation circuit.
[0405] Isolation circuit such as Figure 8 The isolation circuit 124 is shown.
[0406] The isolation circuit is connected between the first battery and the second battery.
[0407] The isolation circuit is used to be turned on when the absolute value of the voltage difference between the voltage of the first battery and the voltage of the second battery is greater than a first threshold value, so that the voltage between the first battery and the second battery is balanced.
[0408] The electronic device provided in this embodiment can be used to execute a control method provided in the following embodiment of the present application. The control method includes:
[0409] When the electronic device enters the shutdown state due to low power, if the external interface is connected to a charger, it is determined whether the voltage of the first battery is greater than or equal to the second threshold. Fig.10 The specific implementation principle of step S501 is similar.
[0410] The second threshold is 3V, for example.
[0411] When the voltage of the first battery is less than the second threshold, the first step-down circuit is controlled to charge the first battery. Fig.10 The specific implementation principle of step S502 is similar.
[0412] When the voltage of the first battery is greater than or equal to the second threshold, it is determined whether the voltage of the second battery is greater than the third threshold. Fig.10 The specific implementation principle of step S503 is similar.
[0413] The third threshold is 3V, for example.
[0414] When the voltage of the second battery is less than or equal to the third threshold, it is determined whether the voltage of the first battery is greater than a fourth threshold; the fourth threshold is greater than the second threshold. Fig.11 The specific implementation principle of step S601 is similar.
[0415] The fourth threshold value may be 3.3 V. The fourth threshold value may also be 3.25 V, 3.4 V or 3.45 V.
[0416] When the voltage of the first battery is greater than a fourth threshold, the second step-down circuit is controlled to charge the second battery.
[0417] For example, before controlling the second step-down circuit to charge the second battery, the first step-down circuit is controlled to stop charging the first battery. Fig.11 The specific implementation principle of step S602 is similar.
[0418] Determine whether the voltage of the second battery is greater than a fifth threshold. The fifth threshold is greater than or equal to the third threshold. The specific implementation principle of this step is the same as Fig.11 The specific implementation principle of step S603 is similar.
[0419] The fifth threshold may be 3.3V or 3V.
[0420] When the voltage of the second battery is less than or equal to the fifth threshold, the second step-down circuit is controlled to charge the second battery. Fig.11 The specific implementation principle of step S604 is similar.
[0421] Optionally, from the moment the second battery starts charging to the moment the sixth threshold is reached, if the voltage of the second battery does not reach the fifth threshold, the electronic device is controlled to re-enter the shutdown state, so that the charging of the second battery is stopped. Fig.11 The specific implementation principle of step S606 is similar.
[0422] The sixth threshold is the same as the duration threshold of the secondary battery 121 , and the sixth threshold may be, for example, 30 minutes.
[0423] Optionally, when the voltage of the first battery is less than or equal to the fourth threshold, the first step-down circuit is controlled to charge the first battery and not to charge the second battery. Fig.11 The specific implementation principle of step S607 is similar.
[0424] From the moment the first battery starts charging to the moment the seventh threshold is reached, if the voltage of the first battery does not reach the fourth threshold, the electronic device is controlled to re-enter the shutdown state, so that the charging of the first battery is stopped. Fig.11 The specific implementation principle of step S609 is similar.
[0425] The seventh threshold is the same as the duration threshold of the main battery 111 , and the seventh threshold may be, for example, 30 minutes.
[0426] Optionally, after controlling the first step-down circuit to charge the first battery, it is determined whether the battery temperature of the first battery is greater than or equal to an eighth threshold. Fig.12 The specific implementation principle of step S701 is similar.
[0427] The eighth threshold may be 50°C.
[0428] When the battery temperature of the first battery is greater than or equal to the eighth threshold, the electronic device is controlled to re-enter the shutdown state, so that the charging of the first battery is stopped. Fig.12 The specific implementation principle of step S609 is similar.
[0429] Optionally, when the voltage of the second battery is greater than the fifth threshold, it is determined whether the absolute value of the voltage difference between the voltage of the first battery and the voltage of the second battery is greater than the first threshold. Fig.10 The specific implementation principle of step S505 is similar.
[0430] The first threshold is, for example, a voltage difference threshold Vth.
[0431] When the absolute value of the voltage difference between the voltage of the first battery and the voltage of the second battery is greater than the first threshold, the first battery and the second battery are controlled to perform voltage balancing. Fig.10 The specific implementation principle of step S506 is similar.
[0432] Optionally, when the absolute value of the voltage difference between the voltage of the first battery and the voltage of the second battery is less than or equal to the first threshold, it is determined whether the voltage of the first battery and the voltage of the second battery have reached their respective power-on thresholds. Fig.10 The specific implementation principle of step S507 is similar. The power-on threshold of the first battery includes a ninth threshold, and the power-on threshold of the second battery includes a tenth threshold.
[0433] The ninth threshold value may be the same as the first power-on threshold value. The tenth threshold value may be the same as the second power-on threshold value.
[0434] When the voltage of the first battery does not reach the ninth threshold value, and / or the voltage of the second battery does not reach the tenth threshold value, the first step-down circuit is controlled to charge the first battery, and the second step-down circuit is also controlled to charge the second battery. Fig.10 The specific implementation principle of step S508 is similar.
[0435] When the voltage of the first battery and the voltage of the second battery reach their respective power-on thresholds, the kernel startup process is executed. Fig.10 The specific implementation principle of step S509 is similar.
[0436] The specific implementation principle and technical effect of the electronic device provided by this embodiment are similar to Figure 8 The specific implementation principle and technical effect of the electronic device shown in the embodiment are similar to the specific implementation principle and technical effect of the control method provided in this embodiment. Figure 10-12 The specific implementation principle and technical effects of the illustrated embodiment are similar, and will not be described in detail herein.
[0437] In order to better understand the embodiments of the present application, Fig.13 , the structure of the electronic device in the embodiment of the present application is described.
[0438] Fig.13 A schematic structural diagram of an electronic device 100 is shown.
[0439] The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.
[0440] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or separate some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0441] The control method provided in the embodiment of the present application can be applied to electronic devices with communication functions. The electronic devices include terminal devices, and the specific device form of the terminal devices can refer to the above related descriptions, which will not be repeated here.
[0442] An embodiment of the present application provides an electronic device, which includes: a processor and a memory; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, so that the electronic device executes the above method.
[0443] The embodiment of the present application provides a chip. The chip includes a processor, and the processor is used to call a computer program in a memory to execute the technical solution in the above embodiment. Its implementation principle and technical effect are similar to those of the above related embodiments, and will not be repeated here.
[0444] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. The above method is implemented when the computer program is executed by the processor. The method described in the above embodiment can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the function can be stored as one or more instructions or codes on a computer-readable medium or transmitted on a computer-readable medium. Computer-readable media can include computer storage media and communication media, and can also include any medium that can transfer a computer program from one place to another. The storage medium can be any target medium that can be accessed by a computer.
[0445] In one possible implementation, a computer-readable medium may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, disk storage or other magnetic storage devices, or any other medium that is intended to carry or store the required program code in the form of instructions or data structures and can be accessed by a computer. Moreover, any connection is appropriately referred to as a computer-readable medium. For example, if a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL) or wireless technology (such as infrared, radio and microwave) is used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technology such as infrared, radio and microwave are included in the definition of medium. Disks and optical disks as used herein include optical disks, laser disks, optical disks, digital versatile disks (DVD), floppy disks and Blu-ray disks, where disks usually reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included in the scope of computer-readable media.
[0446] An embodiment of the present application provides a computer program product, which includes a computer program. When the computer program is executed, the computer executes the above method.
[0447] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to generate a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0448] The above specific implementation methods further illustrate the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.
Claims
1. An electronic device, characterized in that: include: A first folding part, a second folding part, a first display screen, a second display screen and a rotating shaft; the first folding part includes an external interface, a power supply interface of the first display screen, a first step-down circuit and a first battery; the second folding part includes a power supply interface of the second display screen and a second battery; The first folding portion and the second folding portion are connected via the rotating shaft; the rotating shaft is used to make the first folding portion rotate around the rotating shaft, and is also used to make the second folding portion rotate around the rotating shaft; The first step-down circuit is connected between the external interface and the power supply interface of the first display screen, and the first step-down circuit is also connected between the external interface and the first battery; the first battery is connected between the first step-down circuit and the second battery; the second battery is connected between the first battery and the power supply interface of the second display screen; The first step-down circuit is used to supply power to the first display screen and charge the first battery, but not supply power to the second display screen when the external interface is connected to a charger; The first battery is used to supply power to the first display screen when the external interface is not connected to the charger; The second battery is used to supply power to the second display screen through a transmission link between the second battery on the second folding portion and a power supply interface of the second display screen.
2. The electronic device according to claim 1, characterized in that: The second folding portion further includes: a second step-down circuit; The second step-down circuit is connected between the external interface and the second battery, and the second step-down circuit is also connected between the external interface and the power supply interface of the second display screen; The second step-down circuit is used to supply power to the second display screen and charge the second battery when the external interface is connected to the charger.
3. The electronic device according to claim 2, characterized in that: The second step-down circuit further includes a charging switch; The charging switch is used to be turned on when the external interface is connected to the charger and the second battery is not fully charged, so that the second step-down circuit supplies power to the second display screen and charges the second battery; it is also used to be turned off when the external interface is connected to the charger and the second battery is fully charged, so that the second step-down circuit supplies power to the second display screen and does not charge the second battery; it is also used to be turned on when the external interface is not connected to the charger, so that the second battery supplies power to the second display screen.
4. The electronic device according to any one of claims 1 to 3, characterized in that: The second folding portion further includes: an isolation circuit; The isolation circuit is connected between the first battery and the second battery; The isolation circuit is used to be turned on when the absolute value of the voltage difference between the voltage of the first battery and the voltage of the second battery is greater than a first threshold value, so that the voltage between the first battery and the second battery is balanced.
5. The electronic device according to any one of claims 2 to 4, characterized in that: The electronic device is used for: When the electronic device enters a shutdown state due to low power, if the external interface is connected to the charger, determining whether the voltage of the first battery is greater than or equal to a second threshold; When the voltage of the first battery is greater than or equal to the second threshold, determining whether the voltage of the second battery is greater than a third threshold; When the voltage of the second battery is less than or equal to the third threshold, determining whether the voltage of the first battery is greater than a fourth threshold; The fourth threshold is greater than the second threshold; When the voltage of the first battery is greater than the fourth threshold, the second step-down circuit is controlled to charge the second battery.
6. The electronic device according to claim 5, characterized in that: The electronic device is further used for: Before controlling the second step-down circuit to charge the second battery, controlling the first step-down circuit to stop charging the first battery; determining whether the voltage of the second battery is greater than a fifth threshold; The fifth threshold is greater than or equal to the third threshold; When the voltage of the second battery is less than or equal to the fifth threshold, the second step-down circuit is controlled to charge the second battery.
7. The electronic device according to claim 5 or 6, characterized in that: The electronic device is further used for: From the moment when the second battery starts charging to the moment when the sixth threshold is reached, if the voltage of the second battery does not reach the fifth threshold, the electronic device is controlled to re-enter the shutdown state, so that the charging of the second battery is stopped.
8. The electronic device according to any one of claims 5 to 7, characterized in that: The electronic device is further used for: When the voltage of the first battery is less than or equal to the fourth threshold, the first step-down circuit is controlled to charge the first battery and not to charge the second battery.
9. The electronic device according to claim 8, characterized in that: The electronic device is further used for: From the moment when the first battery starts charging to the moment when the seventh threshold is reached, if the voltage of the first battery does not reach the fourth threshold, the electronic device is controlled to re-enter the shutdown state, so that the charging of the first battery is stopped.
10. The electronic device according to claim 8 or 9, characterized in that: The electronic device is further used for: After controlling the first step-down circuit to charge the first battery, determining whether a battery temperature of the first battery is greater than or equal to an eighth threshold; When the battery temperature of the first battery is greater than or equal to the eighth threshold, the electronic device is controlled to re-enter the shutdown state, so that the charging of the first battery is stopped.
11. The electronic device according to any one of claims 5 to 10, characterized in that: The electronic device is further used for: When the voltage of the second battery is greater than a fifth threshold, determining whether an absolute value of a voltage difference between the voltage of the first battery and the voltage of the second battery is greater than a first threshold; When the absolute value of the voltage difference between the voltage of the first battery and the voltage of the second battery is greater than the first threshold, the first battery and the second battery are controlled to perform voltage balancing.
12. The electronic device according to claim 11, characterized in that: The electronic device is further used for: When the absolute value of the voltage difference between the voltage of the first battery and the voltage of the second battery is less than or equal to the first threshold, determining whether the voltage of the first battery and the voltage of the second battery reach their respective power-on thresholds; the power-on threshold of the first battery includes a ninth threshold, and the power-on threshold of the second battery includes a tenth threshold; When the voltage of the first battery does not reach the ninth threshold value, and / or the voltage of the second battery does not reach the tenth threshold value, controlling the first step-down circuit to charge the first battery, and also controlling the second step-down circuit to charge the second battery; When the voltage of the first battery and the voltage of the second battery both reach their respective power-on thresholds, a kernel startup process is executed.
13. The electronic device according to any one of claims 5 to 12, characterized in that: The electronic device is further used for: When the voltage of the first battery is less than the second threshold, the first step-down circuit is controlled to charge the first battery.
14. A control method, characterized in that: Applied to the electronic device according to any one of claims 2 to 13, the method comprising: When the electronic device enters a shutdown state due to low power, if the external interface is connected to the charger, determining whether the voltage of the first battery is greater than or equal to a second threshold; When the voltage of the first battery is greater than or equal to the second threshold, determining whether the voltage of the second battery is greater than a third threshold; When the voltage of the second battery is less than or equal to the third threshold, determining whether the voltage of the first battery is greater than a fourth threshold; the fourth threshold is greater than the second threshold; When the voltage of the first battery is greater than the fourth threshold, the second step-down circuit is controlled to charge the second battery.
15. The method according to claim 14, characterized in that Also includes: Before controlling the second step-down circuit to charge the second battery, controlling the first step-down circuit to stop charging the first battery; determining whether the voltage of the second battery is greater than a fifth threshold; The fifth threshold is greater than or equal to the third threshold; When the voltage of the second battery is less than or equal to the fifth threshold, the second step-down circuit is controlled to charge the second battery.
16. The method according to claim 14 or 15, characterized in that Also includes: From the moment when the second battery starts charging to the moment when the sixth threshold is reached, if the voltage of the second battery does not reach the fifth threshold, the electronic device is controlled to re-enter the shutdown state, so that the charging of the second battery is stopped.
17. The method according to any one of claims 14 to 16, characterized in that: Also includes: When the voltage of the first battery is less than or equal to the fourth threshold, the first step-down circuit is controlled to charge the first battery and not to charge the second battery.
18. The method according to claim 17, characterized in that Also includes: From the moment when the first battery starts charging to the moment when the seventh threshold is reached, if the voltage of the first battery does not reach the fourth threshold, the electronic device is controlled to re-enter the shutdown state, so that the charging of the first battery is stopped.
19. The method according to claim 16 or 17, characterized in that Also includes: After controlling the first step-down circuit to charge the first battery, determining whether a battery temperature of the first battery is greater than or equal to an eighth threshold; When the battery temperature of the first battery is greater than or equal to the eighth threshold, the electronic device is controlled to re-enter the shutdown state, so that the charging of the first battery is stopped.
20. The method according to any one of claims 14 to 19, characterized in that Also includes: When the voltage of the second battery is greater than a fifth threshold, determining whether an absolute value of a voltage difference between the voltage of the first battery and the voltage of the second battery is greater than a first threshold; When the absolute value of the voltage difference between the voltage of the first battery and the voltage of the second battery is greater than the first threshold, the first battery and the second battery are controlled to perform voltage balancing.
21. The method according to claim 20, characterized in that Also includes: When the absolute value of the voltage difference between the voltage of the first battery and the voltage of the second battery is less than or equal to the first threshold, determining whether the voltage of the first battery and the voltage of the second battery reach their respective power-on thresholds; the power-on threshold of the first battery includes a ninth threshold, and the power-on threshold of the second battery includes a tenth threshold; When the voltage of the first battery does not reach the ninth threshold value, and / or the voltage of the second battery does not reach the tenth threshold value, controlling the first step-down circuit to charge the first battery, and also controlling the second step-down circuit to charge the second battery; When the voltage of the first battery and the voltage of the second battery both reach their respective power-on thresholds, a kernel startup process is executed.
22. The method according to any one of claims 14 to 21, characterized in that Also includes: When the voltage of the first battery is less than the second threshold, the first step-down circuit is controlled to charge the first battery.
23. An electronic device, characterized in that: include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the electronic device performs the method according to any one of claims 14 to 22.
24. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 14 to 22 is implemented.
25. A computer program product, characterized in that The method comprises a computer program which, when being executed, causes a computer to execute the method according to any one of claims 14 to 22.