Connecting cable, electronic device, and charging system
By performing voltage and current conversion on the connecting cable using a DC-DC converter independent of the electronic devices, the problem of power loss in electronic devices caused by slow charging is solved, achieving more efficient charging and more stable battery cell charging.
Patent Information
- Application Number
- PCT/CN2025/077264
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-03-07
- Filing Date
- 2025-02-13
- Publication Date
- 2025-09-11
AI Technical Summary
When a user plays games on a charged electronic device, the charging speed of the electronic device is slow, resulting in a problem of power loss in the device.
A DC-DC converter on a connection cable independent of the electronic device is used to convert voltage and current, reducing the impact of heat on the temperature of the entire case, thereby increasing the charging speed, and meeting the different charging power requirements of the battery cells by controlling the number and status of the DC-DC converters.
It reduces the probability of electronic devices losing power due to charging speed being lower than power consumption rate, improves the stability of charging speed and charging power, and avoids equipment damage caused by overvoltage and overcurrent.
Smart Images

Figure CN2025077264_12092025_PF_FP_ABST
Abstract
Description
Connecting cables, electronics and charging systems
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 7, 2024, with application number 202410263096.4 and application name “Connecting cable, electronic device and charging system”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the field of terminal technology, and in particular to a connecting cable, an electronic device, and a charging system. Background Art
[0003] Some electronic devices can have multiple applications installed. These applications may include gaming and / or video applications. This allows users to play games or watch videos on their electronic devices. Furthermore, electronic devices also have charging capabilities. When the battery level is low, users can charge the device and then play games on it while it's charging.
[0004] However, when a user plays a game on an electronic device that is being charged, the electronic device may be charged slowly, thereby causing the electronic device to lose power. Summary of the Invention
[0005] An embodiment of the present application provides a connecting cable, an electronic device and a charging system, which are applied to the field of terminal technology. The connecting cable includes a first interface, at least one direct current-to-direct current (DC-DC) converter and a second interface. The DC-DC converter is arranged between the first interface and the second interface. When the first interface is connected to the electronic device and the second interface is connected to the charger, some or all of the at least one DC-DC converters charge the battery cells of the electronic device. Since the connecting cable is independent of the electronic device, the heat generated by the DC-DC converter during the DC-DC conversion will not affect the temperature rise of the entire housing of the electronic device, thereby reducing the limitation of the temperature rise of the entire housing on the charging power of the electronic device, so as to reduce the probability of power failure of the electronic device. It should be understood that the DC-DC converter can charge the battery cells by performing DC-DC conversion.
[0006] In a first aspect, an embodiment of the present application provides a connection cable, comprising: a first interface, at least one DC-DC converter, and a second interface, wherein the DC-DC converter is disposed between the first interface and the second interface.
[0007] In this way, when the first interface is connected to an electronic device and the second interface is connected to a charger, some or all of the at least one DC-DC converter can charge the battery cells of the electronic device. The charger is used to power the DC-DC converter via the second interface. The DC-DC converter converts the DC power received from the charger to obtain the voltage and current required to charge the battery cells, thereby charging the battery cells. It should be understood that the voltage and current used to charge the battery cells are also DC power. For example, the DC-DC converter can convert DC power with a voltage of 10V and a current of 2A received from the charger into DC power with a fast-charge voltage of 5V and a fast-charge current of 4A. The 5V fast-charge voltage and 4A fast-charge current are used to fast-charge the battery cells. The heat generated by the DC-DC converter during power conversion is distributed to the connecting cable, which is independent of the electronic device. Therefore, when the electronic device is charging, the heat generated by the DC-DC converter does not affect the overall temperature of the electronic device, thereby reducing the temperature rise of the electronic device and, in turn, reducing the limitation on the charging power of the battery cells caused by the temperature rise of the electronic device. This can reduce the probability of electronic devices losing power due to the charging speed being lower than the power consumption rate of the electronic devices. In addition, when the connection cable includes multiple DC-DC converters, the charging power of the battery cells can be controlled by controlling the number of DC-DC converters that charge the battery cells, thereby meeting the different charging power requirements of the battery cells. The connection cable can be the external circuit cable 306 in Figure 3 or Figure 5. The charger can be the charger 307 in Figure 3 or Figure 5. The electronic device can be the electronic device 300 in Figure 3 or the electronic device in Figure 4. The first interface can be the interface a 302 in Figure 3 or Figure 5. The DC-DC converter can be the fast charging circuit c 501 in Figure 5. The DC-DC converter can also be the external charging unit 303 including the fast charging circuit c 501 in Figure 5 or the external charging IC 504 including the fast charging circuit c 501 in Figure 5. The second interface can be the interface b 305 in Figure 3 or Figure 5. The first interface is connected to an electronic device, and the second interface is connected to a charger, for example, the external interface 301 is connected to the interface a 302, and the interface b 305 is connected to the charger interface 308. The DC-DC converter charging the battery cell may be a DC-DC converter fast charging the battery cell. The specific implementation principle of the DC-DC converter charging the battery cell can refer to the embodiment of Figure 3 or the specific implementation principle of the external charging unit fast charging the battery cell in the embodiment of Figure 4, or can refer to the specific implementation principle of the fast charging circuit c 501 in the embodiment of Figure 5 that converts the voltage and current obtained from the charger 307 into power to fast charge the battery cell 404, which will not be repeated here.Taking the DC-DC converter as fast charging circuit c 501, and fast charging circuit c 501 being connected to an external charging IC 504 as an example, when the connecting cable includes multiple DC-DC converters, the electronic device can transmit information indicating the fast charging circuit is enabled to the connecting cable, instructing the connecting cable to control the enabling of some or all of the multiple DC-DC converters to charge the battery cells. The information indicating the fast charging circuit is enabled may include the number of enabled fast charging circuits and / or the identifier of the fast charging circuit. The specific implementation principle of the electronic device transmitting the information indicating the fast charging circuit is enabled to the connecting cable can be referred to the specific implementation principle of the SoC controlling the fast charging circuit c 501 to be enabled through the external charging IC 504 in S709, S710, or S711 in the embodiment of FIG. 7 . In one embodiment of the present application, the DC-DC converter can be the same as the buck circuit. Charging the battery cells by the DC-DC converter can also be slow charging of the battery cells by the DC-DC converter. The specific implementation principle of slow charging of the battery cells by the DC-DC converter is similar to the specific implementation principle of fast charging of the battery cells by the DC-DC converter.
[0008] In one possible implementation, the first interface includes a first pin. The second interface includes a second pin. A DC-DC converter is connected between the second pin and the first pin. When the first interface is connected to an electronic device and the second interface is connected to a charger, some or all of the at least one DC-DC converters charge a battery cell of the electronic device via the first pin. The charger supplies power to the DC-DC converter via the second pin. The connection cable is independent of the electronic device and the charger.
[0009] In this way, a DC-DC converter is used to charge the battery cell in the charging scenario of the electronic device. The connecting cable is independent of the electronic device and the charger. The heat generated by the power conversion performed by the DC-DC converter on the connecting cable to charge the battery cell does not affect the temperature of the entire housing of the electronic device, which can reduce the temperature rise of the entire housing temperature of the electronic device, and thus reduce the limitation of the temperature rise of the entire housing temperature of the electronic device on the charging power of the battery cell. This can further reduce the probability of the electronic device losing power due to the charging speed being lower than the power consumption rate of the electronic device. Among them, the first pin can be the Vbat pin of the interface a 302 in Figure 5. The second pin can be the Vbus pin of the interface b 305 in Figure 5.
[0010] In a possible implementation, the first interface further includes a third pin that can output a first signal indicating overvoltage and / or overcurrent of the connection cable.
[0011] In this way, the electronic device can obtain the first signal transmitted by the connecting cable via the third pin, thereby stopping the DC-DC converter from charging the battery cell in the event of overvoltage and / or overcurrent in the connecting cable, thereby reducing the probability of damage to the electronic device due to the overvoltage and / or overcurrent connecting cable charging the battery cell. The third pin may be the SBU1 pin or the SBU2 pin of interface a 302 in FIG5 . For the specific implementation principle of the electronic device obtaining the first signal transmitted by the connecting cable via the third pin, see the specific implementation principle of the interruption of transmission from the external circuit cable 306 to the SoC 400 in the embodiment of FIG4 .
[0012] In a possible implementation, the first interface further includes a fourth pin, which can enable communication between the connection cable and the electronic device.
[0013] In this way, the connecting cable can communicate with the electronic device through the fourth pin, so that the connecting cable transmits charging performance parameters to the electronic device through the fourth pin, or transmits anti-counterfeiting information and charging performance parameters to the electronic device, so as to realize the connection cable charging the battery unit. Among them, the fourth pin can be the SDA pin and SCL pin of interface a 302 in Figure 5. For the specific implementation principle of the communication between the connecting cable and the electronic device, please refer to the specific implementation principle of IIC communication between SoC 400 and the external charging unit 303 in the embodiment of Figure 4 or Figure 5. The fourth pin can also be a single bus pin of the Type-C interface of the connecting cable. The single bus pin of the Type-C interface of the connecting cable can be obtained by redefining at least one pin of the RX2-pin, RX1-pin, TX2-pin or TX1-pin of the Type-C interface of the connecting cable.
[0014] In one possible implementation, the device further includes a first charging chip. The fourth pin includes a first serial data channel data line SDA pin and a first serial data channel clock line SCL pin. The first SDA pin and the first SCL pin are respectively connected to the first charging chip. The first SDA pin and the first SCL pin can implement integrated circuit bus (ICB) communication between the first charging chip and the electronic device.
[0015] In this way, the first charging chip can communicate with the SoC of the electronic device through the first SDA pin and the first SCL pin, so that the first charging chip can transmit charging performance parameters to the electronic device, or transmit anti-counterfeiting information and charging performance parameters to the electronic device, so as to realize charging of the battery cell by connecting the cable. Among them, the first SDA pin can be the SDA pin of interface a 302 in Figure 5. The first SCL pin can be the SCL pin of interface a 302 in Figure 5. The first charging chip can be the external charging IC 504 in Figure 5. Optionally, the first interface also includes a third pin. The third pin can be connected to the first charging chip. The first charging chip can also transmit a first signal to the electronic device through the third pin. It is understandable that the first charging chip can be connected to a DC-DC converter to enable or disable the DC-DC converter through the first charging chip.
[0016] In one possible implementation, the device further includes a first charging chip. The fourth pin includes a first 1-wire bus pin. The first 1-wire bus pin is connected to the first charging chip. The first 1-wire bus pin can implement 1-wire bus communication between the first charging chip and the electronic device.
[0017] In this way, the first charging chip can communicate with the electronic device via the first 1-wire bus pin, so that the first charging chip can transmit charging performance parameters to the electronic device, or transmit anti-counterfeiting information and charging performance parameters to the electronic device, so as to enable the battery unit to be charged by connecting the cable. The first 1-wire bus pin can be the 1-wire bus pin of the Type-C interface of the connection cable. The first charging chip can be the external charging IC 504 in Figure 5.
[0018] In one possible implementation, the device further includes an anti-counterfeiting chip connected to the fourth pin. When the first interface is connected to the electronic device, the anti-counterfeiting chip can transmit anti-counterfeiting information for authentication to the electronic device via the fourth pin.
[0019] In this way, the connecting cable can transmit anti-counterfeiting information to the electronic device via the anti-counterfeiting chip, so that if authentication is successful, the electronic device uses a DC-DC converter to charge the battery cell. For the specific implementation principle, please refer to the implementation principle of scenario 1 in the embodiment of Figure 4. If authentication is unsuccessful, the DC-DC converter is not used to charge the battery cell, thereby reducing the probability of damage to the electronic device or battery cell due to charging the battery cell by the DC-DC converter. For the specific implementation principle, please refer to the implementation principle of scenario 2 in the embodiment of Figure 4. The anti-counterfeiting chip can be the anti-counterfeiting IC 503 in Figure 5.
[0020] In one possible implementation, the first charging chip includes a linear power supply, one end of which is connected between the second pin and the DC-DC converter. The anti-counterfeiting chip is also connected to the linear power supply. The linear power supply can power the first charging chip and the anti-counterfeiting chip.
[0021] In this way, the linear power supply can obtain power from the charger through the second pin, and convert the obtained power into power before supplying power to the first charging chip and the anti-counterfeiting chip. The linear power supply can be the linear power supply (LDO) 502 in FIG5 .
[0022] In one possible implementation, the first interface further includes a fifth pin. The fifth pin is connected to the second pin. When the first interface is connected to an electronic device and the second interface is connected to a charger, the fifth pin and the second pin can enable the electronic device to obtain power from the charger.
[0023] In this way, the charger can power the electronic device via the second pin, the fifth pin, and the Vbus pin of the electronic device, allowing the first circuit on the electronic device to perform power conversion to charge the battery cell. Furthermore, if the DC-DC converter of the connection cable fails and cannot charge the battery cell, the battery cell can be charged via the first circuit on the electronic device, reducing the probability of the battery cell being unable to charge due to a DC-DC converter failure. The fifth pin can be the Vbus pin of interface a 302 in FIG. 5 .
[0024] In one possible implementation, the first interface further includes a sixth pin, and the second interface further includes a seventh pin. The sixth pin is connected to the seventh pin. When the first interface is connected to an electronic device and the second interface is connected to a charger, the sixth and seventh pins can enable communication between the electronic device and the charger.
[0025] Thus, the electronic device communicating with the charger via the sixth and seventh pins may include: the electronic device performing a fast charging protocol handshake with the charger via the sixth and seventh pins; and the electronic device transmitting charging requirement information to the charger via the sixth and seventh pins, so that the charger outputs a voltage and current corresponding to the charging requirement information, thereby charging the battery cell. It should be understood that the electronic device transmitting charging requirement information to the charger via the sixth and seventh pins constitutes data transmission between the electronic device and the charger in accordance with the fast charging protocol. The sixth pin may be the D+ and D- pins of interface a 302 in Figure 5 . The seventh pin may be the D+ and D- pins of interface b 305 in Figure 5 . In one possible implementation, the sixth pin may be the CC1 and CC2 pins of interface a 302 in Figure 5 . The seventh pin may be the CC pin of interface b 305 in Figure 5 .
[0026] In one possible implementation, the sixth pin includes a first data transmission pin and the seventh pin includes a second data transmission pin, and / or the sixth pin includes a first external device detection pin and the seventh pin includes a second external device detection pin.
[0027] In this way, when both the electronic device and the charger support the SCP protocol, the first data transmission pin and the second data transmission pin can enable the electronic device and the charger to perform fast charging protocol interaction according to the SCP protocol. For the implementation principle of fast charging protocol interaction between the electronic device and the charger according to the SCP protocol, see the implementation principle of fast charging protocol interaction between the fast charging chip a 311 and the charger 307 according to the SCP protocol in the embodiment of FIG4 or FIG5 . The first data transmission pin can be the D+ and D- pins of interface a 302 in FIG5 . The second data transmission pin can be the D+ and D- pins of interface b 305 in FIG5 . When both the electronic device and the charger support the PD protocol, the first external device detection pin and the second external device detection pin can enable fast charging protocol interaction between the electronic device and the charger according to the PD protocol. For the implementation principle of fast charging protocol interaction between the electronic device and the charger according to the PD protocol, see the implementation principle of fast charging protocol interaction between the PMU 414 and the charger 307 according to the PD protocol in the embodiment of FIG4 or FIG5 . The first external device detection pin can be the CC1 and CC2 pins of interface a 302 in FIG5 . The second external device detection pin may be the CC pin of the interface b 305 in FIG. 5 .
[0028] In one possible implementation, the first interface further includes a fifth pin, the first interface further includes a first external device detection pin, and the second interface further includes a second external device detection pin. The connection cable further includes a fifth resistor. The fifth pin is connected to the second pin. The first external device detection pin is connected to the second external device detection pin. One end of the fifth resistor is connected to the first external device detection pin, and the other end of the fifth resistor is connected to the fifth pin.
[0029] In this way, the electronic device can determine whether the connecting cable is a fast charging cable by detecting the fifth resistor. If the electronic device detects the fifth circuit in the connecting cable, it can be determined that the connecting cable is a fast charging cable. If the electronic device does not detect the fifth circuit in the connecting cable, it can be determined that the connecting cable is not a fast charging cable (or a non-fast charging cable). Among them, the fifth resistor can be the resistor R4 and the resistor R5 in Figure 5. The specific implementation principle of the electronic device determining whether the connecting cable is a fast charging cable by detecting the fifth resistor can be seen in the embodiment of Figure 5 or the embodiment of Figure 6. The specific implementation principle of the electronic device determining whether the external cable of the circuit is a fast charging cable.
[0030] In a possible implementation, the DC-DC converter is disposed on an end of the connection cable close to the first interface.
[0031] In this way, the DC-DC converter performs power conversion so that the output current of the DC-DC converter is higher than the input current. Since the higher the current, the greater the heat loss caused by current transmission. The DC-DC converter is arranged at the end of the connection cable near the first interface, which can shorten the connection line between the DC-DC converter and the electronic device, thereby reducing the heat loss caused by the transmission of the voltage and current output by the DC-DC converter, and can also reduce the cost of the transmission line used for the voltage and current output by the DC-DC converter.
[0032] In a second aspect, embodiments of the present application provide an electronic device comprising: a third interface and a battery unit. The third interface includes an eighth pin. The eighth pin is connected to the battery unit. The eighth pin can be connected to a connecting cable. When the connecting cable is connected to a power source, the connecting cable charges the battery unit via the eighth pin. The connecting cable is provided with a DC-DC converter, and the connecting cable is independent of the electronic device.
[0033] In this way, the eighth pin is connected to the battery cell. When the eighth pin is connected to the connecting cable and the connecting cable is powered on, the connecting cable can transmit the voltage and current used to charge the battery cell to the battery cell through the eighth pin to charge the battery cell. The voltage and current used to charge the battery cell can be the fast-charge voltage and fast-charge current used for fast charging the battery cell. In the charging scenario of the electronic device, since the connecting cable is independent of the electronic device, the heat generated by the DC-DC converter in the connecting cable when performing power conversion to obtain the voltage and current used to charge the battery cell does not affect the overall housing temperature of the electronic device, which can reduce the temperature rise of the overall housing temperature of the electronic device, thereby reducing the limitation of the charging power of the battery cell caused by the temperature rise of the overall housing temperature of the electronic device, and reducing the probability of the charging speed of the electronic device being reduced due to the temperature rise of the overall housing temperature. In addition, the probability of the electronic device losing power due to the charging speed being lower than the power consumption rate of the electronic device can be reduced. The connecting cable can be the connecting cable of the first aspect. The electronic device can be the electronic device shown in the first aspect. The electronic device can be the electronic device 300 shown in Figure 3 or the electronic device shown in Figure 4. The third interface may be the external interface 301 in FIG. 3 or 4 . The battery cell may be the battery cell 404 in FIG. 4 . The eighth pin may be the Vbat pin of the external interface 301 in FIG. 4 . The connecting cable may be the circuit external cable 306 in FIG. 3 or 5 . The DC-DC converter may be the fast charging circuit c 501 in FIG. 5 . The DC-DC converter may also be the external charging unit 303 including the fast charging circuit c 501 in FIG. 5 or the external charging IC 504 including the fast charging circuit c 501 in FIG. 5 . The specific implementation principle of charging the battery cell by the connecting cable may refer to the specific implementation principle of the external charging unit on the circuit external cable for fast charging the battery cell in the embodiment of FIG. 3 or FIG. 4 , which will not be described in detail here. In one embodiment of the present application, charging the battery cell by the connecting cable may also be slow charging of the battery cell by the connecting cable. The specific implementation principle of slow charging of the battery cell by the connecting cable may be similar to the specific implementation principle of fast charging of the battery cell by the connecting cable, which will not be described in detail here.
[0034] In one possible implementation, the battery further includes: a control unit and a first switch unit. The control unit is connected to the first switch unit. The first switch unit is connected between the eighth pin and the battery unit. The control unit can control the first switch unit to be in an on state or an off state.
[0035] In this way, by controlling the first switch unit to be in the on state, it is possible to connect the cable to charge the battery unit. By controlling the first switch unit to be in the off state, it is possible to stop connecting the cable to charge the battery unit. The control unit may be the SoC 400 in FIG4 . The first switch unit may be the switch unit a 401 in FIG4 . For example, the first switch unit may be a MOSFET or may be composed of multiple MOSFETs. The control unit may be connected to the control end of the first switch unit to control the first switch unit to be in the on state or the off state. The specific implementation principle of the control unit controlling the first switch unit to be in the on state or the off state can be referred to the specific implementation principle of the SoC controlling the switch unit a to be in the on state or the off state in the embodiment of FIG4 , the embodiment of FIG5 , the embodiment of FIG6 or the embodiment of FIG7 .
[0036] In one possible implementation, the third interface further includes a ninth pin, which is connected to the control unit. Upon receiving a first signal via the ninth pin, the control unit controls the first switch unit to be in an off state. The first signal indicates an overvoltage and / or overcurrent condition in the connecting cable. The first signal is transmitted to the control unit by the connecting cable when the eighth pin is connected to the connecting cable.
[0037] In this way, when the third interface is connected to the connecting cable, the eighth pin is connected to the connecting cable, and the ninth pin is connected to the connecting cable. In the case of overvoltage and / or overcurrent in the connecting cable, the connecting cable can transmit a first signal to the control unit through the ninth pin to prompt the control unit that the connecting cable is overvoltage and / or overcurrent. The control unit can control the first switch unit to be in an off state to stop the connecting cable from charging the battery cell, reducing the probability of damage to the battery cell or the electronic device caused by the connecting cable charging the battery cell. Among them, the ninth pin can be the SBU1 pin and the SBU2 pin of the external interface 301 in Figure 4. The first signal can be an interrupt (INT) transmitted to the control unit through the ninth pin when the connecting cable is overvoltage and / or overcurrent. Optionally, the electronic device also includes: a first resistor. One end of the first resistor is connected between the ninth pin and the control unit, and the other end of the first resistor is connected to the power supply of the control unit. The first resistor can maintain the stability of the level of the first signal (such as interrupt) transmitted. Among them, the first resistor can be the resistor R1 in Figure 4. The power supply of the control unit can be the power supply of the SoC 400 in Figure 4. For the specific implementation principle of the connecting cable transmitting the first signal to the control unit, reference may be made to the specific implementation principle of the external cable of the circuit transmitting the interruption to the SoC in the embodiment of FIG4 or FIG5 .
[0038] In one possible implementation, the device further includes a second switch unit, and the third interface further includes a tenth pin. The second switch unit is connected between the control unit and the tenth pin. The control unit can control the second switch unit to be in an on state or an off state. When the second switch unit is in the on state, the tenth pin can enable communication between the control unit and the connection cable.
[0039] In this way, by controlling the second switch unit to be in the on state, communication between the control unit and the connection cable can be achieved to determine whether the electronic device supports charging the battery cell with the connection cable. By controlling the second switch unit to be in the off state, the probability of the control unit communicating with other modules on the electronic device (such as the fast charging chip on the electronic device in Figure 4) and affecting the performance of the connection cable can be reduced. For example, when the electronic device identifies that the charger is a fast charging charger, the control unit can control the second switch unit to be in the on state. When the electronic device identifies that the charger is a non-fast charging charger, the control unit can control the second switch unit to be in the off state so that the control unit does not communicate with the connection cable, and thus does not use the connection cable to charge the battery cell. It can also reduce the probability of the performance of the electronic device being affected by using the connection cable to charge the battery cell when the charger is a non-fast charging charger. Among them, the tenth pin can be the SDA pin and the SCL pin of the external interface 301 in Figure 4. If the tenth pin is the SDA pin and the SCL pin of the external interface 301 in Figure 4, the second switch unit can be the switch unit b 402 and the switch unit c 403 in Figure 4. The tenth pin can also be the single bus pin of the Type-C interface of the electronic device. The single bus pin of the Type-C interface of the electronic device can be obtained by redefining at least one of the RX2-pin, RX1-pin, TX2-pin, or TX1-pin of the Type-C interface. For example, the RX2-pin and RX1-pin of the Type-C interface can be redefined as single bus pins. The specific implementation principle of the electronic device identifying whether the charger is a fast charger can be referred to the specific implementation principle of the PMU determining the device type of the charger in the embodiment of Figure 4.
[0040] In one possible implementation, the tenth pin includes: a second serial data channel data line SDA pin and a second serial data channel clock line SCL pin, and the second switch unit includes a first switch and a second switch. The first switch is connected between the control unit and the second SDA pin, and the second switch is connected between the control unit and the second SCL pin. The control unit can also control the first switch and the second switch to be both on or off. When the first switch and the second switch are both on, the second SDA pin and the second SCL pin can implement integrated circuit bus (ICB) communication between the control unit and the connection cable.
[0041] In this way, by controlling both the first and second switches to be in an on state, IIC communication between the control unit and the connection cable can be achieved, thereby determining whether the electronic device supports charging the battery cell with the connection cable. By controlling both the first and second switches to be in an off state, the probability of the control unit performing IIC communication with other modules on the electronic device and affecting the performance of the connection cable can be reduced. The second SDA pin can be the SDA pin of the external interface 301 in Figure 4. The second SCL pin can be the SCL pin of the external interface 301 in Figure 4. The first switch can be switch unit c 403 in Figure 4. The second switch can be switch unit b 402 in Figure 4. The control end of the first switch and the control end of the second switch can be connected to the control unit to enable the control unit to control the on and off of the first and second switches. Optionally, the electronic device further includes a second resistor and a third resistor. One end of the second resistor is connected between the second SDA pin and the control unit, and the other end of the second resistor is connected to the power supply of the control unit. One end of the third resistor is connected between the second SCL pin and the control unit, and the other end of the third resistor is connected to the power supply of the control unit. The second resistor and the third resistor can be used to maintain a high level on the IIC bus, enabling IIC communication to output a high level. They can also block interference signals to improve the quality of IIC communication between the control unit and the connecting cable. The second resistor and the third resistor can also protect the device or module that performs IIC communication with the control unit. The second resistor can be resistor R6 in Figure 4. The third resistor can be resistor R7 in Figure 4.
[0042] In one possible implementation, the tenth pin includes a second 1-wire bus pin. The second switch unit includes a third switch. The control unit can also control the third switch to be in an on state or an off state. When the third switch is in the on state, the second 1-wire bus pin can implement 1-wire bus communication between the control unit and the connection cable.
[0043] In this way, by controlling the third switch to be in the on state, single-wire bus communication can be achieved between the control unit and the connecting cable. By controlling the third switch to be in the off state, the probability of the control unit communicating with other modules on the electronic device and affecting the performance of the connecting cable can be reduced. The control end of the third switch can be connected to the control unit to enable the control unit to control the switching of the third switch. The third switch can be the same as the first switch. The second single-wire bus pin can be a single-wire bus pin of the Type-C interface of the electronic device. Optionally, the electronic device also includes a fourth resistor. One end of the fourth resistor is connected between the second single-wire bus pin and the control unit, and the other end of the fourth resistor is connected to the power supply of the control unit. The fourth resistor can be used to maintain the stability of the single-wire bus voltage level and block interference signals, thereby improving the quality of single-wire bus communication between the control unit and the connecting cable. The fourth resistor can also provide protection for devices or modules that communicate with the control unit through the single-wire bus. The fourth resistor can be the same as the second resistor.
[0044] In one possible implementation, the device further includes: at least one first circuit. The third interface further includes an eleventh pin. The first circuit is connected between the eleventh pin and the battery cell, and the first circuit is connected to a control unit. The control unit can also control the use of some or all of the at least one first circuit to charge the battery cell. The first circuit obtains electrical energy via the eleventh pin and is used for power conversion.
[0045] In this way, when an electronic device includes multiple first circuits, using all of the electronic device's first circuits to charge a battery cell can distribute the heat generated by the power conversion of the first circuits across each first circuit, achieving heat dispersion and facilitating heat dissipation. This can reduce the temperature rise of the entire housing, thereby reducing the limitation of the entire housing temperature rise on the charging power and reducing the probability of the electronic device powering off. Using part or all of at least one first circuit to charge a battery cell can also increase the charging power of the electronic device, thereby reducing the probability of the electronic device powering off. The eleventh pin can be the Vbus pin of the external interface 301 in Figure 4. The first circuit can be fast charging circuit a 406 or fast charging circuit b 411 in Figure 4. It should be understood that fast charging circuit a 406 and fast charging circuit b 411 can be the same. Fast charging circuit a 406 can also be the same as fast charging circuit c 501 in the external circuit cable 306. When an electronic device includes multiple first circuits, each of the multiple first circuits can be connected in parallel. Multiple first circuits are connected in parallel, for example: fast charging circuit a 406 is connected in parallel with fast charging circuit b 411. Taking the first circuit as fast charging circuit a 406 as an example, the first circuit is connected to the control unit, for example: fast charging circuit a 406 is connected to SoC 400 through fast charging chip a 311. The specific implementation principle of the first circuit obtaining electrical energy and performing power conversion to charge the battery cell can be referred to the specific implementation principle of the fast charging circuit a 406 in the embodiment of Figure 4 converting the voltage and current obtained from the charger 307 into a fast charging voltage and a fast charging current to fast charge the battery cell 404. The specific implementation principle of the control unit controlling the use of part or all of the first circuits in at least one first circuit to charge the battery cell can be referred to the specific implementation principles of S710 and S711 in the embodiment of Figure 7.
[0046] In one possible implementation, the third interface further includes a twelfth pin. When the third interface is connected to a connection cable, and the connection cable is connected to a charger, the twelfth pin can enable communication between the electronic device and the charger.
[0047] In this way, the electronic device communicating with the charger through the twelfth pin may include: the electronic device performing a fast charging protocol handshake with the charger through the twelfth pin, and the electronic device transmitting charging requirement information to the charger through the twelfth pin. The electronic device transmits the charging requirement information to the charger so that the charger outputs the voltage and current corresponding to the charging requirement information transmitted by the electronic device, thereby charging the battery cell. Among them, the charger can be the charger shown in the first aspect. The charger can be the charger 307 in Figure 3 or Figure 5. The twelfth pin can be the D+ pin and D- pin of the external interface 301 in Figure 4. The twelfth pin can also be the CC1 pin and CC2 pin of the external interface 301 in Figure 4. The charging requirement information can be the charging requirement information shown in the embodiment of Figure 4, the embodiment of Figure 5 or the embodiment of Figure 7. For the specific implementation principle of communication between the electronic device and the charger, please refer to the specific implementation principle of the fast charging protocol interaction between the electronic device and the charger in the embodiment of Figure 4, the embodiment of Figure 5 or the embodiment of Figure 6.
[0048] In a possible implementation, the twelfth pin includes a third data transmission pin and / or a third external device detection pin.
[0049] In this way, in a scenario where both the electronic device and the charger support the SCP protocol, the third data transmission pin can enable the electronic device and the charger to interact with each other through the fast charging protocol according to the SCP protocol. In a scenario where both the electronic device and the charger support the PD protocol, the third external device detection pin can enable the electronic device and the charger to interact with each other through the fast charging protocol according to the PD protocol. Among them, the third data transmission pin can be the D+ pin and the D- pin of the external interface 301 in Figure 4. For the implementation principle of the fast charging protocol interaction between the electronic device and the charger according to the SCP protocol, please refer to the implementation principle of the fast charging protocol interaction between the fast charging chip a 311 and the charger 307 according to the SCP protocol in the embodiment of Figure 4. The third external device detection pin can be the CC1 pin and the CC2 pin of the external interface 301 in Figure 4. For the implementation principle of the fast charging protocol interaction between the electronic device and the charger according to the PD protocol, please refer to the implementation principle of the fast charging protocol interaction between the PMU 414 and the charger 307 according to the PD protocol in the embodiment of Figure 4.
[0050] In a third aspect, an embodiment of the present application provides a charging system, comprising: an electronic device, a connecting cable, and a charger. The electronic device comprises: a third interface and a battery cell. The third interface comprises an eighth pin. The eighth pin is connected to the battery cell. The connecting cable comprises: a first interface, at least one DC-DC converter, and a second interface. The DC-DC converter is arranged between the first interface and the second interface. When the third interface is connected to the first interface and the second interface is connected to the charger, some or all of the DC-DC converters in at least one DC-DC converter charge the battery cell through the eighth pin. The charger is used to power the DC-DC converter through the second interface. The connecting cable is independent of the electronic device and the charger.
[0051] In this way, when the third interface is connected to the first interface and the second interface is connected to a charger, the eighth pin is connected to the first pin, and the DC-DC converter receives DC power from the charger via the second interface. The DC-DC converter can perform power conversion on the DC power received from the charger to obtain the voltage and current for charging the battery cell. It should be understood that the voltage and current for charging the battery cell are DC power. The DC-DC converter transmits the voltage and current for charging the battery cell to the battery cell via the eighth pin to charge the battery cell. The connection cable is independent of the electronic device and the charger. The heat generated by the DC-DC converter during power conversion does not affect the overall housing temperature of the electronic device, thereby reducing the temperature rise of the electronic device housing and, in turn, reducing the limitation of the overall housing temperature on the charging power of the battery cell, thereby increasing the battery cell charging speed. This can also reduce the probability of the electronic device powering off due to the charging speed being lower than the power consumption rate of the electronic device. Furthermore, if the connection cable includes multiple DC-DC converters, the charging power of the battery cell can be controlled by controlling the number of DC-DC converters used to charge the battery cell, thereby meeting the different charging power requirements of the battery cells. The charging system can be the charging system shown in Figure 3. The electronic device may be the electronic device of the second aspect. The connecting cable may be the connecting cable of the first aspect. The charger may be the charger shown in the second aspect and / or the first aspect. The scenario in which the third interface is connected to the first interface and the second interface is connected to the charger, for example: the scenario in which the external interface 301 is connected to the interface a 302, and the interface b 305 is connected to the charger interface 308. The specific implementation principle of the DC-DC converter charging the battery cell can refer to the specific implementation principle of the external charging unit fast charging the battery cell in the embodiment of Figure 3 or Figure 4, or can refer to the specific implementation principle of the fast charging circuit c 501 fast charging the battery cell in the embodiment of Figure 5, which will not be repeated here. In one embodiment of the present application, the DC-DC converter may be the same as the buck circuit. The DC-DC converter charging the battery cell may also be the DC-DC converter slowly charging the battery cell. The specific implementation principle of the DC-DC converter slowly charging the battery cell is similar to the specific implementation principle of the fast charging circuit c 501 fast charging the battery cell in the embodiment of Figure 3 or Figure 4.
[0052] In one possible implementation, the first interface includes a first pin. The second interface includes a second pin. A DC-DC converter is connected between the second pin and the first pin. When the third interface is connected to the first interface and the second interface is connected to a charger, some or all of the at least one DC-DC converters charge the battery cell via the first and eighth pins. The charger is configured to power the DC-DC converter via the second pin. The connection cable is independent of the electronic device and the charger.
[0053] In this way, a DC-DC converter is used to charge the battery cell in the charging scenario of the electronic device. The connecting cable is independent of the electronic device and the charger. The heat generated by the power conversion performed by the DC-DC converter on the connecting cable to charge the battery cell will not affect the temperature of the entire housing of the electronic device, which can reduce the temperature rise of the entire housing temperature of the electronic device, and thus reduce the limitation of the temperature rise of the entire housing temperature of the electronic device on the charging power of the battery cell. In addition, the probability of the electronic device losing power due to the charging speed being lower than the power consumption rate of the electronic device can be reduced. Among them, the first pin can be the Vbat pin of the interface a 302 in Figure 5. The second pin can be the Vbus pin of the interface b 305 in Figure 5. It should be understood that when the third interface is connected to the first interface, the eighth pin is connected to the first pin.
[0054] In one possible implementation, the electronic device further includes: a control unit and a first switch unit. The control unit is connected to the first switch unit. The first switch unit is connected between the eighth pin and the battery unit. The control unit can control the first switch unit to be in an on state or an off state. For example, the third interface further includes a ninth pin, and the first interface further includes a third pin. The ninth pin is connected to the control unit. In the event of overvoltage and / or overcurrent in the connecting cable, the connecting cable transmits a first signal to the control unit via the third pin and the ninth pin, and the control unit controls the first switch unit to be in an off state.
[0055] In this way, by controlling the first switch unit to be in the on state, the connection cable can be used to charge the battery cell. By controlling the first switch unit to be in the off state, the connection cable can be stopped from charging the battery cell. The control unit and the first switch unit can refer to the control unit and the first switch unit shown in the second aspect. When the third interface is connected to the first interface, the ninth pin is connected to the third pin, and the electronic device can obtain the first signal transmitted by the connection cable through the third pin and the ninth pin, so as to stop the connection cable from charging the battery cell in the event of overvoltage and / or overcurrent in the connection cable, thereby reducing the probability of damage to the electronic device caused by the connection cable charging the battery cell due to overvoltage and / or overcurrent. The third pin can refer to the third pin shown in the first aspect. The ninth pin can refer to the ninth pin shown in the second aspect. The specific implementation principle of the electronic device obtaining the first signal transmitted by the connection cable through the third pin can refer to the specific implementation principle of the interruption of transmission of the connection cable to the SoC 400 in the embodiment of Figure 4.
[0056] In one possible implementation, the electronic device further includes a second switch unit, and the third interface further includes a tenth pin. The second switch unit is connected between the control unit and the tenth pin. The first interface further includes a fourth pin. The control unit can also control the second switch unit to be in an on state or an off state. When the second switch unit is in the on state, the tenth pin and the fourth pin can enable communication between the control unit and the connection cable.
[0057] In this way, when the third interface is connected to the first interface, the tenth pin is connected to the fourth pin. By controlling the second switch unit to be in the on state, communication between the control unit and the connection cable can be achieved through the tenth pin and the fourth pin to determine whether the electronic device supports the connection cable to charge the battery unit. By controlling the second switch unit to be in the off state, the probability of the control unit communicating with other modules on the electronic device (such as the fast charging chip on the electronic device in Figure 4) and affecting the performance of the connection cable can be reduced. For example, when the electronic device identifies that the charger is a fast charging charger, the control unit can control the second switch unit to be in the on state. When the electronic device identifies that the charger is a non-fast charging charger, the control unit can control the second switch unit to be in the off state, so that the control unit does not communicate with the connection cable, and the connection cable will not be used to charge the battery unit. It can also reduce the impact on the performance of the electronic device by charging the battery unit with the connection cable when the charger is a non-fast charging charger. Among them, the tenth pin can refer to the tenth pin shown in the second aspect. The second switch unit can refer to the second switch unit shown in the second aspect. The fourth pin can refer to the fourth pin shown in the first aspect. Exemplarily, the tenth pin includes: a second serial data channel data line SDA pin and a second serial data channel clock line SCL pin, and the second switch unit includes a first switch and a second switch. The first switch is connected between the control unit and the second SDA pin, and the second switch is connected between the control unit and the second SCL pin. The fourth pin includes: a first SDA pin and a first SCL pin. The control unit is further configured to control the first and second switches to be in either an on or off state. The IIC serial data channel data line formed by the second SDA pin, the on-state first switch, and the first SDA pin, and the IIC serial data channel clock line formed by the path formed by the second SCL pin, the on-state second switch, and the first SCL pin, can be used to implement integrated circuit bus (ICB) communication between the control unit and the connecting cable. Exemplarily, the tenth pin includes: a second single-wire bus pin. The fourth pin includes: a first single-wire bus pin. The single-wire bus transmission channel formed by the second single-wire bus pin, the on-state second switch unit, and the first single-wire bus pin can be used to implement single-wire bus communication between the control unit and the connecting cable.
[0058] In one possible implementation, the electronic device further includes: at least one first circuit. The third interface further includes an eleventh pin. The first interface further includes a fifth pin. The first circuit is connected between the eleventh pin and the battery cell. The fifth pin is connected to the second pin. When the third interface is connected to the first interface and the second interface is connected to a charger, the control unit may further control the use of some or all of the at least one first circuit to charge the battery cell. The first circuit obtains electrical energy from the charger via the eleventh pin, the fifth pin, and the second pin, and the first circuit is configured for power conversion.
[0059] In this way, when the third interface is connected to the first interface, the eleventh pin is connected to the fifth pin. By using part or all of the first circuits in at least one first circuit to charge the battery cell, the charging power of the battery cell can be increased, and then the charging speed of the battery cell can be increased, and the probability of power failure of the electronic device can be reduced. Among them, the eleventh pin can be the eleventh pin shown in the second aspect. The first circuit can be the first circuit shown in the second aspect. When the electronic device includes two or more first circuits, each of the two or more first circuits can be connected in parallel. The implementation principle of the first circuit performing power conversion can be referred to the implementation principle of the fast charging circuit a 406 in the embodiment of Figure 4 to convert the voltage and current output by the charger 307 into a fast charging voltage and a fast charging current.
[0060] In one possible implementation, the third interface further includes a twelfth pin. The first interface further includes a sixth pin, and the second interface further includes a seventh pin. The sixth pin is connected to the seventh pin. When the third interface is connected to the first interface and the second interface is connected to a charger, the twelfth pin, the sixth pin, and the seventh pin can enable communication between the electronic device and the charger.
[0061] In this way, when the third interface is connected to the first interface, the twelfth pin is connected to the sixth pin. When the third interface is connected to the first interface and the second interface is connected to the charger, the electronic device can communicate with the charger through the twelfth pin, the sixth pin, and the seventh pin. The electronic device can transmit charging requirement information to the charger, and the charger can output the voltage and current corresponding to the charging requirement information, thereby charging the battery cell. Exemplarily, the twelfth pin includes a third data transmission pin, the sixth pin includes a first data transmission pin, and the seventh pin includes a second data transmission pin. In this way, when both the electronic device and the charger support the SCP protocol, the third data transmission pin, the first data transmission pin, and the second data transmission pin can enable the electronic device and the charger to interact with each other in accordance with the SCP protocol. Exemplarily, the twelfth pin includes a third external device detection pin, the sixth pin includes a first external device detection pin, and the seventh pin includes a second external device detection pin. In this way, when both the electronic device and the charger support the PD protocol, the third external device detection pin, the first external device detection pin, and the second external device detection pin can enable the electronic device and the charger to interact with each other in accordance with the PD protocol. BRIEF DESCRIPTION OF THE DRAWINGS
[0062] FIG1 is a schematic diagram of the structure of a Type-C interface provided in an embodiment of the present application;
[0063] FIG2 is a schematic diagram of a scenario provided by an embodiment of the present application;
[0064] FIG3 is a schematic diagram of a charging system provided in an embodiment of the present application;
[0065] FIG4 is a circuit diagram of an electronic device provided in an embodiment of the present application;
[0066] FIG5 is a circuit diagram of an external circuit cable provided in an embodiment of the present application;
[0067] FIG6 is a schematic flow chart of a charging method provided in an embodiment of the present application;
[0068] FIG7 is a schematic diagram of a flow chart for determining a charging current Ib and a charging strategy according to an embodiment of the present application;
[0069] FIG8 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
[0070] FIG9 is another schematic structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0071] To facilitate a clear description of the technical solutions of the embodiments of the present application, some of the terms and technologies involved in the embodiments of the present application are briefly introduced below:
[0072] 1. Universal serial bus (USB) interface.
[0073] The USB interface may include a universal serial bus Type-A (USB Type-A) interface, a universal serial bus Type-B (USB Type-B) interface, or a universal serial bus Type-C (USB Type-C) interface.
[0074] Among them, the USB Type-C interface can be referred to as the Type-C interface.
[0075] For example, taking the Type-C interface as an example, FIG1 shows a schematic structural diagram of a Type-C interface provided in an embodiment of the present application.
[0076] As shown in Figure 1, the Type-C interface consists of 24 pins, designated A1-A12 and B1-B12. Because pins A1-A12 and B1-B12 have similar functions, the following uses pins A1-A12 as an example to explain the function of each pin.
[0077] Pins A1 and A12: Ground pins, also known as GND pins.
[0078] Pins A2 and A3: data transmission pins, also known as TX1+ and TX1- pins, can be used for compatibility with USB3.0 and USB3.1.
[0079] Pins A4 and A9: Connected to the power supply module in the terminal device so that the terminal device can power the Type-C interface. That is, the terminal device provides Vbus for the Type-C interface. Also called Vbus pins.
[0080] Pin A5: External device detection pin, also known as CC1 pin, is used to detect the type of external device. The external device type can include: downstream facing port (DFP) device or upstream facing port (UFP) device.
[0081] Pins A6 and A7: Data transmission pins, also known as the D+ and D- pins, are used to transmit audio and video streams or files. Electronic devices can also output voltage signals to the charger through the D+ and D- pins based on the fast charging protocol. The charger's built-in protocol decoding chip (integrated circuit, IC) can determine the required charger output voltage based on the voltage regulation instructions, quickly charging the electronic device. In normal charging mode (not using fast charging), the VBUS pin generally transmits a charger output voltage of no more than 5V. In fast charging mode, the transmitted charger output voltage can be as high as 20V or higher.
[0082] Pins A6 and A7 can be used for compatibility with USB2.0.
[0083] Pin A8: Function expansion pin, also known as SBU1 pin.
[0084] Pins A10 and A11: data receiving pins, also known as RX2+ and RX2- pins, can be used for compatibility with USB3.0 and USB3.1.
[0085] The functions of B1-B12 correspond to A1-A12 and are not repeated here. B1-B12 can be called: GND, TX2+, TX2-, Vbus, CC2, D+, D-, SBU2, Vbus, RX1+, RX1-, GND respectively.
[0086] Pins A1-A12 correspond to the A-layer gold fingers, and pins B1-B12 correspond to the B-layer gold fingers. As shown in Figure 1, the A-layer gold fingers and the B-layer gold fingers are asymmetric at CC1, SBU2, CC2, and SBU1, but the signals are symmetric elsewhere.
[0087] The CC pin in the embodiment of the present application may include a CC1 pin and / or a CC2 pin.
[0088] 2. Serial data line (SDA) and serial clock line (SCL)
[0089] Both SCL and SDA are signal lines in the inter-integrated circuit (IIC) bus. SDA is used for serial data transmission. SCL is used to generate synchronous clock pulses to control the timing of data transmission. The serial data line is also called the IIC serial data channel data line. The serial clock line is also called the IIC serial data channel clock line. IIC is also known as I2C.
[0090] 3. Temperature of the entire housing of the electronic equipment
[0091] The whole casing temperature of the electronic device may be a temperature obtained by fitting the respective temperatures of multiple measurement points on the electronic device according to a preset fitting method. For example, the whole casing temperature of the electronic device may be the average temperature of multiple measurement points on the electronic device. The multiple measurement points on the electronic device may include at least one measurement point located around a heat source on the electronic device and at least one measurement point away from the heat source. The charging circuit, charging chip, and system-on-chip (SoC) on the electronic device are all heat sources. The temperature of the measurement point may be determined based on the resistance value of a thermistor deployed at the measurement point. The thermistor may be a negative temperature coefficient (NTC) thermistor.
[0092] For example, the temperature at the measurement point can be calculated by calculating the resistance value of the thermistor at the measurement point. The temperature T at the measurement point satisfies the formula: T = 1 / [ln(RT / R0) / B + 1 / T0]. RT is the resistance value of the thermistor at the measurement point. R0 is the resistance value of the thermistor at the measurement point when the temperature at the measurement point is T0. B is a constant that is positively correlated with the temperature coefficient of the thermistor. T0 = 273.15 + 25.
[0093] Optionally, the temperature at the measurement point may also be determined based on a correspondence between resistance and temperature pre-stored in the electronic device, and the temperature corresponding to the resistance value of the thermistor at the temperature measurement point may be determined as the temperature at the measurement point.
[0094] In the embodiment of the present application, the entire casing temperature of the electronic device may be referred to as the entire casing temperature.
[0095] 4. Other terms
[0096] In the embodiments of this application, terms such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the terms "first chip" and "second chip" are used solely to distinguish between different chips and do not define their order. Those skilled in the art will understand that terms such as "first" and "second" do not define the quantity or execution order, and do not necessarily define differences.
[0097] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.
[0098] In the embodiments of the present application, "at least one" refers to one or more, and "more" 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: the existence of A alone, the existence of A and B at the same time, and the existence of B 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 items" or similar expressions refers to any combination of these items, including any combination of single items 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.
[0099] 5. Electronic devices
[0100] The electronic devices of the embodiments of the present application may include handheld devices, vehicle-mounted devices, etc. with a charging function. For example, some electronic devices include: mobile 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 cars, 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 capabilities, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in 5G networks or future evolved public land mobile communication networks. The terminal equipment in the network (PLMN), etc., is not limited to this in the embodiments of the present application.
[0101] As an example and not a 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 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 achieve powerful functions through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include those that are fully functional, large in size, and can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, as well as those 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 smart bracelets and smart jewelry for vital sign monitoring.
[0102] In addition, in the embodiments of the present application, the electronic device can also be a terminal device in the 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 of human-machine interconnection and object-to-object interconnection.
[0103] The electronic devices in the embodiments of the present application may also be referred to as: terminal equipment, 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.
[0104] In the embodiments 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 memory (also known as main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as the Linux operating system, the Unix operating system, the Android operating system, the iOS operating system, or the Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.
[0105] FIG2 shows a schematic diagram of a scenario provided in an embodiment of the present application.
[0106] As shown in FIG2 , electronic device 200 may include an external interface 201. External interface 201 may connect electronic device 200 to an external device. The external device may include charger 202 shown in FIG2 . Charger 202 may include a charging cable 203 and a charging cable interface 204.
[0107] The external interface 201 can be connected to the charging line interface 204 to achieve the connection between the electronic device 200 and the charger 202, and further enable the charger 202 to charge the electronic device 200.
[0108] The external interface 201 and the charging line interface 204 can both be USB interfaces, and the interface type of the external interface 201 is the same as the interface type of the charging line interface 204. For example, the external interface 201 and the charging line interface 204 are both Universal Serial Bus Type-A interfaces. Alternatively, the external interface 201 and the charging line interface 204 are both Universal Serial Bus Type-B interfaces. Alternatively, the external interface 201 and the charging line interface 204 are both Type-C interfaces.
[0109] Taking the example that both the external interface 201 and the charging line interface 204 are Type-C interfaces, the charging line interface 204 on the charging cable 203 can be called a Type-C female connector, and the external interface 201 on the electronic device 200 can be called a Type-C male connector.
[0110] There are two possible charging scenarios for electronic devices. One scenario involves charging an electronic device while a heavy-duty application is running. Heavy-duty applications can be understood as power-intensive applications. These applications can include gaming or video applications. Another scenario involves charging an electronic device while a heavy-duty application is not running.
[0111] The scenario where the electronic device is charging and a heavy-loaded application on the electronic device is running can be called a play-while-charging scenario. For example, the play-while-charging scenario is a scenario where a user plays a game on the electronic device 200 that is being charged.
[0112] A scenario in which the electronic device is being charged and the heavy-load application on the electronic device is not running may be referred to as a standby charging scenario.
[0113] It can be understood that the heat is proportional to the square of the current I. The greater the current in the circuit, the more heat is generated in the circuit. The smaller the current in the circuit, the less heat is generated in the circuit. When the hardware of the electronic device is fixed, the heat dissipation performance of the whole device is fixed. When the hardware of the electronic device is fixed, considering the user's thermal experience and the safety of the whole device, in order to control the temperature rise of the whole casing within a preset temperature range, the electronic device can control a lower charging power, thereby making the charging speed of the electronic device lower. Therefore, the charging power of the electronic device will be limited by the temperature rise of the whole casing.
[0114] The temperature rise of the entire housing limits the charging power of the electronic device. For example, as the temperature rise of the entire housing increases, the electronic device can control the charging power of the electronic device to reduce in order to control the temperature rise of the entire housing within a preset temperature range. It can be understood that controlling the temperature rise of the entire housing within the preset temperature range can achieve a better user thermal experience.
[0115] When an electronic device is charging, the charging chip on the device performs power conversion. This power conversion and the resistance in the charging path of the electronic device generate heat, which in turn increases the temperature of the entire housing. The heat generated by the charging chip on an electronic device is positively correlated with the charging power of the electronic device. The lower the charging power of the charging chip, the smaller the charging current of the charging chip and the less heat the charging chip generates. The higher the charging power of the charging chip, the greater the charging current of the charging chip and the more heat the charging chip generates. The temperature rise of the entire housing can be understood as the temperature of the entire housing exceeding the ambient temperature. The ambient temperature can be 25°C.
[0116] In the scenario of charging while playing, the SoC of the electronic device will also generate heat. The heat generated by the SoC will also increase the temperature rise of the entire casing of the electronic device. Therefore, in the scenario of charging while playing, the charging of the electronic device and the operation of heavy-load applications will increase the temperature rise of the entire casing of the electronic device, and the increase in the temperature rise of the entire casing will limit the charging power of the electronic device. The smaller the charging power of the electronic device, the lower the charging speed of the electronic device. Therefore, when the temperature rise of the entire casing limits the charging power of the electronic device, the user may perceive that the electronic device is charging slowly. When the charging speed is less than the power consumption rate, the electronic device may lose power.
[0117] In the standby charging scenario, the heat generated by the SoC is small or negligible, but the heat generated by the charging chip and charging path on the electronic device will increase the temperature rise of the entire casing, thereby limiting the charging power of the electronic device. In the case of high-power (such as high current) charging, the heat of the entire device will also limit the duration of high-current charging. For example: After an electronic device is charged with a high current in a short period of time, due to the limitation of the temperature rise of the entire casing, the electronic device will switch from high current to low current for long-term charging, so as to control the temperature rise of the entire casing within a preset range.
[0118] The greater the charging power of an electronic device, the faster it charges. Therefore, reducing the heat generated (heat dissipation) by the electronic device during charging can reduce the temperature rise of the entire electronic device housing, thereby reducing the limitation of the entire housing temperature rise on the charging power, thereby increasing the charging power. Therefore, reducing the heat generated (heat dissipation) by the electronic device during charging is an effective way to increase the charging speed.
[0119] In view of this, an embodiment of the present application provides a charging system comprising an electronic device, a connecting cable, and a charger. The electronic device includes an external interface and a battery cell. The external interface includes a Vbat pin connected to the battery cell. The connecting cable includes an interface a, at least one DC-DC converter, and an interface b. The DC-DC converter is disposed between interface a and interface b. When the external interface is connected to interface a and interface b is connected to a charger, the DC-DC converter receives direct current (DC) from the charger via interface b, performs power conversion on the DC power received from the charger, and transmits the converted voltage and current to the battery cell via the Vbat pin to charge the battery cell. The voltage and current before and after the power conversion are both DC. Because the connecting cable is independent of the electronic device, the heat generated by the power conversion in the connecting cable does not affect the overall housing temperature of the electronic device, thereby reducing the limitation of the overall housing temperature rise on the charging power of the electronic device. Reducing the limitation of the overall housing temperature rise on the charging power of the electronic device can reduce the probability of the electronic device's charging speed being reduced due to the overall housing temperature rise, thereby reducing the probability of the electronic device's power failure due to the charging speed being lower than the electronic device's power consumption rate. It can also reduce the time it takes for a battery cell to be fully charged.
[0120] It should be understood that direct current can be simply referred to as direct current. In the embodiment of the present application, power conversion can be understood as direct current-to-direct current (DC-DC) conversion. Exemplarily, power conversion can be achieved by converting a first direct current into a second direct current. The voltage of the first direct current is different from the voltage of the second direct current, and the current of the first direct current is different from the current of the second direct current. The current of the second direct current may be greater than the current of the first direct current. For example, a 10V voltage and a 2A current are subjected to power conversion to obtain a 5V voltage and a 4A current. A 10V voltage and a 2A current belong to direct current. A 5V voltage and a 4A current also belong to direct current.
[0121] FIG3 shows a schematic diagram of a charging system provided in an embodiment of the present application.
[0122] As shown in FIG3 , the charging system includes an electronic device 300 , an external circuit cable 306 , and a charger 307 .
[0123] The external circuit cable 306 may include an interface a 302, an external charging unit 303, a charging cable 304, and an interface b 305. The charging cable 304 is connected to the interface a 302, the external charging unit 303, and the interface b 305, respectively. Optionally, the charging cable 304 may be connected to the external charging unit 303 via a connector. The connector may facilitate the removal or connection between the external charging unit 303 and the charging cable 304. The connector is not shown in FIG3 . The charging cable 304 does not have a power conversion function. The charging cable 304 may be used to transmit voltage and current, and may also be used to transmit information for interaction between the charger 307 and the electronic device 300.
[0124] The charger 307 may include a charger interface 308. The charger 307 is used to convert mains electricity (e.g., 220V AC) into DC power and output the DC power. It should be understood that a charging chip or an external circuit cable 306 on the electronic device can perform power conversion on the DC power output by the charger 307 to obtain a voltage and current for charging the battery cells, thereby charging the battery cells.
[0125] The electronic device 300 may include an external connection interface 301 .
[0126] The external interface 301, interface a 302, interface b 305, and charger interface 308 can all be USB interfaces. The interface type of the external interface 301 is the same as that of the interface a 302. The interface type of the interface b 305 is the same as that of the charger interface 308.
[0127] When the external interface 301 is connected to the interface a 302 and the interface b 305 is connected to the charger interface 308, the charger 307 can supply power to the external charging unit 303. The external charging unit 303 can convert the voltage and current received from the charger 307 and transmit the converted voltage and current to the battery cell of the electronic device 300 to fast charge the battery cell of the electronic device 300. The battery cell of the electronic device 300 is not shown in Figure 3.
[0128] Because the external charging unit 303 is located outside the electronic device 300, the heat generated by the power conversion performed by the external charging unit 303 does not affect the overall housing temperature of the electronic device 300. Therefore, in the charging scenario of the electronic device 300, using the external charging unit 303 to fast charge the battery cells of the electronic device 300 can reduce the temperature rise of the overall housing temperature of the electronic device 300, thereby reducing the limitation of the overall housing temperature rise on the charging power of the electronic device 300.
[0129] Optionally, as shown in FIG3 , the electronic device 300 may further include a fast charging chip (integrated circuit, IC) a 311 .
[0130] When the external interface 301 is connected to the interface a 302 and the interface b 305 is connected to the charger interface 308, the charger 307 can supply power to the fast charging chip a 311. The fast charging chip a 311 can also convert the voltage and current obtained from the charger 307 into power and transmit the converted voltage and current to the battery cell of the electronic device 300 to fast charge the battery cell of the electronic device 300.
[0131] In this way, by using a fast charging chip (such as fast charging chip a 302) and an external charging unit on an electronic device to fast charge the battery cell of the electronic device, the charging power of the electronic device can be increased, and thus the charging speed of the electronic device can be increased. For example, the maximum charging power supported by the external charging unit and the fast charging chip a is 50 (watt) W. In the case where the charger can support a power output of up to 150W, the external charging unit is used to fast charge the battery cell of the electronic device, and the maximum charging power of the battery cell does not exceed 50W. By using the fast charging chip a and the external charging unit to fast charge the battery cell of the electronic device, the maximum charging power of the battery cell can be greater than 50W and not more than 100W.
[0132] In addition, since the heat generated by the external charging unit will not affect the temperature of the entire casing of the electronic device, when the charging power of the electronic device is the same, the temperature of the entire casing of the electronic device using the fast charging chip a and the external charging unit to fast charge the battery unit of the electronic device is lower than that of the entire casing of the electronic device when the fast charging chip a is used to fast charge the battery unit. For example, if the charging power of the battery unit is 50W, when the fast charging chip a is used to fast charge the battery unit, the heat corresponding to the 50W charging power will affect the temperature of the entire casing. If the charging power of the fast charging chip a and the external charging unit for fast charging the battery unit is 25W respectively, when the fast charging chip a and the external charging unit are used to fast charge the battery unit, the heat generated by the fast charging chip a (equivalent to the heat generated by the 25W charging power) will affect the temperature of the entire casing, while the heat generated by the external charging unit (equivalent to the heat generated by the 25W charging power) will not affect the temperature of the entire casing. Therefore, using a fast charging chip a and an external charging unit to fast charge the battery unit of an electronic device can also reduce the temperature rise of the entire casing of the electronic device, thereby reducing the limitation of the temperature rise of the entire casing on the charging power of the electronic device.
[0133] 3 , in order to further increase the charging power of the electronic device 300 and thereby increase the charging speed, the electronic device 300 may further include a fast charging chip b 312. It should be understood that both the fast charging chip a 311 and the fast charging chip b 312 are charging chips of the electronic device.
[0134] When the external interface 301 is connected to the interface a 302 and the interface b 305 is connected to the charger interface 308, the fast charging chip b 312 can also obtain the voltage and current output by the charger 307. The fast charging chip b 312 can also perform power conversion on the voltage and current obtained from the charger 307 to fast charge the battery cells of the electronic device 300. The specific implementation principle is similar to the specific implementation principle of the fast charging chip a 311 for fast charging the battery cells of the electronic device 300, and will not be repeated here.
[0135] In this way, using two fast charging chips (such as fast charging chip a 302 and fast charging chip b 312) on an electronic device and an external charging unit to charge the battery cell of the electronic device can further improve the charging power of the electronic device, thereby increasing the charging speed of the electronic device. Since the heat generated by the external charging unit will not affect the temperature of the entire casing of the electronic device, under the same charging power, compared with the temperature of the entire casing when the fast charging chip a and the fast charging chip b are used to charge the battery cell of the electronic device, the temperature of the entire casing when the external charging unit, the fast charging chip a and the fast charging chip b are used to charge the battery of the electronic device is lower, and the restriction on the charging power is smaller. Therefore, using two fast charging chips and an external charging unit on an electronic device to charge the battery cell of the electronic device can also reduce the temperature rise of the entire casing of the electronic device, thereby reducing the restriction of the temperature rise of the entire casing on the charging power of the electronic device.
[0136] Therefore, in the scenario of playing and charging at the same time, using an external charging unit to fast charge the battery unit of the electronic device can reduce the probability of power failure of the electronic device.
[0137] The electronic device and the external circuit cable in FIG3 are described below with reference to FIG4 and FIG5 .
[0138] Taking the electronic device including the fast charging chip a 311 and the fast charging chip b 312 as shown in Figure 3 as an example, based on Figure 3, Figure 4 shows a circuit schematic diagram of the electronic device provided in an embodiment of the present application.
[0139] As shown in FIG4 , the electronic device may include: an external interface 301 , a switch unit a 401 , a switch unit b 402 , a switch unit c 403 , an SoC 400 , a battery unit 404 , a fast charging chip a 311 , and a fast charging chip b 312 .
[0140] Among them, the fast charging chip a 311 may include a fast charging circuit a 406. The fast charging chip b 312 may include a fast charging circuit b 411. The battery unit 404 may include a positive electrode and a negative electrode. In some embodiments of the present application, the battery unit 404 may further include a groove (or battery slot) for loading a removable battery. It will be understood that when the removable battery is loaded in the groove of the battery unit 404, the removable battery can power the electronic device through the positive and negative electrodes of the battery unit 404. When the electronic device is connected to a charger, the positive and negative electrodes of the battery unit 404 can be used to charge the removable battery.
[0141] For example, the external interface 301 is a Type-C interface, and the TX1+ pin, TX1- pin, RX1+ pin, RX1- pin, TX2+ pin, TX2- pin, RX2+ pin, RX2- pin, SBU1 pin, and SBU2 pin in the external interface 301 can all be redefined.
[0142] For example, in the external interface 301, the RX2+ pin, TX2+ pin, TX1+ pin and RX1+ pin can be redefined as external charging pins. The external charging pin can be called the BAT pin or the Vbat pin. The external charging pin can be used to transmit fast charging voltage and fast charging current. The RX2- pin and the RX1- pin can be redefined as the IIC serial data channel clock line (SCL) pin. The TX2- pin and the TX1- pin can be redefined as the IIC serial data channel data line (SDA) pin. The SCL pin and the SDA pin can be used to transmit IIC communication signals. The SBU1 pin and the SBU2 pin can be used to transmit interrupts (INT).
[0143] It should be understood that the pin redefinition shown in the embodiments of this application is an example and does not limit the pin redefinition. In one implementation of the embodiments of this application, the data channel shown as the IIC bus can also be other low-speed data channels. Other low-speed data channels can include single bus transmission channels.
[0144] As shown in FIG4 , the switch unit a 401 can be connected between the battery unit 404 and the Vbat pin of the external interface 301. For example, the four Vbat pins of the external interface 301 can be connected to one end of the switch unit a 401, and the other end of the switch unit a 401 can be connected to the positive electrode of the battery unit 404. The negative electrode of the battery unit 404 is grounded.
[0145] The switch unit b 402 may be connected between the SoC 400 and the SCL pin of the external interface 301. For example, the two SCL pins of the external interface 301 may be connected to one end of the switch unit b 402 respectively, and the other end of the switch unit b 402 may be connected to the SCL pin of the SoC 400.
[0146] The switch unit c 403 may be connected between the SoC 400 and the SDA pin of the external interface 301. For example, the two SDA pins of the external interface 301 may be connected to one end of the switch unit c 403 respectively, and the other end of the switch unit c 403 may be connected to the SDA pin of the SoC 400.
[0147] In this way, an IIC communication channel is established between the external interface 301 and the SoC 400. Among them, the control end of the switch unit a 401, the control end of the switch unit b 402, and the control end of the switch unit c 403 can be respectively connected to the SoC 400. The control end of the switch unit a 401, the control end of the switch unit b 402, and the control end of the switch unit c 403 are not shown in Figure 4. The control end of the switch unit a 401, the control end of the switch unit b 402, and the control end of the switch unit c 403 can each be a metal oxide semiconductor field effect transistor (MOSFET), or can each be composed of multiple MOSFETs.
[0148] Some or all of the four Vbus pins of the external interface 301 may also be connected to one end of the fast charging circuit a 406 . The other end of the fast charging circuit a 406 may be connected to the positive electrode of the battery unit 404 .
[0149] Some or all of the four Vbus pins of the external interface 301 may also be connected to one end of the fast charging circuit b 411 . The other end of the fast charging circuit b 411 may be connected to the positive electrode of the battery unit 404 .
[0150] The two D+ pins and two D- pins of the external interface 301 can also be connected to the fast charging chip a 311 respectively to establish a USB communication channel between the fast charging chip a 311 and the external interface 301. The two D+ pins and two D- pins of the external interface 301 can also be connected to the fast charging chip b 312 respectively to establish a USB communication channel between the fast charging chip b 312 and the external interface 301. The USB communication channel can be used for fast charging protocol interaction such as the super charge protocol (SCP).
[0151] SoC 400 can be connected to fast charging chip a 311 via an IIC bus. SoC 400 can be connected to fast charging chip b 312 via an IIC bus. It should be understood that the IIC bus can be used to implement IIC communication. In an embodiment of the present application, the communication between SoC 400 and fast charging chip a 311 can be implemented through the IIC bus between SoC 400 and fast charging chip a 311. The communication between SoC 400 and fast charging chip b 312 can be implemented through the IIC bus between SoC 400 and fast charging chip b 312.
[0152] Taking the SCP protocol as an example, when the external interface 301 of the electronic device is connected to the interface a 302 of the circuit external cable 306, and the interface b 305 of the circuit external cable 306 is connected to the charger interface 308 of the charger 307, the fast charging chip a 311 can perform fast charging protocol interaction with the charger 307 according to the SCP protocol through the USB communication channel between the fast charging chip a 311 and the charger 307; alternatively, the fast charging chip b 312 can perform fast charging protocol interaction with the charger 307 according to the SCP protocol through the USB communication channel between the fast charging chip b 312 and the charger 307. Fast charging protocol interaction can be understood as handshaking according to the fast charging protocol or transmitting data according to the fast charging protocol. Handshaking according to the fast charging protocol can be called a fast charging protocol handshake.
[0153] Among them, data transmission, for example, the transmission of charging parameters. The charging parameters may include the output voltage value and the output current value of the charger. The USB communication channel between the fast charging chip a 311 and the charger 307 may include: a USB communication channel between the fast charging chip a 311 and the external interface 301, and a USB communication channel between the external interface 301 and the charger 307. The USB communication channel between the fast charging chip b 312 and the charger 307 may include: a USB communication channel between the fast charging chip b 312 and the external interface 301, and a USB communication channel between the external interface 301 and the charger 307. The USB communication channel between the external interface 301 and the charger 307 is described in the subsequent embodiment of Figure 5.
[0154] Exemplarily, the priority of the fast charging chip a 311 can be higher than the priority of the fast charging chip b 312. When the external interface 301 is connected to the interface a 302, and the interface b 305 is connected to the charger interface 308, the electronic device can use the fast charging chip a 311 to interact with the charger 307 for fast charging protocol. When the fast charging chip a 311 cannot communicate with the charger 307 due to a fault, the electronic device can use the fast charging chip b 312 to interact with the charger 307 for fast charging protocol. It should be understood that the implementation principle of the fast charging protocol interaction between the fast charging chip a 311 and the charger 307 is similar to the implementation principle of the fast charging protocol interaction between the fast charging chip a 311 and the charger 307. The following description will be made by taking the fast charging protocol interaction between the fast charging chip a 311 and the charger 307 as an example.
[0155] Optionally, as shown in FIG4 , the electronic device may further include a power management unit (PMU) 414. When an external device is connected to the external interface 301, the PMU 414 may identify the device type of the external device. Device types may include charger type and non-charger type. Charger type external devices have a charging function. Non-charger type external devices do not have a charging function.
[0156] For example, taking the charger 307 as a fast charger and the electronic device and the charger 307 both supporting the SCP protocol, when the external interface 301 is connected to the interface a 302 and the interface b 305 is connected to the charger interface 308, the PMU 414 can interact with the charger 307 via the communication channel between the PMU 414 and the charger 307 using the battery charging protocol version 1.2 (BC1.2) to identify the device type of the charger 307.
[0157] The communication channel between PMU 414 and charger 307 may include: a CC channel between PMU 414 and external interface 301, and a CC channel between interface a 302 and charger 307. The CC channel between PMU 414 and external interface 301 may be, for example, a channel formed by connecting the CC1 and CC2 pins of external interface 301 to PMU 414, respectively; this channel is not shown in FIG4 . The CC channel between interface a 302 and charger 307 may include: a channel formed by connecting the CC1 pin of interface a 302 to the CC1 pin of interface b 305, and the CC1 pin of interface b 305 to the CC1 pin of charger interface 308; and a channel formed by connecting the CC2 pin of interface a 302 to the CC2 pin of interface b 305, and the CC2 pin of interface b 305 to the CC2 pin of charger interface 308. The CC pins of the interface a 302 , the interface b 305 , and the charger interface 308 are described in the subsequent embodiment of FIG. 5 .
[0158] When the PMU 414 identifies that the device type of the charger 307 is a charger type, the PMU 414 can transmit information indicating that the device type of the external device is a charging type to the SoC 400 through the IIC bus between the PMU 414 and the SoC 400. The SoC 400 can transmit a handshake instruction to the fast charging chip a 311 through the IIC bus between the SoC 400 and the fast charging chip a 311. The IIC bus used to connect the PMU 414 and the SoC 400 is not shown in Figure 4. In this embodiment of the present application, the communication between the PMU 414 and the SoC 400 can be achieved through the IIC bus between the PMU 414 and the SoC 400.
[0159] Upon receiving the handshake instruction, the fast charging chip a 311 may perform a fast charging protocol handshake with the charger 307 according to the SCP protocol through the USB communication channel between the fast charging chip a 311 and the charger 307 .
[0160] When the fast charging chip a 311 and the charger 307 successfully complete the fast charging protocol handshake, the fast charging chip a 311 can transmit information indicating the successful handshake to the SoC 400 via the IIC bus between the SoC 400 and the fast charging chip a 311. The SoC 400 can control the switch unit b 402 and the switch unit c 403 to be in the on state.
[0161] The SoC 400 can read the anti-counterfeiting information of the external circuit cable 306 and the charging performance parameters of the external circuit cable 306 from the external charging unit 303 through the IIC communication channel between the SoC 400 and the external charging unit 303. The charging performance parameters may include the maximum charging current and the maximum charging voltage supported. For example, the IIC communication channel between the SoC 400 and the external charging unit 303 may include the IIC communication channel between the external interface 301 and the SoC 400, and the IIC communication channel between the interface a 302 and the external charging unit 303.
[0162] For ease of understanding, the IIC communication channel between the interface a 302 and the external charging unit 303 is described in the subsequent embodiment of FIG. 5 .
[0163] In the embodiment of the present application, the anti-counterfeiting information of the external circuit cable 306 may be referred to as the anti-counterfeiting information. The charging performance parameters of the external circuit cable 306 may be referred to as the external charging performance parameters.
[0164] When the anti-counterfeiting information is obtained, the SoC 400 may parse the anti-counterfeiting information using a preset parsing rule to obtain the parsed anti-counterfeiting information, and may determine whether the parsed anti-counterfeiting information is consistent with the pre-stored anti-counterfeiting information.
[0165] If the parsed anti-counterfeiting information is determined to be consistent with the pre-stored anti-counterfeiting information, it can indicate that the electronic device supports external charging of the external circuit cable 306, or that the authentication is successful. External charging of the external circuit cable can be understood as charging the battery unit by the external charging unit on the external circuit cable or the fast charging circuit on the external circuit cable. The fast charging circuit on the external circuit cable is a circuit used for power conversion.
[0166] If it is determined that the parsed anti-counterfeiting information is inconsistent with the pre-stored anti-counterfeiting information, it may indicate that the electronic device does not support external charging of the circuit external cable 306, or that the authentication is unsuccessful.
[0167] Taking the scenario where authentication is successful as scenario one and the scenario where authentication is unsuccessful as scenario two as examples, the following describes the charging method of the electronic device in scenario one and the charging method of the electronic device in scenario two respectively.
[0168] Scenario 1:
[0169] If the authentication is successful, SoC 400 can determine the charging current Ib of the battery cell and further determine the charging strategy corresponding to the charging current Ib. The specific implementation principle of determining the charging current Ib of the battery cell and further determining the charging strategy corresponding to the charging current Ib is described in the subsequent embodiment of FIG. 7.
[0170] Taking the charging strategy corresponding to charging current Ib as an example, in which the fast-charging chip a 311, the fast-charging chip b 312, and the external charging unit 303 on the electronic device are used to charge the battery cell 404, the SoC 400 can calculate the external charging performance parameters, the charging performance parameters of the fast-charging chip a 311, the charging performance parameters of the fast-charging chip b 312, the first temperature, and the capacity of the battery cell 404 according to a preset calculation method to obtain a first charging parameter. The SoC 400 can transmit the first charging parameter to the fast-charging chip a 311 via the IIC bus.
[0171] Among them, the first temperature may include the entire casing temperature of the electronic device or the ambient temperature measured by the electronic device, etc. The embodiment of the present application is described by taking the first temperature as the entire casing temperature of the electronic device as an example. The capacity of the battery cell 404 may include the voltage of the battery cell 404. It should be understood that the charging performance parameters of the fast charging chip a 311 and the charging performance parameters of the fast charging chip b 312 may be pre-stored in the electronic device. The first charging parameter can be understood as the charging parameter when the battery cell 404 is charged using the external charging unit 303 and the fast charging circuit on the electronic device. The fast charging circuit on the electronic device is, for example: fast charging circuit a 406 and fast charging circuit b 411.
[0172] When the first charging parameter is obtained, the SoC 400 may control the switch unit a 401 to be in the on state. Alternatively, the SoC 400 may also control the switch unit a 401 to be in the on state before the authentication is successful and the first charging parameter is obtained.
[0173] Upon receiving the first charging parameter transmitted by SoC 400, fast charging chip a 311 may transmit first charging requirement information to charger 307 via the USB communication channel between fast charging chip a 311 and charger 307. The first charging requirement information may include the first charging parameter. It should be understood that the transmission of the charging requirement information by fast charging chip a 311 to charger 307 constitutes data transmission between the fast charging chip a 311 and charger 307 in accordance with the fast charging protocol.
[0174] Upon receiving the first charging requirement information, charger 307 may output a first voltage and a first current corresponding to the first charging requirement information. It should be understood that upon receiving the charging requirement information, charger 307 outputs a voltage and a current corresponding to the charging parameters in the charging requirement information. For example, the first voltage may be consistent with the output voltage value in the first charging parameter. The first current may be consistent with the output current value in the first charging parameter.
[0175] When the charger 307 outputs the first voltage and the first current, the external charging unit 303 can obtain the voltage and current from the charger 307 through the charger interface 308 and the interface b 305. The external charging unit 303 can convert the obtained voltage and current into a fast charge voltage 1 and a fast charge current 1, and transmit the fast charge voltage 1 and the fast charge current 1 to the battery unit 404 through the Vbat pin of the external interface 301 to fast charge the battery unit 404.
[0176] When the charger 307 outputs the first voltage and the first current, the fast charging circuit a 406 can obtain the voltage and current from the charger 307 via the charger interface 308, the interface b 305, the interface a 303, and the Vbus pin of the external interface 301. The fast charging circuit a 406 can convert the obtained voltage and current into a fast charging voltage 2 and a fast charging current 2, and transmit the fast charging voltage 2 and the fast charging current 2 to the battery cell 404 to fast charge the battery cell 404.
[0177] When the charger 307 outputs the first voltage and the first current, the fast charging circuit b 411 may also obtain the voltage and current from the charger 307 via the charger interface 308, the interface b 305, the interface a 303, and the Vbus pin of the external interface 301. The fast charging circuit b 411 may convert the obtained voltage and current into a fast charging voltage 3 and a fast charging current 3, and transmit the fast charging voltage 3 and the fast charging current 3 to the battery cell 404 to fast charge the battery cell 404.
[0178] In this way, when the charger outputs the first voltage and the first current, the battery unit can be fast-charged using the external charging unit, the fast-charging circuit a, and the fast-charging circuit b. When the charging power is increased, the heat generated by the fast-charging circuit on the electronic device can be distributed to the fast-charging circuit a and the fast-charging circuit b, thereby dispersing the heat and facilitating heat dissipation. This can reduce the temperature rise of the entire housing. The heat generated by the external charging unit (such as the heat generated by power conversion) will not affect the temperature of the entire housing, further reducing the temperature rise of the entire housing, thereby reducing the limitation of the temperature rise of the entire housing on the charging power of the electronic device.
[0179] It is understood that the product of the first voltage and the first current can be referred to as output power 1 of the charger 307. The product of the fast charge voltage 1 and the fast charge current 1 can be referred to as output power 2 of the external charging unit 303. The product of the fast charge voltage 2 and the fast charge current 2 can be referred to as output power 3 of the fast charge circuit a 406. The product of the fast charge voltage 3 and the fast charge current 3 can be referred to as output power 4 of the fast charge circuit b 411.
[0180] Without considering the heat loss caused by current and voltage transmission, the sum of output power 2, output power 3, and output power 4 can be equal to output power 1. The charging power of the battery unit can be equal to the sum of output power 2, output power 3, and output power 4.
[0181] Taking into account the heat loss caused by current and voltage transmission, the sum of output power 2, output power 3, and output power 4 can be less than output power 1. The charging power of the battery unit can be less than the sum of output power 2, output power 3, and output power 4.
[0182] Optionally, the SBU1 pin and the SBU2 pin of the external interface 301 can be connected to the SoC 400 respectively. In the event of overvoltage and / or overcurrent of the external charging unit 303, the external charging unit 303 can transmit an interrupt (INT) to the SoC 400 via the SBU1 pin and / or the SBU2 pin of the external interface 301. The SoC 400 can control the switch unit a 401 to be in an off state to stop the external charging unit 303 from charging the battery unit 404, thereby reducing damage to the battery unit 404 or the electronic device caused by the external charging unit 303 charging the battery unit 404 due to overvoltage and / or overcurrent.
[0183] Optionally, upon receiving an interruption transmitted by the external charging unit 303, the SoC 400 may transmit information indicating the stop of external charging to the external charging unit 303 via the IIC communication channel between the SoC 400 and the external charging unit 303. The external charging unit 303 may control the fast charging circuit on the external charging unit 303 to be disabled, so that the external charging unit 303 stops charging the battery unit 404.
[0184] In this way, when the electronic device supports the external charging unit 303 to charge the battery cell, the external charging unit 303, fast charging circuit a 406, and fast charging circuit b 411 can be used to charge the battery cell 404, so that the battery charging power is high. In addition, the heat generated by the external charging unit 303 will not affect the entire housing temperature of the electronic device 300, and can reduce the temperature rise of the entire housing temperature of the electronic device 300, thereby reducing the limitation of the temperature rise of the entire housing temperature on the charging power of the battery cell 404. In the event of overvoltage and / or overcurrent in the external charging unit 303, the external charging unit 303 can be stopped from charging the battery cell 404 to reduce the probability of the external charging unit 303 damaging the battery cell 404 or the electronic device due to overvoltage and / or overcurrent.
[0185] Scenario 2:
[0186] If the authentication fails, the SoC 400 can control the switch unit a 401 to be in the off state. In this way, the probability of damage to the battery unit or the electronic device caused by external charging of the circuit external cable can be reduced when the electronic device does not support external charging of the circuit external cable.
[0187] If authentication fails or the control switch unit a 401 is in the off state, the SoC 400 can calculate the charging performance parameters of the fast charging chip a 311, the charging performance parameters of the fast charging chip b 312, the first temperature, and the capacity of the battery unit 404 according to a preset calculation method to obtain a second charging parameter. The SoC 400 can transmit the second charging parameter to the fast charging chip a 311 via the IIC bus. The fast charging chip a 311 can transmit the second charging requirement information to the charger 307 via the USB communication channel between the fast charging chip a 311 and the charger 307. The second charging requirement information may include the second charging parameter.
[0188] Upon receiving the second charging requirement information, the charger 307 may output a second voltage and a second current corresponding to the second charging requirement information. Fast charging circuit a 406 may obtain voltage and current from the charger 307 via the charger interface 308, interface b 305, interface a 303, and the Vbus pin of the external interface 301. Fast charging circuit a 406 may convert the obtained voltage and current into a fast charging voltage 4 and a fast charging current 4 to fast charge the battery cell 404. Fast charging circuit b 411 may obtain voltage and current from the charger 307 via the charger interface 308, interface b 305, interface a 303, and the Vbus pin of the external interface 301. Fast charging circuit b 411 may convert the obtained voltage and current into a fast charging voltage 5 and a fast charging current 5 to fast charge the battery cell 404. Since the switch unit a 401 is in the off state, the external charging unit 303 cannot charge the battery cell 404. In this way, when the electronic device does not support external charging with an external circuit cable, the fast charging circuit on the electronic device can be used to quickly charge the battery unit. This can also reduce the probability of battery unit damage caused by charging with an unsupported external charging unit.
[0189] 4 , the PMU 414 may include a main charging unit (main charger) 405 , a capacitor C1 , a capacitor C2 , a capacitor C3 , and an inductor L1 . The main charging unit 405 may include a switch M1 , a switch M2 , a switch M3 , and a switch Q4 .
[0190] The four Vbus pins of external interface 301 can also be connected to one end of switch M1, respectively. The other end of switch M1 is connected to one end of switch M2. The other end of switch M2 is connected to one end of inductor L1. The other end of inductor L1 is connected to a load. Switch Q4 is connected between the other end of inductor L1 and the positive terminal of battery cell 404. Switch M3 is connected between the other end of switch M2 and one end of capacitor C3. The other end of capacitor C3 is connected to the other end of inductor L1. The load may include SoC 400.
[0191] Switch M2, inductor L1, capacitor C3 and switch M3 can form a buck circuit. When the electronic device is connected to a charger 307 via an external circuit cable 306, and the charger 307 is a non-fast charging charger, or in the trickle charging stage of the electronic device, the PMU 414 can control the switch M1, the switch M2 and the switch Q4 to be in the on state. Charging of the battery cell 404 is achieved through the buck circuit. It is also possible to output the system voltage (Vsys) at the other end of the inductor L1 to power the load. When the battery cell 404 is fully charged, the electronic device can control the switch Q4 to be in the off state to stop charging the battery cell 404, and the other end of the inductor L1 can continue to output the system voltage (Vsys) to power the load.
[0192] For example, taking the charger 307 as a non-fast charging charger, when the external interface 301 is connected to the interface a 302 and the interface b 305 is connected to the charger interface 308, the fast charging chip a 311 can perform a fast charging protocol handshake with the charger 307.
[0193] If the fast charging protocol handshake between the fast charging chip a 311 and the charger 307 fails, the fast charging chip a 311 can transmit information indicating the handshake failure to the SoC 400 via the IIC bus. The SoC 400 can control both the switch unit b 402 and the switch unit c 403 to be in the off state. In this way, the impact of the IIC communication between the SoC 400 and other modules on the external charging unit 303 can be reduced. Other modules can be modules on the electronic device that can communicate with the SoC 400 through IIC.
[0194] If the SoC 400 receives information indicating a handshake failure, it can transmit information indicating slow charging to the PMU 414 via the IIC bus. The PMU 414 can transmit third charging requirement information to the charger 307 via the communication channel between the PMU 414 and the charger 307, causing the charger 307 to output a third voltage and third current corresponding to the third charging requirement information. The third charging requirement information may include third charging parameters. The third charging parameters may be pre-stored on the electronic device. It should be understood that the charging power of slow charging is lower than that of fast charging.
[0195] Upon receiving information indicating slow charging, PMU 414 can control switches M1, M2, and Q4 to be in an on state. Thus, when charger 307 outputs a third voltage and a third current, PMU 414 can obtain the third voltage and current via charger interface 308, interface b 305, interface a 303, and the Vbus pin of external interface 301. The step-down circuit can convert the third voltage and current into a slow charging voltage and current, and transmit the slow charging voltage and current to battery cell 404 via the other end of inductor L1, thereby implementing slow charging for battery cell 404.
[0196] Switch M1 can be used to protect the main charging unit 405 from overvoltage. One end of switch M1 can also be connected to one end of capacitor C1, the other end of which is grounded. The other end of switch M1 can also be connected to one end of capacitor C2, the other end of which is grounded. Both capacitors C1 and C2 can function as voltage stabilizers.
[0197] For example, the main charging unit 405 may be a closed-loop control buck type or a three-level charger type. The type of the main charging unit 405 is not specifically limited in the embodiment of the present application.
[0198] In one embodiment of the present application, the main charging unit 405 may be a device independent of the PMU 414, and the main charging unit 405 is connected to the PMU 414. For example, the main charging unit 405 is an independent chip.
[0199] Optionally, battery cell 404 may include a single battery cell. Battery cell 404 may also include multiple batteries connected in series and / or multiple batteries connected in parallel. For example, as shown in FIG4 , battery cell 404 may include battery a 412 and battery b 413 connected in parallel. The positive electrode of battery cell 404 may include the positive electrode of battery a 412 and the positive electrode of battery b 413. The negative electrode of battery cell 404 may include the negative electrode of battery a 412 and the negative electrode of battery b 413.
[0200] It should be understood that in the embodiment of the present application, charging the battery unit 404 can be understood as charging the battery in the battery unit 404.
[0201] Optionally, as shown in FIG. 4 , the electronic device may further include: a voltage clamping module 408 , a voltage clamping module 409 , an overvoltage protection unit 407 and an overvoltage protection unit 410 .
[0202] The four Vbus pins of the external interface 301 can be connected to one end of the voltage clamping module 408 respectively, and the other end of the voltage clamping module 408 is grounded to achieve electrostatic protection for the fast charging circuit a 406.
[0203] The four Vbus pins of the external interface 301 may be connected to one end of the voltage clamping module 409 respectively, and the other end of the voltage clamping module 409 is grounded to implement electrostatic protection for the fast charging circuit b 411 .
[0204] The four Vbus pins of the external interface 301 can be connected to one end of the overvoltage protection unit 407 respectively, and the other end of the overvoltage protection unit 407 is connected to the fast charging circuit a 406 to achieve overvoltage protection for the fast charging circuit a 406.
[0205] The four Vbus pins of the external interface 301 can be connected to one end of the overvoltage protection unit 410 respectively, and the other end of the overvoltage protection unit 410 is connected to the fast charging circuit b 411 to achieve overvoltage protection for the fast charging circuit b 411.
[0206] For example, the voltage clamping module 408 and the voltage clamping module 409 may each be composed of one or more transient voltage suppression diodes (TVS). The overvoltage protection unit 407 and the overvoltage protection unit 410 may each be composed of one or more MOSFETs.
[0207] Optionally, as shown in FIG4 , the electronic device may further include: a resistor R2 , a resistor R3 , a resistor R6 , a resistor R7 and a resistor R1 .
[0208] Among them, one end of resistor R6 can be connected between switch unit c 403 and the SDA pin of SoC 400, and the other end of resistor R6 is connected to the power supply of SoC 400. The power supply of SoC 400 can provide a power supply voltage (voltage supply, VDD). One end of resistor R7 can be connected between switch unit b 402 and the SCL pin of SoC 400, and the other end of resistor R7 is connected to the power supply of SoC 400. Resistor R6 and resistor R7 are both pull-up resistors of the IIC bus, which can be used to maintain the high level of the IIC bus, so that the IIC communication has the ability to output a high level. Resistor R6 and resistor R7 can also protect the device or module that performs IIC communication with SoC 400. The device that performs IIC communication with SoC 400, for example, the circuit external cable 306.
[0209] One end of resistor R1 can be connected between the SBU pin of external interface 301 and the INT pin of SoC 400, and the other end of resistor R1 can be connected to the power supply of SoC 400. Resistor R1 can be used to maintain a stable level for interrupt transmission and ensure accurate interrupt transmission. It should be understood that the SBU pins may include SBU1 and SBU2. The INT pin may be represented as "INT / " in Figures 4 and 5.
[0210] Pin CC1 of external interface 301 is connected to one end of resistor R2, the other end of which is grounded. Pin CC2 of external interface 301 is connected to one end of resistor R3, the other end of which is grounded. Resistors R2 and R3 can be used to identify whether external interface 301 is connected to an external device in a forward or reverse direction. For example, resistors R2 and R3 can both have a resistance of 5.1 kilo-ohms (KΩ).
[0211] Optionally, the PMU 414 can support the USB power delivery (PD) protocol, and the charger interface 308 on the charger 307 and the interface b 305 of the circuit external cable 306 can both be Type-C interfaces. When the external interface 301 is connected to the interface a 302, and the interface b 305 is connected to the charger interface 308, and the fast charging protocol supported by the charger 307 is the PD protocol, the PMU 414 can perform a fast charging protocol handshake with the charger 307 according to the PD protocol. For example, the PMU 414 can perform a fast charging protocol handshake with the charger 307 according to the PD protocol through the communication channel between the PMU 414 and the charger 307. It should be understood that the PMU 414 can also perform data transmission with the charger 307 according to the PD protocol through the communication channel between the PMU 414 and the charger 307.
[0212] If the PMU 414 successfully completes the fast charging protocol handshake with the charger 307, the PMU 414 can transmit information indicating the successful handshake to the SoC 400 via the communication channel between the PMU 414 and the SoC 400. The SoC 400 can control both the switch unit b 402 and the switch unit c 403 to be in an on state to enable communication and authentication between the SoC 400 and the external charging unit 303. The specific implementation principles and technical effects of this embodiment are similar to those of the embodiment in which the charger 307 is a fast charging charger and supports the SCP protocol, and will not be repeated here.
[0213] In one embodiment of the present application, the fast charging protocol supported by the fast charging chip a 311, the fast charging chip b 312, and the charger 307 may be the PD protocol. The two CC pins of the external interface 301 may be connected to the fast charging chip a 311 respectively, so that the fast charging chip a 311 can interact with the charger 307 through the two CC pins of the external interface 301 in accordance with the PD protocol for fast charging protocol. The two CC pins of the external interface 301 may also be connected to the fast charging chip b 312 respectively, so that the fast charging chip b 312 can interact with the charger 307 through the two CC pins of the external interface 301 in accordance with the PD protocol for fast charging protocol.
[0214] When the fast charging chip a 311 or the fast charging chip b 312 successfully handshakes with the charger 307 through the two CC pins of the external interface 301, the SoC 400 can control the switch unit b 402 and the switch unit c 403 to be in the on state to achieve communication between the SoC 400 and the external charging unit 303 and perform authentication.
[0215] It should be understood that the electronic device shown in Figure 4 includes two fast charging chips (such as fast charging chip a 311 and fast charging chip b 312) and two fast charging circuits (such as fast charging circuit a 406 and fast charging circuit b 411). In one embodiment of the present application, the electronic device may include a fast charging chip and two fast charging circuits, and the two fast charging circuits are respectively connected to the one fast charging chip. The one fast charging chip can interact with the charger for a fast charging protocol. The one fast charging chip can also control the two fast charging circuits separately, so that both fast charging circuits can be enabled, both fast charging circuits can be disabled, or one of the two fast charging circuits can be enabled and the other can be disabled.
[0216] In one embodiment of the present application, if an electronic device includes a fast-charging chip and two fast-charging circuits, one of the two fast-charging circuits can be deployed on the fast-charging chip, and the other of the two fast-charging circuits can be an independent device and connected to the fast-charging chip. Alternatively, both fast-charging circuits are deployed on the fast-charging chip. Alternatively, the two fast-charging circuits can be two independent devices.
[0217] Optionally, as shown in FIG4 , the two D+ pins and the two D- pins of the external interface 301 can be connected to the SoC 400, respectively. In this way, a USB communication channel is established between the external interface 301 and the SoC 400. If the external device connected to the electronic device 300 is not a charger type, the SoC 400 can communicate with the external device through the USB communication channel between the external interface 301 and the SoC 400.
[0218] Based on FIG4 , FIG5 shows a circuit diagram of an external circuit cable provided in an embodiment of the present application.
[0219] As shown in Figure 5, the external cable circuit may include interface a 302, an external charging unit 303, a charging cable 304, and interface b 305. Specifically, the external charging unit 303 may include an external charging IC 504. The external charging IC 504 may include a fast charging circuit c 501. Fast charging circuit c 501 is the charging circuit for the external charging unit 303.
[0220] Still taking interface a 302 as a Type-C interface as an example, the TX1+, TX1-, RX1+, RX1-, TX2+, TX2-, RX2+, RX2-, SBU1, and SBU2 pins in interface a 302 can also be redefined. The principle for redefining the pins in interface a 302 can be found in the principle for redefining the pins in external interface 301 in the embodiment of FIG. 4 , and will not be further elaborated here.
[0221] As shown in FIG5 , to save manufacturing costs, the number of each of the SCL pin, SDA pin, D+ pin, and D- pin in interface a 302 is 1. In one embodiment of the present application, the number of each of the SCL pin, SDA pin, D+ pin, and D- pin in interface a 302 is 2.
[0222] Taking the example of an SCL pin, SDA pin, D+ pin, and D- pin in interface a 302 each being one, as shown in FIG5 , the SCL pin and SDA pin of interface a 302 are respectively connected to the external charging IC 504. In this way, an IIC communication channel is established between interface a 302 and the external charging IC 504. The IIC communication channel between interface a 302 and the external charging IC 504 belongs to the IIC communication channel between interface a 302 and the external charging unit 303. When the external interface 301 of the electronic device is connected to interface a 302, the SoC 400 can read anti-counterfeiting information and external charging performance parameters from the external charging IC 504 through the IIC communication channel between the external interface 301 and the SoC 400, and the IIC communication channel between interface a 302 and the external charging IC 504. It should be understood that when the external interface 301 is connected to the interface a 302 , the SCL pin of the external interface 301 is connected to the SCL pin of the interface a 302 , and the SDA pin of the external interface 301 is connected to the SDA pin of the interface a 302 .
[0223] The SBU1 pin and the SBU2 pin of the interface a 302 are respectively connected to the INT pin of the external charging IC 504, so that the external charging IC 504 transmits an interrupt to the electronic device through the SBU1 pin and the SBU2 pin of the interface a 302 and the SBU1 pin and the SBU2 pin of the external interface 301 in the event of overvoltage and / or overcurrent of the external charging unit 303.
[0224] The interface b 305 may include a Vbus pin, a D+ pin, a D- pin, and a GND pin.
[0225] The Vbus pin of the interface b 305 may be connected to the Vbus pin of the interface a 302. For example, the four Vbus pins of the interface a 302 may be connected to the Vbus pins of the interface b 305, respectively.
[0226] The Vbus pin of the interface b 305 may also be connected to the fast charging circuit c 501 to transmit the voltage and current output by the charger 307 to the fast charging circuit c 501 .
[0227] The four Vbat pins of the interface a 302 can be connected to the fast charging circuit c 501 respectively to transmit the fast charging voltage and fast charging current output by the fast charging circuit c 501 to the electronic device.
[0228] The D+ pin of interface b 305 may be connected to the D+ pin of interface a 302. The D- pin of interface b 305 may be connected to the D- pin of interface a 302. The GND pin of interface b 305 may be connected to the GND pin of interface a 302.
[0229] In one embodiment of the present application, interface a 302 may include two D+ pins and two D- pins. The two D+ pins of interface a 302 may be connected to the D+ pins of interface b 305, respectively. The two D- pins of interface a 302 may be connected to the D- pins of interface b 305, respectively.
[0230] In this way, a USB communication channel is established between interface a 302 and interface b 305. The USB communication channel can be used for fast charging protocol interaction.
[0231] It should be understood that the interface b 305 may be of the same interface type as the charger interface 308 of the charger 307. The charger interface 308 may also include a Vbus pin, a D+ pin, a D- pin, and a GND pin.
[0232] When the external interface 301 of the electronic device is connected to the interface a 302, and the interface b 305 is connected to the charger interface 308, the data transmission pin of the external interface 301 of the electronic device is connected to the data transmission pin of the interface a 302, and the data transmission pin of the interface b 305 is connected to the data transmission pin of the charger interface 308, thereby forming a USB communication channel between the external interface 301 and the charger 307. The USB communication channel between the external interface 301 and the charger 307 can be used for the electronic device and the charger 307 to interact with each other in accordance with the SCP protocol for fast charging. The data transmission pins include a D+ pin and a D- pin.
[0233] It is understood that when external interface 301 is connected to interface a 302, the target pin of external interface 301 is connected to the target pin of interface a 302, and the pin type of the target pin of external interface 301 is the same as the pin type of the target pin of interface a 302. The pin type can be any of GDN, Vbat, Vbus, SCL, SDA, SBU, D-, D+, or CC. For example, if the target pin is the Vbus pin, when external interface 301 is connected to interface a 302, the Vbus pin of external interface 301 is connected to the Vbus pin of interface a 302. If the target pin is the CC1 pin, when external interface 301 is connected to interface a 302, the CC1 pin of external interface 301 can be connected to the CC1 pin of interface a 302.
[0234] Similarly, when the interface b 305 is connected to the charger interface 308 , the target pin of the interface b 305 is connected to the target pin of the charger interface 308 , and the pin type of the target pin of the interface b 305 is the same as the pin type of the target pin of the charger interface 308 .
[0235] For example, as shown in the embodiment of FIG4 , the charger 307 can receive first charging requirement information transmitted by the electronic device. Upon receiving the first charging requirement information, the charger 307 can output a first voltage and a first current through the Vbus pin of the charger interface 308. Both the fast charging circuit a 406 and the fast charging circuit b 411 can obtain voltage and current through the Vbus pin of the interface b 305, the Vbus pin of the interface a 302, and the Vbus pin of the external interface 301, thereby enabling fast charging of the battery cell 404 of the electronic device through the fast charging circuit a 406 and the fast charging circuit b 411. Furthermore, the fast charging circuit c 501 can obtain voltage and current through the Vbus pin of the interface b 305. The fast charging circuit c 501 can convert the voltage and current obtained from the charger 307 into a fast charging voltage 1 and a fast charging current 1, and transmit the fast charging voltage 1 and the fast charging current 1 to the battery cell 404 through the Vbat pin of the interface a 302 and the Vbat pin of the external interface 301 to realize fast charging of the battery cell 404.
[0236] In one embodiment of the present application, interface b 305 may include a CC pin. The two CC pins of interface a 302 may be connected to the CC pin of interface b 305 respectively. The two CC pins of interface a 302 may refer to the CC1 pin and CC2 pin shown in Figure 5. When interface b 305 is connected to the charger interface 308, the CC pin of interface a 302, the CC pin of interface b 305, and the CC pin of the charger interface 308 constitute a CC channel between interface a 302 and the charger 307. The CC channel between interface a 302 and the charger 307 can be used for the electronic device and the charger 307 to perform fast charging protocol interaction according to the PD protocol. Exemplarily, interface b 305 may be a Type-C interface.
[0237] Optionally, as shown in Figure 5, the external charging unit 303 may further include an anti-counterfeiting IC 503. The SCL pin and SDA pin of interface a 302 may further be connected to the anti-counterfeiting IC 503, respectively. An IIC communication channel between interface a 302 and the anti-counterfeiting IC 503 is constructed. The IIC communication channel between interface a 302 and the anti-counterfeiting IC 503 also belongs to the IIC communication channel between interface a 302 and the external charging unit 303. Anti-counterfeiting information may be stored in the anti-counterfeiting IC 503. When the electronic device successfully handshakes the fast charging protocol with the charger 307, the electronic device may read the anti-counterfeiting information from the anti-counterfeiting IC 503 through the IIC communication channel between interface a 302 and the anti-counterfeiting IC 503 for authentication.
[0238] If the authentication is successful, the electronic device can read the charging performance parameters stored in the external charging IC 504 through the IIC communication channel between the interface a 302 and the external charging IC 504 to complete the calculation of the charging parameters.
[0239] Alternatively, the anti-counterfeiting IC 503 may be a passive chip or an electrically erasable programmable read-only memory (EEPROM) device. For example, a passive chip may be an electronically marked (E-marker) cable chip. An E-marker chip may also be called an emark chip.
[0240] Optionally, as shown in FIG5 , the external charging IC 504 may include a linear power supply 502. The linear power supply 502 may be connected to the Vbus pin of the interface b 305. In this way, when the interface b 305 is connected to the charger interface 308, the linear power supply 502 may convert the power output by the charger 307 to power the external charging IC 504. The linear power supply 502 may also be connected to the anti-counterfeiting IC 503 to power the anti-counterfeiting IC 503. For example, the voltage output terminal (REGN terminal) of the external charging IC 504 is connected to the power input terminal (VCC terminal) of the anti-counterfeiting IC 503 to enable the external charging IC 504 to power the anti-counterfeiting IC 503.
[0241] For example, the linear power supply 502 may be a low dropout regulator (LDO).
[0242] In one embodiment of the present application, the external charging IC 504 may also be an emark chip.
[0243] In one embodiment of the present application, the fast charging circuit c 501 may be a device independent of the external charging IC 504 , and the fast charging circuit c 501 is connected to the external charging IC 504 .
[0244] Optionally, as shown in Figure 5, the circuit external cable may further include a resistor R4 and / or a resistor R5. One end of the resistor R4 is connected to the Vbus pin on one side of the interface a 302, and the other end of the resistor R4 is connected to the CC1 pin of the interface a 302. One end of the resistor R5 is connected to the Vbus pin on the other side of the interface a 302, and the other end of the resistor R5 is connected to the CC2 pin of the interface a 302. Both the resistor R4 and the resistor R5 can be used to identify whether the circuit external cable is a fast charging cable, and can also be used to identify the insertion direction of the circuit external cable when it is inserted into an electronic device. One side of the interface a 302 is, for example: layer A or layer B of the interface a 302.
[0245] Exemplarily, taking the circuit external cable 306 including resistor R4 as an example, when the external interface 301 is connected to the interface a 302, and the interface b 305 is connected to the charger interface 308, if the electronic device detects the pull-up voltage corresponding to the resistor R4, it can be identified that the circuit external cable 306 connected to the electronic device is a fast charging cable. If the electronic device detects the voltage divided by the resistor R4 and the resistor R2, it can be identified that the insertion mode of the circuit external cable 306 is forward insertion. If the electronic device detects the voltage divided by the resistor R4 and the resistor R3, it can be identified that the insertion mode of the circuit external cable 306 is reverse insertion.
[0246] For example, the resistance value of the resistor R4 and the resistance value of the resistor R5 may be the same or different. For example, the resistance value of the resistor R4 and the resistance value of the resistor R5 may both be 56KΩ.
[0247] It will be understood that the fast charging circuit in the embodiment of the present application has a high-power charging function. For example, the fast charging circuit can perform power conversion so that the input voltage of the fast charging circuit is N times the output voltage. N can be an integer greater than 1. For example, N can be any value of 2, 3, 4, 5, 6, 7, 8, or a larger value. The circuit architecture of the fast charging circuit in the embodiment of the present application can be a charge pump architecture, an interleaved cascade architecture, or a series-parallel architecture. Optionally, the fast charging circuit in the circuit external cable can be the same as or different from the fast charging circuit of the electronic device.
[0248] Optionally, the external cable may include multiple fast-charging circuits. Each of the multiple fast-charging circuits in the external cable may be identical to fast-charging circuit c 501. Each of the multiple fast-charging circuits in the external cable may be deployed in the same manner as fast-charging circuit c 501 in the external cable. Each of the multiple fast-charging circuits in the external cable may be connected to an external charging IC 504. The external charging IC 504 may control whether any of the multiple fast-charging circuits in the external cable is enabled or disabled. Some or all of the multiple fast-charging circuits in the external cable may fast-charge the battery cells of the electronic device, allowing the external cable to provide a higher charging power to the battery cells than the charging power of fast-charging circuit c 501 in the embodiment of FIG. This allows only the fast-charging circuits on the external cable to be used to charge the battery cells when the higher charging power required by the battery cells is met, thereby reducing the temperature rise of the entire housing of the electronic device at the higher charging power.
[0249] As shown in Figures 4 and 5, when the external interface of the electronic device is connected to the interface a of the circuit external cable, and the interface b of the circuit external cable is connected to the charger interface of the charger, there is a channel for protocol interaction between the electronic device and the charger to realize fast charging protocol interaction between the electronic device and the charger, such as realizing that the electronic device transmits charging demand information to the charger, thereby enabling the charger to output the voltage and current corresponding to the charging demand information. There is an IIC communication channel between the electronic device and the external charging unit of the circuit external cable to realize IIC communication between the electronic device and the external charging unit, so that the electronic device can obtain the anti-counterfeiting information and charging performance parameters of the circuit external cable to complete the authentication and charging parameter calculation. There is also a voltage and current transmission channel between the electronic device and the charger to realize that the charger supplies power to the fast charging circuit on the electronic device, so that the fast charging circuit on the electronic device can charge the battery unit after power conversion from the voltage and current obtained from the charger. There is also a channel between the charger and the external charging unit for the charger to supply power to the external charging unit, and a transmission channel for fast charging voltage and fast charging current is provided between the external charging unit and the battery unit of the electronic device, so that the external charging unit can convert the voltage and current obtained from the charger into fast charging voltage and fast charging current to fast charge the battery unit. It is possible to fast charge the battery unit using the fast charging circuit and the external charging unit on the electronic device, and distribute part of the charging-related heat on the external charging unit, thereby reducing the temperature rise of the entire housing of the electronic device in the charging scenario, and further reducing the limitation of the temperature rise of the entire housing on the charging power of the electronic device, so that the charging speed of the battery unit is high. By using the fast charging circuit and the external charging unit on the electronic device to fast charge the battery unit, the charging power of the battery unit can also be high, thereby making the charging speed of the battery unit high. For example, if the charger supports an output power of 150 watts (W) and the heat loss caused by voltage and current transmission is not considered, when the entire housing temperature of the electronic device reaches the target temperature, the electronic device can bear the heat dissipation capacity of 100W charging power. If the fast charging circuit on the electronic device is used for charging, the maximum charging power of the electronic device is 100W. When the entire housing temperature of the electronic device reaches the target temperature, the electronic device can bear the heat dissipation capacity of 100W charging power. If the fast charging circuit on the electronic device and the fast charging circuit on the external charging unit are used to charge the battery unit, and the fast charging circuit on the external charging unit can provide an output power of 50W, the maximum charging power of the electronic device can reach 150W.
[0250] It is understandable that the fast charging protocol in the embodiment of the present application may include the super fast charging protocol (SCP), the universal fast charging specification (UFCS), the USB power transmission protocol (PD) or the Qualcomm quick charge protocol (QC), etc. The embodiment of the present application does not specifically limit the fast charging protocol. It should be understood that if the fast charging protocol interaction channel specified in the target fast charging protocol is a USB communication channel, then the specific implementation principle of the fast charging protocol interaction between the electronic device and the charger according to the target fast charging protocol is similar to the specific implementation principle of the fast charging protocol interaction between the electronic device and the charger according to the SCP protocol. If the fast charging protocol interaction channel specified in the target fast charging protocol is a CC channel, then the specific implementation principle of the fast charging protocol interaction between the electronic device and the charger according to the target fast charging protocol is similar to the specific implementation principle of the fast charging protocol interaction between the electronic device and the charger according to the PD protocol, which will not be repeated here.
[0251] FIG6 shows a schematic flow chart of a charging method provided in an embodiment of the present application.
[0252] As shown in FIG6 , the charging method may include:
[0253] S601: When an electronic device is connected to an external device, the electronic device may identify the type of the external device.
[0254] If the device type of the external device is identified as a charger type, the electronic device may further identify the charging type of the external device.
[0255] 4 and 5 , when the external interface 301 is connected to the interface a 302 and the interface b 305 is connected to the charger interface 308 , the PMU 414 of the electronic device may perform BC1.2 interaction with the charger 307 to identify whether the device type of the charger 307 is a charger type.
[0256] In a case where the PMU 414 recognizes that the device type of the charger 307 is a charger type, the electronic device may execute S602 .
[0257] Optionally, when the PMU 414 identifies that the device type of the charger 307 is a charger type, the electronic device may execute S603 without executing S602 .
[0258] Optionally, when the PMU 414 identifies that the device type of the charger 307 is a charger type, the electronic device may execute S603. After executing S603, the electronic device may execute S602.
[0259] S602: When it is identified that the device type of the external device connected to the electronic device is a charger type, the electronic device may determine whether the cable connected to the electronic device is a fast charging cable.
[0260] If it is determined that the cable connected to the electronic device is a fast charging cable, the electronic device may execute S603.
[0261] If it is determined that the cable connected to the electronic device is a non-fast charging cable, the electronic device may execute S611. In this way, the probability of damage to the electronic device caused by fast charging using a non-fast charging cable can be reduced.
[0262] For example, when the PMU 414 identifies that the device type of the charger 307 is a charger type, the PMU 414 may transmit information indicating that the device type of the external device is a charger type to the SoC 400 through the IIC bus.
[0263] When receiving information indicating that the device type of the external device is a charging type, the SoC 400 can detect the pull-up voltage corresponding to the pull-up resistor on the interface a 302 through the CC channel between the SoC 400 and the interface a 302 to determine whether the external cable of the circuit is a fast charging cable. The pull-up resistor on the interface a 302 is detected, for example: resistor R4 and / or resistor R5. The CC channel between the SoC 400 and the interface a 302 can be a channel formed by connecting the CC pin of the interface a 302 and the SoC 400.
[0264] If the pull-up voltage corresponding to the pull-up resistor is detected, the SoC 400 can determine that the external cable 306 is a fast charging cable, or can determine that the external cable 306 has the performance of a fast charging cable. The SoC 400 can transmit a handshake instruction to the fast charging chip a 311 via the IIC bus, so that the fast charging chip a 311 executes S603.
[0265] If the pull-up voltage corresponding to the pull-up resistor is not detected, SoC 400 can determine that the external circuit cable 306 is not a fast charging cable, or can determine that the external circuit cable 306 does not have the performance of a fast charging cable, and SoC 400 can execute S611.
[0266] Optionally, when the PMU 414 identifies that the device type of the charger 307 is a charger type, the PMU 414 may maintain the flag indicating the device type of the external device as an identifier indicating the charger type, and transmit an interrupt to the SoC 400 via the IIC bus.
[0267] Upon receiving an interrupt transmitted by PMU 414, SoC 400 of the electronic device can read the flag indicating the device type of the external device. If the flag indicating the charger type is read, SoC 400 can detect the pull-up voltage corresponding to the pull-up resistor on interface a 302 through the CC channel between SoC 400 and interface a 302 to determine whether the external cable is a fast charging cable.
[0268] If the pull-up voltage corresponding to the pull-up resistor is detected, it can be determined that the circuit external cable 306 is a fast charging cable, and the SoC 400 can transmit a handshake instruction to the fast charging chip a 311 so that the fast charging chip a 311 executes S603.
[0269] S603: The electronic device may interact with the charger via a fast charging protocol.
[0270] For example, taking the SCP protocol as an example, when the fast charging protocol supported by the electronic device and the charger 307 is received, the fast charging chip a 311 can perform a fast charging protocol handshake with the charger 307 according to the SCP protocol through the USB communication channel between the fast charging chip a 311 and the charger 307.
[0271] In the case where the fast charging protocol handshake between the fast charging chip a 311 and the charger 307 is successful, the fast charging chip a 311 can transmit information indicating a successful handshake to the SoC 400 through the IIC bus. SoC 400 can execute S604. Optionally, in the case where the fast charging protocol handshake between the fast charging chip a 311 and the charger 307 is successful, the fast charging chip a 311 can maintain the flag indicating the charging type as an identifier indicating fast charging, and transmit an interrupt to the SoC 400 through the IIC bus. Upon receiving the interrupt transmitted by the fast charging chip a 311, the SoC 400 can read the flag indicating the charging type. If the identifier indicating fast charging is read, the SoC 400 can execute S604.
[0272] In the case where the fast charging protocol handshake between the fast charging chip a 311 and the charger 307 is unsuccessful, the fast charging chip a 311 may transmit information indicating that the handshake was unsuccessful to the SoC 400 through the IIC bus. SoC 400 may execute S611. Optionally, in the case where the fast charging protocol handshake between the fast charging chip a 311 and the charger 307 is unsuccessful, the fast charging chip a 311 may maintain the flag indicating the charging type as an identifier indicating non-fast charging, and transmit an interrupt to the SoC 400. Upon receiving the interrupt transmitted by the fast charging chip a 311, the SoC 400 may read the flag indicating the charging type. If the identifier indicating non-fast charging is read, the SoC 400 may execute S611.
[0273] S604: When the electronic device successfully interacts with the charger via the fast charging protocol, the electronic device may switch the IIC channel so as to identify the external charging function of the external cable of the circuit through the IIC channel.
[0274] For example, when receiving information indicating a successful handshake or reading an identifier indicating fast charging, SoC 400 can control switch unit b 402 and switch unit c 403 to be in an on state to achieve switching of the IIC channel.
[0275] S605: The electronic device can read the external charging related information of the external cable of the circuit.
[0276] The external charging related information may include anti-counterfeiting information. The external charging related information may also include external charging performance parameters. When the anti-counterfeiting information and external charging performance parameters are read, the electronic device may execute S606.
[0277] Exemplarily, when SoC 400 controls switch unit b 402 and switch unit c 403 to be in the on state, SoC 400 can read anti-counterfeiting information and external charging performance parameters from the external charging unit 303 through the IIC communication channel between the external interface 301 and SoC 400, and the IIC communication channel between interface a 302 and the external charging unit 303.
[0278] S606: When the information related to external charging of the external circuit cable is obtained, the electronic device may determine whether external charging of the external circuit cable is supported.
[0279] For example, when the anti-counterfeiting information and external charging performance parameters are read, the SoC 400 can use the anti-counterfeiting information for authentication. The specific implementation principle of the SoC 400 using the anti-counterfeiting information for authentication can be found in the embodiment of FIG. 4 , and will not be repeated here.
[0280] If the authentication is successful, it indicates that the electronic device supports external charging via the external cable 306 , and the SoC 400 may execute S607 .
[0281] If the authentication is unsuccessful, it indicates that the electronic device does not support external charging via the external cable 306 , and the SoC 400 may execute S610 .
[0282] S607: When it is determined that the electronic device supports external charging using an external cable, the electronic device may configure charging parameters to support external charging.
[0283] For example, if authentication is successful, SoC 400 can obtain the entire housing temperature from a temperature measurement module on the electronic device. The temperature measurement module is not shown in FIG4 . Based on the pre-stored correspondence between the entire housing temperature and current on the electronic device, SoC 400 can determine the current It corresponding to the entire housing temperature.
[0284] The SoC 400 may also obtain the voltage of the battery cell 404 from the fuel gauge. The SoC 400 may determine the current Ic corresponding to the voltage of the battery cell 404 based on a battery charging curve pre-stored in the electronic device.
[0285] SoC 400 can select the minimum value between It and Ic as the charging current Ib for battery cell 404. Charging current Ib can also be understood as the charging current required to charge the battery. SoC 400 can determine the charging strategy corresponding to charging current Ib based on the pre-stored correspondence between charging current Ib and charging strategies in the electronic device. The process for SoC 400 to determine charging current Ib and the determination of the charging strategy can be seen in the embodiment shown in Figure 7.
[0286] When the charging strategy corresponding to the charging current Ib is obtained, the SoC 400 may calculate the charging parameters under the charging strategy.
[0287] For example, taking the charging strategy corresponding to the charging current Ib as an example of using the fast charging chip a 311, the fast charging chip b 312 and the external charging unit 303 on the electronic device to charge the battery unit 404, the SoC 400 can calculate the external charging performance parameters, the charging performance parameters of the fast charging chip a 311, the charging performance parameters of the fast charging chip b 312, the temperature of the entire casing and the voltage of the battery unit 404 to obtain the first charging parameter.
[0288] When the first charging parameter is obtained, the SoC 400 can transmit the first charging parameter to the fast charging chip a 311 through the IIC communication channel between the SoC 400 and the fast charging chip a 311, thereby enabling the charger 307 to output the first voltage and the first current. The specific implementation principle of the charger 307 outputting the first voltage and the first current can be seen in the specific implementation principle of the charger 307 outputting the first voltage and the first current in the embodiment of FIG. 4 , which will not be repeated here.
[0289] In one embodiment of the present application, the first charging parameter can be calculated by SoC 400 according to a preset calculation method based on the external charging performance parameters, the charging performance parameters of the fast charging chip a 311, the charging performance parameters of the fast charging chip b 312 and the charging current Ib.
[0290] S608: The electronic device may enable an external charging power channel.
[0291] For example, when the SoC 400 completes S607 or obtains the first charging parameter, the SoC 400 may control the switch unit a 401 to be in an on state.
[0292] Optionally, when the SoC 400 completes S607 or obtains the first charging parameter, the SoC 400 may further transmit information indicating that the fast charging circuit is enabled to the fast charging chip a 311, the fast charging chip b 312 and the external charging IC 504 respectively.
[0293] Upon receiving information indicating that the fast charge circuit is enabled, the external charging IC 504 can control the fast charge circuit c 501 to be enabled. The fast charge chip a 311 can control the fast charge circuit a 406 to be enabled. The fast charge chip b 312 can control the fast charge circuit b 411 to be enabled.
[0294] S609: The external circuit cable can perform power conversion on the voltage and current output by the charger to realize external charging of the battery unit of the electronic device.
[0295] The fast charging circuit on the electronic device can also perform power conversion on the voltage and current output by the charger to charge the battery unit of the electronic device.
[0296] For example, when the charger 307 outputs the first voltage and the first current, the fast charging circuit c 501 in the enabled state can fast charge the battery cell 404. The fast charging circuit a 406 in the enabled state can fast charge the battery cell 404. The fast charging circuit b 411 in the enabled state can fast charge the battery cell 404. The specific implementation principle can be seen in the specific implementation principle of fast charging the battery cell 404 using the fast charging circuit c 501, the fast charging circuit a 406, and the fast charging circuit b 411 in the embodiment of FIG5, which will not be repeated here.
[0297] In this way, the fast charging circuit a 406, the fast charging circuit b 411 and the fast charging circuit c 501 are used to fast charge the battery unit 404, so that the heat generated by the power conversion of the fast charging circuit on the electronic device is distributed on the fast charging circuit a 406 and the fast charging circuit b 411, thereby achieving heat dispersion and reducing the temperature rise of the entire casing. The heat generated by the power conversion of the fast charging circuit c 501 is located outside the electronic device, which can further reduce the temperature rise of the entire casing, thereby reducing the limitation of the entire casing temperature on the charging power of the battery unit, so that the charging speed of the battery unit is high.
[0298] S610: When it is determined that the electronic device does not support external charging using an external cable, the electronic device may be configured with charging parameters that do not support external charging.
[0299] For example, if authentication fails, SoC 400 can control switch unit a 401 to be in an off state. SoC 400 can calculate the charging performance parameters of fast charging chip a 311, the charging performance parameters of fast charging chip b 312, the temperature of the entire housing, and the voltage of battery unit 404 to obtain a second charging parameter.
[0300] When the second charging parameter is obtained, the SoC 400 can transmit the second charging parameter to the fast charging chip a 311 via the IIC bus, thereby enabling the charger 307 to output the second voltage and the second current. The specific implementation principle of the charger 307 outputting the second voltage and the second current can be seen in the specific implementation principle of the charger 307 outputting the second voltage and the second current in the embodiment of FIG. 4 , which will not be repeated here.
[0301] In the event that authentication is unsuccessful, or when the second charging parameter is obtained, the SoC 400 can control the switch unit a 401 to be in the off state. The SoC 400 can transmit information indicating that the fast charging circuit is enabled to the fast charging chip a 311 and the fast charging chip b 312 respectively. The fast charging chip a 311 can control the fast charging circuit a 406 to be in the enabled state, so that the fast charging circuit a 406 performs power conversion on the voltage and current obtained from the charger 307 to achieve fast charging of the battery cell 404. The fast charging chip b 312 can control the fast charging circuit b 411 to be in the enabled state, so that the fast charging circuit b 411 can perform power conversion on the voltage and current obtained from the charger 307 to achieve fast charging of the battery cell 404.
[0302] In this way, if it is determined that the electronic device does not support external charging via an external cable, the fast charging chip on the electronic device can be used to fast charge the battery cell of the electronic device. By controlling the switch unit a to be in the off state by the SoC, the external charging IC is controlled not to charge the battery cell, which can reduce the probability of the external charging IC charging the battery cell and affecting the battery cell performance.
[0303] S611. When it is determined that the cable connected to the electronic device is a non-fast charging cable, or when the interaction with the charger's fast charging protocol is unsuccessful, the electronic device may configure non-fast charging parameters to perform non-fast charging.
[0304] Among them, non-fast charging parameters can be called slow charging parameters. Non-fast charging can be called slow charging.
[0305] For example, when SoC 400 determines that the circuit external cable 306 is not a fast charging cable or does not have the performance of a fast charging cable, SoC 400 can transmit information indicating slow charging to PMU 414 through the IIC bus between PMU 414 and SoC 400.
[0306] PMU 414 can transmit the third charging requirement information to charger 307 via the communication channel between PMU 414 and charger 307, so that charger 307 outputs the third voltage and third current. PMU 414 can control switches M1, M2, and Q4 to be in an on state, thereby implementing slow charging of battery cell 404 using a step-down circuit.
[0307] In this way, the probability of abnormal charging or damage to electronic devices caused by fast charging through non-fast charging cables can be reduced.
[0308] It is understandable that the electronic device can determine the charging current Ib of the battery cell according to the preset frequency to adjust the charging parameters according to the preset frequency, and adjust the charging strategy, thereby reducing the probability of short battery life while making the charging speed higher.
[0309] FIG7 shows a schematic diagram of a flow chart for determining the charging current Ib and the charging strategy provided in an embodiment of the present application.
[0310] As shown in Figure 7, the process may include:
[0311] S701: When the electronic device determines that the electronic device supports external charging using an external circuit cable, the electronic device may determine whether a battery temperature is greater than a temperature threshold Tb.
[0312] If the battery temperature is less than or equal to Tb, the electronic device may execute S702.
[0313] If the battery temperature is greater than Tb, the electronic device may execute S712.
[0314] Where, It is the charging current corresponding to the entire case temperature, It can also be called the maximum temperature-controlled current. Tb can be 40°C.
[0315] For example, if authentication is successful as shown in the embodiment of FIG6 , SoC 400 can obtain the battery temperature from the temperature measurement module. The battery temperature can be obtained by fitting the temperatures of the multiple batteries in battery unit 404. For example, the battery temperature can be the average of the temperatures of the multiple batteries in battery unit 404.
[0316] In a case where the battery temperature is less than or equal to Tb, the SoC 400 may execute S702 .
[0317] In a case where the battery temperature is greater than Tb, the SoC 400 may execute S712 .
[0318] S702: When the battery temperature is less than or equal to Tb, the electronic device may determine whether the entire housing temperature is greater than a preset temperature T1.
[0319] Among them, T1<Tb.
[0320] If the entire housing temperature is greater than T1, the electronic device may execute S703.
[0321] If the entire housing temperature is less than or equal to T1, the electronic device may execute S713.
[0322] For example, when the battery temperature is less than or equal to Tb, the SoC 400 may obtain the entire housing temperature from the temperature measurement module. Optionally, when the SoC 400 obtains the battery temperature from the temperature measurement module, the SoC 400 may also obtain the entire housing temperature.
[0323] S703: When the temperature of the entire housing is greater than T1, the electronic device may determine whether the temperature of the entire housing is greater than a preset temperature T2.
[0324] Among them, T1<T2<Tb.
[0325] If the entire housing temperature is greater than T2, the electronic device may execute S704.
[0326] If the entire housing temperature is less than or equal to T2, the electronic device may execute S714.
[0327] S704: When the temperature of the entire housing is greater than T2, the electronic device may determine whether the temperature of the entire housing is greater than a preset temperature T3.
[0328] Among them, T1<T2<T3<Tb.
[0329] If the entire housing temperature is greater than T3, the electronic device may execute S705.
[0330] If the entire housing temperature is less than or equal to T3, the electronic device may execute S715.
[0331] S705: The electronic device may maintain the value of the temperature-controlled maximum current It as I4, so as to subsequently use the value of It to determine the charging current Ib of the battery unit. I4 may be the maximum current value corresponding to T3.
[0332] The value of the maximum current It for maintaining temperature control of the electronic device is I4. For example, the SoC 400 sets It=I4.
[0333] When the electronic device completes step S705 , the electronic device may execute S706 .
[0334] S706: The electronic device may obtain the voltage of the battery cell and determine the current Ic corresponding to the voltage of the battery cell based on the battery charging curve. The electronic device may select the minimum value from the temperature-controlled maximum current It and the current Ic as the charging current Ib of the battery cell.
[0335] Wherein, Ib satisfies the formula: Ib=min[It, Ic]. The battery charging curve may include a corresponding relationship between the voltage and the current Ic of the battery cell.
[0336] When the electronic device obtains the charging current Ib, the electronic device can determine the charging strategy corresponding to the charging current Ib based on the pre-stored correspondence between the charging current Ib and the charging strategy. Determining the charging strategy corresponding to the charging current Ib is described in detail in subsequent S707 and S708. For example, when the charging current Ib is obtained, the electronic device executes S707.
[0337] Exemplarily, when the electronic device obtains the voltage of the battery cell, the electronic device may determine whether the voltage of the battery cell is greater than a pre-charge voltage threshold.
[0338] If the voltage of the battery cell is greater than the pre-charge voltage threshold, it indicates that the charging of the battery cell is in the constant current charging stage of the charging curve, and the electronic device may execute S707 to perform fast charging.
[0339] If the voltage of the battery cell is less than or equal to the pre-charge voltage threshold, it indicates that the charging of the battery cell is in the trickle charge stage of the charging curve, and the electronic device can execute S712 or execute S611 in Figure 6 to perform slow charging.
[0340] S707 : The electronic device may determine whether the charging current Ib of the battery cell is greater than the current threshold Is1 .
[0341] If Ib>Is1, it may indicate that the charging strategy corresponding to the charging current Ib is to use an external fast charging circuit and all fast charging circuits on the electronic device to charge the battery unit, and the electronic device may execute S711.
[0342] If Ib≤Is1, the electronic device may execute S708.
[0343] An example of an external fast charging circuit is the fast charging circuit c 501 shown in Figure 5. An example of all the fast charging circuits on an electronic device is the two fast charging circuits (eg, fast charging circuit a 406 and fast charging circuit b 411) of the electronic device shown in Figure 4.
[0344] S708 : When the charging current Ib is less than or equal to the current threshold Is1 , the electronic device may determine whether Ib is greater than the current threshold Is2 .
[0345] Among them, Is1>Is2.
[0346] If Ib>Is2, it may indicate that the charging strategy corresponding to the charging current Ib is to use an external fast charging circuit and part of the fast charging circuit on the electronic device to charge the battery unit, and the electronic device may execute S710.
[0347] If Ib≤Is2, it may indicate that the charging strategy corresponding to the charging current Ib is to use an external fast charging circuit to charge the battery unit, and the electronic device may execute S709.
[0348] The partial fast charging circuit on the electronic device is, for example, one of the two fast charging circuits of the electronic device shown in FIG. 4 (eg, fast charging circuit a 406 or fast charging circuit b 411 ).
[0349] S709: When the charging current Ib is less than or equal to the current threshold Is2, the electronic device may use an external fast charging circuit to charge the battery unit.
[0350] It can be understood that the execution entity of the embodiment shown in FIG. 7 may be a SoC of an electronic device (such as the SoC 400 of the electronic device shown in FIG. 4 ).
[0351] For example, still referring to Figures 4 and 5, if the SoC 400 determines that Ib≤Is2, it may indicate that the charging current Ib required for charging the battery cell is small, and a fast charging circuit can meet the charging requirements. The charging requirements may include the charging current required by the battery cell and / or the preset charging speed. When the SoC 400 determines that Ib≤Is2, the SoC 400 may control the switch unit a 401 to be in the on state. The SoC 400 may transmit information indicating that the fast charging circuit is enabled to the external charging IC 504 through the IIC communication channel between the external interface 301 and the SoC 400, and the IIC communication channel between the interface a 302 and the external charging IC 504. The SoC 400 may also transmit information indicating that the fast charging circuit is not enabled to the fast charging chip a 311 through the IIC bus between the SoC 400 and the fast charging chip a 311. The SoC 400 may also transmit information indicating that the fast charging circuit is not enabled to the fast charging chip b 312 via the IIC bus between the SoC 400 and the fast charging chip b 312 .
[0352] When receiving the information indicating that the fast charging circuit is enabled, the external charging IC 504 may control the fast charging circuit c 501 to be in an enabled state.
[0353] When receiving information indicating that the fast charging circuit is disabled, the fast charging chip a 311 can control the fast charging circuit a 406 to be in a disabled state. In this way, the fast charging circuit a 406 does not charge the battery cell 404, which can reduce the temperature rise of the entire housing.
[0354] When receiving information indicating that the fast charging circuit is disabled, the fast charging chip b 312 can control the fast charging circuit b 411 to be in a disabled state. In this way, the fast charging circuit b 411 does not charge the battery cell 404, which can reduce the temperature rise of the entire housing.
[0355] It can be understood that the SoC 400 transmits information indicating that the fast charging circuit is enabled to the external charging IC 504, the SoC 400 transmits information indicating that the fast charging circuit is disabled to the fast charging chip a 311, and the SoC 400 transmits information indicating that the fast charging circuit is disabled to the fast charging chip b 312 can be executed concurrently.
[0356] When SoC 400 transmits information indicating that the fast charging circuit is enabled to the external charging IC 504, and also transmits information indicating that the fast charging circuit is not enabled to the fast charging chip a 311 and the fast charging chip b 312, SoC 400 can calculate the external charging performance parameters, the temperature of the entire housing and the voltage of the battery cell 404 according to a preset calculation method to obtain a fourth charging parameter.
[0357] SoC 400 can transmit the fourth charging parameter to fast charging chip a311 through the IIC communication channel between SoC 400 and fast charging chip a311. Fast charging chip a311 can transmit fourth charging requirement information to charger 307 through the USB communication channel between fast charging chip a311 and charger 307. The fourth charging requirement information can include the fourth charging parameter.
[0358] Upon receiving the fourth charging requirement information, the charger 307 may output a fourth voltage and a fourth current. The fast charging circuit c 501 may perform power conversion on the voltage and current received from the charger 307 to enable fast charging of the battery cell 404. For the specific implementation principle of fast charging of the battery cell 404 by the fast charging circuit c 501 in this embodiment, please refer to the specific implementation principle of fast charging of the battery cell 404 by the external charging unit 303 in the embodiment of FIG. 4 .
[0359] It is understood that the voltage value of the fourth voltage may be less than or equal to the voltage value of the first voltage. In different charging stages of the battery cell, the voltage value of the fourth voltage may be the same as the voltage value of the first voltage. Taking the battery as a lithium-ion battery as an example, the charging stage may include any of a trickle charge (low-voltage pre-charge) stage, a constant current charge stage, or a constant voltage charge stage.
[0360] In one embodiment of the present application, before the electronic device is connected to the charger, the fast charging circuits on the electronic device may be in a disabled state. When Ib≤Is2, the SoC 400 may not transmit information indicating that the fast charging circuit is enabled to the fast charging chip a 311 and the fast charging chip b 312. Therefore, the fast charging circuit a 406 and the fast charging circuit b 411 are both in a disabled state, and the fast charging circuit a 406 and the fast charging circuit b 411 do not need to charge the battery cell 404.
[0361] In this way, when Ib≤Is2, the electronic device can use an external fast charging circuit (such as fast charging circuit c 501) to fast charge the battery cell. The heat generated by the power conversion of the fast charging circuit is distributed on the external cable of the circuit without affecting the overall casing temperature of the electronic device. The fast charging circuit on the electronic device does not need to perform power conversion and will not generate heat, thereby reducing the temperature rise of the overall casing temperature of the electronic device and reducing the limitation of the overall casing temperature on the charging power of the battery cell.
[0362] S710: When Is2<Ib≤Is1, the electronic device may use an external fast charging circuit and a portion of the fast charging circuit on the electronic device to charge the battery unit.
[0363] If Ib satisfies Is2<Ib≤Is1, then based on the correspondence between Ib and the charging strategy, SoC 400 can determine that the charging strategy corresponding to Ib is: using an external fast charging circuit and part of the fast charging circuit on the electronic device to charge the battery cell.
[0364] For example, still referring to Figures 4 and 5 , if the SoC 400 determines that Is2 < Ib ≤ Is1, the SoC 400 may control the switch unit a 401 to be in the on state. The SoC 400 may transmit information indicating that the fast charging circuit is enabled to the external charging IC 504 and the fast charging chip a 311, and transmit information indicating that the fast charging circuit is disabled to the fast charging chip b 312.
[0365] SoC 400 can calculate the external charging performance parameters, the charging performance parameters of the fast charging chip a 311, the temperature of the entire housing and the voltage of the battery unit 404 according to a preset calculation method to obtain the fifth charging parameter.
[0366] SoC 400 can transmit the fifth charging parameter to fast charging chip a311 through the IIC communication channel between SoC 400 and fast charging chip a311. Fast charging chip a311 can transmit the fifth charging requirement information to charger 307 through the USB communication channel between fast charging chip a311 and charger 307. The fifth charging requirement information can include the fifth charging parameter.
[0367] Upon receiving the fifth charging requirement information, the charger 307 may output a fifth voltage and a fifth current.
[0368] When the charger 307 outputs the fifth voltage and the fifth current, the fast charging circuit c 501 can perform power conversion on the voltage and current obtained from the charger 307 to achieve fast charging of the battery cell 404. The fast charging circuit a 406 can also perform power conversion on the voltage and current obtained from the charger 307 to achieve fast charging of the battery cell 404. For the specific implementation principle of the fast charging circuit c 501 charging the battery cell 404 in this embodiment, please refer to the specific implementation principle of the external charging unit 303 charging the battery cell 404 in the embodiment of Figure 4. For the specific implementation principle of the fast charging circuit a 406 charging the battery cell 404, please refer to the specific implementation principle of the fast charging chip a 311 charging the battery cell 404 in the embodiment of Figure 4.
[0369] It is understandable that the voltage value of the fifth voltage may be less than or equal to the voltage value of the first voltage. In different charging stages of the battery cell, the voltage value of the fifth voltage may be the same as the voltage value of the first voltage.
[0370] The voltage value of the fifth voltage may be greater than the voltage value of the fourth voltage. When Is2 < Ib ≤ Is1, the electronic device uses an external fast charging circuit and a portion of the fast charging circuit on the electronic device (such as fast charging circuit a 406 shown in FIG4 ) to fast charge the battery cell. This can reduce the temperature rise of the entire housing of the electronic device while increasing the charging power of the battery cell, thereby reducing the limitation of the entire housing temperature on the charging power of the battery cell.
[0371] S711 . When Ib>Is1 , the electronic device may use the external fast charging circuit and all the fast charging circuits on the electronic device to charge the battery unit.
[0372] For example, still referring to Figures 4 and 5 , if the SoC 400 determines that Ib>Is1, it may indicate that the charging current Ib required by the battery cell is large, and more fast charging circuits are needed to charge the battery cell to meet the charging requirements. The SoC 400 can control the switch unit a 401 to be in the on state. The SoC 400 can transmit information indicating that the fast charging circuit is enabled to the external charging IC 504, the fast charging chip a 311, and the fast charging chip b 312.
[0373] SoC 400 can calculate the external charging performance parameters, the charging performance parameters of the fast charging chip a 311, the charging performance parameters of the fast charging chip b 312, the temperature of the entire housing and the voltage of the battery unit 404 according to a preset calculation method to obtain a first charging parameter.
[0374] SoC 400 can transmit a first charging parameter to fast charging chip a 311. Fast charging chip a 311 can transmit first charging requirement information to charger 307. Charger 307 can output a first voltage and a first current, thereby implementing fast charging of battery cell 404 using fast charging circuit c 501, fast charging circuit a 406, and fast charging circuit b 411. The specific implementation principle and technical effects of this step can be seen in the specific implementation principle and technical effects of fast charging of battery cell 404 by fast charging circuit c 501, fast charging circuit a 406, and fast charging circuit b 411 in the embodiment of FIG4.
[0375] In this way, when Ib>Is1 or the charging current required to charge the battery cell is large, the electronic device can use an external fast charging circuit (such as fast charging circuit c 501) and all fast charging circuits on the electronic device (fast charging circuit a 406 and fast charging circuit b 411 as shown in Figure 4) to fast charge the battery cell, thereby dispersing the heat generated by power conversion in the fast charging circuit on the electronic device to reduce the temperature rise of the entire casing. The heat generated by the power conversion of the external fast charging circuit is distributed on the external cable of the circuit, further reducing the temperature rise of the entire casing of the electronic device, thereby reducing the limitation of the entire casing temperature on the charging power of the battery cell.
[0376] S712: When the electronic device determines that the battery temperature is greater than the temperature threshold Tb, the electronic device may maintain the value of the temperature-controlled maximum current It at Ir and charge the battery cell of the electronic device through a buck circuit, where Ir may be the maximum current value corresponding to Tb.
[0377] For example, if SoC 400 determines that the battery temperature is greater than temperature threshold Tb, SoC 400 may set It = Ir. SoC 400 may transmit information indicating slow charging to PMU 414 via the communication channel between PMU 414 and SoC 400. PMU 414 may transmit third charging requirement information to charger 307 via the communication channel between PMU 414 and charger 307, causing charger 307 to output a third voltage and a third current. PMU 414 may control switches M1, M2, and Q4 to all be in an on state, thereby implementing slow charging of battery cell 404 using the step-down circuit shown in FIG.
[0378] S713: When the electronic device determines that the entire housing temperature is less than or equal to the preset temperature T1, the electronic device may maintain the value of the temperature-controlled maximum current It at I1. Here, I1 may be the maximum current value corresponding to T1. I1>Ir.
[0379] The value of the maximum current It for maintaining temperature control of the electronic device is I1. For example, the SoC 400 sets It=I1.
[0380] When the electronic device completes step S713 , the electronic device may execute S706 .
[0381] S714: When the electronic device determines that the entire housing temperature is less than or equal to the preset temperature T2, the electronic device may maintain the value of the temperature-controlled maximum current It at I2. Here, I2 may be the maximum current value corresponding to T2. I1>I2>Ir.
[0382] The value of the maximum current It for maintaining temperature control of the electronic device is I2. For example, the SoC 400 sets It=I2.
[0383] When the electronic device completes step S714 , the electronic device may execute S706 .
[0384] S715: When the electronic device determines that the entire housing temperature is less than or equal to the preset temperature T3, the electronic device may maintain the value of the temperature control maximum current It at I3. Here, I3 may be the maximum current value corresponding to T3. I1>I2>I3>Ir.
[0385] The electronic device may maintain the value of the temperature-controlled maximum current It at I3. For example, the SoC 400 sets It=I3.
[0386] When the electronic device completes step S715 , the electronic device may execute S706 .
[0387] Regarding the heat generated when charging the battery cells of the electronic device, Table 1 shows a comparison of the heat generated when charging using the charging system provided by the embodiment of the present application and the heat generated when charging without using the charging system provided by the embodiment of the present application.
[0388] Table 1 Comparison between the charging system provided by the embodiment of the present application and the charging system not provided by the embodiment of the present application
[0389] As shown in Table 1, when the charging power is 100 and the charging current Ib=20, the heat loss Q2 of the electronic device motherboard charged by the charging system provided by the embodiment of the present application is 3225.27, and the heat loss Q1 of the electronic device motherboard not charged by the charging system provided by the embodiment of the present application is 4869.77. Q2 is 66.23% of Q1. When the charging power is 35 and the charging current Ib=7, Q2 is 71.13% of Q1. Compared with the heat loss Q1 of the electronic device motherboard charged by the charging system provided by the embodiment of the present application, the heat loss Q2 of the electronic device motherboard charged by the charging system provided by the embodiment of the present application is smaller, which can indicate that the temperature rise of the entire housing temperature of the electronic device charged by the charging system provided by the embodiment of the present application is smaller. The electronic device motherboard can be used to deploy the fast charging chip, fast charging circuit, SoC and PMU of the electronic device.
[0390] As shown in the embodiment of Figure 7, the whole casing temperature of the electronic device can be divided into five temperature levels. The five temperature levels are, for example: whole casing temperature ≤ T1, T1 < whole casing temperature ≤ T2, T2 < whole casing temperature ≤ T3 and T3 < whole casing temperature ≤ Tb. One temperature level corresponds to one temperature-controlled maximum current It. It should be understood that the correspondence between the whole casing temperature and the temperature-controlled maximum current It pre-stored on the electronic device may include the above-mentioned five temperature levels, and may also include more temperature levels and It values corresponding to each temperature level in more temperature levels. In one embodiment of the present application, the whole casing temperature of the electronic device may also be divided into fewer temperature levels.
[0391] The embodiment of FIG7 divides the charging current of the battery cell into three charging current levels. The three charging current levels are, for example: Ib>Is1, Is1≥Ib>Is2, and Is2≥Ib. One charging current level can correspond to one charging strategy. It should be understood that the correspondence between Ib and charging strategy pre-stored on the electronic device may include the above three charging current levels and the charging strategies corresponding to the above three charging current levels, and may also include more charging current levels and the charging strategies corresponding to each of the more charging current levels. In one embodiment of the present application, the charging current of the electronic device may also be divided into fewer current levels.
[0392] As shown in the embodiment of Figure 7, the electronic device determines the charging current Ib of the battery cell based on the temperature-controlled maximum current It and the voltage of the battery cell. The electronic device determines the charging current level based on the charging current Ib and the current threshold (such as Is1 or Is2), and then selects the charging strategy corresponding to the charging current level, that is, selects the number of fast charging circuits, which can reduce the number of fast charging circuits used in the electronic device while meeting the charging power of the battery cell, thereby reducing the temperature rise of the entire housing of the electronic device and reducing the limitation of the temperature rise of the entire housing on the charging power. The charging method provided in the embodiment of the present application, when using a fast charging circuit to fast charge the battery cell, implements the priority use of the fast charging circuit in the circuit external cable to charge the battery cell, and realizes the distribution of the heat generated by the power conversion outside the electronic device, thereby reducing the temperature rise of the entire housing of the electronic device.
[0393] In an embodiment of the present application, the charging performance parameters of the fast charging chip a 311 may include the maximum charging current and maximum charging voltage supported by the fast charging circuit a 406. The charging performance parameters of the fast charging chip b 312 may include the maximum charging current and maximum charging voltage supported by the fast charging circuit b 411. The external charging performance parameters may include the maximum charging current and maximum charging voltage supported by the fast charging circuit c 501. It should be understood that the electronic device can perform the steps shown in Figure 7 at a preset frequency to adjust the charging strategy. When the battery cell is fully charged, the electronic device can control the fast charging circuit a 406, the fast charging circuit b 411 and the fast charging circuit c 501 to stop charging the battery cell.
[0394] FIG8 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
[0395] As shown in FIG8 , the electronic device 300 may include a SoC 400 , a PMU 414 , a fast charging chip a 311 , a fast charging chip b 312 , a battery unit 404 , a battery protection board 801 and an external interface 301 .
[0396] The battery protection board 801 is disposed between the battery unit 404 and the external interface 301 .
[0397] Since the fast charge voltage and fast charge current will generate heat in the transmission line during the transmission process, which will affect the temperature of the entire housing of the electronic device. By deploying the battery protection board 801 between the battery unit 404 and the external interface 301, the charging line between the fast charge circuit c 501 of the external cable of the circuit shown in Figure 5 and the battery unit 404 can be shortened, and the charging line from the Vbat pin in the external interface 301 to the battery unit 404 can be shortened, which can reduce the heat generated by the fast charge voltage and fast charge current output by the fast charge circuit c 501, thereby reducing the temperature rise of the entire housing of the electronic device, thereby reducing the limitation of the charging power of the electronic device caused by the temperature rise of the entire housing.
[0398] Furthermore, the heat generated by the PMU 414 during operation is lower than the heat generated by the fast-charging chip a 311 or the fast-charging chip b 312 during fast charging. As shown in Figure 8, the fast-charging chip a 311 can be deployed close to the PMU 414, while the fast-charging chip b 312 can be deployed away from the PMU 414. This disperses the heat, facilitates heat dissipation, reduces the probability of heat concentration, and thus reduces the temperature rise of the entire housing.
[0399] FIG9 shows another structural diagram of an electronic device provided in an embodiment of the present application.
[0400] As shown in Figure 9, 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.
[0401] It should be understood that the structure illustrated in the embodiments 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, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0402] Exemplarily, the USB interface 130 may be the same as the external interface 301 in Figure 4. The Vbat pin in the USB interface 130 may be connected to the battery 142. In conjunction with Figure 4, the USB interface 130 may include the Vbat pin shown in Figure 4. When the USB interface 130 is connected to the circuit external cable 306, and the circuit external cable 306 is connected to the charger 307, the Vbat pin of the USB interface 130 is connected to the circuit external cable 306. The circuit external cable 306 can obtain electrical energy from the charger 307 and perform power conversion on the obtained electrical energy to obtain the voltage and current for charging the battery 142. The circuit external cable 306 can transmit the voltage and current for charging the battery 142 to the battery 142 through the Vbat pin of the USB interface 130 to fast charge the battery 142.
[0403] In this way, the heat generated by power conversion by the external circuit cable 306 does not affect the overall housing temperature of the electronic device 100, thereby reducing the temperature rise of the overall housing temperature of the electronic device 100, and further reducing the limitation of the overall housing temperature rise of the electronic device 100 on the charging power of the battery 142. It is understood that the electronic device 100 and the electronic device 300 can be the same.
[0404] It should be noted that the module names involved in the embodiments of the present application can be defined as other names as long as the functions of each module can be achieved, and there is no specific restriction on the names of the modules.
[0405] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of the present application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0406] The charging method provided in the embodiment of the present application can be applied to electronic devices with communication functions. The electronic devices include terminal devices. The specific device form of the terminal device can refer to the above related descriptions and will not be repeated here.
[0407] An embodiment of the present application provides an electronic device. The electronic device includes one or more processors and a memory. The memory is coupled to the one or more processors and is configured to store computer program code, which includes computer instructions. The one or more processors invoke the computer instructions to cause the electronic device to perform the aforementioned charging method.
[0408] An embodiment of the present application provides a chip or chip system, which includes at least one processor and a communication interface. The communication interface and the at least one processor are interconnected via a circuit, and the at least one processor is configured to execute a computer program or instruction to perform the above-described charging method. The communication interface in the chip can be an input / output interface, a pin, or a circuit.
[0409] The embodiments of the present application also provide a computer-readable storage medium. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, the above-mentioned method is implemented. The methods described in the above embodiments can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. If implemented in software, the functions 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.
[0410] In one possible implementation, computer-readable media may include RAM, ROM, compact disc read-only memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium designed to carry or store the desired program code in the form of instructions or data structures and accessible 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 technologies such as infrared, radio and microwave are used to transmit software from a website, server or other remote source, the coaxial cable, fiber optic cable, twisted pair, DSL or wireless technologies such as infrared, radio and microwave are included in the definition of medium. Disk and optical disk as used herein include optical disk, laser disk, optical disk, digital versatile disk (DVD), floppy disk and Blu-ray disk, where disks generally reproduce data magnetically, while optical disks reproduce data optically using lasers. Combinations of the above should also be included within the scope of computer-readable media.
[0411] 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-mentioned charging method.
[0412] The present application embodiment is described with reference to the flow chart and / or block diagram of the method, device (system) and computer program product according to the embodiment of the present application.It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow process and / or box in the flow chart and / or block diagram can be realized by computer program instructions.These computer program instructions can be provided to the processing unit of general-purpose computer, special-purpose computer, embedded processing machine or other programmable device to produce a machine, so that the instruction executed by the processing unit of computer or other programmable data processing device produces the device for realizing the function specified in one flow chart flow or multiple flows and / or one block or multiple blocks of block diagram.
[0413] The above specific implementation methods further illustrate the objectives, 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 replacements, 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. A connecting cable, characterized in that: include: a first interface, at least one DC-DC converter and a second interface; The DC-DC converter is arranged between the first interface and the second interface.
2. The connecting cable according to claim 1, wherein: The first interface includes a first pin; the second interface includes a second pin; the DC-DC converter is connected between the second pin and the first pin; Some or all of the at least one DC-DC converter are used to charge the battery cell of the electronic device through the first pin when the first interface is connected to the electronic device and the second interface is connected to the charger; wherein the charger is used to power the DC-DC converter through the second pin; and the connection cable is independent of the electronic device and the charger.
3. The connecting cable according to claim 2, wherein: The first interface further includes a third pin; the third pin is used to output a first signal indicating overvoltage and / or overcurrent of the connection cable.
4. The connecting cable according to any one of claims 2 or 3, characterized in that: The first interface further includes a fourth pin; the fourth pin is used to implement communication between the connection cable and the electronic device.
5. The connecting cable according to claim 4, characterized in that Also includes: First charging chip; The fourth pins include: a first serial data channel data line SDA pin and a first serial data channel clock line SCL pin; The first SDA pin and the first SCL pin are respectively connected to the first charging chip; The first SDA pin and the first SCL pin are used to implement integrated circuit bus IIC communication between the first charging chip and the electronic device.
6. The connecting cable according to claim 4, characterized in that Also includes: First charging chip; The fourth pin includes: a first single bus pin; the first single bus pin is connected to the first charging chip; The first single bus pin is used to implement single bus communication between the first charging chip and the electronic device.
7. The connecting cable according to claim 5 or 6, characterized in that: Also includes: anti-counterfeiting chip; The anti-counterfeiting chip is connected to the fourth pin; The anti-counterfeiting chip is used to transmit anti-counterfeiting information for authentication to the electronic device through the fourth pin when the first interface is connected to the electronic device.
8. The connecting cable according to claim 7, characterized in that The first charging chip includes a linear power supply, one end of which is connected between the second pin and the DC-DC converter; the anti-counterfeiting chip is also connected to the linear power supply; The linear power supply is used to supply power to the first charging chip and the anti-counterfeiting chip.
9. The connecting cable according to any one of claims 2 to 8, characterized in that: The first interface further includes a fifth pin; the fifth pin is connected to the second pin; The fifth pin and the second pin are used to enable the electronic device to obtain power from the charger when the first interface is connected to the electronic device and the second interface is connected to the charger.
10. The connecting cable according to any one of claims 2 to 9, characterized in that: The first interface further includes a sixth pin, and the second interface further includes a seventh pin; the sixth pin is connected to the seventh pin; The sixth pin and the seventh pin are used to implement communication between the electronic device and the charger when the first interface is connected to the electronic device and the second interface is connected to the charger.
11. The connecting cable according to any one of claims 1 to 10, characterized in that: The DC-DC converter is arranged on one end of the connecting cable close to the first interface.
12. An electronic device, characterized in that: include: A third interface and a battery unit; the third interface includes an eighth pin; the eighth pin is connected to the battery unit; The eighth pin is used to connect a connecting cable; when the connecting cable is connected to a power source, the connecting cable charges the battery unit through the eighth pin; wherein a DC-DC converter is provided in the connecting cable, and the connecting cable is independent of the electronic device.
13. The electronic device according to claim 12, wherein: Also includes: a control unit and a first switch unit; the control unit is connected to the first switch unit; the first switch unit is connected between the eighth pin and the battery unit; The control unit is used to control the first switch unit to be in an on state or an off state.
14. The electronic device according to claim 13, wherein: The third interface further includes a ninth pin, and the ninth pin is connected to the control unit; The control unit is further used to control the first switch unit to be in an off state when a first signal is received through the ninth pin; wherein the first signal indicates that the connection cable is overvoltage and / or overcurrent; the first signal is transmitted to the control unit by the connection cable when the eighth pin is connected to the connection cable.
15. The electronic device according to claim 13 or 14, characterized in that: Also includes: A second switch unit, the third interface further comprising a tenth pin; the second switch unit is connected between the control unit and the tenth pin; The control unit is further configured to control the second switch unit to be in an on state or an off state; The tenth pin is used to enable communication between the control unit and the connection cable when the second switch unit is in the on state.
16. The electronic device according to claim 15, characterized in that The tenth pin includes: a second serial data channel data line SDA pin and a second serial data channel clock line SCL pin, and the second switch unit includes a first switch and a second switch; The first switch is connected between the control unit and the second SDA pin, and the second switch is connected between the control unit and the second SCL pin; The control unit is further configured to control the first switch and the second switch to be in an on state or in an off state; The second SDA pin and the second SCL pin are used to implement integrated circuit bus IIC communication between the control unit and the connection cable when the first switch and the second switch are both in the on state.
17. The electronic device according to claim 15, characterized in that The tenth pin includes: a second single bus pin; the second switch unit includes a third switch; The control unit is further configured to control the third switch to be in an on state or in an off state; The second single bus pin is used to implement single bus communication between the control unit and the connection cable when the third switch is in the on state.
18. The electronic device according to any one of claims 13 to 17, characterized in that: Also includes: at least one first circuit; the third interface further comprising an eleventh pin; the first circuit being connected between the eleventh pin and the battery unit, and the first circuit being connected to the control unit; The control unit is further used to control the use of part or all of the at least one first circuit to charge the battery unit; the first circuit obtains electrical energy through the eleventh pin, and the first circuit is used for power conversion.
19. The electronic device according to any one of claims 12 to 18, characterized in that: The third interface further includes a twelfth pin; The twelfth pin is used to realize communication between the electronic device and the charger when the third interface is connected to the connection cable and the connection cable is connected to the charger.
20. A charging system, characterized in that: include: Electronic devices, connecting cables and chargers; The electronic device comprises: a third interface and a battery unit; the third interface comprises an eighth pin; the eighth pin is connected to the battery unit; The connecting cable includes: a first interface, at least one DC-DC converter and a second interface; the DC-DC converter is arranged between the first interface and the second interface; Some or all of the at least one DC-DC converter are used to charge the battery cell through the eighth pin when the third interface is connected to the first interface and the second interface is connected to the charger; wherein the charger is used to power the DC-DC converter through the second interface; and the connection cable is independent of the electronic device and the charger.
21. The charging system according to claim 20, wherein: The first interface includes a first pin; the second interface includes a second pin; the DC-DC converter is connected between the second pin and the first pin; Some or all of the at least one DC-DC converter are configured to charge the battery cell through the first pin and the eighth pin when the third interface is connected to the first interface and the second interface is connected to the charger; wherein the charger is configured to power the DC-DC converter through the second pin; and the connection cable is independent of the electronic device and the charger.
22. The charging system according to claim 21, characterized in that The electronic device further comprises: a control unit and a first switch unit; the control unit is connected to the first switch unit; the first switch unit is connected between the eighth pin and the battery unit; The third interface further includes a ninth pin, and the first interface further includes a third pin; the ninth pin is connected to the control unit; In the case of overvoltage and / or overcurrent in the connection cable, the connection cable transmits a first signal to the control unit through the third pin and the ninth pin, and the control unit controls the first switch unit to be in an off state.
23. The charging system according to claim 22, wherein: The electronic device further includes: a second switch unit, the third interface further includes a tenth pin; the second switch unit is connected between the control unit and the tenth pin; the first interface further includes a fourth pin; The control unit is further configured to control the second switch unit to be in an on state or an off state; The tenth pin and the fourth pin are used to implement communication between the control unit and the connection cable when the second switch unit is in the on state.
24. The charging system according to any one of claims 22 or 23, characterized in that: The electronic device further includes: at least one first circuit; the third interface further includes an eleventh pin; the first interface further includes a fifth pin; the first circuit is connected between the eleventh pin and the battery unit; the fifth pin is connected to the second pin; and the first circuit is connected to the control unit; The control unit is further configured to control the use of part or all of the at least one first circuit to charge the battery cell when the third interface is connected to the first interface and the second interface is connected to the charger; wherein the first circuit obtains electrical energy from the charger through the eleventh pin, the fifth pin, and the second pin, and the first circuit is used for power conversion.
25. The charging system according to any one of claims 20 to 24, characterized in that: The third interface further includes a twelfth pin; the first interface includes a sixth pin, and the second interface includes a seventh pin; the sixth pin is connected to the seventh pin; The twelfth pin, the sixth pin, and the seventh pin are used to implement communication between the electronic device and the charger when the third interface is connected to the first interface and the second interface is connected to the charger.
Citation Information
Patent Citations
Charging cable and charging system
CN203722283U
Data line, charging device and voltage converter
CN209786337U
Charging wire and charger
CN216563870U
High-speed charging circuit, USB cable device having the high-speed charging circuit, and electronic device having the high-speed charging circuit
WO2012153890A1