Multiple-output charging circuit, charging cord, charging control method, and storage medium
By designing a multi-output charging circuit and employing a control module and a signal switching module, single-channel fast charging and dual-channel normal charging for Apple brand electronic devices were achieved, reducing hardware costs and solving the problem of not being able to charge multiple devices simultaneously in existing technologies.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-14
- Publication Date
- 2026-03-27
AI Technical Summary
Existing Apple brand electronic device charging cables cannot charge multiple devices simultaneously, and existing technical solutions are costly.
Design a multi-output charging circuit, including a control module, an authentication module, a power input module, a first signal switching module, a second signal switching module, and multiple output modules. By detecting the insertion and authentication of electronic devices, it can realize single-channel fast charging and dual-channel normal charging. It uses an electronic device authentication chip and an analog switch to reduce hardware costs.
It achieves single-channel fast charging and dual-channel normal charging functions, reducing product costs, and simplifies the hardware structure by detecting the insertion of electronic devices through the detection of IDO signals.
Smart Images

Figure CN115224762B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of charging cable technology, specifically to a multi-output charging circuit, a charging cable, a charging control method, and a storage medium. Background Technology
[0002] Currently, there are two main types of charging cables for Apple brand electronic devices (such as iPhones and iPads). One type is the Type-C to Lightning charging cable, which has only one input and one output channel, enabling data transfer and fast charging, but only one device can be charged at a time, making it unsuitable for charging multiple devices simultaneously. The other type is a dual-channel cable, which typically disables fast charging output or provides fast charging on a single channel, while charging both channels simultaneously is normal charging. Existing dual-channel solutions for Apple brand electronic devices require two Apple brand terminal certification chips due to the two Lightning outputs. Furthermore, to achieve fast charging output on a single channel, the main control circuit needs to include three CC signal lines, resulting in higher production costs. Summary of the Invention
[0003] The purpose of this application is to provide a multi-output charging circuit, charging cable, charging control method, and storage medium. To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general description, nor is it intended to identify key / important components or describe the scope of protection of these embodiments. Its sole purpose is to present some concepts in a simple form as a prelude to the detailed description that follows.
[0004] According to one aspect of the embodiments of this application, a multi-output charging circuit is provided, including a control module and an authentication module, a power input module, a first signal switching module, a second signal switching module, and a plurality of output modules respectively connected to the control module; each of the output modules is connected to the first signal switching module and the second signal switching module;
[0005] The power input module is used to receive electrical energy from the power supply equipment;
[0006] The output module is used to connect to a charging electronic device;
[0007] The authentication module is used to authenticate the charging electronic device and send an authentication success signal;
[0008] The control module is used to receive the authentication success signal and control the process of charging the charging electronic device using the electrical energy.
[0009] In some embodiments of this application, the power input module includes an interconnected Type-C interface circuit and a low-dropout linear regulator, the low-dropout linear regulator being connected to the control module.
[0010] In some embodiments of this application, the first signal switching module further includes a diode, the negative terminal of which is connected to the first signal switching module.
[0011] In some embodiments of this application, the D+ and D- pins of the output module are interconnected, the IDO pin is connected to the control module and the first signal switching module respectively, and the CC pin of the output module is connected to the second signal switching module.
[0012] In some embodiments of this application, the output module further includes a PMOS transistor, an NPN transistor, a first resistor, a second resistor, a third resistor, and a fourth resistor; the drain of the PMOS transistor is connected to the VBUS pin of the output module; one end of the first resistor is connected to the IDO pin of the output module, and the other end is grounded; one end of the fourth resistor is connected to the VBUS pin of the output module, and the other end is grounded; the emitter of the NPN transistor is grounded, and the collector is connected to the source of the PMOS transistor; one end of the second resistor is connected to the gate of the PMOS transistor, and the other end is connected to the source of the PMOS transistor; the first end of the third resistor is connected to the VBUS pin of the output module.
[0013] In some embodiments of this application, the output module further includes a diode, the negative terminal of which is connected to the second terminal of the third resistor.
[0014] In some embodiments of this application, the multi-output charging circuit further includes an NPN transistor and a fifth resistor; the authentication module is connected to the control module through the NPN transistor, the emitter of the NPN transistor is grounded, the base is connected to the authentication module, the collector is connected to the control module, the collector is connected to one end of the fifth resistor, and the other end of the fifth resistor is connected to the power supply.
[0015] According to another aspect of the embodiments of this application, a multi-output charging cable is provided, including the multi-output charging circuit described in any of the above claims.
[0016] According to another aspect of the embodiments of this application, a charging control method for an electronic device is provided, comprising:
[0017] When the power input module is connected to the charger, the control module reads the fast charging protocol of the charger;
[0018] When the control module detects that the output module is connected to the first electronic device, it controls the first signal switching module to turn on so that the electronic device is connected to the authentication module;
[0019] The authentication module authenticates the electronic device and sends an authentication success signal;
[0020] The control module receives the authentication success signal and controls the process of charging the electronic device using the electrical energy.
[0021] In some embodiments of this application, the process of controlling the charging of the electronic device using the electrical energy includes:
[0022] The control module controls the second signal switching module to turn on based on the authentication success signal, so that the electronic device is connected to the control module and fast charging is performed using the fast charging protocol.
[0023] In some embodiments of this application, the method is implemented using the multi-output charging circuit described in any of the preceding claims; the method further includes:
[0024] When the control module detects that the output module is connected to the second electronic device, it controls the first signal switching module to be turned on for a preset duration so as to use the electrical energy to charge the first electronic device and the second electronic device simultaneously.
[0025] According to another aspect of the embodiments of this application, a computer-readable storage medium is provided having a computer program stored thereon, which is executed by a processor to implement the method described in any of the preceding claims.
[0026] One aspect of the technical solution provided in this application embodiment may include the following beneficial effects:
[0027] The multi-output charging circuit provided in this application includes a control module and an authentication module, a power input module, a first signal switching module, a second signal switching module, and multiple output modules, all connected to the control module. Each output module is connected to a signal switching module. The power input module receives electrical energy from the power supply device, the output modules connect to the charging electronic device, the authentication module authenticates the electronic device and sends an authentication success signal, and the control module receives the authentication success signal and controls the charging process of the electronic device using electrical energy. This enables single-channel fast charging and dual-channel normal charging, and the product cost is low.
[0028] Other features and advantages of this application will be set forth in the following description and will be apparent in part from the description, or some features and advantages may be inferred from the description or determined without doubt, or may be learned by practicing embodiments of this application. Attached Figure Description
[0029] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0030] Figure 1 A structural block diagram of a multi-output charging circuit according to an embodiment of this application is shown;
[0031] Figure 2 A structural block diagram of a multi-output charging circuit according to another embodiment of this application is shown;
[0032] Figure 3 A circuit diagram of a multi-output charging circuit according to an embodiment of this application is shown;
[0033] Figure 4 A circuit diagram of the first output module in some embodiments of this application is shown;
[0034] Figure 5 A circuit diagram of the first signal switching module in some embodiments of this application is shown;
[0035] Figure 6 A circuit diagram of the second signal switching module in some embodiments of this application is shown.
[0036] The purpose, functional features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0037] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0038] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have a meaning consistent with their meaning in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as herein.
[0039] like Figure 1 As shown, one embodiment of this application provides a multi-output charging circuit, including a control module and an authentication module, a power input module, a first signal switching module, a second signal switching module, and a plurality of structurally identical output modules, all connected to the control module. Each output module is connected to the first signal switching module and the second signal switching module. The power input module is used to receive electrical energy from a power supply device. The output modules are used to connect to a charging electronic device. The authentication module is used to authenticate the charging electronic device and issue an authentication success signal. The control module is used to receive the authentication success signal and control the process of charging the charging electronic device using the electrical energy.
[0040] like Figure 1 As shown, there are a total of N output modules, where N is an integer and N≥2. Figure 2 The diagram shows a multi-output charging circuit implemented when N=2. The power supply device can be, for example, an adapter power supply or a computer.
[0041] In some implementations, the power input module includes interconnected Type-C interface circuitry and a low-dropout linear regulator, which is connected to the control module.
[0042] In some embodiments, the first signal switching module includes a chip and a diode, with the negative terminal of the diode connected to pin V of the chip; the second signal switching module includes a chip.
[0043] In some embodiments, the output module includes a lighting terminal, the D+ pin and D- pin of the lighting terminal are interconnected, the IDO pin of the lighting terminal is connected to the control module and the first signal switching module respectively, and the CC pin of the lighting terminal is connected to the second signal switching module.
[0044] In some embodiments, the output module further includes a PMOS transistor, an NPN transistor, a first resistor, a second resistor, a third resistor, a fourth resistor, and a diode; the drain of the PMOS transistor is connected to the VBUS pin of the lighting terminal; one end of the first resistor is connected to the IDO pin of the lighting terminal, and the other end is grounded; one end of the fourth resistor is connected to the VBUS pin of the lighting terminal, and the other end is grounded; the emitter of the NPN transistor is grounded, and the collector is connected to the source of the PMOS transistor; one end of the second resistor is connected to the gate of the PMOS transistor, and the other end is connected to the source of the PMOS transistor; one end of the third resistor is connected to the VBUS pin of the lighting terminal, and the other end is connected to the cathode of the diode.
[0045] In some implementations, the authentication module is connected to the control module via an NPN transistor. The emitter of the NPN transistor is grounded, the base is connected to the authentication module, the collector is connected to the control module, the collector is connected to one end of a fifth resistor, and the other end of the fifth resistor is connected to a power supply.
[0046] like Figure 3 The multi-output charging circuit shown is a specific example. The power input module is a power supply interface circuit, the control module is a controller chip, and the authentication module is an electronic device authentication chip. The authentication module authenticates the aforementioned electronic device and sends an authentication success signal. The procedure for implementing this authentication process is common knowledge in the art.
[0047] The first signal switching module includes U1 and diode D3. U1 is a chip, the negative terminal of diode D3 is connected to pin V of U1, and the positive terminal of D3 can be input with a 5V voltage.
[0048] The second signal switching module includes U2, which is a chip.
[0049] exist Figure 3 The Chinese side has two output modules with identical structures: the first output module and the second output module. The first output module includes a lighting terminal L1, a PMOS transistor Q1, an NPN transistor Q3, resistors R11, R12, R13, and R14, and a diode D1. The second output module includes a lighting terminal L2, a PMOS transistor Q2, an NPN transistor Q4, resistors R21, R22, R23, and R24, and a diode D2.
[0050] In the first output module, the D+ and D- pins of the lighting terminal L1 are interconnected. The ID0 pin of the lighting terminal L1 is connected to the controller chip and pin B0 of U1, respectively. The CC pin of the lighting terminal is connected to pin B0 of U2. The drain of PMOS transistor Q1 is connected to the VBUS pin of the lighting terminal L1. One end of resistor R11 is connected to the ID0 pin of the lighting terminal L1, and the other end is grounded. One end of resistor R14 is connected to the VBUS pin of the lighting terminal L1, and the other end is grounded. The emitter of NPN transistor Q3 is grounded, and the collector is connected to the source of PMOS transistor Q1. One end of resistor R12 is connected to the gate of PMOS transistor Q1, and the other end is connected to the source of PMOS transistor Q1. One end of resistor R13 is connected to the VBUS pin of the lighting terminal L1, and the other end is connected to the cathode of diode D1.
[0051] In the second output module, the D+ and D- pins of the lighting terminal L2 are interconnected. The ID0 pin of the lighting terminal L2 is connected to the controller chip and pin B1 of U1, respectively. The CC pin of the lighting terminal L2 is connected to pin B1 of U2. The drain of PMOS transistor Q2 is connected to the VBUS pin of the lighting terminal L2. One end of resistor R21 is connected to the ID0 pin of the lighting terminal L2, and the other end is grounded. One end of resistor R24 is connected to the VBUS pin of the lighting terminal L2, and the other end is grounded. The emitter of NPN transistor Q4 is grounded, and the collector is connected to the source of PMOS transistor Q2. One end of resistor R22 is connected to the gate of PMOS transistor Q2, and the other end is connected to the source of PMOS transistor Q2. One end of resistor R23 is connected to the VBUS pin of the lighting terminal L2, and the other end is connected to the cathode of diode D2.
[0052] The multi-output charging circuit provided in this application includes a control module and an authentication module, a power input module, a first signal switching module, a second signal switching module, and multiple output modules, all connected to the control module. Each output module is connected to a signal switching module. The power input module receives electrical energy from the power supply device, the output modules connect to the charging electronic device, the authentication module authenticates the electronic device and sends an authentication success signal, and the control module receives the authentication success signal and controls the charging process of the electronic device using electrical energy. This enables single-channel fast charging and dual-channel normal charging, and the product cost is low.
[0053] Another embodiment of this application provides a multi-output charging cable, including the multi-output charging circuit of any of the above embodiments. The multi-output charging cable provided in this embodiment can realize single-channel fast charging and dual-channel normal charging functions, and the product cost is low.
[0054] In addition, in some embodiments, the multi-output charging circuit of any of the above embodiments may further include a charging display circuit, and the corresponding multi-output charging cable may further include a display screen. The charging display circuit may include light-emitting diodes for displaying different colors or values on the display screen to indicate the charging status of the charging electronic device.
[0055] Another embodiment of this application provides a charging control method for an electronic device, implemented using a multi-output charging circuit of any of the above embodiments; the method includes:
[0056] S10. When the power input module is connected to the charger, the control module reads the fast charging protocol of the charger.
[0057] S20. When the control module detects that the output module is connected to the first electronic device, it controls the first signal switching module to turn on so that the electronic device is connected to the authentication module;
[0058] S30. The authentication module authenticates the electronic device and sends an authentication success signal.
[0059] S40. The control module receives the authentication success signal and controls the process of charging the electronic device using the electrical energy.
[0060] In some embodiments, the process of controlling the charging of the electronic device using the electrical energy includes:
[0061] The control module controls the second signal switching module to turn on based on the authentication success signal, so that the electronic device is connected to the control module and fast charging is performed using the fast charging protocol.
[0062] In some embodiments, the method further includes:
[0063] S50. When the control module detects that the output module is connected to the second electronic device, it controls the first signal switching module to be turned on for a preset duration so as to use the electrical energy to charge the first electronic device and the second electronic device simultaneously.
[0064] pass Figure 3 The charging control method for an electronic device implemented with the multi-output charging circuit shown in the example includes the following steps:
[0065] When the Type-C end of the data cable is plugged into the charger, the fast charging protocol of the charger is read through CC1. When only one electronic device is plugged in, the main control chip detects a low-level signal with an inverted amplified IDO signal, switches analog switch 1 to connect the electronic device's IDO signal to the electronic device authentication chip for authentication, and then turns on the power output by detecting the MOS_EN signal of the electronic device authentication chip. Then, it switches analog switch 2 to connect the electronic device's CC to the main control chip's CC2 for fast charging. When a second electronic device is plugged in, the main control chip detects the IDO signals of two electronic devices, resets the charger, and switches the output to a 5V normal power output. Analog switch 1 is set to switch once every preset interval (e.g., 500ms, 600ms, or 700ms) to enable one electronic device authentication chip to respond to the IDO signals of two electronic devices. The main control chip turns on the corresponding PMOS output of the charging circuit according to the MOS_EN signal and the current state of analog switch 1 to enable simultaneous charging of two electronic devices. Specifically, when MOS_EN is high, if the control pin of analog switch 1 is low, the electronic device authentication chip is currently connected to L1, and the PMOS output of L1 is turned on; if the control pin of analog switch 1 is high, the electronic device authentication chip is currently connected to L2, and the PMOS output of L2 is turned on; when MOS_EN is low, the PMOS output of the charging interface connected to the electronic device authentication chip is turned off accordingly.
[0066] In the technical solution of this application embodiment, the insertion of two electronic devices is detected by detecting the IDO signal in the two Lightning output interfaces. An electronic device authentication chip and an analog switch are used to authenticate the two Apple devices, which reduces the hardware production cost of the cable. Furthermore, for the single-channel fast charging function, the controller chip used in this application embodiment has only two CC output ports. By using an analog switch to switch the connection object of the CC signal, the functions of single-channel fast charging and dual-channel normal charging are achieved at a lower cost.
[0067] Another embodiment of this application provides a computer-readable storage medium storing a computer program thereon, which is executed by a processor to implement the electronic device charging control method of any of the above embodiments. Examples of computer-readable storage media may include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory, or other optical or magnetic storage media, which will not be described in detail here.
[0068] The computer-readable storage medium provided in the above embodiments of this application and the method provided in the embodiments of this application are based on the same inventive concept and have the same beneficial effects as the methods adopted, run or implemented by the applications stored therein.
[0069] It should be noted that:
[0070] It is understood that the terms "first," "second," "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance. It should also be understood that although the terms "first," "second," "third," etc., are used in the text to describe various objects in some embodiments of this application, these objects should not be limited by these terms. These terms are only used to distinguish various objects.
[0071] The embodiments described above merely illustrate the implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. A multiple output charging circuit, characterized by, The multi-output charging circuit comprises a control module, an authentication module, a power input module, a first signal switching module, a second signal switching module and a plurality of output modules connected to the control module respectively; each of the output modules is connected to the first signal switching module and the second signal switching module; The power input module is configured to receive power of a power supply device. The output module is configured to connect to a charging electronic device. The authentication module is configured to authenticate the charging electronic device and send an authentication success signal. The control module is configured to receive the authentication success signal and control a charging process of the charging electronic device by using the power. The D+ pin and the D- pin of the output module are connected to each other, the ID0 pin of the output module is connected to the control module and the first signal switching module respectively, and the CC pin of the output module is connected to the second signal switching module.
2. The multiple output charging circuit of claim 1, wherein, The power input module comprises a Type-C interface circuit and a low-dropout linear regulator connected to each other, and the low-dropout linear regulator is connected to the control module.
3. The multiple output charging circuit of claim 1, wherein, The first signal switching module further comprises a diode, and the negative electrode of the diode is connected to the first signal switching module.
4. The multiple output charging circuit of claim 1, wherein, The output module further comprises a PMOS tube, an NPN triode, a first resistor, a second resistor, a third resistor and a fourth resistor; the drain of the PMOS tube is connected to the VBUS pin of the output module; one end of the first resistor is connected to the ID0 pin of the output module, and the other end is grounded; one end of the fourth resistor is connected to the VBUS pin of the output module, and the other end is grounded; the emitter of the NPN triode is grounded, and the collector is connected to the source of the PMOS tube; one end of the second resistor is connected to the gate of the PMOS tube, and the other end is connected to the source of the PMOS tube; the first end of the third resistor is connected to the VBUS pin of the output module.
5. The multiple output charging circuit of claim 4, wherein, The output module further comprises a diode, and the negative electrode of the diode is connected to the second end of the third resistor.
6. The multiple output charging circuit of claim 1, wherein, The multi-output charging circuit further comprises an NPN triode and a fifth resistor; the authentication module is connected to the control module through the NPN triode, the emitter of the NPN triode is grounded, the base is connected to the authentication module, and the collector is connected to the control module; the collector is connected to one end of the fifth resistor, and the other end of the fifth resistor is connected to a power supply.
7. A multi-output charging cord, comprising: The multi-output charging circuit comprises any one of claims 1-6.
8. An electronic device charging control method, characterized by, The method is applied to the multi-output charging circuit of any one of claims 1-6, and the method comprises: When the power input module is connected to a charger, the control module reads a fast charging protocol of the charger; When the control module detects that the output module is connected to a first electronic device, the control module controls the first signal switching module to be turned on so that the electronic device is connected to the authentication module; The authentication module authenticates the electronic device and sends an authentication success signal; The control module receives the authentication success signal and controls a charging process of the electronic device by using the power.
9. The method of claim 8, wherein, The control utilizes the electric energy to charge the electronic device, and the process comprises: The control module controls the second signal switching module to be turned on according to the authentication success signal as a signal of authentication passing, so that the electronic device is connected with the control module to perform fast charging protocol fast charging.
10. The method of claim 9, wherein, The method further comprises: When the control module detects that the output module is connected to a second electronic device, the control module controls the first signal switching module to be turned on for a preset time length, so as to simultaneously charge the first electronic device and the second electronic device by using the electric energy.
11. A computer readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the method in any one of claims 8-10.
Citation Information
Patent Citations
Circuit and method for controlling multiple USB ports based on single fast-charging protocol chip
CN109462266A