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: