Go Back   Home > Forums > Amplifiers > Solid State
Home Forums Rules Articles Store Gallery Blogs Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Solid State Talk all about solid state amplification.

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 11th August 2004, 03:46 PM   #1
mlloyd1 is offline mlloyd1  United States
diyAudio Member
 
mlloyd1's Avatar
 
Join Date: Feb 2001
Location: illinois
Default Article pointer: SPICE lying to ya?

For all you SPICE heads, you may enjoy this article:

"My SPICE lied to me!

mlloyd1
  Reply With Quote
Old 12th August 2004, 05:37 AM   #2
andy_c is offline andy_c  United States
Banned
 
Join Date: Apr 2003
Yes, the vendor-supplied SPICE models can be quite bad. For instance, the MJL3281a model from On Semiconductor has a simulated ft at a DC current of 100 mA that's more than a factor of 6 low from the data sheet curves of ft vs Ic. For more info on this, see this thread: Evaluation results: MJL3281A/MJL1302A SPICE Models

The article you reference refers to one of the known problems with the Boyle op-amp macro model, namely that the simulated power supply current doesn't change as the load current varies. That's just ridiculous, and makes simulating some op-amp-based power amp topologies literally impossible. The Analog Devices op-amp models don't have this problem. See http://www.analog.com/UploadedFiles/...01016AN138.pdf for more details. If you're using LTSpice, all of the supplied op-amp models have this problem, so you'll need to import some Analog Devices or TI models in order to get accurate supply current simulation data.

Another gotcha - the SPICE level 1, level 2 and level 3 MOSFET models show a constant gate-drain capacitance as the gate-drain voltage varies. This makes them useless for predicting distortion due to gate-drain capacitance variation of vertical power MOSFETs such as the IRFP240 and IRFP9240. LTSpice has the VDMOS model which has a non-constant gate-drain capacitance, but you'll need to learn how to fit the parameters to data sheet values. This requires some nonlinear equation solving software such as MathCad.

There's a lot of misinformation and false assumptions about SPICE that can be found, which not surprisingly often originates from non-users. There are companies out there working on extending SPICE into the millimeter wave region. What changes to the simulator are required? Almost none, with the exception of some quirky numerical precision issues that happen with time steps on the order of picoseconds. The vast majority of the work is in the models.

Also, there are some highly experienced and respected audio designers here who are essentially SPICE naysayers, which might lead one to extrapolate that all highly experienced audio designers hold this view. Turns out that there are some very experienced audio designers who are in effect SPICE cheerleaders as well. See http://www.ampzilla2000.com/thequest1.html. As usual, the truth is likely to be somewhere in between the extreme views.
  Reply With Quote
Old 12th August 2004, 06:32 AM   #3
diyAudio Member
 
janneman's Avatar
 
Join Date: May 2002
Location: Where Germany, The Netherlands and Belgium meet
Blog Entries: 6
Andy,

Very interesting articles (and observation).
It reminds me of a problem I had with simulating a circuit with a floating opamp (bootstrapped supplies). It acted very strange, and I had to give it up. Now I know that the opamp model had internal nodes that were hard referenced to ground....

Jan Didden
__________________
/Another new issue: Linear Audio Volume 3!
  Reply With Quote
Old 12th August 2004, 11:58 AM   #4
SY is offline SY  United States
diyAudio Moderator
 
SY's Avatar
 
Join Date: Oct 2002
Location: Austin, TX
Blog Entries: 1
It's interesting how this author analogizes the SPICE software as a high tech razor, especially after Pease's examples of some really flaky convergence problems. You guys can console yourselves with one thing- the tube models are even worse.
__________________
“Listening to records is like ****ing a picture of Brigitte Bardot.” - Sergiu Celibidache
  Reply With Quote
Old 18th August 2004, 11:16 AM   #5
diyAudio Member
 
destroyer X's Avatar
 
Join Date: Feb 2004
Location: Recife - Brasil Northeast
Default i perceived cannot trust in theories or simulators

We have to assemble and hear... and in a controled way....not an easy way, have to control many things, and listen with many people... short time (adaptation) and with different musics...because taste influenced results.

Blameless was the best simulation i already have made... and the worst sound i heard all life.

Carlos
__________________
Try to build an amplifier folks ... it is pure adrenaline!
  Reply With Quote
Old 18th August 2004, 11:21 AM   #6
diyAudio Member
 
janneman's Avatar
 
Join Date: May 2002
Location: Where Germany, The Netherlands and Belgium meet
Blog Entries: 6
Quote:
Originally posted by SY
It's interesting how this author analogizes the SPICE software as a high tech razor, especially after Pease's examples of some really flaky convergence problems. You guys can console yourselves with one thing- the tube models are even worse.
Stuart,

Are you or anybody following Graham Maynards series on "Class A imagineering" in EW? He is strong on "first cycle distortion" in amplifiers and there is some criticism that this actually is a Spice artifact.

Jan Didden
__________________
/Another new issue: Linear Audio Volume 3!
  Reply With Quote
Old 18th August 2004, 11:55 AM   #7
SY is offline SY  United States
diyAudio Moderator
 
SY's Avatar
 
Join Date: Oct 2002
Location: Austin, TX
Blog Entries: 1
Haven't seen this, though I remember the discussion here where the only thing I learned is how difficult Fourier analysis is for most people. Do the articles relate the computer predictions to experiment?
__________________
“Listening to records is like ****ing a picture of Brigitte Bardot.” - Sergiu Celibidache
  Reply With Quote
Old 18th August 2004, 12:35 PM   #8
diyAudio Member
 
janneman's Avatar
 
Join Date: May 2002
Location: Where Germany, The Netherlands and Belgium meet
Blog Entries: 6
SY,

Well, the series runs for 6 articles (!), no. 4 just came out. I don't wish to bash Graham, it's interesting reading, but very long winded and not easy to pick out the significant content. It takes real discipline to read it through.

Anyway, the core of it (if I correctly summarise it) is that he feels one important characteristic of amps is how they treat the initial cycle of a signal, he calls it "first cycle distortion". Depending on the amp characteristics and the (speaker) load characteristics, this initial cycle is distorted in a way that is not detected if you run a sim over many cycles in a kind of steady state situation.

For example, the combination of output inductor and speaker reactance would, according to his simulations, cause this type of distortion.

Now, there are some questions here. The start of a signal is abrubt: now there is 0V DC, and the next instant there is a rising waveform. This is a discontinuity and there are at least two aspects that make me critical.

Firstly, how does Spice handle this? It is known that Spice needs some time to converge to a steady state, but I don't have enough expertise to judge the significance here. So the "first cycle distortion" may be a Spice artifact;

Secondly, is this discontinuity at the start of the Spice input signal realistic at all? Audio input signals are band-limited anyway, and will not show the sharp start as in Spice. So, the "first cycle distortion" may also be a non-realistic test signal artifact.

To be honest, Graham puts his money where his mouth is and presents some amp designs (the first one published is an adaption of the famous JLH design) to minimise "first cycle distortion".

I'm not sure (yet) what to make of it. Maybe someone else on this forum has a clear and reasoned opinion?

Jan Didden
__________________
/Another new issue: Linear Audio Volume 3!
  Reply With Quote
Old 18th August 2004, 01:00 PM   #9
SY is offline SY  United States
diyAudio Moderator
 
SY's Avatar
 
Join Date: Oct 2002
Location: Austin, TX
Blog Entries: 1
Well, I'll try to slog through the articles, but a few questions immediately come to mind:

First, what happens in these models if you just bandwidth limit the input signal with a single pole filter at some really high frequency (say, 100-200 kHz)?

Second, in real amps fed real impulse or tone burst signals, do the predicted artifacts appear?

Third, how does the "distortion" compare to what Fourier theory and a "perfect" amp would be predicted to produce?

Fourth, what experimental evidence is used to validate these amp designs?

Fifth, why don't editors do their job?
__________________
“Listening to records is like ****ing a picture of Brigitte Bardot.” - Sergiu Celibidache
  Reply With Quote
Old 18th August 2004, 01:12 PM   #10
diyAudio Member
 
janneman's Avatar
 
Join Date: May 2002
Location: Where Germany, The Netherlands and Belgium meet
Blog Entries: 6
SY,

I don't have the articles here, and I don't have them fully digested either. I do remember the point being made that he didn't want to bandlimit the input signal for some reason, although that would immediately lend credibility (or not depending on the result) to his arguments. I'll look it up tonight.

As for editors doing there work, EW has a new editor and the journal appears to me a bit direction-less, as if he is trying out by trial and error what the direction/content is that attracts the highest number of readers.
Maybe I should submit a reader letter...

Jan Didden
__________________
/Another new issue: Linear Audio Volume 3!
  Reply With Quote

Reply


Hide this!Advertise here!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
What to do with some older drivers lying around? Vifas... fazman Multi-Way 5 19th March 2009 04:21 PM
Bent HP meter pointer anatech Parts 57 3rd June 2007 05:18 AM
Anyone have a mini 7 pin tube socket lying around? Skitch72 Swap Meet 2 8th March 2005 02:47 PM
old transformer lying around merlinx76 Chip Amps 7 2nd March 2005 06:15 PM
If a couple of Morel tweeters are lying around... Salas Multi-Way 9 24th March 2004 03:13 PM


New To Site? Need Help?

All times are GMT. The time now is 02:54 PM.

Page generated in 0.12905 seconds (82.67% PHP - 17.33% MySQL) with 11 queries

Copyright ©1999-2012 diyAudio