element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Internet of Things
  • Technologies
  • More
Internet of Things
Blog Building a Battery Simulator - Part 1
  • Blog
  • Forum
  • Documents
  • Quiz
  • Events
  • Polls
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Internet of Things to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: shabaz
  • Date Created: 7 Dec 2014 3:16 PM Date Created
  • Views 3777 views
  • Likes 6 likes
  • Comments 6 comments
  • ioe
  • internet_of_everything
  • internet_of_things
  • iot
  • features_of_iot
  • battery_simulator
Related
Recommended

Building a Battery Simulator - Part 1

shabaz
shabaz
7 Dec 2014

This is part one; click here for part 2.

Reflow soldering of some of the components was covered in part 2.5.

Part 3 covers some initial tests.

 

Introduction

I purchased a product a while back which came with AA batteries that were rechargeable and afterwards I could see why; the product had terrible power consumption during power-off and the batteries discharged within a few weeks even if the product was not used. I contacted the manufacturer, and they claimed this was normal for their product.

 

With remote nodes that may need to run for many months, years or perhaps a decade or more, power consumption and power management and strategies for conserving power are important for IoT. Knowledge of the amount of energy available and the power requirements of hardware will provide deep insight for improving entire solutions because then engineers will have the parameters to design and tweak algorithms to optimise sensor acquisition time and data transmit time (as an example), and to select more optimal protocols and cloud services to keep response and processing times short, to allow more longer sleep cycles for hardware.

image

 

It is useful to know how the product will behave when connected to a battery, and how long it will run for. As the battery discharges, the voltage will drop and power consumption and device performance may change too. The battery performance may permanently reduce over time (for example after hundreds of charge-discharge cycles) and there may be temperature effects as well. Many solutions will make use of solar power or other energy sources, but it is likely that batteries and/or capacitors will be involved in those solutions too.

image

 

Testing with real hardware and batteries is important. However, it gets tricky to know the actual state of batteries. A battery simulator could be a good idea for being able to automatically set up an experiment by simulating any battery state (e.g. to start an experiment at 60% discharged state), and being able to repeat tests exactly, without needing to use a real battery. This would be suitable for some tests, before bringing out more expensive commercial simulators/test gear or performing tests with real batteries.

 

This post therefore proposes the design and construction of a battery simulator; part 1 is an introductory post with basic requirements and part 2 will contain the design and implementation.

 

What will it do?

Simulating parts of solutions is a great way to help speed up development of projects (check out Doug's ( dougw ) vehicle simulation system as an example). The project is intended to simulate typical batteries used for IoT projects; it should be able to simulate single or dual AA batteries or a Lithium Ion (Li-Ion) cell at a minimum. In terms of the simulation, it should behave like an ideal voltage source in series with a resistor (this is only an approximate simulation). The equivalent circuit is shown below.

image

This could be simulated using an adjustable voltage source that is varied depending on load. The amount of variation would also depend on battery type, and the state of the battery (e.g. fully charged or partially charged).

The simulator would continuously monitor the load, adjust the voltage as appropriate and over time adjust the voltage to make Vbatt reduce, to simulate the discharge cycle. It will have network capability so that battery profiles can be uploaded and test results downloaded. A web interface would be useful to aid in use and monitoring of the battery simulator. History of simulations would need to be stored, so that the amount of energy can be decreased to simulate battery charge-discharge cycle ageing.

 

Designing the simulation models will be hard. There may be published information concerning the behavior of different battery technologies. Information could be gained by monitoring real batteries under different discharge conditions. It is hoped that over time more information can be made available for certain batteries, to turn the proposed simulator from something experimental into a more complete project. Interesting projects such as fvan Frederick’s In-the-Air challenge actually has the capability to monitor battery information and report it to a cloud service. In some format, information gleaned like this could become invaluable to create more accurate models and a more accurate simulation.

 

This project will only simulate behaviour partially. For rechargeable battery types it will simulate the battery during discharge, not during charge.

 

To keep things practical and simple to build the simulator will be restricted in the types of batteries and amount of power it can supply, to the most likely use-cases that it will be needed for. It will be designed for low current applications for cells and batteries up to a few volts. The aim is to have a solution that can be replicated to have perhaps dozens of battery simulators, so cost is a factor.

 

The envisaged project will have programmable options to select the battery type, and what percentage of full capacity the battery has remaining. Then, the project will monitor the load and elapsed time and automatically adjust the simulated terminal voltage to behave like a battery being discharged.

 

The next post will look at the hardware design in more detail.

 

Summary

Deep knowledge about batteries as well as power consumption for different operational states of hardware projects is important if batteries are to last long periods of time. The proposed battery simulator should help with some of this, by providing the capability to repeat tests consistently without relying on batteries being in the same charged state as for previous tests. Devising models for the batteries will be difficult but this project will be a first step to try to enable this. This was just an introductory post so if you’re interested, come back for part two!

  • Sign in to reply

Top Comments

  • jw0752
    jw0752 over 10 years ago +1
    Hi Shabaz, This sounds like a very good project with useful applications. As you pointed out it also sounds like a lot of work. I made a simple device a while back that I could attach to a battery that…
  • dougw
    dougw over 10 years ago +1
    Interesting topic Shabaz, It sounds like this could eventually spin off into development of a truly smart battery that would have independent monitoring, data acquisition, communications and reporting…
  • shabaz
    shabaz over 10 years ago in reply to dougw +1
    Hi Doug, That would be an interesting development! I saw a post on Element14 recently about a project for a WiFi enabled PP3-like battery for smoke alarms, which is taking advantage that low power WiFi…
  • theo_san
    theo_san over 7 years ago

    Umm interesting reading, I'm going for part 2!! image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 10 years ago

    Very interesting project.

     

    From time to time I get interested in batteries and the chemistry involved with storage and reuse.

    So I am looking forward to your progress.

    If I can keep my head clear, I will use your information to look at my new theory on how mass and energy flow in electronic circuits.

    There is a clear connection between the flow of charge carriers and the chemical reactions involved with batteries.

     

    So I will be watching your posts with very high interest.

     

    DAB

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 10 years ago in reply to dougw

    Hi Doug,

     

    That would be an interesting development! I saw a post on Element14 recently about a project for a WiFi enabled PP3-like battery for smoke alarms, which is taking advantage that low power WiFi options exist to provide battery health reporting while still keeping good battery life overall. That could also be considered a way of providing some connectivity and reporting for devices that don't today have this capability (e.g. by detecting perhaps current consumption, it can make a judgement that the alarm is sounding, maybe - this is just a guess).

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • dougw
    dougw over 10 years ago

    Interesting topic Shabaz,

    It sounds like this could eventually spin off into development of a truly smart battery that would have independent monitoring, data acquisition, communications and reporting capabilities as well as control of output voltage and current. Some batteries already come with built-in switching regulators, which would benefit from determining when to shut down and wake-up. At some current and voltage levels it may be more efficient to switch from a switching regulator configuration to a linear or even unregulated configuration.

    Doug

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 10 years ago in reply to jw0752

    Hi John!

     

    Lots of it will hinge on the battery models, which is going to be difficult. The capability to monitor an existing battery in a circuit as you mention can help to construct the model for the battery. I have considered how to incorporate such a learning phase into the simulator, but will only have a very restricted feature for that in the first version to try to simplify the design. The first version will really require the model to be created using additional tools or measurements from other sources or published findings.

    Other things to reduce the project scope include targeting it for low current applications.

    But, I don't want to restrict scope too much to make the project lose usefulness in the phase 1 version either, so careful compromise is needed.

    I don't want to have to produce many iterations, so there is a strong desire to get an acceptable cost/feature/performance mix in the first iteration if possible.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube