Showing posts with label constant current. Show all posts
Showing posts with label constant current. Show all posts

Monday, February 9, 2015

Consider using an electronic load for generating fast, high-power current pulses

Often there is the need for generating high-power current pulses, typically of short duration, and having rise and fall times on the order of microseconds. This is a common need when testing many types of power semiconductors, for example.

When looking for a DC power supply capable of generating very fast, high-power current pulses, one will find there are not a lot of options readily available that are capable of addressing their needs. There are specialized products dedicated for specific applications like this; an example of this is Keysight’s B1505A purpose-built semiconductor test equipment. They are capable of generating extremely fast, high-power current pulses.

Apart from specialized products however, DC power supplies generally to not offer this kind of speed when operating in a constant current mode (or current priority mode). One exception that comes to mind that we provide is our N6782A and N6782A DC source measure modules. They can create fast current pulses having just a couple of microseconds of rise and fall time. However, they are limited to 20V, 3A, and 20W of output. Most of the higher power, more general-purpose DC sources are not able to generate these kinds of fast, high-power current pulses and most are really more optimized to operate as voltage sources.

One alternative to consider for generating fast, high-power current pulses when working with general-purpose test equipment is to use an electronic load. You may initially say to yourself “an electronic load is for drawing pulses of current, not sourcing them!” but when coupled to a standard DC power supply operating as a voltage source, the setup is able to source fast, high-power current pulses. Most electronic loads are designed to have very fast current response. To illustrate this, I helped one customer needing to test their high brightness LED (HBLED) arrays with fast pulses of current. This was accomplished with the setup shown in Figure 1.


Figure 1: Load setup generating fast, high power current pulses for LED array testing

In this setup the power supply operates as a fixed, static voltage source. The power supply’s output voltage is set to the combined total of the full voltage needed to drive the HBLED array at full current plus the minimum voltage needed for the electronic load. The minimum voltage required for the electronic load is when it conducting maximum current and most of the power supply voltage is then applied across the HBLED array. The electronic load’s required minimum voltage is that which supports its operation in its linear range and maintains full dynamic response characteristics. In the case of Keysight electronic loads this minimum voltage for linear dynamic operation is 3 volts.  Conversely the maximum voltage required for the electronic load is when it drops down to minimum current level, where the power supply’s voltage is instead now being dropped across the electronic load instead of the HBLED array. Note that the electronic load may need to maintain a very small amount of bleed current to maintain linear operation in order to provide truly fast rise and fall times. In this way the electronic load is able to regulate the current across the full range with excellent dynamic response. This can be seen in Figure 2 where we were able to achieve approximately 15 microsecond rise time right from the start.


Figure 2: Pulsed current rise time in HBLED array

One advantage of this setup is the wide range of voltage and power that can be furnished to the DUT using a relatively low power electronic load. A common characteristic of electronic loads is that they can dissipate a given amount of power over an extended range of current and voltage. When the electronic load is at maximum current it is at minimum voltage. Conversely when it is near or at zero current it is then at its maximum voltage. In both cases there is only a small amount of power that the electronic load needs to dissipate. For an HBLED array it does not conduct a lot of current until it reaches about 75% of its full operating voltage. As a result the electronic load does not see a lot of power even on a transient basis. For this particular situation we chose to use the Keysight N3303A 240V, 10A, 250W electronic load. This gave a wide range of voltage, current, and power for testing a comparably wide range of different HBLED array assemblies.

So next time you need to source fast, high-power current pulses, you may want to think “load” instead of “source”!


Wednesday, January 7, 2015

A new current measurement methodology: It’s all about counting the electrons going by!

One thing near and dear to us here at the Power and Energy Division is making accurate current measurements. What exactly is current? It’s basically the flow of electric charge per unit of time. In a conductor it’s the flow of electrons through it per unit of time. 

The ampere is the fundamental unit of current in coulombs per second, which equates to 6.241x1018 electrons per second. Accurate current measurement is one of the core values of virtually all of our products. Some of the precision SMU products can measure down to femtoamp (fA) levels (10-15 amps). This is where we tend to muse that we’re getting down to the levels where we’re virtually counting the individual electrons going by.

While there are a few different ways of measuring current, by far the most common is to measure the voltage drop across a resistive shunt. With careful design this provides the most accurate means of current measurement. There are a lot of non-obvious factors that can introduce unexpected errors that many are not aware of, leading them to believe they have better accuracy than what it really is. A good discussion of what it takes to truly make accurate current measurements was covered in a previous posting “How to make more accurate current measurements”(click here to review). We go through great pains in addressing these things in our products in order to provide accurate and repeatable measurements.

Unlike the volt and the ohm, which have quantum standards for their electrical units, the ampere instead relies on the standards for the volt and ohm for measurement, as a quantum standard for the ampere that directly relates it back to charge is still lacking. However, that may change in the not too distant future. A group of scientists were awarded the Helmholtz Prize in metrology for realization of the measurement of the ampere based on fundamental constants. Basically they’ve created an electron charge pump that moves a small, fixed quantity of electrons under control by a clock. You can say they’re literally “counting the electrons as they go by”. This could become the new SI standard reference for current measurement. To me this is very fascinating to find out about. More can be learned on this from the following link to the press release “Helmholtz Prize for the “new” ampere”(click here to review).  I am curious to see how this all plays out in the long run. Maybe it will lead to yet another, and better, way to make more accurate current measurements in products we all use today in our work in electronics!

Wednesday, August 20, 2014

Some differences between constant current (CC) and constant resistance (CR) loading on your DUT’s performance

Most electronic loads provide constant current (CC), constant resistance (CR) and constant voltage (CV) loading. Some also offer constant power (CP) loading as well. The primary reason for this is this gives the test engineer a choice of loading that best addresses the loading requirement for the DUT, which invariably is some kind of power source.

Most usually the device should be tested with a load that reflects what the loading is like for its end use. In the most common case of a device being predominantly a voltage source the most common loading choices are either CC or CR loading, which we will look at in more detail here. Some feel they can be used interchangeably when testing a voltage source. To some extent this is true but in some cases only one or the other should be used as they can impact the DUT’s performance quite differently.

Let’s first consider static performance. In Figure 1 we have the output characteristics of an ideal voltage source with zero output resistance (a regulated power supply, for example) and a non-ideal voltage source having series output resistance (a battery, for example).  Both have the same open circuit (no load) voltage. Superimposed on these two source output characteristics are two load lines; one for CC and one for CR. As can be seen they are set to draw the same amount of current for the ideal voltage source. However, for the non-ideal voltage source, while the CC load still continues to draw the same amount of current in spite of the voltage drop, not surprisingly the CR load draws less current due to its voltage-dependent nature.




Figure 1: CC and CR loading of ideal and non-ideal voltage sources

CC loading is frequently used for static power supply tests for a key reason. Power supplies are usually specified to have certain output voltage accuracy for a fixed level of current. Using CC loading assures the loading condition is met, regardless of power supply’s output voltage being low or high, or in or out of spec. Non-ideal voltage sources, like batteries, present a little more of a problem and are often specified for both CC and CR loading as a result, to reflect the nature of the loading they may be subjected to in their end use. Due to a battery's load-dependent output voltage, trying to use one type of loading in place the other becomes an iterative process of checking and adjusting loading until the acceptable operating point is established.

Let’s now consider dynamic performance.  CC loading generally has a greater impact on a power supply’s ability to turn on as well as its transient performance and stability, in comparison to CR loading. When the power supply first starts up its output voltage is at zero. A CR load would demand zero current at start up. In comparison a CC load still demands full current. Some power supplies will not start up properly under CC loading. With regard to transient response and stability, CR loading provides a damping action, increasing current demand when the transient voltage increases and decreases demand when the transient voltage decreases, because the current demand is voltage dependent. CC loading does not do this, which can negatively influence transient response and stability somewhat. Whether CC or CR loading is used depends on what the power supply’s specifications call out for the test conditions. Batteries have some dynamic considerations as well. Their output response can be modeled as a series of time constants spanning a wide range of time. This presents somewhat of a moving target for an algorithm that uses an iterative approach to settling on an acceptable operating point.


This is just a couple of examples of how a load’s characteristic affects the performance of the device it is loading, and why electronic loads have multiple operating modes to select from, and worth giving thought next time towards how your device is affected by its loading!

Monday, February 24, 2014

How to test the efficiency of DC to DC converters, part 2 of 2

In part 1 of my posting on testing the efficiency of DC to DC converters (click here to review) I went over the test set up, the requirements for load sweep synchronized to the measurements, and details of the choice of the type and set up of the current load sweep itself. In this second part I will be describing details of the measurement set up, setting up the efficiency calculation, and results of the testing. This is based on using the N6705B DC Power Analyzer, N6782A SMUs, and 14585A software as a platform but a number of ideas can be applicable regardless of the platform.




Figure 1: Synchronized measurement and efficiency calculation set up

The synchronized measurement and efficiency calculation set up, and display of results are shown in Figure 1, taking note of the following details corresponding to the numbers in Figure 1:
  1. In the 14585A the data logging mode was selected to make and display the measurements. The oscilloscope mode could have just as easily been used but with a 10 second sweep the extra speed of sampling with the oscilloscope mode was not an advantage. A second thing about using the data logging mode is you can set the integration time period for each acquisition point. This can be used to advantage in averaging out noise and disturbances as needed for a smoother and more representative result. In this case an integration period of 50 milliseconds was used.
  2. To synchronize the measurements the data log measurement was set to trigger off the start of the load current sweep.
  3. Voltage, current, and power for both the input and output SMUs were selected to be measured and displayed. The input and output power are needed for the efficiency calculation.
  4. The measurements were set to seamless ranging. In this way the appropriate measurement range for at any given point was used as the loading swept from zero to full load.
  5. A formula trace was created to calculate and display the efficiency in %. Note that the negative of the ratio of output power to input power was used. This is because the SMU acting as a load is sinking current and so both its current and power readings are negative.


With all of this completed really all that is left to do is first start the data logging measurement with the start button. It will be “armed” and waiting from a trigger signal from the current load sweep ARB that had been set up. All that is now left to do is press the ARB start button. Figure 2 is a display of all the results after the sweep is completed.




Figure 2: DC to DC Converter efficiency test results

All the input and output voltage, current, and power measurements, and efficiency calculation (in pink) are display, but it can be uncluttered a bit by turning off the voltages and currents traces being displayed and just leave the power and efficiency traces displayed. This happened to be special DC to DC converter designed to give exceptionally high efficiency even down to near zero load, which can be seen from the graph. It’s interesting to note peak efficiency occurred at around 60% of full load and then ohmic losses start becoming more significant.

And that basically sums it all up for performing an efficiency test on a DC to DC converter!

Wednesday, January 29, 2014

Using a DC Power Supply to Regulate Energy

In a previous 2-part posting I talked about what power and energy is (part 1 – energy) (part 2 – power).  It is pretty straight-forward thing to do to use a DC power supply for regulating voltage or current. Constant voltage (CV) and constant current (CC) regulation are standard features of most all DC power supplies used in testing. However, what if you have an unusual application calling for applying a fixed amount of energy to your device under test (DUT)? For example, adding a fixed amount of energy to a calorimeter or chemical process, or testing the must (or must not) tripping energy of a fuse, or circuit breaker, or squib or detonator perhaps?

When the resistance of a device remains constant, it is relatively straight-forward to apply a fixed amount of energy to a DUT. By applying a fixed voltage or current, the power in the DUT remains constant. Then the energy is simply:

E = (V2/R)*t = (I2*R)*t

Where E is the energy in watt-seconds or joules, V is voltage in volts, R is resistance in ohms, I is the current in amps, and t is time in seconds. All you now need to do is apply the constant voltage or current for a pre-determined amount of time and you will then be delivering a fixed amount of energy to your DUT.

Many times however, a lot of DUTs do not maintain constant loading. The may have a dynamically varying loading by nature or its resistance dramatically increases as it heats up. How do you regulate a fixed amount of energy to your DUT under these circumstances? One possibility is to use one of a few specialized power supplies on the market can regulate their outputs with constant power. As the DUT’s loading decreases or increases the power supply will adjust its output accordingly in order to maintain a constant output power delivered to the DUT.  Again then, by applying this constant power for a pre-determined amount of time you will then be delivering a fixed amount of energy to your DUT.

Still, for DUTs that do not maintain constant loading, it is very often not desirable, or outright unacceptable, to apply constant power sourcing.. It may be you can only apply a fixed voltage or current to your DUT. What can you do for these circumstances? Time can no longer remain a fixed value when trying to regulate a fixed amount of energy. The solution becomes quite a bit more complex, as depicted in Figure 1.




Figure 1: Regulating a fixed amount of energy to a DUT

Putting the solution depicted in Figure 1 into practice can prove challenging. The watt-hour meter needs to provide a trigger out signal when the desired watt-hour (or watt-second) threshold level is reached. This becomes even more challenging if this response time required needs to be just fractions of a second for this set up. More than likely this may become a piece of customized hardware.

Interestingly this very set up can be programmatically configured within our N6900A and N7900A series Advanced Power System (APS) power supplies. These products have Amp-hour and Watt-hour measurement integrated into their measurement systems. Not only can you measure these parameters, there is a programmable way to act on them in a variety of ways as well, which is the expression signal routing. Logical expressions can be programmed and downloaded into APS, which then acts on them at hardware-level speeds.  Creating and loading the signal routing expression into the APS unit is simplified by using the N7906A Power Assistance software, which let me do it graphically, as shown in Figure 2.



Figure 2: Graphically developing and loading an energy limit setting into an Agilent APS unit

In Figure 2 a threshold comparator was set to generate a trigger output at a level of 0.0047 watt-hours. This trigger was then routed to the output transient system, to cause the output to transition to a new output level when triggered. I had entered in zero volts as the triggered output level. Thus when the watt-hour reading reached its trigger point, the output went to zero, cutting off any more power and energy from being delivered to the DUT.

The SCPI command set for this signal routing expression is also generated from this software utility by clicking on “SCPI to clipboard”. This saves on the effort generating the code manually if you are incorporating the expression into a larger test program. For this expression the code generated is:

:SENSe:THReshold1:FUNCtion WHOur
:SENSe:THReshold1:WHOur 0.0047
:SENSe:THReshold1:OPERation GT
:SYSTem:SIGNal:DEFine EXPRession1,"Thr1"
:TRIGger:TRANsient:SOURce EXPRession1


To test things out a 1.18 ohm resistive load was used to draw 84.75 watts for a 10 volt output setting. The output cut back to zero volts at nearly 200 milliseconds, as expected. This is shown in the oscilloscope capture in Figure 3.



Figure 3: APS output for an 84.75 watt load and energy limit set to 0.0047 watt-hours

The load power was then doubled by increasing the output voltage to 14.142 volts. The APS output cut back to zero volts in half the time, delivering the same amount of energy, as expected. This is depicted in the oscilloscope capture in Figure 4.



Figure 4: APS output for a 169.5 watt load and energy limit set to 0.0047 watt-hours

While using a resistor makes it easy to see that a set amount of energy is being delivered to the load. However, being able to act on a real time watt-hour energy measurement makes it very practical to do deliver a fixed amount of energy, regardless of the dynamic nature of the load over time.

Wednesday, November 6, 2013

Paralleling power supplies for more power without compromising performance!

A year ago my colleague here, Gary, provided a posting “How can I get more power from my power supplies?” (Click here to review). He describes connecting power supplies in series for higher voltage or in parallel for higher current. Along with suggested set ups a list of requirements and precautions are also provided.

Connecting multiple power supplies in parallel operating as voltage sources is always problematic as there will be some imbalance of voltage between them. That’s why, in this previous posting, one unit operates as a voltage source and the remaining paralleled units operate in constant current. The compliance voltage limit of all the units operating in constant current need to be set higher than the master in operating in constant voltage in order to maintain this operation. This is illustrated in Figure 1.



Figure 1: Operating power supplies in parallel for higher power


As long as a high level of loading is maintained the paralleled units remain in their respective operating modes (in this case at least 2/3 loading). However, what happens if you cannot maintain that high level of loading? It is possible in practice to operate at lighter loads with this approach. In this case it is important to set the voltage levels of all the units the same. Now what happens is when the units are fully loaded they operate as already described, with the lowest voltage unit remaining in constant voltage. But when they are unloaded the lower voltage units transition to unregulated operation and the highest voltage unit then maintains the overall output in constant voltage. This is shown in Figure 2, for 0 to 1/3 loading.














Figure 2: Conditions of power supplies connected in parallel at light loading

There is a bit of performance compromises as a result. The transition between the lowest and highest voltage limits adds to the voltage regulation. Also, due to different units experiencing mode crossover transitions between constant voltage, constant current and unregulated operating modes transient voltage performance suffers considerably.

An improvement on this direct paralleling approach is having a master-slave arrangement with control signals to maintain current sharing across units. Our N5700A and N8700A series power supplies use such a control arrangement as depicted in Figure 3, taken from the N5700A user’s guide.




















Figure 3: N5700A Connection for parallel operation (local sensing used)

With this arrangement the master unit, operating in constant voltage, provides an analog current programming output signal to the slave unit, operating in constant current. In this way the two units equally share the load current across a wide range of load current.

Still, having multiple units with only one in constant voltage does not provide as good of dynamic performance as a single voltage source of higher power.  A unique and innovative approach was taken with our N6900A / N7900A series Advance Power System (APS) to support seamless parallel operation without compromising performance. The paralleling arrangement for our N6900A / N7900A series APS is depicted in Figure 4.





Figure 4: N6900A / N7900A series APS Connection for parallel operation

The N6900A / N7900A series APS paralleling arrangement also uses an analog control signal for driving current sharing. However with this arrangement there is no master or slaves. All units remain in constant voltage while equally sharing current. This provides the user with an easy way to scale a power system as required without having to worry about compromising performance.

Friday, July 12, 2013

Why have multiple output range DC power supplies?

Most often DC power supplies have a rectangular output characteristic, as depicted in figure 1. With an increasing load they output a fixed output voltage up to the current limit, at which point the voltage drops in order to maintain the current fixed at its limit.



Figure 1: DC power supply rectangular output characteristic.

There is however DC power supplies that offer multiple output ranges. One example of a multiple (dual in this case) output range DC power supply is our N678xA series DC source measure modules. Their output characteristics are depicted in Figure 2.



Figure 2: Agilent N678xA series source measure modules output characteristics

Unlike the output characteristic of a single output range DC power supply, you cannot get both the maximum current and maximum voltage of a multiple output range DC power supply at the same time.

What is the purpose of having multiple output ranges on a DC power supply?
There are times, especially when having to test a variety of devices, the need for greater current or voltage, but not necessarily needing both maximum voltage and current at the same time.  In these situations many times these test power needs are better served by a DC power supply having multiple output ranges. The advantages of a multiple output range DC power supply are smaller size, less power dissipation, and less input power required, in comparison to a single output range DC power supply of comparable voltage and current capability. If the N678xA series DC source measure modules had a single output range they would need to have a 60 watt output to cover the span of voltage they now provide with 20 watts of output power.  An even more extreme example is our B2900 series source measure units. They output up to 31.8 watts continuously, but can provide up to 210 volts and up to 3.03 amps over three output ranges.

The downside of having multiple output ranges is somewhat greater complexity. Figure 3 depicts a conceptual design for a dual output range DC power supply. 



Figure 3: Conceptual dual output range DC power supply

Because the transformer efficiently converts AC power by square of its turn ratio there is very little impact on its size to accommodate secondary windings with multiple taps or multiple secondary windings that can be alternately connected in series or parallel, in order to accommodate multiple output power ranges. Similarly, the linear series pass element dissipates about the same maximum power whether it is operating at a higher voltage with lower current, or at a lower voltage with a higher current.  

The end result is a multiple range DC power supply can provide a greater range of voltages and currents for a given output power at the expense of a little greater complexity. Often this is far preferable to the alternative of a much higher power, and larger single output range DC power supply!

Thursday, June 20, 2013

How can I measure output impedance of a DC power supply?

In my last posting “DC power supply output impedance characteristics”, I explained what the output impedance characteristics of a DC power supply were like for both its constant voltage (CV) and constant current (CC) modes of operation. I also shared an example of what power supply output impedance is useful for. But how does one go about measuring the output impedance of a DC power supply over frequency, if and when needed?

There are a number of different approaches that can be taken, but these days perhaps the most practical is to use a good network analyzer that will operate at low frequencies, ranging from 10 Hz up to 1 MHz, or greater, depending on your needs. Even when using a network analyzer as your starting point there are still quite a few different variations that can be taken.

Measuring the output impedance requires injecting a disturbance at the particular frequency the network analyzer is measuring at. This signal is furnished by the network analyzer but virtually always needs some amount of transformation to be useful. Measuring the output impedance of a voltage source favors driving a current signal disturbance into the output. Conversely, measuring the output impedance of a current source favors driving a voltage signal disturbance into the output. The two set up examples later on here use two different methods for injecting the disturbance.

The reference input “R” of the network analyzer is then used to measure the current while the second input “A” or “T” is used to measure the voltage on the output of the power supply being characterized. Thus the relative gain being measured by the network analyzer is the impedance, based on:
zout = vout/iout = (A or T)/R
The output voltage and current signals need to be compatible with the measurement inputs on the network analyzer. This means a voltage divider probe may be needed for the voltage measurement, depending on the voltage level, and a resistor or current probe will be needed to convert the current into an appropriate voltage signal. A key consideration here is appropriate scaling constants need to be factored in, based on the gain or attenuation of the voltage and current probes being used, so that the impedance reading is correct.



Figure 1: DC power supply output impedance measurement with the Agilent E5061B

One example set up using the Agilent E5061B network analyzer is shown in Figure 1, taken from page 15 of an Agilent E5061B application note on testing DC-DC converters, referenced below. Here the disturbance is injected in through an isolation transformer coupled across the power supply output through a DC blocking capacitor and a 1 ohm resistor. The 1 ohm resistor is doing double duty in that it is changing the voltage disturbance into a current disturbance and it is also providing a means for the “R” input to measure the current. The “T” input then directly measures the DC/DC converter’s (or power supply’s) output voltage.

A second, somewhat more elaborate, variation of this arrangement, based on using a 4395A network analyzer (now discontinued) has been posted by a colleague here on our Agilent Power Supply forum: “Output Impedance Measurement on Agilent Power Supplies”. In this set up the disturbance signal from the network analyzer is instead fed into the analog input of an Agilent N3306A electronic load. The N3306A in turn creates the current disturbance on the output of the DC power supply under test as well as provide any desired DC loading on the power supply’s output. The N3306A can be used to further boost the level of disturbance if needed. Finally, an N278xB active current probe and matching N2779A probe amplifier are used to easily measure the current signal.

Hopefully this will get you on your way if the need for making power supply output impedance ever arises!


Reference: “Evaluating DC-DC Converters and PDN with the E5061B LF-RF Network Analyzer” Application Note, publication number 5990-5902EN (click here to access)

Monday, June 10, 2013

DC power supply output impedance characteristics

In a previous posting; “How Does a Power Supply regulate It’s Output Voltage and Current?” I showed how feedback loops are used to control a DC power supply’s output voltage and current.  Feedback is phenomenally helpful in providing a DC power supply with near-ideal performance. It is the reason why load regulation is measured in 100ths of a percent. A major reason for this is it bestows the power supply, if a voltage source, with near zero impedance, or as a current source, with high output impedance. How does it do this?

The impedance of a typical DC power supply’s output stage (like the conceptual one illustrated in the above referenced posting) is usually on the order of an ohm to a couple of ohms. This is the open-loop output impedance; i.e. the output impedance before any feedback is applied around the output.   If no feedback were applied we would not have anywhere near the load regulation we actually get. However, when the control amplifier provides negative feedback to correct for changes in output when a load is applied, the performance is transformed by the ratio of 1 + T, where T is loop gain of the feedback system. As an example, the output impedance of the DC power supply operating in constant voltage becomes:

Zout (closed loop) = Zout (open loop) / (1+T)

The loop gain T is approximately the gain of the operational amplifier times the attenuation of the voltage divider network. In practical feedback control systems the gain of the amplifier is quite large at and near DC, possibly as high as 90 dB of gain. This reduces the power supply’s DC and low frequency output to just milliohms or less, providing near ideal load regulation performance. Another factor in practical feedback control systems is the loop gain is rolled off in a controlled manner with increasing frequency in order to maintain stability. Thus at higher frequency the output impedance of a DC power supply operating as a voltage source increases towards its open loop impedance value as the loop gain decreases. This is illustrated in the output impedance plots in Figure 1, for the Agilent 6643A DC power supply.





