Type A port power supply circuit and electronic equipment
The Type A port power circuit addresses the lack of zero-watt standby by using a supply control circuit with detection modules to manage power based on voltage and current thresholds, achieving efficient power conservation.
Patent Information
- Application Number
- CN202421775298.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-24
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2034-07-24
AI Technical Summary
The Type A port power supply circuit cannot realize the zero-watt standby function because the lack of power-on protocol wire (CC wire), making it impossible to determine whether the zero-watt standby is required.
A Type A port power supply circuit is designed, and the set voltage is provided to the insertion detection end through the power supply control circuit. The insertion detection module is only turned on when the voltage at the insertion detection end is higher than the voltage bus terminal. Combined with the current detection module to detect the ground terminal current, realize the insertion and removal of the power receiving equipment, control switches on or off, and realize zero-watt standby.
It realizes the zero-watt standby function of the Type A port power supply circuit when plugging or unplugging the power receiving device, reducing standby energy consumption.
Smart Images

Figure CN223109684U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of charging, in particular to a Type A port power supply circuit and an electronic device. Background Art
[0002] The zero-watt standby function can stop power supply when the powered device is unplugged or fully charged, reducing standby power consumption and saving electrical energy.
[0003] Currently, the zero-watt standby function is only common in the Type C port power supply circuit of the Type C to Type C cable. This is because the power-on protocol line (CC line) is configured on the Type C to Type C cable, and the Type C port power supply circuit can determine whether zero-watt standby is required. However, 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 implement the zero-watt standby function.
[0004] Therefore, how to enable the Type A port power supply circuit to have the zero-watt standby function has become a technical problem that the industry urgently needs to solve at present. Summary of the Utility Model
[0005] The utility model provides a Type A port power supply circuit and an electronic device, which solve the technical problem that the Type A port power supply circuit cannot implement the zero-watt standby function.
[0006] According to the first aspect of the utility model, a Type A port power supply circuit is provided, including:
[0007] A power supply source, coupled to the voltage input terminal of the Type A interface through a first switch;
[0008] The voltage bus terminal of the power supply control circuit is coupled to the voltage input terminal of the Type A interface. The power supply control terminal of the power supply control circuit is coupled to the control terminal of the first switch. The insertion detection terminal of the power supply control circuit is coupled to the voltage bus terminal through an insertion detection module. The current detection terminal of the power supply control circuit is coupled to the ground terminal of the Type A interface;
[0009] The power supply control circuit includes a comparison module, a current detection module, and a micro control unit;
[0010] 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 circuit. The output terminal of the comparison module sends a first signal to the first terminal of the micro control unit. The first signal includes the comparison result of the voltage value at the insertion detection terminal and the voltage value of the first set voltage;
[0011] 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 microcontroller unit. The second signal includes the current value information of the first current flowing through the ground end of the Type A interface;
[0012] The third end of the microcontroller unit is coupled to the control end of the first switch.
[0013] Optionally, the insertion detection module includes a diode. The anode of the diode is coupled to the insertion detection end of the power supply control circuit, and the cathode of the diode is coupled to the voltage bus end of the power supply control circuit.
[0014] Optionally, the insertion detection module includes a MOS transistor. The first end of the MOS transistor is coupled to the insertion detection end of the power supply control circuit, the second end of the MOS transistor is coupled to the voltage bus end of the power supply control circuit, and the control end of the MOS transistor is grounded.
[0015] Optionally, the insertion detection module includes a triode. The first end of the triode is coupled to the insertion detection end of the power supply control circuit, the base of the triode is coupled to the voltage bus end of the power supply control circuit, and the second end of the triode is grounded.
[0016] Optionally, the insertion detection module includes a second switch and a first resistor;
[0017] The insertion detection end of the power supply control circuit is sequentially coupled to the voltage bus end through the first resistor and the second switch, and the second switch control end of the power supply control circuit is coupled to the control end of the second switch.
[0018] 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;
[0019] The first sub-insertion detection end 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 end through the second switch. The second sub-insertion detection end is coupled to the first end of the first resistor, and the third sub-insertion detection end is coupled to the second end of the first resistor;
[0020] The second sub-insertion detection end and the third sub-insertion detection end are coupled to the first input end of the comparison module.
[0021] Optionally, the insertion detection end of the power supply control circuit is a detection pin.
[0022] Optionally, the insertion detection end of the power supply control circuit is a general interrupt pin.
[0023] Optionally, the power supply control circuit further includes an external power supply terminal, and the Type A port power supply circuit further includes a second resistor. The external power supply terminal is coupled to the general interrupt pin through the second resistor;
[0024] The first end of the second resistor is coupled to the external power supply terminal of the power supply control circuit, and the second end of the second resistor is coupled to the insertion detection terminal of the power supply control circuit.
[0025] Optionally, the power supply control circuit further includes a charge pump. The first end of the charge pump is coupled to the third end of the micro control unit, and the second end of the charge pump is coupled to the control end of the first switch.
[0026] Optionally, 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;
[0027] The first end of the third resistor is coupled to the first sub-current detection terminal and the ground terminal of the power supply control circuit;
[0028] The second end of the third resistor is coupled to the second sub-current detection terminal and the ground terminal of the Type A interface.
[0029] Optionally, the first switch is a power MOS transistor. The first end of the power MOS transistor is coupled to the power supply, the second end of the power MOS transistor is coupled to the voltage input terminal of the Type A interface, and the control end of the power MOS transistor is coupled to the power supply control terminal of the power supply control circuit.
[0030] Optionally, the power supply is a direct current power supply or an alternating current power supply.
[0031] According to the second aspect of the present invention, an electronic device is provided, including the Type A port power supply circuit and the Type A to Type C cable described in any one of the above. The Type A to Type C cable includes a voltage bus connection line and a ground wire;
[0032] The voltage bus terminal of the power supply control circuit is coupled to the voltage bus connection line of the Type A interface of the Type A to Type C cable. The insertion detection terminal of the power supply control circuit is coupled to the voltage bus connection line through an insertion detection module, and the current detection terminal of the power supply control circuit is coupled to the ground wire through a third resistor.
[0033] Optionally, the power supply control circuit of the Type A port power supply circuit further includes a first communication protocol terminal and a second communication protocol terminal; the Type A to Type C cable further includes a first protocol transmission line and a second protocol transmission line;
[0034] The first protocol transmission line and the second protocol transmission line are respectively coupled to the first communication protocol end and the second communication protocol end.
[0035] Optionally, when the power receiving device is connected, the Type A port power supply circuit in the electronic device is coupled to the power receiving device through the Type A to Type C cable.
[0036] Compared with the prior art, the technical solution of the embodiment of the present utility model has the following beneficial effects:
[0037] The present utility model provides a Type A port power supply circuit and an electronic device. A power supply is coupled to a voltage input end of a Type A interface through a first switch. A voltage bus end of a power supply control circuit is coupled to the voltage input end of the Type A interface. A power supply control end thereof is coupled to a control end of the first switch. An insertion detection end thereof is coupled to the voltage bus end through an insertion detection module. A current detection end thereof is coupled to a ground end of the Type A interface. The power supply control circuit provides a first set voltage to the insertion detection end. The insertion detection module is turned on only when the voltage at the insertion detection end is higher than the voltage at the voltage bus end. When the voltage value at the insertion detection end is lower than the first set voltage, the power supply control circuit determines that a power receiving device is connected and controls the first switch to turn on, and the Type A port power supply circuit exits the zero-power consumption state. When the power supply control circuit detects that the current value of a first current at the ground end of the Type A interface is lower than a first current threshold, it determines that the power receiving device is unplugged or fully charged, and controls the first switch to turn off, 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 utility model realizes the zero-watt standby function. Description of the Drawings
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present utility model or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present utility model. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0039] Figure 1 It is a structural schematic diagram of a Type C port power supply circuit of the prior art different from the present utility model;
[0040] Figure 2 It is a structural schematic diagram of a first implementation manner of a Type A port power supply circuit of the present utility model;
[0041] Figure 3It is a schematic diagram of the second implementation of a Type A port power supply circuit of the present utility model;
[0042] Figure 4 It is a schematic diagram of the third implementation of a Type A port power supply circuit of the present utility model;
[0043] Figure 5 It is a schematic diagram of the fourth implementation of a Type A port power supply circuit of the present utility model;
[0044] Figure 6 It is a schematic diagram of the fifth implementation of a Type A port power supply circuit of the present utility model;
[0045] Figure 7 It is a schematic diagram of the sixth implementation of a Type A port power supply circuit of the present utility model;
[0046] Figure 8 It is a schematic diagram of the seventh implementation of a Type A port power supply circuit of the present utility model;
[0047] Figure 9 It is a schematic diagram of the eighth implementation of a Type A port power supply circuit of the present utility model;
[0048] Figure 10 It is a schematic diagram of the ninth implementation of a Type A port power supply circuit of the present utility model;
[0049] Figure 11 It is a schematic diagram of an electronic device in an embodiment of the present utility model.
[0050] Explanation of reference numerals:
[0051] 1 - Type C port power supply circuit;
[0052] 2 - Type A port power supply circuit;
[0053] 10 - Power source of the Type C port power supply circuit;
[0054] 11 - Power supply control circuit of the Type C port power supply circuit;
[0055] 21 - Power source of the Type A port power supply circuit;
[0056] 22 - Power supply control circuit of the Type A port power supply circuit;
[0057] 221 - Comparison module;
[0058] 222 - Micro control unit;
[0059] 223 - Current detection module;
[0060] 224 - Charge pump;
[0061] 23 - Insertion detection module;
[0062] 3 - Type C to Type C cable;
[0063] 31 - The first Type C interface of the Type C to Type C cable;
[0064] 32 - The second Type C interface of the Type C to Type C cable;
[0065] 311 - Voltage bus connection line of the Type C to Type C cable;
[0066] 312 - Communication connection line of the Type C to Type C cable;
[0067] 313 - Detection connection line of the Type C to Type C cable;
[0068] 314 - The first protocol transmission line of the Type C to Type C cable;
[0069] 315 - The second protocol transmission line of the Type C to Type C cable;
[0070] 316 - Grounding wire of the Type C to Type C cable;
[0071] 4 - Type A to Type C cable;
[0072] 41 - Type A interface of the Type A to Type C cable;
[0073] 42 - Type C interface of the Type A to Type C cable;
[0074] 411 - Voltage bus connection line of the Type A to Type C cable;
[0075] 412 - Grounding wire of the Type A to Type C cable;
[0076] 413 - The first protocol transmission line of the Type A to Type C cable;
[0077] 414 - The second protocol transmission line of the Type A to Type C cable;
[0078] 5 - Power receiving device
[0079] M1 - First switch;
[0080] M2 - Second switch;
[0081] R1 - The first resistor;
[0082] R2 - The second resistor;
[0083] R3 - The third resistor;
[0084] GATE - The power supply control terminal of the power supply control circuit;
[0085] VBUS - The voltage bus terminal of the power supply control circuit;
[0086] GPIO - The control terminal of the second switch of the power supply control circuit;
[0087] CC1 - The first insertion detection terminal;
[0088] CC2 - The second insertion detection terminal;
[0089] CS1 - The first sub - insertion detection terminal;
[0090] CS2 - The second sub - insertion detection terminal;
[0091] CS3 - The third sub - insertion detection terminal;
[0092] CC - The detection pin;
[0093] INT - The general interrupt pin;
[0094] D+ - The first communication protocol terminal;
[0095] D- - The second communication protocol terminal;
[0096] CS - The current detection terminal;
[0097] CSN - The first sub - current detection terminal;
[0098] CSP - The second sub - current detection terminal;
[0099] VCC1 - The voltage output terminal of the power supply source;
[0100] VCC1 - The voltage input terminal of the power supply control circuit;
[0101] V1 - The first set voltage. Detailed implementation manners
[0102] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0103] In the description and claims of the present utility model and the above-mentioned drawings, the terms "first", "second", "third", "fourth", etc. (if any) are used to distinguish similar objects and do not necessarily describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present utility model described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0104] The technical solution of the present utility model will be described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0105] Before filing this application, the applicant has conducted a full study on the power supply circuit with zero-watt standby function. Please refer to Figure 1 , which shows a schematic diagram of a Type-C port power supply circuit with zero-watt standby function. The Type-C port power supply circuit 1 includes:
[0106] A power supply 10 is coupled to the voltage input terminal 311 of the first Type-C interface 31 through a first switch M1;
[0107] The voltage bus terminal VBUS of the power supply control circuit 11 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 circuit 21 is coupled to the control terminal of the first switch M1. The first insertion detection terminal CC1 and the second insertion detection terminal CC2 of the power supply control circuit 21 are respectively coupled to the first identification terminal 312 and the second identification terminal 313 of the first Type-C interface 31;
[0108] The first identification terminal 312 and the second identification terminal 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;
[0109] Among them, as Figure 1The 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, so as to achieve a fast and reliable connection.
[0110] At the same time, the power supply control circuit 11 can also determine whether a device is 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 circuit 11 controls the first switch M1 to turn off, realizing the zero-watt standby function.
[0111] However, there is no communication connection line 312 or detection connection line 313 in the Type-A to Type-C cable. Therefore, when using the Type-C port power supply circuit as the power supply circuit of the Type-A to Type-C cable, the Type-C port power supply circuit cannot realize the zero-watt standby function.
[0112] In view of this, the present invention creatively proposes a Type-A port power supply circuit, in which a 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 circuit is coupled to the voltage input terminal of the Type-A interface, its power supply control terminal is coupled to the control terminal of the first switch, its insertion detection terminal is coupled to the voltage bus terminal through an insertion detection module, its current detection terminal is coupled to the ground terminal of the Type-A interface, the power supply control circuit provides a first set voltage to the insertion detection terminal, and 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 of the power supply control circuit is lower than the first set voltage, it is determined that a powered device is connected and the first switch is controlled to turn on, and the Type-A port power supply circuit exits the zero-power consumption state; when the power supply control circuit 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 determines that the powered device is unplugged or fully charged, and controls the first switch to turn off, 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.
[0113] Please refer to Figure 2 , an embodiment of the present invention provides a Type-A port power supply circuit 2, wherein,
[0114] A power supply 21 is coupled to the voltage input terminal of the Type-A interface 41 through a first switch M1;
[0115] The voltage bus terminal VBUS of the power supply control circuit 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 circuit 22 is coupled to the control terminal of the first switch M1. The plug detection terminal CC of the power supply control circuit 22 is coupled to the voltage bus terminal VBUS through the plug detection module 23. The current detection terminal CS of the power supply control circuit 22 is coupled to the ground terminal of the Type A interface 41;
[0116] The power supply control circuit 22 is configured to: provide a first set voltage V1 to the plug detection terminal CC, and when the voltage value of the plug detection terminal CC is lower than the first set voltage V1, control the first switch M1 to conduct; the power supply control circuit 22 detects in real time the magnitude of the current value of the first current flowing through the ground terminal of the Type A interface 41, and when the current value of the first current is less than the first current threshold, controls the first switch M1 to turn off;
[0117] The plug detection module 23 is configured to: conduct only when the voltage of the plug detection terminal CC is higher than the voltage bus terminal VBUS; otherwise, the plug detection module 23 is turned off;
[0118] The power supply control circuit 23 further includes a comparison module 221, a micro control unit 222, and a current detection module 223; the first input terminal of the comparison module 221 is coupled to the plug detection terminal CC, the second input terminal of the comparison module 221 receives the first set voltage V1 output by the power supply control circuit 22, and the output terminal of the comparison module 221 sends a first signal to the first terminal of the micro control unit 222. The first signal includes the comparison result of the voltage value of the plug detection terminal CC and the voltage value of the first set voltage V1;
[0119] The first terminal of the current detection module 223 is coupled to the current detection terminal CS, and the second terminal of the current detection module 223 sends a second signal to the second terminal of the micro control unit 222. The second signal includes the current value information of the first current;
[0120] In a specific embodiment, the current detection module 223 is a current mirror;
[0121] The third terminal of the micro control unit 222 is coupled to the control terminal of the first switch M1; the micro control unit 222 is configured to:
[0122] When the comparison result indicates that the voltage value of the plug detection terminal CC is lower than the first set voltage V1, the micro control unit 222 controls the first switch M1 to conduct;
[0123] When the current value signal of the first current is characterized as the current value of the first current being less than the first current threshold, the microcontroller unit 222 controls the first switch M1 to turn off.
[0124] In Figure 2 the example of, the VCC1 pin of the power supply 21 is coupled to the first switch M1. By way of example, the power supply 21 is a DC power supply or an AC power supply.
[0125] In Figure 2 the example of, 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, where:
[0126] 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;
[0127] The ground terminal 412 of the above-mentioned Type A interface 41 can be understood as the ground wire 412 of the Type A to Type C cable 4.
[0128] In a preferred embodiment, 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 circuit 22.
[0129] It can be seen that the present utility model provides a first set voltage to the insertion detection end through the power supply control circuit. The insertion detection module is only turned on when the voltage at the insertion detection end is higher than the voltage bus end. The insertion detection end of the power supply control circuit is coupled to the voltage bus end of the power supply control circuit through the insertion detection module, so that when the power receiving device is connected, the insertion detection end of the power supply control circuit supplies power to its voltage bus end. Then, when the power supply control circuit can detect that the voltage value at the insertion detection end is lower than the first set voltage, the power supply control circuit will determine that there is a power receiving device connected and control the first switch to turn on, and the Type A port power supply circuit can normally exit the zero-power consumption state; when the power receiving device is full or unplugged, the insertion detection end of the power supply control circuit will not supply power to its voltage bus end, and the power supply control circuit will detect 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. The power supply control circuit determines that the power receiving device is unplugged or fully charged and controls the first switch to disconnect, and the Type A port power supply circuit can normally enter the zero-power consumption state. Thus, the zero-watt standby function of the Type A port power supply circuit of the present utility model is realized.
[0130] As an example, the first switch M1 is a power MOS transistor. The first end of the power MOS transistor is coupled to the power supply 21. The second end of the power MOS transistor is coupled to the voltage input terminal 411 of the Type A interface 41. The control end of the power MOS transistor is coupled to the power supply control end GATE of the power supply control core 22.
[0131] Figure 2 In the example of , this power MOS transistor is an NMOS transistor. Of course, the present invention is not limited thereto, and it can also be a triode or any other circuit or component that can realize the functions of turning off and on.
[0132] As a preferred solution of this embodiment, as Figure 3 shown, the power supply control circuit 22 further includes a charge pump 224. The first end of the charge pump 224 is coupled to the third end of the micro control unit 22. The second end of the charge pump 224 is coupled to the control end of the first switch M1.
[0133] Regarding the insertion detection module 23, in one implementation manner, please refer to Figure 4 , the insertion detection module 23 is a diode. The anode of the diode is coupled to the insertion detection terminal CC of the power supply control circuit 22. The cathode of the diode is coupled to the voltage bus terminal VBUS of the power supply control circuit 22.
[0134] Of course, the present invention is not limited thereto. In another implementation manner, please refer to Figure 5 , the insertion detection module 23 is a MOS transistor. The first end of the MOS transistor is coupled to the insertion detection terminal CC of the power supply control circuit 22. The second end of the MOS transistor is coupled to the voltage bus terminal VBUS of the power supply control circuit 22. The control end of the MOS transistor is grounded.
[0135] In other implementation manners, please refer to Figure 6 , the insertion detection module 23 is a triode. The first end of the triode is coupled to the insertion detection terminal CC of the power supply control circuit 22. The base of the triode is coupled to the voltage bus terminal VBUS of the power supply control circuit 22. The second end of the triode is grounded.
[0136] It should be understood that the insertion detection module of the present invention is not limited thereto, and it can also be a MESFET, a HEMT, an IGBT, etc., or a circuit as Figure 7 shown. As long as it can realize a module that conducts only when the voltage at the insertion detection terminal CC is higher than the voltage bus terminal VBUS, it is within the protection scope of the present invention.
[0137] As Figure 7As shown, specifically, the insertion detection module 23 includes a second switch M2 and a first resistor R1;
[0138] The insertion detection terminal CC of the power supply control circuit 22 is sequentially coupled to the voltage bus terminal VBUS through the first resistor R1 and the second switch M2, and the control terminal GPIO of the second switch M2 of the power supply control circuit 22 is coupled to the control terminal of the second switch M2;
[0139] The power supply control circuit 22 is further configured to:
[0140] 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 conduct and the second switch to disconnect;
[0141] Real-time detect the magnitude of the first current flowing through the ground terminal 412 of the Type A interface 41, and when the current value of the first current is less than the first current threshold, control the first switch M1 to disconnect and the second switch M2 to conduct.
[0142] As a preferred embodiment, please refer to Figure 8 , the insertion detection terminal includes a first sub-insertion detection terminal CS1, a second sub-insertion detection terminal CS2, and a third sub-insertion detection terminal CS3;
[0143] The first sub-insertion detection terminal CS1 is coupled to the first end of the first resistor R1 and the first input terminal of the comparison module 21. The second end of the first resistor R1 is coupled to the voltage bus terminal VBUS 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 coupled to the second end of the first resistor R2;
[0144] The power supply control circuit 22 is further configured to:
[0145] Provide a first set voltage V1 to the first sub-insertion detection terminal CS1, and detect the current of the first resistor R1 in real time through the second sub-insertion detection terminal CS2 and the third sub-insertion detection terminal CS3. When there is a current signal in the path where the first resistor R1 is located, obtain the voltage value of the first sub-insertion detection terminal CS1, and when the voltage value of the first sub-insertion detection terminal CS1 is lower than the first set voltage V1, control the first switch M1 to conduct and the second switch M2 to disconnect;
[0146] Real-time detect the magnitude of the first current flowing through the ground terminal 412 of the Type A interface 41, and when the current value of the first current is less than the first current threshold, control the first switch M1 to disconnect and the second switch M2 to conduct.
[0147] In actual use, as Figure 4 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;
[0148] 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 circuit 23;
[0149] The second end of the third resistor R3 is coupled to the second sub-current detection terminal CSP and the ground terminal 412 of the Type A interface 41.
[0150] In actual use, the pin of the above insertion detection terminal can be the detection pin CC, and the power supply control circuit 22 provides the first set voltage V1 to the detection pin CC.
[0151] In other embodiments, as Figure 9 shown, the insertion detection terminal of the power supply control core 22 can also be a general interrupt pin INT, and the power supply control circuit 22 provides the first set voltage V1 to the general interrupt pin INT;
[0152] In this case, in one implementation, as Figure 10 shown, the first set voltage V1 of the general interrupt pin INT is provided by the power supply control circuit 22 through the external power supply terminal VDD;
[0153] In Figure 10 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 general interrupt pin INT through the second resistor R2 to provide the first set voltage V1 to the general interrupt pin INT.
[0154] In summary, the utility model provides a first set voltage to the insertion detection terminal through the power supply control circuit. The insertion detection module is only turned on when the voltage at the insertion detection terminal is higher than the voltage bus terminal. When the powered device is inserted, the voltage at the voltage bus terminal of the power supply control circuit is pulled down. The voltage at the voltage bus terminal of the power supply control circuit is lower than the insertion detection terminal of the power supply control circuit, and the insertion detection module is turned on. The voltage at the insertion detection terminal of the power supply control circuit is pulled by the voltage bus terminal of the power supply control circuit to be lower than the first set voltage. The output terminal of the comparison module of the power supply control circuit sends a first signal to the micro control unit. The comparison result of the first signal indicates that the voltage value at the insertion detection terminal of the power supply control circuit is 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 at the voltage bus terminal of the power supply control circuit is relatively high, the insertion detection module is not turned on, the voltage at the insertion detection terminal of the power supply control circuit will not be pulled down, and the current detection module sends a second signal to the micro control unit. The current value of the second signal indicates that the current value of the first current is 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.
[0155] In addition, as Figure 11 shown, the embodiment of the utility model 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. The Type A to Type C cable 4 includes a voltage bus connection line 411 and a ground line 412;
[0156] The voltage bus terminal VBUS of the power supply control circuit 22 is coupled to the voltage bus connection line 411. The insertion detection terminal CC of the power supply control circuit 22 is coupled to the voltage bus connection line 411 through the insertion detection module 23. The first sub-current detection terminal CSN of the power supply control circuit 22 is coupled to the ground line 412 through the third resistor R3.
[0157] In the example as Figure 11 shown, the power supply control circuit 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;
[0158] The first protocol transmission line 413 and the second protocol transmission line 414 are respectively coupled to the first communication protocol terminal D+ and the second communication protocol terminal D-.
[0159] In the example as Figure 11In the illustrated example, the Type A port power supply circuit 2 in the electronic device is coupled to the power receiving device 5 through the Type C interface 42 of the Type A to Type C cable 4.
[0160] Now, taking the first set voltage as 3.3V as an example, the working effect of the Type A port power supply circuit 2 is described as follows:
[0161] When the power receiving 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 circuit 22 supplies power to the voltage bus terminal VBUS of the power supply control circuit 22 through the insertion detection module 23. At this time, the voltage of the insertion detection terminal CC of the power supply control circuit 22 is pulled down. When the power supply control circuit 22 detects that the voltage of the insertion detection terminal CC is lower than the first set voltage V1, the power supply control circuit 22 controls the first switch M1 to conduct, and the Type A port power supply circuit 2 starts to supply power to the power receiving device 5, and the Type A port power supply circuit 2 exits the zero-power consumption state. When the power receiving device 5 is unplugged, the voltage bus terminal VBUS of the power supply control circuit 22 is floating, which is equivalent to an open circuit. The voltage of the voltage bus terminal VBUS of the power supply control circuit 22 is relatively high, and the insertion detection module 23 is cut off. The power supply control circuit 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 circuit 22 is not pulled down. The power supply control circuit 22 controls the first switch M1 to turn off. At this time, the Type A port power supply circuit 2 enters the zero-power consumption state;
[0162] Among them, the second setting is less than the first set voltage;
[0163] In a specific implementation manner, the second set voltage can also be set to be significantly less than the first set voltage. For example, when the first set voltage is 3.3V, the second set voltage can be 2.2V, that is, the second set voltage can be set to 2 / 3 of the first set voltage.
[0164] In summary, for the power supply of the present utility model, it 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 circuit is coupled to the voltage input terminal of the Type A interface, its power supply control terminal is coupled to the control terminal of the first switch, its insertion detection terminal is coupled to the voltage bus terminal through an insertion detection module, and its current detection terminal is coupled to the ground terminal of the Type A interface. The power supply control circuit provides a first set voltage to the insertion detection terminal and utilizes the characteristic that the insertion detection module conducts only when the voltage at the insertion detection terminal is higher than the voltage at the voltage bus terminal. When the voltage value at the insertion detection terminal is lower than the first set voltage, it determines that a powered device is connected and controls the first switch to conduct, and the Type A port power supply circuit exits the zero-power consumption state. When the power supply control circuit 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 disconnect, 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 utility model realizes the zero-watt standby function.
[0165] Although the present utility model is disclosed as above, the present utility model 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 utility model. Therefore, the protection scope of the present utility model shall be subject to the scope defined by the claims.
Claims
1. A Type A port power supply circuit, characterized in that, Comprising: A power supply, coupled to the voltage input terminal of the Type A interface through a first switch; The voltage bus terminal of the power supply control circuit is coupled to the voltage input terminal of the Type A interface, the power supply control terminal of the power supply control circuit is coupled to the control terminal of the first switch, the plug detection terminal of the power supply control circuit is coupled to the voltage bus terminal through a plug detection module, and the current detection terminal of the power supply control circuit is coupled to the ground terminal of the Type A interface; The power supply control circuit 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 plug detection terminal, the second input terminal of the comparison module receives a first set voltage output by the power supply control circuit, and the output terminal of the comparison module sends a first signal to the first terminal of the micro control unit. The first signal includes the comparison result of the voltage value at the plug detection terminal and the voltage value of the first set voltage; The first terminal of the current detection module is coupled to the current detection terminal, and the second terminal of the current detection module sends a second signal to the second terminal of the micro control unit. The second signal includes the current value information of a first current flowing through the ground terminal of the Type A interface; The third terminal of the micro control unit is coupled to the control terminal of the first switch.
2. The Type A port power supply circuit according to claim 1, wherein The plug detection module includes a diode, the anode of the diode is coupled to the plug detection terminal of the power supply control circuit, and the cathode of the diode is coupled to the voltage bus terminal of the power supply control circuit.
3. The Type A port power supply circuit according to claim 1, characterized in that The plug detection module includes a MOS transistor, the first terminal of the MOS transistor is coupled to the plug detection terminal of the power supply control circuit, the second terminal of the MOS transistor is coupled to the voltage bus terminal of the power supply control circuit, and the control terminal of the MOS transistor is grounded.
4. The Type A port power supply circuit according to claim 1, wherein The plug detection module includes a triode, the first terminal of the triode is coupled to the plug detection terminal of the power supply control circuit, the base of the triode is coupled to the voltage bus terminal of the power supply control circuit, and the second terminal of the triode is grounded.
5. The Type A port power supply circuit according to claim 1, characterized in that The plug detection module includes a second switch and a first resistor; The plug detection terminal of the power supply control circuit is sequentially coupled to the voltage bus terminal through the first resistor and the second switch, and the second switch control terminal of the power supply control circuit is coupled to the control terminal of the second switch.
6. The Type A port power supply circuit according to claim 5, wherein, The plug detection terminal includes a first sub-plug detection terminal, a second sub-plug detection terminal, and a third sub-plug detection terminal; The first sub-plug detection terminal is coupled to the first terminal of the first resistor and the first input terminal of the comparison module. The second terminal of the first resistor is coupled to the voltage bus terminal through the second switch. The second sub-plug detection terminal is coupled to the first terminal of the first resistor, and the third sub-plug detection terminal is coupled to the second terminal of the first resistor.
7. The power supply circuit for Type A port according to claim 1, wherein The plug detection terminal of the power supply control circuit is a detection pin.
8. The Type A port power supply circuit according to claim 1, wherein The plug detection terminal of the power supply control circuit is a general interrupt pin.
9. The Type A port power supply circuit according to claim 8, wherein The power supply control circuit further includes an external power supply terminal, and the Type A port power supply circuit further includes a second resistor. The external power supply terminal is coupled to the general interrupt pin through the second resistor; The first end of the second resistor is coupled to the external power supply terminal of the power supply control circuit, and the second end of the second resistor is coupled to the insertion detection terminal of the power supply control circuit.
10. The Type A port power supply circuit according to claim 1, wherein The power supply control circuit further includes a charge pump. The first end of the charge pump is coupled to the third end of the micro control unit, and the second end of the charge pump is coupled to the control terminal of the first switch.
11. The Type A port power supply circuit according to claim 1, 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 terminal and the ground terminal of the power supply control circuit; The second end of the third resistor is coupled to the second sub-current detection terminal and the ground terminal of the Type A interface.
12. The Type A port power supply circuit according to claim 1, wherein The first switch is a power MOS transistor. The first end of the power MOS transistor is coupled to the power supply source, the second end of the power MOS transistor is coupled to the voltage input terminal of the Type A interface, and the control terminal of the power MOS transistor is coupled to the power supply control terminal of the power supply control circuit.
13. The Type A port power supply circuit according to claim 1, wherein The power supply source is a DC power supply or an AC power supply.
14. An electronic device, characterized in that, Comprising the Type A port power supply circuit according to any one of claims 1 to 13 and a Type A to Type C cable. The Type A to Type C cable includes a voltage bus connection line and a ground connection line; The voltage bus terminal of the power supply control circuit is coupled to the voltage bus connection line of the Type A interface of the Type A to Type C cable. The insertion detection terminal of the power supply control circuit is coupled to the voltage bus connection line through an insertion detection module. The current detection terminal of the power supply control circuit is coupled to the ground connection line through a third resistor.
15. An electronic device according to claim 14, characterized in that, The power supply control circuit of the Type A port power supply circuit further includes a first communication protocol terminal and a second communication protocol terminal; the Type A to Type C cable further includes a first protocol transmission line and a second protocol transmission line; The first protocol transmission line and the second protocol transmission line are respectively coupled to the first communication protocol terminal and the second communication protocol terminal.
16. An electronic device according to claim 14, characterized in that, In the case where a power receiving device is connected, the Type A port power supply circuit in the electronic device is coupled to the power receiving device through the Type A to Type C cable.