LTspice square wave and audio amp test - diyAudio
Go Back   Home > Forums > Amplifiers > Solid State

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 10th December 2010, 09:27 PM   #1
maouna is offline maouna  Greece
diyAudio Member
 
Join Date: Oct 2008
Default LTspice square wave and audio amp test

Hi.supposing we want to check the transient response of an audio amp with a square wave at the input.

how we set up the Trise and Tfall parameters of the voltage source in ltspice?


should we place a low pass filter after the square wave source in order to suppress the high frequences generated from the fundamental or the amplifiers filter at the input is sufficient for the simulation?


the values i was using fot Trise and T fall until now were 1 nanosecond for both.i dont know if these values give realistic results.

Last edited by maouna; 10th December 2010 at 09:30 PM.
  Reply With Quote
Old 10th December 2010, 09:38 PM   #2
Elvee is offline Elvee  Belgium
diyAudio Member
 
Elvee's Avatar
 
Join Date: Sep 2006
Hi
A purpose of a squarewave test is to excite all possible resonances in the DUT (amongst other things).

This may not be realistic, because it would be difficult to feed such an ideal signal to the amplifier in the real world, but it can give insight into possible malfunctions.
If you see a severe ringing at tens of MHz, you can suspect a local instability in small signal stage or something similar.
The resulting high slew rate can also trigger interesting behaviours from the AUT.
Again, this is not necessariliy realistic, but it can give clues to potential limitations.
  Reply With Quote
Old 11th December 2010, 10:34 AM   #3
diyAudio Member
 
Join Date: May 2009
In addition to what Elvee said, I use the squarewave test to check the maximum slewrate of the amp and if it is symmetrical.

I use a squarewave with very steep transitions to design an input lowpass filter that ensures that the amp is never going into slew-saturation (a sharp squarewave input resulting in a full-scale output is pretty much the worst case I can think of)

I also use squarewave inputs with longer transitions (in the range of 3s, depending on the circuit and what I want to see) without an additional filter to check what the output of the amp does at a defined dV/dt transition (like 20V/s). Especially to check if the crossover transition from one device conducting to the other one goes smooth (which depends very much on the used model of the outputtransistors in place)
  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
How to run a square wave test on an OPT?? Ultima Thule Tubes / Valves 7 28th December 2009 11:47 AM
Sine wave - Square & Triangle wave generator using Transistors / OP-Amps lineup Solid State 20 9th October 2006 01:15 AM
How to use a PIC I/O audio square wave to drive headphones ransom peek Solid State 5 2nd December 2003 11:49 AM


New To Site? Need Help?

All times are GMT. The time now is 03:47 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