Mosaic
Well-Known Member
Hi all:
I am doing a microcontroller project and I found myself needing an extra I/O pin. So I thought I'd do away with the precision Vref and make the 5Vdd a precision source.
Here is what i came up with, it simulates ok with a 500 Hz, +/- 50mA , switching drain while under a 500mA constant load. The simulator compares the regular LM317 vs the modified circuit with a precision reference control using an OPA driving an NPN as an active resistance.
I'd switch the 5V zener for a 0.5% LM4040-5V shunt in the actual circuit and increase R8 to about 1K to keep the Iz under 15mA.
The chart shows the green trace as the precision ref'd output. Note the switching load kicks in at 0.1 second.
This is my first crack at such a device so perhaps there are improvements that I am not seeing. The blue trace shows the effect of the switching load on the regular LM317 output on the right. Both circuits share the same load & primary supply for normalised data.
I am doing a microcontroller project and I found myself needing an extra I/O pin. So I thought I'd do away with the precision Vref and make the 5Vdd a precision source.
Here is what i came up with, it simulates ok with a 500 Hz, +/- 50mA , switching drain while under a 500mA constant load. The simulator compares the regular LM317 vs the modified circuit with a precision reference control using an OPA driving an NPN as an active resistance.
I'd switch the 5V zener for a 0.5% LM4040-5V shunt in the actual circuit and increase R8 to about 1K to keep the Iz under 15mA.
The chart shows the green trace as the precision ref'd output. Note the switching load kicks in at 0.1 second.
This is my first crack at such a device so perhaps there are improvements that I am not seeing. The blue trace shows the effect of the switching load on the regular LM317 output on the right. Both circuits share the same load & primary supply for normalised data.