Where Xc – current point, F’ – Jacobian matrix and sN – inexact Newton step from current point.
To calculate F’(Xc)sN iterative linear solvers are used.
III. VHDL-AMS ANALOG SUBSET
While VHDL-AMS standard [1] does not separate language onto digital and analog parts, it is possible to distinguish three main language parts, intended to serve different purposes: describe digital (discrete) behavior of components, describe analog (continuous) behavior of components and describe circuit (system) structure itself. Last part handles circuit decomposition into components. It supports construction ability of the language.
Discrete part is implemented using signals and concurrent statements. Analog part is implemented through quantities (say – unknowns of circuit), terminals (special kind of quantities, supports conservation semantic) and simultaneous statements (represent equations). Third, circuit descriptive part, is represented with component instantiation statement and intended to define topology of the circuit.
Any analog (sub)circuit may be described using two approaches: construct it from building blocks (usual for EDA users way) or define equations to describe behavior of such block. Surely, al lowest level all components should be described using equations. This, equation-level representation creates a modeling basis for design of component libraries.
Designer can build equations of any complexity, calling functions as necessary, branching calculations, using both simple (one line) simultaneous statement and procedural one, which creates equation from sequential calculations. Designer can create own function using other languages and use them in VHDL-AMS also.
Given the equation support, designers can build higher-level blocks mixing lower-level blocks and equations, using quantities and terminals to interconnect blocks.
Consider example. To define a diode:
entity diode is -- entity interface
port(terminal a,c: electrical);
generic (I0, a: real); -- I-V parameters
end entity;
-- entity may have many different architectures
architecture BEHAV_1 of diode is
quantity U across Id through a to b;
begin
3
Id == I0*(exp(a*U)-1); -- equation
end;
Somewhere may be used:
…
terminal t1, out2: electric;
…
R1: entity diode (BEHAV_1)
port map (t1, out2) generic map(1.e-12,35);
…
In addition to all former, language support some attributes, which, being applied to quantities allow to get their derivatives, integrals and delays.
For example, if it is defined:
quantity a: real;
somewhere in code may be used:
…a’dot… -- derivative of a
…a’integ… -- integral of a
…a’delayed(1.e-6)… -- a delayed onto 1 us
For example, model of nonlinear capacitor may looks like that:
entity NL_Cap is -- entity interface
port(terminal a,b: electrical);
generic (tau, I0, a,: real); -- parameters
end entity;
-- entity may have many different architectures
architecture BEHAV_1 of NL_Cap is
quantity U across Ic through a to b;
begin
Ic == tau*I0*(exp(a*U)-1)*a*U’dot; -- equation
end;
All above mentioned makes quite attractive usage of VHDL-AMS subset as modeling language for Harmonic Balance simulator. That subset allows description of nonlinear dynamic behavior in time domain, correspondent to nonlinear integro-differential equations with delays. Applying Equations (6) and (7) one may transfer it to frequency domain and use directly in HB equation.
Extension statements, allowing frequency-domain modeling are described in the next section
IV. FREQUENCY DOMAIN MODELING EXTENSION
As VHDL-AMS is defined in time domain entirely, it does not contain means to define behavior infrequency-domain. Meanwhile, a lot of circuits in microwave and RF field shows complex frequency dependentbehavior hard to be modeled in time domain. Most transmission lines, including strip-, microstrip-, slotlines,stubs and other resonators, T- and X- junctions, directional couplers show complex frequency-domain behaviorunable to be modeled in time domain.
To extend language capabilities, additional attribute is proposed, which represent image of certainquantity in frequency domain.
Let quantities ic and uc are defined and represent current and voltage over capacitor. Then ic’FD anduc’FD will represent spectrum of ic and uc respectively and may be used in equations:
ic'FD == 2*math_j*math_p*FREQUENCY*C*uc’FD;
Where FREQUENCY is predefined language function returning value of current frequency.
More general:
x’FD==func(FREQUENCY,a,b,c)*y’FD;
where func() may be user defined.
Similar (even more flexible) approach is available using VHDL-AMS procedural simultaneous statements:
procedural is
variable imp: complex;
begin
a := func1(); -- A and b may be calculated
b := func2(); -- using conventional
imp := func(FREQUENCY,a,b,c); -- sequential statements.
x’FD :=imp*y’FD; -- Here is implied equation.
end procedural;
That syntax allows construct equations in sequential manner, conventional for programmers used to procedural languages.
Circuit impedance or admittance values may be calculated during simulation or picked up from externalsource – as file or complex database.
It is necessary to state, that one assumption is made here – it is assumed that of any simultaneousstatement which use quantity with attribute ‘FD indeed is defined in frequency domain too, so it is impossible tomix domains inside one statement (equation). That does not contradict with usual practice, as (as best of authors knowledge) models are defined in one domain only.
Former extension correspondents to 3-rd term of Eq.(3) and makes broader the class described circuits,including distributed parameters circuits and other linear circuits, which may be described in frequency-domain.
V. CONCLUSION
VHDL-AMS subset suitable for RF analog circuit simulation by Harmonic Balance technique isdescribed along with possible frequency domain modeling extensions.
Approach gives increasing flexibility in RF&MW component modeling and broadens the class of tasksto be described by language allowing frequency domain description of circuit componemts. That set is called VHDL-AMS/FD and implemented in “Rincon” RF circuit simulator [5].
IV. ACKNOWLEDGEMENT
Parts of present work performed under contract with Ridgetop Group, Inc.
REFERENCES
[1] VHDL-AMS Language Reference Manual, IEEE Standard No.: 1076.1-1999
[2] G. Serdyuk, D. Goodman, “VHDL Approach Improves Nonlinear Simulation”, Microwaves & RF,
November 2001, pp. 76-102.
[3] M. Mierzwinsky et al, “Changing the Paradigm for Compact Model Inegration in Circuit Simulators Using
Verilog-A”, http://www.tiburon-da.com/ NanoTech2003.pdf
[4] Ken Kundert, “Simulation Methods for RF Integrated Circuits”, ICCAD-94.
[5] Rincon User Manual, Ridgetop Group, Inc., http://www.ridgetop-group.com
[6] C.T. Kelley, “Iterative Methods for Linear and Nonlinear Equations”; Frontiers in Applied Mathematics, vol
16, SIAM, 1995.
[7] V. Rizzoli et al, “ Fast and Robust Inexact Newton Approach to the Harmonic-Balance Analysis of Nonlinear
Microwave Circuits.” 1997 Microwave and Guided Wave Letters 7.10 (Oct. 1997 [MGWL]): 359-361