The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 16th, 2024, 7:28pm
Pages: 1
Send Topic Print
Weird results from PAC simulation (Read 5616 times)
harmonics
New Member
*
Offline



Posts: 2

Weird results from PAC simulation
Feb 26th, 2008, 12:55am
 
Recently I encountered some problems with PAC simulations so I decided to test the PAC simulation.
I built the simple RC circuit with the R replaced by a switched capacitor CR as shown in the following figure:


Vin -------(phi 1) -------(phi 2) ----------Vout
                            |
                            |
                         ------
                         ------  CR
                            |
                            |
                         ------
                          gnd

phi1 and phi2 are non-overlapping clocks controlling two NMOS switches respectively.  Vout is connected to the ground (gnd) through another capacitor (not shown).
To verify the simulation issues, I constructed three similar circuits as follows (all with same input Vin and clock signals):
Circuit (1): NMOS model set 1, Vout = vosci
Circuit (2): NMOS model set 2, Vout = vosc
Circuit (3):  Switched capacitor CR is replaced by its equivalent resistor R, Vout = vorc.

PSS simulations are similar for vosci and vosc while vorc is simply a dc voltage as expected.  However, when proceeding to perform the PAC simulation, I obtained the following results (see attached).
From the graphs, it can be seen that vosci (Circuit 1) and vorc are as expected from simple RC circuit but vosc (Circuit 2) is very odd with a gain of below -100dB.  
As the only difference between Circuit (1) and Circuit (2) is the NMOS model (BSIM3), could anyone help me solve the weird PAC results mystery?  Thanks!




Back to top
 
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: Weird results from PAC simulation
Reply #1 - Feb 26th, 2008, 1:32am
 
Simplistic VerilogA models can show such behavior, see http://www.designers-guide.org/Forum/YaBB.pl?num=1199890595. However, I have never heard of such problems with BSIM3 models.
Back to top
 
 
View Profile WWW   IP Logged
harmonics
New Member
*
Offline



Posts: 2

Re: Weird results from PAC simulation
Reply #2 - Feb 26th, 2008, 10:56pm
 
Hi Frank,
Thanks for replying.  I have absolutely no clue which of the BSIM3 model parameter(s) cause such PAC problem.  I tried to compare the two sets of NMOS BSIM3 models and found that the one in Circuit (1) uses version 3.2 and Circuit (2) uses version 3.3.  Also, there are some differences between the two models but majority of the parameters are defined (although the values are slightly different).
Could it be due to some missing parameters in the BSIM3 version 3.3 in Circuit (2)?
Back to top
 
 
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: Weird results from PAC simulation
Reply #3 - Feb 26th, 2008, 11:29pm
 
Might be. You can find the official documentation on BSIM3 at http://www-device.eecs.berkeley.edu/~bsim3/. If you have access to Cadence support, you could also send them your test case as there might also be a problem with the implementation of BSIM3 in SpectreRF.

You could also try to see what happens if you use the parameters of the new version 3.3 model with model version 3.2. I don't recommend that you use such a model for your design but it might give you some further hints on the cause for the problem.
Back to top
 
 
View Profile WWW   IP Logged
Geoffrey_Coram
Senior Fellow
******
Offline



Posts: 1999
Massachusetts, USA
Re: Weird results from PAC simulation
Reply #4 - May 21st, 2008, 12:14pm
 
Version 3.2 is rather old; there were some bugs fixed in intermediate versions.  You could also try just changing the version number (try 3.24).

Did you try some basic dc i/v curves over the voltage range you're working with?

-Geoffrey
(Post #1000!)
Back to top
 
 

If at first you do succeed, STOP, raise your standards, and stop wasting your time.
View Profile WWW   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2386
Silicon Valley
Re: Weird results from PAC simulation
Reply #5 - May 21st, 2008, 1:56pm
 
SpectreRF is telling you that there is no path for the signal from the input to the output. That may be due to the model, but more likely there is something wrong with your circuit. Perhaps your switch transistors are not turning on? Try debugging the circuit.

-Ken
Back to top
 
 
View Profile WWW   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.