Showing posts with label OCP. Show all posts
Showing posts with label OCP. Show all posts

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!

Tuesday, August 5, 2014

Upcoming Seminar on Protecting Your Device against Power-Related Damage during Test

Here on “Watt’s Up?” we have provided a good number of posts about various protection features incorporated into system power supplies to protect your device against power-related damage during test. Just recently my colleague Gary posted “How Does Power Supply Over-Voltage Work?” (Click here to review) Here he reviews inner workings of different OVP implementations.  I recently posted “Safeguarding Your Power-Sensitive DUTs against an Over-Power Condition” (Click here to review) Here I go over a method to protect your DUT against excess power when other power supply features like over current protection may be less than ideal.

The reason why we frequently share power-related protection topics here is protecting your DUT is extremely important, there are a lot of different capabilities incorporated in system power supplies for this purpose, and there are a lot of practical considerations when putting them to use.  

Hopefully a number of you have found our posts on protection-related topics of help. Because this is a very important topic and there is so much more you should know about it I will be giving a live web-based seminar “Protecting Your Device against Power-Related Damage during Test” on August 20th, just a few weeks away from today. I will be going over a number of protection-related topics which we have not yet covered here on “Watt’s Up?”.  One of my objectives is to provide a more holistic view of the many ways a system power supply is able to better safeguard against power-related damage as well as what is practical to expect when using these various capabilities incorporated in the power supply.

You can register online at the following (Click here for description and registration page) In case you are not able to attend the live event on August 20 you will be able to register and listen to seminar afterward as well, as it will be recorded.


So if protecting your device against power-related damage is important to you I hope you are able to attend the seminar!

Wednesday, October 30, 2013

Protect your DUT from over-current in more ways than one

Last month, I posted about one of our new families of products: the N6900/N7900 Series 1- and 2-kW Advanced Power System (APS) DC Power Supplies (click here). I typically like to post about more general power topics rather than focus on specific Agilent products, but this product has some really interesting features from which you can benefit. After 33 years of working on power here, there aren’t too many new products that get me excited, but this is one of them! So here is a story about an application for it.

Earlier this month, I visited one of our customers that had a device under test (DUT) whose input was sensitive to too much current. That is typically not a difficult issue to protect against using Agilent power supplies with over-current protection (OCP). Set the current limit to a value that you don’t want to exceed, turn on OCP, and the power supply output will go into protect (turn off) when the current limit value is reached. Simple enough! But this customer had an additional requirement. In addition to an OCP value as just described, he also wanted to shut down the output if the current exceeded a lower current for more than a specified amount of time. So he wanted the power supply output to go into protect (turn off) if either of the following conditions occurred on his DUT (I changed this example to protect his information):

       1.  DUT input current exceeds 6 A for any amount of time, or
       2.  DUT input current exceeds 4.5 A for 80 ms

To be honest, at the time of the visit, I wasn’t sure if our new product could do this. The product is so new and so feature-rich that I am not yet familiar with all of its capabilities. But when I returned to my office, I set it up and found it was very easy to do! Here is the solution:

I used the advanced signal routing and logical trigger expressions built into our N7952A APS to setup both requirements. I could have sent SCPI commands to setup the same trigger configuration, but our free Power Assistant Software (N7906A) made this even easier. Figure 1 shows the software with the configuration.


If, after creating the configuration, I want all of the SCPI commands that correspond to it for a program, I could use the software feature “SCPI to clipboard” that creates them from the configuration. See Figure 2.


Take a look at this feature in action. Figure 3 shows a scope trace of the current waveform. As you can see, currents that are less than 4.5 A do not trip the protection. And currents above 4.5 A for less than 80 ms (and below 6 A) also do not trip the protection. But as soon as the current exceeds 4.5 A for 80 ms (and remains below 6 A), the protection tripped – the output shut off causing the current to go to zero amps.


This is just one example of how versatile the N6900/N7900 APS power supplies are. For more information about how these advanced power systems can help you in your power application, please use this link: www.agilent.com/find/aps. To explore this advanced signal routing and logical trigger expressions feature even more, take a look at a post from one of my collegues: https://gpete-neil.blogspot.com/2013/10/protecting-your-dut-during-test-with.html

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, February 8, 2013

Protecting your DUT using a power supply’s remote inhibit and fault indicator features


Paramount in most any good electronic test system is the need to adequately protect the device under test (DUT), as well as the test equipment, from inadvertent damage due to possible faults with the yet-untested DUT, accidental misconnections, misapplication of power, and a large number of other unanticipated events that can occur. It is no surprise that a lot of these unanticipated events by nature are related to the powering of the DUT. For this reason good system DC power supplies incorporate a number of features designed to protect both the DUT, as well as the power supply, in the event of an unanticipated fault occurring.  Two related protection features incorporated into our DC system power supplies are the remote inhibit and the discrete fault indicator (RI/DFI). These features provide real-time protection enabling immediate shutting down the power supply, as well as enabling the power supply to take immediate action, on the event of detecting the occurrence of an unanticipated event or fault.

The remote inhibit is a digital input control while the discrete fault indicator is a digital output control signal, incorporated into the digital I/O port on our system DC power supplies. An example of a digital I/O port is illustrated in Figure 1. When the digital I/O port is configured for fault/inhibit (also called RI/DFI) pins 1 and 2 are the open collector and emitter of an isolated transistor, to serve as a digital output control, and pin3 and 4 are the digital input and common for the inhibit control input. The remote inhibit and the fault indicator can be used independently as well as in combination, for protecting the DUT.




Figure 1: Multi-function digital I/O port on Agilent 6600A series system DC power supplies

As the name implies, the remote inhibit is a digital control input, when activated, immediately disables the DC power supply’s output. One way this is commonly used is to connect an emergency shutdown switch that can be conveniently activated in the event of a problem. This may be a large pushbutton, or it may be a switch incorporated into a fixture safety cover. This arrangement is shown in Figure 2.



Figure 2: Remote inhibit using external switch

The fault indicator (i.e. FLT, FI, or DFI) digital output signal originates from the system DC power supply’s status system. The status system is a configurable logic system within the power supply having a number of registers that keep track of its status for operational, questionable, and standard events. Many of these events can be logically OR’ed together as needed to provide a fault output signal when particular, typically unanticipated, events occurs with the power supply. Items tracked by questionable status group register, like over voltage and over current, for example, are commonly selected and used for generating a fault output signal. An overview of the power supply status register system was discussed by a colleague in a previous posting. If you are interested in learning more; click here.
The fault indicator output can in turn be used to control an external activity for protecting the DUT, such as opening a disconnect relay to isolate the DUT, as one example, as depicted in Figure 3.




Figure 3: Fault output controlling an external disconnect relay

For DUTs that require multiple bias voltage inputs it is usually desirable that if a fault is detected on one bias input, that the other bias inputs are immediately shut down in conjunction with the one detecting a fault. The fault outputs and remote inhibit inputs on several DC power supplies can be used in combination by chaining them together, as depicted in Figure 4, to accomplish this task, to safeguard the DUT.



Figure 4: Chaining fault indicators and remote inhibits on multiple DC power supplies

The remote inhibit and fault indicator digital control signals on system DC power supplies provide a number of ways to disable power and take other actions for safeguarding the DUT. Their action is immediate, not requiring communication to, and intervention from, the test system controller. At the same time the system DC power supply generates status signals and can issue a service request (SRQ) to the test system controller so that it is notified of a problem condition and take appropriate correction action as well. The remote inhibit and fault indicator digital control signals are just two of many features found in many good system DC power supplies to assure the DUT is always adequately protected during test!

Thursday, March 29, 2012

Protect your DUT with power supply features including a watchdog timer

The two biggest threats of damage to your device under test (DUT) from a power supply perspective are excessive voltage and excessive current. There are various protection features built into quality power supplies that will protect your DUT from exposure to these destructive forces. There are also some other not-so-common features that can prove to be invaluable in certain applications.

Soft limits
The first line of defense against too much voltage or current can be using soft limits (when available). These are maximum values for voltage and current you can set that later prevent someone from setting output voltage or current values that exceed your soft limit settings. If someone attempts to set a higher value (either from the front panel or over the programming interface), the power supply will ignore the request and generate an error. While this feature is useful to prevent accidentally setting voltages or currents that are too high, it cannot protect the DUT if the voltage or current actually exceeds a value due to another reason. Over-voltage protection and over-current protection must be used for these cases.

Over-voltage protection
Over-voltage protection (OVP) is a feature that uses an OVP setting (separate from the output voltage setting). If the actual output voltage reaches or exceeds the OVP setting, the power supply shuts down its output, protecting the DUT from excessive voltage. The figure below shows a power supply output voltage heading toward 20 V with an OVP setting of 15 V. The output shuts down when the voltage reaches 15 V.

