Skip to content

Support "Current Breaker" feature #42

Description

@centydev

Is your feature request related to a problem? Please describe.
PPS min current limit is 1A. Which mean we cannot set anything lower than 1A like 500mA. Some chargers also doesn't support current limit in PPS (non compliance). So you can request 2A limit, but current can keep going up pass 2A without any reaction from source.

Describe the solution you'd like
INA226 has Alert pin hook up to LM73100 (output load switch). Alert pin is open-drain. You can set Shunt Voltage Over-Limit threshold in Alert Limit Register (07h). Then Mask/Enable Register (06h) -> value, Alert Latch Enable -> 1 (enable).

This will allow the INA226 to turn off the output load switch.

Expected option in Menu:

  • Circuit Breaker: Enable/Disable
  • Circuit Breaker Offset: (Can set in 50mA increment) [Range from +0mA -> +250mA, only positive value]

Expected behavior if turn on:
Accuracy cut off. If set to (450mA+offset) limit, then cut exactly at (450mA+offset) when touched. User is expecting the power supply to protect there fresh build PCB for the 1st time power up. We want the current to turn off ASAP.

Describe alternatives you've considered
Software solution current limit using voltage/current feedback is possible.

Additional context
Why offset margin. PPS current limit even if operate correctly, does have +/- 150mA target. Example, if set 1.5A limit, the "OK" actual current limit per USB-PD spec is anywhere between 1.35A to 1.65A. This delta is constant per charger.
Example: UGREEN charger 140W. When request 1.5A limit and hook up to load, we see the current is clamped at 1.6A, so delta of 0.1A. Then we can expect setting 3A limit -> get 3.1A actual limit.
If we allow to set offset up to 250mA, then if user set 3A limit, and the charger is non-compliance and let the current go up to 3.25A, then we cut off output. If the charger is compliance, it shall clamp at 3.15A max, which will not turn off output.

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions