1. Technical Field
The disclosure generally relates to dual inline memory modules (DIMM) slot testing devices, and particularly to an electronic load for testing DIMM slots.
2. Description of the Related Art
To ensure that DIMM slots of a motherboard work normally, performance of the DIMM slot should be tested. In testing, an electronic load is needed, and must consume different electrical loads (e.g., power consumed) for the motherboard.
A typical electronic load includes a simulation load, an adjusting circuit, and a voltage dividing circuit. The simulation load can be a metal-oxide-semiconductor field-effect transistor (MOSFET). The adjusting circuit adjusts a sample voltage from the voltage dividing circuit to change a voltage of a gate of the MOSFET. Thus, a conduction rate of the MOSFET is changed correspondingly such that the electronic load can supply different load currents, thereby correspondingly consuming different electrical loads for the motherboard. However, the adjusting circuit usually includes a sliding rheostat, and the sample voltage of the voltage dividing circuit is changed via adjusting a position of a sliding terminal of the sliding rheostat manually, which is inconvenient.
Therefore, there is room for improvement within the art.
Many aspects of the present embodiments can be better understood with reference 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 present embodiments. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views. Wherever possible, the same reference numbers are used throughout the drawings to refer to the same or like elements of an embodiment.
The voltage input Vin is connected to a power pin (not shown) of the DIMM slot 200, and used to supply power to the electronic load 100.
The comparison circuit 12 includes a comparator 121 and a resistor R1. A positive input of the comparator 121 is connected to the voltage control circuit 13, and receives a control voltage Vcom from the voltage control circuit 13. A negative input of the comparator 121 is connected to the source of the MOSFET M. An output of the comparator 121 is connected to the gate of the MOSFET M through the resistor R1.
The positive input of the comparator 121 is also connected to ground through at least a capacitor for filtering the control voltage Vcom output to the positive input of the comparator 121. In this embodiment, the positive input of the comparator 121 is connected to ground through two capacitors C1, C2 which are connected in parallel.
In one embodiment, the digital potentiometer 132 can be an X9241 digital potentiometer. The digital potentiometer 132 includes a power terminal VBB, a group of address pins A0-A3, a serial clock pin SCL, a serial data pin SDA, a group of sliding pins VW0-VW3, a group of low pins VL0-VL3, and a group of high pins VH0-VH3. The power terminal VBB is connected to the power supply VCC. The group of the address pins A0-A3, the serial clock pin SCL, and the serial data pin SDA are connected to the corresponding control pins RA0-RA5. A sliding pin VW0 is connected to the power supply VCC, and also connected to the ground through two resistors R2, R3 which are connected in series. A low pin VL0 is connected between the resistors R2, R3, and also connected to the positive input of the comparator 121 to output the control voltage Vcom. The group of the sliding pin VW1-VW3, the low pins VL1-VL3, and the high pins VH0-VH3 are all idle.
In use, when the DIMM slot 200 is tested, according to performance of the digital potentiometer 132, an adjustable resistor (not shown) is connected between the sliding pin VW0 and the low pin VL0. A first terminal of the adjustable resistor is connected between the power supply VCC and the resistor R2. A second terminal of the adjustable resistor is connected between the resistors R2, R3. Thus, under the control of the SCM 131, the digital potentiometer 132 can change the resistance of the adjustable resistor, and the control voltage Vcom that the low pin VL0 outputs to the comparator 121 is changed correspondingly.
The sample resistor Rf samples current flowing through the MOSFET M, and outputs the sampled current to the negative input of the comparator 121. According to performance of the comparator 121, when a voltage of the positive input of the comparator 121 equals to a voltage of the negative input of the comparator 121, a steady voltage is output by the comparator 121 to drive the MOSFET M turn on. In detail, a voltage V1 of the negative input of the comparator 121 can be calculated according to the following formula (1):
V1=RL*I (1)
where the parameter RL is a resistance of the sample resistor Rf, and the parameter I is current flowing though the MOSFET M.
Due to the connection of the voltage control circuit 13, the voltage V2 of the positive input of the comparator 121 can be calculated according to the following formula (2):
V2=Vcom (2)
According to the above formulas (1) and (2), the parameter Vcom can be calculated according to the following formula (3):
Vcom=R
L
*I (3)
Thus, when the control voltage Vcom is changed under the control of the SCM 131, the current flowing through the MOSFET M (i.e., simulation load 11) is adjusted correspondingly, and thereby the load power the electronic load 100 consumed for the DIMM slot 200 through the voltage input Vin being adjustable.
In other embodiments, the electronic load 100 further includes a display 14. The display 14 is connected to the SCM 131, and configured for display a voltage value of the voltage input Vin, current value flowing through the simulation load 11, and a load power the simulation load 11 consumed.
The power supply VCC can be an external power source, and can also be integrated with the voltage from the power pin of the DIMM slot 200. In detail, the electronic load 100 further includes a booster 15 (e.g., a voltage booster). A first terminal of the booster 15 is connected to the power pin of the DIMM slot 200. A second terminal of the booster 15 is connected to both the SCM 131 and the digital potentiometer 132. The booster 15 boosts the voltage from the power pin of the DIMM slot 200 and outputting the boosted voltage to both the SCM 131 and the digital potentiometer 132.
In the present specification and claims, the word “a” or “an” preceding an element does not exclude the presence of a plurality of such elements. Further, the word “comprising” does not exclude the presence of elements or steps other than those listed.
It is to be also understood that even though numerous characteristics and advantages of exemplary embodiments have been set forth in the foregoing description, together with details of the structures and functions of the embodiments, the disclosure is illustrative only, and changes may be made in detail, especially in matters of arrangement of parts within the principles of this 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 |
---|---|---|---|
201110375949.6 | Nov 2011 | CN | national |