Ummm... no.The opamp on the right detects the current going through the LED, and the opamp on the left integrates the current.
Once the integral reaches a threshold set by r1 and r2, the opamp on the left turns off the MOSFET thus discharges the integrator.
So it is a pwm controller, with its duty cycle controlled by r1 and r2.
What is the purpose of R3 and the capacitor?Without these, however, this is merely a linear constant current regulator which will hold the LED current at a level such that the voltage drop across the 1Ω sense resistor is equal to the voltage at the junction of R1 and R2.
R3 and capacitor C, along with the op amp whose (-) input they are connected to, form an integrator which serves as the error amplifier portion of the closed-loop current controller.What is the purpose of R3 and the capacitor?
R3 and capacitor C, along with the op amp whose (-) input they are connected to, form an integrator which serves as the error amplifier portion of the closed-loop current controller.
The error amplifier, in turn, controls the gate voltage of the MOSFET and thereby adjusts its drain current, keeping the current at such a level as to make the voltage being applied to R3 the same as the reference (i.e., setpoint) level established by R1 and R2.
The op amp on the right, along with its network of resistors, operates as a unity gain differential amplifier which translates the differential voltage across the 1Ω current sense resistor into a single-ended (i.e., ground-referenced) voltage for input to the integrator.
Not really-- at least, not and have the circuit work very well.That makes sense, but could the left op amp, R3, and C be replaced with a simple comparator circuit that just turns off the MOSFET drive voltage when the output of the differential op amp is higher than the voltage at R1 and R2? If not, why?
Thanks OBW. Great explanation as always.Not really-- at least, not and have the circuit work very well.
What would happen is that the comparator would oscillate extremely rapidly at an uncontrolled frequency, turning the MOSFET on and off as fast as it could (depending on the comparator used, this could range well into the low RF frequencies).
This would waste a lot of power, make the MOSFET hotter than a stolen handgun, generate tons of RF interference that would radiate all over the place, and end up doing a rather crappy job of regulating the LED brightness.
If you're aiming to create an LED drive circuit that will avoid the power wastage associated with linear controllers, the best thing to do would probably be to start with some sort of current-feedback switching regulator and go from there.
I doubt the values are critical; R3 = 10 kΩ and C = 0.1 μF would probably work, or any other combination that would yield an RC time constant of somewhere around 0.1 to 100 milliseconds.What are the formulas around sizing R3 and C in this circuit? Anyone have a good link to more information?
Agreed.Hopefully some teacher was using it as a learning example instead of a practical circuit
|Thread starter||Similar threads||Forum||Replies||Date|
|W||Can someone please explain how to do a pin independence review for a test jig?||General Electronics Chat||4|
|F||Can someone please explain where transistor graphs like this come from?||General Electronics Chat||32|
|A||Can someone please explain what the Val parameter is||Analog & Mixed-Signal Design||9|
|Can someone please explain this circuit to me?||General Electronics Chat||4|
|Can someone please explain to me the function of a bipolar capacitor?||Analog & Mixed-Signal Design||29|
|Can someone please explain how to do a pin independence review for a test jig?|
|Can someone please explain where transistor graphs like this come from?|
|Can someone please explain what the Val parameter is|
|Can someone please explain this circuit to me?|
|Can someone please explain to me the function of a bipolar capacitor?|
by Jake Hertz
by Jeff Child
by Jake Hertz