I am modifying a current source/sink and there are three circuits that are relevant which are shown below, all using a MOSFET and an op-amp to stabilize a voltage across a sense resistor. My questions concern the reasons for the compensation, the form/choice of the compensation, and the choice of components.
The first circuit I have worked with and for concreteness: R1 = 10 kΩ, R2 = 100 Ω, and C = 8.6 nF with the op-amp being an LT1028, and the MOSFET a VP0106, and the sense resistor typically 50 Ω.
I have seen two different explanations for the compensation: the input capacitance of the MOSFET destabilizes the op-amp, and the MOSFET provides additional voltage gain in the feedback. I believe both are valid. For the first circuit it seems clear that the gain is diminished at high frequency by the ratio of R1/R2 and R1 is certainly overkill in isolating the op-amp from the MOSFET capacitance.
I have seen the second circuit in datasheets. I assume R2 would be small and serve the function of isolating the op-amp from the MOSFET input capacitance, and I would further assume R1 and C roll off the gain. However, I have seen the second circuit without C, which makes no sense to me as R1 would then have no function (I accept that just because I saw it on the internet does not make it right). Based on the second circuit I would assume the third circuit is an equally valid means to stabilize the circuit.
My questions are:
- Do I have the correct understanding of what is going on (if not please enlighten me)?
- Is one form of compensation better than another or is it simply a matter of taste?
- How exactly are the components chosen? Specifically what should I be looking for in the data sheets?
I should probably add that the aim is a low-noise, high-stability current source.
For the first circuit a wild speculative guess would be the forward transconductance multiplied by the sense resistor would be a gain to compensate with a factor of 10 thrown in for good measure and the capacitance chosen based on the op-amp gain profile.
I'm not very sure about the second two circuits as the capacitor provides direct feedback so the role of R1 is not clear to me.
The load in these circuits is a laser diode. For the first circuit and the specified components, there is an observed oscillation that appears at a higher current setting, and this is more problematic when one alters components to achieve a higher current limit (decreasing the sense resistor and a MOSFET with higher current capability)