EL 6183 Week 3

EL 6183 Week 3 - EL 6183 EE 4163 EL Digital Signal...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: EL 6183 EE 4163 EL Digital Signal Processing Lab Digital EL 6183 / EE 4163 DIGITAL SIGNAL PROCESSING LAB LAB # 3 EL 6183 EE 4163 Digital Signal Processing Lab Digital DSP Applications 1. AM Modulator 2. Voice Scrambler using the exclusive OR 3. FSK modulator EL 6183 EE 4163 Digital Signal Processing Lab Digital Amplitude Modulation s (t ) = m(t ) A sin( 2πft ) y (t ) = A * (1 + m(t )) * sin( 2πft ) EL 6183 EE 4163 Digital Signal Processing Lab Digital Amplitude Modulation M(f) f - fmax S(f) fmax f -fo-fmax -fo -fo+fmax fo-fmax fo fo+fmax EL 6183 EE 4163 Digital Signal Processing Lab Digital Amplitude Modulation S(f) f -fo-fmax -fo -fo+fmax Y(f) fo-fmax fo fo+fmax f -fo-fmax -fo -fo+fmax fo-fmax fo fo+fmax EL 6183 EE 4163 Digital Signal Processing Lab Digital Encryption using Bitwise Operations Operator & | ^ ~ >> << Action AND OR Exclusive OR (XOR) One’s complement Shift right Shift left EL 6183 EE 4163 Digital Signal Processing Lab Digital Encryption Implementation Using XOR 1. Choose any number, of type integer, as the key of the encryption. 2. Input a sample 3. Perform the XOR operation between the input sample and the chosen number to encrypt that sample. 4. Send the encrypted sample to the speaker. 5. Go back to step 2 to encrypt another sample. EL 6183 EE 4163 Digital Signal Processing Lab Digital Frequency Shift Keying x(n) y(t) A.sin(2.p.f1.t) A.sin(2.p.f2.t) A sin(2πf 1t + θ 1) if the bit is "1" y (t ) = A sin(2πf 2t + θ 2) if the bit is "0" EL 6183 EE 4163 Digital Signal Processing Lab Digital Frequency Shift Keying 1. Declare a constant variable of type integer 2. Generate a sinusoidal signal of frequency f1 or f2 3. The output signal must last as long as a bit 4. Right Shift the constant 5. Go back to step 2 EL 6183 EE 4163 Digital Signal Processing Lab Digital Monday 10/05/09 Exam No 1 on Lab # 1 and # 2 Open Books Open Lab Report for Lab #2 Homework #1 on lab #3. ...
View Full Document

Ask a homework question - tutors are online