DSP based implementation of a Configurable Composite Digital Transmitter Soumik Kundu, Amiya Karmakar

Similar documents
Department of Electrical and Computer Engineering Ben-Gurion University of the Negev. LAB 1 - Introduction to USRP

Appendix D Digital Modulation and GMSK

Digital Modulation. David Tipper. Department of Information Science and Telecommunications University of Pittsburgh. Typical Communication System

Non-Data Aided Carrier Offset Compensation for SDR Implementation

MODULATION Systems (part 1)

Evolution from Voiceband to Broadband Internet Access

PCM Encoding and Decoding:

T = 1 f. Phase. Measure of relative position in time within a single period of a signal For a periodic signal f(t), phase is fractional part t p

Implementation of Digital Signal Processing: Some Background on GFSK Modulation

Log-Likelihood Ratio-based Relay Selection Algorithm in Wireless Network

Vector Signal Analyzer FSQ-K70

Software Defined Radio

HD Radio FM Transmission System Specifications Rev. F August 24, 2011

RF Measurements Using a Modular Digitizer

CDMA TECHNOLOGY. Brief Working of CDMA

Computer Networks and Internets, 5e Chapter 6 Information Sources and Signals. Introduction

A WEB BASED TRAINING MODULE FOR TEACHING DIGITAL COMMUNICATIONS

BER Performance Analysis of SSB-QPSK over AWGN and Rayleigh Channel

Making Accurate Voltage Noise and Current Noise Measurements on Operational Amplifiers Down to 0.1Hz

Voice---is analog in character and moves in the form of waves. 3-important wave-characteristics:

Design of Bidirectional Coupling Circuit for Broadband Power-Line Communications

How To Encode Data From A Signal To A Signal (Wired) To A Bitcode (Wired Or Coaxial)

Implementing Digital Wireless Systems. And an FCC update

Chap#5 (Data communication)

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies


Modification Details.

Lezione 6 Communications Blockset

Application Note. Introduction to. Page 1 / 10

Introduction to FM-Stereo-RDS Modulation

Analog Representations of Sound

Taking the Mystery out of the Infamous Formula, "SNR = 6.02N dB," and Why You Should Care. by Walt Kester

Public Switched Telephone System

The front end of the receiver performs the frequency translation, channel selection and amplification of the signal.

'Possibilities and Limitations in Software Defined Radio Design.

EECC694 - Shaaban. Transmission Channel

Digital Transmission of Analog Data: PCM and Delta Modulation

INTERNATIONAL TELECOMMUNICATION UNION

Sigma- Delta Modulator Simulation and Analysis using MatLab

Lab 5 Getting started with analog-digital conversion

INTER CARRIER INTERFERENCE CANCELLATION IN HIGH SPEED OFDM SYSTEM Y. Naveena *1, K. Upendra Chowdary 2

SIGNAL GENERATORS and OSCILLOSCOPE CALIBRATION

ADVANCED APPLICATIONS OF ELECTRICAL ENGINEERING

Experiment 3: Double Sideband Modulation (DSB)

A novel sharp beam-forming flat panel loudspeaker using digitally driven speaker system

Timing Errors and Jitter

International Journal of Computer Sciences and Engineering. Research Paper Volume-4, Issue-4 E-ISSN:

Demonstration of a Software Defined Radio Platform for dynamic spectrum allocation.

Introduction to Receivers

Suppression of Four Wave Mixing in 8 Channel DWDM System Using Hybrid Modulation Technique

Broadband Networks. Prof. Dr. Abhay Karandikar. Electrical Engineering Department. Indian Institute of Technology, Bombay. Lecture - 29.

Ericsson T18s Voice Dialing Simulator

Optical Fibres. Introduction. Safety precautions. For your safety. For the safety of the apparatus

Acoustic Processor of the MCM Sonar

Achieving New Levels of Channel Density in Downstream Cable Transmitter Systems: RF DACs Deliver Smaller Size and Lower Power Consumption

USB 3.0 CDR Model White Paper Revision 0.5

EE4367 Telecom. Switching & Transmission. Prof. Murat Torlak

Efficient Data Recovery scheme in PTS-Based OFDM systems with MATRIX Formulation

The Calculation of G rms

Application Note Noise Frequently Asked Questions

Voice services over Adaptive Multi-user Orthogonal Sub channels An Insight

Spectrum Level and Band Level

Ultrasound Distance Measurement

DT3: RF On/Off Remote Control Technology. Rodney Singleton Joe Larsen Luis Garcia Rafael Ocampo Mike Moulton Eric Hatch

EE289 Lab Fall LAB 4. Ambient Noise Reduction. 1 Introduction. 2 Simulation in Matlab Simulink

Performance of Quasi-Constant Envelope Phase Modulation through Nonlinear Radio Channels

TCOM 370 NOTES 99-4 BANDWIDTH, FREQUENCY RESPONSE, AND CAPACITY OF COMMUNICATION LINKS

GSM/EDGE Output RF Spectrum on the V93000 Joe Kelly and Max Seminario, Verigy

NEW WORLD TELECOMMUNICATIONS LIMITED. 2 nd Trial Test Report on 3.5GHz Broadband Wireless Access Technology

Lock - in Amplifier and Applications

Solution. (Chapters ) Dr. Hasan Qunoo. The Islamic University of Gaza. Faculty of Engineering. Computer Engineering Department

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

The Effective Number of Bits (ENOB) of my R&S Digital Oscilloscope Technical Paper

ANALYZER BASICS WHAT IS AN FFT SPECTRUM ANALYZER? 2-1

1 Multi-channel frequency division multiplex frequency modulation (FDM-FM) emissions

AN INTRODUCTION TO DIGITAL MODULATION

Application Note 83 Fundamentals of RS 232 Serial Communications

Analog and Digital Signals, Time and Frequency Representation of Signals

Digital Baseband Modulation

RF Communication System. EE 172 Systems Group Presentation

Next Generation of High Speed. Modems8

The Effect of Network Cabling on Bit Error Rate Performance. By Paul Kish NORDX/CDT

Transistor Amplifiers

Optimizing IP3 and ACPR Measurements

PHASE ESTIMATION ALGORITHM FOR FREQUENCY HOPPED BINARY PSK AND DPSK WAVEFORMS WITH SMALL NUMBER OF REFERENCE SYMBOLS

VCO Phase noise. Characterizing Phase Noise

DDS. 16-bit Direct Digital Synthesizer / Periodic waveform generator Rev Key Design Features. Block Diagram. Generic Parameters.

Electronics. Discrete assembly of an operational amplifier as a transistor circuit. LD Physics Leaflets P

ISI Mitigation in Image Data for Wireless Wideband Communications Receivers using Adjustment of Estimated Flat Fading Errors

FPGAs in Next Generation Wireless Networks

INTERNATIONAL TELECOMMUNICATION UNION $!4! #/--5.)#!4)/. /6%2 4(% 4%,%0(/.%.%47/2+

Objectives. Lecture 4. How do computers communicate? How do computers communicate? Local asynchronous communication. How do computers communicate?

Hideo Okawara s Mixed Signal Lecture Series. DSP-Based Testing Fundamentals 46 Per-pin Signal Generator

AN Application Note: FCC Regulations for ISM Band Devices: MHz. FCC Regulations for ISM Band Devices: MHz

Example/ an analog signal f ( t) ) is sample by f s = 5000 Hz draw the sampling signal spectrum. Calculate min. sampling frequency.

DSPDemo. By Moe Wheatley MoeTronix.

(Refer Slide Time: 2:10)

Contents. A Error probability for PAM Signals in AWGN 17. B Error probability for PSK Signals in AWGN 18

INTRODUCTION TO COMMUNICATION SYSTEMS AND TRANSMISSION MEDIA

Analog-to-Digital Voice Encoding

Transcription:

