1 IntroductoryConcepts
1 IntroductoryConcepts
Design
N Amanquah.
Associate Professor of EEE
Overview
• Part I
• What course covers
• Context/Relationship to other EE courses
• Logistics & Syllabus
• What are Digital Systems?
• Part II
• Some basic number representation
By the end of this course..
• Energy systems:
• Electrical Machines Circuits &
Electronics
• Power systems
• Power Electronics Instrumentation E Machines I & II
Digital Systems
Signals & Systems
Design
• Signal/data processing
• Analog electronics Power Engineering Embedded Systems
Communication
Systems
• Digital Electronics
• Embedded Systems Power Systems
Analysis
VLSI DSP
Lo
Main types of Electronics
• Linear Electronics:
• operate the devices in active mode of operation
• Power Electronics:
• Typically operate in cut-off and the saturation region of a transistor
• Processing of high voltage & currents. Other power devices: Diodes, SCR,
Triacs etc
• Digital Electronics:
• What is it?
Definitions
• “Digital electronics is a field of electronics involving the study of
digital signals and the engineering of devices that use or produce
them”
https://en.wikipedia.org/wiki/Digital_electronics
Basic Background/Context
• Advantages of Sampled digital signal
• Reproducible with greater accuracy
• Processed and transmitted more efficiently
• stored
Basic Building Blocks for logic
And their representation, and implementation
Logic gates
• NOT
• AND
• OR
• TTL logic
Boolean Expressions
FSM Minterms: (3)
X= A.B
(for sequential) Max terms: (0,1,2)
VHDL
Waveforms
Implementing Digital Logic
PAL
• Three types of chips:
• Standard chips
• Programmable chips
• Custom chips
• Programmable Logic Devices
• SPLD – simple (replace a few fixed logic devices)
• PAL & GAL
• Prog Arry Logic –programmed 1 time
• Gate Array Logic- (EEPROM)
• No longer produced.
• CPLD – complex
• IC Package types
• Through hole devices: eg DIP (dual in line package)
• SMT: (surface mount technology)
• SOIC –small outline IC/ SOP – small outline package QFP, etc
• Pin numbering
• LSI (large), VLSI, ULSI (ultra);
see https://components101.com/articles/different-ic-package-types-and-which-one-should-you-select for package types
Supplementary info on package types: ICs
• DIP (Double In-line Package) (THT)
• SOP/SOIC -Small Outline [Package, IC]
• SSOP (Shrink Small Outline Package):
• TSOP (Thin Small Outline Package)
• QFP (Quad Flat Package)
• LQFP (Flat Quad Flat Pack)
• QFN (Quad Flat Non-leaded Package)
• BGA (Ball Grid Array Package)
https://www.quick-pcba.com/pcb-news/ic-packaging-types.html
Be familiar, do not memorize. You will get to know it over time
Supplementary info on package types-
transistors
• Common
Transistor
Packages
(THT) TO-18 TO-92 TO-220 TO-03
• Small outline
Transistor Has increased heat sink
Packages
(SMT)
SOT-223
SOT-23
Out of curiosity, what is -12.5? (apply the same rules, 2’complement or find -13+0.5)
ans=1111 0011.1 (assuming 8 whole bits)
(use 8 bits)
Negative binary numbers
• Most commonly used in computers, microprocessors, signal processors etc
is 2’complement representation
Double Precision: 11 bits for Exponent & 20+32bits for mantisa, 64 bits total
Exercise: what number is represented?
• Octal Numbers,
• Groups of 3 bits 508d à774o
• Oct to bin to oct 774o à 111 111 100
Other Number Formats
What is 0.2 in bin?
BCD
• 0000 to 1001 valid
Usefulness in floating point arithmetic accuracy in calculators, Also devices with 7-seg displays
BCD addition with Carry
• Eg.
1100
Gray Code
• Only one bit change from one to the next
• Positioning in shaft encoder
Creation of Gray code:
• Gray code by reflection
• BIN to Gray:
• Start form LHS, MSB is same. add one bit to the next to obtain Gray
• conversion of the binary number 10110 to Gray code
• Eg 1001b == 1101
HINT HINT
What logic gate for adding numbers?
• Gray to BIN
• Start from LHS, MSB is same. Add new BIN bit to next Gray
• conversion of the Gray code word 11011 to binary