Constant Current Regulator Circuit - Quick, Dirty, and CHEAP!

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ก.ย. 2024
  • Someone was just asking me about my old videos on constant current regulators and thought I'd expand on those with a much cheaper and simpler circuit. I think this is perfect for most LED applications if this is what you're looking to do. Of course, you can always regulate down the voltage to a known level, then drive LEDs with a current limiting resistor... but then, all LED current goes through the voltage regulator... and the larger that regulator has to be, the more expensive things get... lots more things to consider as well, but just throwing this out there for consideration!
    Here's that link to the simulation: tinyurl.com/y5w...
    Those videos I made previously:
    Using TLV431
    • How to Drive LEDs - Ea...
    and heavy loads:
    • Heavy-Current Dummy-Lo...
    Check out my Tindie store (trigBoard is available) www.tindie.com...
    Thanks to all the Patrons for dropping a few bucks in the tip jar to help make these videos happen!
    / kdarrah
    Twitter: / kdcircuits
    For inquiries or design services:
    www.kdcircuits...

ความคิดเห็น • 58

  • @workethicrecords5901
    @workethicrecords5901 5 ปีที่แล้ว +8

    Yo, this was exactly what I was looking for for a project I'll be returning to now that school is over. Great video

  • @andymouse
    @andymouse 5 ปีที่แล้ว +10

    Yep definitely one of those discrete "back pocket" circuits to keep in mind.

  • @garthhowe297
    @garthhowe297 5 ปีที่แล้ว +1

    I really like this kind of "basics" video. I haven't worked with transistors for decades, and the refresher is great.

  • @andersson.l.e
    @andersson.l.e 5 ปีที่แล้ว +4

    I love that kind of videos. Keep them coming. 👍

  • @arduinocowboy3960
    @arduinocowboy3960 5 ปีที่แล้ว +1

    Thank you, Kevin. I think this is just what I needed to drive the LED's in my project.

  • @malgailany
    @malgailany 5 ปีที่แล้ว +5

    Cascading BJTs in parallel could be problematic. They may run into thermal runaway, where one transistor will allow more current to pass and become hotter as the current increases. MOSFETs do not run into thermal runaway, which makes them a better candidate for parallel connections.
    Thanks.

    • @Kevindarrah
      @Kevindarrah  5 ปีที่แล้ว +8

      lol, ran into that once, but this circuit doesn't have that problem because each transistor has its own resistor to ground, so it self regulates if one transistor starts to run away... that voltage increases on that one resistor, thus forcing the "driver" transistor off. You just gave me an idea to show how thermal runaway works. Might cool to see it happen with straight parallel connections vs this.

    • @JasonRobards2
      @JasonRobards2 3 ปีที่แล้ว

      I see these circuits explained on youtube with BJT's. Why not use a mosfet? Lower forward voltage means less heat loss.

  • @ArtyMars
    @ArtyMars 2 ปีที่แล้ว

    Woah that Falstad Simulator is so cool this will help me plan out my LED circuits ahead of time before electrocuting myself hahaha

  • @recolaq
    @recolaq 5 ปีที่แล้ว +2

    Nice and useful Tutorial. But what happened with the TLV431?

  • @cognetic
    @cognetic 5 ปีที่แล้ว +1

    Love have you just get started. So many videos have 2-3 minutes of wasted intro time. Ain't nobody got time for that. 😁

  • @agstechnicalsupport
    @agstechnicalsupport 5 ปีที่แล้ว

    Thank you so much for the instructive video on constant current regulator circuits !

  • @prashanthb6521
    @prashanthb6521 24 วันที่ผ่านมา

    Very clear explanation, thanks.

  • @RubixB0y
    @RubixB0y 5 ปีที่แล้ว +4

    Could a mosfet be used to drive a larger load without running into the higher base current problem?

  • @jazbell7
    @jazbell7 5 ปีที่แล้ว +1

    A very clever circuit but be careful where you use it. That 0.7v reference is subject to variation between units and changes with temperature at about 2.1mv per degree centigrade.

    • @Kevindarrah
      @Kevindarrah  5 ปีที่แล้ว +1

      yea, that's why it's "dirty" :)

  • @pyromen321
    @pyromen321 5 ปีที่แล้ว

    Awesome! I’m going to put one of these together tomorrow!

  • @Graham1904
    @Graham1904 5 ปีที่แล้ว

    Why not put a 100R resistor in the base circuit for the single transistor design?

  • @stewartrv
    @stewartrv 5 ปีที่แล้ว

    For larger currents, rather than go parallel I guess I could change the driver transistor for a TIP120 is similar right?

  • @marvinschneider2707
    @marvinschneider2707 5 ปีที่แล้ว +1

    Great Video,
    A question about the TrigBoard. Is it possible to differentiate the difference between a wakeup by the timer or an external switch. I have the following Szenario: Door is open and the board sends me a notification. The door than stays open for a long time and the timer wakes up the module every hour. Can I differentiate if the board was wake up by the timer or the door opening? The thing is It is not possible to read out the pin for the door because that one is always open. I would be happy to get a response because I am trying to wrap my head around fixing that issue.

    • @fredericguiet2077
      @fredericguiet2077 5 ปีที่แล้ว +1

      Yes, you can. Check Kevin's wiki about trigboard...you'll find ya answer to this question.

    • @marvinschneider2707
      @marvinschneider2707 5 ปีที่แล้ว +1

      @@fredericguiet2077 Thanks for the answer. Could you tell me in what paragraph I can find that because I wasn't able to find it there.

  • @MohamedAhmed-zi1ru
    @MohamedAhmed-zi1ru 5 ปีที่แล้ว

    So the 2 transistors keep turning each other on/off really quick as there is a signal from the microcontroller right ?
    "Besides the constant 0.7 v that draws the constant current depending on the value of R ofc "

  • @jonnupe1645
    @jonnupe1645 5 ปีที่แล้ว

    What would it look like if I replaced the Led with a dc aquarium pump motor. I know it'll have to be beefy but would it work?

  • @LePhone620
    @LePhone620 5 ปีที่แล้ว

    Could we use it for costant discharging lithium batteries, for example? Using higher power transistor and a discharge current of about 1 amp would be possible ? Thanks

  • @DazzaDirect
    @DazzaDirect 5 ปีที่แล้ว +1

    can the 3.3v from the micro processor be swapped for just a regular power signal and if so could if be a different voltage, like could it be changed to a higher voltage and maybe change the 1k resistor to a higher value im thinking a 14v supply and a 10w 9v led , finally could it use the same supply as the led and would it need a diode to stop back feed , cool video, thanks for the upload .

    • @Kevindarrah
      @Kevindarrah  5 ปีที่แล้ว

      Yep, that would work. Try it out in the simulation for yourself

  • @richlaue
    @richlaue 5 ปีที่แล้ว

    This we one of the circuits we added to thr variable power supply we built in high school electronics nano on 1968

  • @reshadrei1788
    @reshadrei1788 2 ปีที่แล้ว

    is this possible on 2n3906?

  • @PhG1961
    @PhG1961 5 ปีที่แล้ว

    Awesome well explained video!

  • @SinuheZubieta
    @SinuheZubieta 5 ปีที่แล้ว

    Can be made similar circuit but with PNP transistors?

  • @tomcass240
    @tomcass240 3 ปีที่แล้ว

    Does this work on DC or is it AC?

  • @TheMarasar
    @TheMarasar 5 ปีที่แล้ว

    Hi Kevin, I believe you are using DC source? On the simulation there is AC 40Hz. Can we even use AC PSU?

    • @Nolobot
      @Nolobot 5 ปีที่แล้ว

      The purpose of the AC source is to show that the current doesn't change depending on the input voltage. The kicker here is that the AC source has an offset making all voltages applied positive. So, no this would not work with a zero-biased AC source.

  • @Stanh11
    @Stanh11 5 ปีที่แล้ว

    What is the difference between the cascade and normal ??

  • @avejst
    @avejst 5 ปีที่แล้ว

    Elegant project/Design
    Thanks for sharing :-)

  • @babykojek5500
    @babykojek5500 4 ปีที่แล้ว

    How If i want to build 14v 3A constant current from 12v..?

  • @MUHAMMADYAWARIFRAHEEM
    @MUHAMMADYAWARIFRAHEEM 5 ปีที่แล้ว

    Very informative video

  • @tohtorizorro
    @tohtorizorro 3 ปีที่แล้ว

    ingenious!

  • @wreckless_-jl6uu
    @wreckless_-jl6uu 5 ปีที่แล้ว

    *Damn, very nice!* 👍

  • @efox29
    @efox29 5 ปีที่แล้ว

    Don't need the base resistor and you don't need the blue transistor. Set the emitter resistor to be Vh (from uc)-0.6V/desired current. 2 less components.. And does the same thing.

    • @jtb8631
      @jtb8631 5 ปีที่แล้ว

      I agree, I’m a total noob with this stuff, but if I am interpreting this correctly, and you are just driving the red transistor between fully on and fully off very quickly to achieve a dimming effect, I see no need for any of the blue part of the circuit. And if this is correct you have just applied a very fast switch to an LED and a current limiting resistor. In which case, from my understanding FETs are more generally used for this function.

  • @jumadhaheri
    @jumadhaheri 5 ปีที่แล้ว

    Fantastic this great

  • @laszlobenyei483
    @laszlobenyei483 11 หลายเดือนก่อน

    ❤👍

  • @Nono-hk3is
    @Nono-hk3is 5 ปีที่แล้ว

    REGULATORS... MOUNT UP!

  • @mariushmedias
    @mariushmedias 5 ปีที่แล้ว +1

    ffs.. linear led driver ICs with max current setting and pwm dimming are as cheap as 15-20 cents each.. ex Diodes inc AL5802 or Nexperia NCR405U (random cheap led drivers on Digikey)
    Yoiu can add a few of these whenever you order other components for a project... like you'd order transistors.

    • @davidp1311
      @davidp1311 5 ปีที่แล้ว +4

      its not about the actual driving of leds, it is about understanding the fundamentals of electronics and how things work. obviously you wouldn't use this circuit for production

  • @magnuswootton6181
    @magnuswootton6181 3 ปีที่แล้ว

    This is what u need to get a computer running I think.

  • @neteagle2k9
    @neteagle2k9 5 ปีที่แล้ว +1

    Hi, very interessing video. By the way, a more crude CCS can be obtained removing your blue NPN, and the 1k base resistor. The current will rely on the output voltage of the µC typically 3.3V. The current will be equal to I = (Vio - Vbe)/R

  • @tomgeorge3726
    @tomgeorge3726 5 ปีที่แล้ว +2

    Hi, good video, you need to show the advantage of the circuit with different loads.
    That is, more than one LED in SERIES. As long as the circuit volt drop can accommodate them.

    • @Kevindarrah
      @Kevindarrah  5 ปีที่แล้ว

      yea, I like that idea!

    • @magnuswootton6181
      @magnuswootton6181 3 ปีที่แล้ว

      Modifying the voltage is as good as modifying the load, tricked me at first!!

  • @pileofstuff
    @pileofstuff 5 ปีที่แล้ว

    Thanks Kevin.
    I was planning to use some PT4115 to drive a few large LEED arrays, but this simplifies things considerably (and reduces the cost too!)

  • @arnabmusouwir9018
    @arnabmusouwir9018 3 ปีที่แล้ว

    Brilliant

  • @DCBpower
    @DCBpower 3 ปีที่แล้ว

    Even simpler...
    Use two small signal diodes with a resistor to v+ to generate a steady low voltage. Dive the base of an NPN transistor through a resistor from your constant voltage source. Use the gain of your transistor to select your transistor driving resistor. Use your minimum operating voltage (minus the ~1.4 voltage drop). This circuit lets you operate a 2 volt LED from a 3v lithium cell with constant brightness across the full charge. The circuit above doesn't go as low because you lose ~0.7 volts driving 1 transistor.

  • @hichamtassi1753
    @hichamtassi1753 3 ปีที่แล้ว

    Hello, very nice video ! i did the same, i used 1.5 Ohm to have an output of max 1A, but when i plug a load to my 12v lamp bulb, the voltage drops to 4v, is it normal ? many thanks.

  • @fpgamachine
    @fpgamachine 4 ปีที่แล้ว

    I have used many times the PNP version of this constant current source. It works great.