Modeling A Phase-Locked Loop Using Pspice
Modeling A Phase-Locked Loop Using Pspice
Modeling A Phase-Locked Loop Using Pspice
in
Phase
Detector
out
Loop
Filter
VCO
Compared with the Circuit model, it took about 20% of the time
to develop the Behavioral model, and the transient analysis ran
in about 4% of the time.
The time required to run the analysis is significant. The
Behavioral model allows many more analyses to be run in a
given time, permitting a higher degree of design refinement and/
or test.
* lines 9 43
Future Challenges
Modeling state behavior
Many real devices exhibit two or more stable states. Transitions
between these states occur under well-defined circumstances.
For example, consider a spark gap. This has two persistent
states. An arc may be present, in which case the device is in its
ON (low resistance) state. Or there may be no arc, in which case
the device is in its OFF state. A combination of applied voltage
and dV/dt causes the device to transition from its OFF to its ON
state, via a transitory “arc forming” phase. If the arc current falls
below a holding value, the device turns OFF, via an “arc
extinguishing” phase.
The question arises, how to model this kind of device with
SPICE-based simulators. Macro models are difficult to
construct. Representing the state variable requires some
component with memory. Possibilities include hysteresis blocks
and digital primitives (if a mixed-mode simulator is available).
Neither of these offers an easy or elegant solution.