[go: up one dir, main page]

CN102156681B - Mobile terminal and USB interface connection control device thereof - Google Patents

Mobile terminal and USB interface connection control device thereof Download PDF

Info

Publication number
CN102156681B
CN102156681B CN 201110091443 CN201110091443A CN102156681B CN 102156681 B CN102156681 B CN 102156681B CN 201110091443 CN201110091443 CN 201110091443 CN 201110091443 A CN201110091443 A CN 201110091443A CN 102156681 B CN102156681 B CN 102156681B
Authority
CN
China
Prior art keywords
usb
uatr
analog switch
connects
signal wire
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.)
Withdrawn - After Issue
Application number
CN 201110091443
Other languages
Chinese (zh)
Other versions
CN102156681A (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.)
Guangzhou Shengxia Intellectual Property Operation Co ltd
Jiangsu Sanhao Medical Technology Co ltd
Original Assignee
Huizhou TCL Mobile Communication 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 Huizhou TCL Mobile Communication Co Ltd filed Critical Huizhou TCL Mobile Communication Co Ltd
Priority to CN 201110091443 priority Critical patent/CN102156681B/en
Publication of CN102156681A publication Critical patent/CN102156681A/en
Application granted granted Critical
Publication of CN102156681B publication Critical patent/CN102156681B/en
Withdrawn - After Issue legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephone Function (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a mobile terminal and a USB interface connection control device thereof, wherein the mobile terminal comprises a USB connector, a P-type metal-oxide semiconductor (MOS) tube and an analogue switch; a mark pin US_ID of the USB interface is connected with a TX signal wire for testing universal Asynchronous Transmitter Receiver (UATR); a power supply pin of the USB interface is connected with a RX signal wire for testing the UATR; the source electrode of the P-type MOS tube is respectively connected with the power supply pin of the USB interface and the analogue switch; the grid of the P-type MOS tube is connected with the internal work voltage; the drain electrode is connected with the charging voltage of the USB; the analogue switch is arranged on the RX signal wire; and when the UATR is inserted into the USB connector, the P-type MOS tube is cut off so that the charging voltage of the USB is zero, and the analogue switch conduct the RX single wire of the UATR. The invention fully uses the current USB connector, prevents affecting the other singles of the USB connector when testing the UATR; and the invention is beneficial for production of mobile terminals such as cell phones and the like.

Description

A kind of portable terminal and USB interface thereof connect control device
Technical field
The invention belongs to technical field of mobile terminals, relate in particular to a kind of portable terminal and USB interface thereof and connect control device.
Background technology
Universal Asynchronous Receiver ﹠ sends (Universal Asynchronous Receiver/Transmitter, UART) interface is debugged as mobile phone, download indispensable interface, but the user but seldom uses the UART interface in using the mobile phone process, if therefore make separately the interface of a connector to UART, to relatively waste resource, but also can take printed circuit board (Printed Circuit Board, PCB) space, if but do not reserve the interface of a connector to UART, research and development and the software that will affect again in the mobile phone production run are downloaded, and especially the software when producing in enormous quantities is downloaded.
Prior art generally is pin D+ and the pin D-common port with UART and USB (universal serial bus) (Universal Serial BUS, USB) interface.The inventor finds the method existent defect of above-mentioned shared interface in research process, the pin D+ and the pin D-signal that are USB interface will be affected, because pin D+ and pin D-have strict requirement to the impedance on its data line and capacitance-resistance, in case signal is affected on its data line, then signal produces distortion easily, will cause the USB function normally not use when serious.
To sum up, how taking full advantage of existing USB interface, avoid affecting other signal of USB interface when UATR is tested, is one of direction of technical field of mobile terminals research.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of portable terminal and USB interface thereof to connect control device, is intended to take full advantage of existing USB interface, avoids affecting other signal of USB interface when UATR is tested.
The embodiment of the invention is achieved in that a kind of USB interface of portable terminal connects control device, comprises USB connector, also comprises P type metal-oxide-semiconductor and an analog switch, wherein,
The sign pin USB_ID of described USB connector connects the TX signal wire that is used for test UATR, and the power pin of described USB connector connects the RX signal wire that is used for test UATR,
The source electrode of described P type metal-oxide-semiconductor connects respectively power pin and the described analog switch of USB, and the grid of described P type metal-oxide-semiconductor connects internal work voltage, and drain electrode connects the charging voltage of described USB, and described analog switch is arranged on the described RX signal wire;
Described analog switch comprises public input end, often opens output terminal and normally closed output terminal, and the source electrode of described P type metal-oxide-semiconductor connects the public input end of described analog switch, and described RX signal wire connects the normally closed output terminal of described analog switch;
When described USB connector is inserted UATR, described P type metal-oxide-semiconductor cut-off, so that the charging voltage of described USB is zero, and then so that the RX signal wire of the described UATR of described analog switch conducting.
Wherein, described analog switch comprises public input end, often opens output terminal and normally closed output terminal, and the source electrode of described P type metal-oxide-semiconductor connects the public input end of described analog switch.
Wherein, when described USB connector is inserted UATR, described P type metal-oxide-semiconductor cut-off, so that the public input end of described analog switch connects described normally closed output terminal, and then the RX signal wire of the described UATR of conducting.
Wherein, when described USB connector was inserted USB, the conducting of described P type metal-oxide-semiconductor was often opened output terminal so that the public input end connection of described analog switch is described, and then is disconnected the RX signal wire of described UATR.
The embodiment of the invention also provides a kind of portable terminal, comprises that a USB connector connects control device, and described device comprises USB connector, and described device also comprises P type metal-oxide-semiconductor and an analog switch, wherein,
The sign pin USB_ID of described USB connector connects the TX signal wire that is used for test UATR, and the power pin of described USB connector connects the RX signal wire that is used for test UATR,
The source electrode of described P type metal-oxide-semiconductor connects respectively power pin and the described analog switch of USB connector, and the grid of described P type metal-oxide-semiconductor connects internal work voltage, and drain electrode connects the charging voltage of described USB, and described analog switch is arranged on the described RX signal wire;
Described analog switch comprises public input end, often opens output terminal and normally closed output terminal, and the source electrode of described P type metal-oxide-semiconductor connects the public input end of described analog switch, and described RX signal wire connects the normally closed output terminal of described analog switch;
When described USB connector is inserted UATR, described P type metal-oxide-semiconductor cut-off, so that the charging voltage of described USB is zero, and then so that the RX signal wire of the described UATR of described analog switch conducting.
Wherein, described analog switch comprises public input end, often opens output terminal and normally closed output terminal, and the source electrode of described P type metal-oxide-semiconductor connects the public input end of described analog switch.
Wherein, when described USB interface is inserted UATR, described P type metal-oxide-semiconductor cut-off, so that the public input end of described analog switch connects described normally closed output terminal, and then the RX signal wire of the described UATR of conducting.
Wherein, when described USB connector was inserted USB, the conducting of described P type metal-oxide-semiconductor was often opened output terminal so that the public input end connection of described analog switch is described, and then is disconnected the RX signal wire of described UATR.
The embodiment of the invention connects the TX signal wire that is used for test UATR by the sign pin USB_ID with USB connector, the power pin of USB connector is connected the RX signal wire that is used for test UATR, and set up a P type metal-oxide-semiconductor control simulation switch, when described USB connector is inserted UATR, described P type metal-oxide-semiconductor cut-off, so that the charging voltage of described USB is zero, and then so that the RX signal wire of the described UATR of described analog switch conducting, do not affect pin D+ and the pin D-signal of USB connector, the embodiment of the invention takes full advantage of existing USB connector, when UATR is tested, avoid affecting other signal of USB interface, be beneficial to the production of the portable terminals such as mobile phone.
Description of drawings
Fig. 1 is the embodiment synoptic diagram that the USB interface of portable terminal of the present invention connects control device.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
Fig. 1 shows the embodiment synoptic diagram of the USB interface connection control device of portable terminal of the present invention, comprises USB connector CON1, also comprises P type metal-oxide-semiconductor Q1 and an analog switch M1.
Wherein, among the USB connector CON1, No. 1 pin is USB power pin V_USB, and No. 2 pins are pin D-, and No. 3 pins are pin D+, and No. 4 pin is sign pin USB_ID, and No. 5 pin is ground pin.
In embodiments of the present invention, sign pin USB_ID connects the TX signal wire that is used for test UATR, and power pin V_USB connects the RX signal wire that is used for test UATR.
See also Fig. 1, the source electrode a of P type metal-oxide-semiconductor Q1 connects respectively power supply sign pin USB_ID and the analog switch M1 of USB connector, the grid b of P type metal-oxide-semiconductor Q1 connects internal work voltage VDD, drain electrode c connects the charging voltage VCHG_USB of described USB, between P type metal-oxide-semiconductor Q1 and the internal work voltage VDD the 3rd resistance R 3 is set.
See also Fig. 1, analog switch M1 is arranged on the RX signal wire for test UATR.Wherein, described analog switch M1 comprises public input end COM, often opens output terminal NO and normally closed output terminal NC, and the source electrode a of described P type metal-oxide-semiconductor Q1 connects the public input end COM of described analog switch M1.
In specific implementation process, when USB connector CON1 inserts UATR, P type metal-oxide-semiconductor Q1 cut-off, so that the charging voltage VCHG_USB of USB is zero, the public input end COM of analog switch M1 connects normally closed output terminal NC, and then the RX signal wire of conducting UATR.
In specific implementation process, when USB connector CON1 inserts USB, P type metal-oxide-semiconductor Q1 conducting, the public input end COM of analog switch M1 connects the described output terminal NO that often opens, and the RX signal wire of UATR disconnects.
Circuit shown in Figure 1 also comprises divider resistance R1 and divider resistance R2, and the charging voltage VCHG_USB of USB is connected to the control pin IN of analog switch M1 after by divider resistance R1 and divider resistance R2 dividing potential drop.Wherein, analog switch M1 adopts the cell voltage VBAT power supply of portable terminal.
The principle of work of the embodiment of the invention is described below:
When USB connector CON1 inserts the UART Serial Port Line, namely only has TX, RX signal and ground connection, 2 of USB connector CON1,3 pin are unsettled not to have input signal, the grounding connection of UART Serial Port Line is to No. 5 pins of USB connector CON1, it is ground pin, and No. 1 pin is connected on the serial ports TX with communication of mobile terminal, TX signal high level amplitude is 2.8V, because of the grid b connection internal work voltage VDD of P type metal-oxide-semiconductor Q1, internal work voltage also is 2.8V voltage, therefore, always more than or equal to the voltage of source electrode a, P type metal-oxide-semiconductor Q1 ends the voltage of grid b.Because of the cut-off of PMOS pipe, the charging voltage VCHG_USB voltage that causes USB is 0V, and then the control pin IN of analog switch M1 is low level, and the public input end COM of analog switch M1 connects normally closed output terminal, namely is connected on the URXD of baseband chip of mobile terminal.To sum up, No. 4 pins of USB connector CON1 are connected on the serial ports RX with the computer of communication of mobile terminal, and the mobile terminal baseband side is to be connected on the UTXD of baseband chip.Therefore, plug the UART Serial Port Line after, TX, RX connect normally, the UART serial communication is working properly.
When USB connector CON1 insert be the USB line time, No. 2 pins of USB connector CON1 and No. 3 pins meet respectively data pins D-and the pin D+ of USB, No. 5 pins still are ground, and the power supply of No. 1 pin is 5V, then the source electrode a voltage of P type metal-oxide-semiconductor Q1 is 5V, and grid b voltage is 2.8V, source electrode a voltage is greater than grid b voltage 2.2V, therefore P type metal-oxide-semiconductor Q1 conducting, the charging voltage VCHG_USB of USB also is 5V, then the control pin IN of analog switch M1 is high level by the level that divider resistance R1 and divider resistance R2 dividing potential drop obtain, output terminal NO is often left in the public input end COM connection of analog switch M1, and it is unsettled often to open output terminal NO, thereby the USB power supply is only to provide power supply by P type metal-oxide-semiconductor Q1 as portable terminal.
Obviously, the embodiment of the invention is not used pin D-and pin D+ when the UART rs 232 serial interface signal is tested, thereby can not produce any impact to signal.
The embodiment of the invention also provides a kind of portable terminal, and described terminal comprises that the USB interface that the embodiment of the invention provides connects control device, in view of this installs in above existing detailed description, repeats no more herein.
The embodiment of the invention connects the TX signal wire that is used for test UATR by the sign pin USB_ID with USB connector, the power pin of USB connector is connected the RX signal wire that is used for test UATR, and set up a P type metal-oxide-semiconductor control simulation switch, when described USB connector is inserted UATR, described P type metal-oxide-semiconductor cut-off, so that the charging voltage of described USB is zero, and then so that the RX signal wire of the described UATR of described analog switch conducting, do not affect pin D+ and the pin D-signal of USB interface, the embodiment of the invention takes full advantage of existing USB interface, when UATR is tested, avoid affecting other signal of USB connector, be beneficial to the production of the portable terminals such as mobile phone.
The above only is preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. the USB interface of a portable terminal connects control device, comprises USB connector, it is characterized in that, also comprises P type metal-oxide-semiconductor and an analog switch, wherein,
The sign pin USB_ID of described USB connector connects the TX signal wire that is used for test UATR, and the power pin of described USB connector connects the RX signal wire that is used for test UATR,
The source electrode of described P type metal-oxide-semiconductor connects respectively power pin and the described analog switch of USB connector, and the grid of described P type metal-oxide-semiconductor connects internal work voltage, and drain electrode connects the charging voltage of described USB, and described analog switch is arranged on the described RX signal wire;
Described analog switch comprises public input end, often opens output terminal and normally closed output terminal, and the source electrode of described P type metal-oxide-semiconductor connects the public input end of described analog switch, and described RX signal wire connects the normally closed output terminal of described analog switch;
When described USB connector is inserted UATR, described P type metal-oxide-semiconductor cut-off, so that the charging voltage of described USB is zero, and then so that the RX signal wire of the described UATR of described analog switch conducting.
2. the USB interface of portable terminal as claimed in claim 1 connects control device, it is characterized in that, when described USB connector is inserted UATR, described P type metal-oxide-semiconductor cut-off, so that the public input end of described analog switch connects described normally closed output terminal, and then the RX signal wire of the described UATR of conducting.
3. the USB interface of portable terminal as claimed in claim 1 connects control device, it is characterized in that, when described USB connector is inserted USB, the conducting of described P type metal-oxide-semiconductor, often open output terminal so that the public input end connection of described analog switch is described, and then disconnect the RX signal wire of described UATR.
4. a portable terminal is characterized in that, comprises that a USB interface connects control device, and described device comprises USB connector, and described device also comprises P type metal-oxide-semiconductor and an analog switch, wherein,
The sign pin USB_ID of described USB connector connects the TX signal wire that is used for test UATR, and the power pin of described USB connector connects the RX signal wire that is used for test UATR,
The source electrode of described P type metal-oxide-semiconductor connects respectively power pin and the described analog switch of USB connector, and the grid of described P type metal-oxide-semiconductor connects internal work voltage, and drain electrode connects the charging voltage of described USB, and described analog switch is arranged on the described RX signal wire;
Described analog switch comprises public input end, often opens output terminal and normally closed output terminal, and the source electrode of described P type metal-oxide-semiconductor connects the public input end of described analog switch, and described RX signal wire connects the normally closed output terminal of described analog switch;
When described USB connector is inserted UATR, described P type metal-oxide-semiconductor cut-off, so that the charging voltage of described USB is zero, and then so that the RX signal wire of the described UATR of described analog switch conducting.
5. portable terminal as claimed in claim 4 is characterized in that, when described USB connector is inserted UATR, and described P type metal-oxide-semiconductor cut-off, so that the public input end of described analog switch connects described normally closed output terminal, and then the RX signal wire of the described UATR of conducting.
6. portable terminal as claimed in claim 4 is characterized in that, when described USB connector was inserted USB, the conducting of described P type metal-oxide-semiconductor was often opened output terminal so that the public input end connection of described analog switch is described, and then disconnected the RX signal wire of described UATR.
CN 201110091443 2011-04-12 2011-04-12 Mobile terminal and USB interface connection control device thereof Withdrawn - After Issue CN102156681B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110091443 CN102156681B (en) 2011-04-12 2011-04-12 Mobile terminal and USB interface connection control device thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110091443 CN102156681B (en) 2011-04-12 2011-04-12 Mobile terminal and USB interface connection control device thereof

Publications (2)

Publication Number Publication Date
CN102156681A CN102156681A (en) 2011-08-17
CN102156681B true CN102156681B (en) 2013-03-13

Family

ID=44438185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110091443 Withdrawn - After Issue CN102156681B (en) 2011-04-12 2011-04-12 Mobile terminal and USB interface connection control device thereof

Country Status (1)

Country Link
CN (1) CN102156681B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095467A (en) * 2011-10-31 2013-05-08 成都高新区尼玛电子产品外观设计工作室 System controlling switch through outer data line
CN102591830B (en) * 2011-12-19 2015-08-05 捷开通讯科技(上海)有限公司 Download system of mobile terminal
CN102724339B (en) * 2012-05-29 2017-11-10 惠州Tcl移动通信有限公司 A kind of UART serial ports and USB interface common circuit and mobile phone
CN102778596A (en) * 2012-07-09 2012-11-14 上海斐讯数据通信技术有限公司 Multifunctional USB (Universal Serial Bus) testing device
CN103997552B (en) * 2014-05-22 2017-04-19 广东欧珀移动通信有限公司 Mobile phone mobile terminal and control method thereof
CN104917880B (en) * 2015-04-28 2017-10-20 广东欧珀移动通信有限公司 A kind of mobile terminal and its control method
CN109522261B (en) * 2019-01-11 2024-11-22 歌尔科技有限公司 Serial communication circuit and wearable device
CN110321310A (en) * 2019-06-14 2019-10-11 晶晨半导体(上海)股份有限公司 A method of realizing that serial ports and USB interface share
CN112835831A (en) * 2019-11-22 2021-05-25 炬芯科技股份有限公司 A circuit and electronic device multiplexing USB interface and UART interface

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216697A (en) * 2007-01-06 2008-07-09 昆达电脑科技(昆山)有限公司 USB protective circuit and method
CN101917497A (en) * 2010-07-23 2010-12-15 惠州Tcl移动通信有限公司 Method and device for earphone and USB to share micro-USB interface

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100516296B1 (en) * 2003-01-21 2005-09-21 주식회사 팬택앤큐리텔 Usb interface device by using function of switch

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101216697A (en) * 2007-01-06 2008-07-09 昆达电脑科技(昆山)有限公司 USB protective circuit and method
CN101917497A (en) * 2010-07-23 2010-12-15 惠州Tcl移动通信有限公司 Method and device for earphone and USB to share micro-USB interface

Also Published As

Publication number Publication date
CN102156681A (en) 2011-08-17

Similar Documents

Publication Publication Date Title
CN102156681B (en) Mobile terminal and USB interface connection control device thereof
US8756358B2 (en) Method and device for identifying universal serial bus (USB) insertion or charger insertion of mobile terminal
CN102202117B (en) Electronic device with USB (universal serial bus) interface and USB communication starting method thereof
CN101102119B (en) A charging detection circuit of appliance device and charging detection method
CN102064582B (en) Terminal capable of supplying power for outside
CN103208822A (en) Universal serial bus (USB) charging control circuit
CN101882736B (en) Data transmission switching device for mobile terminal
CN102750252A (en) Circuit capable of reusing universal serial bus (USB)/ universal asynchronous receiver/ transmitter (UART) interfaces and electronic device using same
CN103561369A (en) Usb interface circuit and electronic equipment
CN102724339A (en) UART serial port and USB interface shared circuit and mobile phone
CN104035357A (en) Headset, charging and OTG equipment circuit design based on USB socket
CN102143266A (en) Method for extending universal serial bus (USB) interface of mobile terminal into serial communication interface
CN102681963A (en) Electronic equipment, charging or upgrading processing method thereof and charging or upgrading switching circuit thereof
CN201075704Y (en) Detection circuit of electrical equipment and mobile phone having the circuit
CN201323446Y (en) Static-free handheld mobile device with soft USB function
CN203933930U (en) Earphone interface circuit and portable electron device
CN202551148U (en) SIM (subscriber identity module) card hot swapping circuit and mobile phone thereof
CN102624051B (en) Mobile phone and charging protection circuit
CN207115402U (en) Usb interface circuit
CN104678197A (en) Test circuit
CN103108081A (en) Subscriber identity module (SIM) card detection control device of mobile terminal
CN104142709A (en) Mainboard
CN208062831U (en) Realize the control system of the bis- chargings of DC and Micro USB
CN206363306U (en) A kind of terminal and its serial communication circuit
CN204069101U (en) A kind of communication interface switching device shifter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201225

Address after: 224300 No.15, North Third Ring, science and Technology Pioneer Park, Hede Town, Sheyang County, Yancheng City, Jiangsu Province

Patentee after: Jiangsu Sanhao Medical Technology Co.,Ltd.

Address before: 510000 No. 106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province

Patentee before: Guangzhou shengxia Intellectual Property Operation Co.,Ltd.

Effective date of registration: 20201225

Address after: 510000 No. 106 Fengze East Road, Nansha District, Guangzhou City, Guangdong Province

Patentee after: Guangzhou shengxia Intellectual Property Operation Co.,Ltd.

Address before: 516006 Guangdong province Huizhou Zhongkai hi tech Development Zone No. 23 District

Patentee before: HUIZHOU TCL MOBILE COMMUNICATION Co.,Ltd.

AV01 Patent right actively abandoned
AV01 Patent right actively abandoned
AV01 Patent right actively abandoned

Granted publication date: 20130313

Effective date of abandoning: 20231211

AV01 Patent right actively abandoned

Granted publication date: 20130313

Effective date of abandoning: 20231211