Comments (5)
from openups.
Battery current monitoring is already implemented and will be available directly at AVR ADC input.
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.
from openups.
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.
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)
- LiFePO4 support HOT 1
- LED indicators HOT 3
- Replace 3.3V Regulator HOT 1
- Case Closure and Fasteners
- Switch to 48-pin AVR HOT 1
- Preliminary MOSFET selection HOT 1
- ESD Protection HOT 2
- Heat sink and thermal protection HOT 6
- 5th generation battery charger... HOT 2
- The Wiki
- Configuring PCB editor with technology capabilities HOT 1
- Buck Boost layout (NCP81599)
- Add USB power output override HOT 1
- IC footprint quality
- Non-technical content on PCB silkscreen
- PCB changes with impact on mech. design HOT 14
- New approach to battery supervision HOT 10
- AVR in VQFN package
- SPI Interface Access
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openups.