Design and Implementation of Frequency Modulated Transmission and Reception of Speech Signal and FPGA Based Enhancement
Design and Implementation of Frequency Modulated Transmission and Reception of Speech Signal and FPGA Based Enhancement
examples of the virtual instruments (VIs) developed has been used to filter the input data. The design is
in their paper. Shahnam Mirzaei, Anup Hosangadi, coded through VHDL (hardware descriptive
Ryan Kastner presented a method for implementing language). To verify the designed outputs simulation,
high speed Finite Impulse Response (FIR) filters compilation and synthesis have been done [21] [25].
using just registered adders and hardwired shifts.
They extensively used a modified common 2. Background Theory
subexpression elimination algorithm to reduce the
number of adders. They targeted their optimizations Analog communication is that type of
to Xilinx Virtex II devices where their compared communication in which the message or
their implementations with those produced by Xilinx informational signal to be transmitted is analog in
CoregenTM using Distributed Arithmetic [24]. nature. This means that in analog communication the
Apurva Singh Chauhan and Vipul Soni have modulating signal is analog such as speech, video
designed a FIR filter using FPGA using IP-Core. The shooting etc [5].
filter is set to 16-bit signed data processing. IP Corse
Presently all AM, FM radio transmission are i. FM receivers are more immune to noise.
examples of analog communication [8]. ii. It is possible to reduce noise still further by
increasing the frequency-deviation.
Table 1: Performance analysis of analog iii. Standard frequency allocations provide a guard
modulation scheme band between commercial FM stations.
iv. FM broadcasts operate in the upper VHF and
UHF frequency ranges at which there happens
less noise than in the MF and HF ranges.
v. The amplitude of FM wave is constant, thus
independent of modulation depth that governs
the transmitted power. This permits the low level
modulation in FM transmitter and use of class C
amplifiers in all stages following the modulator.
2.1 Transducer
The input quantity for most instrumentation system is
a ―non-electrical quantity‖. In order to use electrical
methods & techniques for measurement,
manipulation or control, the non-electrical quantity is
We here use the frequency modulation scheme converted into an electrical signal by a device called
because it has certain advantages: a ―transducer (mostly referred to as Electric
13
ACCENTS Transactions on Image Processing and Computer Vision
ISSN (online): 2455-4707
Volume-1 Issue-1 November-2015
Transducer)‖ [6]. The transducer may be thought of Where fc is the carrier's base frequency and Ac is the
consisting of two important and closely related parts. carrier's amplitude. The modulator combines the
These two parts are: Sensing element which carrier with the baseband data signal to get the
responds to a physical phenomenon or a change in a transmitted signal,
physical phenomenon and Transduction Element
which transforms the output of a sensing element to
an electrical output[9]. Here we have used a carbon
microphone.
2.2 FM Transmitter
In this equation, is the Instantaneous frequency of
the oscillator and is the Frequency Deviation,
which represents the maximum shift away from fc in
one direction, assuming xm(t) is limited to the range
±1[13].
14
ACCENTS Transactions on Image Processing and Computer Vision
ISSN (online): 2455-4707
Volume-1 Issue-1 November-2015
Here the modulated signal is firstly received through ii. The original baseband signal is recovered
the receiving antenna from the medium and then from this AM signal with the help of the
applied to the FM receiver where the signal linear diode detector or envelope detector.
frequency demodulated. Then the original electrical
signal is inverse transduced by the output transducer FM demodulators are of following types:
like amplifier box or mike etc. which converts the i. Slope Detector
electrical signal into sound or it can be further Single-tuned detector circuit or simple
processed. slope detector
Stagger-tuned detector circuit or
2.3.1 FM Demodulator balanced slope detector.
The FM demodulator perform the extraction of ii. Phase Difference Detectors
modulating signal in two steps as follows: Foster-Seeley detector
i. It converts the FM signal into a Ratio detector
corresponding amplitude modulated signal PLL-FM demodulator
with the help of frequency dependent
circuits like L-C circuits. These circuits are 2.4. AC’97 CODEC
generally known as Frequency
Discriminators [1][16].
The Audio Codec ‗97 (AC ‗97) Architecture and 2.5. Digital Finite Impulse Response Filter
Digital Interface (AC-link) specifically is designed
for implementing audio and modem I/O functionality
in mainstream PC systems. As we are using here on
board stereo AC97 audio codec so we have to create
HDL wrapper which includes common board support
packages (.ngc,ILA and ICON), and Instantiates the
AC97 controller, DCM, and System Generator audio
design.HDL wrapper Interfaces SysGen design to
External Components and is generated from SysGen
.mdl model.
15
ACCENTS Transactions on Image Processing and Computer Vision
ISSN (online): 2455-4707
Volume-1 Issue-1 November-2015
y[n] = Σ h[k] x[n-k]……….(2) So the total block diagram becomes like the
In equation 2, N is filter order, y(n) is the filtered following figure –
signal h(n) is the coefficient of a sample and x(n-k) is
Here the speech signal is inputted to the transmitting by software based filtering technique and finally get
block through an input transducer. After FM outputted by an output transducer.
modulation it transmitted through an antenna. We
have used wires for antenna purpose. After receiving 3. Proposed Architecture Scheme
the signal it is FM demodulated and again inputted to
the FPGA Virtex board where it is digitally enhanced 3.1. FM Transmitter Circuit
16
ACCENTS Transactions on Image Processing and Computer Vision
ISSN (online): 2455-4707
Volume-1 Issue-1 November-2015
Here we have used an IC named CXA1619BM which = 3V, ID= 5.8mA), Built-in FM/Am Select Switch,
is a bipolar mono-lithic one-chip FM-AM radio IC large output of AF Amplifier etc.
designed for radio-cassette tape recorders and 3.3. System Generator Block of Digital FIR
headphone tape recorders and has small number of Filter
peripheral components, low current consumption(Vcc
17
ACCENTS Transactions on Image Processing and Computer Vision
ISSN (online): 2455-4707
Volume-1 Issue-1 November-2015
4. Software Implementation
We here used Xilinx System Generator Software
which allows device-specific hardware designs to be
constructed directly in a flexible high-level system
modelling environment. In a System Generator
design, signals are not just bits. They can be signed
and unsigned fixed-point numbers and changes to the
design automatically translate into appropriate
changes in signal types. Blocks are not just stand-ins
for hardware. They respond to their surroundings,
automatically adjusting the results they produce and
the hardware they become. The simulation results are
bit and cycle-accurate.
Figure11: Typical Design Flow for System
Generator Software
5. Hardware Implementation
5.1. JTAG Co-simulation Block
18
ACCENTS Transactions on Image Processing and Computer Vision
ISSN (online): 2455-4707
Volume-1 Issue-1 November-2015
System Generator provides several methods to several tests to verify the functionality of the system
transform the models built using Simulink into in hardware. HW/SW Co-simulation supports FPGAs
hardware. One of these methods is called from Xilinx on boards that support JTAG or Ethernet
Hardware/Software co-simulation. connectivity.
Hardware/Software co-simulation enables building a
hardware version of the model and using the exile 5.2. Virtex ML506 FPGA Board
simulation environment of Simulink we can perform
Figure 15: Output signal spectrum Digital Filter 2) The speech, video & other data may be
block merged & transmitted over a common
channel using multiplexing very easily.
3) Using data encryption, only permitted
receivers may be allowed to detect the
transmitted data. Only digital
communication system supports this. This
property is of its most importance in military
applications.
4) Since the transmitted signal is digital; the
channel encoding is used so the noise does
not accumulate from repeater to repeater in
long distance communication. As
20
ACCENTS Transactions on Image Processing and Computer Vision
ISSN (online): 2455-4707
Volume-1 Issue-1 November-2015
the signal is digital a large amount of noise [9] A. K. Sawhney, ―A Course in Electrical and
interference may be tolerated. Electronic Measurements and Instrumentation,
5) Error detection & correction capability is 8th edition, Dhanpat Rai & Co.(P) Ltd,2001.
higher in digital because though the binary [10] Leon W. Couch, ―Digital and Analog
communication System‖, 6th edition.
digits gets corrupted by noise but by proper [11] Taub & Scilling, ―Principles of Communication
error detection & correction methods we can Systems‖, TMH Publishing Company limited,
recover the original bits as well as possible. 1986.
This is done by encoder & decoder. Last of [12] Lathi, Bhagwandas P. Modern digital and analog
all digital communication system is adaptive communication systems. Oxford University
to other branches of data processing. Press, Inc., 1990.
[13] M. Scwartz, W. R. Bennet, and S.Stenin,
So we will apply here a digital transmission system in ―Communication Systems and Techniques―, Mc-
future and also some other FPGA based enhancement Graw Hill, New York, 1995.
[14] E.D. Sunde, ―Communication Systems
techniques like time-stretching, reverberation, echo, Engineering Technology‖, Wiley, New York.
equalization etc. We hope that the report will provide [15] R.W. Lucky and J. Salz and E.J. Weldon,
the basic knowledge of designing a simple ―Principles of Data Communication‖, New York.
communication system to the interested people and [16] http://documents.mx/documents/analog-
welcome any suggestions towards the improvement communication-prabhakar-kapula.html
of this project. [17] Khalil, Rafid Ahmed. "Adaptive Filter
Application in Echo Cancellation System and
Implementation using FPGA." Electrical
Acknowledgment Engineering Department, Engineering College,
University of Mosul 16.
We are very grateful to our college for providing us [18] Wang Sen; Tang Bin; Zhu Jim, "Distributed
the facilities to complete the work. Arithmetic for FIR Filter Design on FPGA,"
Communications, Circuits and Systems, 2007.
References ICCCAS 2007. International Conference on, vol.,
no., pp.620-623, 11-13 July 2007.
[19] Micea, Mihai V., et al. "Implementing
[1] Sanjay Sharma,‖Communication Systems‖, 4th
professional audio effects with DSPs." (2001):
edition, S.K. Kataria & Sons, 2009.
55-60.
[2] B.P. Lathi, ―An Introduction to Random Signals
[20] Xilinx Inc., UG437, ML505/ML506/ML507
and Communication Theory‖, 1968.
Evaluation Platform, User Guide.
[3] S. Haykin,― Communication Systems‘,3rd
[21] http://www.techniajournal.com/attachments/articl
edition, Newyork: Wiley, 1994.
e/128/ANALOG%20&%20DIGITAL%20MOD
[4] Schwartz, M., Bennett, W. R., & Stein, S.
ULATION.pdf.
Communication systems and techniques. New
[22] http://www.unix.ecs.umass.edu/~goeckel/Analog
York: IEEE Press, 1996.
Communication.pdf.
[5] Rappaport, T.S.Wireless communications:
[23] http://visl.technion.ac.il/NI/site/papers/documents
principles and practice. Upper Saddle River, N.J.:
/lv02_ 50.pdf.
Prentice Hall PTR, 1996.
[24] Mirzaei, Shahnam, Anup Hosangadi, and Ryan
[6] Behforouz A Forouzan, ―Data Communications
Kastner. "FPGA implementation of high speed
and Networking‖, 4th edition, Tata McGraw-Hill
FIR filters using add and shift method."
Publishing Company Limited,2006.
Computer Design, 2006. ICCD 2006.
[7] D.Chattopadhyay & P.C. Rakshit, ―Electronics
International Conference on. IEEE, 2007.
Fundamentals and Applications‖, 7th edition,
[25] Chauhan, Apurva Singh, and Vipul Soni. "Design
New Age International (P) Limited, publishers,
of FIR Filter on FPGAs using IP cores.",
2006.
International Journal of Advancements in
[8] M.K. Mukherjee, ―Electron Devices and
Technology, Vol. 4 No. 1(March 2013),pp. 50-
Circuits‖, 2nd edition, Everest Publishing House,
57.
2005.
21
ACCENTS Transactions on Image Processing and Computer Vision
ISSN (online): 2455-4707
Volume-1 Issue-1 November-2015
22