1. Technical Field
Embodiments of the present disclosure relate to electronic devices and methods of signal testing, and more particularly to an electronic device and a method for automatically testing a printed circuit board (PCB).
2. Description of Related Art
PCBs are used in the construction of electronic devices. In the construction of an electronic device, a PCB is a place to mount electronic components and further provides means of electrical connections between the electronic components. Electrically-conductive traces, such as transmission lines, are used as one means to transmit electrical signals between the electronic components.
In transmissions via the transmission lines, the electrical signals may be weakened due to the poor quality or defects in the transmission lines. Thus, for achieving a better electrical signal quality, the PCB needs to be tested to determine whether all transmission lines in the PCB are good. Although the test of the PCB can be done by an engineer manually, this is troublesome and lengthy in terms of time.
In general, the word “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
The electronic device 1 is electronically connected to a mechanical arm 2 using a network (not shown). The network may be the Internet or an intranet. A probe 20 is positioned at a distal end of the mechanical arm 2, and is electronically connected to a time-domain reflectometer (TDR) 3. The mechanical arm 2 can be moved under the control of the electronic device 1, to position the probe 20 on a test point of a PCB 5, and enable the TDR 3 to obtain certain measured values of the test points using the probe 20. The measured values may be, such as TDR data and time-domain transmission (TDT) data. It may be understood that, the TDR 3 sends a square wave voltage to the PCB 5, and receives an electrical signal reflected from the PCB 5. The TDR data may include a voltage strength value of each time point during the electrical signal transmitting along a transmission line between the PCB 5 and the TDR 3, and the TDT data may include characteristic impendence values of the transmission line.
The electronic device 1 is further electronically connected to an input/output device 4, which can be a monitor, for example, used to display test interfaces and output test results.
The PCB testing system 10 includes a number of function modules (depicted in
In block S01, the acquiring module 100 acquires a pre-stored wiring diagram of the PCB 5 from the storage medium 11. The wiring diagram is an electronic file of a simplified conventional pictorial representation of an electrical circuit, in which multiple electrical components are wired together in sequence or in a ring(s) using transmission lines.
In block S02, the acquiring module 100 acquires basic information of each transmission line from the wiring diagram, and stores the basic information of the each transmission line into an information list. In one embodiment, the basic information of the each transmission line includes the name of the transmission line (line name), one or more test points on the transmission line, and the coordinates of the test points. The information list may be stored in the storage medium 11.
In block S03, the receiving module 101 receives one or more line names of the transmission lines from the input/output device 4, searches and obtains one or more test points on the transmission lines which correspond to the received line names from the information list, and further receives a reference test point from the input/output device 4. In one embodiment, the reference test point may be designated by a user. The reference test point is a point of a possible a short circuit location of the PCB 5.
In block S04, the receiving module 101 presets one or more frequency domain tested items for each of the obtained test points and presets a standard value for each of the frequency domain tested items via the input/output device 4. The frequency domain tested items may include, but are not limited to, insertion loss, return loss, and impedance.
In block S05, the control module 102 controls the mechanical arm 2 to position the probe 20 on the reference test point, to enable the TDR 3 to extract TDT data from the reference test point using the probe 20. As mentioned above, the TDT data may include characteristic impendence values of the transmission line between the TDR 3 and the reference test point.
In block S06, the order module 103 obtains the coordinates of a fiducial point(s), computes the distance between the fiducial point and each of the obtained test points, and creates a testing order for the obtained test points according to the distances computed. In one embodiment, the fiducial point or one of them is the starting position of the probe 20.
In block S07, the selection module 104 selects a test point according to the testing order established by block S06. The selected test point has not been selected before and is the one nearest to the fiducial point.
In block S08, the first computation module 105 computes the test period of the TDR 3 according to the length of the transmission line containing the selected test point. The test period is the total time spent by a pulse emitted from the TDR 3 in passing through the transmission line.
In block S09, the control module 102 controls the mechanical arm 2 to position the probe 20 on the selected test point, to enable the TDR 3 to function and gather TDT data and TDR data from the selected test point using the probe 20. As mentioned above, the TDR data may include a voltage strength value of each time point during an electrical signal transmitting along a transmission line between the TDR 3 and the selected test point, and the TDT data may include characteristic impendence values of the transmission line.
In block S10, the second computation module 106 computes the frequency domain tested items of the selected test point according to the test period, the TDT data and the TDR data of the selected test point, and the TDT data of the reference test point.
In block S11, the comparison module 107 compares a value of each of the computed frequency domain tested items with a corresponding standard value, and determines if the value of each of the computed frequency domain tested items is within the corresponding standard value. Block S12 is implemented if the value of each of the computed frequency domain tested items is within the corresponding standard value. Otherwise, block S13 is implemented if the value of any computed frequency domain tested item is not within the corresponding standard value.
In block S12, the display module 108 may displays pass information indicating that the selected test point passes the test, via the input/output device 4, or in block S13, the display module 108 may display failure information indicating that the selected test point failed the test via the input/output device 4.
In block S14, the determination module 109 determines if there is any test point in the testing order which has not been selected and tested. Block S07 is repeated if any test point in the testing order has not been selected and tested. Otherwise, block S15 is implemented if all the test points in the testing order have been selected and tested.
In block S15, the input/output device 4 outputs the test results of the PCB 5. If all test points in the PCB 5 have passed the tests above, the PCB 5 has good quality, or at least not defective, otherwise, if any test point in the PCB 5 fails the tests above, the PCB 5 has a poor quality, and may be rejected or repaired.
It should be emphasized that the above-described embodiments of the present disclosure, particularly, any embodiments, are merely possible examples of implementations, merely set forth for a clear understanding of the principles of the disclosure. Many variations and modifications may be made to the above-described embodiment(s) of the disclosure without departing substantially from the spirit and principles of the disclosure. All such modifications and variations are intended to be included herein within the scope of this disclosure and the present disclosure and protected by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
100103501 | Jan 2011 | TW | national |