Rules | Recent posts | topic RSS | Search | Register  | Log in

How to simulate the Bandwidth of LPF(AC or TRAN?)

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> Analog IC Design & Layout
Author Message
justin



Joined: 02 Jun 2004
Posts: 20


Post27 Oct 2004 10:25   How to simulate the Bandwidth of LPF(AC or TRAN?)

I want to simulate an LPF's BW. I have heard AC simulation is not precise. So I use TRAN analysis as follows: I give a low frequency signal to the input, and measure the output signal Vout0, and take the Vout_3=Vout0 x 0.707 as the -3dB frequency. Is this resonable?
And are there any other methods?
Back to top
wylee



Joined: 17 Feb 2004
Posts: 113
Helped: 5
Location: Malaysia


Post27 Oct 2004 14:03   Re: How to simulate the Bandwidth of LPF(AC or TRAN?)

AC simulation seems prefectly precise to me

If you are using HSPICE,

try using this example

*****************
R1 in out 10k
C1 out gnd 1n

vin in gnd ac=1 dc=1

.ac dec 100 1 1G
.measure ac DUT_Av0 MAX par('vdb(out)-vdb(in)') from 1 to 10
.measure ac DUT_fc WHEN par('vdb(out)-vdb(in)') = 'DUT_Av0-3'
.end
*****************

DUT_fc should be exactly at fc = 1/(2*pi*R1*C1)
Back to top
papyaki



Joined: 13 Apr 2002
Posts: 564
Helped: 19
Location: A small village somewhere in Gaul


Post27 Oct 2004 14:24   Re: How to simulate the Bandwidth of LPF(AC or TRAN?)

Hi,

If you are using pspice, try an AC simulation. Choose the start and stop frequencies two decades away from the expected LPF cutoff frequency.

Assuming you have labelled the LPF's input voltage "Vin" and the output voltage "Vout".

After simulation, run Probe. In the Probe windows, select "Add Trace" and type "DB(V(Vout/V(Vin))" in "Trace Expression". Click "OK", this will plot the curve you want.
Back to top
riz_aj



Joined: 05 Feb 2002
Posts: 108
Helped: 1


Post27 Oct 2004 15:45   Re: How to simulate the Bandwidth of LPF(AC or TRAN?)

I feel it is quite accurate on Pspice. However, use same method like you too at time to ensure exact number but not always.
Back to top
justin



Joined: 02 Jun 2004
Posts: 20


Post28 Oct 2004 6:46   Re: How to simulate the Bandwidth of LPF(AC or TRAN?)

To wylee:
For some simple circuit, It may be correct. But for some complicated circuit, we should consider the operating point and slew rate and maybe other things.
To papyaki ,riz_aj
I use hspice as my tool, and I don't know about pspice.
And generally what isthe cutoff frequency? 10%? 20%?
Back to top
justin



Joined: 02 Jun 2004
Posts: 20


Post28 Oct 2004 6:47   Re: How to simulate the Bandwidth of LPF(AC or TRAN?)

To wylee:
For some simple circuit, It may be correct. But for some complicated circuit, we should consider the operating point and slew rate and maybe other things.
To papyaki ,riz_aj
I use hspice as my tool, and I don't know about pspice.
And generally what isthe cutoff frequency? 10%? 20%?
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> Analog IC Design & Layout
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap