## Friday, April 27, 2012

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

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

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

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

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

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

## Thursday, April 19, 2012

### Experiences with Power Supply Common Mode Noise Current Measurements

I wrote an earlier posting “DC Power Supply Common Mode Noise Current Considerations” (click here to review) as common mode noise current can be an issue in electronic test applications we face. This is not so much of an issue with all-linear based power supply designs as it can be for ones incorporating switching based topologies. High performance DC power supplies designed for test applications should have relatively low common mode current by design. I thought this would be a good opportunity to get some more first-hand experience validating common mode noise current. The exercise proved to be a bit of an eye-opener. I tried different approaches and, no surprise; I got back seemingly conflicting results. Murphy was busy working overtime here!

I settled on a high performance, switching-based DC source on having a low common mode noise characteristic of 10 mA p-p and 1 mA RMS over a 20 Hz to 20 MHz measurement bandwidth. To properly make this measurement the general consensus here is a wide band current probe and oscilloscope is the preferred solution for peak to peak noise, and a wide band current probe and wide band RMS voltmeter is the preferred solution for RMS noise. As the wide band RMS voltmeters are pretty scarce here I relied on the oscilloscope for both values for the time being. The advantages of current probes for this testing are they provide isolation and have very low insertion impedance.

I located group’s trusty active current probe and oscilloscope. The low signal level I intended to measure dictated using the most sensitive range providing 10 mA/div (with oscilloscope set to 10 mV/div).
One area of difficulty to anticipate with modern digital oscilloscopes is there are a lot of acquisition settings to contend with, all having a major impact on the actual reading. After sorting all of these out I finally got a base line reading with my DC source turned off, shown in Figure 1.

Figure 1: Common mode noise current base-line reading

My base-line reading presented a bit of a problem. With 1 mV corresponding to 1 mA my 2.5 mA p-p / 0.782 mA RMS base-line values were a bit high in comparison to my expected target values. It would be nicer for this noise floor to be at about 10X smaller so that I don’t have to really factor it out. Resorting to the old trick of looping the wire through the current probe 5 times gave me a 5X larger signal without changing the base-line noise floor. The oscilloscope was now displaying 2 mA /div, with 1 mV corresponding to 0.2 mA. In other words my base-line is now 0.5 mA p-p / 0.156 mA RMS. The penalty for doing this is of course more insertion impedance. Now I was all set to measure the actual common mode noise current. Figure 2 shows the common mode noise current measurement with the DC source on.

Figure 2: Common mode noise current measurement

Things to pay attention to include checking the current on both + and – leads individually to earth ground and load the output with an isolated load (i.e. a power resistor). Full load most often brings on worst case values. Based on the 0.2 conversion ratio I’m now seeing 8 mA p-p and 1.12 mA RMS, including the baseline noise. I am reasonably in the range of the expected values and having a credible measurement!

I decided to compare this approach to making a 50 ohm terminated direct connection. This set up is depicted in Figure 3 below.

Figure 3: 50 ohm terminated directly connected common mode noise current measurement

I knew insertion impedance was considerably more with this approach so I tried both 10 ohm and 100 ohm shunt values to see what kind of readings I would end up with. Table 1 summarizes the results for the directly connected measurement approach.

Table 1: 50 ohm terminated directly connected common mode noise current results

Clearly the common mode noise current results were nowhere near what I obtained with using a current probe, being much lower, and also highly dependent on the shunt resistor value. Why is that? Looking more closely at the results, the voltage values are relatively constant for both shunt resistor cases. Beyond a certain level of increasing shunt resistance the common mode noise behaves more as a voltage than a current. For this particular DC source the common mode voltage level is extremely low, just a few millivolts.

Not entirely content with the results I was getting I located a different high performance DC source that also incorporated switching topology. No actual specifications or supplemental characteristics had been given for it. When tested it exhibited considerably higher common mode noise than the first DC source. The results are shown in table 2 below.

Table 2: 50 ohm terminated directly connected common mode noise current results, 2nd DC source

With both voltage and current results changing for these two test conditions the common mode noise is exhibiting somewhere between being a noise current versus being a noise voltage. I had hoped to see what the results would be using the current probe but it seemed to have walked away when I needed it!

In Summary:
Making good common mode current noise measurements requires paying a lot of attention to the choice of equipment, equipment settings, test set up, and DUT operating conditions. I still have bit more to investigate but at least I have a much better understanding as to what matters. Maybe in a future posting I can provide what could be deemed as the “golden set up”! To get results that correlate reasonably with any stated values will likely require a set up that exhibits minimal insertion impedance across the entire frequency spectrum. Making directly coupled measurements without the use of a current probe will prove challenging except maybe for DC sources having rather high levels of common mode noise currents

The underlying concern here of course is what is what will be the impact to the DUT due to any common mode noise current from the test system’s DC source. Generally that is any common mode noise current ends up becoming differential mode noise voltage on the DUT’s power input due to impedance imbalances. But one thing I found from my testing is that the common mode noise is not purely a current with relatively unlimited compliance voltage but somewhere between being a noise voltage and noise current, depending on loading conditions. For the first DC source, with what appears to be only a few millivolts behind the current it is unlikely that it would create any issues for even the most sensitive DUTs. For the second DC source however, having 100’s of millivolts behind its current, could potentially lead to unwanted differential voltage noise on the DUT. Further investigation is in order!

## Thursday, April 12, 2012

### Pay Attention to the Impact of the Bypass Capacitor on Leakage Current Value and Test Time

It is no secret there is big demand for all kinds of wireless battery powered devices and, likewise, the components that go into these devices. These devices and their components need to be very efficient in order to get the most operating and standby time out of the limited amount of power they have available from the battery. Off-mode and leakage currents of these devices and components need to be kept to a minimum as an important part of maximizing battery run and standby time. Levels are typically in the range of tens of microamps for devices and just a microamp or less for a component. Off-mode and leakage currents are routinely tested in production to assure they meet specified requirements. The markets for wireless battery powered devices and their components are intensely competitive. Test times need to be kept to a minimum, especially for the components. It turns out the choice of the input power bypass capacitor being used, either within the DUT on the DUT’s test fixture, can have a large impact on the leakage current value and especially the test time for making an accurate leakage current measurement.

Good things come in small packages?
A lot has been done to provide greater capacitance in smaller packages for ceramic and electrolytic capacitors, for use in bypass applications. It is worth noting that electrolytic and ceramic capacitors exhibit appreciable dielectric absorption, or DA. This is a non-linear behavior causing the capacitor to have a large time-dependent charge or discharge factor, when a voltage or short is applied. It is usually modeled as a number of different value series R-C pairs connected in parallel with the main capacitor. This causes the capacitor to take considerable time to reach its final steady state near-zero current when a voltage is applied or changed. When trying to test the true leakage current on a DUT it may be necessary to wait until the current on any bypass capacitors has reached steady state before a current measurement is taken. Depending on the test time and capacitor being used this could result in an unacceptably long wait time.

So how do they compare?
In Figure 1 I captured the time-dependent current response waveform for a 5.1 megohm resistor, a 5.1 megohm resistor in parallel with 100 microfarad electrolytic capacitor, and finally a 5.1 megohm resistor in parallel with 100 microfarad film capacitor, when a 5 volt step stimulus was applied.

Figure 1: Current response of different R-C loads to 5 volt step

The 5.1 megohm resistor (i.e. “no capacitor”) serves as a base line to compare the affect the two different bypass capacitors have on leakage current measurement. The film capacitor has relatively ideal electrical characteristics in comparison to an equivalent electrolytic or ceramic capacitor. It settles down to near steady state conditions within 0.5 to 1 second. At 3 to 3.5 seconds out (marker placement in Figure 1) the film capacitor is contributing a fairly negligible 42 nanoamps of additional leakage. In comparison the electrolytic capacitor current is still four times as great as the resistor current and nowhere near being settled out. If you ever wondered why audio equipment producers insist on high performance film capacitors in critical applications, DA is one of those reasons!

So how long did it take for the electrolytic capacitor to reach steady state? I set up a longer term capture in Figure 2 for the electrolytic capacitor. After about a whopping 40 seconds later it seemed to be fully settled out, but still contributing a substantial 893 nanoamps of additional steady state leakage current.

Figure 2: 100 microfarad electrolytic capacitor settling time

Where do I go from here?
So what should one do when needing to test leakage current? When testing a wireless device be aware of what kind and value of bypass capacitor has been incorporated into it. Most likely it is a ceramic capacitor nowadays. Film capacitors are too large and cost prohibitive here. Find out how long it takes to settle to its steady state value. Also, off-state current measurements are generally left until the end of the testing to not waste time waiting for the capacitor to reach steady state. If testing a component, if a bypass capacitor is being used on the test fixture, consider using a film capacitor. With test times of just seconds and microamp level leakage currents the wrong bypass capacitor can be a huge problem!

## Friday, April 6, 2012

### What’s the difference between a fixed output power supply and a programmable output power supply?

I am very fortunate to work with a lot of very smart, talented, and knowledgeable engineers with vast technical backgrounds. I also work with some very smart, talented, and knowledgeable non-technical individuals, some of whom are involved in our sales process. Last month, during a sales training session, one of these individuals identified a competitor’s power supply product that looked very similar to one of our Agilent power supply products: a mainframe with plug-in modules. Upon further investigation, it turned out that the competitor’s product really consisted of modules that were virtually fixed output power supplies while our Agilent product provides programmable output power supplies. So, in fact, these two products do not compete against each other despite the initial appearance. This experience inspired me to post about the differences between a fixed output DC power supply and a programmable output DC power supply.

Fixed output power supplies
A fixed output power supply has, well, a fixed output voltage. This means that when the power supply is plugged in and the output is on, the output voltage is a single voltage that is not expected to change – it is fixed at that voltage. These power supplies are typically used to provide simple bias for a circuit. Some are embedded on a printed circuit board or mounted inside a larger chassis with other circuits, and others may be rack mounted. Fixed output power supplies come in many forms as shown below. Some have a single output voltage while others provide multiple output voltages. One example of a fixed output power supply with multiple outputs is a PC supply (upper left in the figure) – it typically has the following DC output voltages: +3.3 V, +5 V, and +/- 12 V. These voltages provide power to the chips on the PC’s motherboard, including the microprocessor, and to the peripherals installed in the PC, such as the disk drive.

Fixed output power supplies normally have a fixed current limit setting. They typically regulate their output voltages to an accuracy of a few percent (for example, 5%). Many have output noise specifications of 50 to 150 mV peak-to-peak and typically have no measurement capability (such as output voltage or output current measurement).

Programmable output power supplies
A programmable output power supply’s output voltage can be set (programmed) by the user. This means that you can set the voltage to any value between zero and the maximum rated voltage (plus and/or minus) of the supply and change it whenever necessary. The set values are normally controlled either from the front panel of the supply with knobs or buttons, or through the built-in interface connected to a computer. Commands are sent from the computer to the supply to change its output voltage. These power supplies are typically used in test and measurement applications. They might be found on a design engineer’s bench or mounted in a rack of automated test equipment. They come in many forms as shown below. Some have a single output voltage while others provide multiple output voltages. The ability to change the output voltage is required in a circuit test environment. For example, to test a PC’s disk drive, you will need +5 V and + 12 V to power the drive. When installed in a PC, the disk drive will get power from a fixed output power supply in the PC. But when testing the disk drive outside of the PC, you should use a programmable power supply. Since the output voltage of a fixed output supply has an accuracy of a few percent, the voltage could be higher or lower than the nominal. For example, if the +5 V fixed supply has an accuracy of 5%, it could be any value from +4.75 V to +5.25 V. When installed in the PC, the disk drive has to work over this entire range of possible voltages applied to it. So to test it outside of the PC, a programmable power supply should be used and set to various voltages in this range to ensure the drive will always work.

Programmable output power supplies normally have a programmable current limit setting to help protect the device under test from exposure to excessive current. They typically regulate their output voltages to an accuracy of a few tenths of a percent or even better (for example, 0.06%). They have output noise specifications of 1 to 50 mV peak-to-peak and typically have built-in output voltage and output current measurement capability.

Summary
So the main differences between fixed output power supplies and programmable output power supplies are the ability to change the output voltage and the specifications. You can change the output voltage of a programmable supply while that of a fixed supply cannot be changed. Programmable supplies have much more accurate output voltages and much lower noise. They also can typically measure their own output voltage and current while a fixed output supply cannot. Of course, the extra capabilities of the programmable supplies add to their price, but you get what you pay for!