Author Topic: Constant current source can't light an LED  (Read 1971 times)

0 Members and 1 Guest are viewing this topic.

Offline nathanpcTopic starter

  • Supporter
  • ****
  • Posts: 138
  • Country: br
    • Innove Workshop
Constant current source can't light an LED
« on: March 06, 2014, 02:11:08 am »
I've designed a very simple constant current source (just to learn more about them). While I was testing it on a breadboard by shorting it using a multimeter to measure the current everything was fine, so I designed a PCB and sent it out for manufacture. The PCB came back and I populated it.

When I tested it again with my multimeter everything was fine, but when I decided to test it with a simple red LED (which I didn't remember to test even when I had it on a breadboard) it didn't light up (with the current set to 20mA). So I decided to measure the current through it: 0uA and the voltage 1.245V.

I'm really intrigued by why the LED isn't lighting up and why there's no current through it. Could anyone explain to me why it doesn't work?

Here's my schematic, you can also check it in my GitHub repo:

 

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9930
  • Country: nz
Re: Constant current source can't light an LED
« Reply #1 on: March 06, 2014, 02:14:13 am »
What battery voltage are you running the circuit from?
VCC and V-
« Last Edit: March 06, 2014, 02:17:37 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline w2aew

  • Super Contributor
  • ***
  • Posts: 1780
  • Country: us
  • I usTa cuDnt speL enjinere, noW I aR wuN
    • My YouTube Channel
Re: Constant current source can't light an LED
« Reply #2 on: March 06, 2014, 02:58:46 am »
What battery voltage are you running the circuit from?
VCC and V-

Yes, it is most likely a voltage headroom problem.  The LM358 can only swing to within about 1.5 or 2V from the positive supply.  Then, you're loosing another 1.3V or more across the Vbe junctions of the transistors.  If you were running on a 5V supply, this only about 2.7V available to put across the LED (at low current levels), and even less at high current levels where the drop across the sense resistor is larger.  This is probably not enough to turn the LED on.
YouTube channel: https://www.youtube.com/w2aew
FAE for Tektronix
Technical Coordinator for the ARRL Northern NJ Section
 

Offline nathanpcTopic starter

  • Supporter
  • ****
  • Posts: 138
  • Country: br
    • Innove Workshop
Re: Constant current source can't light an LED
« Reply #3 on: March 06, 2014, 05:16:27 pm »
Thanks very much, that was exactly it! turned the voltage up and it now works perfectly.
 

Offline nathanpcTopic starter

  • Supporter
  • ****
  • Posts: 138
  • Country: br
    • Innove Workshop
Re: Constant current source can't light an LED
« Reply #4 on: March 06, 2014, 07:19:51 pm »
Thanks very much for the tip. I'll definitely test (and choose the best values of R and C) and include the filter in the next revision of the board.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf