Giter VIP home page Giter VIP logo

Comments (5)

paulcrawford avatar paulcrawford commented on September 18, 2024 1

from openups.

tomek-szczesny avatar tomek-szczesny commented on September 18, 2024

Battery current monitoring is already implemented and will be available directly at AVR ADC input.

2023-05-04-223722_933x664_scrot

Its range includes 5A charging and 15A discharge current. It is deliberately slowed down by low pass filter to give more meaningful results when probed less often. I'll tune this filter's corner frequency below Nyquist frequency later, so we can reliably integrate current in either direction.

If your software can monitor battery charge and return its status in % or Wh, and require no prior configuration of cell capacity, that would be perfect. Manual battery charge configuration is also possible via I2C commands.

All the safety features are already assured by other mechanisms in the system, but thanks for mentioning them. AVR will have no access to individual cells, only the two battery leads.

from openups.

paulcrawford avatar paulcrawford commented on September 18, 2024

from openups.

tomek-szczesny avatar tomek-szczesny commented on September 18, 2024

LiFePO cells were discussed and it has been concluded that those would require a separate, new design of the cell carrier board (different protection mechanism). With their poor output current rating, the functionality of OpenUPS will be limited, but still should work nevertheless, for applications up to around 40W.
6-pack LiFePO4 would make more sense, which is also possible at this point.

What I was hoping for is a coulomb counter algorithm. A piece of software than can track charge flowing in either direction, and thus learn maximum battery charge, as well as predict its state. The "learning" part is important, as cells come in great variety and condition.

We're only after a very rough estimate of a battery charge. This could enable a user to script their way into shutting down a server when estimated battery charge is below 15%, for example.

The only benefit of using a dedicated chip is that it has a proprietary algorithm inside it.

from openups.

tomek-szczesny avatar tomek-szczesny commented on September 18, 2024

The coulomb counter has been included in the battery pack (#1).
Charger circuit (#24) has "Learn mode" which will be used for measuring battery capacity.
I think this is good enough for our purposes.

from openups.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.