CN108710593B - Power supply method and device based on Type-C connector - Google Patents

Power supply method and device based on Type-C connector Download PDF

Info

Publication number
CN108710593B
CN108710593B CN201810508917.0A CN201810508917A CN108710593B CN 108710593 B CN108710593 B CN 108710593B CN 201810508917 A CN201810508917 A CN 201810508917A CN 108710593 B CN108710593 B CN 108710593B
Authority
CN
China
Prior art keywords
type
connector
power supply
equipment
accessed
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
CN201810508917.0A
Other languages
Chinese (zh)
Other versions
CN108710593A (en
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.)
Universal Scientific Industrial Shanghai Co Ltd
Original Assignee
Universal Scientific Industrial Shanghai 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 Universal Scientific Industrial Shanghai Co Ltd filed Critical Universal Scientific Industrial Shanghai Co Ltd
Priority to CN201810508917.0A priority Critical patent/CN108710593B/en
Publication of CN108710593A publication Critical patent/CN108710593A/en
Application granted granted Critical
Publication of CN108710593B publication Critical patent/CN108710593B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0042Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries characterised by the mechanical construction
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Engineering (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a power supply method and a power supply device based on a Type-C connector, which comprise the following steps: judging whether equipment is accessed according to the detected information state of each communication line on a preset communication channel in the Type-C connector; when equipment is accessed, judging the Type of the equipment accessed on the Type-C connector according to the set communication line information state in a preset communication channel; and adjusting the power supply of the access equipment according to the Type of the equipment accessed on the Type-C connector. In the invention, through identifying the Type of equipment in the Type-C connector, corresponding different power supplies are provided according to the identified Type of the equipment; the power supply device solves the problem of providing a high-power supply for specific equipment, and simultaneously supports the access of standard equipment to provide a standard power supply.

Description

Power supply method and device based on Type-C connector
Technical Field
The invention relates to the technical field of power supply, in particular to a power supply method and device based on a Type-C connector.
Background
With the development of technology, USB Type-C connectors are increasingly used, and particularly, USB Power Delivery Specification (USB PD) is a standard for achieving maximum supply of 100W of Power by using USB Type-C interfaces. To realize the PD function, the conventional method is to add a USB PD IC and an adapter supporting the PD at the host and device ends, and supply power to the output end to supply power sources with different voltages and powers through negotiation of the PD chip.
Most of the existing similar products adopt a highly integrated USB Power Delivery chip to complete the output of a Type-C interface high-Power supply. The adapter with the PD function and the PD chip are expensive, and in some application occasions, the PD protocol is not required to be met, and only the Type-C is required to output a high-power supply to a specific device and support a standard device.
In view of the above technical problems, the present application provides a technical solution to solve the above technical problems.
Disclosure of Invention
The invention aims to provide a power supply method and a power supply device based on a Type-C connector, which are characterized in that corresponding different power supply sources are provided according to the recognized equipment Type by recognizing the Type of equipment connected to the Type-C connector; the power supply device solves the problem of providing a high-power supply for specific equipment, and simultaneously supports the provision of a standard 5V power supply for the accessed standard equipment.
The technical scheme provided by the invention is as follows:
a power supply method based on a Type-C connector comprises the following steps: judging whether equipment is accessed according to the detected information state of each communication line on a preset communication channel in the Type-C connector; when equipment is accessed, judging the Type of the equipment accessed on the Type-C connector according to the set communication line information state in a preset communication channel; and adjusting the power supply of the access equipment according to the Type of the equipment accessed on the Type-C connector.
In the invention, through identifying the Type of equipment accessed into the Type-C connector, corresponding different power supplies are provided according to the identified equipment Type; the power supply device solves the problem of providing a high-power supply for specific equipment, and simultaneously supports the provision of a standard power supply for the accessed standard equipment.
Further preferred, comprising: and detecting the information state of each communication line on the preset communication channel in the Type-C connector.
Further preferred, comprising: when any communication line in a first group of communication lines in the preset communication channel is pulled down, judging that equipment is accessed on the Type-C connector; further acquiring information states of all communication lines in a second group of communication lines in the preset communication channel; and determining the type of the access equipment according to the acquired level state or information transmission state of each communication line in the second group of communication lines in the preset communication channel.
In the invention, the device Type detection is realized by starting the reserved pin for the standby Type-C interface, so that the power supply of special equipment is realized, on one hand, high-power output support is required for specific access equipment, and the cost saving is realized; on the other hand, the circuit design of the realized method is simple, and faults are not easy to generate.
Further preferred, comprising: sending a detection information number to any communication line in a second group of communication lines in the preset communication channel; and when the feedback information is received within the first preset time, comparing the received feedback information with the sent detection information, and when the comparison is consistent, the accessed equipment is the first equipment.
Further preferred, comprising: and adjusting the power supply state of the current power supply circuit to meet the first power supply of the first equipment.
Further preferred, comprising: sending a detection information number to any communication line in a second group of communication lines in the preset communication channel; and when the feedback information is not received within the first preset time, the detection signal is sent again, and if the feedback information is not received, the accessed equipment is judged to be second equipment or third equipment.
Further preferred, comprising: and adjusting the power supply state of the current power supply circuit to meet the second power supply of the second equipment and the third equipment.
According to the invention, under the condition that the normal definition function of the Type-C interface is not influenced, two USB PD ICs are saved, and the output voltage switching is realized only by simple electronic devices such as a resistor, a capacitor and a field effect tube and matching with a single chip microcomputer, so that the material cost is reduced, the layout difficulty of a circuit board is reduced, and the PCB space is saved.
A Type-C connector based power supply device comprising: the power supply comprises a central control circuit, a power supply control circuit and a Type-C connector; a detection and identification module is arranged in the central control circuit, and one end of the Type-C connector is used for connecting access equipment; the detection identification module is connected with the other end of the Type-C connector and is used for identifying the information state of each communication line on a preset communication channel in the Type-C connector; the central control circuit is in communication connection with the detection identification module and is used for judging whether equipment is accessed according to the information state of each communication line on the preset communication channel detected by the detection identification module; further judging the Type of equipment accessed on the Type-C interface according to the set communication line information state in a preset communication channel; the power supply control circuit is in communication connection with the central control circuit and is used for adjusting and outputting a power supply meeting the requirements of the access equipment according to the type of the access equipment detected by the central control circuit.
In the invention, through identifying the Type of equipment accessed into the Type-C connector, corresponding different power supplies are provided according to the identified equipment Type; the power supply device solves the problem of providing a high-power supply for specific equipment, and simultaneously supports the provision of a standard power supply for the accessed standard equipment.
Further preferably, the method further comprises the following steps: a signal conditioning circuit; the input end of the signal adjusting circuit 400 is correspondingly connected with two configuration pin ends arranged in the Type-C connector; the output end of the signal adjusting circuit 400 is correspondingly connected to the data control port PF0 in the central control circuit, and the two data control ports PA4 and PA5 in the central control circuit are correspondingly connected to the two spare pin ports in the Type-C connector, respectively.
Further preferred, comprising: the data control port PF0 in the central control circuit is used for receiving a level signal sent by the signal adjusting circuit; carrying out logic operation on level signals of two configuration pins in the Type-C connector to generate a level signal sent by the signal adjusting circuit; when a data control port PF0 in the central control circuit receives a low level, judging that a device is accessed to the Type-C connector; and further detecting the level states received by two data control ports PA4 and PA5 in the central control circuit, and judging the Type of the access equipment accessed to the Type-C connector.
Further preferred, comprising: when two spare pins SBU1 and SBU2 on the Type-C connector are short-circuited, the access device is a first access device; the central control circuit controls and switches to a first power supply circuit, and the first access equipment is accessed to a first power supply; when the two spare pins SBU1 and SBU2 on the Type-C connector are both in a suspended state, the access device is a second access device; when two spare pins SBU1 and SBU2 on the Type-C connector are in a non-short-circuit state, the access device is a second access device or a third access device; the central control circuit controls and switches to a second power supply circuit, and the second access equipment and the third access equipment are accessed to a second power supply.
Further preferably, the power supply control circuit includes: the first power supply circuit; the first power supply circuit is provided with: 2 MOS transistors Q88 and Q80, and 1 switching transistor Q81; a first power supply control signal output by a control port PA0 of the central control circuit is input to a base terminal of the switching transistor Q81 and a drain terminal of the MOS transistor Q88 through a first resistor, respectively; the collector terminal of the switching tube Q81 is electrically connected with the gate terminal of the MOS tube Q80 through a second resistor; the source terminal of the MOS transistor Q80 is electrically connected with a first power supply terminal; the drain end of the MOS tube Q80 is electrically connected with the Type-C connector; the second power supply control signal output from the control port PB1 of the central control circuit is input to the gate terminal of the MOS transistor Q88.
Further preferably, the power supply control circuit includes: the second power supply circuit; the second power supply circuit is provided with: 2 MOS transistors Q82 and Q83, and 1 switching transistor Q78; a second power supply control signal output by a control port PB1 of the central control circuit is input to a base terminal of the switch tube Q78 through a third resistor; the collector terminal of the switching tube Q78 is electrically connected with the gate terminal of the MOS tube Q82 and the gate terminal of the MOS tube Q83 respectively through a fourth resistor; the source terminal of the MOS transistor Q82 is electrically connected with a second power supply terminal; the source end of the MOS tube Q83 is electrically connected with the Type-C connector; the drain end of the MOS transistor Q82 is electrically connected with the drain end of the MOS transistor Q83 correspondingly.
According to the invention, under the condition that the normal definition function of the Type-C interface is not influenced, two USB PD ICs are saved, and the output voltage switching is realized only by simple electronic devices such as a resistor, a capacitor and a field effect tube and matching with a single chip microcomputer, so that the material cost is reduced, the layout difficulty of a circuit board is reduced, and the PCB space is saved.
The power supply method and device based on the Type-C connector can bring at least one of the following beneficial effects:
in the invention, the switching of the output voltage of the Type-C interface is realized by using simple electronic devices such as a capacitor, a resistor, a field effect tube and the like and matching with a singlechip; the circuit design is simple, the fault is not easy to generate, the circuit does not need to be matched with a PD special USB3.0 Mux/Demux Switch IC, the layout difficulty is reduced, and the PCB space is saved. The patent is not compatible with the USB PD protocol, but can replace the USB PD when the specific access equipment 500 needs high-power output support, thereby realizing cost saving.
Drawings
The above features, technical features, advantages and implementations of a Type-C connector based power supply method and apparatus will be further described in the following detailed description of preferred embodiments in a clearly understandable manner, in conjunction with the accompanying drawings.
FIG. 1 is a flow chart of one embodiment of a Type-C connector based power supply method of the present invention;
FIG. 2 is a flow chart of another embodiment of a Type-C connector based power supply method of the present invention;
FIG. 3 is a flow chart of another embodiment of a Type-C connector based power supply method of the present invention;
FIG. 4 is a structure of an embodiment of a power supply device based on a Type-C connector according to the present invention;
FIG. 5 is a structure of another embodiment of a power supply device based on a Type-C connector according to the present invention;
FIG. 6 is a circuit diagram of the central control circuit of the present invention;
FIG. 7 is a circuit diagram of a Type-C connector of the present invention;
FIG. 8 is a signal conditioning circuit diagram of the present invention;
FIG. 9 is a first power supply circuit diagram of the present invention;
FIG. 10 is a second power supply circuit diagram of the present invention;
fig. 11 is a discharge circuit diagram of the present invention.
Detailed Description
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will be made with reference to the accompanying drawings. It is obvious that the drawings in the following description are only some examples of the invention, and that for a person skilled in the art, other drawings and embodiments can be derived from them without inventive effort.
For the sake of simplicity, only the parts relevant to the present invention are schematically shown in the drawings, and they do not represent the actual structure as a product. In addition, in order to make the drawings concise and understandable, components having the same structure or function in some of the drawings are only schematically illustrated or only labeled. In this document, "one" means not only "only one" but also a case of "more than one".
The invention provides an embodiment of a power supply method based on a Type-C connector, which comprises the following steps of:
s100, detecting information states of all communication lines on a preset communication channel in the Type-C connector;
s200, judging whether equipment is accessed according to the detected information state of each communication line on a preset communication channel in the Type-C connector;
s300, when a device is accessed, judging the Type of the device accessed on the Type-C connector according to the set communication line information state in the preset communication channel;
and S400, adjusting the power supply of the access device 500 according to the Type of the device accessed on the Type-C connector.
Specifically, in the present embodiment, shown in FIGS. 6-8 in conjunction with a Type-C connector; detecting whether equipment is connected into the Type-C connector or not by using a signal received by the single chip microcomputer, wherein if the equipment is connected, the levels of configuration pins CC1 and CC2 in the Type-C connector can be changed, and the configuration pins CC1 and CC2 are in a high level state under a normal condition; whatever equipment is connected, the equipment comprises normally powered connecting equipment, audio equipment and some special equipment; the problem solved by the application is that different power supply voltages are provided according to different types of equipment inserted into the Type-C connector; therefore, the Type of the equipment is further determined according to the information detected by other communication pins of the Type-C connector; including 5V, 12V, 3.3V, or more, settable, multi-level voltages.
In the invention, through identifying the Type of equipment in the Type-C connector, corresponding different power supplies are provided according to the identified Type of the equipment; the problem of providing a high-power supply for specific equipment is solved, and meanwhile, the standard power supply for the accessed standard equipment is supported, so that negative effects cannot be generated.
The present invention provides another embodiment, as shown in fig. 2, comprising the steps of:
s100, detecting the information state of each communication line on a preset communication channel in the Type-C connector.
S210, when any communication line in a first group of communication lines in a preset communication channel is pulled down, judging that equipment is accessed on a Type-C connector;
s310, further acquiring information states of all communication lines in a second group of communication lines in a preset communication channel;
s320 determines the type of the access device 500 according to the obtained level state or information transmission state of each communication line in the second group of communication lines in the preset communication channel.
Specifically, in this embodiment, as shown in fig. 7 in combination with the Type-C connector, in the previous embodiment, the problem of determining whether there is an access of a device is realized by detecting the Type-C connector configuration pins CC1 and CC2, in this embodiment, the specific determination on the Type of the access device 500 is performed through the audio device pins SBU1 and SBU2 in the Type-C connector, that is, the spare pins, which are also reserved pins, and only used by an audio adapter; when the accessed equipment is abnormal power supply equipment and is not an audio adapter, the SBU1 and the SBU2 are in short circuit on special equipment when the special equipment is inserted; the type of the access device 500 should provide a corresponding power supply, determined by the change of the states of the SBU1 and SBU 2.
In the invention, the power supply of the special equipment is realized by starting the spare reserved pin to detect the equipment type, on one hand, the high-power output support is needed for the specific access equipment 500, and the cost is saved; on the other hand, the circuit design of the implementation method is simple, and faults are not easy to generate.
The present invention provides an embodiment, as shown in fig. 2 and 3, comprising the steps of:
s100, detecting the information state of each communication line on a preset communication channel in the Type-C connector.
S210, when any communication line in a first group of communication lines in a preset communication channel is pulled down, judging that equipment is accessed on a Type-C connector;
s310, further acquiring information states of all communication lines in a second group of communication lines in a preset communication channel;
s321, sending a detection information number to any communication line in a second group of communication lines in a preset communication channel;
s322, when the feedback information is received within the first preset time, comparing the received feedback information with the sent detection information, and when the comparison is consistent, the accessed device is the first device.
S410, according to the current power supply state of the power supply circuit, adjusting the power supply state to meet the requirement of a first power supply source of first equipment;
s323, when the feedback information is not received within the first preset time, sending the detection signal again, and if the feedback information is not received within the second preset time, determining that the accessed device is the second device or the third device; the first preset time and the second preset time are equal in duration or unequal in duration.
And S420, adjusting to meet the second power supply of the second device and the third device according to the current power supply state of the power supply circuit.
Specifically, in the present embodiment, in combination with the Type-C connector circuits of FIGS. 6-10, when no device or different USB device is inserted into the interface of the Type-C connector, the combination states of the CC1, the CC2, the SBU1 and the SBU2 are different; discrimination of the type of access device 500 is achieved by combining the differences in states:
TABLE 1
Figure GDA0002994653560000081
Figure GDA0002994653560000091
Table 1 shows the state of the apparatus under different conditions,
1) the Type-C protocol specifies that when a device is plugged in, the device terminals CC1 and CC2 will connect with the pull-down resistor Rd 5.1K, and no matter the conventional or specific USB device supports the standard; the CC1 and the CC2 are connected to a USB MUX circuit, and USB3C-ID signals on the USB MUX are connected to the single chip microcomputer.
Therefore, as long as the single chip microcomputer U1 detects a USB3C-ID signal, when any pin of the CC1 and the CC2 is in a low level, the USB3C-ID is caused to output a low level, which indicates that equipment is accessed; the following then follows:
2) SBU1, SBU2 pin is reserved at present, only audio adapter uses, according to cut-in direction one connects the analog audio output, another end is grounded, when the combination status in this SBU1, SBU2 accords with table one, indicate there is audio adapter to insert; namely, the audio adapter is used as a third device for access;
3) when SBU1, SBU2 shorts are detected; at the moment, the accessed equipment is judged to be first equipment;
4) if the CC1, the CC2, the SBU1 and the SBU2 are all detected to be in a high level state, the access of any equipment is not shown.
The type of the access device 500 can be determined according to the combination state of table one, and different power supply voltage circuits are selected for power supply according to different types of devices.
In the invention, the power supply method is realized by a singlechip U1, a Type-C connector and a power supply control circuit, and the specific detection implementation mode is as follows:
the signal detection module in the singlechip detects that equipment is accessed as follows:
when the device is accessed, the CC1 or CC2 signal changes to low level to cause the USB3C-ID to output low level, the USB3.0 Mux Switch IC switches the USB3.0 signal according to the detected CC signal, and the single chip detects that the USB3C-ID is pulled low, which indicates that the device is accessed.
The single chip microcomputer identifies the insertion equipment: when the single chip microcomputer detects that the equipment is accessed, the SBU1 sends out a high level signal, the corresponding high level is detected in the SBU2, due to a conventional or audio adapter, the SBU1 end and the SBU2 end are not short-circuited, the SBU2 cannot detect level change, the single chip microcomputer controls 5V output, for specific equipment, due to the short-circuit of the SBU1 end and the SBU2 end, the SBU2 detects change, the single chip microcomputer distinguishes the specific equipment, and 12V output is controlled.
Equipment pulling out: when the single chip microcomputer detects that the USB3C-ID is high level, the device is pulled out, and the 5V output and the 12V output are closed.
According to the invention, under the condition that the normal definition function of the Type-C interface is not influenced, two USB PD ICs are saved, and the output voltage switching is realized only by simple electronic devices such as a resistor, a capacitor and a field effect tube and matching with a single chip microcomputer, so that the material cost is reduced, the layout difficulty of a circuit board is reduced, and the PCB space is saved.
The invention provides an embodiment of a power supply device based on a Type-C connector, which is shown in reference to FIG. 4; the method comprises the following steps: a central control circuit 100, a power supply control circuit 200, and a Type-C connector 300; the central control circuit is provided with a detection and identification module 110, and one end of the Type-C connector is used for connecting the access equipment 500; the detection identification module is connected with the other end of the Type-C connector and is used for identifying the information state of each communication line on a preset communication channel in the Type-C connector; the central control circuit is in communication connection with the detection identification module and is used for judging whether equipment is accessed according to the information state of each communication line on the preset communication channel detected by the detection identification module; further judging the Type of equipment accessed on the Type-C interface according to the set communication line information state in the preset communication channel; the power control circuit is in communication connection with the central control circuit and is configured to adjust and output a power supply meeting the requirements of the access device 500 according to the type of the access device 500 detected by the central control circuit.
Specifically, in this embodiment, as shown in fig. 6 to 9, and the signals of the single chip microcomputer structure detect whether a device is connected to the Type-C connector, if a device is connected, the levels of the configuration pins CC1 and CC2 in the Type-C connector will change, and the configuration pins CC1 and CC2 are in a high level state under normal conditions; whatever equipment is connected, the equipment comprises normally powered connecting equipment and audio equipment, and some special equipment is available; the problem solved by the application is that different power supply voltages are provided according to different types of equipment inserted into the Type-C connector; therefore, the Type of the equipment is further determined according to the information detected by other communication pins of the Type-C connector; including 5V, 12V, 3.3V, or more, settable, multi-level voltages.
In the invention, through identifying the Type of equipment accessed into the Type-C connector, corresponding different power supplies are provided according to the identified equipment Type; the problem of providing a high-power supply for specific equipment is solved, and meanwhile, the standard power supply for the accessed standard equipment is supported, so that negative effects cannot be generated.
Another embodiment of the present invention; referring to the signal adjusting circuit 400 shown in fig. 5, the input terminal of the signal adjusting circuit 400 is connected to two configuration pin terminals provided in the Type-C connector; the output end of the signal adjusting circuit 400 is correspondingly connected to the data control port PF0 in the central control circuit, and the two data control ports PA4 and PA5 in the central control circuit are correspondingly connected to the two spare pin ports in the Type-C connector, respectively.
Another embodiment of the present invention; referring to FIG. 7, the USB mux circuit is shown as signal conditioning circuit 400; the CC1 and CC2 pin in the USB mux circuit are correspondingly connected with the CC1 and CC2 end of the Type-C connector configuration pin, and the Type-C interface can realize positive and negative insertion, so that the signal adjusting circuit 400U1 judges whether the signal is inserted or reversely inserted, adjusts the inserted signal in positive and negative insertion, and outputs a signal meeting the requirements of the device. The CC1& CC2 on the Type-C connector is connected to the USB-MUX circuit, and the USB3C-ID is connected to the central control circuit PF 0. Further detecting the level states received by the two data control port pins 10PA4 and 11PA5 in the central control circuit, and judging the Type of the access equipment 500 accessed to the Type-C connector; when the two spare pins SBU1 and SBU2 on the Type-C connector are shorted, the access device 500 is the first access device 500, i.e. a special power supply device; the central control circuit controls to switch to the first power supply circuit, and the first access device 500 accesses the first power supply; when the two spare pins SBU1 and SBU2 on the Type-C connector are both in a non-short-circuit state, the access device 500 is the second access device 500, i.e. a normal device, or the third access device 500; the audio adapter is a normal audio adapter; the central control circuit controls to switch to the second power supply circuit, and the second access device 500 and the third access device 500 access the second power supply.
A first power supply circuit shown with reference to fig. 9; the first power supply circuit is provided with: 2 MOS tubes Q88 and Q80, and 1 switch tube Q81; a first power supply control signal output from a control port PA0 of the central control circuit is input to a base terminal of the switching transistor Q81 and a drain terminal of the MOS transistor Q88 through a first resistor R836, respectively; the collector terminal of the switching tube Q81 is electrically connected with the gate terminal of the MOS tube Q80 through a second resistor R835; the source terminal of the MOS transistor Q80 is electrically connected with a first power supply terminal; the drain end of the MOS tube Q80 is electrically connected with the Type-C connector; the second power supply control signal output from the control port PB1 of the central control circuit is input to the gate terminal of the MOS transistor Q88.
The power supply control circuit comprises a second power supply circuit; in the second power supply circuit shown with reference to fig. 10, there are provided: 2 MOS tubes Q82 and Q83, and 1 switch tube Q78; a second power supply control signal output by a control port PB1 of the central control circuit is input to a base terminal of the switching tube Q78 through a third resistor R801; the collector terminal of the switching tube Q78 is electrically connected with the gate terminal of the MOS tube Q82 and the gate terminal of the MOS tube Q83 respectively through a fourth resistor R800; the source terminal of the MOS transistor Q82 is electrically connected with a second power supply terminal; the source end of the MOS tube Q83 is electrically connected with the Type-C connector; the drain end of the MOS transistor Q82 is electrically connected with the drain end of the MOS transistor Q83 correspondingly.
Specifically, in the present invention, the magnitude of the power supply signal of the access device 500 is controlled by the signal sent by the single chip in the central control circuit; when the single chip microcomputer detects that the single chip microcomputer is a normal power supply device and an audio device, a control signal 5V _ CTRL _ S is sent to a second power supply circuit through a pin 14PB1 port of the single chip microcomputer, and after a control end terminal of a triode Q78 receives a starting signal, the triode is conducted, the control end terminal is connected to grid terminals of MOS tubes Q82 and Q83, the two MOS tubes are controlled to conduct, and the output of a source terminal of the Q83 meets the requirements of the normal audio device and the audio device which are connected to the device 500; and a normal voltage is supplied, and the Type-C connector outputs 5V. Other levels of voltage are also included.
As shown in fig. 6; when a detection signal is sent through two data control port pins 10PA4 or 11PA5 of a single chip microcomputer in a central control circuit, the same signal is fed back through the pin 10PA4 or the pin 11PA5, and the short circuit of the corresponding pins of the plug-in equipment is indicated; therefore, the device is determined to be a special device, namely, a first device; similarly, a control signal 12V _ CTRL _ S is sent to the first power supply circuit through a pin 6PA0 port of the singlechip, when the control end terminal of the triode Q81 receives a starting signal, the triode is conducted and connected to the gate terminal of the MOS tube Q80 to control the MOS tube to conduct, and a power supply meeting the requirements of special equipment is output through the source terminal of the Q80; the Type-C connector outputs 12V; other levels of voltage are also included. Depending on the use case.
In the present invention, as shown in FIGS. 9-10; the circuit has a soft start function, and can avoid instant large current generated by charging of an internal capacitor of the device at the instant of opening the MOSFET. Meanwhile, the circuit has a protection function, when the system is abnormal, the 5V _ CTRL _ S signal and the 12V _ CTRL _ S signal are simultaneously given, and the Q88 can turn off the 12V _ CTRL _ S signal, so that only 5V is output, and the device is prevented from being damaged.
As shown in fig. 5 and 11, the power control circuit portion also incorporates a discharge circuit. The damage of the device of the invention caused by the residual electric quantity is avoided.
MOS tubes Q80, Q82 and Q83 in the invention are P-MOSFETs: NTGS3443T1G, main functions: as a switch;
q88 is an N-MOSFET: BSS138, main functions: acting as a switch.
Q78 and Q81 are Transistor NPN: PMBT3904, primary functions: acting as a switch.
The signals of related components and parts provided in the circuit diagram in the application and corresponding performance parameters are combined, and adaptive adjustment can be made under the condition that the technical effect of the application is not influenced.
It should be noted that the above embodiments can be freely combined as necessary. The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A power supply method based on a Type-C connector is characterized by comprising the following steps:
judging whether equipment is accessed according to the detected information state of each communication line on a preset communication channel in the Type-C connector; the preset communication channel comprises a first group of communication lines and a second group of communication lines; the second set of communication lines comprises two spare pin ports in the Type-C connector;
when equipment is accessed, judging the Type of the equipment accessed on the Type-C connector according to the set communication line information state in a preset communication channel;
adjusting a power supply of the access equipment according to the Type of the equipment accessed on the Type-C connector;
according to each communication line information state on the preset communication channel in the detected Type-C connector, whether equipment is accessed is judged, including: judging whether equipment is accessed according to the first group of communication lines;
when equipment is accessed, the Type of the equipment accessed on the Type-C connector is judged to comprise according to the information state of the set communication line in the preset communication channel:
when the two spare pin ports of the Type-C connector in the second group of communication lines are detected to be short-circuited, the accessed equipment is first equipment;
the power supply to the access equipment is adjusted according to the Type of the equipment accessed on the Type-C connector and comprises: and if the accessed equipment is the first equipment, adjusting the equipment to meet the first power supply of the first equipment.
2. The Type-C connector-based power supply method according to claim 1, comprising:
when any communication line in the first group of communication lines in the preset communication channel is pulled down, the Type-C connector is judged to have equipment access.
3. The Type-C connector-based power supply method according to claim 1, comprising:
sending detection information to any communication line in a second group of communication lines in the preset communication channel; when the transmitted detection information is not received on another communication line within the first preset time, the detection signal is transmitted again, and if the transmitted detection information is not received within the second preset time, the accessed equipment is judged to be second equipment or third equipment;
the first preset time and the second preset time are equal in duration or unequal in duration.
4. The Type-C connector-based power supply method according to claim 3, comprising:
and adjusting the power supply state of the current power supply circuit to meet the second power supply of the second equipment and the third equipment.
5. A power supply unit based on Type-C connector, its characterized in that includes: the power supply comprises a central control circuit, a power supply control circuit and a Type-C connector; a detection and identification module is arranged in the central control circuit,
one end of the Type-C connector is used for connecting access equipment;
the detection identification module is connected with the other end of the Type-C connector and is used for identifying the information state of each communication line on a preset communication channel in the Type-C connector; the preset communication channel comprises a first group of communication lines and a second group of communication lines; the second set of communication lines comprises two spare pin ports in the Type-C connector;
the central control circuit is in communication connection with the detection identification module and is used for judging whether equipment is accessed according to the information state of each communication line on the preset communication channel detected by the detection identification module; further judging the Type of equipment accessed on the Type-C interface according to the set communication line information state in a preset communication channel;
the power supply control circuit is in communication connection with the central control circuit and is used for adjusting and outputting a power supply meeting the requirement of the access equipment according to the type of the access equipment detected by the central control circuit;
the central control circuit is further used for judging whether equipment is accessed to the Type-C connector according to the first group of communication lines; when equipment is accessed to the Type-C connector and two spare pin ports on the Type-C connector are short-circuited, the access equipment is first access equipment; the central control circuit controls and switches to the first power supply circuit, and the first access equipment is connected to the first power supply.
6. The Type-C connector based power supply device according to claim 5, further comprising: a signal conditioning circuit;
the input end of the signal adjusting circuit is correspondingly connected with two configuration pin ends arranged in the Type-C connector;
the output end of the signal adjusting circuit is correspondingly connected with a data control port PF0 in the central control circuit,
two data control ports PA4 and PA5 in the central control circuit are correspondingly connected with two spare pin ports arranged in the Type-C connector respectively.
7. The Type-C connector based power supply device according to claim 6, comprising:
the data control port PF0 in the central control circuit is used for receiving a level signal sent by the signal adjusting circuit; carrying out logic operation on level signals of two configuration pins in the Type-C connector to generate a level signal sent by the signal adjusting circuit;
when a data control port PF0 in the central control circuit receives a low level, judging that a device is accessed to the Type-C connector;
and further detecting the level states received by two data control ports PA4 and PA5 in the central control circuit, and judging the Type of the access equipment accessed to the Type-C connector.
8. The Type-C connector based power supply device according to claim 6, comprising:
when the two spare pins SBU1 and SBU2 on the Type-C connector are both in a suspended state, the access device is a second access device; when two spare pins SBU1 and SBU2 on the Type-C connector are in a non-short-circuit state, the access device is a second access device or a third access device;
the central control circuit controls and switches to a second power supply circuit, and the second access equipment and the third access equipment are accessed to a second power supply.
9. The Type-C connector based power supply device according to claim 8, wherein the power control circuit comprises: the first power supply circuit;
the first power supply circuit is provided with: 2 MOS transistors Q88 and Q80, and 1 switching transistor Q81;
a first power supply control signal output by a control port PA0 of the central control circuit is input to a base terminal of the switching transistor Q81 and a drain terminal of the MOS transistor Q88 through a first resistor, respectively;
the collector terminal of the switching tube Q81 is electrically connected with the gate terminal of the MOS tube Q80 through a second resistor;
the source terminal of the MOS transistor Q80 is electrically connected with a first power supply terminal;
the drain end of the MOS tube Q80 is electrically connected with the Type-C connector;
the second power supply control signal output from the control port PB1 of the central control circuit is input to the gate terminal of the MOS transistor Q88.
10. The Type-C connector based power supply device according to claim 8, wherein the power control circuit comprises: the second power supply circuit;
the second power supply circuit is provided with: 2 MOS transistors Q82 and Q83, and 1 switching transistor Q78;
a second power supply control signal output by a control port PB1 of the central control circuit is input to a base terminal of the switch tube Q78 through a third resistor;
the collector terminal of the switching tube Q78 is electrically connected with the gate terminal of the MOS tube Q82 and the gate terminal of the MOS tube Q83 respectively through a fourth resistor;
the source terminal of the MOS transistor Q82 is electrically connected with a second power supply terminal;
the source end of the MOS tube Q83 is electrically connected with the Type-C connector;
the drain end of the MOS transistor Q82 is electrically connected with the drain end of the MOS transistor Q83 correspondingly.
CN201810508917.0A 2018-05-24 2018-05-24 Power supply method and device based on Type-C connector Active CN108710593B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810508917.0A CN108710593B (en) 2018-05-24 2018-05-24 Power supply method and device based on Type-C connector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810508917.0A CN108710593B (en) 2018-05-24 2018-05-24 Power supply method and device based on Type-C connector

Publications (2)

Publication Number Publication Date
CN108710593A CN108710593A (en) 2018-10-26
CN108710593B true CN108710593B (en) 2021-10-15

Family

ID=63869574

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810508917.0A Active CN108710593B (en) 2018-05-24 2018-05-24 Power supply method and device based on Type-C connector

Country Status (1)

Country Link
CN (1) CN108710593B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109450023B (en) * 2018-11-19 2021-08-31 Oppo(重庆)智能科技有限公司 Charging circuit, charging processing method, electronic device, and storage medium
CN109975649B (en) * 2019-03-29 2021-06-18 上海剑桥科技股份有限公司 Detection circuitry and power adapter of USBType-C equipment Type
CN111177035B (en) * 2019-12-23 2024-01-16 闻泰通讯股份有限公司 Peripheral processing device, method and electronic equipment
CN111901917B (en) * 2020-07-31 2021-06-15 武汉精立电子技术有限公司 Driving power supply, manufacturing method of driving power supply and electronic equipment
CN112187675B (en) * 2020-08-27 2022-07-22 曙光信息产业(北京)有限公司 Multi-server cooperation system
CN112545557A (en) * 2020-12-18 2021-03-26 无锡祥生医疗科技股份有限公司 Ultrasonic probe expansion circuit system
CN116962953B (en) * 2023-09-21 2024-07-26 荣耀终端有限公司 Equipment connection detection circuit, audio channel switching method and electronic equipment

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984604A (en) * 2014-05-23 2014-08-13 环旭电子股份有限公司 Control device
CN105955912A (en) * 2016-05-16 2016-09-21 芯海科技(深圳)股份有限公司 Device detection method for USB Type-C interface
CN106067573A (en) * 2016-07-29 2016-11-02 惠州Tcl移动通信有限公司 Mobile terminal fast charge method and system
CN106095715A (en) * 2016-06-17 2016-11-09 芯海科技(深圳)股份有限公司 A kind of Type C automatic identification circuit and recognition methods
CN106291210A (en) * 2015-05-22 2017-01-04 快捷半导体(苏州)有限公司 USB interface detector, detection method, USB connector and electronic equipment
CN106329620A (en) * 2016-08-31 2017-01-11 珠海智融科技有限公司 High-voltage rapid charging circuit structure through multiplexing of single-power-supply multi-port output
CN106445044A (en) * 2016-08-18 2017-02-22 硅谷数模半导体(北京)有限公司 Data conversion interface protection method and system
CN106533146A (en) * 2015-09-11 2017-03-22 环旭电子股份有限公司 Soft starting switch circuit and electronic apparatus
CN106537719A (en) * 2016-08-15 2017-03-22 北京小米移动软件有限公司 Electronic device, charger, charging system, and charging method
CN106655415A (en) * 2017-03-14 2017-05-10 成都智朴思互联科技有限公司 Intelligent universal charging identification and control device based on USB interface
CN106802872A (en) * 2016-12-16 2017-06-06 华勤通讯技术有限公司 A kind of method and terminal that equipment room charging is carried out by USB interface
CN107645690A (en) * 2016-07-20 2018-01-30 中兴通讯股份有限公司 Audio switching method and device, Type C interface processing method and processing devices
CN107742912A (en) * 2017-11-08 2018-02-27 深圳天珑无线科技有限公司 Charging method, fast fill device and computer-readable recording medium
CN207083202U (en) * 2017-01-09 2018-03-09 深圳市德誉兴业电子有限公司 A kind of TYPE C chargings earphone
CN107834628A (en) * 2017-11-02 2018-03-23 芯海科技(深圳)股份有限公司 One kind realizes a variety of fast charge protocol circuits and method based on TYPE C interface
CN207320876U (en) * 2017-09-12 2018-05-04 北京奇虎科技有限公司 A kind of charging circuit and charger

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8880909B2 (en) * 2009-07-20 2014-11-04 Texas Instruments Incorporated Auto-detect polling for correct handshake to USB client
KR102468187B1 (en) * 2016-03-04 2022-11-17 삼성전자주식회사 Eletronic device and external device charging method thereof
US10339093B2 (en) * 2016-03-29 2019-07-02 Intel Corporation USB interface using repeaters with guest protocol support
US20170293335A1 (en) * 2016-04-08 2017-10-12 Robert A. Dunstan Adjustable power delivery apparatus for universal serial bus (usb) type-c

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103984604A (en) * 2014-05-23 2014-08-13 环旭电子股份有限公司 Control device
CN106291210A (en) * 2015-05-22 2017-01-04 快捷半导体(苏州)有限公司 USB interface detector, detection method, USB connector and electronic equipment
CN106533146A (en) * 2015-09-11 2017-03-22 环旭电子股份有限公司 Soft starting switch circuit and electronic apparatus
CN105955912A (en) * 2016-05-16 2016-09-21 芯海科技(深圳)股份有限公司 Device detection method for USB Type-C interface
CN106095715A (en) * 2016-06-17 2016-11-09 芯海科技(深圳)股份有限公司 A kind of Type C automatic identification circuit and recognition methods
CN107645690A (en) * 2016-07-20 2018-01-30 中兴通讯股份有限公司 Audio switching method and device, Type C interface processing method and processing devices
CN106067573A (en) * 2016-07-29 2016-11-02 惠州Tcl移动通信有限公司 Mobile terminal fast charge method and system
CN106537719A (en) * 2016-08-15 2017-03-22 北京小米移动软件有限公司 Electronic device, charger, charging system, and charging method
CN106445044A (en) * 2016-08-18 2017-02-22 硅谷数模半导体(北京)有限公司 Data conversion interface protection method and system
CN106329620A (en) * 2016-08-31 2017-01-11 珠海智融科技有限公司 High-voltage rapid charging circuit structure through multiplexing of single-power-supply multi-port output
CN106802872A (en) * 2016-12-16 2017-06-06 华勤通讯技术有限公司 A kind of method and terminal that equipment room charging is carried out by USB interface
CN207083202U (en) * 2017-01-09 2018-03-09 深圳市德誉兴业电子有限公司 A kind of TYPE C chargings earphone
CN106655415A (en) * 2017-03-14 2017-05-10 成都智朴思互联科技有限公司 Intelligent universal charging identification and control device based on USB interface
CN207320876U (en) * 2017-09-12 2018-05-04 北京奇虎科技有限公司 A kind of charging circuit and charger
CN107834628A (en) * 2017-11-02 2018-03-23 芯海科技(深圳)股份有限公司 One kind realizes a variety of fast charge protocol circuits and method based on TYPE C interface
CN107742912A (en) * 2017-11-08 2018-02-27 深圳天珑无线科技有限公司 Charging method, fast fill device and computer-readable recording medium

Also Published As

Publication number Publication date
CN108710593A (en) 2018-10-26

Similar Documents

Publication Publication Date Title
CN108710593B (en) Power supply method and device based on Type-C connector
CN105867593B (en) A kind of USB Type-C interface circuits and its control device
US8880909B2 (en) Auto-detect polling for correct handshake to USB client
US9923390B2 (en) Method and apparatus for performing charging port detection control
US10042801B2 (en) System for detecting universal serial bus (USB) device and method thereof
US5734208A (en) Dynamic termination for signal buses going to a connector
US20210109580A1 (en) Usb device and operation method thereof
EP3148031B1 (en) Bus interfaces with unpowered termination
CN108093329B (en) Peripheral type detection circuit and mobile terminal based on shared interface
US12009621B2 (en) Device and method of ensuring power delivery in universal serial bus interface
US7917779B2 (en) Power control apparatus for motherboard
KR20140126491A (en) power supply circuit and method for controlling thereof
CN113687707A (en) Power supply voltage control device of mainboard and server
CN106033241A (en) Interface power supply circuit
CN108572891B (en) Display card connection prompting circuit
CN208061189U (en) OPS adapter plate and electronic equipment
US10587083B2 (en) Interface assembly that connects a peripheral device to an interface of a host system, an electronic device and a method of signaling
JP2016167807A (en) Level conversion circuit and projection apparatus
CN215647302U (en) Audio processing device and audio system
CN116543666A (en) Detection circuit and detection method of external display device
US20090167099A1 (en) Switch Device for Switching Different Type Signals
CN109586568B (en) Drive circuit and display panel
CN109871111B (en) Display and electronic device using same
US11545822B2 (en) Protection circuit applied to electronic device and associated protection method
CN105098406A (en) Wire end connector

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant