Charging circuit and charging method capable of switching between TYPE C port charging and TYPE A port or C port charging

By designing a switchable charging circuit, the automatic switching output of TYPE C PD/PPS and TYPE A/C is realized by using the control module and the detection module, the problems of complex lines and high standby power consumption in the existing technology are solved, and the scope of application is realized expansion and energy efficiency improvement.

CN108054818BActive Publication Date: 2024-11-12SHENZHEN HONGXI TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN201810097446.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-01-31
Publication Date
2024-11-12
Estimated Expiration
2038-01-31

AI Technical Summary

Technical Problem

The existing TYPE C PD/PPS chargers have complex circuits and high standby power consumption. They cannot automatically switch TYPE C PD/PPS and TYPE A/C (including QC) outputs, resulting in a narrow range of applications.

Method used

Design a switchable charging circuit, including a control module, TYPE C port and TYPE A port equipment access detection module, output sampling module, peak current sampling module, TYPE C charging switch module and TYPE A charging switch module, through the control chip Implement automatic switching outputs of TYPE C PD/PPS and TYPE A/C.

Benefits of technology

It realizes automatic switching output of TYPE C PD/PPS and TYPE A/C, with small size, low standby power and high output efficiency, meeting the EU's sixth-level energy efficiency needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108054818B_ABST
    Figure CN108054818B_ABST
Patent Text Reader

Abstract

The present invention discloses a charging circuit and a charging method capable of switching between TYPE C port charging and TYPE A port or C port charging, wherein the circuit comprises a control module, a TYPE C port device access detection module, a TYPE A port device access detection module, an output sampling module, a peak current sampling module, a TYPE C charging switch module, and a TYPE A charging switch module, wherein the power input module is connected to the control module, the output sampling module, the peak current sampling module, the TYPE C charging switch module, and the TYPE A charging switch module, and the control module is also connected to the TYPE C port device access detection module, the TYPE A port device access detection module, the output sampling module, the peak current sampling module, the TYPE C charging switch module, and the TYPE A charging switch module. The present invention realizes automatic switching output of TYPE C PD / PPS and TYPE A / C (including QC), and is small in size and convenient to carry, has extremely low standby power, and has high output efficiency, and can meet the EU Level VI energy efficiency requirements.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of charging, and in particular to a charging circuit and a charging method capable of switching between TYPE C port charging and TYPE A port or C port charging. Background Art

[0002] At present, with the trend of promoting energy conservation and emission reduction worldwide and further unifying charger specifications, optimizing TYPEC PD / PPS charging has become an urgent need. The major improvement of the USB TYPE C interface is that the interface can be designed to support multiple voltages, that is, an adapter can automatically identify the terminal product and give the corresponding voltage required by the device. At the same time, in order to be compatible with the original requirements of the original TYPE A interface and the TYPE C interface without PD function, the adapter product needs to be improved. The current multi-USB output power adapter with TYPE C PD / PPS function on the market has the following disadvantages: 1. Complex circuit; 2. High standby power consumption; 3. Unable to automatically switch output between TYPE C PD / PPS and TYPE A / C (including QC), resulting in a narrow application range of the power adapter.

[0003] Therefore the prior art still needs to be improved and enhanced. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, an object of the present invention is to provide a charging circuit and a charging method capable of switching between TYPE C port charging and TYPE A port or C port charging, which can realize automatic switching output between TYPE C PD / PPS and TYPE A / C (including QC).

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] A charging circuit capable of switching between TYPE C port charging and TYPE A port or C port charging, the control module comprising a control chip and a first capacitor, the VDD terminal of the control chip being grounded through the first capacitor, the VSS terminal of the control chip being grounded, the VCC terminal of the control chip being connected to a power input module, the CATH terminal, the VFB terminal and the IFB terminal of the control chip being connected to the output sampling module, the IS+ terminal and the IS- terminal of the control chip being connected to the peak current sampling module, the G / B terminal and the C / C terminal of the control chip being connected to the TYPE A charging switch module, the Gate terminal and the G / D terminal of the control chip being connected to the TYPE C charging switch module, the D+ terminal and the D- terminal of the control chip being connected to the TYPE A port device access detection module, and the CC1 terminal and the CC2 terminal of the control chip being connected to the TYPE C port device access detection module.

[0007] In the charging circuit that can switch between TYPE C port charging and TYPE A port or C port charging, the control module includes a control chip and a first capacitor, the VDD end of the control chip is grounded through the first capacitor, the VSS end of the control chip is grounded, the VCC end of the control chip is connected to the power input module, the CATH end, the VFB end and the IFB end of the control chip are connected to the output sampling module, the IS+ end and the IS- end of the control chip are connected to the peak current sampling module, the G / B end and the C / C end of the control chip are connected to the TYPE A charging switch module, the Gate end and the G / D end of the control chip are connected to the TYPE C charging switch module, the D+ end and the D- end of the control chip are connected to the TYPE A port device access detection module, and the CC1 end and the CC2 end of the control chip are connected to the TYPE C port device access detection module.

[0008] In the charging circuit that can switch between TYPE C port charging and TYPE A port or C port charging, the TYPE C port device access detection module includes a first resistor, a second resistor, a second capacitor, a third capacitor, a first diode and a second diode, one end of the first resistor is connected to the CC2 end of the control chip, the other end of the first resistor is connected to the CC1 pin of the TYPE C port and the cathode of the first diode, and is also grounded through the second capacitor, the anode of the first diode is grounded, one end of the second resistor is connected to the CC1 end of the control chip, the other end of the second resistor is connected to the CC2 pin of the TYPE C port and the cathode of the second diode, and is also grounded through the third capacitor, and the anode of the second diode is grounded.

[0009] In the charging circuit that can switch between TYPE C port charging and TYPE A port or C port charging, the TYPE A port device access detection module includes a third resistor, a fourth resistor, a fourth capacitor, a fifth capacitor, a third diode and a fourth diode, one end of the third resistor and one end of the fourth capacitor are connected to the D+ end of the control chip, the other end of the third resistor is connected to the second pin of the TYPE A port and the negative electrode of the fourth diode, the positive electrode of the fourth diode is grounded, the other end of the fourth capacitor is grounded, one end of the fourth resistor and one end of the fifth capacitor are connected to the D- end of the control chip, the other end of the fourth resistor is grounded, the other end of the fifth capacitor is connected to the third pin of the TYPE A port and the negative electrode of the third diode, and the positive electrode of the third diode is grounded.

[0010] In the charging circuit that can switch between TYPE C port charging and TYPE A port or C port charging, the output sampling module includes a fifth diode, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a sixth capacitor, a seventh capacitor and an eighth capacitor. The positive electrode of the fifth diode is connected to one end of the fifth resistor and is also connected to the power input module through the eighth resistor. The negative electrode of the fifth diode is connected to the CATH end of the control chip, the other end of the fifth resistor, one end of the sixth capacitor, one end of the seventh capacitor and one end of the eighth capacitor. The other end of the sixth capacitor is connected to the VFB end of the control chip through the sixth resistor, the other end of the seventh capacitor is connected to the IFB end of the control chip, and the other end of the eighth capacitor is connected to the IFB end of the control chip through the seventh resistor.

[0011] In the charging circuit that can switch between TYPE C port charging and TYPE A port or C port charging, the peak current sampling module includes a ninth resistor, a tenth resistor and a ninth capacitor, one end of the ninth resistor and one end of the ninth capacitor are connected to the power input module and the IS- end of the control chip, the other end of the ninth resistor is connected to one end of the tenth resistor and the ground end, and the other end of the tenth resistor is connected to the other end of the ninth capacitor and the IS+ end of the control chip.

[0012] In the charging circuit capable of switching between TYPE C port charging and TYPE A port or C port charging, the TYPE C charging switch module includes a first MOS tube, a second MOS tube, a tenth capacitor, an eleventh capacitor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor and a sixth diode, the drain of the first MOS tube is connected to the power input module, the gate of the first MOS tube is connected to one end of the tenth capacitor, one end of the eleventh resistor, the gate of the second MOS tube, the negative electrode of the sixth diode and one end of the twelfth resistor, the source of the first MOS tube is connected to the other end of the tenth capacitor, the other end of the eleventh resistor and the source of the second MOS tube, the drain of the second MOS tube is connected to the positive electrode of the charging power output end, one end of the eleventh capacitor and one end of the thirteenth resistor, the other end of the eleventh capacitor is connected to the ground end and the negative electrode of the charging power output end, the other end of the thirteenth resistor is connected to the G / D end of the control chip, the positive electrode of the sixth diode is connected to the Gate end of the control chip through the fourteenth resistor, and the other end of the twelfth resistor is connected to the Gate end of the control chip.

[0013] In the charging circuit that can switch between TYPE C port charging and TYPE A port or C port charging, the TYPE A charging switch module includes a twelfth capacitor, a fifteenth resistor, a sixteenth resistor, a third MOS tube and a TYPE A port, the source of the third MOS tube is connected to the power input module, one end of the twelfth capacitor and one end of the fifteenth resistor, the gate of the third MOS tube is connected to the other end of the twelfth capacitor, the other end of the fifteenth resistor and the G / B end of the control chip, the drain of the third MOS tube is connected to the first pin of the TYPE A port and is also connected to the G / C end of the control chip through the sixteenth resistor, the second pin of the TYPE A port is connected to the other end of the fifth capacitor, the third pin of the TYPE A port is connected to the other end of the third resistor, and the fourth pin of the TYPE A port is grounded.

[0014] In the charging circuit capable of switching between TYPE C port charging and TYPE A port or C port charging, the model of the control chip is WT6632F or WT6615F.

[0015] A charging method capable of switching between TYPE C port charging and TYPE A port or C port charging, comprising the following steps:

[0016] The control chip collects the voltage output by the power input module through the output sampling module, and controls the output voltage to 5V before outputting the voltage to the TYPE A port;

[0017] The control chip detects whether there is a device connected to the TYPE C port through the TYPE C port device access detection module. If there is a device, the third MOS tube is controlled to be disconnected, and the second MOS tube is controlled to be turned on. Then, the power input module outputs a 5V voltage to the TYPE C port to charge the device.

[0018] Compared with the prior art, the present invention provides a charging circuit and a charging method that can switch between TYPE C port charging and TYPE A port or C port charging, wherein the circuit includes a control module, a TYPE C port device access detection module, a TYPE A port device access detection module, an output sampling module, a peak current sampling module, a TYPE C charging switch module, and a TYPE A charging switch module, wherein the power input module is connected to the control module, the output sampling module, the peak current sampling module, the TYPE C charging switch module, and the TYPE A charging switch module, and the control module is also connected to the TYPE C port device access detection module, the TYPE A port device access detection module, the output sampling module, the peak current sampling module, the TYPE C charging switch module, and the TYPE A charging switch module. The present invention realizes the automatic switching output of TYPE C PD / PPS and TYPE A / C (including QC), and is small in size and convenient to carry, has extremely low standby power, and has high output efficiency, and can meet the EU Level VI energy efficiency requirements. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a structural block diagram of a charging circuit capable of switching between TYPE C port charging and TYPE A port or C port charging provided by the present invention.

[0020] Figure 2 This is a schematic diagram of the power input module in the charging circuit capable of switching between TYPE C port charging and TYPE A port or C port charging provided by the present invention.

[0021] Figure 3 This is a schematic diagram of a charging circuit capable of switching between TYPE C port charging and TYPE A port or C port charging provided by the present invention.

[0022] Figure 4 The present invention provides a flow chart of a charging method capable of switching between TYPE C port charging and TYPE A port or C port charging. DETAILED DESCRIPTION

[0023] The present invention provides a charging circuit and a charging method capable of switching between TYPE C port charging and TYPE A port or C port charging. In order to make the purpose, technical solution and effect of the present invention clearer and more specific, the present invention is further described in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0024] See also Figure 1The charging circuit that can switch between TYPE C port charging and TYPE A port or C port charging provided by the present invention includes a power input module 1, a control module 2, a TYPE C port device access detection module 3, a TYPE A port device access detection module 4, an output sampling module 5, a peak current sampling module 6, a TYPE C charging switch module 7 and a TYPE A charging switch module 8. The power input module 1 is connected to the control module 2, the output sampling module 5, the peak current sampling module 6, the TYPE C charging switch module 7 and the TYPE A charging switch module 8. The control module 2 is also connected to the TYPE C port device access detection module 3, the TYPE A port device access detection module 4, the output sampling module 5, the peak current sampling module 6, the TYPE C charging switch module 7 and the TYPE A charging switch module 8.

[0025] Specifically, the TYPE C port device access detection module 3 is used to detect whether there is a device connected to the TYPE C port, and the TYPE C port supports PD protocol or PPS protocol charging; the TYPE A port device access detection module 4 is used to detect whether there is a device connected to the TYPE A port, and the TYPE A port supports QC protocol charging; the output sampling module 5 is used to sample the voltage and current output by the power input module 1, and further output it to the control module 2, and the control module 2 controls the output voltage to be stable at 5V; the peak current sampling module 6 is used to collect the peak current and output it to the control module 2, and the control module 2 changes the peak current in the circuit to ensure the safety of the circuit; the TYPE C charging switch module 7 is used to turn on or off the charging of the device connected to the TYPE C port; the TYPE A charging switch module 8 is used to turn on or off the charging of the device connected to the TYPE A port.

[0026] Further, the control module 2 is used to control the charging switching between the TYPE C port and the TYPE A port. After the power supply is connected, the control module 2 first controls the TYPE A charging switch module 8 to turn on, and controls the TYPE C charging switch module 7 to turn off, and outputs the charging current to the TYPE A port; when the TYPE C port device access detection module 3 detects that a device is connected, the control module 2 controls the TYPE A charging switch module 8 to turn off, controls the TYPE C charging switch module 7 to turn on, and after determining that the device connected to the TYPE C port supports a voltage, selects 5, 9, 12, 15 or 20V output to further charge the device connected to the TYPE C port. When there is a device continuously connected to the TYPE C port, regardless of whether the TYPE A port device access detection module 4 detects that there is a device connected, the control module 2 ignores it and continues to output current to the TYPE C port to charge the device connected to the TYPE C port until it detects that there is no device input to the TYPE C port. The TYPE C charging switch module 7 is then cut off, the output voltage is reduced to 5V, and then the TYPE A charging switch module 8 is turned on to output charging current to the TYPE A port.

[0027] The present invention realizes automatic switching output between TYPE C port and TYPE A port, and has small size and is convenient to carry, extremely low standby power, high output efficiency, and can meet EU Level VI energy efficiency requirements.

[0028] For further information, see Figure 2 , which is a circuit schematic diagram of a power input module 1. The power input module is used to rectify, filter and stabilize the AC mains power and then output it to the subsequent circuit to supply power to the subsequent circuit. The power input module 1 is a prior art and will not be described in detail here.

[0029] Please also read Figure 1 and Figure 3 The control module 2 includes a control chip U1 and a first capacitor C1. The VDD terminal of the control chip U1 is grounded through the first capacitor C1, the VSS terminal of the control chip U1 is grounded, the VCC terminal of the control chip U1 is connected to the power input module 1, the CATH terminal, the VFB terminal and the IFB terminal of the control chip U1 are connected to the output sampling module 5, the IS+ terminal and the IS- terminal of the control chip U1 are connected to the peak current sampling module 6, the G / B terminal and the C / C terminal of the control chip U1 are connected to the TYPE A charging switch module 8, the Gate terminal and the G / D terminal of the control chip U1 are connected to the TYPE C charging switch module 7, the D+ terminal and the D- terminal of the control chip U1 are connected to the TYPE A port device access detection module 4, and the CC1 terminal and the CC2 terminal of the control chip are connected to the TYPE C port device access detection module 3.

[0030] In a specific implementation, the control chip U1 is of model WT6632F, which has stable performance and fast processing speed. Of course, in other embodiments, the control chip U1 may also use other chips that can realize the functions of the present invention, such as WT6615F, and the present invention is not limited to this.

[0031] Please also read Figure 1 and Figure 3 The TYPE C port device access detection module 3 includes a first resistor R1, a second resistor R2, a second capacitor C2, a third capacitor C3, a first diode D1 and a second diode D2. One end of the first resistor R1 is connected to the CC2 end of the control chip U1, the other end of the first resistor R1 is connected to the CC1 pin of the TYPE C port and the cathode of the first diode D1, and is also grounded through the second capacitor C2. The anode of the first diode D1 is grounded, one end of the second resistor R2 is connected to the CC1 end of the control chip U1, the other end of the second resistor R2 is connected to the CC2 pin of the TYPE C port and the cathode of the second diode D2, and is also grounded through the third capacitor C3, and the anode of the second diode D2 is grounded.

[0032] Specifically, when the TYPE C port device access detection module 3 is used to detect whether a device is connected to the TYPE C port, the control chip U1 will collect the voltage of the first resistor or the second resistor, so as to determine whether a device is connected, and further control the TYPE C charging switch module 7 to turn on.

[0033] Please also read Figure 1 and Figure 3 The TYPE A port device access detection module 4 includes a third resistor R3, a fourth resistor R4, a fourth capacitor C4, a fifth capacitor C5, a third diode D3 and a fourth diode D4. One end of the third resistor R3 and one end of the fourth capacitor C4 are connected to the D+ end of the control chip U1, the other end of the third resistor R3 is connected to the second pin of the TYPE A port and the cathode of the fourth diode D4, the anode of the fourth diode D4 is grounded, the other end of the fourth capacitor C4 is grounded, one end of the fourth resistor R4 and one end of the fifth capacitor C5 are connected to the D- end of the control chip U1, the other end of the fourth resistor R4 is grounded, the other end of the fifth capacitor C5 is connected to the third pin of the TYPE A port and the cathode of the third diode D3, and the anode of the third diode D3 is grounded.

[0034] Specifically, the TYPE A port device access detection module 4 is used to detect whether there is a device connected to the TYPE A port. The control chip U1 collects the voltages of the third resistor R3 and the fourth resistor R4, so as to determine whether there is a device connected.

[0035] Please also read Figure 1 and Figure 3 The output sampling module 5 includes a fifth diode D5, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a sixth capacitor C6, a seventh capacitor C7 and an eighth capacitor C8. The positive electrode of the fifth diode D5 is connected to one end of the fifth resistor R5 and is also connected to the power input module 1 through the eighth resistor R8. The negative electrode of the fifth diode D5 is connected to the CATH end of the control chip U1, the other end of the fifth resistor R5, one end of the sixth capacitor C6, one end of the seventh capacitor C7 and one end of the eighth capacitor C8. The other end of the sixth capacitor C6 is connected to the VFB end of the control chip U1 through the sixth resistor R6. The other end of the seventh capacitor C7 is connected to the IFB end of the control chip U1. The other end of the eighth capacitor C8 is connected to the IFB end of the control chip U1 through the seventh resistor R7.

[0036] Specifically, the output sampling module 5 is used to collect the output voltage and current, the seventh capacitor C7, the eighth capacitor C8 and the seventh resistor constitute a current sampling unit, the fifth resistor R5, the sixth capacitor C6, the seventh capacitor C7 and the sixth resistor R6 constitute a voltage sampling unit, which respectively collect the output voltage and current, and the control chip U1 reads the collected output voltage and output current, and controls the output voltage and current to adapt to the working voltage of the connected device.

[0037] Please also read Figure 1 and Figure 3 The peak current sampling module 6 includes a ninth resistor R9, a tenth resistor R10 and a ninth capacitor C9, one end of the ninth resistor R9 and one end of the ninth capacitor C9 are connected to the power input module 1 and the IS-end of the control chip U1, the other end of the ninth resistor R9 is connected to one end of the tenth resistor R10 and the ground end, and the other end of the tenth resistor R10 is connected to the other end of the ninth capacitor C9 and the IS+end of the control chip U1.

[0038] Specifically, the peak current sampling module 6 is used to collect the peak current in the circuit and output it to the control chip U1. After reading the peak current in the circuit, the control chip U1 determines whether it exceeds a preset range, and when the peak current of the circuit exceeds the preset range, the output current is adjusted in real time to ensure the safety of components in the circuit.

[0039] Please also read Figure 1 and Figure 3The TYPE C charging switch module 7 includes a first MOS tube Q1, a second MOS tube Q2, a tenth capacitor C10, an eleventh capacitor C11, an eleventh resistor R11, a twelfth resistor R12, a thirteenth resistor R13, a fourteenth resistor R14 and a sixth diode D6. The drain of the first MOS tube Q1 is connected to the power input module 1, the gate of the first MOS tube Q1 is connected to one end of the tenth capacitor C10, one end of the eleventh resistor R11, the gate of the second MOS tube Q2, the cathode of the sixth diode D6 and one end of the twelfth resistor R12, and the source of the first MOS tube Q2 is connected to the tenth capacitor C1 The drain of the second MOS tube Q2 is connected to the positive electrode of the charging power supply output terminal, one end of the eleventh capacitor C11 and one end of the thirteenth resistor R13, the other end of the eleventh capacitor C11 is connected to the ground terminal and the negative electrode of the charging power supply output terminal, the other end of the thirteenth resistor R13 is connected to the G / D terminal of the control chip U1, the anode of the sixth diode D6 is connected to the Gate terminal of the control chip U1 through the fourteenth resistor R14, and the other end of the twelfth resistor R12 is connected to the Gate terminal of the control chip U1.

[0040] Specifically, the control chip U1 controls whether to output current to the TYPE C port by controlling the opening or closing of the second MOS tube Q2. When a device is connected to the TYPE C port, the control chip U1 controls the second MOS tube Q2 to turn on and outputs a voltage suitable for the connected device to charge the device.

[0041] Please also read Figure 1 and Figure 3 The TYPE A charging switch module 8 includes a twelfth capacitor C12, a fifteenth resistor R15, a sixteenth resistor R16, a third MOS tube Q3 and a TYPE A port U2. The source of the third MOS tube Q3 is connected to the power input module 1, one end of the twelfth capacitor C12 and one end of the fifteenth resistor R15. The gate of the third MOS tube Q3 is connected to the other end of the twelfth capacitor C12, the other end of the fifteenth resistor R15 and the G / B end of the control chip U1. The drain of the third MOS tube Q3 is connected to the first pin of the TYPE A port U2 and is also connected to the G / C end of the control chip U1 through the sixteenth resistor R16. The second pin of the TYPE A port U2 is connected to the other end of the fifth capacitor C5. The third pin of the TYPE A port U2 is connected to the other end of the third resistor R3. The fourth pin of the TYPE A port U2 is grounded.

[0042] Specifically, the control chip U1 controls whether to output current to the TYPE A port by controlling the opening or closing of the third MOS tube Q3. When the circuit is connected to the power supply, the control chip first controls the third MOS tube Q3 to turn on, and continuously outputs voltage to the TYPE A port. When it is detected that a device is connected to the TYPE C port, the control chip U1 controls the third MOS tube Q3 to turn off, and controls the second MOS tube Q2 to turn on, and outputs a voltage suitable for the connected device to charge the device; when it is detected that no device is connected to the TYPE C port, the control chip U1 controls the third MOS tube Q3 to turn on again, and continuously outputs voltage to the TYPE A port, thereby realizing the free switching of TYPE C PD / PPS charging and TYPE A / C (including QC) charging.

[0043] Based on the above-mentioned charging circuit capable of switching between TYPE C port charging and TYPE A port or C port charging, the present invention also provides a charging method capable of switching between TYPE C port charging and TYPE A port or C port charging, comprising the following steps:

[0044] S100, the control chip collects the voltage output by the power input module through the output sampling module, controls the output voltage to 5V, and then outputs the voltage to the TYPE A port;

[0045] S200, the control chip detects whether there is a device connected to the TYPE C port through the TYPE C port device access detection module. If there is a device connected, the control chip controls the third MOS tube to be disconnected, and controls the second MOS tube to be turned on, and then the power input module outputs a 5V voltage to the TYPE C port to charge the device.

[0046] Specifically, there are three situations in which a device is connected to the charging port, and the following describes these three situations respectively:

[0047] 1. When there is no device connected to the initial TYPE A port and TYPE C port:

[0048] A. When connected to AC power, the control chip U1 is initialized normally and establishes a normal working voltage of 5V;

[0049] B. First check whether there is a device connected to the TYPE C port. If there is, cut off the third MOS tube Q3, check that the output voltage is a safe 5V voltage, turn on the second MOS tube Q2, determine the voltage supported by the device connected to the TYPE C port, and select 5, 9, 12, 15 or 20V output. During this period, even if there is a device connected to the TYPE A port, choose to ignore it;

[0050] C. When it is detected that no device is connected to the TYPE C port, the second MOS tube Q2 is cut off until the output voltage drops to 5V, and then the third MOS tube Q3 is turned on to provide normal power supply to the TYPE A port.

[0051] 2. When a device is initially connected to the Type C port and no device is connected to the Type A port:

[0052] A. When connected to AC power, the control chip U1 is initialized normally and establishes a normal working voltage of 5V;

[0053] B. First check whether there is a device connected to the TYPE C port. If there is, cut off the third MOS tube Q3, check that the output voltage is a safe voltage of 5V, turn on the second MOS tube Q2, determine the voltage supported by the device connected to the TYPE C port, and select 5, 9, 12, 15 or 20V output. During this period, even if there is a device connected to the TYPE A port, choose to ignore it.

[0054] 3. When a device is initially connected to the TYPE A port and no device is connected to the TYPE C port:

[0055] A. When AC power is connected, the control chip U1 is initialized normally and establishes a normal working voltage of 5V.

[0056] B. TYPE A port performs normal output.

[0057] C. When a device is detected to be connected to the TYPE C port, the third MOS tube Q3 is cut off until the output voltage drops to 5V, and then the second MOS tube Q2 is turned on to determine the voltage supported by the TYPE C port device, and select 5, 9, 12, 15, or 20V output. During this period, no matter whether the device is removed or inserted from the TYPE C port, it will be ignored.

[0058] In summary, in the charging circuit and charging method for switchable TYPE C port charging and TYPE A port or C port charging provided by the present invention, the circuit includes a control module, a TYPE C port device access detection module, a TYPE A port device access detection module, an output sampling module, a peak current sampling module, a TYPE C charging switch module, and a TYPE A charging switch module, the power input module is connected to the control module, the output sampling module, the peak current sampling module, the TYPE C charging switch module, and the TYPE A charging switch module, and the control module is also connected to the TYPE C port device access detection module, the TYPE A port device access detection module, the output sampling module, the peak current sampling module, the TYPE C charging switch module, and the TYPE A charging switch module. The present invention realizes the automatic switching output of TYPE C PD / PPS and TYPE A / C (including QC), and is small in size and easy to carry, has extremely low standby power, and has high output efficiency, which can meet the EU Level VI energy efficiency requirements.

[0059] It is understandable that those skilled in the art can make equivalent substitutions or changes based on the technical solution and inventive concept of the present invention, and all these changes or substitutions should fall within the protection scope of the claims attached to the present invention.

Claims

1. A charging circuit capable of switching between TYPE C port charging and TYPE A port or C port charging, comprising a power input module, characterized in that: It also includes a control module, a TYPEC port device access detection module, a TYPEA port device access detection module, an output sampling module, a peak current sampling module, a TYPEC charging switch module, and a TYPEA charging switch module, wherein the power input module is connected to the control module, the output sampling module, the peak current sampling module, the TYPEC charging switch module, and the TYPEA charging switch module, and the control module is also connected to the TYPEC port device access detection module, the TYPEA port device access detection module, the output sampling module, the peak current sampling module, the TYPEC charging switch module, and the TYPEA charging switch module; The TYPEC port device access detection module is used to detect whether there is a device accessed to the TYPEC port; the TYPEA port device access detection module is used to detect whether there is a device accessed to the TYPEA port; the output sampling module is used to sample the voltage and current output by the power input module, and further output to the control module, and the control module controls the output voltage to be stable at 5V; the peak current sampling module is used to collect the peak current and output it to the control module, and the control module changes the peak current in the circuit; the TYPEC charging switch module is used to turn on or off the charging of the device connected to the TYPEC port; the TYPEA charging switch module is used to turn on or off the charging of the device connected to the TYPEA port; when there is a device connected to the TYPEC port continuously, regardless of whether the TYPEA port device access detection module detects that there is a device connected, the control module ignores it and continues to output current to the TYPEC port to charge the device connected to the TYPEC port until it is detected that there is no device input to the TYPEC port, then the TYPEC charging switch module is cut off, the output voltage is reduced to 5V, and then the TYPEA charging switch module is turned on to output the charging current to the TYPEA port; The control module includes a control chip and a first capacitor, the VDD terminal of the control chip is grounded through the first capacitor, the VSS terminal of the control chip is grounded, the VCC terminal of the control chip is connected to the power input module, the CATH terminal, the VFB terminal and the IFB terminal of the control chip are connected to the output sampling module, the IS+ terminal and the IS- terminal of the control chip are connected to the peak current sampling module, the G / B terminal and the C / C terminal of the control chip are connected to the TYPEA charging switch module, the Gate terminal and the G / D terminal of the control chip are connected to the TYPEC charging switch module, the D+ terminal and the D- terminal of the control chip are connected to the TYPEA port device access detection module, and the CC1 terminal and the CC2 terminal of the control chip are connected to the TYPEC port device access detection module; The TYPEC charging switch module includes a first MOS tube, a second MOS tube, a tenth capacitor, an eleventh capacitor, an eleventh resistor, a twelfth resistor, a thirteenth resistor, a fourteenth resistor and a sixth diode. The drain of the first MOS tube is connected to the power input module, the gate of the first MOS tube is connected to one end of the tenth capacitor, one end of the eleventh resistor, the gate of the second MOS tube, the negative electrode of the sixth diode and one end of the twelfth resistor, the source of the first MOS tube is connected to the other end of the tenth capacitor, the other end of the eleventh resistor and the source of the second MOS tube, the drain of the second MOS tube is connected to the positive electrode of the charging power output end, one end of the eleventh capacitor and one end of the thirteenth resistor, the other end of the eleventh capacitor is connected to the ground end and the negative electrode of the charging power output end, the other end of the thirteenth resistor is connected to the G / D end of the control chip, the positive electrode of the sixth diode is connected to the Gate end of the control chip through the fourteenth resistor, and the other end of the twelfth resistor is connected to the Gate end of the control chip; The TYPEA charging switch module includes a twelfth capacitor, a fifteenth resistor, a sixteenth resistor, a third MOS tube and a TYPEA port, the source of the third MOS tube is connected to the power input module, one end of the twelfth capacitor and one end of the fifteenth resistor, the gate of the third MOS tube is connected to the other end of the twelfth capacitor, the other end of the fifteenth resistor and the G / B end of the control chip, the drain of the third MOS tube is connected to the first pin of the TYPEA port and is also connected to the G / C end of the control chip through the sixteenth resistor, the second pin of the TYPEA port is connected to the other end of the fifth capacitor, the third pin of the TYPEA port is connected to the other end of the third resistor, and the fourth pin of the TYPEA port is grounded; The control chip controls whether to output current to the TYPEA port by controlling the opening or closing of the third MOS tube Q3. When the circuit is connected to the power supply, the control chip first controls the third MOS tube Q3 to turn on and continuously outputs voltage to the TYPEA port. When it is detected that a device is connected to the TYPEC port, the control chip U1 controls the third MOS tube Q3 to turn off and controls the second MOS tube Q2 to turn on, outputting a voltage suitable for the connected device to charge the device; when it is detected that no device is connected to the TYPEC port, the control chip U1 controls the third MOS tube Q3 to turn on again and continuously outputs voltage to the TYPEA port.

