1. Technical Field
Embodiments of the present disclosure generally relate to signal test methods, and more particularly to a signal integrity test method using an oscillograph.
2. Description of Related Art
A serial data bus test is generally performed using an oscillograph. In order to accomplish the serial data bus test, the oscillograph measures signals from the serial data bus, identifies time sequence from each communication channel, and determines a sending port and a receiving port for each of the captured signals accordingly. After the serial data bus is tested, a signal integrity test of the serial data bus is performed manually. However, manual testing has many shortcomings, such as: (a) time sequence determined visually is often error prone; (b) a plurality of serial data buses cannot be tested synchronously; (c) cannot perform a bulk sampling in a short time; and (d) inconsistent results because of human operator.
What is needed, therefore, is a signal integrity test method to overcome the aforementioned problems.
The disclosure is illustrated by way of example and not by way of limitation in the figures of the accompanying drawings in which like references indicate similar elements. It should be noted that references to “an” or “one” embodiment in this disclosure are not necessarily to the same embodiment, and such references mean at least one.
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, for example, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as an EPROM. It will be appreciated that modules may comprised connected logic units, such as gates and flip-flops, and may comprise programmable units, such as programmable gate arrays or processors. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of computer-readable medium or other computer storage device.
The oscillograph 1 further includes at least one processor 18, a storage device 19, and a display screen 20. Each of the measurement unit 12, the control unit 14, and the signal integrity test unit 16 may include one or more computerized instructions or codes, which is stored in the storage device 19, and can be executed by the at least one processor 18. The storage device 19 may be a hard disk drive, a compact disc, a digital video disc, or a tape drive.
In the embodiment, the signal integrity test unit 16 may include an identifying module 160, a signal test module 162, and a generating module 164. One or more computerized codes of the identifying module 160, the signal test module 162, and the generating module 164 may be stored in the storage device 19, and can be executed by the at least one processor 18.
The identifying module 160 is operable to determine the test signal by identifying a time sequence for the captured signals transmitted by each of the at least four communication channels 10. The identifying method will be in greater detail in
The signal test module 162 is operable to control the oscillograph 1 to measure a clock frequency of the test signal by positioning a sequential waveform of the test signal on a central of the display screen 20. The signal test module 162 is further operable to sample a part of the test signal, position the part according to the clock frequency, and test the part according to test items pre-set by a user. A predetermined number of samples of the test signal by the signal test module 162 constitute a completed signal integrity test of the serial data bus 2. In the embodiment, the test items include testing a high voltage, a low voltage, a frequency, a period, a rise time, a fall time, a setup time, and a hold time, for example.
The generating module 164 is operable to generate a test report. The test report records the high voltage, the low voltage, the frequency, the period, the rise time, the fall time, the setup time, and the hold time of the serial data bus 2, for example.
In block S200, the measurement unit 12 communicates with the serial data bus 2, to obtain signals.
In block S202, the control unit 14 controls the oscillograph 1 to capture the signals transmitted by each of the at least four communication channels 10.
In block S204, the identifying module 160 determines a test signal from the captured signals by identifying a time sequence for the captured signals transmitted by each of the at least four communication channels 10.
In block S206, the signal test module 162 controls the oscillograph 1 to measure a clock frequency of the test signal by positioning a sequential waveform of the test signal on a central of the display screen 20.
In block S208, the signal test module 162 samples a part of the test signal, positions the part on the display screen 20 according to the clock frequency, and tests the part according to test items pre-set by a user. The test items may include testing a high voltage, a low voltage, a frequency, a period, a rise time, a fall time, a setup time, and a hold time, for example.
In block S210, the signal test module 162 determines whether a predetermined number of samples of the test signal is tested. If the predetermined number of samples is tested, the signal integrity test unit 16 constitute a completed signal integrity test of the serial data bus 2, and the flow enters into block S212. If any of the predetermined number of samples is not tested, the flow returns to block S208.
In block S212, the generating module 164 generates a test report. In the embodiment, the test report records the high voltage, the low voltage, the frequency, the period, the rise time, the fall time, the setup time, and the hold time of the serial data bus 2, for example.
In block S300, the identifying module 160 edge-triggers the at least four communication channels 10.
In block S302, the identifying module 160 measures a rise time and a fall time for each of the captured signals in both two transmitting terminals. In the embodiment, the two transmitting terminals may include a sending terminal (ST) and a receiving terminal (RT) of each of the captured signals.
In block S304, the identifying module 160 sets a ST and a RT for the each of the captured signals according to said measurement. In the embodiment, the rise time and fall time of one signal in the ST is larger than that in the RT.
In block S306, the identifying module 160 sets triggering parameters to trigger the oscillograph 1, and acquires the captured signals accord with the triggering parameters. In the embodiment, the triggering parameters may include a triggering mode, a signal transmitting channel, an upper level, a lower level, time and an analyzing type. In one embodiment, the triggering mode is a level trigger, and the time is between the rise/fall time of one signal in the ST and that in the RT.
In block S308, the identifying module 160 determines the ST and RT for each of the acquired signals.
In block S310, the identifying module 160 compares the determined ST of each of the acquired signals with a set ST, and compares the determined RT of each of the acquired signals with a set RT.
If both of the determined ST of one signal is identical with the set ST and the determined RT of the signal is identical with the set RT, in block S310, the identifying module 160 determines that the signal is the test signal. For example, if the determined ST of the signal “A” is identical with the set ST of the signal “A,” and the determined RT of the signal “A” is identical with the set RT of the signal “A,” the identifying module 160 determines the signal “A” is the test signal.
Although certain inventive embodiments of the present disclosure 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 present disclosure without departing from the scope and spirit of the present disclosure.
| Number | Date | Country | Kind |
|---|---|---|---|
| 200910306637.2 | Sep 2009 | CN | national |