Some power supplies have an SCR (silicon-controlled rectifier) across their output that gets turned on when the OVP trips essentially shorting the output as quickly as possible. Again, the idea here is to protect the DUT from excessive voltage by limiting the voltage magnitude and exposure time as much as possible. The SCR circuit is sometimes called a “crowbar” circuit since it acts like taking a large piece of metal, such as a crowbar, and placing it across the power supply output terminals.

Over-current protection
Over-current protection (OCP) is a feature that uses the constant current (CC) setting. If the actual output current reaches or exceeds the constant current setting causing the power supply to go into CC mode, the power supply shuts down its output, protecting the DUT from excessive current. The figure below shows a power supply output current heading toward 3 A with a CC setting of 1 A and OCP turned on. The power supply takes just a few hundred microseconds to register the over-current condition and then shut down the output. The CC and OCP circuits are not perfect, so you can see the current exceed the CC setting of 1 A, but it does so for only a brief time.

The OCP feature can be turned on or off and works in conjunction with the CC setting. The CC setting prevents the output current from exceeding the setting, but it does not shut down the output if the CC value is reached. If OCP is turned off and CC occurs, the power supply will continue producing current at the CC value basically forever. This could damage some DUTs as the undesired current flows continuously through the DUT. If OCP is turned on and CC occurs, the power supply will shut down its output, eliminating the current flowing to the DUT.

Note that there are times when briefly entering CC mode is expected and an OCP shutdown would be a problem. For example, if the load on the power supply has a large input capacitor, and the output voltage is set to go from zero to the programmed value, the cap will draw a large inrush current that could temporarily cause the power supply to go into CC mode while charging the cap. This short time in CC mode may be expected and considered acceptable, so there is another feature associated with the OCP setting that is a delay time. Upon a programmed voltage change (such as from zero to the programmed value as mentioned above), the OCP circuit will temporarily ignore the CC status just for the delay time, therefore avoiding nuisance OCP tripping.

Remote inhibit
Remote inhibit (or remote shutdown) is a feature that allows an external signal, such as a switch opening or closing, to shutdown the output of the power supply. This can be used for protection in a variety of ways. For example, you might wire this input to an emergency shutdown switch in your test system that an operator would use if a dangerous condition was observed such as smoke coming from your DUT. Or, the remote inhibit could be used to protect the test system operator by being connected to a micro switch on a safety cover for the DUT. If dangerous voltages are present on the DUT when operating, the micro switch could disable DUT power when the cover is open.

Watchdog timer
The watchdog timer is a unique feature on some Agilent power supplies, such as the N6700 series. This feature looks for any interface bus activity (LAN, GPIB, or USB) and if no bus activity is detected by the power supply for a time that you set, the power supply output shuts down. This feature was inspired by one of our customers testing new chip designs. The engineer was running long-term reliability testing including heating and cooling of the chips. These tests would run for weeks or even months. A computer program was used to control the N6700 power supplies that were responsible for heating and cooling the chips. If the program hung up, it was possible to burn up the chips. So the engineer expressed an interest in having the power supply shut down its own outputs if no commands were received by the power supply for a length of time indicating that the program has stopped working properly. The watchdog timer allows you to set delay times from 1 to 3600 seconds.

Other protection features that protect the power supply itself
There are some protection features that indirectly protect your DUT by protecting the power supply itself, such as over-temperature (OT) protection. If the power supply detects an internal temperature that exceeds a predetermined limit, it will shut down its output. The temperature may rise due to an unusually high ambient temperature, or perhaps due to a blocked or incapacitated cooling fan. Shutting down the output in response to high temperature will prevent other power supply components from failing that could lead to a more catastrophic condition.

One other way in which a power supply protects itself is with an internal reverse protection diode across its output terminals. As part of the internal design, there is often a polarized electrolytic capacitor across the output terminals of a power supply. If a reverse voltage from an external power source was applied across the output terminals, the cap (or other internal circuitry) could easily be damaged. The design includes a diode across the output terminals with its cathode connected to the positive terminal and its anode connected to the negative terminal. The diode will conduct if a reverse voltage from an external source is applied across the output terminals, thereby preventing the reverse voltage from rising above a diode drop and damaging other internal components.