Pspice to LTspice - diyAudio
Go Back   Home > Forums > Design & Build > Software Tools
Home Forums Rules Articles diyAudio Store Gallery Wiki Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

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
Thread Tools Search this Thread
Old 21st April 2014, 07:47 AM   #1
LuisMCP is offline LuisMCP  Spain
Audio fanatic
diyAudio Member
LuisMCP's Avatar
Join Date: Jun 2001
Location: Madrid, Spain
Default Pspice to LTspice

There is some parts in Pspice that are not found in LTspice.
LOPASS, HIPASS, BANDPASS are useful parts for simulation with filters.
GAIN, LAPLACE, SUM, DIFF, are useful for feedback systems and we can build complex filters (as RIAA eq.) quickly.
Most of these parts are found in ABM library of pspice.

Anybody get these parts for LTspice?

  Reply With Quote
Old 21st April 2014, 10:01 AM   #2
Calvin is offline Calvin  Germany
diyAudio Member
Calvin's Avatar
Join Date: Nov 2004
Location: close to Basel

for RIAA sims I use a VCVS (component "e" in LTSpice) and the script laplace((75µ*s+1)*(3183µ*s+1))/((318µ*s+1)*(3.18µ*s+1))/{Gain} as the ´value´ parameter.
The 4 timeconstants stand for RIAA with Neumann-EQ, 2120Hz, 50Hz, 500Hz and finally 50kHz.
For standard RIAA delete 50kHzNeumann part *(3.18µ*s+1).
The RIAA1963 added a 7950µs/20Hz timeconstant at replay, not in the recording process.
Still though if You want this highpass added the laplace-term changes to laplace((75µ*s+1)*(3183µ*s+1)*(s/(7950µ*s+1)))/((318µ*s+1)*(3.18µ*s+1))/{Gain}

The parameter Gain defines the output voltage of component e.
The script reads for example: .param Gain=991
If fed with 1Vrms a gain-value of 991 gives -40dBV@1kHz, 10mVrms.
A Gain of 9916 gives -60dBV, 1mVrms.
Also I add a resistor and inductor in series with the VCVS with the values of the pickup´s R and L.

  Reply With Quote
Old 21st April 2014, 02:46 PM   #3
jcx is offline jcx  United States
diyAudio Member
Join Date: Feb 2003
Location: ..
you do have to be careful in using Laplace defs in .TRAN - the sw has to guess about sample times, convolution length in the discrete ifft
there are added hint parameters you can find in the doc to make them work better for your circuit's frequencies, sim length, time resolution

sims with R, L, C, and E, F, G, H dependent sources for filter functions can run faster, be more robust

Last edited by jcx; 21st April 2014 at 02:52 PM.
  Reply With Quote
Old 21st April 2014, 09:33 PM   #4
LuisMCP is offline LuisMCP  Spain
Audio fanatic
diyAudio Member
LuisMCP's Avatar
Join Date: Jun 2001
Location: Madrid, Spain
Thanks a lot, I didn't know that VCVS had Laplace function inside.
These dependant sources are certainly a powerful tool.

  Reply With Quote


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
PSpice/LTSpice model for 6AU6/EF94? ray_moth Tubes / Valves 21 20th February 2009 04:09 PM
pspice help jarthel Parts 0 7th March 2007 11:12 PM
PSPICE simulation sunknu Everything Else 0 21st September 2006 09:30 AM
PSpice/LTSpice model for 12AY7/6072 wanted docali Tubes / Valves 5 19th June 2005 03:31 PM
PSpice demons_wing Solid State 3 16th April 2004 04:12 PM

New To Site? Need Help?

All times are GMT. The time now is 06:15 PM.

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

Content Relevant URLs by vBSEO 3.3.2