Академический Документы
Профессиональный Документы
Культура Документы
P.S. Gandhi
Mechanical Engineering
IIT Bombay
PRASANNA S GANDHI 1
– Floppy drive
– CDROM drive : Gross positioning servo
system
– CD ROM Drives: fine positioning and
focussing servo system
– Scanner
Scanne
– Micromouse
– Autofocus camera
– Deskjet printer
PRASANNA S GANDHI 2
1
Other applications
of logic design
Embedded products and real-
real-time
control systems: as we saw already
Scientific equipment
– Testing, sensing, reporting
Conventional computer design
– CPUs, busses, peripherals
Networking and communications
– Phones, modems, routers
PRASANNA S GANDHI 3
Brief history
1850: George Boole invents Boolean algebra
– Maps logical propositions to symbols
– Permits manipulation of logic statements using mathematics
1938 Cl
1938: Claude
d Shannon
Sh links
li k Boolean
B l algebra
l b to switches
i h
– His Masters’ thesis
1945: John von Neumann develops first stored program
computer
– Its switching elements are vacuum tubes (a big advance from
relays)
1946: ENIAC
ENIAC--
--world’s
world’s first all electronic computer
– 18,000 vacuum tubes
– Several hundred multiplications per minute
1947: Shockley, Brattain,
Brattain, and Bardeen invent the transistor
– replaces vacuum tubes
enable integration of multiple devices into one package
– gateway to modern electronics
PRASANNA S GANDHI 4
2
Logic design
What is design?
Given a problem develop a solution using
available resources to meet some specific
design performance parameters
Logic design?
Converting application task inputs and
outputs
p to specifications
p in terms of 0s and
1s. (encoding) Î several possible ways
Establishing mathematical relationship and
developing combination of basic elements to
achieve the goalÎ
goalÎ several possible ways
PRASANNA S GANDHI 5
Typical steps in
logic design
representation: "0", "1" on a wire
– set of wires (e.g., for binary integers)
assignment: x = y
data operations: x + y – 5
control:
– sequential statements: A; B; C
– conditionals: if x == 1 then y
– loops: for ( i = 1 ; i == 10, i++)
– procedures: A; proc(...); B;
Study how these are implemented in hardware
PRASANNA S GANDHI 6
3
Switches to
create logic
Logic implementation
AND logic
OR logic
PRASANNA S GANDHI 7
Switching networks
To build larger computations
– Use a light bulb (output of the network) to set
other switches (inputs to another network)Î
network)Î
concept of relay
4
Transistors replacing
relays
Relays: bulky unreliable
Invention of transistors first in the form of
cathode ray tubes and next in the form of
semiconductor revolutionized digital circuits
Current technology: Complementary metal
oxide semiconductor (CMOS) :
– Several chips including pentium use this
– Fabrication using VLSI technology (Very large
scale integration
MOS transistors act as voltage controlled
PRASANNA S GANDHI 9
switches
CMOS Transistors
PRASANNA S GANDHI 10
5
Simple network
Logic Gate
Input is X and output is Y
Can you generate a truth
table (1 means 3v):
X Y
Logic gates
Truth tables
NAND
X Y Z
0 0 1
0 1 1
1 0 1
1 1 0
NOR
X Y Z
0 0 1
0 1 0
1 0 0
1 1
PRASANNA S GANDHI 0 12
6
How to construct other
gates in similar way?
PRASANNA S GANDHI 13
7
Some practical aspects:
CMOS networks
Why do we use digital abstraction??
Course Goals
Be in position to develop logic for application
and design
g preliminary
p y digital
g circuits.
Understand digital number representation.
Know microprocessor fundamentals and be in
position to find out resources, understand
datasheets of a μc, and program it for given
control application.
Be in a position to interface microprocessor
with peripherals.
Understand basics of control
implementation PRASANNA S GANDHI 16
8
Course Goals
U d t d fundamentals
Understand f d t l off ffeedback
db k
control system: “System perspective” of
looking at dynamics
Be able to model the system, linearize if
not, and analyze it for stability and develop
simple control algorithms
Be in position to quantify parameters of
control to match desired specifications
PRASANNA S GANDHI 17