The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 6:28am
Pages: 1
Send Topic Print
modeling an amplifier in verilogAMS (Read 630 times)
adecve
New Member
*
Offline



Posts: 2

modeling an amplifier in verilogAMS
Jan 23rd, 2009, 10:16am
 
Hi,
  there are different functions like fcube, ftanh, tanh etc that can be used to model an amplifier. Can somebody tell me if there is any specific one that is preferred over the other functions to model an amp or can i use any one of them and just change the gain to suit the requirements?

thanks.
Back to top
 
 
View Profile   IP Logged
jbdavid
Community Fellow
*****
Offline



Posts: 378
Silicon Valley
Re: modeling an amplifier in verilogAMS
Reply #1 - Jan 27th, 2009, 3:17pm
 
It might depend on the analyses you need to run.
generally one needs to support both small and large signal response.

for functional purposes modeling A = gm*Rout
is usually sufficient, and allows the gm to be computed from the basics, like Vcm(im), and Ibias.
Your mileage may vary.
jbd
Back to top
 
 

jbdavid
Mixed Signal Design Verification
View Profile WWW   IP Logged
RFICDUDE
Community Fellow
*****
Offline



Posts: 323

Re: modeling an amplifier in verilogAMS
Reply #2 - Jan 29th, 2009, 7:27pm
 
If you just want a generic limiting amplifier function you could use

L*tanh(g*x/L)

L is the maximum output level
g is the gain

If you want to adjust the sharpness of the limiter (sharper limiting is more linear) you could use the following adjustable model

g*x/[1+(g*abs(x)/L)^s)]^(1/s)

s is the sharpness factor

You could also use analytical functions for real amplifiers such as bipolar and cmos differential pairs (found in most circuits text books).

If you need an accurate behavioral model then you will need to spend time figuring out which behaviors you need and cobble together good models for those characteristics.
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.