Pcs Expt1 12
Pcs Expt1 12
EXPERIMENT NO: 01
Apparatus: AM Wave Generation (ST2201) Trainer kit, CRO probes & CRO, Connecting wires,
etc
Theory: The transmitter adopts principle of amplitude modulation in which the instantaneous
amplitude of modulated signal is proportional to the instantaneous amplitude of modulating signal.
The modulating signal is superimposed on the base side of the RF oscillator .Hence this is called
low level AM.
AM MODULATION:
A sinusoidal carrier signal is said to be amplitude modulated when its amplitude is varied in
accordance with (i.e. in proportion to) the instantaneous amplitude of the message (i.e. the
modulating) single. If the carrier is described by
Vc (t) = A cos Wct
And the modulating signal be X (t), then the amplitude modulated (A.M.) signal S(t) is
S (t) = A [1 + K x (t)] cos Wct (1)
Where K is some constant.
The spectrum of an AM signal consists of the carrier component (frequency W c) & two sidebands.
The portion of the AM signal spectrum that lies above the frequency W c (and below + Wc) is called
the upper sideband while that below Wc (and above – Wc) is called the lower sideband.
Procedure:
TP1. Modulating Sine wave signal: - O/P terminal of Audio Oscillator ( ST 2201)
+
Observation Table:
1
2
3
Waveforms:
Modulating signal
Carrier Signal
AM modulated Waveform ( for under modulation, perfect modulation and over modulation)
Trapezoidal display (for under modulation, perfect modulation and over modulation)
Conclusion:
D. Y. Patil College of Engineering, Akurdi.
Department of Electronics & Telecommunication
__
EXPERIMENT NO: 02
Aim:A) Frequency modulator using varactor diode and NE566 VCO, calculation of modulation index.
B) FM demodulator using such as IC 565(PLL based).
Theory:
In case of Frequency Modulation, frequency of high frequency carrier signal varies in
accordance to modulating signal. Frequency modulation has higher noise immunity.In our kit FM
Generator is obtain using function generator IC 8038. Frequency of IC8038 depends on voltage at pin
No. 8. This property of IC8038 is used. Modulating signal is given to pin No. 8 through decoupling
capacitor. O/p of IC 8038 is buffered.For FM demodulation phase lock loop IC 565 is used. Free
running frequency of PLL must be equal to carrier frequency. PLL tracks FM Generator O/p & O/p of
phase detector is demodulated signal. This O/p is filtered using second order low pass filter.
FREQ. ADJ.
+12V FM MODEM
BUFFER
I/P
O/P
IC 8038
DC BIAS
SIGNAL
GEN.
- 12 V AMPL. ADJ.
FREQ. ADJ.
FREQ. ADJ.
I/P O/P
I/P O/P
PLL FILTER
565
GND.
1. Observe the frequency of 8038 buffered O/p & adjust it to 50 Khz using frequency adjust pot &
measure the voltage at the variable point of potentiometer given on front panel. Say ‘V’ now
suppose we are going to apply modulating signal of amplitude 1 Vp-p & frequency 1 Khz. Due to
this maximum DC voltage at pin 8 of IC 8038 will be V+0.5 & minimum DC voltage will be V-0.5.
V+0.5
V
V-0.5
1. Adjust the DC voltage to V+0.5 using pot & measure the Freq. at the O/P of IC 8038 Say F1.
2. Adjust the DC voltage to V-0.5 using pot & measure the frequency at the O/P of IC 8038. Say F2.
3. Calculate (F2-F1) & maximum deviation from center frequency will be
F = (F2-F1)/2.
Mf= F
Fm
Conclusion:
EXPERIMENT NO: 03
Aim:Verification of Sampling Theorem, PAM Techniques, (Flat top & Natural sampling),
reconstruction of original signal, Observe Aliasing Effect in frequency domain.
Theory:
According to sampling theorem,sampling rate is rapid enough so that at least two samples are
taken during the course of the period correspondingto the highest frequency spectral i.e. if our
signal frequency is 1 kHz thensampling frequency must be 2 kHz minimum for proper
reproduction oforiginal signal from sampled signal.It is called as nyquist criteria.
1. Natural Sampling: -
In natural sampling the pulse has a finite width.Natural sampling is sometimes called chopper
sampling because the waveform of sampled signalwaveform.Let us consider an analog continuous
time signal to be sampledat the rate of fs Hz and fs is higher than nyquist rate such that
samplingtheorem is satisfied sampled signal s (t) is obtained by multiplication ofsampling function
and input signal x (t).Sampling function c (t) is a trainof periodic pulse of width z and frequency
equal to fs Hz.Thus finally wecan say that the sampled signal consist of sequence of pulse varying
amplitudewhose tops are not flat but follow the instantaneous amplitude of input signal.
Procedure:-
1. Natural Sampling:-
1. Connect crystal CLK output to CLK point of control block.
2. Connect point ‘A’ to sampling S-CLK of natural sampling block &also to hold CLK of
receiver
section.
3. Connect fixed sine wave i.e. O/P of frequency divider block to I/P of natural sampling block.
4.Observe O/P of buffer i.e. sample O/P(PAM O/P).
5.Connect PAM O/P to I/P of receiver.
6.Connect point ‘D’ to ‘C1’ point & observe O/P of buffer (you can observespikes in O/P
signal
waveform).
7. Connect point ‘D’ to ‘C2’ point & observe O/P of buffer (you can observethat O/P is not
properly tracking & some overshoots).
8.Connect O/P of receiver buffer to I/P of LPF & observe LPF O/P.
9.To verify sampling theorem & aliasing effect.Connect variable frequency sine wave to I/P of
natural sampling block & vary signalfrequency from minimum to maximum (aliasing means
conversion of high frequency signal to lower frequency due to sampling).
10.Now connect O/P of 555 CLK to ‘CLK’ I/P of control block andvary the sampling
frequency.
EXPERIMENT NO: 04
Apparatus:PWM modulation Demodulation Trainer, Function generator, CRO, Bread Board, Power supply
Theory:
Pulse Width Modulation is an important feature of today’s every microcontroller due to its requirement for
controlling many devices in every field of Electronics. PWM is widely used for motor controlling, lighting
controlling etc. IC 555 timer is used for generating PWM. 555 Timer IC is a very useful and general purpose IC
which can be used in many applications.
555 IC is wired in monostable mode of operation. In this mode the output is LOW (0V) when there is no
triggering, when it is triggered via 2nd pin the output goes HIGH (Vcc) for some time. This time period is
determined by the expression T=1.11 RC. Trigger is applied via a differentiator circuit to make sharp pulses. The
resistor of differentiator is connected to Vcc to generate negative trigger pulses and the diode avoids positive
spikes.
This output is modulated using the input voltage applied at the control pin of the IC. So whenever the trigger pin
pulses become low, the output of the IC switches to high and as a result the discharge transistor is disabled. So
C2 charges through R2.This capacitor keeps on charging until the voltage is above the input control voltage, at
which the IC changes its state. Now the output is low which makes the discharge transistor activated thereby
discharging the capacitor C2.
Hence the output pulse width is determined by the control voltage. This process continues and we get a
continuous stream of pulses which can be used for motor control, driving LED’s, transmitting servo signals for
remote control applications etc.
Conclusion:
EXPERIMENT NO: 05
Theory:
Pulse code modulation is a digital transmission of samples of analog signal. In PCM generator we have
sampler, quantizer and encoder. In PCM receiver there is serial data, this serial data is converted into
parallel data and then digital to analog conversion is done. The o/p of DAC is fed into LPF and analog i/p is
reconstructed.PCM performance as an analog system depends on quantization noise introduced by ADC.
Block Diagram:
In PCM modem kit pot provided at the top left side for varying DC bias at the i/p of A/D. We can measure
DC bias voltage at the test point. 8 bit switch is provided for varying bit resolution of A/D. If switch is ON,
Procedure:
1. Switch on power supply.
2. Observe 1MHz clock o/p signal on panel and connect this clock to ADC clock i/p.
3. Connect o/p of divide by 2 n/w to i/p of divide by 8 n/w.
4. Connect the o/p of II divide by 8 n/w o/p to SC point.
5. Provide a required i/p signal from function generator to i/p of ADC block.
6. Observe the signal at this point and measure frequency.
7. Connect PCM o/p to i/p of receiver and measure the reconstructed signal at the receiver
8. Pass this signal to LPF and observe the signal at the o/p.
9. Set the biasing DC voltage to 2.5 v with the pot for Tx and Rx.
10. Now keep LSB bits in switch “OFF” one by one and measure the voltage
at i/p of ADC and O/P of DAC.
11. The difference of two voltages will give quantization noise with respect to bits in error.
Conclusion:-
EXPERIMENT NO: 06
Theory: -
In uniform quantization, the step size is fixed. The quantization noise power remains constant. But
signal power is proportional to the square of the amplitude. Hence signal power will be small for weak
signals, but the quantization noise power is constant. Therefore the signal to quantization noise ratio for the
weak signals is very poor. This will affect the quality of the signal. Practically it is difficult to implement the
non-uniform quantization because it is not known in advance about the changes in the signal level. In linear
PCM if Bit resolution is 8 Bits, then there are 2 8 =256 quantization levels. Also, if signal amplitude is
capable of swinging through all available quantization ranges, without extending beyond the outermost
ranges, the output signal to quantization noise ratio is 6N db.
If the signal is reduced in amplitude so that not all quantization ranges are used then S/Nq ratio is
reduced. That means effective number of quantization levels are also reduced. To avoid this problem a
process called COMPANDING is used. COMPANDING means compressing of a signal at transmitter &
expanding of a signal at receiver. Hence the weak signals are amplified & strong signals are attenuated
before applying them to a uniform quantizer. COMPANDING required to improve the signal to quantization
noise ratio of weak signals.
Compression produces signal distortion. To undo the distortion, at the receiver we pass the
recovered signal through an Expander Network. An Expander Network has an input-output characteristic
which is the inverse of the characteristic of the compressor. The inverse distortion of compressor &
expander generate a final O/p signal without distortion.
A] ‘’ law compander: In the U.S., Canada & Japan, ‘’ law is used.
y = +log ( 1 + ’’ IxI )
log (1 + ‘’)
For synthesis of law compander, we have used log, Antilog, Adder, Subtractor circuits using OPAMPs.
Observations:-
Waveforms to be observed-
1. I/P signal of the compressor
2. O/P signal of the compressor
3. PCM O/P
4. Reconstructed signal at the DAC o/p.
5. O/p signal of the Expander.
6. O/p of LPF.
7. I/O Vs O/P graph for compressor & expander
Observation Table:
Conclusion:
EXPERIMENT NO: 07
Aim:- To study Delta Modulation &Demodulation, observe effect of slope overload & granular noise.
Apparatus:- Experiment kit, DSO, Connecting Wires, Probes.
Theory:-
Delta modulation (DM) is a DPCM scheme in which the difference signal ∆(t) is encoded into just a
single bit. The single bit provides for just two possibilities, is used to increase or decrease the estimate. The
baseband signal s(t) and its quantized approximation š(t)are applied as inputs to comparator. A comparator,
as its name suggests, simply makes a comparison between inputs. The comparator has one fixed o/p V(H)
when s(t)> š(t) and a different o/p V(L) when s(t)<š (t). When the comparator o/p is V(H), it will be
encoded as 1 else as 0.
Linear DM has little complexity compared to PCM yet it suffers from severe limitations on account
of which it finds almost no applications in real system. The major disadvantages of DM are slope overload
& granular noise.
DM will transmit speech without significant slope overload provided that the DM system is able to
transmit a sinusoid of frequency f=800 Hz whose amplitude A and frequency f has a maximum slope of
2πfA as it passes through zero. If slope overload is to be avoided then we require that the sampling rate fs
must satisfy the condition Sfs ≥ 2πfA or fs ≥ πf . 2A/S, where ‘S’ is the step size, ‘f’ in the signal frequency
Block Diagram:
Observations:
Draw following waveforms:
1. Input signal
2. Sample Clock
3. DAC output
4. DM output
5. OE of both the adder and subtractor block.
6. LPF output.
7. Output of DAC for triangular and square inputs for input frequency of 1KHz.
Waveforms:
EXPERIMENT NO: 08
Theory:-
ADM is an extension of delta modulation. By varying the step-size in accordance with the input
signal, the delta modulator is enabled to cope with changes in the input signal.
ADM tracks changes in the sinusoidal input signal much better than DM. This improvement in the
performance of ADM is due to adaptation of the step size in successive iterations of the algorithm. In
particular, the reduced step size of the ADM results in smaller quantization errors near the extremities of the
input signal than the DM. However, both modulation schemes produce comparable quantization errors in
regions of the input signal where the slope is moderately high.
The improved tracking performance of the ADM results in an output signal with a much lower bit
rate, on the average, than the DM.
Block Diagram:
Conclusion:
EXPERIMENT NO: 09
Theory:-
In this kit we have provided two different bit patterns to study different data formats. [RZ, NRZ,
Polar RZ, Bipolar NRZ and Biphase or splitphase]
1. RZ :- In case of RZ i.e. return to zero formats, if bit is ‘1’ then logic high level is transmitted for first
half bit period and logic low level for remaining half bit period is transmitted.
2. NRZ :- In case of NRZ i.e. not return to zero if bit is ‘1’ then logic high level is transmitted for full bit
period and if bit is ‘0’ then logic low level is transmitted.
3. POLAR RZ :- If bit is ‘1’ then logic high level is transmitted for first half bit period and then low level
for remaining half bit period. If bit is ‘0’ then negative high level is transmitted for first half bit period
and then low level for remaining half bit period.
4. BIPOLAR NRZ :- If bit is ‘1’ then logic high level is transmitted for full bit period. If next bit (not
necessary consecutive) is also ‘1’ then negative high level is transmitted i.e. for every ‘1’ sign of high
level is altered. If bit is ‘0’ then logic low level is transmitted.
5. SPLITPHASE :- If bit is ‘1’ then logic high level is transmitted for first half bit period and then
negative high level for remaining half bit period. If bit is ‘0’ then negative high level is transmitted for
first half bit period and then high level for remaining half bit period.
Observations:
Draw all the input & output waveforms of all line codes along with its PSD.
Wavrforms:
Conclusion:
EXPERIMENT NO. 10
Theory: Pulse code modulation is a digital transmission of samples of analog signal. In PCM generator we
have sampler, quantizer and encoder. In PCM receiver there is serial data, this serial data is converted into
parallel data and then digital to analog conversion is done. The o/p of DAC is fed into LPF and analog i/p is
reconstructed.PCM performance as an analog system depends on quantization noise introduced by ADC.
Block Diagram:
EXPERIMENT NO. 11
Aim:
Write a MATLAB program to verify the sampling theorem by sampling an analog signal with
various sampling frequenciesi.e Fs=2Fm, Fs ≥ 2Fm and Fs< 2Fm.
Software:
OCTAVE / MATLAB
Theory:
In Digital Signal Processing, the signal to be transmitted must be in a discrete time form. The
message signal can be in analog form e.g. speech or video signal. In such a case the analog signal
should be first converted into a discrete time signal. “Sampling Process” is used for this purpose.
While using this sampling process practically, the sampling rate should be properly selected.
Sampling Theorem:
In order to represent the original signal faithfully, it is necessary to take as many samples as
possible. Higher the no. of samples, closer is the representation. The no of samples depends on
the sampling rate & maximum frequency of the signal to be transmitted.
Nyquist Criteria:
A continuous time signal x (t) can be completely represented in its sampled form and recovered
back from its sampled form if the sampling frequency is greater than or equal to the input signal
frequency.i.e.
Fs ≥ Fm
Wm=Inputfrequency
Ws =Sampling frequency
The analog signal is passed through the band limiting (anti-aliasing) filter,
beforesampling.
The sampling frequency is always kept greater than twice the input frequency
(Oversampling). Due to this, even though the analog signal is not strictly band
limited, the spectrums will not overlap. Guard band is provided between the adjacent
spectrums as shown inthe fig.
Algorithm:
3. Take the sampling frequency less than (2*Fm) and plot the sampled signal & serve
the aliasing effect.
4. Take the sampling frequency equal to (2*Fm) and plot the sampledsignal.
5. Take the sampling frequency (fs) greater than (2*Fm) and sample the analog signal.
Plot the sampledsignal.
Conclusion:
Experiment NO. 12
Theory: A scrambler also referred to as a randomizer is a device that manipulates a data stream before
transmitting. It replaces sequences into other sequences without removing undesirable sequences, and
as a result it changes the probability of occurrence of long string of 0 or 1. It is an algorithm that
converts an input string into a seemingly random output string of the same length, thus avoiding long
sequences of bits of the same value, in this context, a randomizer is also referred to as a scrambler.
Scrambler is used to enable accurate timing recovery on receiver equipment without resorting to
redundant line coding. It facilitates the work of a timing recovery circuit, an automatic gain control and
other adaptive circuits of the receiver eliminating long sequences consisting of '0' or '1' only.Scrambling
is widely used in satellite, radio relay communications and PSTN modems. It can be placed just before
a FEC coder, or it can be placed after the FEC, just before the modulation or line code. The
manipulations are reversed by a descrambler at the receiving side.
Conclusion: