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 4th December 2011, 06:48 PM   #201
diyAudio Member
 
unclejed613's Avatar
 
Join Date: Dec 2006
if you want to see how LTSPICE tries to resolve the operating point when given a difficult solution, take the class AB example schematic (...\LTSpiceIV\Examples\Educational\audioamp.asc) and swap the inverting and noninverting inputs (R1 to Q2-base, R6+R7 to Q1-base) and run the sim.

i just did it.... used to be if i made such an obvious error, LTSpice would try to solve it for about 10 minutes. looks like they've improved the solvers. hmmm.... now it only takes a few seconds to latch the output to a rail.
__________________
Vintage Audio and Pro-Audio repair ampz(removethis)@sohonet.net
spammer trap: spammers must die

Last edited by unclejed613; 4th December 2011 at 06:57 PM.
  Reply With Quote
Old 5th December 2011, 09:51 PM   #202
diyAudio Member
 
dchisholm's Avatar
 
Join Date: Mar 2011
Location: St Louis, Mo
Quote:
Originally Posted by unclejed613 View Post
. . . used to be if i made such an obvious error, LTSpice would try to solve it for about 10 minutes. looks like they've improved the solvers. hmmm . . . .
There are several options, aids, and tweaks available in the "Hacks" and "SPICE" tabs of the "Control Panel". I don't claim to understand them more than superficially, but if a circuit misbehaves during initial solution or takes excessive simulation time, playing with the options will sometimes improve the situation. The "gottcha" is remembering to restore the default options for routine use, since LTSpice retains some of those option selections on subsequent runs.

Dale
  Reply With Quote
Old 19th January 2012, 06:26 AM   #203
diyAudio Member
 
Join Date: Apr 2007
Hello

Can we measure phase intermodulation distortions in a LtSpice simulation ?

If we can, how we do it ?

Thank

Bye

Gaetan

Last edited by gaetan8888; 19th January 2012 at 06:30 AM.
  Reply With Quote
Old 21st January 2012, 03:09 AM   #204
jcx is online now jcx  United States
diyAudio Member
 
Join Date: Feb 2003
Location: ..
I keep making the point that PIM IS IMD - you can't have more PIM than indicated by the magnitude of the IMD components

the trick is to resolve the IMD components into "quadrature" sub components, aligning and identifying one phase with "AM" IMD and the other with "FM" IMD

Cordell has his PIM rebuttal papers on his site - he outlines the design of his hardware quadrature IMD measurement

you could try siming hardware or use some ideas from my distortion residual subcircuit employing arbitrary behavioral source mathematics
  Reply With Quote
Old 24th June 2012, 10:17 PM   #205
diyAudio Member
 
luvdunhill's Avatar
 
Join Date: Jul 2006
I'm trying to learn to use the .meas command during a .trans analysis. I want to do something simple and print the resulting attenuation in dB comparing two wave forms at their max. I tried this, to no avail:

.meas tran attenuation MAX VDB(node_after_attenuator,node_before_attenuator)

The documentation around this seems a bit sparse, has anyone done this before?
  Reply With Quote
Old 24th June 2012, 10:57 PM   #206
diyAudio Member
 
keantoken's Avatar
 
Join Date: Aug 2006
Location: Texas
Blog Entries: 2
You should ask the Yahoo group about it. Here is an example provided by Helmut using the .measure command to measure noise and SNR:

.step dec param x 11 10meg 10
.noise V(Vout) Vsine oct 100 10 {x}
.measure ns INTEG V(onoise)
.measure snr param -20*log10(ns)
  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
LTSpice and subcircuits millwood Solid State 12 27th April 2011 09:03 AM
Using LTSpice gaetan8888 Solid State 6 19th July 2007 12:33 AM
UcD / LTSpice help fokker Class D 94 1st October 2006 01:12 PM
Things important to be said..helped by Mr. John Mateus to express things. destroyer X Solid State 22 31st July 2006 07:21 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 09:18 AM.


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