Sei sulla pagina 1di 5

8th WSEAS International Conference on SIMULATION, MODELLING and OPTIMIZATION (SMO '08)

Santander, Cantabria, Spain, September 23-25, 2008

Microwave Active Devices modeling using


Verilog-A description language
J.M. ZAMANILLO*, P.L. LÓPEZ-ESPÍ**, SERGIO RIVERA*, BEATRIZ COBO*,
RAQUEL TORRES**, ANGEL MEDIAVILLA* AND C. PÉREZ-VEGA*

* Communication Engineering Department (DICOM)


University of Cantabria, Laboratorios I+D Telecomunicación
Plaza de la Ciencia s/n, 39005 Santander (Cantabria)
SPAIN
Phone: 34-942-202219; Fax: 34-942-201488;

** Signal Theory and Communications Department


University of Alcalá de Henares
Escuela Politécnica, Despacho sur 244, 28871 Alcalá de Henares (Madrid)
SPAIN.
Tel: 34-91-8856740; Fax: 34-91-8856699;

Abstract - The long term impact of microwave communication technologies will be functionality
simulated and design on traditional computing and usual RF and microwave communication
simulators such us: PSPICE, Agilent ADS, Agilent GENESYS, AWR Microwave Office, etc. This
ability, allows making possible the enabling of the digital computer interaction and simulation with the
designer and the world around it. This paper shows the simplicity and friendly-to-use technique of
modeling active microwave devices using Verilog-A language, several examples has been studied
under different commercial simulators: Agilent ADS and Genesys.

Key Words - Microwave, FET, MESFET, P-HEMT, HBT, microwave transistor, modeling.

1. Introduction to implement the system simulation and


microwave top-down design methodology
Verilog-A language was recently enhanced as well. Verilog-A [2-3], which is studied
to provide greater support for microwave in this paper, is one of the most excellent
devices compact modeling thru the top-down hardware description languages
European TARGET network [1]. In this specifically for microwave analog and
paper, to become the standard language for mixed signal designs. Its compatibility
microwave devices, two different aspects with pure digital hardware description
of compact microwave model development languages (HDLs), such as Verilog and
and implementation, are necessary: VHDL, is one of the most important
compact model developers must be come advantages. In addition, the top-down
familiar with the language, and designers characteristics make Verilog-A able to
must run microwave compact models achieve microwave system-level
written in Verilog-A language almost as simulation that MATLAB™ [4] usually
quickly and reliably as those hand coded in does.
C language. The standard language of compact
Modern high frequency, high performance modeling in the last decade has been C
system-on-chip design is heading to programming language since about 1985,
include more and more analog or mixed when SPICE 2 was re-written from
signal circuits as well as digital blocks. As original FORTRAN (Formula translator)
the complexity of a system grows, it into C language (SPICE 3). Most recent
becomes more and more important reason compact models have been written in C

ISSN: 1790-2769 322 ISBN: 978-960-474-007-9


8th WSEAS International Conference on SIMULATION, MODELLING and OPTIMIZATION (SMO '08)
Santander, Cantabria, Spain, September 23-25, 2008

code (like AWR Microwave Office), consequence of this, is very difficult to


although some still use FORTRAN implement the same model in different
language. simulators without additional programming
The Compact Model Council [5] has and compiling errors, at the fist trial.
preferred C code in the past, but it The main advantage of Verilog-A language
encourages the release of Verilog-A source is that it is a “universal” language, so if the
code for its next-generation of MOSFET microwave developed model works
model standardization effort. The Verilog- properly in one simulator, the same source
A hardware description language [5], was code will work properly in other simulator
recently enhanced to provide greater capable to manage Verilog-A files, and this
support for compact modeling by the managing is transparent for the model
release of the Verilog-AMS Language developer and microwave designer.
Reference Manual (LRM) version 2.2. Furthermore, Verilog-A simulators
Even yet well developed nowadays, the automatically compute symbolic partial
potential capability for synthesis with derivatives of the currents and charges in a
digital HDLs within a microwave compact model and determine the proper
simulator is another unbeatable attraction. insertion of these values into the Jacobian
In this paper, several different examples of matrix for Newton’s method. This feature
microwave devices like: microwave is very interesting in the study and
diodes, MESFET transistors, and P-HEMT description of the intermodulation
devices, have been studied and simulated distortion phenomena.
by Verilog-A to experience its advantages. The computation of these derivatives must
This paper addresses both of these steps: it be done by hand in C language based
provides a quick introduction to writing simulators. Thus, even if one is modifying
microwave device compact models in an existing compact model in C code, in
Verilog-A and, by indicating the which most of the interface work has
techniques that compact model writers may already been done, one still has to compute
use, helps simulator vendors and new derivatives, and possibly get new
microwave devices manufactures matrix pointers, when introducing a new
understand the importance of accurate dependence.
optimizations that are expected from their The microwave model developer is
Verilog-A interfaces. Application-driven focused on getting correct equations for
circuit-level design methodologies that currents, which are compared against
ease the integration of the simulation measurements, and usually, the derivatives
domain to the real world using different are harder to verify. As a direct result,
technologies are therefore needed. almost every hand-coded or behavioral
compact model has had some derivative
2. Advantages of VERILOG-A errors in its first release.
code Most microwave foundries, have switched
to commercial simulators, but they do not
One important reason for preferring have the leverage to insist that proprietary
Verilog-A language for compact models be implemented in these
microwave modeling over general purpose microwave high level simulators. With
programming languages, is that it frees the Verilog-A, new models can be added
model developer from the handling of the almost as quickly as the equations can be
modeling simulator interface [6]. Usually, defined. The semiconductor company has
the modeling user interface of simulator control over the implementation schedule,
brand “A” is quite different in use and and it can maintain control of the
definition of variables of the modeling user intellectual property of the model within
interface of simulator brand “B”. And as a different simulators.

ISSN: 1790-2769 323 ISBN: 978-960-474-007-9


8th WSEAS International Conference on SIMULATION, MODELLING and OPTIMIZATION (SMO '08)
Santander, Cantabria, Spain, September 23-25, 2008

3. Simulations (b)

In this work, the same Verilog-A file has


been created, compiled and simulated
using two different commercial simulators:
Agilent Genesys and Advanced Desing
System (ADS). The source code for a
generic microwave diode file is shown in
Table 1.
*** Verilog-A FILE;
`include "disciplines.vams" `include "constants.vams"
`include "compact.vams" module diodo_va(anodo,catodo);
inout anodo, catodo; electrical anodo, catodo, interno;

1.0
0. 9

1.2
0.8

1.4
parameter real Is = 2e-12 from (0:inf];

0. 7
(c)

1.6
0 .6
0.2
parameter real alpha = 32 from (0:inf];

1 .8

0
0.5

2.
parameter real beta = 0.2 from (0:inf]; 0 .4

parameter real Rs = 2 from (0:inf]; 4


0.

0.6
parameter real Cjo = 2e-12 from (0:inf];

3 .0
0.3
parameter real Vj = 0.9 exclude 0; 0.8
4 .0
0
real Vd, Id, Qd, Qf, Qr; 1.
5.0

0
analog

1.
0. 2

0 .8

begin 0.
6

10
Vd = V(interno, catodo); 0.1
0.4

//Diodo intrínseco 0. 2
20
50
Id = Is * (limexp(Vd * alpha) -1);
0.1

0.2

0.3

0.4

0.5

0.7

0.8

0.9

1.0

1.4
0.6

1.2

1.6

1.8

3.0

4.0

5.0
2.0

20
10
0

//Capacidades (de unión y difusión) 0. 2


50

20

Qf = Cjo*(Vd-beta*Vj+pow((Vd-beta*Vj),2)/(4*Vj*(1- 0.1 0 .4

beta)))/sqrt(1-beta)-2*Cjo*sqrt(Vj*(Vj-beta*Vj));
10
6
0.

Qr = -2*Cjo*sqrt(Vj*(Vj-Vd)); 0.8
0. 2

0
if (Vd < beta*Vj)

1.
5.0

1 .0
Qd = Qr; 0 .8
4 .0

0.3
else

3.0
0 .6
Qd = Qf; 0.4

I(interno, catodo) <+ Id+ddt(Qd); 0.4

V(anodo, interno) <+ I(anodo, interno) * Rs;


0.5

0
2.
1 .8
0 .6

end
0.2

1 .6
0 .7

1. 4
endmodule
0.8

1.2
0.9

1.0

Table.1. Source Verilog_A code file to be


(d)
compiled within two different microwave
simulators

4. Results
As an example of portability and accuracy
of results of the Verilog-A language
modeling microwave circuitry, the result of
simulation on a microwave diode is shown
in Fig.1. The source file shown in Table 1
has been simulated under Agilent ADS and
Genesys microwave simulators, for DC
and scattering.

C1 CP1
Port_1 C=10pF IDC=6.885e-3A
ZO=50Ω L1
L=1mH Fig.1. Schematic used to simulate the microwave
diode in GENESYS simulator (a) and ADS (b)
(a) using the same Verilog-A source code file.
D1 (c) S11 parameter computed using GENESYS
VS1 simulator and Verilog-A modeling.
VDC=0.7V
(d) S11 parameter computed using ADS simulator
and Verilog-A modeling.

ISSN: 1790-2769 324 ISBN: 978-960-474-007-9


8th WSEAS International Conference on SIMULATION, MODELLING and OPTIMIZATION (SMO '08)
Santander, Cantabria, Spain, September 23-25, 2008

the aspect of the graphical interface of the


microwave simulator.
A direct consequence of this is the ability
of use the same source code within
different commercial microwave
simulators.
(a)

(a)

(b)

(b)

Fig.2. (a) Microwave diode I-V curves computed


using GENESYS™ simulator and Verilog-A
modeling.
(b) Microwave diode I-V curves computed using
ADS™ simulator and Verilog-A modeling.

Figs 1 (a) and (b) show the schematic


circuits used in the simulation, to compute
Fig.3. (a) Microwave diode I-V curves for a HEMT
the I-V DC curves and the Scattering transistor computed using GENESYS™ simulator
parameter S11 of the microwave diode and Verilog-A modeling.
using both simulators. (b) Microwave diode I-V curves for a HEMT
Fig 1 (c), and Fig 1 (d) show the small- transistor computed using ADS™ simulator and
signal scattering simulation of S11 made Verilog-A modeling.
with GENESYS and ADS, respectively for
the mentioned diode. Finally, in order to generalize the use of
Finally, Fig 2 (a) and (b) show the Verilog-A to more complex microwave
comparison between computed I-V curves active devices, a microwave P-HEMT
using ADS and Genesys. transistor including the thermal effects has
As it can be inferred of these figures, been simulated using the Verilog-A
results are identical for both simulations: language, using ADS and Genesys
DC and scattering, the unique difference is simulators.

ISSN: 1790-2769 325 ISBN: 978-960-474-007-9


8th WSEAS International Conference on SIMULATION, MODELLING and OPTIMIZATION (SMO '08)
Santander, Cantabria, Spain, September 23-25, 2008

The transistor model used in the present Device Modeling,” Proc. 2003
work is based in our previously reported IEEE International Workshop on
microwave active FET model [7]. Behavioral Modeling and
Fig. 3 (a) and Fig 3 (b) show the simulated Simulation BMAS 2003, San Jose,
I-V curves in Genesys and ADS for the CA.
same device, As a consequence, of these [4] http://www.mathworks.com
figures, the result I-V curves are identical [5] http://www.eigroup.org/cmc/
for both microwave simulators. A more [6] G.J. Coram, “How to (and how not
illustrative explanation (including the to) write a compact model in
source code in Verilog-A language) of the Verilog-A”, Behavioral Modeling
procedure of the implementation of the and Simulation Conference, 2004.
model within the simulators and small- BMAS 2004. 21-22 Oct. 2004,
signal simulations have been reported in Proceedings of the 2004 IEEE
[8]. Taking into account these results, International., pp. 97- 106, Oct.
Verilog-A is an interesting and easy to use 2004. ISBN: 0-7803-8615-9.
tool to develop and simulate microwave
models of active devices [7] T. Fernández, Y. Newport,
J.M.Zamanillo, A. Mediavilla, A.
5. Conclusion Tazón. Extracting a Bias
Dependent Large Signal MESFET
It has been demonstrated that Verilog-A Model from Pulsed I/V
language is suitable to properly model and Measurements. IEEE Transactions
simulate microwave active devices. The on MTT vol. 44, pp.372-378,
ability of re-use the same source code March 1996.
within different commercial simulators is [8] S.Rivera & J.M. Zamanillo, The
very important for modelers and designers, power of Verilog-A Models on
in order to exchange the same model Microwave Technology based
between different simulators, and it is no Simulators ISMOT 2007 vol. 1 pp.
necessary to modify the model in order to 29-32, Jul 2007. ISBN: 978-88-
change of simulation platform. 548-1476-9.

6. Acknowledgments
Research reported here was performed in
the framework of TARGET network (Top
Amplifier Research Groups in a European
Team www.target-net.org) and it is
supported by the the Spanish Ministry of
Education and Science thru the project
TEC2005-07985-C03-01.

References:

[1] http://www.target-net.org.
[2] Verilog-AMS Language Reference
Manual, version 2.2, Accellera,
2004. More info
http://www.accellera.org/home.
[3] L. Lemaitre,et. al., “Extensions to
Verilog-AMS to Support Compact

ISSN: 1790-2769 326 ISBN: 978-960-474-007-9

Potrebbero piacerti anche