A circuit board IO connectivity testing device
By using the hardware IO test board and data verification module on the circuit board to detect the level status of the chip IO, the problem of complex and error-prone IO connectivity testing in the existing technology is solved, and fast and accurate welding quality positioning and Improved efficiency.
Patent Information
- Application Number
- CN202110771586.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-08
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-07-08
AI Technical Summary
Existing circuit board IO connectivity testing methods are complex and error-prone, making it difficult to accurately locate welding quality problems, especially in high-density pin packaging and connector applications.
Using a unique circuit structure hardware IO test board, combined with data processing and data verification modules, the IO test board detects the level status of the chip IO, quickly analyzes open circuit or short circuit problems, and supports output and display of test results to quickly locate the circuit board. Soldering problem or chip IO failure problem.
It achieves accurate detection and rapid positioning of circuit board IO connectivity, improves production and testing efficiency, and reduces test workload and error rate.
Smart Images

Figure CN113567832B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of circuit board testing, and in particular to a circuit board IO connectivity testing device. Background Art
[0002] With the improvement of chip technology and the increase in chip scale, MCU or FPGA chips with hundreds of IOs are more common. Various manufacturers have launched chip development boards (or minimum system boards), which are connected to the user's function boards through connectors for development and debugging. The MCU or FPGA chip on the chip development board is usually directly connected to the connector. With the widespread application of high-density pin packaged chips and high-density connectors, the welding quality issues related to the connectivity from chip IO to connectors have gradually received attention from circuit board designers and manufacturers to ensure that the IO functions of each development board provided to customers are normal.
[0003] The common method for testing the IO connectivity of a circuit board is to configure one adjacent pin as output and the other as input, and to perform output and input testing by interconnecting the external pins of the circuit board. This requires a lot of work for IO control circuit or program development, and it is inconvenient and error-prone to accurately locate failed IO.
[0004] In view of the above problems, the present invention proposes a circuit board IO connectivity test device. The device uses a hardware IO test board with a unique circuit structure and cooperates with data processing and data verification function modules to accurately detect IO open circuit problems or short circuit problems of two adjacent IOs, and supports output and display of test results, quickly locates circuit board welding problems or chip IO failure problems, and speeds up production and testing efficiency. Summary of the invention
[0005] The present invention solves the problem of how to test the connectivity of chip IO to connector on MCU or FPGA development board and how to quickly locate the welding quality. The present invention proposes a testing device, which configures and detects the level state of chip IO on the circuit board through IO test board, and quickly analyzes the open circuit or short circuit state of any IO of the chip on the circuit board through data verification module, which is used for the connectivity test of chip IO and connector on the circuit board of MCU or FPGA chip with IO function, and quickly locates the welding quality of the circuit board or the failure of chip IO.
[0006] The test device of the present invention comprises: a test control module, a module under test and an IO test board, wherein the module under test comprises: a data processing module and a data verification module.
[0007] The test control module realizes the functions of generating and sending test commands and data, and displaying test results; the test control module is connected to the data processing module in the module under test, and realizes the functions of generating and sending IO test commands and data; the test control module is connected to the data verification module in the module under test, and receives the IO test result data generated by the data verification module and displays it;
[0008] The data processing module realizes the function of processing test commands and test data; the data processing module is connected to the test control module, the IO test board, and the data verification module. The data processing module converts the commands and data sent by the test control module into IO test board interface data and sends them to the IO test board. The data processing module sends the IO status data returned by the IO test board to the data verification module;
[0009] The data verification module implements the test data verification function and generates test result data; it is connected to the test control module and the data processing module, and the data verification module verifies the IO status data to generate IO test result data, and returns the IO test result data to the test control module;
[0010] The IO test board is connected to the data processing module in the module under test to realize the IO configuration and level detection functions of the circuit board under test.
[0011] The IO test board consists of one output circuit and multiple input circuits.
[0012] The output circuit on the IO test board consists of an output IO pin and an inverter, which outputs both forward and reverse signals for level configuration of the input circuit.
[0013] The input circuit on the IO test board includes two input IO pins in each circuit. The two input IO pins are respectively connected to the low level GND through two pull-down resistors, and are respectively connected to the two ends of the inverter INV through two pull-up resistors, so that the levels configured by the two input IO pins are reversed. The inverter in the above-mentioned output circuit realizes the function of reversing the signal levels of adjacent input IO pins. The input IO pins are sequentially connected to the connectors corresponding to the IO to be tested, and the input levels of the adjacent IOs on the connectors are made opposite through the inverter, thereby supporting the function of detecting the short circuit of adjacent IOs. The circuit design of each input circuit in the multi-channel input circuit is the same, and n circuits are copied on the IO test board to realize the test function of 2n IO pins, and the simultaneous testing of chip IOs corresponding to multiple connectors can be realized.
[0014] The test device of the present invention realizes data storage and transmission through registers: the data processing module includes a data register, the data processing module stores the IO test board interface data in the data register, realizes the configuration of the IO test board output IO pin and the input IO pin level sampling function; the data verification module includes a verification register, the data verification module stores the IO test result data generated after verification in the verification register, and is read by the test control module.
[0015] The logic function of the module under test is implemented by the FPGA logic circuit or the MCU program: for a circuit board whose chip under test is an FPGA, it is implemented by the logic circuit inside the FPGA; for a circuit board whose chip under test is an MCU, it is implemented by the embedded program inside the MCU.
[0016] The IO test board consists of one or more hardware circuit boards, which are connected to each connector corresponding to the IO to be tested on the circuit board to be tested. The number of IO pins and the pin positions of the connectors on the circuit board are used to determine how many IO test boards to use for testing.
[0017] The IO test board supports the detection of any input IO pin open circuit and the short circuit of two adjacent input IO pins. The functions implemented by the IO test board are as follows:
[0018] 1) The pull-up resistor is connected to the input IO pin of the positive signal. The measured pin status is consistent with the level of the positive signal, indicating that the corresponding pin test has passed;
[0019] 2) The pull-up resistor is connected to the input IO pin of the reverse signal. The measured pin status is consistent with the level of the reverse signal, indicating that the corresponding pin test has passed;
[0020] 3) When the forward level or reverse level of the pull-up resistor connection of the input IO pin changes, the level state of the input IO pin does not change, indicating that the pin is open circuit;
[0021] 4) When the forward level or reverse level of the pull-up resistor connection of the input IO pin changes, if the two adjacent input IO pins are always at a low level, it means that the two pins are short-circuited. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 It is a structural diagram of the circuit board IO connectivity testing device of the present invention.
[0023] Figure 2 It is a circuit structure diagram of an IO test board in the test device of the present invention.
[0024] Figure 3 It is a schematic diagram used to analyze the input status of adjacent IO short circuit situations. DETAILED DESCRIPTION
[0025] In order to better understand the present invention, its functional principle is described in detail below with reference to the accompanying drawings.
[0026] like Figure 1 As shown in the figure, it is a structural diagram of the test device of the present invention, which consists of four parts: "test control module, data processing module, data verification module, and IO test board". This test device is mainly used for connectivity testing between the IO of the MCU or FPGA chip on the circuit board and the connected connector. The test control module is implemented by the interface software, and the display function can be connected to the host computer through the communication interface to display the IO test results.
[0027] like Figure 2 As shown, it is a circuit structure diagram of the IO test board of the present invention, which is composed of an output circuit and a multi-channel input circuit. The output circuit is composed of an output IO pin Pout and an inverter INV. Through the inverter INV, the forward signal output by the Pout pin is realized while the reverse signal is generated. These two signals with opposite levels are provided to each input circuit for testing. The input circuit on the IO test board includes two input IO pins in each circuit, and these two input IO pins are respectively connected to the low level GND through pull-down resistors R2 and R4, one of the IO pins is connected to the reverse signal of the output signal of the inverter through a pull-up resistor R1, and the other IO pin is connected to the forward signal output by the Pout pin through a pull-up resistor R3. Since the forward signal and the reverse signal are directly connected to GND by two resistors in series, in order to reduce the power consumption during the test, the value of the resistor is tens of K or hundreds of K, wherein the pull-up resistors R1 and R3 have the same resistance value, and the pull-down resistors R2 and R4 have the same resistance value.
[0028] In this specific implementation, R1=R3=50K, R2=R4=100K, and the high-level voltage is 3.3V to implement the test of 200 IO pins (that is, 100 input circuits need to be designed)
[0029] The leakage current of each input circuit is Ileak = 3.3 / ((50+100) / 2) = 0.044mA
[0030] The total current of the 100 input circuits Itotal = 0.044*100 = 4.4mA, which needs to meet the current output capability of the Pout pin.
[0031] When the signal connected to the pull-up resistor is at a low level, the input IO pin level is at a low level 0 and is recognized as a low level;
[0032] When the signal connected to the pull-up resistor is at a high level, the input IO pin level = 3.3*100 / (100+50) = 2.2V, which is recognized as a high level.
[0033] like Figure 3 As shown in the figure, it is used to analyze the input level status of the adjacent IO short circuit. Because they are adjacent IOs, the input circuit pull-up resistors R1 and R3 are always connected to two signals with opposite levels. When the two pins are short-circuited, it is equivalent to having only one pull-up resistor, and the other pull-up resistor becomes a pull-down to GND.
[0034] Total pull-down resistance = (100 / 2)*50 / (100 / 2+50) = 25K
[0035] At this time, the input IO pin level = 3.3*25 / (25+50) = 1.1V, which is recognized as a low level.
[0036] The above embodiments are only used to illustrate rather than limit the technical solutions of the present invention. Although the present invention is described in detail with reference to the above embodiments, those skilled in the art should understand that the present invention can still be modified or replaced by equivalents. Any modification or partial replacement that does not depart from the spirit and scope of the present invention should be included in the scope of the claims of the present invention.
Claims
1. A circuit board IO connectivity testing device, characterized in that The test device includes: a test control module, a module under test and an IO test board, wherein: The test control module realizes the functions of generating and sending test commands and data, and displaying test results; it is connected to the data processing module in the module under test, and realizes the functions of generating and sending IO test commands and data; it is connected to the data verification module in the module under test, and receives the IO test result data generated by the data verification module and displays it; The module under test includes a data processing module and a data verification module; The data processing module realizes the function of processing test commands and test data; it is connected to the test control module, the IO test board, and the data verification module, converts the commands and data sent by the test control module into IO test board interface data and sends them to the IO test board, and sends the IO status data returned by the IO test board to the data verification module; The data verification module implements the test data verification function and generates test result data; it is connected to the test control module and the data processing module, and the data verification module verifies the IO status data to generate IO test result data, and returns the IO test result data to the test control module; The IO test board is connected to the data processing module in the module under test to realize the IO configuration and IO level detection function of the circuit board under test; The IO test board is composed of one output circuit and n input circuits, n≥1; the output circuit is composed of an output IO pin and an inverter; the input circuit includes two input IO pins in each circuit, the two input IO pins are respectively connected to the low level through two pull-down resistors, and the two input IO pins are respectively connected to the two ends of the inverter through two other pull-up resistors; the input IO pins are sequentially connected to the connector corresponding to the IO to be tested, and the input levels of adjacent IOs on the connector are opposite through the inverter, so as to support the function of detecting the short circuit of adjacent IOs; The circuit design of each input circuit in the IO test board is the same, and n input circuits are replicated on the IO test board, thereby realizing the test function of 2n IO pins and realizing simultaneous testing of multiple IOs.
2. A circuit board IO connectivity testing device according to claim 1, characterized in that The data processing module includes a data register, and the data processing module stores the IO test board interface data in the data register; the data verification module includes a verification register, and the data verification module stores the IO test result data generated after verification in the verification register.
3. A circuit board IO connectivity testing device according to claim 1, characterized in that The logic function of the module under test is realized by FPGA logic circuit or MCU program.
4. A circuit board IO connectivity testing device according to claim 1, characterized in that The IO test board is composed of m hardware circuit boards, m≥1, and is connected to the module under test through a connector.
