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

Monday, March 23, 2015

Use slew rate control to cleanly power up and reduce peak inrush current of your DUTs

Previously on Watt’s Up? a colleague wrote about how the current limit setting affects a power supply’s voltage response time (click here to review). In this posting he clearly shows how a low current limit setting can greatly slow down the output voltage turn on response time when powering up your DUT.

While this is generally true and good advice, especially for basic performance power supplies, there are additional things to consider when working with high performance power supplies models, as you will see.

Many basic performance power supplies tend to have larger output filter capacitors in order to achieve lower output noise performance. A disadvantage of having a large output capacitor is that it slows down the output voltage response speed of the power supply. Basic performance power supplies can have turn on response times on the order of a 100 milliseconds.

High performance power supplies operate by a somewhat different set of rules. In comparison to basic performance power supplies they typically have much smaller output capacitors and they are designed to have output turn on and turn off response times on the order of a millisecond or less.

However, absolute fastest is not always the best and that is why fast, high performance power supplies also usually incorporate an output voltage slew rate control as well. This allows you to optimize the output turn on and turn off speed for your particular application. This lets you take advantage of the faster output speed you have available, without it being overkill and cause other problems.

The two most common problems that arise when powering up and powering down many DUTs are related to charging and discharging the input filter capacitor incorporated into them. They are:
  • High peak inrush (and discharge) currents due to the high dV/dt slew rate being applied
  • Power supply CC-CV mode cross over issues resulting from the high peak inrush current


To illustrate, the turn on characteristic of our N6762A power supply was captured when powering up a load consisting of a 1,200 microfarad capacitor in parallel with a 10 ohm resistor. The N6762A was set to 10 volts and its voltage slew rate set to maximum.  This was captured using the N6762A’s digitizing voltage and current readback together with the 14585A software, shown in Figure 1.
  


Figure 1: N6762A power supply turn on response set to maximum slew rate into parallel RC load

The vertical markers have been placed at zero and maximum voltage points of the turn on ramp. The peak inrush current reaches 3.7 amps and the peak voltage overshoots to 11.06 volts, 10% over the 10 volt setting. The overshoot is a result of the power supply crossing over into current limit during the ramp up and allowing the voltage to rise to 11.06 volts before the voltage control loop regains control to bring the output back down to 10 volts. It also takes a little while for the voltage to settle after the peak overshoot. Both the overshoot voltage and peak inrush current can be problems when powering up a DUT. These occur as a result of having too fast of a voltage slew rate when powering the DUT.

To address the problem we then set the N6762A’s slew rate to a more acceptable value of 2,000 volts/second. The turn on voltage and current were again captured and are shown in Figure 2. As can be seen the voltage overshoot is eliminated and the inrush current has been reduced to a more moderate 3.3 amps.


Figure 2: N6762A power supply turn on response set to 2,000 V/s slew rate into parallel RC load

So in closing high performance power supplies have a significant advantage in their output response speed, in comparison to basic power supplies. And while faster is usually better, absolute fastest may not be best, and this applies to the output response time of power supplies as well! But by having the ability to set the output slew rate on high performance power supplies gives you the ability to optimize its speed for your given application, providing for the best possible outcome possible!

.

Friday, December 12, 2014

Why Does Over Current Protect (OCP) have a Programmable Delay Value in the First Place?

Since I am on a roll about over current protect (OCP), having just completed a two-part posting “Why does the response time of OCP vary on the power supply I am using and what can I do about it?” (Review part 1) (Review part 2) there is yet another aspect about OCP that is worth bringing up at this time. And that is “why does OCP have a programmable delay value in the first place?” This actually came up in a discussion with a colleague here after having read my part posting.

It may seem a bit ironic that OCP has a programmable delay in that in my posting on OCP I shared ideas on how one can minimize the response time delay encountered. But this is not contradictory. One may very well want to minimize it, eliminating extra delay being encountered, but not necessarily eliminate it altogether. As can be seen in my previous postings, I had programmed the OCP delay time to 5 ms.

The programmable OCP delay does serve a purpose, and that is to prevent false OCP trips. Adding some delay time prevents these false trips.  For someone who knows the root cause of false OCP tripping they might be half right. There are actually been two main causes of false OCP trips which are prevented by adding some delay time.

The original problem with OCP was that it would be falsely tripped when output voltage settings were changed on the power supply, due to capacitive loading at the test fixture or within the DUT. This is especially prominent with inrush current when first bringing up the voltage to power the DUT. An OCP delay prevents false triggering under these conditions. To correct the false tripping the delay would be invoked when output programming changes were made. As one example, the OCP delay description in our manual for our 663x series power supplies states:

This command sets the time between the programming of an output change that produces a constant
current condition (CC) and the recording of that condition by the Operation Status Condition register. The
delay prevents the momentary changes in status that can occur during reprogramming from being
registered as events by the status subsystem. Since the constant current condition is used to trigger
overcurrent protection (OCP), this command also delays OCP.”

Under this situation the momentary overcurrent is induced by the power supply. Although not nearly as much as in issue in practice, momentary overcurrents can also be DUT-induced as well. This is the second situation that can cause a false tripping of the OCP. The DUT may be independently turned on after the bias voltage has already been on and draw a surge of current. Or the DUT may change mode of operation and draw a temporary surge of current.  If the OCP delay is invoked only by an output programming change it does not have any effect in these situations.

On later generation products, such as our N6700, N6900, and N7900 series, the user also has the ability to programmatically select between having the OCP delay activate from either an output change, or from going into CC condition. This gives the user a way to remain consistent with original operation or have OCP delay effective for momentary DUT-induced overload currents as well!


Friday, December 5, 2014

Why does the response time of OCP vary on the power supply I am using and what can I do about it? Part 2

In the first part of this posting (click here to review) I highlighted what kind of response time is important for effective over current protection of typical DUTs and what the actual response characteristic is for a typical over current protect (OCP) system in a test system DC power supply. For reference I am including the example of OCP response time from the first part again, shown in Figure 1.



Figure 1: Example OCP system response time vs. overdrive level

Here in Figure 1 the response time of the OCP system of a Keysight N7951A 20V, 50A power supply was characterized using the companion 14585A software. It compares response times of 6A and 12A loading when the current limit is set to 5A. Including the programmed OCP delay time of 5 milliseconds it was found that the actual total response time was 7 milliseconds for 12A loading and 113 milliseconds for 6A loading.  As can be seen, for reasons previously explained, the response time clearly depends on the amount of overdrive beyond the current limit setting.

As the time to cause over current damage depends on the amount of current in excess of what the DUT can tolerate, with greater current causing damage more quickly, the slower response at lower overloads is generally not an issue.  If however you are still looking how you might further improve on OCP response speed for more effective protection, there are some things that you can do.

The first thing that can be done is to avoid using a power supply that has a full output current rating that is far greater than what the DUT actually draws. In this way the overdrive from an overload will be a greater percentage of the full output current rating. This will normally cause the current limit circuit to respond more quickly.

A second thing that can be done is to evaluate different models of power supplies to determine how quickly their various current limit circuits and OCP systems respond in based on your desired needs for protecting your DUT. For various reasons different models of power supplies will have different response times. As previously discussed in my first part, the slow response at low levels of overdrive is determined by the response of the current limit circuit.

One more alternative that can provide exceptionally fast response time is to have an OCP system that operates independently of a current limit circuit, much like how an over voltage protect (OVP) system works. Here the output level is simply compared against the protect level and, once exceeded, the power supply output is shut down to provide near-instantaneous protection. The problem here is this is not available on virtually any DC power supplies and would normally require building custom hardware that senses the fault condition and locally disconnects the output of the power supply from the DUT. However, one instance where it is possible to provide this kind of near-instantaneous over current protection is through the programmable signal routing system (i.e. programmable trigger system) in the Keysight N6900A and N7900A Advanced Power System (APS) DC power supplies. Configuring this triggering is illustrated in Figure 2.



Figure 2: Configuring a fast-acting OCP for the N6900A/N7900A Advanced Power System

In Figure 2 the N7909A software utility was used to graphically configure and download a fast-acting OCP level trigger into an N7951A Advanced Power System. Although this trigger is software defined it runs locally within the N7951A’s firmware at hardware speeds. The N7909A SW utility also generates the SCPI command set which can be incorporated into a test program.



Figure 3: Example custom-configured OCP system response time vs. overdrive level

Figure 3 captures the performance of this custom-configured OCP system running within the N7951A. As the OCP threshold and overdrive levels are the same this can be directly compared to the performance shown in Figure 1, using the conventional, current limit based OCP within the N7951A. A 5 millisecond OCP delay was included, as before. However, unlike before, there is now virtually no extra delay due to a current limit control circuit as the custom-configured OCP system is totally independent of it. Also, unlike before, it can now be seen the same fast response is achieved regardless of having just a small amount or a large amount of overdrive.

Because OCP systems rely on being initiated from the current limit control circuit, the OCP response time also includes the current limit response time. For most all over current protection needs this is usually plenty adequate.  If a faster-responding OCP is called for minimizing the size of the power supply and evaluating the performance of the OCP is beneficial. However, an OCP that operates independently of the current limit will ultimately be far faster responding, such as that which can be achieved either with custom hardware or making use of a programmable signal routing and triggering system like that found in the Keysight N6900A and N7900A Advanced Power Systems.

Tuesday, November 18, 2014

Why does the response time of OCP vary on the power supply I am using and what can I do about it? Part 1

In a previous posting of mine “Providing effective protection of your DUT against over voltage damage during test”(click here to review), an important consideration for effective protection was to factor in the response time of the over voltage protect (OVP) system. Due to the nature of over voltage damage, the OVP must be reasonably fast. The response time can typically be just a few tens of microseconds for a reasonably fast OVP system on a higher performance system power supply to hundreds of microseconds on a more basic performance system power supply. This response time usually does not vary greatly with the amount of over voltage being experienced.

Just as with voltage, system power supplies usually incorporate over current protect (OCP) systems as well. But unlike over voltage damage, which is almost instantaneous once that threshold is reached, over current takes more time to cause damage. It also varies in some proportion to the current level; lower currents taking a lot longer to cause damage. The I2t rating of an electrical fuse is one example that illustrates this effect.

Correspondingly, like OVP, power supply OCP systems also have a response time. And also like OVP, the test engineer needs to take this response time into consideration for effective protection of the DUT.  However, unlike OVP, the response time of an OCP system is quite a bit different. The response time of an OCP system is illustrated in Figure 1.



Figure 1: Example OCP system response time vs. overdrive level

Here in Figure 1 the response time of the OCP system of a Keysight N7951A 20V, 50A power supply was characterized using the companion 14585A software. It compares response times of 6A and 12A loading when the current limit is set to 5A. Including the programmed OCP delay time of 5 milliseconds it was found that the actual total response time was 7 milliseconds for 12A loading and 113 milliseconds for 6A loading.

This is quite different than the response time of an OVP system. Even if the OCP delay time was set to zero, the response is still on the order of milliseconds instead of microseconds for the OVP system. And when the amount of overdrive is small, as is the case for the 6A loading, providing just 1A of overdrive, the total response time is much greater. Why is that?

Unlike the OVP system, which operates totally independent of the voltage limit control system, the OCP system is triggered off the current limit control system. Thus the total response time includes the response time of the current limit as well. The behavior of a current limit is quite different than a simple “go/no go” threshold detector as well. A limit system, or circuit, needs to regulate the power supply’s output at a certain level, making it a feedback control system. Because of this stability of this system is important, both with crossing over from constant voltage operation as well as maintaining a stable output current after crossing over. This leads to the slower and overdrive dependent response characteristics that are typical of current limit systems.

So what can be done about the slower response of an OCP system? Well, early on in this posting I talked about the nature of over current damage. Generally over current damage is much slower by nature and the over drive dependent response time is in keeping with time dependent nature of over current damage. The important thing is understand what the OCP response characteristic is like and what amount of over current your DUT is able to sustain, and you should be able to make effective use of the over current protection capabilities of your system power supply.

If however you are still looking how you might further improve on OCP response speed, look for my follow up to this in my next posting!

Wednesday, October 15, 2014

Creating a "bumping" auto-restarting over current protect on the N6900A/N7900A Advanced Power System

The two main features in system power supplies that have traditionally protected DUTs from too much current are the current limit and the over current protect (OCP). When a device, for any of a number of reasons, attempts to draw too much current, the current limit takes control of the power supply’s output, limiting the level of current to a safe level. An example of current limit taking control of a power supply output is shown in Figure 1.



Figure 1: Current limit protecting a DUT against excess current.

For those devices that cannot tolerate a sustained current at the current limit level, the over current protect can be set and activated to work with the current limit and shut down the power supply output after a specified delay time. This will protect a DUT against sustained current at the limit.  An example of an OCP shutting down a power supply output for greater protection against excess current is shown in Figure 2.



Figure 2: OCP protecting a DUT against excess current

We have talked about the current limit and OCP in previous posts. For more details on how the OCP works, it is worth reviewing “What is a power supply’s over current protect (OCP) and how does it work?” (Click here to review)

Sometimes it is desirable to have something that is in between the two extremes of current limit and OCP.  One middle-ground is a fold-back current limit, which cuts back on the current as the overload increases. More details about a fold-back current limit are described in a previous posting “Types of current limits for over-current protection on DC power supplies” (Click here to review). One thing about a fold-back current limit is the DUT and power supply will not be able to recover back into constant voltage (CV) operation unless the DUT is able to cut way back on its current demand.

Another type of current limit behavior that operates between regular current limit and OCP is one that shuts down the output, like OCP, but only temporarily. After a set period of time it will power up the output of the power supply again. If the DUT is still in overload, the power supply will shut down again. However, if the DUT’s overload condition has gone away, it will be able to restart under full power. In this way the DUT is protected against continuous current and at the same time it the power supply is not shut down and requiring intervention from an operator.

While this type of current limit is not normally a feature of a system DC power supply, it is possible to implement this functionality in the N6900A/N7900A Advanced Power System (APS) using its expression signal routing feature. This is a programmable logic system that is used to configure custom controls and triggers that run within the APS. Here the expression signal routing was used to create an auto-restarting current shutdown protect in the example shown in Figure 3.



Figure 3: Custom auto-restarting current shutdown protect configured for N6900A/N7900A APS

A custom control was created in the expression signal routing that triggers the output transient system to run if the current limit is exceeded for longer than 0.3 seconds. A list transient was programmed into the APS unit to have its output go to zero volts for 10 seconds and then return to the original voltage setting each time it is triggered. In this way the output would pulse back on for 0.3 seconds and then shut back down for another 10 seconds if the overload was not cleared. The custom trigger signal was graphically created and downloaded into the APS unit using the N7906A software utility, as shown in Figure 4.



Figure 4: Creating custom trigger for auto-restarting current shutdown protect on APS

Current limit and over current protect (OCP) are fairly standard in most all system DC power supplies for protecting your DUT against excess current. There are not a lot of other choices beyond this without resorting to custom hardware. One more option now available is to make use of programmable signal routing like that in the N6900A/N7900A APS. With a little ingenuity specialized controls like a auto-restarting current shutdown protect can be created through some simple programming.

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!

Tuesday, April 23, 2013

Ferroresonant Transformers as Pre-regulators in DC Power Supplies


One significant drawback of a linear DC power supply is its efficiency for most applications. You can generally design a linear DC power supply with reasonable efficiency when both the output and input voltage values are fixed. However, when either or both of these vary over a wide range, after assuring the DC power supply will properly regulate at low input voltage and/or high output voltage, it then has to dissipate considerable power the other extremes.

For DC power supplies running off an AC line, having to accommodate a fairly wide range of AC input voltage is a given. A 35% increase in line voltage from the minimum to the maximum value is not uncommon. Today’s high frequency switching based power supplies have resolved the issue of efficiency as a function of input line voltage variance. However, prior to widespread adaptation of high frequency switching DC power supplies, variety of different types of low-frequency pre-regulators were developed for linear DC power supplies

What is a pre-regulator? A pre-regulator is a circuit that provides a regulated voltage to the linear output stage from an unregulated voltage derived from the AC line voltage, with little loss of power. Although not nearly as commonly used as other pre-regulator schemes, on rare occasion ferroresonant transformers were used as an effective and efficient pre-regulator in DC power supplies.

What is a ferroresonant transformer? It is similar to a regular transformer in that it transforms AC voltage through primary and secondary windings. Unlike a regular transformer however, once it reaches a certain AC input voltage level it starts regulating its AC output voltage at a fixed level even as the AC input voltage continues to rise, as depicted in Figure 1. Ferroresonant transformers are also commonly called constant voltage transformers, or CVTs.


Figure 1: Ferroresonant transformer input-output transfer characteristic

The ferroresonant transformer employs a rather unique magnetic structure that places a magnetic shunt leakage path between the primary and secondary windings. This structure is illustrated in Figure 2. This way only part of the transformer structure saturates at a higher fixed peak voltage level during each AC half cycle. When part of the core magnetically saturates, the primary and secondary windings are effectively decoupled. The AC capacitor on the secondary side resonates with existing inductance. This provides the carry-over energy to the load during this magnetically saturated phase, holding up the voltage level. The resulting waveform is a clipped sine wave with a fairly high level of harmonic distortion as a result. Some more modern designs include additional filtering that can bring the harmonic distortion down to just a few percent however.


Figure 2: Ferroresonant transformer structure

A ferroresonant transformer has some very appealing characteristics in addition to output voltage regulation:
  • Provides isolation from line spikes and noise that is normally coupled through on conventional transformers
  • Provides protection from AC line voltage surges
  • Provides carry over during momentary AC line drop outs that are of a fraction of a line cycle
  • Limits its output current if short-circuited
  • Extremely robust and reliable


Because of a number of other tradeoffs it is unlikely that you will find them in a DC power supply today. High frequency switching designs pretty much totally dominate in performance and cost. Ferroresonant transformer design tradeoffs include:
  • Large physical size
  • Relatively expensive and specialized
  • Limited to a specific line frequency as it resonates at that frequency


So, even though you are very unlikely to encounter a ferroresonant transformer in a DC power supply today, it’s interesting to see there still appears to be a healthy demand for ferroresonant transformers as AC line conditioners in a wide range of sizes, up to AC line power utility sizes.  Their inherent simplicity and robustness is hard to beat when long term, maintenance-free, reliable service is paramount, and AC line regulation in many regions around the world cannot be counted on to be well controlled.

Tuesday, March 12, 2013

What is a power supply’s over current protect (OCP) and how does it work?


One feature we include in our Agilent system DC power supplies for providing additional safeguard for overload-sensitive DUTs is over current protect, or OCP. While some may think this is something separate and independent of current limiting, OCP actually works in concert with current limiting.

Current limiting protects overload-sensitive DUTs by limiting the maximum current that can be drawn by the DUT to a safe level. There are actually a variety of current limit schemes, depending on the level of protection required to safeguard the DUT during overload. Often the current limit is relatively constant, but sometimes it is not, depending on what is best suited for the particular DUT. Additional insights on current limits are provided in an earlier posting, entitled “Types of current limits for over-current protection on DC power supplies“.

By limiting the current to a set level may DUTs are adequately protect from too much current and potential damage. When in current limit, if the overload goes away the power supply automatically goes back to constant voltage (CV) operation. However, current limit may not be quite enough for some DUTs that are very sensitive to overloads. This is where OCP works together with the current limit to provide an additional level of protection. With OCP turned on, when the DC power supply enters into current limit OCP takes over after a specified time delay and shuts down the output of the DC power supply. The delay time is programmable. This prevents OCP from shutting down the DC power supply from short current spikes and other acceptably short overloads that are not considered harmful. Like over voltage protect or OVP, after tripping the output needs to be disabled and an Output Protect Clear needs to be exercised in order to reset the power supply so that its output can be re-enabled.  Unlike OVP, OCP can be turned on and off and its default is usually off. In comparison, OVP is usually always enabled and cannot be turned off. A typical OCP event is illustrated in Figure 1.



Figure 1: OCP operation

When powering DUTs, either on the bench or in a production test system, it is always imperative that adequate safeguards are taken to protect both the DUT as well as the test equipment from inadvertent damage. Over current protect or OCP is yet another of many features incorporated in system DC power supplies you can take advantage of to protect overload-sensitive DUTs from damage during test!

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

Thursday, October 4, 2012

Flyback Inverter for Fluorescent Lamp: Part 1, Making Repairs


A friend of mine approached me a while ago asking for some help. The fluorescent lamp assembly for his VW Westfalia camper was dead and, knowing I knew more about electronic devices than he did, figured it was worth challenging me with it.  I was actually happy to do so. Being involved with DC power conversion of a variety of forms I was always a bit curious to learn about how fluorescent lamp assemblies that were powered from low voltage DC worked anyway.

“My lamp does not work; can you look at it for me?”
“I suppose. Did it just stop working? Did you try anything to get it working again?”
“Well, it really never worked for me. I messed around with it a little but it did not help. I may have hooked it up backwards.”
“Why do you think you hooked it up backwards?”
“Well, it did not work so I tried reversing the power connections. That didn’t make it work however.”
“You really should not do that with electronic things!”

I took the lamp home and later when I had chance to look at it carefully I visually identified several problems. Like many other things I have repaired, a lot of the times it is not the device itself but rather a previous owner unintentionally inflicts unnecessary damage on it when attempting to make repairs.  In my friend’s partial defense, someone previously had already made unsuccessful attempts at trying to make it work again, unwittingly making things worse.

Referring to Figure 1 I unanchored the inverter circuit board from the back of the lamp assembly for closer inspection. It was immediately obvious there were problems that would keep it from working:
  • The connectors for the wiring to the fluorescent tube were not making contact.
  • A portion of a circuit board trace where the power feeds in was blown away.




Figure 1: Fluorescent lamp inverter board had obvious problems

Clearly someone had let the smoke out of it that made it work!  After making repairs to these problems I then tried powering it up using a power supply with a current limit to keep things safe. As I expected I was not going to get off that easy. The power supply went right up to its current limit setting. The lamp still did not work. 

The next step was to probe around the circuit board with a DMM.  With the abuse this lamp assembly has been subjected to I suspected the switching transistor would be damaged and sure enough it was measuring shorted. However, after removing it, it seemed to check out good. Probing around on the board again, a diode adjacent to the transistor measured shorted as well. Upon its removal it fell in half as a result of being overheated. I found where the rest of the smoke that makes it work had come out!  I replaced the diode, reinstalled the transistor and remounted the circuit board. Upon applying power again the result was a bit different as shown in Figure 2. I managed to reinstall all the smoke back into it again!


Figure 2: Fluorescent lamp assembly back in working order

While I had a general idea of how it works, now that I had the fluorescent lamp assembly working again I had take the opportunity to make some measurements and study the finer aspects of how it works, which I will cover, coming up in part 2. Stay tuned!

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!