CN205692122U - A kind of USB Type C interface circuit and control device thereof - Google Patents

A kind of USB Type C interface circuit and control device thereof Download PDF

Info

Publication number
CN205692122U
CN205692122U CN201620453552.2U CN201620453552U CN205692122U CN 205692122 U CN205692122 U CN 205692122U CN 201620453552 U CN201620453552 U CN 201620453552U CN 205692122 U CN205692122 U CN 205692122U
Authority
CN
China
Prior art keywords
switch
interface
power
level signal
state
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201620453552.2U
Other languages
Chinese (zh)
Inventor
刘靖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Huinengtai Semiconductor Technology Co Ltd
Original Assignee
Shenzhen Huinengtai Semiconductor Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Huinengtai Semiconductor Technology Co Ltd filed Critical Shenzhen Huinengtai Semiconductor Technology Co Ltd
Priority to CN201620453552.2U priority Critical patent/CN205692122U/en
Application granted granted Critical
Publication of CN205692122U publication Critical patent/CN205692122U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)

Abstract

The open a kind of USB Type C interface circuit of this utility model and control device thereof.Wherein this circuit includes: power circuit, for output the first voltage;Power controller, for and power circuit connect, and export control signal with control power circuit export the first voltage;Microprocessor, it is connected for the first power pins and power controller with USB Type C interface respectively, and when USB Type C interface does not connect equipment, receive the second voltage that the first power pins from USB Type C interface inputs, make USB detection equipment be in holding state by the first Enable Pin output low level signal, make power controller be in holding state by the second Enable Pin output low level signal.This utility model is by turning off the USB detection equipment under ideal case and power controller, and USB detection equipment and power controller were without constantly work in 24 hours, thus reduced whole circuit standby power consumption.

Description

USBType-C interface circuit and controlling means thereof
Technical Field
The utility model relates to a USB technical field especially relates to a USBType-C interface circuit and controlling means thereof.
Background
The USB specification organization publishes a novel USB interface, namely a USB Type-C interface. Compared with the old USBType-A interface and the USBType-B interface, the novel USBType-C interface has the following characteristics: 1. the interface is thinner and smaller in size; 2. the data transmission speed is higher; 3. the transmission power capability is stronger; 4. and forward and reverse insertion is supported.
Referring to fig. 1, fig. 1 is a schematic diagram of the interface definition of the USBType-C socket. As shown in fig. 1, the interface is divided into two rows, each row having 12 signal pins. Among them, 4 power pins are the power VBUS of USB, which is a4, B4, a9 and B9. In addition, 4 grounding pins are all the USB grounding GND, namely A1, B1, A12 and B12. Two different USBType-C sockets are connected through a Type-C connecting wire. And a Type-C plug is respectively arranged at two ends of the Type-C connecting wire. Pins A4, B4, A9 and B9 in the USBType-C plug are connected together in the connecting line, while pins A1, B1, A12 and B12 in the USB Type-C plug are also connected together in the connecting line. In addition, the USB Type-C socket also has two pins, namely CC1 and CC2, which are respectively used for detecting the Type-C interface and judging the direction of device connection, the Type of the device and other information.
Utility model people are realizing the utility model discloses an in-process discovers prior art and has following problem at least: devices that support such interfaces typically require a special USB Type-C interface controller to detect the plugging and unplugging of the interface, to identify whether the device is plugged or unplugged, and the Type of device. To achieve this function, the USB Type-C interface controller needs to constantly check. Even if no device is plugged in, the USB Type-C interface controller needs to be always detected online for 24 hours, which undoubtedly increases the standby power consumption of the USB Type-C interface controller. Considering that the mobile device is powered by a built-in battery for most of the time, the standby current of the system is strictly required. These extra current consumption during standby are all eliminated from the power saving perspective of the mobile USB system.
SUMMERY OF THE UTILITY MODEL
In order to overcome the technical problem, the utility model aims at providing a USBType-C interface circuit and controlling means thereof to there is the high technical problem of consumption in the standby condition to solve current USBType-C interface circuit or controlling means.
In order to solve the above technical problem, an embodiment of the present invention provides the following technical solution:
in a first aspect, an embodiment of the present invention provides a USB Type-C interface circuit, the circuit includes:
a power circuit for outputting a first voltage;
the power controller is connected with the power circuit and outputs a control signal to control the power circuit to output the first voltage;
the microprocessor is used for being connected with a first power supply pin of the USB Type-C interface and the power controller respectively, receiving a second voltage input from the first power supply pin of the USB Type-C interface when the USB Type-C interface is not connected with an external device, enabling the USB detection device to be in a standby state by outputting a low level signal through the first enabling end, and enabling the power controller to be in the standby state by outputting the low level signal through the second enabling end; when the USB Type-C interface is pulled out by the external equipment, the second voltage is a low level signal input by the microprocessor due to suspension of the first power pin.
Optionally, the circuit further comprises a first switch and a second switch;
the first switch is respectively connected with the power circuit, a second power supply pin, a third power supply pin and a fourth power supply pin of the USB Type-C interface and the microprocessor; the second switch is respectively connected with the power circuit, the microprocessor, a first grounding pin, a second grounding pin, a third grounding pin and a fourth grounding pin of the USB Type-C interface;
when the external equipment is plugged into the USB Type-C interface, the microprocessor receives a first voltage input from a first power pin of the USBType-C interface, outputs a low level signal through a third enabling end, and switches the closed state of the first switch to the open state; the microprocessor switches the off state of the second switch to the on state by outputting a high level signal through a fourth enabling end, and enables the USB detection equipment to start detecting the external equipment by outputting the high level signal through the first enabling end; after the USB detection device identifies the external device, the microprocessor outputs a high level signal through a second enabling end to enable the power controller to start working, and outputs the high level signal through a third enabling end to switch the off state of the first switch to the on state;
or,
when the external equipment pulls out the USB Type-C interface, the microprocessor receives a second voltage input from a first power pin of the USB Type-C interface, outputs a low level signal through a third enabling end, and switches the on state of the first switch to the off state; after the first switch is switched off, the microprocessor outputs a low level signal through a first enabling end to enable the USB detection equipment to be in a standby state, outputs a low level signal through a second enabling end to enable the power controller to be in a standby state, and outputs a low level signal through a fourth enabling end to switch the on state of the second switch to the off state; after the second switch is switched off, the microprocessor outputs a high level signal through a third enabling end to switch the off state of the first switch to the on state.
In a second aspect, an embodiment of the present invention provides a USB Type-C interface circuit, the circuit includes:
a power circuit for outputting a first voltage;
the power controller is connected with the power circuit and outputs a control signal to control the power circuit to output the first voltage;
the microprocessor is used for being connected with a first power pin, a second power pin and the power controller of the USB Type-C interface respectively, receiving a second voltage input from the first power pin or the second power pin of the USB Type-C interface when the USB Type-C interface is not connected with an external device, enabling the USB detection device to be in a standby state by outputting a low level signal through the first enabling end, and enabling the power controller to be in the standby state by outputting a low level signal through the second enabling end; when the external device extracts the USB Type-C interface, the first power pin or the second power pin is suspended to input a low level signal to the microprocessor.
Optionally, the circuit further comprises a first switch and a second switch;
the first switch is respectively connected with the power circuit, a third power supply pin and a fourth power supply pin of the USB Type-C interface and the microprocessor; the second switch is respectively connected with the power circuit, the microprocessor, a first grounding pin, a second grounding pin, a third grounding pin and a fourth grounding pin of the USB Type-C interface;
when the external equipment is plugged into the USB Type-C interface, the microprocessor receives a first voltage input from a first power pin or a second power pin of the USBType-C interface, and outputs a low level signal through a third enabling end to switch the on state of the first switch to the off state; the microprocessor switches the off state of the second switch to the on state by outputting a high level signal through a fourth enabling end, and enables the USB detection equipment to start detecting the external equipment by outputting the high level signal through the first enabling end; after the USB detection device identifies the external device, the microprocessor outputs a high level signal through a second enabling end to enable the power controller to start working, and outputs the high level signal through a third enabling end to switch the off state of the first switch to the on state;
or,
when the external equipment pulls out the USB Type-C interface, the microprocessor receives a second voltage input from a first power pin or a second power pin of the USB Type-C interface, and outputs a low-level signal through a third enabling end to switch the on state of the first switch to the off state; after the first switch is switched off, the microprocessor outputs a low level signal through a first enabling end to enable the USB detection equipment to be in a standby state, outputs a low level signal through a second enabling end to enable the power controller to be in a standby state, and outputs a low level signal through a fourth enabling end to switch the on state of the second switch to the off state; after the second switch is switched off, the microprocessor outputs a high level signal through a third enabling end to switch the off state of the first switch to the on state.
In a third aspect, an embodiment of the present invention provides a USB Type-C interface circuit, the circuit includes:
a power circuit for outputting a first voltage;
the power controller is connected with the power circuit and outputs a control signal to control the power circuit to output the first voltage;
the microprocessor is used for being connected with a first power pin, a second power pin, a third power pin and the power controller of the USB Type-C interface respectively, receiving a second voltage input from the first power pin, the second power pin or the third power pin of the USB Type-C interface when the USB Type-C interface is not connected with an external device, enabling the USB detection device to be in a standby state by outputting a low level signal through the first enabling end, and enabling the power controller to be in the standby state by outputting the low level signal through the second enabling end; when the external device is pulled out of the USB Type-C interface, the second voltage is a low level signal input to the microprocessor by the first power pin, the second power pin or the third power pin due to suspension.
Optionally, the circuit further comprises a first switch and a second switch;
the first switch is respectively connected with the power circuit, a fourth power supply pin of the USB Type-C interface and the microprocessor; the second switch is respectively connected with the power circuit, the microprocessor, a first grounding pin, a second grounding pin, a third grounding pin and a fourth grounding pin of the USB Type-C interface;
when the external equipment is plugged into the USB Type-C interface, the microprocessor receives a first voltage input from a first power pin, a second power pin or a third power pin of the USBType-C interface, and outputs a low level signal through a third enabling end to switch the on state of the first switch to the off state; the microprocessor switches the off state of the second switch to the on state by outputting a high level signal through a fourth enabling end, and enables the USB detection equipment to start detecting the external equipment by outputting the high level signal through the first enabling end; after the USB detection device identifies the external device, the microprocessor outputs a high level signal through a second enabling end to enable the power controller to start working, and outputs the high level signal through a third enabling end to switch the off state of the first switch to the on state;
or,
when the external equipment pulls out the USB Type-C interface, the microprocessor receives a second voltage input from a first power pin, a second power pin or a third power pin of the USB Type-C interface, and outputs a low level signal through a third enabling end to switch the on state of the first switch to the off state; after the first switch is switched off, the microprocessor outputs a low level signal through a first enabling end to enable the USB detection equipment to be in a standby state, outputs a low level signal through a second enabling end to enable the power controller to be in a standby state, and outputs a low level signal through a fourth enabling end to switch the on state of the second switch to the off state; after the second switch is switched off, the microprocessor outputs a high level signal through a third enabling end to switch the off state of the first switch to the on state.
In a fourth aspect, an embodiment of the present invention provides a USB Type-C interface control device, the device includes:
a power circuit for outputting a first voltage;
the power controller is connected with the power circuit and outputs a control signal to control the power circuit to output the first voltage;
the Type-C interface controller is used for being connected with a first detection pin and a second detection pin of the USB Type-C interface and detecting external equipment;
the microprocessor is used for being connected with a first power pin of the USB Type-C interface and the power controller respectively, receiving a second voltage input from the first power pin of the USB Type-C interface when the USB Type-C interface is not connected with an external device, enabling the Type-C interface controller to be in a standby state by outputting a low level signal through a first enabling end, and enabling the power controller to be in the standby state by outputting a low level signal through a second enabling end; when the USB Type-C interface is pulled out by the external equipment, the second voltage is a low level signal input by the microprocessor due to suspension of the first power pin.
Optionally, the apparatus further comprises a first switch and a second switch;
the first switch is respectively connected with the power circuit, a second power supply pin, a third power supply pin and a fourth power supply pin of the USB Type-C interface and the microprocessor; the second switch is respectively connected with the power circuit, the microprocessor, a first grounding pin, a second grounding pin, a third grounding pin and a fourth grounding pin of the USB Type-C interface;
when the external equipment is plugged into the USB Type-C interface, the microprocessor receives a first voltage input from a first power pin of the USBType-C interface, outputs a low level signal through a third enabling end, and switches the closed state of the first switch to the open state; the microprocessor switches the off state of the second switch to the on state by outputting a high level signal through a fourth enabling end, and enables the Type-C interface controller to start detecting the external equipment by outputting the high level signal through the first enabling end; after the Type-C interface controller identifies the external equipment, the microprocessor outputs a high level signal through a second enabling end to enable the power controller to start working, and outputs the high level signal through a third enabling end to switch the off state of the first switch to the on state;
or,
when the external equipment pulls out the USB Type-C interface, the microprocessor receives a second voltage input from a first power pin of the USB Type-C interface, outputs a low level signal through a third enabling end, and switches the on state of the first switch to the off state; after the first switch is switched off, the microprocessor outputs a low level signal through a first enabling end to enable the Type-C interface controller to be in a standby state, outputs a low level signal through a second enabling end to enable the power controller to be in a standby state, and outputs a low level signal through a fourth enabling end to switch the on state of the second switch to the off state; after the second switch is switched off, the microprocessor outputs a high level signal through a third enabling end to switch the off state of the first switch to the on state.
In a fifth aspect, an embodiment of the present invention provides a USB Type-C interface control device, the device includes:
a power circuit for outputting a first voltage;
the power controller is connected with the power circuit and outputs a control signal to control the power circuit to output the first voltage;
the Type-C interface controller is used for being connected with a first detection pin and a second detection pin of the USB Type-C interface and detecting external equipment;
the microprocessor is used for being connected with a first power pin and a second power pin of the USB Type-C interface and the power controller respectively, receiving a second voltage input from the first power pin or the second power pin of the USB Type-C interface when the USB Type-C interface is not connected with an external device, enabling the Type-C interface controller to be in a standby state by outputting a low level signal through the first enabling end, and enabling the power controller to be in the standby state by outputting a low level signal through the second enabling end; when the external device extracts the USB Type-C interface, the first power pin or the second power pin is suspended to input a low level signal to the microprocessor.
Optionally, the apparatus further comprises a first switch and a second switch;
the first switch is respectively connected with the power circuit, a third power supply pin and a fourth power supply pin of the USB Type-C interface and the microprocessor; the second switch is respectively connected with the power circuit, the microprocessor, a first grounding pin, a second grounding pin, a third grounding pin and a fourth grounding pin of the USB Type-C interface;
when the external equipment is plugged into the USB Type-C interface, the microprocessor receives a first voltage input from a first power pin or a second power pin of the USBType-C interface, and outputs a low level signal through a third enabling end to switch the on state of the first switch to the off state; the microprocessor switches the off state of the second switch to the on state by outputting a high level signal through a fourth enabling end, and enables the Type-C interface controller to start detecting the external equipment by outputting the high level signal through the first enabling end; after the Type-C interface controller identifies the external equipment, the microprocessor outputs a high level signal through a second enabling end to enable the power controller to start working, and outputs the high level signal through a third enabling end to switch the off state of the first switch to the on state;
or,
when the external equipment pulls out the USB Type-C interface, the microprocessor receives a second voltage input from a first power pin or a second power pin of the USB Type-C interface, and outputs a low-level signal through a third enabling end to switch the on state of the first switch to the off state; after the first switch is switched off, the microprocessor outputs a low level signal through a first enabling end to enable the Type-C interface controller to be in a standby state, outputs a low level signal through a second enabling end to enable the power controller to be in a standby state, and outputs a low level signal through a fourth enabling end to switch the on state of the second switch to the off state; after the second switch is switched off, the microprocessor outputs a high level signal through a third enabling end to switch the off state of the first switch to the on state.
In a sixth aspect, an embodiment of the present invention provides a USB Type-C interface control device, the device includes:
a power circuit for outputting a first voltage;
the power controller is connected with the power circuit and outputs a control signal to control the power circuit to output the first voltage;
the Type-C interface controller is used for being connected with a first detection pin and a second detection pin of the USB Type-C interface and detecting external equipment;
the microprocessor is used for being connected with a first power pin, a second power pin, a third power pin of the USB Type-C interface and the power controller respectively, receiving a second voltage input from the first power pin, the second power pin or the third power pin of the USB Type-C interface when the USB Type-C interface is not connected with an external device, outputting a low level signal through a first enabling end to enable the Type-C interface controller to be in a standby state, and outputting the low level signal through a second enabling end to enable the power controller to be in the standby state; when the external device is pulled out of the USB Type-C interface, the second voltage is a low level signal input to the microprocessor by the first power pin, the second power pin or the third power pin due to suspension.
Optionally, the apparatus further comprises a first switch and a second switch;
the first switch is respectively connected with the power circuit, a fourth power supply pin of the USB Type-C interface and the microprocessor; the second switch is respectively connected with the power circuit, the microprocessor, a first grounding pin, a second grounding pin, a third grounding pin and a fourth grounding pin of the USB Type-C interface;
when the external equipment is plugged into the USB Type-C interface, the microprocessor receives a first voltage input from a first power pin, a second power pin or a third power pin of the USBType-C interface, and outputs a low level signal through a third enabling end to switch the on state of the first switch to the off state; the microprocessor switches the off state of the second switch to the on state by outputting a high level signal through a fourth enabling end, and enables the Type-C interface controller to start detecting the external equipment by outputting the high level signal through the first enabling end; after the Type-C interface controller identifies the external equipment, the microprocessor outputs a high level signal through a second enabling end to enable the power controller to start working, and outputs the high level signal through a third enabling end to switch the off state of the first switch to the on state;
or,
when the external equipment pulls out the USB Type-C interface, the microprocessor receives a second voltage input from a first power pin, a second power pin or a third power pin of the USB Type-C interface, and outputs a low level signal through a third enabling end to switch the on state of the first switch to the off state; after the first switch is switched off, the microprocessor outputs a low level signal through a first enabling end to enable the Type-C interface controller to be in a standby state, outputs a low level signal through a second enabling end to enable the power controller to be in a standby state, and outputs a low level signal through a fourth enabling end to switch the on state of the second switch to the off state; after the second switch is switched off, the microprocessor outputs a high level signal through a third enabling end to switch the off state of the first switch to the on state.
The embodiment of the utility model provides an in, when the USBType-C interface does not connect external device, microprocessor receives and follows the second voltage of the first power pin input of USBType-C interface makes USB check out test set be in standby state through first enabling end output low level signal, makes through second enabling end output low level signal power controller is in standby state to solve current USBType-C interface circuit and have the high technical problem of consumption under the standby condition.
Drawings
FIG. 1 is a schematic diagram of the interface definition of the USBType-C socket;
fig. 2 is a schematic block diagram of a USB Type-C interface circuit according to an embodiment of the present invention;
fig. 2a is a schematic block diagram of a USB Type-C interface circuit according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a USB Type-C interface circuit according to an embodiment of the present invention;
fig. 4 is a timing diagram illustrating the USB Type-C interface plugged in the external device according to an embodiment of the present invention;
fig. 5 is a timing diagram illustrating the USB Type-C interface being pulled out by the external device according to the first embodiment of the present invention;
fig. 6 is a schematic structural diagram of a USB Type-C interface circuit according to a second embodiment of the present invention;
fig. 7 is a schematic structural diagram of a USB Type-C interface circuit according to a third embodiment of the present invention;
fig. 8 is a schematic structural diagram of a USB Type-C interface control device according to a fourth embodiment of the present invention;
fig. 9 is a schematic structural diagram of a USB Type-C interface control device according to a fifth embodiment of the present invention;
fig. 10 is a schematic structural diagram of a USB Type-C interface control device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the invention.
Example one
Referring to fig. 2, fig. 2 is a schematic block diagram of a USB Type-C interface circuit according to an embodiment of the present invention. As shown in fig. 2, the USB Type-C interface circuit 20 is connected to the external device 22 through the USB Type-C interface 21, and detects the external device 23 by controlling the USB detection device 23. Specifically, the USB test device 23 is connected to the first test pin CC1 and the second test pin CC2 of the USB Type-C interface 21, respectively, and recognizes the Type or the insertion direction of the external device 23 through the first test pin CC1 and the second test pin CC 2. Here, the external device 23 includes a charger with a USB Type-C interface, a smart phone, a smart audio, a smart television, a desktop computer, a tablet computer, a smart band, a smart watch, and the like.
Referring to fig. 2 and fig. 2a together, fig. 2a is a schematic block diagram of a USB Type-C interface circuit according to an embodiment of the present invention. As shown in fig. 2a, the USB Type-C interface circuit 20 includes:
a power circuit 201 for outputting a first voltage;
a power controller 202, configured to be connected to the power circuit 201, and output a control signal to control the power circuit 201 to output the first voltage;
the microprocessor 203 is used for being respectively connected with the first power pin B9 of the USB Type-C interface and the power controller 202, receiving a second voltage 204 input from the first power pin B9 of the USB Type-C interface when the USB Type-C interface is pulled out of the external device, outputting a low-level signal through the first enable terminal EN1 to enable the USB detection device 205 to be in a standby state, and outputting a low-level signal through the second enable terminal EN2 to enable the power controller 202 to be in the standby state; when the USB Type-C interface is pulled out by the external device, the second voltage is a low level signal input to the microprocessor 203 by the first power pin B9 being suspended.
In this embodiment, the low level signal output by the first enable terminal EN1 to make the USB detection device in the standby state and the low level signal output by the second enable terminal EN2 to make the power controller 202 in the standby state are effective signals, and of course, the signal that the USB detection device is in the standby state or the signal that the power controller 202 is in the standby state can also be effective signals with high level, which is not limited to the form of effective signals here, as long as the output signal can make the USB detection device in the standby state and the power controller 202 in the standby state, and can be implemented in combination with the content taught by this embodiment, and it should fall within the protection scope of the present invention.
The microprocessor herein may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. Also, the microprocessor herein may be any conventional processor, controller, microcontroller, or state machine. A microprocessor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
In this embodiment, when the USB Type-C interface is pulled out by the external device, the microprocessor 203 inputs the second voltage according to the first power pin B9 of the USB Type-C interface, where the second voltage is a low-level signal input to the microprocessor by the first power pin being floating when the USB Type-C interface is pulled out by the external device. The microprocessor 203 analyzes that the external device is not plugged with the USB Type-C interface through logic judgment, and outputs a low level signal through the first enabling terminal EN1 to enable the USB detection device to be in a standby state, and outputs a low level signal through the second enabling terminal EN2 to enable the power controller 202 to be in a standby state, so that the USB detection device 204 or the power controller 202 does not need to continuously and fully detect the work of a port within 24 hours, and the standby power consumption of the device is greatly reduced.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a USB Type-C interface circuit according to an embodiment of the present invention. As shown in fig. 3, the circuit includes a power circuit 31, a power controller 32, a microprocessor 33, a first switch S1, a second switch S2, and a resistor R. The first switch S1 is connected to the power circuit 31, the second power pin a9, the third power pin B4, the fourth power pin a4 of the USB Type-C interface, and the microprocessor 33, respectively, and the second switch S2 is connected to the power circuit 31, the microprocessor 33, the first ground pin a1, the second ground pin B1, the third ground pin a12, and the fourth ground pin B12 of the USB Type-C interface, respectively.
In this embodiment, the microprocessor 33 includes four enable terminals and a reference ground terminal, the first enable terminal EN1 is connected to the USB detection device 34, the second enable terminal EN2 is connected to the power controller 32, the third enable terminal EN3 is connected to the first switch S1 and can control the open or closed state of the first switch S1, the fourth enable terminal EN4 is connected to the second switch S2 and can control the open or closed state of the second switch S2, and the reference ground terminal GND _ BAT is grounded.
In this embodiment, the power circuit 31 includes a battery V1, an inductor L1, a first body diode D1 of the first NPN fet Q1, a first NPN fet Q1, a second body diode D2 of the second NPN fet Q2, a second NPN fet Q2, and a capacitor C1, wherein a positive electrode of the battery V1 is connected to one end of the inductor L1, another end of the inductor L1 is connected to a positive electrode of the first body diode D1 and a negative electrode of the second body diode D2, a negative electrode of the first body diode D1 is connected to the ground through a first switch S1 and a second power supply pin a9, a third power supply pin B4, and a fourth power supply pin a4 of the USB Type-C interface, a negative electrode of the first body diode D1 is connected to the ground through a capacitor C1, a positive electrode of the second body diode D2 is connected to the negative electrode of the battery V1, and a negative electrode of the battery V1 is connected to the USB Type-C interface of the USB Type 1 a first ground through a second switch S2 and a first ground-, The second ground pin B1, the third ground pin a12, and the fourth ground pin B12 are connected. The first body diode D1 is connected in parallel to both ends of the drain and source of the first NPN fet Q1, and the second body diode D2 is connected in parallel to both ends of the drain and source of the second NPN fet Q2. Here Q2 and Q1 may also be PNP fets.
In the present embodiment, the power controller 32 is connected to the gate of the first NPN fet Q1 and the gate of the second NPN fet Q2, respectively, and the ground terminal GND _ BAT of the power controller 32 is grounded. When the power controller 32 operates, the power controller 32 controls the power circuit to output the first voltage VBUS _ BAT through the output control signal, and the first voltage VBUS _ BAT is loaded on the second power pin a9, the third power pin B4, and the fourth power pin a4 of the USB Type-C interface. Wherein the voltage volt value or the current magnitude and direction of the first voltage VBUS _ BAT are controlled by the power controller 32. When the power controller 32 is in the standby state, the voltage of the battery V1 is output to the capacitor C1. Therefore, when the power circuit is in the standby state, the voltage of the output capacitor C1 to ground, i.e., the voltage of the first voltage VBUS _ BAT to the ground terminal GND, is approximately equal to the battery voltage.
In this embodiment, the first power pin B9 of the USB Type-C interface is connected to the microprocessor 33, and one end of the resistor R1 is connected to the microprocessor 33, and the other end is grounded. The resistor R1 is arranged, and under the condition that the USB Type-C interface is not connected with an external device, the level signal of the PLUGIN input end of the microprocessor 33 is ensured to be a low level signal, so that the USBType-C interface circuit can work stably and reliably.
In this embodiment, the microprocessor 33 is connected to the first test pin CC1 and the second test pin CC2 of the USB Type-C interface through the USB test device 34. The USB detection device 34 is used to detect the type and insertion direction of the external device. In some possible embodiments, the USB test device 34 may be a USB Type-C interface controller, or other USB test identification circuit.
In this embodiment, the first switch S1 controls the first voltage VBUS _ BAT to be applied to or disconnected from the second power pin A9, the third power pin B4 and the fourth power pin A4 of the USB Type-C interface. The second switch S1 controls the on/off of the reference ground terminal GND _ BAT of the power controller 32 or the reference ground terminal GND _ BAT of the USB detection device 34 and the output ground GND _ C of the USB Type-C interface circuit. Here, the first switch S1 or the second switch S2 may be a switch array module, may be a single switch, may be an electronic switch, or may be a relay switch. In some possible embodiments, as long as the first switch S1 or the second switch S2 is electrically controlled, the present invention should fall within the protection scope of the present invention.
Referring to fig. 4, fig. 4 is a timing diagram illustrating a USB Type-C interface plugged in an external device according to an embodiment of the present invention. As shown in fig. 4, before t1, since no external device is plugged into the USB Type-C interface, the input signal at the plug input of the microprocessor 33 is a low level signal, the input signal at the third enable terminal EN3 is a high level signal, that is, the first switch S1 is in a closed state, and the first voltage VBUS _ BAT is loaded on the second power pin a9, the third power pin B4, and the fourth power pin a4 of the USB Type-C interface and is a high level signal. The port where the first voltage VBUS _ BAT is loaded at the USBType-C interface at the moment is marked as a VBUS port, and the voltage from the VBUS port to the reference ground terminal GND _ BAT exists at the moment. The signal outputted from the fourth enable terminal EN4 at this time is low level, i.e. the second switch S2 is in an off state, and there is no voltage between the VBUS port and the ground reference terminal GND _ C. At this time, the first enable terminal EN1 and the second enable terminal EN2 output low level signals, that is, the USB detection device and the power controller are in a standby state.
At time t1, when the external device is plugged into the USB Type-C interface, since the first power pin B9 and the second power pin a9 are shorted and the third power pin B4 and the fourth power pin a4 are shorted, the signal input to the plug input terminal is a high level signal, and the microprocessor 33 receives the first voltage input from the first power pin of the USB Type-C interface, that is, receives the first voltage from the plug input terminal, where the first voltage is a high level signal. The high signal at the PLUGIN input is asserted for time t1 to t 2.
At time t2, the microprocessor 33 outputs a low signal through the third enable terminal EN3 to switch the closed state of the first switch S1 to the open state, where there is no voltage between the VBUS port and GND _ BAT. The microprocessor 33 outputs a high level signal through the fourth enable terminal EN4 to switch the off state of the second switch S2 to the on state, and outputs a high level signal through the first enable terminal EN1 to enable the USB detection device to start detecting the external device, at this time, GND _ C is connected to GND _ BAT.
At time t3, when the USB detection device detects a corresponding device according to the Type-C protocol, ID identification information is sent, the microprocessor 33 outputs a high level signal through the second enable terminal EN2 to start the power controller to operate according to the ID identification information, and outputs a high level signal through the third enable terminal EN3 to switch the open state of the first switch to the closed state, at this time, a voltage starts to exist between the VBUS port and GND _ C, and the input signal at the plug in input terminal is again a high level signal, so that the USB Type-C interface circuit starts to operate normally.
Referring to fig. 5, fig. 5 is a timing diagram illustrating the USB Type-C interface being pulled out from the external device according to an embodiment of the present invention. As shown in fig. 5, before t1, the external device is plugged into the USB Type-C interface, the input signal at the plug input terminal is maintained at a high level, the input signals from the first enable terminal EN1 to the fourth enable terminal EN4 are maintained at a high level, and then the voltage between the VBUS port and GND _ BAT is high level, and the voltage between the VBUS port and GND _ C is high level.
When the USB Type-C interface is pulled out by the external device at time t1, the microprocessor 33 receives the second voltage input from the first power pin B9 of the USB Type-C interface, and the second voltage is a low level signal, i.e. the input signal at the plug in input terminal changes from a high level signal to a low level signal at time t 1. At this time, the microprocessor 33 outputs a low level signal through the third enable terminal EN3 to switch the closed state of the first switch S1 to the open state, i.e., there is no voltage between the VBUS port and GND _ C, and there is no voltage between the VBUS port and GND _ BAT. When the microprocessor 33 maintains the low level signal outputted from the third enable terminal EN3 between t1 and t 2.
After the first switch is turned off at time t2, it is confirmed that the external device has been pulled out, the microprocessor 33 outputs a low level signal through the first enable terminal EN to put the USB detection device in a standby state, outputs a low level signal through the second enable terminal EN2 to put the power controller in a standby state, and outputs a low level signal through the fourth enable terminal EN4 to switch the second switch S2 to an off state, thereby reducing power consumption.
At time t3, after the second switch S2 is turned off, the microprocessor 33 outputs a high signal through the third enable terminal EN3 to switch the off state of the first switch to the on state, so as to receive the signal detection when the external device is inserted next time.
This embodiment is through inserting second switch S2 on the ground terminal at the USBType-C interface to draw out one of them power pin line on the USBType-C interface and regard as the input of detected signal, thereby realize the purpose of the inserting of automated inspection external equipment and pulling out the USBType-C interface.
In the embodiment, the USB detection device and the power controller in the standby state are turned off, so that the USB detection device and the power controller do not need to continuously work for 24 hours, thereby greatly reducing the standby power consumption of the whole circuit.
In this embodiment, when the external device or the USB Type-C interface circuit fails, the microprocessor turns off the first switch S1 on the VBUS port or turns off the second switch S2 on the ground line, so as to protect the circuit of the whole device.
After the external device of the embodiment is pulled out, the USB Type-C port, namely the VBUS port, is electrically disconnected from the two ends of the GND _ C port, so that the Type-C protocol is met. And, when the insertion of the peripheral is detected, the Type-C port, i.e., VBUS port, is powered to both ends of GND _ C by opening the first switch S1 and the second switch S2, thereby satisfying the Type-C protocol.
In the above embodiments, the technical features described in the embodiments of the present invention may be combined with each other as long as they do not conflict with each other.
Example two
Referring to fig. 6, fig. 6 is a schematic structural diagram of a USB Type-C interface circuit according to a second embodiment of the present invention. As shown in fig. 6, the USB Type-C interface circuit includes:
a power circuit 61 for outputting a first voltage;
a power controller 62, connected to the power circuit, for outputting a control signal to control the power circuit to output the first voltage;
the microprocessor 63 is used for being connected with the first power pin B9, the second power pin A9 and the power controller 62 of the USB Type-C interface respectively, receiving a second voltage input from the first power pin B9 or the second power pin A9 of the USBType-C interface when the USB Type-C interface is not connected with an external device, enabling the USB detection device 64 to be in a standby state by outputting a low-level signal through a first enabling end, and enabling the power controller to be in the standby state by outputting a low-level signal through a second enabling end; when the USB Type-C interface is pulled out by the external device, the second voltage is a low level signal input to the microprocessor 63 by the first power pin B9 or the second power pin a9 being suspended.
The circuit further comprises a first switch S1 and a second switch S2;
the first switch S1 is respectively connected to the power circuit 61, the third power pin B4, the fourth power pin a4 of the USB Type-C interface, and the microprocessor 63; the second switch S2 is connected to the power circuit 61, the microprocessor 63, and the first ground pin a1, the second ground pin B1, the third ground pin a12, and the fourth ground pin B12 of the USB Type-C interface, respectively.
When the external device is plugged into the USB Type-C interface, the microprocessor 63 receives a first voltage input from the first power pin B9 or the second power pin a9 of the USB Type-C interface, and outputs a low level signal through the third enable terminal EN3 to switch the closed state of the first switch S1 to the open state; the microprocessor 63 outputs a high level signal through a fourth enable terminal EN4 to switch the open state of the second switch S2 to the closed state, and outputs a high level signal through a first enable terminal EN1 to enable the USB detecting device 64 to start detecting the external device; after the USB detection device identifies the external device, the microprocessor 63 outputs a high level signal through the second enable terminal EN2 to enable the power controller 62 to start working, and outputs a high level signal through the third enable terminal EN3 to switch the open state of the first switch S1 to the closed state.
When the USB Type-C interface is unplugged from the external device, the microprocessor 63 receives a second voltage input from the first power pin B9 or the second power pin a9 of the USB Type-C interface, and outputs a low level signal through the third enable terminal EN3 to switch the on state of the first switch S1 to the off state; after the first switch S1 is turned off, the microprocessor 63 outputs a low level signal through a first enable terminal EN1 to enable the USB detection device 64 to be in a standby state, outputs a low level signal through a second enable terminal EN2 to enable the power controller to be in a standby state, and outputs a low level signal through a fourth enable terminal EN4 to switch the closed state of the second switch S2 to an open state; after the second switch S2 is turned off, the microprocessor 63 outputs a high level signal through the third enable terminal EN3 to switch the open state of the first switch S1 to the closed state.
In the above embodiments, the technical features described in the embodiments of the present invention may be combined with each other as long as they do not conflict with each other.
EXAMPLE III
Referring to fig. 7, fig. 7 is a schematic structural diagram of a USB Type-C interface circuit according to a third embodiment of the present invention. As shown in fig. 7, the USB Type-C interface circuit includes:
a power circuit 71 for outputting a first voltage;
a power controller 72, connected to the power circuit, for outputting a control signal to control the power circuit to output the first voltage;
the microprocessor 73 is used for being connected with the first power pin, the second power pin, the third power pin and the power controller of the USB Type-C interface respectively, receiving a second voltage input from the first power pin, the second power pin or the third power pin of the USB Type-C interface when the USB Type-C interface is not connected with an external device, enabling the USB detection device to be in a standby state by outputting a low level signal through the first enabling end, and enabling the power controller to be in the standby state by outputting a low level signal through the second enabling end; when the USB Type-C interface is pulled out by the external device, the second voltage is a low level signal input to the microprocessor 73 by the first power pin B9, the second power pin a9, or the third power pin B4 being floating.
The circuit further comprises a first switch S1 and a second switch S2; the first switch S1 is respectively connected to the power circuit 71, the fourth power pin a4 of the USB Type-C interface, and the microprocessor 73; the second switch S2 is connected to the power circuit 71, the microprocessor 73, the first ground pin a1, the second ground pin B1, the third ground pin a12 and the fourth ground pin B12 of the USB Type-C interface, respectively.
When the external device is plugged into the USB Type-C interface, the microprocessor 73 receives a first voltage input from the first power pin B9, the second power pin a9, or the third power pin B4 of the USB Type-C interface, and outputs a low level signal through the third enable terminal EN3 to switch the on state of the first switch S1 to the off state; the microprocessor 73 outputs a high level signal through a fourth enable terminal EN4 to switch the open state of the second switch S2 to the closed state, and outputs a high level signal through a first enable terminal EN1 to enable the USB detecting device 74 to start detecting the external device; after the USB detecting device 74 identifies the external device, the microprocessor 73 outputs a high level signal through the second enable terminal EN2 to enable the power controller 72 to start operating, and outputs a high level signal through the third enable terminal EN3 to switch the open state of the first switch S1 to the closed state.
When the USB Type-C interface is unplugged from the external device, the microprocessor 73 receives a second voltage input from the first power pin B9, the second power pin a9, or the third power pin B4 of the USB Type-C interface, and outputs a low level signal through the third enable terminal EN3, so as to switch the on state of the first switch S1 to the off state; after the first switch S1 is turned off, the microprocessor 73 outputs a low level signal through a first enable terminal EN1 to enable the USB detection device 74 to be in a standby state, outputs a low level signal through a second enable terminal EN2 to enable the power controller 72 to be in a standby state, and outputs a low level signal through a fourth enable terminal EN4 to switch the closed state of the second switch S2 to an open state; after the second switch S2 is turned off, the microprocessor 73 outputs a high level signal through the third enable terminal EN3 to switch the open state of the first switch S1 to the closed state.
In the above embodiments, the technical features described in the embodiments of the present invention may be combined with each other as long as they do not conflict with each other.
Example four
Referring to fig. 8, fig. 8 is a schematic structural diagram of a USB Type-C interface control device according to a fourth embodiment of the present invention. The device includes:
a power circuit 81 for outputting a first voltage;
a power controller 82, connected to the power circuit, for outputting a control signal to control the power circuit to output the first voltage;
the Type-C interface controller 83 is used for being connected with a first detection pin and a second detection pin of the USB Type-C interface and detecting external equipment;
and the microprocessor 84 is used for being connected with the first power pin of the USB Type-C interface and the power controller respectively, receiving a second voltage input from the first power pin of the USB Type-C interface when the USB Type-C interface is not connected with an external device, outputting a low level signal through the first enabling end to enable the Type-C interface controller to be in a standby state, and outputting a low level signal through the second enabling end to enable the power controller to be in the standby state. When the USB Type-C interface is pulled out by the external device, the second voltage is a low level signal input to the microprocessor 84 by the first power pin B9 being suspended.
The apparatus further comprises a first switch S1 and a second switch S2; the first switch S1 is respectively connected to the power circuit 81, the second power pin a9, the third power pin B4, the fourth power pin a4 of the USB Type-C interface, and the microprocessor 84; the second switch S2 is connected to the power circuit 81, the microprocessor 84, the first ground pin a1, the second ground pin B1, the third ground pin a12 and the fourth ground pin B12 of the USB Type-C interface, respectively.
When the external device is plugged into the USB Type-C interface, the microprocessor 84 receives a first voltage input from a first power pin B9 of the USB Type-C interface, and outputs a low level signal through a third enable terminal EN3 to switch the on state of the first switch S1 to the off state; the microprocessor 84 outputs a high-level signal through a fourth enable terminal EN4 to switch the open state of the second switch S2 to a closed state, and outputs a high-level signal through a first enable terminal EN1 to enable the Type-C interface controller 83 to start detecting the external device; after the Type-C interface controller 83 identifies the external device, the microprocessor 84 outputs a high level signal through a second enable terminal EN2 to enable the power controller 82 to start working, and outputs a high level signal through a third enable terminal EN3 to switch the open state of the first switch S1 to the closed state;
when the USB Type-C interface is unplugged from the external device, the microprocessor 84 receives a second voltage input from the first power pin B9 of the USB Type-C interface, and outputs a low level signal through the third enable terminal EN3 to switch the closed state of the first switch S1 to the open state; after the first switch S1 is turned off, the microprocessor 84 outputs a low level signal through a first enable terminal EN1 to enable the Type-C interface controller 83 to be in a standby state, outputs a low level signal through a second enable terminal EN2 to enable the power controller to be in a standby state, and outputs a low level signal through a fourth enable terminal EN4 to switch the closed state of the second switch S2 to an open state; after the second switch S2 is turned off, the microprocessor 84 outputs a high signal through the third enable terminal EN3 to switch the open state of the first switch S1 to the closed state.
In the above embodiments, the technical features described in the embodiments of the present invention may be combined with each other as long as they do not conflict with each other.
EXAMPLE five
Referring to fig. 9, fig. 9 is a schematic structural diagram of a USB Type-C interface control device according to a fifth embodiment of the present invention. As shown in fig. 9, the apparatus includes:
a power circuit 91 for outputting a first voltage;
a power controller 92, connected to the power circuit, for outputting a control signal to control the power circuit to output the first voltage;
the Type-C interface controller 93 is used for being connected with a first detection pin and a second detection pin of the USB Type-C interface and detecting external equipment;
and the microprocessor 94 is used for being connected with the first power pin and the second power pin of the USB Type-C interface and the power controller respectively, receiving a second voltage input from the first power pin or the second power pin of the USB Type-C interface when the USB Type-C interface is not connected with an external device, enabling the Type-C interface controller to be in a standby state by outputting a low level signal through the first enabling end, and enabling the power controller to be in the standby state by outputting a low level signal through the second enabling end. When the USB Type-C interface is pulled out by the external device, the second voltage is a low level signal input to the microprocessor 94 by the first power pin B9 or the second power pin a9 being floating.
The apparatus further comprises a first switch S1 and a second switch S2; the first switch S1 is respectively connected to the power circuit 91, the third power pin B4 and the fourth power pin a4 of the USB Type-C interface, and the microprocessor 94; the second switch S2 is connected to the power circuit 91, the microprocessor 94, the first ground pin a1, the second ground pin B1, the third ground pin a12, and the fourth ground pin B12 of the USB Type-C interface, respectively.
When the external device is plugged into the USB Type-C interface, the microprocessor 94 receives a first voltage input from the first power pin B9 or the second power pin a9 of the USB Type-C interface, and outputs a low level signal through the third enable terminal EN3 to switch the closed state of the first switch S1 to the open state; the microprocessor 94 outputs a high level signal through a fourth enable terminal EN4 to switch the open state of the second switch S2 to a closed state, and outputs a high level signal through a first enable terminal EN1 to enable the Type-C interface controller 92 to start detecting the external device; after the Type-C interface controller 92 identifies the external device, the microprocessor 94 outputs a high level signal through the second enable terminal EN2 to enable the power controller 92 to start working, and outputs a high level signal through the third enable terminal EN3 to switch the open state of the first switch S1 to the closed state.
When the USB Type-C interface is unplugged from the external device, the microprocessor 94 receives a second voltage input from the first power pin B9 or the second power pin a9 of the USB Type-C interface, and outputs a low level signal through the third enable terminal EN3 to switch the closed state of the first switch S1 to the open state; after the first switch S1 is turned off, the microprocessor 94 outputs a low level signal through a first enable terminal EN1 to enable the Type-C interface controller 93 to be in a standby state, outputs a low level signal through a second enable terminal EN2 to enable the power controller 92 to be in a standby state, and outputs a low level signal through a fourth enable terminal EN4 to switch the closed state of the second switch S2 to an open state; after the second switch S2 is turned off, the microprocessor 94 outputs a high signal through the third enable terminal EN3 to switch the open state of the first switch S1 to the closed state.
In the above embodiments, the technical features described in the embodiments of the present invention may be combined with each other as long as they do not conflict with each other.
EXAMPLE six
Referring to fig. 10, fig. 10 is a schematic structural diagram of a USB Type-C interface control device according to a sixth embodiment of the present invention. As shown in fig. 10, the apparatus includes:
a power circuit 101 for outputting a first voltage;
a power controller 102, connected to the power circuit, for outputting a control signal to control the power circuit to output the first voltage;
the Type-C interface controller 103 is used for being connected with a first detection pin and a second detection pin of the USB Type-C interface and detecting external equipment;
and the microprocessor 104 is used for being connected with the first power pin B9, the second power pin A9, the third power pin B4 of the USB Type-C interface and the power controller 102 respectively, receiving a second voltage input from the first power pin B9, the second power pin A9 or the third power pin B4 of the USB Type-C interface when the USB Type-C interface is not connected with an external device, outputting a low-level signal through the first enable terminal EN1 to enable the Type-C interface controller to be in a standby state, and outputting a low-level signal through the second enable terminal EN2 to enable the power controller 102 to be in the standby state. When the external device is unplugged from the USB Type-C interface, the second voltage is a low level signal input to the microprocessor 104 by the first power pin B9, the second power pin a9, or the third power pin B4 being floating.
The apparatus further comprises a first switch S1 and a second switch S2; the first switch S1 is respectively connected to the power circuit 101, the fourth power pin a4 of the USB Type-C interface, and the microprocessor 104; the second switch S2 is connected to the power circuit 101, the microprocessor 104, the first ground pin a1, the second ground pin B1, the third ground pin a12, and the fourth ground pin B12 of the USB Type-C interface, respectively.
When the external device is plugged into the USB Type-C interface, the microprocessor 104 receives a first voltage input from the first power pin B9, the second power pin a9, or the third power pin B4 of the USB Type-C interface, and outputs a low level signal through the third enable terminal EN3 to switch the on state of the first switch S1 to the off state; the microprocessor 104 outputs a high-level signal through a fourth enable terminal EN4 to switch the open state of the second switch S2 to a closed state, and outputs a high-level signal through a first enable terminal EN1 to enable the Type-C interface controller 103 to start detecting the external device; after the Type-C interface controller 103 identifies the external device, the microprocessor 104 outputs a high level signal through a second enable terminal EN2 to enable the power controller 102 to start working, and outputs a high level signal through a third enable terminal EN3 to switch the open state of the first switch S1 to the closed state;
when the USB Type-C interface is unplugged from the external device, the microprocessor 104 receives a second voltage input from the first power pin B9, the second power pin a9, or the third power pin B4 of the USB Type-C interface, and outputs a low level signal through the third enable terminal EN3 to switch the on state of the first switch S1 to the off state; after the first switch S1 is turned off, the microprocessor 104 outputs a low level signal through a first enable terminal EN1 to enable the Type-C interface controller 103 to be in a standby state, outputs a low level signal through a second enable terminal EN2 to enable the power controller 102 to be in a standby state, and outputs a low level signal through a fourth enable terminal EN4 to switch the closed state of the second switch S2 to an open state; after the second switch S2 is turned off, the microprocessor 104 outputs a high signal through the third enable terminal EN3 to switch the open state of the first switch S1 to the closed state.
In the above embodiments, the technical features described in the embodiments of the present invention may be combined with each other as long as they do not conflict with each other.
The above description is only exemplary of the present invention and should not be taken as limiting the scope of the present invention, as any modifications, equivalents, improvements and the like made within the spirit and principles of the present invention are intended to be included within the scope of the present invention.

Claims (12)

1. A USB Type-C interface circuit, the circuit comprising:
a power circuit for outputting a first voltage;
the power controller is connected with the power circuit and outputs a control signal to control the power circuit to output the first voltage;
the microprocessor is used for being connected with a first power supply pin of the USB Type-C interface and the power controller respectively, receiving a second voltage input from the first power supply pin of the USB Type-C interface when the USB Type-C interface is not connected with an external device, enabling the USB detection device to be in a standby state by outputting a low level signal through the first enabling end, and enabling the power controller to be in the standby state by outputting the low level signal through the second enabling end; when the USB Type-C interface is pulled out by the external equipment, the second voltage is a low level signal input by the microprocessor due to suspension of the first power pin.
2. The circuit of claim 1,
the circuit further comprises a first switch and a second switch;
the first switch is respectively connected with the power circuit, a second power supply pin, a third power supply pin and a fourth power supply pin of the USB Type-C interface and the microprocessor; the second switch is respectively connected with the power circuit, the microprocessor, a first grounding pin, a second grounding pin, a third grounding pin and a fourth grounding pin of the USB Type-C interface;
when the external equipment is plugged into the USB Type-C interface, the microprocessor receives a first voltage input from a first power pin of the USB Type-C interface, outputs a low level signal through a third enabling end, and switches the on state of the first switch to the off state; the microprocessor switches the off state of the second switch to the on state by outputting a high level signal through a fourth enabling end, and enables the USB detection equipment to start detecting the external equipment by outputting the high level signal through the first enabling end; after the USB detection device identifies the external device, the microprocessor outputs a high level signal through a second enabling end to enable the power controller to start working, and outputs the high level signal through a third enabling end to switch the off state of the first switch to the on state;
or,
when the external equipment pulls out the USB Type-C interface, the microprocessor receives a second voltage input from a first power pin of the USB Type-C interface, outputs a low level signal through a third enabling end, and switches the on state of the first switch to the off state; after the first switch is switched off, the microprocessor outputs a low level signal through a first enabling end to enable the USB detection equipment to be in a standby state, outputs a low level signal through a second enabling end to enable the power controller to be in a standby state, and outputs a low level signal through a fourth enabling end to switch the on state of the second switch to the off state; after the second switch is switched off, the microprocessor outputs a high level signal through a third enabling end to switch the off state of the first switch to the on state.
3. A USB Type-C interface circuit, the circuit comprising:
a power circuit for outputting a first voltage;
the power controller is connected with the power circuit and outputs a control signal to control the power circuit to output the first voltage;
the microprocessor is used for being connected with a first power pin, a second power pin and the power controller of the USB Type-C interface respectively, receiving a second voltage input from the first power pin or the second power pin of the USB Type-C interface when the USB Type-C interface is not connected with an external device, enabling the USB detection device to be in a standby state by outputting a low level signal through the first enabling end, and enabling the power controller to be in the standby state by outputting a low level signal through the second enabling end; when the external device extracts the USB Type-C interface, the first power pin or the second power pin is suspended to input a low level signal to the microprocessor.
4. The circuit of claim 3,
the circuit further comprises a first switch and a second switch;
the first switch is respectively connected with the power circuit, a third power supply pin and a fourth power supply pin of the USB Type-C interface and the microprocessor; the second switch is respectively connected with the power circuit, the microprocessor, a first grounding pin, a second grounding pin, a third grounding pin and a fourth grounding pin of the USBType-C interface;
when the external equipment is plugged into the USB Type-C interface, the microprocessor receives a first voltage input from a first power pin or a second power pin of the USB Type-C interface, outputs a low level signal through a third enabling end, and switches the on state of the first switch to the off state; the microprocessor switches the off state of the second switch to the on state by outputting a high level signal through a fourth enabling end, and enables the USB detection equipment to start detecting the external equipment by outputting the high level signal through the first enabling end; after the USB detection device identifies the external device, the microprocessor outputs a high level signal through a second enabling end to enable the power controller to start working, and outputs the high level signal through a third enabling end to switch the off state of the first switch to the on state;
or,
when the external equipment pulls out the USB Type-C interface, the microprocessor receives a second voltage input from a first power pin or a second power pin of the USB Type-C interface, and outputs a low-level signal through a third enabling end to switch the on state of the first switch to the off state; after the first switch is switched off, the microprocessor outputs a low level signal through a first enabling end to enable the USB detection equipment to be in a standby state, outputs a low level signal through a second enabling end to enable the power controller to be in a standby state, and outputs a low level signal through a fourth enabling end to switch the on state of the second switch to the off state; after the second switch is switched off, the microprocessor outputs a high level signal through a third enabling end to switch the off state of the first switch to the on state.
5. A USB Type-C interface circuit, the circuit comprising:
a power circuit for outputting a first voltage;
the power controller is connected with the power circuit and outputs a control signal to control the power circuit to output the first voltage;
the microprocessor is used for being connected with a first power pin, a second power pin, a third power pin and the power controller of the USB Type-C interface respectively, receiving a second voltage input from the first power pin, the second power pin or the third power pin of the USBType-C interface when the USB Type-C interface is not connected with an external device, enabling the USB detection device to be in a standby state by outputting a low level signal through the first enabling end, and enabling the power controller to be in the standby state by outputting the low level signal through the second enabling end; when the external device is pulled out of the USB Type-C interface, the second voltage is a low level signal input to the microprocessor by the first power pin, the second power pin or the third power pin due to suspension.
6. The circuit of claim 5,
the circuit further comprises a first switch and a second switch;
the first switch is respectively connected with the power circuit, a fourth power supply pin of the USB Type-C interface and the microprocessor; the second switch is respectively connected with the power circuit, the microprocessor, a first grounding pin, a second grounding pin, a third grounding pin and a fourth grounding pin of the USB Type-C interface;
when the external equipment is plugged into the USB Type-C interface, the microprocessor receives a first voltage input from a first power pin, a second power pin or a third power pin of the USB Type-C interface, and outputs a low level signal through a third enabling end to switch the on state of the first switch to the off state; the microprocessor switches the off state of the second switch to the on state by outputting a high level signal through a fourth enabling end, and enables the USB detection equipment to start detecting the external equipment by outputting the high level signal through the first enabling end; after the USB detection device identifies the external device, the microprocessor outputs a high level signal through a second enabling end to enable the power controller to start working, and outputs the high level signal through a third enabling end to switch the off state of the first switch to the on state;
or,
when the external equipment pulls out the USB Type-C interface, the microprocessor receives a second voltage input from a first power pin, a second power pin or a third power pin of the USB Type-C interface, and outputs a low level signal through a third enabling end to switch the on state of the first switch to the off state; after the first switch is switched off, the microprocessor outputs a low level signal through a first enabling end to enable the USB detection equipment to be in a standby state, outputs a low level signal through a second enabling end to enable the power controller to be in a standby state, and outputs a low level signal through a fourth enabling end to switch the on state of the second switch to the off state; after the second switch is switched off, the microprocessor outputs a high level signal through a third enabling end to switch the off state of the first switch to the on state.
7. A USB Type-C interface control apparatus, the apparatus comprising:
a power circuit for outputting a first voltage;
the power controller is connected with the power circuit and outputs a control signal to control the power circuit to output the first voltage;
the Type-C interface controller is used for being connected with a first detection pin and a second detection pin of the USB Type-C interface and detecting external equipment;
the microprocessor is used for being connected with a first power pin of the USB Type-C interface and the power controller respectively, receiving a second voltage input from the first power pin of the USB Type-C interface when the USB Type-C interface is not connected with an external device, enabling the Type-C interface controller to be in a standby state by outputting a low level signal through a first enabling end, and enabling the power controller to be in the standby state by outputting a low level signal through a second enabling end; when the USB Type-C interface is pulled out by the external equipment, the second voltage is a low level signal input by the microprocessor due to suspension of the first power pin.
8. The apparatus of claim 7,
the apparatus further comprises a first switch and a second switch;
the first switch is respectively connected with the power circuit, a second power supply pin, a third power supply pin and a fourth power supply pin of the USB Type-C interface and the microprocessor; the second switch is respectively connected with the power circuit, the microprocessor, a first grounding pin, a second grounding pin, a third grounding pin and a fourth grounding pin of the USB Type-C interface;
when the external equipment is plugged into the USB Type-C interface, the microprocessor receives a first voltage input from a first power pin of the USB Type-C interface, outputs a low level signal through a third enabling end, and switches the on state of the first switch to the off state; the microprocessor switches the off state of the second switch to the on state by outputting a high level signal through a fourth enabling end, and enables the Type-C interface controller to start detecting the external equipment by outputting the high level signal through the first enabling end; after the Type-C interface controller identifies the external equipment, the microprocessor outputs a high level signal through a second enabling end to enable the power controller to start working, and outputs the high level signal through a third enabling end to switch the off state of the first switch to the on state;
or,
when the external equipment pulls out the USB Type-C interface, the microprocessor receives a second voltage input from a first power pin of the USB Type-C interface, outputs a low level signal through a third enabling end, and switches the on state of the first switch to the off state; after the first switch is switched off, the microprocessor outputs a low level signal through a first enabling end to enable the Type-C interface controller to be in a standby state, outputs a low level signal through a second enabling end to enable the power controller to be in a standby state, and outputs a low level signal through a fourth enabling end to switch the on state of the second switch to the off state; after the second switch is switched off, the microprocessor outputs a high level signal through a third enabling end to switch the off state of the first switch to the on state.
9. A USB Type-C interface control apparatus, the apparatus comprising:
a power circuit for outputting a first voltage;
the power controller is connected with the power circuit and outputs a control signal to control the power circuit to output the first voltage;
the Type-C interface controller is used for being connected with a first detection pin and a second detection pin of the USB Type-C interface and detecting external equipment;
the microprocessor is used for being connected with a first power pin and a second power pin of the USB Type-C interface and the power controller respectively, receiving a second voltage input from the first power pin or the second power pin of the USB Type-C interface when the USB Type-C interface is not connected with an external device, enabling the Type-C interface controller to be in a standby state by outputting a low level signal through the first enabling end, and enabling the power controller to be in the standby state by outputting a low level signal through the second enabling end; when the external device extracts the USB Type-C interface, the first power pin or the second power pin is suspended to input a low level signal to the microprocessor.
10. The apparatus of claim 9,
the apparatus further comprises a first switch and a second switch;
the first switch is respectively connected with the power circuit, a third power supply pin and a fourth power supply pin of the USB Type-C interface and the microprocessor; the second switch is respectively connected with the power circuit, the microprocessor, a first grounding pin, a second grounding pin, a third grounding pin and a fourth grounding pin of the USBType-C interface;
when the external equipment is plugged into the USB Type-C interface, the microprocessor receives a first voltage input from a first power pin or a second power pin of the USB Type-C interface, outputs a low level signal through a third enabling end, and switches the on state of the first switch to the off state; the microprocessor switches the off state of the second switch to the on state by outputting a high level signal through a fourth enabling end, and enables the Type-C interface controller to start detecting the external equipment by outputting the high level signal through the first enabling end; after the Type-C interface controller identifies the external equipment, the microprocessor outputs a high level signal through a second enabling end to enable the power controller to start working, and outputs the high level signal through a third enabling end to switch the off state of the first switch to the on state;
or,
when the external equipment pulls out the USB Type-C interface, the microprocessor receives a second voltage input from a first power pin or a second power pin of the USB Type-C interface, and outputs a low-level signal through a third enabling end to switch the on state of the first switch to the off state; after the first switch is switched off, the microprocessor outputs a low level signal through a first enabling end to enable the Type-C interface controller to be in a standby state, outputs a low level signal through a second enabling end to enable the power controller to be in a standby state, and outputs a low level signal through a fourth enabling end to switch the on state of the second switch to the off state; after the second switch is switched off, the microprocessor outputs a high level signal through a third enabling end to switch the off state of the first switch to the on state.
11. A USB Type-C interface control apparatus, the apparatus comprising:
a power circuit for outputting a first voltage;
the power controller is connected with the power circuit and outputs a control signal to control the power circuit to output the first voltage;
the Type-C interface controller is used for being connected with a first detection pin and a second detection pin of the USB Type-C interface and detecting external equipment;
the microprocessor is used for being connected with a first power pin, a second power pin, a third power pin and the power controller of the USB Type-C interface respectively, receiving a second voltage input from the first power pin, the second power pin or the third power pin of the USBType-C interface when the USB Type-C interface is not connected with an external device, outputting a low-level signal through a first enabling end to enable the Type-C interface controller to be in a standby state, and outputting the low-level signal through a second enabling end to enable the power controller to be in the standby state; when the external device is pulled out of the USB Type-C interface, the second voltage is a low level signal input to the microprocessor by the first power pin, the second power pin or the third power pin due to suspension.
12. The apparatus of claim 11,
the apparatus further comprises a first switch and a second switch;
the first switch is respectively connected with the power circuit, a fourth power supply pin of the USB Type-C interface and the microprocessor; the second switch is respectively connected with the power circuit, the microprocessor, a first grounding pin, a second grounding pin, a third grounding pin and a fourth grounding pin of the USB Type-C interface;
when the external equipment is plugged into the USB Type-C interface, the microprocessor receives a first voltage input from a first power pin, a second power pin or a third power pin of the USB Type-C interface, and outputs a low level signal through a third enabling end to switch the on state of the first switch to the off state; the microprocessor switches the off state of the second switch to the on state by outputting a high level signal through a fourth enabling end, and enables the Type-C interface controller to start detecting the external equipment by outputting the high level signal through the first enabling end; after the Type-C interface controller identifies the external equipment, the microprocessor outputs a high level signal through a second enabling end to enable the power controller to start working, and outputs the high level signal through a third enabling end to switch the off state of the first switch to the on state;
or when the external device pulls out the USB Type-C interface, the microprocessor receives a second voltage input from the first power pin, the second power pin, or the third power pin of the USB Type-C interface, and outputs a low level signal through the third enable terminal to switch the on state of the first switch to the off state; after the first switch is switched off, the microprocessor outputs a low level signal through a first enabling end to enable the Type-C interface controller to be in a standby state, outputs a low level signal through a second enabling end to enable the power controller to be in a standby state, and outputs a low level signal through a fourth enabling end to switch the on state of the second switch to the off state; after the second switch is switched off, the microprocessor outputs a high level signal through a third enabling end to switch the off state of the first switch to the on state.
CN201620453552.2U 2016-05-17 2016-05-17 A kind of USB Type C interface circuit and control device thereof Active CN205692122U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201620453552.2U CN205692122U (en) 2016-05-17 2016-05-17 A kind of USB Type C interface circuit and control device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201620453552.2U CN205692122U (en) 2016-05-17 2016-05-17 A kind of USB Type C interface circuit and control device thereof

Publications (1)

Publication Number Publication Date
CN205692122U true CN205692122U (en) 2016-11-16

Family

ID=57262702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201620453552.2U Active CN205692122U (en) 2016-05-17 2016-05-17 A kind of USB Type C interface circuit and control device thereof

Country Status (1)

Country Link
CN (1) CN205692122U (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867593A (en) * 2016-05-17 2016-08-17 深圳慧能泰半导体科技有限公司 USB Type-C interface circuit and control device thereof
CN106681950A (en) * 2017-01-11 2017-05-17 联想(北京)有限公司 Signal transmission processing method and device
WO2018192164A1 (en) * 2017-04-21 2018-10-25 深圳东方酷音信息技术有限公司 Method, device and system for reducing power consumption at type-c interface
CN108874704A (en) * 2017-05-12 2018-11-23 展讯通信(上海)有限公司 Usb circuit and electronic equipment
CN111949107A (en) * 2019-05-15 2020-11-17 北京小米移动软件有限公司 Method and device for controlling electronic equipment comprising USB Type-C interface and electronic equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105867593A (en) * 2016-05-17 2016-08-17 深圳慧能泰半导体科技有限公司 USB Type-C interface circuit and control device thereof
CN105867593B (en) * 2016-05-17 2018-11-13 深圳慧能泰半导体科技有限公司 A kind of USB Type-C interface circuits and its control device
CN106681950A (en) * 2017-01-11 2017-05-17 联想(北京)有限公司 Signal transmission processing method and device
CN106681950B (en) * 2017-01-11 2020-03-24 联想(北京)有限公司 Signal transmission processing method and device
WO2018192164A1 (en) * 2017-04-21 2018-10-25 深圳东方酷音信息技术有限公司 Method, device and system for reducing power consumption at type-c interface
CN108874704A (en) * 2017-05-12 2018-11-23 展讯通信(上海)有限公司 Usb circuit and electronic equipment
CN108874704B (en) * 2017-05-12 2019-12-13 展讯通信(上海)有限公司 USB interface circuit and electronic equipment
CN111949107A (en) * 2019-05-15 2020-11-17 北京小米移动软件有限公司 Method and device for controlling electronic equipment comprising USB Type-C interface and electronic equipment
CN111949107B (en) * 2019-05-15 2023-11-07 北京小米移动软件有限公司 Method and device for controlling electronic equipment comprising USB Type-C interface and electronic equipment

Similar Documents

Publication Publication Date Title
CN105867593B (en) A kind of USB Type-C interface circuits and its control device
CN205692122U (en) A kind of USB Type C interface circuit and control device thereof
US8880909B2 (en) Auto-detect polling for correct handshake to USB client
CN106291210B (en) USB interface detector, USB interface detection method, USB connector and electronic equipment
CN103064489B (en) A kind of method and terminal of carrying out internal circuit selection according to USB interface state
CN210327098U (en) Charging device and charging assembly adopting USB PD
CN101102119B (en) A charging detection circuit of appliance device and charging detection method
US8542472B2 (en) Protection circuitry for reversible connectors
US9904642B2 (en) Detection circuit of universal serial bus
US10845398B2 (en) Interface circuitry for bidirectional power connector
WO2021135687A1 (en) Electronic device and accessory having both quick charging function and audio transmission function
CN104081368A (en) Mobile device automatic detection apparatus and method
CN104657313A (en) Detecting system and method for universal serial bus device
EP2387125A2 (en) Motherboard with rapid charging handheld multimedia device
JP6661342B2 (en) Port connection circuit, port connection control method, electronic equipment
CN112042093A (en) Dynamic VCONN switching in dual-supply C-line cable applications
CN105022468A (en) USB adapter and USB line
US9331492B2 (en) Detection control device and method thereof
US9864714B2 (en) Electronic system for performing recharging and data communication
CN106797414A (en) The leakage current detection circuit and terminal of a kind of terminal
US20140068113A1 (en) Data transmission between a portable electronic device and various accessory devices via respective dedicated connection interfaces
WO2016004897A1 (en) Audio insert automatic wake-up device and audio insert automatic wake-up method
CN109478174B (en) Switch for reversible interface
TWI534631B (en) Dongle for electronic apparatus
US20140334112A1 (en) Motherboard with connector compatible with different interface standards

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant