TW201928380A - Voltage pin of circuit board conduction detection system and method thereof - Google Patents

Voltage pin of circuit board conduction detection system and method thereof Download PDF

Info

Publication number
TW201928380A
TW201928380A TW106143804A TW106143804A TW201928380A TW 201928380 A TW201928380 A TW 201928380A TW 106143804 A TW106143804 A TW 106143804A TW 106143804 A TW106143804 A TW 106143804A TW 201928380 A TW201928380 A TW 201928380A
Authority
TW
Taiwan
Prior art keywords
pin
circuit board
jtag
chip
voltage
Prior art date
Application number
TW106143804A
Other languages
Chinese (zh)
Other versions
TWI762538B (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 TW106143804A priority Critical patent/TWI762538B/en
Publication of TW201928380A publication Critical patent/TW201928380A/en
Application granted granted Critical
Publication of TWI762538B publication Critical patent/TWI762538B/en

Links

Abstract

A voltage pin of circuit board conduction detection system and a method thereof are provided. A JTAG chip is set to boundary scan mode to obtain a detection voltage with custom communication protocol from an analog to digital converter. The detection voltage is obtained by a detection device with the JTAG chip through a JTAG connector to detect conduction voltage pin of detected circuit board. Therefore, the efficiency of all voltage of voltage pin of circuit board conduction detection may be achieved.

Description

電路板的電壓腳位導通檢測系統及其方法Circuit board voltage pin conduction detection system and method thereof

一種電路板的電壓腳位導通檢測系統及其方法,尤其是指一種…藉由JTAG晶片、單晶片以及類比數位轉換器以進行待測試電路板的電源腳位導通檢測系統及其方法。A circuit board voltage pin conduction detection system and method thereof, in particular, a power supply pin conduction detection system and method thereof for performing a circuit board to be tested by a JTAG chip, a single chip and an analog digital converter.

在電路板中電源腳位的檢測,常用的方式是將電路板中電源腳位電性連接下拉電組,透過聯合測試工作組(Joint Test Action Group,JTAG)晶片以邊界掃描(Boundary Scan)技術讀取電路板中電源腳位的電壓值,藉以透過自檢測電路板中電源腳位所讀取到的電壓值為高電位來判斷檢測電路板中電源腳位導通與否。In the detection of the power pin in the circuit board, the common way is to electrically connect the power pin in the circuit board to the pull-down power group, and use the Border Test Action Group (JTAG) chip to perform Boundary Scan technology. The voltage value of the power pin in the circuit board is read, so that the voltage value read from the power pin in the self-test circuit board is high to judge whether the power pin in the detecting circuit board is turned on or not.

對於上述的檢測方式,若是當檢測電路板中電源腳位的電壓值在600mV以下的情況,檢測電路板中電源腳位不論是否導通,JTAG晶片自檢測電路板中電源腳位所讀取到的電壓值皆是低電位,導致無法檢測出檢測電路板中電源腳位是否導通。For the above detection method, if the voltage value of the power supply pin in the detection circuit board is less than 600 mV, the power supply pin of the detection circuit board is turned on, and the JTAG chip is read from the power supply pin of the detection circuit board. The voltage values are all low, which makes it impossible to detect whether the power pin in the detection board is turned on.

綜上所述,可知先前技術中長期以來一直存在現有電源腳位導通檢測在低電壓值導致檢測障礙的問題,因此有必要提出改進的技術手段,來解決此一問題。In summary, it can be seen that in the prior art, there has been a long-standing problem that the existing power pin conduction detection causes a detection obstacle at a low voltage value, and therefore it is necessary to propose an improved technical means to solve this problem.

有鑒於先前技術存在現有電源腳位導通檢測在低電壓值導致檢測障礙的問題,本發明遂揭露一種電路板的電壓腳位導通檢測系統及其方法,其中:In view of the prior art, there is a problem that the existing power pin conduction detection causes a detection obstacle at a low voltage value, and the present invention discloses a circuit board voltage pin conduction detection system and method thereof, wherein:

本發明所揭露的電路板的電壓腳位導通檢測系統,其包含:具有待測試電路板連接器的待測試電路板、檢測電路板以及檢測裝置,其中檢測電路板更包含:檢測電路板連接器、類比數位轉換器(Analog to digital converter,ADC)、單晶片(single-chip microcomputer)、聯合測試工作組(Joint Test Action Group,JTAG)晶片以及JTAG連接器。The voltage foot conduction detection system of the circuit board disclosed in the present invention comprises: a circuit board to be tested, a detection circuit board and a detecting device having a circuit board connector to be tested, wherein the detecting circuit board further comprises: a detecting circuit board connector Analog to digital converter (ADC), single-chip microcomputer, Joint Test Action Group (JTAG) chip, and JTAG connector.

檢測電路板的檢測電路板連接器用以與待測試電路板連接器電性連接;檢測電路板的類比數位轉換器的電壓讀取腳位與檢測電路板連接器的電源腳位電性連接以及下拉電阻電性連接,類比數位轉換器的電壓讀取腳位用以讀取檢測電路板連接器的電源腳位的電壓值為檢測電壓值;檢測電路板的單晶片的電壓輸入腳位與類比數位轉換器的電壓輸出腳位電性連接,單晶片自類比數位轉換器的電壓輸出腳位讀取檢測電壓值;檢測電路板的JTAG晶片被設定為邊界掃描(Boundary Scan)工作模式,JTAG晶片透過自定義的通訊協議與單晶片電性連接並自單晶片接收檢測電壓值;檢測電路板的JTAG連接器與JTAG晶片電性連接。The detection circuit board connector of the detection circuit board is electrically connected to the circuit board connector to be tested; the voltage reading pin of the analog digital converter of the detection circuit board is electrically connected with the power supply pin of the detection circuit board connector and the pull-down The electrical connection of the resistor, the voltage reading pin of the analog digital converter is used to read the voltage value of the power pin of the detecting circuit board connector as the detection voltage value; the voltage input pin of the single chip of the detecting circuit board and the analog digital position The voltage output pin of the converter is electrically connected, and the voltage output pin of the analog-to-digital converter reads the detection voltage value; the JTAG chip of the detection circuit board is set to the Boundary Scan mode, and the JTAG chip passes through The custom communication protocol is electrically connected to the single chip and receives the detection voltage value from the single chip; the JTAG connector of the detection circuit board is electrically connected to the JTAG chip.

檢測裝置透過JTAG連接器形成電性連接控制JTAG晶片設定為邊界掃描工作模式,且透過JTAG連接器自JTAG晶片讀取檢測電壓值以進行待測試電路板的電源腳位導通檢測。The detecting device forms an electrical connection through the JTAG connector to control the JTAG chip to be set to the boundary scan mode of operation, and reads the detected voltage value from the JTAG chip through the JTAG connector to perform power pin conduction detection of the circuit board to be tested.

本發明所揭露的電路板的電壓腳位導通檢測方法,其包含下列步驟:The method for detecting a voltage foot conduction of a circuit board disclosed in the present invention comprises the following steps:

首先,提供具有檢測電路板連接器、類比數位轉換器(Analog to digital converter,ADC)、單晶片(single-chip microcomputer)、聯合測試工作組(Joint Test Action Group,JTAG)晶片以及JTAG連接器的檢測電路板;接著,檢測電路板透過檢測電路板連接器與待測試電路板連接器電性連接;接著,類比數位轉換器的電壓讀取腳位與檢測電路板連接器的電源腳位電性連接以及下拉電阻電性連接,類比數位轉換器的電壓讀取腳位用以讀取檢測電路板連接器的電源腳位的電壓值為檢測電壓值;接著,單晶片的電壓輸入腳位與類比數位轉換器的電壓輸出腳位電性連接,單晶片自類比數位轉換器的電壓輸出腳位讀取檢測電壓值;接著,JTAG晶片被設定為邊界掃描(Boundary Scan)工作模式,JTAG晶片透過自定義的通訊協議與單晶片電性連接並自單晶片接收檢測電壓值;接著,JTAG連接器與JTAG晶片電性連接;最後,提供檢測裝置,檢測裝置透過JTAG連接器形成電性連接控制JTAG晶片設定為邊界掃描工作模式,且透過JTAG連接器自JTAG晶片讀取檢測電壓值以進行待測試電路板的電源腳位導通檢測。First, a sensor board connector, an analog to digital converter (ADC), a single-chip microcomputer, a Joint Test Action Group (JTAG) chip, and a JTAG connector are provided. Detecting the circuit board; then, the detecting circuit board is electrically connected to the circuit board connector to be tested through the detecting circuit board connector; then, the voltage reading pin of the analog digital converter and the power pin of the detecting circuit board connector are electrically connected The connection and the pull-down resistor are electrically connected, and the voltage reading pin of the analog digital converter is used to read the voltage value of the power pin of the detection board connector as the detection voltage value; then, the voltage input pin of the single chip is analogous The voltage output pin of the digital converter is electrically connected, and the voltage output pin of the analog-to-digital converter reads the detected voltage value; then, the JTAG chip is set to the Boundary Scan mode, and the JTAG chip passes through The defined communication protocol is electrically connected to the single chip and receives the detected voltage value from the single chip; then, the JTAG connector The JTAG chip is electrically connected; finally, a detecting device is provided, and the detecting device is electrically connected through the JTAG connector to control the JTAG chip to be set to the boundary scan mode, and the detecting voltage value is read from the JTAG chip through the JTAG connector to perform the circuit to be tested. The power pin of the board is turned on.

本發明所揭露的系統及方法如上,與先前技術之間的差異在於將JTAG晶片設定為邊界掃描工作模式後,透過自定義的通訊協議由JTAG晶片自單晶片獲得類比數位轉換器自待測試電路板所讀取的檢測電壓值,檢測裝置透過JTAG連接器自JTAG晶片讀取檢測電壓值以進行待測試電路板的電源腳位導通檢測。The system and method disclosed in the present invention are as above, and the difference from the prior art is that after the JTAG chip is set to the boundary scan mode, the analog digital converter is obtained from the single chip by the JTAG chip through the custom communication protocol. The detection voltage value read by the board, the detecting device reads the detection voltage value from the JTAG chip through the JTAG connector to perform the power pin conduction detection of the circuit board to be tested.

透過上述的技術手段,本發明可以達成在所有電壓值皆可進行電源腳位導通檢測的技術功效。Through the above technical means, the present invention can achieve the technical effect of performing power source pin conduction detection at all voltage values.

以下將配合圖式及實施例來詳細說明本發明的實施方式,藉此對本發明如何應用技術手段來解決技術問題並達成技術功效的實現過程能充分理解並據以實施。The embodiments of the present invention will be described in detail below with reference to the drawings and embodiments, so that the application of the technical means to solve the technical problems and achieve the technical effects can be fully understood and implemented.

以下將以一個實施例來說明本發明實施態樣的運作系統與方法,並請同時參考「第1圖」、「第2圖」以及「第3圖」所示,「第1圖」繪示為本發明電路板的電壓腳位導通檢測系統的系統方塊圖;「第2圖」繪示為本發明電路板的電壓腳位導通檢測方法的方法流程圖;「第3圖」繪示為本發明電路板的電壓腳位導通檢測系統的系統架構圖。Hereinafter, an operation system and method according to an embodiment of the present invention will be described with reference to an embodiment, and reference is made to "1", "2", and "3", and "1" is shown. The system block diagram of the voltage pin conduction detection system of the circuit board of the present invention; "Fig. 2" shows a flow chart of the method for detecting the voltage pin conduction test of the circuit board of the present invention; "Fig. 3" shows the present A system architecture diagram of a voltage pin conduction detection system for inventing a circuit board.

本發明所揭露的電路板的電壓腳位導通檢測系統,其包含:具有待測試電路板連接器11的待測試電路板10、檢測電路板20以及檢測裝置30,其中檢測電路板20更包含:檢測電路板連接器21、類比數位轉換器(Analog to digital converter,ADC)22、單晶片(single-chip microcomputer)23、聯合測試工作組(Joint Test Action Group,JTAG)晶片24以及JTAG連接器25(步驟101)。The voltage-foot-conduction detection system of the circuit board of the present invention comprises: a circuit board 10 to be tested having a circuit board connector 11 to be tested, a detection circuit board 20, and a detecting device 30, wherein the detecting circuit board 20 further comprises: A detection board connector 21, an analog to digital converter (ADC) 22, a single-chip microcomputer 23, a Joint Test Action Group (JTAG) chip 24, and a JTAG connector 25 (Step 101).

檢測電路板20的檢測電路板連接器21是用以與待測試電路板10的待測試電路板連接器11電性連接(步驟102),檢測電路板20的類比數位轉換器22的電壓讀取腳位221與檢測電路板20的檢測電路板連接器21的電源腳位211電性連接以及下拉電阻42電性連接,檢測電路板20的類比數位轉換器22的電壓讀取腳位221即可讀取檢測電路板20的檢測電路板連接器21的電源腳位211的電壓值為檢測電壓值41(步驟103)。The detecting circuit board connector 21 of the detecting circuit board 20 is for electrically connecting to the circuit board connector 11 to be tested of the circuit board 10 to be tested (step 102), and detecting the voltage reading of the analog digital converter 22 of the circuit board 20. The pin 221 is electrically connected to the power pin 211 of the detecting circuit board connector 21 of the detecting circuit board 20 and the pull-down resistor 42 is electrically connected, and the voltage reading pin 221 of the analog digital converter 22 of the detecting circuit board 20 can be The voltage value of the power supply pin 211 of the detection circuit board connector 21 of the read detection circuit board 20 is the detection voltage value 41 (step 103).

當待測試電路板10的試電路板連接器11的電源腳位為正常導通時,檢測電路板20的類比數位轉換器22的電壓讀取腳位221即可讀取到正常的電壓值;當待測試電路板10的待測試電路板連接器11的電源腳位為不導通時,檢測電路板20的類比數位轉換器22的電壓讀取腳位221藉由下拉電阻42所讀取到電壓值即為0。When the power pin of the test circuit board connector 11 of the circuit board 10 to be tested is normally turned on, the voltage reading pin 221 of the analog digital converter 22 of the detecting circuit board 20 can read the normal voltage value; When the power pin of the circuit board connector 11 to be tested of the circuit board 10 to be tested is not turned on, the voltage reading pin 221 of the analog digital converter 22 of the detecting circuit board 20 reads the voltage value by the pull-down resistor 42. That is 0.

檢測電路板20的單晶片23的電壓輸入腳位231與檢測電路板20的類比數位轉換器22的電壓輸出腳位222電性連接,檢測電路板20的單晶片23即可透過電壓輸入腳位231自類比數位轉換器22的電壓輸出腳位222讀取檢測電壓值41(步驟104)。The voltage input pin 231 of the single chip 23 of the detecting circuit board 20 is electrically connected to the voltage output pin 222 of the analog digital converter 22 of the detecting circuit board 20, and the single chip 23 of the detecting circuit board 20 can pass through the voltage input pin. 231 reads the detected voltage value 41 from the voltage output pin 222 of the analog-to-digital converter 22 (step 104).

檢測電路板20的JTAG晶片24是被設定為邊界掃描(Boundary Scan)工作模式,檢測電路板20的JTAG晶片24透過自定義的通訊協議與檢測電路板20的單晶片23電性連接並自檢測電路板20的單晶片23接收檢測電壓值41(步驟105)。The JTAG chip 24 of the test circuit board 20 is set to a Boundary Scan mode, and the JTAG chip 24 of the test circuit board 20 is electrically connected to the single chip 23 of the test circuit board 20 through a custom communication protocol and self-tests. The single wafer 23 of the circuit board 20 receives the detected voltage value 41 (step 105).

請參考「第4圖」所示,「第4圖」繪示為本發明電路板的電壓腳位導通檢測的JTAG晶片與單晶片的自定義的通訊協議示意圖。Please refer to FIG. 4, and FIG. 4 is a schematic diagram showing a custom communication protocol between a JTAG chip and a single chip for voltage pin conduction detection of the circuit board of the present invention.

檢測電路板20的JTAG晶片24與檢測電路板20的單晶片24彼此之間所使用的自定義的通訊協議是檢測電路板20的JTAG晶片24的load_cmd腳位或是load_data腳位(load_data腳位是作為備份腳位)設定為低電位(low)時,檢測電路板20的JTAG晶片24所生成的8位元請求命令(8bit request command)為有效命令,且檢測電路板20的JTAG晶片24的更新(update)腳位設定為高電位(high)時,檢測電路板20的單晶片23自JTAG晶片讀取8位元請求命令,檢測電路板20的單晶片23在讀取到8位元請求命令後將檢測電路板20的單晶片23的busy_N腳位狀態設置為有效(即將busy_N腳位設置為0,表示檢測電路板20的單晶片23接受指令成功),檢測電路板20的JTAG晶片24進一步檢測檢測電路板20的單晶片23的busy_N腳位狀態為有效時,檢測電路板20的JTAG晶片24再將load_cmd腳位或是load_data腳位設定為高電位以及將更新腳位設定為低電位,檢測電路板20的單晶片23依據8位元請求命令執行自檢測電路板20的類比數位轉換器22的電壓輸出腳位222讀取檢測電壓值41後,檢測電路板20的單晶片23設置包含有檢測電壓值41的8位元響應數據(8bit response data)且將檢測電路板20的單晶片23的busy_N腳位狀態設置為無效(即將busy_N腳位設置為1,表示檢測電路板20的單晶片23已執行完成指令,檢測電路板20的單晶片23處於閒置狀態),檢測電路板20的JTAG晶片24即可自檢測電路板20的單晶片23讀取包含有檢測電壓值41的8位元響應數據。The custom communication protocol used between the JTAG wafer 24 of the test circuit board 20 and the single chip 24 of the test circuit board 20 is the load_cmd pin of the JTAG chip 24 of the test board 20 or the load_data pin (load_data pin). When the backup pin is set to a low level, the 8-bit request command generated by the JTAG chip 24 of the detection board 20 is an effective command, and the JTAG chip 24 of the circuit board 20 is detected. When the update pin is set to high, the single chip 23 of the detection board 20 reads the 8-bit request command from the JTAG wafer, and the single chip 23 of the detection board 20 reads the 8-bit request. After the command, the busy_N pin state of the single chip 23 of the detecting circuit board 20 is set to be valid (ie, the busy_N pin is set to 0, indicating that the single chip 23 of the detecting circuit board 20 accepts the command successfully), and the JTAG chip 24 of the detecting circuit board 20 is detected. Further detecting that the busy_N pin state of the single chip 23 of the detecting circuit board 20 is valid, the JTAG chip 24 of the detecting circuit board 20 sets the load_cmd pin or the load_data pin to a high potential and sets the update pin. At a low potential, the single chip 23 of the detection circuit board 20 performs a single chip of the circuit board 20 after reading the detection voltage value 41 by the voltage output pin 222 of the analog digital converter 22 of the self-detecting circuit board 20 according to the 8-bit request command. 23 sets 8 bit response data including the detection voltage value 41 and sets the busy_N pin state of the single chip 23 of the detection circuit board 20 to be invalid (ie, the busy_N pin is set to 1, indicating the detection circuit board) The single chip 23 of 20 has executed the completion command, and the single chip 23 of the detecting circuit board 20 is in an idle state. The JTAG wafer 24 of the detecting circuit board 20 can be read from the single chip 23 of the detecting circuit board 20 and contains the detected voltage value 41. 8-bit response data.

上述檢測電路板20的JTAG晶片24包含複雜可程式邏輯裝置(complex programmable logic device,CPLD)以及現場可程式邏輯閘陣列(field programmable gate array, FPGA)。The JTAG chip 24 of the above detection circuit board 20 includes a complex programmable logic device (CPLD) and a field programmable gate array (FPGA).

上述檢測電路板20的JTAG晶片24是透過邊界掃描技術控制8位元請求命令的生成、控制load_cmd腳位或是load_data腳位的電位設定、控制更新腳位的電位設定以及讀取8位元響應數據中檢測電壓值41。The JTAG chip 24 of the detection circuit board 20 controls the generation of the 8-bit request command through the boundary scan technology, controls the potential setting of the load_cmd pin or the load_data pin, controls the potential setting of the update pin, and reads the 8-bit response. The voltage value 41 is detected in the data.

值得注意的是,檢測電路板20的JTAG晶片24的8個輸入輸出腳位與檢測電路板20的單晶片23的8個輸入輸出腳位彼此之間相互電性連接,藉以傳輸8位元請求命令以及8位元響應數據。It should be noted that the eight input and output pins of the JTAG chip 24 of the detecting circuit board 20 and the eight input and output pins of the single chip 23 of the detecting circuit board 20 are electrically connected to each other, thereby transmitting an 8-bit request. Command and 8-bit response data.

檢測電路板20的JTAG連接器25與檢測電路板20的JTAG晶片24電性連接(步驟106),並且檢測裝置30透過與檢測電路板20的JTAG連接器25形成電性連接以控制檢測電路板20的JTAG晶片24設定為邊界掃描工作模式,且透過檢測電路板20的JTAG連接器25自檢測電路板20的JTAG晶片24讀取檢測電壓值41以進行待測試電路板10的電源腳位導通檢測(步驟107),即當檢測裝置30自檢測電路板20的JTAG晶片24讀取檢測電壓值41為正常的電壓值時,表示待測試電路板10的電源腳位為正常導通狀態,當檢測裝置30自檢測電路板20的JTAG晶片24讀取檢測電壓值41為0時,表示待測試電路板10的電源腳位為不導通狀態。The JTAG connector 25 of the detection circuit board 20 is electrically connected to the JTAG wafer 24 of the detection circuit board 20 (step 106), and the detecting device 30 is electrically connected to the JTAG connector 25 of the detection circuit board 20 to control the detection circuit board. The JTAG chip 24 of 20 is set to the boundary scan mode of operation, and the detection voltage value 41 is read from the JTAG chip 24 of the detection circuit board 20 through the JTAG connector 25 of the detection circuit board 20 to conduct the power pin of the circuit board 10 to be tested. Detecting (step 107), that is, when the detecting device 30 reads the detected voltage value 41 from the JTAG chip 24 of the detecting circuit board 20 to a normal voltage value, it indicates that the power pin of the circuit board 10 to be tested is in a normal conducting state, when detecting When the device 30 reads the detection voltage value 41 from the JTAG chip 24 of the detection circuit board 20 to 0, it indicates that the power pin of the circuit board 10 to be tested is in a non-conduction state.

綜上所述,可知本發明與先前技術之間的差異在於將JTAG晶片設定為邊界掃描工作模式後,透過自定義的通訊協議由JTAG晶片自單晶片獲得類比數位轉換器自待測試電路板所讀取的檢測電壓值,檢測裝置透過JTAG連接器自JTAG晶片讀取檢測電壓值以進行待測試電路板的電源腳位導通檢測。In summary, it can be seen that the difference between the present invention and the prior art is that after the JTAG chip is set to the boundary scan mode, the analog digital converter is obtained from the single chip by the JTAG chip through the custom communication protocol. The detected detection voltage value is read by the detecting device from the JTAG wafer through the JTAG connector to perform power supply pin conduction detection of the circuit board to be tested.

藉由此一技術手段可以來解決先前技術所存在現有電源腳位導通檢測在低電壓值導致檢測障礙的問題,進而達成在所有電壓值皆可進行電源腳位導通檢測的技術功效。The technical problem that the prior art power pin conduction detection causes a detection obstacle at a low voltage value can be solved by the technical means, thereby achieving the technical effect that the power pin conduction detection can be performed at all voltage values.

雖然本發明所揭露的實施方式如上,惟所述的內容並非用以直接限定本發明的專利保護範圍。任何本發明所屬技術領域中具有通常知識者,在不脫離本發明所揭露的精神和範圍的前提下,可以在實施的形式上及細節上作些許的更動。本發明的專利保護範圍,仍須以所附的申請專利範圍所界定者為準。While the embodiments of the present invention have been described above, the above description is not intended to limit the scope of the invention. Any changes in the form and details of the embodiments may be made without departing from the spirit and scope of the invention. The scope of the invention is to be determined by the scope of the appended claims.

10‧‧‧待測試電路板10‧‧‧Test board to be tested

11‧‧‧待測試電路板連接器11‧‧‧Test board connectors to be tested

20‧‧‧檢測電路板20‧‧‧Detection board

21‧‧‧檢測電路板連接器21‧‧‧Detection board connector

211‧‧‧電源腳位211‧‧‧Power pin

22‧‧‧類比數位轉換器22‧‧‧ Analog Digital Converter

221‧‧‧電壓讀取腳位221‧‧‧Voltage reading pin

222‧‧‧電壓輸出腳位222‧‧‧Voltage output pin

23‧‧‧單晶片23‧‧‧ single chip

231‧‧‧電壓輸入腳位231‧‧‧Voltage input pin

24‧‧‧JTAG晶片24‧‧‧JTAG chip

25‧‧‧JTAG連接器25‧‧‧JTAG connector

30‧‧‧檢測裝置30‧‧‧Detection device

41‧‧‧檢測電壓值41‧‧‧Detection voltage value

42‧‧‧下拉電阻42‧‧‧ Pull-down resistor

步驟101‧‧‧提供具有檢測電路板連接器、類比數位轉換器、單晶片、JTAG晶片以及JTAG連接器的檢測電路板Step 101‧‧‧Providing a test board with a test board connector, an analog digital converter, a single chip, a JTAG chip, and a JTAG connector

步驟102‧‧‧檢測電路板透過檢測電路板連接器與待測試電路板連接器電性連接Step 102‧‧‧ The detection circuit board is electrically connected to the circuit board connector to be tested through the detection circuit board connector

步驟103‧‧‧類比數位轉換器的電壓讀取腳位與檢測電路板連接器的電源腳位電性連接以及下拉電阻電性連接,類比數位轉換器的電壓讀取腳位用以讀取檢測電路板連接器的電源腳位的電壓值為檢測電壓值Step 103‧‧‧ The voltage reading pin of the analog-to-digital converter is electrically connected to the power pin of the detecting circuit board connector and the pull-down resistor is electrically connected, and the voltage reading pin of the analog digital converter is used for reading and detecting The voltage value of the power pin of the board connector is the detection voltage value.

步驟104‧‧‧單晶片的電壓輸入腳位與類比數位轉換器的電壓輸出腳位電性連接,單晶片自類比數位轉換器的電壓輸出腳位讀取檢測電壓值Step 104‧‧‧ The voltage input pin of the single chip is electrically connected with the voltage output pin of the analog digital converter, and the voltage output pin of the analog-to-digital converter of the single chip reads the detection voltage value

步驟105‧‧‧JTAG晶片被設定為邊界掃描工作模式,JTAG晶片透過自定義的通訊協議與單晶片電性連接並自單晶片接收檢測電壓值Step 105‧‧‧ The JTAG chip is set to the boundary scan mode, and the JTAG chip is electrically connected to the single chip through a custom communication protocol and receives the detection voltage value from the single chip.

步驟106‧‧‧JTAG連接器與JTAG晶片電性連接Step 106‧‧‧JTAG connector is electrically connected to JTAG chip

步驟107‧‧‧提供檢測裝置,檢測裝置透過JTAG連接器控制JTAG晶片設定為邊界掃描工作模式,且透過JTAG連接器自JTAG晶片讀取檢測電壓值以進行待測試電路板的電源腳位導通檢測Step 107‧‧‧ provides a detecting device, the detecting device controls the JTAG chip to be set to the boundary scan working mode through the JTAG connector, and reads the detected voltage value from the JTAG chip through the JTAG connector to perform power pin conduction detection of the circuit board to be tested

第1圖繪示為本發明電路板的電壓腳位導通檢測系統的系統方塊圖。 第2圖繪示為本發明電路板的電壓腳位導通檢測方法的方法流程圖。 第3圖繪示為本發明電路板的電壓腳位導通檢測系統的系統架構圖。 第4圖繪示為本發明電路板的電壓腳位導通檢測的JTAG晶片與單晶片的自定義的通訊協議示意圖。FIG. 1 is a system block diagram of a voltage pin conduction detection system for a circuit board of the present invention. FIG. 2 is a flow chart showing a method for detecting a voltage pin conduction test of a circuit board according to the present invention. FIG. 3 is a system architecture diagram of a voltage pin conduction detection system of the circuit board of the present invention. FIG. 4 is a schematic diagram showing a custom communication protocol of a JTAG chip and a single chip for voltage pin conduction detection of the circuit board of the present invention.

Claims (10)

一種電路板的電壓腳位導通檢測系統,其包含: 一待測試電路板,所述待測試電路板具有一待測試電路板連接器;及 一檢測電路板,所述檢測電路板更包含: 一檢測電路板連接器,所述檢測電路板連接器用以與所述待測試電路板連接器電性連接; 一類比數位轉換器(Analog to digital converter,ADC),所述類比數位轉換器的電壓讀取腳位與所述檢測電路板連接器的電源腳位電性連接以及下拉電阻電性連接,所述類比數位轉換器的電壓讀取腳位用以讀取所述檢測電路板連接器的電源腳位的電壓值為一檢測電壓值; 一單晶片(single-chip microcomputer),所述單晶片的一電壓輸入腳位與所述類比數位轉換器的一電壓輸出腳位電性連接,所述單晶片自所述類比數位轉換器的所述電壓輸出腳位讀取所述檢測電壓值; 一聯合測試工作組(Joint Test Action Group,JTAG)晶片,所述JTAG晶片被設定為邊界掃描(Boundary Scan)工作模式,所述JTAG晶片透過自定義的通訊協議與所述單晶片電性連接並自所述單晶片接收所述檢測電壓值; 一JTAG連接器,所述JTAG連接器與所述JTAG晶片電性連接; 一檢測裝置,所述檢測裝置透過所述JTAG連接器形成電性連接控制所述JTAG晶片設定為邊界掃描工作模式,且透過所述JTAG連接器自所述JTAG晶片讀取所述檢測電壓值以進行所述待測試電路板的電源腳位導通檢測。A voltage foot conduction detection system for a circuit board, comprising: a circuit board to be tested, the circuit board to be tested has a circuit board connector to be tested; and a detection circuit board, the detection circuit board further comprises: Detecting a circuit board connector, the detection circuit board connector is electrically connected to the circuit board connector to be tested; an analog to digital converter (ADC), the voltage reading of the analog digital converter The pin is electrically connected to the power pin of the detecting circuit board connector and the pull-down resistor, and the voltage reading pin of the analog digital converter is used for reading the power of the detecting circuit board connector The voltage value of the pin is a detection voltage value; a single-chip microcomputer, a voltage input pin of the single chip is electrically connected to a voltage output pin of the analog-to-digital converter, Reading a voltage value from the voltage output pin of the analog-to-digital converter; a Joint Test Action Group (JTAG) chip The JTAG chip is set to a Boundary Scan mode, and the JTAG chip is electrically connected to the single chip through a custom communication protocol and receives the detection voltage value from the single chip; a connector, the JTAG connector is electrically connected to the JTAG chip; a detecting device, the detecting device is electrically connected through the JTAG connector to control the JTAG chip to be set to a boundary scan mode of operation, and The JTAG connector reads the detected voltage value from the JTAG chip to perform power pin conduction detection of the circuit board to be tested. 如申請專利範圍第1項所述的電路板的電壓腳位導通檢測系統,其中所述JTAG晶片與所述單晶片所使用的自定義的通訊協議是所述JTAG晶片的load_cmd腳位或是load_data腳位設定為低電位(low)時,所述JTAG晶片所生成的8位元請求命令(8bit request command)為有效命令,且所述JTAG晶片的更新(update)腳位設定為高電位(high)時,所述單晶片自所述JTAG晶片讀取8位元請求命令,所述單晶片在讀取到8位元請求命令後將所述單晶片的busy_N腳位狀態設置為有效,所述JTAG晶片檢測所述單晶片的busy_N腳位狀態為有效時,所述JTAG晶片再將load_cmd腳位或是load_data腳位設定為高電位以及將更新腳位設定為低電位,所述單晶片依據8位元請求命令執行自所述類比數位轉換器的所述電壓輸出腳位讀取所述檢測電壓值後,所述單晶片設置包含有所述檢測電壓值的8位元響應數據(8bit response data)且將所述單晶片的busy_N腳位狀態設置為無效,所述JTAG晶片即可自所述單晶片讀取包含有所述檢測電壓值的8位元響應數據。The voltage pin conduction detection system of the circuit board of claim 1, wherein the custom communication protocol used by the JTAG chip and the single chip is a load_cmd pin or a load_data of the JTAG chip. When the pin is set to low (low), the 8-bit request command generated by the JTAG chip is a valid command, and the update pin of the JTAG chip is set to a high potential (high) When the single chip reads an 8-bit request command from the JTAG wafer, the single-chip sets the busy_N pin state of the single-chip to be valid after reading the 8-bit request command, When the JTAG chip detects that the busy_N pin state of the single chip is valid, the JTAG chip sets the load_cmd pin or the load_data pin to a high potential and sets the update pin to a low potential, and the single chip is based on 8 After the bit request command is executed to read the detected voltage value from the voltage output pin of the analog to digital converter, the single chip sets an 8-bit response data including the detected voltage value (8 bit respon Se data) and setting the busy_N pin state of the single chip to be invalid, the JTAG wafer can read 8-bit response data including the detected voltage value from the single chip. 如申請專利範圍第2項所述的電路板的電壓腳位導通檢測系統,其中所述JTAG晶片是透過邊界掃描技術控制8位元請求命令的生成、控制load_cmd腳位或是load_data腳位的電位設定、控制更新腳位的電位設定以及讀取8位元響應數據中所述檢測電壓值。The voltage pin conduction detection system of the circuit board of claim 2, wherein the JTAG chip controls the generation of an 8-bit request command through the boundary scan technology, and controls the potential of the load_cmd pin or the load_data pin. Set and control the potential setting of the update pin and read the detected voltage value in the 8-bit response data. 如申請專利範圍第2項所述的電路板的電壓腳位導通檢測系統,其中所述JTAG晶片的8個輸入輸出腳位與所述單晶片的8個輸入輸出腳位彼此之間相互電性連接,藉以傳輸8位元請求命令以及8位元響應數據。The voltage pin conduction detection system of the circuit board of claim 2, wherein the eight input and output pins of the JTAG chip and the eight input and output pins of the single chip are electrically connected to each other. Connect to transfer 8-bit request commands and 8-bit response data. 如申請專利範圍第1項所述的電路板的電壓腳位導通檢測系統,其中所述JTAG晶片包含複雜可程式邏輯裝置(complex programmable logic device,CPLD)以及現場可程式邏輯閘陣列(field programmable gate array, FPGA)。The voltage pin conduction detection system of the circuit board of claim 1, wherein the JTAG chip comprises a complex programmable logic device (CPLD) and a field programmable gate array (field programmable gate) Array, FPGA). 一種電路板的電壓腳位導通檢測方法,其包含: 提供具有一待測試電路板連接器的一待測試電路板; 提供具有一檢測電路板連接器、一類比數位轉換器(Analog to digital converter,ADC)、一單晶片(single-chip microcomputer)、一聯合測試工作組(Joint Test Action Group,JTAG)晶片以及一JTAG連接器的一檢測電路板; 所述檢測電路板透過所述檢測電路板連接器與所述待測試電路板連接器電性連接; 所述類比數位轉換器的電壓讀取腳位與所述檢測電路板連接器的電源腳位電性連接以及下拉電阻電性連接,所述類比數位轉換器的電壓讀取腳位用以讀取所述檢測電路板連接器的電源腳位的電壓值為一檢測電壓值; 所述單晶片的一電壓輸入腳位與所述類比數位轉換器的一電壓輸出腳位電性連接,所述單晶片自所述類比數位轉換器的所述電壓輸出腳位讀取所述檢測電壓值; 所述JTAG晶片被設定為邊界掃描(Boundary Scan)工作模式,所述JTAG晶片透過自定義的通訊協議與所述單晶片電性連接並自所述單晶片接收所述檢測電壓值; 所述JTAG連接器與所述JTAG晶片電性連接;及 提供一檢測裝置,所述檢測裝置透過所述JTAG連接器形成電性連接控制所述JTAG晶片設定為邊界掃描工作模式,且透過所述JTAG連接器自所述JTAG晶片讀取所述檢測電壓值以進行所述待測試電路板的電源腳位導通檢測。A voltage pin conduction detecting method for a circuit board, comprising: providing a circuit board to be tested having a circuit board connector to be tested; providing an analog circuit board connector and an analog to digital converter (Analog to digital converter, ADC), a single-chip microcomputer, a Joint Test Action Group (JTAG) chip, and a detection circuit board of a JTAG connector; the detection circuit board is connected through the detection circuit board The device is electrically connected to the circuit board connector to be tested; the voltage reading pin of the analog digital converter is electrically connected to the power pin of the detecting circuit board connector and the pull-down resistor is electrically connected. The voltage reading pin of the analog-to-digital converter is configured to read a voltage value of the power pin of the detecting circuit board connector as a detected voltage value; a voltage input pin of the single chip and the analog digital bit conversion a voltage output pin of the device is electrically connected, and the single chip reads the detected voltage value from the voltage output pin of the analog digital converter The JTAG chip is set to a Boundary Scan mode of operation, the JTAG chip is electrically connected to the single chip through a custom communication protocol and receives the detected voltage value from the single chip; The JTAG connector is electrically connected to the JTAG chip; and a detecting device is configured to form an electrical connection through the JTAG connector to control the JTAG chip to be set to a boundary scan mode of operation, and connect through the JTAG The device reads the detected voltage value from the JTAG wafer to perform power pin conduction detection of the circuit board to be tested. 如申請專利範圍第6項所述的電路板的電壓腳位導通檢測方法,其中所述JTAG晶片與所述單晶片所使用的自定義的通訊協議是所述JTAG晶片的load_cmd腳位或是load_data腳位設定為低電位(low)時,所述JTAG晶片所生成的8位元請求命令(8bit request command)為有效命令,且所述JTAG晶片的更新(update)腳位設定為高電位(high)時,所述單晶片自所述JTAG晶片讀取8位元請求命令,所述單晶片在讀取到8位元請求命令後將所述單晶片的busy_N腳位狀態設置為有效,所述JTAG晶片檢測所述單晶片的busy_N腳位狀態為有效時,所述JTAG晶片再將load_cmd腳位或是load_data腳位設定為高電位以及將更新腳位設定為低電位,所述單晶片依據8位元請求命令執行自所述類比數位轉換器的所述電壓輸出腳位讀取所述檢測電壓值後,所述單晶片設置包含有所述檢測電壓值的8位元響應數據(8bit response data)且將所述單晶片的busy_N腳位狀態設置為無效,所述JTAG晶片即可自所述單晶片讀取包含有所述檢測電壓值的8位元響應數據。The method for detecting a voltage pin of a circuit board according to claim 6, wherein the custom communication protocol used by the JTAG chip and the single chip is a load_cmd pin or a load_data of the JTAG chip. When the pin is set to low (low), the 8-bit request command generated by the JTAG chip is a valid command, and the update pin of the JTAG chip is set to a high potential (high) When the single chip reads an 8-bit request command from the JTAG wafer, the single-chip sets the busy_N pin state of the single-chip to be valid after reading the 8-bit request command, When the JTAG chip detects that the busy_N pin state of the single chip is valid, the JTAG chip sets the load_cmd pin or the load_data pin to a high potential and sets the update pin to a low potential, and the single chip is based on 8 After the bit request command is executed to read the detected voltage value from the voltage output pin of the analog to digital converter, the single chip sets an 8-bit response data including the detected voltage value (8 bit respon Se data) and setting the busy_N pin state of the single chip to be invalid, the JTAG wafer can read 8-bit response data including the detected voltage value from the single chip. 如申請專利範圍第7項所述的電路板的電壓腳位導通檢測方法,其中所述JTAG晶片是透過邊界掃描技術控制8位元請求命令的生成、控制load_cmd腳位或是load_data腳位的電位設定、控制更新腳位的電位設定以及讀取8位元響應數據中所述檢測電壓值。The method for detecting a voltage pin of a circuit board according to claim 7, wherein the JTAG chip controls the generation of an 8-bit request command through a boundary scan technique, and controls the potential of the load_cmd pin or the load_data pin. Set and control the potential setting of the update pin and read the detected voltage value in the 8-bit response data. 如申請專利範圍第7項所述的電路板的電壓腳位導通檢測方法,其中所述JTAG晶片的8個輸入輸出腳位與所述單晶片的8個輸入輸出腳位彼此之間相互電性連接,藉以傳輸8位元請求命令以及8位元響應數據。The method for detecting a voltage pin of a circuit board according to claim 7, wherein the eight input and output pins of the JTAG chip and the eight input and output pins of the single chip are electrically connected to each other. Connect to transfer 8-bit request commands and 8-bit response data. 如申請專利範圍第6項所述的電路板的電壓腳位導通檢測方法,其中所述JTAG晶片包含複雜可程式邏輯裝置(complex programmable logic device,CPLD)以及現場可程式邏輯閘陣列(field programmable gate array, FPGA)。The method for detecting a voltage pin of a circuit board according to claim 6, wherein the JTAG chip comprises a complex programmable logic device (CPLD) and a field programmable gate array (field programmable gate) Array, FPGA).
TW106143804A 2017-12-13 2017-12-13 Voltage pin of circuit board conduction detection system and method thereof TWI762538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106143804A TWI762538B (en) 2017-12-13 2017-12-13 Voltage pin of circuit board conduction detection system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106143804A TWI762538B (en) 2017-12-13 2017-12-13 Voltage pin of circuit board conduction detection system and method thereof

Publications (2)

Publication Number Publication Date
TW201928380A true TW201928380A (en) 2019-07-16
TWI762538B TWI762538B (en) 2022-05-01

Family

ID=68049088

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106143804A TWI762538B (en) 2017-12-13 2017-12-13 Voltage pin of circuit board conduction detection system and method thereof

Country Status (1)

Country Link
TW (1) TWI762538B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7191373B2 (en) * 2001-03-01 2007-03-13 Syntest Technologies, Inc. Method and apparatus for diagnosing failures in an integrated circuit using design-for-debug (DFD) techniques
US9086453B2 (en) * 2011-05-17 2015-07-21 Marvell Inernational Ltd. Method and apparatus for testing integrated circuits
US20130108065A1 (en) * 2011-11-01 2013-05-02 Scott Mullins Methods for invoking testing using reversible connectors
US9959186B2 (en) * 2012-11-19 2018-05-01 Teradyne, Inc. Debugging in a semiconductor device test environment
US9977057B2 (en) * 2014-05-08 2018-05-22 Intersil Americas LLC Input current compensation during current measurement
CN106918726A (en) * 2015-12-24 2017-07-04 英业达科技有限公司 Suitable for the test circuit plate of serial ATA connector
CN106918771A (en) * 2015-12-24 2017-07-04 英业达科技有限公司 Suitable for the test circuit plate of universal serial bus connector
KR20180037422A (en) * 2016-10-04 2018-04-12 삼성전자주식회사 Integrated circuit and application processor

Also Published As

Publication number Publication date
TWI762538B (en) 2022-05-01

Similar Documents

Publication Publication Date Title
CN109901002B (en) Pin connection test system and method of connector
JP2003344509A (en) Method of testing integrated circuit (ic)
TW201350877A (en) Auxiliary test circuit and chip and circuit board using the same
TWI736721B (en) Pin connection testing system for connector and method thereof
CN203084153U (en) Chip testing system
CN111104278A (en) SAS connector conduction detection system and method thereof
TWI510798B (en) Universal test platform and test method thereof
WO2021238276A1 (en) Electric leakage detection method and apparatus for cpld
CN111104279B (en) SAS connector conduction detection system and method thereof
CN103729222A (en) Loading device and method of configuration file
CN109901046B (en) Voltage pin conduction detection system and method of circuit board
TW201928380A (en) Voltage pin of circuit board conduction detection system and method thereof
TWI588503B (en) Testing circuit board with self-detection function and self-detection method thereof
TWI452315B (en) Fixture, system and method for performing functional test
TWI759380B (en) Pin of connector slot of circuit board conduction detection system and method thereof
WO2003032000A1 (en) Lsi inspection method and apparatus, and lsi tester
TWI550295B (en) Test circuit board for peripheral component interconnect express testing
TW201523000A (en) Differential signal testing system and method thereof
TW202018509A (en) Sas connector conduction detection system and method thereof
TWI738937B (en) Testing system for differential clock signaling and method thereof
TW201710694A (en) Testing device of address configuration signal of DIMM slot and testing method thereof
TWI550294B (en) Test circuit board for memory slot testing
TW202046109A (en) Motherboard battery detection device
TW202018313A (en) Sas connector conduction detection system and method thereof
TWI437243B (en) Electrical connection defect simulation test method and system of the same