Power In Your Pocket: How a Battery Works for the Electronics Beginner

Sam Sattel September 8, 2017

15 min read

Autodesk Fusion Logo

Elevate your design and manufacturing processes with Autodesk Fusion

Power In Your Pocket: How a Battery Works for the Electronics Beginner

It’s hard to picture the world without batteries in it. Say goodbye to that smartphone you tow around in your pocket. Or that laptop you take with you wherever you go. Oh, and that car you drive? I’m afraid you’ll need to learn how to hand crank it now that batteries aren’t a thing. These little chemical superheroes play such a massive and vital role in our modern lives, but many of us take them for granted. We just assume they plug in and provide power for a greater purpose, but how exactly does all of that work? Thankfully you’re an electronics designer, so you’ll need to know a little more. You might just be placing a battery holder on your PCB layout, but it helps to know what that battery is doing, and why.

What Is a Battery?

That might seem like a rhetorical question, but what exactly is a battery? Sure, we know that it provides power when we plug it into a circuit, but there could be little engineering gnomes working behind the scenes in that metal container! You can think of batteries as small capsules of chemical potential. When left alone the chemical inside a battery don’t do anything, but when you plug one into a circuit, those chemicals come alive, converting chemical energy into electrical energy to power all of your most cherished electronic devices.

This conversion process from chemical to electrical energy can release over days, months, or years, depending on what kind of battery you choose and how much chemicals are within. For example, you might only switch out the battery in your watch once every five years, but the AA batteries in your Xbox controller might need to be swapped out every month. To understand the inner workings of a battery, it’s good to start with the general anatomy and structure of these little chemical superheroes.

The External Structure

Starting on the outside, any battery regardless of shape or size will always have two terminals, one positive (+) and one negative (-). In an ordinary dry cell battery like an AA or AAA, those two terminals reside on each end of the unit. But on something bigger, like a car battery, you’ll find the positive and negative terminals sitting on top of the unit.

9v-battery
Your typical 9V battery with positive and negative terminals on one side. (Image source)

Regardless of where the terminals on a battery are located, the result is always the same. You connect the two terminals together in a circuit, to perform a certain task, called load. A load can be anything from powering a smartphone to spinning a motor.

The Internal Workings

Inside the battery is where the transfer of energy happens. Here, you’ll always find three essential components regardless of what kind of battery you look at:

battery-of-anatomy
Here you can see the internal structure of a typical dry cell battery. (Image source)

How Does a Battery Work?

We already know that a battery converts chemical energy into electrical energy to power our electronic devices. But how exactly does this transformative process work? Again, regardless of what kind of battery you’re working with, the primary electrochemical reaction is always the same.

First, you have to connect your battery to a circuit that has a load, or the job for the battery to do. Once the two terminals of a battery are connected, a bunch of electrochemical reactions begin to occur between the anode, cathode, and electrolyte.

The first thing that happens is the anode undergoes a process called oxidation reaction. This is a fancy way of saying that a bunch of excess electrons build up in the anode through the mixture of ions in the electrolyte paste. If there’s anything to know about electrons, it’s that they hate being around each other when there’s too many of them, and so they’ll be looking for a new place to call home. They could just travel straight to the cathode, but there’s a separator blocking their path, so they have to take a long way around through a circuit.

While an oxidation reaction is occurring in the anode, on the other side of the battery a reduction reaction is taking place in the cathode through an exchange of ions and free electrons. Here, the cathode ends up reducing its amount of electrons, creating a free space for electrons in the anode.

oxidation-and-reduction-reactions
In the oxidation and reduction reactions, electrons travel from anode to cathode to seek balance. (Image source)

So now you have two opposing variables at play. You have too many electrons in the anode and not enough electrons in the cathode. What happens? When you connect that battery up to a circuit, the excess electrons in the anode will travel through the circuit, powering all of your components, until they finally arrive at the cathode. This process happens over and over again, all thanks to the electrochemical process that the electrolyte kicked into motion. Eventually, though, the electrolyte paste is going to run out, and when that happens a chemical reaction stops occurring, then your battery is dead.

For any battery to convert chemical energy into electrical energy, the anode and cathode need to be made from two conductive metals. Why is this? One metal in a battery needs to be willing to build up excess electrons, while the other is required to reduce them. If you used two metals of the same type, they would both be doing the same action, and the electrochemical process would never work.

By using two different metals, like zinc in the anode and manganese dioxide in the cathode, you can ensure that there’s a force pushing and pulling electrons from one terminal to the other. This entire process is called electronegativity.

You can see how all of this comes together in a practical example like a flashlight:

Batteries will behave the same in any device. There will always be a difference in electric charge between the positive and negative terminals, which causes electrons to flow and electricity to be created. Without this difference in charge, electrons would already be at peace and in balance, so why would they bother making a circuit work?

When There’s More Than One Battery

Your simple flashlight might run off of one battery, but most devices take more than one chemical superhero to make electrical energy happen. From smartphones to electric vehicles, you’ll typically find batteries arranged in one of two ways, either in Parallel or Serial. Here’s the difference between the two:

Parallel

When arranging multiple batteries in parallel, you get the same overall voltage, but an increase in current. This heightened current level is rated in amp-hours or milliamp hours. For example, a battery cell measured at 500 milliamp-hours can produce 500 milliamps of current to a load for an hour.

parallel-batteries
Batteries joined in parallel increase in current. (Image source)

Serial

When arranging multiple batteries in serial, you get the same overall current, but now your voltage will be higher. For example, a car battery has six individual battery cells, each of which is 2 volts. Combined, that car battery operates at 12 volts.

series-batteries
Batteries in series increase their voltage. (Image source)

Types of Batteries

In the world of batteries, there are a ton of varieties to choose from depending on your specific needs. Rather than just dumping a giant list on you, it makes more sense to break batteries up into two major categories, Primary and Secondary.

Primary Batteries

Primary batteries, or primary cells, are the typical disposable batteries that work once until they run out of a charge and are then discarded. These batteries offer an instant source of power in your pocket, and include:

Zinc-Carbon

This primary cell is the everyday disposable battery that you probably have lying around your house. This inexpensive battery powers everyday electronic devices, ranging from a flashlight to your remote control. In a zinc-carbon battery, the positive electrode is made from carbon surrounded by powdered carbon and manganese oxide. The negative electrode is made of zinc alloy, and the electrolyte consists of a paste of ammonium chloride.

zinc-carbon-battery
A typical zinc-carbon battery in a variety of sizes. (Image source)

Alkaline

It’s hard to tell the difference between an alkaline and zinc-carbon battery, but alkaline batteries can store and produce more energy, and can often stay charged for years. Within an alkaline battery, you’ll find the positive electrode made of manganese oxide, the negative electrode made out of zinc, and the electrolyte consisting of a potassium hydroxide alkaline solution.

alkaline-battery
Alkaline batteries look like zinc, but they pack more of a punch. (Image source)

Lithium

You’ll typically find these button-sized lithium batteries being used in watches and hearing aids, but they contain a similar set of chemicals as an alkaline battery. The top side of a lithium cell, the negative electrode, is made from either zinc or lithium. The bottom side, or positive electrode, is made from manganese oxide, silver oxide, or copper oxide.

lithium-battery
These lithium batteries can power watches for years. (Image source)

Secondary Batteries

Unlike primary batteries, which can only produce electrical energy until its chemical energy runs out, rechargeable secondary batteries can reverse their aging process. These batteries send the entire electrochemical process reaction in reverse, firing electrons from cathode to anode until the battery’s cell gets fully restored. Secondary battery types include:

Lead-Acid

This is the battery that you’ll find in your car, and it consists of six separate battery cells that each produce 2 volts, giving you a 12 volt battery wired in parallel. Each cell within a lead-acid battery has a positive electrode made of lead dioxide, a negative electrode made from lead metal, and an electrolyte made from sulfuric acid.

Lead-acid-batteries
Lead acid batteries do all the heavy lifting to power your car. (Image source)

Nickel-Cadmium

Nicad, or Ni-Cd, was the traditional rechargeable battery technology used before the 1990s and was often used as an alternative to disposal 1.5 volt batteries. While these rechargeable batteries are cheap and can be recharged hundreds of times, they also have a bit of a memory problem. How so? If you don’t discharge a Nicad battery fully before charging it again, then you’ll wind up with a diminished charge over time.

ni-cd-battery
Nicad batteries are prone to memory loss. (Image source)

Nickel-Metal-Hydride

NiMH batteries work just the same as Nicad batteries do, but are less prone to memory problems. This battery has largely taken the spot of Nicad after the 1990s, mainly because it’s less toxic than a Nicad battery and doesn’t need to be completely discharged before recharging.

nimh-batteries
All the power of a Nicad battery without worries of memory loss. (Image source)

Lithium-Ion

Most major electronic devices these days are using lithium-ion batteries, including your smartphone, laptop, tablet, etc. Lithium has a ton of benefits over Nicad and NiMH batteries, including being more environmentally friendly, working at higher voltages, and storing twice as much energy. Plus, you can charge and discharge a lithium ion battery freely without any memory issues.

lithium-battery
Ever pull apart your cell phone? This is the lithium battery you’ll find inside. (Image source)

Who Invented the Battery?

Most credit the invention to Alessandro Volta in 1791, but have you ever heard of the Baghdad Battery?

Back in 1938, archaeologist Wilhelm Konig uncovered some strange looking clay pots while on a digging excavation in Baghdad, Iraq. The pots dated from around 200 B.C. and contained an iron rod surrounded by copper. When tested, there were traces of an acidic liquid inside, and if there’s anything to know about batteries, we have two different metals being mixed with a chemical electrolyte. Was this the first ancient battery? Modern replicas have been produced, and these Baghdad Batteries do in fact produce an electric charge.

baghdad-battery
Was the Baghdad Battery the first ancient battery? (Image source)

But as far as 1792 was concerned, Baghdad Batteries simply didn’t exist, and so our story begins with Italian physician Luigi Galvani experimenting with the leg of a dead frog. By sticking two different metals in the frog’s leg, he was able to produce what he called “animal electricity” as the frog’s leg jumped. However, what Galvani didn’t know at the time was that the frog wasn’t releasing some kind of primal electricity. Rather, he had the building blocks of the modern battery to thank.

To prove this, Italian physicist Alessandro Volta set up an experiment where he stacked layers of zinc and silver on top of each other, which were separated by a brine-soaked pasteboard. This voltaic pile, now regarded as the first modern battery, was able to produce a steady current.

voltaic-pile
The voltaic pile as envisioned by Alessandro Volta.

What are the similarities here between Galvani and Volta’s experiments? Both used the basic principles of batteries by using two different metals and an electrolyte. Galvani used two different metal scalpels, and the frog’s leg acted as a kind of electrolyte chemical. In Volta’s voltaic pile, the brine acted as the electrolyte between two different conductive metals, zinc, and silver.

After his groundbreaking experiment, Alessandro Volta was credited with the invention of the first battery, and the rest is well…history. We’ve been improving upon this basic set of principles today to power all of our electronic devices.

Batteries and PCB Design

For beginner electronic designers, batteries are often seen as an afterthought. After all, maybe you just need 5V out for steady DC power. But what happens if you’re working with a 9V battery source and one of your ICs can only handle 1.8V? That’s when considerations about batteries and power design make things a little more complicated.

While we won’t be getting into any of the specifics of power design within this blog, it does help to know the basics of what to look for in both your schematic and PCB layout when working with batteries. For your schematic, whether you’re planning to use standard alkaline batteries or lithium-ion, you’ll see symbols that look like these:

one-cell-and-two-cell-battery
The typical single-celled and two-celled battery symbol you’ll find on a schematic.

In this schematic symbol, the longer line represents the positive terminal, and the shorter line is the negative terminal. You might also see batteries with more than two lines, which indicates there is more than one cell in the battery.

You’ll also need to be aware of how the physical battery holder will look on your PCB layout. Many beginner electronic designers make the mistake of thinking that they’re placing the actual battery on their board when you’re just placing a holder to contain the batteries. If you’ve ever ripped open an electronic device to check out the internals then you might have seen one of these:

battery-holders
Typical battery holders you might find on a PCB or enclosure. (Image source)

There’s also the lithium button-cell battery holder as shown in the image below, which has its unique physical footprint.

pcb-lithium-battery-holder
Here’s a much smaller lithium battery holder with its dimensions. (Image source)

It’s nice and easy to place a battery holder for a disposable battery and forget about it, but what happens if you want to add an automated battery charger to your design? That’s where things get a little more complicated. Check out the schematic below, this is a circuit diagram for an automatic battery charger, and it has a lot going on, including:

Circuit-Diagram-of-Automatic-Battery-Charger
An automated battery charger circuit can involve a ton of connected parts. (Image source)

Power In Your Pocket

Who would have thought these little chemical superheroes could have so many applications while sharing so many principles! It’s truly impossible to imagine the world these days without batteries. These electrical powerhouses have untethered our lives from cords, allowing us to be mobile with our electronic devices wherever we go in the world. Regardless of what battery you’re using, the underlying foundation is always the same. You have a set of electrodes in the form of an anode and cathode, and an electrolyte that provides a chemical reaction. Once in motion, chemical energy turns into electrical energy in the form of excess electrons, which travel from the anode to cathode while powering your circuit. Our batteries might be getting more advanced and holding charges longer, but at the end of the day, they all work the same. Remember that.

Did you know that Autodesk EAGLE ships with a ton of free battery libraries, so you don’t need to waste time making them from scratch? Try Autodesk EAGLE for free today to try them out!

Full-access Fusion Trial
Unlock all of Fusion's advanced features and functionality - free for 30 days.
Start Free Trial

Tags and Categories

Eagle EDA

Get Fusion updates in your inbox

By clicking subscribe, I agree to receive the Fusion newsletter and acknowledge the Autodesk Privacy Statement.