Hello all, i made a controlled current source with a mosfet N and an OP AMP, the thing i want to obtain is having fixed 150uA across the cap for certain amount of time, and after this the current has to drop to 0A.
Now i calculated in order to have 150uA during the positive cycle of the square wave ( So mosfet closes and the cap gets charged for the amount of time that the signal at "-" is HIGH ).
But i noticed that there is an issue, the current after 20us ( the time i decided for example ) doesnt go to 0, but it stays at 50uA or so, what i could do to fix such thing? can u please explain me what im doing wrong?
Thanks.
Now i calculated in order to have 150uA during the positive cycle of the square wave ( So mosfet closes and the cap gets charged for the amount of time that the signal at "-" is HIGH ).
But i noticed that there is an issue, the current after 20us ( the time i decided for example ) doesnt go to 0, but it stays at 50uA or so, what i could do to fix such thing? can u please explain me what im doing wrong?
Thanks.
Attachments
-
894 bytes Views: 4
-
54.3 KB Views: 24
Last edited:


