CN1747253A - Connecting system of multiple device and method thereof - Google Patents

Connecting system of multiple device and method thereof Download PDF

Info

Publication number
CN1747253A
CN1747253A CN 200410078413 CN200410078413A CN1747253A CN 1747253 A CN1747253 A CN 1747253A CN 200410078413 CN200410078413 CN 200410078413 CN 200410078413 A CN200410078413 A CN 200410078413A CN 1747253 A CN1747253 A CN 1747253A
Authority
CN
China
Prior art keywords
connecting port
usb connecting
pin
usb
detection threshold
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
CN 200410078413
Other languages
Chinese (zh)
Other versions
CN100477412C (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.)
MediaTek Inc
Original Assignee
MediaTek 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 MediaTek Inc filed Critical MediaTek Inc
Priority to CNB2004100784138A priority Critical patent/CN100477412C/en
Publication of CN1747253A publication Critical patent/CN1747253A/en
Application granted granted Critical
Publication of CN100477412C publication Critical patent/CN100477412C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Telephone Function (AREA)

Abstract

The invention includes an USB port, a controller and a voltage detecting device. The USB port is used to connect to some peripherals. The voltage detecting device connected with the USB port is used to detect voltage value. The controller receives the detected voltage value, and decides the type of peripherals base on the voltage value.

Description