2. The charging circuit capable of switching between TYPE C port charging and TYPE A port or C port charging according to claim 1, characterized in that: The TYPEC port device access detection module includes a first resistor, a second resistor, a second capacitor, a third capacitor, a first diode and a second diode. One end of the first resistor is connected to the CC2 end of the control chip, the other end of the first resistor is connected to the CC1 pin of the TYPEC port and the cathode of the first diode, and is also grounded through the second capacitor. The anode of the first diode is grounded, one end of the second resistor is connected to the CC1 end of the control chip, the other end of the second resistor is connected to the CC2 pin of the TYPEC port and the cathode of the second diode, and is also grounded through the third capacitor, and the anode of the second diode is grounded.

3. The charging circuit capable of switching between TYPE C port charging and TYPE A port or C port charging according to claim 2, characterized in that: The TYPEA port device access detection module includes a third resistor, a fourth resistor, a fourth capacitor, a fifth capacitor, a third diode and a fourth diode. One end of the third resistor and one end of the fourth capacitor are connected to the D+ end of the control chip, the other end of the third resistor is connected to the second pin of the TYPEA port and the negative electrode of the fourth diode, the positive electrode of the fourth diode is grounded, the other end of the fourth capacitor is grounded, one end of the fourth resistor and one end of the fifth capacitor are connected to the D- end of the control chip, the other end of the fourth resistor is grounded, the other end of the fifth capacitor is connected to the third pin of the TYPEA port and the negative electrode of the third diode, and the positive electrode of the third diode is grounded.

4. The charging circuit capable of switching between TYPE C port charging and TYPE A port or C port charging according to claim 3, characterized in that: The output sampling module includes a fifth diode, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a sixth capacitor, a seventh capacitor and an eighth capacitor. The positive electrode of the fifth diode is connected to one end of the fifth resistor and is also connected to the power input module through the eighth resistor. The negative electrode of the fifth diode is connected to the CATH end of the control chip, the other end of the fifth resistor, one end of the sixth capacitor, one end of the seventh capacitor and one end of the eighth capacitor. The other end of the sixth capacitor is connected to the VFB end of the control chip through the sixth resistor, the other end of the seventh capacitor is connected to the IFB end of the control chip, and the other end of the eighth capacitor is connected to the IFB end of the control chip through the seventh resistor.

5. The charging circuit capable of switching between TYPE C port charging and TYPE A port or C port charging according to claim 4, characterized in that: The peak current sampling module includes a ninth resistor, a tenth resistor and a ninth capacitor, one end of the ninth resistor and one end of the ninth capacitor are connected to the power input module and the IS-end of the control chip, the other end of the ninth resistor is connected to one end of the tenth resistor and the ground end, and the other end of the tenth resistor is connected to the other end of the ninth capacitor and the IS+end of the control chip.

6. The charging circuit capable of switching between TYPE C port charging and TYPE A port or C port charging according to claim 1, characterized in that: The model of the control chip is WT6632F or WT6615F.

7. A charging method capable of switching between TYPE C port charging and TYPE A port or C port charging, implemented by a charging circuit as claimed in any one of claims 1 to 6, characterized in that: The steps include: The control chip collects the voltage output by the power input module through the output sampling module, and controls the output voltage to 5V before outputting the voltage to the TYPEA port; The control chip detects whether there is a device connected to the TYPEC port through the TYPEC port device access detection module. If there is a device, the third MOS tube is controlled to be disconnected, and the second MOS tube is controlled to be turned on. Then, the power input module outputs a 5V voltage to the TYPEC port to charge the device.

Citation Information

Patent Citations

  • Charging circuit for power bank

    CN104218646A

  • Charger

    CN106972591A

  • USB charging equipment

    CN203660580U

  • Charger that all kinds of electronic equipment can share

    CN206834813U

  • Charging circuit that changeable TYPE C mouth charges and charges with TYPE A mouth or C mouth

    CN207732484U