International Journal of Scientific & Engineering Research, Volume 4, Issue 4, April-2013 262 DSP based implementation of a Configurable Composite Digital Transmitter Soumik Kundu, Amiya Karmakar Abstract The latest trend in communications for real time implementation of different transmitters, is a prime contributor to the effort being invested in designing and implementing a Composite Transmitter. In this paper, an experimental analysis for the DSP based implementation the composite transmitter, which consists of a combination of four digital modulation schemes, has been presented. Extension of the digital domain by implementing and modifying different modulation schemes in software using the same hardware platform of configurable Digital Signal Processor, has been shown. Index Terms Binary Modulation, Composite Transmitter, Digital Signal Processing, Modulator, Sampling, Shift Keying Modulation, Signal Processor, Signal-to-oise Ratio. 1 ITRODUCTIO T RASMITTERS are part of communication systems. Development of a transmitter mainly focuses on developing modulators which are part of the transmitter subsystem. A modulator is the transmitter subsystem, which is used to facilitate the transmitter for transmitting information in form of signals (digital or analog) [1], [2]. It helps in transmission of signal with lower frequency by shifting the signal s lower frequency spectrum to higher frequency spectrum, using a high frequency carrier signal. In order to develope a modulator the components of a communication system which are required are the information to be transmitted in form of signals (digital or analog), a carrier wave (usually sinusoidal) that carries the information, a channel through which data travels and a modulation scheme that is used by the modulator to modulates the incoming data onto the carrier wave with a fixed frequency limit imposed by the channel. Soumik Kundu, School of Engineering & Technology, West Bengal University of Technology, India, E-mail: kundu_soumik@yahoo.co.in Amiya Karmakar, School of Engineering & Technology, West Bengal University of Technology, India, E-mail: amiya.karmakar@rediffmail.com as Composite. A configurable system is a system whose output can be changed without changing its hardware architecture using software tools. Digital Signal Processors (DSPs) provide this configurable environment by using a software tool named as Integrated Development Environment (IDE). An IDE provides the basic platform of coding and debugging. In this experiment for implementing the composite transmitter in DSP, the IDE used is Code Composer Studio (CCS). CCS acts as a C compiler that compiles and executes program codes written in C programming languages [5]. It also provides emulation with the Digital Signal Processor. So, composite transmitter C source code is executed in CCS and thereby, output transmitted signals are captured in an oscilloscope. 2 IMPLEMETATIO OF THE COMPOSITE TRASMITTER In this section the details of the implementation the composite transmitter system in DSP processor is presented. As mentioned in the design section, the composite transmitter consists of four digital modulators with the modulation schemes of amplitude shift keying, frequency shift keying, phase shift keying and quadrature phase shift keying respectively. These four modulation schemes are used as algorithms for source codes written in C which are run on the DSK. The arrangements of the devices in implementation like connection between the DSK board and PC, connection between DSK and input function generator and output oscilloscope are mentioned in the following subsection. With these four components, a transmitter is developed which is Composite and Configurable. This transmitter consists of a composite modulator, which is built with a combination of four digital modulation schemes (BASK, BFSK, BPSK, QPSK). This composition is achieved by union of four modulation schemes [3], [4]. For this reason, this transmitter is named

International Journal of Scientific & Engineering Research, Volume 4, Issue 4, April-2013 263 We know a transmitter system consists of a input signal to be transmitted, a modulator that will modulate the input signal, a channel through which the modulated signal is transmitted, and a carrier that carries the signal. In this experiment, the analog input signal is taken from a function generator, which is a square wave signal with the amplitude 1V (approx.), the modulator is the C source code run on the DSK and the channel used is a wired channel of stereo cables.the modulation program is written in C. This program consists of four modules for four digital modulation schemes. It is run on DSK board using the software Code Composer Studio (CCS), as mentioned in the previous chapter. The composite transmitter source code is polling based program. A polling based program is a non interrupt driven program which continuously polls or tests whether or not data are ready to be received or transmitted, while the function comm_poll() calls the appropriate functions to initialize the DSK [5].The functions input_sample() and output_sample() are used to input and output data respectively. We know, an input signal to the DSK is analog. TLV320AIC23 (AIC23) Onboard Stereo CODEC converts this analog signal into digital signal using the process of sampling and quantization [5]. The input_sample() function returns samples of the input signal. This samples are compared with a threshold value 0, in order to generate the binary bit stream of 0s and 1s.Though the transmitter is composite, we cannot transmit all four modulated signal all together. But here a special mechanism is used to transmit a particular modulated signal at a time. This special mechanism is the use of the DSK DIP switches and LEDs [5]. As mentioned in the earlier chapter, there four DIP switches, these four DIP switches are used for transmission of four modulated signal, i.e., switch 0 for BASK signal, switch 1 for BFSK signal, switch 2 for BPSK signal and switch 3 for QPSK signal, as shown. oscilloscope. Some snapshots of the transmitted signals have been presented in the following Fig. 1. From the basic concepts of modulation, we know that a carrier signal is required to transmit the input signal. In this transmitter system, a sinusoidal carrier of frequency 8000 Hz and 1.6V (approx.) amplitude has been used for this purpose. In the program, sine tables are used for this carrier. These sine tables are generated as header file from a MATLAB M file [5]. The connectivity between the DSK and PC and between the DSK and function generator and oscilloscope is made for emulation and capturing output signals in oscilloscope. The DSK board TMS320C6713 consists of two input channels LIE I and MIC I and two output channels LIE OUT and MIC OUT. The input channel LIE I is connected to a function generator and output channel LIE OUT is connected to an Fig 1. Snapshots of the four transmitted signals taken from oscilloscope 3 Development of a Composite Modulation Algorithm The composite modulation algorithm is developed with the combination of four digital modulation schemes of BASK, BFSK, BPSK and QPSK respectively. The following flowcharts describes the composite modulation scheme along with individual modulation schemes of BASK and QPSK. The flowchart

International Journal of Scientific & Engineering Research, Volume 4, Issue 4, April-2013 264 of the Fig. 2 shows how the composite modulation program works. The program takes two inputs, one is sample values of the input square wave signal taken in variables buffer and buffer1, and another is the switch number of the pressed DIP switch. According to the switch number, one of the four modulation program module is selected. The selected program module generates the sample values of the modulated signal, which is taken as output. Fig 3. Flowchart of the BASK Modulation Scheme Fig 2. Flowchart of the Composite Modulation Scheme The following Fig. 3 is the flowchart of BASK modulation program module used in the composite modulation program. A carrier table containing 32 sample points of the cosine carrier signal is generated by using the equation (given in the flowchart) at phase = 0. As mentioned earlier, the binary bits are generated from the sample values of the input square wave signal. These binary bits are multiplied with the sample points of the carrier table to generate the sample value of the BASK modulated signal. The flowchart of the QPSK modulation program module of the composite modulation program is present in the following Fig. 4. In the composite modulation program flowchart, it have been shown that two sample values of the input square wave signal are taken as input to variables buffer and buffer1 respectively. The values of these two variables are used to generate an even and odd bit respectively, using the same logic for generating the binary bit mentioned in flowchart of BASK modulation program module (Fig. 3). These two bits are converted into bipolar bits of -1 or 1 and stored in the variables bipolar even bit and bipolar odd bit respectively. Then, the even bipolar bit is multiplied with the sample points of the cosine carrier table and odd bipolar bit is multiplied with the sample points of the sine carrier table. The two products obtained from the previous calculation, are added to get the sample value of the QPSK modulated signal. Fig 4. Flowchart of the QPSK Modulation Scheme

International Journal of Scientific & Engineering Research, Volume 4, Issue 4, April-2013 265 4 Performance Analysis with Signal to oise Ratio Signal-to-noise ratio (often abbreviated SR or S/) is a measure used in science and engineering that compares the level of a desired signal to the level of background noise. It is defined as the ratio of signal power to the noise power. oise levels in a digital system are expressed using SR, which is the ratio of E b/p n, the energy per bit per average noise power spectral density. MATLAB has been used as a tool for determining the SR and plotting of E b/p n graph. 4.1 Signal Power and Energy Suppose we have a signal x(n), where n is an index of the sample number. We define the instantaneous power of the signal as, P x 2 ( n) (1) ins In other words, the instantaneous power of a sample is just the value of that sample squared. Since the units of the sample are volts, the units of the power are watts. A far more useful quantity is the average power, which is simply the average of the instantaneous power of every sample in the signal. For signal x(n), of samples, we have: 1 2 P x ( n) (2) ave n 1 By definition, power is the time derivative of energy; or equivalently, energy is the time integral of power. For sampled signals, integration reduces to a summation. Since energy is the product of power and time, the total energy of a signal must be equal to its average power multiplied by its duration. Furthermore, the duration of a signal is its length in samples, divided by the sampling frequency, in samples per second. Therefore: Eb Pave. t (3) contain the modulated signal sample values at three different input signal frequency and carrier frequency of 8 KHz. From these samples 50 samples are taken for the calculation of E b. 4.2 oise In this calculation of signal to noise ratio, the transmitted signal is assumed to be perturbed by an additive, zero-mean, stationary, white, Gaussian noise, denoted by W(t). The reasons for this assumption are that it makes calculation traceable, and also it is reasonable description of the type of front end receiver noise present in many communication systems. Another assumption is made in this context that is the transmission channel is linear, with a bandwidth that is large enough to accommodate the transmission of the modulated signal.the average noise power P n is generally expressed as noise power spectral density of 0/2, where the constant 0 = kt f s (Boltzmann constant room temperature in Kelvin Sampling Frequency), whose value is 6.4 10-17 W/s, taking k= 1.38 10-23 J/ 0 K, t = 290 0 K and f s = 32000 Hz. 4.3 Results for performance analysis with signal to noise ratio By considering the assumptions specified in the previous subsection, the values of SR for each of the four modulated signals transmitted by the composite transmitter are as follows: Type of transmitted signal Signal Energy (P b) Average oise Power (P n) Signal to oise Ratio (P b/p n) BASK 67.09-161.94 229.03 BFSK 67.02-161.94 228.84 BPSK 66.89-161.94 228.82 QPSK 67.06-161.94 228.94 1 2 x ( n). f (4) n 1 s n 1 s 1 2 x ( n) f (5) In the DSP implementation of the composite transmitter the sampling rate used is 32 KHz. Twelve files are generated from the execution of the composite transmitter code. These files Table 1. Table for result of performance analysis with SR SR values obtained are significantly greater than zero, which reveals the fact that the effect of white noise on the modulated signal during transmission is almost negligible. The average SR value for four modulation schemes is 228 db, which is the maximum acceptable SR value for a modulated signal transmission in the presence of white noise. Moreover, the SR value less than zero reveals the fact the noise power is

International Journal of Scientific & Engineering Research, Volume 4, Issue 4, April-2013 266 greater than the signal power, which is not accepted for signal transmission. So, in this case the acceptable range of signal to noise ratio is from 0 to 228 db. From these results, a graph between E b and P n is plotted, as shown in the following diagram. [3] J.C. Pliatsikas, C. S. Koukourlis and J.. Sahalos, On the Combining of the Amplitude and Phase Modulation in the Same Signal, IEEE Transactions on Broadcasting, Vol. 51, o. 2, pp. 230-236, June 2005. [4] A. Karamakar, A. Sinha, A novel architecture of a reconfigurable radio processor for implementing different modulation schemes, 3rd IEEE Conf. on Computer Research and Developement (ICCRD), Shanghai, vol. 1, pp. 115-119, 2011. [5] Rulph Chassaing, Digital Signal processing and Applications with the C6713 AD C6416 DSK, Hoboken, J: John Wiley and Sons, 2005. Fig 5. Graph of Transmitted Signal Energy versus Average oise Power 4 COCLUSIO The idea of composition is utilized in the DSP based implementation of a composite transmitter. For this implementation, a single program containing four digital modulation schemes is executed in the DSK board; from which four modulated signals are generated. It is a very simple implementation compared to conventional methodology in which the transmitters are developed with analog circuitry. It is also a very cost effective as we have implemented four modulation schemes together into a single modulator on the same hardware platform using the switching facility of the DSK board and a software support tool. REFERECES [1] J. D. Oetting, A Comparison of Modulation Techniques for Digital Radio, IEEE Transactions on Communication, Vol. COM-27, o. 2, pp. 1752-1762, December 1979. [2] T. D. Memon, W. Ghangro, Dr. B. S. Chowdhry, A. A. Shaikh, Quadrature Phase Shift Keying Modulator & Demodulator for Wireless Modem, 2nd IEEE Conf. on Computer, Control and Communication, Karachi, pp. 1-6, 2009.