Академический Документы
Профессиональный Документы
Культура Документы
Digital Modulators
C. Erdoan, I. Myderrizi, and S. Minaei
Electronics and Communications Engineering Department
Dogus University
Zeamet Sokak 21, Acbadem Kadky, 34722 Istanbul, Turkey
E-mail: imyderrizi@dogus.edu.tr, sminaei@dogus.edu.tr
Abstract
Field-programmable gate-array (FPGA) implementations of binary amplitude-shift keying (BASK), binary frequencyshift keying (BFSK), and binary phase-shift keying (BPSK) digital modulators are presented. The proposed designs are
aimed at educational purposes in a digital communication course. They employ the minimum number of blocks necessary
for achieving BASK, BFSK, and BPSK modulation, and for full integration with the other functional parts of the Altera
Development and Education (DE2) FPGA board. The input carrier signal and the bit stream (modulating signal) are
user controllable. These digital modulators were developed and compiled to a Verilog Hardware Description Language
(HDL) netlist, and were later implemented into an Altera DE2 FPGA board. The functionality of these digital modulators
was demonstrated through simulations using the Quartus II simulation software, and experimental measurements of the
real-time modulated signal via an oscilloscope.
Keywords: BASK; BFSK; BPSK; binary; digital modulator; FPGA; amplitude shift keying; frequency shift keying; phase
shift keying; eld programmable gate arrays
1. Introduction
ield-programmable gate arrays (FPGAs) are semiconductor devices containing programmable logic elements
(LEs) and a hierarchy of reconfigurable interconnects to realize any complex combinational or sequential logic functions
[1]. Hardware implemented in an FPGA can be reconfigured
by programming the logic elements and interconnections for
specific applications, even after the product has been installed
in the field.
Todays FPGAs consist of configurable embedded static
random-access memories (SRAMs), high-speed transceivers,
high-speed input/output (I/O) elements, network interfaces, and
even hard-embedded processors [1].
A literature survey shows that FPGAs are widely used in
different applications, such as motor controllers [2], neuralnetwork implementations [3-5], finite-impulse-response
(FIR) filter realization [6, 7], fuzzy-logic controllers [8], etc.
On the other hand, implementation of digital modulation and
demodulation using FPGAs has received considerable attention. Signal-processing systems such as software-defined radios
(SDRs) can receive various kinds of modulated signals via
software programming using digital signal processors (DSPs),
262
AP_Mag_Apr_2012_Final.indd 262
FPGAs, general purpose processors (GPPs), and applicationspecific integrated circuits (ASICs) [9, 10]. In this context,
FPGAs are the best solution, due to their high flexibility, low
cost, and high speed [10].
A block diagram of a software-defined radio transmitter
employing binary amplitude-shift keying (BASK) or binary
phase-shift keying (BPSK) modulation is shown in Figure 1.
The input bit is transferred to G b as a 0 or 1 in BASK and
as a 1 or 1 in BPSK. The D/A block converts the digital IF
signal into the analog IF signal, the RF up converter transforms
the analog IF signal to RF frequencies, and, finally, the poweramplifier block boosts the RF signal to the antenna [11].
Since digital modulation is less complex, more secure,
and more efficient in long-distance transmission and noise
detection/correction than its analog counterpart, it has an
important place in modern communications. Several papers
that include applications using digital-modulation techniques
have been presented in the literature, including detectors [12],
transmitters [10], and baseband processors [13] employing
BPSK modulators; a digital receiver for software-defined radios
based on quadrature phase-shift keying (QPSK) or quadrature
amplitude-modulation (QAM) techniques [14, 15]; and BASK,
BPSK, and binary frequency-shift keying (BFSK) digital
IEEE Antennas and Propagation Magazine, Vol. 54, No. 2, April 2012
6/3/2012 5:52:20 PM
IEEE Antennas and Propagation Magazine, Vol. 54, No. 2, April 2012
AP_Mag_Apr_2012_Final.indd 263
263
6/3/2012 5:52:20 PM
=
S BFSK ( t ) A sin 2 f c + m ( t ) f m t + 0 ,
0t T ,
(2)
In a BPSK (binary phase-shift keying) modulation process, the phase of the sinusoidal carrier signal is changed
according to the message level (0 or 1) while keeping
the amplitude and frequency constant. A block diagram of the
BPSK modulation and its signal waveforms are shown in Figures 6 and 7, respectively.
A BPSK signal can be expressed as
=
S BPSK (t ) A sin 2 f c t + m ( t ) , 0 t T , (3)
Figure 5. The modulating-signal (message) and the BFSK
signal waveforms.
ACC ( Fo ) =
2 M Fs Fo .
Figure 7. The modulating-signal (message) and BPSKsignal waveforms.
264
AP_Mag_Apr_2012_Final.indd 264
(4)
IEEE Antennas and Propagation Magazine, Vol. 54, No. 2, April 2012
6/3/2012 5:52:21 PM
was
ACC =
( Fo )
(2
32
selected
to
be
232 .
46875 Fo 91626 Fo .
Thus,
Selecting
IEEE Antennas and Propagation Magazine, Vol. 54, No. 2, April 2012
AP_Mag_Apr_2012_Final.indd 265
265
6/3/2012 5:52:21 PM
AP_Mag_Apr_2012_Final.indd 266
(5)
(6)
where CLK REF , SR, DW, and NCH are the reference clock,
sample rate, data word length, and number of channels,
respectively. In this case, the values for these parameters were
selected to be CLK REF = 18 MHz, SSSR = 46.875 kHz,
DW = 16 bits, and NCH = 2 . By substituting these values into
Equations (5) and (6), the values of DRBIT and DRL R were
found to be 12 and 384, respectively. This calculation showed
that the bit-clock frequency was 18 MHz 12 = 1.5 MHz, and
the left-right clock frequency was 18 MHz 384 = 46.875 kHz,
which was equal to the sampling rate. A block diagram of the
clock generator (frequency divider) used for operating the DAC
in the Quartus II software is shown in Figure 17.
266
IEEE Antennas and Propagation Magazine, Vol. 54, No. 2, April 2012
6/3/2012 5:52:22 PM
FPGA board. Note that 1000 stands for 1 kHz. In this case, Fo
could be equal to 1 kHz, 2 kHz, 3 kHz, or 4 kHz. The binarysequence sampling-clock frequency was similarly set.
Figure 17. The clock generator used for the DAC in Quartus
II.
IEEE Antennas and Propagation Magazine, Vol. 54, No. 2, April 2012
AP_Mag_Apr_2012_Final.indd 267
267
6/3/2012 5:52:22 PM
5. Conclusions
Figure 23. The Altera DE2 evaluation board and the realtime experimental results for the BASK, BFSK, and BPSK
modulators.
268
AP_Mag_Apr_2012_Final.indd 268
IEEE Antennas and Propagation Magazine, Vol. 54, No. 2, April 2012
6/3/2012 5:52:23 PM
The implemented FPGA designs are suitable for realization of the digital baseband-modulation part of software-defined
radio systems. In addition, usage of this kind of implementation
for educational purposes in digital communications laboratories
or courses clearly emphasizes the correlation between different
courses in electronics engineering (in this case, digital design
and digital communications).
6. References
1. http://www.altera.com/products/fpga.html.
2. B. Alecsa, and A. Onea, Design, Validation and FPGA
Implementation of a Brushless DC Motor Speed Controller,
Proceedings of the 17th IEEE International Conference on
Electronics, Circuits, and Systems (ICECS), December 12-15,
2010, pp. 1112-1115.
3. S. Himavathi, D. Anitha, and A. Muthuramalingam, Feedforward Neural Network Implementation in FPGA Using
Layer Multiplexing for Effective Resource Utilization, IEEE
Transactions on Neural Networks, 18, 3, 2007, pp. 880-888.
4. N. M. Botros and M. Abdul-Aziz, Hardware Implementation of an Artificial Neural Network Using Field Programmable Gate Arrays (FPGAs), IEEE Transactions on Industrial
Electronics, 41, 6, 1994, pp. 665-667.
5. T. Orlowska-Kowalska and M. Kaminski, FPGA Implementation of the Multilayer Neural Network for the Speed
Estimation of the Two-Mass Drive System, IEEE Transac
tions on Industrial Informatics, 7, 3, 2011, pp. 436-445.
6. P. K. Meher, S. Chandrasekaran, and A. Amira, FPGA
Realization of FIR Filters by Efficient and Flexible Systolization Using Distributed Arithmetic, IEEE Transactions on
Signal Processing, 56, 7, 2008, pp. 3009-3017.
7. K. N. Macpherson and R. W. Stewart, RAPID
PROTOTYPING Area Efficient FIR Filters for High Speed
FPGA Implementation, IEE Proceedings Vision, Image and
Signal Processing, 153, 6, 2006, pp. 711-720.
8. D. Kim, An Implementation of Fuzzy Logic Controller
on the Reconfigurable FPGA System, IEEE Transactions on
Industrial Electronics, 47, 3, 2000, pp. 703-715.
9. M. Islam, M. A. Hannan, S. A. Samad, and A. Hussain,
Modulation Technique for Software Defined Radio Applications, Australian Journal of Basic and Applied Sciences, 3, 3,
2009, pp. 1780-1785.
10. Y. H. Chye, M. F. Ain, and N. M. Zawawi, Design of
BPSK Transmitter Using FPGA with DAC, Proceedings
of the 2009 IEEE 9th Malaysia International Conference on
Communications, December 15-17, 2009, pp. 451-456.
IEEE Antennas and Propagation Magazine, Vol. 54, No. 2, April 2012
AP_Mag_Apr_2012_Final.indd 269
269
6/3/2012 5:52:23 PM