Hello,
I have a microcontroller which controls an emergency light. This micro must charge the battery, which powers the light.
The micro also receives inputs from various opamps and comparators.
The micro and most of the opamps and comparators are all supplied by the same 3V3 linear voltage regulator. (this is the “main” 3V3 regulator)
The 3V3 regulator is supplied from the battery.
However, every now and again, the micro must simply switch the battery out, so that the battery does not get drained by the ~8mA current drawn by the opamps etc.
The problem is, that when the micro switches out the battery, it also switches off its own power supply, and this isn’t wanted.
Therefore, the micro must be fed by its own, separate, dedicated, “micro” linear 3V3 regulator. Then when the micro switches the battery out, this only means that the “main” 3V3 regulator looses power. The “micro” 3V3 regulator still draws power from the battery (but not much).
Anyway, do you see any problems with having two 3V3 regulators like this.? (ie one supplying the micro, and the other supplying the opamps and comparators etc).
One problem with this “two regulator solution” could be that some of the micro’s digital outputs connect up with circuitry supplied by the “Main” 3V3 regulator, and when the “main” 3V3 regulator powers down, the micro’s digital outputs could end up getting shorted to ground via the ESD diodes in the opamps etc.
Are there any known ways of preventing this kind of thing from happening?…or is it just a case of connecting series resistors to the micro’s digital outputs so that high short circuit currents don’t get drawn from the pins of the micro? What sort of size series resistors would be advisable?….(or more relevantly,what is the maximum current that could safely be allowed to flow through the ESD diodes of the opamps and comparators?)