Mr. Al, why are you counteracting the op amp? Sharing the output with ground should almost certainly burn it out. Using a capacitor is better than the trimpot.
Hi,
I am not completely sure what you mean, but from Tony's post too i can see that maybe you are talking about the 2k pot not the 20k pot?
This 2k secondary pot is to allow the user to set the 'top' voltage for the output. This setting is exactly like the original intention for the pot from the designers of the LM317 and similar. The purpose of that pot is so that in case the 'new' control circuit (op amp and related parts) do not perform as well as we would like with various loads and load and line transients, the top voltage setting will take over and limit the output just as in any more basic LM317 design. So it is a protective feature to have that second pot. It protects the load from unintended surges.
The adjustment procedure would be to adjust that 2k second pot first before connecting any load, then adjust the final voltage with the 20k pot.
For example, we might set the 2k secondary pot so we get 5.5 volts output, then set the 20k pot for 5.00 volts output.
Of course you may have to change the values of the pots for your own use, and add any series resistors you want to use to limit the output adjustment range too. For stability a small capacitor may also have to be added for a little compensation.