Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
You have to build it. Sims are notoriously useless for compensation modeling.Whatever you do you should also do a quick simulation to make sure it works right![]()
Hi guys,
This is a voltage tracking regulator. The output tracks the input (5v) signal. The output however is twice that of the input, so with 5v input you get 10v output. Of course you need a decent input voltage supply to the regulator too, of at least 12.5v to get 10v out.
Compensation is not too hard to achieve. Change the NPN transistor to a PNP type with emitter to the ADJ pin collector to ground, reverse the connections to the input of the op amp.
Alternately, remove the transistor entirely, and replace with maybe a 10 ohm resistor from ADJ to the output of the op amp, again reversing the input connections to the op amp.
The whole idea with a tracking regulator is to use an op amp as the error amplifier so that it can detect very small deviations of the output and compensate by adjusting the signal going to the ADJ pin of the LM317. The LM317 has some minor problems which the op amp stage helps to correct. The op amp also allows for a variable control voltage to output voltage ratio by simply changing one resistor (one of the 10k units, for example to get a 1 to 4 ratio change the top 10k to 30k). Of course it also can 'track' another signal, and also helps with the temperature characteristic.
Whatever you do you should also do a quick simulation to make sure it works right![]()
That's not necessarily true. It depends upon the accuracy of the simulation models. I have simulated numerous circuits where the simulated stability was sufficiently close, for engineering purposes, to the actual circuit stability seen after it was built.You have to build it. Sims are notoriously useless for compensation modeling.
Then you got lucky. Every designer I know would never rely on sims for stability data or phase margin. NEVER bet the design on a sim's phase data unless you just want to be an unemployed designer.That's not necessarily true. It depends upon the accuracy of the simulation models. I have simulated numerous circuits where the simulated stability was sufficiently close, for engineering purposes, to the actual circuit stability seen after it was built.
As I said, I don't think the original circuit would be stable, but here are some suggestions:Guys can somebody tell me whats the configuration of this op amp?I'm giving 0V-5V varying voltage, How does the output behaves?
No. The circuit I described will have a capacitor as feedback element looking into the parallel combination of two 10K resistors. The op amp is then actually an "integrator" (acting as the error amp) not a DC amplifier.Hi bountyhunter
Reverse input polarity to the op amp to get correct function
Here comes the secret.So this will make this op-amp as non inverting so the gain will be (1 + R1/R2) am I right?