Andrew Beckett
Senior Fellow
Offline
Life, don't talk to me about Life...
Posts: 1742
Bracknell, UK
|
Circuit simulators are quite good at finding the metastable state of such circuits, because the first thing you do is to find the DC operating point by (effectively) removing all the capacitors and shorting all the inductors - this will then solve all the equations so that everything balances.
Then when the transient starts and the capacitors/inductors are re-introduced, nothing happens to cause the simulator to move away from that steady state that was found. With transient noise, you are getting something other than simulator numerical noise which helps any oscillation to build up.
Without reverting to transient noise though, a simple approach is often to use an initial condition on one of the key nodes in the feedback to hold it in one of the extremes of the oscillation which then means that it is held away from the metastable state and will start oscillating.
That sometimes isn't enough with higher-Q oscillators - you sometimes need to do things like giving an impulse at the beginning (e.g. turning the supplies on abruptly, or injecting a current pulse) to kickstart the oscillator.
It can also help to set the transient maxstep parameter to be (say) 1/20th of the expected oscillation period - this tends to help ensure the oscillator starts quickly. You don't often need to set maxstep - this is one of the few cases where it can be useful though (this is for spectre - other simulators may have a similar setting).
Regards,
Andrew.
|