Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering

Adjustable Constant Current Source (Part 13/13)

By Diksha

A constant current source is used to provide a constant current regardless of the input voltage and output load. These type of circuits are also used as a current limiter. Most electronic devices have a maximum current rating and if current above that rating is drawn by it, the device may get damaged or not work properly. Therefore a lot of times constant current power supplies are required to operate electronic devices. In this project, an adjustable constant current source which supplies 25 mA constant current at the output regardless of load resistance and the input voltage is designed. 
The constant current of 25 mA in this circuit can be changed as per requirement by just changing the series resistance at the output of the circuit. The circuit designed in this project can be adjusted to provide a constant current up to 1.5 A. The circuit inputs AC voltage from main supplies and regulate it using LM317 voltage regulator IC. The current at the output is limited to 25 mA by a series resistance of 50 ohms at the output terminals of the circuit.

Components Required – 

List of Components required for Adjustable Constant Current Source
Fig. 1: List of Components required for Adjustable Constant Current Source
Block Diagram – 
Block Diagram of Adjustable Constant Current Source
Fig. 2: Block Diagram of Adjustable Constant Current Source
Circuit Connections – 
First of all, for stepping down the 230 V AC, a 12V – 0 -12V transformer is taken. One end of the secondary coil of the transformer and center tape of it are connected with a full-bridge rectifier. The full bridge rectifier is built by connecting four SR560 diodes to each other designated as D1, D2, D3 and D4 in the schematics. The cathode of D1 and anode of D2 is connected to one of the secondary coil and cathode of D4 and anode of D3 is connected to the center tape. The cathodes of D2 and D3 are connected from which one terminal is taken out from the output of rectifier and anodes of D1 and D4 are connected from which other terminal is taken out from the output from full-wave rectifier.
A fuse of 1.5A is connected at the output of the full-bridge rectifier and the output terminal of the full-bridge rectifier is connected to voltage input terminal of the LM-317 IC. The adjust pin of the voltage regulator IC is connected to the ground that is provided by the center tape of the transformer. The output voltage is drawn from the voltage output terminal of LM-317. A resistance of 50 ohms is connected in series to the voltage output terminal of LM-317 to limit the current. The output voltage is drawn from the voltage output terminal of the IC and the common ground.

How the circuit works – 

The circuit operates by executing following operations –
1. AC to AC Conversion
2. AC to DC Conversion – Full Wave Rectification
3. Smoothing
4. Voltage regulation
5. Limiting Current
AC to AC conversion
The voltage of Main Supplies is approximately 220-230V AC which further needs to be stepped down to 12V level. To reduce the 220V AC to 12V AC, a step-down transformer with center taping is used. The use of center tap transformer allows to generate both positive and negative voltage at the input, however, only positive voltage will be drawn from the transformer. The circuit takes some drop in the output voltage due to resistive loss. Therefore a transformer of high voltage rating greater than the required 12 V needs to be taken. The transformer should provide 1.5 A current at the output. The most suitable step-down transformer that meets the mentioned voltage and current requirements is 12V-0-12V/2A. This transformer step downs the main line voltage to +/-12V AC, as shown in the below image.
Circuit Diagram of 12-0-12V Transformer
Fig. 3: Circuit Diagram of 12-0-12V Transformer
AC to DC conversion – Full Wave Rectification
The stepped down AC voltage needs to be converted to DC voltage through rectification. The rectification is the process of converting AC voltage to DC voltage. There are two ways to convert an AC signal to the DC one. One is half wave rectification and another is full wave rectification. In this circuit, a full-wave bridge rectifier is used for converting the 24V AC to 24V DC. The full wave rectification is more efficient than half wave rectification since it provides complete use of both the negative and positive sides of AC signal. In full wave bridge rectifier configuration, four diodes are connected in such a way that current flows through them in only one direction resulting in a DC signal at the output. During full wave rectification, at a time two diodes become forward biased and another two diodes get reverse biased.
Circuit Diagram of Full Wave Rectifier
Fig. 4: Circuit Diagram of Full Wave Rectifier
During the positive half cycle of the supply, diodes D2 and D4 conduct in series while diodes D1 and D3 are reverse biased and the current flows through the output terminal passing through D2, output terminal and the D4. During the negative half cycle of the supply, diodes D1 and D3 conduct in series, but diodes D4 and D2 are reverse biased and the current flow through D1, output terminal and the D3. The direction of current both ways through the output terminal in both conditions remain the same.
Circuit Diagram showing positive cycle of Full Wave Rectifier
Fig. 5: Circuit Diagram showing positive cycle of Full Wave Rectifier
Circuit Diagram showing negative cycle of Full Wave Rectifier
Fig. 6: Circuit Diagram showing negative cycle of Full Wave Rectifier
The SR560 diodes are chosen to build the full wave rectifier because they have the maximum (average) forward current rating of  2A and in reverse biased condition, they can sustain peak inverse voltage up to 36V. That is why SR560 diodes are used in this project for full wave rectification.
Smoothing
As its name suggest it is the process of smoothing or filtering the DC signal by using a capacitor. A capacitor C1 of high value is connected to the output of rectifier circuit. As the DC which is to be rectified by the rectifier circuit has many AC spikes and unwanted ripples, so to reduce these spikes we use a capacitor. This capacitor acts as a filtering capacitor which bypasses all the AC through it to ground. At the output, the DC which is left is now smoother and ripples free. A small value of ceramic capacitor C2 is also used in parallel with C1 to reduce the overall ESR.
Circuit Diagram of Smoothing Capacitor in Adjustable Constant Current Source
Fig. 7: Circuit Diagram of Smoothing Capacitor in Adjustable Constant Current Source
Voltage Regulation 
LM317 is used for the voltage regulation. LM317 is a monolithic positive voltage regulator IC. Being monolithic, all the components are inbuilt on the same semiconductor chip making the IC small in size having less power consumption and low cost. The IC has three pins – 1) Input pin where maximum 40 V DC can be supplied, 2) Output pin which provides an output voltage in the range of 1.25 V to 37 V and 3) Adjust pin which is used to vary the output voltage corresponding to the applied input voltage. For input up to 40 V, the output can vary from 1.25 V to 37 V.
There is an In-built OPAM (Operational Amplifier) on the IC whose inverting input is connected with the adjustment pin. The non-inverting input is set by a band gap voltage reference whose voltage is independent of the temperature, power supply, and circuit loading. Therefore, LM317 gives a stable reference voltage of 1.25 V across its adjust pin. The reference voltage of 317 can be from 1.2 V to 1.3 V.
The LM317 has the following internally tolerable power dissipation –
Pout = (Maximum operating temperature of IC)/ (Thermal Resistance, Junction−to−Ambient +  Thermal  Resistance, Junction−to−case)
Pout = (150) / (65+5) (values as per the datasheet)
Pout = 2  W
Therefore, LM317 internally can sustain up to 2 W power dissipation. Above 2 W, the IC will not tolerate the amount of heat generated and will start burning. This can cause a serious fire hazard also. So heat sink is needed to dissipate the excessive heat from the IC.
Limiting Current 
Due to the constant 1.25V reference voltage of the LM317, it provides a constant current at the output. By using this feature of 317, an adjustable constant current source can be designed. For setting the constant current at the output a resistance R is connected between the voltage output and adjustment pin of LM-317. In normal conditions when there is the constant demand of current at the output the 317 maintains a voltage of 1.25V at its adjust terminal. Therefore the voltage across R is also 1.25V. As the current demand changes at the output, it should also change the voltage drop across R but LM-317 adjusts the output voltage to compensate a constant 1.25V drop across resistance R.
Therefore, the voltage across R is always 1.25V and a constant current flows through it. This constant current can be calculated as follows –
Iout = 1.25/R
For changing the output constant current the value of series resistance R should be changed by replacing the resistor. The 317 IC can provide current up to 1.5A if the proper heat sink is applied to the IC. The IC can provide a minimum current of 10mA and maximum 1.5A.
So the minimum value of resistance R in the circuit is as follows –
Rmin = 1.25/ Imax
Rmin = 1.25/1.5
Rmin = 0.83 ohm
Therefore, for any resistance below 0.83 ohm the current will be greater than the 1.5A and IC will not be able to provide that much current.
The maximum value of resistance is as follows –
Rmax = 1.25/ Imin
Rmax = 1.25/0.01
Rmax = 125 ohm
  
