SlideShare une entreprise Scribd logo
1  sur  10
NATIONAL COLLEGE OF SCIENCE & TECHNOLOGY
                    Amafel Bldg. Aguinaldo Highway Dasmariñas City, Cavite




                                  EXPERIMENT NO. 2
                     Digital Communication of Analog Data Using
                            Pulse-Code Modulation (PCM)




Lopera, Jericho James L.                             September 20, 2011
Signal Spectra and Signal Processing/BSECE 41A1      Score:




                                  Engr. Grace Ramones
                                        Instructor
Objectives:

       Demonstrate PCM encoding using an analog-to-digital converter (ADC).

       Demonstrate PCM encoding using an digital-to-analog converter (DAC)

       Demonstrate how the ADC sampling rate is related to the analog signal frequency.

       Demonstrate the effect of low-pass filtering on the decoder (DAC) output.
Sample Computation

     Step2




     Step 6




     Step 9




     Step 12




     Step 14




     Step 16




     Step 18
Data Sheet:

Materials
One ac signal generator
One pulse generator
One dual-trace oscilloscope
One dc power supply
One ADC0801 A/D converter (ADC)
One DAC0808 (1401) D/A converter (DAC)
Two SPDT switches
One 100 nF capacitor
Resistors: 100 Ω, 10 kΩ

Theory
Electronic communications is the transmission and reception of information over a
communications channel using electronic circuits. Information is defined as knowledge or
intelligence such as audio voice or music, video, or digital data. Often the information id
unsuitable for transmission in its original form and must be converted to a form that is suitable
for the communications system. When the communications system is digital, analog signals
must be converted into digital form prior to transmission.

The most widely used technique for digitizing is the analog information signals for transmission
on a digital communications system is pulse-code modulation (PCM), which we will be studied
in this experiment. Pulse-code modulation (PCM) consists of the conversion of a series of
sampled analog voltage levels into a sequence of binary codes, with each binary number that
is proportional to the magnitude of the voltage level sampled. Translating analog voltages into
binary codes is called A/D conversion, digitizing, or encoding. The device used to perform this
conversion process called an A/D converter, or ADC.

An ADC requires a conversion time, in which is the time required to convert each analog
voltage into its binary code. During the ADC conversion time, the analog input voltage must
remain constant. The conversion time for most modern A/D converters is short enough so that
the analog input voltage will not change during the conversion time. For high-frequency
information signals, the analog voltage will change during the conversion time, introducing an
error called an aperture error. In this case a sample and hold amplifier (S/H amplifier) will be
required at the input of the ADC. The S/H amplifier accepts the input and passes it through to
the ADC input unchanged during the sample mode. During the hold mode, the sampled analog
voltage is stored at the instant of sampling, making the output of the S/H amplifier a fixed dc
voltage level. Therefore, the ADC input will be a fixed dc voltage during the ADC conversion
time.

The rate at which the analog input voltage is sampled is called the sampling rate. The ADC
conversion time puts a limit on the sampling rate because the next sample cannot be read until
the previous conversion time is complete. The sampling rate is important because it determines
the highest analog signal frequency that can be sampled. In order to retain the high-frequency
information in the analog signal acting sampled, a sufficient number of samples must be taken
so that all of the voltage changes in the waveform are adequately represented. Because a
modern ADC has a very short conversion time, a high sampling rate is possible resulting in
better reproduction of high0frequency analog signals. Nyquist frequency is equal to twice the
highest analog signal frequency component. Although theoretically analog signal can be
sampled at the Nyquist frequency, in practice the sampling rate is usually higher, depending on
the application and other factors such as channel bandwidth and cost limitations.

In a PCM system, the binary codes generated by the ADC are converted into serial pulses and
transmitted over the communications medium, or channel, to the PCM receiver one bit at a
time. At the receiver, the serial pulses are converted back to the original sequence of parallel
binary codes. This sequence of binary codes is reconverted into a series of analog voltage
levels in a D/A converter (DAC), often called a decoder. In a properly designed system, these
analog voltage levels should be close to the analog voltage levels sampled at the transmitter.
Because the sequence of binary codes applied to the DAC input represent a series of dc
voltage levels, the output of the DAC has a staircase (step) characteristic. Therefore, the
resulting DAC output voltage waveshape is only an approximation to the original analog
voltage waveshape at the transmitter. These steps can be smoothed out into an analog voltage
variation by passing the DAC output through a low-pass filter with a cutoff frequency that is
higher than the highest-frequency component in the analog information signal. The low-pass
filter changes the steps into a smooth curve by eliminating many of the harmonic frequency. If
the sampling rate at the transmitter is high enough, the low-pass filter output should be a good
representation of the original analog signal.

In this experiment, pulse code modulation (encoding) and demodulation (decoding) will be
demonstrated using an 8-bit ADC feeding an 8-bit DAC, as shown in Figure 2-1. This ADC will
convert each of the sampled analog voltages into 8-bit binary code as that represent binary
numbers proportional to the magnitude of the sampled analog voltages. The sampling
frequency generator, connected to the start-of conversion (SOC) terminal on the ADC, will start
conversion at the beginning of each sampling pulse. Therefore, the frequency of the sampling
frequency generator will determine the sampling frequency (sampling rate) of the ADC. The 5
volts connected to the VREF+ terminal of the ADC sets the voltage range to 0-5 V. The 5 volts
connected to the output (OE) terminal on the ADC will keep the digital output connected to the
digital bus. The DAC will convert these digital codes back to the sampled analog voltage levels.
This will result in a staircase output, which will follow the original analog voltage variations. The
staircase output of the DAC feeds of a low-pass filter, which will produce a smooth output curve
that should be a close approximation to the original analog input curve. The 5 volts connected
to the + terminal of the DAC sets the voltage range 0-5 V. The values of resistor R and
capacitor C determine the cutoff frequency (fC) of the low-pass filter, which is determined from
the equation


Figure 23–1 Pulse-Code Modulation (PCM)
XSC2
                                                                                                                                              G

                                                                                                                                              T

                                                                                                                                 A    B   C   D




                       S1          VCC
                   Key = A               5V
                                                      U1
                                              Vin           D0
                                                                                                                                      S2
                                                            D1

                      V2                                    D2

                                                            D3                                                                        Key = B
                      2 Vpk                                 D4
                      10kHz
                                                            D5
                      0°                      Vref+
                                                            D6
                                              Vref-
                                                            D7
                                              SOC                 VCC
                                              OE            EOC         5V




                                                                              D0
                                                                                   D1

                                                                                        D2
                                                                                             D3
                                                                                                  D4
                                                                                                       D5
                                                                                                            D6
                                                                                                                 D7
                                                      ADC
                              V1                                             Vref+                                               R1
                                                                                             VDAC8               Output
                              5V -0V                                         Vref-                                           100Ω
                              200kHz
                                                                                                  U2

                                                                                                                          R2
                                                                                                                          10kΩ                C1
                                                                                                                                              100nF




In an actual PCM system, the ADC output would be transmitted to serial format over a
transmission line to the receiver and converted back to parallel format before being applied to
the DAC input. In Figure 23-1, the ADC output is connected to the DAC input by the digital bus
for demonstration purposes only.

PROCEDURE:
Step 1             Open circuit file FIG 23-1. Bring down the oscilloscope enlargement. Make
                   sure that the following settings are selected. Time base (Scale = 20 µs/Div,
                   Xpos = 0 Y/T), Ch A(Scale 2 V/Div, Ypos = 0, DC) Ch B (Scale = 2 V/Div,
                   Ypos = 0, DC), Trigger (Pos edge, Level = 0, Auto). Run the simulation to
                   completion. (Wait for the simulation to begin). You have plotted the analog
                   input signal (red) and the DAC output (blue) on the oscilloscope. Measure
                   the time between samples (TS) on the DAC output curve plot.
                   TS = 4 µs
Step 2             Calculate the sampling frequency (fS) based on the time between samples
                   (TS)
                   fS = 250 kHz
Question: How did the measure sampling frequency compare with the frequency of the
sampling frequency generator?
                   The sampling time is almost equal, however, the frequencies have a
                   differrence of 50 kHz.
How did the sampling frequency compare with the analog input frequency? Was it more than
twice the analog input frequency?
                   It is much higher; in fact, it is 20 times larger than the input frequency. Yes, it
                   is more than twice the analog input frequency.
How did the sampling frequency compare with the Nyquist frequency?
The Nyquist frequency is higher. Nyquist is 6.28 times more than the
                    sampling frequency.
Step 3     Click the arrow in the circuit window and press the A key to change Switch A to the
           sampling generator output. Change the oscilloscope time base to 10 µs/Div. Run
           the simulation for one oscilloscope screen display, and then pause the simulation.
           You are plotting the sampling generator (red) and the DAC output (blue).
Question: What is the relationship between the sampling generator output and the DAC
staircase output?
                    Both outputs are both in digital
Step 4     Change the oscilloscope time base scale to 20 µs/Div. Click the arrow in the circuit
           window and press the A key to change Switch A to the analog input. Press the B
           key to change the Switch B to Filter Output. Bring down the oscilloscope
           enlargement and run the simulation to completion. You are plotting the analog input
           (red) and the low-pass filter output (blue) on the oscilloscope
Questions: What happened to the DAC output after filtering? Is the filter output waveshape a
close representation of the analog input waveshape?
           It became an analog signal that lags the input analog signal. Yes, it is a close
           representation of the input waveshape.
Step 5     Calculate the cutoff frequency (fC) of the low-pass filter.
           fC = 15.915 kHz
Question: How does the filter cutoff frequency compare with the analog input frequency?
           They have difference of approximately 6 kHz.
Step 6     Change the filter capacitor (C) to 20 nF and calculate the new cutoff frequency (f C).
           fC = 79.577 kHz
Step 7     Bring down the oscilloscope enlargement and run the simulation to completion
again.
Question: How did the new filter output compare with the previous filter output? Explain.
           It is almost the same.
Step 8     Change the filter capacitor (C) back to 100 nF. Change the Switch B back to the
           DAC output. Change the frequency of the sampling frequency generator to 100 kHz.
           Bring down the oscilloscope enlargement and run the simulation to completion. You
           are plotting the analog input (red) and the DAC output (blue) on the oscilloscope
           screen. Measure the time between the samples (TS) on the DAC output curve plot
           (blue)
           TS = 9.5µs
Question: How does the time between the samples in Step 8 compare with the time between
           the samples in Step 1?
           The time between the samples in Step 8 doubles.
Step 9     Calculate the new sampling frequency (fS) based on the time between the samples
           (TS) in Step 8?
           fS=105.26Hz
Question: How does the new sampling frequency compare with the analog input frequency?
           The sampling frequency is much higher than the input frequency. It is 10 times the
           input frequency.
Step 10   Click the arrow in the circuit window and change the Switch B to the filter output.
          Bring down the oscilloscope enlargement and run the simulation again.
Question: How does the curve plot in Step 10 compare with the curve plot in Step 4 at the
          higher sampling frequency? Is the curve as smooth as in Step 4? Explain why.
          Yes, they are the same. It is as smooth as in Step 4. Nothing changed. It does not
          affect the filter.
Step 11 Change the frequency of the sampling frequency generator to 50 kHz and change
          Switch B back to the DAC output. Bring down the oscilloscope enlargement and run
          the simulation to completion. Measure the time between samples (T S) on the DAC
          output curve plot (blue).
          TS = 19µs
Question: How does the time between samples in Step 11 compare with the time between the
          samples in Step 8?
          The sampling time doubles.
Step 12 Calculate the new sampling frequency (fS) based on the time between samples (TS)
          in Step 11.
          fS=52.631 kHz
Question: How does the new sampling frequency compare with the analog input frequency?
          The new sampling frequency is 5 times the analog input.
Step 13 Click the arrow in the circuit window and change the Switch B to the filter output.
          Bring down the oscilloscope enlargement and run the simulation to completion
          again.
Question: How does the curve plot in Step 13 compare with the curve plot in Step 10 at the
          higher sampling frequency? Is the curve as smooth as in Step 10? Explain why.
          Yes, nothing changed. The frequency of the sampling generator does not affect the
          filter.
Step 14 Calculate the frequency of the filter output (f) based on the period for one cycle (T).
          T=10kHz
Question: How does the frequency of the filter output compare with the frequency of the analog
          input? Was this expected based on the sampling frequency? Explain why.
          It is the same. Yes, it is expected.
Step 15 Change the frequency of the sampling frequency generator to 15 kHz and change
          Switch B back to the DAC output. Bring down the oscilloscope enlargement and run
          the simulation to completion. Measure the time between samples (TS) on the DAC
          output curve plot (blue)
          TS = 66.5µs
Question: How does the time between samples in Step 15 compare with the time between
          samples in Step 11?
          It is 3.5 times higher than the time in Step 11.
Step 16 Calculate the new sampling frequency (fS) based on the time between samples (TS)
          in Step 15.
          fS=15.037 kHz
Question: How does the new sampling frequency compare with the analog input frequency?
          It is 5 kHz greater than the analog input frequency.
How does the new sampling frequency compare with the Nyquist frequency?
It is much lesser than the Nyquist frequency.
Step 17 Click the arrow in the circuit window and change the Switch B to the filter output.
          Bring down the oscilloscope enlargement and run the simulation to completion
          again.
Question: How does the curve plot in Step 17 compare with the curve plot in Step 13 at the
          higher sampling frequency?
          They are the same.
Step 18 Calculate the frequency of the filter output (f) based on the time period for one cycle
          (T).
          f=10kHz
Question: How does the frequency of the filter output compare with the frequency of the analog
          input? Was this expected based on the sampling frequency?
          They are the same. Yes, it should be the same for this sampling frequency.
CONCLUSION:

       Based on the input and the output displayed by the oscilloscope, I conclude that the input

analog signal can be converted into digital through PCM. An ADC is use for PCM encoding while

DAC is use for PCM decoding. The staircase signal is the DAC output and its frequency is

generated by the signal frequency generator connected to the ADC. The sampling time is inversely

proportional to the sampling frequency. Add to that, the filter output is analog like the input analog

signal. Also, the frequency of the filter output is the same as the input analog signal. The cutoff

frequency is inversely proportional to the capacitor, as the capacitor increases, the cutoff

frequency decreases. Lastly, the frequency of the sampling signal is much lesser than the Nyquist

frequency.

Contenu connexe

Tendances

BTS5016-1EKBのスパイスモデルの評価
BTS5016-1EKBのスパイスモデルの評価BTS5016-1EKBのスパイスモデルの評価
BTS5016-1EKBのスパイスモデルの評価Tsuyoshi Horigome
 
Concept Kit:PWM Boost Converter Average Model
Concept Kit:PWM Boost Converter Average ModelConcept Kit:PWM Boost Converter Average Model
Concept Kit:PWM Boost Converter Average ModelTsuyoshi Horigome
 
Concept Kit:PWM Boost Converter Transients Model
Concept Kit:PWM Boost Converter Transients ModelConcept Kit:PWM Boost Converter Transients Model
Concept Kit:PWM Boost Converter Transients ModelTsuyoshi Horigome
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)Sarah Krystelle
 
Concept Kit:PWM Buck Converter Transients Model
Concept Kit:PWM Buck Converter Transients ModelConcept Kit:PWM Buck Converter Transients Model
Concept Kit:PWM Buck Converter Transients ModelTsuyoshi Horigome
 
Concept Kit:PWM Buck Converter Average Model
Concept Kit:PWM Buck Converter Average ModelConcept Kit:PWM Buck Converter Average Model
Concept Kit:PWM Buck Converter Average ModelTsuyoshi Horigome
 
SPICE MODEL of uPC2407A in SPICE PARK
SPICE MODEL of uPC2407A in SPICE PARKSPICE MODEL of uPC2407A in SPICE PARK
SPICE MODEL of uPC2407A in SPICE PARKTsuyoshi Horigome
 
電流臨界モード方式PFC制御回路図
電流臨界モード方式PFC制御回路図電流臨界モード方式PFC制御回路図
電流臨界モード方式PFC制御回路図Tsuyoshi Horigome
 
Dsp U Lec03 Analogue To Digital Converters
Dsp U   Lec03 Analogue To Digital ConvertersDsp U   Lec03 Analogue To Digital Converters
Dsp U Lec03 Analogue To Digital Converterstaha25
 

Tendances (20)

Objectives
ObjectivesObjectives
Objectives
 
Exp f1 maycen
Exp f1 maycenExp f1 maycen
Exp f1 maycen
 
BTS5016-1EKBのスパイスモデルの評価
BTS5016-1EKBのスパイスモデルの評価BTS5016-1EKBのスパイスモデルの評価
BTS5016-1EKBのスパイスモデルの評価
 
Exp5 bani
Exp5 baniExp5 bani
Exp5 bani
 
Morales
MoralesMorales
Morales
 
74 f08
74 f0874 f08
74 f08
 
Concept Kit:PWM Boost Converter Average Model
Concept Kit:PWM Boost Converter Average ModelConcept Kit:PWM Boost Converter Average Model
Concept Kit:PWM Boost Converter Average Model
 
Concept Kit:PWM Boost Converter Transients Model
Concept Kit:PWM Boost Converter Transients ModelConcept Kit:PWM Boost Converter Transients Model
Concept Kit:PWM Boost Converter Transients Model
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for CAUAN)
 
Concept Kit:PWM Buck Converter Transients Model
Concept Kit:PWM Buck Converter Transients ModelConcept Kit:PWM Buck Converter Transients Model
Concept Kit:PWM Buck Converter Transients Model
 
74hc4020
74hc402074hc4020
74hc4020
 
Concept Kit:PWM Buck Converter Average Model
Concept Kit:PWM Buck Converter Average ModelConcept Kit:PWM Buck Converter Average Model
Concept Kit:PWM Buck Converter Average Model
 
Timekeeper Wiring5
Timekeeper Wiring5Timekeeper Wiring5
Timekeeper Wiring5
 
SPICE MODEL of uPC2407A in SPICE PARK
SPICE MODEL of uPC2407A in SPICE PARKSPICE MODEL of uPC2407A in SPICE PARK
SPICE MODEL of uPC2407A in SPICE PARK
 
E4 bani
E4 baniE4 bani
E4 bani
 
電流臨界モード方式PFC制御回路図
電流臨界モード方式PFC制御回路図電流臨界モード方式PFC制御回路図
電流臨界モード方式PFC制御回路図
 
Dsp U Lec03 Analogue To Digital Converters
Dsp U   Lec03 Analogue To Digital ConvertersDsp U   Lec03 Analogue To Digital Converters
Dsp U Lec03 Analogue To Digital Converters
 
Comm008 e4 pagara
Comm008 e4 pagaraComm008 e4 pagara
Comm008 e4 pagara
 
Exp5 agdon
Exp5 agdonExp5 agdon
Exp5 agdon
 
Backup
BackupBackup
Backup
 

En vedette

L2 fundamentals of amplitude modulation notes
L2 fundamentals of amplitude modulation notesL2 fundamentals of amplitude modulation notes
L2 fundamentals of amplitude modulation notesmofaruque1
 
Exp amplitude modulation (2)
Exp amplitude modulation (2)Exp amplitude modulation (2)
Exp amplitude modulation (2)Sarah Krystelle
 
15934 product modulator
15934 product modulator15934 product modulator
15934 product modulatorManish Kumar
 
Introduction to Communication Systems 4
Introduction to Communication Systems 4Introduction to Communication Systems 4
Introduction to Communication Systems 4slmnsvn
 
Communication - Amplitude Modulation Class 12 Part-1
Communication - Amplitude Modulation Class 12 Part-1Communication - Amplitude Modulation Class 12 Part-1
Communication - Amplitude Modulation Class 12 Part-1Self-employed
 
Ppt of analog communication
Ppt of analog communicationPpt of analog communication
Ppt of analog communicationArun Kumar
 
Frequency modulation and its application
Frequency modulation and its applicationFrequency modulation and its application
Frequency modulation and its applicationDarshil Shah
 
Analog communication
Analog communicationAnalog communication
Analog communicationPreston King
 
Solution modern digital-& analog-communications-systems-b-p-lathi
Solution modern digital-& analog-communications-systems-b-p-lathiSolution modern digital-& analog-communications-systems-b-p-lathi
Solution modern digital-& analog-communications-systems-b-p-lathiFawad Masood
 
Digital Communication
Digital CommunicationDigital Communication
Digital CommunicationSujina Ummar
 
Introduction to communication systems
Introduction to communication systemsIntroduction to communication systems
Introduction to communication systemsMohsen Sarakbi
 

En vedette (18)

L2 fundamentals of amplitude modulation notes
L2 fundamentals of amplitude modulation notesL2 fundamentals of amplitude modulation notes
L2 fundamentals of amplitude modulation notes
 
Exp amplitude modulation (2)
Exp amplitude modulation (2)Exp amplitude modulation (2)
Exp amplitude modulation (2)
 
15934 product modulator
15934 product modulator15934 product modulator
15934 product modulator
 
Unit i-pcm-vsh
Unit i-pcm-vshUnit i-pcm-vsh
Unit i-pcm-vsh
 
Chapter 01
Chapter 01Chapter 01
Chapter 01
 
Eeng 3810 chapter 4
Eeng 3810 chapter 4Eeng 3810 chapter 4
Eeng 3810 chapter 4
 
Introduction to Communication Systems 4
Introduction to Communication Systems 4Introduction to Communication Systems 4
Introduction to Communication Systems 4
 
Communication - Amplitude Modulation Class 12 Part-1
Communication - Amplitude Modulation Class 12 Part-1Communication - Amplitude Modulation Class 12 Part-1
Communication - Amplitude Modulation Class 12 Part-1
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Chapter 4
Chapter 4Chapter 4
Chapter 4
 
Ppt of analog communication
Ppt of analog communicationPpt of analog communication
Ppt of analog communication
 
Amplitude modulation
Amplitude modulationAmplitude modulation
Amplitude modulation
 
Digital Communication Techniques
Digital Communication TechniquesDigital Communication Techniques
Digital Communication Techniques
 
Frequency modulation and its application
Frequency modulation and its applicationFrequency modulation and its application
Frequency modulation and its application
 
Analog communication
Analog communicationAnalog communication
Analog communication
 
Solution modern digital-& analog-communications-systems-b-p-lathi
Solution modern digital-& analog-communications-systems-b-p-lathiSolution modern digital-& analog-communications-systems-b-p-lathi
Solution modern digital-& analog-communications-systems-b-p-lathi
 
Digital Communication
Digital CommunicationDigital Communication
Digital Communication
 
Introduction to communication systems
Introduction to communication systemsIntroduction to communication systems
Introduction to communication systems
 

Similaire à Objective6

DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converterShazid Reaj
 
Digital Speedo Meter Powered by Dynamo
Digital Speedo Meter Powered by DynamoDigital Speedo Meter Powered by Dynamo
Digital Speedo Meter Powered by DynamoSai Malleswar
 
Group1 141018102550-conversion-gate01
Group1 141018102550-conversion-gate01Group1 141018102550-conversion-gate01
Group1 141018102550-conversion-gate01DayyanAskari
 
Adc and dac
Adc and dacAdc and dac
Adc and dacboarddk1
 
Digital voltmeter using 89c51 microcontroller
Digital voltmeter using 89c51 microcontrollerDigital voltmeter using 89c51 microcontroller
Digital voltmeter using 89c51 microcontrollerSaylee joshi
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORAnil Yadav
 
Noise reduction techniques
Noise reduction techniquesNoise reduction techniques
Noise reduction techniquesChico3001
 
adc dac converter
adc dac converteradc dac converter
adc dac converterGaurav Rai
 
Lesson 8_et438b (2).ppsx
Lesson 8_et438b (2).ppsxLesson 8_et438b (2).ppsx
Lesson 8_et438b (2).ppsxBkannan2
 
ANALOG PRESENTATION.pptx
ANALOG PRESENTATION.pptxANALOG PRESENTATION.pptx
ANALOG PRESENTATION.pptxSakthiElango
 

Similaire à Objective6 (20)

DAC-digital to analog converter
DAC-digital to analog converterDAC-digital to analog converter
DAC-digital to analog converter
 
Module iv
Module ivModule iv
Module iv
 
Arduino Labs
Arduino LabsArduino Labs
Arduino Labs
 
Digital Speedo Meter Powered by Dynamo
Digital Speedo Meter Powered by DynamoDigital Speedo Meter Powered by Dynamo
Digital Speedo Meter Powered by Dynamo
 
dsd.pptx
dsd.pptxdsd.pptx
dsd.pptx
 
Adc
AdcAdc
Adc
 
Group1 141018102550-conversion-gate01
Group1 141018102550-conversion-gate01Group1 141018102550-conversion-gate01
Group1 141018102550-conversion-gate01
 
Adc and dac
Adc and dacAdc and dac
Adc and dac
 
Programa en bascom
Programa en bascomPrograma en bascom
Programa en bascom
 
8051 FINIAL
8051 FINIAL8051 FINIAL
8051 FINIAL
 
Data convertors
Data convertorsData convertors
Data convertors
 
A TO D CONVERTER
A TO D CONVERTERA TO D CONVERTER
A TO D CONVERTER
 
Digital voltmeter using 89c51 microcontroller
Digital voltmeter using 89c51 microcontrollerDigital voltmeter using 89c51 microcontroller
Digital voltmeter using 89c51 microcontroller
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTOR
 
Noise reduction techniques
Noise reduction techniquesNoise reduction techniques
Noise reduction techniques
 
adc-dac.pptx
adc-dac.pptxadc-dac.pptx
adc-dac.pptx
 
adc dac converter
adc dac converteradc dac converter
adc dac converter
 
Prese000
Prese000Prese000
Prese000
 
Lesson 8_et438b (2).ppsx
Lesson 8_et438b (2).ppsxLesson 8_et438b (2).ppsx
Lesson 8_et438b (2).ppsx
 
ANALOG PRESENTATION.pptx
ANALOG PRESENTATION.pptxANALOG PRESENTATION.pptx
ANALOG PRESENTATION.pptx
 

Plus de Sarah Krystelle

SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)Sarah Krystelle
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)Sarah Krystelle
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)Sarah Krystelle
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)Sarah Krystelle
 
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATIONSIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATIONSarah Krystelle
 
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2Sarah Krystelle
 
Exp amplitude modulation (8)
Exp amplitude modulation (8)Exp amplitude modulation (8)
Exp amplitude modulation (8)Sarah Krystelle
 
Exp amplitude modulation (7)
Exp amplitude modulation (7)Exp amplitude modulation (7)
Exp amplitude modulation (7)Sarah Krystelle
 
Exp amplitude modulation (6)
Exp amplitude modulation (6)Exp amplitude modulation (6)
Exp amplitude modulation (6)Sarah Krystelle
 
Exp amplitude modulation (5)
Exp amplitude modulation (5)Exp amplitude modulation (5)
Exp amplitude modulation (5)Sarah Krystelle
 
Exp amplitude modulation (4)
Exp amplitude modulation (4)Exp amplitude modulation (4)
Exp amplitude modulation (4)Sarah Krystelle
 
Exp amplitude modulation (3)
Exp amplitude modulation (3)Exp amplitude modulation (3)
Exp amplitude modulation (3)Sarah Krystelle
 
Exp amplitude modulation (1)
Exp amplitude modulation (1)Exp amplitude modulation (1)
Exp amplitude modulation (1)Sarah Krystelle
 

Plus de Sarah Krystelle (20)

SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)
SIGNAL SPECTRA EXPERIMENT 2 - FINALS (for CAUAN)
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for PULA)
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for AGDON)
 
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)
SIGNAL SPECTRA EXPERIMENT 1 - FINALS (for ABDON)
 
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATIONSIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION
 
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2
SIGNAL SPECTRA EXPERIMENT AMPLITUDE MODULATION COPY 2
 
Exp amplitude modulation (8)
Exp amplitude modulation (8)Exp amplitude modulation (8)
Exp amplitude modulation (8)
 
Exp amplitude modulation (7)
Exp amplitude modulation (7)Exp amplitude modulation (7)
Exp amplitude modulation (7)
 
Exp amplitude modulation (6)
Exp amplitude modulation (6)Exp amplitude modulation (6)
Exp amplitude modulation (6)
 
Exp amplitude modulation (5)
Exp amplitude modulation (5)Exp amplitude modulation (5)
Exp amplitude modulation (5)
 
Exp amplitude modulation (4)
Exp amplitude modulation (4)Exp amplitude modulation (4)
Exp amplitude modulation (4)
 
Exp amplitude modulation (3)
Exp amplitude modulation (3)Exp amplitude modulation (3)
Exp amplitude modulation (3)
 
Exp amplitude modulation (1)
Exp amplitude modulation (1)Exp amplitude modulation (1)
Exp amplitude modulation (1)
 
Am
AmAm
Am
 
Sarah
SarahSarah
Sarah
 
Pula
PulaPula
Pula
 
Pagara
PagaraPagara
Pagara
 
Exp5 tagasa
Exp5 tagasaExp5 tagasa
Exp5 tagasa
 
Exp5 balane
Exp5 balaneExp5 balane
Exp5 balane
 
5
55
5
 

Dernier

Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Kirill Klimov
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCRashishs7044
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCRashishs7044
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCRashishs7044
 
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...lizamodels9
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdfKhaled Al Awadi
 
International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...ssuserf63bd7
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessSeta Wicaksana
 
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCRashishs7044
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607dollysharma2066
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607dollysharma2066
 
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckPitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckHajeJanKamps
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,noida100girls
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africaictsugar
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menzaictsugar
 
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...lizamodels9
 
Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Seta Wicaksana
 

Dernier (20)

Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024Flow Your Strategy at Flight Levels Day 2024
Flow Your Strategy at Flight Levels Day 2024
 
8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR8447779800, Low rate Call girls in Saket Delhi NCR
8447779800, Low rate Call girls in Saket Delhi NCR
 
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR8447779800, Low rate Call girls in Tughlakabad Delhi NCR
8447779800, Low rate Call girls in Tughlakabad Delhi NCR
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
 
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In.../:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
/:Call Girls In Indirapuram Ghaziabad ➥9990211544 Independent Best Escorts In...
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
 
International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...International Business Environments and Operations 16th Global Edition test b...
International Business Environments and Operations 16th Global Edition test b...
 
Organizational Structure Running A Successful Business
Organizational Structure Running A Successful BusinessOrganizational Structure Running A Successful Business
Organizational Structure Running A Successful Business
 
Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)Japan IT Week 2024 Brochure by 47Billion (English)
Japan IT Week 2024 Brochure by 47Billion (English)
 
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
8447779800, Low rate Call girls in Kotla Mubarakpur Delhi NCR
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
 
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
(Best) ENJOY Call Girls in Faridabad Ex | 8377087607
 
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deckPitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
Pitch Deck Teardown: Geodesic.Life's $500k Pre-seed deck
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Old Faridabad ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
BEST Call Girls In Greater Noida ✨ 9773824855 ✨ Escorts Service In Delhi Ncr,
 
Kenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby AfricaKenya’s Coconut Value Chain by Gatsby Africa
Kenya’s Coconut Value Chain by Gatsby Africa
 
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu MenzaYouth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
Youth Involvement in an Innovative Coconut Value Chain by Mwalimu Menza
 
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
Lowrate Call Girls In Sector 18 Noida ❤️8860477959 Escorts 100% Genuine Servi...
 
Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...Ten Organizational Design Models to align structure and operations to busines...
Ten Organizational Design Models to align structure and operations to busines...
 

Objective6

  • 1. NATIONAL COLLEGE OF SCIENCE & TECHNOLOGY Amafel Bldg. Aguinaldo Highway Dasmariñas City, Cavite EXPERIMENT NO. 2 Digital Communication of Analog Data Using Pulse-Code Modulation (PCM) Lopera, Jericho James L. September 20, 2011 Signal Spectra and Signal Processing/BSECE 41A1 Score: Engr. Grace Ramones Instructor
  • 2. Objectives: Demonstrate PCM encoding using an analog-to-digital converter (ADC). Demonstrate PCM encoding using an digital-to-analog converter (DAC) Demonstrate how the ADC sampling rate is related to the analog signal frequency. Demonstrate the effect of low-pass filtering on the decoder (DAC) output.
  • 3. Sample Computation Step2 Step 6 Step 9 Step 12 Step 14 Step 16 Step 18
  • 4. Data Sheet: Materials One ac signal generator One pulse generator One dual-trace oscilloscope One dc power supply One ADC0801 A/D converter (ADC) One DAC0808 (1401) D/A converter (DAC) Two SPDT switches One 100 nF capacitor Resistors: 100 Ω, 10 kΩ Theory Electronic communications is the transmission and reception of information over a communications channel using electronic circuits. Information is defined as knowledge or intelligence such as audio voice or music, video, or digital data. Often the information id unsuitable for transmission in its original form and must be converted to a form that is suitable for the communications system. When the communications system is digital, analog signals must be converted into digital form prior to transmission. The most widely used technique for digitizing is the analog information signals for transmission on a digital communications system is pulse-code modulation (PCM), which we will be studied in this experiment. Pulse-code modulation (PCM) consists of the conversion of a series of sampled analog voltage levels into a sequence of binary codes, with each binary number that is proportional to the magnitude of the voltage level sampled. Translating analog voltages into binary codes is called A/D conversion, digitizing, or encoding. The device used to perform this conversion process called an A/D converter, or ADC. An ADC requires a conversion time, in which is the time required to convert each analog voltage into its binary code. During the ADC conversion time, the analog input voltage must remain constant. The conversion time for most modern A/D converters is short enough so that the analog input voltage will not change during the conversion time. For high-frequency information signals, the analog voltage will change during the conversion time, introducing an error called an aperture error. In this case a sample and hold amplifier (S/H amplifier) will be required at the input of the ADC. The S/H amplifier accepts the input and passes it through to the ADC input unchanged during the sample mode. During the hold mode, the sampled analog voltage is stored at the instant of sampling, making the output of the S/H amplifier a fixed dc voltage level. Therefore, the ADC input will be a fixed dc voltage during the ADC conversion time. The rate at which the analog input voltage is sampled is called the sampling rate. The ADC conversion time puts a limit on the sampling rate because the next sample cannot be read until the previous conversion time is complete. The sampling rate is important because it determines the highest analog signal frequency that can be sampled. In order to retain the high-frequency information in the analog signal acting sampled, a sufficient number of samples must be taken
  • 5. so that all of the voltage changes in the waveform are adequately represented. Because a modern ADC has a very short conversion time, a high sampling rate is possible resulting in better reproduction of high0frequency analog signals. Nyquist frequency is equal to twice the highest analog signal frequency component. Although theoretically analog signal can be sampled at the Nyquist frequency, in practice the sampling rate is usually higher, depending on the application and other factors such as channel bandwidth and cost limitations. In a PCM system, the binary codes generated by the ADC are converted into serial pulses and transmitted over the communications medium, or channel, to the PCM receiver one bit at a time. At the receiver, the serial pulses are converted back to the original sequence of parallel binary codes. This sequence of binary codes is reconverted into a series of analog voltage levels in a D/A converter (DAC), often called a decoder. In a properly designed system, these analog voltage levels should be close to the analog voltage levels sampled at the transmitter. Because the sequence of binary codes applied to the DAC input represent a series of dc voltage levels, the output of the DAC has a staircase (step) characteristic. Therefore, the resulting DAC output voltage waveshape is only an approximation to the original analog voltage waveshape at the transmitter. These steps can be smoothed out into an analog voltage variation by passing the DAC output through a low-pass filter with a cutoff frequency that is higher than the highest-frequency component in the analog information signal. The low-pass filter changes the steps into a smooth curve by eliminating many of the harmonic frequency. If the sampling rate at the transmitter is high enough, the low-pass filter output should be a good representation of the original analog signal. In this experiment, pulse code modulation (encoding) and demodulation (decoding) will be demonstrated using an 8-bit ADC feeding an 8-bit DAC, as shown in Figure 2-1. This ADC will convert each of the sampled analog voltages into 8-bit binary code as that represent binary numbers proportional to the magnitude of the sampled analog voltages. The sampling frequency generator, connected to the start-of conversion (SOC) terminal on the ADC, will start conversion at the beginning of each sampling pulse. Therefore, the frequency of the sampling frequency generator will determine the sampling frequency (sampling rate) of the ADC. The 5 volts connected to the VREF+ terminal of the ADC sets the voltage range to 0-5 V. The 5 volts connected to the output (OE) terminal on the ADC will keep the digital output connected to the digital bus. The DAC will convert these digital codes back to the sampled analog voltage levels. This will result in a staircase output, which will follow the original analog voltage variations. The staircase output of the DAC feeds of a low-pass filter, which will produce a smooth output curve that should be a close approximation to the original analog input curve. The 5 volts connected to the + terminal of the DAC sets the voltage range 0-5 V. The values of resistor R and capacitor C determine the cutoff frequency (fC) of the low-pass filter, which is determined from the equation Figure 23–1 Pulse-Code Modulation (PCM)
  • 6. XSC2 G T A B C D S1 VCC Key = A 5V U1 Vin D0 S2 D1 V2 D2 D3 Key = B 2 Vpk D4 10kHz D5 0° Vref+ D6 Vref- D7 SOC VCC OE EOC 5V D0 D1 D2 D3 D4 D5 D6 D7 ADC V1 Vref+ R1 VDAC8 Output 5V -0V Vref- 100Ω 200kHz U2 R2 10kΩ C1 100nF In an actual PCM system, the ADC output would be transmitted to serial format over a transmission line to the receiver and converted back to parallel format before being applied to the DAC input. In Figure 23-1, the ADC output is connected to the DAC input by the digital bus for demonstration purposes only. PROCEDURE: Step 1 Open circuit file FIG 23-1. Bring down the oscilloscope enlargement. Make sure that the following settings are selected. Time base (Scale = 20 µs/Div, Xpos = 0 Y/T), Ch A(Scale 2 V/Div, Ypos = 0, DC) Ch B (Scale = 2 V/Div, Ypos = 0, DC), Trigger (Pos edge, Level = 0, Auto). Run the simulation to completion. (Wait for the simulation to begin). You have plotted the analog input signal (red) and the DAC output (blue) on the oscilloscope. Measure the time between samples (TS) on the DAC output curve plot. TS = 4 µs Step 2 Calculate the sampling frequency (fS) based on the time between samples (TS) fS = 250 kHz Question: How did the measure sampling frequency compare with the frequency of the sampling frequency generator? The sampling time is almost equal, however, the frequencies have a differrence of 50 kHz. How did the sampling frequency compare with the analog input frequency? Was it more than twice the analog input frequency? It is much higher; in fact, it is 20 times larger than the input frequency. Yes, it is more than twice the analog input frequency. How did the sampling frequency compare with the Nyquist frequency?
  • 7. The Nyquist frequency is higher. Nyquist is 6.28 times more than the sampling frequency. Step 3 Click the arrow in the circuit window and press the A key to change Switch A to the sampling generator output. Change the oscilloscope time base to 10 µs/Div. Run the simulation for one oscilloscope screen display, and then pause the simulation. You are plotting the sampling generator (red) and the DAC output (blue). Question: What is the relationship between the sampling generator output and the DAC staircase output? Both outputs are both in digital Step 4 Change the oscilloscope time base scale to 20 µs/Div. Click the arrow in the circuit window and press the A key to change Switch A to the analog input. Press the B key to change the Switch B to Filter Output. Bring down the oscilloscope enlargement and run the simulation to completion. You are plotting the analog input (red) and the low-pass filter output (blue) on the oscilloscope Questions: What happened to the DAC output after filtering? Is the filter output waveshape a close representation of the analog input waveshape? It became an analog signal that lags the input analog signal. Yes, it is a close representation of the input waveshape. Step 5 Calculate the cutoff frequency (fC) of the low-pass filter. fC = 15.915 kHz Question: How does the filter cutoff frequency compare with the analog input frequency? They have difference of approximately 6 kHz. Step 6 Change the filter capacitor (C) to 20 nF and calculate the new cutoff frequency (f C). fC = 79.577 kHz Step 7 Bring down the oscilloscope enlargement and run the simulation to completion again. Question: How did the new filter output compare with the previous filter output? Explain. It is almost the same. Step 8 Change the filter capacitor (C) back to 100 nF. Change the Switch B back to the DAC output. Change the frequency of the sampling frequency generator to 100 kHz. Bring down the oscilloscope enlargement and run the simulation to completion. You are plotting the analog input (red) and the DAC output (blue) on the oscilloscope screen. Measure the time between the samples (TS) on the DAC output curve plot (blue) TS = 9.5µs Question: How does the time between the samples in Step 8 compare with the time between the samples in Step 1? The time between the samples in Step 8 doubles. Step 9 Calculate the new sampling frequency (fS) based on the time between the samples (TS) in Step 8? fS=105.26Hz Question: How does the new sampling frequency compare with the analog input frequency? The sampling frequency is much higher than the input frequency. It is 10 times the input frequency.
  • 8. Step 10 Click the arrow in the circuit window and change the Switch B to the filter output. Bring down the oscilloscope enlargement and run the simulation again. Question: How does the curve plot in Step 10 compare with the curve plot in Step 4 at the higher sampling frequency? Is the curve as smooth as in Step 4? Explain why. Yes, they are the same. It is as smooth as in Step 4. Nothing changed. It does not affect the filter. Step 11 Change the frequency of the sampling frequency generator to 50 kHz and change Switch B back to the DAC output. Bring down the oscilloscope enlargement and run the simulation to completion. Measure the time between samples (T S) on the DAC output curve plot (blue). TS = 19µs Question: How does the time between samples in Step 11 compare with the time between the samples in Step 8? The sampling time doubles. Step 12 Calculate the new sampling frequency (fS) based on the time between samples (TS) in Step 11. fS=52.631 kHz Question: How does the new sampling frequency compare with the analog input frequency? The new sampling frequency is 5 times the analog input. Step 13 Click the arrow in the circuit window and change the Switch B to the filter output. Bring down the oscilloscope enlargement and run the simulation to completion again. Question: How does the curve plot in Step 13 compare with the curve plot in Step 10 at the higher sampling frequency? Is the curve as smooth as in Step 10? Explain why. Yes, nothing changed. The frequency of the sampling generator does not affect the filter. Step 14 Calculate the frequency of the filter output (f) based on the period for one cycle (T). T=10kHz Question: How does the frequency of the filter output compare with the frequency of the analog input? Was this expected based on the sampling frequency? Explain why. It is the same. Yes, it is expected. Step 15 Change the frequency of the sampling frequency generator to 15 kHz and change Switch B back to the DAC output. Bring down the oscilloscope enlargement and run the simulation to completion. Measure the time between samples (TS) on the DAC output curve plot (blue) TS = 66.5µs Question: How does the time between samples in Step 15 compare with the time between samples in Step 11? It is 3.5 times higher than the time in Step 11. Step 16 Calculate the new sampling frequency (fS) based on the time between samples (TS) in Step 15. fS=15.037 kHz Question: How does the new sampling frequency compare with the analog input frequency? It is 5 kHz greater than the analog input frequency. How does the new sampling frequency compare with the Nyquist frequency?
  • 9. It is much lesser than the Nyquist frequency. Step 17 Click the arrow in the circuit window and change the Switch B to the filter output. Bring down the oscilloscope enlargement and run the simulation to completion again. Question: How does the curve plot in Step 17 compare with the curve plot in Step 13 at the higher sampling frequency? They are the same. Step 18 Calculate the frequency of the filter output (f) based on the time period for one cycle (T). f=10kHz Question: How does the frequency of the filter output compare with the frequency of the analog input? Was this expected based on the sampling frequency? They are the same. Yes, it should be the same for this sampling frequency.
  • 10. CONCLUSION: Based on the input and the output displayed by the oscilloscope, I conclude that the input analog signal can be converted into digital through PCM. An ADC is use for PCM encoding while DAC is use for PCM decoding. The staircase signal is the DAC output and its frequency is generated by the signal frequency generator connected to the ADC. The sampling time is inversely proportional to the sampling frequency. Add to that, the filter output is analog like the input analog signal. Also, the frequency of the filter output is the same as the input analog signal. The cutoff frequency is inversely proportional to the capacitor, as the capacitor increases, the cutoff frequency decreases. Lastly, the frequency of the sampling signal is much lesser than the Nyquist frequency.