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 to load testing.
Background technology
Along with the extended capability of computer function is more and more strong, intervention such as sound card, network interface card, video card and USB peripheral hardware etc., the stability of computer system and reliability are also further important, 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 and can normally work to guarantee this peripheral hardware.In the situation that the peripheral hardware that this expansion interface connects reduces similar resistance, the reduction amplitude of the output voltage of the expansion interface more load capacity of the bright expansion interface of novel is larger, namely, when the lower voltage of expansion interface is during to a setting value, the load capacity of less this expansion interface of explanation of resistance of the peripheral hardware that expansion interface connects is larger.
Particularly, by a monitoring card, the expansion interface of computer system is tested.Although monitoring card can reach the object of extension of detecting capability interface, just whether the loop of extension of detecting capability 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 for test computer system.
A test card, comprising:
One communication interface module;
One test interface module, is connected for the testing data interface with a computer system to be measured;
One resistance adjustment module, is connected with described test interface module;
One voltage measurement module, for measuring the input voltage of described resistance adjustment module and exporting the value of described input voltage;
One microcontroller, for adjusting the resistance of described resistance adjustment module; Also for receiving the value of the described input voltage of exporting from described voltage measurement module and exporting 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, for receiving, from the value of the described input voltage of described communication interface module output and by itself and a reference voltage value, compare to judge the size of the two, and when the value of described input voltage is less than described reference voltage value according to the size of the load capacity of the described computer system to be measured of resistance size judgement of described resistance adjustment module, the resistance of described resistance adjustment module is less, and the load capacity of the testing data interface of described computer system to be measured is larger.
Test card of the present invention is connected with 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, then described microcontroller sends the resistance of the value of described input voltage and 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 whether the value of described input voltage is less than described reference voltage value, described signal processing module judges the size of the load capacity of described testing data interface according to the value of described input voltage, simple and convenient.
Accompanying drawing explanation
In conjunction with embodiment, the invention will be further described with reference to the accompanying drawings.
Fig. 1 is the block diagram of better embodiment and a computer system to be measured of test card of the present invention.
Main element symbol description
Test card 100
Communication interface module 10
Test interface module 20
Resistance adjustment module 30
Voltage measurement module 40
Microcontroller 50
Signal processing module 60
Computer system 200 to be measured
Testing data interface 210
Embodiment
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 are all connected with described microcontroller 50, and described test interface module 20 is connected with described resistance adjustment module 30; Described communication interface module 10 is also for being connected with described signal processing module 60; Described test interface module 20 is also 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 interface corresponding to type that described test interface module 20 need comprise all and 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 for described microcontroller 50 digital regulation resistance of resistance; Also can comprise a plurality of relays and the different resistance of a plurality of resistance, described relay is subject to the control of described microcontroller 50 for selecting which resistance to be connected with described test interface module 20.
Described voltage measurement module 40 is for surveying the input voltage of described resistance adjustment module 30, and its physical circuit belongs to prior art, does not illustrate 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, first the interface of a type in described test interface module 20 is inserted in to the interface of the corresponding types in described testing data interface 210, the resistance that described microcontroller 50 is first controlled described resistance adjustment module 30 is that maximal value is greater than a reference voltage to guarantee the output voltage of the testing data interface 210 of described computer system to be measured 200, 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) that this computer system to be measured 200 supports, can obtain by the handbook of inquiry peripheral hardware chip used the minimum of each chip, then with reduce at every turn the mode of a setting resistance (as-50 Ω) reduce gradually as described in the resistance of resistance adjustment module 30, the input voltage of resistance adjustment module 30 is with the reducing and reduce of resistance of self, simultaneously, the value of the input voltage of the described resistance adjustment module 30 of described voltage measurement module 40 measurement also sends described microcontroller 50 to, described microcontroller 50 sends the resistance of the value of described input voltage and resistance adjustment module 30 to described signal processing module 60 records by described communication interface module 10, show and compare with the value of described reference voltage.When the value of described input voltage is less than the value of described reference voltage, described signal processing module 60 is controlled the resistance that described microcontroller 50 stops continuing to reduce described resistance adjustment module 30, and the resistance of described signal processing module 60 use resistance adjustment module 30 now represents the size of the load capacity of the type interface in described testing data interface 210.The load capacity of the type interface in the described testing data interface 210 of the less explanation of resistance of resistance adjustment module 30 is now larger.
In like manner, the interface correspondence of other type in the data-interface on described test interface module 20 can be inserted in to the interface of other type in described testing data interface 210, to test the size of load capacity of the interface of other type in 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 measurement also sends microcontroller 50 to, described microcontroller 50 sends the resistance of the value of described input voltage and 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 is less than described reference voltage value, described signal processing module 60 judges the size of the load capacity of described testing data interface 210 according to the value of described input voltage, simple and convenient.