Monday, March 28, 2011

To be, or not to be (green), that is the question

The title above was going to be my next blog post for GigaOm.

But, they thought a better title was “How Plug-In Hybrid Cars Could Be Game Changers”.

I still think my title is clever (and I’m sure Shakespeare would approve), but on a site like GigaOm, it does not say anything about the content of the blog post.   I’ve never worried about things like that, but it’s the price you pay for playing in the Major Leagues :-) 

Anyway, I’m beginning to think about the Chevy Volt.  Not sure I agree with the title, but I’m seriously thinking about it.    

Read all about it here


Saturday, March 19, 2011

One year and a change in TWiB

Over the past couple of weeks, I have been in conversation with the folks at GigaOm network to be a guest writer for their cleantech blog called Earth2Tech

After consulting with my employer (Lawrence Berkeley Lab), I have signed an agreement with GigaOm to be a guest writer.

What this means is that when I write a blog I will send it to them.  If they think the post meets their needs, then it will appear on their site.  This page will be updated with a small abstract of that post and a link to their site. 

If GigaOm decides to not use that post, then the post will appear, in its entirety, on this page. 

This Week in Batteries started just over a year ago on Feb 9, 2010.  Over the last year, I have made ~30 posts on subjects ranging from the costs of PHEVs, the way to make a battery last longer, the batteries in your Roomba, all the way to how to calculate the energy density of a battery.

Making a blog post has become a hobby for me (probably the first true hobby I have ever had.  Collecting stamps just did not cut it!).  But like all hobbies it tends to be a fairly low item on the priority list.  Regular readers will have noticed the long hiatus’ I have taken when work has demanded more of my hours. 

When I wake up on a Sunday and feel like writing, I spend the morning making a post.  If I have something else to do, then I don’t make a post.   On average, I probably spend 2 hours on a blog post. 

The return on the 2 h investment has been very gratifying.  I average 5000 hits a month (please don’t ask how many of those are self hits!) with a peak at 10,000.

I have also become convinced that if I really worked at it, I could make this blog popular.  But this requires a lot more of my time.  And even if I did spend the time, I’m not sure how much more popular I can make it. 

On the other hand, GigaOm gets 4 million hits a month.  And some of their blog posts gets picked up by the New York Times, CNN, Business Week, and The Street. 

Being able to get my posts onto GigaOm increases the visibility of this blog significantly, so the relationship is a no brainer. 

The first post is now up on their site.  Its called the “The Three Laws of Batteries (and a Bonus Zeroth Law)”.  Check it out.   They even added some nice pictures to accompany the words. 

For the regular readers of this blog, this only means that you will need to, occasionally, click on one more link before you can read my post.

So wish me luck.


Monday, February 7, 2011

I'll be back... in 8 hours

Some of my readers have wondered why I have been off the blogosphere in the last few months. The reason is that we brought a house and the move from the apartment to our new place has been a bit of a time sink.

First we went through the four stages of home buying:

Stage 1: What the &%#@ do you mean they accepted our bid? I thought you said we were lowballing?

Stage 2: When you use words like "downpayment", does this involve us giving you a check?

Stage 3: I assume roof's are like batteries? Meaning, when you say it is at the end of its life, there is still 80% left, right?

Stage 4: Keep repeating after me: "Owning is better than renting" and, please, stop asking "why?"!

Then we realized that owning a house also meant owning things like leaf blowers and lawn mowers! So, when I saw that there was a battery-powered lawn mower, I jumped at the chance to push my favorite technology forward.

I was looking forward to using my expertise in batteries to maintain and extend the life of my lawn mower for many years to come.

I was not particularly looking forward to mowing the lawn, but owning a battery-powered mower seemed to make up for that.

Until I realized that the top-rated battery-powered mower uses lead-acid batteries.

Lead-acid!!! really! How old school can one really get.

My first thought: Start a battery company to make Li-ion batteries for lawn mowers.

Then I started thinking about this some more. There must be a catch here. So I started digging into what it was.

Let us do some math: The battery for this lawn mower cost ~$270/kWh. That is one expensive lead-acid battery. Presumably, it is a deep-discharge battery, and so it is better made than a car battery.

And there is probably a significant markup.

Did I mention that the mower was on sale for $300! More like a mark-way-way-up.

Considering a typical Northern California growing cycle, this mower will probably be used ~50 times a year (once a week). These deep-discharge batteries can probably go a few hundred cycles. So I'm thinking 4-5 years easy.

But the bigger problem is going to be the calendar life. Sulfation can kill these cells.

Having said that, the battery is probably going to be at the top-of-charge pretty much through its life (think about it: Mown for 1 hour. Keep it plugged in all week). And remember our rule for lead-acid batteries: Keep them charged. So I think we can expect to get ~3 years from these cells.

Lets do some math for a Li-ion battery. I bought one a few weeks ago. This battery will probably last me 3 years and get me ~300 cycles or so. So it has similar specs to the lead-acid battery.

The Li-ion battery, on the other hand, cost me a whooping $2300/kWh!! No... really. This is what it cost me.

Now... knowing Apple, a new word has to be coined for their level of markup. But still this is one expensive battery.

At this price, a Li-ion lawn-mower-battery would have cost me $800!

All you MBA-types are probably cringing because you all know that cost and price are very different from each other and that the price is dictated by what the market is willing to pay (my wife is an MBA and she gave me this spiel).

Granted. So let us do a cost-differential comparison. This comes out to be ~$50/kWh more expensive for a Li-ion cell. Using this, the cost of a Li-ion battery for this mower would be higher than the lead-acid battery by... the price of lunch!

Not at Chez Panisse. But at the LBNL cafeteria (same quality, but at a much lower price?)

So why not use a Li-ion instead. After all it is almost 5x the energy density.

The mower that I have been talking about in this blog is a push mower. So the battery does not need to drag itself. All it has to do is turn the cutting blade. And space is not a big constraint. The mower's size is dictated by the size of the blade anyway.

So why bother using a new type of battery when you don't really see much of a benefit?

Frankly, although I have not looked at the life-cycle, I'll take a bet that it is probably better for the environment to use a lead-acid battery considering how much of this lead is recycled. In comparison, all you recycle in a Li-ion is the high-value metals in the cathode. The rest, literally, goes down the drain.

Maybe the math will change for a self-propelled mower. Or if the weight of the mower is an issue. But I don't see any reason to jump to using a Li-ion battery for the mower I was looking at. This business plan does not appear to have much legs.

So what did I do? I got the corded version of this mower. It cost me $100 less.

I guess the price that I'm willing to pay to push my favorite technology forward is less than $100!

In my guilt I decided to do my part for the technology by buying a Roomba.

I'm not sure if you guys know about this amazing robotic vacuum. It is pretty interesting to watch. It has sensors that make it slow down when it approaches objects, detect dirt, and prevent it from falling off of stairs.

It is not particularly good at vacuuming. But it feels like it is cleaning the floors and isn't that what's important!

But here is the kicker. The one I have has a Ni-MH battery.

I suppose I should be thankful it is not a lead-acid, but Ni-MH? COME ON!

The last time I checked, the cost of Li-ion and Ni-MH batteries were pretty comparable. And the energy density of Li-ion is 2-3x greater. And remember that in this machine (unlike the mower) the vacuum has to drag its battery along. And space is a big deal. The smaller the footprint, the smaller the space it can vacuum.

So why use a 20th century battery for a 21st century machine? Strange.

A web search revealed that Li-ion Roomba's have apparently died prematurely. If this is the case, then iRobot (the company that makes the Roomba) needs to change battery suppliers.

The vacuum I got goes through 2 rooms and then runs out of juice. It could have finished my house in one charge if it had a Li-ion of the same size. Or you could have a better vacuum on it so that it actually picks up dirt instead of moving it around and still only vacuum 2 rooms. You get the point.

When I first saw this machine, I thought that all the things on Terminator (the movie) were coming true. Jokes apart, it really is a pretty decent robotic cleaner which does indeed find its way around. You can, pretty much, set it and forget it.

But then I realized that we had nothing to worry from the machines as long as battery technology evolves the way it has been in the past.

When Arnold Schwarzenegger's character said "I'll be back" on T2, he (it) actually meant "I'm running out of battery and I need to go find an outlet and charge for 8 h. I will then come back to look for you for the 1/2 hour my battery lasts. Wish me luck".

So much for the machines taking over.

If you constantly complain about how batteries are not evolving fast, did you ever consider for the second that maybe we are out to save the world in our own way?


Monday, January 31, 2011

Did I say “Pull the Plug”? Meant to say “DO NOT pull the plug”

This could be a mea culpa post. It is rare that I’m wrong; it is even rarer that I admit it! So listen up folks.

In the early days of this blog, one of my dedicated (?) readers had asked me about the urban myth about not keeping the laptop plugged in to extend the life of the battery. In response, I had written a post titled “Pull the plug, your battery will thank you”. This post is the single most popular post on this blog. Almost a year after the post was made, it still gets the most hits.

The logic behind doing this is very sound. As you can read from that post, it has to do with side reactions that occur in the battery at the top of charge. Letting the battery discharge a bit is good for life because the rate of these side reactions decreases with decrease in the voltage. Suffice to say that I recommended you wait for the battery to charge and then you pull the plug and let it self discharge. This way you can extend its life.

I follow this rule pretty diligently. And I thought it had worked well for me. I have one laptop that is 2 years old, has had 297 cycles and has lost 4% of its initial capacity. Not bad. This is my workhorse. I use it every day and although I pull the plug diligently, my usage is such that I keep it pretty close to fully charged. So over the last 2 years, it has spent its time at close to, say, 4 V.

I have another laptop which is 3 years old. It is my personal laptop which we (my wife and I) use typically only over the weekend. We pull the plug diligently, but then the computer sleeps all week; self discharges; and by the end of the week is pretty much discharged. This battery, as of last week, had not lost any appreciable capacity even after 350 cycles.

These two data points tell you something about batteries. The cell with more cycles and with more time is cycling better! No magic. Just a simple fact that the battery was sitting at a lower state of charge and so the side reactions were not as worse. Ergo, better life.

Did I mention that both these are Macs? I have a third laptop given to me by a startup where I spend some of my time. This is a PC assembled by a company whose name starts with a D and ends with an L and has 4 letters to it. That computer is on its 4th battery in 2.5 years. After I lost my first battery I spent significant time trying to understand why my rules were not working and trying to tweak the rules. Soon, I came to the conclusion that with some batteries there really is no point trying to find ways to extend life. They are beyond help.

Actually, these rules have been helping this battery also. But different battery companies make batteries with different quality (achieving tightly-bound quality metrics has been a challenge in the manufacturing of batteries). So when you start with a battery with bad quality, there is only so much you can do.

But let us get back to my Mac.

Well... last weekend, my 3 year old Mac with no capacity fade suddenly appeared to have a dead battery. Not a battery with some loss in capacity; or one with 20% loss in capacity (which is considered dead). It was just plain dead. No charge; pull the plug and it would shutdown. It was on life support, literally!

The only way this battery would have a second life was if it were a Hindu and had not attained enlightenment and so was eligible (I suppose doomed is a better word) to be reborn. Somehow it seemed like even with the 1000 (or is it 10,000) Hindu gods there was no way to get this battery back up.

My first reaction was one of disbelief. There was no way a battery can go from no fade to completely dead in a matter of 1 week of self discharge. It had to be a software glitch that was not allowing the battery to be used.

Two hours, a bit of heartburn, and a detailed scouring of the world wide web later, I found various tricks to reset the battery management software and a software to measure the voltage of the battery and came to the conclusion that it was indeed dead. The (average) individual cell potential appeared to be close to 1.5 V! The typical cutoff potential of these cells is around 2.5 V.

So I pulled the plug and my battery died!!

A call to Apple confirmed that I was out of warranty and was told to go to the Apple store for a “detailed diagnostics”.

So I dragged myself to see the “genius” at the store (I’m not being condescending here; they really call the tech support guys genius’. Apparently if Einstein were alive today he would be working at the Palo Alto Apple store!).

Albert plugged a USB stick into my laptop; my screen turned into a series of numbers. Albert then turned and says that my battery is dead. Clearly he was on his way to writing a paper on the unified field theory.

I apologetically told him something like “I understand a bit about batteries and I don’t expect them to fail like this” and he said “I would not expect them to do that early on, but after 3 years I fully expect this”. Not “its possible”, but “fully expect”!!!

I debated giving up versus trying to argue on the finer points of battery chemistry but it seemed like a lost cause. I’ve been very reluctant using my celebrity status as the author of TWiB, and I have to say that it is intimidating arguing with a “genius”!

So I shelled out $130 for a new battery; thanked the guy for his help; and left.

I drove back re-examining my whole life and everything I know. I always thought there was some merit to the George Costanza (of Seinfeld fame) principle of doing the opposite of what our instincts tell us. Maybe I had it all wrong. Maybe you should not be pulling the plug. Maybe my jingle on battery rules needed to be rewritten.

A couple of days later my confidence started to return. I decided to do what anyone looking for credible information does: perform a google search to see if plugging in your laptop battery is bad. I came across my original blog post on this topic.  I sounded so convincing in the post that I started to get re-convinced that I was right about my rules.

So what is going on? How can a battery die when it is self discharging on sleep?

Here is my take.

All you PC folks are familiar with the hibernation mode that you can either force your computer to enter, or set it such that the power management utility moves the computer to hibernation after a while of being at sleep.

In sleep the computer stops many of the processes from running and thereby decreases the processing needs and hence drains the battery slowly. In hibernation, the computer (presumably) stops pretty much everything; stores the state in memory; and basically shuts down. This means there is very little drain on the battery.

In a Mac there is a sleep option, but there is no hibernation option. However, if you are in sleep and if your battery drains down to some small state of charge (say 5%), then it automatically moves into a “hibernation” mode; freezes the state and stops all the processes.

One thing we had noticed in the dead Mac (before it died) was that when we opened it over the weekend it was pretty much in hibernation with little juice left in the battery.

Ideally hibernation in a low state of charge is a good thing. Remember the rule “don't charge them too high”? Higher the voltage of the battery, worse will be its capacity fade. So storing it at a low state of charge (or low voltage) is actually good for the battery.

Did I mention that keeping the voltage way too low (i.e., over-discharging) is a bad thing?

This is because many cathode materials can get irreversibly damaged on over-discharge. More importantly, if an anode is over-discharged you can start dissolving the current collector (copper).

When you discharge the battery and it reaches its end of discharge voltage, depending on the battery chemistry (i.e., the anode and cathode that it uses) and on the design of the cell, the battery is limited by either the anode not having any lithium left, or the cathode not being able to accept any more lithium.

As you cycle this battery there are side reactions in both the electrodes. The extent of these side reactions depends on the design of the cell, the chemistry of the electrodes, the composition of the electrolyte, the level of impurities in the manufacturing, the way the battery is formed etc.

In other words, the side reactions are pretty complicated.

However, what we need to understand is that these side reactions can actually change the way the electrode reaches the end of discharge. They can even change which electrode limits the end of discharge.

So here is my take on what happened to the Mac battery.

The battery management system had a methodology of estimating the state of the battery and deciding if its needs to jump from sleep (the usual mode) to hibernation. This estimation was probably pretty accurate at the beginning of the life of the battery.

But years pass (3 in my case); the side reactions chug along; and they start changing the shape of the voltage curves, especially at the end of the discharge. Slowly, but surely, the management system was making errors in its estimation on the remaining charge.

The battery was not fading appreciably. Instead it was becoming harder to predict the time it would take to go from, say, 5% SOC to being fully-discharged.

I think that as my battery kept fading, the transition from sleep to hibernation was not getting triggered correctly, the battery over-discharged.

This is why when I checked the battery voltage it was sitting at 1.5 V.

I have a sneaking suspicion that my battery may actually come back to life if charged but that the power management software is not allowing any charge to reach the battery because the battery voltage is so low. I should have asked for my old,dead battery to try to resuscitate it myself!

If this sounds like an easy explanation considering how complicated all this is, its because it is the only plausible explanation I can come up with. If Steve Jobs would like to disagree, I’m listening.

So I still believe that if you “pull the plug, your battery will thank you”. I am glad I don’t have to go back and change 7 of my posts and apologize to my regular readers (all 7 of them!)

So what can one do about all this? Download the desktop hibernation widget at This gives you a way to move your Mac directly into hibernation instead of to sleep. This is probably a good thing anyway to conserve battery on long trips etc.

Or you could buy one of the new Macbook air computers which comes standard with hibernation.

In the meantime, my rule stands: Pull the plug, and your battery WILL thank you.

When Albert at the Apple store told me he “fully expected” my battery to behave this way, maybe, just maybe, he actually knew all this. After all, he is a “genius”.