Closed sbourdeauducq closed 3 years ago
This can be done easily with ideal diode (2 transistors + 2 resistors) opamp and a few lines of code.
@sbourdeauducq the Stabilizer can also be powered by a barrel connector or Molex connector.
Okay, we probably want a diode there so it only acts as a current sink, e.g. when PoE is connected at the same time.
OK
I prefer ideal diodes over standard diodes :)
Sure :)
I added an ideal diode circuit. It also enables powering the EEM from PoE on request. I'm not sure if latched overcurrent protection in the case of firmware malfunction is really needed. It would complicate the design and cause additional confusion to the user. The PoE will switch off after exceeding the allowable power, nothing should break here. I can also add a simple current monitoring circuit that will warn the CPU that we are exceeding the safe current operation - let's say 90% of the PoE module max current. The Stabilizer consumes 160mA of idle current. With Pounder it consumes 552mA. Let's warn the CPU when the EEM current exceeds 2A. One solution is to use the current sense amplifier like in the Booster. It adds 3$ to the BOM.
Another solution is to use 4BJTs and MOSFET RDSon - it's very low cost but not precise. It may also cause issues bypassing disabled FET.
@sbourdeauducq are you happy with such a solution?
I'm not sure if latched overcurrent protection in the case of firmware malfunction is really needed. It would complicate the design and cause additional confusion to the user. The PoE will switch off after exceeding the allowable power, nothing should break here.
Okay, fair enough. Let's just go with the ideal diode + Force_EEM_Source circuit then, without additional current limit or monitoring.
OK, done
Currently the behavior of Stabilizer when installed in a Kasli crate is rather nasty:
I propose: