I need to design a circuit to charge a capacitor from 0 to 2V. The circuit should not be that complicated and no matter the type of capacitor, it should never exceed 2.7 V when charging. The capacitor that I have to charge can be charged between the range of 1nF to 1F and have a not too bad efficiency and not consume much current because I have a limit of 40mA of load. Also, I need it not to download when it is loaded.
This is the design I thought of, but I think it's very simple and there are better ones.