EEVblog Electronics Community Forum

EEVblog => The AmpHour Radio Show => Topic started by: 3roomlab on August 20, 2022, 06:10:37 am

Title: #196 (recast 01-08-22) An Interview with Mike Engelhardt (LTspice) + bonus
Post by: 3roomlab on August 20, 2022, 06:10:37 am

https://www.youtube.com/watch?v=M5aNtkUsPiY (https://www.youtube.com/watch?v=M5aNtkUsPiY)


6 episode video : Mike Engelhardt on LTspice
https://www.youtube.com/watch?v=6gKThjZIj-s (https://www.youtube.com/watch?v=6gKThjZIj-s)
Title: #196 (LTspice) Nlog / Plog LOG potentiometer in LTspice
Post by: 3roomlab on September 21, 2022, 10:38:47 pm
The below is not part of the video above
But I leave it here for reference

By chance I was fiddling with these and figured out how it works

4 parameters are required
Rtot = total potentiometer R
Wiper = 0.01 to 0.99 relative position of wiper
Rtap = "curvature" of log curve
Tap = 1 for Nlog / 0.01 for Plog
(I editted the symbol roughly)
run a test [op] sim and we get this
(rename *txt to *lib)

edit : to note are the pin assignment which will make cw/ccw turning relevant
In Plog 1 = cw 2 =ccw
In Nlog 1 = cw 2 =ccw

We get a log pot and a reverse log pot (useful for audio sims)