Code Monkey home page Code Monkey logo

Comments (5)

martinjaeger avatar martinjaeger commented on July 17, 2024 1

Yes, you're right, it was missing. I've already included a PACK+ measurement in the next revision of the board (to be finished and published in a few weeks).

For bus pre-charge I think PACK+ is sufficient. What do you think CHG+ voltage measurement would be useful for?

from bms-c1.

martinjaeger avatar martinjaeger commented on July 17, 2024 1

The bq does actually have its internal BAT+ and PACK+ measurements, so I decided to not use the MCUs ADC for this sort of measurement, as the voltage divider would also result in an additional continuous (very small) current flow. In addition to that, the ADC of Espressif chips is usually not very good...

from bms-c1.

EarthLord avatar EarthLord commented on July 17, 2024

CHG+ is useful for triggering some alarm by detecting if there is an MOSFET issue of short circuit by measuring CHR+ when MOSFET.

from bms-c1.

martinjaeger avatar martinjaeger commented on July 17, 2024

Not sure if I understand what you mean. Could you elaborate a bit more?

I'd like to avoid a resistor divider at the CHG+ because it would continue draining the battery through the CHG MOSFET body diode even if the battery is in deep sleep.

from bms-c1.

EarthLord avatar EarthLord commented on July 17, 2024

Sorry for the bad explanation. MOSFETs when stressed with over current go bad by short circuiting without gate control - but in our case the short circuit will have higher resistance than when turned on when operational. My intention was to be able to detect this situation. I forgot when I posted this that the MOSFET configuration is with the drains tied together. With source tied together its easier by checking the common source voltage when both MOSFETs are turned off.

With drain tied together it might be possible by accounting for the diode forward drop. Which ADC do you want to use for BAT+ and PACK+ measurement?

from bms-c1.

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.