Friday, August 31, 2012

Power Supply Resolution versus Accuracy



One of the questions that we have received on the support team quite a few times and something that confused me when I started at Agilent is the concept of our resolution supplemental characteristic versus our accuracy specification.  I sat down with my colleague Russell and we wanted to do a simple explanation of the differences. 

If you look at our power supply offering, there is always an accuracy specification and a resolution supplemental characteristic for both programming and measurement.  For the purposes of this blog post, we are going to look at the programming accuracy (0.06% + 19 mV) and programming resolution (3.5 mV) of the N6752A High Performance DC Power Module.  Please note that these same explanations apply to the measurement side as well but for the sake of brevity we will be sticking to programming in our example.  

Let’s start by talking about resolution.  Our power supplies use Digital to Analog Converters (DACs) to take the user inputted settings and convert them to analog signals that set a programming voltage that will interact with the control loop of the power supply to set the output.  The resolution supplemental characteristic represents one single count of the DAC.  This is also known as the Least Significant Bit (LSB).  What this means for our end user is that the smallest step they can make between two settings on the unit is the programming resolution number.  In our example, the N6752A can be set to 0.9975 V, 1.001 V, 1.0045 V, etc.  These are all multiples of 3.5 mV and any setting that falls between two DAC counts will be put into the nearest count.  If the user tried to set the N6752A to 1 V, the power supply will actually be set to 1.001 V since that is the nearest count.  This is also known as quantization error. 

The accuracy specification always includes an error term for the quantization error.  This is typically half of the resolution supplemental characteristic.  The accuracy specification also includes many other factors such as DAC accuracy, DAC linearity, offset error of operational amplifiers, gain errors of the feedback loops, and temperature drift of components.   The accuracy will always be worse than the resolution since it includes all of the factors listed above as well as the term for the quantization error.  You can definitely see this in the N6752A where the resolution is 3.5 mV and just the offset of the accuracy specification not including the gain term is 19 mV which is more than 5 times greater than the resolution. 

I hope that this was helpful.   If there are any questions, please leave comments here or on our forum at Agilent Discussion Forums

Thursday, August 23, 2012

Early Power Transistor Evolution, Part 1, Germanium


We recently completed our “Test of Time” power supply contest. Contestants told us about how they were using their Harrison Labs/HP/Agilent DC power supplies and the older the power supply, the better. It was pretty fascinating to see the many innovative way these power supplies were being used. It was also fascinating to see so many “vintage” power supplies still functional and in regular use after many decades. Several of them even being vacuum tube based!

One key component found in most all power supplies from the mid 1950s on is, no surprise, power transistors. Shortly after manufacturers were able to make reliable and reasonably rugged transistors in the mid 1950s they also developed transistors that would handle higher currents and power. Along with higher power came the need to dissipate the power. This led to some interesting packaging; some familiar and others not as familiar. Hunting through my “archives” I managed to locate some early power transistors. In review of their characteristics it was quite enlightening to see how they evolved to become better, faster, and cheaper! I also found it is quite challenging to find good, detailed, and most especially, non-conflicting information on these early devices.

Germanium was the first semiconducting material widely adopted for transistors, power and otherwise. One early power transistor I came across was the 2N174, shown in Figure 1.



Figure 1: 2N174 Power Transistor

Following are some key maximum ratings on the 2N174 power transistor:

  •  VCEO = -55V
  • VCBO = -80V
  •  VEBO= -60V
  •  IC = 15A
  • PD = 150W
  • hfe= 25
  •  fT = 10 kHz
  •  Thermal resistance = 0.35 oC/W
  •  TJ= 100 oC
  • Package: TO-36
  • Polarity: PNP
  • Material/process: Germanium alloy junction

The alloy junction process provided a reliable means to mass produce transistors. Most of the earlier transistors are PNP with N type semiconductor “pellets” or “dots” of typically indium alloyed to a P type germanium wafer. This process favored PNP production as the indium had a lower melting point than the N-type germanium bases. Still, this was a relatively slow and expensive process as they were basically manufactured one at a time. These early alloy junction transistors were not passivated and therefore needed to be hermetically packaged to prevent contamination and degradation. Often referred to as a “door knob” package, the TO-36 stud mount package was quite a piece of work and was no doubt expensive to as a result. It had a pretty impressive junction-to-case thermal resistance but given the maximum temperature of just 100 oC, low thermal resistance was necessary in order to operate the transistor at a reasonable power level. The low maximum operating temperature of germanium was one of most limiting attributes, especially for power applications. The transition frequency, fT of just 10 kHz was also extremely low. This is the frequency where current gain, hfe, drops down to 1, ceasing to be an effective amplifier. The 2N174 appears to have originated in the later 1950’s.

Another early power transistor we used in our HP 855B bench power supplies is the 2N1532, as shown in Figure 2.



Figure 2: 2N1532 power transistors used in a Harrison Labs Model 855B power supply.

Following are some key maximum ratings on the 2N1532 power transistor:

  • VCEO = -50V 
  • VCBO = -100V
  • VEBO= -50V
  •  IC = 5A
  • PD = 94W
  • hfe= 20 to 40
  • fT = 200 kHz
  • Thermal resistance = 0.8 oC/W
  •  TJ= 100 oC
  • Package: TO-3
  • Polarity: PNP
  • Material/process: Germanium alloy junction
The 2N1532 is also a germanium PNP power transistor, similar to a number of other power transistors of the time. It is packaged in the widely recognizable TO-3 diamond-shaped hermetic package.  Being a much less complex case design it must have been considerably less costly than the TO-36 package in Figure 1, and has become one of the most ubiquitous hermetic power semiconductor packages of all times. To keep junction temperature rise down the Harrison Labs Model  855B power supply used three 2N1532 transistors in its series regulator to deliver just  18 volts and 1.5 amps output. It’s no wonder why these power supplies have stood the “Test of Time” as these transistors are running significantly de-rated, at just a fraction of their maximum power here.  It is also noteworthy to see the transition frequency of 200 kHz is 20 times that of the 2N174. This is one of the more questionable data I had found but if it is accurate then clearly design and process improvements contributed to this performance improvement.  While date codes on some of the capacitors in this model 855B power supply place its manufacture in 1962, early germanium PNP power transistors in TO-3 packages like these also typically originate back in the later 1950’s.

While germanium transistors have much greater conductivity, lower forward- and saturation voltage drops compared to silicon transistors, silicon ultimately won out in the end, especially for power transistor applications. Stay tuned for my second part in an upcoming posting. Discover how silicon evolved to rule the day for power transistors!

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.

Tuesday, July 31, 2012

New Firmware Available for the N6700B, N6701A, and N6702A Modular Power System Frames.

Hello everybody!

I recently posted a new firmware file for the N6700B, N6701A, and N6702A mainframes to the Agilent website.  You can access the new firmware at: http://www.agilent.com/find/N6700firmware.  The latest firmware revision is D.01.09.  There are two new measurement features that I wanted to highlight.  These two new features are External Datalogging and Power Measurements. 

External Datalogging (ELOG for short) is a feature that we have had in the N6705 DC Power Analyzer for some time now that we have just added to the modular power mainframes.  This feature allows you to take averaged measurements at a specified time interval for however long you want (be careful though, you can fill your hard drive).  The time interval can be anywhere from 102.4 us to 60 s depending on the number of parameters being logged.  You can take those measurements and store them in whatever format you want (I usually store everything in a CSV file).  You can only access ELOG using a SCPI program (you cannot ELOG from the front panel).  I plan on writing more about ELOG in the future but here is a quick peek of what the SCPI commands to set up and execute an ELOG look like:

