Chapter1 Introduction Digital Electronics
Chapter1 Introduction Digital Electronics
1
Evaluation
Item Percentage %
Individual / Group 20
Assignments
Exam 1 20
Exam 2 20
Final Exam 20
Final project 20
2
Schedule
Week description Week description
1 Presentation, introduction to digital electronics
8 Latches, Flip-Flops and timers
2 Numbering system and conversion
9 Shift registers
3 Logic gates
10 Finite state machines
• For many years, applications of digital electronics were confined to computer systems.
• Digital technology has progressed from discrete transistors to complex integrated circuits,
many of which contain millions of transistors, and many of which are programmable.
• This chapter introduces you to digital electronics and provides a broad overview of many
important concepts, components, and tools.
4
Applications
• Diagnostic equipment: Ultrasound imaging
• https://www.youtube.com/watch?v=I1Bdp2tMFsY&ab_channel=NIBIBgov
5
Applications
• Treatment equipment: Infusion pump
• https://www.youtube.com/watch?v=NmNBiTRtPFY&ab_channel=CollegeofDuPage
• https://www.youtube.com/watch?v=yQ-H6qsmZSU&ab_channel=MohammedNader 6
Applications
• Life support equipment: Neonatal intensive care unit (Incubators)
• https://youtu.be/1ga_c7nzVNw
7
Applications
• Portable diagnostic equipment: Electrochemical biosensors
• https://youtu.be/28oRB1LWWEw
8
Digital vs Analog
9
The digital advantage
• Digital data can be processed and transmitted more efficiently and reliably than analog
data.
• Digital data has a great advantage when storage is necessary. For example, music when
converted to digital form can be stored more compactly and reproduced with greater
accuracy and clarity than is possible when it is in analog form.
• Noise (unwanted voltage fluctuations) does not affect digital data nearly as much as it
does analog signals.
10
An exemplary analog system
11
A system using Digital and Analog methods
12
One application: Mechatronics
The movement of the arm in any quadrant and to any specified position is accomplished with
some type of digital control such as a microcontroller.
13
Binary digits
14
Logic levels • There can be no overlap between the
accepted range of HIGH levels and the
accepted range of LOW levels.
• HIGH for CMOS may range from 2 V to 3.3
V and LOW from 0 V to 0.8 V.
• If a voltage of 2.5 V is applied, the circuit will
accept it as a HIGH or binary 1. If a voltage
of 0.5 V is applied, the circuit will accept it as
a LOW or binary 0. For this type of circuit,
voltages between 0.8 V and 2 V are
unacceptable.
15
Digital waveforms
16
Digital waveforms: a non-ideal pulse
17
Waveforms characteristics
18
Waveforms characteristics
• The frequency 𝑓 of a pulse (digital) waveform is the reciprocal of the period. The
relationship between frequency and period is expressed as follows:
1
𝑓=
𝑇
• An important characteristic of a periodic digital waveform is its duty cycle, which is the
ratio of the pulse width (𝑡𝑤 ) to the period (𝑇). It can be expressed as a percentage.
𝑡𝑤
𝐷𝑢𝑡𝑦 𝐶𝑦𝑐𝑙𝑒 = 100%
𝑇
19
Waveforms characteristics: Example
• Determine the period, frequency and duty cycle of the following periodic digital waveform:
1 1 1 𝑚𝑠
𝑓= = = 100 𝐻𝑧 𝐷𝑢𝑡𝑦 𝐶𝑦𝑐𝑙𝑒 = 100 = 10%
𝑇 10 𝑚𝑠 10 𝑚𝑠
20
Binary information
21
Timing diagrams
22
Data transfer
OR
OR gate
24
Combinational logic functions
COMPARATOR
Combinational logic functions
ADDER
Combinational logic functions
ENCODER DECODER
Data selection functions
The storage function
SERIAL SHIFT REGISTER PARALLEL SHIFT REGISTER
The counting function
A process control system
Programmable logic
An SPLD, CPLD, or FPGA can be thought of as a “blank slate” on which you implement a
specified circuit or system design using a certain process.
Design flow diagram The circuit or system design must be entered into the
design application software using text-based entry,
graphic entry (schematic capture), or state diagram
description using Hardware description language
(HDL) such as VHDL or Verilog.