Nothing Special   »   [go: up one dir, main page]

US20130300213A1 - Identification circuit - Google Patents

Identification circuit Download PDF

Info

Publication number
US20130300213A1
US20130300213A1 US13/592,427 US201213592427A US2013300213A1 US 20130300213 A1 US20130300213 A1 US 20130300213A1 US 201213592427 A US201213592427 A US 201213592427A US 2013300213 A1 US2013300213 A1 US 2013300213A1
Authority
US
United States
Prior art keywords
electronic switch
terminal
mosfet
usb interface
electronic
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.)
Abandoned
Application number
US13/592,427
Inventor
Hai-Qing Zhou
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.)
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Hongfujin Precision Industry Shenzhen Co Ltd
Hon Hai Precision Industry 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 Hongfujin Precision Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Hongfujin Precision Industry Shenzhen Co Ltd
Assigned to HON HAI PRECISION INDUSTRY CO., LTD., HONG FU JIN PRECISION INDUSTRY (SHENZHEN) CO., LTD. reassignment HON HAI PRECISION INDUSTRY CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ZHOU, HAI-QING
Publication of US20130300213A1 publication Critical patent/US20130300213A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/266Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips

Definitions

  • the present disclosure relates to an identification circuit for universal serial bus (USB) interfaces.
  • USB universal serial bus
  • Some electronic devices can be charged through their USB interface(s).
  • the power to charge the electronic device may be supplied by another electronic device, such as a computer, or directly from a regular power outlet using a USB adapter.
  • the electronic device may exchange data with the computer. If the electronic device is unable to determine whether it is connected to a computer or to a power source, such as when connected to a power outlet, the electronic device would ignore or shut down the connected USB interface, thus the electronic device would not be charged. Therefore, a controller of the electronic device must identify whether the power source is another electronic device or a power outlet. At present, a costly special identification chip is used to identify the type of power source connected to the electronic device.
  • the figure is a circuit diagram of an exemplary embodiment of an identification circuit for interfaces.
  • an identification circuit is connected between a universal serial bus (USB) interface 10 , and each of a controller 20 and a power management unit (PMU) 30 .
  • An exemplary embodiment of the identification circuit includes four metal oxide semiconductor field effect transistors (MOSFETs) Q 1 -Q 4 , resistors R 1 -R 4 , and a diode D 1 .
  • the MOSFETs Q 1 and Q 2 are p-channel MOSFETs.
  • the MOSFETs Q 3 and Q 4 are n-channel MOSFETs.
  • a power pin VCC of the USB interface 10 is connected to sources of the MOSFETs Q 1 and Q 2 .
  • a negative data pin D ⁇ and a positive data pin D+ of the USB interface 10 are connected to the controller 20 .
  • a ground pin GND of the USB interface 10 is grounded.
  • the negative data pin D ⁇ of the USB interface 10 is further connected to a cathode of the diode D 1 .
  • An anode of the diode D 1 is grounded through the resistor R 1 .
  • the anode of the diode D 1 is further connected to the power pin VCC of the USB interface 10 through the resistor R 2 .
  • the anode of the diode D 1 is further connected to a gate of the MOSFET Q 3 .
  • a source of the MOSFET Q 3 is grounded.
  • a drain of the MOSFET Q 3 is connected to the power pin VCC of the USB interface 10 through the resistor R 3 .
  • the drain of the MOSFET Q 3 is further connected to gates of the MOSFETs Q 2 and Q 4 .
  • a drain of the MOSFET Q 2 is connected to a power pin ACIN of the PMU 30 .
  • a drain of the MOSFET Q 1 is connected to a power pin VBUS of the PMU 30 .
  • a source of the MOSFET Q 4 is grounded.
  • a drain of the MOSFET Q 4 is connected to a source of the MOSFET Q 1 through the resistor R 4 .
  • the drain of the MOSFET Q 4 is further connected to a gate of the MOSFET Q 1 .
  • a USB device includes a power pin, a ground pin, and two data pins.
  • a power adapter includes a power pin and a ground pin.
  • a voltage received by the gate of the MOSFET Q 3 is equal to a voltage which is obtained by the 3.3 volt power supply divided by the resistor R 1 .
  • the voltage received by the gate of the MOSFET Q 3 is regarded as a high level signal.
  • the MOSFET Q 3 is turned on.
  • the MOSFET Q 2 is turned on.
  • power from the power adapter is transmitted to the power pin ACIN of the PMU 30 through the USB interface 10 and the MOSFET Q 2 , such that the electronic device is charged through the USB interface 10 .
  • the negative data pin D ⁇ When a computer is connected to the electronic device with the USB interface 10 through the USB cable, the negative data pin D ⁇ outputs a low level signal. At this time, the diode D 1 is turned on, and the MOSFET Q 3 is turned off. The MOSFET Q 2 is turned off. The MOSFETs Q 1 and Q 4 are turned on. The controller 20 determines that the USB interface 10 is connected to the computer. As a result, power from the computer is transmitted to the power pin VBUS of the PMU 30 through the MOSFET Q 1 and the USB interface 10 , such that the computer supplies power to the electronic device through the USB interface 10 , and data can be transmitted between the computer and the electronic device through the USB interface 10 .
  • the MOSFETs Q 1 -Q 4 function as electronic switches.

Landscapes

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

Abstract

An identification circuit is connected between a universal serial bus (USB) interface, and each of a controller and a power management unit (PMU). The identification circuit includes first to fourth electronic switches. When a power adapter is connected to the USB interface, the negative data pin of the USB interface is floating. The first and fourth electronic switches are turned off. The second and third electronic switches are turned on. Power from the power adapter is transmitted to the second power pin of the PMU. When the USB interface is connected to a computer, the negative data pin of the USB interface outputs a low level signal. The first and fourth electronic switches are turned on. The second and third electronic switches are turned off. Power from the computer is transmitted to an electronic device with the USB interface.

Description

    BACKGROUND
  • 1. Technical Field
  • The present disclosure relates to an identification circuit for universal serial bus (USB) interfaces.
  • 2. Description of Related Art
  • Some electronic devices can be charged through their USB interface(s). The power to charge the electronic device may be supplied by another electronic device, such as a computer, or directly from a regular power outlet using a USB adapter. When the electronic device is connected to a computer through the USB cable, the electronic device may exchange data with the computer. If the electronic device is unable to determine whether it is connected to a computer or to a power source, such as when connected to a power outlet, the electronic device would ignore or shut down the connected USB interface, thus the electronic device would not be charged. Therefore, a controller of the electronic device must identify whether the power source is another electronic device or a power outlet. At present, a costly special identification chip is used to identify the type of power source connected to the electronic device.
  • BRIEF DESCRIPTION OF THE DRAWING
  • Many aspects of the embodiments can be better understood with reference to the following drawing. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present embodiments. Moreover, in the drawing, like reference numerals designate corresponding parts throughout the view.
  • The figure is a circuit diagram of an exemplary embodiment of an identification circuit for interfaces.
  • DETAILED DESCRIPTION
  • The disclosure, including the accompanying drawing, is illustrated by way of examples and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
  • Referring to the figure, an identification circuit is connected between a universal serial bus (USB) interface 10, and each of a controller 20 and a power management unit (PMU) 30. An exemplary embodiment of the identification circuit includes four metal oxide semiconductor field effect transistors (MOSFETs) Q1-Q4, resistors R1-R4, and a diode D1. The MOSFETs Q1 and Q2 are p-channel MOSFETs. The MOSFETs Q3 and Q4 are n-channel MOSFETs.
  • A power pin VCC of the USB interface 10 is connected to sources of the MOSFETs Q1 and Q2. A negative data pin D− and a positive data pin D+ of the USB interface 10 are connected to the controller 20. A ground pin GND of the USB interface 10 is grounded. When a USB device is connected to the USB interface 10, the power pin VCC supplies power to the USB device, and the positive data pin D+ and the negative data pin D− transmit data between the USB device and the controller 20.
  • The negative data pin D− of the USB interface 10 is further connected to a cathode of the diode D1. An anode of the diode D1 is grounded through the resistor R1. The anode of the diode D1 is further connected to the power pin VCC of the USB interface 10 through the resistor R2. The anode of the diode D1 is further connected to a gate of the MOSFET Q3. A source of the MOSFET Q3 is grounded. A drain of the MOSFET Q3 is connected to the power pin VCC of the USB interface 10 through the resistor R3. The drain of the MOSFET Q3 is further connected to gates of the MOSFETs Q2 and Q4. A drain of the MOSFET Q2 is connected to a power pin ACIN of the PMU 30. A drain of the MOSFET Q1 is connected to a power pin VBUS of the PMU 30. A source of the MOSFET Q4 is grounded. A drain of the MOSFET Q4 is connected to a source of the MOSFET Q1 through the resistor R4. The drain of the MOSFET Q4 is further connected to a gate of the MOSFET Q1.
  • According to USB standards, a USB device includes a power pin, a ground pin, and two data pins. A power adapter includes a power pin and a ground pin.
  • When a power adapter is connected to an electronic device with the USB interface 10 through a USB cable, the negative data pin D− of the USB interface 10 is floating. At this time, a voltage received by the gate of the MOSFET Q3 is equal to a voltage which is obtained by the 3.3 volt power supply divided by the resistor R1. In other words, the voltage received by the gate of the MOSFET Q3 is regarded as a high level signal. The MOSFET Q3 is turned on. The MOSFET Q2 is turned on. As a result, power from the power adapter is transmitted to the power pin ACIN of the PMU 30 through the USB interface 10 and the MOSFET Q2, such that the electronic device is charged through the USB interface 10.
  • When a computer is connected to the electronic device with the USB interface 10 through the USB cable, the negative data pin D− outputs a low level signal. At this time, the diode D1 is turned on, and the MOSFET Q3 is turned off. The MOSFET Q2 is turned off. The MOSFETs Q1 and Q4 are turned on. The controller 20 determines that the USB interface 10 is connected to the computer. As a result, power from the computer is transmitted to the power pin VBUS of the PMU 30 through the MOSFET Q1 and the USB interface 10, such that the computer supplies power to the electronic device through the USB interface 10, and data can be transmitted between the computer and the electronic device through the USB interface 10.
  • In the embodiment, the MOSFETs Q1-Q4 function as electronic switches.
  • The foregoing description of the exemplary embodiments of the disclosure has been presented only for the purposes of illustration and description and is not intended to be exhaustive or to limit the disclosure to the precise forms disclosed. Many modifications and variations are possible in light of everything above. The embodiments were chosen and described in order to explain the principles of the disclosure and their practical application so as to enable others of ordinary skill in the art to utilize the disclosure and various embodiments and with various modifications as are suited to the particular use contemplated. Alternative embodiments will become apparent to those of ordinary skills in the art to which the present disclosure pertains without departing from its spirit and scope. Accordingly, the scope of the present disclosure is defined by the appended claims rather than the foregoing description and the exemplary embodiments described therein.

Claims (6)

What is claimed is:
1. An identification circuit connected between a universal serial bus (USB) interface, and each of a controller and a power management unit (PMU), the identification circuit comprising:
first to fourth electronic switches, a power pin of the USB interface is connected to first terminals of the first and second electronic switches, a negative data pin and a positive data pin of the USB interface are connected to the controller, a ground pin of the USB interface is grounded, a control terminal of the third electronic switch is grounded through a first resistor, and is connected to the negative data pin of the USB interface, a node between the control terminal of the third electronic switch and the first resistor is connected to the power pin of the USB interface through a second resistor, a first terminal of the third electronic switch is grounded, a second terminal of the third electronic switch is connected to control terminals of the second and fourth electronic switches, the second terminal of the third electronic switch is further connected to the power pin of the USB interface through a third resistor, a first terminal of the fourth electronic switch is grounded, a second terminal of the fourth electronic switch is connected to a control terminal of the first electronic switch, a second terminal of the first electronic switch is connected to a first power pin of the PMU, a second terminal of the second electronic switch is connected to a second power pin of the PMU, the second terminal of the fourth electronic switch is further connected to the power pin of the USB interface through a fourth resistor; wherein when the control terminals of the first to fourth electronic switches receive high level signals, the first and second terminals of each of the first and second electronic switches are disconnected, and the first and second terminals of each of the third and fourth electronic switches are connected; when the control terminals of the first to fourth electronic switches receive low level signals, the first and second terminals of each of the first and second electronic switches are connected, and the first and second terminals of each of the third and fourth electronic switches are disconnected.
2. The identification circuit of claim 1, further comprising a diode, wherein an anode of the diode is connected to the control terminal of the third electronic switch, a cathode of the diode is connected to the negative pin of the USB interface.
3. The identification circuit of claim 1, wherein the first electronic switch is a p-channel metallic oxide semiconductor field effect transistor (MOSFET), a gate of the MOSFET functions as the control terminal of the first electronic switch, a source of the MOSFET functions as the first terminal of the first electronic switch, a drain of the MOSFET functions as the second terminal of the first electronic switch.
4. The identification circuit of claim 1, wherein the second electronic switch is a p-channel MOSFET, a gate of the MOSFET functions as the control terminal of the second electronic switch, a source of the MOSFET functions as the first terminal of the second electronic switch, a drain of the MOSFET functions as the second terminal of the second electronic switch.
5. The identification circuit of claim 1, wherein the third electronic switch is an n-channel MOSFET, a gate of the MOSFET functions as the control terminal of the third electronic switch, a source of the MOSFET functions as the first terminal of the third electronic switch, a drain of the MOSFET functions as the second terminal of the third electronic switch.
6. The identification circuit of claim 1, wherein the fourth electronic switch is an n-channel MOSFET, a gate of the MOSFET functions as the control terminal of the fourth electronic switch, a source of the MOSFET functions as the first terminal of the fourth electronic switch, a drain of the MOSFET functions as the second terminal of the fourth electronic switch.
US13/592,427 2012-05-09 2012-08-23 Identification circuit Abandoned US20130300213A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210141171.7 2012-05-09
CN2012101411717A CN103389951A (en) 2012-05-09 2012-05-09 USB (Universal Serial Bus) identification circuit

Publications (1)

Publication Number Publication Date
US20130300213A1 true US20130300213A1 (en) 2013-11-14

Family

ID=49534229

Family Applications (1)

Application Number Title Priority Date Filing Date
US13/592,427 Abandoned US20130300213A1 (en) 2012-05-09 2012-08-23 Identification circuit

Country Status (3)

Country Link
US (1) US20130300213A1 (en)
CN (1) CN103389951A (en)
TW (1) TW201347407A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140147094A1 (en) * 2012-11-23 2014-05-29 Samsung Electro-Mechanics Co., Ltd. Memory card reader device having television broadcast signal reception function
TWI569578B (en) * 2015-08-10 2017-02-01 威盛電子股份有限公司 Control circuit, cable and control method thereof

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105677604A (en) * 2014-11-20 2016-06-15 鸿富锦精密工业(武汉)有限公司 USB recognition circuit
CN105975039A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Method and device for controlling power supply of Type-C interface, and electronic equipment
CN107247179A (en) * 2017-05-03 2017-10-13 北京世纪龙脉科技有限公司 A kind of voltage detecting circuit of USB device
CN108282010A (en) * 2018-03-06 2018-07-13 北京小米移动软件有限公司 Anticorrosion circuit and charger for charging interface

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140147094A1 (en) * 2012-11-23 2014-05-29 Samsung Electro-Mechanics Co., Ltd. Memory card reader device having television broadcast signal reception function
US9241126B2 (en) * 2012-11-23 2016-01-19 Samsung Electro-Mechanics Co., Ltd. Memory card reader device having television broadcast signal reception function
TWI569578B (en) * 2015-08-10 2017-02-01 威盛電子股份有限公司 Control circuit, cable and control method thereof
US10211813B2 (en) 2015-08-10 2019-02-19 Via Technologies, Inc. Control circuit, connection line and control method thereof

Also Published As

Publication number Publication date
TW201347407A (en) 2013-11-16
CN103389951A (en) 2013-11-13

Similar Documents

Publication Publication Date Title
US9182799B2 (en) USB OTG device with power mode switch function
US20130300213A1 (en) Identification circuit
US20140051479A1 (en) Electronic device with usb interface and method for starting usb communication therefor
US20120153908A1 (en) Power management circuit and electronic device employing the same
US9977475B2 (en) Over voltage protection for a communication line of a bus
US20130162298A1 (en) Identifying circuit
US20130313914A1 (en) Control circuit for universal serial bus connector
US9141575B2 (en) Power supply circuit for universal serial bus interface
US8476960B1 (en) Identifying circuit
US9952640B2 (en) Power control system
US10224721B2 (en) Switch control circuit and electronic device using the same
US9448578B1 (en) Interface supply circuit
US9753879B2 (en) Interface switching apparatus for switching between a plurality of power supply pins and input/output terminals
US20130033792A1 (en) Protection circuit for digital integrated chip
US20160274650A1 (en) Interface supply circuit
US8334672B2 (en) Charging circuit with ability to identify power source
US20140334112A1 (en) Motherboard with connector compatible with different interface standards
US9419618B1 (en) Interface circuit and electronic system using the same
US20130328580A1 (en) Test circuit for power supply unit
US8325052B2 (en) Over-current protection apparatus
US9665520B2 (en) Motherboard and computer control system including the same
US20160226483A1 (en) Control circuit and electronic device using the same
US9740274B2 (en) Motherboard supply circuit
US8198934B2 (en) Circuit for detecting management engine state
US9608435B2 (en) Electronic device and motherboard

Legal Events

Date Code Title Description
AS Assignment

Owner name: HONG FU JIN PRECISION INDUSTRY (SHENZHEN) CO., LTD

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:ZHOU, HAI-QING;REEL/FRAME:028834/0166

Effective date: 20120817

Owner name: HON HAI PRECISION INDUSTRY CO., LTD., TAIWAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:ZHOU, HAI-QING;REEL/FRAME:028834/0166

Effective date: 20120817

STCB Information on status: application discontinuation

Free format text: EXPRESSLY ABANDONED -- DURING EXAMINATION