TW201530303A - Hot plug cable and using method for the cable - Google Patents

Hot plug cable and using method for the cable Download PDF

Info

Publication number
TW201530303A
TW201530303A TW102149063A TW102149063A TW201530303A TW 201530303 A TW201530303 A TW 201530303A TW 102149063 A TW102149063 A TW 102149063A TW 102149063 A TW102149063 A TW 102149063A TW 201530303 A TW201530303 A TW 201530303A
Authority
TW
Taiwan
Prior art keywords
connector
pin
cable
motherboard
tested
Prior art date
Application number
TW102149063A
Other languages
Chinese (zh)
Inventor
sheng-cun Zheng
He-Dong Lv
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW102149063A priority Critical patent/TW201530303A/en
Publication of TW201530303A publication Critical patent/TW201530303A/en

Links

Abstract

A hot plug cable includes a first connector connected to a test device, a second connector connected to a motherboard to be tested, and first and second electronic switches. A voltage pin of the first connector is connected to first terminals of the first and second electronic switches. A second terminal of the first electronic switch is connected to a transmitting pin of the first connector. A third terminal of the first electronic switch is connected to a second pin of the second connector. A second terminal of the second electronic switch is connected to a receiving pin of the first connector. A third terminal of the second electronic switch is connected to a third pin of the second connector. A ground pin of the first connector is grounded. A fourth pin of the second connector is grounded. A first pin of the second connector is suspended. The invention is also provided a using method of the cable.

Description

支持熱插拔的線纜及該線纜的使用方法Hot-swappable cable and how to use the cable

本發明係關於一種支持熱插拔的線纜及該線纜的使用方法。The present invention relates to a cable that supports hot swapping and a method of using the cable.

在主機板設計時一般會預留對主機板進行測試的介面,如通用非同步收發傳輸器(Universal Asynchronous Receiver/Transmitter,UART)介面,在對待測主機板進行測試時有時需要使用線纜將待測主機板上的預留介面連接至測試設備,如一測試電腦以對待測主機板進行測試,然而,如果對該等不支持熱插拔的線纜直接進行插拔,將會對待測主機板上的元件或者該等線纜造成損壞。In the design of the motherboard, the interface for testing the motherboard is generally reserved, such as the Universal Asynchronous Receiver/Transmitter (UART) interface. When testing the motherboard to be tested, it is sometimes necessary to use a cable. The reserved interface on the motherboard to be tested is connected to the test device. For example, a test computer tests the motherboard to be tested. However, if the cable that does not support hot swap is directly plugged and unplugged, the motherboard will be tested. The components on them or the cables cause damage.

鑒於上述內容,有必要提供一種支持熱插拔的線纜及該線纜的使用方法,以在對待測主機板進行測試時防止由於熱插拔線纜而造成待測主機板或該線纜損壞。In view of the above, it is necessary to provide a hot-swappable cable and a method of using the cable to prevent the motherboard to be tested or the cable from being damaged due to hot-swapping of the cable when testing the motherboard to be tested. .

一種支持熱插拔的線纜,包括一用於連接一測試設備的第一連接器、一用於連接一待測主機板的第二連接器、第一及第二電子開關,該第一連接器的電壓引腳連接該第一及第二電子開關的第一端,該第一電子開關的第二端連接該第一連接器的發送引腳,該第一電子開關的第三端連接該第二連接器的第二引腳,該第二電子開關的第二端連接該第一連接器的接收引腳,該第二電子開關的第三端連接該第二連接器的第三引腳,該第一連接器的接地引腳接地,該第二連接器的第四引腳接地,該第二連接器的第一引腳懸空;當該第一連接器未連接該測試設備時,該第一及第二電子開關的第一端均接收低電平訊號,該第一及第二電子開關的第二與第三端斷開,當該第一連接器連接該測試設備時,該第一及第二電子開關的第一端均接收高電平訊號,第一及第二電子開關的第二與第三端連通。A hot-swappable cable includes a first connector for connecting a test device, a second connector for connecting a motherboard to be tested, and first and second electronic switches, the first connection The voltage pin of the device is connected to the first end of the first and second electronic switches, the second end of the first electronic switch is connected to the sending pin of the first connector, and the third end of the first electronic switch is connected to the a second pin of the second connector, a second end of the second electronic switch is connected to the receiving pin of the first connector, and a third end of the second electronic switch is connected to the third pin of the second connector The grounding pin of the first connector is grounded, the fourth pin of the second connector is grounded, and the first pin of the second connector is suspended; when the first connector is not connected to the testing device, The first ends of the first and second electronic switches receive a low level signal, and the second and third ends of the first and second electronic switches are disconnected. When the first connector is connected to the testing device, the first The first ends of the first and second electronic switches both receive a high level signal, the first and second Communication with the second and the third terminal of the switch.

一種如上述支持熱插拔的線纜的使用方法,包括步驟:A method for using a hot-swappable cable as described above, comprising the steps of:

當需要使用該線纜時,將該第二連接器連接至該待測主機板;When the cable needs to be used, connect the second connector to the motherboard to be tested;

將該第一連接器連接至該測試電腦,該第一及第二電子開關的第二與第三端連通;及Connecting the first connector to the test computer, the second and third ends of the first and second electronic switches are in communication; and

該測試電腦透過該第一連接器、該第一及第二電子開關及該第二連接器與該待測主機板進行通訊。The test computer communicates with the motherboard to be tested through the first connector, the first and second electronic switches, and the second connector.

該支持熱插拔的線纜在該第二連接器連接至該待測主機板上後,再將該第一連接器連接至該測試電腦上,從而防止該第一連接器連接上後將該第二連接器連接時產生的瞬間大電流造成該待測主機板上的元件或該線纜損壞;及在該第一連接器與該測試電腦斷開後,再將該第二連接器與該待測主機板斷開,從而防止在該第一連接器未斷開時將該第二連接器斷開而產生的瞬間大電流造成該待測主機板上的元件或該線纜損壞。After the second connector is connected to the motherboard to be tested, the hot-swappable cable is connected to the test computer, thereby preventing the first connector from being connected to the first connector. The momentary large current generated when the second connector is connected causes damage to the component or the cable on the motherboard to be tested; and after the first connector is disconnected from the test computer, the second connector is The motherboard to be tested is disconnected, thereby preventing an instantaneous large current generated when the second connector is disconnected when the first connector is not disconnected, thereby causing damage to components or the cable on the motherboard to be tested.

圖1是本發明支持熱插拔的線纜及該線纜的使用方法的較佳實施方式的電路圖。1 is a circuit diagram of a preferred embodiment of a cable for supporting hot swap and a method of using the cable of the present invention.

請參考圖1,本發明支持熱插拔的線纜1的較佳實施方式包括第一連接器10、第二連接器20、兩電子開關(在本實施方式中為兩N溝道場效應電晶體Q1及Q2)、兩電阻R1及R2及一電容C1。在本實施方式中以一將USB訊號轉換為RS232訊號的線纜為例進行說明。其中,該第一連接器10為一USB連接器,用於連接一測試設備,如一測試電腦100上的USB介面110。該第二連接器20為一通用非同步收發傳輸器(Universal Asynchronous Receiver/Transmitter,UART)連接器,用於連接一待測主機板200上的UART介面210。Referring to FIG. 1 , a preferred embodiment of the present invention supporting the hot-swappable cable 1 includes a first connector 10 , a second connector 20 , and two electronic switches (in this embodiment, two N-channel field effect transistors) Q1 and Q2), two resistors R1 and R2 and a capacitor C1. In the present embodiment, a cable that converts a USB signal into an RS232 signal is taken as an example for description. The first connector 10 is a USB connector for connecting to a test device, such as a USB interface 110 on the test computer 100. The second connector 20 is a Universal Asynchronous Receiver/Transmitter (UART) connector for connecting to the UART interface 210 on the motherboard 200 to be tested.

該第一連接器10的電壓引腳VCC經該電阻R1連接該場效應電晶體Q1及Q2的閘極,該場效應電晶體Q1的源極連接該第一連接器10的發送引腳TXD,該場效應電晶體Q1的汲極連接該第二連接器20的引腳2。該場效應電晶體Q2的源極連接該第一連接器10的接收引腳RXD,該場效應電晶體Q2的汲極連接該第二連接器20的引腳3。該電容C1連接在該場效應電晶體Q1的閘極與地之間,該電阻R2連接在該場效應電晶體Q2的閘極與地之間。該第一連接器10的接地引腳GND接地,該第二連接器20的引腳4接地,該第二連接器20的引腳1懸空。其中該第二連接器20的引腳2及3分別對應連接該UART介面210的資料接收引腳及資料發送引腳,該第二連接器20的引腳4對應連接該UART介面210的接地引腳。The voltage pin VCC of the first connector 10 is connected to the gates of the field effect transistors Q1 and Q2 via the resistor R1. The source of the field effect transistor Q1 is connected to the transmission pin TXD of the first connector 10. The drain of the field effect transistor Q1 is connected to the pin 2 of the second connector 20. The source of the field effect transistor Q2 is connected to the receiving pin RXD of the first connector 10, and the drain of the field effect transistor Q2 is connected to the pin 3 of the second connector 20. The capacitor C1 is connected between the gate of the field effect transistor Q1 and the ground, and the resistor R2 is connected between the gate of the field effect transistor Q2 and the ground. The grounding pin GND of the first connector 10 is grounded, the pin 4 of the second connector 20 is grounded, and the pin 1 of the second connector 20 is suspended. The pins 2 and 3 of the second connector 20 respectively correspond to the data receiving pin and the data sending pin of the UART interface 210. The pin 4 of the second connector 20 corresponds to the grounding lead of the UART interface 210. foot.

當需要使用該線纜1時,首先將該第二連接器20連接至該待測主機板200上的UART介面210上,由於該第一連接器10未連接該待測電腦100上的USB介面110,因此,該場效應電晶體Q1及Q2的閘極均沒有透過該第一連接器10的電壓引腳VCC接收到高電平訊號,該場效應電晶體Q1及Q2均截止。此時再將該第一連接器10連接至該測試電腦100的USB介面110上,在該測試電腦100工作時,該場效應電晶體Q1及Q2的閘極透過該第一連接器10的電壓引腳VCC接收高電平訊號,該場效應電晶體Q1及Q2均導通,該測試電腦100透過該第一連接器10、該場效應電晶體Q1及Q2及該第二連接器20與該待測主機板200進行通訊,以對該待測主機板200進行測試。亦就是說,在該第二連接器20連接至該待測主機板200上的UART介面210上後,再將該第一連接器10連接至該測試電腦100上的USB介面110上,從而防止該第一連接器10連接上後將該第二連接器20連接時產生的瞬間大電流造成該待測主機板200上的元件或該線纜1損壞。When the cable 1 is required to be used, the second connector 20 is first connected to the UART interface 210 on the motherboard 200 to be tested, because the first connector 10 is not connected to the USB interface on the computer 100 to be tested. 110. Therefore, the gates of the field effect transistors Q1 and Q2 do not receive a high level signal through the voltage pin VCC of the first connector 10, and the field effect transistors Q1 and Q2 are both turned off. At this time, the first connector 10 is connected to the USB interface 110 of the test computer 100. When the test computer 100 is in operation, the gates of the field effect transistors Q1 and Q2 pass through the voltage of the first connector 10. The pin VCC receives a high level signal, and the field effect transistors Q1 and Q2 are both turned on. The test computer 100 passes through the first connector 10, the field effect transistors Q1 and Q2, and the second connector 20 The test board 200 performs communication to test the board 200 to be tested. That is, after the second connector 20 is connected to the UART interface 210 on the motherboard 200 to be tested, the first connector 10 is connected to the USB interface 110 on the test computer 100, thereby preventing The momentary large current generated when the first connector 10 is connected to connect the second connector 20 causes the component on the motherboard 200 to be tested or the cable 1 to be damaged.

當該線纜1需要移除時,首先將該第一連接器10與該測試電腦100的USB介面110斷開,該場效應電晶體Q1及Q2的閘極均沒有透過該第一連接器10的電壓引腳VCC接收到高電平訊號,該場效應電晶體Q1及Q2均截止,該測試電腦100的輸出訊號不能透過該第一連接器10、該場效應電晶體Q1及Q2及該第二連接器20提供給該待測主機板200,此時再將該第二連接器20與該待測主機板200上的UART介面210斷開。亦就是說,在該第一連接器10與該測試電腦100的USB介面110斷開後,再將該第二連接器20與該待測主機板200上的UART介面210斷開,從而防止在該第一連接器10未斷開時將該第二連接器20斷開而產生的瞬間大電流造成該待測主機板200上的元件或該線纜1損壞。When the cable 1 needs to be removed, the first connector 10 is first disconnected from the USB interface 110 of the test computer 100, and the gates of the field effect transistors Q1 and Q2 are not transmitted through the first connector 10. The voltage pin VCC receives a high level signal, and the field effect transistors Q1 and Q2 are both turned off. The output signal of the test computer 100 cannot pass through the first connector 10, the field effect transistors Q1 and Q2, and the first The second connector 20 is provided to the motherboard 200 to be tested, and the second connector 20 is disconnected from the UART interface 210 on the motherboard 200 to be tested. That is, after the first connector 10 is disconnected from the USB interface 110 of the test computer 100, the second connector 20 is disconnected from the UART interface 210 on the motherboard 200 to be tested, thereby preventing The momentary large current generated when the second connector 20 is disconnected when the first connector 10 is not disconnected causes damage to the component or the cable 1 on the motherboard 200 to be tested.

該支持熱插拔的線纜1在該第二連接器20連接至該待測主機板200上的UART介面210上後,再將該第一連接器10連接至該測試電腦100上的USB介面110上,從而防止該第一連接器10連接上後將該第二連接器20連接時產生的瞬間大電流造成該待測主機板200上的元件或該線纜1損壞;及在該第一連接器10與該測試電腦100的USB介面110斷開後,再將該第二連接器20與該待測主機板200上的UART介面210斷開,從而防止在該第一連接器10未斷開時將該第二連接器20斷開而產生的瞬間大電流造成該待測主機板200上的元件或該線纜1損壞。The hot-swappable cable 1 is connected to the USB interface on the test computer 100 after the second connector 20 is connected to the UART interface 210 on the motherboard 200 to be tested. 110, thereby preventing an instantaneous large current generated when the second connector 20 is connected after the first connector 10 is connected, causing damage to the component or the cable 1 on the motherboard 200 to be tested; and at the first After the connector 10 is disconnected from the USB interface 110 of the test computer 100, the second connector 20 is disconnected from the UART interface 210 on the motherboard 200 to be tested, thereby preventing the first connector 10 from being unbroken. The momentary large current generated by disconnecting the second connector 20 when opening causes the component on the motherboard 200 to be tested or the cable 1 to be damaged.

綜上所述,本發明符合發明專利要件,爰依法提出專利申請。惟,以上所述者僅為本發明之較佳實施例,舉凡熟悉本案技藝之人士,在爰依本發明精神所作之等效修飾或變化,皆應涵蓋於以下之申請專利範圍內。In summary, the present invention complies with the requirements of the invention patent and submits a patent application according to law. The above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art will be included in the following claims.

1‧‧‧線纜1‧‧‧ Cable

10‧‧‧第一連接器10‧‧‧First connector

20‧‧‧第二連接器20‧‧‧Second connector

Q1、Q2‧‧‧場效應電晶體Q1, Q2‧‧‧ field effect transistor

R1、R2‧‧‧電阻R1, R2‧‧‧ resistance

C1‧‧‧電容C1‧‧‧ capacitor

100‧‧‧測試電腦100‧‧‧Test computer

110‧‧‧USB介面110‧‧‧USB interface

200‧‧‧待測主機板200‧‧‧Testing board

210‧‧‧UART介面210‧‧‧UART interface

no

1‧‧‧線纜 1‧‧‧ Cable

10‧‧‧第一連接器 10‧‧‧First connector

20‧‧‧第二連接器 20‧‧‧Second connector

Q1、Q2‧‧‧場效應電晶體 Q1, Q2‧‧‧ field effect transistor

R1、R2‧‧‧電阻 R1, R2‧‧‧ resistance

C1‧‧‧電容 C1‧‧‧ capacitor

100‧‧‧測試電腦 100‧‧‧Test computer

110‧‧‧USB介面 110‧‧‧USB interface

200‧‧‧待測主機板 200‧‧‧Testing board

210‧‧‧UART介面 210‧‧‧UART interface

Claims (7)

一種支持熱插拔的線纜,包括一用於連接一測試設備的第一連接器、一用於連接一待測主機板的第二連接器、第一及第二電子開關,該第一連接器的電壓引腳連接該第一及第二電子開關的第一端,該第一電子開關的第二端連接該第一連接器的發送引腳,該第一電子開關的第三端連接該第二連接器的第二引腳,該第二電子開關的第二端連接該第一連接器的接收引腳,該第二電子開關的第三端連接該第二連接器的第三引腳,該第一連接器的接地引腳接地,該第二連接器的第四引腳接地,該第二連接器的第一引腳懸空;當該第一連接器未連接該測試設備時,該第一及第二電子開關的第一端均接收低電平訊號,該第一及第二電子開關的第二與第三端斷開,當該第一連接器連接該測試設備時,該第一及第二電子開關的第一端均接收高電平訊號,第一及第二電子開關的第二與第三端連通。A hot-swappable cable includes a first connector for connecting a test device, a second connector for connecting a motherboard to be tested, and first and second electronic switches, the first connection The voltage pin of the device is connected to the first end of the first and second electronic switches, the second end of the first electronic switch is connected to the sending pin of the first connector, and the third end of the first electronic switch is connected to the a second pin of the second connector, a second end of the second electronic switch is connected to the receiving pin of the first connector, and a third end of the second electronic switch is connected to the third pin of the second connector The grounding pin of the first connector is grounded, the fourth pin of the second connector is grounded, and the first pin of the second connector is suspended; when the first connector is not connected to the testing device, The first ends of the first and second electronic switches receive a low level signal, and the second and third ends of the first and second electronic switches are disconnected. When the first connector is connected to the testing device, the first The first ends of the first and second electronic switches both receive a high level signal, the first and second Communication with the second and the third terminal of the switch. 如申請專利範圍第1項所述之支持熱插拔的線纜,還包括第一及第二電阻,該第一電阻連接在該第一連接器的電壓引腳與該第一及第二電子開關的第一端之間,該第二電阻連接在該第二電子開關的第一端與地之間。The hot-swappable cable according to claim 1, further comprising first and second resistors, wherein the first resistor is connected to the voltage pin of the first connector and the first and second electrons Between the first ends of the switches, the second resistor is coupled between the first end of the second electronic switch and ground. 如申請專利範圍第1項所述之支持熱插拔的線纜,還包括一電容,該電容連接在該第一電子開關的第一端與地之間。The hot-swappable cable of claim 1, further comprising a capacitor connected between the first end of the first electronic switch and the ground. 如申請專利範圍第1項所述之支持熱插拔的線纜,其中該第一及第二電子開關均為N溝道場效應電晶體,該第一及第二電子開關的第一至第三端分別對應該場效應電晶體的閘極、源極及汲極。The hot-swappable cable according to claim 1, wherein the first and second electronic switches are N-channel field effect transistors, and the first and third electronic switches are first to third. The terminals respectively correspond to the gate, source and drain of the field effect transistor. 如申請專利範圍第1項所述之支持熱插拔的線纜,其中該第一連接器為一USB連接器,該第二連接器為一通用非同步收發傳輸器連接器。The hot-swappable cable of claim 1, wherein the first connector is a USB connector, and the second connector is a universal asynchronous transceiver connector. 一種如申請專利範圍第1項所述之支持熱插拔的線纜的使用方法,包括步驟:
當需要使用該線纜時,將該第二連接器連接至該待測主機板;
將該第一連接器連接至該測試電腦,該第一及第二電子開關的第二與第三端連通;及
該測試電腦透過該第一連接器、該第一及第二電子開關及該第二連接器與該待測主機板進行通訊。
A method for using a hot-swappable cable as described in claim 1 of the patent application, comprising the steps of:
When the cable needs to be used, connect the second connector to the motherboard to be tested;
Connecting the first connector to the test computer, the second and third ends of the first and second electronic switches are connected; and the test computer passes the first connector, the first and second electronic switches, and the The second connector communicates with the motherboard to be tested.
如申請專利範圍第6項所述之使用方法,還包括步驟:
當該線纜需要移除時,將該第一連接器與該測試電腦斷開;
該第一及第二電子開關的第二與第三端斷開;
該測試電腦的輸出訊號不能透過該第一連接器、該第一及第二電子開關及該第二連接器提供給該待測主機板;及
該第二連接器與該待測主機板斷開。
The method of use as described in claim 6 of the patent scope further includes the steps of:
Disconnecting the first connector from the test computer when the cable needs to be removed;
Disconnecting the second and third ends of the first and second electronic switches;
The output signal of the test computer cannot be supplied to the motherboard to be tested through the first connector, the first and second electronic switches, and the second connector; and the second connector is disconnected from the motherboard to be tested .
TW102149063A 2013-12-30 2013-12-30 Hot plug cable and using method for the cable TW201530303A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102149063A TW201530303A (en) 2013-12-30 2013-12-30 Hot plug cable and using method for the cable

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102149063A TW201530303A (en) 2013-12-30 2013-12-30 Hot plug cable and using method for the cable

Publications (1)

Publication Number Publication Date
TW201530303A true TW201530303A (en) 2015-08-01

Family

ID=54342708

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102149063A TW201530303A (en) 2013-12-30 2013-12-30 Hot plug cable and using method for the cable

Country Status (1)

Country Link
TW (1) TW201530303A (en)

Similar Documents

Publication Publication Date Title
JP5283719B2 (en) Electronic equipment and electronic equipment system
CN108628787B (en) Interface control circuit
CN104239169A (en) Signal testing card and method
US8024630B2 (en) Debugging module for electronic device and method thereof
US20130205059A1 (en) Motherboard comprising expansion connector
CN204576500U (en) A kind of usb communication circuit of compatible I2C communication and system
WO2017161750A1 (en) Mobile apparatus
JP4039948B2 (en) Recognition of device connection status in USB
US9638736B2 (en) DC level detection circuit between high speed signal line connecting ports, a system including the circuit, and methods of making and using the same
TW201439777A (en) Motherboard
CN104967806A (en) Switching circuit based on HDMI interface
CA2875380C (en) Method, system and device for audio data tranmission, and electronic signature tool
TWI583135B (en) Interface supply circuit
CN107302677A (en) HDMI and DP compatibility interface circuits
TW201326839A (en) Electrical device and connector thereof
TW201644202A (en) Interface supply circuit
CN112130098A (en) Connection detection device, mainboard and terminal
TW201506643A (en) Motherboard
TW201443665A (en) Motherboard having two display interfaces
TW201530303A (en) Hot plug cable and using method for the cable
CN108572935B (en) USB interface control circuit
WO2021253805A1 (en) Detection assistance circuit, apparatus, motherboard, and terminal device
TW201629684A (en) Electronic device and charging interface
CN108628786B (en) Interface control circuit
CN105700981A (en) USB (Universal Serial Bus) disk used for test