1. Field of the Invention
The present invention relates to a power supply apparatus configured to supply electric power to a semiconductor device.
2. Description of the Related Art
A test apparatus includes a power supply apparatus configured to supply a power supply voltage or power supply current (which will be referred to as the “power supply voltage Vdd” hereafter) to a device under test (DUT).
A decoupling capacitor C1 is arranged in the vicinity of the power supply terminal of the DUT 1. Furthermore, the output terminal of the power supply apparatus 1100 and the power supply terminal of the DUT 1 are connected via a cable. With such an arrangement, the target to be stabilized by the power supply apparatus 1100 is not the output signal OUT of the power supply output unit 1026, but in actuality is the power supply voltage Vdd applied to the power supply terminal of the DUT 1. With conventional techniques, the controller 1024 outputs a control value such that the difference between the observed value (control target) that is fed back and a predetermined reference value becomes zero. Examples of the observed values include a feedback signal that corresponds to the power supply voltage or the power supply current supplied to the DUT 1. For example, a circuit element 1022 indicated by the subtractor symbol in
PCT Japanese Translation Patent Publication No. 2004-529400
Japanese Patent Application No. 2526859
Japanese Patent Application Laid Open No. H05-313760
Japanese Patent Application Laid Open No. H02-123986
Japanese Patent Application Laid Open No. H09-178820
With conventional techniques, the controller 1024 is configured employing an analog circuit. Accordingly, the overall performance of the controller 1024 is fixedly determined by the performance of the analog elements that form the analog circuit, which is a problem. Furthermore, the control target 1010 is subject to the effects of fluctuation in the load current and the decoupling capacitor C1 arranged in the vicinity of the control target 1010. In addition, in a case in which the controller 1024 is designed giving consideration to the effects of the parasitic parameter 1030, such an arrangement leads to a complicated configuration and an increase in the number of circuit components, which is also a problem.
The present invention has been made in order to solve such a problem. Accordingly, it is an exemplary purpose of an embodiment of the present invention to provide a power supply apparatus which is capable of stably supplying electric power to a semiconductor device.
An embodiment of the present invention relates to a power supply apparatus configured to supply electric power via a power supply line to a semiconductor device having a power supply terminal connected to a capacitor. The power supply apparatus comprises: a current detection unit configured to detect an output current output from the power supply apparatus; and a nonlinear control unit configured to control its output amount so as to provide a balance between an amount of charge with which the capacitor is charged or discharged in a first period, from a first timing at which a change occurs in a load current that flows into the power supply terminal of the semiconductor device until a second timing at which the load current matches the output current, and an amount of charge with which the capacitor is charged or discharged in a second period, from the second timing until a third timing at which the control operation ends.
With such an embodiment, the amount of charge with which the capacitor is charged and the amount of charge with which the capacitor is discharged are appropriately calculated, and the output amount is controlled such that the amount of charge with which the capacitor is charged (discharged) in the first period matches the amount of charge with which the capacitor is discharged (charged) in the second period. Thus, such an arrangement is capable of suppressing fluctuation in the power supply voltage, or provides a reduction in the period of time required to stabilize fluctuation in the power supply voltage. Alternatively, such an arrangement is capable of providing an intentional change in the power supply voltage, and of controlling a period of time required to stabilize the power supply voltage as desired.
Also, a power supply apparatus according to an embodiment may further comprise: a linear control unit configured to control its output amount such that the power supply voltage at the power supply terminal matches a predetermined reference voltage; a load fluctuation detection unit configured to detect a change in the load; and a selector configured to receive the output amount of the linear control unit and the output amount of the nonlinear control unit, to select one from among the output amounts thus received according to detection results obtained by the load fluctuation detection unit, and to output the output amount thus selected.
With such an embodiment, by switching the control operation between the linear control operation and the nonlinear control operation according to the state of the load, such an arrangement provides further stabilization of the power supply voltage.
Another embodiment of the present invention relates to a test apparatus. The test apparatus comprises a power supply apparatus according to any one of the aforementioned embodiments, configured to supply electric power to a device under test.
It is to be noted that any arbitrary combination or rearrangement of the above-described structural components and so forth is effective as and encompassed by the present embodiments. Moreover, this summary of the invention does not necessarily describe all necessary features so that the invention may also be a sub-combination of these described features.
Embodiments will now be described, by way of example only, with reference to the accompanying drawings which are meant to be exemplary, not limiting, and wherein like elements are numbered alike in several Figures, in which:
The invention will now be described based on preferred embodiments which do not intend to limit the scope of the present invention but exemplify the invention. All of the features and the combinations thereof described in the embodiment are not necessarily essential to the invention.
In the present specification, the state represented by the phrase “the member A is connected to the member B” includes a state in which the member A is indirectly connected to the member B via another member that does not substantially affect the electric connection therebetween, or that does not damage the functions or effects of the connection therebetween, in addition to a state in which the member A is physically and directly connected to the member B.
Similarly, the state represented by the phrase “the member C is provided between the member A and the member B” includes a state in which the member A is indirectly connected to the member C, or the member B is indirectly connected to the member C via another member that does not substantially affect the electric connection therebetween, or that does not damage the functions or effects of the connection therebetween, in addition to a state in which the member A is directly connected to the member C, or the member B is directly connected to the member C.
The test apparatus 2 includes a driver DR, a comparator (timing comparator) CP, a power supply apparatus 100, and so forth. The driver DR is configured to output a test signal to the DUT 1. The test signal is generated by an unshown timing generator TG, pattern generator PG, waveform shaper FC, and so forth (none of which is shown in the drawing), and is input to the driver DR. The signal output from the DUT 1 is input to the comparator CP. The comparator CP compares the signal received from the DUT 1 with a threshold value, and latches the comparison result at an appropriate timing. The output of the comparator CP is compared with its expected value. The above is the schematic configuration of the test apparatus 2.
Detailed description will be made regarding the power supply apparatus 100 according to an embodiment. The power supply apparatus 100 is connected to the power supply terminal P1 of the DUT 1 via a power supply line LVDD. A bypass capacitor (capacitor C1) is connected in the vicinity of the power supply terminal P1 of the DUT 1. It should be noted that the combined capacitance obtained by combining the capacitor C1, the parasitic capacitance of the power supply line LVDD, the capacitance that occurs between the power supply terminal P1 and the substrate, and so forth, shown in
The power supply apparatus 100 includes a linear control unit 10, an adder 12, a nonlinear control unit 20, a current detection unit 30, a selector 40, and a load fluctuation detection unit 42. The power supply apparatus 100 may be configured as an analog circuit, a digital circuit, or an analog/digital hybrid circuit.
The power supply apparatus 100 controls its output amount SOUT, according to the state of the load. The output amount SOUT represents either the output voltage VS or the output current Iout, or represents both of them. The power supply apparatus 100 is configured to be switchable between the linear control mode φL and the nonlinear mode φNL. In the linear control mode φL, the selector 40 selects the output amount SOUT1 (output voltage VS1) of the linear control unit 10. In the nonlinear control mode φNL, the selector 40 selects the output amount SOUT2 (output voltage VS2) of the nonlinear control unit 20. The selector 40 outputs the output amount thus selected as the output amount SOUT (output voltage VS). The load fluctuation detection unit 42 controls the selector 40 according to a signal which indicates the state of the DUT 1, such as the output current IOUT or the power supply voltage Vdd supplied from the power supply apparatus 100 to the DUT 1, thereby switching the control mode between the linear control mode φL and the nonlinear control mode φNL.
1. Linear Control Mode φL
In the linear control mode φL, the output voltage VS1 is controlled mainly by the adder 12 and the linear control unit 10. The adder 12 generates a difference signal S1 which indicates the difference between the power supply voltage Vdd and its target value Vref. The linear control unit 10 controls its output voltage VS1 (output amount) using a conventional linear control method such that the difference indicated by the difference signal S1 becomes zero, i.e., such that the power supply voltage Vdd matches the target value Vref. In a case in which the linear control unit 10 is configured as a digital circuit, a PI control operation or a PID control operation is performed. In a case in which the linear control unit 10 is configured as an analog circuit, the adder 12 may be configured as an error amplifier (operational amplifier), and the linear control unit 10 may be configured as a linear regulator or a switching regulator (DC/DC converter).
2. Nonlinear Control Mode φNL
In the nonlinear control mode φNL, the output voltage VS2 is mainly controlled by the nonlinear control unit 20 and the current detection unit 30.
The current detection unit 30 detects the output current IOUT output from the power supply apparatus 100 to the DUT 1. For example, the current detection unit 30 may include a detection resistor RM arranged on a path of the output current IOUT and an amplifier 32 configured to amplify and detect the voltage drop VM that occurs at the detection resistor RM. The current detection unit 30 outputs an output current detection signal S2 which indicates the output current IOUT.
The nonlinear control unit 20 receives a voltage detection signal S3 which indicates the power supply voltage Vdd and the output current detection signal S2 which indicates the output current IOUT, and controls its output amount SOUT2 according to the detection signals thus received. Description will be made separately regarding the operations of the nonlinear control unit 20 in a first period τ1 and a second period τ2.
Before the time point t0, the power supply apparatus 100 is in a static state in which the output voltage VS is stabilized in the linear control mode φL. Let us say that, when t<t0, the load current IL and the output current IOUT are each zero, and at the time point t0, the load sharply increases from zero to a certain level. Upon detecting such a situation, the power supply apparatus 100 transits to the nonlinear control mode φNL provided by the nonlinear control unit 20.
During the first period τ1, the relation IL>IOUT holds true. Accordingly, a current IC=(IL−IOUT) which matches the current shortfall is supplied from the load capacitor CL to the power supply terminal of the DUT 1. That is to say, the capacitor CL is discharged by the charging/discharging current IC=IL−IOUT. The discharge amount Qdischarge is represented by the hatched area in the first period τ1 in
After the second timing tres, the relation IL<Iout holds true. In this state, the load capacitor CL is charged with the current IC=IOUT−IL, thereby increasing the power supply voltage Vdd. The charging amount Qcharge is represented by the hatched area in the second period τ2 in
The nonlinear control unit 20 controls its output amount Sout, i.e., the output voltage VS2 and the output current Iout, so as to provide a balance (matching) between an amount of charge Qdischarge with which the load capacitor CL is charged or discharged in the first period τ1 and an amount of charge Qcharge with which the load capacitor CL is charged or discharged in the second period τ2.
The relation Expressions (1) and (2) hold true between the load current IL, the output current IOUT, the discharging amount Qdischarge, and the charging amount Qcharge. With such an arrangement, the output amount Sout is controlled such that Expression (3) holds true, thereby restoring the power supply voltage Vdd to the target voltage Vref.
[Expression 1]
By means of such a nonlinear control operation by the nonlinear control unit 20, at the time point tend, the power supply voltage Vdd becomes the same as the reference voltage Vref. After the load enters the static state, the control operation is switched from the nonlinear control operation to the linear control operation.
It should be noted that description will be made regarding the present embodiment directing attention to a case in which the load current IL sharply increases from a given level.
If the linear control operation is continued even after a sharp change occurs in the load, a long period of time is required to restore the power supply voltage Vdd to the target voltage Vref due to the insufficient response speed of the feedback operation. Furthermore, such an arrangement leads to an increase in the amount of power supply voltage drop ΔV. In contrast, with the power supply apparatus 100 shown in
Next, description will be made regarding a specific operation and an example configuration of the nonlinear control unit 20.
A/D converters 34 and 58 respectively convert the analog output current detection signal S2 and the analog voltage detection signal S3 into digital signals. The nonlinear control unit 20 includes a load current calculation unit 22, a charge amount calculation unit 24, an output amount calculation unit 26, and a D/A converter 28. The D/A converter 28 converts the output amount Sout2 output from the output amount calculation unit 26 in the form of digital data into the output amount Sout2 in the form of analog data. The D/A converter 28 may be configured as a voltage DAC or a current DAC. In the former case, the output amount Sout2 is configured as the output voltage VS. In the latter case, the output amount Sout2 is configured as the output current Iout.
The load current calculation unit 22 calculates the load current IL that flows into the power supply terminal P1 of the DUT 1, and generates a load current detection signal S4 which indicates the load current IL thus calculated. The charge amount calculation unit 24 calculates the amount of charge Q with which the load capacitor CL is charged or discharged, and generates a charge amount detection signal S5 which indicates the amount of charge Q thus calculated. The output amount calculation unit 26 calculates the output amount Sout2 based upon the load current IL indicated by the load current detection signal S4 and the amount of charge Q indicated by the charge amount detection signal S5 so as to provide a balance between the amount of charge calculated for the first period τ1 and the amount of charge calculated for the second period τ2.
The load current calculation unit 22 multiplies the differential value dVdd/dt of the power supply voltage Vdd by the capacitance value of the load capacitor CL so as to generate a charging/discharging current detection signal S6 which indicates the charging/discharging current IC that flows into or from the load capacitor CL. As described above, the charging/discharging current IC is represented by the difference between the load current IL and the output current Iout. With such an arrangement, the load current calculation unit 22 subtracts the charging/discharging current IC(S6) from the output current Iout(S2) so as to generate the load current detection signal S4 which indicates the load current IL.
The load current calculation unit 22 may include a multiplier 50 configured to multiply the voltage detection signal S3 by a coefficient CL/dt, a delay circuit 52 configured to delay the output of the multiplier 50 by one sampling time, an adder 54 configured to calculate the difference between the output of the multiplier 50 and the output of the delay circuit 52, and a subtractor 56 configured to subtract the output of the adder 54 from the output current detection signal S2. Here, dt represents the one sampling time.
The charge amount calculation unit 24 integrates the difference between the load current IL and the output current Iout, i.e., integrates the charging/discharging current IC, thereby calculating the amount of charge Q. The charge amount calculation unit 24 may include: an adder 60 configured to subtract the output current detection signal S2 from the load current detection signal S4 so as to calculate a charging/discharging current detection signal S6′; and a integrator 62 configured to integrate the output of the adder 60 so as to generate the charge amount detection signal S5. It should be noted that the adder 60 may be omitted, and the charging/discharging current detection signal S6, which is the output of the adder 54, may be input to the integrator 62.
Next, description will be made regarding a specific operation of the output amount calculation unit 26.
In
1. Detection Based on the Difference Signal S1 (Vref−Vdd)
When the difference between the target voltage Vref and the power supply voltage Vdd exceeds a predetermined threshold value Vth, the load fluctuation detection unit 42 may judge that a change has occurred in the load.
2. Detection Based on the Output Current Detection Signal S2 (Iout)
When the output current Iout exceeds a predetermined threshold value Ith, the load fluctuation detection unit 42 may judge that a change has occurred in the load.
3. Detection Based on the Charging/Discharging Current Detection Signal S6 (IC)
When the charging/discharging current IC has become a substantially nonzero value, or when the absolute value of the charging/discharging current IC exceeds a predetermined threshold value, the load fluctuation detection unit 42 may judge that a change occurs in the load.
4. Detection Based on the Rate of Change With Respect to Time (dIL/dt) in the Load Current Detection Signal S4 (Load Current IL)
When the rate of change (differential value) of the load current IL with respect to time has become a substantially nonzero value, or when the absolute value of the differential value exceeds a predetermined threshold value, the load fluctuation detection unit 42 may judge that a change has occurred in the load.
5. Detection Based on the Load Current Detection Signal S4 (load current IL)
When the load current IL exceeds a predetermined threshold value, the load fluctuation detection unit 42 may judge that a change has occurred in the load.
That is to say, the load fluctuation detection unit 42 may preferably detect a sharp change in the load (transition from a static state to a transient state) using any one of such methods.
A certain delay occurs from the time point at which a change occurs in the load up to a timing tstart at which the load fluctuation detection unit 42 detects the change in the load and the nonlinear control operation is started. During the delay period, the linear control unit 10 performs the linear control operation. In the state s-1, an initial amount of charge Q0, which is an amount of charge with which the load capacitor CL is to be discharged during the delay period, is calculated, which is a pre-processing step for the subsequent nonlinear control operation.
If the linear control operation has a slow response speed, calculation can be made assuming that the output current Iout is zero during a period from the time point t0 up to the time point tstart. With the delay time Tdelay as the number of cycles Ndelay in units of the system sampling time TS, the initial amount of charge Q0 can be calculated based upon Expression (4). A predetermined value may be used as the number of cycles Ndelay. Also, the number of cycles Ndelay may be estimated based upon the value of the slope of the power supply voltage Vdd curve and the value of the power supply voltage Vdd at the time point tstart.
[Expression 2]
Alternatively, instead of using the aforementioned approximate expression to calculate the initial amount of charge Q0, a more detailed calculation may be made. Also, in a case in which the delay time Tdelay is sufficiently short, the calculation of the initial amount of charge Q0 may be omitted.
Subsequently, the state transits to the state s-2, in which the processing that corresponds to the aforementioned first period τ1 is performed. With the present embodiment, the length Tres of the first period τ1 is determined beforehand to be Nres, which is the number of signal processing cycles. During the first period τ1 (Tres=TS×Nres), the output amount Sout is controlled such that the length of the first period τ1 matches such a predetermined value, i.e., the output current Iout matches the load current IL after the end of the Nres cycles of signal processing from the start of the control operation.
During the first period τ1, the output amount calculation unit 26 controls the output amount Sout such that there is a monotonic change (change with a constant slope α) in the output current Iout. If the output current Iout at the time point tstart is approximated as being zero, the slope α of the output current Iout curve is represented by IL/Tres=IL/(tres−tstart).
That is to say, the output current Iout in the first period τ1 is represented by the following Expression.
I
out(t)=IL/Tres=IL×(tres−tstart) (5)
By discretization of the current in the time direction, the slope α of the output current Iout is represented by IL/(TS×Nres).
In the k-th cycle in the state s-2, the following Expressions (6) and (7) hold true.
t=t
start
+k×T
S (6)
I
out(tstart+kTS)=IL/Nres×k (7)
If, for ease of understanding and simplicity of description, the parasitic parameter 4 is taken to be negligible, the following Expression (8) holds true between the output voltage VS2 and the output current Iout. Thus, in a case in which the output stage of the nonlinear control unit 20 is configured as a voltage source, such a voltage source may preferably generate an output voltage VS2 which satisfies Expression (8).
V
S(t)=Iout(t)×RM+Vdd(t) (8)
It should be noted that, in a case in which the output stage of the nonlinear control unit 20 is configured as a current source, the output amount Sout may preferably be changed according to Expression (7). In this case, the calculation represented by Expression (8) becomes unnecessary.
Subsequently, the state transits to the state s-3 in which an operation that corresponds to the second period τ2 is performed. With the present embodiment, the length of the second period τ2 is also determined beforehand as the number of cycles Nend. In the second period τ2, the following operation is performed.
During the second period τ2, the output amount calculation unit 26 controls the output amount Sout such that the output current Iout is maintained at a constant level. That is to say, the output current Iout required to charge the load capacitor CL for a given length Tend (=tend−tres) of the second period τ2 with an amount of charge that matches the discharged charge amount Qdischarge calculated for the first period τ1 (state s-2) is represented by the following Expression (9).
I
out
=Q
discharge
/T
end (9)
After the processing ends at the time point tend, the state transits to the state s-4. The output voltage VS at the time point at which the processing ends reaches the ideal control amount IL·RM+Vref, at which the power supply voltage Vdd is ideally equal to Vref. In practice, taking into account the margin of error, the control operation is preferably returned to the linear control operation in the state s-0 after the ideal control amount of the output voltage VS is output for several cycles.
During the second period τ2, the output amount calculation unit 26 controls the output amount Sout such that there is a monotonic change in the output current Iout, and such that the output current Iout becomes equal to the load current IL at the third timing tend, which is the endpoint of the second period τ2.
In the second period τ2, with the amount of charge Q to be charged as Q, and with the length of the second period τ2 as (tend−tres), the following relation expression may preferably be satisfied.
(Iout(tres)−IL)×Tend/2=Q (10)
From the aforementioned Expression (10), the output current Iout at the time point tres is represented by the following Expression (11).
I
out(tres)=Q×2/Tend+IL (11)
Furthermore, the slope β of the output current Iout curve in the second period τ2 is represented by the following Expression (12).
β=Q×2/Tend2 (12)
Thus, the output current Iout(t) in the second period τ2 is represented by the following Expression (13).
I
out(t)=Q×2/Tend+IL−β×(t−tres) (13)
By discretization of the aforementioned Expression (13) using the relation Tend=Nend×TS and t=tres+kTS, the following Expression (14) is obtained.
I
out(t)=Q×2/(TS×Nend)×{1+k/Nend}+IL (14)
The output amount calculation unit 26 calculates the output voltage VS for the cycle k using Expressions (8) and (14), and outputs the calculation result of the output voltage VS to the D/A converter 28.
The waveform (i) shows a case in which Nres=Nend=7, i.e., a case in which a total of 14 cycles of signal processing are performed. The waveform (ii) shows a case in which Nres=Nend=11, i.e., a case in which a total of 22 cycles of signal processing are performed. The waveform (iii) shows a case in which a linear control operation (PID control operation) is performed. There is not necessarily a need to set the length determined by Nres and the length determined by Nend to be the same. Rather, Nres and Nend can be determined independent of each other. As described above, with the power supply apparatus 100 according to the embodiment, by performing such a nonlinear control operation using such a capacitance balance method when a change occurs in the load, such an arrangement provides reduced fluctuation in the output voltage Vdd, and/or provides a reduction in the period of time required to stabilize the output voltage Vdd, as compared with an arrangement in which only a linear control operation is performed. Also, by changing the length Tres of the first period τ1, such an arrangement is capable of controlling the waveform of the power supply voltage Vdd. In the same way, by adjusting the length Tend of the second period τ2, such an arrangement is capable of controlling the waveform of the power supply voltage Vdd.
Description has been made regarding the prevent invention with reference to the embodiments. The above-described embodiments have been described for exemplary purposes only, and are by no means intended to be interpreted restrictively. Rather, various modifications may be made by making various combinations of the aforementioned components or processes. Description will be made below regarding such modifications.
Description has been made in the embodiment regarding an arrangement in which, during the first period τ1, the output current Iout is increased in a linear manner. However, the present invention is not restricted to such an arrangement. For example, in the first period τ1, the output current Iout may be changed in an exponential manner. Also, in the second period τ2, the output current Iout may be changed in an exponential manner.
Description has been made in the embodiment regarding an arrangement in which the length of the first period τ1 and the length of the second period τ2 are each determined beforehand. However, the present invention is not restricted to such an arrangement. For example, an arrangement may be made in which the slope α of the output current Iout in the first period τ1 is determined beforehand, and the first period τ1 is calculated based upon the slope α. Similarly, an arrangement may be made in which the slope β of the output current Iout in the second period τ2 is determined beforehand, and the second period τ2 is calculated based upon the slope β.
Description has been made in the embodiment directing attention to a case in which a sharp increase occurs from a given level in the load current IL. Also, the present invention can be effectively applied to a case in which a sharp drop occurs in the load current IL. In this case, such an arrangement may preferably perform a control operation in which a charging operation is performed in the first period τ1 and a discharging operation is performed in the second period τ2 so as to provide a balance between the amount of charge in the charging operation and the amount of charge in the discharging operation, which is similar to what is described in the embodiment.
Description has been made in the embodiment regarding an arrangement configured to perform an operation so as to stabilize the power supply voltage Vdd in a short period of time. However, the present invention is not restricted to such an arrangement. By modification of the aforementioned various kinds of parameters, such as Nres, Nend, etc., such an arrangement is capable of emulating various kinds of power supply performance.
In a case in which the output stage of the nonlinear control unit 20 is configured as a current source which is capable of controlling its output current Iout, the current detection unit 30 may be omitted, and the control amount that is to be set for the current source may be used as the output current detection signal S2.
Description has been made in the embodiment regarding a power supply mounted on a test apparatus. However, the present invention is not restricted to such an arrangement. Rather, the present invention can be applied to a power supply apparatus configured to supply electric power to a wide range of general kinds of semiconductor devices and electronic circuits.
While the preferred embodiments of the present invention have been described using specific terms, such description is for illustrative purposes only, and it is to be understood that changes and variations may be made without departing from the spirit or scope of the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
2010-274560 | Dec 2010 | JP | national |