SlideShare a Scribd company logo
1 of 9
#6 Constant Current
Sources
Exploring the LM317 and LM7805 as a Precision
Constant Current source
What is a Current Source?
Provides a set and stable current
Should be Independent of Load or Voltage
Many types and implementations exist
Passive sources (resistors, Zener diodes)
Active Sources (linear regulators)
With and without negative feedback
Commonly used components in current sources
Opamps
LM317 as Constant Current Source
Basic Current output formula: Iout = Vref/Riset
LM317 uses a Vref of 1.25V which it always tries to maintain between Vout and
ADJ. Using this principle we can ensure that a constant voltage is maintained
across a fixed resistor.
Using Ohm’s Law (I = V/R) we can
determine the Current that flows.
Examples using different Resistors:
1.25/125 = 0.01A
1.25/250 = 0.005A
1.25/250 = 0.0025A
Measured Current on Breadboard
LM317 using a 250Ω Resistor (0.1%) as a 5mA current source
Exactly as calculated! Without adjustment/calibration!
Resistor 125Ω 0.1% precision (Vishay PTF56)
Measured result: 9.96mA (-0.4% error)
Resistor 250Ω 0.1% precision (Vishay PTF56)
Measured result: 5.00mA (0% error)
Resistor 500Ω 0.1% precision (Vishay PTF56)
Measured result: 2.53mA (+1.2% error)
Notes: Powered by 6V battery supply (4x 1.5V AA). Measured using a UNI-T UT61B Multimeter which has
a DC Current accuracy of ±1.2%+3 in the Range of 40mA
So the Multimeter’s inaccuracy can be attributed to the error in measured results
Measured results of the LM317 as a current source
LM7805 as a constant current source
Basic formula: Iout = (Vout/Riset) + Io Bias current
Vout is normally close to 5V, varies slightly according to Load and input voltage
I Bias current is varies according to Vin
I Bias was measured a 2.8mA
If we want 10mA we can calculate using the formula:
0.01 = (4.98/Riset) + 0.0028
Riset = 4.98/0.0072 = 691.66Ω
Riset is Implemented as:
270Ω 1% + 500Ω 10-turn trimmer
This is a more complex and less stable setup as it does vary slightly due to load
LM7805 using a 270Ω and 500Ω
10-turn trimmer to output a set current
of 10mA
To confirm the results, we can plug in
the measured component values into the formula:
Iout = (Vout/Riset) + Io Bias current
Where Riset = 717Ω, Io bias = 2.8mA, Vout = 4.98
Iout = (4.98/717) + 0.0028 = 0.009745A or 9.75mA (-2.5% error)
Multimeters accuracy values of ±1.0%+2, ±1.2%+3 and ±0.8%+10 for Resistance, Current and Voltage
when added together can account for the error in the calculated values vs the measured value.
Measured current on a breadboard
Conclusion
It may seem logical to use trimmers everywhere, however they can also drift over
time and usually incur a worse Temperature coefficient that fixed type parts.
These two techniques explained, are cheap and easy ways to implement constant
current sources.
Many other constant current circuits exist that have their own challenges:
https://en.wikipedia.org/wiki/Current_source
I hope you learnt some basic techniques that you can apply in your own circuits.
Good Luck!
Further links and references
Current Sources tutorial: https://www.youtube.com/watch?v=lnU5d-KBMLg
Bob Pease at National Semiconductor shows several examples of constant
current sources (old video): https://www.youtube.com/watch?v=Sv21wD3FRmY

More Related Content

What's hot

Three phase full wave rectifier
Three phase  full wave rectifierThree phase  full wave rectifier
Three phase full wave rectifierVinay Singh
 
Unit 2 Questions_Nagrath kothari
Unit 2 Questions_Nagrath kothariUnit 2 Questions_Nagrath kothari
Unit 2 Questions_Nagrath kothariAbha Tripathi
 
potentiometer II.pptx
potentiometer II.pptxpotentiometer II.pptx
potentiometer II.pptxtadi1padma
 
Single line diagram ats apfc
Single line diagram ats apfcSingle line diagram ats apfc
Single line diagram ats apfcSajeewa Lakmal
 
Resonance in R-L-C circuit
Resonance in R-L-C circuitResonance in R-L-C circuit
Resonance in R-L-C circuitSiddhi Shrivas
 
Motor & generator protection example settings
Motor & generator protection example settingsMotor & generator protection example settings
Motor & generator protection example settingsH. Kheir
 
Diode Applications Experiment 5
Diode Applications Experiment 5Diode Applications Experiment 5
Diode Applications Experiment 5Karimi LordRamza
 
Choppers and cycloconverters
Choppers and cycloconvertersChoppers and cycloconverters
Choppers and cycloconvertersSHIMI S L
 
Dot convention in coupled circuits
Dot convention in coupled circuitsDot convention in coupled circuits
Dot convention in coupled circuitsmrunalinithanaraj
 
transmission-lines
transmission-linestransmission-lines
transmission-linesATTO RATHORE
 
Op amp applications cw nonlinear applications
Op amp applications cw nonlinear applicationsOp amp applications cw nonlinear applications
Op amp applications cw nonlinear applicationsJUNAID SK
 
Diode voltage multiplier
Diode voltage multiplierDiode voltage multiplier
Diode voltage multiplierUnsa Shakir
 
ECNG 3015 Industrial and Commercial Electrical Systems
ECNG 3015   Industrial and Commercial Electrical SystemsECNG 3015   Industrial and Commercial Electrical Systems
ECNG 3015 Industrial and Commercial Electrical SystemsChandrabhan Sharma
 
Chapter 4 - AC-DC Conversion.pdf
Chapter 4 - AC-DC Conversion.pdfChapter 4 - AC-DC Conversion.pdf
Chapter 4 - AC-DC Conversion.pdfbenson215
 

What's hot (20)

2 dc meter
2 dc meter 2 dc meter
2 dc meter
 
Three phase full wave rectifier
Three phase  full wave rectifierThree phase  full wave rectifier
Three phase full wave rectifier
 
Unit 2 Questions_Nagrath kothari
Unit 2 Questions_Nagrath kothariUnit 2 Questions_Nagrath kothari
Unit 2 Questions_Nagrath kothari
 
potentiometer II.pptx
potentiometer II.pptxpotentiometer II.pptx
potentiometer II.pptx
 
Transformer
TransformerTransformer
Transformer
 
Single line diagram ats apfc
Single line diagram ats apfcSingle line diagram ats apfc
Single line diagram ats apfc
 
Resonance in R-L-C circuit
Resonance in R-L-C circuitResonance in R-L-C circuit
Resonance in R-L-C circuit
 
Motor & generator protection example settings
Motor & generator protection example settingsMotor & generator protection example settings
Motor & generator protection example settings
 
Diode Applications Experiment 5
Diode Applications Experiment 5Diode Applications Experiment 5
Diode Applications Experiment 5
 
3.magnetically coupled circuit
3.magnetically coupled circuit3.magnetically coupled circuit
3.magnetically coupled circuit
 
Choppers and cycloconverters
Choppers and cycloconvertersChoppers and cycloconverters
Choppers and cycloconverters
 
Dot convention in coupled circuits
Dot convention in coupled circuitsDot convention in coupled circuits
Dot convention in coupled circuits
 
transmission-lines
transmission-linestransmission-lines
transmission-lines
 
Op amp applications cw nonlinear applications
Op amp applications cw nonlinear applicationsOp amp applications cw nonlinear applications
Op amp applications cw nonlinear applications
 
Diode voltage multiplier
Diode voltage multiplierDiode voltage multiplier
Diode voltage multiplier
 
powerscope.pdf
powerscope.pdfpowerscope.pdf
powerscope.pdf
 
A.c circuits
A.c circuitsA.c circuits
A.c circuits
 
Voltage multiplier
Voltage multiplierVoltage multiplier
Voltage multiplier
 
ECNG 3015 Industrial and Commercial Electrical Systems
ECNG 3015   Industrial and Commercial Electrical SystemsECNG 3015   Industrial and Commercial Electrical Systems
ECNG 3015 Industrial and Commercial Electrical Systems
 
Chapter 4 - AC-DC Conversion.pdf
Chapter 4 - AC-DC Conversion.pdfChapter 4 - AC-DC Conversion.pdf
Chapter 4 - AC-DC Conversion.pdf
 

Similar to #6 constant current sources

Lab 4 Report Switching Voltage Regulators
Lab 4 Report Switching Voltage Regulators Lab 4 Report Switching Voltage Regulators
Lab 4 Report Switching Voltage Regulators Katrina Little
 
VEGEteK #003 - Current sensing circuit
VEGEteK #003 - Current sensing circuitVEGEteK #003 - Current sensing circuit
VEGEteK #003 - Current sensing circuitHossam Moghrabi
 
Lab 3 Report Linear Voltage Regulators
Lab 3 Report Linear Voltage RegulatorsLab 3 Report Linear Voltage Regulators
Lab 3 Report Linear Voltage RegulatorsKatrina Little
 
Voltage Regulator Circuit with LM317
Voltage Regulator Circuit with LM317Voltage Regulator Circuit with LM317
Voltage Regulator Circuit with LM317Ricardo Portals
 
Up/Down Converter Linear Model with Feed Forward and Feedback Stability Analysis
Up/Down Converter Linear Model with Feed Forward and Feedback Stability AnalysisUp/Down Converter Linear Model with Feed Forward and Feedback Stability Analysis
Up/Down Converter Linear Model with Feed Forward and Feedback Stability AnalysisCSCJournals
 
Lab 2 Report More Linear Operational Amplifiers
Lab 2 Report More Linear Operational AmplifiersLab 2 Report More Linear Operational Amplifiers
Lab 2 Report More Linear Operational AmplifiersKatrina Little
 
EE131.1 - Instruments and Measurements.pdf
EE131.1 - Instruments and Measurements.pdfEE131.1 - Instruments and Measurements.pdf
EE131.1 - Instruments and Measurements.pdfLloydDackzArenas
 
MINI PROJECT REPORT ON Designing a series voltage regulator (3).pptx
MINI PROJECT REPORT ON Designing a series voltage regulator (3).pptxMINI PROJECT REPORT ON Designing a series voltage regulator (3).pptx
MINI PROJECT REPORT ON Designing a series voltage regulator (3).pptxParthibRoy
 
Servo voltage stabilization
Servo voltage stabilizationServo voltage stabilization
Servo voltage stabilizationChirag Panchal
 
Ic voltage regulators
Ic voltage regulatorsIc voltage regulators
Ic voltage regulatorsAnita Thattil
 
Sample lab-report on verfication of ohms law
Sample lab-report on verfication of ohms lawSample lab-report on verfication of ohms law
Sample lab-report on verfication of ohms lawminteshat
 
An Adaptive Zero Voltage Mechanism for Boost Converter
An Adaptive Zero Voltage Mechanism for Boost ConverterAn Adaptive Zero Voltage Mechanism for Boost Converter
An Adaptive Zero Voltage Mechanism for Boost ConverterIOSR Journals
 

Similar to #6 constant current sources (20)

Lab 4 Report Switching Voltage Regulators
Lab 4 Report Switching Voltage Regulators Lab 4 Report Switching Voltage Regulators
Lab 4 Report Switching Voltage Regulators
 
VEGEteK #003 - Current sensing circuit
VEGEteK #003 - Current sensing circuitVEGEteK #003 - Current sensing circuit
VEGEteK #003 - Current sensing circuit
 
Lab 3 Report Linear Voltage Regulators
Lab 3 Report Linear Voltage RegulatorsLab 3 Report Linear Voltage Regulators
Lab 3 Report Linear Voltage Regulators
 
Voltage Regulator Circuit with LM317
Voltage Regulator Circuit with LM317Voltage Regulator Circuit with LM317
Voltage Regulator Circuit with LM317
 
Up/Down Converter Linear Model with Feed Forward and Feedback Stability Analysis
Up/Down Converter Linear Model with Feed Forward and Feedback Stability AnalysisUp/Down Converter Linear Model with Feed Forward and Feedback Stability Analysis
Up/Down Converter Linear Model with Feed Forward and Feedback Stability Analysis
 
Lab 2 Report More Linear Operational Amplifiers
Lab 2 Report More Linear Operational AmplifiersLab 2 Report More Linear Operational Amplifiers
Lab 2 Report More Linear Operational Amplifiers
 
EE131.1 - Instruments and Measurements.pdf
EE131.1 - Instruments and Measurements.pdfEE131.1 - Instruments and Measurements.pdf
EE131.1 - Instruments and Measurements.pdf
 
MINI PROJECT REPORT ON Designing a series voltage regulator (3).pptx
MINI PROJECT REPORT ON Designing a series voltage regulator (3).pptxMINI PROJECT REPORT ON Designing a series voltage regulator (3).pptx
MINI PROJECT REPORT ON Designing a series voltage regulator (3).pptx
 
Voltage Dip Mitigation
Voltage Dip MitigationVoltage Dip Mitigation
Voltage Dip Mitigation
 
Sheela arokia mary
Sheela arokia marySheela arokia mary
Sheela arokia mary
 
Servo voltage stabilization
Servo voltage stabilizationServo voltage stabilization
Servo voltage stabilization
 
Ic voltage regulators
Ic voltage regulatorsIc voltage regulators
Ic voltage regulators
 
Buck Boost Converter with simulation model.pdf
Buck Boost Converter with simulation model.pdfBuck Boost Converter with simulation model.pdf
Buck Boost Converter with simulation model.pdf
 
Sample lab-report on verfication of ohms law
Sample lab-report on verfication of ohms lawSample lab-report on verfication of ohms law
Sample lab-report on verfication of ohms law
 
Lm7805
Lm7805Lm7805
Lm7805
 
EE101 Lab4 Guillemaud
EE101 Lab4 GuillemaudEE101 Lab4 Guillemaud
EE101 Lab4 Guillemaud
 
Spx29300 t 2.5-tr
Spx29300 t 2.5-trSpx29300 t 2.5-tr
Spx29300 t 2.5-tr
 
An Adaptive Zero Voltage Mechanism for Boost Converter
An Adaptive Zero Voltage Mechanism for Boost ConverterAn Adaptive Zero Voltage Mechanism for Boost Converter
An Adaptive Zero Voltage Mechanism for Boost Converter
 
E&e lab manual
E&e lab manualE&e lab manual
E&e lab manual
 
Lm555
Lm555Lm555
Lm555
 

More from sscholle

#5 logic probe
#5 logic probe#5 logic probe
#5 logic probesscholle
 
#2 open source introduction
#2 open source introduction#2 open source introduction
#2 open source introductionsscholle
 
#1 channel introduction
#1 channel introduction#1 channel introduction
#1 channel introductionsscholle
 
#4 opamp offset voltage
#4 opamp offset voltage#4 opamp offset voltage
#4 opamp offset voltagesscholle
 
It's ALL TRUE
It's ALL TRUEIt's ALL TRUE
It's ALL TRUEsscholle
 
Take Day Off
Take Day OffTake Day Off
Take Day Offsscholle
 
Italian Sports Presenter
Italian Sports PresenterItalian Sports Presenter
Italian Sports Presentersscholle
 
Willard Wigan
Willard WiganWillard Wigan
Willard Wigansscholle
 
Salary Review
Salary ReviewSalary Review
Salary Reviewsscholle
 
Lion Optical Illusion
Lion Optical IllusionLion Optical Illusion
Lion Optical Illusionsscholle
 

More from sscholle (11)

#5 logic probe
#5 logic probe#5 logic probe
#5 logic probe
 
#2 open source introduction
#2 open source introduction#2 open source introduction
#2 open source introduction
 
#1 channel introduction
#1 channel introduction#1 channel introduction
#1 channel introduction
 
#4 opamp offset voltage
#4 opamp offset voltage#4 opamp offset voltage
#4 opamp offset voltage
 
It's ALL TRUE
It's ALL TRUEIt's ALL TRUE
It's ALL TRUE
 
Take Day Off
Take Day OffTake Day Off
Take Day Off
 
Italian Sports Presenter
Italian Sports PresenterItalian Sports Presenter
Italian Sports Presenter
 
Willard Wigan
Willard WiganWillard Wigan
Willard Wigan
 
Salary Review
Salary ReviewSalary Review
Salary Review
 
Liverpool
LiverpoolLiverpool
Liverpool
 
Lion Optical Illusion
Lion Optical IllusionLion Optical Illusion
Lion Optical Illusion
 

Recently uploaded

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdflior mazor
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 

Recently uploaded (20)

08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 

#6 constant current sources

  • 1. #6 Constant Current Sources Exploring the LM317 and LM7805 as a Precision Constant Current source
  • 2. What is a Current Source? Provides a set and stable current Should be Independent of Load or Voltage Many types and implementations exist Passive sources (resistors, Zener diodes) Active Sources (linear regulators) With and without negative feedback Commonly used components in current sources Opamps
  • 3. LM317 as Constant Current Source Basic Current output formula: Iout = Vref/Riset LM317 uses a Vref of 1.25V which it always tries to maintain between Vout and ADJ. Using this principle we can ensure that a constant voltage is maintained across a fixed resistor. Using Ohm’s Law (I = V/R) we can determine the Current that flows. Examples using different Resistors: 1.25/125 = 0.01A 1.25/250 = 0.005A 1.25/250 = 0.0025A
  • 4. Measured Current on Breadboard LM317 using a 250Ω Resistor (0.1%) as a 5mA current source Exactly as calculated! Without adjustment/calibration!
  • 5. Resistor 125Ω 0.1% precision (Vishay PTF56) Measured result: 9.96mA (-0.4% error) Resistor 250Ω 0.1% precision (Vishay PTF56) Measured result: 5.00mA (0% error) Resistor 500Ω 0.1% precision (Vishay PTF56) Measured result: 2.53mA (+1.2% error) Notes: Powered by 6V battery supply (4x 1.5V AA). Measured using a UNI-T UT61B Multimeter which has a DC Current accuracy of ±1.2%+3 in the Range of 40mA So the Multimeter’s inaccuracy can be attributed to the error in measured results Measured results of the LM317 as a current source
  • 6. LM7805 as a constant current source Basic formula: Iout = (Vout/Riset) + Io Bias current Vout is normally close to 5V, varies slightly according to Load and input voltage I Bias current is varies according to Vin I Bias was measured a 2.8mA If we want 10mA we can calculate using the formula: 0.01 = (4.98/Riset) + 0.0028 Riset = 4.98/0.0072 = 691.66Ω Riset is Implemented as: 270Ω 1% + 500Ω 10-turn trimmer This is a more complex and less stable setup as it does vary slightly due to load
  • 7. LM7805 using a 270Ω and 500Ω 10-turn trimmer to output a set current of 10mA To confirm the results, we can plug in the measured component values into the formula: Iout = (Vout/Riset) + Io Bias current Where Riset = 717Ω, Io bias = 2.8mA, Vout = 4.98 Iout = (4.98/717) + 0.0028 = 0.009745A or 9.75mA (-2.5% error) Multimeters accuracy values of ±1.0%+2, ±1.2%+3 and ±0.8%+10 for Resistance, Current and Voltage when added together can account for the error in the calculated values vs the measured value. Measured current on a breadboard
  • 8. Conclusion It may seem logical to use trimmers everywhere, however they can also drift over time and usually incur a worse Temperature coefficient that fixed type parts. These two techniques explained, are cheap and easy ways to implement constant current sources. Many other constant current circuits exist that have their own challenges: https://en.wikipedia.org/wiki/Current_source I hope you learnt some basic techniques that you can apply in your own circuits. Good Luck!
  • 9. Further links and references Current Sources tutorial: https://www.youtube.com/watch?v=lnU5d-KBMLg Bob Pease at National Semiconductor shows several examples of constant current sources (old video): https://www.youtube.com/watch?v=Sv21wD3FRmY