SENS:ELOG:FUNC:CURR ON,(@2)                     !Turn current logging on
SENS:ELOG:FUNC:CURR:MINM ON,(@2)        !Turn current min/max logging on
SENS:ELOG:FUNC:VOLT ON,(@2)                     !Turn voltage logging on
SENS:ELOG:FUNC:VOLT:MINM ON,(@2)        !Turn voltage min/max logging on
SENS:ELOG:PER 0.0007,(@2)                            !Sets an integration time of 700 us
TRIG:ELOG:SOUR BUS,(@2)                              !The ELOG will start when there is a bus trigger
INIT:ELOG (@2)                                                   !Tell the unit to wait for a trigger
*TRG                                                                      !Trigger

This is an example of how you would read back the logged data:
while current time<the time you want to log for
FETC:ELOG? 4096 ,(@2)                                    !Read back a maximum of 4096 ELOG records
store into a file
loop

This command kills the ELOG:
ABOR:ELOG (@2)                                              !Return the unit to its normal state

Stay tuned to this blog for more information.

The other feature that we added to a few of our modules was the ability to measure power.  We can now measure power on the N676xA, N6781A, N6782A, and N6784A modules.  Why is it only on these few modules you ask?  That is because these modules have two measurement digitizers that allow it to measure both voltage and current at the same time.  Since power = voltage * current, you need to have a simultaneous voltage and current measurement to get an accurate power measurement. 

That is all I have for today.  If you have any questions, please just let us know.

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!

Monday, July 9, 2012

Validating Battery Capacity for End-use Conditions


In my previous posting “Some Basics on Battery Ratings and Their Validation” I discussed the importance of making certain you are getting the most out of your battery as a key task for optimizing the battery run-time of a mobile battery powered device. You do not want to just rely on what is specified for the battery but you really need to validate it. Indeed, when I did, I found a battery’s capacity to be 12% lower than its rated value. That is a lot of unexpected loss of run-time to try to make up for! On further testing and investigation I indeed confirmed it was the battery and not something I did with inadequate charging or discharging.

Once you get a handle on the battery’s stated ratings, based on recommended charging and discharging conditions, you should then validate the capacity you are able to get under the loading conditions your device subjects the battery to. Most modern mobile battery powered devices draw high peak pulsed, low average current from the battery. Batteries subject to pulsed loading deliver less capacity in comparison to being subjected to the comparable loading that is only DC.  The amount of impact depends on the battery’s design and its ability to handle high peak pulsed loading. Furthermore two different batteries with the same ratings can deliver substantially different results in the end-use application. The bottom line is you need to validate the battery under end-use conditions to assess how much impact it has on the battery’s performance.

Creating end-use operating conditions for devices of course depends on the type of device. In some cases it may be fairly simple but in many cases it can be rather complex. A smart mobile phone, for example, requires a set up that can emulate the wireless network it normally operates in and then place it in a representative active operating state under which to run down the battery. The battery’s run down voltage and current in turn needs to be logged until the battery reaches its proper discharge termination point, in order to assess the amount of capacity it delivers under end-use conditions. An example of such a set up is shown in Figure 1.

Figure 1: End-use battery run down test set up for a mobile phone

As you are trying to assess battery capacity under end-use conditions you will likely want to run trials several times and for different batteries, you will want to control conditions as closely as possible so that you can confidently compare results knowing they were done under comparable test conditions. You also need to be careful about (not) relying on the mobile device’s internal battery management system for end-of-life discharge termination as it is a possible source of error. A technique I resorted to was to record a representative portion of the end-use pulsed current drain drawn by the mobile phone which I then “played back” continuously through our N6781A SMU, acting as an electronic load, to discharge the battery. The N6781A had the required fidelity, accuracy, and “playback” hooks to faithfully reproduce loading of the actual device.  Further details on this record and playback approach are documented in a technical overview “Simplify Validating a Battery’s Capacity and Energy for End-Use Loading Conditions”. The results of my validating the battery’s capacity under end-use conditions are shown in Figure 2.

Figure 2: End-use battery capacity validation results

In this case the battery delivered 3% less capacity under end-use pulsed loading in comparison to the results when validated using comparable DC-only loading. Here the battery appears well suited for its end-use application. Many times however, the impact can be much greater. As always, make certain to take appropriate safety precautions when working with batteries and cells.