Eln Assignment 2
Eln Assignment 2
Eln Assignment 2
Syctem.
A Ermbe d de d
Gener al Computing System
y stem
Itis designed using amicTo Tt is designe d using a
ProcessOT dS the main microcont ro ller as the
pro cessing unit.
mainprocessing unit
*A Computer Tee ds human An embedde d
sy stem
in teraction to pe-dom +ask does not require human interaction
* Analog *Small Scale fmbedded
IDigital Cormputer,
Hybri d, HarvaTd|Von neumam System, Sophictacated
ov
etc are Some ecamples Comple Embe dded System
* I many task
Can perdo7m 1 Can perdom Spec itie task
Micvocontrolle-v
Assemb
used are edtor,
*The main
Pro9raming tools
Os assemble gintegrated
developme nt enviTonmentuDE
ITs
WJmay Or may not Con tain an operating sy stemor
) unction ing
Medium 6cale
They aTe
*Jhey
EAn
buiH oitb
Electvic
Erobedded
16 bit
toy
ysten
o 32-bit Mic o controlleT
Code
Ct RTO's De bugqer Source ete
ATM
fi)orge Scale Embedded Syskemsl
Jhese Systems bave highly Com plee havd wave G Sqtuwo
The
They aTe built around 32 bit or 64 bit MicvoControlles
RISC Soc,
proce sso-rs scalable Conltqurable proesors
* They aTe also Called Sothisticat
ed ermbedded Syctems
|A)Explain the
the Domains and Aveas Ql Applications
o Embedaed
System
A )+HomeAtpliances
,
Dishwasher,
Disbwasher, Washiog Machine, Micvowave Set-topb
machine
Secuity eustem, HVAc System, D VD, Answerin9 et
)
OLiceAutomationt
Fax, Copy machine, Srnavtphone Syskem, Modern Scarres Pte-
3)Secuity
Face secoqni tion, Fin ge*, Eye recogri tion ,buildinq
Systerm, Airport
Securit syste Secuvity syuskem, Alaram System
A) Acodemiol
Smart board Smart room , Calculator, Smavt Card
,GPS
) Sustem Air bag
Entetain ment t-
Cruise Control
Medical
e monit
itor
CScannev, eCG), eeG, eMG,MRI, Glucos
BP Monitor
Medical device
diagonis+iC
10
Banking and iance 1
Shaxe mo
machine,Cash segister
nATM,Smayt Vendor
1) Miscellan ousl
Elevator ,
Treadmill, Security doo ec.
A Memo
Communication
intedace
Suppor ing
C's
Subsustem
IE
Syetem CoYe ic he heav! o an Embed ded 6yshem
Types oProcessoTS
ene al Pu7pose Proces sor
Mico procecsS oY
MicoContvoller
oE mbedded
procecsor
o
Diqital Sigoal Processor
O Me dia Processor
*Mem0
1 is a
tis stovage device which can be divided into 2
Categoies namely PrimaTH G Secondard'
Sensor3S
with Eovinma-
Sensors aTe used to interac4
divelly
o
Ihe
The Sensed enerqy is Converted to mose Suitable orm
bytranduction €lement
o There are vaious types oSeosors base d on postion-
ess
Clockvequency 1s ve Cb is lecs
i O7
o hig dreuency
de Giga tle»tz n Ovder al Meqa tlevt z
8) Compare RISC and CIsC
A RISC CisC
Computev
extewnal
Calculatlon
MemOvy o Mem Oy dor (altulafiong
ooanm
6800.
A RM, Pic, Pooev Avih:
4ecture, Alpha, A VR ete
q- / VAx, Motovoba
60, AmD the Tnte
Syrtem
86 CPOC
i) Von-
Wite a note on )la~ d architecdure
Neuman avthitecture
A )Ha vavd Axchitecturet.
ecture chavtevized
The 4lav
tlarvad
vard avchit
S
by
by
the tHavad Ma-kT use d physiCally eperate
1s Game
use
ime
d in mic
mic To
7o
Contollev and
contolle Sig
nal ro cersing
9Von-Neumoano
Architecture
Architecture
The
devol
o neuman (a:kabrince ton) avc hitee
oped dov the
and da+a
eNIACc usecbe same mem
Storage
poth o(or both
both roqram
p*oq
and data
CPo
Memo
Jtis ancient Computer architecture based on stored
cHecfure
achi
based On stored
*1 is
architechure
Computed
based
model
Pro9am Computey Concept
to
CPo is Connected data CPO is connected
trars c
*14 is cheape in Cost 14 is coctly
Cyele
ith a Oeat block
dio
diagram explain an insrumendatio
and Cont rol
Sctem
A: ostrume ntation
an instrurnm
is a device meas
Techoology measusement,
thal me c
aSures O7 manipu lotes prOce cs
hy sical Vaables
SSucb as dloo, tempe-ratur e, level
Op essure.
Displad
1
Phy sical
uontity
Qenso S9na Signal proceuing- Data
Out put
Conditioning
Recording
Adove bloek diagram
ghoos the a7Tangement an
instrumentation
System
The physical
Lodity to be measuved acts upon
Sensor that
p-roduces ao electrical output signa
The 6ignal is an electvical
Analogue the
othe
hysical input but there ae may not be a linear
e lation ship be4ween the phyei cal ts electvical
9y
eauval
Out put produce by the Senso also may be Small or
an
n an acce ptab le doTm OSignal pro
ceccing diotlonjin
re Cording
The signal proCessin9 may uSe digital Tather than
be
Analog Signals thic purpose ADC may cared.
Cont vol System !-
Conmpavator ne9y
Source
Input Sigal evwry
Cdemand)
Power amplijier Controller
device
>Outpe
Cto load
As in
Fe ed back
Signab Conditioning
loop
- Sensov<
A a sgnal de-ive
nthes e two
Compaator
d
is
rom
signals
used
&
output
as
w here
to Sense the
o
De VolT
DC voltage
the Controlle d device
12 What is
ans duce
can take
Can
tran sduce
Tbesc
, 2 Exlain
aTe
ma oTmt
with an ecampie
Cabies to
Keq es eeence un ction and connbensated
)
i)Tachoqene rator Toothed
roto tachometev
9) Float Switch
electro
magnetic Vibration
SensorS
Dutput Transduce»s
lou dsteakev
Diapbraqm atached to a Coil is Suspended
MelallicConduclov in
Conductor
the Conducto
O ca domer Curyent dlowing
3
roducer heat
Potatory Potentiometer
Muti-phase
! motor pro vides
precise
pe
0taion in desCrete sHeps a 1s (2H cheps vevolutis)
?
4)What is Sensor ?Hoo Cencors are Categorised
a Siqnal o
A Sensov-Ttis a device that recieves
in the
to the stimulue
stimulus and Desponds
om o electical signal
into didderent types
Ihe Sensors aTe classiied
and Conver
on the applications , input sig nal,
based
Sensor
Sion m echan i'sm , material used in Charate-isti
System
a Con version
A Sensor is device use do the
phy
phy si Cal
si cal uah tiby ido e lectical Signals
This is a ha dware device that tbke the inputom
envirO0 men+ and qives to he syrtem by Converting it
For e
A +he rmometer
takes temp a physical quantiy
Senso
Unit a System
Ackuato is a de vice that converts the electrical sig nal
and to the
T+ takes input lr0m the System gives output
enverOnment
Motos 6 heatercoeSome ACt uators etc
tovCg
Actuato
Unit o Syelem
elecdi
Convevts elechic
CornvevtS ch-ical
IAlhat is Actuato»?
hich
ohich
lo) Ac
is a transducer acHion. Actua
action
A- Actuafov
Physical
to Cocsponding
Signal
acts as an Output device
is oss ent ial.
cation intedace ial proc
why Communi
Ecplain an essential
is ess
CommComm unication
interd
ace
Subsystemg
Subsycteme
o
with vaiow
dor Communicating ec+ernal wod
ecternal wod
the
4he
and with
the embedded
the Sy stem
eperspectiveg
be vieo ed in too didevent
Can
inte-oce
D De vice/boavd le vel Communi ca tion
intex{ace CExernal C
2)Pro duct level Com muntation
indemal Comnmunitatol
|18) Men+ion and exp lain dkerent
intedace
Communoica ion intendace
A De vice On boawd level
it
hlithin
an embedded ehame oduct
the waious Component s rdered
Sui
inter Connects
i LeD that
diode is semicon ducto light sounce
A ligk emiting
electrons
oben Curent d loos through it
emits
emits light
holes,
Con ductov Tecom bine oith elec4ron
in the Semi
Telea Sing ener9y in the oTm o hotong
* Construction and hlovking a Lep becoue
iH is
mati
The
The Constvuctioo LEDs ion
vevy simple
thee
Sern
tor
iconductor
Senmiconduc
mo
depoit a/
designed thvoughb
layes ovev
Su bstrate.
one
wh ere e
Ye arrange d one by
These 3 lyers is active
9the
reaion
n is P-type ,#nidd le
tO Teqio
is
boHom eqion N-type
can be observed
3 Tegions o Semiconductor matevial
des
hole, NtYPE
Ip Con Structlon b P4ybe inclu der
electrons ler bya
ntro by a med
me
to por in al Mic ron
LED Can be
inteaced
to por+pio Catho
Meth od 1t Anode
LED is cOnnected
PoRT
MicRo-Conl R
TROLLER
4hough the
4o the e lay cojl, Current loos
qield
coil, o bich in turn
urn genc
generatee
a magnetic
The
The magnetic dield
a+acts the avmature core and
attracts movg
the Contact ormatu
point The move
Sgnal qloo bath.
move ment
Co
Ql Contoct point
c
io
hange
ent|
Theae are availa ble d'js
Conigurations
A Singe pole
Sinqle throo har only 1path (o7 inloTmation
low ohich is eithe oben Ow closed in noma
Fow dormally open Sinqle pole single throuo circuit
is normally
A7his a which
Contans tpez oelectric dioathvogm produc,
to it
audible Sound in response to voltage applied
-o
he se buzzerS
The se are available in two ty pe they aa
Sel d-iving t-
Thès Cireuit contains all the necessa"y COmpon
to qenevate sound at
apred iedin ed tone
Esetevnal drivinq t These buzzers Suppots the generation
Piezobu2zer
9tsv ER2
Micro
Controller
Po pin MRL
Transistor
KCOW
ch bu on
Push Switcht-
in 2 Corliqu
isaninput de vice. Puch
bulon switcr
Cone
a
na mely Push to
make and Push tobreak
fo the Pusth to is noxmally
makeCon the switch
oben Stae andit
sf '9ue, when pushed
open make a circuit Contact
is normaly
fn the Push to Bseak the switch
cond 9ure
contact
n 4he
pthe closed state and it
breaks the ciacuit
1oben puche d.
is
procesO contolle
on the which pub buHon i'ntetoced
Dep endi ng way in
to Co
Controller,
ntroller ItCan9enerate
can eitheHigh pulse o Low
ulse NLL Ncc
Port
Portpin
pin
deducucestbe no Mati
interdace Connection
-
Tker
The gedm etry and all ign ment a stepper motor har
to
3Dpiting eqipmeny
Pinting preue
Small obotics
CNC millng & Welding machi ne
RR) WTite
A ) a
Based
note On
Classification
On Gene rationt
of Embedded System.
First Generationt
The ealier e simple embedded system built
COCsPe-Conquvable rOu nd
around
multi -Cor e
an
Process os ana
brocess o% d
ocesor
CO-P~ocewors also in this 9enerahon
qhese Syetem toere emêrqed
ar Sma14 9hpeomance Tealtime Sysbens
devica, digital
Camea etc
t) Based On
COplexity an d Peorm Peoiem en
a) Small Scale
o
Embedded Systen
Sma
Small Scale embe dded cysheme aTe buit
oith single
6 bi+
micTopro cewor or
PTOCesor orControlle
Contro
.Eae lectronic loy
Stictly dollowed
Mis ioq deadline are acceptable but the
(ortark
limif
micging deadline should be within Compliance
|
fv) Based on Jziggeving
ghe embe dded sqstem are clautiedinto tuoo ypes
base d 0n the triggering osystembtime tiggered
event triggered.
activate d boe d on pve deqine d task
System is
Eplaih about
)DART(Gnivavsal d USB
UART Ond
:-
e
Asun chronow Recievev JvansmiHer)
Onow
TT) SB (Univers al Serial Bus)
data
OSB s a wiaed higb speed serial bus do
Connectivity
ty oth
oith usB sla ve dev ice , packei zin9
and gormati ng the data pa cket
La ba ble
Suppovs Co mmupi Cation distance upto
Smees
USBpos Can be Cateqovised On Vesi or CosBI0,
OSB D , OsB 3
b)
E Dektop, Laptob , media ployere 6 Gam ing
Consoles
O Com m on Catho de ,
Com m all Catho de al all LeDs ae connect
to qether to round a o o ward biasinq.
+NcC
A B C D F G DP
Con nectln
et LED Displayt
P2-1 ww A
gnto P. 2c wMww. -A
Micvo
Controlle
P2:3
P2
P2
P2o
w.
ww
- D
F
G
DP
D /p
D-C
A Keypad dorking
controllex
*To de tect a presse d key, the micro
Beore pvessing
ey
RiRaR,Pu =0000 C
C2 C34 =
Tthe dala ead dOm s= 111 then no key
~orm C olumn is
Column
IS
esSed omd
is
hepro cess continue +i key presed
detecded.
Ate
Precsingthe a
ey
R RrR3 Ry = Oo00 C,C (3Cy =O1
One the column bit has zevo, this means th
hac esed
Mico cont roller
Ater detect ing a
uoill
key pressed^