Connect with us

Transistor as a constant current source to variable DC input

Discussion in 'General Electronics Discussion' started by AshwinNambiar, Nov 28, 2015.

Scroll to continue with content
  1. AshwinNambiar

    AshwinNambiar

    31
    0
    Nov 11, 2014
    I want to build a circuit using a transistor are a few light up my LEDs.Now,LEDs are a constant current source.This seems simple.However ,i have a situation:
    1.The input DC voltage from the supply can vary from 16Volts to 32 Volts.
    2.I want to build it using a single transistor,i.e., a linear circuit,"without switching"

    The voltage can be any nominal voltage,say 20Volts..however a variation in the range of 16 to 32 or any abnormal voltage for that matter should not cause any change in the current to the LEDs..

    I'll be glad to receive suggestions/inputs as to how to go about with this.
    Thanks
     
  2. Arouse1973

    Arouse1973 Adam

    5,164
    1,087
    Dec 18, 2013
    You want a constant current regulator.
    Adam
     
  3. BobK

    BobK

    7,682
    1,688
    Jan 5, 2010
    Here you go.

    upload_2015-11-28_16-22-43.png

    D2 is a 4.7V Zener diode.

    This will regulate the current to approximately

    I = (4.7 = 0.7) / R

    In this example I used 20mA and, as the graph shows, the current varies from 19.59 to 19.89 mA.

    At this current the transistor is dissapaing (32 - 4 - Vf) * I. For a red LED at Vf = 2.0V this would be 0.52W which is about the limit for a TO92 transistor, so it will get quite warm. At currents higher than this, you would have to use a power transistor.


    Bob
     
    Last edited: Nov 30, 2015
    Anon_LG and Arouse1973 like this.
  4. AshwinNambiar

    AshwinNambiar

    31
    0
    Nov 11, 2014
    Thanks Bob,what i now want to know is,you are using a 4.7V zener diode,how are you taking care of the remaining voltage from the supply or rather how is it ensured that the zener is capable to dissipate the remaining power?Irrespective of any voltage from 16-32 ,the led should get a constant current.Well,this is clear from the explanation you have given but where i still have a doubt is ;how do we take care the varying voltage??
     
  5. Harald Kapp

    Harald Kapp Moderator Moderator

    11,974
    2,803
    Nov 17, 2011
    This will be seen across R1.
    R1 needs to be schosen such that at minimum Vin the current through R1 is still sufficient to drive the base of Q1 for the desired outpt current plus the current need to keep the zener diode within its operating point.
    At maximum Vin a proportionally higher current will flow through he zener diode which thereby defines the maximum power dissipation of said diode. You'l have to select the type of diode accordingly.
     
  6. BobK

    BobK

    7,682
    1,688
    Jan 5, 2010
    The Zener will always drop about 4.7V at 32 V input the current through it is:

    V = I * R
    I = V / R

    I = (32 - 4.7) / 1000 = 27mA

    At this current it will dissipate 4.7 * 0.027 = 0.127 W or a little over 1/8 W. A 1/4 W Zener is appropriate.

    The circuit works by controlling the voltage across R2. That will be the Zener voltage (4.7) minus the base to emitter voltage (Vbe) of the transistor which will be about 0.7. Thus we have 4.0V across the 200Ω R2 which gives us 20 mA for the current through R2. The current through the LED is nearly that same as this.

    This is the classic, simple constant current source (actually sink) circuit which can be found in any elementary electronics book.

    Bob
     
    Harald Kapp likes this.
  7. dorke

    dorke

    2,342
    665
    Jun 20, 2015
    The most important parameter is missing.
    What is the LED current needed?
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-