I want to control for example LM317 ADJ pin with a 12 bit DAC to get 1mV precision, it's an 0-5V DAC. In below schematic I increased the gain of opamp to two so I can achieve a higher voltage, but now the problem is every step is doubled as well; (5 / 4096) * 2 = 0.0024
.
simulate this circuit – Schematic created using CircuitLab
How can I increase the opamp gain without actually losing the DAC resolution?
Best Answer
Your resolution is $$ \huge V_\text{Resolution}=\frac{V_{DAC_\text{output range}}}{2^{DAC_\text{bit_number}}}\times GAIN $$ it is the smallest increment you can achieve for the ADJ voltage.
To get a better resolution, you can:
Given your constraints (getting a 0-10V range for the ADJ voltage with a 1mV resolution) you need at least a 14-bit DAC.