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

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
Default

Simulation Types and How They Work

return to diyAudio Wiki Main Page
back up

In LTSpice there are multiple types of simulation, aside from the obvious one - transient analysis, where it's much like an oscilloscope screen.

Transient Analysis:

This simulation graphs magnitude vs. time and displays like an oscilloscope (however you can selectively view any portion of the simulation, as if the whole simulation was just captured by a sampling scope).

The X-Axis is time, Y-Axis is magnitude.

AC Analysis:

This simulation shows frequency vs. magnitude and displays like a spectrum analyzer. To get any meaningful output you must add an AC source to the circuit somewhere; the difference in magnitude and phase from this original source will be displayed.

The phase ruler is on the right and magnitude on the left. Phase is the dotted line. You can turn off phase through the left-click menu on the right side ruler.

To set up the simulation, go to [simulate->simulation cmd->AC Analysis]. There are different sweep types; choosing this will determine the law of your x-axis. Decade and Octave are logarithmic laws.

As an example, what if you wanted to measure the frequency response of an amplifier (we get asked this a lot)? Well, right-click on your input source. Enter "AC 1" into the box that says "AC Amplitude". Run the simulation with the following command:

.ac dec 10 20 20k

The magnitude is always shown in db, but you can change this by left-clicking on the Y-Axis (the cursor will become a ruler) and selecting different type.

DC Operating point:

syntax: .op

see Vbe Multiplier and Temp Compensation for an example.


Contributors: keantoken, mightydub
Created by keantoken, 13th December 2009 at 10:57 PM
Last edited by mightydub, 17th January 2010 at 05:33 AM
0 Comments, 1,088 Views
Page Tools
Search this Page


Posting Rules
You may not create new articles
You may not edit articles
You may not protect articles

You may not post comments
You may not post attachments
You may not edit your comments

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Hide this!Advertise here!

New To Site? Need Help?

All times are GMT. The time now is 11:51 AM.

Page generated in 0.07842 seconds (63.48% PHP - 36.52% MySQL) with 13 queries

Copyright ©1999-2012 diyAudio