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

Solid State Talk all about solid state amplification.

LTspice square wave and audio amp test
LTspice square wave and audio amp test
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 10th December 2010, 08: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 08:30 PM.
  Reply With Quote
Old 10th December 2010, 08:38 PM   #2
Elvee is online now Elvee  Belgium
diyAudio Member
Elvee's Avatar
Join Date: Sep 2006
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, 09:34 AM   #3
krachkiste is offline krachkiste  Germany
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 3Ás, 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


LTspice square wave and audio amp testHide 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

Forum Jump

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 10:47 AM
Sine wave - Square & Triangle wave generator using Transistors / OP-Amps lineup Solid State 20 9th October 2006 12:15 AM
How to use a PIC I/O audio square wave to drive headphones ransom peek Solid State 5 2nd December 2003 10:49 AM

New To Site? Need Help?

All times are GMT. The time now is 09:03 PM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.79%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio