US20130162347A1 - Identifying circuit - Google Patents

Identifying circuit Download PDF

Info

Publication number
US20130162347A1
US20130162347A1 US13/427,585 US201213427585A US2013162347A1 US 20130162347 A1 US20130162347 A1 US 20130162347A1 US 201213427585 A US201213427585 A US 201213427585A US 2013162347 A1 US2013162347 A1 US 2013162347A1
Authority
US
United States
Prior art keywords
electronic switch
terminal
usb interface
turned
bjt
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.)
Granted
Application number
US13/427,585
Other versions
US8476960B1 (en
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 HONG FU JIN PRECISION INDUSTRY (SHENZHEN) CO., LTD., HON HAI PRECISION INDUSTRY CO., LTD. reassignment HONG FU JIN PRECISION INDUSTRY (SHENZHEN) CO., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ZHOU, HAI-QING
Publication of US20130162347A1 publication Critical patent/US20130162347A1/en
Application granted granted Critical
Publication of US8476960B1 publication Critical patent/US8476960B1/en
Expired - Fee Related 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/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices

Definitions

  • the present disclosure relates to an identifying circuit.
  • Some electronic devices can be charged or recharged through their USB interface(s).
  • the power to charge or recharge the electronic device may be supplied from another device, such as a computer, or directly from a USB mains power adapter.
  • the USB interface of the electronic device When the USB interface of the electronic device is connected to a computer through the USB cable, the electronic device is considered a USB connected device and can upload or download data from the computer. If the electronic device is not able to exchange data with the connected device such as when connected to a USB mains power adapter, the electronic device may ignore or shut down the connected USB interface.
  • a controller of the electronic device must identify whether a computer or a power adapter has been connected to the USB interface. At present, a costly special identifying chip is used to identify the type of interface connected to the electronic device.
  • the FIGURE is a circuit diagram of an exemplary embodiment of an identifying circuit.
  • an identifying circuit is connected between a Universal Serial Bus (USB) interface 10 and a controller 20 .
  • An exemplary embodiment of the identifying circuit includes two metal oxide semiconductor field effect transistors (MOSFETs) Q 1 and Q 2 , two bi-polar junction transistors (BJT) Q 3 and Q 4 , four resistors R 1 , R 2 , R 3 , and R 4 , two capacitors C 1 and C 2 .
  • MOSFETs metal oxide semiconductor field effect transistors
  • BJT bi-polar junction transistors
  • a power pin VCC of the USB interface 10 is connected to a power supply Vcc.
  • a positive data pin D+ and a negative data pin D ⁇ of the USB interface 10 are connected to the controller 20 .
  • the power pin VCC supplies power for 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 .
  • a gate of the MOSFET Q 1 is connected to the positive data pin D+.
  • a source of the MOSFET Q 1 is grounded.
  • a drain of the MOSFET Q 1 is connected to the power pin VCC through the resistor R 1 , and is further connected to a gate of the MOSFET Q 2 .
  • a source of the MOSFET Q 2 is grounded.
  • a drain of the MOSFET Q 2 is connected to the power pin VCC through the resistor R 2 , and is further connected to an identification pin of the controller 20 .
  • An emitter of the BJT Q 3 is connected to the power pin VCC.
  • a collector of the BJT Q 3 is connected to the drain of the MOSFET Q 2 , and is further connected to a base of the BJT Q 4 .
  • a base of the BJT Q 3 is connected to a collector of the BJT Q 4 .
  • An emitter of the BJT Q 4 is grounded.
  • the capacitor C 1 is connected between the emitter and the base of the BJT Q 3 .
  • the resistor R 3 is connected with the capacitor C 1 in parallel.
  • the capacitor C 2 is connected between the base and the emitter of the BJT Q 4 .
  • the resistor R 4 is connected with the capacitor C 2 in parallel.
  • a USB device includes a power pin VCC, a ground pin GND, two data pins D+ and D ⁇ .
  • a power adapter includes a power pin VCC and a ground pin GND.
  • the positive data pin D+ of the USB interface 10 is floating.
  • the MOSFET Q 1 is turned off, and the MOSFET Q 2 is turned on.
  • the BJTs Q 3 and Q 4 are turned off.
  • the identification pin of the controller 20 receives a low level signal. The controller 20 determines that the USB interface 10 is connected to the power adapter.
  • the positive data pin D+ outputs a high level signal
  • the MOSFET Q 1 is turned on
  • the MOSFET Q 2 is turned off.
  • the BJTs Q 3 and Q 4 are turned on.
  • the identification pin of the controller 20 receives a high level signal.
  • the controller 20 determines that the USB interface 10 is connected to the computer to be regarded as a USB device. Furthermore, because the BJT Q 3 is turned on, the drain of the MOSFET Q 2 receives a high level signal from the power pin VCC of the USB interface 10 through the BJT Q 3 .
  • the base of the BJT Q 4 receives the high level signal all the same.
  • the BJT Q 3 is turned on all the time, namely the identification pin of the controller 20 receives the high level signal all the time.
  • the MOSFETs Q 1 , Q 2 and the BJTs Q 3 , Q 4 function as electronic switches. Therefore, the MOSFETs Q 1 , Q 2 and the BJTs Q 3 , Q 4 can be replaced by any other types of FETs or BJTs.

Landscapes

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

Abstract

An identifying circuit is connected between a Universal Serial Bus (USB) interface and a controller. The identifying circuit includes first to fourth electronic switches. When a power adapter connects to the USB interface, the first and fourth electronic switches are not turned on, and the second and third electronic switches are turned on. An identification pin of the controller receives a low level signal and determines that the power adapter connects to the USB interface. When a computer connects to the USB interface, the first and fourth electronic switches are turned on, and the second and third electronic switches are not turned on. The identification pin receives a high level signal and determines that the computer is connected to the USB interface.

Description

    BACKGROUND
  • 1. Technical Field
  • The present disclosure relates to an identifying circuit.
  • 2. Description of Related Art
  • Some electronic devices can be charged or recharged through their USB interface(s). The power to charge or recharge the electronic device may be supplied from another device, such as a computer, or directly from a USB mains power adapter. When the USB interface of the electronic device is connected to a computer through the USB cable, the electronic device is considered a USB connected device and can upload or download data from the computer. If the electronic device is not able to exchange data with the connected device such as when connected to a USB mains power adapter, the electronic device may ignore or shut down the connected USB interface. As a result, a controller of the electronic device must identify whether a computer or a power adapter has been connected to the USB interface. At present, a costly special identifying chip is used to identify the type of interface connected to the electronic device.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • Many aspects of the embodiments can be better understood with reference to the following drawing. The components in the drawing are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present embodiments.
  • The FIGURE is a circuit diagram of an exemplary embodiment of an identifying circuit.
  • DETAILED DESCRIPTION
  • The disclosure, including the accompanying drawings, 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 identifying circuit is connected between a Universal Serial Bus (USB) interface 10 and a controller 20. An exemplary embodiment of the identifying circuit includes two metal oxide semiconductor field effect transistors (MOSFETs) Q1 and Q2, two bi-polar junction transistors (BJT) Q3 and Q4, four resistors R1, R2, R3, and R4, two capacitors C1 and C2.
  • A power pin VCC of the USB interface 10 is connected to a power supply Vcc. A positive data pin D+ and a negative data pin D− of the USB interface 10 are connected to the controller 20. As a result, when the USB interface 10 is connected to a computer to be regarded as a USB device, the power pin VCC supplies power for 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.
  • A gate of the MOSFET Q1 is connected to the positive data pin D+. A source of the MOSFET Q1 is grounded. A drain of the MOSFET Q1 is connected to the power pin VCC through the resistor R1, and is further connected to a gate of the MOSFET Q2. A source of the MOSFET Q2 is grounded. A drain of the MOSFET Q2 is connected to the power pin VCC through the resistor R2, and is further connected to an identification pin of the controller 20.
  • An emitter of the BJT Q3 is connected to the power pin VCC. A collector of the BJT Q3 is connected to the drain of the MOSFET Q2, and is further connected to a base of the BJT Q4. A base of the BJT Q3 is connected to a collector of the BJT Q4. An emitter of the BJT Q4 is grounded. The capacitor C1 is connected between the emitter and the base of the BJT Q3. The resistor R3 is connected with the capacitor C1 in parallel. The capacitor C2 is connected between the base and the emitter of the BJT Q4. The resistor R4 is connected with the capacitor C2 in parallel.
  • According to USB standards, a USB device includes a power pin VCC, a ground pin GND, two data pins D+ and D−. A power adapter includes a power pin VCC and a ground pin GND.
  • When a power adapter is connected to the USB interface 10, the positive data pin D+ of the USB interface 10 is floating. At this time, the MOSFET Q1 is turned off, and the MOSFET Q2 is turned on. The BJTs Q3 and Q4 are turned off. As a result, the identification pin of the controller 20 receives a low level signal. The controller 20 determines that the USB interface 10 is connected to the power adapter.
  • When the USB interface 10 is connected to the computer, the positive data pin D+ outputs a high level signal, the MOSFET Q1 is turned on, and the MOSFET Q2 is turned off. The BJTs Q3 and Q4 are turned on. As a result, the identification pin of the controller 20 receives a high level signal. The controller 20 determines that the USB interface 10 is connected to the computer to be regarded as a USB device. Furthermore, because the BJT Q3 is turned on, the drain of the MOSFET Q2 receives a high level signal from the power pin VCC of the USB interface 10 through the BJT Q3. As a result, even if the data pin D+ does not output the high level signal, the base of the BJT Q4 receives the high level signal all the same. The BJT Q3 is turned on all the time, namely the identification pin of the controller 20 receives the high level signal all the time.
  • In the embodiment, the MOSFETs Q1, Q2 and the BJTs Q3, Q4 function as electronic switches. Therefore, the MOSFETs Q1, Q2 and the BJTs Q3, Q4 can be replaced by any other types of FETs or BJTs.
  • 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 (7)

What is claimed is:
1. An identifying circuit connected between a Universal Serial Bus (USB) interface and a controller, the identifying circuit comprising:
a first electronic switch, wherein a control terminal of the first electronic switch is connected to a positive data pin of the USB interface, a first terminal of the first electronic switch is connected to a power pin of the USB interface through a first resistor, a second terminal of the first electronic switch is grounded;
a second electronic switch, wherein a control terminal of the second electronic switch is connected to the first terminal of the first electronic switch, a first terminal of the second electronic switch is connected to the power pin of the USB interface through a second resistor, the first terminal of the second electronic switch is further connected to an identification pin of the controller, a second terminal of the second electronic switch is grounded;
a third electronic switch, wherein a control terminal of the third electronic switch is connected to the first terminal of the second electronic switch, a first terminal of the third electronic switch is connected to the power pin of the USB interface through a third resistor, a second terminal of the third electronic switch is grounded; and
a fourth electronic switch, wherein a control terminal of the fourth electronic switch is connected to the first terminal of the third electronic switch, a first terminal of the fourth electronic switch is connected to the power pin of the USB interface, a second terminal of the fourth electronic switch is connected to the control terminal of the third electronic switch, the second terminal of the fourth electronic switch is further grounded through a fourth resistor;
wherein when a power adapter is connected to the USB interface, the first electronic switch is not turned on, the second electronic switch is turned on, the third electronic switch is not turned on, the fourth electronic switch is not turned on, the identification pin of the controller receives a low level signal and determines that the power adapter is connected to the USB interface; when the USB interface is connected to a computer, the first electronic switch is turned on, the second electronic switch is not turned on, the third electronic switch is turned on, the fourth electronic switch is turned on, the identification pin of the controller receives a high level signal and determines that the computer is connected to the USB interface.
2. The identifying circuit of claim 1, wherein the first electronic switch is a metal oxide semiconductor field effect transistor (MOSFET), a gate of the MOSFET is the control terminal of the first electronic switch, a drain of the MOSFET is the first terminal of the first electronic switch, a source of the MOSFET is the second terminal of the first electronic switch.
3. The identifying circuit of claim 1, wherein the second electronic switch is a metal oxide semiconductor field effect transistor (MOSFET), a gate of the MOSFET is the control terminal of the second electronic switch, a drain of the MOSFET is the first terminal of the second electronic switch, a source of the MOSFET is the second terminal of the second electronic switch.
4. The identifying circuit of claim 1, wherein the third electronic switch is a bipolar junction transistor (BJT), a base of the BJT is the control terminal of the third electronic switch, a collector of the BJT is the first terminal of the third electronic switch, an emitter of the BJT is the second terminal of the third electronic switch.
5. The identifying circuit of claim 1, wherein the fourth electronic switch is a bipolar junction transistor (BJT), a base of the BJT is the control terminal of the fourth electronic switch, a collector of the BJT is the first terminal of the fourth electronic switch, an emitter of the BJT is the second terminal of the fourth electronic switch.
6. The identifying circuit of claim 1, further comprising a capacitor, wherein the capacitor is connected between the second terminal and the control terminal of the third electronic switch.
7. The identifying circuit of claim 1, further comprising a capacitor, wherein the capacitor is connected between the first terminal and the control terminal of the fourth electronic switch.
US13/427,585 2011-12-23 2012-03-22 Identifying circuit Expired - Fee Related US8476960B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201110437299.3 2011-12-23
CN201110437299.3A CN103176922A (en) 2011-12-23 2011-12-23 Universal serial bus (USB) identification circuit

Publications (2)

Publication Number Publication Date
US20130162347A1 true US20130162347A1 (en) 2013-06-27
US8476960B1 US8476960B1 (en) 2013-07-02

Family

ID=48636815

Family Applications (1)

Application Number Title Priority Date Filing Date
US13/427,585 Expired - Fee Related US8476960B1 (en) 2011-12-23 2012-03-22 Identifying circuit

Country Status (3)

Country Link
US (1) US8476960B1 (en)
CN (1) CN103176922A (en)
TW (1) TW201327195A (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102136068B1 (en) * 2013-07-04 2020-07-21 삼성전자 주식회사 Control method for usb interface and electronic device supporting the same
CN105677604A (en) * 2014-11-20 2016-06-15 鸿富锦精密工业(武汉)有限公司 USB recognition circuit
CN105680492A (en) * 2014-11-20 2016-06-15 鸿富锦精密工业(武汉)有限公司 Power circuit and electronic device employing the same
CN107102959B (en) * 2017-04-14 2020-02-18 深圳市大迈科技有限公司 Universal serial bus interface and circuit thereof, USB flash disk
JP6440914B1 (en) * 2018-03-13 2018-12-19 三菱電機株式会社 Information processing unit

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04229715A (en) * 1990-11-15 1992-08-19 Toshiba Corp Two-way switch circuit
JP3537500B2 (en) * 1994-08-16 2004-06-14 バー−ブラウン・コーポレーション Inverter device
JP3149773B2 (en) * 1996-03-18 2001-03-26 富士電機株式会社 Insulated gate bipolar transistor with current limiting circuit
JPH11102916A (en) * 1997-09-29 1999-04-13 Nec Corp Semiconductor integrated circuit device and design method thereof
DE19914466C1 (en) * 1999-03-30 2000-09-14 Siemens Ag Driver stage for switching load for motor vehicle door control
CN100395714C (en) * 2005-05-28 2008-06-18 鸿富锦精密工业(深圳)有限公司 Circuit for identificating front-end bus of central processor
TWI458219B (en) * 2009-12-22 2014-10-21 Chi Mei Comm Systems Inc Charge power supply judging circuit

Also Published As

Publication number Publication date
CN103176922A (en) 2013-06-26
US8476960B1 (en) 2013-07-02
TW201327195A (en) 2013-07-01

Similar Documents

Publication Publication Date Title
US9182799B2 (en) USB OTG device with power mode switch function
US9201832B2 (en) Electronic device with USB interface and method for starting USB communication therefor
US7849244B2 (en) Apparatus for resolving conflicts happened between two I2C slave devices with the same addressed address in computer system
US8476960B1 (en) Identifying circuit
US20070118322A1 (en) Testing circuit for a data interface
US9018798B2 (en) Power supply circuit
US20130300213A1 (en) Identification circuit
US20130162298A1 (en) Identifying circuit
US8493701B2 (en) Overvoltage protection circuit
US20090106565A1 (en) Power control apparatus for motherboard
US20130313914A1 (en) Control circuit for universal serial bus connector
US20130063126A1 (en) Fan detecting circuit
US8547242B2 (en) Power supply detecting circuit indicating a predetermined voltage range
US9160162B2 (en) Protection circuit
US20130033792A1 (en) Protection circuit for digital integrated chip
US9627901B2 (en) Charging circuit
US8767365B2 (en) Protection circuit
US8325052B2 (en) Over-current protection apparatus
US8334672B2 (en) Charging circuit with ability to identify power source
TWI593211B (en) Control circuit and electronic device using the same
US9966834B2 (en) Power supply protecting apparatus
US20100293394A1 (en) Motherboard and power supply control circuit thereof
US20140292258A1 (en) Electronic device and charging circuit thereof
US10389228B1 (en) Power supply circuit with surge-supression
US9553447B2 (en) Electronic device and motherboard and protecting circuit of electronic device

Legal Events

Date Code Title Description
AS Assignment

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

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

Effective date: 20120316

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

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

Effective date: 20120316

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20170702