Ref:
The following schematic:
Background:
This circuit is part of a controller board for a Raspberry Pi controlled robot and this circuit supplies the +5v to the Raspberry Pi through its GPIO pins.
Since later versions of the Raspberry Pi have a higher current requirement than the controller can supply, I have been supplying additional +5v power via the Pi's power input connector.
Since I can supply more power using the external source, I adjust it to be slightly higher than the +5v supplied by this circuit so that the external power supply provides power unless the demand is particularly high, than this circuit, part of the controller, can help supply the load.
The input voltage (VCC) is +12v supplied by a MOSFET switched external battery source. (Pressing the robot's power button enables the +12v VCC voltage.)
The external power source is the output of an external variable voltage buck converter board set to +5.2v(±). The output is connected to the Raspberry Pi via a USB cable isolated with a high-current Schottky diode and the input is the same battery that runs the rest of the robot.
I deliberately overdrive the output of the on-board buck converter by a couple of tenths of a volt with the idea that it won't contribute power unless the external power supply is insufficient.
My thought was that by overdriving the output, the on-board supply would just shut down until needed.
The problem:
When the output of the external supply is set higher than the nominal output of this circuit, the input voltage skyrockets to as much as 20v! (Which is in excess of the maximum VCC of 16v.)
I mitigated this by isolating the output going to the Raspberry Pi with another Schottky diode. Unfortunately, this drops the output voltage by 0.4v down to 4.6v, which causes any attached devices to fail to start.
Questions:
Why does this happen? (The datasheet is totally silent on the issue of overdriving the output.)
Assuming that the isolation diode is necessary, what values should I substitute for the voltage programming resistors, (RP1 and RP2) to bring the output on the other side of the isolation diode to 5v again?