Charging apparatus, electronic device, charging system, and charging method

The charging apparatus and system for TWS headsets address the inefficiency in battery charging by using dual DC-DC chargers and controllers to adjust charging parameters, ensuring efficient and consistent charging without internal conversion, thereby enhancing battery charging efficiency.

JP7791290B2Active Publication Date: 2025-12-23HUAWEI TECH CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
JP2024187578
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-07-27
Filing Date
2024-10-24
Publication Date
2025-12-23
Estimated Expiration
2041-07-12

AI Technical Summary

Technical Problem

The charging efficiency of batteries in true wireless stereo (TWS) headsets is reduced due to internal power consumption in the DC-DC charger within the earphones, which converts electrical energy during the charging process.

Method used

A charging apparatus and system that includes a first DC-DC charger and a second DC-DC charger, with a controller to adjust charging parameters based on battery voltage information, allowing direct charging without internal conversion in the electronic device, thereby reducing power consumption and improving efficiency.

Benefits of technology

The solution enhances charging efficiency by eliminating the need for internal energy conversion in the electronic device, reducing power consumption and ensuring consistent charging voltage and current, thus improving battery charging performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007791290000001
    Figure 0007791290000001
  • Figure 0007791290000002
    Figure 0007791290000002
  • Figure 0007791290000003
    Figure 0007791290000003
Patent Text Reader

Abstract

To provide a charging device, an electronic device, a charging system, and a charging method that reduce power consumption generated in a headset and improve charging efficiency of a battery in the headset.SOLUTION: In a charging device 601 for charging an electronic device 602, a first DCDC charger 6012 charges a first battery 6014 after DC power transmitted by an adapter 6018 connected to a power source has been converted; an input terminal of a second DCDC charger 6017 receives the DC voltage output by the first DCDC charger; an output terminal of the second DCDC charger is connected to a charging terminal 6013; and the charging terminal is connected to a receiving terminal 6023 of the electronic device. The second DCDC charger receives charging parameters transmitted by the electronic device, obtains the charging parameters based on voltage information of a second battery 6024 of the electronic device, and controls the output of the charging voltage and the charging current.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] This application claims priority to Chinese Patent Application No. 202010733958.7, entitled "Charging Apparatus, Electronic Device, Charging System, and Charging Method," filed with the State Intellectual Property Administration of China on July 27, 2020, which is incorporated herein by reference in its entirety.

[0002] The present application relates to the field of terminal device technology, and in particular to a charging apparatus, an electronic device, a charging system, and a charging method. [Background technology]

[0003] With the development of chip technology, true wireless stereo (TWS) technology has been widely used in the field of Bluetooth headsets, such as TWS headsets. Compared with ordinary headsets, the left and right earphones of TWS headsets can work independently without cable connection.

[0004] Figure 1 is a schematic diagram of a TWS headset.

[0005] The TWS headset includes a left earphone 101, a right earphone 102, and a charging case 103. The charging case 103 is configured to charge the left earphone 101 and the right earphone 102. For example, when the left earphone 101 is located in the charging case 103, the charging case 103 transfers electrical energy provided by a battery inside the charging case 103 to the left earphone 101, and a DC-DC charger disposed inside the left earphone 101 converts the electrical energy provided by the battery inside the charging case 103 and then charges the battery inside the left earphone 101.

[0006] FIG. 2 is a schematic diagram of a charging system including a charging case and earphones.

[0007] The charging system includes a charging case 103 and an earphone 102. It can be seen from the figure that a charger is disposed inside the earphone 102. A charger 1038 inside the earphone 102 converts electrical energy based on the power of a second battery 1037, and then charges the second battery 1037. The charger 1038 inside the earphone consumes power when converting electrical energy, and therefore, the charging efficiency of the second battery 1037 is reduced. Summary of the Invention [Means for solving the problem]

[0008] To solve the aforementioned technical problems, embodiments of the present application provide a charging apparatus, an electronic device, a charging system, and a charging method for reducing power consumption generated in a headset and improving charging efficiency of a battery in the headset.

[0009] According to a first aspect, the present application provides a charging device including a first DCDC charger, a second DCDC charger, a first battery, and a charging terminal. The first DCDC charger can charge the first battery after converting DC power transmitted by an adapter, and can also directly charge the second DCDC charger. During the charging process of the charging device, the second DCDC charger receives charging parameters transmitted by the electronic device. The charging parameters may be obtained by a second controller in the electronic device based on voltage information of the second battery, or may be obtained by a first controller in the charging device based on voltage information of the second battery. After obtaining the charging parameters, the second DCDC charger can obtain a corresponding charging voltage and a corresponding charging current based on the charging parameters. The second DCDC charger can further detect the output voltage and output current of the charging terminal, compare the output voltage with the charging voltage, and gradually adjust the output voltage of the charging terminal so that the output voltage of the charging terminal remains consistent with the charging voltage. Similarly, the output current of the charging terminal is gradually adjusted so that it remains consistent with the charging current. The second DCDC charger can output a charging voltage and a charging current to the electronic device by using the charging terminal and the receiving terminal. The electronic device directly charges the second battery by using the charging voltage and the charging current without internally converting electrical energy again. This improves the charging efficiency of the second battery. During the charging process, charging parameters are obtained based on the voltage information of the second battery. When the voltage of the second battery changes, the charging parameters also change. Therefore, the charging device can directly output a corresponding charging voltage and a corresponding charging current based on the charging parameters, and the electronic device does not need to convert electrical energy. In other words, the Level 1 DCDC charger is omitted, reducing power consumption in the electronic device and improving the charging efficiency of the second battery.

[0010] Preferably, the charging device further includes a first controller. The first controller has different functions according to different control policies. For example, the first controller receives charging parameters sent by the electronic device and sends the charging parameters to the second DCDC charger. The charging parameters carry the charging voltage and charging current corresponding to the second battery, so that the second DCDC charger can determine the charging voltage and charging current of the second battery based on the charging parameters. In this case, the charging parameters may be obtained by the second controller based on the voltage information of the second battery.

[0011] Preferably, the charging device further includes a first controller. In another control policy, the first controller receives voltage information of the second battery sent by the electronic device, obtains corresponding charging parameters based on the voltage information of the second battery, and transmits the charging parameters to the second DCDC charger. The charging parameters carry the charging voltage and charging current corresponding to the second battery, so that the second DCDC charger can determine the charging voltage and charging current of the second battery based on the charging parameters. In this case, the charging parameters are obtained by the first controller based on the voltage information of the second battery.

[0012] Preferably, for example, if the electronic device is a headset and the charging device is a charging case, the charging case needs to know that the headset is in the charging base, and the headset also needs to know that the headset is in the charging case by detecting whether the headset is located in the charging case to ensure that the charging device and the electronic device are connected. When both the charging device and the electronic device are in place, the electronic device sends a handshake signal to the charging device. Upon receiving the handshake signal sent by the electronic device, the charging device can determine that the electronic device is in place. Specifically, the second DC-DC charger includes a first state machine. Upon receiving the handshake signal sent by the electronic device, the first state machine determines that the electronic device is in place and notifies the first controller that the electronic device is in place, eliminating the need to re-detect whether the electronic device is in place.

[0013] Preferably, the charging device needs to check the handshake signal before charging the electronic device to determine that the charging device is compatible with the electronic device. Specifically, the second DC-DC charger includes a first state machine and a demodulation module. The demodulation module receives the handshake signal transmitted by the electronic device from the charging terminal, demodulates the handshake signal, and transmits the demodulation result to the first state machine. After receiving the demodulation result, if the first state machine determines that the handshake is successful based on the demodulation result, it notifies the first controller that the handshake is successful. If the handshake between the charging device and the electronic device is successful, the charging device and the electronic device may enter a subsequent communication mode, and the first controller receives voltage information or charging parameters transmitted by the electronic device, which belong to the second battery.

[0014] Preferably, the first state machine notifies the first controller that the handshake is successful as follows: Upon determining that the handshake is successful, the first state machine sends an interrupt signal to the first controller. Upon detecting the interrupt signal, the first controller determines that the handshake is successful and prepares for subsequent communication and charging processes.

[0015] Preferably, during the charging process, the charging voltage and charging current output by the charging device to the electronic device need to be constantly adjusted based on the charging parameters of the second battery. Therefore, if no additional contact terminals are provided between the charging device and the electronic device, a first switch module and a DCDC conversion circuit are arranged in the second DCDC charger to complete the conversion between the communication process and the charging process and output the charging voltage and charging current required by the second battery based on the charging parameters. Specifically, the input terminal of the DCDC conversion circuit is used as the input terminal of the second DCDC charger, the output terminal of the DCDC conversion circuit is connected to the first terminal of the first switch module, the second terminal of the first switch module is the output terminal of the second DCDC charger, and the third terminal of the first switch module is connected to the first communication interface of the first controller. When the first controller communicates with the electronic device, the first state machine controls the first switch module to connect the charging terminal to the first communication interface, so that the first controller can directly communicate with the second controller to obtain the charging parameters of the second battery or voltage information of the second battery. When charging the electronic device, the second DCDC charger controls the first switch module to connect the charging terminal to the output terminal of the DCDC conversion circuit, and controls the DCDC conversion circuit to perform electrical energy conversion based on the voltage comparison result and the current comparison result.

[0016] Preferably, since the output voltage of the second DCDC charger is high, the voltage of a capacitor (not shown) connected in parallel to the output port of the second DCDC charger is high. Therefore, before the first switch module connects the charging terminal to the first communication interface, the first state machine disables the output of the DCDC conversion circuit, and when the voltage of the charging terminal is lower than a first preset threshold, the first switch module is controlled to connect the charging terminal to the first communication interface to reduce the possibility of the first controller being burned.

[0017] Preferably, the charging device further includes a carrier communication module. The first controller communicates with the electronic device using the carrier communication module to receive voltage information or charging parameters of the second battery. When the charging device communicates with the electronic device using the carrier communication module, the electronic device can also transmit voltage information or charging parameters of the second battery to the charging device without turning off the charging process. This further improves charging efficiency of the second battery.

[0018] Preferably, the second DC-DC charger includes a first state machine and a demodulation module. If the first controller is not disposed in the charging device, the first state machine can perform the functions performed by the first controller. When a handshake is performed between the charging device and the electronic device, the demodulation module receives a handshake signal transmitted by the electronic device from the charging terminal, demodulates the handshake signal, and transmits the demodulation result to the first state machine. After confirming that the handshake is successful based on the demodulation result, the first state machine receives voltage information of the second battery or charging parameters of the second battery transmitted by the electronic device. Upon receiving the voltage information of the second battery, the first state machine is further configured to obtain charging parameters based on the voltage information of the second battery. If the first controller is not disposed in the charging device, the size of the charging device can be reduced.

[0019] Preferably, the demodulation module demodulates the current signal at the second end of the second DC-DC charger and transmits the demodulated result of the current signal to the first state machine. The first state machine compares the demodulated result of the current signal with a preset pulse signal and determines whether the handshake is successful based on the comparison result. For example, if the demodulated result matches the preset pulse signal, the handshake is confirmed to be successful.

[0020] Preferably, the charging device further includes a DC-DC conversion circuit. The input terminal of the DC-DC conversion circuit is the input terminal of the second DC-DC charger, and the output terminal of the DC-DC conversion circuit is connected to the charging terminal. The first state machine controls the DC-DC conversion circuit to perform electrical energy conversion based on the voltage comparison result and the current comparison result. The DC-DC conversion circuit adjusts the output voltage and output current of the DC-DC conversion circuit to match the charging voltage and the charging current, respectively, based on the voltage comparison result and the current comparison result.

[0021] According to a second aspect, the present application provides an electronic device including a second battery, a second controller, a charging path, and a receiving terminal. The charging path is not a charger. The charging path has a simple impedance conversion function. A first end of the charging path is connected to the receiving terminal, and a second end of the charging path is connected to the second battery. The receiving terminal is configured to connect to a charging terminal of a charging device. The second controller transmits charging parameters to the charging device, so that the charging device obtains a charging voltage and a charging current based on the charging parameters. After obtaining the charging voltage and the charging current based on the charging parameters transmitted by the electronic device, the charging device outputs the charging voltage and the charging current to the charging terminal. The receiving terminal charges the second battery after receiving the output voltage and the output current of the charging terminal, where the output voltage is equal to or has a multiple relationship with the charging voltage of the second battery, and the output current is equal to the charging current of the second battery. When the output voltage matches the charging voltage of the second battery, the charging device charges the electronic device. When the second controller determines, based on the voltage of the second battery, that the charging phase is a constant-current charging phase or a constant-voltage charging phase, the charging path operates in a bypass state to charge the second battery. When the charging path operates in the bypass state, the impedance of the charging path is minimized and the charging path is approximately equivalent to a conductor. When there is a multiplicative relationship between the output voltage and the charging voltage of the second battery, a switched capacitor converter needs to be additionally disposed in the charging path to perform voltage conversion and implement voltage regulation. The switched capacitor converter improves the charging efficiency of the second battery. Because closed-loop control is performed within the charging device, the output voltage matches or has a multiplicative relationship with the charging voltage of the second battery, and the output current matches the charging current of the second battery. Since the second battery can be charged using the charging voltage and charging current without the need for a DC-DC charger in the electronic device, power consumption within the electronic device is reduced and the charging efficiency of the second battery is improved.

[0022] Preferably, the second controller is configured to transmit the voltage information of the second battery to the charging device, so that the charging device obtains corresponding charging parameters based on the voltage information of the second battery. In other words, the second controller transmits only the voltage information of the second battery to the charging device, and the charging parameters are obtained by the first controller or the first state machine in the charging device.

[0023] Preferably, the charging path includes a second switch module. A first end of the second switch module is used as a first end of the charging path, and a second end of the second switch module is used as a second end of the charging path. The impedance of the second switch module is adjustable. The second controller is configured to obtain a corresponding charging phase based on voltage information of the second battery, and to control the impedance of the second switch module to be minimum if the charging phase is a constant current charging phase or a constant voltage charging phase, thereby minimizing the impedance of the charging path, and to control the impedance of the second switch module to be maximum if the charging phase is a trickle charging phase, thereby maximizing the impedance of the charging path.

[0024] Preferably, the second switch module is implemented by using two MOS transistors, such as a first MOS transistor and a second MOS transistor, connected in series. The anti-parallel diodes of the first MOS transistor and the second MOS transistor have opposite directions. Furthermore, the second controller can adjust the impedance of the charging path by adjusting the on / off states of the MOS transistors.

[0025] Preferably, the second switch module further includes a third MOS transistor connected in parallel across both ends of the two series-connected MOS transistors. When the charging phase is a constant-current charging phase, the second controller controls the third MOS transistor to be turned on, thereby bypassing the first and second series-connected MOS transistors to minimize the impedance of the charging path.

