Test card
Technical field
The present invention relates to a kind of test card, particularly a kind of test card that system is carried out load testing.
Background technology
Along with the extended capability of computer function is more and more strong, the for example intervention of sound card, network interface card, video card and USB peripheral hardware etc., the stability of computer system and reliability are also important further, and the load capacity of the expansion interface of computer system becomes the important investigation factor of the stability of computer system.
Usually, the output voltage of the expansion interface of computer system (for example PCIE interface) reduces along with the reducing of resistance of the peripheral hardware that connects of expansion interface, and the output voltage of described expansion interface must be greater than the minimum of the peripheral hardware that is inserted in this expansion interface to guarantee that this peripheral hardware can operate as normal.Reduce at the peripheral hardware that this expansion interface connect under the situation of similar resistance, the reduction amplitude of the output voltage of the expansion interface load capacity of the bright expansion interface of novel more is big more, just when the voltage of expansion interface was reduced to a setting value, the load capacity of more little this expansion interface of explanation of the resistance of the peripheral hardware that expansion interface connect was big more.
Particularly, come the expansion interface of computer system is tested by a monitoring card.Though monitoring card can reach the purpose that detects expansion interface, whether the loop of just detecting expansion interface is unobstructed, can not test the size of the load capacity of expansion interface.
Summary of the invention
In view of above content, be necessary to provide a kind of test card of load capacity of the expansion interface that is used for the test computer system.
A kind of test card comprises:
One communication interface module;
One test interface module is used for being connected with the testing data interface of a computer system to be measured;
One resistance adjustment module is connected with described test interface module;
One voltage measurement module, the value that is used to measure the input voltage of described resistance adjustment module and exports described input voltage;
One microcontroller is used to adjust the resistance of described resistance adjustment module; Also be used to receive the value of described input voltage and export the value of described input voltage and the resistance of described resistance adjustment module by described communication interface module; And
One signal processing module, be connected with described communication interface module, be used to receive the value of described input voltage and itself and a reference voltage value are compared judging the size of the two, and judge the size of the load capacity of described computer system to be measured during less than described reference voltage value according to the resistance size of described resistance adjustment module in the value of described input voltage.
Test card of the present invention is connected with the testing data interface by described test interface module, described microcontroller is adjusted the resistance that described resistance adjustment module is connected to described test interface module, described voltage measurement module measure described resistance adjustment module input voltage value and send microcontroller to, described then microcontroller sends the value of described input voltage and the resistance of resistance adjustment module to described signal processing module by described communication interface module, the value of described input voltage reduces and reduces with the resistance of described resistance adjustment module, when the value of described input voltage during whether less than described reference voltage value, described signal processing module is judged the size of the load capacity of described testing data interface according to the value of described input voltage, and is simple and convenient.
Description of drawings
The invention will be further described in conjunction with embodiment with reference to the accompanying drawings.
Fig. 1 is the block diagram of the better embodiment and a computer system to be measured of test card of the present invention.
The main element symbol description
Test card |
100 |
Communication interface module |
10 |
Test interface module |
20 |
The resistance adjustment module |
30 |
Voltage measurement module |
40 |
Microcontroller |
50 |
Signal processing module |
60 |
Computer system to be measured |
200 |
The testing data interface |
210 |
Please refer to Fig. 1, the better embodiment of test card 100 of the present invention comprises a communication interface module 10, a test interface module 20, a resistance adjustment module 30, a voltage measurement module 40, a microcontroller 50 and a signal processing module 60.Described communication interface module 10, resistance adjustment module 30 and voltage measurement module 40 all are connected with described microcontroller 50, and described test interface module 20 is connected with described resistance adjustment module 30; Described communication interface module 10 also is used for being connected with described signal processing module 60; Described test interface module 20 also is connected with the testing data interface 210 of a computer system 200 to be measured.
Described communication interface module 10 comprises one or more in the communication interfaces such as USB interface, serial ports, parallel port, IEEE1394 interface and ESATA interface.
Because the testing data interface 210 of computer system 200 to be measured can be one or more in the interface types such as pci interface, PCIE interface and USB interface, so described test interface module 20 need comprise the interface that all are corresponding with the type of described testing data interface 210, can be one or more in the interface types such as pci interface, PCIE interface and USB interface.
Described resistance adjustment module 30 comprises that one can control to change the digital regulation resistance of resistance for described microcontroller 50; Also can comprise a plurality of relays and the different resistance of a plurality of resistance, described relay is subjected to the control of described microcontroller 50 to be used to select which resistance to be connected with described test interface module 20.
Described voltage measurement module 40 is used to survey the input voltage of described resistance adjustment module 30, and its physical circuit belongs to prior art, does not do specifying herein.
Described signal processing module 60 can comprise a computer.
Below the principle of work of test card 100 of the present invention is described.
When data-interface 210 to be measured is tested, earlier the interface of a type in the described test interface module 20 is inserted in the interface of the corresponding types in the described testing data interface 210, described microcontroller 50 resistances of the described resistance adjustment module 30 of control earlier is a maximal value with the output voltage of the testing data interface 210 that guarantees described computer system to be measured 200 greater than a reference voltage, described reference voltage equals or is slightly larger than the minimum that can be inserted in described testing data interface 210 and obtain the peripheral hardware (such as video card) of these computer system 200 supports to be measured, can obtain the minimum of each chip by the handbook of the used chip of inquiry peripheral hardware; The resistance of resistance adjustment module 30 as described in reducing gradually in the mode that reduces a setting resistance (as-50 Ω) at every turn then, the input voltage of resistance adjustment module 30 is with the reducing and reduce of resistance of self, simultaneously, the value that described voltage measurement module 40 is measured the input voltage of described resistance adjustment module 30 also sends described microcontroller 50 to, and described microcontroller 50 sends the resistance of the value of described input voltage and resistance adjustment module 30 described signal processing module 60 records to, shows and compares with the value of described reference voltage by described communication interface module 10.When the value of described input voltage during less than the value of described reference voltage, the described microcontroller 50 of described signal processing module 60 controls stops to continue to reduce the resistance of described resistance adjustment module 30, and the resistance of described signal processing module 60 usefulness resistance adjustment module 30 is at this moment represented the size of the load capacity of the type interface in the described testing data interface 210.The load capacity of the type interface in the described testing data interface 210 of the more little explanation of resistance of the resistance adjustment module 30 of this moment is big more.
In like manner, the interface correspondence of other type in the data-interface on the described test interface module 20 can be inserted in the interface of other type in the described testing data interface 210, with the size of the load capacity of the interface of testing other type in the described testing data interface 210.
Test card 100 of the present invention is adjusted the resistance that is connected to described test interface module 20 of described resistance adjustment module 30 by described microcontroller 50, the value of the input voltage of the described resistance adjustment module 30 of described voltage measurement module 40 measurements also sends microcontroller 50 to, described microcontroller 50 sends the value of described input voltage and the resistance of resistance adjustment module 30 to described signal processing module 60 by described communication interface module 10, the value of described input voltage reduces and reduces with the resistance of described resistance adjustment module 30, when the value of described input voltage during less than described reference voltage value, described signal processing module 60 is judged the size of the load capacity of described testing data interface 210 according to the value of described input voltage, and is simple and convenient.