The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
Jul 17th, 2024, 9:38am
Pages: 1
Send Topic Print
how to set initial current in the inductor of the xtal model (Read 4536 times)
hiSkill_11
Community Member
***
Offline



Posts: 35

how to set initial current in the inductor of the xtal model
Jan 05th, 2012, 1:03am
 
Hi, I found it strange when I simulate the crystal oscillator with tran analysis in spectre. When I set the initial current of 1uA in the parameter of CDF of the inductor in the crystal model, I observed that the current of the inductor(sin wave) starts from 0 and begin to oscillate with 1mA amplitude, when I  set it of 1mA, it starts from 0 and begin to oscillate with 1A amplitude. Then the envelope begin to decay to a stable value about 900uA.  So, I am confused about relation ship between the initial current in the component parameter and the value at time 0, also the initial swing of the inductor current.  And how can I set the initial current in the inductor in order to make the crystal oscillator reach the stable state quickly? Thanks.
Back to top
 
 
View Profile   IP Logged
raja.cedt
Senior Fellow
******
Offline



Posts: 1516
Germany
Re: how to set initial current in the inductor of the xtal model
Reply #1 - Jan 5th, 2012, 9:50am
 
Go to convergence aid and set initial conditions. If you use hspice just use .ic command. What is there......

thanks,
raj.
Back to top
 
 
View Profile WWW raja.sekhar86   IP Logged
rfcooltools.com
Senior Member
****
Offline



Posts: 159

Re: how to set initial current in the inductor of the xtal model
Reply #2 - Jan 5th, 2012, 9:54am
 
hi_Skill_11,

Here is what I do
Since you already where able to get to steady state once, plot the current wave form and record the value of 5 equally spaced points on a half period of the waveform starting at zero and ending at zero amps.  Then get a ipwl enter the 5 points and simulate it should be at steady state within a half period.

The Q of the xtal is large enough to cause many simulators with nominal settings to converge abnormally which is why you may have seen the 1A temporarily.

http://rfcooltools.com
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2386
Silicon Valley
Re: how to set initial current in the inductor of the xtal model
Reply #3 - Jan 5th, 2012, 11:27am
 
This seemingly anomalous behavior is explained in section 4.3.5 of my "Designer's Guide to Spice and Spectre" book.

-Ken
Back to top
 
 
View Profile WWW   IP Logged
hiSkill_11
Community Member
***
Offline



Posts: 35

Re: how to set initial current in the inductor of the xtal model
Reply #4 - Jan 6th, 2012, 1:28am
 
raja.cedt wrote on Jan 5th, 2012, 9:50am:
Go to convergence aid and set initial conditions. If you use hspice just use .ic command. What is there......

thanks,
raj.

In spectre, the convergence aid seems to have no way to set initial current but voltage. Thanks.
Back to top
 
 
View Profile   IP Logged
loose-electron
Senior Fellow
******
Offline

Best Design Tool =
Capable Designers

Posts: 1638
San Diego California
Re: how to set initial current in the inductor of the xtal model
Reply #5 - Jan 6th, 2012, 1:33pm
 
Everybodey should have a copy of Ken's book on their shelf.

Also, the crystal Q is so high (10E5)that it is generally
a wise course of action to drop the Q down to
something a little friendlier, like Q=100 or so.

Recognize that this is a simulator thing and the actual crystal
is narrower. But if the center band attenuation is the same (usually 0dB)
things simulate a bit easier.
Back to top
 
 

Jerry Twomey
www.effectiveelectrons.com
Read My Electronic Design Column Here
Contract IC-PCB-System Design - Analog, Mixed Signal, RF & Medical
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.