opamp stability simulation in 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 12th December 2012, 09:12 PM   #1
Preamp is offline Preamp  Germany
diyAudio Member
Preamp's Avatar
Join Date: Jul 2008
Location: North Sea, 54.7N 8.5E
Default opamp stability simulation in LTSpice

Hello everybody,

I'm trying to do what the datasheet says I shouldn't: Use a TDA2030A as unity gain buffer. I did a simulation with no further compensation and the result seems to be a nice oscillator, as was expected. However, if I run the sim with the recommended snubber of 220nF and 1R on the output, I get a different result. If I understood it correctly, the phase margin is about 35 degrees, which should yield a stable operation. Not sure how 'fragile' this state is under actual conditions though. Does this look like it would start oscillating under certain conditions? Your opinions, please .

The datasheet of the L165, which is basically the same as the TDA2030A, shows another approach for a unity gain buffer. That one is certainly inverting and only useable with split supplies (or else I'd need a virtual ground), but gives a much higher phase margin.

The model I used is the standard UniversalOpamp2 with the following parameters:

SpiceModel: level.3b
Value2: Avol=10k GBW=2Meg Slew=8Meg
SpiceLine: ilimit=3.5 rail=0 Vos=2m phimargin=0
SpiceLine2: en=2u enk=0 in=100p ink=0 Rin=500k

Open loop gain and phase look like the plot in the datasheet of the L165, so I assume the model is about right for this purpose. TDA2030A datasheet contains no phase plot.

Attached Images
File Type: png TDA2030A-sim.png (19.1 KB, 165 views)
  Reply With Quote
Old 17th December 2012, 03:07 PM   #2
jcx is offline jcx  United States
diyAudio Member
Join Date: Feb 2003
Location: ..
stability is a big subject, sims without good models may not tell you enough

"noise gain" compensation can be used with these power op amps with a minimum stable gain spec
but buffering with another amp is likely a good idea - otherwise it may go unstable if the input is disconnected/not powered
  Reply With Quote
Old 17th December 2012, 07:59 PM   #3
Preamp is offline Preamp  Germany
diyAudio Member
Preamp's Avatar
Join Date: Jul 2008
Location: North Sea, 54.7N 8.5E
Guess I'll use noise gain compensation, then. Same component count, much better looking simulation.
Thanks .
  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
How to do IMD simulation in LTspice!!! nicholas1113 Solid State 40 23rd February 2017 04:51 PM
Distortion simulation with LTspice tiagor Solid State 32 22nd December 2012 09:33 PM
LTspice simulation 8409513 Power Supplies 2 28th May 2012 03:02 PM
About LTSpice Simulation. nicholas1113 Solid State 2 15th November 2009 07:52 AM
Which point is right? for stability simulation!!! mclarenpingu Solid State 5 13th March 2008 10:20 AM

New To Site? Need Help?

All times are GMT. The time now is 08:07 AM.

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