Professional Documents
Culture Documents
III YEAR
PREPARED BY
ARIVASANTH.M, Assistant Professor.
III YEAR
Preface
This laboratory manual is prepared by the Department of Electronics and communication engineering for Communication System Laboratory (EC 2307). This lab manual can be used as instructional book for students, staff and instructors to assist in performing and understanding the experiments. In this manual, experiments as per syllabus are described This manual will be available in electronic form from Colleges official website, for the betterment of students.
Acknowledgement
We would like to express our profound gratitude and deep regards to the support offered by the Chairman Shri. A.Srinivasan. We also take this opportunity to express a deep sense of gratitude to our Principal Dr.B.Karthikeyan,M.E, Ph.D, for his valuable information and guidance, which helped us in completing this task through various stages. We extend our hearty thanks to our head of the department Prof.B.Revathi M.E, (Ph.D), for her constant encouragement and constructive comments. Finally the valuable comments from fellow faculty and assistance provided by the department are highly acknowledged.
III YEAR
S.No
TOPIC
PAGE NO 4 5 11 17 21 25 29 34 38 42 46 50 54 62
1. SYLLABUS 2. EXPERIMENTS AM MODULATION AND DEMODULATION 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 FREQUENCY MODULATION AND DEMODULATION PULSE AMPLITUDE MODULATION PULSE WIDTH MODULATION PULSE POSITION MODULATION GENERATION AND DETECTION OF PCM SIGNAL DELTA MODULATION GENERATION AND DETECTION OF ASK GENERATION AND DETECTION OF FSK GENERATION AND DETECTION OF PSK GENERATION AND DETECTION OF QPSK LINE CODING AND DECODING TECHNIQUES SAMPLING AND TIME DIVISION MULTIPLEXING PHASE LOCKED LOOP PRE-EMPHASIS / DE-EMPHASIS FREQUENCY DIVISION MULTIPLEXING ERROR CONTROL CODING USING MATLAB DESIGN OF ASK, PSK, QPSK, FSK USING MATLAB
68 71 76 79 84
III YEAR
SYLLABUS
EC2307 COMMUNICATION SYSTEMLABORATORY
LIST OF EXPERIMENTS
1. Amplitude modulation and Demodulation. 2. Frequency Modulation and Demodulation 3. Pulse Modulation PAM / PWM / PPM 4. Pulse Code Modulation 5. Delta Modulation, Adaptive Delta Modulation. 6. Digital Modulation & Demodulation ASK, PSK, QPSK, FSK (Hardware & MATLAB) 7. Designing, Assembling and Testing of Pre-Emphasis / De-emphasis Circuits. 8. PLL and Frequency Synthesizer 9. Line Coding 10. Error Control Coding using MATLAB. 11. Sampling & Time Division Multiplexing. 12. Frequency Division Multiplexing
III YEAR
Exp-No:1 Date:
THEORY: AMPLITUDE MODULATION: Amplitude Modulation is a process by which amplitude of the carrier signal is varied in accordance with the instantaneous value of the modulating signal, but frequency and phase of carrier wave remains constant. The modulating and carrier signal are given by Vm(t) = Vm sinmt VC(t) = VC sinCt The modulation index is given by, ma = Vm / VC. Vm = Vmax Vmin and VC = Vmax + Vmin The amplitude of the modulated signal is given by, VAM(t) = VC (1+ma sinmt) sinCt Where Vm = maximum amplitude of modulating signal VC = maximum amplitude of carrier signal Vmax = maximum variation of AM signal Vmin = minimum variation of AM signal 5
III YEAR
PROCEDURE:
1. 2. 3. 4.
The circuit wiring is done as shown in diagram A modulating signal input given to the Amplitude modulator Now increase the amplitude of the modulating signal to the required level. The amplitude and the time duration of the modulating signal are observed using CRO. 5. Finally the amplitude modulated output is observed from the output of amplitude modulator stage and the amplitude and time duration of the AM wave are noted down. 6. Calculate the modulation index by using the formula and verify them. The final demodulated signal is viewed using an CRO at the output of audio power amplifier stage. Also the amplitude and time duration of the demodulated wave are noted down.
III YEAR
III YEAR
AM RECEIVER
III YEAR
TABULATION: Waveform Message Carrier modulated Demodulated Amplitude (V) Time Period (msec) Frequency
time
AM signal Vmc
time 9
III YEAR
VIVA QUESTION 1. 2. 3. 4. 5. Define modulation index of an AM signal Draw the phasor diagram of AM signal. As related to AM, what is over modulation, under modulation and 100% modulation? What are the types of AM signals? What are the different types of AM generation?
RESULT Thus the AM signal was transmitted using AM trainer kit and the AM signal detected using AM detector kit. 10
III YEAR
Exp-No: 02 Date:
THEORY: Frequency modulation (FM) is a form of modulation that represents information as variations in the instantaneous frequency of a carrier wave. (Contrast this with amplitude modulation, in which the amplitude of the carrier is varied while its frequency remains constant.) In analog applications, the carrier frequency is varied in direct proportion to changes in the amplitude of an input signal. Shifting the carrier frequency among a set of discrete values can represent digital data, a technique known as frequency-shift keying. FM is commonly used at VHF radio frequencies for high-fidelity broadcasts of music and speech (see FM broadcasting). Normal (analog) TV sound is also broadcast using FM. A narrowband form is used for voice communications in commercial and amateur radio settings. The type of FM used in broadcast is generally called wide-FM, or W-FM. In two-way radio, narrowband narrow-fm (N-FM) is used to conserve bandwidth. In addition, it is used to send signals into space. FM is also used at intermediate frequencies by most analog VCR systems, including VHS, to record the luminance (black and white) portion of the video signal. FM is the only feasible method of recording video to and retrieving video from magnetic tape without extreme distortion, as video signals have a very large range of frequency components from a few hertz to several megahertz, too wide for equalizers to work with due to electronic noise below -60 dB. FM also keeps the tape at saturation level, and therefore acts as a form of noise reduction, and a simple limiter can mask variations in the playback output, and the FM capture effect removes print-through and pre-echo. A continuous pilot-tone, if added to the signal as was done on V2000 and many Hi-band formats can keep mechanical jitter under control and assist time base correction.
11
III YEAR
PROCEDURE:
1. 2. 3. 4.
The circuit wiring is done as shown in diagram A modulating signal input given to the Frequency modulator Now increase the modulated signal to the required level. The amplitude and the time duration of the modulating signal are observed using CRO. 5. Finally the frequency modulated output is observed from the output of frequency modulator stage and the amplitude and time duration of the FM wave are noted down.
12
III YEAR
13
III YEAR
FM RECEIVER
14
III YEAR
MODEL GRAPH
TABULATION: Waveform Message Carrier modulated Demodulated Amplitude (V) Time Period (msec) Frequency
15
III YEAR
VIVA QUESTION 1. 2. 3. 4. 5. Define frequency deviation in FM? Draw the phasor diagram of FM signal. What are the different types of FM generation? What do you mean by narrowband and wideband FM? What are the advantages of FM.?
RESULT Thus the FM signal was transmitted using FM trainer kit and the FM signal detected using FM detector kit.
16
III YEAR
Exp-No: 3 Date:
PROCEDURE 1. The circuit wiring is done as shown in diagram 2. A modulating signal input and clock signal is given to the PAM modulator 3. The amplitude and the time duration of the modulating signal are observed using CRO. 4. Finally the PAM output is observed from the output of PAM modulator stage and the amplitude and time duration of the PAM wave are noted down. 5. PAM signal is applied to the filter circuit for demodulation process. 6. After demodulation the original signal is recovered.
17
III YEAR
KIT DIAGRAM
18
III YEAR
MODEL GRAPH
TABULAR COLUMN
S.No 1 2 3
Amplitude in V
Frequency in Hz
19
III YEAR
VIVA QUESTIONS: 1. 2. 3. 4. 5. What is PAM? Differentate with PAM and PCM. Write the application of PAM. Draw the PAM signal. Write the time period equation of PAM
RESULT Thus the PAM signal was generated using PAM modulator.
20
III YEAR
Exp-No: 04 Date:
THEORY Pulse width modulation is defined as an analog modulation technique in which the width of each pulse is made proportional to the instantaneous amplitude of the signal at the sampling instant. Pulse Width modulator circuit shown is basically a monostable multivibrator with a modulating input signal applied at pin-5. By the application of continuous trigger at pin-2, a series of output pulses are obtained, the duration of which depends on the modulating input at pin-5. The modulating signal applied at pin-5 gets superimposed upon the already existing voltage (2/3) Vcc at the inverting input terminal of UC. This in turn changes the threshold level of the UC and the output pulse width modulation takes place. The modulating signal and the output waveform are drawn in fig. It may be noted from the output waveform that the pulse duration, that is, the duty cycle only varies, keeping the frequency same as that of the continuous input pulse train trigger. PROCEDURE 1. The circuit wiring is done as shown in diagram 2. A modulating signal is given to the PWM modulator 3. The amplitude and the time duration of the modulating signal are observed using CRO. 4. Finally the PWM output is observed from the output of PWM modulator stage and the amplitude and time duration of the PWM wave are noted down. 5. PWM signal is applied to the filter circuit for demodulation process. 6. After demodulation the original signal is recovered. 21
III YEAR
KIT DIAGRAM
22
III YEAR
MODEL GRAPH
TABULAR COLUMN S.No 1 2 3 Name of the signal Modulating Signal Carrier Signal Modulated Signal Amplitude in V Time period in Sec Frequency in Hz
23
III YEAR
VIVA QUESTION 1. 2. 3. 4. 5. What is PWM? How is the carrier generated in the above circuit? What is the mode of operation in the above circuit? Mention the power flow in PWM circuit. Differentiate PWM and PPM.
RESULT Thus the Pulse Width Modulation signal was generated using PWM modulator. 24
III YEAR
Exp-No: 05 Date:
25
III YEAR
KIT DIAGRAM
26
III YEAR
MODEL GRAPH
TABULAR COLUMN S.No Name of the signal 1 2 3 Modulating Signal Carrier Signal Modulated Signal
Amplitude in V
Frequency in Hz
27
III YEAR
VIVA QUESTION 1. 2. 3. 4. 5. What is PPM? How is the carrier generated in the above circuit? What is the mode of operation in the above circuit? Mention the power flow in PPM circuit. Differentiate PAM and PPM.
RESULT Thus the Pulse Position Modulation signal was generated using PPM modulator.
28
III YEAR
Exp-No: 06 Date:
APPARATUS REQUIRED PCM kit, CRO and connecting probes THEORY Pulse code modulation is a process of converting an analog signal into digital. The voice or any data input is first sampled using a sampler (which is a simple switch) and then quantized. Quantization is the process of converting a given signal amplitude to an equivalent binary number with fixed number of bits. This quantization can be either midtread or mid-raise and it can be uniform or non-uniform based on the requirements. For example in speech signals, the higher amplitudes will be less frequent than the low amplitudes. So higher amplitudes are given less step size than the lower amplitudes and thus quantization is performed non-uniformly. After quantization the signal is digital and the bits are passed through a parallel to serial converter and then launched into the channel serially. At the demodulator the received bits are first converted into parallel frames and each frame is de-quantized to an equivalent analog value. This analog value is thus equivalent to a sampler output. This is the demodulated signal. In the kit this is implemented differently. The analog signal is passed trough a ADC (Analog to Digital Converter) and then the digital codeword is passed through a parallel to serial converter block. This is modulated PCM. This is taken by the Serial to Parallel converter and then through a DAC to get the demodulated signal. The clock is given to all these blocks for synchronization. The input signal can be either DC or AC according to the kit. The waveforms can be observed on a CRO for DC without problem. AC also can be observed but with poor resolution.
29
III YEAR
PROCEDURE 1. Power on the PCM kit. 2. Measure the frequency of sampling clock. 3. Apply the DC voltage as modulating signal. 4. Connect the DC input to the ADC and measure the voltage. 5. Connect the clock to the timing and control circuit. 6. Note the binary work from LED display. The serial data through the channel can be observed in the CRO. 7. Also observe the binary word at the receiver end. 8. Now apply the AC modulating signal at the input. 9. Observe the waveform at the output of DAC. 10. Note the amplitude of the input voltage and the codeword. Also note the value of the output voltage. Show the codeword graphically for a DC input.
30
III YEAR
KIT DIADRAM
31
III YEAR
MODEL GRAPH
TABULAR COLUMN
S.No 1 2 3 4
Name of the signal Modulating Signal Carrier Signal Modulated Signal Demodulated Signal
Amplitude in V
Frequency in Hz
32
III YEAR
VIVA QUESTIONS: 1. What is the expression for transmission bandwidth in a PCM system? 2. What is the expression for quantization noise /error in PCM system? 3. What are the applications of PCM? 4. What are the advantages of the PCM? 5. What are the disadvantages of PCM?
RESULT Thus the PCM signal was generated using PCM modulator and the message signal was detected from PCM signal by using PCM demodulator. 33
III YEAR
Exp-No: 07 Date:
DELTA MODULATION
AIM To transmit an analog message signal in its digital form and again reconstruct back the original analog message signal at receiver by using Delta modulator. APPARATUS REQUIRED DM kit, CRO and connecting probes THEORY Delta modulation is the DPCM technique of converting an analog message signal to a digital sequence. The difference signal between two successive samples is encoded into a single bit code. The block and kit diagrams show the circuitry details of the modulation technique. A present sample of the analog signal m(t) is compared with a previous sample and the difference output is level shifted, i.e. a positive level (corresponding to bit 1) is given if difference is positive and negative level (corresponding to bit 0) if it is negative. The comparison of samples is accomplished by converting the digital to analog form and then comparing with the present sample. This is done using an Up counter and DAC as shown in block diagram. The delta modulated signal is given to up counter and then a DAC and the analog input is given to OPAMP and a LPF to obtain the demodulated output. PROCEDURE 1. Switch on the kit. Connect the clock signal and the modulating input signal to the modulator block. Observe the modulated signal in the CRO. 2. Connect the DM output to the demodulator circuit. Observe the demodulator output on the CRO. 3. Also observe the DAC output on the CRO. 4. Change the amplitude of the modulating signal and observe the DAC output. Notice the slope overload distortion. Keep the tuning knob so that the distortion is gone. Note this value of the amplitude. This is the minimum required value of the amplitude to overcome slope overload distortion. 5. Calculate the sampling frequency required for no slope overload distortion. Compare the calculated and measured values of the sampling frequency.
34
III YEAR
KIT DIAGRAM
35
III YEAR
MODEL GRAPH
TABULAR COLUMN S.No Name of the signal 1 2 3 4 Modulating Signal Carrier Signal Modulated Signal Demodulated Signal
Amplitude in V
Frequency in Hz
36
III YEAR
VIVA QUESTIONS: 1. What are the advantages of Delta modulator? 2. What are the disadvantages of delta modulator? 3. How to overcome slope overload distortion? 4. How to overcome Granular or ideal noise? 5. What are the differences between PCM & DM? 6. Define about slope over load distortion? 7. What is the other name of Granular noise? 8. What is meant by staircase approximation? 9. What are the disadvantages of Delta modulator? 10. Write the equation for error at present sample?
RESULT Thus the analog message signal in its digital form was transmitted and again the original analog message signal was reconstructed at receiver by using Delta modulator and Demodulator. 37
III YEAR
Exp-No: 8 Date:
THEORY ASK or ON-OFF key is the simplest digital modulation technique. In this method there is only one unit energy carrier it is switched ON/OFF depending upon the input binary sequence to transmit symbol 0 & 1. No pulse is transmitted output contains some complete no of cycle of carrier frequency. The disadvantage of ASK is the modulated carrier signal is not continuously transmitted. The peak power requirement is also high. The bit error probability rate is also not required in this technique.
PROCEDURE 1. Make connections as shown in the diagram. 2. Set the input signal and carrier signal. 3. Obtain ASK signal 4. Measure the amplitude and frequency 5. Obtain the demodulated output.
38
III YEAR
KIT DIAGRAM
39
III YEAR
MODEL GRAPHH
TABULAR COLUMN S.No Name of the signal 1 2 3 4 Modulating Signal Carrier Signal Modulated Signal Demodulated Signal
Amplitude in V
Frequency in Hz
40
III YEAR
VIVA QUESTIONS: 1. What is the difference between PSK&ASK? 2. What is the band width requirement of a ASK? 3. Explain the operation of ASK detection? 4. What are the advantages of APSK? 5. What is meant by ASK?
RESULT Thus the Amplitude Shift Keying signal was generated and the message signal was reconstructed
41
III YEAR
Exp-No: 9 Date:
42
III YEAR
KIT DIAGRAM
43
III YEAR
MODEL GRAPH
TABULAR COLUMN S.No Name of the signal 1 2 3 4 5 Modulating Signal Carrier Signal 1 Carrier Signal 2 Modulated Signal Demodulated Signal
Amplitude in V
Frequency in Hz
44
III YEAR
VIVA QUESTIONS: 1. Define Binary FSK signal? 2. What is meant by carrier swing? 3. Define Frequency deviation of FSK signal? 4. What are the advantages of this FSK signal? 5. Give the differences between FSK & FM?
RESULT
Thus the Frequency Shift Keying signal wag generated using FSK modulator and the message signal was detected from FSK signal using FSK detector. 45
III YEAR
Exp-No: 10 Date:
PROCEDURE 1. Make connections as shown in the diagram. 2. Set the input signal and carrier signal. 3. Obtain PSK signal 4. Measure the output data and draw the graph. 5. Obtain the demodulated output.
46
III YEAR
KIT DIAGRAM
47
III YEAR
MODEL GRAPH
TABULAR COLUMN
S.No 1 2 3 4
Name of the signal Modulating Signal Carrier Signal Modulated Signal Demodulated Signal
Amplitude in V
Frequency in Hz
48
III YEAR
VIVA QUESTIONS: 1. What is the bandwidth requirement of BPSK? 2. What is the expression for error probability of BPSK reception using coherent matched filter detection? 3. What are the draw backs of BPSK? 4. Draw the Power spectral density of BPSK? 5. What are the major differences between DPSK&BPSK? 6. What are the advantages of BPSK over a PSK signal?
RESULT Thus the Phase Shift Keying signal wag generated using PSK modulator and the message signal was detected from PSK signal using PSK detector. 49
III YEAR
Exp-No: 11 Date:
50
III YEAR
KIT DIAGRAM
51
III YEAR
MODEL GRAPH
TABULAR COLUMN
S.No 1 2 3 4
Name of the signal Modulating Signal Carrier Signal Modulated Signal Demodulated Signal
Amplitude in V
Frequency in Hz
52
III YEAR
VIVA QUESTIONS: 1. What is the difference between PSK&QPSK? 2. What is the band width requirement of a QPSK? 3. Explain the operation of QPSK detection? 4. What are the advantages of QPSK? 5. What is meant by differential encoding?
RESULT Thus the Quadrature Phase Shift Keying signal wag generated using QPSK modulator and the message signal was detected from QPSK signal using QPSK detector.
53
III YEAR
Exp-No: 12 Date:
III YEAR
A drawback of unipolar (RZ and NRZ) is that its average value is not zero, which means it creates a significant DC-component at the receiver (see the impulse at zero frequency in the corresponding power spectral density (PSD) of this line code
The disadvantage of unipolar RZ compared to unipolar NRZ is that each rectangular pulse in RZ is only half the length of NRZ pulse. This means that unipolar RZ requires twice the bandwidth of the NRZ code. Polar (Polar NRZ and Polar RZ): In Polar NRZ line coding binary 1s are represented by a pulse p(t) and binary 0s are represented by the negative of this pulse -p(t) (e.g., -5V). Polar (NRZ and RZ) signals .Using the assumption that in a regular bit stream a logic 0 is just as likely as a logic 1,polar signals (whether RZ or NRZ) have the advantage that the resulting Dccomponent is very close to zero.
55
III YEAR
The rms value of polar signals is bigger than unipolar signals, which means that polar signals have more power than unipolar signals, and hence have better SNR at the receiver. Actually, polar NRZ signals have more power compared to polar RZ signals. The drawback of polar NRZ, however, is that it lacks clock information especially when a long sequence of 0s or 1s is transmitted. Non-Return-to-Zero, Inverted (NRZI): NRZI is a variant of Polar NRZ. In NRZI there are two possible pulses, p(t) and p(t). A transition from one pulse to the other happens if the bit being transmitted is a logic 1, and no transition happens if the bit being transmitted is a logic 0.
This is the code used on compact discs (CD), USB ports, and on fiber-based Fast Ethernet at 100-Mbit/s .
56
III YEAR
MANCHESTER ENCODING: In Manchester code each bit of data is signified by at least one transition. Manchester encoding is therefore considered to be self-clocking, which means that accurate clock recovery from a data stream is possible. In addition, the DC component of the encoded signal is zero. Although transitions allow the signal to be self-clocking, it carries significant overhead as there is a need for essentially twice the bandwidth of a simple NRZ or NRZI encoding
Unipolar most of signal power is centered around origin and there is waste of power due to DC component that is present. Polar format most of signal power is centered around origin and they are simple to implement. Bipolar format does not have DC component and does not demand more bandwidth, but power requirement is double than other formats. Manchester format does not have DC component but provides proper clocking.
57
III YEAR
PROCEDURE 1. Connect the PRBS (test point P5) to various line coding formats. Obtain the coded output as per the requirement. 2. Connect coded signal test point to corresponding decoding test point as inputs. 3. Set the SW1 as per the requirement. 4. Set the potentiometer P1 in minimum position. 5. Switch ON the power supply. Press the switch SW2 once. 6. Display the encoded signal on one channel of CRO and decoded signal on second channel of CRO.
58
III YEAR
KIT DIAGRAM
59
III YEAR
MODEL GRAPH
TABULAR COLUMN
S.No 1 2 3 4
Name of the signal Modulating Signal Carrier Signal Modulated Signal Demodulated Signal
Amplitude in V
Frequency in Hz
60
III YEAR
VIVA QUESTION 1. 2. 3. 4. 5. State NRZ unipolar format State NRZ polar format. State NRZ bipolar format. Define data Signalling Rate. Define modulation rate.
61
III YEAR
AIM: To study the process of sampling and time division multiplexing of four signals using pulse amplitude modulation and De-modulation and to reconstruct the signals at the receiver using filters. APPARATUS REQUIRED: 1. Sampling and TDM Communication trainer kit: 2. Multi Output Power Supply. 3. Patch cords. 4. CRO (60MHz) THEORY The Sample and Hold circuit uses two buffers to keep a voltage level stored in a capacitor. Sample will charge the capacitor to the present signal level, while the input buffer ensures the signal won't be changed by the charging process. From there, the output buffer will make sure that the voltage level across the storage cap won't decrease over time. Sclear will short out the storage cap, discharging it and setting the output to 0V.In actual practice, the switches used are various forms of transistor switch, which provides cleaner switching and also allows another circuit to control the sample and clearing operations. Excellent Sample and Hold circuits like the LF398 are available on a single chip for cheap and easy use. Sample and Hold circuits are used internally in Analog to Digital conversion. We might also use them to hold a given signal value from any particular sensor on a robot, for analysis and later use. In TDM, by interleaving samples of several source waveforms in time, it is possible to transmit enough information to a receiver, via only one channel to recover all message waveforms. The conceptual implementation of the time multiplexing of N similar messages fn(t) where n= 1,2,3,..N is illustrated in fig 1. the time allocated to one sample of one message is called time slot. The time intervals over which all message signals are sampled atleast once is
62
III YEAR
called a Frame. The portion of the time slot not used by the system may be allocated to other functions like signaling, monitoring, synchronization, etc. The four channels CH0, CH1, CH2, and CH3 are multiplexed on a single line TXD with the aid of a electronic switch CD 4016. The CD 4016 latches one of the four inputs I0-I3 depending on the control inputs C0, C1, C2, C3 which are generated by a 2: 4 line decoder. The decoder, depending on the A0 and A1, which start from 00 to 11, generates 0000 to 0011 on the output lines Y0, Y1, Y2 and Y3. On receiving the control signals, the CD4016 latches the first information signal I0 on the first count 0000. In the next clock, the control inputs change their state to 0001 and the input II is latched to the output on the same line. Similarly, all the information signals are multiplexed without any interference on the line PROCEDURE: The sample and hold circuit is assembled with the desired components. The input signal is given to the circuit from the function generator. The amplitude of the input signal should not exceed 10 volts. The frequency of the input signal is set to 600 Hz. The frequency of the sample signal is set to 5600 Hz. The next sample available is zero order holding device, integrate the signal between consequence sampling inputs.
63
III YEAR
64
III YEAR
TDM
65
III YEAR
66
III YEAR
VIVA QUESTIONS: 1. What is meant by multiplexing technique and what are the different types of Multiplexers? 2. Briefly explain about TDM&FDM? 3. What is the transmission band width of a PAM/TDM signal? 4. Define crosstalk effect in PAM/TDM system? 5. What are the advantages of TDM system? 6. What are major differences between TDM&FDM? 7. Give the value of Ts in TDM system? 8. What are the applications of TDM system and give some example? 9. What is meant by signal overlapping? 10. Which type of modulation technique will be used in TDM?
RESULT Thus the sampling process was studied and the different types of signals are multiplexed using TDM Technique.
67
III YEAR
Exp-No:14 Date:
68
III YEAR
CIRCUIT DIAGRAM
69
III YEAR
VIVA QUESTIONS: 1.What is VCO? 2.Define Lock range,Capture range. 3.What are the applications of PLL? 4.Define PLL. 5.What is frequency synthesizer?
RESULT: Thus the PLL characteristics are studied Theoretical Lock range fL= Practical Lock range fL=
70
III YEAR
Exp-No:15 Date:
PRE-EMPHASIS / DE-EMPHASIS
AIM: Design and conduct an experiment to test a pre-emphasis and de-emphasis circuit for 75Ps between 2.1KHz to 15KHz and record the results. APPARATUS REQUIRED: IC 741, Capacitors, Resistors, CRO, Bread Board, Power supply Connecting Wires
PROCEDURE: 1. Connections are made as shown in the circuit diagram. 2. Apply a sine wave of 5Vpp amplitude, vary the frequency and note down the gain of the circuit. 3. Plot a graph of normalized gain Vs frequency. DESIGN 1. Pre-emphasis circuit. Given f1 = 2.1 KHz, f2 = 15KHz. f1 = 1/2SrC, f2 = 1/2SRC Choose C = 0.1Pf then r = 820 and R = 100. Also r/R = Rf/R1, then R1 = 2.2K and Rf = 15K. 2. De-emphasis circuit. fC = 1/2SRdCd. Choose Cd = 0.1Pf and fC = f1 = 2.1KHz Then Rd = 820.
71
III YEAR
DE-EMPHASIS
72
III YEAR
MODEL GRAPH
73
III YEAR
TABULATION: PRE-EMPHASIS:
Vi= Frequency(Hz) VO Gain= VO/ Vi Gain in dB
DE-EMPHASIS:
Vi= Frequency(Hz) VO Gain= VO/ Vi Gain in dB
74
III YEAR
VIVA QUESTIONS: 1.What is advantage of FM over Am? 2.Define Pre-emphasis and De-emphasis. 3.Define capture effect. 4.What are the types of FM? 5.Define transmission efficiency.
RESULT: Thus the Pre-Emphasis and De-Emphasis circuit was designed and analysed using IC741.
75
III YEAR
Exp-No:16 Date:
FREQUENCY DIVISION MULTIPLEXING AIM: To study the concept of frequency division multiplexing. APPARATUS REQUIRED: FDM Trainer kit, Patch Chords, CRO
76
III YEAR
77
III YEAR
78
III YEAR
Exp-No:17 Date:
79
III YEAR
PROGRAM: clc; clear all; close all; k=input('Number of message bits'); n=input('Number of coded bits'); P=[1 1 1;0 1 1;1 0 1;1 1 0] G=[eye(k) P] for i=1:2^k str=dec2base(i-1,2,4); for j=1:k m(i,j)=str(j); end end for i=1:(2^k) for r=1:n o=0; for j=1:k o=o+(m(i,j)*G(j,r)); end c(i,r)=mod(o,2); end end e=zeros(n,n) for i=1:n 80
III YEAR
e(i,i)=1; end % Syndrome Table H=[P' eye(n-k)]; H1=H'; for i=1:n for r=1:n-k o=0; for j=1:n o=o+(e(i,j)*H1(j,r)); end er(i,r)=mod(o,2); end end for i=1:n rec1=c(2^k,i)+e(1,i); rec(1,i)=mod(rec1,2); end for i=1:1 for r=1:n-k o=0; for j=1:n o=o+(rec(i,j)*H1(j,r)); end sy(i,r)=mod(o,2); 81
III YEAR
end end i=1; j=1; while sy(1,j)==er(i,j)&&sy(1,j+1)==er(i,j+1)&&sy(1,j+2)==er(i,j+2) rec_er=e(i,:); i=i+1; end rec_er %Error Corrected Message for i=1:n Det=rec(1,i)+rec_er(1,i); det_rec(1,i)=mod(Det,2); end det_rec
82
III YEAR
RESULT: Thus the error control coding techniques are executed using MATLAB programs.
83
III YEAR
Exp-No:18 Date:
DESIGN OF ASK, PSK, QPSK, FSK USING MATLAB AIM: To write a program in MATLAB for design of ASK,PSK,QPSK and FSK.
PROGRAM: ASK: clc clear all; close all; N=10; x=randint(1,N); k=1; for t=0.01:0.01:10 c(k)=sin(2*pi*t); k=k+1; end for j=1:1:N if x(j)==0 for i=(j-1)*100+1:1:j*100 y(i)=0; tr(i)=0; end end if x(j)==1 for i=(j-1)*100+1:1:j*100 y(i)=1; tr(i)=c(i); end end end for i=1:1:1000 re(i)=tr(i)*c(i); end for j=1:1:N 84
III YEAR
d=0; for i=(j-1)*100+1:1:j*100 d=d+re(i) end if d>0.5 det(j)=1; else det(j)=0; end end for j=1:1:N if det(j)==0 for i=(j-1)*100+1:1:j*100 det(i)=0; end end if x(j)==1 for i=(j-1)*100+1:1:j*100 det(i)=1; end end end subplot(5,1,1); plot(y); title('message Signal'); subplot(5,1,2); plot(c); title('Carrier Signal'); subplot(5,1,3); plot(tr); title('Transmitted Signal'); subplot(5,1,4); plot(re); title('Received Signal'); subplot(5,1,5); plot(det); title('Detected Signal');
85
III YEAR
FSK clc clear all close all N=10; x=randint(1,N); k=1; for t=0.01:0.01:10 c1(k)=sin(2*pi*t); c2(k)=sin(4*pi*t); k=k+1; end for j=1:1:N; if x(j)==0 for i=(j-1)*100+1:1:j*100 y(i)=0; tr(i)=c2(i); end end if x(j)==1 for i=(j-1)*100+1:1:j*100 y(i)=1; tr(i)=c1(i); end end end for i=1:1:1000 re(i)=tr(i)*c1(i)*c2(i); end for j=1:1:N d=0; for i=(j-1)*100+1:1:j*100 d=d+re(i); end if d>0.5 det(j)=1; else det(j)=0; 86
III YEAR
end end for j=1:1:N if det(j)==0 for i=(j-1)*100+1:1:j*100 det(i)=0; end end if x(j)==1 for i=(j-1)*100+1:1:j*100 det(i)=1; end end end subplot(6,1,1); plot(y); title('message signal'); subplot(6,1,2); plot(c1); title('Carrier Signal-1'); subplot(6,1,3); plot(c2); title('Carrier Signal-2'); subplot(6,1,4); plot(tr); title('Transmitted Signal'); subplot(6,1,5); plot(re); title('Received Signal'); subplot(6,1,6); plot(det); title('Detected Signal');
87
III YEAR
PSK clc clear all; close all; N=10;%No.of Data x=randint(1,N); k=1; for t=0.01:0.01:10 c(k)=2*sin(2*pi*t); k=k+1; end for j=1:1:N if x(j)==0 for i=(((j-1)*100)+1):1:(j*100) y(i)=0; tr(i)=-c(i); end else for i=(((j-1)*100)+1):1:(j*100) y(i)=1; tr(i)=c(i); end end end for i=1:1:1000 re(i)=tr(i)*c(i); end for j=1:1:N d=0; for i=(((j-1)*100)+1):1:(j*100) d=d+re(i) end if d>=0 det(j)=1; else det(j)=0; end end for j=1:1:N 88
III YEAR
if det(j)==0 for i=(((j-1)*100)+1):1:(j*100) det(i)=0; end end if x(j)==1 for i=(((j-1)*100)+1):1:(j*100) det(i)=1; end end end subplot(5,1,1); plot(y); title('Message Signal'); subplot(5,1,2); plot(c); title('Carrier Signal'); subplot(5,1,3); plot(tr); title('Transmitted Signal'); subplot(5,1,4); plot(re); title('Received Signal'); subplot(5,1,5); plot(det); title('Detected Signal');
89
III YEAR
QPSK clc clear all; close all; N=20; X=randint(1,N); L=100; l=(N/2*L*0.01)-0.01 i=1; for t=0:0.01:1 I(i)=cos(2*pi*t); i=i+1; end i=1; for t=0:0.01:1 Q(i)=sin(2*pi*t); i=i+1; end for i=1:N/2 if X((i-1)*2+1)==1 for j=((i-1)*L+1):(i*L) y(j)=1; QMI(j)=y(j)*I(j); end else for j=((i-1)*L+1):(i*L) y(j)=-1; QMI(j)=y(j)*I(j); end end k=((i-1)*2)+2; if X(k)==1 for j=((i-1)*L+1):(i*L) y(j)=1; QMQ(j)=y(j)*Q(j); end else for j=((i-1)*L+1):(i*L) y(j)=-1; QMQ(j)=y(j)*Q(j); 90
III YEAR
end end end for i=1:(N/2*L) QP(i)=QMI(i)+QMQ(i); end for i=1:(N/2*L) re1(i)=QP(i)*I(i); reQ(i)=QP(i)*Q(i); end k=1; for i=1:N/2 rI=0; rQ=0; for j=((i-1)*L+1):(i*L) rI=rI+re(j); rQ=rQ+reQ(j); end if rI>=0 real(i)=1; else real(i)=0; end if rQ>=0 imag(i)=1; else imag(i)=0; end det(k)=real(i); det(k+1)=imag(i); k=k+2; end
91
III YEAR
RESULT: Thus the ASK,PSK,QPSK and FSK was designed using MATLAB.
92