Circuit Diagram of Current Limiter
Fig. 8: Circuit Diagram of Current Limiter
Testing and Precautions – 
The following precautions need to be taken while assembling the circuit –
• The current rating of the step-down transformer, bridge diodes and voltage regulator ICs must be greater than or equal to the required current at the output. Otherwise, it will be unable to supply the required current at the output.
• For driving the high load at the output, heat sink should be mounted at the holes of the regulator. This will prevent the IC from blowing off due to heat dissipation.
• As the regulator IC can draw current up to 1.5A only, a fuse of 1.5A needs to be connected. This fuse will limit the current in the regulator up to 1.5A. For current above 1.5A, the fuse will blow off and this will cut the input supply from the circuit. This will protect the circuit and regulator ICs from current greater than 1.5A.
• The current drawn at the output should not be 1.5A, otherwise the voltage regulator IC will get damaged.
• The dropout voltage of LM317 IC is about 1.5V to 2.5V depending upon the output current. Thus input voltage must be 1.5V to 2.5V greater than the maximum voltage drop across the load. The voltage drop across the load can be calculated as follows –
V = I(constant current) * R(Load Resistance)
Once the circuit is assembled, plug it to main supplies and measure output voltage and current using a multimeter with different loads.
When a load of 50 ohms resistance is connected at the output terminals, the output current is measured to be 24.6 mA. Theoretically, output current is derived as follows –
output current = 1.25/R
Iout = 1.25/50
Iout = 25mA
So the percentage error of output current is as follows –
% Error = (Theoretical Observation – practical observation) *100 /practical observation
% Error = (0.025 – 0.0246)*100/0.0246
% Error = 1.6%
The power dissipation of the voltage regulator IC is as follows –
Pout = (Vin – Vout)*Iout
Pout = (12- 1.5)*0.0246
Pout = 0.25W
When a load of 25 ohms resistance is connected at the output terminals, the output current is measured to be 49.8 mA. Theoretically, output current is derived as follows –
output current = 1.25/R
Iout = 1.25/25
Iout = 50mA
So the percentage error of output current is as follows –
% Error = (Theoretical Observation – practical observation) *100 /practical observation
% Error = (0.050 – 0.0498)*100/0.0498
% Error = 0.4 %
The power dissipation of the voltage regulator IC is as follows –
Pout = (Vin – Vout)*Iout
Pout = (12- 1.7)*0.0498
Pout = 0.51W
 Therefore with different values of R, different constant currents are obtained. Though from the above practical experience, power dissipation in the IC is found within the internal tolerable limits, it is still recommended to use a heat sink to aid cooling the IC and to increase the lifespan of it.
The circuit designed in this project can be used as a constant current LED driver, current limiter circuit, constant current battery charger, super-cap charger and constant current power supply.

Circuit Diagrams

Circuit-Diagram-Adjustable-Constant-Current-Source

Project Video


Filed Under: Featured Contributions

 

Questions related to this article?
👉Ask and discuss on EDAboard.com and Electro-Tech-Online.com forums.



Tell Us What You Think!! Cancel reply

You must be logged in to post a comment.

HAVE A QUESTION?

Have a technical question about an article or other engineering questions? Check out our engineering forums EDABoard.com and Electro-Tech-Online.com where you can get those questions asked and answered by your peers!


Featured Tutorials

  • Introduction to Brain Waves & its Types (Part 1/13)
  • Understanding NeuroSky EEG Chip in Detail (Part 2/13)
  • Performing Experiments with Brainwaves (Part 3/13)
  • Amplification of EEG Signal and Interfacing with Arduino (Part 4/13)
  • Controlling Led brightness using Meditation and attention level (Part 5/13)
  • Control Motor’s Speed using Meditation and Attention Level of Brain (Part 6/13)

Stay Up To Date

Newsletter Signup

Sign up and receive our weekly newsletter for latest Tech articles, Electronics Projects, Tutorial series and other insightful tech content.

EE Training Center Classrooms

EE Classrooms

Recent Articles

  • What is a loop calibrator? 
  • What are the battery-selection criteria for low-power design?
  • Key factors to optimize power consumption in an embedded device
  • EdgeLock A5000 Secure Authenticator
  • How to interface a DS18B20 temperature sensor with MicroPython’s Onewire driver

Most Popular

5G 555 timer circuit 8051 ai Arduino atmega16 automotive avr bluetooth dc motor display Electronic Part Electronic Parts Fujitsu ic infineontechnologies integratedcircuit Intel IoT ir lcd led maximintegratedproducts microchip microchiptechnology Microchip Technology microcontroller microcontrollers mosfet motor powermanagement Raspberry Pi remote renesaselectronics renesaselectronicscorporation Research samsung semiconductor sensor software STMicroelectronics switch Technology vishayintertechnology wireless

RSS EDABOARD.com Discussions

  • Passive Harmonics Filter
  • file edit
  • RCF Subwoofer Amplifier PIC16F870-I/SP please help me about hex code
  • Active Balun Design
  • What was before microcontrollers ?

RSS Electro-Tech-Online.com Discussions

  • Control Bare LCD With ATmega328p
  • Need a ducted soldering fan for solder smoke extraction
  • Identify a circuit.
  • Sla ir li ion
  • Question about ultrasonic mist maker
Engineers Garage
  • Analog IC TIps
  • Connector Tips
  • DesignFast
  • EDABoard Forums
  • EE World Online
  • Electro-Tech-Online Forums
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips
  • 5G Technology World
  • About Us
  • Contact Us
  • Advertise

Copyright © 2022 WTWH Media LLC. All Rights Reserved. The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media
Privacy Policy | Advertising | About Us

Search Engineers Garage

  • Projects and Tutorials
    • Electronic Projects
      • 8051
      • Arduino
      • ARM
      • AVR
      • PIC
      • Raspberry pi
      • STM32
    • Tutorials
    • Circuit Design
    • Project Videos
    • Components
  • Articles
    • Tech Articles
    • Insight
    • Invention Stories
    • How to
    • What Is
  • News
    • Electronic Products News
    • DIY Reviews
    • Guest Post
  • Forums
    • EDABoard.com
    • Electro-Tech-Online
    • EG Forum Archive
  • Digi-Key Store
    • Cables, Wires
    • Connectors, Interconnect
    • Discrete
    • Electromechanical
    • Embedded Computers
    • Enclosures, Hardware, Office
    • Integrated Circuits (ICs)
    • Isolators
    • LED/Optoelectronics
    • Passive
    • Power, Circuit Protection
    • Programmers
    • RF, Wireless
    • Semiconductors
    • Sensors, Transducers
    • Test Products
    • Tools
  • EE Resources
    • DesignFast
    • LEAP Awards
    • Oscilloscope Product Finder
    • White Papers
    • Webinars
  • EE Learning Center
    • Design Guides
      • WiFi & the IOT Design Guide
      • Microcontrollers Design Guide
      • State of the Art Inductors Design Guide
  • Women in Engineering