How does a traditional CC/CV circuit work?
After some search and contribution from internet, I could finally understand the principle of controlling a transistor through an OPAMP (the OPAMP takes whatever it costs to make vin- equls to Vin+). I provide below a simple solution to my question: