Re: How to calculate current in R2 with an LM317
Why not limit the current and adjust the voltage it would seem to me to be easier if you are going to use a digital POT you could also have a (switchable current ranges or use a rheostat type of POT ) if you are wanting different current ranges
Or use a Servo to control the rheostat type of POT ( if you are going to use a micro controller )
with a current sensor ( any way )
If I were doing this project this would be the way I would do it
I have giving this some thought about doing this type of project myself
but my new problem is
I now have a new job and work ( 6 days a week until Halloween and then go to 4 days a week ) at night shift 11 pm to 7 or 9 am so I have very little free time any more
I am going to go off topic a little bit —>
I have a power tool that I use at work that the running time is some what short I have some LG 18650 batteries that I have tested that are 3 amp hour rating that I am going to use instead of the LG 1.5 amp hour ( I have a use for these batteries for another project) that are in it right now these batteries are not bad but every three of four days I have to charge them which is not convenient for me unfortunately this tool only offers this type of battery and no other options
https://www.harborfreight.com/12v-li...ery-56566.html
This is the tool that I am using
https://www.harborfreight.com/12v-li...nly-56564.html
The reason I have use this type of tool is I have to limit the torque to the bolts on one of our machines that the bolts are easily stripped if you apply to much torque but if you do apply enough torque then the plates leak product
I also have this tool that I have to figure out how to limit it torque the speed controller does have a very small control step range to it so it not convenient for me the way it is now but I need the reach of this tool
https://www.harborfreight.com/12v-li...nly-57276.html
I will be back on topic
How to calculate current in R2 with an LM317
Collapse
X
-
Re: How to calculate current in R2 with an LM317
Well ... some time ago, I wanted to make my own battery charger circuit for 18650 batteries using an Arduino, a current sensor, and at the time, I wanted to use a LM317 with R2 being an adjustable POT on a chip. That way I could read the current going into the battery, then adjust the voltage being fed to the battery by means of the digital POT. HOWEVER, those digital pots are very limited in the amount of current they can withstand ...
So how did I get here? Well, I was placing an order on Mouser and I like to try and maximize my shipping fee by getting things I either need or might need in the future and I realized that my LM317 supply was down to 1, so I was looking at various LM317's and looking at the datasheet for one of them and that triggered my recall back to that project and then my wondering about the current in R2 because I still have digital POTs and I might attempt this circuit again only this time ... with more knowledge going into it.
I don't know at the moment, what the current limits are on the digital POT, but if I attempt it again, I will make sure that the POT can handle what I'm going to ask it to do.
And now that I'm thinking about it in a little more detail ... this does seem to me to be a crude way to accomplish the charging of a battery.
But that should answer your question.Leave a comment:
-
Re: How to calculate current in R2 with an LM317
I R1 is constant as the LM317 always maintains 1.25V between the OUT and ADJ terminals.
1.25V/datasheet 240R for R1 is 5.2083mA, which must flow through R2 plus the ADJ pin current ~50uA which is so small it is usually ignored to simplify math. Exactly I R2 would be 5.2583mA
This is from using Kirchoff's current law.
Note the LM317 needs a minimum load which is why R1 is set to a low value.Leave a comment:
-
Re: How to calculate current in R2 with an LM317
now the question is....what is this information for?Leave a comment:
-
Re: How to calculate current in R2 with an LM317
Actually I screwed up, should be (1.25/R1 + a bit, usually around 60µA or so), math isn't cooperating with me nowadays. Sigh. I knew something was wrong with the previous answer when I tried dividing by zero, something was definitely wrong... But yes it should not matter what the load is, as long as the LM317 is operating within its design point - both the IC and the entire circuit.
He said ... picture yourself with a 5-gallon bucket and a hole in the ground that is the same size as the inside of the 5-gallon bucket.
Next, fill the bucket to the top with water then pour the water into the hole. How many times did you have to fill the bucket in order to fill the hole?
Next, fill the bucket halfway, and each time it is half full, pour it into the hole then tell me how many times you had to fill the bucket halfway before the hole was full.
Repeat for ¼ bucket water etc.
NOW, leave the bucket EMPTY and pour its contents into the hole... how long will it take you to fill the hole when the bucket is empty...
And THAT is why dividing by zero is infinity!
Leave a comment:
-
Re: How to calculate current in R2 with an LM317
Actually I screwed up, should be (1.25/R1 + a bit, usually around 60µA or so), math isn't cooperating with me nowadays. Sigh. I knew something was wrong with the previous answer when I tried dividing by zero, something was definitely wrong... But yes it should not matter what the load is, as long as the LM317 is operating within its design point - both the IC and the entire circuit.Last edited by eccerr0r; 05-20-2021, 04:19 PM.Leave a comment:
-
-
Re: How to calculate current in R2 with an LM317
IR2=Approximately 1.25/R2Leave a comment:
-
How to calculate current in R2 with an LM317
Given this circuit:
How can I calculate IR2?Tags: None
Related Topics
Collapse
-
by sam_sam_samI have a battery operated tab welder and the battery does not have enough current for the battery tab welder because after about 30 welded it does not have the same current output it voltage has gone down by at least 0.500 volts or maybe a more than that
I can fit 21700 battery cells in the enclosure it is very tight fit for four of them that are 35 amp high current capacity 35X4=140 high current output this should work a lot better than what is installed right now
I tested the battery cells there are installed right now and they are testing good with no issues that I... -
The AP2182 and AP2192 (AP21X2SG-13 AP21X2MPG-13) are integrated high-side power switches optimized for Universal Serial Bus (USB) and other hot-swap applications. The family of devices complies with USB 2.0 and available with both polarities of Enable input. They offer current and thermal limiting and short circuit protection as well as controlled rise time and under-voltage lockout functionality. A 7ms deglitch capability on the open-drain Flag output prevents false over-current reporting and does not require any external components.
All AP21X2SG-13 AP21X2MPG-13 devices are available...-
Channel: Common Parts Library - Datasheets
10-23-2024, 03:33 AM -
-
by DynaxSCHi Folks
I'm looking for a extreme high current short killer solution for a reasonable cost.
I have an LGA1700 motherboard (ASUS PRIME Z790-P WiFi) where I exchanged the LGA socket already 3 times, and every time after the socket exchange I get a short of power supply lines VCORE (V variable) and VCCIN_AUX (1.8V).
After taking off the socket, the shorts dissappear again.
The soldermask on the socket is already partially demaged from the heat, so I have reconstructed the soldermask by manually painting the missing soldermask parts with a very small top of a...10-15-2024, 10:13 AM -
by sam_sam_samI want to know if I could hook up a solar panels to this boost converter would I have any issues doing and I would have issues what would they be
Adjustable Boost Power Supply DC-DC Constant Voltage Current Charging Module
https://www.ebay.com/itm/116497313155?var=416785404161
Here are some of the description from the eBay seller
The main parameters:
1. Product name: High-power non-isolated DC boost module power supply.
2. Product model: 100A2000W.
3. Input voltage: DC12V-60V.
4. Input current: 100A (maximum).... -
by EasyGoing1I'm supplying a LM317 that's configured for 5.0V output with a source voltage of 7 volts. The LM317 is supplying power to a 5 volt sensor. The sensor is drawing 110ma of current, but the LM317 gets really hot and when i check the current draw from the 7V supply to the LM317, the LM317 is drawing a little over 400ma ...
This means that the LM317 is consuming almost 3 times the energy that it's supplying.
Is this normal for a LM317? - Loading...
- No more items.
Leave a comment: