• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Electronics Theory / What is Constant Current Source – Facts Explained

What is Constant Current Source – Facts Explained

Last Updated on November 20, 2023 by Swagatam 27 Comments

In this post I will try to analyze what is constant current source and how it affects a load, or how it may be used with a load correctly for achieving the most efficient results.

Table of Contents
  • How a Constant Current Source Works.
  • Will the Current be Forced into the Load
  • Conclusion
  • What happens if the supply V increases.
  • Simple Constant Current, Constant Voltage Circuit Using Transistors

The following discussion between me and Mr. Girish will clearly explain what is CC or how constant current operates.

How a Constant Current Source Works.

Question put by Mr. Girish.

I am trying to build a Arduino based Li-ion charger with a display, but I am with loads of confusions, if possible try to correct my puzzlement.

I have attached a diagram it is similar to which I am working with.

constant current source circuit

The LM317 in CC and CV mode, I have limited the voltage to 4.20V and current to 800mA (for 2AH battery) with 1.5ohm 1 watt resistor.

I am getting exactly 4.20V at output (open circuit) and short circuit current of exactly 0.80A.

But when I connect a  Li-ion battery (with half charge which is old batteries from laptop) the current consumption is just  0.10A, and almost discharged battery not consuming not more than 0.20A.

If charging is done at this rate it might take 10 hrs or more for reaching full battery, which is not feasible.

Is it possible to force the current to flow through the battery at 0.80A rate?

As far as i know the batteries are in good condition.

Will the Current be Forced into the Load

My second question is: Does constant current source pump current into a load or is it just a maximum current limiter?

Answer

If you are supplying 4.2V and 800mA to a 3.7V/800mAH or to a 2AH  cell, then everything is correct and nothing should be changed, because your charging specifications are perfect.

If the battery is not charging at the given full rate then the problem has to be with the battery not with the charging procedure.

You can try confirming the results with another meter if possible, to be entirely sure.

By the way a good battery should have accepted the 0.8 mAH charging rate and should have shown an immediate rise in its body temperature...if that is not happening then I guess the problem has to be with the battery.

You can also try another Li-ion battery and check whether it behaves in the same way or not. or you can try raising the current to full 1.5 amps, and check the response, but make sure to mount the ICs on a good heatsink, otherwise they will shut off.

Constant current source will not pump current, its job is is restricted to not to allow the load to consume current above the CC's specified value at any circumstances.

However ultimately it is the load which decides how much current it is supposed to consume. Current limiter will only work to stop the consumption if it reaches over the  specified rating, and nothing more.

Feedback from Mr.Girish

Exactly, what I discovered too, but in YouTube, I have seen many people saying it "pumps" the current through the load.

They limited the current to 12.6 mA with 100 ohm resistor and I am getting short circuit current of around 12.6 mA, they connected number of LEDs in series and took reading, current flow remains the same 12.6mA. The input volt is hiked to 24V, but the LED remains without any harm.

link: www.youtube.com/watch?v= iuMngik0GR8

I too replicated the experiment and got the same result. I think this may look like current "pumping" but obviously not "pumping".

I think this video conclusion cannot be applied to Li-ion batteries, since LEDs are current driven devices.

In case of Li-ion battery, if we connect two in series we have to increase the voltage to 8.4V and not keeping the same voltage or unconditionally higher voltage as LEDs.

I am assuming that my batteries are faulty.

Answer:

In the video the person says a 1amp constant current source will push 1 amp to a 1 ohm and also to a  100 ohms regardless of the resistance value? it implies that it will do the same to a 1K resistor?? that's grossly incorrect...just try it with a 1K resistance.

You can apply Ohm's law and get the results quickly.

Constant current simply means that the source will never allow the load to consume more than the specified rating of the source, this is the ultimate truth for any constant current source.

It is the load that ultimately decides how much current it will consume.... provided the load V specs matches the source V specs.

This is the reason why we use different resistors with different LEDs, because resistors do resist current depending on their values.

It may be any kind of load, whether battery or LED or bulb or SMPS, as long as the V spec matches the source V spec,  the current draw will be decided by the load.

The current source can do nothing but wait until the load tries to pull more than the rated value, and here the CC comes into action and stops the load from doing this.

Our mains input has around 50 amp current CC, does that mean it will push this current in our appliance, then we would see our appliances catching fire every now and then...;)

You can pump current by disturbing the voltage, that is by increasing the V beyond the load's V rating, which is technically wrong.

Feedback:

I too agree on this and I think the reason why LEDs able to lit without any harm at 24V because the current is limited to 12.6mA  which would also affect the voltage (V and I are proportional and no voltage regulator in it).

Since the current is constant, the terminal LED voltage must also stay fairly constant. I done the same experiment and got 2.5 to 3V across the LED at 17V input.

Reply:

Yes that's another aspect, if the current is below the load's max current specs then the voltage will drop to the load's rated V specs, regardless of the input voltage increase, .....but not if the current is more than the loads rating, then it will burn the load.

That's why when we use a low current capacitive power supply, even though the input conversion produces 310VDC across the LED, it quickly drops to the connected LED's fwd drop value, because the current is limited by the low value capacitor which may be rated lower than the loads's max amp rating.

transformerlesspowersupplycircuit

In the above indicated capacitive power supply, the output from the bridge is around 310V DC, but yet it is quickly dropped at the zener diode's value without burning the zener diode.

This happens because of low constant current from the capacitive supply which is unable to cause any harm to the zener diode, due to the much higher wattage of the zener diode.

Conclusion

From the above discussion we understand the following aspects regarding a constant current source:

  • Constant Current Supply has only one job to do, stop the connected load from drawing more current than the input's CC rating.
  • For example, a 7812 IC can be considered as a 1 amp 12V CC/CV regulator IC, because it will never allow the load to consume more than 1 amp and more tha 12V, regardless of the load rating.
  • Alternatively,  as long as the load's voltage rating matches the Constant current supply's Voltage rating, it will consume a current as per its own specification.
  • Suppose we have a 12V supply with a 50 amp CC, and we connect a load rated at 12V 1 amp, so what will be the consumption of the load.
  • It will be 1 amp strictly, because the load's V spec is correctly matched with the supply's V specs.

What happens if the supply V increases.

It will be then devastating for the load, as it will be forced to consume dangerous higher levels of current than its 1 amp rating, and finally it will burn.

Simple Constant Current, Constant Voltage Circuit Using Transistors

The following image shows how a simple yet very reliable CC/CV regulator can be built using a couple of transistors or BJTs.

The 10K pot can be used for adjusting the required constant voltage output level, while Rx cab be set for fixing the constant current level at the output.

Rx may be calculated with the help of the following formula:

Rx = 0.7 / the Desired CC Level

Simple Constant Current, Constant Voltage Circuit Using Transistors

You'll also like:

  • 1.  Unijunction Transistor (UJT) – Comprehensive Tutorial
  • 2.  Comparing MOSFETs with BJTransistors – Pros and Cons
  • 3.  How to Connect Resistors in Series and Parallel
  • 4.  How to Troubleshoot Transistor (BJT) Circuits Correctly
  • 5.  How To Calculate and Connect LEDs in Series and Parallel
  • 6.  How to Understand IC 4017 Pinouts

About Swagatam

I am an electronics engineer with over 15 years of hands-on experience. I am passionate about inventing, designing electronic circuits and PCBs, and helping hobbyists bring their projects to life. That is why I founded homemade-circuits.com, a website where I share innovative circuit ideas and tutorials. Have a circuit related question? Leave a comment.... I guarantee a reply!

Previous Post: « How to Repair a Switch-Mode-Power-Supply (SMPS)
Next Post: Patient Drip Empty Warning Indicator Circuit »

Reader Interactions

Comments

  1. Kyle says

    August 22, 2023 at 7:28 am

    Hello Swagatam,

    I have a Meanwell lrs-350-24 SMPS, which should give 15A, however when hooking up to my Li-ion battery pack BMS, SMPS goes into hiccup mode due to battery wanting more than 15A current.

    Can I use the above circuit attached to the SMPS output to provide 10A constant current?
    Rx would be 0.07Ohm correct? 2n2222 would have to be changed, maybe a 2N5038?

    Many thanks,
    Kyle

    Reply
    • Swagatam says

      August 22, 2023 at 9:27 am

      Hello Kyle,
      Controlling the output current to 10 amps is definitely possible. However, I would recommend the MOSFET current controller version from the following article. The LOAD could be replaced with your battery terminals:

      https://www.homemade-circuits.com/universal-high-watt-led-current-limiter/

      Reply
      • Kyle says

        August 23, 2023 at 2:18 am

        Okay thank you!

        So for that mosfet circuit, R1 is 1k and R2 can be calculated as such:

        0.7/10 = 0.07Ohms.
        Watts: 0.7×10 = 7Watt resistor

        If I choose a larger mosfet (so it won’t heat up at 10A current) will I have to change T2 or any resistors?

        Also the 15v zener, will I need to change that for 26v input?

        Many thanks,
        Kyle

        Reply
        • Swagatam says

          August 23, 2023 at 9:19 am

          Your calculations and assumptions are correct.
          However for 26V input you can change the 1K value to 4k7 or 10K
          T2 does not need to be changed as 4k7 or 10K collector load is quite big and acceptable for the transistor.
          15V zener is only for protecting the MOSFET gate, it does not need any changes.

          Reply
          • Kyle says

            August 23, 2023 at 3:20 pm

            Perfect! Thank you for your help Swagatam!

            Reply
            • Swagatam says

              August 23, 2023 at 5:30 pm

              You are welcome Kyle!

              Reply
  2. Tim says

    May 19, 2021 at 4:56 am

    I see your simple CC/CV using the TIP 122. I’ve been looking for a CC circuit for charging a super capacitor off of a LiFePO4 battery at ~100amps @ 16.8VDC max(but more likely 14.5VDC). If I were to upsize this circuit and use something like a MJ11028G(x2) do you think that would be sufficient? Would Rx still be (0.7/100) for each circuit run in parallel? The circuit would be just to bring the capacitor(583F) voltage up safely to match the battery voltage and then a direct parallel circuit would take over.
    Hope that isn’t too far off. My degree is in ME and power electronics has been a few years back.

    (If you’re curious, I’m using this setup to crank a 7.3L diesel.)

    Reply
    • Swagatam says

      May 19, 2021 at 8:37 am

      Yes, using two MJ11028 in parallel to handle 50 amps is definitely possible. Even though the two transistors are rated to handle 100 amps but in real life they would not handle more than 50 amp even with the largest heatsink connected to them.
      If you are connecting them in parallel, make sure to mount them over a single common large heatsink, one beside the other.
      Rx would be still 0.7, but the lower transistor must now change to a TIP31. This can be also changed with TIP122, then 0.7 will become 1.4
      The base resistor 1K can be calculated using the following formula:

      (supply input – load voltage rating) x hFE / load current

      Reply
  3. Pratham says

    August 24, 2018 at 5:30 pm

    Hello Sir,
    I have a built a project which includes many transducers and sensors which are driven by two DC-DC Converters having output ratings of 24V, 50W and 5V, 50W.
    I have a task to implement a circuit which senses the current drawn from these converters, an indication (LED) which shows that the current drawn is exceeding the threshold value (just as the CC mode of Regulated Power Supply) and if it does then it must immediately disconnect DC DC Converters from driving the sensors.
    Please help me with the same.
    Thank you!

    Reply
    • Swagatam says

      August 24, 2018 at 5:51 pm

      Hello Pratham,

      you can try the following concept with some modifications:
      https://www.homemade-circuits.com/mains-over-load-protector-circuit-for/

      1) replace the LED/LDR hand made opto coupler with any other ready made opto coupler
      2) Replace the 220V input with converter input.
      3) Connect the transducer to the relay output
      4) Connect the +12V of the circuit with the converter DC supply

      Reply
  4. hilman says

    June 30, 2018 at 1:22 am

    hi Mr…
    1. i wish to build this circuit with single 3 watt led (Luxeon 3) on 220volt ac in every room… and also my citchen set.. so i hope this circuit could to make smaller size PCB and also cheapest cost exactly
    2. if it possible what the value of resistor and wattage to change/Remove 10K VR because only will get fixed output 3,6 Volt 700mA.
    3. could to change TIPP 122 with other ones (lowest cost transistor).
    4. if you have i time, please share this circuit with PCB Layout with smaller size… i’m learning sprint layout software right now, it is difficult for me coz not auto route PCB

    Reply
    • Swagatam says

      June 30, 2018 at 12:30 pm

      Hi Hilman, TIP122 is recommended for efficient current transfer, but you can try a TIP31 instead, and check if its works.
      Please tell me the input voltage value for calculating the resistor values.
      Rx = 0.6/LED current

      Reply
      • hilman says

        July 1, 2018 at 4:47 am

        input voltage is from accu 6v/7,2AH and li ion 18650 battery.
        i don’t yet try transformerless PSU shown diagram above coz i assume max current will be no more than 100mA, and there is no stock TIP122 at store. i’m still looking for it at the other store

        Reply
        • Swagatam says

          July 1, 2018 at 10:24 am

          Here’s the formula for calculating resistor divider network
          Vout = Vin.R2 / R1 + R2

          Vout = 6R2 / 1000 + R2

          4.5 = 6R2 / 1000 + R2
          4.5(1000 + R2) = 6R2
          4500 + 4.5R2 = 6R2
          450 = 6R2 – 4.5R2 = 1.5R2
          R2 = 4500/1.5 = 3000 ohms

          3000 ohm will be the resistor which could be replaced with the shown 10K preset

          Reply
  5. Ajinkya says

    June 3, 2018 at 5:08 pm

    Whats the max current that can be supplied using above ckt?

    Reply
    • Swagatam says

      June 3, 2018 at 6:42 pm

      5 amp for the first circuit, if IC LM196 are used it becomes 10 amps max.

      Reply
      • Ajinkya says

        June 5, 2018 at 2:36 am

        Ok,but won’t 10A require quite a high watt register.Are those available in market notmally?What about tip122/2n2222 ckt.That would also require high watt resistor I suppose.

        Reply
        • Swagatam says

          June 5, 2018 at 8:39 am

          yes for the first circuit if LM196 is used, the R1 could require a 10 watt resistor.
          however in the the transistor based circuit the resistor value will be rather smaller, it could be around 0.6 x 10 = 6 watts

          Reply
  6. ABBA says

    January 18, 2018 at 9:38 am

    thanks now i understand

    Reply
  7. ABBA says

    January 16, 2018 at 9:50 pm

    so according to what i understand is, once Rx is set say we want 2amps in the load so Rx will be 0.35 ohms, so the moment the current tries to exceed this cc range, the base of the 2n222 is triggered due to the voltage developed according to ohms law. am i right ? if yes, then the voltage across the base/emitter of the 2n222 will be at 0.7 at all values of threshold current, then it means 2n222 is always in the bias state which means tip122’s output will be zero, i’m somehow confused pls help

    Reply
    • Swagatam says

      January 17, 2018 at 8:44 am

      during an over current situation as soon as the 2N2222 triggers it switches OFF the TI122 which in turn removes the 0.7V potential from the 2N2222 base, and this allows TIP122 to conduct, this again causes an overload at the output triggering ON the 2N2222 and switching OFF TIP122…the cycle keeps repeating at an extremely rapid rate which ultimately attains a steady state wherein the load is allowed to operate with the average restricted amount of current.

      Reply
  8. Ganesh Tripathi says

    December 11, 2017 at 12:55 pm

    Hi Swagatam,

    I want to use the constant current circuit with 3.7v. 250MA Does it works? or if you have any other circuit to solve my purpose.

    since i had used LM317 in Constant current configuration but it doesn’t work.

    Thanks

    Reply
    • Swagatam says

      December 11, 2017 at 5:45 pm

      Hi Ganesh, if you are referring to the first circuit, then yes it will definitely work for your application, and an LM317 circuit will also definitely work provided you calculate the resistor correctly.

      remember there are many duplicate versions of the IC flooded in the market which may not work, so make sure you buy the original one….

      Reply
  9. Asif says

    November 5, 2017 at 11:00 am

    Hi.
    Im looking for timer for egg turner mechine.. 8hour interval and 3 seconds run. Can u make 6 pcs and supply. Please do call me on 8494915158.
    Thanx
    Asif

    Reply
    • Swagatam says

      November 5, 2017 at 4:40 pm

      Hi, sorry, I won’t be able to provide practical samples…

      Reply
    • Asif says

      November 7, 2017 at 1:24 am

      Do u know anybody who can supply these units.

      Reply
      • Swagatam says

        November 7, 2017 at 10:04 am

        sorry, I don’t know anyone else who can do this in my range

        Reply

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Subscribe to New Circuit Ideas

Categories

  • Arduino Projects (87)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (83)
  • Datasheets and Components (104)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (87)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (37)
  • Water Controller (36)

Calculators

  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Filter Capacitor Calculator
  • Buck Converter Calculator
  • Boost Converter Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Wire Current Calculator
  • SMPS Transformer Calculator
  • IC SG3525, SG3524 Calculator
  • Inverter LC Filter Calculator

People Also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Recent Comments

  • Swagatam on EGS002 Datasheet, Circuit Diagram Explained
  • Swagatam on How to Make IC LM339 Circuits
  • Swagatam on How to Make Dog Barking Preventer Circuit using High Frequency Deterrence
  • Swagatam on How to Buy and Use RF Remote Control Modules – Control Any Electrical Gadget Remotely
  • Swagatam on How to Generate PWM Using IC 555 (2 Methods Explored)

Company

  • Privacy Policy
  • Cookie Policy
  • About Me
  • Contact
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin
  • © 2025 · Swagatam Innovations