Connecting system of multiple device and method thereof
Technical field
The invention relates to a kind of connecting system of multiple device and attaching method thereof,, be used to connect multiple peripheral device particularly about a kind of connecting system of multiple device that is used for usb connecting port.
Background technology
Electronic installation to carry out exchanges data with different types of peripheral device, generally all disposes a plurality of output/input ports in order to increase the diversity of output/input.For example serial port (serialport), parallel I/O port (parallel port), RJ45 connectivity port, RJ11 connectivity port, usb connecting port, microphone (microphone) socket (phone jack), loud speaker socket (speaker jack) and external electric supply socket or the like.
Because the consumer makes the volume of electronic product diminish gradually for the requirement of electronic device miniaturization, make the space of these output/input ports of configuration dwindle, therefore have to merge some I/O port, or give up the output/input port of some few usefulness.
With the mobile phone is example, and the normal connectivity port that utilizes of mobile phone comprises an ear microphone (speakerphone) socket, a UART (Universal Asynchronous Receiver/Transmitters) connectivity port, an AC charger connectivity port and a micro USB connectivity port.This ear microphone socket allows the user converse by Handless in order to an external earphone and microphone.This UART connectivity port is in order to connect a data line that meets the RS232 specification.This AC charger connectivity port in order to connect a circumscribed AC charger (AC charger) user can directly be charged to battery.This micro USB connectivity port is in order to connect the various USB external device that meets the micro USB specification.
Yet the mobile phone volume is more and more littler, but function from strength to strength, has not had enough spaces and can dispose existing various connectivity port.Therefore be necessary to develop a connecting system of multiple device, make an output/input port can connect multiple peripheral device, with quantity, reduction design difficulty, the saving space of minimizing output/input port and reduce cost.
Summary of the invention
Therefore, a purpose of the present invention provides a kind of connecting system of multiple device, and this connecting system of multiple device can connect multiple peripheral device, with the quantity and the saving space of reducing output/input port and be lowered into.
The invention provides a kind of connecting system of multiple device, this connected system comprises a usb connecting port, a controller and a voltage determination device.This usb connecting port, in order to connect a peripheral device, this voltage determination device is connected to this usb connecting port, and in order to produce a detection threshold, this controller receives this detection threshold, and judges the kind of this peripheral device according to this detection threshold.
The present invention provides a kind of multiple device method of attachment in addition, and this method of attachment comprises the following step: connect peripheral device to a usb connecting port; Connect a voltage determination device to this usb connecting port, and produce a detection threshold; Receive this detection threshold; Judge the kind of this peripheral device according to this detection threshold.
Description of drawings
Figure 1A is the connecting system of multiple device first embodiment schematic diagram of the present invention;
Figure 1B is the peripheral device schematic diagram that is connected to the connecting system of multiple device shown in Figure 1A;
Fig. 2 is the connecting system of multiple device second embodiment schematic diagram of the present invention;
Fig. 3 is connecting system of multiple device the 3rd an embodiment schematic diagram of the present invention;
Fig. 4 is the ear microphone schematic diagram that is applicable to connecting system of multiple device of the present invention;
Fig. 5 is the microphone schematic diagram that is applicable to connecting system of multiple device of the present invention;
Fig. 6 is the stereophone schematic diagram that is applicable to connecting system of multiple device of the present invention;
Fig. 7 is the single-tone earphone schematic diagram that is applicable to connecting system of multiple device of the present invention;
Fig. 8 is a multiple device method of attachment flow chart of the present invention.
Symbol description:
10,60,70: connecting system of multiple device
12: the micro USB connectivity port
14: peripheral device
24: controller
26: select circuit
28: power source management controller
30a: first voltage supply device
30b: second voltage supply device
32a: first resistance
32b: second resistance
34: diode
36a, 36b: first end points
38a, 38b: second end points
40a: first analog switch
40b: second analog switch
42a: first detection threshold
42b: second detection threshold
44: charging voltage
46: charging signals
48: select signal
50,51: ear microphone
The 52:USB peripheral device
The 54:AC charger
56: serial port changes micro USB connectivity port holding wire
62: switch
64: microphone
66: stereophone
68: the single-tone earphone
542,524: power line
508,525,544,566,648,668,688: earth connection
502,642: microphone lines
504,664: the first radio frequency channel leads
506,666,686: the second radio frequency channel leads
562: conveyer line
564: receive line
521: the first leads
522: the second leads
523: privates
R1, R2: resistance
USB1: a USB pin
USB2: the 2nd USB pin
SPK1: the first source of sound pin
SPK2: the second source of sound pin
RXD: receive pin
TXD: transmit pin
GND: ground connection pin
D1: the first data pin
D2: the second data pin
D3: the 3rd data pin
VUSB: power pin
Embodiment
According to connecting system of multiple device of the present invention, be a kind of connecting system of multiple device that is used for usb connecting port, be used to connect multiple peripheral device.
Be to be example in an embodiment with the micro USB connectivity port that applies to mobile phone.See also Figure 1A, Figure 1A is the connecting system of multiple device first embodiment schematic diagram of the present invention.Connecting system of multiple device 10 comprises a micro USB connectivity port 12, a voltage determination device, a controller 24, a selection circuit 26 and a power source management controller 28.
Micro USB connectivity port 12 is in order to connecting a peripheral device 14, and has ground connection pin (pin) GND, one first data pin D1, one second data pin D2, one the 3rd data pin D3 and a power pin VUSB.Wherein, the first data pin D1 is connected to controller 24, the second data pin D2 and the 3rd data pin D3 is connected to selection circuit 26 respectively, and power pin VUSB is connected to power source management controller 28.
This voltage determination device comprises one first voltage supply device 30a, one second voltage supply device 30b, one first resistance 32a and one second resistance 32b.
The first voltage supply device 30a is connected to the one first end points 36a of the first resistance 32a, the one second end points 38a of the first resistance 32a is connected to the first data pin D1 of micro USB connectivity port 12, and wherein the magnitude of voltage of the second end points 38a of the first resistance 32a is to be one first detection threshold 42a.
The second voltage supply device 30b is connected to the one first end points 36b of the second resistance 32b, the one second end points 38b of the second resistance 32b is connected to the 3rd data pin D3 of micro USB connectivity port 12, and wherein the magnitude of voltage of the second end points 38b of the second resistance 32b is to be one second detection threshold 42b.Wherein, between the one second end points 38b of the second resistance 32b and the 3rd data pin D3, further comprise a diode 34, to prevent the voltage adverse current.
Controller 24 receives the first detection threshold 42a and the second detection threshold 42b, and judge the kind of the peripheral device 14 that is connected to micro USB connectivity port 12, and export one and select signal 48 to selecting circuit 26 according to the first detection threshold 42a and the second detection threshold 42b.
Select circuit 26 to comprise one first analog switch (analog switch) 40a and one second analog switch 40b.The first analog switch 40a connects the second data pin D2 of micro USB connectivity port 12, and one the one USB pin USB1, the one first source of sound pin SPK1 and the transmission pin TXD that are connected to controller 24.
The second analog switch 40b connects the 3rd data pin D3 of micro USB connectivity port 12, and one the 2nd USB pin USB2, the one second source of sound pin SPK2 and the reception pin RXD that are connected to controller 24.
Select circuit 26 according to selecting signal 48, switch the first analog switch 40a and the second analog switch 40b, make the second data pin D2 of micro USB connectivity port 12 optionally be connected to a USB pin USB1, or the first source of sound pin SPK1, or transmit pin TXD.And make the 3rd data pin D3 optionally be connected to the 2nd USB pin USB2, or the second source of sound pin SPK2, or receive pin RXD.
Power source management controller 28 is connected to power pin VUSB, and in when power pin VUSB receives a charging voltage 44, produces a charging signals 46, and charging signals 46 is sent to controller 24.
Below will be connected to micro USB connectivity port 12 and further specify connecting system of multiple device 10 of the present invention with various peripheral device 14.
See also Figure 1A and Figure 1B, Figure 1B is the peripheral device schematic diagram that is connected to the connecting system of multiple device shown in Figure 1A.Connecting system of multiple device 10 shown in Figure 1A is utilization one micro USB connectivity ports 12, connects to comprise an ear microphone (speakerphone) 50, a USB peripheral device 52, an AC charger 54 and serial port commentaries on classics micro USB connectivity port holding wire 56.Ear microphone 50, USB peripheral device 52, AC charger 54 and serial port change micro USB connectivity port holding wire 56, not completely are illustrated in Figure 1B, and only represent it with the partial view of the end that is connected with micro USB connectivity port 12.
In an embodiment, the first voltage supply device 30a provides the voltage of 1.9V, and the resistance value of the first resistance 32a is 2.5K Ω.The second voltage supply device 30b provides the voltage of 3.3V, and the resistance value of the second resistance 32b is 1.5K Ω.
(1) ear microphone 50
Ear microphone 50 has a microphone lines 502, one first radio frequency channel lead (first channelwire), 504,1 second radio frequency channel lead (second channel wire), 506 and one earth connection 508.Microphone lines 502 is connected in the first data pin D1 of micro USB connectivity port 12.The first radio frequency channel lead 504 is in order to providing one first radio frequency channel audio signals (not shown), and is connected in the second data pin D2 of micro USB connectivity port 12.The second radio frequency channel lead 506 is connected in the 3rd data pin D3 of micro USB connectivity port 12 in order to one second radio frequency channel audio signals (not shown) to be provided.Earth connection 508 is connected in the ground connection pin GND of micro USB connectivity port 12.And the first radio frequency channel lead 504 and two radio frequency channel leads 506 connect a resistance R 1 separately, and the resistance value of this resistance R 1 is about 16 Ω or 32 Ω.
When ear microphone 50 was connected to micro USB connectivity port 12, the second detection threshold 42b of the second end points 38b of the second resistance 32b was one the 4th magnitude of voltage.In present embodiment, because the cause that resistance R 1 is connected with the second resistance 32b, the 4th magnitude of voltage is less than 0.6V, therefore receive one during less than the second detection threshold 42b of 0.6V when controller 24, controller 24 judges that promptly the peripheral device 14 that is connected to micro USB connectivity port 12 is an ear microphone 50.
In addition, when ear microphone 50 was connected to micro USB connectivity port 12, the first detection threshold 42a of the second end points 38a of the first resistance 32a was one second magnitude of voltage.In present embodiment, because the cause that the interior resistance of microphone is connected with the first resistance 32a, this second magnitude of voltage is between 0.5V~1.6V, therefore when controller 24 received first a detection threshold 42a between 0.5V~1.6V, controller 24 judged that promptly the peripheral device 14 that is connected to micro USB connectivity port 12 is an ear microphone 50.
In other words, controller 24 can judge that the peripheral device 14 that is connected to micro USB connectivity port 12 is ear microphone 50 by the detecting first detection threshold 42a or the second detection threshold 42b.Moreover controller 24 also can judge whether the peripheral device 14 that is connected to micro USB connectivity port 12 is a legal ear microphone 50 by the detecting first detection threshold 42a or the second detection threshold 42b.
Judge that when controller 24 peripheral device 14 that is connected to micro USB connectivity port 12 is ear microphone 50, controller 24 can output select signal 48 to selecting circuit 26, make the second data pin D2 of micro USB connectivity port 12 be connected to the first source of sound pin SPK1 of controller 24, and make the 3rd data pin D3 of micro USB connectivity port 12 be connected to the second source of sound pin SPK2 of controller 24.
(2) the USB peripheral device 52
USB peripheral device 52 has one first lead 521, one second lead 522, a privates 523, a power line 524 and an earth connection 525.First lead 521 is in order to two-way transfer of data, and is connected in the first data pin D1 of micro USB connectivity port 12.Second lead 522 is in order to two-way transfer of data, and is connected in the second data pin D2 of micro USB connectivity port 12.Privates 523 is in order to two-way transfer of data, and is connected in the 3rd data pin D3 of micro USB connectivity port 12.Power line 524 is in order to as out-put supply or to the channel of battery charge, and is connected in the power pin VUSB of micro USB connectivity port 12.Earth connection 525 is connected in the ground connection pin GND of micro USB connectivity port 12.And second lead 522 and privates 523 connect the resistance R 2 of a 1.5K Ω separately.
When USB peripheral device 52 was connected to micro USB connectivity port 12, the second detection threshold 42b of the second end points 38b of the second resistance 32b was one the 5th magnitude of voltage.In present embodiment, because the cause that resistance R 2 is connected with the second resistance 32b, the 5th magnitude of voltage is between 0.6V~1.4V, therefore when controller 24 received second a detection threshold 42b between 0.6V~1.4V, controller 24 judged that promptly the peripheral device 14 that is connected to micro USB connectivity port 12 is a USB peripheral device 52.
Therefore, controller 24 outputs select signal 48 to selecting circuit 26, make the second data pin D2 of micro USB connectivity port 12 be connected to a USB pin USB1 of controller 24, and make the 3rd data pin D3 of micro USB connectivity port 12 be connected to the 2nd USB pin USB2 of controller 24.
In addition, if USB peripheral device 52 can provide the USB charge function, so when USB peripheral device 52 is connected to micro USB connectivity port 12, controller 24 is except can utilizing the second data pin D2 and the 3rd data pin D3 and USB peripheral device 52 transmission/reception data, also can utilize the power line 524 that is connected in power pin VUSB, charge power supply is sent to power source management controller 28 so that battery of mobile telephone is charged.
(3) the AC charger 54
AC charger 54 has a power line 542 and an earth connection 544, and power line 542 is connected in the power pin VUSB of micro USB connectivity port 12, and earth connection 544 is connected in the ground connection pin GND of micro USB connectivity port 12.
When AC charger 54 was connected to micro USB connectivity port 12, power source management controller 28 received charging voltage 44, produces charging signals 46, and charging signals 46 is sent to controller 24.
And the second detection threshold 42b of the second end points 38b of the second resistance 32b is one first magnitude of voltage.In present embodiment, this first magnitude of voltage is greater than 1.4V.Therefore receive charging signals 46 when controller 24, and controller 24 receives one during greater than the second detection threshold 42b of 1.4V, controller 24 judges that promptly the peripheral device 14 that is connected to micro USB connectivity port 12 is an AC charger 54.
(4) serial port changes micro USB connectivity port holding wire 56
Serial port changes micro USB connectivity port holding wire 56 and has a conveyer line 562, a reception line 564 and an earth connection 566.Conveyer line 562 is in order to transmitting data, and is connected in the second data pin D2 of micro USB connectivity port 12.Receive line 564 in order to the reception data, and be connected in the 3rd data pin D3 of micro USB connectivity port 12.Earth connection 566 is connected in the ground connection pin GND of micro USB connectivity port 12.
When serial port commentaries on classics micro USB connectivity port holding wire 56 was connected to micro USB connectivity port 12, the second detection threshold 42b of the second end points 38b of the second resistance 32b was this first magnitude of voltage.In present embodiment, this first magnitude of voltage is greater than 1.4V, therefore receive one during greater than the second detection threshold 42b of 1.4V when controller 24, controller 24 judges that promptly the peripheral device 14 that is connected to micro USB connectivity port 12 is a serial port commentaries on classics micro USB connectivity port holding wire 56.
Therefore, controller 24 outputs select signal 48 to selecting circuit 26, make the second data pin D2 of micro USB connectivity port 12 be connected to the transmission pin TXD of controller 24, and make the 3rd data pin D3 of micro USB connectivity port 12 be connected to the reception pin RXD of controller 24.
Therefore, the charging signals 46 that connecting system of multiple device 10 of the present invention produces by power source management controller 28, and the second detection threshold 42b of this voltage determination device generation, can be so that micro USB connectivity port 12, connect and comprise an ear microphone (speakerphone) 50, a USB peripheral device 52, an AC charger 54 and serial port commentaries on classics micro USB connectivity port holding wire 56 or the like peripheral device, to reach the quantity that reduces output/input port, the purpose that reduces design difficulty, saves the space and reduce cost.
Generally speaking, some mobile phone can directly change micro USB connectivity port holding wire 56 to serial port and carry out transfer of data and reception after the start of mobile telephone system program.Yet in the flow process that mobile phone is produced, in the mobile telephone system program is not mounted to the mobile phone body as yet before, the serial port coffret that needs a low order with mobile telephone system program or other application transfer to mobile phone.Therefore, known mobile phone UART (Universal AsynchronousReceiver/Transmitters) connectivity port promptly becomes indispensable output/input connectivity port.
By connecting system of multiple device 10 of the present invention, the micro USB connectivity port 12 in the connecting system of multiple device 10, can directly connect serial port changes micro USB connectivity port holding wire 56.So UART connectivity port necessary in the flow process of producing can be replaced with connecting system of multiple device 10 of the present invention, to reach the quantity that reduces output/input port, the purpose that reduces design difficulty, saves the space and reduce cost.
What need illustrate is, micro USB connectivity port 12 can be preset as a UART connectivity port, the second data pin D2 that is about to micro USB connectivity port 12 is preset as the transmission pin TXD that is connected to controller 24, and the 3rd data pin D3 of micro USB connectivity port 12 then is preset as the reception pin RXD that is connected to controller 24.Thus, mobile phone can utilize the UART connectivity port to carry out and download (download) and correction UART functions such as (calibration).And to detect micro USB connectivity port 12 be to be connected in AC charger 54, USB peripheral device 52 when controller 24, or during ear microphone 50, will close the UART function and start other corresponding function.
See also Fig. 2, Fig. 2 is the connecting system of multiple device second embodiment schematic diagram of the present invention.The connecting system of multiple device 60 of Fig. 2 and the connecting system of multiple device 10 of Figure 1A different be in, the second end points 38b of the second resistance 32b is the second data pin D2 that is connected to micro USB connectivity port 12.Because the situation that each peripheral device 14 is connected to connecting system of multiple device 60 is identical with the situation of the connecting system of multiple device 10 that is connected in Figure 1A.
Therefore, the charging signals 46 that connecting system of multiple device 60 of the present invention also produces by power source management controller 28, and the second detection threshold 42b of this voltage determination device generation, can be so that micro USB connectivity port 12, connect and comprise an ear microphone (speakerphone) 50, a USB peripheral device 52, an AC charger 54 and serial port commentaries on classics micro USB connectivity port holding wire 56 or the like peripheral device, to reach the quantity that reduces output/input port, the purpose that reduces design difficulty, saves the space and reduce cost.
See also Fig. 3, Fig. 3 is connecting system of multiple device the 3rd an embodiment schematic diagram of the present invention.The connecting system of multiple device 70 of Fig. 3 and the connecting system of multiple device 10 of Figure 1A different be in, connecting system of multiple device 70 does not have the circuit 26 of selection, and the second data pin D2 is directly connected in a USB pin USB1, the first source of sound pin SPK1 and transmits pin TXD, and the 3rd data pin D3 is directly connected in the 2nd USB pin USB2, the second source of sound pin SPK2 and receives pin RXD.
When ear microphone 50 was connected to micro USB connectivity port 12, controller 24 received second a detection threshold 42b less than 0.6V, and controller 24 judges that promptly the peripheral device 14 that is connected to micro USB connectivity port 12 is ear microphone 50.And, the transmission signals that controller 24 is blocked a USB pin USB1, the 2nd USB pin USB2 voluntarily, transmitted pin TXD and receive pin RXD.Make the second data pin D2 of micro USB connectivity port 12 be connected to the first source of sound pin SPK1 of controller 24, and make the 3rd data pin D3 of micro USB connectivity port 12 be connected to the second source of sound pin SPK2 of controller 24.
When USB peripheral device 52 is connected to micro USB connectivity port 12, the controller 24 second detection threshold 42bs of reception one between 0.6V~1.4V, controller 24 judges that promptly the peripheral device 14 that is connected to micro USB connectivity port 12 is USB peripheral device 52.And, the transmission signals that controller 24 is blocked the first source of sound pin SPK1, the second source of sound pin SPK2 voluntarily, transmitted pin TXD and receive pin RXD.Make the second data pin D2 of micro USB connectivity port 12 be connected to a USB pin USB1 of controller 24, and make the 3rd data pin D3 of micro USB connectivity port 12 be connected to the 2nd USB pin USB2 of controller 24.
When serial port commentaries on classics micro USB connectivity port holding wire 56 is connected to micro USB connectivity port 12, controller 24 receives second a detection threshold 42b greater than 1.4V, and controller 24 judges that promptly the peripheral device 14 that is connected to micro USB connectivity port 12 changes micro USB connectivity port holding wire 56 for serial port.And controller 24 is blocked the transmission signals of the first source of sound pin SPK1, the second source of sound pin SPK2, a USB pin USB1 and the 2nd USB pin USB2 voluntarily.Make the second data pin D2 of micro USB connectivity port 12 be connected to the transmission pin TXD of controller 24, and make the 3rd data pin D3 of micro USB connectivity port 12 be connected to the reception pin RXD of controller 24.
Therefore, the charging signals 46 that connecting system of multiple device 70 of the present invention also produces by power source management controller 28, and the second detection threshold 42b of this voltage determination device generation, can be so that micro USB connectivity port 12, connect and comprise an ear microphone (speakerphone) 50, a USB peripheral device 52, an AC charger 54 and serial port commentaries on classics micro USB connectivity port holding wire 56 or the like peripheral device, to reach the quantity that reduces output/input port, the purpose that reduces design difficulty, saves the space and reduce cost.
See also Fig. 4, Fig. 4 is the ear microphone schematic diagram that is applicable to connecting system of multiple device of the present invention.Ear microphone 51 not completely is illustrated in Fig. 4, and only represents it with the partial view of the end that is connected with micro USB connectivity port 12.Compared to the ear microphone shown in Figure 1A 50, ear microphone 51 shown in Figure 4 further comprises a switch (switch) 62, switch 62 is to connect microphone lines 502 and earth connection 508, when switch 62 was opened (turn on), the second detection threshold 42b of the second end points 38b of the second resistance 32b was a tertiary voltage value.In present embodiment, because opening (turn on), switch 62 causes the second end points 38b of resistance R 1 second resistance 32b and the cause that ground joins, this tertiary voltage value is to level off to 0V, therefore when controller 24 receptions one level off to the second detection threshold 42b of 0V, controller 24 promptly starts one and triggers function, hangs up function in order to a pickup feature or that triggers mobile phone.In other words, by the detecting second detection threshold 42b, the present invention can support the detecting of the function key of ear microphone 50.
Except aforesaid ear microphone 50, USB peripheral device 52, AC charger 54 and serial port changeed micro USB connectivity port holding wire 56 or the like peripheral device, connecting system of multiple device 10 of the present invention also can connect a microphone 64, a stereophone 66 and a single-tone earphone 68.
See also Figure 1A and Fig. 5, Fig. 5 is the microphone schematic diagram that is applicable to connecting system of multiple device of the present invention.Microphone 64 has a microphone lines 642 and an earth connection 648.Microphone lines 642 is connected in the first data pin D1 of micro USB connectivity port 12.Earth connection 648 is connected in the ground connection pin GND of micro USB connectivity port 12.
When microphone 64 was connected to micro USB connectivity port 12, the first detection threshold 42a of the second end points 38a of the first resistance 32a was one second magnitude of voltage.In present embodiment, because the cause that the interior resistance of microphone 64 is connected with the first resistance 32a, this second magnitude of voltage is between 0.5V~1.6V, therefore when controller 24 received first a detection threshold 42a between 0.5V~1.6V, controller 24 judged that promptly the peripheral device 14 that is connected to micro USB connectivity port 12 is a microphone 64.
See also Figure 1A and Fig. 6, Fig. 6 is the stereophone schematic diagram that is applicable to connecting system of multiple device of the present invention.Stereophone 66 has one first radio frequency channel lead 664, one second radio frequency channel lead 666 and an earth connection 668.The first radio frequency channel lead 664 is in order to providing this first radio frequency channel audio signals (not shown), and is connected in the second data pin D2 of micro USB connectivity port 12.The second radio frequency channel lead 666 is connected in the 3rd data pin D3 of micro USB connectivity port 12 in order to this second radio frequency channel audio signals (not shown) to be provided.Earth connection 668 is connected in the ground connection pin GND of micro USB connectivity port 12.And the first radio frequency channel lead 664 and two radio frequency channel leads 666 connect a resistance R 1 separately, and the resistance value of this resistance R 1 is about 16 Ω or 32 Ω.
When stereophone 66 was connected to micro USB connectivity port 12, the second detection threshold 42b of the second end points 38b of the second resistance 32b was one the 4th magnitude of voltage.In present embodiment, because the cause that resistance R 1 is connected with the second resistance 32b, the 4th magnitude of voltage is less than 0.6V, therefore receive one during less than the second detection threshold 42b of 0.6V when controller 24, controller 24 judges that promptly the peripheral device 14 that is connected to micro USB connectivity port 12 is a stereophone 66.
Therefore, controller 24 outputs select signal 48 to selecting circuit 26, make the second data pin D2 of micro USB connectivity port 12 be connected to the first source of sound pin SPK1 of controller 24, and make the 3rd data pin D3 of micro USB connectivity port 12 be connected to the second source of sound pin SPK2 of controller 24.
See also Figure 1A and Fig. 7, Fig. 7 is the single-tone earphone schematic diagram that is applicable to connecting system of multiple device of the present invention.Single-tone earphone 68 has one second radio frequency channel lead (second channel wire), 686 and one earth connection 688.The second radio frequency channel lead 686 is connected in the 3rd data pin D3 of micro USB connectivity port 12 in order to this second radio frequency channel audio signals (not shown) to be provided.Earth connection 688 is connected in the ground connection pin GND of micro USB connectivity port 12.And two radio frequency channel leads 686 connect a resistance R 1, and the resistance value of this resistance R 1 is about 16 Ω or 32 Ω.
When single-tone earphone 68 was connected to micro USB connectivity port 12, the second detection threshold 42b of the second end points 38b of the second resistance 32b was one the 4th magnitude of voltage.In present embodiment, because the cause that resistance R 1 is connected with the second resistance 32b, the 4th magnitude of voltage is less than 0.6V, therefore receive one during less than the second detection threshold 42b of 0.6V when controller 24, controller 24 judges that promptly the peripheral device 14 that is connected to micro USB connectivity port 12 is a single-tone earphone 68.
Therefore, controller 24 output selects signals 48 to selecting circuit 26, makes the 3rd data pin D3 of micro USB connectivity port 12 be connected to the second source of sound pin SPK2 of controller 24.
See also Fig. 8, Fig. 8 is a multiple device method of attachment flow chart of the present invention.Connecting system of multiple device 10 with Figure 1A is an example, and multiple device method of attachment of the present invention comprises the following step:
S80: connect peripheral device to a usb connecting port;
S82: connect a voltage determination device to this usb connecting port, and produce a detection threshold;
S84; Receive this detection threshold;
S86: the kind of judging this peripheral device according to this detection threshold.
Therefore, multiple device method of attachment of the present invention is by judging charging signals 46, and the second detection threshold 42b, can be so that micro USB connectivity port 12, connect and comprise an ear microphone (speakerphone) 50, a USB peripheral device 52, an AC charger 54 and serial port commentaries on classics micro USB connectivity port holding wire 56 or the like peripheral device, to reach the quantity that reduces output/input port, the purpose that reduces design difficulty, saves the space and reduce cost.

Claims (20)

1, a kind of connecting system of multiple device is characterized in that described connecting system of multiple device comprises:
One usb connecting port is in order to connect a peripheral device;
One voltage determination device, this voltage determination device is connected to this usb connecting port, in order to produce a detection threshold;
One controller, this controller receives this detection threshold, and this controller is judged the kind of this peripheral device according to this detection threshold.
2, connecting system of multiple device according to claim 1 is characterized in that: this usb connecting port comprises one first data pin, one second data pin, one the 3rd data pin, a ground connection pin and a power pin.
3, connecting system of multiple device according to claim 2 is characterized in that this voltage determination device comprises:
One voltage supply device;
One resistance, one first end points of this resistance is connected to this first data pin, and one second end points of this resistance is connected to this voltage supply device, and the magnitude of voltage of this first end points of this resistance is to be this detection threshold.
4, connecting system of multiple device according to claim 2 is characterized in that: this peripheral device is an AC charger, and this AC charger comprises:
One power line, this power line are connected in this power pin of this usb connecting port;
One earth connection, this earth connection are connected in this ground connection pin of this usb connecting port;
When this AC charger was connected in this usb connecting port, this detection threshold was to be one first magnitude of voltage.
5, connecting system of multiple device according to claim 3 is characterized in that: this peripheral device is a microphone, and this microphone comprises:
One microphone lines, this microphone lines are connected in this first data pin of this usb connecting port;
One earth connection, this earth connection are connected in this ground connection pin of this usb connecting port;
When this microphone was connected in this usb connecting port, this detection threshold was to be one second magnitude of voltage.
6, connecting system of multiple device according to claim 5 is characterized in that: this microphone further comprises a switch, and this switch is to connect this microphone lines and this earth connection, and when this switch opens, this detection threshold is to be a tertiary voltage value.
7, connecting system of multiple device according to claim 3 is characterized in that: this peripheral device is a loud speaker, and this loud speaker comprises:
One first radio frequency channel lead, this first radio frequency channel lead are connected in this first data pin of this usb connecting port;
One earth connection, this earth connection are connected in this ground connection pin of this usb connecting port;
When this loud speaker was connected in this usb connecting port, this detection threshold was to be one the 4th magnitude of voltage.
8, connecting system of multiple device according to claim 7 is characterized in that: this loud speaker further comprises:
One second radio frequency channel lead, this second radio frequency channel lead are connected in this second data pin of this usb connecting port.
9, connecting system of multiple device according to claim 3 is characterized in that: this peripheral device is that a serial port changes the usb connecting port holding wire, and this serial port changes the usb connecting port holding wire and comprises:
One conveyer line, this conveyer line are connected in this first data pin of this usb connecting port;
One receives line, and this reception line is connected in this second data pin of this usb connecting port;
One earth connection, this earth connection are connected in this ground connection pin of this usb connecting port;
When this serial port commentaries on classics usb connecting port holding wire was connected in this usb connecting port, this detection threshold was to be this first magnitude of voltage.
10, connecting system of multiple device according to claim 3 is characterized in that: this peripheral device is a USB peripheral device, and this USB peripheral device is supported the USB communications protocol, and this USB peripheral device comprises:
One first lead, this first lead are connected in this first data pin of this usb connecting port;
One second lead, this second lead are connected in this second data pin of this usb connecting port;
One privates, this privates are connected in the 3rd data pin of this usb connecting port;
One power line, this power line are connected in this power pin of this usb connecting port;
One earth connection, this earth connection are connected in this ground connection pin of this usb connecting port;
When this USB peripheral device was connected in this usb connecting port, this detection threshold was to be one the 5th magnitude of voltage.
11, a kind of multiple device method of attachment, this method of attachment comprises the following step:
Connect peripheral device to a usb connecting port;
Connect a voltage determination device to this usb connecting port, and produce a detection threshold;
Receive this detection threshold;
Judge the kind of this peripheral device according to this detection threshold.
12, multiple device method of attachment according to claim 11, this usb connecting port comprise one first data pin, one second data pin, one the 3rd data pin, a ground connection pin and a power pin.
13, multiple device method of attachment according to claim 12, this voltage determination device comprises:
One voltage supply device;
One resistance, one first end points of this resistance is connected to this first data pin, and one second end points of this resistance is connected to this voltage supply device, and the magnitude of voltage of this first end points of this resistance is to be this detection threshold.
14, multiple device method of attachment according to claim 12, wherein this peripheral device is an AC charger, this AC charger comprises:
One power line, this power line are connected in this power pin of this usb connecting port;
One earth connection, this earth connection are connected in this ground connection pin of this usb connecting port;
When this AC charger was connected in this usb connecting port, this detection threshold was to be one first magnitude of voltage.
15, multiple device method of attachment according to claim 13, wherein this peripheral device is a microphone, this microphone comprises:
One microphone lines, this microphone lines are connected in this first data pin of this usb connecting port;
One earth connection, this earth connection are connected in this ground connection pin of this usb connecting port;
When this microphone was connected in this usb connecting port, this detection threshold was to be one second magnitude of voltage.
16, multiple device method of attachment according to claim 15, wherein this microphone further comprises a switch, and this switch is to connect this microphone lines and this earth connection, and when this switch opens, this detection threshold is to be a tertiary voltage value.
17, multiple device method of attachment according to claim 13, wherein this peripheral device is a loud speaker, this loud speaker comprises:
One first radio frequency channel lead, this first radio frequency channel lead are connected in this first data pin of this usb connecting port;
One earth connection, this earth connection are connected in this ground connection pin of this usb connecting port;
When this loud speaker was connected in this usb connecting port, this detection threshold was to be one the 4th magnitude of voltage.
18, multiple device method of attachment according to claim 17, wherein this loud speaker further comprises:
One second radio frequency channel lead, this second lead are connected in this second data pin of this usb connecting port.
19, multiple device method of attachment according to claim 13, wherein this peripheral device is that a serial port changes the usb connecting port holding wire, this serial port changes the usb connecting port holding wire and comprises:
One conveyer line, this conveyer line are connected in this first data pin of this usb connecting port;
One receives line, and this reception line is connected in this second data pin of this usb connecting port;
One earth connection, this earth connection are connected in this ground connection pin of this usb connecting port;
When this serial port commentaries on classics usb connecting port holding wire was connected in this usb connecting port, this detection threshold was to be this first magnitude of voltage.
20, multiple device method of attachment according to claim 13, wherein this peripheral device is a USB peripheral device, this USB peripheral device is supported the USB communications protocol, and this USB peripheral device comprises:
One first lead, this first lead are connected in this first data pin of this usb connecting port;
One second lead, this second lead are connected in this second data pin of this usb connecting port;
One privates, this privates are connected in the 3rd data pin of this usb connecting port;
One power line, this power line are connected in this power pin of this usb connecting port;
One earth connection, this earth connection are connected in this ground connection pin of this usb connecting port;
When this USB peripheral device was connected in this usb connecting port, this detection threshold was to be one the 5th magnitude of voltage.
CNB2004100784138A 2004-09-10 2004-09-10 Connecting system of multiple device and method thereof Expired - Lifetime CN100477412C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100784138A CN100477412C (en) 2004-09-10 2004-09-10 Connecting system of multiple device and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100784138A CN100477412C (en) 2004-09-10 2004-09-10 Connecting system of multiple device and method thereof

Publications (2)

Publication Number Publication Date
CN1747253A true CN1747253A (en) 2006-03-15
CN100477412C CN100477412C (en) 2009-04-08

Family

ID=36166646

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100784138A Expired - Lifetime CN100477412C (en) 2004-09-10 2004-09-10 Connecting system of multiple device and method thereof

Country Status (1)

Country Link
CN (1) CN100477412C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350989B (en) * 2008-08-18 2011-09-07 嘉兴闻泰通讯科技有限公司 Plug adapter for a mobile terminal
CN102253911A (en) * 2010-05-21 2011-11-23 晨星软件研发(深圳)有限公司 Data transmission interface, data transmission method and electronic device using data transmission interface
WO2013178146A1 (en) * 2012-08-30 2013-12-05 中兴通讯股份有限公司 Tablet interface extension method and device
WO2015113343A1 (en) * 2014-01-28 2015-08-06 广东欧珀移动通信有限公司 Charging system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350989B (en) * 2008-08-18 2011-09-07 嘉兴闻泰通讯科技有限公司 Plug adapter for a mobile terminal
CN102253911A (en) * 2010-05-21 2011-11-23 晨星软件研发(深圳)有限公司 Data transmission interface, data transmission method and electronic device using data transmission interface
CN102253911B (en) * 2010-05-21 2015-03-11 晨星软件研发(深圳)有限公司 Data transmission interface, data transmission method and electronic device using data transmission interface
WO2013178146A1 (en) * 2012-08-30 2013-12-05 中兴通讯股份有限公司 Tablet interface extension method and device
US9448611B2 (en) 2012-08-30 2016-09-20 Zte Corporation Interface expending method and device for tablet computer
WO2015113343A1 (en) * 2014-01-28 2015-08-06 广东欧珀移动通信有限公司 Charging system
US9859742B2 (en) 2014-01-28 2018-01-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging system
US10153652B2 (en) 2014-01-28 2018-12-11 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging system
US10224734B2 (en) 2014-01-28 2019-03-05 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Charging system

Also Published As

Publication number Publication date
CN100477412C (en) 2009-04-08

Similar Documents

Publication Publication Date Title
CN1492714A (en) Mobile phone, its local radio communication method and its program used therefor
CN1402495A (en) Power supply control circuit, electronic apparatus and charging method thereof
CN101030989A (en) Portable information terminal equipment
CN101069410A (en) Detection, identification and operation of peripherals connected via an audio/video-plug to an electronic device
CN1832514A (en) Cordless apparatus
CN1347259A (en) Mobile phone and audio processing method
CN1423501A (en) Mobile terminal comprising connection device
CN1992551A (en) Communication apparatus and electric power control method
CN1770642A (en) Wireless communication module, communication terminal, and impedance matching method
CN1764213A (en) Bluetooth communicator, short range wireless communicator and program
CN1784077A (en) Handoff control method and mobile station
CN1498009A (en) Radio Communication terminal
CN1578429A (en) Portable image receiving device
CN1168176C (en) Radio communication device with collapsible antenna and its impedance matching method
CN1691698A (en) Folding cellular phone
CN1691459A (en) Portable electronic device and mobile communication terminal
CN1901727A (en) System and method for realizing antenna equipment central managing
CN1862875A (en) Built-in antenna module of wireless communication terminal
CN1485749A (en) Mask data processor
CN1812223A (en) Telephones
CN1992836A (en) Electronic apparatus and program for receiving digital television broadcast
CN1606320A (en) Mobile telephone and operation control method therefor
CN1878370A (en) Mobile communications terminal using multi-functional socket and method thereof
CN1659851A (en) Collapsible mobile telephone
CN1893696A (en) Method for controlling double-mode terminal and between its internal chips

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