SlideShare a Scribd company logo
4/9/2012
1
Digital Logic &
Design
Dr. Sajjad Ahmed Nadeem
Department of Computer Science & IT
University of Azad Jammu & Kashmir
Muzaffarabad
Text Books
Digital Logic and Computer Design – M.
Morris Mano
Lecture Slides.
Every thing discussed in class is part of the
course material.
4/9/2012
2
Tentative Marks Distribution
150
48 15 30 60
midterm Q+A Lab. Terminal
Min Max
Number of Quizzes 2 ……..
Number of Assignments 2 ……...
Number of Lab Assignments 3 ……...
Module-01
Analog values & Digital Values.
Analog & Digital Signals.
Representing continuous signals in the form of
discrete values.
Representing Digital Values.
Merits of a Digital System.
Number Systems.
4/9/2012
3
Analog and Digital
Both data and the signals that represent them can be either
analog or digital in form.
Analog and Digital Data
Data can be analog or digital.
The term Analog data refers to information that is
continuous.
Digital data refers to information that has discrete states.
For example, an analog clock that has hour, minute, and
second hands gives information in a continuous form; the
movements of the hands are continuous.
On the other hand, a digital clock that reports the hours and
the minutes will change suddenly from 8:05 to 8:06.
Analog and Digital Data
Analog data, such as the sounds made by a
human voice, take on continuous values.
When someone speaks, an analog wave is
created in the air.
This can be captured by a microphone and
converted to an analog signal or sampled and
converted to a digital signal.
4/9/2012
4
Analog and Digital Data
Digital data take on discrete values. For
example, data are stored in computer memory in
the form of 0s and 1s.
They can be converted to a digital signal or
modulated into an analog signal for transmission
across a medium.
Analog and Digital Signals
Like the data they represent, signals can be either
analog or digital.
An analog signal has infinitely many levels of
intensity over a period of time.
As the wave moves from value A to value B, it
passes through and includes an infinite number of
values along its path.
A digital signal, on the other hand, can have only a
limited number of defined values.
Although each value can be any number, it is often
as simple as 1 and O.
4/9/2012
5
Analog and Digital Signals
The simplest way to show signals is by plotting them
on a pair of perpendicular axes.
The vertical axis represents the value or strength of
a signal.
The horizontal axis represents time.
The Figure illustrates an analog signal and a digital
signal. The curve representing the analog signal
passes through an infinite number of points.
The vertical lines of the digital signal, however,
demonstrate the sudden jump that the signal makes
from value to value.
Analog and Digital Signals
4/9/2012
6
Representing continuous signal in the
form of discrete values
This is a continuous signal.
Representing continuous signal in the
form of discrete values
A continuous signal can be represented digitally by taking samples
at regular and fixed intervals.
4/9/2012
7
Representing continuous signal in the
form of discrete values
Digital Representation.
Representing continuous signal in the
form of discrete values
In the diagram we took 10 samples at time intervals.
The digital representation of the continuous signal only
approximates the original signal. and cannot truly
represent the original signal as can be seen by plotting
the values.
The reconstructed continuous signal does not give the
exact replica of the original signal.
The reconstructed signal has sharp edges and corners in
contrast to the original signal which has smooth curves.
4/9/2012
8
Representing continuous signal in the
form of discrete values
If the number of samples collected are reduced by half, the resulting
reconstructed signal is very different from reconstructed signal.
Representing continuous signal in the
form of discrete values
If the number of samples collected are reduced by half,
the resulting reconstructed signal is very different from
reconstructed signal.
The peak in the continuous signal at 38 and the depth at
-22 are all together missing from the reconstructed
signal.
This is due to the small number of samples taken.
A better approximation of the original signals can be
obtained by increasing the number of samples.
An infinite number of samples very accurately represents
the original continuous signal.
4/9/2012
9
Representing digital values
We saw a continuous signal and its digital representation.
These digital values have to be processed electronically by a
digital system.
Generally there are two type of electronic systems : analog
systems and digital systems.
Analog systems : process continuous signals. So a
continuous quantity has to be converted into electrical voltage
terms. For example, a continuous signal of 42 deg C would be
represented by perhaps 42 mV, a continuous temperature
signal of 35.73 deg C will be represented by 35.73 mV.
Digital systems: as mentioned before, use digital or discrete
values. So are we going to be representing these discrete
values in terms of voltages? Let us see.
Representing digital values
Consider a calculator which is an example of digital system. Let
us assume that the calculator has been internally calibrated to
represent the number 1 by 1 mV.
6.25 x 10 ^15 volts which is a very large voltage value and cannot
be practically represented by any circuit.
4/9/2012
10
Representing digital values
We saw that it is not practical to represent discrete digital
values in terms of voltages in the digital system.
Basically digital systems are based in two voltage values,
they work with two voltage values.
+5 volts which represents the logic high state or logic 1
state.
0 volts which represent the logic low state or logic 0 state.
Using these two voltage values or these two states, we can
represent any quantity or value which has two states. For
example numbers 0 and 1, the color black and white, the
temperature hot and cold, an object might be moving or
stationary, so just two values.
Representing digital values
Now how can we represent multiple values or more than 2
values in a digital system?
Digital systems are based on binary number systems. A
single digit or a bit of binary number system can represent
only 2 values, a zero and a one.
To represent large values, we combine these bits. So a
combination of 2 bits would allow us to use four different
values or four quantities.
Normally we have been doing this in decimal number system.
A single digit in decimal number system can represent up to
10 values, from 0 to 9. Now how do u represent more than 10
values. Well u use a combination of 2 decimal digits.so 2
digits would allow u to use 100 values, from 0 to 99.
4/9/2012
11
Representing digital values
Similarly in a binary number system, we combine a
number of binary bits to represent multiple values.
The number 39 can be represented by a combination of
six bits. So in terms of binary, 39 is equal to 100111.
As mentioned before, in a digital system, the binary
numbers are represented in terms of voltages.
So the number 39 will be represented in terms of
voltages as 5V 0V 0V 5V 5V 5V.
Merits of a digital system
Digital systems are extensively being used. They offer a number of
advantages compared to the analog system.
Efficient Processing & Data Storage. ( Computers for example are
very efficient at processing information that is in digital binary form,
infact computers work with digital information. Another example a
CD can store a large number of digitized audio and video clips
storing the same number of audio and video clips in an analog form
would require a large number of audio or video cassettes.)
Efficient & Reliable Transmission.
Detection and Correction of Errors. (and less prone to errors. Even if
error occurs detection and correction of errors in digital data is
easier. We will be looking at the simple example of detecting error
using the parity bit method).
4/9/2012
12
Merits of a digital system
Precise & Accurate Reproduction.( For example, the picture quality
and sound quality of digitized video or audio stored on CDs can be
reproduced with a far superior quality as compared to the analog
audio and video)
Easy Design and Implementation.
Occupy minimum space. ( Digital circuits in the form of IC occupy a
very small space. For Example, the PC has a motherboard which
has an area less than one square foot. This mother board has all the
important circuitry of the computer. Digital memory on the hand is
implemented as an integrated circuit. It is small enough to fit in the
palm of your hand but it can store an entire collection of books. )
Number Systems
Number Systems
Decimal Number System
Binary Number System
Octal Number System
Hexadecimal Number System
4/9/2012
13
Number Systems
Decimal Number System
4/9/2012
14
Example
Decimal Number System
Binary Number System
4/9/2012
15
Example
Binary Number System
Representing Numbers in Different
Number Systems
4/9/2012
16
BIT
Octal Number System
4/9/2012
17
Octal Number System
Hexadecimal Number System
4/9/2012
18
Hexadecimal Number System
Converting a Number of another Base
to Decimal Number
4/9/2012
19
Converting a Number of another Base
to Decimal Number
Converting a Decimal Number to a
Number of Another Base
4/9/2012
20
Converting a Decimal Number to a
Number of Another Base
Converting a Decimal Number to a
Number of Another Base
4/9/2012
21
Converting a Number of some Base to
a Number of Another Base
Converting a Number of some Base to
a Number of Another Base
4/9/2012
22
Converting a Number of some Base to
a Number of Another Base

More Related Content

What's hot (19)

PPTX
Binary ,octa,hexa conversion
ChaudharyShoaib7
 
PPTX
Data representation
Prashant Saurabh
 
PPT
Quantitative Analysis 2
রেদওয়ান হৃদয়
 
PDF
Dld lecture notes
shwetagautam33
 
PPT
Meghna ppt.
Prerna Bhatti
 
PPT
Binary no
Jean Dcedric
 
PPTX
DEL-244Chep i
Bala Ganesh
 
PDF
Csc 2313 (lecture 3)
umardanjumamaiwada
 
PDF
Binary codes
Revathi Subramaniam
 
PDF
Digital Electronics
Mallela Niteesh Kumar Reddy
 
PPTX
Codes
Meenakshi Paul
 
DOC
Digital Comprator
suraj829
 
PPT
Dr.naveen electronics binary codes
NAVEEN KUMAR
 
PDF
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
Universitas Pembangunan Panca Budi
 
PPTX
Binary Digital representation
Sylvia Alvaro
 
PPT
Binary code
Juzen1600101
 
PPTX
Digital representation
Khlaire Paño
 
PPTX
Binary codes
Neha Jamini
 
PDF
Gr2512211225
IJERA Editor
 
Binary ,octa,hexa conversion
ChaudharyShoaib7
 
Data representation
Prashant Saurabh
 
Quantitative Analysis 2
রেদওয়ান হৃদয়
 
Dld lecture notes
shwetagautam33
 
Meghna ppt.
Prerna Bhatti
 
Binary no
Jean Dcedric
 
DEL-244Chep i
Bala Ganesh
 
Csc 2313 (lecture 3)
umardanjumamaiwada
 
Binary codes
Revathi Subramaniam
 
Digital Electronics
Mallela Niteesh Kumar Reddy
 
Digital Comprator
suraj829
 
Dr.naveen electronics binary codes
NAVEEN KUMAR
 
Single-Bit Parity Detection and Correction using Hamming Code 7-Bit Model
Universitas Pembangunan Panca Budi
 
Binary Digital representation
Sylvia Alvaro
 
Binary code
Juzen1600101
 
Digital representation
Khlaire Paño
 
Binary codes
Neha Jamini
 
Gr2512211225
IJERA Editor
 

Viewers also liked (20)

PPTX
Number+system (1)
Bilal Maqbool ツ
 
PDF
Artificial intelligence
Bilal Maqbool ツ
 
PDF
Uncdtalk
Bilal Maqbool ツ
 
PDF
Dld lecture module 03
Bilal Maqbool ツ
 
DOCX
Operating Systems
Bilal Maqbool ツ
 
PDF
Dld lecture module 02
Bilal Maqbool ツ
 
PDF
Chapter10
Bilal Maqbool ツ
 
PDF
Basic+machine+organization
Bilal Maqbool ツ
 
PDF
Dld lecture module 05
Bilal Maqbool ツ
 
DOCX
English 01 application
Bilal Maqbool ツ
 
PDF
Dld lecture module 06
Bilal Maqbool ツ
 
PDF
Complement
Bilal Maqbool ツ
 
PDF
Graphical programming
Bilal Maqbool ツ
 
PDF
Algorithm defination, design & Implementation
Bilal Maqbool ツ
 
PDF
Dld lecture module 04 01
Bilal Maqbool ツ
 
PDF
Computer graphics
Bilal Maqbool ツ
 
PPTX
Internet
Bilal Maqbool ツ
 
PPTX
Okkkkk
Bilal Maqbool ツ
 
PDF
An introduction to software
Bilal Maqbool ツ
 
Number+system (1)
Bilal Maqbool ツ
 
Artificial intelligence
Bilal Maqbool ツ
 
Dld lecture module 03
Bilal Maqbool ツ
 
Operating Systems
Bilal Maqbool ツ
 
Dld lecture module 02
Bilal Maqbool ツ
 
Basic+machine+organization
Bilal Maqbool ツ
 
Dld lecture module 05
Bilal Maqbool ツ
 
English 01 application
Bilal Maqbool ツ
 
Dld lecture module 06
Bilal Maqbool ツ
 
Complement
Bilal Maqbool ツ
 
Graphical programming
Bilal Maqbool ツ
 
Algorithm defination, design & Implementation
Bilal Maqbool ツ
 
Dld lecture module 04 01
Bilal Maqbool ツ
 
Computer graphics
Bilal Maqbool ツ
 
An introduction to software
Bilal Maqbool ツ
 
Ad

Similar to Dld lecture module 01 (20)

PPTX
GhahahhayuwuauuuwuwuwuwuuaChapter No 1.pptx
xxgamebrollxx
 
PPTX
GhshshshshsshhshshshshhshshshshChap1.pptx
xxgamebrollxx
 
PPT
- DLD_Lecture_01.ppt
Aurora358969
 
PPTX
Digital Concept - Introduction to electronics
MarkSaura2
 
PPTX
digi.elec.number%20system.pptx
ansariparveen06
 
PDF
Introduction-to-Digital Electronics Concept
MarkSaura2
 
PPTX
DSD NOTES.pptx
AzhagesvaranTamilsel
 
PPTX
DIGITAL-ELECTRONICS-lesson-1 (1).jejsjjsjs
zienkim8
 
PPTX
digital-electronics lecture Ch 1and 2 -1.pptx
abelllll
 
PDF
Lec1 - Analog and Digital systems
Muhammad Salman
 
PPT
Digital Logic Design Lecture Notes 1.ppt
RubaiyatJaky
 
PPTX
Module_1_P1 digital logic design gates algebra
Anil Yadav
 
PPTX
UNIT 1 (1).pptx
KaranAswal2
 
PPTX
Digital Logic Design Lecturbbbbe 01.pptx
hassankhan978073
 
PPTX
Chapter one of digital logic design.pptx
FBHouse
 
PPTX
DE and LD [Autosave gyideffgfd] (1).pptx
temporarymail958
 
PPT
capte1111111111111111111111111111r 1.ppt
AbrahamJemberu
 
PDF
Digital Design With Cpld Applications And Vhdlpldl Robert Dueck
wxeqjcv568
 
PPT
DLD_Lecture_notes2.ppt
NazmulHasan854383
 
PPT
Digital Computer System Introduction - New
rajasekarandpm
 
GhahahhayuwuauuuwuwuwuwuuaChapter No 1.pptx
xxgamebrollxx
 
GhshshshshsshhshshshshhshshshshChap1.pptx
xxgamebrollxx
 
- DLD_Lecture_01.ppt
Aurora358969
 
Digital Concept - Introduction to electronics
MarkSaura2
 
digi.elec.number%20system.pptx
ansariparveen06
 
Introduction-to-Digital Electronics Concept
MarkSaura2
 
DSD NOTES.pptx
AzhagesvaranTamilsel
 
DIGITAL-ELECTRONICS-lesson-1 (1).jejsjjsjs
zienkim8
 
digital-electronics lecture Ch 1and 2 -1.pptx
abelllll
 
Lec1 - Analog and Digital systems
Muhammad Salman
 
Digital Logic Design Lecture Notes 1.ppt
RubaiyatJaky
 
Module_1_P1 digital logic design gates algebra
Anil Yadav
 
UNIT 1 (1).pptx
KaranAswal2
 
Digital Logic Design Lecturbbbbe 01.pptx
hassankhan978073
 
Chapter one of digital logic design.pptx
FBHouse
 
DE and LD [Autosave gyideffgfd] (1).pptx
temporarymail958
 
capte1111111111111111111111111111r 1.ppt
AbrahamJemberu
 
Digital Design With Cpld Applications And Vhdlpldl Robert Dueck
wxeqjcv568
 
DLD_Lecture_notes2.ppt
NazmulHasan854383
 
Digital Computer System Introduction - New
rajasekarandpm
 
Ad

More from Bilal Maqbool ツ (19)

PPTX
Lecture 3 report writtng
Bilal Maqbool ツ
 
PPTX
Lecture 2
Bilal Maqbool ツ
 
PPTX
Lecture 1 report writing
Bilal Maqbool ツ
 
DOCX
Bill gates
Bilal Maqbool ツ
 
DOCX
Programming assignment 02 (bilal maqbool 10) 2011
Bilal Maqbool ツ
 
DOCX
Programming assignment 30 12-11
Bilal Maqbool ツ
 
PPTX
Internet presentation
Bilal Maqbool ツ
 
DOCX
Presentation internet programming report
Bilal Maqbool ツ
 
DOCX
Magnetic storage devices
Bilal Maqbool ツ
 
DOCX
How internet technology be used to spread scientific awareness among pakistan...
Bilal Maqbool ツ
 
DOCX
Math assignment Program
Bilal Maqbool ツ
 
DOCX
Final of sentences PPT
Bilal Maqbool ツ
 
DOCX
Advantages and disadvantages of LCD
Bilal Maqbool ツ
 
DOCX
A history of windows
Bilal Maqbool ツ
 
PPTX
Bluetooth 27 01-12 PPT
Bilal Maqbool ツ
 
DOCX
Bluetooth PPT Report
Bilal Maqbool ツ
 
DOCX
Computing assignment 02 ms access (bilal maqbool 10) se-i
Bilal Maqbool ツ
 
DOCX
Bilal maqbool assignment no.01 computing
Bilal Maqbool ツ
 
Lecture 3 report writtng
Bilal Maqbool ツ
 
Lecture 1 report writing
Bilal Maqbool ツ
 
Bill gates
Bilal Maqbool ツ
 
Programming assignment 02 (bilal maqbool 10) 2011
Bilal Maqbool ツ
 
Programming assignment 30 12-11
Bilal Maqbool ツ
 
Internet presentation
Bilal Maqbool ツ
 
Presentation internet programming report
Bilal Maqbool ツ
 
Magnetic storage devices
Bilal Maqbool ツ
 
How internet technology be used to spread scientific awareness among pakistan...
Bilal Maqbool ツ
 
Math assignment Program
Bilal Maqbool ツ
 
Final of sentences PPT
Bilal Maqbool ツ
 
Advantages and disadvantages of LCD
Bilal Maqbool ツ
 
A history of windows
Bilal Maqbool ツ
 
Bluetooth 27 01-12 PPT
Bilal Maqbool ツ
 
Bluetooth PPT Report
Bilal Maqbool ツ
 
Computing assignment 02 ms access (bilal maqbool 10) se-i
Bilal Maqbool ツ
 
Bilal maqbool assignment no.01 computing
Bilal Maqbool ツ
 

Recently uploaded (20)

PPTX
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
PDF
Dimensions of Societal Planning in Commonism
StefanMz
 
PPT
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
PDF
community health nursing question paper 2.pdf
Prince kumar
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PPTX
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PPTX
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PPTX
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
PPTX
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PPTX
How to Set Maximum Difference Odoo 18 POS
Celine George
 
PDF
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
Pyhton with Mysql to perform CRUD operations.pptx
Ramakrishna Reddy Bijjam
 
Dimensions of Societal Planning in Commonism
StefanMz
 
Talk on Critical Theory, Part One, Philosophy of Social Sciences
Soraj Hongladarom
 
community health nursing question paper 2.pdf
Prince kumar
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
Mathematics 5 - Time Measurement: Time Zone
menchreo
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
Growth and development and milestones, factors
BHUVANESHWARI BADIGER
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
STAFF DEVELOPMENT AND WELFARE: MANAGEMENT
PRADEEP ABOTHU
 
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
How to Set Maximum Difference Odoo 18 POS
Celine George
 
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 

Dld lecture module 01

  • 1. 4/9/2012 1 Digital Logic & Design Dr. Sajjad Ahmed Nadeem Department of Computer Science & IT University of Azad Jammu & Kashmir Muzaffarabad Text Books Digital Logic and Computer Design – M. Morris Mano Lecture Slides. Every thing discussed in class is part of the course material.
  • 2. 4/9/2012 2 Tentative Marks Distribution 150 48 15 30 60 midterm Q+A Lab. Terminal Min Max Number of Quizzes 2 …….. Number of Assignments 2 ……... Number of Lab Assignments 3 ……... Module-01 Analog values & Digital Values. Analog & Digital Signals. Representing continuous signals in the form of discrete values. Representing Digital Values. Merits of a Digital System. Number Systems.
  • 3. 4/9/2012 3 Analog and Digital Both data and the signals that represent them can be either analog or digital in form. Analog and Digital Data Data can be analog or digital. The term Analog data refers to information that is continuous. Digital data refers to information that has discrete states. For example, an analog clock that has hour, minute, and second hands gives information in a continuous form; the movements of the hands are continuous. On the other hand, a digital clock that reports the hours and the minutes will change suddenly from 8:05 to 8:06. Analog and Digital Data Analog data, such as the sounds made by a human voice, take on continuous values. When someone speaks, an analog wave is created in the air. This can be captured by a microphone and converted to an analog signal or sampled and converted to a digital signal.
  • 4. 4/9/2012 4 Analog and Digital Data Digital data take on discrete values. For example, data are stored in computer memory in the form of 0s and 1s. They can be converted to a digital signal or modulated into an analog signal for transmission across a medium. Analog and Digital Signals Like the data they represent, signals can be either analog or digital. An analog signal has infinitely many levels of intensity over a period of time. As the wave moves from value A to value B, it passes through and includes an infinite number of values along its path. A digital signal, on the other hand, can have only a limited number of defined values. Although each value can be any number, it is often as simple as 1 and O.
  • 5. 4/9/2012 5 Analog and Digital Signals The simplest way to show signals is by plotting them on a pair of perpendicular axes. The vertical axis represents the value or strength of a signal. The horizontal axis represents time. The Figure illustrates an analog signal and a digital signal. The curve representing the analog signal passes through an infinite number of points. The vertical lines of the digital signal, however, demonstrate the sudden jump that the signal makes from value to value. Analog and Digital Signals
  • 6. 4/9/2012 6 Representing continuous signal in the form of discrete values This is a continuous signal. Representing continuous signal in the form of discrete values A continuous signal can be represented digitally by taking samples at regular and fixed intervals.
  • 7. 4/9/2012 7 Representing continuous signal in the form of discrete values Digital Representation. Representing continuous signal in the form of discrete values In the diagram we took 10 samples at time intervals. The digital representation of the continuous signal only approximates the original signal. and cannot truly represent the original signal as can be seen by plotting the values. The reconstructed continuous signal does not give the exact replica of the original signal. The reconstructed signal has sharp edges and corners in contrast to the original signal which has smooth curves.
  • 8. 4/9/2012 8 Representing continuous signal in the form of discrete values If the number of samples collected are reduced by half, the resulting reconstructed signal is very different from reconstructed signal. Representing continuous signal in the form of discrete values If the number of samples collected are reduced by half, the resulting reconstructed signal is very different from reconstructed signal. The peak in the continuous signal at 38 and the depth at -22 are all together missing from the reconstructed signal. This is due to the small number of samples taken. A better approximation of the original signals can be obtained by increasing the number of samples. An infinite number of samples very accurately represents the original continuous signal.
  • 9. 4/9/2012 9 Representing digital values We saw a continuous signal and its digital representation. These digital values have to be processed electronically by a digital system. Generally there are two type of electronic systems : analog systems and digital systems. Analog systems : process continuous signals. So a continuous quantity has to be converted into electrical voltage terms. For example, a continuous signal of 42 deg C would be represented by perhaps 42 mV, a continuous temperature signal of 35.73 deg C will be represented by 35.73 mV. Digital systems: as mentioned before, use digital or discrete values. So are we going to be representing these discrete values in terms of voltages? Let us see. Representing digital values Consider a calculator which is an example of digital system. Let us assume that the calculator has been internally calibrated to represent the number 1 by 1 mV. 6.25 x 10 ^15 volts which is a very large voltage value and cannot be practically represented by any circuit.
  • 10. 4/9/2012 10 Representing digital values We saw that it is not practical to represent discrete digital values in terms of voltages in the digital system. Basically digital systems are based in two voltage values, they work with two voltage values. +5 volts which represents the logic high state or logic 1 state. 0 volts which represent the logic low state or logic 0 state. Using these two voltage values or these two states, we can represent any quantity or value which has two states. For example numbers 0 and 1, the color black and white, the temperature hot and cold, an object might be moving or stationary, so just two values. Representing digital values Now how can we represent multiple values or more than 2 values in a digital system? Digital systems are based on binary number systems. A single digit or a bit of binary number system can represent only 2 values, a zero and a one. To represent large values, we combine these bits. So a combination of 2 bits would allow us to use four different values or four quantities. Normally we have been doing this in decimal number system. A single digit in decimal number system can represent up to 10 values, from 0 to 9. Now how do u represent more than 10 values. Well u use a combination of 2 decimal digits.so 2 digits would allow u to use 100 values, from 0 to 99.
  • 11. 4/9/2012 11 Representing digital values Similarly in a binary number system, we combine a number of binary bits to represent multiple values. The number 39 can be represented by a combination of six bits. So in terms of binary, 39 is equal to 100111. As mentioned before, in a digital system, the binary numbers are represented in terms of voltages. So the number 39 will be represented in terms of voltages as 5V 0V 0V 5V 5V 5V. Merits of a digital system Digital systems are extensively being used. They offer a number of advantages compared to the analog system. Efficient Processing & Data Storage. ( Computers for example are very efficient at processing information that is in digital binary form, infact computers work with digital information. Another example a CD can store a large number of digitized audio and video clips storing the same number of audio and video clips in an analog form would require a large number of audio or video cassettes.) Efficient & Reliable Transmission. Detection and Correction of Errors. (and less prone to errors. Even if error occurs detection and correction of errors in digital data is easier. We will be looking at the simple example of detecting error using the parity bit method).
  • 12. 4/9/2012 12 Merits of a digital system Precise & Accurate Reproduction.( For example, the picture quality and sound quality of digitized video or audio stored on CDs can be reproduced with a far superior quality as compared to the analog audio and video) Easy Design and Implementation. Occupy minimum space. ( Digital circuits in the form of IC occupy a very small space. For Example, the PC has a motherboard which has an area less than one square foot. This mother board has all the important circuitry of the computer. Digital memory on the hand is implemented as an integrated circuit. It is small enough to fit in the palm of your hand but it can store an entire collection of books. ) Number Systems Number Systems Decimal Number System Binary Number System Octal Number System Hexadecimal Number System
  • 15. 4/9/2012 15 Example Binary Number System Representing Numbers in Different Number Systems
  • 18. 4/9/2012 18 Hexadecimal Number System Converting a Number of another Base to Decimal Number
  • 19. 4/9/2012 19 Converting a Number of another Base to Decimal Number Converting a Decimal Number to a Number of Another Base
  • 20. 4/9/2012 20 Converting a Decimal Number to a Number of Another Base Converting a Decimal Number to a Number of Another Base
  • 21. 4/9/2012 21 Converting a Number of some Base to a Number of Another Base Converting a Number of some Base to a Number of Another Base
  • 22. 4/9/2012 22 Converting a Number of some Base to a Number of Another Base