Conference PaperPDF Available

An outline of Qucs-S compact device modelling: History and capabilities: Part 2 XSPICE Code Models; basic properties to model synthesis, and beyond

Authors:
  • London Metropolitan University, Holloway, London, Uk

Abstract

The purpose of this two part presentation is to provide the compact device modelling community with a detailed introduction to the history and capabilities of the modelling features implemented in the Qucs-S multi-simulator software package. Roughly ten years ago the Qucs Development Team started the process of adding compact device modelling features to the widely used Qucs circuit simulator. In 2017 the first stable version of the multi-simulator version of Qucs, called Qucs-S, was released. This GPL software package provides users with an extensive range of simulation and modelling tools, including (1) Ngspice, SPICE OPUS and Xyce and (2) subcircuits, non-linear EDD, SPICE B style sources, Verilog-A modules, XSPICE Code Models, SPICE netlist synthesisers, Verilog-A, module and XSPICE Code Model synthesisers. The properties and use of these simulation modelling tools are introduced and their application described with a series of semiconductor device models. The slides from this presentation are intended to be a reference source when developing Qucs-S compact device models.
An outline of Qucs-S compact device modelling: History and
capabilities: Part 2 XSPICE Code Models; basic properties to
model synthesis, and beyond
Mike Brinson 1,mbrin72043@yahoo.co.uk.
Vadim Kuznetsov 2,ra3xdh@gmail.com
1Centre for Communications Technology, London Metropolitan University,
UK
2Bauman Moscow Technical University, Russia
Presented at IEEE ED Mini-Colloquium, Bygoszcz, Poland, 21 June 2017
May 24, 2017
1 / 39
A flow chart showing Qucs-S compact modelling facilities and data
movement
2 / 39
Qucs-S binary packages
3 / 39
Qucs-S a maturing GPL software package: Qucs-S Help documentation
4 / 39
Qucs-S a maturing GPL software package: Ngspice, Xyce and SPICEOPUS
built in components
R2
R=50 Ohm
R3
R=50 Ohm
C2
C=1 pF
L2
L=1 nH
V1
U=1 V
I1
I=1 mA
V2
U=1 V
I2
I=1 mA
SRC1
G=1 S
SRC2
G=1
SRC3
G=1
SRC4
G=1 Ohm
V3
U1=0 V
U2=1 V
T1=0
T2=1 ms
I3
I1=0
I2=1 A
T1=0
T2=1 ms
V6
V=
I6
I=
Eqn B1
I=
PWL V7
PWL=
SFFMI7
I0=0
Ia=1
Fc=1
Mdi=10
Fs=500
SFFMI8
I0=0
Ia=1
Fc=1
Mdi=10
Fs=500
ENL E1
E=
GNL G1
G=
TRR V10
Type=2
Ts=1m
Td=0
Param1=1
Param2=0
V11
Vac=
T1
Z0=50
Td=0.25n
F=1e9
Nl=0.25
V1=0
I1=0
V2=0
I2=0
PJF
J2
J=
NJF
J3
J=
C1
C=
R1
R=
L1
L= K1
Ind1=L1
Ind2=L2
K=0.1
P1
Num=1
S1
S=
Pr1
Pr2
W1
W=
O1
O=
U1
U=
NPN
Q1
Q=
D1
D=
ITRN I10
Na=20n
Nt=0.5n
Nalpha=1.1
Namp=12p
Rtsam=0
Rtscapt=0
Rtsemt=0
AM I9
Va=1 V
Vo=0 V
Mf=500
Fc=10k
Td=0
AM V8
Va=1
Vo=0
Mf=500
Fc=10k
Td=0
NMOS
M1
M=
PJF
J4
J=
PMOS
M2
M=
NMF
Z1
Z=
spice
X1
File=
lib
X3
sub
SUB1
1
D2
I1=0
Eqn B3
V=
PNP
Q2
Q=
SPICE
1 2
3
X2
NPins=3
Letter=Z
OP1
G=1e6
NJF
J1
J=
PMF
Z2
Z=
VTRN V9
Na=20n
Nt=0.5n
Nalpha=1.1
Namp=12p
Rtsam=0
Rtscapt=0
Rtsemt=0
S2
V5
U1=0 V
U2=1 V
T1=0
T2=1 ms
I4
U=1 mA
TH=1 ms
TL=1 ms
V4
U=1 V
TH=1 ms
TL=1 ms
Eqn B2
I=
I5
I1=0
I2=1 A
T1=0
T2=1 ms
ICOUPLE1
A =
CORE1
A =
S Domain
Transfer Function
SDTF1
A= A_XSDFTmod
PWL controlled
voltage source
XAPWL1
A= A_PWLmod
XSPICE
v0 v1
A1
PortList=v,v
XSPICE CodeModel
XSP_CMod1
File=cfunc.mod
File=ifspec.ifs
Precompiled CM-library
XSP_CMlib1
File=/home/user/library.cm
5 / 39
Qucs-S a maturing GPL software package: Available semiconductor device
models
6 / 39
Qucs-S a maturing GPL software package: Simulation control icons
7 / 39
Qucs-S a maturing GPL software package: XSPICE analogue component
models
8 / 39
Qucs-S a maturing GPL software package: Qucs-S extended circuit
simulation Part 1. SPICE .OP to visual DC by pressing key F8
9 / 39
Qucs-S a maturing GPL software package: Qucs-S extended circuit
simulation Part 2. Noise spectral response
10 / 39
Qucs-S a maturing GPL software package: Qucs-S extended circuit
simulation Part 3. Multi-tone Harmonic balance analysis
11 / 39
Qucs-S a maturing GPL software package: Qucs-S extended circuit
simulation Part 4. Direct support for SPICE libraries
12 / 39
Qucs-S a maturing GPL software package: Modelling tool additions and
new features
13 / 39
Qucs-S a maturing GPL software package: XSPICE Code Model support
subsystem
14 / 39
Qucs-S a maturing GPL software package: XSPICE Turn-Key Model
Generation; compiler system building blocks
15 / 39
Qucs-S a maturing GPL software package: XSPICE Turn-Key Model
Generation; compiler system dataflow diagram
16 / 39
Main features of the XSPICE CodeModel synthesizer
17 / 39
The structure of the XSPICE model synthesizer
18 / 39
Tunnel diode XSPICE model
19 / 39
Two-port testbench model: vacuum triode
20 / 39
Triode EDD implementation and auto-generated XSPICE Code
21 / 39
Fowler-Nordheim diode model
22 / 39
Qucs-S : .FUNC entry: user-defined SPICE functions 1
23 / 39
Qucs-S : .FUNC entry: user-defined SPICE functions 2
24 / 39
Include scripts: run some SPICE code before components initialized
25 / 39
Post-simulation data processing : 1. using Qucs
26 / 39
Post-simulation data processing : 2. using Octave
27 / 39
Post-simulation data processing : 3. using Python
28 / 39
Qucs-S/Ngspice/Xyce Circuit Analysis and Compact Device Parameter
Extraction from Manufacturers Data or Measurements Controlled by
Octave Script Files: Part I Structure Diagram
29 / 39
Qucs-S/Ngspice/Xyce Circuit Analysis and Compact Device Parameter
Extraction from Manufacturers Data or Measurements Controlled by
Octave Script Files: Part II Octave Package
30 / 39
Qucs-S/Ngspice/Xyce Circuit Analysis and Compact Device Parameter
Extraction from Manufacturers Data or Measurements Controlled by
Octave Script Files: Part III Simple Ngspice example
31 / 39
Qucs-S/Ngspice/Xyce Circuit Analysis and Compact Device Parameter
Extraction from Manufacturers Data or Measurements Controlled by
Octave Script Files: Part IV Simple Qucs example
32 / 39
Qucs-0.0.19S : Qucs with SPICE 1
33 / 39
Qucs-0.0.19S : Qucs with SPICE 2
34 / 39
Qucs-S : Plans for the future 1; the next release
35 / 39
Qucs-S : Plans for the future 2; more software features – Possible new
directions for XSPICE synthesizer development
Synthesize more complex XSPICE models: for example GaN HEMT,
photodiodes and photoBJTs;
Introduce a new generation of source based components, where their C
code can be dynamically synthesized and compiled before simulation;
Allow the linking of symbolic computation libraries to the XSPICE kernel
to introduce symbolic computations at simulation time;
Extend the number of devices in the pre-synthesized XSPICE libraries
which are shipped with Qucs-S (currently very limited);
36 / 39
Qucs-S : Plans for the future 3; Adding Open Source Hardware to Qucs-S –
current low cost open source measurement hardware choices
Labrador (Espotek)
$29
Oscilloscope (2 channel, 750ksps)
Arbitrary Waveform Generator (2 channel, 1MSPS)
Power Supply (4.5 to 15V, 1.5W max, closed-loop)
Logic Analyzer (2 channel, 3MSPS per channel, with serial decoding)
Multimeter (V/I/R/C)
Software compatible with Windows, OSX, and Linux
ADALM1000 (Analog Devices)
£38 USB powered learning tool
Measuring and sourcing current (- 200 to +200mA) and voltage
(0 to 5V) simultaneously on same pin
Oscilloscope (100 kSPS), function generator (100 kSPS)
PixelPulse 2 (open source) supports Windows, Linux, OS X
16-bit (0.05%) basic measure accuracy with 4 digit resolution
Source and sink (2-quadrant) operation
C, C++ and Python bindings
MATLAB Data Acquisition Toolbox Support
Open source hardware
ADALP2000 Analog Parts Kit offers wide selection of analog
components and allows solderless breadboarding
37 / 39
Qucs-S : Plans for the future 4; Adding Open Source Hardware to Qucs-S –
current low cost open source measurement hardware choices 2
adalm2000 (Analog Devices)
$99
Two-channel USB digital oscilloscope
Two-channel arbitrary function generator
16-channel digital logic analyzer (3.3V CMOS and 1.8V or 5V tolerant,
100MS/s)
16-channel pattern generator (3.3V CMOS, 100MS/s)
16-channel virtual digital I/O
Two input/output digital trigger signals for linking multiple instruments
(3.3V CMOS)
Single channel voltmeter (AC, DC, ±20V)
Network analyzer – Bode, Nyquist, Nichols transfer diagrams of a circuit.
Range: 1Hz to 10MHz
Spectrum Analyzer – power spectrum and spectral measurements (noise
floor, SFDR, SNR, THD, etc.)
Digital Bus Analyzers (SPI, I²C, UART, Parallel)
Two programmable power supplies (0…+5V , 0…-5V)
38 / 39
Qucs-S : Plans for the future 5; Adding Open Source Hardware to Qucs-S –
current low cost open source measurement hardware choices 3
Two-channel USB digital oscilloscope (1 MΩ, ±25 V, differential, 14-bit, 100 MSPS,
30 MHz+ bandwidth - with the Analog Discovery BNC adapter board, 1286-1073-ND
sold separately)
Two-channel arbitrary function generator (±5 V, 14-bit, 100 MSPS, 20 MHz+ bandwidth
- with the Analog Discovery BNC adapter board, 1286-1073-ND sold separately )
Stereo audio amplifier to drive external headphones or speakers with replicated AWG signals
16-channel digital logic analyzer (3.3 V CMOS, 100 MSPS)
16-channel pattern generator (3.3 V CMOS, 100 MSPS)
16-channel virtual digital I/O including buttons, switches, and LEDs which are perfect for
logic training applications
Two input/output digital trigger signals for linking multiple instruments (3.3 V CMOS)
Analog Discovery 2 (Digilent)
$279
39 / 39
ResearchGate has not been able to resolve any citations for this publication.
ResearchGate has not been able to resolve any references for this publication.