Professional Documents
Culture Documents
PRESENTED BY:
B. Madhavi,
U. Anusha,
ECE Branch ECE Branch,
e-mail: anusha_8659@yahoo.co.in
madhaviskyshot@yahoo.co.in
Digital signal is a numerical representation of the analog signal. It may be easier and more cost
effective to process these signals in the digital world. One of the main advantages of digital signal is
that it can be stored and manipulated easily. To do this several processes are in use. Of these,
Digital Signal Processor plays a leading role.This is used in various applications like
instrumentation & measurement, communications , audio & video processing ,graphics , image
enhancement , navigation , radars ,control-robotics, machine vision ,guidance etc.
The objective is to encrypt the speech signal. That is to convert the speech signal into an unknown
form and then the scrambled speech signal is transmitted. The person who know, how the speech signal
is encrypted can decrypt (i.e.,converting the scrambled speech signal into original signal) the signal.
Thus security of sending speech message is done.
For encryption and decryption of the signal, we develop a software program in assembly language
programming techniques of ADSP 2181. In this paper, encryption and decryption of the speech
signal is done using the Digital Signal Processor ADSP 2181.
CONTENTS
1. INTRODUCTION
2. DIGITAL SIGNAL PROCESSING
3. DIGITAL SIGNAL PROCESSOR
4. ADVANTAGES
5. ENCRYPTION & DECRYPTION
6. CONCLUSION
7. REFERENCES
INTRODUCTION:
In recent trends, cell phone, voice chat, etc., is the main topic of the communication. But it is not
possible to speak secretly through them. Our objective is to speak secretly, i.e., to maintain security of
certain important information. So for that we are going for a technology using digital signal processor.
Our paper also deals with storing and retrieval of speech signal using digital signal processor. We
have used ADSP processor 2181. This is 16 bit fixed point processor.
Here the voice signals is acquired and then digitally coded and stored in the memory of processor.
Using FFT (Fast Fourier Transform) and IFFT (Inverse Fast Fourier Transform) techniques, speech
signal is scrambled. Then it is decoded to obtain the same speech signal and now the original speech is
confused. Then it is transmitted using transmitter. The coding and decoding is done with CODEC.
In the receiver side, if the receiver knows how the speech signal is scrambled, then the receiver would
descramble the scrambled signal and get the original speech signal. The programming is done on the
assembly language of the ADSP 2181 processor
RS 232 UART
From PC
MIC
CLOCK ADSP-2181 CODEC
24.576Mhz speaker
OFFLINE PROCESSING:
In this processing, the entire input signal resides in the computer at the time of manipulation, for
example, in medical imaging such as tomography, the data is acquired while the patient is inside the
machine, but the image reconstruction may be delayed until a later time. The key point is all the
information is simultaneously available to the processing program.
CIRCULAR BUFFER :
To calculate the output sample, we must have access to a certain number of the most recent samples
from the input. Let a0,a1,…,a7 be the value of the 8 most recent samples from the input signal. These 8
samples must be stored in memory and x[n],x[n-1],…,x[n-7] continually updated as new samples are
acquired.
The best way to manage the stored samples is circular buffering.
SPEECH ENCRYPTION :
BLING
SPEECH DECRYPTION :
DESCRA-
ADC FFT IFFT DAC
MBLING
GRAPHICAL REPRESENTATION:
SPEECH SIGNAL SCRAMBLED SIGNAL
FLOW CHART:
START
FFT
Scrambling and
descrambling
IFFT
Output to
CODEC
Return
ALGORITHM :
ENCRYPTION :
1) First the speech signal (analog signal) is converted into digital signal by passing through the CODEC.
Now the signal is in time domain and it is sent to the ADSP 2181 processor.
2) By running 128-point FFT algorithm using computer (system is connected to the processor) on ADSP
2181, the signal which is in time domain is converted into frequency domain. Now the signal is sampled
into 128 samples and it is stored in the processor memory.
3) By doing assembly language program on ADSP 2181, first 64 samples are displaced into next 64
samples position and vice versa. This is called scrambling.
4) Now the original signal is scrambled and by doing IFFT algorithm on ADSP 2181, the scrambled signal,
which is in frequency domain, is converted into time domain.
5)By CODEC scrambled signal which is a digital signal is converted into analog signal and then it is
transmitted.
DECRYPTION :
Received signal (scrambled signal) is converted into digital signal by CODEC and it is sent to the
processor.
By 128-point FFT algorithm, the signal in time domain is converted into frequency domain as done in
the encryption part.
1)
2) By doing assembly language program on ADSP 2181, the displaced 64 samples are placed to its original
position. This is called descrambling.
3) Now the scrambled signal is descrambled and we get the original signal.
4) By doing IFFT, the original signal, which is in frequency domain, is converted into time domain and by
CODEC we get original analog signal (speech signal).
The assembly language program was executed for the speech signal and the output was
checked. Encryption and Decryption is highly realized.
We have stored the speech signal in the memory in encoded form. We decode the same to
get the analog output. For coding and decoding, CODEC is used.
CONCLUSION :
We can use this technique in military for sending secret messages. We can use this
technique wherever we want security. What we have done is storing the speech signal for a period of few
milli seconds. This can be increased if we extend the memory size and select that through a decoding
switch.
REFERENCES :
Sanjit K. Mitra, “Digital signal processing”
Alan V.Oppenheiim and Allan Willsky, “Signals and Systems”
P.Ramesbabu , “Digital signal processing”
“ADSP-218X DSP Instruction Set Reference”
WEBSITES:
www.analogdevice.com
www.DSPguide.com