LTSpice Potentiometer? - diyAudio
Go Back   Home > Forums > Design & Build > Software Tools

Software Tools SPICE, PCB CAD, speaker design and measurement software, calculators

Please consider donating to help us continue to serve you.

Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
Reply
 
Thread Tools Search this Thread
Old 15th February 2013, 02:59 AM   #1
kouiky is offline kouiky  United States
diyAudio Member
 
Join Date: Jun 2009
Default LTSpice Potentiometer?

Hello, I'm looking to simulate a potentiometer in LT Spice and while there are a few netlists available on the internet, getting Spice to use user-made or even downloaded files has been difficult. Has anyone had success with this?
  Reply With Quote
Old 15th February 2013, 12:57 PM   #2
EssB is offline EssB  United Kingdom
diyAudio Member
 
Join Date: Jan 2009
Yes. I use potentiometer_standard.lib from the LTspice yahoo usergroup. Here's a post how to get it:
good circuit analysis program - Single Post
  Reply With Quote
Old 15th February 2013, 01:13 PM   #3
jcx is online now jcx  United States
diyAudio Member
 
Join Date: Feb 2003
Location: ..
what is the use - do you need "live" control of ratio during sim or just a setable/steppable ratio?

for the latter just use the parametric value defintion for a pair of R with the curly braces, and a .param for the setting variable

R1 value = {10k*(1-a)}

R2 value = {10k*a}

with a spice directive like one of:

.step param a list .1 .3 .6 .9

.param a = .5

you can even draw a rectangle around the R pair if you like it pretty - without needing .asy, worrying about lib management

Last edited by jcx; 15th February 2013 at 01:36 PM.
  Reply With Quote
Old 15th February 2013, 01:32 PM   #4
Calvin is offline Calvin  Germany
diyAudio Member
 
Calvin's Avatar
 
Join Date: Nov 2004
Location: close to Basel
Hi,

Im mostly using the pot_lin from this *.asc of the Yahoo-LTspice group
Just follow the instructions on the asc schematic sheet.

jauu
Calvin
Attached Files
File Type: zip Potentiometer-standard.zip (3.8 KB, 399 views)
  Reply With Quote
Old 15th February 2013, 01:38 PM   #5
EssB is offline EssB  United Kingdom
diyAudio Member
 
Join Date: Jan 2009
Quote:
Originally Posted by jcx View Post
what is the use - do you need "live" control of ratio during sim or just a setable/steppable ratio?
The pot symbol looks nicer on the shematic, also you can set log pots by rotation without calculating/guestimating the R values.
  Reply With Quote

Reply


Hide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
New to LTspice, need help, please. Esperado Software Tools 5 27th September 2011 12:32 PM
Using LTSpice gaetan8888 Solid State 6 19th July 2007 12:33 AM
t-latch in LTSpice zilog Parts 0 13th January 2007 12:51 AM
RIAA in LTspice Herrmann Tubes / Valves 2 17th September 2004 07:28 PM
Ltspice.... mikeks Solid State 10 13th June 2004 08:10 PM


New To Site? Need Help?

All times are GMT. The time now is 10:56 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2