CN102110998B - Judging circuit of charge power supply - Google Patents

Judging circuit of charge power supply Download PDF

Info

Publication number
CN102110998B
CN102110998B CN200910312133.1A CN200910312133A CN102110998B CN 102110998 B CN102110998 B CN 102110998B CN 200910312133 A CN200910312133 A CN 200910312133A CN 102110998 B CN102110998 B CN 102110998B
Authority
CN
China
Prior art keywords
pin
power supply
charge power
processing unit
central processing
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.)
Expired - Fee Related
Application number
CN200910312133.1A
Other languages
Chinese (zh)
Other versions
CN102110998A (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.)
Guangdong Huabo Enterprise Management Consulting Co ltd
Henan Leishuo Optoelectronics Technology Co ltd
Original Assignee
Shenzhen Futaihong Precision Industry Co Ltd
Chi Mei Communication Systems Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Futaihong Precision Industry Co Ltd, Chi Mei Communication Systems Inc filed Critical Shenzhen Futaihong Precision Industry Co Ltd
Priority to CN200910312133.1A priority Critical patent/CN102110998B/en
Publication of CN102110998A publication Critical patent/CN102110998A/en
Application granted granted Critical
Publication of CN102110998B publication Critical patent/CN102110998B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)

Abstract

The invention provides a judging circuit of a charge power supply, and the judging circuit is connected with the mini USB (universal serial bus) interface of a portable electronic device and used for judging whether the charg power supply connected to the mini USB interface is a charger or a computer. The judging circuit of the charg power supply comprises a central processing unit, a first pin and a second pin, and also comprises a metal oxide semiconductor field effect transistor (MOSFET), wherein the grid electrode of the MOSFET is electrically connected to the first pin or the second pin; the drain electrode of the MOSFET is electrically connected to the central processing unit; the high and low level variation of the first pin or the second pin is converted into a judging signal through the MOSFET, and the judging signal is output to the central processing unit; and the central processing unit judges the type of the charg power supply based on the level state of the judging signal.

Description

Charge power supply decision circuitry
Technical field
The present invention relates to a kind of circuit, relate in particular to a kind of charge power supply decision circuitry.
Background technology
Along with scientific and technological development, the portable electron devices such as mobile phone, personal digital assistant, MP3 (dynamic image expert compression standard audio frequency aspect 3, Moving Picture Experts Group Audio Layer III) player are widely used in daily life.And USB (Universal Serial Bus, USB) with its novelty, convenience, general feature, popularize rapidly, most portable electron device is all with a mini USB (miniUniversal Serial Bus, mini USB) interface and part portable electron device can utilize this mini USB interface to charge, by a USB cable, be connected to a charger or USB interface of computer, so that this portable electron device is charged.Because general charger is different from the charging current of computer, so portable electron device to be charged need judge these two kinds of different charge modes.
General USB interface and mini USB interface all have a power pins, a D+ pin, a D-pin and a grounding pin, and wherein this D+ pin and this D-pin are for transmission of data signals.Traditional determination methods is generally to connect respectively some minutes piezoelectricity groups on the D+ of the mini of portable electron device USB interface end and D-pin, different due to charger and USB interface of computer internal wiring, at the D+ in portable electron device or D-pin after electric resistance partial pressure, for charger or USB interface of computer charging, have different low and high level variations, judgement is charger charging or USB interface of computer charging thus.
But above-mentioned decision circuitry is because increase has several divider resistances, and not only circuit connects complexity, and can take the more space of portable electron device, is unfavorable for that portable electron device is toward short, little, light, thin future development.
Summary of the invention
In view of this, be necessary to provide a kind of circuit simply and not to take the charge power supply decision circuitry of too much volume.
A kind of charge power supply decision circuitry, it is connected with the mini USB interface of a portable electron device, for judging that the charge power supply of this mini USB interface of access is a charger or a computer, this charge power supply decision circuitry comprises a central processing unit, one first pin and one second pin, described charge power supply decision circuitry also comprises a metal oxide semiconductor field effect tube, the grid of this metal oxide semiconductor field effect tube is electrically connected to this first pin or this second pin, the drain electrode of this metal oxide semiconductor field effect tube is electrically connected to this central processing unit, the low and high level variation of this first pin or this second pin converts a judgement signal to by this metal oxide semiconductor field effect tube and exports this central processing unit to, this central processing unit is by the type of the level state judgement charge power supply of this judgement signal.
Compared to prior art, described charge power supply decision circuitry by being connected to metal oxide semiconductor field effect tube on this first pin or the second pin, according to the difference of the internal circuit of USB interface of the USB interface of this charger and this computer own, at this first pin or the second pin, can produce different low and high level variations, and by this metal oxide semiconductor field effect tube, convert this variation to a judgement signal and be passed to this central processing unit, and enter corresponding charge mode by the judgement of this central processing unit.
Accompanying drawing explanation
The charger USB interface pin function structure chart of Fig. 1 for matching with charge power supply decision circuitry better embodiment of the present invention.
Fig. 2 is the USB interface of computer pin function structure chart coordinating with charge power supply decision circuitry better embodiment of the present invention.
Fig. 3 is the circuit structure diagram of charge power supply decision circuitry better embodiment of the present invention.
Main element symbol description
USB interface 10、20
Out-put supply pin 11、21
D-pin 12、22、312
D+ pin 13、23、313
Grounding pin 14、24、314
Usb signal transceiver 25
Charge power supply decision circuitry 30
Mini USB interface 31
Input power pin 311
MOSFET 33
Grid 331
Source electrode 332
Drain electrode 333
Central processing unit 35
USB interface chip 37
USB-D-P pin 371
USB-D-M pin 373
Embodiment
Charge power supply decision circuitry of the present invention is applicable to the portable electron device that mobile phone, personal digital assistant, MP3 player etc. have mini USB interface and can use this interface charging.
Refer to Fig. 1, the usb 10 of a charger comprises 4 pins, and it is respectively: out-put supply pin 11, D-pin 12, D+ pin 13 and grounding pin 14.Wherein between this D-pin 12 and D+ pin 13, short circuit connects.
Refer to Fig. 2, a USB interface of computer 20 comprises 4 pins, and it is respectively: out-put supply pin 21, D-pin 22, D+ pin 23 and grounding pin 24.Wherein this D-pin 22 and D+ pin 23 also connect respectively a drop-down resistance R 1, R2 to ground for transmission of data signals.The resistance of this pull down resistor R1, R2 is 15K ohm.Described D-pin 22 and D+ pin 23 are connected to the usb signal transceiver 25 in this main frame, for transmitting data.
Refer to Fig. 3, better embodiment charge power supply decision circuitry 30 of the present invention comprises a mini USB interface 31, a metal oxide semiconductor field effect tube (Metal-Oxide Semiconductor Field Effect Transisitor, MOSFET) 33, one central processing unit 35 and a USB interface chip 37.This MOSFET33 and this USB interface chip 37 are all electrically connected with this central processing unit 35.This mini USB interface 31 comprises following 4 pins: input power pin 311, the first pin, the second pin and grounding pin 314.In the present embodiment, this first pin and the second pin are respectively D-pin 312, D+ pin 313 these D-pins 312, D+ pin 313 for transmission of data signals.In the present embodiment, this MOSFET33 is a N-channel MOS FET (N-MOSFET), and its grid 331 is electrically connected to this D-pin 312; Its source electrode 332 ground connection; Its drain electrode 333 is electrically connected to this central processing unit 35 and exports a judgement signal to this central processing unit 35.If this grid 331 is high level, this MOSFET33 conducting, this drain electrode 333 is low level; If this grid 331 is low level, this MOSFET33 cut-off, this drain electrode 333 is high level.What this central processing unit 35 can judge that the height of the level of signal judges that this charge power supply decision circuitry 30 connects according to this is charger or computer, and enters corresponding charge mode according to judged result.This USB interface chip 37 comprises a USB-D-P pin 371 and a USB-D-M pin 373, it is electrically connected with this D-pin 312 and D+ pin 313 respectively, for receiving from this D-pin 312 and D+ pin 313, transmit the data-signal of coming, and this data-signal is forwarded to this central processing unit 35.
When described charger is connected to the portable electron device with this charge power supply decision circuitry 30, each pin of described usb 10 and the corresponding electric connection of each pin of this mini USB interface 31, now, because this D-pin 312 and D+ pin 313 are short circuit state, this USB interface chip 37 makes this D-pin 312 and D+ pin 313 always in high level state automatically, the grid 331 of this MOSFET33 is high level always, this MOSFET33 conducting, the judgement signal that connects its drain electrode 333 is low level; This central processing unit 35 detects this and is after low level judgement signal, enables corresponding charger charge mode.
When described USB interface of computer 20 is connected to this charge power supply decision circuitry 30, the corresponding electric connection of pin of described USB interface 20 and this miniUSB interface 31, now, because can sending one group of signal by this D-pin 22 and D+ pin 23 by this usb signal transceiver 25, this computer inquires whether need to carry out transfer of data, this group signal is one group of binary code, shows as the variation of low and high level on this D-pin 22 and D+ pin 23.The conducting and the cut-off state that are connected to this MOSFET33 of this D+ pin 23 also can produce corresponding variation, correspondingly this judgement signal is in the short time, for example in 0.1 second, also have the variation of low and high level, the low and high level that this central processing unit 35 detected this judgement signal in 0.1 second changes, and enables corresponding USB interface of computer charge mode.
The grid 331 that is appreciated that described MOSFET33 also can be connected to this D-pin 312, and because short circuit between the D-pin 12 of this charger and D+ pin 13 connects, this D-pin 12 is all high level, makes this MOSFET33 conducting, and this judgement signal is low level.And the low and high level variation of the D-pin of this USB interface of computer 20 in 22 short time also can make this judgement signal present low and high level variation accordingly.This central processing unit 35 can judge that signal enters corresponding charge mode according to this thus.
Compared to prior art, charge power supply decision circuitry of the present invention is by being connected to a MOSFET33 on the D-pin 312 in this mini USB interface or D+ pin 313, according to the difference of this charger usb 10 and this USB interface of computer 20 internal circuits own, at this D-pin 312 or D+ pin 313, can produce different low and high level variations, and by this MOSFET33, convert this variation to a judgement signal and be passed to this central processing unit 35, and enter corresponding charge mode by the judgement of this central processing unit 35.
In addition, those skilled in the art also can make various modifications, interpolation and the replacement in other forms and details in the claims in the present invention scope of disclosure and spirit.Certainly, the variations such as various modifications, interpolation and replacement that these are made according to spirit of the present invention, within all should being included in the present invention's scope required for protection.

Claims (4)

1. a charge power supply decision circuitry, it is connected with the mini USB interface of a portable electron device, for judging that the charge power supply of this mini USB interface of access is a charger or a computer, described computer comprises usb signal transceiver, this mini USB interface comprises one first pin and the second pin, this charge power supply decision circuitry comprises a central processing unit, it is characterized in that: described charge power supply decision circuitry also comprises a metal oxide semiconductor field effect tube, the grid of this metal oxide semiconductor field effect tube is electrically connected to this first pin or this second pin, the drain electrode of this metal oxide semiconductor field effect tube is electrically connected to this central processing unit, the low and high level variation of this first pin or this second pin converts a judgement signal to by this metal oxide semiconductor field effect tube and exports this central processing unit to, this central processing unit is by the type of the level state judgement charge power supply of this judgement signal, when this mini USB interface accesses described computer, this metal oxide semiconductor field effect tube receives one group of binary code of the usb signal transceiver output of described computer by described the first pin or the second pin, and output is the judgement signal that low and high level changes.
2. charge power supply decision circuitry as claimed in claim 1, is characterized in that: described metal oxide semiconductor field effect tube is a N NMOS N-channel MOS N field effect transistor.
3. charge power supply decision circuitry as claimed in claim 1, is characterized in that: when this first pin or this second pin are high level, this judgement signal is low level; When this first pin or this second pin are low level, this judgement signal is high level.
4. charge power supply decision circuitry as claimed in claim 1, is characterized in that: when described judgement signal level is constant, this charge power supply is charger.
CN200910312133.1A 2009-12-23 2009-12-23 Judging circuit of charge power supply Expired - Fee Related CN102110998B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910312133.1A CN102110998B (en) 2009-12-23 2009-12-23 Judging circuit of charge power supply

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910312133.1A CN102110998B (en) 2009-12-23 2009-12-23 Judging circuit of charge power supply

Publications (2)

Publication Number Publication Date
CN102110998A CN102110998A (en) 2011-06-29
CN102110998B true CN102110998B (en) 2014-03-26

Family

ID=44175064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910312133.1A Expired - Fee Related CN102110998B (en) 2009-12-23 2009-12-23 Judging circuit of charge power supply

Country Status (1)

Country Link
CN (1) CN102110998B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102306853B (en) * 2011-08-10 2014-08-06 深圳市力可普尔电子有限公司 Intelligently-identified charging method and device as well as connector
CN102681963B (en) * 2012-04-25 2018-03-20 康佳集团股份有限公司 A kind of electronic equipment and its charging or upgrade processing method and switching circuit
CN109787317B (en) * 2019-02-22 2023-08-29 共青城市超能电子科技有限公司 Battery on air-conditioning suit and power supply line thereof
CN114465057B (en) * 2022-02-22 2023-11-03 成都天奥电子股份有限公司 Charging and multiple data communication interface supporting forward and backward insertion

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232196A (en) * 2008-02-02 2008-07-30 中兴通讯股份有限公司 Control circuit of charging mode in USB charging stand and method thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7421594B2 (en) * 2002-08-21 2008-09-02 Fujitsu Limited Bus power device and power-source control method
US7271568B2 (en) * 2004-02-11 2007-09-18 Research In Motion Limited Battery charger for portable devices and related methods

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101232196A (en) * 2008-02-02 2008-07-30 中兴通讯股份有限公司 Control circuit of charging mode in USB charging stand and method thereof

Also Published As

Publication number Publication date
CN102110998A (en) 2011-06-29

Similar Documents

Publication Publication Date Title
US8627121B2 (en) USB-on-the-go bi-directional protection circuit
JP6328795B2 (en) Baseband PD communication via USB standard A connector
US9484759B2 (en) Method for detecting a type of charger coupled to an input-output circuit and input-output circuit therefor
JP6304789B2 (en) Charging circuit and terminal
CN111130596B (en) Multiplexing circuit, interface circuit system and mobile terminal
US7103381B1 (en) Method and/or apparatus for implementing USB and audio signals shared conductors
US9223727B2 (en) Input-output circuit
US20120023344A1 (en) Semiconductor apparatus
US20220011382A1 (en) Usb interface detection module
US8749221B2 (en) Input-output circuit
CN109491942B (en) Multiplexing circuit and mobile terminal
CN102110998B (en) Judging circuit of charge power supply
CN103208822A (en) Universal serial bus (USB) charging control circuit
CN107221983B (en) Charging control circuit and audio equipment
US20130175979A1 (en) Connector with embedded charging integrated circuits
US9977475B2 (en) Over voltage protection for a communication line of a bus
US9813064B2 (en) Apparatus for high voltage tolerant driver
US20080012524A1 (en) Chargeable electronic devices and direct current voltage supply systems
US20120306456A1 (en) Charging circuit
US7654861B2 (en) Connector and method thereof
TWI458219B (en) Charge power supply judging circuit
TWI386784B (en) Usb charge system
US10193286B2 (en) Electronic device and control method thereof
US10338621B1 (en) Voltage regulator in USB power delivery integrated circuit
CN102571112A (en) Portable electronic device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
ASS Succession or assignment of patent right

Free format text: FORMER OWNER: CHI MEI COMMUNICATION SYSTEMS, INC.

Effective date: 20150902

Owner name: GUANGDONG HUABO ENTERPRISE MANAGEMENT CONSULTING C

Free format text: FORMER OWNER: SHENZHEN FUTAIHONG PRECISION INDUSTRY CO., LTD.

Effective date: 20150902

Owner name: HENAN LEISHUO OPTOELECTRONICS TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: GUANGDONG HUABO ENTERPRISE MANAGEMENT CONSULTING CO., LTD.

Effective date: 20150902

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20150902

Address after: 475400 Henan Zhoukou Taikang County Industrial Agglomeration Area

Patentee after: Henan Leishuo Optoelectronics Technology Co.,Ltd.

Address before: 715, No. 371-1, main building, No. five, 510630 mountain road, Guangzhou, Guangdong, Tianhe District

Patentee before: GUANGDONG HUABO ENTERPRISE MANAGEMENT CONSULTING Co.,Ltd.

Effective date of registration: 20150902

Address after: 715, No. 371-1, main building, No. five, 510630 mountain road, Guangzhou, Guangdong, Tianhe District

Patentee after: GUANGDONG HUABO ENTERPRISE MANAGEMENT CONSULTING Co.,Ltd.

Address before: 518109 F3 building, Foxconn science and Technology Industrial Park, Longhua Town, Shenzhen, Guangdong, A, China

Patentee before: Shenzhen Futaihong Precision Industry Co.,Ltd.

Patentee before: Chi Mei Communication Systems, Inc.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140326

Termination date: 20151223

EXPY Termination of patent right or utility model