Figure 1: Agilent 6643A 35V, 6A system DC power supply output impedance

As can be seen in Figure 1, for constant voltage operation, the 6643A DC power supply is just about 1 milliohm at 100 Hz, and exhibits an inductive output characteristic with increasing frequency as the loop gain decreases.

As also can be seen in Figure 1, feedback control works in a similar fashion for constant current operation. While a voltage source ideally has zero output impedance, a current source ideally has infinite impedance.  For constant current operation the 6643A DC power supply exhibits 10 ohms impedance at 100 Hz and rolls off in a capacitive fashion as frequency increases. However, for the 6643A, it is not so much the constant current control loop gain dropping off with frequency but the output filter capacitance dominating the output impedance. While the 6643A can be used as an excellent, well-regulated current source (see posting: “Can a standard DC power supply be used as current source?”) it is first and foremost optimized for being a voltage source. Some output capacitance serves towards that end.


An example of one use for the output impedance plots of a DC power supply is to estimate what the amount of load-induced AC ripple might be, based on the frequency and amplitude of the current being drawn by the load, when powered by power supply operating in constant voltage.

Monday, April 8, 2013

Why would a DC power supply have RMS current readback?


During a conversation with a colleague at work one day the topic of having RMS current readback on DC power supplies came up. It is a measurement capability we have on a number of our system DC power supplies. He posed the question: Why the reason for having such a capability? I actually had not been involved with the original investigations identifying what reasons this was added so I instead had to rely on my intuition. That’s not always a good thing but it did help me out this time at least!

He had argued that since you are feeding a fixed DC voltage into the device you are powering, the power consumption is going to be a product of the DC (average) voltage and DC (average) current, regardless of whether the current is purely DC, or if it is dynamic, having a substantial amount of AC content. This is true, as I have illustrated in figure 1, comparing purely DC and pulsed currents being drawn by a load. For purely DC current the DC and RMS values are the same. In comparison, for a pulsed current the RMS value is greater the DC value. Regardless, the RMS current value does not factor into the overall power consumption of the DUT here. The power consumption is still the product of the DC voltage and current.


Figure 1: Comparing power consumption of a DC powered DUT drawing constant and pulsed currents

So why provide an RMS current measurement? Well there can be times when this can prove useful, even when the DUT is powered by a fixed DC voltage. Consider the scenario depicted in Figure 2.


Figure 2: Properly sizing a protection fuse on a DC powered device

Many products incorporate fuses to protect from over-current and subsequent damage, usually brought on due to misuse or component failure. Fuses are rated by their RMS current handling, not the DC current. In the case of the pulsed loading the RMS current is twice the DC current and the resulting power in the fuse is four times that for a constant current.  If the fuse was selected based on the DC current value it would most certainly fail well below the required operating level!

My colleague conceded that this fuse example was a legitimate case where RMS current measurement would indeed be useful. Maybe it was not a frivolous capability after all. No doubt sizing fuses is just one of many reasons why RMS measurement on DC products can be useful!

Friday, January 18, 2013

Types of current limits for over-current protection on DC power supplies


On a previous posting “The difference between constant current and current limit in DC power supplies”, I discussed what differentiates a DC power supply having a constant current operation in comparison to having strictly a current limit for over-current protection. In that post I had depicted one very conventional current limit behavior. However there is actually quite a variety of current limits incorporated in different DC power supplies, depending on the intended end-use of the power supply.

Fold-back Current Limit
The output characteristic of a constant voltage (CV) power supply utilizing fold-back current limiting is depicted in Figure 1. Fold-back current limiting is sometimes used to provide a higher level of protection for DUTs where excess current and power dissipation can cause damage to a DUT that has gone into an overload condition. This is accomplished by reducing both the current and voltage as the DUT goes further into overload. The short circuit current will typically be 20% to 50% of the maximum current level. A reasonable margin between the crossover current point and required maximum rated DUT current needs to be established in order to prevent false over-current tripping conditions. Due to the fold-back nature, and depending on the loading nature of the DUT, the operating point could drop down towards the short-circuit operating point once the crossover point is reached/exceeded. This would require powering the DUT down and up again in order to get back to the CV operating region.




Figure 1: Output characteristic of a CV power supply with fold-back current limiting

In addition to providing over-current protection for the DUT, fold-back current limiting is often employed in fixed output linear DC power supplies as a means for reducing worst case dissipation in the power supply itself. Under short circuit conditions the voltage normally appearing across the DUT instead appears across the power supply’s internal series linear regulator, requiring it to dissipate considerably more power than it has to under normal operating conditions. By employing fold-back current limiting the power dissipation on the series-linear regulator is greatly reduced under overload conditions, reducing the size and cost of the series-linear regulator for a given output power rating of the DC linear power supply.


Fold-forward Current Limit
A variety of loading devices, such as electric motors, DC-DC converters, and large capacitive loads can draw large peak currents at startup. Because of this they can often be better suited for being powered by a DC power supply that has a fold-forward current limit characteristic, as depicted in Figure 2. With fold-forward current limiting after exceeding the crossover current limit the current level instead continues to increase while the voltage drops while the loading increases.



Figure 2: Output characteristic of a CV power supply with fold-forward current limiting

As one example of where fold-forward current limiting is a benefit, it can help a motor start under load which otherwise would not start under other current-limits. Indeed, with fold-back current limiting, a motor may not and then it would remain stalled, due to the reduced current.

Special Purpose Current Limits
Unlike the previous current limit schemes which are widely standard practice, there is a number of other current limit circuits used, often tailored for more application-specific purposes. One example of this is the current limiting employed in our 66300 series DC sources for powering mobile phones and other battery powered mobile wireless devices. Its output characteristic is depicted in Figure 3.



Figure 3: Agilent 66300 Series DC source output characteristics

We refer to this power supply series as battery emulator DC sources. One reason why is they are 2-quadrant DC sources.  Like a rechargeable battery, they need to be able to source current when powering the mobile device and then sink current when the mobile device is in its charging mode.  In Figure 3 there are actually two separate current limits; one for sourcing current and another for sinking current. Each has different and distinctive characteristics for specific purposes.

Many battery powered mobile wireless devices draw power and current in short, high peak bursts, especially when transmitting. To better accommodate these short, high peaks, the 66300 series DC sources have a time-limited peak current limit that is of sufficient duration to support these high peaks. They also have a programmable constant current level that will over-ride the peak current limit when the average current value of the pulsed current drain reaches this programmed level. With this approach a higher peak power mobile device can be powered from a smaller DC power source.

Just like an electronic load, when the 66300 series DC source is sinking current the limiting factor is how much power it is able to dissipate. Instead of using a fixed current limit, it uses a fold-forward characteristic current limit (although folding forward in the negative direction!). This is not done for reasons that a fold-forward current limit that was just discussed is used; it is done so higher charging currents at lower voltage levels can be accommodated, taking advantage of the available power that can be dissipated. Again, this provides the user with greater capability in comparison to using a fixed-value limit.

Other types of current limits exist for other specific reasons so it is helpful to be aware that not all current limits are the same when selecting a DC power supply for a particular application!

Reference: Agilent Technologies DC Power Supply Handbook, application note AN-90B, part number 5952-4020 “Click here to access”

Tuesday, January 8, 2013

The difference between constant current and current limit in DC power supplies


Constant Voltage/Constant Current (CC/CV) Power Supplies
In most of our discussions in “Watt’s Up?” on current limiting we have primarily talked about power supplies as having a constant current (CC) output characteristic. This is what is found in many lab and industrial system power supplies, including most of the power supplies provided by us. Even though the terms often get used interchangeably, there is actually a distinction between constant current and current limit. To help explain this distinction, Figure 1 illustrates the output characteristics of a constant voltage/constant current (CV/CC) power supply.



Figure 1: Operating locus of a CC/CV power supply

Five operating points are depicted in Figure 1:
  1. With no load (i.e. infinite load resistance): Iout = 0 and Vout = Vset
  2. With a load resistance of RL > Vset/Iset: Iout = Vset/RL and Vout = Vset
  3. With a load resistance of RL = Vset/Iset: Iout = Iset and Vout = Vset
  4. With a load resistance of RL < Vset/Iset: Iout = Iset and Vout = Iset*RL
  5. With a short circuit (i.e. zero load resistance): Iout = Iset and Vout = 0


The advantage of a CV/CC power supply is it can be used as either a voltage source or a current source, providing reasonable performance in either mode. The point at which RL = Vset/Iset is the mode crossover point where the power supply transitions between CV and CC operation. For a CV/CC power supply there is a sharp transition between CV and CC operation. Note that for an ideal CV/CC power supply the CV slope is zero (horizontal), indicating zero output resistance for CV operation while the CC slope is infinite (vertical), indicating infinite output resistance for CC operation. Note that this is at DC. How close the slope of each mode is to ideal is what determines quality of load regulation for each.  To achieve good performance for both CV and CC modes requires carefully designed and more complex control loops for each mode. More details about using a power supply as a current source is provided in an earlier posting here, entitled: “Can a standard DC power supply be used as a current source?”

Constant Voltage/Current Limiting Power Supplies
In comparison a constant voltage/current limiting (CV/CL) power supplies are intended to be used only as a voltage source while providing over-current protection for the DUT, as well as protection for the power supply itself. Figure 2 depicts typical output characteristics of a CV/CL power supply.



Figure 2: Operating locus of a CV/CL power supply

In CV/CL power supplies the current limit may be a fixed maximum value or it may be settable. In comparison to Figure 1 CV operation is still the same. However, what is found at the current limit cross-over point there is loss of voltage regulation where the voltage starts falling off. Unlike true CC operation in a CV/CC power supply, CL operation does not typically have as sharply a defined cross-over point and once in CL it may not be tightly regulated between the cross-over and short circuit points. The reason for this is CL control circuits are usually more basic in nature in comparison to a true CC control loop. CL is meant for over-current protection only, not CC operation.  For this reason the correct use of CL is to set its value a bit higher than the maximum current required by the DUT. This assures good voltage regulation for the full range of normal loading. You may find many of the more basic bench power supplies have CV/CL operation and may not be useful as current sources as a result.

Reference: Agilent Technologies DC Power Supply Handbook, application note AN-90B, part number 5952-4020

Monday, December 10, 2012

More on power supply current source-to-sink crossover characteristics


On my earlier posting “Power supply current source-to-sink crossover characteristics” I showed what the effects on the output voltage of a unipolar two-quadrant-power supply were, resulting from the output current on the power supply transitioning between sourcing and sinking. In that example scenario, the power supply was maintaining a constant output voltage and the transitioning between sourcing and sinking current was dictated by the external device connected to and being powered by the power supply. This is perhaps the most common scenario one will encounter that will drive the power supply between sourcing current and sinking current.

Other scenarios do exist that will drive a unipolar two-quadrant power supply to transition between sourcing and sinking output current. One scenario is nearly identical to the earlier posting. However, instead of the device transitioning its voltage between being less and greater than the power supply powering it, the power supply instead transitions its voltage between being less and greater than the active device being normally powered.  A set up for evaluating this scenario on an Agilent N6781A two-quadrant DC source is depicted in Figure 1.



Figure 1: Evaluating current source-to-sink crossover on an N6781A operating in constant voltage

In this scenario having the DC source operating as a voltage source and transitioning between 1.5 and 4.5 volts causes the current to transition between -0.75 and +0.75A.  The voltage and current waveforms captured on an oscilloscope are shown in Figure 2.



Figure 2: Voltage and current waveforms for the set up in Figure 1

The waveforms in Figure 2 are as what should be expected. The actual transition points are where the current waveform passes through zero on the rising and falling edge. An expanded view to the current source-to-sink transition is shown in Figure 3.



Figure 3: Expanded voltage and current waveforms for the set up in Figure 1

As can be seen the voltage ramp transitions smoothly at the threshold point, or zero crossing point, of the current waveform. The reason being is that the DC is maintaining its operation as a voltage source. Its voltage feedback loop is always in control.


Yet one more scenario that will drive a unipolar two-quadrant source to transition between sourcing and sinking current is operate it as a current source and program is current setting between positive and negative values. In this case the device under test that was used is a voltage source.  One real-world example is cycling a rechargeable battery by alternately applying charging and discharging currents to it. The set up for evaluating this scenario, again using an N6781A two-quadrant DC source is depicted in Figure 4.



