1. Technical Field
The present disclosure generally relates to a voltage testing device and method for a power supply.
2. Description of Related Art
After a computer is manufactured, an overall test is required to check the quality. The power supply test is one of the most important tests. A common method for testing the power supply is to use a conventional device to test the power supply and to record corresponding data manually, which is inefficient.
Many aspects of the embodiments can be better understood with references to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
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.”
The computer 10 includes a setting module 11, a control module 13, an adjusting module 15, a storing module 17, and a display module 19.
The oscillograph 30 includes a control unit 31, an obtaining unit 33, a storing unit 35, and a voltage wave producing unit 37.
The setting module 11 is used for setting initial setting parameters, such as time reference, initial voltage offset, signal name, triggering reference, testing items, and initial voltage undulating value, for example, and storing the initial setting parameters to the storing module 17. The control module 13 is used for sending the initial setting parameters to the control unit 31. The control unit 31 is used for storing the initial setting parameters to the storing unit 35.
The obtaining unit 33 is used for obtaining the initial testing parameters when the oscillograph 30 is connected to the power supply 50. The initial testing parameters includes a voltage maximize value and a minimal value during a period of time. The control unit 31 is used for sending the initial testing parameters to the adjusting module 15. The adjusting module 15 is used for sending a current voltage offset and a current voltage undulating value to the control unit 31 of the oscillograph 30, and storing the current voltage offset and the current voltage undulating value to the storing module 17. The control unit 31 is used for storing the current voltage offset and the current voltage undulating value in the storing module 35.
The obtaining unit 33 is further used for obtaining voltage values during a period of time after the storing unit 35 stores the current voltage offset and the current voltage undulating value, and sending the voltage values during the period of time to the voltage wave producing unit 37. The voltage wave producing unit 37 is used for producing a voltage wave according to the voltage values during the period of time and sending the voltage wave and the voltage values during the period of time to control module 13 of the computer via the control unit 31. The control module 1 is further used for displaying the voltage wave and the voltage values during the period of time on the display module 19.
S201, the setting module 11 sets the initial setting parameters and stores the initial setting parameters to the storing module 17; the control module 13 sends the initial setting parameters to the control unit 31; and the control unit 31 stores the initial setting parameters in the storing unit 35.
S203, the obtaining unit 33 obtains initial testing parameters; the control unit 31 sends the initial testing parameters to the adjusting module 15; the adjusting module 15 sends a current voltage offset and a current voltage undulating value to the control unit 31 according to the initial testing parameters, and stores the current voltage offset and the current voltage undulating value to the storing module 17; and the control unit 31 stores the current voltage offset and the current voltage undulating value to the storing unit 35.
S205, the obtaining unit 33 obtains voltage values of the power supply 50 during a period of time, and sends the voltage values to the voltage wave producing unit 37; the voltage wave producing unit 37 produces a voltage wave according to the voltage values and sends the voltage wave and the voltage values to the control module 13 via the control unit 31; and the control module 31 displays the voltage wave and the voltage values on the display module 19.
It is to be understood, however, that even though numerous characteristics and advantages of the embodiments have been set forth in the foregoing description, together with details of the structure and function of the embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in the matters of shape, size, and arrangement of parts within the principles of the present disclosure to the full extent indicated by the broad general meaning of the terms in which the appended claims are expressed.
Number | Date | Country | Kind |
---|---|---|---|
2013100021450 | Jan 2013 | CN | national |