[0026] Preferably, the charging path further includes a switched capacitor converter, which is connected in series with the second switch module, and is configured to boost a voltage input to the switched capacitor converter and then output a boosted voltage, so that voltage regulation can be performed, the charging voltage of the second battery can be increased, and the charging efficiency of the second battery can be improved.

[0027] Preferably, the charging path includes a switched capacitor converter, a safety switch, and a second switch module. A first end of the switched capacitor converter is connected to the receiving terminal, a first end of the safety switch is connected to a first end of the switched capacitor converter, and the first end of the switched capacitor converter is connected to the second battery. A second end of the safety switch is connected to a first end of the second switch module, and a second end of the second switch module is connected to the second battery. The impedance of the second switch module is adjustable, so that the impedance of the charging path can be controlled in different charging phases. The second controller obtains the corresponding charging phase based on voltage information of the second battery and controls the switched capacitor converter and the second switch module to operate in different states in different charging phases. When the charging phase is a constant current charging phase or a constant voltage charging phase, the safety switch is controlled to be off and the switched capacitor converter is controlled to operate in a bypass state. When the charging phase is another charging phase, the safety switch is controlled to be on. In addition to improving the charging efficiency of the second battery in the constant voltage charging phase and the constant current charging phase, the charging efficiency of the second battery in another charging phase can also be improved.

[0028] Preferably, the electronic device further includes a second state machine and a modulation module. The second state machine is configured to modulate a handshake signal and control the modulation module to send the modulated handshake signal to a receiving terminal, so that the charging device receives the handshake signal and checks whether the handshake is successful. If it is determined that the handshake is successful, the second state machine can determine that the electronic device is compatible with the charging device and notify the second controller to communicate with the charging device, so that the second controller can send voltage information or charging parameters of the second battery to the charging device, and the charging device can provide the electronic device with the charging voltage and charging current required by the second battery to charge the second battery based on the voltage information or charging parameters.

[0029] Preferably, the electronic device further includes a third switch module. A first end of the third switch module is connected to the receiving terminal, a second end of the third switch module is connected to the first end of the charging path, and a third end of the third switch module is connected to the second communication interface of the second controller. When the second controller communicates with the charging device, the second state machine controls the third switch module to connect the receiving terminal to the second communication interface of the second controller, so that the second controller communicates with the first controller inside the charging device. When the charging device charges the second battery, the second state machine controls the third switch module to connect the receiving terminal to the first end of the charging path, so that the charging device charges the electronic device.

[0030] Preferably, after the handshake signal is transmitted, the second state machine confirms that the handshake is successful when it detects that the voltage at the receiving terminal is lower than a second preset threshold.

[0031] Preferably, the electronic device further includes a carrier communication module. When the second controller communicates with the charging device using the carrier communication module, for example, by transmitting voltage information of the second battery or charging parameters of the second battery to the charging device, both communication and charging can be performed without turning off the charging process. In this case, the time required to charge the second battery is shortened and charging efficiency is further improved.

[0032] Preferably, the electronic device comprises: Bluetooth headsets, bands, and watches It is one of the following.

[0033] According to a third aspect, the present application provides a charging system including any charging apparatus as described in the first aspect and any electronic device as described in the second aspect, wherein the charging apparatus is configured to charge the electronic device.

[0034] Preferably, there are two charging terminals of the charging device and two receiving terminals of the electronic device.

[0035] According to a fourth aspect, the present application provides a charging method applying a charging device. The charging device includes a first DCDC charger, a first battery, a second DCDC charger, and a charging terminal. The first DCDC charger is configured to charge the first battery after converting DC power transmitted by an adapter, and is further configured to supply power to the second DCDC charger. The input terminal of the second DCDC charger is configured to receive the DC voltage output by the first DCDC charger, and the output terminal of the second DCDC charger is connected to the charging terminal of the electronic device, and the charging terminal is configured to connect to the receiving terminal of the electronic device. The method includes: receiving charging parameters transmitted by the electronic device, the charging parameters being obtained based on voltage information of a second battery of the electronic device; Obtaining a corresponding charging voltage and a corresponding charging current based on the charging parameters; detecting an output voltage and an output current of the charging terminal; controlling the charging terminal to output a charging voltage and controlling the charging terminal to output a charging current; Includes.

[0036] According to a fifth aspect, the present application provides a charging method applied to an electronic device. The electronic device includes a second battery, a second controller, a charging path, and a receiving terminal. The receiving terminal is configured to connect to a charging terminal of a charging device, a first end of the charging path is connected to the receiving terminal, and a second end of the charging path is connected to the second battery. The method includes: receiving an output voltage and an output current of the charging terminal, wherein the output voltage is equal to or has a predetermined multiple relationship with the charging voltage of the second battery, and the output current is equal to the charging current of the second battery, and both the output voltage and the output current are obtained by the charging device based on the charging parameters transmitted by the electronic device; When the charging phase is determined to be a constant current charging phase or a constant voltage charging phase based on the voltage of the second battery, controlling the charging path to operate in a bypass state to charge the second battery; Includes.

[0037] The embodiments of the present application have at least the following advantages.

[0038] One embodiment of the present application provides a charging system. The charging system includes a charging device and an electronic device. The charging device is configured to charge the electronic device. In order to reduce the power consumption of the electronic device during the charging process, the charging device is internally improved so that a second DC-DC charger in the charging device can directly charge the battery of the electronic device and directly provide the charging voltage and charging current required by the battery of the electronic device.

[0039] Specifically, the charging device includes a first battery, a first DCDC charger, a second DCDC charger, and a charging terminal. The electronic device includes a second battery, a second controller, a charging path, and a receiving terminal. The input terminal of the second DCDC charger is configured to connect to the DC voltage output by the first DCDC charger, and the output terminal of the second DCDC charger is connected to the charging terminal. The second DCDC charger obtains a corresponding charging voltage and a corresponding charging current based on the charging parameters, detects the output voltage and output current of the charging terminal, compares the output voltage with the charging voltage, and controls the output voltage of the charging terminal to match the charging voltage based on the voltage comparison result, compares the output current with the charging current, and controls the output current to match the charging current based on the current comparison result. When the charging device is connected to the electronic device, the charging terminal and the receiving terminal are also connected. Therefore, the second DCDC charger can output a charging voltage and a charging current to the electronic device using the charging terminal and the receiving terminal. The electronic device directly charges the second battery by using the charging voltage and charging current without internally converting electrical energy again, thereby improving the charging efficiency of the second battery.

[0040] Since the charging parameters are obtained based on the voltage information of the second battery, i.e., when the voltage of the second battery changes, the charging parameters change accordingly, and the charging device can output a corresponding charging voltage and a corresponding charging current based on the charging parameters to charge the electronic device, in other words, the electronic device does not need to perform electrical energy conversion, and the electronic device omits a Level 1 DCDC charger, thereby reducing the power consumption generated by the electronic device and improving the charging efficiency of the second battery. [Brief explanation of the drawings]

[0041] [Figure 1] Schematic diagram of a TWS headset. [Figure 2]FIG. 1 is a schematic diagram of a charging system including a charging case and earphones. [Figure 3] 1 is a schematic diagram of a charging apparatus and an electronic device according to an embodiment of the present application. [Figure 4] FIG. 2 is a schematic diagram of another charging apparatus and an electronic device according to an embodiment of the present application. [Figure 5] FIG. 1 is a schematic diagram of charging the charging case according to an embodiment of the present application. [Figure 6] 1 is a schematic diagram of a charging system according to an embodiment of the present application. [Figure 7] FIG. 2 is a schematic diagram of yet another charging system according to an embodiment of the present application. [Figure 8] FIG. 1 is a schematic diagram of a charging system in a preparation phase according to an embodiment of the present application. [Figure 9] FIG. 1 is a schematic diagram of an initial state of a charging system according to an embodiment of the present application. [Figure 10] 4 is an operational flowchart of a preparation phase of a charging system according to an embodiment of the present application. [Figure 11] FIG. 10 is a schematic diagram of yet another charging system in a preparation phase according to an embodiment of the present application. [Figure 12] FIG. 1 is a schematic diagram of pre-charging an electronic device according to an embodiment of the present application. [Figure 13A] FIG. 2 is a schematic diagram of modulation of handshake signals according to an embodiment of the present application; [Figure 13B] FIG. 2 is a schematic diagram of modulation of handshake signals according to an embodiment of the present application; [Figure 14A] FIG. 2 is a schematic diagram of demodulation of handshake signals according to an embodiment of the present application; [Figure 14B] FIG. 2 is a schematic diagram of demodulation of handshake signals according to an embodiment of the present application; [Figure 15] FIG. 1 is a schematic diagram of a charging system after a successful handshake according to an embodiment of the present application. [Figure 16A] 1 is a schematic diagram of a charging system in communication according to an embodiment of the present application; [Figure 16B-1]1 is an operation flowchart of a charging apparatus and an electronic device according to an embodiment of the present application. [Figure 16B-2] 1 is an operation flowchart of a charging apparatus and an electronic device according to an embodiment of the present application. [Figure 16B-3] 1 is an operation flowchart of a charging apparatus and an electronic device according to an embodiment of the present application. [Figure 17] 10 is an operational flowchart of a preparation phase of yet another charging system according to an embodiment of the present application. [Figure 18A] 10 is an operation flowchart of yet another charging apparatus and electronic device according to an embodiment of the present application. [Figure 18B] 1 is an operation flowchart of a charging apparatus and an electronic device according to an embodiment of the present application. [Figure 19] 1 is a schematic diagram of a charging phase of a charging system according to an embodiment of the present application; [Figure 20] FIG. 2 is a schematic diagram of a charging path according to an embodiment of the present application. [Figure 21] FIG. 10 is a schematic diagram of yet another charging path according to an embodiment of the application. [Figure 22] FIG. 10 is a schematic diagram of a second switch module according to an embodiment of the present application. [Figure 23] FIG. 10 is a schematic diagram of yet another second switch module according to an embodiment of the present application. [Figure 24A] FIG. 10 is a schematic diagram of yet another charging path according to an embodiment of the present application. [Figure 24B] FIG. 10 is a schematic diagram of yet another charging path according to an embodiment of the present application. [Figure 25A] FIG. 2 is a schematic diagram of another charging system according to an embodiment of the present application. [Figure 25B] FIG. 2 is a waveform diagram of a pulse signal according to an embodiment of the present application. [Figure 25C-1] 10 is an operation flowchart of yet another charging apparatus and electronic device according to an embodiment of the present application. [Figure 25C-2]10 is an operation flowchart of yet another charging apparatus and electronic device according to an embodiment of the present application. [Figure 26] FIG. 2 is a schematic diagram of yet another charging system according to an embodiment of the present application. [Figure 27A] FIG. 2 is a schematic diagram of yet another charging system according to an embodiment of the present application. [Figure 27B-1] 10 is an operation flowchart of another charging apparatus and an electronic device according to an embodiment of the present application. [Figure 27B-2] 10 is an operation flowchart of another charging apparatus and an electronic device according to an embodiment of the present application. [Figure 28] FIG. 2 is a schematic diagram of another charging system according to an embodiment of the present application. [Figure 29] FIG. 2 is a waveform diagram of a pulse signal according to an embodiment of the present application. [Figure 30] FIG. 2 is a schematic diagram of the number of bits in a feature string according to an embodiment of the present application; DETAILED DESCRIPTION OF THE INVENTION

[0042] The following describes the technical solutions of the embodiments of the present application with reference to the accompanying drawings of the embodiments of the present application. It is obvious that the described embodiments are only some but not all of the embodiments of the present application.

[0043] The terms "first," "second," etc. below are intended for descriptive purposes only and are not to be understood as an indication or suggestion of relative importance or an implicit indication of the quantity of the indicated technical characteristics. Thus, a feature qualified by "first" or "second" may explicitly or implicitly include one or more features. In the description of this application, unless otherwise stated, "plurality" means two or more than two.

[0044] Additionally, in this application, orientation terms such as "up" and "down" may include, but are not limited to, the orientation of components diagrammatically arranged in the associated accompanying drawings. It should be understood that these orientation terms may be relative concepts. The orientation terms are used for related explanation and clarification purposes and may correspondingly change based on changes in the orientation in which components are arranged in the associated drawings.

[0045] It should be noted that in this application, unless otherwise expressly specified and limited, the term "connect" should be understood in a broad sense. For example, "connect" may be a fixed connection, a detachable connection, an integral connection, a direct connection, or an indirect connection achieved by using an intermediate medium. In addition, the term "couple" may refer to a manner of achieving an electrical connection for signal transmission. "Coupled" may be a direct electrical connection or an indirect electrical connection by using an intermediate medium.

[0046] The type of the charging device is not particularly limited in this embodiment of the present application, and the charging device may be a charging cradle or a charging case.

[0047] The type of the electronic device is not particularly limited in this embodiment of the present application. The electronic device may be a headset, a smart watch, a smart band, etc.

[0048] FIG. 3 is a schematic diagram of a charging apparatus and an electronic device according to an embodiment of the present application.

[0049] For example, when the charging device is a charging cradle, the electronic device may be a smart band. As shown in the figure, the charging cradle includes a first charging terminal 202A and a second charging terminal 202B, and the smart band includes a first receiving terminal 201A and a second receiving terminal 201B. In this embodiment, the number of charging terminals is not particularly limited, and the number of receiving terminals is not particularly limited. Generally, the number of charging terminals is equal to the number of receiving terminals, e.g., 2 or 3. In this embodiment, only an example with two charging terminals and two receiving terminals is used for description. In addition, the charging device and the electronic device may also be wirelessly charged.

[0050] The types of the charging terminal and the receiving terminal are not limited in this application. For example, the charging terminal may be a USB interface, a pogopin, a metal elastomer, or may be made of another conductive material. Of course, the receiving terminal may alternatively be a USB interface, a pogopin, a metal elastomer, or may be made of another conductive material.

[0051] When the smart band needs to be charged, the smart band is placed on the charging cradle, so that the first charging terminal 202A is connected to the first receiving terminal 201A and the second charging terminal 202B is connected to the second receiving terminal 201B. Furthermore, the charging cradle can transmit electrical energy to the smart band to charge the smart band.

[0052] FIG. 4 is a schematic diagram of another charging apparatus and an electronic device according to an embodiment of the present application.

[0053] When the charging device is a charging case, the electronic device may be a headset, and the headset includes a left earphone and a right earphone. When the headset needs to be charged, after the headset is placed in the charging case, the charging terminal 301 of the charging case is connected to the receiving terminal 302 of the headset, and then the charging case can transmit electrical energy to the headset to charge it.

[0054] For ease of explanation, the following describes the operating principle of charging an electronic device by a charging device by using an example in which the charging device is a charging case and an example in which the electronic device is a headset.

[0055] FIG. 5 is a schematic diagram of charging the charging case according to an embodiment of the present application.

[0056] A charging interface (not shown) is disposed on the charging case 401. The charging case 401 can be connected to the adapter 402 by using the charging interface. After the adapter 402 is connected to a power source, the charging case 401 can be charged so that the battery in the charging case has a certain amount of power. Therefore, when the charging case 401 is disconnected from the adapter 402, the charging case 401 can transmit electrical energy provided by the battery in the charging case to the earphones 403.

[0057] In addition, the charging case 401 may further be wirelessly charged using a wireless charging method, so the adapter 402 does not need to be directly connected to the charging case 401. The adapter 402 may be connected to a wireless charging device (e.g., a wireless charging cradle) that is compatible with the charging case 401, and the charging case 401 is wirelessly charged by using the wireless charging device.

[0058] 2 , in the process of the charging case 103 charging the earphones 103, the first controller 1031 controls the first DCDC charger 1032 to convert the electrical energy provided by the first battery 1033, and then provides the converted electrical energy to the earphones 102 by using the first charging terminal 1034. After the earphones 102 receive electrical energy by using the first receiving terminal 1035, the second controller 1036 controls the charger 1038 to convert the received electrical energy to charge the second battery 1037.

[0059] However, after the charger 1038 is placed in the earphone 102, when charging the earphone 102, the charger 1038 in the earphone 102 needs to convert the electrical energy provided by the charging case 103 and then provide the converted electrical energy to the second battery 1037. In the process of electrical energy conversion by the charger 1038, power consumption occurs in the circuit. Therefore, the earphone 102 becomes hot, and the charging efficiency of the second battery decreases.

[0060] To solve the aforementioned technical problems, embodiments of the present application provide a charging apparatus, an electronic device, a charging system, and a charging method. For ease of understanding, the implementation of the charging apparatus and the implementation of the electronic device are integrated into the charging system for the following description, and the charging apparatus and the electronic device will not be described separately. The charging system includes a charging apparatus and an electronic device. In the process of the charging apparatus charging the electronic device, the charging apparatus can directly output a charging voltage and a charging current corresponding to the charging parameters to the electronic device based on the charging parameters. The charging parameters are obtained based on voltage information of the second battery, are related to the voltage of the second battery, and change with changes in the voltage of the second battery. The electronic device no longer includes a DC-DC charger. Therefore, in the charging system provided in the embodiments of the present application, a Level 1 charger is not provided in the electronic device for electrical energy conversion, thereby reducing power consumption in the electronic device and improving charging efficiency of the second battery.

[0061] In order to make those skilled in the art better understand the technical solutions provided in the embodiments of the present application, the following describes the technical solutions provided in the embodiments of the present application with reference to the accompanying drawings.

[0062] For ease of understanding by those skilled in the art, the following directly describes a system embodiment, that is, the system includes a charging device and an electronic device, and the specific implementations and operation principles of the charging device and the electronic device are combined for explanation.

[0063] System embodiment 1 FIG. 6 is a schematic diagram of a charging system according to an embodiment of the present application.

[0064] The charging system includes a charging apparatus 601 and an electronic device 602 .

[0065] The charging device 601 is configured to charge the electronic device 602 .

[0066] The charging device 601 includes a first DCDC charger 6012, a charging terminal 6013, a first battery 6014, and a second DCDC charger 6017.

[0067] The first DCDC charger 6012 is configured to charge the first battery 6014 after converting the DC power transmitted by the adapter, and is further configured to supply power to the second DCDC charger 6017.

[0068] The input terminal of the second DCDC charger 6017 is configured to receive the DC voltage output by the first DCDC charger 6012, the output terminal of the second DCDC charger 6017 is connected to the charging terminal, and the charging terminal is configured to be connected to the receiving terminal of the electronic device.

[0069] The second DCDC charger 6017 is configured to receive charging parameters sent by the electronic device, the charging parameters being obtained based on voltage information of a second battery of the electronic device, obtain a corresponding charging voltage and a corresponding charging current based on the charging parameters, control the charging terminals to output the charging voltage, and control the charging terminals to output the charging current.

[0070] The charging parameters may include one or more of the following: current voltage, battery temperature, state of charge SOC, cycle number (battery life), and path impedance voltage drop information of the second battery. The charging device may obtain the charging voltage and charging current required by the second battery mainly by using the charging parameters.

[0071] Specifically, the output voltage and output current of the charging terminal may be detected, the output voltage is compared with the charging voltage, and the output voltage of the charging terminal is controlled to match the charging voltage based on the voltage comparison result, and the output current is compared with the charging current, and the output current is controlled to match the charging current based on the current comparison result.

[0072] That is, the second DCDC charger 6017 has both current loop control and voltage loop control, and can control the output voltage and output current in a closed-loop manner based on the charging parameters, so that the output voltage and output current meet the charging requirements of the second battery.

[0073] The electronic device 602 has a second controller 6021 , a charging path 6022 , a receiving terminal 6023 , and a second battery 6024 .

[0074] The receiving terminal 6023 is configured to connect to the charging terminal of the charging device. The receiving terminal is configured to receive the output voltage and output current of the charging terminal. The output voltage corresponds to the charging voltage of the second battery, and the output current corresponds to the charging current of the second battery. Both the output voltage and the output current are obtained by the charging device based on the charging parameters transmitted by the electronic device.

[0075] A first end of the charging path 6022 is connected to the receiving terminal, and a second end of the charging path 6022 is connected to the second battery.

[0076] The second controller 6017 is configured to control the charging path to operate in a bypass state to charge the second battery when the charging phase is determined to be a constant current charging phase or a constant voltage charging phase based on the voltage of the second battery.

[0077] The charging path 6022 has a simple impedance transformation function.

[0078] When the power of the charging device 601 is insufficient, i.e., the power of the first battery 6014 is insufficient, in order to charge the first battery 6014 by using the adapter 6018, an input end of the first DCDC charger 6012 is configured to connect to the adapter 6018, and a first end of the first DCDC charger 6012 is configured to connect to the first battery 6014. The first DCDC charger 6012 may convert the electric energy provided by the adapter 6018, and then provide the converted electric energy to the first battery 6014 to charge the first battery 6014.

[0079] In addition, the first battery 6014 may alternatively be charged by another wireless charging method to ensure sufficient power of the charging apparatus 601. When the charging apparatus 601 charges the electronic device 602, a first end of the first DCDC charger 6012 is configured to connect to the first battery 6014, and a second end of the first DCDC charger 6012 is configured to connect to an input end of the first DCDC charger 6017, so that the direct current output by the first DCDC charger 6012 after converting the electrical energy of the first battery 6014 is supplied to the input end of the second DCDC charger 6017. The output end of the second DCDC charger is connected to a charging terminal 6013, and the charging terminal 6013 is configured to connect to a receiving terminal 6023 of the electronic device 602. The receiving terminal 6023 is configured to connect to a first end of a charging path 6022, and a second end of the charging path 6022 is connected to the second battery 6024. The second DCDC charger 6017 is configured to convert electrical energy based on charging parameters of the second battery 6024 of the electronic device 602, so that the charging terminal 6013 outputs a charging voltage and a charging current corresponding to the charging parameters, the charging parameters being obtained based on the voltage information of the second battery 6024, and the charging parameters carrying the charging voltage and the charging current.

[0080] In the process of the charging apparatus 601 charging the electronic device 602, the charging terminal 6013 of the charging apparatus 601 is connected to the receiving terminal 6023 of the electronic device 602. Therefore, after the second DCDC charger 6017 transmits the charging voltage and charging current required by the second battery 6024 to the charging terminal 6013, the receiving terminal 6023 is configured to receive the charging voltage and charging current required by the second battery 6024 and transmitted by the charging terminal 6013.

[0081] A first end of the charging path 6022 is connected to the receiving terminal 6023, and a second end of the charging path 6022 is connected to the second battery 6024. After receiving the charging voltage and charging current transmitted by the charging terminal 6013, the receiving terminal 6023 may directly charge the second battery 6024.

[0082] In the process of charging the second battery 6024, the second controller 6021 is configured to control the charging path 6022 to operate in a bypass state when it determines, based on the voltage of the second battery 6024, that the charging phase is a constant-current charging phase or a constant-voltage charging phase. When the charging path 6022 operates in the bypass state, the bypass state means that the impedance of the charging path 6022 is minimized, so that the receiving terminal 6023 is directly connected to the second battery 6024 to directly charge the second battery 6024. For example, if the charging path includes a switching transistor, the bypass state corresponds to the maximum opening, i.e., full open state, of the switching transistor. When the charging path operates in the bypass state, the bypass state corresponds to a bypass charging mode.

[0083] Note that the output voltage sent by the charging terminal to the receiving terminal is consistent with the charging voltage of the second battery. Consistency does not mean that the output voltage is the same as the charging voltage of the second battery. In other words, the output voltage corresponds to the charging voltage of the second battery, but is not the same as the charging voltage. A voltage drop occurs because there are losses in the charging path. Generally, if the voltage drop is less than 150 mV, the output voltage sent to the receiving terminal is considered to be consistent with the charging voltage of the second battery. This specification explains that a voltage drop is unavoidable because there is impedance in the path. Generally, the voltage drop can be less than 150 mV. The multiple may be 2:1, 3:1, 4:1, etc., and the specific value depends on the switched-capacitor converter.

[0084] Vsys in Figure 6 represents a port in the headset that supplies power to the second controller 6021 by using the second battery 6024. Vsys in the following figures has the same meaning, and the details will not be described again.

[0085] 6, Vbat in the charging device 601 represents the port where the first DCDC charger is connected to the first battery, and Vbat in the electronic device 602 represents the port where the second battery is connected to the charging path. The meaning of Vbat in the charging device below is the same as the meaning of Vbat in the electronic device terminal, and the details will not be explained again.

[0086] Vsys in Fig. 6 represents a port in the headset that supplies power to the second controller 6021 by using the second battery 6024. Vsys in the following figures has the same meaning, and the details will not be described again. Similarly, Vbat on the charging device side in Fig. 6 represents a port through which the first DCDC charger 6012 is connected to the first battery 6014, and Vbat on the headset side represents a port through which the charging path is connected to the second battery. Vbat in the following figures has the same meaning, and the details will not be described again.

[0087] Compared with the charging system shown in FIG. 2, in the charging system provided in FIG. 6 in this embodiment of the present application, when the charging device of the charging system charges the electronic device, the charging device can obtain a charging voltage and a charging current based on the charging parameters of the second battery in the electronic device. Furthermore, the second DC-DC charger of the charging device can convert electrical energy based on the charging parameters and output a charging voltage and a charging current corresponding to the charging parameters to charge the second battery. Since the electronic device does not need to convert electrical energy again, the level 1 charger is saved and the power consumption caused by the electrical energy conversion performed by the charger is reduced. Therefore, according to the charging system provided in this embodiment of the present application, the power consumption generated in the electronic device can be reduced and the charging efficiency of the second battery can be improved.

[0088] The above embodiment describes the operation principle of the charging system. The following describes the operation procedure of the charging system in detail.

[0089] System embodiment 2 FIG. 7 is a schematic diagram of yet another charging system according to an embodiment of the present application.

[0090] The charging device 601 in the charging system further includes a first controller 6011 .

[0091] In different control policies, the first controller 6011 has different functions. The following describes two policies.

[0092] Policy 1: The charging parameters of the second battery 6024 are obtained by the second controller 6021.

[0093] The first controller 6011 is configured to receive charging parameters sent by the second controller 6021 of the electronic device and send the charging parameters to the second DCDC charger, where the charging parameters convey a charging voltage and a charging current corresponding to the second battery.

[0094] Specifically, after detecting the voltage information of the second battery 6024, the second controller 6021 may obtain charging parameters of the second battery 6024 based on the voltage information of the second battery 6024, and send the charging parameters to the first controller 6011.

[0095] The first controller 6011 is configured to receive the charging parameters transmitted by the electronic device 602 and transmit the charging parameters to the second DCDC charger 6017.

[0096] After the second DCDC charger 6017 receives the charging parameters, the second DCDC charger 6017 can convert the electrical energy according to the charging parameters, so that the charging terminal outputs an output voltage and an output current corresponding to the charging parameters. Therefore, the second DCDC charger 6017 can directly provide the charging voltage and charging current required by the second battery 6024 to the electronic device 602.

[0097] Policy 2: The charging parameters of the second battery 6024 are obtained by the first controller 6011.

[0098] The first controller 6011 is configured to receive voltage information of the second battery sent by the electronic device, obtain corresponding charging parameters based on the voltage information of the second battery, and send the charging parameters to the second DCDC charger, where the charging parameters carry a charging voltage and a charging current corresponding to the second battery.

[0099] Specifically, the first controller 6011 is configured to receive voltage information of the second battery 6024 sent by the electronic device 602, obtain corresponding charging parameters based on the voltage information of the second battery 6024, and send the charging parameters to the second DCDC charger 6017.

[0100] Similarly, the second DCDC charger 6017 may convert electrical energy after receiving the charging parameters to provide the electronic device 602 with the charging voltage and charging current required by the second battery 6024.

[0101] Both the first controller 6011 and the second controller 6021 described in the foregoing embodiments each have an I / O interface. When an emergency occurs, the charging process can be quickly interrupted by using the I / O interface. For ease of description, the I / O interface of the first controller 6011 and the I / O interface of the second controller 6021 will not be described in detail in the following embodiments.

[0102] For ease of explanation, the above policy 2 is used as an example to describe the operation procedure of the charging system.

[0103] For ease of understanding by those skilled in the art, the following describes the operation procedure of the charging system in two phases, including a preparation phase and a charging phase.

[0104] The second embodiment describes the preparation phase of the charging system, and the charging phase of the charging system is described in detail in the third embodiment below.

[0105] The following describes the preparation phase of the charging system.

[0106] FIG. 8 is a schematic diagram of a charging system in a preparation phase according to an embodiment of the present application.

[0107] The second DC-DC charger 6017 of the charging device 601 includes a DC-DC conversion circuit 801 and a first switch module S1. The DC-DC conversion circuit 801 is configured to adjust the output voltage based on the voltage comparison result and adjust the output current based on the current comparison result.

[0108] The input terminal of the DCDC conversion circuit 801 is the input terminal of the second DCDC charger 6017, the output terminal of the DCDC conversion circuit 801 is connected to the first terminal of the first switch module S1, the second terminal of the first switch module S1 is the output terminal of the second DCDC charger 6017, and the third terminal of the first switch module S1 is connected to the first communication interface UART of the first controller 6011.

[0109] The electronic device 602 further includes a third switch module S2.

[0110] A first end of the third switch module S2 is connected to the receiving terminal 6023, a second end of the third switch module S2 is connected to a first end of the charging path 6022, and a third end of the third switch module S2 is connected to the second communication interface UART of the second controller 6021.

[0111] It can be seen from the figure that the initial state of the first switch module S1 may be that the third terminal and the second terminal of the first switch module S1 are connected, i.e., the first communication interface UART and the charging terminal 6013 are connected, and the first switch module S1 operates in a communication mode. Alternatively, the initial state of the first switch module S1 may be that the first terminal and the second terminal of the first switch module S1 are connected, i.e., the output terminal of the DC-DC conversion circuit 801 and the charging terminal 6013 are connected, and the first switch module S1 operates in a charging mode.

[0112] Similarly, the initial state of the third switch module S2 may be that the first and second terminals of the third switch module S2 are connected, i.e., the first terminal of the charging path 6023 is connected to the receiving terminal 6023, and the third switch module S2 operates in a charging mode. Alternatively, the initial state of the third switch module S2 may be that the first and third terminals of the third switch module S2 are connected, i.e., the second communication interface UART is connected to the charging terminal 6023, and the third switch module S2 operates in a communication mode. Alternatively, the initial state of the third switch module S2 may be a high impedance state, i.e., neither the second terminal nor the third terminal of the third switch module S2 is connected to the first terminal of the third switch module S2.

[0113] In the preparation phase of the charging system, the operation process of the charging system changes depending on the initial state of the first switch module S1, and the operation process of the charging system changes depending on the initial state of the third switch module S2. In other words, the operation process of the charging system changes depending on the initial state of the first switch module S1 and the initial state of the third switch module S2.

[0114] For ease of understanding by those skilled in the art, the following will describe in detail the operation procedures of the charging system in two different cases.

[0115] In the first case, the initial state of the first switch module S1 is that the first terminal and the second terminal of the first switch module S1 are connected, and the initial state of the third switch module S2 is a high impedance state.

[0116] FIG. 9 is a schematic diagram of an initial state of a charging system according to an embodiment of the present application.

[0117] From the figure, it can be seen that in the charging device 601, the first switch module S1 operates in charging mode, the output terminal of the DC-DC conversion circuit 801 is connected to the charging terminal 6013 by using the first switch module S1, and the first communication interface UART of the first controller 6011 and the charging terminal 6013 are in a disconnected state, that is, the first terminal and the second terminal of the first switch module S1 are connected.

[0118] In the electronic device 602, the third switch module S2 is in a high impedance state, that is, the receiving terminal 6023 and the charging path are in a disconnected state, and the receiving terminal 6023 and the second controller 6021 are in a disconnected state.

[0119] The following uses the initial state shown in FIG. 9 as an example to describe the operation procedure of the charging system in detail.

[0120] FIG. 10 is an operational flowchart of the preparation phase of the charging system according to one embodiment of the present application.

[0121] The operation process of the preparation phase of the charging system includes the following steps.

[0122] Step 1001: Upon detecting that the electronic device is in place, the charging device outputs a preset voltage to the electronic device.

[0123] When an electronic device needs to be charged, it needs to be connected to a charging device. Figure 5 is used as an example. The charging device is a charging case 401, and the electronic device is an earphone 403. When the earphone 403 needs to be charged, the charging case 401 may be opened, and then the earphone 403 is placed into the charging case 401, so that the earphone 403 is charged.

[0124] After being opened, the charging case 401 may begin to detect whether the earphones 403 are placed in the charging case. The manner in which the charging case 401 detects whether the earphones are in place is not limited in this application, and whether the earphones are in place may be detected by using a Hall effect sensor or another optical sensor, or by another manner.

[0125] The first state machine can determine, based on a received handshake signal sent by the electronic device, that the electronic device is in a predetermined location and notify the first controller that the electronic device is in a predetermined location.

[0126] When the charging case 401 detects that the earphone 403 is in place, the charging case 401 outputs a voltage to the earphone 403 .

[0127] When the charging case 401 detects that the earphones 403 are not in place, the charging case 401 continues to detect whether the earphones 403 are in place. In some scenarios, the user simply opens the charging case 401 without putting the earphones 403 in the charging case 401, and then closes the charging case 401. After the charging case 401 is closed, when it detects that the earphones 403 are not in place, the charging case 401 no longer continues to detect whether the earphones 403 are in place. In this case, energy loss of the charging case is reduced.

[0128] In addition, in some scenarios, it may not be detected whether the electronic device is in place, i.e., the location detection module is no longer located in the charging device. When it is determined that the handshake between the charging device and the electronic device is successful, it can also be determined that the electronic device is in place. Compared to placing the location detection module in the charging device, not placing the location detection module in the charging device can reduce the size and cost of the charging device. However, placing the location detection module in the charging device can provide double assurance for detecting whether the electronic device is in place.

[0129] In the process of the charging device detecting that the electronic device is in place, the electronic device also detects whether the electronic device is in place, i.e., whether the electronic device is connected to the charging device. For example, when the electronic device detects that the charging device has stopped outputting voltage, the electronic device may know that the electronic device is in place.

[0130] After the charging device detects that the electronic device is in a predetermined position, the charging device outputs a preset voltage by default, for example, the preset voltage is 5 V. To meet the actual requirements of the charging process, those skilled in the art may alternatively set the preset voltage to another value, for example, 4 V or 6 V.

[0131] After the charging device outputs a preset voltage to the electronic device, the charging device waits to receive a handshake signal sent by the electronic device.

[0132] After detecting the preset voltage output by the charging device, the electronic device considers that the electronic device and the charging device are in a connected state.

[0133] 5, in some scenarios, a user may use the earphone 403 to listen to music. When the earphone 403 has insufficient power, the earphone 403 may be placed in the charging case 401, which is then closed to charge the earphone 403. In this case, the earphone 403 automatically enters a preset state. After the earphone 403 enters the preset state, the earphone 403 detects a preset voltage output by the charging case at every preset period.

[0134] Step 1002: The electronic device determines whether the second controller is in an active state, and performs step 1006 if the second controller is in an active state, or performs step 1003 if the second controller is in an inactive state.

[0135] When the electronic device is in a power-on state, it means that the second controller is in an active state, or when the electronic device is in a power-off state, it means that the second controller is in an inactive state.

[0136] When the second controller is in an active state, the second controller can obtain voltage information of the second battery to prepare for the next charging phase, and the electronic device can transmit the voltage information of the second battery to the charging device, so that the charging device obtains the charging current and charging voltage required by the electronic device to charge the electronic device based on the voltage information of the second battery.

[0137] When the second controller is in an inactive state, the electronic device cannot transmit the voltage information of the second battery to the charging device, so the charging device cannot know the charging voltage and charging current required by the electronic device and cannot charge the electronic device.

[0138] Therefore, after detecting the preset voltage output by the charging device, the electronic device needs to determine whether the second controller is in an active state.

[0139] Step 1003: When the electronic device detects that the output voltage of the charging apparatus meets the requirement, it activates the second controller.

[0140] FIG. 11 is a schematic diagram of yet another charging system in a preparation phase according to an embodiment of the present application.

[0141] In the charging system, based on FIG. 9, the second DCDC charger of the charging device 601 further includes a first state machine 804, a modem 802, and a control loop 803.

[0142] The control loop in this embodiment includes a voltage loop and a current loop, and the input parameters of the control loop 803 include Iou and Vout. Iout is the detected output current of the charging terminal, and Vout is the detected output voltage of the charging terminal. Vout is compared with the charging voltage, and the output voltage of the charging terminal is controlled to match the charging voltage based on the voltage comparison result, thereby implementing closed-loop control of the voltage loop. Iout is compared with the charging current, and the output current is controlled to match the charging current based on the current comparison result, thereby implementing closed-loop control of the current loop. Iout and Vout in the figures in the following embodiments are the same, and the details will not be described again.

[0143] The second DCDC charger 6017 of Figure 11 can be manufactured as a charger chip, that is, all components inside the second DCDC charger 6017 are integrated into one chip.Similarly, the second state machine 805, modulation module 806, charging path 6022 and third switch module S2 on the electronic device side of Figure 11 can also be integrated into one chip.The following is the same and will not be described hereinafter.

[0144] From the figure, it can be seen that the first controller 6011 in the charging apparatus 601 can communicate with the first state machine 804 by using an IIC interface. Similarly, the second controller 6021 in the electronic device 602 communicates with the second state machine 805 by using an IIC interface. The IIC interfaces in the following figures have the same meaning and will not be described herein.

[0145] The current I entering the demodulation module 802 in the figure carries information transmitted by the electronic device to the charging device. For example, the electronic device transmits a handshake signal to the charging device by modulating the current signal. In addition, I may also carry other information, such as the voltage information of the second battery and the charging parameters of the second battery.

[0146] Based on FIG. 9, the electronic device 602 further includes a second state machine 805 and a modulation module 806 .

[0147] From the figure, it can be seen that when the second controller 6021 is in an inactive state, the second state machine 805 may be connected to the charging device 601 by using the receiving terminal 6023 and the charging terminal 6013, in which case the second state machine may receive the output voltage of the charging device 601. The second state machine 805 may determine whether the output voltage meets the requirement. If it determines that the output voltage meets the requirement, the second state machine adjusts the third switch module S2. In this case, the third switch module S2 operates in a charging mode to pre-charge the electronic device 602 to activate the second controller 6021.

[0148] FIG. 12 is a schematic diagram of pre-charging an electronic device according to an embodiment of the present application.

[0149] When the electronic device is in a power-off state, after detecting that the output voltage of the charging device 601 meets the requirement, the second state machine 805 adjusts the third switch module S2 to operate in a charging mode to pre-charge the electronic device 602.

[0150] Step 1004: The electronic device determines whether the power of the second battery is normal, and if the electronic device determines that the power of the second battery is abnormal, performs step 1005, or if the electronic device determines that the power of the second battery is normal, performs step 1006.

[0151] Step 1005: The electronic device generates feedback information.

[0152] After the duration for which the charging device pre-charges the electronic device exceeds a preset period, the second state machine may determine whether the power of the second battery is normal, and if the power of the second battery is abnormal, generate feedback information, which is used to indicate that the second battery is abnormal. The second battery being abnormal may indicate that the battery is damaged.

[0153] After determining that the second battery is abnormal, the second state machine adjusts the third switch module S2, so that the third switch module S2 enters a high impedance state.

[0154] Step 1006: The electronic device sends a handshake signal to the charging device.

[0155] When the electronic device is in a power-on state, it sends a handshake signal to the charging device to prepare for the subsequent charging phase.

[0156] 13A and 13B are schematic diagrams of modulation of handshake signals according to one embodiment of the present application.

[0157] It can be seen from the figure that the modulation module 806 is configured to modulate the handshake signal. Specifically, the second state machine 805 controls the modulation module 806 to modulate the handshake signal, and then transmits the modulated handshake signal to the receiving terminal 6023. The receiving terminal 6023 is connected to the charging device 601 by using the charging terminal 6013, so that the electronic device 602 can transmit the handshake signal to the charging device 601 by using the receiving terminal 6023 and the charging terminal 6013.

[0158] The specific form of the handshake signal is not limited in this embodiment of the present application. The handshake signal may be a current pulse signal as shown in FIGS. 13A and 13B. In FIGS. 13A and 13B, the feature string including the current pulse signal is "110011," and the current pulse signal has 6 bits. In a specific embodiment, the current pulse signal may not have 6 bits, for example, it may have 5 bits or 7 bits. Those skilled in the art may select the specific number of bits of the current pulse signal based on actual requirements. In addition, parity bits or redundancy bits may be further added to the feature string to prevent misreading.

[0159] Step 1007: Upon determining that the handshake is successful, the charging device stops outputting voltage to the electronic device.

[0160] When the charging device does not receive the handshake signal sent by the electronic device, the charging device continues to output the predetermined voltage for a predetermined period of time, and when the charging device does not receive the handshake signal sent by the electronic device within the predetermined period of time, the charging device stops outputting the predetermined voltage, thereby reducing power loss in the charging system.

[0161] When the charging device receives the handshake signal sent by the electronic device, the charging device needs to determine whether the handshake is successful based on the handshake signal, and if the charging device determines that the handshake is successful, the charging device stops outputting voltage to the electronic device to prepare for the subsequent communication process.

[0162] 14A and 14B are schematic diagrams of demodulation of handshake signals according to an embodiment of the present application.

[0163] It can be seen from the figure that the demodulation module 802 in the figure is configured to demodulate a handshake signal. Specifically, the receiving terminal 6023 is connected to the charging device 601 by using the charging terminal 6013, so that the demodulation module 802 can receive the handshake signal sent by the electronic device 602 from the charging terminal 6013, demodulate the handshake signal after receiving the handshake signal, generate a demodulation result, and send the demodulation result to the first state machine 804.

[0164] The first state machine 804 and the second state machine 805 may preset a feature string corresponding to the handshake signal. For example, the feature string is set to "110011." After the electronic device 602 sends a handshake signal to the charging device 601 and the demodulation module 802 demodulates the handshake signal, if the obtained feature string is also "110011," the first state machine 804 determines that the handshake between the charging device 601 and the electronic device 602 is successful. If the obtained feature string is "111000," i.e., not "110011," the first state machine 804 determines that the handshake between the charging device 601 and the electronic device 602 has failed.

[0165] Therefore, the first state machine 804 can determine whether the handshake is successful based on the demodulation result generated by the demodulation module 802. If the handshake between the charging device and the electronic device fails, it is determined that the charging device is incompatible with the electronic device, and the charging system formed by the incompatible charging device and the electronic device does not enter the charging phase.

[0166] If the first state machine determines, based on the demodulation result, that the handshake is successful, the first state machine sends an interrupt signal to the first controller, and the terminal signal is used to notify the first controller that the handshake is successful.

[0167] After the first controller knows that the handshake between the charging device and the electronic device is successful, the first controller controls the second DCDC charger to stop outputting voltage to the electronic device in preparation for communication between the charging device and the electronic device.

[0168] FIG. 15 is a schematic diagram of a charging system after a successful handshake, according to an embodiment of the present application.

[0169] Because the output voltage of the second DCDC charger is high, the voltage of the capacitor (not shown) connected in parallel to the output port of the second DCDC charger is high. However, when the first controller 6011 operates, the voltage of the first controller 6011 is low. If the first switch module S1 is directly adjusted from the charging mode to the communication mode, the first controller 6011 will burn out.

[0170] Therefore, before the first switch module S1 connects the charging terminal 6013 to the first communication interface UART, the first state machine 804 disables the output of the DC-DC conversion circuit 801, and even if the first switch module S1 operates in the communication mode, it will not control the first switch module S1 to connect the charging terminal 6013 to the first communication interface UART until the voltage of the charging terminal 6013 is lower than the first preset threshold.

[0171] In this case, it can be seen from the figure that the first switch module S1 operates in communication mode.

[0172] After determining that the handshake between the charging apparatus 601 and the electronic device 602 is successful, the first controller 6011 needs to first control the second DCDC charger to stop outputting voltage, connect to ground by using the regulation module 806 in the electronic device 602, and discharge to ground in order to prepare for communication between the charging apparatus 601 and the electronic device 602, and then control the first switch module S1 to operate in communication mode when the voltage of the capacitor connected in parallel to the output port of the second DCDC charger is lower than a first preset threshold.

[0173] Step 1008: The electronic device sends voltage information of the second battery to the charging device. After the charging device stops outputting voltage to the electronic device, if the electronic device detects that the voltage at the receiving terminal is lower than the second preset threshold, the electronic device confirms that the handshake is successful and adjusts the third switch module to operate in communication mode.

[0174] FIG. 16A is a schematic diagram of a charging system in communication according to an embodiment of the present application.

[0175] It can be seen from the figure that the first switch module S1 operates in a communication mode and the second switch module S3 also operates in a communication mode, so that communication can be implemented between the charging device 601 and the electronic device 602. The following describes in detail the communication process between the charging device 601 and the electronic device 602 with reference to FIG. 16A .

[0176] After communication is established between the charging apparatus and the charging device, the second controller can obtain voltage information of the second battery based on the status information of the second battery, and send the voltage information of the second battery to the first controller by using the second communication interface, the receiving terminal, the charging terminal, and the first communication interface.

[0177] After receiving the voltage information of the second battery sent by the electronic device, the charging device may determine, based on the voltage information of the second battery, whether the power of the second battery is greater than a preset power threshold, and further determine whether to charge the electronic device.

[0178] If the power of the second battery is equal to or greater than the preset power threshold, it indicates that the standby time of the electronic device is long and the electronic device does not enter the charging phase, which reduces the number of times the electronic device is charged by the charging device.

[0179] If the current of the second battery is less than the preset power threshold, it indicates that the standby time of the electronic device is short and the electronic device is ready to enter the charging phase to charge the electronic device, which increases the standby time of the electronic device.

[0180] The preset power threshold is not limited in this application. The preset power threshold may be 85% of the total capacity of the second battery. Those skilled in the art may set the preset power threshold to another value, such as 90% or 95%, based on actual requirements.

[0181] Upon determining that the electronic device needs to be charged, the charging apparatus adjusts the operating modes of the first switch module and the third switch module in the electronic device to ensure that both the first switch module and the third switch module operate in a charging mode in a subsequent charging phase.

[0182] 12 is a schematic diagram of pre-charging an electronic device. In this step, the first switch module S1 and the third switch module S2 operate in the same manner when the charging device pre-charges the electronic device. The following describes the operation modes of the first switch module S1 and the third switch module S2 in this step in detail with reference to FIG. 12.

[0183] Specifically, when the charging device 601 charges the electronic device 602, the first state machine 804 controls the first switch module S1 to connect the charging terminal 6013 to the output terminal of the DCDC conversion circuit 801, and the second state machine 805 controls the third switch module S2 to connect the receiving terminal 6023 to the first end of the charging path 6022.

[0184] Step 1009: The charging device obtains charging parameters of the second battery based on the voltage information of the second battery, and outputs the charging voltage and charging current required by the second battery to the electronic device based on the charging parameters.

[0185] After the electronic device transmits the voltage information of the second battery to the charging apparatus, the first controller of the charging apparatus can receive the voltage information of the second battery.

[0186] After the charging device receives the voltage information of the second battery, the first controller can obtain charging parameters of the second battery based on the voltage information of the second battery.

[0187] After the first controller obtains the charging parameters of the second battery, the first controller sends the charging parameters to the first state machine, so that the first state machine outputs the charging voltage and charging current required by the second battery to the electronic device based on the charging parameters.

[0188] 12, the control loop 803 includes a voltage loop and a current loop. In the process of the charging device charging the electronic device, the control loop 803 is configured to perform closed-loop control on the charging voltage and charging current output by the DC-DC conversion circuit 801. For example, the first state machine is configured to control the DC-DC conversion circuit to perform electrical energy conversion based on the voltage comparison result and the current comparison result. The first state machine adjusts the output voltage and the output current based on the voltage comparison result and the current comparison result.

[0189] The above describes the operation procedure of the charging system including the charging device and the electronic device. Below, the operation procedures of the charging device and the electronic device will be described separately.

[0190] 16B-1, 16B-2, and 16B-3 are operation flowcharts of a charging apparatus and an electronic device according to an embodiment of the present application.

[0191] For ease of understanding by those skilled in the art, the following describes the operation procedures of the charging device and the electronic device by using an example in which the charging device is a charging case and the electronic device is a headset.

[0192] First, the operation process of the charging case will be described. When the charging case charges the headset, the operation process of the charging case includes the following steps:

[0193] Step 1101: Place the headset in the case.

[0194] If the headset needs to be charged, place it in the charging case.

[0195] Step 1102: Set S1 to the charging side by default, and output the preset voltage.

[0196] Step 1103: Determine whether there is a handshake signal; if there is a handshake signal, perform step 1104; if there is no handshake signal, perform step 1105.

[0197] Step 1104: Disable the output of the preset voltage, and set S1 to the communication side.

[0198] After detecting the handshake signal sent by the headset, the charging case disables the output of the preset voltage and sets S1 as the communication side.

[0199] Step 1105: Output a preset voltage for a fixed period of time.

[0200] If the handshake signal is still not received within a fixed period of time, charging is terminated.

[0201] Step 1106: Communicate and query battery information on the headset side.

[0202] Step 1107: Determine whether the battery is fully charged, and if the battery is fully charged, perform step 1108, or if the battery is not fully charged, perform step 1109.

[0203] When the charging case finds that the headset is fully charged, the charging case stops charging, or when the charging case finds that the headset is not fully charged, the charging case continues charging.

[0204] Step 1108: Charging is terminated.

[0205] Step 1109: Set S1 to the charging side.

[0206] Step 1110: Set the corresponding charging voltage and charging current according to the battery information.

[0207] Step 1111: Charging begins.

[0208] Step 1112: An interrupt command is received.

[0209] Step 1113: Switch the communication channel, then perform step 1104.

[0210] The following describes the operation process of the headset: In the process of the charging case charging the headset, the operation process of the headset includes the following steps:

[0211] Step 1201: Detect the input voltage for predetermined position detection.

[0212] Step 1202: Determine whether the headset is turned on, and if the headset is turned on, perform step 1206, or if the headset is not turned on, perform step 1203.

[0213] Step 1203: Set S2 to the charging side.

[0214] Step 1204: Activate and start the system.

[0215] When the headset is in a power-off state, the headset is pre-charged to activate and start up the headset system.

[0216] Step 1205: Determine whether the battery capacity is normal after a preset period of time; if the battery capacity is normal, perform step 1206; or if the battery capacity is abnormal, perform step 1207.

[0217] Step 1206: Send a handshake signal.

[0218] Step 1207: Report a battery failure.

[0219] Step 1208: Determine whether the input voltage is dropping, and if the input voltage is dropping, perform step 1211, or if the input voltage is not dropping, perform step 1209.

[0220] Step 1209: Set S2 to a high impedance state.

[0221] When the input voltage drops, it indicates that the handshake between the headset and the charging case is successful, i.e., the headset is compatible with the charging case. When the input voltage does not drop, it indicates that the handshake between the headset and the charging case is unsuccessful, i.e., the headset is not compatible with the charging case.

[0222] Step 1210: Report an unauthorized charging case.

[0223] Step 1211: S3 is set as the communication side.

[0224] Step 1212: Transfer headset battery information.

[0225] Step 1213: S2 is set to the charging side.

[0226] Step 1214: Charging begins.

[0227] Step 1215: Determine whether the battery is fully charged, and if the battery is fully charged, perform step 1217, or if the battery is not fully charged, perform step 1216.

[0228] Step 1216: Transfer the relevant adjustment signal, then perform step 1211.

[0229] Step 1217: A charging end signal is transmitted.

[0230] The above describes the charging device by using the charging case as an example only, and the electronic device by using the headset as an example. In the process of the charging case charging the headset, please refer to FIG. 10 and steps 1001 to 1009 for the interaction process between the charging case and the headset. Details will not be described again here. In the first case, the charging device communicates with the wearable setting in advance. The charging device can obtain voltage information of the second battery sent by the electronic device, and then the first controller can obtain charging parameters of the second battery based on the voltage information of the second battery. Furthermore, the first state machine can control the DC-DC conversion circuit to directly output, to the second battery, the charging voltage and charging current required by the second battery to charge the second battery based on the charging parameters.

[0231] The first case is described above, and the second case is explained below.

[0232] In the second case, the initial state of the first switch module S1 is that the third terminal and the second terminal of the first switch module S1 are connected, and the initial state of the third switch module S2 is that the first terminal and the third terminal of the third switch module S2 are connected.

[0233] In the second case, the initial state of the first switch module S1 and the initial state of the third switch module S2 of the charging system are both operating in the communication mode.

[0234] The following describes the operation process of the charging system in detail.

[0235] FIG. 17 is an operational flowchart of the preparation phase of yet another charging system according to an embodiment of the present application.

[0236] The operation process of the preparation phase of the charging system includes the following steps.

[0237] Step 1701: Upon detecting that the electronic device is in place, the charging device determines whether a communication request sent by the electronic device has been received, and performs step 1708 if the communication request sent by the electronic device has been received, or performs step 1702 if the communication request sent by the electronic device has not been received.

[0238] In step 1701, the specific process of the charging device detecting whether the electronic device is in place is similar to the process in step 1001, and the details will not be described again here.

[0239] When the charging device detects that the electronic device is in place, the third switch module S2 operates in a communication mode by default. When the charging device does not detect that the electronic device is in place, the third switch module S2 operates in a high impedance state by default. For the step of the charging device detecting whether the electronic device is in place, please refer to the above description. The details will not be described again here.

[0240] When the electronic device 602 is in a power-off state, the second controller 6021 is not activated, and furthermore, the second controller 6021 cannot communicate with the first controller 6011 by using the second communication interface UART, the receiving terminal 6023, the charging terminal 6013, and the first communication interface UART. Therefore, after detecting the output voltage of the receiving terminal 6023, the second state machine 805 first controls the third switch module S2 to operate in a charging mode to pre-charge the second battery 6024, so as to activate the second controller 6021.

[0241] FIG. 16A is a schematic diagram of yet another electronic device in an initial state.

[0242] 16A is in a power-on state, the second controller 6021 is in an active state. In this case, the third switch module S2 operates in a communication mode. Therefore, the second controller 6021 can communicate with the first controller 6011 by using the second communication interface UART, the receiving terminal 6023, the charging terminal 6013, and the first communication interface UART to implement communication between the charging device 601 and the electronic device 602.

[0243] Compared with the first case, in the second case, after the charging device 601 detects that the electronic device 602 is in a predetermined location, the electronic device 602 may first send a communication request to the charging device 601. After receiving the charging request, the charging device may determine that the charging device 601 is compatible with the electronic device 602, and the electronic device 602 does not need to send a handshake signal to the charging device 601 again.

[0244] Step 1702: The charging device outputs a preset voltage to the electronic device.

[0245] After the charging device detects that the electronic device is in a predetermined location, the electronic device actively transmits a communication request to the charging device. If the charging device does not receive the communication request transmitted by the electronic device, the charging device determines that the electronic device is in a power-off state. The power-off state is caused by insufficient power of the second battery in the electronic device, and when the electronic device is in a power-off state, the second controller in the electronic device is not activated.

[0246] If the second controller in the electronic device is not activated, the communication request cannot be sent. Therefore, the charging device needs to pre-charge the electronic device to activate the second controller so that the second controller can send the communication request to the first controller.

[0247] Step 1703: When the electronic device detects that the output voltage of the charging apparatus meets the requirement, it activates the second controller.

[0248] The initial state of the first switch module S1 is that the third terminal and the second terminal of the first switch module S1 are electrically connected, that is, the first switch module S1 operates in the communication mode.

[0249] To enable the charging device 601 to pre-charge the electronic device 602, the operation mode of the first switch module S1 needs to be adjusted to the charging mode.

[0250] Specifically, the first state machine 804 controls the first switch module S1 so that the first terminal and the second terminal of the first switch module S1 are connected, that is, controls the first switch module S1 so that it operates in a charging mode.

[0251] When the first switch module S1 operates in the charging mode, the output terminal of the DC-DC converter circuit 801 is connected to the charging terminal 6013, and the first state machine 804 controls the DC-DC converter circuit 801 to output a preset voltage to pre-charge the electronic device 602.

[0252] After pre-charging the electronic device 602 for a preset period of time, the charging apparatus 601 may activate the second controller 6021.

[0253] For the following steps 1004 to 1009, please refer to Figure 10. The details will not be described again here.

[0254] The above describes the operation procedure of the charging system including the charging device and the electronic device. Below, the operation procedures of the charging device and the electronic device will be described separately.

[0255] 18A and 18B are operational flowcharts of yet another charging apparatus and electronic device according to an embodiment of the present application.

[0256] For ease of understanding by those skilled in the art, the following describes the operation procedures of the charging device and the electronic device by using an example in which the charging device is a charging case and the electronic device is a headset.

[0257] First, the operation process of the charging case will be described. When the charging case charges the headset, the operation process of the charging case includes the following steps:

[0258] Step 1801: A predetermined position is detected.

[0259] Step 1802: Set S1 as the communication side by default.

[0260] Step 1803: Attempt communication, and if the communication is successful, perform step 1106, or if the communication is unsuccessful, perform step 1804.

[0261] The charging case will attempt to communicate with the headset.

[0262] Step 1804: Output a preset voltage.

[0263] Step 1805: Receive a handshake signal and report a communication command.

[0264] After receiving the handshake signal sent by the headset, the charging case notifies the first controller to prepare for communication with the second controller in the headset.

[0265] For steps 1106 to 1113, please refer to Figure 16B-1. The details will not be described again here. In step 1108, after charging is completed, the charging case sets S1 as the communication side by default.

[0266] The following describes the operation process of the headset: In the process of the charging case charging the headset, the operation process of the headset includes the following steps:

[0267] Step 1901: Put the headset into the case. Step 1902: Determine whether to turn on the headset, and if the headset is turned on, perform step 1903, or if the headset is not turned on, perform step 1904.

[0268] Step 1903: S2 is set as the communication side by default.

[0269] Step 1904: Set S2 to the charging side by default.

[0270] For steps 1205, 1207, and 1212 to 1217, please refer to Figure 10. The details will not be described again here.

[0271] Step 1908: A handshake signal is sent to set S2 as the communication side.

[0272] When the headset has enough power, the headset sends a handshake signal to the charging case to notify the charging case to communicate with the headset.

[0273] Compared with the first case, in the second case, the initial state of the first switch module is that the third end and the second end of the first switch module are connected, that is, when the first switch module operates in a communication mode, the electronic device may first send a communication request to the charging device by using the second controller, and after receiving the communication request, the first controller of the charging device may determine that the electronic device is compatible with the charging device, so that the electronic device does not need to send a handshake signal to the charging device again, thereby simplifying the operation process of the charging system.

[0274] System embodiment 3 The preparation phase of the charging system is described in the previous embodiment, and the charging phase of the charging system is described in this embodiment.

[0275] When the charging system is in a charging phase, the charging device charges the electronic device. The first state machine controls the first switch module to connect the charging terminal to the output terminal of the DC-DC converter circuit, and controls the DC-DC converter circuit to perform electrical energy conversion based on the charging parameters, so that the DC-DC converter circuit can directly output the charging voltage and charging current required by the second battery.

[0276] FIG. 19 is a schematic diagram of the charging phase of a charging system according to an embodiment of the present application.

[0277] From the figure, it can be seen that the charging phases of the charging system include a trickle charging phase, a constant current charging phase, a constant voltage charging phase, and a charge termination phase. During the trickle charging phase, the electronic device uses the LDO charging mode. During the constant current charging phase and the constant voltage charging phase, the electronic device uses the bypass charging mode.

[0278] This embodiment does not particularly limit the number of phases into which the constant current charging phase is divided, and the constant current charging phase may be divided into multiple phases, such as a CC1 phase, a CC2 phase, and a CC3 phase. CV in the figure indicates a constant voltage charging phase. CV1, CV2, and CV3 indicate voltage thresholds for distinguishing the CC1 phase, CC2 phase, and CC3 phase during the constant current charging phase.

[0279] In the trickle charge phase, the second battery is charged using the illustrated LDO charging mode. When the voltage of the second battery reaches the pre-charge threshold, the second state machine in the electronic device actively generates an INT interrupt by using the I / O interface, so that the electronic device communicates with the charging device and transfers the charging parameters of the second battery. In this case, the charging device charges the electronic device based on the charging parameters of the second battery. When the voltage of the second battery is below the pre-charge threshold, the charging phase corresponding to the second battery is the trickle charge phase. Therefore, only a small amount of communication is required between the electronic device and the charging device to complete the entire charging process.

[0280] In the figure, curve A represents the voltage of the second battery, and curve B represents the charging current of the second battery.

[0281] When the second battery has a different voltage, the second battery is in a different charging phase, and therefore, the charging phase of the second battery can be determined based on the voltage information of the second battery.

[0282] The second controller in the electronic device can obtain voltage information of the second battery and determine a charging phase for the second battery based on the voltage information of the second battery. The following will separately describe in detail the trickle charging phase, constant current charging phase, constant voltage charging phase, and charging termination phase.

[0283] From FIG. 19, it can be seen that when the voltage of the second battery of the electronic device is less than the pre-charge threshold, the charging apparatus can determine that the charging phase of the second battery during charging of the electronic device is the trickle charge phase.

[0284] The pre-charge threshold is not limited in this application. The pre-charge threshold may be 2.8 V or 3 V. Those skilled in the art may select an appropriate pre-charge threshold based on actual requirements.

[0285] 12, in the trickle charge phase, the charging apparatus 601 outputs a relatively small voltage to the electronic device 602 to maintain operation of the second controller 6021 of the electronic device 602. In this case, the second controller 6021 can adjust the impedance of the charging path to maintain charging of the second battery 6024 with a relatively small constant charging current in the trickle charge phase.

[0286] In the trickle charge phase, as the charging time increases, the power of the second battery 6024 increases, and the voltage of the second battery 6024 also increases. The second controller 6021 can detect the voltage of the second battery 6024 in real time or at preset intervals. When the second controller 6021 detects that the voltage of the second battery 6024 is equal to or greater than the pre-charge threshold, the charging phase of the second battery 6024 changes from the trickle charge phase to the constant current charging phase.

[0287] The second controller 6021 can detect the voltage information of the second battery and make an active interrupt so that the charging apparatus establishes a communication connection to the electronic device and further adjusts the charging voltage and charging current.

[0288] In the process of the constant current charging phase, the second controller 6021 can transfer information to the second state machine 805 by using the IIC interface, so that the second state machine 805 controls the modulation module 806 to send a pulse signal to the charging device, and the first state machine 804 controls the demodulation module 802 to send a demodulation result generated after the demodulation module 802 demodulates the pulse signal to the first controller 6011, so as to notify the first controller 6011 to prepare for communication with the second controller 6021. In this case, the first controller 6011 receives the voltage information of the second battery 6024 sent by the second controller 6021.

[0289] For the specific process of the second controller 6021 sending the voltage information of the second battery 6024 to the first controller 6011, please refer to embodiment 2. The details will not be described again here.

[0290] After receiving the voltage information of the second battery 6024 sent by the second controller, the first controller 6011 obtains charging parameters of the second battery 6024 based on the voltage information of the second battery 6024, and sends the charging parameters to the second DCDC charger. The second DCDC charger includes a DCDC conversion circuit 801. The DCDC conversion circuit 801 can output a charging voltage and a charging current required by the second battery 6024 to the charging terminal 6013 based on the charging parameters of the second battery 6024.

[0291] In another case, the second controller 6021 may obtain charging parameters of the second battery 6024 in advance based on voltage information of the second battery 6024 and send the charging parameters to the first controller 6011.

[0292] Differently from the voltage information of the second battery 6024 being sent by the second controller 6021 , the charging parameters of the second battery 6024 are obtained by the second controller 6021 rather than the first controller 6011 .

[0293] In order to enable the charging voltage and charging current output by the DCDC conversion circuit 801 to the charging terminal 6013 to be transmitted directly to the second battery 6024, the second controller 6021 controls the charging path 6022 to operate in a bypass state to charge the second battery 6024.

[0294] FIG. 20 is a schematic diagram of a charging path according to an embodiment of the present application.

[0295] From the figure, it can be seen that when the second controller 6021 controls the charging path 6022 to operate in a bypass state, the impedance of the charging path is minimized, so that the charging device 601 directly charges the second battery 6024 of the electronic device 602 by using the charging voltage and charging current output by the charging terminal 6013.

[0296] The specific implementation of the charging path is not limited in this application. The following provides a detailed description with reference to the accompanying drawings.

[0297] FIG. 21 is a schematic diagram of yet another charging path according to an embodiment of the present application.

[0298] The charging path includes a second switch module S3.

[0299] A first end of the second switch module S3 is a first end of the charging path 6022, and a second end of the second switch module S3 is a second end of the charging path 6022.

[0300] The impedance of the second switch module S3 is adjustable. When the second controller 6021 determines that the charging phase of the charging system is a constant current charging phase, the second controller 6021 adjusts the impedance of the second switch module S3 so that the impedance of the second switch module S3 is minimized and the first end of the charging path 6022 is almost directly connected to the second end of the charging path 6022. Therefore, the charging device 601 directly charges the second battery 6024 of the electronic device 602 by using the charging voltage and charging current output by the charging terminal 6013.

[0301] In actual circuit design, the second switch module may be implemented by using a plurality of controllable switching transistors.

[0302] FIG. 22 is a schematic diagram of a second switch module according to an embodiment of the present application.

[0303] The specific implementation of S3 is not particularly limited in this embodiment of the present application. S3 may be implemented by using one switching transistor or by using multiple switching transistors. For ease of understanding by those skilled in the art, the following uses two switching transistors as an example for explanation.

[0304] The second switch module S3 includes two MOS transistors connected in series.

[0305] As shown, the second switch module S3 includes a first MOS transistor Q1 and a second MOS transistor Q2, where the anti-parallel diode of Q1 and the anti-parallel diode of Q2 are oppositely connected. Q1 and Q2 are connected in series, with the first end of Q1 connected to the first end of the second switch module S3, the second end of Q1 connected to the first end of Q2, and the second end of Q2 connected to the second end of the second switch module S3.

[0306] When the second controller 6021 determines that the charging phase of the charging system is a constant current charging phase, it can minimize the impedance of the second switch module S3 by adjusting the states of Q1 and Q2, so that the charging apparatus 601 directly charges the second battery 6024 of the electronic device 602 by using the charging voltage and charging current output by the charging terminal 6013.

[0307] FIG. 23 is a schematic diagram of yet another second switch module according to an embodiment of the present application.

[0308] 22, the second switch module S3 further includes a third MOS transistor Q3 connected in parallel across the series-connected Q1 and Q2. A first terminal of the third MOS transistor Q3 is connected to a first terminal of the first MOS transistor Q1, and a second terminal of the third MOS transistor Q3 is connected to a second terminal of the second MOS transistor Q2.

[0309] When the second controller 6021 determines that the charging phase of the charging system is a constant current charging phase, the second controller 6021 does not need to adjust the states of Q1 and Q2, but controls Q3 to be on, thereby bypassing the series-connected Q1 and Q2. In this case, the impedance of the second switch module S3 is minimized, so that the charging apparatus 601 directly charges the second battery 6024 of the electronic device 602 by using the charging voltage and charging current output by the charging terminal 6013.

[0310] In addition, the electronic device 602 in the charging system shown in FIGS. 21-23 may further include a switched capacitor converter.

[0311] For ease of explanation, the example in which a switched capacitor converter is additionally arranged in the charging system shown in FIG. 21 will be used for explanation below.

[0312] FIG. 24A is a schematic diagram of yet another charging path according to an embodiment of the present application.

[0313] The charging path of the electronic device 602 further includes a switched capacitor converter 807 .

[0314] The switched capacitor converter 807 is connected in series with the second switch module S3.

[0315] The input terminal of the switched capacitor converter 807 is connected to the second terminal of the third switch module S2, and the output terminal of the switched capacitor converter 807 is connected to the first terminal of the second switch module S3.

[0316] However, in the actual process of charging the electronic device 602, the switched capacitor converter 807 can boost the voltage input to the switched capacitor converter 807 and then output the boosted voltage, so that voltage regulation can be implemented, the charging voltage of the second battery can be increased, and the charging efficiency of the second battery can be improved. The switched capacitor converters in subsequent embodiments can also perform the aforementioned functions, and details will not be described hereinafter.

[0317] Considering that in the actual charging process, due to the influence of the internal resistance of the second battery, the segmentation process is carried out again in the constant current charging phase based on the voltage of the second battery, the charging efficiency of the second battery is further improved.

[0318] In the present application, the specific number of segments into which the constant current charging phase is divided is not limited, and the constant current charging phase is divided into at least two segments. Those skilled in the art may select the specific number of segments based on actual requirements.

[0319] For ease of understanding by those skilled in the art, the following provides a detailed description by using an example in which a first segment, a second segment, and a third segment are divided.

[0320] In the constant current charging phase, as the charging time increases, the voltage of the second battery also increases, i.e., the voltage of the second battery changes. After the voltage of the second battery changes, the charging voltage and charging current output by the charging device can also change accordingly to ensure the charging efficiency of the second battery.

[0321] For example, a voltage of the second battery that is 4.1V or less corresponds to the first segment. During the first segment of the constant current charging phase, the charging device outputs 3C to charge the electronic device. A voltage of the second battery that is greater than 4.1V and less than or equal to 4.2V corresponds to the second segment. During the second segment of the constant current charging phase, the charging device outputs 2C to charge the electronic device. A voltage of the second battery that is greater than 4.2V and less than or equal to 4.3V corresponds to the third segment. During the third segment of the constant current charging phase, the charging device outputs 1C to charge the electronic device.

[0322] The charging voltage and charging current corresponding to the first segment, the second segment, and the third segment are not particularly limited in this application. The charging voltage and charging current may be obtained based on the voltage information of the second battery. Details will be described below.

[0323] When the charging apparatus charges the electronic device, a second controller within the electronic device can obtain the voltage of the second battery.

[0324] When the second controller detects that the voltage of the second battery is greater than 4.1V, it sends the corresponding voltage information of the second battery to the first controller, so that the charging device knows that the voltage of the second battery in the electronic device has changed. The first controller obtains charging parameters for the second battery based on the voltage information of the second battery and sends the charging parameters to the second DCDC charger, so that the second DCDC charger directly outputs the charging voltage and charging current required by the second battery. In this case, the charging efficiency of the second battery is improved.

[0325] Specifically, when the second controller needs to communicate with the first controller, the second controller may transfer information to the second state machine 805 by using the IIC interface, so that the second state machine 805 controls the modulation module 806 to send a pulse signal to the charging device, and the first state machine 804 controls the demodulation module 802 to send to the first controller 6011 a demodulation result generated after the demodulation module 802 demodulates the pulse signal, so as to notify the first controller to prepare for communication with the second controller.

[0326] Similarly, when the second controller detects that the voltage of the second battery is greater than 4.2V, the second controller sends the voltage information of the second battery corresponding to that moment to the first controller, so that the charging device outputs the charging voltage and charging current required by the second battery to the electronic device to charge the second battery.

[0327] In addition, the second controller may also detect voltage information of the second battery at predetermined intervals and transmit the detected voltage information to the charging device, so that the second DCDC charger outputs a charging voltage and a charging current required by the second battery, thereby enabling the charging device to efficiently charge the electronic device.

[0328] When the voltage of the second battery rises to the constant voltage charge threshold, the charging system enters the constant voltage charge phase.

[0329] The constant voltage charging threshold is not limited in the present application and may be any value between 4.15 V and 4.35 V. For example, the constant voltage charging threshold is 4.3 V.

[0330] In a practical charging process, the voltage of the second battery will not change at all during the constant voltage charging phase, i.e., the voltage of the second battery will also change. Similarly, the segmented process during the constant current charging phase can also be used during the constant voltage charging phase.

[0331] During the constant voltage charging phase, the second controller also needs to control the charging path to operate in a bypass state to minimize the impedance of the charging path, and in this case, the charging device directly charges the second battery of the electronic device by using the charging voltage and charging current output by the charging terminal.

[0332] 19, in the constant voltage charging phase, as the charging time increases, the charging current becomes smaller. If the charging current is lower than the charge termination threshold, the second controller determines that the second battery is close to full power, and the second controller can adjust the impedance of the charging path and then terminate charging by using a small current. When the second controller determines that the second battery is in a full power state, it can directly disconnect the charging device and terminate charging.

[0333] The switched capacitor converter described above is connected in series with the second switch module. In another case, the switched capacitor converter may alternatively be connected in parallel with the second switch module. The following description is provided with reference to FIG. 24B.

[0334] FIG. 24B is a schematic diagram of yet another charging path according to an embodiment of the present application.

[0335] From the figure, it can be seen that the charging path includes a switched capacitor converter 807, a safety switch S4, and a second switch module S3.

[0336] A first terminal of the switched capacitor converter 807 is connected to a second terminal of the third switch module S2, a second terminal of the switched capacitor converter 807 is connected to a second terminal of the second switch module S3, a first terminal of the safety switch S4 is connected to a first terminal of the switched capacitor converter 807, and a second terminal of the safety switch S4 is connected to a first terminal of the second switch module S3.

[0337] The safety switch S4 is turned off during the constant voltage charging phase or the constant current charging phase, so that the electric energy is directly charged to the second battery 6024 by using the switched capacitor converter 807. The second battery 6024 can supply power to the second controller 6021 by using S3. In another charging phase, the safety switch is controlled to be turned on. For example, in the trickle charging phase or the pre-charging phase, S4 is turned on, and the current passes through S4 and S3 to charge the second battery 6024.

[0338] The impedance of the second switch module S3 is adjustable so that the impedance of the charging path can be controlled in different charging phases.

[0339] The second controller 6021 obtains the corresponding charging phase based on the voltage information of the second battery. If the charging phase is a constant current charging phase or a constant voltage charging phase, it controls the second switch module S3 to be off and controls the switched capacitor converter 807 to operate in a bypass state so that the charging path operates in a bypass state. If the charging phase is a trickle charging phase, it controls the second switch module S3 to be on. In other words, the second controller 6021 controls the switched capacitor converter 807 and the second switch module S3 to operate in different states during different charging phases. In addition to improving the charging efficiency of the second battery 6024 during the constant voltage charging phase and the constant current charging phase, the charging efficiency of the second battery 6024 during the charging phase can also be improved.

[0340] System embodiment 4 In the charging system described in the previous embodiment, when the charging device communicates with the electronic device, the charging needs to be turned off. In the charging system described below, when the charging device communicates with the electronic device, the communication process can be performed without turning off the charging.

[0341] FIG. 25A is a schematic diagram of another charging system according to an embodiment of the present application.

[0342] The charging system includes a charging device 601 and an electronic device 602. A carrier communication module is disposed in each of the charging device 601 and the electronic device 602.

[0343] The charging apparatus 601 includes a first carrier communication module 2501 and the electronic device 602 includes a second communication module 2502 .

[0344] A first end of the first carrier communication module 2501 is connected to the SPI interface of the first controller 6011 , and a first end of the second carrier communication module 2502 is connected to the SPI interface of the second controller 6021 .

[0345] When the charging device 601 needs to communicate with the electronic device 602, the charging device 601 and the electronic device 602 can communicate with each other by using the first carrier communication module 2501 and the second carrier communication module 2502.

[0346] For example, the electronic device 602 communicates and receives voltage information of a second battery transmitted by the second carrier communication module 2502 .

[0347] FIG. 25B is a waveform diagram of a pulse signal according to an embodiment of the present application.

[0348] The specific shape of the waveform diagram of the pulse signal is not limited in this application. For ease of explanation, the following uses the waveform diagram of the pulse signal shown in Figure 25B as an illustrative example.

[0349] The waveform diagram is a waveform diagram of a pulse signal obtained after the second carrier communication module 2502 modulates the voltage information of the second battery. After the second carrier communication module 2502 transmits the modulated voltage information to the first carrier communication module 2501, the first carrier communication module can demodulate the waveform diagram of the pulse signal, and then the electronic device 602 can transfer the voltage information of the second battery to the charging device 601. In FIG. 25B, 5V is the reference voltage. If the voltage is greater than 5V, the characteristic string corresponding to the pulse signal is "1," and if the voltage is less than 5V, the characteristic string corresponding to the pulse signal is "0." Information is transmitted between the first carrier communication module 2501 and the second carrier communication module 2502 by transmitting a pulse signal corresponding to a predetermined characteristic string, and the characteristic string can be used to represent the voltage information of the second battery. In addition, the characteristic string may also represent other information, such as a handshake signal, charging parameters of the second battery, and control information.

[0350] To implement communication between the charging device 601 and the electronic device 602, the second controller 6021 transmits voltage information of the second battery 6024 to the first carrier communication module 2501 by using the second carrier communication module 2502, and the first controller 6011 receives the voltage information of the second battery 6024 by using the first carrier communication module 2501.

[0351] Furthermore, after obtaining the voltage information of the second battery 6024, the first controller 6011 can obtain the charging parameters of the second battery 6024 based on the voltage information of the second battery 6024, so that the second DCDC charger 6017 outputs the charging voltage and charging current required by the second battery 6024 based on the charging parameters.

[0352] In another type of communication, the second controller 6021 may alternatively obtain the charging parameters of the second battery 6024 in advance based on the voltage information of the second battery 6024, and then, to implement communication between the charging apparatus 601 and the electronic device 602, the second controller 6021 sends the charging parameters of the second battery 6024 to the first carrier communication module 2501 by using the second carrier communication module 2502, and the first controller 6011 receives the charging parameters of the second battery 6024 by using the first carrier communication module 2501.

[0353] Furthermore, the first controller 6011 can directly obtain the charging parameters of the second battery 6024, and the second DCDC charger 6017 outputs the charging voltage and charging current required by the second battery 6024 based on the charging parameters.

[0354] As the charging time increases, the power of the second battery 6024 changes, and also the voltage of the second battery 6024 changes. In order to enable the second DCDC charger 6017 to output the charging voltage and charging current required by the second battery 6024, the second controller 6021 may send the voltage information of the second battery 6024 or the charging parameters of the second battery 6024 to the first controller 6011 at every preset period by using the second carrier communication module 2502 and the first carrier communication module 2501. Even if the power of the second battery 6024 changes, the second DCDC charger 6017 can still output the charging voltage and charging current required by the second battery 6024.

[0355] For ease of understanding by those skilled in the art, the following describes the operation procedures of a charging device with a carrier communication module and an electronic device with a carrier communication module with reference to the accompanying drawings.

[0356] 25C-1 and 25C-2 are operation flowcharts of yet another charging apparatus and electronic device according to an embodiment of the present application.

[0357] For ease of understanding by those skilled in the art, the following describes the operation procedures of the charging device and the electronic device by using an example in which the charging device is a charging case and the electronic device is a headset.

[0358] First, the operation process of the charging case will be described. When the charging case charges the headset, the operation process of the charging case includes the following steps:

[0359] Step 2501: A predetermined position is detected.

[0360] Step 2502: A preset voltage is output.

[0361] Please refer to Figure 16B-1 for steps 1103, 1105, 1110, 1111, and 1113. The details will not be described again here.

[0362] Step 2504: Receive a signal.

[0363] After the handshake between the charging case and the headset is successful, the charging case can receive a signal sent by the headset, such as battery status information sent by the headset. The battery status information includes voltage information, life information, temperature information, etc. This is not limited in this embodiment of the present application.

[0364] Step 2512: Adjust charging parameters during communication.

[0365] The charging case can directly communicate with the headset by using the carrier communication module, so the charging process does not need to be turned off. When the charging case communicates with the headset, charging parameters such as charging voltage and charging current can also be adjusted.

[0366] The following describes the operation process of the headset: In the process of the charging case charging the headset, the operation process of the headset includes the following steps:

[0367] Please refer to Figure 16B-2 for steps 1201 to 1202. The details will not be described again here.

[0368] When the headset is in a powered off state, step 2603 is performed. When the headset is in a powered on state, step 2610 is performed.

[0369] Step 2603: Determine whether the input voltage meets the requirement, and if the input voltage meets the requirement, do 2605, or if the input voltage does not meet the requirement, do 2604.

[0370] Step 2604: The input switch remains off.

[0371] Step 2605: The input switch is turned on.

[0372] Continuing to refer to Figure 25A, the input switch may be Q4 in the figure. To charge the headset and activate the system, the input switch is turned on, i.e., Q4 is controlled to be in the on state.

[0373] Step 2606: Activate and start the system.

[0374] Step 2607: A handshake signal is transmitted.

[0375] Step 2608: The status information is transmitted.

[0376] Steps 2609 to 2613 are similar to steps 2605 to 2608, with the difference being that when the headset is in a power-on state, a handshake signal is first sent to the charging case, and then the input switch is turned on; when the headset is in a power-off state, the input switch is first turned on to pre-charge the headset, and then the handshake signal is sent.

[0377] Step 2612: Charging begins.

[0378] Step 2613: Adjust charging parameters during communication.

[0379] Step 2614: Charging is terminated.

[0380] In addition, the electronic device 602 and the charging device 601 can further transmit a handshake signal by using the carrier communication module to determine whether the charging device 601 is compatible with the electronic device 602 .

[0381] In an electronic device and a charging device having a carrier communication module, the handshake signals may alternatively be transmitted in the manners shown in Figures 13A and 13B and Figures 14A and 14B. Specifically, the modulation module 806 is located in the electronic device 602, and the demodulation module 802 is located in the charging device 601. For specific handshaking implementations, please refer to the above description. Details will not be described again here.

[0382] Therefore, when the charging device needs to communicate with the electronic device during charging, the charging device can communicate with the electronic device by using the carrier communication module, so that the second DC-DC charger does not need to be turned off, and the charging time of the charging device for the electronic device can be shortened and the charging process can be completed more quickly.

[0383] 25A, it can be seen that in the charging system, an impedance network 2503 is disposed in a first carrier communication module 2501, and an impedance network 2504 is disposed in a second carrier communication module 2502. Both impedance network 2503 and impedance network 2504 are configured to perform impedance matching.

[0384] A first end of the impedance network 2503 is connected to the output end of the second DC-DC charger 6017 , and a second end of the impedance network 2503 is connected to the charging terminal 6013 .

[0385] A first end of the impedance network 2504 is connected to the receiving terminal 6023, and a second end of the impedance network 2504 is connected to the fourth switching transistor Q4.

[0386] A first end of the fourth switching transistor Q4 is connected to a first end of the impedance network 2504, and a second end of the fourth switching transistor Q4 is connected to the second switch module S3. The implementation of the second switching transistor Q4 is not particularly limited in this embodiment of the present application. For example, the fourth switching transistor Q4 may be implemented by two MOS transistors, and the anti-parallel diodes of the two MOS transistors have opposite directions.

[0387] During the charging process of the charging device 601 for the electronic device 602, the second controller 6021 can adjust the state of the fourth switching transistor Q4 to adjust the charging voltage and charging current for the second battery 6024 to improve the charging efficiency of the second battery 6024. In addition, the fourth switching transistor Q4 can prevent leakage current from the electronic device to the charging device, thereby protecting the second battery. Alternatively, the second controller 6021 can adjust the impedance of the second switch module S3 and minimize the impedance of the second switch module S3 when it is determined that the corresponding charging phase is a constant-current charging phase or a constant-voltage charging phase based on the voltage of the second battery 6024.

[0388] Additionally, the charging path may further include a switched capacitor converter so that the voltage can be regulated.

[0389] FIG. 26 is a schematic diagram of yet another charging system according to an embodiment of the present application.

[0390] The charging path of the electronic device 602 further includes a switched capacitor converter 807 .

[0391] The switched capacitor converter 807 is connected in series with the second switch module S3.

[0392] The input terminal of the switched capacitor converter 807 is connected to the second terminal of the impedance network 2504, and the output terminal of the switched capacitor converter 807 is connected to the first terminal of the second switch module S3.

[0393] However, in the actual process of the charging device 601 charging the electronic device 602, the switched capacitor converter 807 may boost the voltage input to the switched capacitor converter 807 and then output the boosted voltage so that the voltage can be adjusted to charge the second battery 6024.

[0394] System embodiment 5 All the charging devices described in the above embodiments each include a first controller. The first controller communicates with the second controller in the electronic device and can also write programs to the electronic device to upgrade the electronic device. However, in some scenarios, if the electronic device does not need to upgrade its software by using the charging device, the first controller does not need to be installed in the charging device. The following describes a case in embodiment 5 where the first controller is not installed in the charging device.

[0395] 3 is a schematic diagram of a charging device and an electronic device, in which the charging device is a charging cradle and the electronic device is a smart band.

[0396] However, the smart band does not need to upgrade the software by using the charging cradle, so there is no need to place the controller in the charging cradle.

[0397] FIG. 27A is a schematic diagram of yet another charging system according to an embodiment of the present application.

[0398] The charging device 601 of the charging system includes a second DCDC charger 6017, which includes a first state machine 804 and a demodulation module 802.

[0399] The demodulation module 802 is configured to receive a handshake signal transmitted by the electronic device 602 from the charging terminal 6013, demodulate the handshake signal, and transmit the demodulation result to the first state machine 804.

[0400] The first state machine 804 can determine whether the handshake is successful based on the demodulation result. For the specific determination process, please refer to embodiment 2, Figures 13A and 13B, and Figures 14A and 14B. The details will not be described again here.

[0401] If it is determined based on the demodulation result that the handshake is successful, the first state machine 804 receives the charging parameters of the second battery 6024 transmitted by the electronic device 602. In another case, the first state machine 804 receives the voltage information of the second battery 6024 transmitted by the electronic device 602, and obtains the charging parameters of the second battery 6024 based on the voltage information of the second battery 6024.

[0402] After obtaining the charging parameters of the second battery 6024, the first state machine 804 can control the DCDC conversion circuit 801 to perform electrical energy conversion, so that the output terminal of the DCDC conversion circuit 801 outputs the charging voltage and charging current required by the second battery 6024.

[0403] The electronic device 602 includes a fourth switching transistor.

[0404] A second terminal of the fourth switching transistor Q4 is connected to a first terminal of the second switch module S3, and a second terminal of the second switch module S3 is configured to be connected to a second battery 6024.

[0405] For specific implementations of the fourth switching transistor Q4 and the second switch module S3, please refer to the description of the preceding embodiment, and the details will not be described again here.

[0406] For ease of understanding by those skilled in the art, the following uses the charging system shown in FIG. 27A as an example to describe the operation procedures of the charging apparatus and the electronic device in the charging system.

[0407] 27B-1 and 27B-2 are operation flowcharts of another charging apparatus and electronic device according to an embodiment of the present application.