Figure 4: Evaluating current source-to-sink crossover on an N6781A operating in constant current

For Figure 4 the N6781A was set to operate in constant current and programmed to alternately transition between -0.75A and +0.75A current settings. The resulting voltage and current waveforms are shown in Figure 5.



Figure 5: Voltage and current waveforms for the set up in Figure 4

The waveforms in Figure 5 are as what should be expected. The actual transition points are where the current waveform passes through zero on the rising and falling edge. An expanded view to the current source-to-sink transition is shown in Figure 6.



Figure 6: Expanded voltage and current waveforms for the set up in Figure 4

As the N6781A is operating in current priority the interest is in how well it controls its current while transitioning through the zero-crossing point. As observed in Figure 6 it transitions smoothly through the zero-crossing point. The voltage performance is determined by the DUT, not the N6781A, as the N6781A is operating in constant current.

So what was found here is, for a unipolar two-quadrant DC source, transitioning between sourcing and sinking current should generally be virtually seamless as, under normal circumstances, should remain in either constant voltage or constant current during the entire transition.

Tuesday, August 7, 2012

How Does an Electronic Load Regulate It’s Input Voltage, Current, and Resistance?


In a sense electronic loads are the antithesis of power supplies, i.e. they sink or absorb power while power supplies source power. In another sense they are very similar in the way they regulate constant voltage (CV) or constant current (CC). When used to load a DUT, which inevitably is some form of power source, conventional practice is to use CC loading for devices that are by nature voltage sources and conversely use CV loading for devices that are by nature current sources. However most all electronic loads also feature constant resistance (CR) operation as well. Many real-world loads are resistive by nature and hence it is often useful to test power sources meant to drive such devices with an electronic load operating in CR mode.

To understand how CC and CV modes work in an electronic load it is useful to first review a previous posting I wrote here, entitled “How Does a Power Supply Regulate It’s Output Voltage and Current?”. Again, the CC and CV modes are very similar in operation for both a power supply and an electronic load. An electronic load CC mode operation is depicted in Figure 1.



Figure 1: Electronic load circuit, constant current (CC) operation

The load, operating in CC mode, is loading the output of an external voltage source. The current amplifier is regulating the electronic load’s input current by comparing the voltage on the current shunt against a reference voltage, which in turn is regulating how hard to turn on the load FET. The corresponding I-V diagram for this CC mode operation is shown in Figure 2. The operating point is where the output voltage characteristic of the DUT voltage source characteristic intersects the input constant current load line of the electronic load.



Figure 2: Electronic load I-V diagram, constant current (CC) operation

CV mode is very similar to CC mode operation, as depicted in Figure 3.  However, instead of monitoring the input current with a shunt voltage, a voltage control amplifier compares the load’s input voltage, usually through a voltage divider, against a reference voltage. When the input voltage signal reaches the reference voltage value the voltage amplifier turns the load FET on as much as needed to clamp the voltage to the set level.



Figure 3: Electronic load circuit, constant voltage (CV) operation

A battery being charged is a real-world example of a CV load, charged typically by a constant current source. The corresponding I-V diagram for CV mode operation is depicted in figure 4.




Figure 4: Electronic load I-V diagram, constant voltage (CV) operation

But how does an electronic load’s CR mode work? This requires yet another configuration, as depicted in figure 5. While CC and CV modes compare current and voltage against a reference value, in CR mode the control amplifier compares the input voltage against the input current so that one is the ratio of the other, now regulating the input at a constant resistance value.  With current sensing at 1 V/A and voltage sensing at 0.2 V/V, the electronic load’s resulting  input resistance value is 5 ohms for its CR mode operation in Figure 5.



Figure 5: Electronic load circuit, constant resistance (CR) operation

An electronic load’s CR mode is well suited for loading a power source that is either a voltage or current source by nature. The corresponding I-V diagram for this CR mode for loading a voltage source is shown in Figure 6. Here the operating point is where the output voltage characteristic of the DUT voltage source intersects the input constant resistance characteristic of the load.



Figure 6: Electronic load I-V diagram, constant resistance (CR) operation

As we have seen here an electronic load is very similar in operation to a power supply in the way it regulates to maintain constant voltage or constant current at its input.  However many real-world loads exhibit other characteristics, with resistive being most prevalent. As a result most all electronic loads are alternately able to regulate their input to maintain a constant resistance value, in addition to constant voltage and constant current.

Monday, July 23, 2012

Why Does My Power Supply Overshoot at Current Limit? Insights on Mode Crossover


One often encountered issue with power supply use is expecting that the current limit will clamp the current to no greater than the set value, only to discover the current initially overshoots when the DUT demands current in excess of the set limit. In some cases the short surge of excess current may be enough to damage a sensitive DUT. Those experienced with power supplies will recognize this as a dynamic characteristic of mode crossover.

What is mode crossover? Mode crossover is the transition point between Constant Voltage (CV) and Constant Current (CC) modes. The dynamic response characteristic of mode crossover is an aspect that separates real-world from ideal-world power supplies. To start it will be helpful to review a previous posting on “How Does a Power Supply regulate its Output Voltage and Current?” Here it is shown there are two control loops in most power supplies, one for regulating the voltage and one for regulating the current. Only one is in control at any given time while the other is “open loop”. The error amplifier that is open loop is up against it stops. When load conditions change such that the power supply transitions through mode crossover the open loop error amplifier needs to recover and gain control of the output. In the more common case of the power supply operating as a voltage source there can be a current overshoot during the brief moment when the load increases beyond the power supply’s current limit setting. Conversely, for a current source, there can be a voltage overshoot during the brief moment when the load decreases, causing the output voltage to rise to the voltage limit setting.

The magnitude of the overshoot depends on many factors relating to both the power supply and the DUT. Supplementary circuitry usually surrounds the error amplifiers to clamp them from being driven into saturation or cutoff so that they can more quickly recover when needed. Amplifiers are carefully selected for their recovery characteristics. Careful design is required to assure a stable transition between modes during crossover while at the same time minimizing the delay and overshoot.  The magnitude of the overshoot also depends on how quickly and to what extent the DUT transitions between loading conditions.

Figure 1 shows the mode crossover current overshoot of a 50 volt, 3 amp general purpose power supply, set for 10 volts and 1 amp output.  The loading DUT is an electronic load set to transition from no load to 10 amps with a slew of 0.8 amps per microsecond. This loading represented a worst case for all practical purposes. When the load transitions to full (i.e. overload) it takes about 6 milliseconds for the current limit control loop to fully take over and bring the current down. During this mode crossover period the current overshoot plateaus at 5 amps, which is the gross current limit capacity of the power supply. Basically this is the point where the power supply runs out of drive.



Figure 1: Constant voltage to constant current mode crossover for 10 V, 1A power supply settings

In Figure 2 the power supply current limit was reduced to 0.1 amps and the mode crossover was again captured. This had an interesting impact on the current overshoot. While the peak current still hit a plateau of 5 amps, the duration of the overshoot was considerably reduced to about 0.5 milliseconds.  The reason for this is there was a much larger difference driving the error amplifier’s input, causing it to transition more quickly. The peak level remained unchanged as it is determined by the power supply’s gross current limit capacity, which is fixed.



Figure 2: Constant voltage to constant current mode crossover for 10 V, 0.1A power supply settings

The extent of an overshoot during mode crossover depends on the power supply as well as the DUT. A power supply optimized for voltage sourcing usually has very little voltage overshoot at mode crossover, but then can have significant current overshoot, as we see here. Conversely, a power supply optimized for current sourcing usually has very little current overshoot at mode crossover, but then can have significant voltage overshoot. Higher performance power supplies may provide faster and better mode crossover performance, but this usually comes at greater expense. Some useful things to do include:
·         Be aware that overshoot during mode crossover is a reality that exists in most all power supplies
·         Try not to oversize the power supply. Be aware that the peak level of voltage or current during mode crossover may be governed more by the maximum voltage and current ratings of the power supply and less by the settings. Using an oversized power supply with its limit set to 5% of its capacity will likely yield a much larger overshoot than a smaller one with it limit set to 50% of its capacity.
·         Understand the nature of your DUT, behavior or fault modes that may cause it to draw an overload, and how sensitive it is to an overload
·         If your DUT is sensitive to an overload, include evaluating the response characteristics of mode crossover as part of your evaluation, using realistic conditions that reflect the characteristics of your DUT.

Recognizing that there is dynamic response characteristics associated with mode crossover of “real-world” power supplies, and they need to be considered, may save a lot of surprise and frustration later on!

Tuesday, July 17, 2012

How Does a Power Supply regulate It’s Output Voltage and Current?


We have talked about Constant Voltage (CV) and Constant Current (CC) power supply operation in many various ways and applications here on the “Watt’s Up?” blog in the past. Indeed, CV and CC are fundamental operating modes of most all power supplies. But what exactly takes place inside the power supply that endows it with the ability to regulate either its output voltage or current, depending on the load? If you ever wondered about this, wonder no longer!

Most all power supplies regulate either their output voltage or output current at a constant level, depending on the load resistance relative to the power supply’s output voltage and current settings. This can be summarized as follows:

·         If R load > (V out / I out) then power supply is in CV mode
·         If R load < (V out / I out) then power supply is in CC mode

To accomplish this most all power supplies have separate voltage and current feedback control loops to limit either the output voltage or current, depending on the load. To illustrate this Figure 1 shows a circuit diagram of a basic 5 volt, 1 amp output series regulated power supply operating in CV mode.



Figure 1: Basic DC Power Supply Circuit, Constant Voltage (CV) Operation

The CV and CC control loops/amplifiers each have a reference input value. In this case the reference values are both 1 volt. In order to regulate output voltage the CV error amplifier compares its 1 volt reference against a resistor divider that divides the output voltage down by a factor of 5, limiting the output voltage to 5 volts. Likewise the CC error amplifier compares its 1 volt reference against a 1 ohm current shunt resistor located in the output current path, limiting the output current to 1 amp. For Figure 1 the load resistance is 10 ohms. Because this load resistance is greater than (V out / I out) = 5 ohms, the power supply is operating in CV mode. The CV error amplifier takes control of the series pass transistor by drawing away excess base current from the series pass transistor, though the diode “OR” network. The CV amplifier is operating in closed loop, maintaining its error voltage at zero volts. In comparison, because the actual output current is only 0.5 amps the CC amplifier tries to turn the current on harder but cannot because the CV amplifier has control of the output. The CC amplifier is operating open loop. Its output goes up to its positive limit while it has -0.5 volts of error voltage. The output I-V diagram for this Constant Voltage operation is shown in Figure 2.



Figure 2: Power Supply I-V Diagram, CV Operation

Now say we increase the load by lowering the output load resistance from 10 ohms down to 3 ohms. Figure 3 shows the circuit diagram of our basic 5 volt, 1 amp output series regulated power supply revised for operating in CC mode with a 3 ohm load resistor.



Figure 3: Basic DC Power Supply Circuit, Constant Current (CC) Operation

Because the load resistor is lower than (V out / I out) = 5 ohms, the power supply switches to CC mode. The CC error amplifier takes control when the voltage drop on the current shunt resistor increases to match the 1 volt reference value, corresponding to 1 amp output, drawing excess base current from the series pass transistor though the diode “OR” network. The CC amplifier is now operating closed loop, regulating the output current to maintain its input error voltage at zero. In comparison, because the actual output voltage is now only 3 volts the CV amplifier tries to increase the output voltage but cannot because the CC amplifier has control of the output. The CV amplifier is operating open loop. Its output now goes up to its positive limit while it has -0.4 volts of error voltage. The output I-V diagram for this Constant Current operation is shown in Figure 4.



Figure 4: Power Supply I-V Diagram, CC Operation

As we have seen most all power supplies have separate current and voltage control loops to regulate their outputs in either a Constant Voltage (CV) or in a Constant Current (CC) mode. One or the other takes control, depending on that the load resistance is in relation to what the power supply’s output voltage and current settings are. In this way both the load and power supply are protected by limiting the voltage and current that is delivered by the power supply to the load. By understanding this theory behind a power supply’s CV and CC operation it is also easier to understand the underlying reason for why various power supply characteristics are the way they are, as well as see how other power supply capabilities can be created by building on top of this foundation. Stay tuned!