Type A port power supply circuit and electronic equipment

CN118738947A8Pending Publication Date: 2024-12-17HUAYUAN SEMICON SHENZHEN LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411000105.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

The Type A port power supply circuit cannot implement the zero-watt standby function because it lacks a power-on protocol line and cannot detect whether zero-watt standby is required.

Method used

A Type A port power supply circuit is designed. Through the cooperation of the power supply control chip, the insertion detection module and the current detection module, the first switch and the insertion detection module are used to determine whether there is a powered device connected, and when the ground current is lower than the threshold When the power is disconnected, a zero-power consumption state is achieved.

Benefits of technology

It realizes the zero-watt standby function of the Type A port power supply circuit, reducing standby losses and saving power energy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118738947A8_ABST
    Figure CN118738947A8_ABST
Patent Text Reader

Abstract

The present invention provides a Type A port power supply circuit and electronic device, wherein the power supply is coupled to the voltage input terminal of the Type A interface through a first switch, the voltage bus terminal of the power supply control chip is coupled to the voltage input terminal of the Type A interface, the power supply control terminal is coupled to the control terminal of the first switch, the insertion detection terminal is coupled to the voltage bus terminal through an insertion detection module, and the current detection terminal is coupled to the ground terminal of the Type A interface. The power supply control chip provides a first set voltage to the insertion detection terminal, and the insertion detection module is turned on only when the voltage of the insertion detection terminal is higher than the voltage bus terminal. When the voltage value of the insertion detection terminal is lower than the first set voltage, the power supply control chip determines that the powered device is connected and controls the first switch to be turned on; when the power supply control chip detects that the current value of the first current at the ground terminal of the Type A interface is lower than the first current threshold, it determines that the powered device is unplugged or fully charged and controls the first switch to be disconnected. Thus, the device of the present invention realizes the zero-watt standby function.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of charging technology, and in particular to a Type A port power supply circuit and electronic equipment. Background Art

[0002] The zero-watt standby function can stop supplying power when the powered device is unplugged or fully charged, reducing standby loss and saving power energy.

[0003] At present, the zero-watt standby function is only common on the Type C port power supply circuit of the Type C to Type C cable. This is because the Type C to Type C cable is configured with a power-on protocol line (CC line). The Type C port power supply circuit can determine whether zero-watt standby is required, while there is no power-on protocol line (CC line) on the Type A to Type C cable. Therefore, the Type A port power supply circuit cannot achieve the zero-watt standby function.

[0004] Therefore, how to make the Type A port power supply circuit have a zero-watt standby function has become a technical problem that the industry urgently needs to solve. Summary of the invention

[0005] The present invention provides a Type A port power supply circuit and electronic equipment, which solve the technical problem that the Type A port power supply circuit cannot realize a zero-watt standby function.

[0006] According to a first aspect of the present invention, an embodiment of the present invention provides a Type A port power supply circuit, including:

[0007] A power supply, coupled to a voltage input terminal of the Type A interface through a first switch;

[0008] The voltage bus terminal of the power supply control chip is coupled to the voltage input terminal of the Type A interface, the power supply control terminal of the power supply control chip is coupled to the control terminal of the first switch, the insertion detection terminal of the power supply control chip is coupled to the voltage bus terminal through the insertion detection module, and the current detection terminal of the power supply control chip is coupled to the ground terminal of the Type A interface;

[0009] The power supply control chip is configured as follows:

[0010] providing a first set voltage to the insertion detection end, and controlling the first switch to be turned on when the voltage value of the insertion detection end is lower than the first set voltage;

[0011] detecting in real time the magnitude of a first current flowing through a ground terminal of the Type A interface, and controlling the first switch to be disconnected when the current value of the first current is less than a first current threshold;

[0012] The insertion detection module is configured to be turned on only when the voltage at the insertion detection terminal is higher than that at the voltage bus terminal; otherwise, the insertion detection module is turned off.

[0013] Optionally, the power supply control chip includes a comparison module, a current detection module and a micro control unit;

[0014] The first input terminal of the comparison module is coupled to the insertion detection terminal, the second input terminal of the comparison module receives the first set voltage output by the power supply control chip, and the output terminal of the comparison module sends a first signal to the first terminal of the micro control unit, wherein the first signal includes a comparison result between the voltage value of the insertion detection terminal and the voltage value of the first set voltage;

[0015] The first end of the current detection module is coupled to the current detection end, and the second end of the current detection module sends a second signal to the second end of the micro control unit, wherein the second signal includes current value information of the first current;

[0016] The third terminal of the micro control unit is coupled to the control terminal of the first switch;

[0017] The micro control unit is configured as follows:

[0018] When the comparison result indicates that the voltage value of the insertion detection terminal is lower than the first set voltage, the micro control unit controls the first switch to be turned on;

[0019] When the current value signal of the first current indicates that the current value of the first current is less than a first current threshold, the micro control unit controls the first switch to be turned off.

[0020] Optionally, the insertion detection module includes a diode, an anode of the diode is coupled to the insertion detection terminal of the power supply control chip, and a cathode of the diode is coupled to the voltage bus terminal of the power supply control chip.

[0021] Optionally, the insertion detection module includes a MOS tube, a first end of the MOS tube is coupled to the insertion detection end of the power supply control chip, a second end of the MOS tube is coupled to the voltage bus end of the power supply control chip, and a control end of the MOS tube is grounded.

[0022] Optionally, the insertion detection module includes a transistor, a first end of the transistor is coupled to the insertion detection end of the power supply control chip, a base of the transistor is coupled to the voltage bus end of the power supply control chip, and a second end of the transistor is grounded.

[0023] Optionally, the insertion detection module includes a second switch and a first resistor;

[0024] The insertion detection terminal of the power supply control chip is coupled to the voltage bus terminal through the first resistor and the second switch in sequence, and the second switch control terminal of the power supply control chip is coupled to the control terminal of the second switch;

[0025] The power supply control chip is further configured as:

[0026] providing a first set voltage to the insertion detection end, and when the voltage value of the insertion detection end is lower than the first set voltage, controlling the first switch to be turned on and the second switch to be turned off;

[0027] The magnitude of a first current flowing through a ground terminal of the Type A interface is detected in real time, and when the current value of the first current is less than a first current threshold, the first switch is controlled to be disconnected and the second switch is controlled to be turned on.

[0028] Optionally, the insertion detection end includes a first sub-insertion detection end, a second sub-insertion detection end and a third sub-insertion detection end;

[0029] The first sub-insertion detection terminal is coupled to the first end of the first resistor and the first input end of the comparison module, the second end of the first resistor is coupled to the voltage bus terminal through the second switch, the second sub-insertion detection terminal is coupled to the first end of the first resistor, and the third sub-insertion detection terminal is coupled to the second end of the first resistor;

[0030] The second sub-insertion detection terminal and the third sub-insertion detection terminal are coupled to the first input terminal of the comparison module;

[0031] The power supply control chip is further configured as:

[0032] providing a first set voltage to the first sub-insertion detection end, and detecting the current of the first resistor in real time through the second sub-insertion detection end and the third sub-insertion detection end, obtaining the voltage value of the first sub-insertion detection end when there is a current signal in the path where the first resistor is located, and controlling the first switch to be turned on and the second switch to be turned off when the voltage value of the first sub-insertion detection end is lower than the first set voltage;

[0033] The magnitude of a first current flowing through a ground terminal of the Type A interface is detected in real time, and when the current value of the first current is less than a first current threshold, the first switch is controlled to be disconnected and the second switch is controlled to be turned on.

[0034] Optionally, the insertion detection end of the power supply control chip is a detection pin.

[0035] Optionally, the insertion detection end of the power supply control chip is a common interrupt pin.

[0036] Optionally, the power supply control chip further includes an external power supply terminal, the Type A port power supply circuit further includes a second resistor, and the external power supply terminal is coupled to the common interrupt pin through the second resistor;

[0037] A first end of the second resistor is coupled to an external power supply end of the power supply control chip, and a second end of the second resistor is coupled to an insertion detection end of the power supply control chip;

[0038] The external power supply end is configured to provide a first set voltage to the insertion detection end.

[0039] Optionally, the power supply control chip further includes a charge pump, a first end of the charge pump is coupled to a third end of the micro control unit, and a second end of the charge pump is coupled to a control end of the first switch.

[0040] Optionally, the Type A port power supply circuit further includes a third resistor; the current detection end includes a first sub-current detection end and a second sub-current detection end;

[0041] The first end of the third resistor is coupled to the first sub-current detection end and the ground end of the power supply control chip;

[0042] The second end of the third resistor is coupled to the second sub-current detection end and the ground end of the Type A interface.

[0043] Optionally, the first switch is a power MOS tube, a first end of the power MOS tube is coupled to the power supply, a second end of the power MOS tube is coupled to the voltage input end of the Type A interface, and a control end of the power MOS tube is coupled to the power control end of the power supply control chip.

[0044] Optionally, the power supply is a DC power supply or an AC power supply.

[0045] According to a second aspect of the present invention, an embodiment of the present invention provides an electronic device including: a Type A port power supply circuit and a Type A to Type C cable, wherein the Type A to Type C cable includes a voltage bus connection line and a ground line;

[0046] The voltage bus end of the power supply control chip is coupled to the voltage bus connection line of the Type A interface of the Type A to Type C cable, the insertion detection end of the power supply control chip is coupled to the voltage bus connection line through an insertion detection module, and the current detection end of the power supply control chip is coupled to the ground line through a third resistor.

[0047] Optionally, the power supply control chip of the Type A port power supply circuit further includes a first communication protocol end and a second communication protocol end; the Type A to Type C cable further includes a first protocol transmission line and a second protocol transmission line;

[0048] The first protocol transmission line and the second protocol transmission line are coupled to the first communication protocol end and the second communication protocol end respectively.

[0049] Optionally, when a powered device is connected, the power supply circuit in the power supply device is coupled to the powered device via the Type A to Type C cable.

[0050] Compared with the prior art, the technical solution of the embodiment of the present invention has the following beneficial effects:

[0051] The present invention provides a Type A port power supply circuit and electronic device, wherein the power supply is coupled to the voltage input terminal of the Type A interface through a first switch, the voltage bus terminal of the power supply control chip is coupled to the voltage input terminal of the Type A interface, the power supply control terminal is coupled to the control terminal of the first switch, the insertion detection terminal is coupled to the voltage bus terminal through an insertion detection module, and the current detection terminal is coupled to the ground terminal of the Type A interface. The power supply control chip provides a first set voltage to the insertion detection terminal, and the insertion detection module is turned on only when the voltage of the insertion detection terminal is higher than the voltage bus terminal. When the voltage value of the insertion detection terminal is lower than the first set voltage, the power supply control chip determines that a powered device is connected and controls the first switch to be turned on, and the Type A port power supply circuit exits the zero power consumption state; when the power supply control chip detects that the current value of the first current of the ground terminal of the Type A interface is lower than the first current threshold, it determines that the powered device is unplugged or fully charged, and controls the first switch to be disconnected, and the Type A port power supply circuit enters the zero power consumption state. Thus, the Type A port power supply circuit of the present invention realizes the zero-watt standby function. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0053] Figure 1 It is a schematic diagram of the structure of the Type C port power supply circuit that is different from the prior art of the present invention;

[0054] Figure 2 It is a schematic diagram of the structure of a first implementation mode of a Type A port power supply circuit of the present invention;

[0055] Figure 3 It is a schematic diagram of the structure of a second implementation of a Type A port power supply circuit of the present invention;

[0056] Figure 4 It is a schematic diagram of the structure of a third implementation mode of a Type A port power supply circuit of the present invention;

[0057] Figure 5 It is a schematic diagram of the structure of a fourth implementation mode of a Type A port power supply circuit of the present invention;

[0058] Figure 6 It is a schematic diagram of the structure of a fifth embodiment of a Type A port power supply circuit of the present invention;

[0059] Figure 7 It is a schematic diagram of the structure of a sixth embodiment of a Type A port power supply circuit of the present invention;

[0060] Figure 8 It is a schematic diagram of the structure of a seventh implementation mode of a Type A port power supply circuit of the present invention;

[0061] Fig. 9 It is a schematic diagram of the structure of an eighth implementation manner of a Type A port power supply circuit of the present invention;

[0062] Fig.10 It is a schematic diagram of the structure of a ninth embodiment of a Type A port power supply circuit of the present invention;

[0063] Fig.11 It is a schematic diagram of the structure of a tenth implementation mode of a Type A port power supply circuit of the present invention;

[0064] Fig.12 It is a schematic diagram of the structure of an electronic device implemented in the present invention.

[0065] Description of reference numerals:

[0066] 1-Type C port power supply circuit;

[0067] 2-Type A port power supply circuit;

[0068] 10-Power supply for Type C port power supply circuit;

[0069] 11-Power supply control chip for Type C port power supply circuit;

[0070] 21-Type A port power supply circuit power supply;

[0071] 22-Type A port power supply control chip;

[0072] 221-Comparison module;

[0073] 222- micro control unit;

[0074] 223-current detection module;

[0075] 224-charge pump;

[0076] 23-Insert the detection module;

[0077] 3-Type C to Type C cable;

[0078] 31-The first Type C interface of the Type C to Type C cable;

[0079] 32-Second Type C port of Type C to Type C cable;

[0080] 311-Type C to Type C voltage bus cable;

[0081] 312-Type C to Type C communication cable;

[0082] 313-Type C to Type C cable detection cable;

[0083] 314-Type C to Type C cable, the first protocol transmission cable;

[0084] 315-Type C to Type C cable second protocol transmission line;

[0085] 316-Type C to Type C cable ground wire;

[0086] 4-Type A to Type C cable;

[0087] 41-Type A interface of Type A to Type C cable;

[0088] 42-Type C interface for Type C to Type C cable;

[0089] 411-Type A to Type C voltage bus cable;

[0090] 412-Type A to Type C cable ground wire;

[0091] 413-Type A to Type C cable, the first protocol transmission cable;

[0092] 414-Type A to Type C cable second protocol transmission line;

[0093] 5-Powered equipment

[0094] M1-first switch;

[0095] M2-second switch;

[0096] R1-first resistor;

[0097] R2-second resistor;

[0098] R3-the third resistor;

[0099] GATE-power supply control terminal of the power supply control chip;

[0100] VBUS-voltage bus terminal of the power supply control chip;

[0101] GPIO-control terminal of the second switch of the power supply control chip;

[0102] CC1-first insertion detection terminal;

[0103] CC2-second insertion detection terminal;

[0104] CS1-first sub-insertion detection terminal;

[0105] CS2-second sub-insertion detection terminal;

[0106] CS3-third sub-insertion detection terminal;

[0107] CC-detection pin;

[0108] INT-normal interrupt pin;

[0109] D+-first communication protocol terminal;

[0110] D--the second communication protocol terminal;

[0111] CS-current detection terminal;

[0112] CSN-first sub-current detection terminal;

[0113] CSP-second sub-current detection terminal;

[0114] VCC1-voltage output terminal of the power supply;

[0115] VCC1-voltage input terminal of the power supply control chip;

[0116] V1-first set voltage. DETAILED DESCRIPTION

[0117] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0118] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0119] The technical solution of the present invention is described in detail with specific embodiments below. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0120] Before filing this application, the applicant has conducted sufficient research on the power supply circuit with zero-watt standby function, please refer to Figure 1 , shows a schematic diagram of a Type C port power supply circuit with a zero-watt standby function, the Type C port power supply circuit 1 comprising:

[0121] The power supply 10 is coupled to the voltage input terminal 311 of the first Type C interface 31 through the first switch M1;

[0122] The voltage bus terminal VBUS of the power supply control chip 10 is coupled to the voltage input terminal 311 of the Type C interface 31, the power supply control terminal GATE of the power supply control chip 21 is coupled to the control terminal of the first switch M1, and the first insertion detection terminal CC1 and the second insertion detection terminal CC2 of the power supply control chip 21 are respectively coupled to the first identification terminal 312 and the second identification terminal 313 of the first Type C interface 31;

[0123] The first identification end 312 and the second identification end 313 of the first Type C interface can be respectively understood as the communication connection line 312 and the detection connection line 313 of the Type C to Type C cable 3;

[0124] Among them, Figure 1 The Type C port power supply circuit 1 shown, the first insertion detection terminal CC1 is used to transmit a cable identification signal through the communication connection line 312, and the second insertion detection terminal CC2 is used to transmit a device identification signal through the detection connection line 313. Through the first insertion detection terminal CC1 and the second insertion detection terminal CC2, the Type C port power supply circuit 1 can automatically detect the connection direction and cable type of the device, thereby achieving fast and reliable connection.

[0125] At the same time, the power supply control chip 10 can also determine whether there is a device connected according to the first insertion detection terminal CC1 and the second insertion detection terminal CC2. When no device is connected, the power supply control chip 11 controls the first switch M1 to turn off to achieve a zero-watt standby function.

[0126] However, there is no communication connection line 312 or detection connection line 313 in the Type A to Type C cable. Therefore, when the Type C port power supply circuit is used as the power supply circuit of the Type A to Type C cable, the Type C port power supply circuit cannot achieve the zero-watt standby function.

[0127] In view of this, the present invention creatively proposes a Type A port power supply circuit, in which the power supply is coupled to the voltage input terminal of the Type A interface through a first switch, the voltage bus terminal of the power supply control chip is coupled to the voltage input terminal of the Type A interface, the power supply control terminal is coupled to the control terminal of the first switch, the insertion detection terminal is coupled to the voltage bus terminal through an insertion detection module, and the current detection terminal is coupled to the ground terminal of the Type A interface. The power supply control chip provides a first set voltage to the insertion detection terminal, and the insertion detection module is turned on only when the voltage of the insertion detection terminal is higher than the voltage bus terminal. When the voltage value of the insertion detection terminal of the power supply control chip is lower than the first set voltage, it is judged that a powered device is connected and the first switch is controlled to be turned on, and the Type A port power supply circuit exits the zero power consumption state; when the power supply control chip detects that the current value of the first current flowing through the ground terminal of the Type A interface is lower than the first current threshold, it is judged that the powered device is unplugged or fully charged, and the first switch is controlled to be disconnected, and the Type A port power supply circuit enters the zero power consumption state. Thus, the Type A port power supply circuit of the present invention realizes the zero-watt standby function.

[0128] Please refer to Figure 2 An embodiment of the present invention provides a Type A port power supply circuit 2, wherein:

[0129] The power supply 21 is coupled to the voltage input terminal of the Type A interface 41 through the first switch M1;

[0130] The voltage bus terminal VUBS of the power supply control chip 22 is coupled to the voltage input terminal of the Type A interface 41, the power supply control terminal GATE of the power supply control chip 22 is coupled to the control terminal of the first switch M1, the insertion detection terminal CC of the power supply control chip 22 is coupled to the voltage bus terminal VUBS through the insertion detection module 23, and the current detection terminal CS of the power supply control chip 22 is coupled to the ground terminal of the Type A interface 41;

[0131] The power supply control chip 22 is configured to: provide a first set voltage V1 to the insertion detection terminal CC, and control the first switch M1 to be turned on when the voltage value of the insertion detection terminal CC is lower than the first set voltage V1; the power supply control chip 22 detects the current value of the first current flowing through the ground terminal of the Type A interface 41 in real time, and controls the first switch M1 to be turned off when the current value of the first current is less than the first current threshold.

[0132] The insertion detection module 23 is configured to be turned on only when the voltage of the insertion detection terminal CC is higher than the voltage bus terminal VUBS; otherwise, the insertion detection module 23 is turned off.

[0133] exist Figure 2 In the example, the VCC1 pin of the power supply 21 is coupled to the first switch M1. For example, the power supply 21 is a DC power supply or an AC power supply.

[0134] exist Figure 2 In the example, the Type A port power supply circuit 2 is coupled to a Type A interface 41 of a Type A to Type C cable 4, wherein:

[0135] The voltage input terminal 411 of the above-mentioned Type A interface 41 can be understood as the voltage bus connection line 411 of the Type A to Type C cable 4;

[0136] The ground terminal 412 of the Type A interface 41 mentioned above can be understood as the ground wire 412 of the Type A to Type C cable 4 .

[0137] In a preferred implementation, the voltage output terminal VCC1 of the power supply 21 is used to supply power to the voltage input terminal 411 of the Type A interface 41 and the voltage input terminal VCC2 of the power supply control chip 22 .

[0138] It can be seen that the present invention provides a first set voltage to the insertion detection end through the power supply control chip, and the insertion detection module is turned on only when the voltage of the insertion detection end is higher than the voltage bus end. The insertion detection end of the power supply control chip is coupled to the voltage bus end of the power supply control chip through the insertion detection module, so that when the power receiving device is connected, the insertion detection end of the power supply control chip supplies power to its voltage bus end. Then, the power supply control chip can detect that the voltage value of the insertion detection end is lower than the first set voltage, and the power supply control chip will determine that there is a power receiving device connected and control the first switch to be turned on, and the Type A port power supply circuit can normally exit the zero power consumption state; when the power receiving device is fully charged or unplugged, the insertion detection end of the power supply control chip will not supply power to its voltage bus end, and the power supply control chip will detect that the current value of the first current flowing through the ground end of the Type A interface is lower than the first current threshold, and the power supply control chip determines that the power receiving device is unplugged or fully charged and controls the first switch to be disconnected, and the Type A port power supply circuit can normally enter the zero power consumption state. Therefore, the Type A port power supply circuit of the present invention realizes the zero-watt standby function.

[0139] As an example, the first switch M1 is a power MOS tube, a first end of the power MOS tube is coupled to the power supply 21, a second end of the power MOS tube is coupled to the voltage input end 411 of the Type A interface 41, and a control end of the power MOS tube is coupled to the power control end GATE of the power control core 22.

[0140] Figure 2 In the example, the power MOS tube is an NMOS tube. Of course, the present invention is not limited to this, and it can also be any circuit or element such as a triode that can realize the shutdown and conduction functions.

[0141] In one embodiment, if Figure 3 As shown, the power supply control chip 23 also includes a comparison module 221, a micro control unit 222 and a current detection module 223; the first input end of the comparison module 221 is coupled to the insertion detection end CC, the second input end of the comparison module 221 receives the first setting voltage V1 output by the power supply control chip 22, and the output end of the comparison module 221 sends a first signal to the first end of the micro control unit 222, and the first signal includes a comparison result between the voltage value of the insertion detection end CC and the voltage value of the first setting voltage V1;

[0142] The first end of the current detection module 223 is coupled to the current detection terminal CS, and the second end of the current detection module 223 sends a second signal to the second end of the microcontroller 222, wherein the second signal includes the current value information of the first current;

[0143] In a specific implementation, the current detection module 223 is a current mirror;

[0144] The third terminal of the micro control unit 222 is coupled to the control terminal of the first switch M1;

[0145] The micro control unit 222 is configured as follows:

[0146] When the comparison result indicates that the voltage value of the insertion detection terminal CC is lower than the first set voltage V1, the micro control unit 222 controls the first switch M1 to be turned on;

[0147] When the current value signal of the first current indicates that the current value of the first current is less than the first current threshold, the micro control unit 222 controls the first switch M1 to be turned off.

[0148] As a preferred solution of this embodiment, Figure 4 As shown, the power supply control chip 22 further includes a charge pump 224 , a first terminal of the charge pump 224 is coupled to the third terminal of the micro control unit 22 , and a second terminal of the charge pump 224 is coupled to the control terminal of the first switch M1 .

[0149] Regarding the insertion detection module 23, in one embodiment, please refer to Figure 5 The insertion detection module 23 is a diode, an anode of the diode is coupled to the insertion detection terminal CC of the power supply control chip 22 , and a cathode of the diode is coupled to the voltage bus terminal VUBS of the power supply control chip 22 .

[0150] Of course, the present invention is not limited thereto. In another embodiment, please refer to Figure 6 The insertion detection module 23 is a MOS tube, a first end of the MOS tube is coupled to the insertion detection terminal CC of the power supply control chip 22, a second end of the MOS tube is coupled to the voltage bus terminal VBUS of the power supply control chip 22, and a control end of the MOS tube is grounded.

[0151] In other embodiments, please refer to Figure 7 The insertion detection module 23 is a transistor, a first end of the transistor is coupled to the insertion detection terminal CC of the power supply control chip 22, a base of the transistor is coupled to the voltage bus terminal VBUS of the power supply control chip 22, and a second end of the transistor is grounded.

[0152] It should be understood that the insertion detection module of the present invention is not limited thereto, and may also be a MESFET, a HEMT, an IGBT, etc., or may be a Figure 8The circuit shown, as long as it can realize a module that is turned on only when the voltage of the insertion detection terminal CC is higher than the voltage bus terminal VUBS, is within the protection scope of the present invention.

[0153] like Figure 8 As shown, specifically, the insertion detection module 23 includes a second switch M2 and a first resistor R1;

[0154] The insertion detection terminal CC of the power supply control chip 22 is coupled to the voltage bus terminal VBUS through the first resistor R1 and the second switch M2 in sequence, and the second switch M2 control terminal GPIO of the power supply control chip 22 is coupled to the control terminal of the second switch M2;

[0155] The power supply control chip 22 is further configured as:

[0156] Provide a first set voltage V1 to the insertion detection terminal CC, and when the voltage value of the insertion detection terminal CC is lower than the first set voltage V1, control the first switch to be turned on and the second switch to be turned off;

[0157] The magnitude of the first current flowing through the ground terminal 412 of the Type A interface 41 is detected in real time, and when the current value of the first current is less than the first current threshold, the first switch M1 is controlled to be disconnected and the second switch M2 is controlled to be turned on.

[0158] As a preferred embodiment, please refer to Fig. 9 , the insertion detection end includes a first sub-insertion detection end CS1, a second sub-insertion detection end CS2 and a third sub-insertion detection end CS3;

[0159] The first sub-insertion detection terminal CS1 is coupled to the first end of the first resistor R1 and the first input end of the comparison module 21, the second end of the first resistor R1 is coupled to the voltage bus terminal VUBS through the second switch M2, the second sub-insertion detection terminal CS2 is coupled to the first end of the first resistor R1, and the third sub-insertion detection terminal CS3 is connected to the second end of the first resistor R2;

[0160] The power supply control chip 22 is further configured as:

[0161] A first set voltage V1 is provided to the first sub-insertion detection terminal CS1, and the current of the first resistor R1 is detected in real time through the second sub-insertion detection terminal CS2 and the third sub-insertion detection terminal CS3. When a current signal exists in the path where the first resistor R1 is located, a voltage value of the first sub-insertion detection terminal CS1 is obtained, and when the voltage value of the first sub-insertion detection terminal CS1 is lower than the first set voltage V1, the first switch M1 is controlled to be turned on and the second switch M2 is turned off;

[0162] The magnitude of the first current flowing through the ground terminal 412 of the Type A interface 41 is detected in real time, and when the current value of the first current is less than the first current threshold, the first switch M1 is controlled to be disconnected and the second switch M2 is controlled to be turned on.

[0163] In actual use, Figure 5 As shown, the Type A port power supply circuit 2 further includes a third resistor R3; the current detection terminal CS includes a first sub-current detection terminal CSN and a second sub-current detection terminal CSP;

[0164] The first end of the third resistor R3 is coupled to the first sub-current detection terminal CSN and the ground terminal GND1 of the power supply control chip 23;

[0165] A second end of the third resistor R3 is coupled to the second sub-current detection end CSP and the ground end 412 of the Type A interface 41 .

[0166] In actual use, the pin inserted into the detection end may be a detection pin CC, and the power supply control chip 22 provides the first set voltage V1 to the detection pin CC.

[0167] In other embodiments, Fig.10 As shown, the insertion detection end of the power supply control chip 22 may also be a common interrupt pin INT, and the power supply control chip 22 provides the first set voltage V1 to the common interrupt pin INT;

[0168] In this case, in one implementation, Fig.11 As shown, the first set voltage V1 of the common interrupt pin INT is provided by the power supply control chip 22 through the external power supply terminal VDD;

[0169] exist Fig.11 In the example, the Type A port power supply circuit 2 further includes a second resistor R2, and the external power supply terminal VDD is coupled to the common interrupt pin INT through the second resistor R2 to provide the first set voltage V1 to the common interrupt pin INT.

[0170] In summary, the present invention provides a first set voltage to the insertion detection end through the power supply control chip, and the insertion detection module is turned on only when the voltage of the insertion detection end is higher than the voltage bus end. When the powered device is inserted, the voltage of the voltage bus end of the power supply control chip is pulled down, and the voltage of the voltage bus end of the power supply control chip is lower than the insertion detection end of the power supply control chip. The insertion detection module is turned on, and the voltage of the insertion detection end of the power supply control chip is pulled to lower than the first set voltage by the voltage bus end of the power supply control chip. The output end of the comparison module of the power supply control chip sends a first signal to the micro control unit, and the comparison result of the first signal is characterized by the voltage value of the insertion detection end of the power supply control chip being lower than the first set voltage, and the micro control unit controls the first switch to turn on; when the powered device is unplugged or fully charged, the voltage of the voltage bus end of the power supply control chip is higher, the insertion detection module is not turned on, the voltage of the insertion detection end of the power supply control chip will not be pulled down, and the current detection module sends a second signal to the micro control unit, and the current value of the second signal is characterized by the current value of the first current being less than the first current threshold, and the micro control unit controls the first switch to turn off. Thus, the Type A port power supply device can normally enter and exit the zero power consumption state.

[0171] In addition, if Fig.12 As shown, an embodiment of the present invention further provides an electronic device, including the above-mentioned Type A port power supply circuit 2 and the Type A to Type C cable 4,

[0172] The Type A to Type C line 4 includes a voltage bus connection line 411 and a ground line 412; the voltage bus terminal VUBS of the power supply control chip 22 is coupled to the voltage bus connection line 411, the insertion detection terminal CC of the power supply control chip 22 is coupled to the voltage bus connection line 411 through the insertion detection module 23, and the first sub-current detection terminal CSN of the power supply control chip 22 is coupled to the ground line 412 through the third resistor R3.

[0173] In such Fig.12 In the example shown, the power supply control chip 22 further includes a first communication protocol terminal D+ and a second communication protocol terminal D-; the Type A to Type C cable 4 further includes a first protocol transmission line 413 and a second protocol transmission line 414;

[0174] The first protocol transmission line 413 and the second protocol transmission line 414 are coupled to the first communication protocol terminal D+ and the second communication protocol terminal D−, respectively.

[0175] In such Fig.10In the example shown, the Type A port power supply circuit 2 in the power supply device is coupled to the powered device 5 via the Type C interface 42 of the Type A to Type C cable 4 .

[0176] Now, taking the first set voltage of 3.3V as an example, the working effect of the Type A port power supply circuit 2 is described:

[0177] When the powered device 5 is connected, the voltage of the voltage bus terminal VBUS of the Type A port power supply circuit 2 is pulled down. When the voltage of the voltage bus terminal VBUS is lower than the second set voltage, the insertion detection terminal CC of the power supply control chip 22 supplies power to the voltage bus terminal VBUS of the power supply control chip 22 through the insertion detection module 23. At this time, the voltage of the insertion detection terminal CC of the power supply control chip 22 is pulled down. When the power supply control chip 22 detects that the voltage of the insertion detection terminal CC is lower than the first set voltage V1, the power supply control chip 22 controls the first switch M1 to turn on, and the Type A port power supply circuit 2 starts to supply power to the powered device 5, and the Type A port power supply circuit 2 exits the zero power consumption state. When the powered device 5 is unplugged, the voltage bus terminal VUBS of the power supply control chip 22 of the Type A port power supply circuit 2 is suspended, which is equivalent to a circuit break. The voltage of the voltage bus terminal VUBS of the power supply control chip 22 is relatively high, and the insertion detection module 23 is cut off. The power supply control chip 22 detects that the voltage of the insertion detection terminal CC is 3.3V, and the voltage of the insertion detection terminal CC of the power supply control chip 22 is not pulled down. The power supply control chip 22 controls the first switch M1 to turn off. At this time, the Type A port power supply circuit 2 enters a zero power consumption state;

[0178] Wherein, the second setting voltage may be less than the first setting voltage;

[0179] In a specific implementation, the second set voltage may also be set to be significantly lower than the first set voltage. For example, when the first set voltage is 3.3V, the second set voltage may be 3.3V, that is, the second set voltage may be set to 2 / 3 of the first set voltage.

[0180] In summary, the present invention is in a manner that the power supply is coupled to the voltage input terminal of the Type A interface through the first switch, the voltage bus terminal of the power supply control chip is coupled to the voltage input terminal of the Type A interface, the power supply control terminal is coupled to the control terminal of the first switch, the insertion detection terminal is coupled to the voltage bus terminal through the insertion detection module, and the current detection terminal is coupled to the ground terminal of the Type A interface. The power supply control chip provides a first set voltage to the insertion detection terminal and utilizes the characteristic that the insertion detection module is only turned on when the voltage of the insertion detection terminal is higher than the voltage bus terminal. When the voltage value of the insertion detection terminal is lower than the first set voltage, it is judged that a powered device is connected and the first switch is controlled to be turned on, and the Type A port power supply circuit exits the zero power consumption state; when the power supply control chip detects that the current value of the first current of the ground terminal of the Type A interface is lower than the first current threshold, it is judged that the powered device is unplugged or fully charged, and the first switch is controlled to be disconnected, and the Type A port power supply circuit enters the zero power consumption state. Therefore, the Type A port power supply circuit of the present invention realizes the zero-watt standby function.

[0181] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.

Claims

1. A Type A port power supply circuit, It is characterized in that include: A power supply, coupled to a voltage input terminal of the Type A interface through a first switch; The voltage bus terminal of the power supply control chip is coupled to the voltage input terminal of the Type A interface, the power supply control terminal of the power supply control chip is coupled to the control terminal of the first switch, the insertion detection terminal of the power supply control chip is coupled to the voltage bus terminal through the insertion detection module, and the current detection terminal of the power supply control chip is coupled to the ground terminal of the Type A interface; The power supply control chip is configured as follows: providing a first set voltage to the insertion detection end, and controlling the first switch to be turned on when the voltage value of the insertion detection end is lower than the first set voltage; detecting in real time the magnitude of a first current flowing through a ground terminal of the Type A interface, and controlling the first switch to be disconnected when the current value of the first current is less than a first current threshold; The insertion detection module is configured to be turned on only when the voltage at the insertion detection terminal is higher than that at the voltage bus terminal; otherwise, the insertion detection module is turned off.

2. A Type A port power supply circuit according to claim 1, It is characterized in that The power supply control chip includes a comparison module, a current detection module and a micro control unit; The first input terminal of the comparison module is coupled to the insertion detection terminal, the second input terminal of the comparison module receives the first set voltage output by the power supply control chip, and the output terminal of the comparison module sends a first signal to the first terminal of the micro control unit, wherein the first signal includes a comparison result between the voltage value of the insertion detection terminal and the voltage value of the first set voltage; The first end of the current detection module is coupled to the current detection end, and the second end of the current detection module sends a second signal to the second end of the micro control unit, wherein the second signal includes current value information of the first current; The third terminal of the micro control unit is coupled to the control terminal of the first switch; The micro control unit is configured as follows: When the comparison result indicates that the voltage value of the insertion detection terminal is lower than the first set voltage, the micro control unit controls the first switch to be turned on; When the current value signal of the first current indicates that the current value of the first current is less than a first current threshold, the micro control unit controls the first switch to be turned off.

3. A Type A port power supply circuit according to claims 1 to 2, It is characterized in that The insertion detection module includes a diode, an anode of the diode is coupled to the insertion detection terminal of the power supply control chip, and a cathode of the diode is coupled to the voltage bus terminal of the power supply control chip.

4. A Type A port power supply circuit according to claims 1 to 2, It is characterized in that The insertion detection module includes a MOS tube, a first end of the MOS tube is coupled to the insertion detection end of the power supply control chip, a second end of the MOS tube is coupled to the voltage bus end of the power supply control chip, and a control end of the MOS tube is grounded.

5. A Type A port power supply circuit according to claims 1 to 2, It is characterized in that The insertion detection module includes a transistor, a first end of the transistor is coupled to the insertion detection end of the power supply control chip, a base of the transistor is coupled to the voltage bus end of the power supply control chip, and a second end of the transistor is grounded.

6. A Type A port power supply circuit according to claims 1-2, It is characterized in that The insertion detection module includes a second switch and a first resistor; The insertion detection terminal of the power supply control chip is coupled to the voltage bus terminal through the first resistor and the second switch in sequence, and the second switch control terminal of the power supply control chip is coupled to the control terminal of the second switch; The power supply control chip is further configured as: providing a first set voltage to the insertion detection end, and when the voltage value of the insertion detection end is lower than the first set voltage, controlling the first switch to be turned on and the second switch to be turned off; The magnitude of a first current flowing through a ground terminal of the Type A interface is detected in real time, and when the current value of the first current is less than a first current threshold, the first switch is controlled to be disconnected and the second switch is controlled to be turned on.

7. A Type A port power supply circuit according to claim 6, It is characterized in that The insertion detection end includes a first sub-insertion detection end, a second sub-insertion detection end and a third sub-insertion detection end; The first sub-insertion detection terminal is coupled to the first end of the first resistor and the first input end of the comparison module, the second end of the first resistor is coupled to the voltage bus terminal through the second switch, the second sub-insertion detection terminal is coupled to the first end of the first resistor, and the third sub-insertion detection terminal is coupled to the second end of the first resistor; The power supply control chip is further configured as: providing a first set voltage to the first sub-insertion detection end, and detecting the current of the first resistor in real time through the second sub-insertion detection end and the third sub-insertion detection end, obtaining the voltage value of the first sub-insertion detection end when there is a current signal in the path where the first resistor is located, and controlling the first switch to be turned on and the second switch to be turned off when the voltage value of the first sub-insertion detection end is lower than the first set voltage; The magnitude of a first current flowing through a ground terminal of the Type A interface is detected in real time, and when the current value of the first current is less than a first current threshold, the first switch is controlled to be disconnected and the second switch is controlled to be turned on.

8. The Type A port power supply circuit according to claim 1, It is characterized in that The insertion detection end of the power supply control chip is a detection pin.

9. The Type A port power supply circuit according to claim 1, It is characterized in that The insertion detection terminal of the power supply control chip is a common interrupt pin.

10. A Type A port power supply circuit according to claim 9, It is characterized in that The power supply control chip further includes an external power supply terminal, the Type A port power supply circuit further includes a second resistor, and the external power supply terminal is coupled to the common interrupt pin through the second resistor; A first end of the second resistor is coupled to an external power supply end of the power supply control chip, and a second end of the second resistor is coupled to an insertion detection end of the power supply control chip; The external power supply end is configured to provide a first set voltage to the insertion detection end.

11. A Type A port power supply circuit according to claim 2, It is characterized in that The power supply control chip further includes a charge pump, a first end of the charge pump is coupled to the third end of the micro control unit, and a second end of the charge pump is coupled to the control end of the first switch.

12. The Type A port power supply circuit according to claim 1, It is characterized in that The Type A port power supply circuit further includes a third resistor; the current detection terminal includes a first sub-current detection terminal and a second sub-current detection terminal; The first end of the third resistor is coupled to the first sub-current detection end and the ground end of the power supply control chip; The second end of the third resistor is coupled to the second sub-current detection end and the ground end of the Type A interface.

13. The Type A port power supply circuit according to claim 1, It is characterized in that The first switch is a power MOS tube, a first end of the power MOS tube is coupled to the power supply, a second end of the power MOS tube is coupled to the voltage input end of the Type A interface, and a control end of the power MOS tube is coupled to the power supply control end of the power supply control chip.

14. The Type A port power supply circuit according to claim 1, It is characterized in that The power supply is a DC power supply or an AC power supply.

15. A power supply device, It is characterized in that The device comprises a Type A port power supply circuit and a Type A to Type C cable as claimed in any one of claims 1 to 16, wherein the Type A to Type C cable comprises a voltage bus connection line and a ground line; The voltage bus end of the power supply control chip is coupled to the voltage bus connection line of the Type A interface of the Type A to Type C cable, the insertion detection end of the power supply control chip is coupled to the voltage bus connection line through an insertion detection module, and the current detection end of the power supply control chip is coupled to the ground line through a third resistor.

16. A power supply device according to claim 15, It is characterized in that The power supply control chip of the Type A port power supply circuit also includes a first communication protocol end and a second communication protocol end; the Type A to Type C cable also includes a first protocol transmission line and a second protocol transmission line; The first protocol transmission line and the second protocol transmission line are coupled to the first communication protocol end and the second communication protocol end respectively.

17. A power supply device according to claim 15, It is characterized in that When the powered device is connected, the power supply circuit in the power supply device is coupled to the powered device via the Type A to Type C cable.