Professional Documents
Culture Documents
Wide frequency range capacitive detection of loss in a metallic cantilever using resonance and relaxation modes
Rev. Sci. Instrum. 78, 053901 (2007); 10.1063/1.2735633
Noise-rejection techniques for impedance and dielectric spectrometers using ubiquitous test and measurement
equipment
Rev. Sci. Instrum. 78, 034703 (2007); 10.1063/1.2712874
This article is copyrighted as indicated in the article. Reuse of AIP content is subject to the terms at: http://scitation.aip.org/termsconditions. Downloaded to IP:
152.14.136.77 On: Tue, 11 Aug 2015 17:12:23
SIGMA DELTA DAC USING VHDL-AMS
S.A. Utage, R.R. Dube
Walchand Institute of Technology, Solapur (Maharashtra)
Department of Electronics Engineering
1
sanjayautage@gmail.com
Abstract- Sigma Delta Digital to analog converters (DACs) convert a binary number into a voltage directly proportional to the
value of the binary number. A variety of applications use DACs including waveform generators and programmable voltage
sources. This paper describes a Delta-Sigma DAC implemented in a FPGA. The only external circuitry required is a low pass
filter comprised of just one resistor and one capacitor. Internal resource requirements are also minimal. The speed and flexible
output structure of the FPGAs make them ideal for this application.
CP1324, International Conference on Methods and Models in Science and Technology (ICM2ST-10)
edited by R. B. Patel and B. P. Singh
© 2010 American Institute of Physics 978-0-7354-0879-1/10/$30.00
384
This article is copyrighted as indicated in the article. Reuse of AIP content is subject to the terms at: http://scitation.aip.org/termsconditions. Downloaded to IP:
152.14.136.77 On: Tue, 11 Aug 2015 17:12:23
The decoder is the block which converts the bit
stream from the noise shaper into a thermometer code.
This can be done in the standard way, but also dynamic
element matching (DEM) techniques can be used. Here
on top of the normal thermometer decoder, two different
. In VHDL-AMS a counter comes down to storing
an index in memory, which can easily be done using a
variable. Since the noise-shaper output is an integer, the
indices are too, which means normal addition and
modulo statements can be used to model the counter.
The output of the decoder is a bit-vector of length nl.
C) Current source D/A converter Figure 6. Model for the opamp.
The D/A converter in a multi-bit Sigma-Delta,
needs to be fast, but has relatively few output bits. This
III. Top Level Entity
makes it suitable to be realized using a current source
array. By using DEM techniques, clever layout and A) Introduction
scrambling of the order of current sources, this can be Figure 7 is a top-level schematic diagram of a
achieved. In general it will cost more area and power to typical DAC implementation. As shown in this
do so. A system like this can be modelled using the diagram, the inputs include reset and clock signals, in
scheme depicted in Figure 4. addition to the binary number bus. DACoutDrvr
(output pin) drives an external low-pass filter. VOUT
can be set from 0V to VCCO, where VCCO is the supply
voltage applied to the FPGA I/O bank driving the
resistor-capacitor filter.
This article is copyrighted as indicated in the article. Reuse of AIP content is subject to the terms at: http://scitation.aip.org/termsconditions. Downloaded to IP:
385
152.14.136.77 On: Tue, 11 Aug 2015 17:12:23
They are suited for low frequency applications that Table 1: DAC Interface Signals
require relatively high accuracy. Signal Direction Description
As is standard practice, the DAC binary input DACout Output Pulse string that drives the
in this implementation is an unsigned number with zero external low pass filter
representing the lowest voltage level. The analog DACin Input Digital input bus. Value must
voltage output is also positive only. A zero on the input be setup to the positive edge of
CLK. For high-speed
produces zero volts at the output. All ones on the input
operation, DACin should be
cause the output to nearly reach VCCO. For AC signals, sourced from a pipeline
the positive bias on the analog signal can be removed register that is clocked with
with capacitive coupling to the load. CLK. For full resolution, each
DACin value must be
averaged over 2 (MSBI+1)
clocks, so DACin should
change only on intervals of 2
(MSBI+1) clock cycles.
F CLK Input Positive edge clock for the
SigmaLatch and the output D
flip-flop.
Reset Input Reset initializes the
SigmaLatch and the output D
flip-flop. In this
implementation, SigmaLatch
is initialized to a value that
corresponds to 0V in and 0V
Figure 8. Delta-Sigma DAC Internal Block Diagram out. If DACin starts at zero,
there is no discontinuity.
Figure 8 is a block diagram of a Delta-Sigma
DAC. The width of the binary input in the For the implementation in Figure 7, the output
implementation described below is configurable. For voltage (VOUT ) as a function of the DAC input may be
simplicity, the block diagram depicts a DAC with an 8- expressed as follows:
bit binary input. The term “Delta-Sigma” refers to the VOUT = (DACin/(2 (MSBI+1) )) x VCCO Volts
arithmetic difference and sum, respectively. In this For example, for an 8-bit DAC (MSBI = 7) the lowest
implementation, binary adders are used to create both VOUT is 0V when DACin is 0. The highest VOUT is
the difference and the sum. Although the inputs to the 255/256 VCCO volts when DACin is FF16 .
Delta adder are unsigned, the outputs of both adders are For some applications, it may be important for
considered signed numbers. The Delta Adder calculates VOUT to swing through the entire voltage range: 0V to
the difference between the DAC input and the current VCCO (rail-to-rail). This is accomplished by increasing
DAC output, represented as a binary number. Since the the DACin bus width by one bit and leaving all other
DAC output is a single bit, it is “all or nothing”; i.e., bus widths the same. For an 8-bit DAC with an input
either all zeroes or all ones. As shown in Figure 8, the value of 256,
difference will result when adding the input to a value
created by concatenating two copies of the most VOUT = VCCO.
significant bit of the Sigma Latch with all zeros. This Note that all DACin values greater than 256 are illegal
also compensates for the fact that DACin is unsigned. and should not be used. It is often advantageous to use a
The Sigma Adder sums its previous output, held in high-frequency clock. The desired clock may be faster
Sigma Latch, with the current output of the Delta than that which
Adder. In most cases, the Delta adder is optimized out can be practically sourced externally.
when the high level design is synthesized. This is
because all bits on either the A or B inputs are zero, so
A and B are simply merged, rather than added. As noted IV. Project Development Stages
below, the DAC input can be widened by one bit to The DAC can be implemented in a single VHDL- AMS
allow the full analog range of 0V to V CCO . In this module.
case, the Delta adder is needed. The interface to HDL
module DAC in Figure 7 includes one output and three
input signals as defined in Table 1. All signals are active A) Design Methodology:
high. The process starts from the Continuous-Time
Delta-Sigma modulator system specification and
This article is copyrighted as indicated in the article. Reuse of AIP content is subject to the terms at: http://scitation.aip.org/termsconditions. Downloaded to IP:
386
152.14.136.77 On: Tue, 11 Aug 2015 17:12:23
simulation at the top-level abstraction. Then, a top- based on the HDL. The most widely used synthesis
down approach is applied, replacing certain ideal blocks tools come from two CAD companies. Synopsis and
with non-ideal models or even their SPICE Cadence.
representation to obtain greater accuracy. Each Without going into details, we can say that the VHDL,
building-block of the Continuous-Time Delta-Sigma can be called as the "C" of the VLSI industry. VHDL
modulator is modeled using a VHDL-AMS language. stands for "VHSIC Hardware Definition Language",
The VHDL-AMS codes are compiled using the where VHSIC stands for "Very High Speed Integrated
ADVance MS compilator. The resulting behavioral Circuit". This language is used to design the circuits at a
models are converted in functional VHDL-AMS blocks high-level, in two ways. It can either be a behavioural
to be used in the CADENCE environment. This design description, which describes what the circuit is
methodology allows the mixing of behavioral models supposed to do, or a structural description, which
and transistor level models in the same simulation describes what the circuit is made of. There are other
environment (CADENCE), improving the simulation languages for describing circuits, such as Verilog,
speed. The modulator output is obtained both in the time which work in a similar fashion.
domain and in the frequency domain (through FFT).
These simulations run with ADVance MS (ADMS) Both forms of description are then used to generate a
under CADENCE environment. Figure 9 shows the very low-level description that actually spells out how
design methodology using both ADVance MS and all this are to be fabricated on the silicon chips. This
CADENCE. will result in the manufacture of the intended IC.
This article is copyrighted as indicated in the article. Reuse of AIP content is subject to the terms at: http://scitation.aip.org/termsconditions. Downloaded to IP:
387
152.14.136.77 On: Tue, 11 Aug 2015 17:12:23
VHDL-AMS model of complete Sigma-Delta D/A References
[1] J. Candy and G. C. Temes, “Oversampling
converter can be developed. This model can be used to
methods for A/D and D/A conversion,” in
perform high-level analysis of the impact of system Oversampling 16 converters, pp. 1–25, IEEE
non-idealities, such as opamp slewing and current Press, 1992.
source mismatch. The results of the analysis can be used [2] “URL:http://www.eda.org/vhdl-ams/.”
to find anoptimum set of building block specification
[3] V. Peluso, A. Marques, M. Steyaert, and W.
yielding optimum system performance
Sansen, “Optimal Parameters for Single Loop 16
Modulators,” in Proc. of the Int.Symp. Circuits
Syst., (Hong Kong), pp. 57–60, 1997.
[4] G. C. Temes, S. Shu, and R. Schreier,
“Architectures for 16 DAC’s,” in Oversampling
16 converters, pp. 309–322, IEEE Press, 1992.
[5] “URL: http://www.Xilinx.com36 th Design
Automation Conference New Orleans, June 21-
25, 1999
This article is copyrighted as indicated in the article. Reuse of AIP content is subject
388 to the terms at: http://scitation.aip.org/termsconditions. Downloaded to IP:
152.14.136.77 On: Tue, 11 Aug 2015 17:12:23