1. Technical Field
Embodiments of the present disclosure relate to signal test systems and methods, and particularly to a computing device, a storage medium, and a method for testing the integrity of signals transmitted from hard disk interfaces.
2. Description of Related Art
Hard disk interfaces are equipped in various electronic devices such as computers, servers and other data processing devices. In a typical electronic device, each of the hard disk interfaces is used to connect a respective hard disk drive of the electronic device to, e.g., a processor included in another electronic device. Each of the hard disk drives may generate signals when data is exchanged between the hard disk drive and the processor, and the signals are transmitted to the processor through the corresponding hard disk interface. The signals output from each hard disk interface of the electronic device may be measured to test whether the hard disk interface is workable. However, such a test operation is usually performed manually, and is time consuming. Also, the efficiency and accuracy of the test operation cannot be ensured.
The present disclosure, including the accompanying drawings, is illustrated by way of examples and not by way of limitation. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references can mean “at least one.”
In the present disclosure, the word “module,” as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a program language. In one embodiment, the program language may be Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an erasable-programmable read-only memory (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 mediums include compact discs (CDs), digital versatile discs (DVDs), Flash memory, and hard disk drives.
In one embodiment, the electronic device 2 is a computer, a server, or a data processing device, and includes a plurality of hard disk interfaces 20. In one embodiment, each of the hard disk interfaces 20 is a serial attached small computer system (SAS) interface or a serial advanced technology attachment (SATA) interface, and is ordinarily used to, inter alia, transmit one or more signals generated by the electronic device 2 to another electronic device, such as the computing device 1. When the probe 50 of the test fixture 5 is electrically connected to one of the hard disk interfaces 20, one or more signals output from the hard disk interface 20 are transmitted to the oscilloscope 3, and the computing device 1 can measure the one or more signals using the oscilloscope 3. In the following description, unless the context indicates otherwise, it is assumed (for the sake of simplicity) that each hard disk interface 20 outputs only one signal.
The signal integrity testing system 10 may include a plurality of functional modules that are stored in the storage system 12 and executed by the at least one processor 11. In one embodiment, the storage system 12 may be an internal storage system, such as a random access memory (RAM) for temporary storage of information, and/or a read only memory (ROM) for permanent storage of information. The storage system 12 may also be an external storage system, such as an external hard disk, a storage card, or a data storage medium.
In one embodiment, the signal integrity testing system 10 includes a parameter setting module 101, an arm control module 102, a signal measuring module 103, a signal analyzing module 104, and a report generating module 105. The modules 101-105 may comprise computerized instructions in the form of one or more programs that are stored in the storage system 12 and executed by the at least one processor 11.
The parameter setting module 101 sets a group of test parameters for evaluating the integrity of the signals transmitted from the hard disk interfaces 20; and also sets an intensity grade range for the signals, and a total number (denoted as “X”) of tests for testing the signal of each hard disk interface 20. In one embodiment, the test parameters may include a phase value, a jitter value, a period value, a frequency value, and a rising time and a falling time of the signal of each hard disk interface 20. The intensity grade range for the signals encompasses a finite set of different intensity characteristics of the signals, with each intensity characteristic having a predefined graded scale. In one embodiment, the intensity grade range includes a phase grade range, a jitter grade range, and a signal emphasis grade range for the signals. If each of the phase grade range, the jitter grade range and the signal emphasis grade range is defined as a graded scale ranging from grade one to grade three, the total number X of tests is set as X=3*3*3=9. If each of the phase grade range, the jitter grade range and the signal emphasis grade range is defined as a graded scale ranging from grade one to grade five, the total number X of tests is set as X=5*5*5=125.
The arm control module 102 controls the probe 50 of the test fixture 5 to make contact with each of the hard disk interfaces 20 using the mechanical arm 4. In the embodiment, the arm control module 102 generates a command to drive the mechanical arm 4 to control the probe 50 of the test fixture 5 to touch any one of the hard disk interfaces 20 to be tested.
The signal measuring module 103 adjusts the intensity grade of the signals generated by the electronic device 2 and subsequently transmitted through the hard disk interfaces 20. In particular, the signal measuring module 103 controls, via the serial port, each hard disk interface 20 to produce a signal corresponding to the adjusted intensity grade. Once the signal corresponding to the adjusted intensity grade is produced, in one embodiment, the signal measuring module 103 can increase the intensity grade of the signal by strengthening the signal, and decrease the intensity grade of the signal by weakening the signal. Thus for the above-described embodiment, each of the phase grade, the jitter grade, and the signal emphasis grade is able to be adjusted as required. The signal measuring module 103 controls the test fixture 5 to obtain the signal produced by the hard disk interface 20; and the signal measuring module 103 measures a value of each of the test parameters of the signal using the oscilloscope 3.
The signal measuring module 103 records the measured values of the test parameters for the hard disk interface 20 in a predefined file, such as an EXCEL format file, and stores the predefined file in the storage system 12. The signal measuring module 103 increases a test serial number (denoted generically as “Y”) by one, i.e., Y′=Y+1, when each set of measured values of the test parameters are recorded in the predefined file. The signal measuring module 103 also determines whether the latest test serial number Y′ is equal to the total number X of tests.
When the latest test serial number Y′ is equal to the total number X of tests, the signal analyzing module 104 analyzes all the measured values of the test parameters of the hard disk interface 20 to find a form of the signal which has an optimal signal integrity. In the embodiment, the form of the signal which has the optimal signal integrity is defined as the form of the signal which has a minimum jitter value or a minimum phase value. The signal analyzing module 104 then determines which intensity grade yielded the form of the signal with the optimal signal integrity, and defines that intensity grade as a driving parameter of the hard disk interface 20.
The report generating module 105 generates a test report of the hard disk interfaces 20 by integrating the defined driving parameters of all of the hard disk interfaces 20, stores the test report of the hard disk interfaces 20 in the storage system 12, and displays the test report of the hard disk interfaces 20 on the display device 13.
In step S21, a test operator connects the computing device 1 to the electronic device 2 and the mechanical arm 4, and connects the oscilloscope 3 to the computing device 1 and the test fixture 5. In the embodiment, the computing device 1 is connected to the electronic device 2 through the serial port, and is connected to the oscilloscope 3 through the first general purpose interface bus (GPIB). The mechanical arm 4 is equipped with the test fixture 5 having the probe 50. The test fixture 5 is connected to the oscilloscope 3 through the second GPIB.
In step S22, the parameter setting module 101 sets a group of test parameters for evaluating the integrity of signals transmitted from the hard disk interfaces 20; and also sets an intensity grade range for the signals, and a total number (denoted as “X”) of tests for testing the signal of each hard disk interface 20. As mentioned above, the test parameters may include a phase value, a jitter value, a period value, a frequency value, and a rising time and a falling time of the signal of each hard disk interface 20. The intensity grade range for the signals encompasses a finite set of different intensity characteristics of the signals, with each intensity characteristic having a predefined graded scale. In one embodiment, the intensity grade range includes a phase grade range, a jitter grade range, and a signal emphasis grade range of the signals.
In step S23, the arm control module 102 controls the probe 50 of the test fixture 5 to make contact with one of the hard disk interfaces 20 to be tested using the mechanical arm 4. In the embodiment, the arm control module 102 generates a command to drive the mechanical arm 4 to control the probe 50 of the test fixture 5 to touch the hard disk interface 20.
In step S24, the signal measuring module 103 adjusts the intensity grade of the signal transmitted through the hard disk interface 20, and thereby controls the hard disk interface 20 to produce a signal corresponding to the adjusted intensity grade. Once the signal corresponding to the adjusted intensity grade is generated, in one embodiment, the signal measuring module 103 can increase the intensity grade of the signal by strengthening the signal, and decrease the intensity grade of the signal by weakening the signal. Thus the intensity grade of the signal can be adjusted to a selected grade in the graded scale among any of the phase grade range, the jitter grade range, and the signal emphasis grade range.
In step S25, the signal measuring module 103 controls the test fixture 5 to obtain the signal generated by the hard disk interface 20, and measures a value of each of the test parameters of the signal using the oscilloscope 3.
In step S26, the signal measuring module 103 records the measured values of the test parameters in a predefined file, such as an EXCEL format file. The signal measuring module 103 also increases a test serial number (denoted generically as “Y”) by one, i.e., Y′=Y+1, when each set of measured values of the test parameters are recorded in the predefined file.
In step S27, the signal measuring module 103 determines whether the latest test serial number Y′ is equal to the total number X of tests. If the latest test serial number Y′ is not equal to the total number X, the procedure returns to step S24, i.e., to adjust the intensity grade of the signal to another selected grade in the graded scale among one of the phase grade range, the jitter grade range, and the signal emphasis grade range. If the latest test serial number Y′ is equal to the total number X, step S28 is implemented.
In step S28, the signal analyzing module 104 analyzes the measured values of the test parameters of the hard disk interface 20 to find a form of the signal which has an optimal signal integrity, determines which intensity grade yielded the form of the signal with the optimal signal integrity, and defines that intensity grade as a driving parameter of the hard disk interface 20. In the embodiment, the form of the signal which has the optimal signal integrity is defined as the form of the signal which has a minimum jitter value or a minimum phase value.
In step S29, the signal measuring module 103 determines whether all of the hard disk interfaces 20 have been tested. If any of the hard disk interfaces 20 have not been tested, the procedure returns to step S23. If all of the hard disk interfaces 20 have been tested, step S30 is implemented.
In step S30, the report generating module 105 generates a test report of the hard disk interfaces 20 by integrating the defined driving parameters of all of the hard disk interfaces 20, stores the test report of the hard disk interfaces 20 in the storage system 12, and displays the test report of the hard disk interfaces 20 on the display device 13.
Although certain embodiments have been specifically described, the present disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiments without departing from the scope and spirit of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
100129481 | Aug 2011 | TW | national |