LM317 current source simulation

Thread Starter

Kevil

Joined Jun 28, 2020
224
The circuit in the picture with LM317 should provide 1A current, but it gives only 266 mA. What am I doing wrong? I have also attached LM317.asy and LM317.sub downloaded from the link.

How do I add the name "LM317" to the component image?

2025-03-30.png
 

Attachments

crutschow

Joined Mar 14, 2008
38,407
The circuit in the picture with LM317 should provide 1A current, but it gives only 266 mA. What am I doing wrong?
As Eric noted, you are trying to violate Ohm's law.

The LM317 also requires a least 3V across it for regulation so V1 should be at ≥14V.
How do I add the name "LM317" to the component image?
You can edit the .asy file or add as text from the Edit dropdown.

Below is the .asy file with the designation included.
Edit: Added the .sub file.
 

Attachments

Last edited:

crutschow

Joined Mar 14, 2008
38,407
Below is the sim showing the relation between the input and output voltages:
The output reaches 1A at about 14V input.

Note that your file was missing a ground reference, which is required for a proper LTspice simulation.

1743360604724.png
 
Last edited:
Top