Detailed description of the invention
Referring to Fig. 2, the power source loads test device 100 of better embodiment of the present invention is for carrying out dynamic load test to a tested power supply.In the present embodiment, for described tested power supply, for a VRM200, the present invention will be described.
Power source loads test device 100 includes master controller 10, functional generator 20, draws load circuit 30, current detection circuit 40, enables circuit 50, keyboard circuit 60 and display 70.Functional generator 20 is used for producing a square-wave signal;Draw load circuit 30 for dynamically changing the output electric current of VRM200 according to described square-wave signal;Current detection circuit 40 is for coordinating master controller 10 to detect the output electric current Io of VRM200, i.e. load current, thus obtaining the slope of output electric current Io;Described master controller 10 compares for the slope of output electric current Io and one are preset slope value, and adjusts the waveform of described square-wave signal according to comparative result corresponding control function generator 20, until the slope of output electric current Io is equal with described default slope value.
Seeing also Fig. 3, master controller 10 includes the current detecting pin P1 being electrically connected to the current detection circuit 40 and control pin P2 being electrically connected enable circuit 50.
Load circuit 30 is drawn to include voltage follower U1, the first mos field effect transistor (Metal-Oxide-SemiconductorField-EffectTransistor, MOSFET) Q1, load resistance R0, filter resistance R1, current-limiting resistance R2-R5 and filter capacitor C1.Voltage follower U1 includes in-phase input end 1, inverting input 2, outfan 3 and controls end 4.The in-phase input end 1 of voltage follower U1 is electrically connected to functional generator 20 by current-limiting resistance R2, is used for receiving described square-wave signal;Inverting input 2 passes sequentially through filter resistance R1 and filter capacitor C1 and is electrically connected to outfan 3;Outfan 3 is electrically connected to the grid g1 of a MOSFETQ1 by current-limiting resistance R3;Control end 4 and be electrically connected to enable circuit 50.The source electrode s1 of the oneth MOSFETQ1 passes through load resistance R0 ground connection, and source electrode s1 is also electrically connected to the inverting input 2 of voltage follower U1;The drain electrode d1 of the oneth MOSFETQ1 is electrically connected to the outfan of VRM200.In the present embodiment, source electrode s1 is electrically connected the inverting input 2 of voltage follower U1 by current-limiting resistance R5.The test of the output electric current Io of VRM is impacted by current-limiting resistance R5 for preventing the electric current on the inverting input 2 of voltage follower U1.
Voltage on the outfan 3 of voltage follower U1 and the arc in phase on its in-phase input end 1, and the amplification of voltage follower U1 is approximately 1, therefore, the signal of outfan 3 output of voltage follower U1 is described square-wave signal, described square-wave signal drives a MOSFETQ1 to sequentially turn on and cut-off, thus VRM200 produces a dynamic electric current on load resistance R0, i.e. the output electric current Io of VRM200.
Resolution according to operational amplifier, the electric current of the inverting input 2 of voltage follower U1 is approximately zero, therefore, the pressure drop on current-limiting resistance R5 is only small, and the current potential on the source electrode s1 of a MOSFETQ1 is approximately equal to the current potential of the inverting input 2 of voltage follower U1.The short characteristic of void according to operational amplifier, the current potential of the in-phase input end 1 of voltage follower U1 is equal with the current potential of inverting input 2, and therefore, the amplitude of the current potential on the source electrode s1 of a MOSFETQ1 is equal to the amplitude of described square-wave signal.And the electric current on load resistance R0, namely the value business equal to the current potential on source electrode s1 with the resistance of load resistance R0 of electric current Io is exported, so, by changing the amplitude of described square-wave signal, the size of output electric current Io can be changed, thus, when the identical rise time, electric current Io is more big in output, then its slope is more big.In addition, when changing due to the amplitude of described square-wave signal, the amplitude of output electric current Io also changes therewith, therefore, output electric current Io has rise time identical with described square-wave signal, fall time, frequency and dutycycle, by changing rise time and the fall time of described square-wave signal, also rise time and the fall time of output electric current Io can be changed accordingly, when exporting electric current Io amplitude and being constant, rise time and fall time are more big, then its slope is more little.
In the present embodiment, load circuit 30 is drawn also to include NPN type triode Q2 and PNP type triode Q3.NPN type triode Q2 and PNP type triode Q3 is for strengthening the described square-wave signal driving force to a MOSFETQ1, it is to avoid described square-wave signal distortion cannot driven the oneth MOSFETQ1.Specifically, the outfan 3 of voltage follower U1 is electrically connected to the base stage b1 of NPN type triode Q2 and PNP type triode Q3, b2 by current-limiting resistance R5.The colelctor electrode c1 of NPN type triode Q2 is electrically connected to+5V power supply;Emitter e 1 is electrically connected to the emitter e 2 of PNP type triode Q3, and the node between emitter e 1, e2 is electrically connected to the grid g1 of a MOSFETQ1 by current-limiting resistance R3.The colelctor electrode c2 of PNP type triode Q3 is electrically connected to-5V power supply.Additionally, when a MOSFETQ1 cut-off, PNP type triode Q3 is additionally operable to make the rapid ground connection electric discharge of the charging capacitor (not shown) in a MOSFETQ1, so that a MOSFETQ1 quickly ends, thus improving the response speed of a MOSFETQ1.
Current detection circuit 40 includes operational amplifier U2, current-limiting resistance R6-R8 and feedback resistance R9.Operational amplifier U2 includes in-phase input end 5, inverting input 6, outfan 7 and controls end 8.The in-phase input end 5 of operational amplifier U2 is electrically connected to the node between load resistance R0 and source electrode s1 by current-limiting resistance R6;And the node between in-phase input end 5 and current-limiting resistance R6 is also by current-limiting resistance R8 ground connection.Inverting input 6 is electrically connected to the node between load resistance R0 and ground by current-limiting resistance R7;And the node between inverting input 6 and current-limiting resistance R7 is electrically connected to outfan 7 also by feedback resistance R9.Outfan 7 is electrically connected to master controller 10.Operational amplifier U2 converts the voltage signal output current detecting pin P1 to master controller 10 to after being amplified by the described output electric current Io flow through on load resistance R0, master controller 10 calculates output electric current Io accordingly according to this voltage signal, thus judge the slope of output electric current Io according to the change exporting electric current Io on load resistance R0.
Enabling circuit 50 and be electrically connected to master controller 10, master controller 10 controls to draw the duty of load circuit 30 and current detection circuit 40 by enabling circuit 50.Specifically, enable circuit 50 and include the 2nd MOSFETQ4 and current-limiting resistance R10.The grid g2 of the 2nd MOSFETQ4 is electrically connected to the control pin P2 of master controller 10, source electrode s2 ground connection, and grid d2 is electrically connected to the control end 4,8 of voltage follower U1 and operational amplifier U2.The node controlled between end 4,8 and drain electrode d2 of voltage follower U1 and operational amplifier U2 is electrically connected to a power supply also by current-limiting resistance R10 ,+5V the power supply in present embodiment.Master controller 10 is by controlling conducting and the cut-off of the 2nd MOSFETQ4, and corresponding change controls the level state of end 4 and 8, starts working thus controlling voltage follower U1 and operational amplifier U2 or quits work.In the present embodiment, controlling end 4 and 8, to be high level effective.So, when master controller 10 sends a low level signal (logical zero) to two MOSFETQ4 by controlling pin P2,2nd MOSFETQ4 cut-off, controlling end 4 and 8 to be connected to+5V power supply by current-limiting resistance R10 and be high level, voltage follower U1 and operational amplifier U2 starts working;And when master controller 10 sends a high level signal (logic 1) to two MOSFETQ4 by controlling pin P2,2nd MOSFETQ4 conducting, controlling end 4 and 8 by the 2nd MOSFETQ4 ground connection in low level, voltage follower U1 and operational amplifier U2 quits work.
It is appreciated that described enable circuit 50 also can be only connected to one of them of voltage follower U1 or operational amplifier U2, thus the duty of one of them of voltage follower U1 or operational amplifier U2 is only controlled by master controller 10.
In the present embodiment, described default slope value is inputted by the keyboard circuit 60 being electrically connected to master controller 10.Different default slope value is inputted, it is possible to make to draw load circuit 30 to obtain and different draw load slope by keyboard circuit 60.In addition, the parameters such as the amplitude of described square-wave signal of functional generator 20 output, rise time, fall time, frequency and dutycycle input also by described keyboard circuit 60, master controller 10 receives each parameter of described square-wave signal by keyboard circuit 60, and exports corresponding described square-wave signal according to each state modulator functional generator 20.
Display 70 is electrically connected to described master controller 10, for showing each parameter of described default slope value that keyboard circuit 60 inputs and described square-wave signal under the control of master controller 10.
The work process of power source loads test device 100 described in brief description:
First the drain electrode d1 of the described MOSFETQ1 drawing load circuit 30 is electrically connected to a tested power supply, the VRM200 to be measured in the present embodiment.Then first keyboard circuit 60 inputs the parameters such as described default slope value and the amplitude of described square-wave signal, rise time, fall time, frequency and dutycycle.Master controller 10 controls the above-mentioned information that display 70 shows that keyboard circuit 60 inputs, functional generator 20 according to each state modulator of the square-wave signal of keyboard circuit 60 input exports corresponding described square-wave signal simultaneously, master controller 10 controls to draw load circuit 30 and current detection circuit 40 to start working by enabling circuit 50 subsequently, load circuit 30 is drawn then to drive VRM200 output corresponding output electric current Io according to described square-wave signal, current detection circuit 40 coordinates master controller 10 to detect the change of the described output electric current Io slope to judge described output electric current Io accordingly subsequently.The slope of the output electric current Io detected is compared by master controller 10 again with described default slope value, and finely tune according to the comparative result control function generator 20 amplitude to described square-wave signal and/or rise time and fall time, until the slope of output electric current Io is equal with described default slope value.
Now, power source loads test device 100 can be equivalent to a dynamic electronic load, tests under the effect of device 100 at power source loads so that the output electric current Io of VRM200 is in dynamically change, it is achieved the dynamic test to VRM200.
The waveform of square-wave signal is adjusted by described power source loads test device 100 by master controller 10 control function generator 20, thus can pass through to draw the load slope that draws that load circuit 30 regulates this power source loads test device 100 accordingly to reach described default slope value, can obtain bigger draw load slope thus described default slope value can be arranged as required to.Additionally, the different default slope value according to keyboard circuit 60 input, described power source loads test device 100 also can obtain different drawing load slope accordingly, therefore, has good versatility.