[0408] For ease of understanding by those skilled in the art, an example in which the charging device is a charging cradle and the electronic device is a smart band is used for description below.

[0409] First, the operation process of the charging cradle will be described. In the process of the charging cradle charging the smart band, the operation process of the charging cradle includes the following steps:

[0410] Please refer to the explanations in the previous embodiment for step 2501, step 2502, step 1103, step 1105, step 2512, and step 1110 to step 1113. Only the differences from the previous embodiment will be explained here.

[0411] Step 2704: Receive a pulse signal. The feature string corresponding to the pulse signal may represent the charging parameters of the second battery. The smart band may transmit the charging parameters of the second battery to the charging cradle by using the pulse signal. The charging cradle may resolve the charging parameters based on the received pulse signal and output the charging voltage and charging current required by the battery of the smart band. The pulse signal will be described in detail below in Figures 29 and 30.

[0412] The following describes the operation process of the smart band: In the process of the charging cradle charging the smart band, the operation process of the smart band includes the following steps:

[0413] The operation process of the smart band is similar to the operation process of the headset described in the previous embodiment in Fig. 25C-1 and Fig. 25C-2. For the specific process, please refer to the description of the previous embodiment. The following only describes the differences.

[0414] After the handshake between the smart band and the charging cradle is successful, the smart band sends a pulse signal to the charging cradle, and the pulse signal can carry the charging parameters of the second battery.

[0415] Step 2808: Transmit a pulse signal.

[0416] Step 2810 is similar to step 2808.

[0417] After the smart band transmits the charging parameters of the second battery to the charging cradle, the charging cradle may start charging the smart band. In the subsequent charging process, the smart band continues to transmit the charging parameters of the second battery to the charging cradle in the form of a pulse signal, so that the charging cradle adjusts the charging voltage and charging current output to the smart band.

[0418] In addition, in the process of the charging apparatus 601 charging the electronic device 602, the second controller 6021 can adjust the state of the fourth switching transistor Q4 to adjust the charging voltage and charging current for the second battery 6024, so as to improve the charging efficiency of the second battery 6024. Similarly, the impedance of the second switch module S3 can also be adjusted. If it is determined that the corresponding charging phase is a constant current charging phase or a constant voltage charging phase based on the voltage of the second battery 6024, the impedance of the second switch module S3 is controlled to be minimized.

[0419] Additionally, the charging path may further include a switched capacitor converter so that the voltage can be regulated.

[0420] FIG. 28 is a schematic diagram of another charging system according to an embodiment of the present application.

[0421] Compared to the schematic diagram of the charging system shown in FIG. 27A, in the electronic device 602 of the charging system, a switched capacitor converter is used to replace the fourth switching transistor.

[0422] A first terminal of the switched capacitor converter 807 is configured to connect to the receiving terminal 6023, and a second terminal of the switched capacitor converter is configured to connect to a first terminal of the third switch module S2.

[0423] In the actual process of the charging device 601 charging the electronic device 602, the switched capacitor converter 807 can boost the voltage input to the switched capacitor converter 807 and then output the boosted voltage so that the voltage can be adjusted to charge the second battery 6024.

[0424] The above describes the operation principle of the charging system when the first controller is not located in the charging device. The following describes the communication process between the charging device and the wearable device.

[0425] When the charging device and the electronic device need to communicate with each other, the second state machine in the electronic device controls the modulation module 806 to generate a pulse signal and transmits information to the charging device by using a characteristic string corresponding to the pulse signal.

[0426] FIG. 29 is a waveform diagram of a pulse signal according to an embodiment of the present application.

[0427] As shown, Bit 0 indicates the first bit of the characteristic string, Bit 1 indicates the second bit of the characteristic string, and Bit n indicates the (n-1)th bit of the characteristic string.

[0428] The number of bits of the feature string is not limited in this application, and may be 6 bits or more bits, for example, 16 bits. For ease of explanation, the following uses an example in which the feature string includes 16 bits for explanation.

[0429] The specific format of the feature string is not limited in this application. Those skilled in the art may select the specific format of the feature string based on actual requirements. The following uses Figure 30 as an example for explanation.

[0430] FIG. 30 is a schematic diagram of the number of bits in a feature string according to an embodiment of the present application.

[0431] Bit0 and Bit1 indicate status bits. For example, when Bit0="1" and Bit1="1", the output voltage is indicated, and when Bit0="0" and Bit1="0", the output is disabled.

[0432] Bits 2 to 6 indicate the charging current. For example, when Bits 2 to 6 = "11111", the maximum charging current is indicated, and when Bits 2 to 6 = "00000", the minimum charging current is indicated.

[0433] Bits 7 to 11 indicate the charging voltage. For example, when Bits 7 to 11 = "11111", the maximum charging voltage is indicated, and when Bits 7 to 11 = "00000", the minimum charging voltage is indicated.

[0434] Bits 12 to 15 indicate redundant bits for preventing misreading and parity bits.

[0435] For example, after the electronic device transmits a pulse signal to the charging device, a demodulation module in the charging device demodulates the pulse signal to generate a demodulation result, the demodulation result includes a feature string corresponding to the pulse signal, the demodulation module transmits the demodulation result to a first state machine, and the first state machine obtains the feature string corresponding to the pulse signal based on the demodulation result.

[0436] If the characteristic string corresponding to the pulse signal is Bit0~15="11111111111101010", it can be seen from FIG. 30 that the charging apparatus needs to output the maximum charging voltage and maximum charging current to the electronic device to charge the second battery of the electronic device.

[0437] When the second controller within the electronic device detects that the power of the second battery is in a full power state, the second state machine notifies the charging device to disable voltage output and controls the modulation module to generate a pulse signal to indicate that the electronic device is fully charged.

[0438] Therefore, according to the charging system provided in this embodiment of the present application, since communication between the charging device and the electronic device does not depend on system communication, there is no need to place the first controller inside the charging device. In this case, the size of the charging device is reduced. If the first controller is not placed inside the charging device, the power consumption of the first battery inside the charging device can be reduced, thereby improving the endurance capacity of the electronic device.

[0439] The above embodiments describe a charging apparatus, an electronic device, and a charging system including the charging apparatus and the electronic device. The following describes a charging method.

[0440] Method embodiment 1 An embodiment of the present application provides a charging method, which is applied to a charging device.

[0441] For the charging device, please refer to the description in the previous embodiment. The charging device includes a first battery, a first DCDC charger, a second DCDC charger, and a charging terminal. The first DCDC charger is configured to charge the first battery after converting the DC power transmitted by the adapter, and is further configured to supply power to the second DCDC charger. The input terminal of the second DCDC charger is configured to receive the DC voltage output by the first DCDC charger, and the output terminal of the second DCDC charger is connected to the charging terminal, and the charging terminal is configured to be connected to the receiving terminal of the electronic device.

[0442] The charging method includes the following steps: receiving charging parameters transmitted by the electronic device, where the charging parameters are obtained based on voltage information of a second battery of the electronic device.

[0443] Obtaining a corresponding charging voltage and a corresponding charging current based on the charging parameters.

[0444] Detecting the output voltage and output current of the charging terminal.

[0445] A step of comparing the output voltage with a charging voltage, and controlling the output voltage of the charging terminal to match the charging voltage based on the voltage comparison result, and comparing the output current with the charging current, and controlling the output current to match the charging current based on the current comparison result.

[0446] Electronic devices.

[0447] According to the charging device provided in this embodiment of the present application, the charging device is internally improved so that the second DCDC charger in the charging device can directly charge the battery of the electronic device and directly provide the charging voltage and charging current required by the battery of the electronic device. Furthermore, the second DCDC charger directly charges the second battery of the electronic device after converting electrical energy based on the charging parameters of the second battery, thereby reducing the power consumption generated in the electronic device and improving the charging efficiency of the second battery.

[0448] Method embodiment 2 An embodiment of the present application provides another charging method, which is applied to an electronic device.

[0449] For the electronic device, please refer to the description in the previous embodiment. The electronic device includes a second battery, a second controller, a charging path, and a receiving terminal. The receiving terminal is configured to connect to a charging terminal of a charging device, and the receiving terminal is configured to receive a charging voltage and a charging current required by the second battery and transmitted by the charging terminal. Both the charging voltage and the charging current required by the second battery are related to the voltage of the second battery. A first end of the charging path is connected to the receiving terminal, and a second end of the charging path is connected to the second battery.

[0450] The charging method includes the following steps.

[0451] receiving an output voltage and an output current of the charging terminal, wherein the output voltage matches the charging voltage of the second battery and the output current matches the charging current of the second battery, and both the output voltage and the output current are obtained by the charging device based on the charging parameters transmitted by the electronic device.

[0452] Controlling the charging path to operate in a bypass state to charge the second battery when it is determined based on the voltage of the second battery that the charging phase is a constant current charging phase or a constant voltage charging phase.

[0453] The electronic device provided in this embodiment of the present application can communicate with the charging device and send the voltage information of the second battery to the charging device or send the charging parameters of the second battery to the charging device, so that the charging device directly outputs the charging voltage and charging current required by the second battery, which can reduce the power consumption generated in the electronic device and further improve the charging efficiency of the second battery.

[0454] It should be understood that in this application, "at least one (item)" refers to one or more, and "multiple" refers to two or more. Therefore, any simple modifications, equivalent variations, and changes made to the above embodiments in accordance with the technical characteristics of this application without departing from the content of the technical solution of this application shall fall within the protection scope of the technical solution of this application. [Explanation of symbols]

[0455] 101 Left earphone 102 Right earphone 103 Charging Case 201A First receiving terminal 201B Second receiving terminal 202A First charging terminal 202B Secondary Charging Terminal 301 Charging case charging terminal 302 Headset receiving terminal 401 Charging Case 402 Adapter 403 Earphones 601 Charging device 602 Electronic Devices 801 DC / DC conversion circuit 802 Demodulation Module, Modem 803 Control Loop 804 First State Machine 805 Second State Machine 806 Modulation Module, Adjustment Module 807 Switched Capacitor Converter 1031 First Controller 1032 First DCDC Charger 1033 First Battery 1034 First charging terminal 1035 First receiving terminal 1036 Second Controller 1037 Second Battery 1038 charger 2501 First Carrier Communication Module 2502 Second Carrier Communication Module 2503 Impedance Network 2504 Impedance Network 6011 First Controller 6012 First DCDC Charger 6013 Charging terminal 6014 First Battery 6017 Secondary DCDC Charger 6018 Adapter 6021 Second Controller 6022 Charging Route 6023 receiving terminal 6024 Second Battery Q1 First MOS transistor Q2 Second MOS transistor Q3 Third MOS transistor Q4 Fourth switching transistor S1 First Switch Module S2 Third Switch Module S3 Second Switch Module S4 safety switch

Claims

1. 1. An electronic device comprising: a second battery; a second controller; a charging path; a receiving terminal; a third switch module; and a second state machine, The receiving terminal is configured to connect to a charging terminal of a charging device, and the receiving terminal is configured to receive a charging voltage and a charging current output by the charging terminal, and the charging voltage is equal to or has a predetermined multiple relationship with a charging voltage of the second battery, and the charging voltage and the charging current; a first end of the charging path connected to the receiving terminal and a second end of the charging path connected to the second battery; The second controller Obtaining corresponding charging parameters based on the voltage information of the second battery, and sending the charging parameters to the charging device, so that the charging device obtains the charging voltage and the charging current based on the charging parameters; or Sending the voltage information of the second battery to the charging device, and the charging device obtains the corresponding charging parameters based on the voltage information of the second battery; It is configured as follows: the charging path includes a second switch module; a first end of the second switch module is used as the first end of the charging path, and a second end of the second switch module is used as the second end of the charging path; the impedance of the second switch module is adjustable; the second controller is configured to obtain a corresponding charging phase based on the voltage information of the second battery, and when the charging phase is a constant current charging phase or a constant voltage charging phase, control the impedance of the second switch module to be minimized; a first end of the third switch module is connected to the receiving terminal, a second end of the third switch module is connected to the first end of the charging path, and a third end of the third switch module is connected to a second communication interface of the second controller; the second state machine is configured to: control the third switch module to connect the receiving terminal to the second communication interface of the second controller when the second controller communicates with the charging device; and control the third switch module to connect the receiving terminal to the first end of the charging path when the charging device charges the second battery. Electronic devices.

2. 10. The electronic device of claim 1, wherein the second switch module comprises two MOS transistors, a first MOS transistor and a second MOS transistor, connected in series, and an anti-parallel diode of the first MOS transistor and an anti-parallel diode of the second MOS transistor have opposite directions.

3. the second switch module further comprises a third MOS transistor; the third MOS transistor is connected in parallel to both ends of the two MOS transistors connected in series; When the charging phase is the constant current charging phase, the second controller controls the third MOS transistor to be turned on.

3. The electronic device of claim 2.

4. the charging path further comprises a switched capacitor converter; the switched capacitor converter and the second switch module are connected in series; The switched capacitor converter is configured to boost a voltage input to the switched capacitor converter and then output the boosted voltage.

4. The electronic device according to claim 2 or 3.

5. a modulation module; The second state machine is configured to: control the modulation module to modulate a handshake signal and send the modulated handshake signal to the receiving terminal, so that the charging device receives the handshake signal and checks whether the handshake is successful; and, if it is determined that the handshake is successful, notify the second controller to communicate with the charging device, so that the second controller sends the voltage information or the charging parameters of the second battery to the charging device.

5. The electronic device according to claim 4.

6. Specifically, the second state machine confirms that the handshake is successful by: After the handshake signal is sent, if the voltage of the receiving terminal is lower than a second preset threshold, it is determined that the handshake is successful.

6. The electronic device according to claim 1 or 5.

7. Further comprising a carrier communication module; The second controller is configured to communicate with the charging device by using the carrier communication module and transmit the voltage information or the charging parameters of the second battery.

7. An electronic device according to any one of claims 1 to 6.

8. The electronic device is Bluetooth® headsets, bands, and watches 8. The electronic device according to claim 1, wherein the electronic device is any one of the following:

9. A charging device and an electronic device according to any one of claims 1 to 8, the charging device is configured to charge the electronic device; Charging systems for electronic devices.

10. 10. The charging system of claim 9, wherein there are two charging terminals of the charging apparatus and two receiving terminals of the electronic device.

Citation Information

Patent Citations

  • Charge control method, device and system

    CN108521839A

  • Novel wireless earphone charging box

    CN209088554U

  • Power supply with controller for switching numbers of capacitor banks

    JP1999346436A

  • Overvoltage transient controller

    JP2005278396A

  • Battery pack and its connection system

    JP2006302733A