Wednesday, March 21, 2012

Using Current Drain Measurements to Optimize Battery Run-time of Mobile Devices

One power-related application area I do a great deal of work on is current drain measurements and analysis for optimizing the battery run-time of mobile devices. In the past the most of the focus has been primarily mobile phones. Currently 3G, 4G and many other wireless technologies like ZigBee continue to make major inroads, spurring a plethora of new smart phones, wireless appliances, and all kinds of ubiquitous wireless sensors and devices. Regardless of whether the device is overly power-hungry due to running data-intensive applications or power-constrained due to its ubiquitous nature, there is a need to optimize its thirst for power in order to get the most run-time from its battery. The right kind of measurements and analysis on the device’s current drain can yield a lot of insight on the device’s operation and efficiency of its activities that are useful for the designer in optimizing its battery run-time. I recently completed an article that appeared in Test & Measurement World, on-line back in November and then in print in their Dec 2011- Jan 2012 issue. Here is a link to the article:
http://www.tmworld.com/article/520045-Measurements_optimize_battery_run_time.php

A key factor in getting current drain measurements to yield the deeper insights that really help optimize battery run-time is the dynamic range of measurement, both in amplitude and in time, and then having the ability to analyze the details of these measurements. The need for a great dynamic range of measurement stems from the power-savings nature of today’s wireless battery powered devices. For power-savings it is much more efficient for the device to operate in short bursts of activities, getting as much done as possible in the shortest period of time, and then go into a low power idle or sleep state for an extended period of time between these bursts of activities. Of course the challenge for the designer to get his device to quickly wake up, stabilize, do its thing, and then just as quickly go back to sleep again is no small feat! As one example the current drain of a wireless temperature transmitter for its power-savings type of operation is shown in Figure 1.


Figure 1: Wireless temperature transmitter power-savings current drain

The resulting current drain is pulsed. The amplitude scale has been increased to 20 µA/div to show details of the signal’s base. This particular device’s current drain has the following characteristics:
• Period of ~4 seconds
• Duty cycle of 0.17%
• Currents of 21.8 mA peak and 53.7 µA average for a crest factor of ~400
• Sleep current of 7 µA
This extremely wide dynamic range of amplitude is challenging to measure as it spans about 3 ½ decades. Both DC offset error and noise floors of the measurement equipment must be extremely low as to not limit needed accuracy and obscure details.

Likewise being able to examine details of the current drain during the bursts of activities provides insights about the duration and current drain level of specific operations within the burst. From this you can make determinations about efficiencies of the operations and if there is opportunity to further optimize them. As an example, in standby operation a mobile phone receives in short bursts about every 0.25 to 1 seconds to check for incoming pages and drops back into a sleep state in between the receive (RX) bursts. An expanded view of one of the RX current drain bursts is shown in figure 2.


Figure 2: GPRS mobile phone RX burst details

There are a number of activities taking place during the RX burst. Having sufficient measurement bandwidth and sampling time resolution down to 10’s of µsec provides the deeper insight needed for optimizing these activities. The basic time period for the mobile phone standby operation is on the order of a second but it is usually important to look at the current drain signal over an extended period of time due to variance of activities that can occur during each of the RX bursts. Having either a very deep memory, or even better, high speed data logging, provides the dynamic range in time to get 10’s of µsec of resolution over an extended period of time, so that you can determine overall average current drain while also being able to “count the coulombs” it takes for individual, minute operations, and optimize their efficiencies.

Anticipate seeing more here in future posts about mobile wireless battery-powered devices, as it relates to the “DC” end of the spectrum. In the meantime, while you are using your smart phone or tablet and battery life isn’t quite meeting your expectation (or maybe it is!), you should also marvel at how capable and compact your device is and how far it has come along in contrast to what was the state-of-the-art 5 and 10 years ago!

Wednesday, February 29, 2012

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

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

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

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

Figure 1: Auto-ranging DC power supply power limit

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

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

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

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

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

Wednesday, February 22, 2012

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

I was having a discussion with a colleague about constant current operation versus constant voltage operation and the distinction between level settings and limit settings the other day. “The level and limit settings are really the same thing!” he claimed. I disagreed. We each then made ensuing arguments in defense of our positions.

He based his argument on the case of a DC power supply that has both constant voltage and constant current operation. I’ll agree that is a reasonable starting point. As a side note there is a general consensus here that if it isn’t a true, well regulated constant voltage or constant current, whether settable or fixed, then it is simply a limit, not a level setting, end of story. He continued “if the load on the power supply is such that it is operating in constant voltage, then the voltage setting is the level setting and the current setting is the limit setting. If the load increases such that the power supply changes over from constant voltage operation into constant current operation then the voltage setting is becomes the limit setting and the current setting becomes the level setting!” (See figure 1.) He certainly has a good point! For your more basic DC power supply that only operates in quadrant 1 capable of sourcing power only, the current and voltage settings usually interchangeably serve as both the level and compliance limit setting, depending on whether the DC power supply is operating in constant voltage or constant current. The level and compliance limit regulating circuits are one and the same. Likewise with the programming, there are only commands to set the voltage and current levels. There are not separate commands for the limits. I might be starting to lose grounds on this discussion!
Figure 1: Unipolar single quadrant DC source operation

However, all is not lost yet. The DC power supply world is often more complicated than just this unipolar single quadrant operation just presented. Watch for my second part on when the levels and limits are not necessarily one and the same.

Friday, February 17, 2012

The economics of recharging your toy helicopter

While on a business trip visiting customers in Taiwan back in December, I got a toy helicopter as a thank-you gift from one of my coworkers (thanks, Sharon!). This toy helicopter is fun to fly and is surprisingly stable in the air.


Flight time is about 7 minutes, and the battery recharge time is about 40 minutes. It can be recharged from a powered USB port by using a wire that came with the toy that has a USB connector on one end and the helicopter charging connector on the other end. Or, it can be recharged from the six AA alkaline batteries inside the handheld controller via a wire that exits from the controller. Thinking I did not want to prematurely drain the controller batteries, I typically used the USB charging method by using my iPad’s 10 W USB power adapter plugged into a wall outlet. So I got to thinking about which charging method was more economical: charging from a wall outlet or from the batteries. Luckily, I have test equipment at my disposal that can help me answer that question!


Recharging using AC power via USB power adapter
Using one of our Agilent 6812B AC sources, I captured the AC power used during a recharge cycle. I used the AC source GUI to take readings of power every second for the charge period and plotted it in a spreadsheet (graph shown below). I found that the power consumed started at about 2.2 W and ended at about 1.2 W roughly 41 minutes later. The energy used during this time was 1.1 W-hours. Where I live in New Jersey, the utility company charges about 15 cents per kilowatt-hour, so 1.1 W-hours of energy used to charge the helicopter costs fractions of a penny (0.0165 cents = US$ 0.000165). This is basically nothing!


Recharging using controller battery power
To analyze the current drawn from the controller batteries, I used one of our Agilent N6705B DC power analyzers with an N6781A SMU module installed. I ran the battery current path through the SMU set for Current Measure mode and used our 14585A Control and Analysis software. I captured the current drawn from the six AA batteries in the controller during the helicopter recharge cycle. These batteries are in series, so the same current flows through each of the six batteries and also through the SMU for my test.



