Fixed Linear Voltage Regulator SPICE Models

Vendor-supplied SPICE models for fixed linear voltage regulators are rare so most models available on the Internet have been created by individuals trying to fill the void. I came across the following post on a KiCad forum which contains models for the LM7809 and LM7909 regulators. These were created from adjustable LM317 and LM337 models by adding parameters to produce a +/- 9-volt output.

SPICE Models LM78xx & LM79xx Series

Based on this work, I created generic models from which any fixed regulator model can be created by passing two parameters. While these particular LM317 and LM337 models are not very accurate compared to the Texas Instruments models, the supplied parameters can be tweaked to create the desired output voltage.

I spent an afternoon creating models for the most popular fixed regulators and have compiled them into a library. My library also includes the TI models for the LM317 and LM337 adjustable regulators, which I've found to be very accurate.

In the spirit of giving back I've attached my library here, along with a "universal" symbol (reg.asy) that can be used with all models. This library comes with the usual caveats: no warranties implied, use at your own risk, etc.

Edit: Library updated May 16, 2025
 

Attachments

Last edited:
The models don't yield any PSRR information.
 

Attachments

  • LM7915_Schematic.png
    LM7915_Schematic.png
    15.6 KB · Views: 97
  • LM7915_PSRR.png
    LM7915_PSRR.png
    49.3 KB · Views: 89
These models are not particularly sophisticated nor were they intended to be (see the link in the original post). That link's author needed a model for fixed positive and negative 9-volt regulators because there are no manufacturer-supplied models available, and decided to create his own. I merely extended his work to include other popular fixed voltage regulators, and I posted that library because I thought some people might find those models useful. That was probably a mistake in hindsight.

I'm sorry that these simple models are not useful to you. If you find or create something better then maybe you can post them here.
 
  • Like
Reactions: ejp
Here's a better model, probably from the On-Semi (Motorola of old) -- from the Multisim database. It is easily adapted to the various output voltages by changing Vref. It compares reasonably well to the On-Semi datasheet wrt PSRR @120Hz.
 

Attachments

  • LM7915_LT_PSRR.png
    LM7915_LT_PSRR.png
    35.9 KB · Views: 91
  • LM7915_LT_Schematic.png
    LM7915_LT_Schematic.png
    11.2 KB · Views: 83