TWI736721B - Pin connection testing system for connector and method thereof - Google Patents

Pin connection testing system for connector and method thereof Download PDF

Info

Publication number
TWI736721B
TWI736721B TW106143805A TW106143805A TWI736721B TW I736721 B TWI736721 B TW I736721B TW 106143805 A TW106143805 A TW 106143805A TW 106143805 A TW106143805 A TW 106143805A TW I736721 B TWI736721 B TW I736721B
Authority
TW
Taiwan
Prior art keywords
signal
test
tested
connector
pins
Prior art date
Application number
TW106143805A
Other languages
Chinese (zh)
Other versions
TW201928381A (en
Inventor
宋平
Original Assignee
英業達股份有限公司
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 英業達股份有限公司 filed Critical 英業達股份有限公司
Priority to TW106143805A priority Critical patent/TWI736721B/en
Publication of TW201928381A publication Critical patent/TW201928381A/en
Application granted granted Critical
Publication of TWI736721B publication Critical patent/TWI736721B/en

Links

Images

Landscapes

  • Tests Of Electronic Circuits (AREA)

Abstract

A pin connection testing system for connector and method thereof is disclosed. By transmitting a joint test action group (JTAG) command to a programmable logic device (PLD) for controlling, so as to drive at least one demultiplexer transmits an under test signal from a connector to a first line or a second line, and conversing and encoding the under test signal to transmit to a set of input/output pins of the PLD for reading when transmitting the first line, and reading a state of the set of input/output pins electrically connected to the second line when transmitting the second line. Then, generates a test result according to the under test signal and the state of the input/output pins. The mechanism is help to improve the testing convenience of the connection status of the connector.

Description

連接器的腳位連接測試系統及其方法Pin connection test system and method of connector

本發明涉及一種測試系統及其方法,特別是能夠在邊界掃描(Boundary Scan)的測試環境下,更能對輸入輸出(Input/Output, I/O)互連信號以外的信號,如:上拉信號、下拉信號、電源信號及接地信號進行測試之連接器的腳位連接測試系統及其方法。The present invention relates to a test system and a method thereof, in particular in a Boundary Scan (Boundary Scan) test environment, it is more capable of interconnecting signals other than Input/Output (I/O) signals, such as: pull-up The signal, pull-down signal, power signal, and ground signal are connected to the pin of the connector to test the system and its method.

近年來,隨著電子電路的普及與蓬勃發展,如何快速地且正確地測試連接器的連接狀態已成為各家廠商亟欲解決的問題之一。In recent years, with the popularization and vigorous development of electronic circuits, how to quickly and correctly test the connection state of the connector has become one of the problems that various manufacturers urgently want to solve.

一般而言,連接狀態包含開路(Open)及短路(Short),其測試目的是要確認所有的連接器接腳(或稱為腳位)是否正確地被連接,以及確認沒有任何的接腳與其它的接腳短路,或是與電源(Power)、接地(Ground, GND)等接腳短路。傳統上,其測試方式是以三用電表的探針接觸待測電路的二個端點,並且施加電流,假設能夠導通即視為短路,反之若未導通即視為開路。然而,此一方式難以在複雜的電路上進行測試,故具有測試連接器的連接狀態不便的問題。Generally speaking, the connection status includes open circuit (Open) and short circuit (Short). The purpose of the test is to confirm whether all the connector pins (or pin positions) are correctly connected, and to confirm that no pins are connected with Other pins are short-circuited, or are short-circuited with power (Power), ground (Ground, GND) and other pins. Traditionally, the test method is that the probes of the three-meter electric meter touch the two end points of the circuit to be tested and apply a current. If it can be turned on, it is regarded as a short circuit, otherwise, it is regarded as an open circuit. However, this method is difficult to test on a complicated circuit, so it has the problem of inconvenience to test the connection state of the connector.

有鑑於此,便有廠商提出邊界掃描的技術手段,將可程式邏輯元件的輸入輸出腳位連接至連接器,以便測試輸入輸出互連信號的連接狀態,然而,此一方式無法針對非單純的輸入輸出互連信號,如:上拉信號、下拉信號、電源信號及接地信號等等進行測試。因此,仍然無法有效解決測試連接器的連接狀態不便的問題。In view of this, some manufacturers have proposed boundary scan technology to connect the input and output pins of programmable logic components to the connector in order to test the connection status of the input and output interconnection signals. However, this method cannot be used for non-simple Input and output interconnection signals, such as: pull-up signal, pull-down signal, power signal and ground signal, etc. for testing. Therefore, the problem of the inconvenience of the connection state of the test connector still cannot be effectively solved.

綜上所述,可知先前技術中長期以來一直存在測試連接器的連接狀態不便之問題,因此實有必要提出改進的技術手段,來解決此一問題。In summary, it can be seen that the prior art has always had the problem of inconvenience in testing the connection state of the connector. Therefore, it is necessary to propose improved technical means to solve this problem.

本發明揭露一種連接器的腳位連接測試系統及其方法。The invention discloses a pin connection test system and method of a connector.

首先,本發明揭露一種連接器的腳位連接測試系統,應用在邊界掃描的測試環境下,此系統包含:待測單元及測試單元。所述待測單元具有連接器,此連接器包含多個連接腳位,每一連接腳位具有相應的待測信號。First, the present invention discloses a pin connection test system of a connector, which is applied in a boundary scan test environment. The system includes a unit to be tested and a test unit. The unit under test has a connector, and the connector includes a plurality of connection pins, and each connection pin has a corresponding signal to be tested.

接著,所述測試單元包含:解多工器、類比數位轉換器、微控制器及可程式邏輯元件。其中,每一解多工器電性連接所述連接器,用以選擇將來自連接器的待測信號傳送至第一線路或第二線路;每一類比數位轉換器具有一組類比輸入腳位電性連接第一線路,用以將待測信號轉換為相應的數位電壓值;微控制器電性連接類比數位轉換器,用以將數位電壓值編碼轉換為N位元輸出,其中N為正整數;可程式邏輯元件具有一組輸入輸出腳位,其中,透過K個腳位電性連接解多工器以控制解多工器選擇第一線路或第二線路、透過M個腳位電性連第二線路以讀取每一待測信號的狀態,以及透過N個腳位電性連接微控制器以讀取N位元的數位電壓值,當待測信號為輸入輸出互連信號時,執行邊界掃描互連測試以檢測每一待測信號的狀態並產生連接訊息,當待測信號為電源信號或上拉信號時,控制解多工器選擇第一線路,並且自微控制器讀取數位電壓值,當讀取到的數位電壓值為數值零時,產生第一開路訊息,當待測信號為接地信號或下拉信號時,控制解多工器選擇第二線路,並且執行邊界掃描讀取對應所述待測信號的電位狀態,當電位狀態不為低電位時,產生第二開路訊息,其中,K及M為正整數。Then, the test unit includes: a demultiplexer, an analog-to-digital converter, a microcontroller, and a programmable logic element. Wherein, each demultiplexer is electrically connected to the connector to select the signal to be tested from the connector to be transmitted to the first line or the second line; each analog-to-digital converter has a set of analog input pins. The first line is electrically connected to convert the signal to be measured into a corresponding digital voltage value; the microcontroller is electrically connected to an analog-to-digital converter to convert the code of the digital voltage value into an N-bit output, where N is a positive integer ; Programmable logic element has a set of input and output pins, of which, K pins are electrically connected to the demultiplexer to control the demultiplexer to select the first line or the second line, and the M pins are electrically connected The second circuit reads the state of each signal under test, and is electrically connected to the microcontroller through N pins to read the N-bit digital voltage value. When the signal under test is an input/output interconnection signal, execute The boundary scan interconnection test detects the status of each signal under test and generates a connection message. When the signal under test is a power signal or a pull-up signal, the demultiplexer is controlled to select the first line and read the digits from the microcontroller Voltage value. When the read digital voltage value is zero, the first open circuit message is generated. When the signal to be measured is a ground signal or a pull-down signal, the demultiplexer is controlled to select the second line and perform boundary scan reading Corresponding to the potential state of the signal to be measured, when the potential state is not a low potential, a second open circuit message is generated, where K and M are positive integers.

另外,本發明揭露一種連接器的腳位連接測試方法,應用在邊界掃描的測試環境下,其步驟包括:提供待測單元,此待測單元具有連接器,連接器包含多個連接腳位,每一連接腳位具有相應的待測信號;提供測試單元,此測試單元透過連接器與待測單元電性連接,用以接收待測信號;測試單元在待測信號為輸入輸出互連信號時,執行邊界掃描互連測試以檢測每一待測信號的狀態並產生連接訊息;測試單元在待測信號為電源信號或上拉信號時,將待測信號傳送至第一線路,用以將待測信號轉換為數位電壓值,當數位電壓值為數值零時,產生第一開路訊息;測試單元在待測信號為接地信號或下拉信號時,將待測信號傳送至第二線路,用以執行邊界掃描讀取對應所述待測信號的電位狀態,當電位狀態不為低電位時,產生第二開路訊息。In addition, the present invention discloses a connector pin connection test method, which is applied in a boundary scan test environment. The steps include: providing a unit to be tested, the unit to be tested has a connector, and the connector includes a plurality of connection pins, Each connection pin has a corresponding signal to be tested; a test unit is provided, which is electrically connected to the unit to be tested through a connector to receive the signal to be tested; when the signal to be tested is an input/output interconnection signal , Perform a boundary scan interconnection test to detect the state of each signal to be tested and generate a connection message; when the signal to be tested is a power signal or a pull-up signal, the test unit transmits the signal to be tested to the first line for The test signal is converted into a digital voltage value. When the digital voltage value is zero, the first open circuit message is generated; when the test signal is a ground signal or a pull-down signal, the test unit transmits the test signal to the second circuit for execution The boundary scan reads the potential state corresponding to the signal to be measured, and when the potential state is not a low potential, a second open circuit message is generated.

本發明所揭露之系統與方法如上,與先前技術的差異在於本發明是透過JTAG指令控制可程式邏輯元件,以便驅動解多工器將來自連接器的待測信號傳送至第一線路或第二線路,當傳送至第一線路時,將待測信號進行類比數位轉換及編碼後,傳送至可程式邏輯元件的輸入輸出腳位以供讀取,當傳送至第二線路時,讀取與第二線路電性連接的輸入輸出腳位之狀態,接著,根據待測信號及讀取到的輸入輸出腳位產生相應的測試結果。The system and method disclosed in the present invention are as above. The difference from the prior art is that the present invention uses JTAG commands to control programmable logic elements so as to drive the demultiplexer to transmit the signal under test from the connector to the first line or the second line. When the signal is transmitted to the first circuit, the signal to be measured is converted and coded by analog to digital, and then transmitted to the input and output pins of the programmable logic element for reading. When transmitted to the second circuit, the reading and the first The state of the input and output pins that are electrically connected to the two lines, and then generate corresponding test results according to the signal to be tested and the read input and output pins.

透過上述的技術手段,本發明可以達成提高測試連接器腳位的連接狀態的便利性之技術功效。Through the above-mentioned technical means, the present invention can achieve the technical effect of improving the convenience of testing the connection state of the connector pins.

以下將配合圖式及實施例來詳細說明本發明之實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。The following describes the implementation of the present invention in detail with the drawings and embodiments, so as to fully understand and implement the implementation process of how the present invention uses technical means to solve technical problems and achieve technical effects.

在說明本發明所揭露之連接器的腳位連接測試系統及其方法之前,先對本發明所應用的環境作說明,本發明係應用在邊界掃描的測試環境下,用以透過測試單元來測試待測單元上的連接器腳位,判斷其是否有開路、與接地線短路、腳位相互短路等錯誤情況,其中,待測單元與測試單元透過連接器相互電性連接,並且透過聯合測試工作群組(Joint Test Action Group, JTAG)指令控制測試單元的可程式邏輯元件,用以設定及讀取其輸入輸出腳位。Before describing the pin connection test system and method of the connector disclosed in the present invention, the environment in which the present invention is applied will be described. The connector pins on the test unit are judged whether there are errors such as open circuit, short circuit with the ground wire, short circuit between the pins. Among them, the unit under test and the test unit are electrically connected to each other through the connector, and through the joint test group Group (Joint Test Action Group, JTAG) instructions control the programmable logic components of the test unit, which are used to set and read its input and output pins.

以下配合圖式對本發明連接器的腳位連接測試系統及其方法做進一步說明,請先參閱「第1圖」,「第1圖」為本發明連接器的腳位連接測試系統之系統方塊圖,應用在邊界掃描的測試環境下,此系統包含:待測單元110及測試單元120。其中,待測單元110具有連接器111,此連接器111包含多個連接腳位,每一連接腳位具有相應的待測信號。在實際實施上,所述待測信號可由設置在待測單元110上的JTAG裝置、中央處理器等等所產生。另外,所述連接器111可以是各種插槽,例如:外部元件互連(Peripheral Component Interconnect, PCI)、PCIe(PCI Express)、雙列直插式記憶體模組(Dual In-line Memory Module, DIMM)、小外形雙列直插式記憶體模組(Small Outline Dual In-line Memory Module, SODIMM)等等。The following diagrams are used to further explain the pin connection test system and method of the connector of the present invention. Please refer to "Figure 1" first. "Figure 1" is a system block diagram of the pin connection test system of the connector of the present invention. , Applied in a boundary scan test environment, this system includes: a unit under test 110 and a test unit 120. The unit under test 110 has a connector 111, and the connector 111 includes a plurality of connection pins, and each connection pin has a corresponding signal to be tested. In actual implementation, the signal to be tested can be generated by a JTAG device, a central processing unit, etc., provided on the unit under test 110. In addition, the connector 111 may be various slots, such as: Peripheral Component Interconnect (PCI), PCIe (PCI Express), dual in-line memory module (Dual In-line Memory Module, DIMM), Small Outline Dual In-line Memory Module (SODIMM), etc.

至於在測試單元120的部分,其包含:解多工器121(Demultiplexer, DEMUX)、類比數位轉換器122、微控制器123及可程式邏輯元件124。其中,解多工器121電性連接所述連接器111,用以選擇將來自連接器111的待測信號傳送至第一線路151或第二線路152。在實際實施上,可選擇型號如:「74CBTLV3257」的電子元件作為解多工器121,另外,實際上,解多工器121與可程式邏輯元件124之間存在通道選擇信號線(圖中未示),此通道選擇信號線一端電性連接可程式邏輯元件124的輸入輸出腳位,另一端則電性連接解多工器121的選擇腳位,以「74CBTLV3257」的電子元件為例即為:「pin 1」。可程式邏輯元件124會透過此通道選擇信號線控制解多工器121將待測信號傳送至第一線路151或第二線路152。要補充說明的是,解多工器與多工器(Multiplexer, MUX)的差別僅在於資料流的方向不同,前者是一輸入端對多輸出端;後者是多輸入端對一輸入端。As for the part of the test unit 120, it includes a demultiplexer 121 (Demultiplexer, DEMUX), an analog-to-digital converter 122, a microcontroller 123, and a programmable logic element 124. Wherein, the demultiplexer 121 is electrically connected to the connector 111 to select the signal to be tested from the connector 111 to be transmitted to the first line 151 or the second line 152. In actual implementation, you can choose an electronic component of the model such as "74CBTLV3257" as the demultiplexer 121. In addition, in fact, there is a channel selection signal line between the demultiplexer 121 and the programmable logic component 124 (not shown in the figure). Show), one end of this channel selection signal line is electrically connected to the input and output pins of the programmable logic element 124, and the other end is electrically connected to the selection pin of the demultiplexer 121. Take the electronic element of "74CBTLV3257" as an example. : "Pin 1". The programmable logic element 124 controls the demultiplexer 121 to transmit the signal under test to the first line 151 or the second line 152 through the channel selection signal line. It should be added that the difference between a demultiplexer and a multiplexer (MUX) is only in the direction of data flow. The former is one input to multiple output; the latter is multiple input to one input.

類比數位轉換器122(Analog to Digital Converter, ADC)具有一組類比輸入腳位電性連接第一線路151,用以將待測信號轉換為相應的數位電壓值。簡單地說,類比數位轉換器122是用於將類比形式的連續信號轉換為數位形式的離散信號的元件。The analog to digital converter 122 (Analog to Digital Converter, ADC) has a set of analog input pins electrically connected to the first circuit 151 for converting the signal to be measured into a corresponding digital voltage value. Simply put, the analog-to-digital converter 122 is an element for converting a continuous signal in an analog form into a discrete signal in a digital form.

微控制器123電性連接類比數位轉換器122,用以將數位電壓值編碼轉換為N位元輸出至可程式邏輯元件124,其中,N為正整數。在實際實施上,假設轉換為8位元,代表N等於8,而微控制器123與可程式邏輯元件124之間需要電性連接八條導線以傳送這8位元的數位電壓值,具體來說,這八條導線會電性連接在可程式邏輯元件124的輸入輸出腳位。The microcontroller 123 is electrically connected to the analog-to-digital converter 122 for converting the digital voltage value code into N bits to output to the programmable logic element 124, where N is a positive integer. In actual implementation, assuming that it is converted to 8 bits, it means that N is equal to 8, and eight wires need to be electrically connected between the microcontroller 123 and the programmable logic element 124 to transmit the 8-bit digital voltage value. In other words, these eight wires are electrically connected to the input and output pins of the programmable logic element 124.

可程式邏輯元件124具有一組輸入輸出腳位,其中,透過K個腳位電性連接解多工器121以控制解多工器121選擇第一線路151或第二線路152、透過M個腳位電性連第二線路152以讀取每一待測信號的狀態,以及透過N個腳位電性連接微控制器123以讀取N位元的數位電壓值,其中,上述的K及M皆為正整數。當待測信號為輸入輸出互連信號時,執行邊界掃描互連測試以檢測每一待測信號的狀態並產生連接訊息,舉例來說,將每一待測信號的電位記錄在連接訊息、記錄每一待測信號是否存在短路、開路的情況等等。接著,當待測信號為電源信號或上拉信號時,控制解多工器121選擇第一線路151,並且自微控制器123讀取數位電壓值,當讀取到的數位電壓值為數值零時,產生第一開路訊息,舉例來說,第一開路訊息可為記載文字「電源信號或上拉信號為開路狀態」的訊息。接下來,當待測信號為接地信號或下拉信號時,控制解多工器121選擇第二線路152,並且執行邊界掃描讀取對應所述待測信號的電位狀態,當讀取到的電位狀態不為低電位時,產生第二開路訊息,舉例來說,第二開路訊息為記載文字「接地信號或下拉信號為開路狀態」的訊息。在實際實施上,可程式邏輯元件124在待測信號為上拉信號且讀取到的數位電壓值不為數值零之後,可控制解多工器121由第一線路151選擇切換至第二線路152,並且執行邊界掃描互連測試以根據所述M個腳位讀取每一待測信號的狀態,用以檢測連接器111的連接腳位之間是否存在短路。除此之外,可程式邏輯元件124在待測信號為下拉信號且讀取到的電位狀態不為高電位之後,亦可執行邊界掃描互連測試以根據所述M個腳位讀取每一待測信號的狀態,用以檢測連接器111的連接腳位之間是否存在短路。在具體實施時,所述可程式邏輯元件124可為複雜可程式邏輯裝置(Complex Programmable Logic Device, CPLD)、現場可程式邏輯閘陣列(Field-Programmable Gate Array, FPGA)等等。The programmable logic element 124 has a set of input and output pins, wherein the demultiplexer 121 is electrically connected to the demultiplexer 121 through K pins to control the demultiplexer 121 to select the first line 151 or the second line 152, and through M pins The second circuit 152 is electrically connected to read the state of each signal to be tested, and the microcontroller 123 is electrically connected to the microcontroller 123 through N pins to read the N-bit digital voltage value. Among them, the above-mentioned K and M All are positive integers. When the signal to be tested is an input/output interconnection signal, a boundary scan interconnection test is performed to detect the state of each signal to be tested and generate a connection message. For example, the potential of each signal to be tested is recorded in the connection message, record Whether each signal under test has short circuit, open circuit, etc. Then, when the signal to be measured is a power signal or a pull-up signal, the demultiplexer 121 is controlled to select the first line 151, and the digital voltage value is read from the microcontroller 123, when the read digital voltage value is zero At the time, the first open circuit message is generated. For example, the first open circuit message may be a message that records the text "The power signal or the pull-up signal is in an open circuit state." Next, when the signal to be measured is a ground signal or a pull-down signal, the demultiplexer 121 is controlled to select the second line 152, and the boundary scan is performed to read the potential state corresponding to the signal to be measured. When the potential is not low, a second open-circuit message is generated. For example, the second open-circuit message is a message in which the text "ground signal or pull-down signal is in an open state" is recorded. In actual implementation, the programmable logic element 124 can control the demultiplexer 121 to switch from the first line 151 to the second line after the signal to be tested is a pull-up signal and the read digital voltage value is not zero. 152, and perform a boundary scan interconnection test to read the state of each signal to be tested according to the M pins, so as to detect whether there is a short circuit between the connecting pins of the connector 111. In addition, the programmable logic element 124 can also perform a boundary scan interconnection test after the signal to be tested is a pull-down signal and the read potential state is not a high potential to read each pin based on the M pins. The state of the signal to be tested is used to detect whether there is a short circuit between the connecting pins of the connector 111. In a specific implementation, the programmable logic element 124 may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), and so on.

接著,請參閱「第2A圖」及「第2B圖」,「第2A圖」及「第2B圖」為本發明連接器的腳位連接測試方法之方法流程圖,應用在邊界掃描的測試環境下,其步驟包括:提供待測單元110,此待測單元110具有連接器111,所述連接器111包含多個連接腳位,每一連接腳位具有相應的待測信號(步驟210);提供測試單元120,此測試單元120透過連接器111與待測單元110電性連接,用以接收待測信號(步驟220);測試單元120在待測信號為輸入輸出互連信號時,執行邊界掃描互連測試以檢測每一待測信號的狀態並產生連接訊息(步驟230);測試單元120在待測信號為電源信號或上拉信號時,將待測信號傳送至第一線路151,用以將待測信號轉換為數位電壓值,當數位電壓值為數值零時,產生第一開路訊息(步驟240);測試單元120在待測信號為接地信號或下拉信號時,將待測信號傳送至第二線路152,用以執行邊界掃描讀取對應所述待測信號的電位狀態,當電位狀態不為低電位時,產生第二開路訊息(步驟250)。透過上述步驟,即可透過JTAG指令控制可程式邏輯元件124,以便驅動解多工器121將來自連接器111的待測信號傳送至第一線路151或第二線路152,當傳送至第一線路151時,將待測信號進行類比數位轉換及編碼後,傳送至可程式邏輯元件124的輸入輸出腳位以供讀取,當傳送至第二線路152時,讀取與第二線路152電性連接的輸入輸出腳位之狀態,接著,根據待測信號及讀取到的輸入輸出腳位產生相應的測試結果。Then, please refer to "Figure 2A" and "Figure 2B", "Figure 2A" and "Figure 2B" are the method flowcharts of the pin connection test method of the connector of the present invention, which is applied in the boundary scan test environment Next, the steps include: providing a unit under test 110, the unit under test 110 has a connector 111, the connector 111 includes a plurality of connection pins, and each connection pin has a corresponding signal to be tested (step 210); A test unit 120 is provided, and the test unit 120 is electrically connected to the unit under test 110 through the connector 111 to receive the signal under test (step 220); the test unit 120 executes the boundary when the signal under test is an input/output interconnection signal Scan the interconnection test to detect the state of each signal under test and generate a connection message (step 230); when the signal under test is a power signal or a pull-up signal, the test unit 120 transmits the signal under test to the first line 151, and uses To convert the signal to be tested into a digital voltage value, when the digital voltage value is zero, a first open circuit message is generated (step 240); when the signal to be tested is a ground signal or a pull-down signal, the test unit 120 transmits the signal to be tested The second line 152 is used to perform boundary scan to read the potential state corresponding to the signal to be measured. When the potential state is not a low potential, a second open circuit message is generated (step 250). Through the above steps, the programmable logic element 124 can be controlled through JTAG commands to drive the demultiplexer 121 to transmit the signal to be tested from the connector 111 to the first line 151 or the second line 152, and then to the first line At 151, the signal to be tested is converted and coded by analog to digital, and then sent to the input and output pins of the programmable logic element 124 for reading. When sent to the second line 152, the reading is electrically connected to the second line 152. The status of the connected input and output pins, and then the corresponding test results are generated according to the signal to be tested and the read input and output pins.

另外,在步驟240之後,測試單元120還可在待測信號為上拉信號且讀取到的數位電壓值不為數值零之後,將待測信號由第一線路151切換傳送至第二線路152,並且執行邊界掃描互連測試以讀取每一待測信號的狀態,用以檢測連接腳位之間是否存在短路(步驟241);以及在步驟250之後,測試單元120可在待測信號為下拉信號且讀取到的電位狀態不為高電位之後,執行邊界掃描互連測試以讀取每一待測信號的狀態,用以檢測連接腳位之間是否存在短路(步驟251)。要補充說明的是,在實際實施上,待測單元110及測試單元120具有JTAG介面,用以接收來自終端機的JTAG指令,使終端機能夠根據此JTAG指令控制測試單元120,以及讀取經由第二線路152傳送的待測信號的狀態,例如:高電位(High)或低電位(Low)。In addition, after step 240, the test unit 120 can switch and transmit the signal to be tested from the first line 151 to the second line 152 after the signal to be tested is a pull-up signal and the read digital voltage value is not zero. , And perform a boundary scan interconnection test to read the state of each signal to be tested to detect whether there is a short circuit between the connection pins (step 241); and after step 250, the test unit 120 can determine whether the signal to be tested is After the signal is pulled down and the read potential state is not high, a boundary scan interconnection test is performed to read the state of each signal to be tested to detect whether there is a short circuit between the connection pins (step 251). It should be added that, in actual implementation, the unit under test 110 and the test unit 120 have JTAG interfaces for receiving JTAG commands from the terminal, so that the terminal can control the test unit 120 according to the JTAG commands, and read through The state of the signal to be measured transmitted by the second line 152 is, for example, a high potential (High) or a low potential (Low).

以下配合「第3圖」及「第4圖」以實施例的方式進行如下說明,請先參閱「第3圖」,「第3圖」為應用本發明以JTAG指令控制可程式邏輯元件之示意圖。在實際實施上,執行邊界掃描互連測試時,係透過JTAG指令控制可程式邏輯元件124的輸入輸出腳位(I/O pin)以抓取各腳位的值,並且與待測單元110輸出的值進行比對,倘若兩者相同代表沒有短路、開路等情況發生。以下分別針對待測信號為「輸入輸出互連信號」、「電源信號」、「上拉信號」、「下拉信號」及「接地信號」的流程進行說明:The following description will be given in the form of embodiment in conjunction with "Figure 3" and "Figure 4". Please refer to "Figure 3" first. "Figure 3" is a schematic diagram of applying the present invention to control programmable logic components with JTAG instructions. . In actual implementation, when the boundary scan interconnection test is performed, the input and output pins (I/O pins) of the programmable logic element 124 are controlled through JTAG instructions to capture the value of each pin and output it with the unit under test 110 Compare the value of, if the two are the same, it means that no short circuit, open circuit, etc. have occurred. The following describes the processes where the signals to be tested are "input/output interconnection signal", "power signal", "pull-up signal", "pull-down signal" and "ground signal":

一、「輸入輸出互連信號」1. "Input and output interconnection signals"

1. 假設測試單元120的解多工器121經由連接器111與JTAG裝置310電性連接,欲根據JTAG裝置310發出的待測信號測試腳位連接狀態時,此處所提及的待測信號的類型即為輸入輸出互連信號。1. Assuming that the demultiplexer 121 of the test unit 120 is electrically connected to the JTAG device 310 via the connector 111, when the pin connection status is to be tested according to the signal under test sent by the JTAG device 310, the signal under test mentioned here The type is the input and output interconnection signal.

2. 終端機300使用JTAG指令控制可程式邏輯元件124,例如:根據邊界掃描描述語言(Boundary Scan Description Language, BSDL)發送「Extest」指令(如:「11010101」),使可程式邏輯元件124進入邊界掃描模式。2. The terminal 300 uses JTAG commands to control the programmable logic element 124, for example: according to the boundary scan description language (Boundary Scan Description Language, BSDL) to send the "Extest" command (such as: "11010101"), so that the programmable logic element 124 enters Boundary scan mode.

3. 終端機300使用JTAG指令傳送數據給可程式邏輯元件124的邊界掃描暫存器(Register),預設傳送的數據全部為「1」,全部為「1」表示所有輸出輸入腳位均爲輸入模式。在實際實施上,可程式邏輯元件124的每個輸入輸出腳位在邊界掃描暫存器中,都有一個元件(Cell)對應,輸入輸出腳位可設置爲輸入模式、輸出模式,以及設置輸出的值(如:「0」或「1」)。因此,通過控制可程式邏輯元件124的邊界掃描暫存器,可以設置可程式邏輯元件124的輸入輸出腳位的模式,其中,在設置為輸入模式的時,邊界掃描暫存器會記錄外部輸入輸出腳位的值,(如:「0」或「1」)。3. The terminal 300 uses JTAG commands to send data to the boundary scan register (Register) of the programmable logic element 124. By default, the data sent are all "1", and all "1" means that all output and input pins are Input mode. In actual implementation, each input and output pin of the programmable logic element 124 has a corresponding element (Cell) in the boundary scan register. The input and output pins can be set to input mode, output mode, and set output The value of (for example: "0" or "1"). Therefore, by controlling the boundary scan register of the programmable logic element 124, the input and output pin mode of the programmable logic element 124 can be set. When the input mode is set, the boundary scan register will record the external input The value of the output pin, (for example: "0" or "1").

4. 將解多工器121切換到第二線路152,此第二線路152電性連接可程式邏輯元件124的輸入輸出腳位中的K個腳位,如此一來,JTAG裝置310發出的待測信號即可傳送至可程式邏輯元件124的輸入輸出腳位。4. Switch the demultiplexer 121 to the second line 152. The second line 152 is electrically connected to the K pins of the input and output pins of the programmable logic element 124. As a result, the JTAG device 310 sends out the waiting The test signal can be transmitted to the input and output pins of the programmable logic element 124.

5. 然後,終端機300可透過JTAG介面301讀取邊界掃描暫存器中對應K個腳位的元件(Cell),也就是從其中抓取相應的值,例如:「0」或「1」,用以比對待測信號和抓取到的值是否相同,倘若相同代表通過測試,反之則代表存在故障點,並且根據比對結果產生相應的連接訊息,例如:記載待測信號和所有抓取到的值。5. Then, the terminal 300 can read the components (Cell) corresponding to the K pins in the boundary scan register through the JTAG interface 301, that is, grab the corresponding value from it, for example: "0" or "1" , Used to compare whether the signal to be tested and the captured value are the same. If the same means that the test passes, otherwise it means that there is a fault, and the corresponding connection message is generated according to the comparison result, for example: record the signal to be tested and all captured To the value.

二、「電源信號」或「上拉信號」2. "Power signal" or "pull up signal"

1. 假設測試單元120的解多工器121電性連接到待測單元110的電源(如:3.3V),代表待測信號為電源信號;假設電性連接到上拉信號則代表待測信號為上拉信號。1. Assuming that the demultiplexer 121 of the test unit 120 is electrically connected to the power supply (for example: 3.3V) of the unit under test 110, it means that the signal under test is the power signal; if it is electrically connected to the pull-up signal, it represents the signal under test. It is a pull-up signal.

2. 終端機300使用JTAG指令控制可程式邏輯元件124,根據邊界掃描描述語言發送「Extest」指令,使可程式邏輯元件124進入邊界掃描模式。2. The terminal 300 uses JTAG commands to control the programmable logic element 124, and sends the "Extest" command according to the boundary scan description language to make the programmable logic element 124 enter the boundary scan mode.

3. 終端機300使用JTAG指令傳送數據給可程式邏輯元件124的邊界掃描暫存器,用以在連接解多工器121的可程式邏輯元件124的腳位(即:輸入輸出腳位中的K個腳位)設定相應的值,使解多工器121切換到第一線路151。3. The terminal 300 uses the JTAG command to send data to the boundary scan register of the programmable logic element 124, which is used to connect to the programmable logic element 124 of the demultiplexer 121 (ie: the input and output pins). K pins) set corresponding values to switch the demultiplexer 121 to the first line 151.

4. 使用可程式邏輯元件124上的8個輸入輸出腳位作爲指令碼,並且將指令碼發送至微控制器123,舉例來說,假設欲請求讀取類比數位轉換器122的第5個腳位(AD pin)的值,那麽所述8個輸入輸出腳位的值可設置爲「00000101」,表示欲讀取第5個腳位的編碼。4. Use the 8 input and output pins on the programmable logic element 124 as the instruction code, and send the instruction code to the microcontroller 123. For example, suppose you want to request to read the 5th pin of the analog-to-digital converter 122 Bit (AD pin) value, then the value of the 8 input and output pins can be set to "00000101", which means that you want to read the code of the fifth pin.

5. 微控制器123使用積體電路之間(Inter-Integrated Circuit, IIC)控制類比數位轉換器122,用以從類比數位轉換器122讀取數位電壓值並保存起來,以及將數位電壓值以8位元編碼,以便將此編碼輸出到可程式邏輯元件124的8個輸入輸出腳位上,舉例來說,編碼為「00000000」表示0V;編碼為「11111111」表示3.3V;編碼為「10000000」表示1.67V等等。5. The microcontroller 123 uses Inter-Integrated Circuit (IIC) to control the analog-to-digital converter 122 to read the digital voltage value from the analog-to-digital converter 122 and save it, and to convert the digital voltage value to 8-bit code to output this code to the 8 input and output pins of the programmable logic element 124. For example, the code is "00000000" for 0V; the code is "11111111" for 3.3V; the code is "10000000" "Means 1.67V and so on.

6. 最後,終端機300使用JTAG介面301傳送JTAG指令以讀取邊界掃描暫存器的值,用以將微控制器123回傳的8位元編碼提取出來,以便確認電壓是否正常,倘若電壓為0V代表開路,產生相應的第一開路訊息,如:以文字呈現「電源信號為開路狀態」或「上拉信號為開路狀態」。6. Finally, the terminal 300 uses the JTAG interface 301 to send a JTAG command to read the value of the boundary scan register to extract the 8-bit code returned by the microcontroller 123 to confirm whether the voltage is normal. 0V represents an open circuit, and the corresponding first open circuit message is generated, such as: "Power signal is open circuit state" or "Pull-up signal is open circuit state" in text.

三、「下拉信號」或「接地信號」3. "Pull-down signal" or "ground signal"

1. 假設測試單元120的解多工器121電性連接到待測單元110的接地,代表待測信號為接地信號;假設電性連接到下拉信號則代表待測信號為下拉信號。1. Assuming that the demultiplexer 121 of the test unit 120 is electrically connected to the ground of the unit under test 110, it represents that the signal under test is a ground signal; if it is electrically connected to the pull-down signal, it represents that the signal under test is a pull-down signal.

2. 終端機300使用JTAG指令控制可程式邏輯元件124,根據邊界掃描描述語言發送「Extest」指令,使可程式邏輯元件124進入邊界掃描模式。2. The terminal 300 uses JTAG commands to control the programmable logic element 124, and sends the "Extest" command according to the boundary scan description language to make the programmable logic element 124 enter the boundary scan mode.

3. 終端機300使用JTAG指令傳送數據給可程式邏輯元件124的邊界掃描暫存器,預設傳送的數據全部為「1」用以將輸出輸入腳位均爲輸入模式。3. The terminal 300 uses the JTAG command to send data to the boundary scan register of the programmable logic element 124. By default, the data sent are all "1" to set the output and input pins in the input mode.

4. 將解多工器121切換到第二線路152,此第二線路152電性連接可程式邏輯元件124的輸入輸出腳位中的K個腳位,如此一來,待測信號即可傳送至可程式邏輯元件124的輸入輸出腳位。4. Switch the demultiplexer 121 to the second line 152. The second line 152 is electrically connected to the K pins of the input and output pins of the programmable logic element 124. In this way, the signal to be tested can be transmitted To the input and output pins of the programmable logic element 124.

5. 然後,終端機300可透過JTAG介面301讀取邊界掃描暫存器中對應K個腳位的電位狀態,例如:「0」(Low)或「1」(High),假設讀取到電位狀態不為低電位,即:「0」(Low),產生相應的第二開路訊息,例如:以文字呈現「接地信號為開路狀態」或「下拉信號為開路狀態」。5. Then, the terminal 300 can read the potential status of the K pins in the boundary scan register through the JTAG interface 301, for example: "0" (Low) or "1" (High), assuming the potential is read The state is not low, that is, "0" (Low), and the corresponding second open-circuit message is generated, for example: "Ground signal is open circuit state" or "Pull-down signal is open circuit state" in text.

特別要說明的是,假設接收到的待測信號為上拉信號且讀取到的數位電壓值不為數值零之後,可將待測信號由第一線路151切換傳送至第二線路152,並且執行邊界掃描互連測試以讀取每一待測信號的狀態,用以檢測連接器111的連接腳位之間是否存在短路;假設接收到的待測信號為下拉信號且讀取到的電位狀態不為高電位之後,則可執行邊界掃描互連測試以讀取每一待測信號的狀態,用以檢測連接器111的連接腳位之間是否存在短路。In particular, assuming that the received signal to be measured is a pull-up signal and the read digital voltage value is not zero, the signal to be measured can be switched from the first line 151 to the second line 152, and Perform a boundary scan interconnection test to read the status of each signal under test to detect whether there is a short circuit between the connection pins of the connector 111; assume that the received signal under test is a pull-down signal and the read potential status After it is not at a high potential, a boundary scan interconnection test can be performed to read the state of each signal under test to detect whether there is a short circuit between the connection pins of the connector 111.

在實際實施上,第一線路151電性連接下拉電阻320的一端,而下拉電阻320的另一端則接地,而且下拉電阻320的電阻值至少為1M歐姆。如此一來,當電源信號或上拉信號存在開路時,下拉電阻320的存在會使類比數位轉換器122轉換出的數位電壓值為數值零,因此能夠作為電源信號或上拉信號是否開路的判斷依據。另外,所述終端機130為計算機設備,如:個人電腦、筆記型電腦、穿戴式裝置、智慧型手機等等,其可藉由JTAG介面301傳送JTAG指令控制可程式邏輯元件124,以及讀取可程式邏輯元件124的輸入輸出腳位,如:通用型之輸入輸出(General-Purpose Input/Output, GPIO)。所述終端機300亦可由使用者直接指定或執行電路分析來判斷接收到的待測信號為輸入輸出互連信號、電源信號、上拉信號、接地信號或下拉信號,並且根據判斷結果產生相應的JTAG指令以傳送至JTAG介面301,用控制測試單元120的可程式邏輯元件124,以及讀取可程式邏輯元件124的輸入輸出腳位。In actual implementation, the first line 151 is electrically connected to one end of the pull-down resistor 320, and the other end of the pull-down resistor 320 is grounded, and the resistance value of the pull-down resistor 320 is at least 1M ohm. In this way, when the power signal or the pull-up signal has an open circuit, the presence of the pull-down resistor 320 will make the digital voltage value converted by the analog-to-digital converter 122 a value of zero, so it can be used as a judgment for whether the power signal or the pull-up signal is open. in accordance with. In addition, the terminal 130 is a computer device, such as a personal computer, a notebook computer, a wearable device, a smart phone, etc., which can transmit JTAG commands through the JTAG interface 301 to control the programmable logic element 124 and read The input and output pins of the programmable logic element 124, such as General-Purpose Input/Output (GPIO). The terminal 300 can also be directly designated by the user or perform circuit analysis to determine whether the received signal to be tested is an input/output interconnection signal, a power signal, a pull-up signal, a ground signal, or a pull-down signal, and the corresponding signal is generated according to the determination result. The JTAG command is sent to the JTAG interface 301 to control the programmable logic element 124 of the test unit 120 and read the input and output pins of the programmable logic element 124.

如「第4圖」所示意,「第4圖」為應用本發明測試記憶體插槽之示意圖。假設連接器為240 pin 記憶體插槽420,其與中央處理器410、接地線及電源線等電性連接。在此例中,由於連接器具有240個腳位/接腳,代表存在240個待測信號,因此,測試單元120的邊界掃描I/O擴展連接器430同樣需要240個腳位,以便透過排線或轉接卡與240 pin 記憶體插槽420電性連接。接著,邊界掃描I/O擴展連接器430同樣透過240條導線分別電性連接至多個解多工器121,以型號「74CBTLV3257」的解多工器IC 401為例,由於其內部提供四組解多工器121,所以可使用60個解多工器IC 401完全對應這240條導線作為輸入端,除此之外,這60個解多工器IC 401與可程式邏輯元件124及類比數位轉換IC 402之間,如「第4圖」所示意,同樣存在用以傳送待測信號的240個導線,用以作為解多工器IC 401的輸出端。在實際實施上,以型號「MAX1038 」的類比數位轉換IC 402為例,其內部具有10組類比數位轉換器122,所以可使用24個類比數位轉換IC 402對來自所有解多工器IC 401的240條導線進行類比數位轉換。如此一來,即可根據待測信號的類型,例如:「輸入輸出互連信號」、「電源信號」、「上拉信號」、「下拉信號」及「接地信號」等,如上述「第3圖」的說明執行相應的流程。As shown in "Fig. 4", "Fig. 4" is a schematic diagram of testing memory sockets using the present invention. Assume that the connector is a 240-pin memory socket 420, which is electrically connected to the central processing unit 410, the ground wire, the power wire, and the like. In this example, since the connector has 240 pins/pins, it means that there are 240 signals to be tested. Therefore, the boundary scan I/O expansion connector 430 of the test unit 120 also needs 240 pins in order to pass through the row. The cable or adapter card is electrically connected to the 240 pin memory slot 420. Next, the boundary scan I/O expansion connector 430 is also electrically connected to a plurality of demultiplexers 121 through 240 wires. Take the demultiplexer IC 401 of model "74CBTLV3257" as an example, because it provides four sets of demultiplexers. Multiplexer 121, so 60 demultiplexer ICs 401 can be used as input terminals corresponding to these 240 wires. In addition, these 60 demultiplexer ICs 401 and programmable logic components 124 and analog-to-digital conversion Between the ICs 402, as shown in "Figure 4", there are also 240 wires used to transmit the signal under test, which are used as the output terminals of the demultiplexer IC 401. In actual implementation, take the analog-to-digital conversion IC 402 of the model "MAX1038" as an example. It has 10 sets of analog-to-digital converters 122 inside, so 24 analog-to-digital conversion ICs 402 can be used for all demultiplexer ICs 401. 240 wires are used for analog-to-digital conversion. In this way, it can be based on the type of signal to be tested, such as: "input and output interconnection signal", "power signal", "pull-up signal", "pull-down signal" and "ground signal", etc., as in the above "No. 3 The description of "Figure" executes the corresponding process.

綜上所述,可知本發明與先前技術之間的差異在於透過JTAG指令控制可程式邏輯元件124,以便驅動解多工器121將來自連接器111的待測信號傳送至第一線路151或第二線路152,當傳送至第一線路151時,將待測信號進行類比數位轉換及編碼後,傳送至可程式邏輯元件124的輸入輸出腳位以供讀取,當傳送至第二線路152時,讀取與第二線路152電性連接的輸入輸出腳位之狀態,接著,根據待測信號及讀取到的輸入輸出腳位產生相應的測試結果,藉由此一技術手段可以解決先前技術所存在的問題,進而達成提高連接器腳位的連接狀態的便利性之技術功效。In summary, it can be seen that the difference between the present invention and the prior art is that the programmable logic element 124 is controlled through JTAG instructions so as to drive the demultiplexer 121 to transmit the signal under test from the connector 111 to the first line 151 or The second line 152, when transmitted to the first line 151, performs analog-to-digital conversion and coding of the signal to be tested, and then transmits it to the input and output pins of the programmable logic element 124 for reading. When it is transmitted to the second line 152 , Read the state of the input and output pins that are electrically connected to the second line 152, and then generate corresponding test results based on the signal to be tested and the read input and output pins. This technical means can solve the prior art The existing problems, and then achieve the technical effect of improving the convenience of the connection state of the connector pins.

雖然本發明以前述之實施例揭露如上,然其並非用以限定本發明,任何熟習相像技藝者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之專利保護範圍須視本說明書所附之申請專利範圍所界定者為準。Although the present invention is disclosed in the foregoing embodiments as above, it is not intended to limit the present invention. Anyone familiar with similar art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of patent protection shall be subject to the definition of the scope of patent application attached to this specification.

110‧‧‧待測單元111‧‧‧連接器120‧‧‧測試單元121‧‧‧解多工器122‧‧‧類比數位轉換器123‧‧‧微控制器124‧‧‧可程式邏輯元件151‧‧‧第一線路152‧‧‧第二線路300‧‧‧終端機301‧‧‧JTAG介面310‧‧‧JTAG裝置320‧‧‧下拉電阻401‧‧‧解多工器IC402‧‧‧類比數位轉換IC410‧‧‧中央處理器420‧‧‧240pin記憶體插槽430‧‧‧邊界掃描I/O擴展連接器步驟210‧‧‧提供一待測單元,該待測單元具有一連接器,該連接器包含多個連接腳位,每一連接腳位具有相應的一待測信號步驟220‧‧‧提供一測試單元,該測試單元透過該連接器與該待測單元電性連接,用以接收所述待測信號步驟230‧‧‧該測試單元在所述待測信號為輸入輸出互連信號時,執行一邊界掃描互連測試以檢測每一待測信號的狀態並產生一連接訊息步驟240‧‧‧該測試單元在所述待測信號為電源信號或上拉信號時,將所述待測信號傳送至一第一線路,用以將所述待測信號轉換為一數位電壓值,當該數位電壓值為數值零時,產生一第一開路訊息步驟241‧‧‧該測試單元在所述待測信號為上拉信號且讀取到的該數位電壓值不為數值零之後,將所述待測信號由該第一線路切換傳送至該第二線路,並且執行該邊界掃描互連測試以讀取每一待測信號的狀態,用以檢測所述連接腳位之間是否存在短路步驟250‧‧‧該測試單元在所述待測信號為接地信號或下拉信號時,將所述待測信號傳送至一第二線路,用以執行邊界掃描讀取對應所述待測信號的一電位狀態,當該電位狀態不為低電位時,產生一第二開路訊息步驟251‧‧‧該測試單元在所述待測信號為下拉信號且讀取到的該電位狀態不為高電位之後,執行該邊界掃描互連測試以讀取每一待測信號的狀態,用以檢測所述連接腳位之間是否存在短路110‧‧‧Unit under test 111‧‧‧Connector 120‧‧‧Test unit 121‧‧‧Demultiplexer 122‧‧‧Analog-to-digital converter 123‧‧‧Microcontroller 124‧‧‧Programmable logic element 1515 Analog-to-digital conversion IC410‧‧‧CPU 420‧‧‧240pin memory slot 430‧‧‧Boundary scan I/O expansion connector Step 210‧‧‧Provide a unit to be tested, the unit to be tested has a connector , The connector includes a plurality of connection pins, and each connection pin has a corresponding signal to be tested. Step 220‧‧‧ provides a test unit, which is electrically connected to the unit to be tested through the connector. In step 230‧‧‧ of receiving the signal under test, the test unit performs a boundary scan interconnection test when the signal under test is an input/output interconnection signal to detect the state of each signal under test and generate a connection message Step 240‧‧‧When the signal under test is a power signal or a pull-up signal, the test unit transmits the signal under test to a first circuit for converting the signal under test into a digital voltage value When the digital voltage value is zero, a first open circuit message is generated. Step 241‧‧‧After the test unit is a pull-up signal and the read digital voltage value is not zero, The signal to be tested is switched from the first line to the second line, and the boundary scan interconnection test is performed to read the state of each signal to be tested to detect whether there is a connection between the pins Short-circuit step 250‧‧‧When the signal under test is a ground signal or a pull-down signal, the test unit transmits the signal under test to a second line for performing boundary scan to read the corresponding signal under test A potential state, when the potential state is not a low potential, a second open circuit message is generated Step 251‧‧‧The test unit after the signal to be tested is a pull-down signal and the potential state read is not a high potential , Perform the boundary scan interconnection test to read the state of each signal under test to detect whether there is a short circuit between the connection pins

第1圖為本發明連接器的腳位連接測試系統之系統方塊圖。 第2A圖及第2B圖為本發明連接器的腳位連接測試方法之方法流程圖。 第3圖為應用本發明以JTAG指令控制可程式邏輯元件之示意圖。 第4圖為應用本發明測試記憶體插槽之示意圖。Figure 1 is a system block diagram of the pin connection test system of the connector of the present invention. Figures 2A and 2B are flowcharts of the method for testing the pin connection of the connector of the present invention. Figure 3 is a schematic diagram of applying the present invention to control programmable logic elements with JTAG commands. Figure 4 is a schematic diagram of testing memory sockets using the present invention.

110‧‧‧待測單元 110‧‧‧Unit to be tested

111‧‧‧連接器 111‧‧‧Connector

120‧‧‧測試單元 120‧‧‧Test Unit

121‧‧‧解多工器 121‧‧‧Demultiplexer

122‧‧‧類比數位轉換器 122‧‧‧Analog-to-digital converter

123‧‧‧微控制器 123‧‧‧Microcontroller

124‧‧‧可程式邏輯元件 124‧‧‧Programmable logic element

151‧‧‧第一線路 151‧‧‧First Route

152‧‧‧第二線路 152‧‧‧Second Route

Claims (10)

一種連接器的腳位連接測試系統,應用在邊界掃描(Boundary Scan)的測試環境下,該系統包含: 一待測單元,該待測單元具有一連接器,該連接器包含多個連接腳位,每一連接腳位具有相應的一待測信號;以及 一測試單元,用以透過該連接器與該待測單元電性連接,該測試單元包含: 至少一解多工器,每一解多工器電性連接該連接器,用以選擇將來自該連接器的所述待測信號傳送至一第一線路或一第二線路; 至少一類比數位轉換器,每一類比數位轉換器具有一組類比輸入腳位電性連接該第一線路,用以將所述待測信號轉換為相應的一數位電壓值; 一微控制器,該微控制器電性連接所述類比數位轉換器,用以將所述數位電壓值編碼轉換為N位元輸出,其中N為正整數;以及 一可程式邏輯元件,該可程式邏輯元件具有一組輸入輸出腳位,其中,透過K個腳位電性連接所述解多工器以控制所述解多工器選擇該第一線路或該第二線路、透過M個腳位電性連該第二線路以讀取每一待測信號的狀態,以及透過N個腳位電性連接該微控制器以讀取N位元的所述數位電壓值,當所述待測信號為輸入輸出互連信號時,執行一邊界掃描互連測試以檢測每一待測信號的狀態並產生一連接訊息,當所述待測信號為電源信號或上拉信號時,控制所述解多工器選擇該第一線路,並且自該微控制器讀取該數位電壓值,當讀取到的該數位電壓值為數值零時,產生一第一開路訊息,當所述待測信號為接地信號或下拉信號時,控制所述解多工器選擇該第二線路,並且執行邊界掃描讀取對應所述待測信號的一電位狀態,當該電位狀態不為低電位時,產生一第二開路訊息,其中,K及M為正整數。A connector pin connection test system, applied in a boundary scan (Boundary Scan) test environment, the system includes: a unit to be tested, the unit to be tested has a connector, and the connector includes a plurality of connection pins , Each connection pin has a corresponding signal to be tested; and a test unit for electrically connecting with the unit to be tested through the connector, the test unit includes: at least one demultiplexer, each demultiplexer The worker is electrically connected to the connector for selecting to transmit the signal to be measured from the connector to a first line or a second line; at least one analog-to-digital converter, each analog-to-digital converter having a set The analog input pin is electrically connected to the first circuit for converting the signal to be measured into a corresponding digital voltage value; a microcontroller, which is electrically connected to the analog-to-digital converter, Convert the digital voltage value code into N-bit output, where N is a positive integer; and a programmable logic element, the programmable logic element has a set of input and output pins, which are electrically connected through K pins The demultiplexer controls the demultiplexer to select the first line or the second line, electrically connect the second line through M pins to read the state of each signal under test, and N pins are electrically connected to the microcontroller to read the N-bit digital voltage value. When the signal to be tested is an input/output interconnection signal, a boundary scan interconnection test is performed to detect each The state of the signal is measured and a connection message is generated. When the signal to be measured is a power signal or a pull-up signal, the demultiplexer is controlled to select the first line, and the digital voltage value is read from the microcontroller When the read digital voltage value is zero, a first open circuit message is generated, and when the signal to be measured is a ground signal or a pull-down signal, the demultiplexer is controlled to select the second line, and Perform boundary scan to read a potential state corresponding to the signal to be measured. When the potential state is not a low potential, a second open circuit message is generated, where K and M are positive integers. 根據申請專利範圍第1項之連接器的腳位連接測試系統,其中該第一線路電性連接一下拉電阻的一端,該下拉電阻的另一端接地,該下拉電阻的電阻值至少為1M歐姆。The pin connection test system of the connector according to item 1 of the scope of patent application, wherein the first line is electrically connected to one end of a pull-down resistor, the other end of the pull-down resistor is grounded, and the resistance value of the pull-down resistor is at least 1M ohm. 根據申請專利範圍第1項之連接器的腳位連接測試系統,其中該可程式邏輯元件在所述待測信號為上拉信號且讀取到的該數位電壓值不為數值零之後,控制所述解多工器由該第一線路選擇切換至該第二線路,並且執行該邊界掃描互連測試以根據所述M個腳位讀取每一待測信號的狀態,用以檢測所述連接腳位之間是否存在短路。According to the first item of the scope of patent application, the connector pin connection test system, wherein the programmable logic element controls the device after the signal to be tested is a pull-up signal and the read digital voltage value is not zero. The solution multiplexer switches from the first line to the second line, and performs the boundary scan interconnection test to read the state of each signal to be tested according to the M pins to detect the connection Whether there is a short circuit between the pins. 根據申請專利範圍第1項之連接器的腳位連接測試系統,其中該可程式邏輯元件在所述待測信號為下拉信號且讀取到的該電位狀態不為高電位之後,執行該邊界掃描互連測試以根據所述M個腳位讀取每一待測信號的狀態,用以檢測所述連接腳位之間是否存在短路。According to the first item of the scope of patent application, the connector pin connection test system, wherein the programmable logic element executes the boundary scan after the signal to be tested is a pull-down signal and the potential state read is not high The interconnection test reads the state of each signal to be tested according to the M pins to detect whether there is a short circuit between the connection pins. 根據申請專利範圍第1項之連接器的腳位連接測試系統,其中該可程式邏輯元件及該待測單元具有一聯合測試工作群組(Joint Test Action Group, JTAG)介面,用以接收來自一終端機的一JTAG指令,使該終端機能夠根據該JTAG指令控制該組輸入輸出腳位,以及讀取所述M個腳位的狀態。According to the first item of the scope of patent application, the pin connection test system of the connector, wherein the programmable logic element and the unit under test have a Joint Test Action Group (JTAG) interface for receiving data from a A JTAG command of the terminal allows the terminal to control the set of input and output pins according to the JTAG command, and to read the states of the M pins. 一種連接器的腳位連接測試方法,應用在邊界掃描(Boundary Scan)的測試環境下,其步驟包括: 提供一待測單元,該待測單元具有一連接器,該連接器包含多個連接腳位,每一連接腳位具有相應的一待測信號; 提供一測試單元,該測試單元透過該連接器與該待測單元電性連接,用以接收所述待測信號; 該測試單元在所述待測信號為輸入輸出互連信號時,執行一邊界掃描互連測試以檢測每一待測信號的狀態並產生一連接訊息; 該測試單元在所述待測信號為電源信號或上拉信號時,將所述待測信號傳送至一第一線路,用以將所述待測信號轉換為一數位電壓值,當該數位電壓值為數值零時,產生一第一開路訊息;以及 該測試單元在所述待測信號為接地信號或下拉信號時,將所述待測信號傳送至一第二線路,用以執行邊界掃描讀取對應所述待測信號的一電位狀態,當該電位狀態不為低電位時,產生一第二開路訊息。A method for testing connector pin connections, which is applied in a boundary scan (Boundary Scan) test environment, and the steps include: providing a unit to be tested, the unit to be tested having a connector, and the connector includes a plurality of connecting pins Each connection pin has a corresponding signal to be tested; a test unit is provided, and the test unit is electrically connected to the unit to be tested through the connector to receive the signal to be tested; the test unit is in place When the signal to be tested is an input/output interconnection signal, a boundary scan interconnection test is performed to detect the state of each signal to be tested and generate a connection message; the test unit when the signal to be tested is a power signal or a pull-up signal When the signal to be tested is transmitted to a first circuit for converting the signal to be tested into a digital voltage value, when the digital voltage value is zero, a first open circuit message is generated; and the test When the signal to be measured is a ground signal or a pull-down signal, the unit transmits the signal to be measured to a second line for performing boundary scan to read a potential state corresponding to the signal to be measured. When it is not low, a second open circuit message is generated. 根據申請專利範圍第6項之連接器的腳位連接測試方法,其中該方法更包含該測試單元在所述待測信號為上拉信號且讀取到的該數位電壓值不為數值零之後,將所述待測信號由該第一線路切換傳送至該第二線路,並且執行該邊界掃描互連測試以讀取每一待測信號的狀態,用以檢測所述連接腳位之間是否存在短路的步驟。The pin connection test method of the connector according to item 6 of the scope of patent application, wherein the method further includes the test unit after the signal to be tested is a pull-up signal and the read digital voltage value is not a value of zero, The signal to be tested is switched from the first line to the second line, and the boundary scan interconnection test is performed to read the state of each signal to be tested to detect whether there is a connection between the pins Short circuit steps. 根據申請專利範圍第6項之連接器的腳位連接測試方法,其中該方法更包含該測試單元在所述待測信號為下拉信號且讀取到的該電位狀態不為高電位之後,執行該邊界掃描互連測試以讀取每一待測信號的狀態,用以檢測所述連接腳位之間是否存在短路的步驟。The pin connection test method of the connector according to item 6 of the scope of patent application, wherein the method further includes the test unit executing the test unit after the signal to be tested is a pull-down signal and the read potential state is not high. The boundary scan interconnection test is a step of reading the state of each signal under test to detect whether there is a short circuit between the connecting pins. 根據申請專利範圍第6項之連接器的腳位連接測試方法,其中該待測單元及該測試單元具有一聯合測試工作群組(Joint Test Action Group, JTAG)介面,用以接收來自一終端機的一JTAG指令,使該終端機能夠根據該JTAG指令控制該測試單元,以及讀取所述待測信號的狀態。The pin connection test method of the connector according to item 6 of the scope of patent application, wherein the unit to be tested and the test unit have a Joint Test Action Group (JTAG) interface for receiving from a terminal A JTAG instruction of the terminal enables the terminal to control the test unit according to the JTAG instruction and read the state of the signal to be tested. 根據申請專利範圍第9項之連接器的腳位連接測試方法,其中該終端機執行一電路分析以判斷所述待測信號為輸入輸出互連信號、電源信號、上拉信號、接地信號或下拉信號,並且根據判斷結果產生相應的該JTAG指令以傳送至該JTAG介面,用控制該測試單元。According to the pin connection test method of the 9th item of the scope of patent application, the terminal performs a circuit analysis to determine whether the signal to be tested is an input/output interconnection signal, a power signal, a pull-up signal, a ground signal, or a pull-down signal Signal, and generate the corresponding JTAG command according to the judgment result to be transmitted to the JTAG interface to control the test unit.
TW106143805A 2017-12-13 2017-12-13 Pin connection testing system for connector and method thereof TWI736721B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106143805A TWI736721B (en) 2017-12-13 2017-12-13 Pin connection testing system for connector and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106143805A TWI736721B (en) 2017-12-13 2017-12-13 Pin connection testing system for connector and method thereof

Publications (2)

Publication Number Publication Date
TW201928381A TW201928381A (en) 2019-07-16
TWI736721B true TWI736721B (en) 2021-08-21

Family

ID=68049101

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106143805A TWI736721B (en) 2017-12-13 2017-12-13 Pin connection testing system for connector and method thereof

Country Status (1)

Country Link
TW (1) TWI736721B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI773403B (en) * 2021-06-24 2022-08-01 英業達股份有限公司 System for generating positive and negative plug signals to test interface and method thereof
TWI812467B (en) * 2022-09-15 2023-08-11 英業達股份有限公司 Pin detection system for providing circuit switching by circuit conversion card and method thereof
TWI803428B (en) * 2022-09-19 2023-05-21 英業達股份有限公司 System for inspecting test probe board of boundary scan interconnect equipment
TWI828439B (en) * 2022-11-24 2024-01-01 英業達股份有限公司 Dimm slot test system without test board series connection through jtag and method thereof

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW276300B (en) * 1993-08-30 1996-05-21 At & T Corp
TW311176B (en) * 1995-12-08 1997-07-21 Ast Res Inc
WO2004072667A1 (en) * 2003-02-12 2004-08-26 Sharp Kabushiki Kaisha Boundary scan controller, semiconductor device, method for identifying semiconductor circuit chip of semiconductor device, and method for controlling semiconductor circuit chip of semiconductor device
TWI229739B (en) * 2001-10-29 2005-03-21 Agilent Technologies Inc Boundary-scan testing of opto-electronic devices
TWI263058B (en) * 2004-12-29 2006-10-01 Ind Tech Res Inst Wrapper testing circuits and method thereof for system-on-a-chip
CN101398465A (en) * 2007-09-28 2009-04-01 德律科技股份有限公司 Electron component detection system and method thereof
CN102419415A (en) * 2011-08-31 2012-04-18 北京时代民芯科技有限公司 TAP (Test Access Port) interface optimization circuit based on boundary scanning circuit
TWI363880B (en) * 2007-02-23 2012-05-11 Micron Technology Inc An input/output compression apparatus in an integrated circuit, a method for testing an integrated circuit,and a test system
CN103091626A (en) * 2011-11-04 2013-05-08 深圳迈瑞生物医疗电子股份有限公司 Joint test action group (JTAG) test link and diasonograph thereof
US20130346816A1 (en) * 2012-06-25 2013-12-26 Sankaran M. Menon Method and apparatus for testing i/o boundary scan chain for soc's having i/o's powered off by default
CN106918725A (en) * 2015-12-25 2017-07-04 英业达科技有限公司 Tool joint test work group signal concatenates the test circuit plate of circuit design

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW276300B (en) * 1993-08-30 1996-05-21 At & T Corp
TW311176B (en) * 1995-12-08 1997-07-21 Ast Res Inc
TWI229739B (en) * 2001-10-29 2005-03-21 Agilent Technologies Inc Boundary-scan testing of opto-electronic devices
WO2004072667A1 (en) * 2003-02-12 2004-08-26 Sharp Kabushiki Kaisha Boundary scan controller, semiconductor device, method for identifying semiconductor circuit chip of semiconductor device, and method for controlling semiconductor circuit chip of semiconductor device
TWI263058B (en) * 2004-12-29 2006-10-01 Ind Tech Res Inst Wrapper testing circuits and method thereof for system-on-a-chip
TWI363880B (en) * 2007-02-23 2012-05-11 Micron Technology Inc An input/output compression apparatus in an integrated circuit, a method for testing an integrated circuit,and a test system
CN101398465A (en) * 2007-09-28 2009-04-01 德律科技股份有限公司 Electron component detection system and method thereof
CN102419415A (en) * 2011-08-31 2012-04-18 北京时代民芯科技有限公司 TAP (Test Access Port) interface optimization circuit based on boundary scanning circuit
CN103091626A (en) * 2011-11-04 2013-05-08 深圳迈瑞生物医疗电子股份有限公司 Joint test action group (JTAG) test link and diasonograph thereof
US20130346816A1 (en) * 2012-06-25 2013-12-26 Sankaran M. Menon Method and apparatus for testing i/o boundary scan chain for soc's having i/o's powered off by default
CN106918725A (en) * 2015-12-25 2017-07-04 英业达科技有限公司 Tool joint test work group signal concatenates the test circuit plate of circuit design

Also Published As

Publication number Publication date
TW201928381A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
CN109901002B (en) Pin connection test system and method of connector
TWI736721B (en) Pin connection testing system for connector and method thereof
US7589536B2 (en) Systems and methods for determining the configuration of electronic connections
CN201247297Y (en) Test device for multi-core cable connecting line
US20100299566A1 (en) Debugging module for electronic device and method thereof
TWI461715B (en) Testing apparatus and testing method of electronic device
CN109884517B (en) Chip to be tested and test system
CN111104278B (en) SAS connector conduction detection system and method thereof
CN101551438B (en) Chip data compressing and testing multiplex circuit and chip test circuit
CN111104279B (en) SAS connector conduction detection system and method thereof
CN104090226A (en) Circuit for testing connectivity of chip pins
CN111707966A (en) CPLD electric leakage detection method and device
JPWO2003032000A1 (en) LSI inspection method and apparatus, and LSI tester
US6297757B1 (en) Method and circuit for testing an analog-to-digital converter module on a data processing system having an intermodule bus
CN211979117U (en) Chip pin position identification module
US7409469B2 (en) Multi-chip digital system having a plurality of controllers with input and output pins wherein self-identification signal are received and transmitted
TWI738937B (en) Testing system for differential clock signaling and method thereof
CN102346701A (en) Power supply test system for CPU (Central Processing Unit)
CN112445657A (en) Circuit switching method and system supporting fault removal
CN109901046B (en) Voltage pin conduction detection system and method of circuit board
CN109642925B (en) Electronic device and method for monitoring an analog signal
TWI564580B (en) Test circuit board for usb connector testing
CN111060811A (en) Chip pin position identification module and identification method thereof
US20060004533A1 (en) MCU test device
KR101068568B1 (en) Testing interface board for semiconductor device