For the recharge period (about 43 minutes using this method), the software shows the batteries provided 173 mA-hours of charge to the helicopter. A typical AA alkaline battery is rated for 2500 mA-hours, so that means I would get about 14 (= 2500/173) charge cycles from these six batteries. If you shop around for high-quality AA batteries, you might find them for as low as 25 cents per battery. Since the controller takes six of these, the battery cost for the controller is $1.50. If I can recharge the helicopter 14 times with $1.50 worth of batteries, each recharge cycle costs about 10.7 cents (= US$ 0.107). This is 650 times more expensive than using the AC power method, so I will continue using the wall outlet to recharge my toy helicopter! How about you?
Note that with the AC power recharge method, you pay for the kilowatt-hours you consume from your utility company. With the controller battery power method, you pay for the mA-hours you consume from your batteries. Consider this: if you choose the AC power method, you will save US$ 0.106835 per recharge cycle. That means after just 2.81 million recharge cycles, you will have saved enough money to buy yourself a real helicopter worth US$ 300,000, so you better get started now!

Monday, January 30, 2012

Watts and volt-amperes ratings – what’s the difference and how do I choose an inverter based on them?

At the end of September, I posted about hurricane Irene and inverters. In that post (click here to read), I talked about the power ratings for inverters and just skimmed the surface about the differences between ratings in watts (W) and volt-amperes (VA). In this post, I want to go further into detail about these differences. Both watts and VA are units of measure for power (in this case, electrical). Watts refer to “real power” while VA refer to “apparent power”.

Inverters take DC power in (like from a car battery) and convert it to AC power out (like from your wall sockets) so you can power your electrical devices that run off of AC (like refrigerators, TVs, hair dryers, light bulbs, etc.) from a DC source during a blackout or when away from home (like when you are camping). Note that this power discussion is centered on AC electrical power and is a relatively short discussion about W, VA, and inverters. Look for a future post with more details about the differences between W and VA.

Watts: real power (W)
Watts do work (like run a motor) or generate heat or light. The watt ratings of inverters and of the electronic devices you want to power from your inverter will help you choose a properly sized inverter. Watt ratings are also useful for you to know if you have to get rid of the heat that is generated by your device that is consuming the watts or if you want to know how much you will pay your utility company to use your device when it is plugged in a wall socket since you pay for kilowatt-hours (power used for a period of time).

The circuitry inside all electronic devices (TVs, laptops, cell phones, light bulbs, etc.) consumes real power in watts and typically dissipates it as heat. To properly power these devices from an inverter, you must know the amount of power (number of watts, abbreviated W) each device will consume. Each device should show a power rating in W on it somewhere (390 W in the picture below) and you can just add the W ratings of each device together to get the total expected power that will be consumed. Most inverters are rated to provide a maximum amount of power also shown in watts (W) – they can provide any number of watts less than or equal to the rating. So, choose an inverter that has a W rating that is larger than the total number of watts expected to be consumed by all of your devices that will be powered by the inverter.


Volt-Amperes: apparent power (VA)
VA ratings are useful to get the amount of current that your device will draw. Knowing the current helps you properly size wires and circuit breakers or fuses that supply electricity to your device. A VA rating can also be used to infer information about a W rating if the W rating is not shown on a device, which can help size an inverter. Volt-amperes (abbreviated VA) are calculated simply by multiplying the AC voltage by the AC current (technically, the rms voltage and rms current). Since VA = Vac x Aac, you can divide the VA rating by your AC voltage (usually a known, fixed number, like 120 Vac in the United States, or 230 Vac in Europe) to get the AC current the device will draw. To combine the apparent power (or current) of multiple devices, there is no straightforward way to get an exact total because the currents for each device are not necessarily in phase with each other, so they don’t add linearly. But if you do simply add the individual VA ratings (or currents) together, the total will be a conservative estimate to use since this VA (or current) total will be greater than or equal to the actual total.


What if your device does not show a W rating?
Some electrical devices will show a VA rating and not a W rating. The number of watts (W) that a device will consume is always less than or equal to the number of volt-amperes (VA) it will consume. So if you need to size an inverter based on a VA rating when no W rating is shown, you will always be safe if you assume the W rating is equal to the VA rating. For example, assume 300 W for the 300 VA device shown in the picture above. This assumption may cause you to choose an oversized inverter, but it is better to have an inverter will too much capacity than one with too little capacity. An inverter with too little capacity will make it necessary for you to unplug some of your devices; otherwise, the inverter will simply turn itself off to protect its own circuitry each time you try to start it up, so it won’t work at all if you try to pull too many watts from it.

Some electrical devices will show a current rating (shown in amps, or A) and not a VA rating or W rating. Usually, this current rating is a maximum expected current. Maximum current usually occurs at the lowest input voltage, so calculate the VA by multiplying the current rating (A) times the lowest voltage shown on the device. Then, assume the device consumes an equal number of W as mentioned in the previous paragraph. For example, the picture below shows an input voltage range of 100 to 240 V and 2 A (all are AC). The VA would be the current, 2 A, times the lowest voltage, 100, which yields 200 VA. You could then assume this device consumes 200 W.

Monday, January 23, 2012

Six of seven new Agilent power supplies are autorangers, but what is an autoranger, anyway?

In this blog, I avoid writing posts that are heavily product focused since my intention is generally to provide education and interesting information about power products instead of simply promoting our products. However, when we (Agilent) come out with new power products, I think it is appropriate for me to announce them here. So I will tell you about the latest products announced last week, but I also can’t resist writing about some technical aspect related to these products, so I chose to write about autorangers. But first…..a word from our sponsor….

From last week’s press release, Agilent Technologies “introduced seven high-power modules for its popular N6700 modular power system. The new modules expand the ability of test-system integrators and R&D engineers to deliver multiple channels of high power (up to 500 watts) to devices under test.” Here is a link to the entire press release:

http://www.agilent.com/about/newsroom/presrel/2012/17jan-em12002.html

I honestly think these new power modules are really great additions to the family of N6700 power products we continue to build upon. We have several mainframes in which these power modules can be installed and now offer 34 different power modules that address applications in R&D and in integrated test systems. Oooooppps, I slipped into product promotion mode there for just a short time, but it was because I really believe in this family of products….I hope you will forgive me!

OK, now on to the more fun stuff! Since six of these seven new power modules are autorangers, let’s explore what an autoranger is. Agilent has been designing and selling autorangers since the 1970s (we were Hewlett-Packard back then) starting with the HP 6002A. To understand what an autoranger is, it will be useful to start with an understanding of what a power supply output characteristic is.

Power supply output characteristic
A power supply output characteristic shows the borders of an area containing all valid voltage and current combinations for that particular output. Any voltage-current combination that is inside the output characteristic is a valid operating point for that power supply.

There are three main types of power supply output characteristics: rectangular, multiple-range, and autoranging. The rectangular output characteristic is the most common.

Rectangular output characteristic
When shown on a voltage-current graph, it should be no surprise that a rectangular output characteristic is shaped like a rectangle. See Figure 1. Maximum power is produced at a single point coincident with the maximum voltage and maximum current values. For example, a 20 V, 5 A, 100 W power supply has a rectangular output characteristic. The voltage can be set to any value from 0 to 20 V, and the current can be set to any value from 0 to 5 A. Since 20 V x 5 A = 100 W, there is a singular maximum power point that occurs at the maximum voltage and current settings.

Multiple-range output characteristic
When shown on a voltage-current graph, a multiple-range output characteristic looks like several overlapping rectangular output characteristics. Consequently, its maximum power point occurs at multiple voltage-current combinations. Figure 2 shows an example of a multiple-range output characteristic with two ranges also known as a dual-range output characteristic. A power supply with this type of output characteristic has extended output range capabilities when compared to a power supply with a rectangular output characteristic; it can cover more voltage-current combinations without the additional expense, size, and weight of a power supply of higher power. So, even though you can set voltages up to Vmax and currents up to Imax, the combination Vmax/Imax is not a valid operating point. That point is beyond the power capability of the power supply and it is outside the operating characteristic.

Autoranging output characteristic
When shown on a voltage-current graph, an autoranging output characteristic looks like an infinite number of overlapping rectangular output characteristics. A constant power curve (V = P / I = K / I, a hyperbola) connects Pmax occurring at (I1, Vmax) with Pmax occurring at (Imax, V1). See Figure 3.

An autoranger is a power supply that has an autoranging output characteristic. While an autoranger can produce voltage Vmax and current Imax, it cannot produce them at the same time. For example, one of the new power supplies just released by Agilent is the N6755A with maximum ratings of 20 V, 50 A, 500 W. You can tell it does not have a rectangular output characteristic since Vmax x Imax (= 1000 W) is not equal to Pmax (500 W). So you can’t get 20 V and 50 A out at the same time. You can’t tell just from the ratings if the output characteristic is multiple-range or autoranging, but a quick look at the documentation reveals that the N6755A is an autoranger. Figure 4 shows its output characteristic.

Autoranger application advantages
For applications that require a large range of output voltages and currents without a corresponding increase in power, an autoranger is a great choice. Here are some example applications where using an autorangers provides an advantage:
• The device under test (DUT) requires a wide range of input voltages and currents, all at roughly the same power level. For example, at maximum power out, a DC/DC converter with a nominal input voltage of 24 V consumes a relatively constant power even though its input voltage can vary from 14 V to 40 V. During testing, this wide range of input voltages creates a correspondingly wide range of input currents even though the power is not changing much.
• There are a variety of different DUTs of similar power consumption, but different voltage and current requirements. Again, different DC/DC converters in the same power family can have nominal input voltages of 12 V, 24 V, or 48 V, resulting in input voltages as low as 9 V (requires a large current), and as high as 72 V (requires a small current). The large voltage and current are both needed, but not at the same time.
• A known change is coming for the DC input requirements without a corresponding change in input power. For example, the input voltage on automotive accessories could be changing from 12 V nominal to 42 V nominal, but the input power requirements will not necessarily change.
• Extra margin on input voltage and current is needed, especially if future test changes are anticipated, but the details are not presently known.

Monday, January 9, 2012

When powering multiple DUTs, should I use multiple small power supplies or one big power supply?

If you have to provide DC power to multiple devices under test (DUTs) at the same time, you will have to choose between using multiple smaller power supplies to provide power to each individual DUT (Figure 1) or one big power supply to power all of the DUTs at once (Figure 2). As will most choices, each has advantages and disadvantages. However, in this case, the advantages of choosing multiple smaller power supplies seem to outnumber those for the single bigger supply.




One of my colleagues, Bob Zollo, wrote an article on this topic that appeared in Electronic Design on October 12, 2011. Here is a link to the article:

http://electronicdesign.com/test-amp-measurement/powering-multiple-duts-parallel-consider-individual-supplies

Below is my summary of the contents:

Advantages of choosing multiple smaller power supplies
• Enables individual DUT current measurements without additional hardware
• Enables individual DUT voltage control
• Enables individual DUT shutdown upon DUT failure
• Enables individual DUT galvanic disconnect with relays inside power supply
• Prevents one DUT inrush current from disturbing other DUT’s voltage
• Prevents one DUT failure from affecting other DUT testing
• Isolates power supply failure to one DUT instead of affecting all DUTs

Advantages of choosing one big power supply
• Power supply hardware is less expensive
• Less power supply hardware to calibrate

The disadvantages of the smaller power supply choice are that the total power supply hardware is more expensive and is a larger quantity of hardware to calibrate. The disadvantages of the one big power supply are that it does not provide any of the advantages listed for the smaller supplies.

So you can see that the multiple smaller power supply choice has more advantages over the one big power supply choice. For the one big power supply choice, current monitoring and relays can be added in series with each DUT; however, this will contribute significantly to the cost of the system. If your application does not require you to monitor or control the power to each of your DUTs individually, you may be able to use the less capable one big power supply approach. Otherwise, use multiple smaller power supplies to get all of the performance, measurement, and control you need to test your DUTs.