Showing posts with label CC mode. Show all posts
Showing posts with label CC mode. Show all posts

Wednesday, March 11, 2015

Comparing effects of using pulsed and steady state power to illuminate a high brightness LED

I was having a discussion here with a colleague about the merits of powering a high brightness LED (HBLED) using pulsed power versus using steady state DC power.

My opinion was: “Basically, amperes in proportionally equates to light flux out, so you will get about the same amount of illumination whether it is pulsed or DC.”

His argument was: “Because the pulses will be brighter, it’s possible the effective illumination that’s perceived will be brighter. Things appear to be continuous when discrete fixed images are updated at rates above thirty times a second, and that should apply to the pulsed illumination as well!”

I countered: “It will look the same and, if anything, will be less efficient when pulsed!”

So instead of continuing our debate we ran a quick experiment. I happened to have some HBLEDs so I hooked one up to an N6781A DC source measure module housed in an N6705B DC Power Analyzer sitting at my desk, shown in Figure 1. The N6781A has excellent current sourcing characteristics regardless whether it is DC or a dynamic waveform, making it a good choice for this experiment.



Figure 1: Powering up an HBLED

First we powered it up with a steady state DC current of 100 mA. At this level the HBLED had a forward voltage drop of 2.994 V and resulting power of 0.2994 W, as seen in Figure 2, captured using the companion 14585A control and analysis software.



Figure 2: Resulting HBLED voltage and power when powered with 100 mA steady state DC current

We then set the N6781A to deliver a pulsed current of 200 mA with a 50% duty cycle, so that its average current was 100 mA. The results were again captured using the 14585A software, as shown in Figure 3.


Figure 3: Resulting HBLED voltage and power when powered with 200 mA 50% DC pulsed current

Switching back and forth between steady state DC and pulsed currents, my colleague agreed, the brightness appeared to be comparable (just as I had expected!).  But something more interesting to note is the average current, voltage, and power. These values were obtained as shown in Figure 3 by placing the measurement markers over an integral number of waveform cycles. The average current was 100 mA, as expected. Note however that the average voltage is lower, at 2.7 V, while the average power is higher, at 0.3127 W! At first the lower average voltage together with higher average power would seem to be a contradiction. How can that be?

First, in case you did not notice, the product of the RMS voltage and RMS current are 0.3897 W which clearly does not match our average power value displayed. What, another contradiction? Why is that? Multiplying RMS voltage and RMS current will give you the average power for a linear resistive load but not for a non-linear load like a HBLED. The average power needs to be determined by taking an overall average of the power over time computed on a point-by-point basis, which is how it is done within the 14585A software as well as within our power products that digitize the voltage and current over time. Second, the average voltage is lower because it drops down towards zero during periods of zero current. However it is greater during the periods when 200 mA is being sourced through the HBLED and these are the times where power is being consumed.

So here, by using pulsed current, our losses ended up being 4.4% greater when powered by the comparable steady state current. These losses are mainly incurred as a result of greater resistive drop losses in the HBLED occurring at the higher current level.

There is supposed to be one benefit however of using pulsed power when powering HBLEDs. At different steady state DC current levels there is some shift in their output light spectrum. Using pulsed current provides dimming control while maintaining a constant light spectrum. This prevents minor color shifts at different illumination levels. Although I would probably never notice it!

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!

Thursday, February 20, 2014

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

I periodically get asked to provide recommendations and guidance on testing the efficiency of small DC to DC voltage converters. Regardless of the size of the converter, a DC source is needed to provide input power to the converter under constant voltage, while an electronic load is needed to draw power from the output, usually under constant current loading. The load current needs to be swept from zero to the full load current capability of the DC to DC converter while input power (input voltage times input current) and output power (output voltage times output current) are recorded. The efficiency is then the ratio of power out to power in, most often expressed in a percentage. An illustration of this is shown in Figure 1. In addition to sourcing and sinking power, precision current and voltage measurement on both the input and output, synchronized to the sweeping of the load current is needed.




Figure 1: DC to DC converter efficiency test set up

One challenge for small DC to DC voltage converters is finding a suitable electronic load that will operate at the low output voltages and down to zero load currents, needed for testing their efficiency over their range, from no load to full load output power. It turns out in practice many source measure units (SMUs) will serve well as a DC electronic load for testing, as they will sink current as well as source current.

Perhaps the most optimum choice from us is to use two of our N6782A 2-quadrant SMU modules installed in our N6705B DC Power Analyzer mainframe, using the 14585A software to control the set up and display the results.  This is a rather flexible platform intended for a variety of whatever application one can come up with for the most part. With a little ingenuity it can be quickly configured to perform an efficiency test of small DC to DC converters, swept from no load to full load operation. This is good for converters of 20 watts of power or less and within a certain range of voltage, as the N6782A can source or sink up to 6 V and 3 A or 20 V and 1 A, depending on which range it is set to. One of the N6782A operates as a DC voltage source to power the DUT and the second is operated as a DC current load to draw power from the DUT. A nice thing about the N6782A is it provides excellent performance operated either as a DC source or load, and operated either in constant voltage or constant current.

An excellent video of this set up testing a DC to DC converter was created by a colleague here, which you can review by clicking on the following link: “DC to DC converter efficiency test”.

The video does an excellent job covering a lot of the details. However, if you are interested in testing DC to DC converters using this set up I have a few more details to share here about it which should help you further along with setting it up and running it.

First, the two N6782A SMUs were set up for initial operating conditions. The N6782A providing DC power in was set up as a voltage source at the desired input voltage level and the second N6782A was set to constant current load operation with minimum (near zero) loading current.

Note that the 14585A software does not directly sweep the load current along the horizontal axis. The horizontal axis is time. That is why a time-based current sweep was created in the arbitrary waveform (ARB) section of the 14585A. In that way any point on the horizontal time axis correlates to a certain current load level being drawn from the output of the DUT. The ARB of course was set to run once, not repetitively. The 14585A ARB set up is shown in Figure 2.





Figure 2: Load current sweep ARB set up in 14585A software

This ARB sweep requires a little explanation.  While there are a number of pre-defined ARBs, and they can be used, an x3 power formula was chosen to be used instead. This provided a gradually increasing load sweep that allowed greater resolution of this data and display at light loads, where efficiency more quickly changes. As can be seen, the duration of the sweep, parameter x, was set to 10 seconds. As a full load current needed to be -1 A, using the actual formula (-x/10)3  gave us a gradually increasing load current sweep that topped out at -1A after 10 seconds of duration. The choice of 10 seconds was arbitrary. It only provided an easy way to watch the sweep on the 14585A graphing as it progressed. Finally, a short (0.1 second) pre-defined linear ramp ARB was added as a second part of the ARB sequence, to bring the load current back to initial, near zero, load conditions after the sweep was completed. This is shown in Figure 3.




Figure 3: Second part of ARB sweep to bring DUT load current back to initial conditions


I hope this gives you a number of insights about creative ways you can make use of the ARB. As there is a good amount of subtle details on how to go about making and displaying the measurements I’ll be sharing that in a second part coming up shortly, so keep on the outlook!

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, 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!

Friday, April 27, 2012

Can a standard DC power supply be used as a current source?

The quick answer to this question is, yes, most standard DC power supplies can be used as current sources. However, this question deserves more attention, so what follows is the longer answer.

Most DC power supplies can operate in constant voltage (CV) or constant current (CC) mode. CV mode means the power supply is regulating the output voltage and the output current is determined by the load connected across the output terminals. CC mode means the power supply is regulating the output current and the output voltage is determined by the load connected across the output terminals. When operating in CC mode, the power supply is acting like a current source. So any power supply that can operate in CC mode can be used as a current source (click here for more info about CV/CC operation).

Is a standard power supply a good current source?
An ideal current source would have infinite output impedance (an ideal voltage source would have zero output impedance). No power supply has infinite output impedance (or zero output impedance) regardless of the mode in which it is operating. In fact, most power supply designs are optimized for CV mode since most power supply applications require a constant voltage. The optimization includes putting an output capacitor across the output terminals of the power supply to help lower output voltage noise and also to lower the output impedance with frequency. So the effectiveness of a standard power supply as a current source will depend on your needs with frequency.

At DC, a power supply in CC mode does make a good current source. Typical CC load regulation specifications support this notion (click here for more info about load regulation). For example, an Agilent N6752A power supply (maximum ratings of 50 V, 10 A, 100 W) has a CC load regulation specification of 2 mA. This means that the output current will change by less than 2 mA for any load voltage change. So when operating in CC mode, a 50 V output load change will produce a current change of less than 2 mA. If we take the delta V over worst case delta I, we have 50 V / 2 mA = 25 kΩ. This means that the DC output impedance will always be 25 kΩ or more for this power supply. In fact, the current will likely change much less than 2 mA with a 50 V load change making the DC output impedance in CC mode much greater than 25 kΩ.

Of course, a power supply’s effectiveness as a current source should be judged by the output impedance beyond the DC impedance. See the figure below for a graph of the N6752A CC output impedance with frequency:
If the graph continued in the low frequency direction, the output impedance would continue to rise as a “good” current source should. At higher frequencies, the CC loop gain inside the product begins to fall. As the loop gain moves through unity and beyond, the output capacitor in the supply dominates the behavior of the output impedance, so at high frequencies, the output impedance is lower. So how good the power supply is as a current source depends on your needs with frequency. The higher the output impedance, the better the current source. The output impedance also correlates to the CC transient response (and to a much lesser extent, the output programming response time).

The bottom line here is that in most applications, a standard DC power supply can be used in CC mode as a current source.

Wednesday, March 28, 2012

What Is Going On When My Power Supply Displays “UNR”?

Most everyone is familiar with the very traditional Constant Voltage (CV) and Constant Current (CC) operating modes incorporated in most any lab bench or system power supply. All but the most very basic power supplies provide display indicators or annunciators to indicate whether it is in CV or CC mode. However, moderately more sophisticated power supplies provide additional indicators or annunciators to provide increased insight and more information about their operating status. One annunciator you may encounter is seeing “UNR” flash on, either momentarily or continuously. It’s fairly obvious that this means that the power supply is unregulated; it is failing to maintain a Constant Voltage or Constant Current. But what is really going on when the power supply displays UNR and what things might cause this?
To gain better insight about CV, CC and UNR operating modes it is helpful to visualize what is going on with an IV graph of the power supply output in combination with the load line of the external device being powered. I wrote a two part post about voltage and current levels and limits which you may find useful to review. If you like you can access it from these links levels and limits part 1 and levels and limits part 2. This posting builds nicely on these earlier postings. A conventional single quadrant power supply IV graph with resistive load line is depicted in Figure 1. As the load resistance varies from infinity to zero the power supply’s output goes through the full range of CV mode through CC mode operation. With a passive load like a resistor you are unlikely to encounter UNREG mode, unless perhaps something goes wrong in the power supply itself.
Figure 1: Single quadrant power supply IV characteristic with a resistive load

However, with active load devices you have a pretty high chance of encountering UNR mode operation, depending where the actual voltage and current values end up at in comparison to the power supply’s voltage and current settings. One common application where UNR can be easily encountered is charging a battery (our external active load device) with a power supply. Two different scenarios are depicted in Figure 2. For scenario 1, when the battery voltage is less than the power supply’s output, the point where the power supply’s IV characteristic curve and the battery’s load line (a CV characteristic) intersect, the power supply is in CC mode, happily supplying a regulated charge current into the battery. However, for scenario 2 the battery’s voltage is greater than the power supply’s CV setting (for example, you have your automobile battery charger set to 6 volts when you connect it to a 12 volt battery). Providing the power supply is not able to sink current the battery forces the power supply’s output voltage up along the graph’s voltage axis to the battery’s voltage level. Operating along this whole range of voltage greater than the power supply’s output voltage setting puts the power supply into its UNR mode of operation.
Figure 2: Single quadrant power supply IV characteristic with a battery load

A danger here is more sophisticated power supplies usually incorporate Over Voltage Protection (OVP). One kind of OVP is a crowbar which is an SCR designed to short the output to quickly bring down the output voltage to protect the (possibly expensive) device being powered. When connected to a battery if an OVP crowbar is tripped, damage to the power supply or battery could occur due to batteries being able to deliver a fairly unlimited level of current. It is worth knowing what kind of OVP there is in a power supply before attempting to charge a battery with it. Better yet is to use a power supply or charger specifically designed to properly monitor and charge a given type of battery. The designers take these things into consideration so you don’t have to!
I have digressed here a little on yet another mode, OVP, but it’s all worth knowing when working with power supplies! Can you think of other scenarios that might drive a power supply into UNR? (Hint: How about the other end of the power supply IV characteristic, where it meets the horizontal current axis?)

Wednesday, February 29, 2012

On DC Source Voltage and Current Levels and (Compliance) Limits Part 2: When levels and limits are not the same

In part 1 my colleague made a good argument for current and voltage level and limit settings actually being one and the same thing and it was really just a case of semantics whether your power supply was operating in constant voltage or in constant current mode. I disagreed and I was not ready to admit defeat on this yet. Now is my chance to explain why I believe they’re not one and the same thing.

I have been doing quite a bit of work with source measure units (SMUs) that support multi quadrant output operation. They in fact feature (constant) voltage sourcing and current sourcing modes of operation. This tailors the operation of the SMU for operating as a voltage source with a set current compliance range or conversely as a current source with a set voltage compliance range. Right at the start one difference is the set up conditions. The output voltage or current level is set to zero while the corresponding current or voltage limit is set to some value, often maximum, so that the DC source accordingly starts out in either constant voltage or constant current for normal operating conditions.

Some products feature a programmable or fixed power limits. In one product I know of, the programmable power limit acts accordingly to override and cut back the either the voltage limit when set for current sourcing, or the current limit when set for voltage sourcing. It does not do this in true real-time however. It cuts back the limit based on the level setting, as a convenient means as to help prevent the user from accidently over-powering the DUT. Alternately many auto-ranging output DC power sources exist that provide an extended range of output and voltage for a given output power capacity. They incorporate a fixed power limit to protect the power supply itself from being inadvertently overloaded, as shown in Figure 1. Usually the idea is for the user to stay below the limit, not operate in power limit. The point here on these examples is that the power parameter is an example of being a limit but not really a level.

Figure 1: Auto-ranging DC power supply power limit

More to the point is some SMUs may incorporate two limits to provide a bounded compliance range with specified positive and negative limits. Not all DUTs are passive, non-reactive devices. As one illustrative example a DUT may be the output of 2-quadrant DC voltage source which you want to force up or down, within limits, or a battery you want to charge and discharge at a fixed rate, with your test system DC source. This set up is illustrated in Figure 2.

Figure 2: Test system DC source driving the output of a DUT source

Figure 3 shows the constant voltage or voltage priority output characteristic for one particular SMU having two programmable current limits. Clearly both limits cannot also be the current level setting as you can only have one level setting. For the case of the external voltage source load line #1 (not all load lines are resistances!), when SMU voltage is less than the DUT source voltage (VEXT1 load line), the current is –ILIM. Conversely when SMU voltage is greater than the DUT source voltage (VEXT2 load line), the current is then +ILIM. In the case of the battery as a DUT this can be used to charge and discharge the battery to specified voltage levels. This desired behavior is achieved using voltage priority operation. Current priority operation would yield very different results. Understanding the nuances of voltage priority, current priority, levels, and limits is useful for getting more utility from your DC sources for more unusual and challenging power test challenges.

Figure 3: Example of a current priority output characteristic driving a DUT voltage source

In closing I’ll concur with my colleague, in many test situations using most DC sources the voltage and current levels and limits may not have a meaningful difference. However, in many more complex cases, especially when dealing with active DUTs and using more capable DC sources and SMUs, there is a clear need for voltage and current level and limit controls that are clearly differentiated and not one and the same! What do you believe?