Electronics Buse
Electronics Buse
T1:
TRANSDUCERS
1.
0Int
roduct
ion
At
ransduceri
sanydev
icet
hatconv
ert
sener
gyf
rom onef
ormt
oanot
her
.Int
hisuni
t,
y
ouar
egoi
ngt
ocov
ert
hef
oll
owi
ngi
nputt
ransducer
s:l
i
ghtdependentr
esi
stor(
LDR)
,
t
her
mist
orand st
rai
n gauge as wel
las t
he f
oll
owi
ng out
putt
r sl
ansducer i
ght
emi
tt
ingdi
ode(
LED)
,buzzerandr
elay
.
Lear
ningObj
ect
ives
Af
terst
udy
ingt
hisuni
t,y
oushoul
dbeabl
eto:
descr
ibet
hechangei
nresi
stanceofanLDRwi
thl
i
ghti
ntensi
ty;
sket
cht
het
emper
atur
echar
act
eri
sti
csofanegat
ivet
emper
atur
ecoef
fi
cient
t
her
mist
or;
descr
ibet
hest
ruct
ureofamet
alwi
rest
rai
ngauge;
r
elat
eext
ensi
onofast
rai
ngauget
ochangei
nresi
stanceoft
hegauge;
cal
cul
atet
heout
putf
rom sensi
ngdev
icesusi
ngt
hev
olt
agedi
vi
derr
ule;
expl
aint
heuseofLEDsasdev
icest
hati
ndi
cat
ethest
ateoft
heout
putof
el
ect
roni
cci
rcui
ts;
and
descr
ibet
heuseofbuzzer
sandr
elay
sinel
ect
roni
cci
rcui
ts.
1.
1Inputt
ransducer
s:Thel
i
ghtdependentr
esi
stor(
LDR)
,ther
mist
orandst
rai
n
gauge.
1.
1.1The(
LDR)
YoucanmakeanLDRbysandwi
chi
ngaf
il
m ofphot
osensi
ti
vemat
eri
alsuchas
cadmi
um sul
phi
debet
weent
womet
alel
ect
rodes.I
thasawi
ndowwhi
chal
l
owsl
i
ght
t
oreacht
hephot
osensi
ti
vemat
eri
al.AnLDRi
ssensi
ti
vet
ochangesi
nli
ghti
ntensi
ty.
Ty
pical
l
y,i
ncompl
etedar
kness,i
tsr
esi
stancei
sabout ,i
nmoonl
i
ght
,it
s
r
esi
stancei
sabout andi
nbr
ightsunl
i
ght
,about .Youshoul
dal
sot
ake
not
ethataconst
antl
i
ghti
ntensi
tygi
vesaconst
antLDRr
esi
stance.TheLDRsy
mbol
i
sshowni
nFi
gur
e1.
1(a)
.
Page1of1
Fi
gur
e1.
1(a)
:TheLDRsy
mbol
.
TheLDR’
sresi
stancef
all
swi
thi
ncr
easi
ngl
i
ghti
ntensi
tyasi
l
lust
rat
edi
nFi
gur
e1.
1
(
b).
Fi
gur
e1.
1(b)
:Thev
ari
ati
onofr
esi
stancewi
thi
l
lumi
nat
ion(
i.
e.)
,ther
elat
ionshi
p
bet
weenl
i
ghtf
all
i
ngont
heLDR(
inci
dentl
i
ght
)andt
heLDR’
sresi
stance.
1.
1.2Thet
her
mist
or
You can manuf
act
ureat
her
mist
ori
nvar
ious shapes and si
zes usi
ng semi
-
conduct
iveoxi
desofdi
ff
erentmet
alssuchasni
ckeloxi
deorcobal
toxi
desot
hata
smal
lchangei
ntemper
atur
epr
oducesasi
gni
fi
cantchangei
nresi
stance.I
nthi
s
r
espect
,ther
mist
orsar
eal
soknownast
emper
atur
e– dependentr
esi
stor
s.The
sy
mbol
forat
her
mist
ori
sshowni
nFi
gur
e1.
2.
Fi
gur
e1.
2:Thet
her
mist
orsy
mbol
.
Negat
ivet
emper
atur
e coef
fi
cient(
NTC)t
her
mist
ors hav
eresi
stances t
hatv
ary
i
nver
sel
y wi
th t
emper
atur
e(i
.e.
),t
hei
rresi
stance becomes smal
l
er as t
he
t
emper
atur
eincr
eases.Thi
sisi
l
lust
rat
edi
nFi
gur
e1.
3.
Page2of2
Fi
gur
e1.
3:Thev
ari
ati
onofr
esi
stancewi
tht
emper
atur
eforanNTCt
her
mist
or.
1.
1.3Thest
rai
ngauge
Youcanmakeast
rai
ngaugebyseal
i
ngal
engt
hofv
eryf
inewi
rei
nasmal
lrect
angl
e
oft
hinpl
ast
ic,
asshowni
nFi
gur
e1.
4(a)
.
Page3of3
Fi
gur
e1.
4(a)
:Themet
alwi
rest
rai
ngauge.
I
fyoust
ret
cht
hepl
ast
ic,t
hepl
ast
icexper
iencesast
rai
n,andt
hewi
rewi
l
lal
sobe
st
ret
ched.Thi
shasef
fect
sofi
ncr
easi
ngt
hewi
re’
slengt
handdecr
easi
ngi
tscr
oss-
sect
ionalar
ea sl
i
ght
ly.Bot
htheseef
fect
scauset
her
esi
stanceoft
hewi
ret
o
i
ncr
ease.Thi
sisi
l
lust
rat
edi
nFi
gur
e1.
4(b)
.Ify
ouwantt
omoni
tort
hest
rai
nina
mat
eri
al,y
oushoul
dgl
uet
hest
rai
ngaugev
erysecur
elyt
othemat
eri
alt
hati
stobe
putunderst
ress.
Fi
gur
e1.
4(b)
:Thev
ari
ati
onofr
esi
stancewi
thst
rai
n.
Page4of4
Exampl
e1.
1
Consi
derawi
rewi
thauni
for
m cr
osssect
ionalar
ea.Show t
hatt
hest
rai
nwhi
chi
s
pr
opor
ti
onalt
oit
sext
ensi
on wi
l
lal
sobepr
opor
ti
onalt
othechangei
nresi
stance
.
Sol
uti
on
Youshoul
drecal
lthatt
her
esi
stanceRofawi
reofl hLandofuni
engt for
m cr
oss-
sect
ional
areaAi
sgi
venby
:
…(
i)
wher
eρi
sther
esi
sti
vi
tyoft
hemat
eri
aloft
hewi
re.
I
fyouassumet
hatt
her
eisanegl
i
gibl
echangei
nthear
eaofcr
osssect
ionwhent
he
wi
reext
endsbyasmal
lamount ,
thennewr
esi
stancewi
l
lbe:
…(
ii
)
wher
e i
sthechangei
nther
esi
stance.
Youcansubt
ractequat
ion(
i)f
rom (
ii
)toget
:
or α .
Thus,i
fyouassumet
hatt
hear
eaofcr
osssect
ioni
sconst
ant
,thest
rai
nwhi
chi
s
pr
opor
ti
onalt
otheext
ensi
on wi
l
lal
sobepr
opor
ti
onalt
othechangei
nresi
stance
.
1.
2Usi
ngLDRs,
ther
mist
orsandst
rai
ngaugesi
npot
ent
ial
div
iderci
rcui
ts
I
nputt
ransducer
s(sensi
ngdev
ices)ar
eusual
l
yconnect
edt
oanel
ect
ri
calci
rcui
t
whi
chi
sdesi
gnedt
opr
ovi
deav
olt
aget
hatwi
l
lcont
rol
anout
putt
ransducer
.Youcan
Page5of5
consi
deran exampl
e ofan i
nputt
ransducerwhi
ch gi
ves r
ise t
o a change i
n
r
esi
stanceR,
sayat
her
mist
ori
nFi
gur
e1.
5.Apot
ent
ialdi
vi
derl
i
ket
heoneshowni
n
Fi
gur
e1.
5canbeusedt
oconv
ertt
hischangei
nRi
ntoachangei
nvol
tage,
V0.
Fi
gur
e1.
5:Pot
ent
ial
div
iderci
rcui
t.
I
fyouconnectasuppl
yofemf andnegl
i
gibl
eint
ernalr
esi
stancei
nser
ieswi
tha
f
ixedr
esi
storofr
esi
stance andasensi
ngdev
iceofr
esi
stanceR,t
heout
put
v
olt
age wi
l
lbe:
Al
ter
nat
ivel
y,y
oucandi
vi
debot
hthenumer
atoranddenomi
nat
oroft
heabov
e
equat
ionbyR.Thi
sgi
vesy
ou:
.
Thi
sal
ter
nat
iveexpr
essi
onpr
ovi
desaneasi
erwayofobser
vingt
hedependenceof
t
heout
putv
olt
agewi
tht
hechangesi
nthev
olt
agedi
vi
der
’sr
esi
stances.
Sel
fAssessmentQuest
ion1.
1
I
nFi
gur
e1.
5,t
hesensi
ngdev
icei
sanegat
ivet
emper
atur
ecoef
fi
cientt
her
mist
or.
Page6of6
(
a)Whathappenst
othet
her
mist
or’
sresi
stanceandev
ent
ual
l
y,t
heout
putv
olt
age
as:
(
i)t
het
her
mist
orcool
s?and
(
ii
)thet
her
mist
orbecomeshot
?
(
b)Gi
veanyr
eal
li
feappl
i
cat
ionoft
heci
rcui
tshowni
nFi
gur
e1.
5.
Exampl
e1.
2
Abat
ter
yofemf6.
0Vandnegl
i
gibl
eint
ernalr
esi
stancei
sconnect
edi
nser
ieswi
tha
f
ixed
r
esi
storofr
esi
stance1kΩandast
rai
ngaugeofr
esi
stance2kΩasshowni
nFi
gur
e
1.
6.
Fi
gur
e1.
6:Pot
ent
ial
div
ider
.
Fi
ndt
het
hepot
ent
ial
dif
fer
encebet
weent
het
ermi
nal
soft
hest
rai
ngauge.
Sol
uti
on
Pot
ent
ial
dif
fer
enceacr
osst
hest
rai
ngauge
Exampl
e1.
3
Page7of7
At
emper
atur
esensori
nputsubsy
stem i
sshowni
nFi
gur
e1.
7.
Fi
gur
e1.
7:Temper
atur
esensori
nputsubsy
stem.
Thet
her
mist
orshowni
nFi
gur
e1.
7hasar
esi
stanceof40kΩat00C,
15kΩat250C,
and
1kΩat1000C.Cal
cul
atet
heout
putv
olageV0atXatat
t emper
at eof250C.
ur
Sol
uti
on
Youcanobser
vet
hatatat
emper
at eof250C,
ur thet
her
mist
orhasar
esi
stanceRof
20kΩ.Ther
efor
e,i
fyouappl
ythepot
ent
ial
div
isi
onf
ormul
a,y
ouget
:
Sel
fAssessmentQuest
ion1.
2
TheLDRshowni
nFi
gur
e1.
8hasar
esi
stanceof i
nbr
ightl
i
ght
.Whati
sthe
v
alueoft
heout
putv
olt
age .
Page8of8
Fi
gur
e1.
8:Pot
ent
ial
div
ider
.
1.
3Out
putt
ransducer
s:Thel
i
ght–emi
tt
ingdi
ode(
LED)
,buzzerandr
elay
1.
3.1TheLED
AnLEDi
sadi
odet
hatemi
tsl
i
ghtonl
ywheni
tisf
orwar
dbi
ased.Thesy
mbolf
oran
LEDi
sshowni
nFi
gur
e1.
9.
Fi
gur
e1.
9:TheLEDsy
mbol
.
LEDscanemi
tdi
ff
erentcol
our
sofl
i
ghtsuchasr
ed,gr
een,y
ell
ow,bl
ue,whi
teand
amber(
etc.
),dependi
ngont
hemat
eri
alusedi
nthei
rmanuf
act
uri
ng.Thei
rlowpower
consumpt
ion makes t
hem sui
tabl
eforuse as i
ndi
cat
ors.LEDs ar
e sol
i
d-st
ate
dev
ices,sot
heyar
emuchmor
erobustt
hanf
il
amentl
amps.Ar
esi
stori
sfr
equent
ly
connect
edi
nser
ieswi
thanLED,
sot
hatwhent
heLEDi
sfor
war
dbi
ased(
thedi
odei
s
conduct
ing)
,thecur
renti
snotsol
argeast
odamaget
heLED.
Sel
fAssessmentQuest
ion1.
3
TheLEDi
nFi
gur
e1.
10needsacur
rentof5mAandaf
orwar
dvol
tagedr
opof1V
acr
ossi
ttomakei
tli
ghtcor
rect
ly.
Page9of9
Fi
gur
e1.
10:
LEDi
nser
ieswi
thar
esi
storR.
(
a)Cal
cul
atet
heamountofpowerusedbyt
heLED.
(
b)Gi
vent
hatt
heLEDi
son:
(
i)whati
sthecur
rentt
hroughr
esi
storR?
(
ii
)cal
cul
atet
hev
olt
ageacr
ossr
esi
storR.
Exampl
e1.
4
AnLEDi
susedast
heout
putdev
icei
nadi
git
alsy
stem t
hatgi
vesanout
putv
olt
age
of
0Vor12Vasi
l
lust
rat
edi
nFi
gur
e1.
11.
(
a)Showi
nFi
gur
e1.
11howt
heLEDandanot
hercomponentshoul
dbeconnect
ed
t
othesy
stem t
oli
ghtwhent
heout
puti
shi
gh.
Page10of10
Fi
gur
e1.
11:
Digi
tal
syst
em.
(
b)(
i)TheLEDhasaf
orwar
dvol
tagedr
opof2Vwheni
tisconduct
ingt
her
equi
red
25mA
cur
rent
.Cal
cul
atet
hev
alueoft
hecomponenty
ouhav
echoseni
npar
t(a)
.
(
ii
)Fi
ndt
hepowerdi
ssi
pat
edbyt
hiscomponent
.
(
ii
i)I
f25mA i
sthemaxi
mum al
l
owabl
ecur
rentt
hrought
heLED.Choosean
appr
opr
iat
e
pr
efer
redv
aluef
ort
hiscomponent
.
(
iv)Whati
sthecol
ourcodef
ort
hechosenv
aluei
npar
t(b)
(i
ii
)ifi
thasat
oler
ance
of5%?
Sol
uti
on
(
a)
Page11of11
Fi
gur
e1.
12:
Digi
tal
syst
em.
(
b)(
i)
(
ii
) .
(
ii
i)430Ω(
all
ow470Ω)
.
(
iv)Yel
l
ow,
orange,
brownandgol
d.
Sel
fAssessmentQuest
ion1.
4
Expl
aint
heuseofLEDsasdev
icest
oindi
cat
ethest
ateoft
heout
putofel
ect
roni
c
ci
rcui
ts.
1.
3.2 Buzzer
Abuzzeri
sanel
ect
roni
cosci
l
lat
orci
rcui
tconnect
edt
oasol
i
d-st
atesounderwhi
ch
i
swi
redandseal
edi
nsi
deasmal
lpl
ast
iccase.Thel
eadswhi
chemer
gef
rom t
he
casemustbeconnect
edt
oapowersuppl
yfort
hebuzzert
osound.
Sel
fAssessmentQuest
ion1.
5
Dr
awt
heel
ect
roni
csy
mbol
forabuzzer
.
Page12of12
1.
3.3Ther
elay
Ar
elayi
sanel
ect
romagnet
icswi
tcht
hatusesasmal
lcur
rentt
oswi
tchonorof
fa
l
argercur
rent
.Thesmal
lcur
rentener
gisesanel
ect
romagnett
hatoper
atescont
act
s,
swi
tchi
ngonorof
fthel
argercur
rent
.Thesy
mbol
forar
elayi
sshowni
nFi
gur
e1.
13.
Fi
gur
e1.
13:
Ther
elaysy
mbol
.
Ar
elayhasnor
mal
l
ycl
osedcont
act
s(n.
c.)whi
chopenornor
mal
l
yopencont
act
s
(
n.o.
)whi
chcl
osei
fyouener
gisei
t.
Sel
fAssessmentQuest
ion1.
6
Li
stanyt
woi
nputandt
woout
putt
ransducer
s.
1.
4Uni
t1Summar
y
LDRs,t
her
mist
ors and st
rai
n gauges ar
einputt
ransducer
s whi
l
e LEDs,
buzzer
sandr
elay
sar
eout
putt
ransducer
s.
I
nputt
ransducer
sar
e usual
l
yconnect
ed t
o an el
ect
ri
calci
rcui
twhi
ch i
s
desi
gnedt
opr
ovi
deav
olt
aget
hatwi
l
lcont
rol
out
putt
ransducer
s.
Thev
olt
agedi
vi
derr
ulecanbeusedt
ocal
cul
atet
heout
putv
olt
agef
rom
sensi
ngdev
ices.
1.
5Uni
t1Quest
ions
1.Whati
sat
ransducer
?
2.Descr
ibe and expl
aint
he use of LDRs,negat
ivet
emper
atur
e coef
fi
cient
t
her
mist
orsand
met
alwi
rest
rai
ngaugesi
nav
olt
agedi
vi
derci
rcui
ttopr
ovi
deanal
oguesi
gnal
s.
3.Youcanr
epl
aceRi
nFi
gur
e1.
5wi
thanLDRsucht
hat r
espondst
ochangesi
n
Page13of13
l
i
ght
i
ntensi
ty.
(
a)Whathappenst
otheLDR’
sresi
stanceandev
ent
ual
l
y,t
heout
putv
olt
age as:
(
i)dar
knessf
all
sont
heLDR?
,and
(
ii
)li
ghtf
all
sont
heLDR.
?
(
b)Gi
veanyr
eall
i
feappl
i
cat
ionoft
heci
rcui
tshowni
nFi
gur
e1.
5wi
thRst
il
l
r
epl
acedby
anLDR.
4.Sket
cht
het
emper
atur
echar
act
eri
sti
csofanegat
ivet
emper
atur
ecoef
fi
cient
t
her
mist
or.
5.Dr
aw t
heel
ect
roni
csy
mbolf
orar
elayandbr
ief
lydescr
ibei
tsusei
nel
ect
roni
c
ci
rcui
ts.
6.Wr
it
eouti
nful
lthemeani
ngoft
hef
oll
owi
ngr
elaycont
actl
abel
s.
(
a)NC,
and
(
b)NO.
7.Wi
tht
heai
dofacl
ear
lyl
abel
l
eddi
agr
am,
bri
efl
ydescr
ibet
hest
ruct
ureofamet
al
wi
re
st
rai
ngaugeandhenceshow t
hat ,wher
e i
sthechangei
n
r
esi
stanceand
i
sthechangei
nlengt
hoft
hewi
re.
8.At
emper
atur
esensori
nputsubsy
stem i
sshownFi
gur
e1.
14.
Page14of14
Fi
gur
e1.
14:
Temper
atur
esensori
nputsubsy
stem.
Thet
her
mist
orshowni
nFi
gur
e1.
14hasar
esi
stanceof45kΩat00C,20kΩat250C,
and1kΩ at1000C.
(
a)Atwhatt
emper
atur
egi
venabov
ewi
l
lthecur
rentt
hrought
heci
rcui
tbemaxi
mum?
(
b)Whydoesmaxi
mum cur
rentf
lowatt
hist
emper
atur
e?
(
c)Det
ermi
net
hev
alueoft
hiscur
rent
.
(
d)Whati
stheout
putv
olt
ageatPatt
hist
emper
atur
e?
9.Fi
gur
e1.
15showsal
i
ghtsensorci
rcui
tandanLDR’
sdat
asheet
.
Fi
gur
e1.
15:
Lightsensorci
rcui
tandt
heLDRdat
asheet
.
(
a)Supposey
ouf
indt
hatt
hel
owestr
esi
stanceoft
heLDRi
nbr
ightsunl
i
ghti
s100Ω.
Page15of15
The
LDRmaxi
mum powerdi
ssi
pat
ioni
s100mW.Cal
cul
ate:
(
i)t
hemaxi
mum cur
rentt
hatcanf
lowsaf
elyt
hrought
heLDRi
nbr
ightsunl
i
ght
.
(
ii
)thet
otal
resi
stanceoft
heLDRandf
ixedr
esi
storR,
thatwoul
dli
mitt
hecur
rent
t
hrought
heLDRt
othev
aluef
oundi
npar
t(i
).
(
ii
i)t
hemi
nimum r
esi
stancet
hatcoul
dsaf
elybeusedf
orR,andt
henchooset
he
l
owest
appr
opr
iat
eval
uef
rom t
heE24ser
ies.
(
b)Det
ermi
net
heout
putv
olt
ageoft
heci
rcui
tatpoi
ntXwhent
hel
i
ghtl
evel
is:
(
i)10l
ux.
(
ii
)0l
ux.
(
c)St
atewhyt
hev
alueofr
esi
stancechoseni
npar
t(a)(
ii
i)i
sapoorchoi
cef
or
measur
ing
l
owl
i
ghtl
evel
s.
(
d)Howwoul
dyouchanget
hev
alueofRcal
cul
atedi
npar
t(a)(
ii
i)t
oimpr
ovet
he
si
tuat
ion
atl
owl
i
ghtl
evel
s?
(
e)Theci
rcui
tispower
edf
rom a12Vbat
ter
yofl
ow capaci
ty. St
ateoneot
her
adv
ant
age
ofchangi
ngt
hev
alueofR.
10.A st
udentbui
l
dsaqui
z-scor
ingci
rcui
tthathasf
iveLEDsasi
tsout
put
.The
st
udent
connect
seachoft
hef
iveout
put
soft
heci
rcui
ttot
heLEDsv
iaf
ivei
dent
ical
r
esi
stor
sas
showni
nFi
gur
e1.
16.
Page16of16
Fi
gur
e1.
16:
Qui
z-scor
ingci
rcui
t.
(
a)EachLEDhasaf
orwar
dvol
tagedr
opof1.
7Vatt
hemaxi
mum f
orwar
dcur
rentof
20mAandt
heci
rcui
tpr
oducesa9Vout
putsi
gnalwhent
hecor
respondi
ngLED
i
s
swi
tchedon.
(
i)Cal
cul
atet
hev
olt
ageacr
ossar
esi
storRwheni
tsLEDi
sswi
tchedon.
(
ii
)Cal
cul
atet
hev
alueoft
her
esi
storRneeded.
(
ii
i)Sel
ectt
hemostsui
tabl
epr
efer
redv
aluef
rom t
heE24ser
iesf
orR i
fthe
maxi
mum
cur
rentf
ort
heLEDi
snott
obeexceeded.
(
iv)Cal
cul
atet
heact
ualcur
rentt
hrought
heLED whent
hepr
efer
redv
alueof
r
esi
stori
n
par
t(a)
(i
ii
)isused;
assumet
heLEDf
orwar
dvol
tagedr
opr
emai
nsat1.
7V.
(
v)Wi
thnoLEDsswi
tchedon,
thequi
z-scor
ingci
rcui
tal
onedr
aws30mAf
rom t
he
9V
powersuppl
y.Cal
cul
atet
hecur
rentconsumpt
ionoft
hisci
rcui
twi
thal
ltheLEDs
swi
tchedon.
(
vi)Commentont
hesui
tabi
l
ityofasmal
l
,low capaci
ty9Vbat
ter
ytopowert
his
sy
stem.(
b)Thest
udentdeci
dest
oeconomi
seonr
esi
stor
sbyconnect
ingal
ltheLED
anodes
di
rect
lyt
otheout
put
soft
heci
rcui
t,andusi
ngasi
ngl
eresi
storoft
hepr
efer
red
Page17of17
v
alue
choseni
npar
t(a)
(i
ii
)toconnectal
lLEDcat
hodest
o0V.
(
i)Est
imat
ethecur
rentt
hrougheachact
iveLEDwhent
hreeoft
hem ar
eswi
tched
onat
t
hesamet
ime.
(
ii
)Descr
ibet
heappear
anceoft
heLEDsasdi
ff
erentnumber
soft
hem ar
e
swi
tchedon.
Commentont
hedesi
rabi
l
ityofusi
ngasi
ngl
eresi
stor
.
11.Abat
ter
yofemf6.
0Vandnegl
i
gibl
eint
ernalr
esi
stancei
sconnect
edi
nser
ies
wi
tha
f
ixedr
esi
storofr
esi
stance0.
5kΩandat
her
mist
orasshowni
nFi
gur
e1.
17.
Fi
gur
e1.
17:
Pot
ent
ial
div
ider
.
Atr
oom t
emper
atur
e,t
het
her
mist
or’
sresi
stance,RTH i
s2.
5kΩ.Cal
cul
atet
he
pot
ent
ial
di
ff
erenceacr
osst
het
her
mist
oratr
oom t
emper
atur
e.
Page18of18
UNI
T2:
OPERATI
ONALAMPLI
FIERS
2.
0Int
roduct
ion
Anoper
ati
onalampl
i
fier(
op-
amp)i
sani
ntegr
atedci
rcui
tofaboutt
went
ytr
ansi
stor
s
t
oget
herwi
thaf
ew r
esi
stor
sandcapaci
tor
s,al
lfor
medonat
inysi
l
iconsl
i
ceand
seal
edi
napackagef
rom whi
chdi
ff
erentconnect
ionst
otheext
ernalci
rcui
temer
ge.
I
nthi
suni
t,y
ouwi
l ert
lcov hepr
oper
ti
esofop-
amps,char
act
eri
sti
csofop-
amps,
f
eedbackandbasi
cappl
i
cat
ionci
rcui
ts.
Lear
ningObj
ect
ives
Af
terst
udy
ingt
hisuni
t,y
oushoul
dbeabl
eto:
l
i
stt
hepr
oper
ti
esofi
deal
andr
eal
op-
amps;
deduce,f
rom t
hepr
oper
ti
esofani
dealop-
amp,t
heuseofanop-
ampasa
compar
ator
;
expl
aint
hepr
inci
plesofposi
ti
veandnegat
ivef
eedback;
r
ecal
lthe ci
rcui
tdi
agr
ams f
orbot
hthe i
nver
ti
ng and t
he non-
inv
ert
ing
ampl
i
fierf
orsi
ngl
esi
gnal
input
;
uset
hev
irt
ualear
thappr
oxi
mat
iont
oder
iveanexpr
essi
onf
ort
hegai
nof
i
nver
ti
ngampl
i
fier
s;
r
ecal
landuseexpr
essi
onsf
ort
hev
olt
agegai
nofi
nver
ti
ngandofnon-
i
nver
ti
ngampl
i
fier
s;
descr
ibet
heuseofanop-
ampasasummeri
nthei
nver
ti
ngmode;
Page19of19
i
dent
if
yandexpl
aint
heuseofanop-
ampasav
olt
agef
oll
ower
;
descr
ibet
heuseofanop-
ampasanon-
inv
ert
ingSchmi
dtt
ri
ggerwi
thposi
ti
ve
f
eedbackpr
ovi
dedbyapot
ent
ial
div
ider
.
2.
1Pr
oper
ti
esofanop-
amp
Anop-
amphast
woi
nputt
ermi
nal
sandoneout
putt
ermi
nal
.Theposi
ti
vei
nputi
s
r
efer
redt
oast
henon-
inv
ert
ingi
nputwhi
l
ethenegat
ivei
nputi
sref
err
edt
oast
he
i
nver
ti
ngi
nput
.Thesy
mbolf
oranop-
ampi
sshowni
nFi
gur
e2.
1.Thegr
ound(
i.
e.)
,0
Vi
susedast
her
efer
encepoi
ntf
orbot
hinputandout
putv
olt
agesasi
l
lust
rat
edi
n
Fi
gur
e2.
1(a)
.Usual
l
y,t
hepowersuppl
yter
minal
sar
eomi
tt
edandt
heop-
amp
sy
mbol
isdr
awnasshowni
nFi
gur
e2.
1(b)
.
(
a) (
b)
Fi
gur
e2.
1:Op-
ampsy
mbol
.
I
nFi
gur
e2.
1(a)
,supposet
hev
olt
agesacr
osst
hei
nver
ti
ngandnon-
inv
ert
ingi
nput
s
eV– andV+ r
ar espect
ivel
y,wher hV– andV+ ar
ebot egr
eat
ert
hanzer
o.Anop-
amp
connect
edi
nthi
swayoper
atesasadi
ff
erent
ialampl
i
fierbecausei
tampl
i
fiest
he
di
ff
erencebet
weent
het
woi
nputv
olagesV– andV+.Theout
t putv
olt
ageV0 i
s
pr
opor
ti
onalt
othedi
ff
er weenV– andV+ (
encebet i.
e.)
,ify
ouconnectanop-
ampt
o
appr
opr
iat
epowersuppl
i
es,
itgi
vesanout
putv
olt
age
wher
eA0i
stheopen-
loopgai
noft
heop-
amp.
Sel
fAssessmentQuest
ion2.
1
Whati
smeantbyopen–l
oopgai
n?
Page20of20
Ani
dealop-
amphast
hef
oll
owi
ngpr
oper
ti
es:
(
i)i
nfi
nit
einputi
mpedance,
(i.
e.)
,nocur
rentf
lowsi
ntoei
theroft
het
woi
nput
s;
(
ii
)inf
ini
teopen– l
oopgai
n(i
.e.
),asl
i
ghtdi
ff
erencebet
weent
het
woi
nput
v
olt
ages,
sat
urat
est
heout
put
;
(
ii
i)
zer
oout
puti
mpedance(
i.
e.)
,thewhol
eoft
heout
putv
olt
agei
spr
ovi
ded
acr
osst
heout
putl
oad;
(
iv)
inf
ini
tebandwi
dth(
i.
e.)
,itampl
i
fiesal
lfr
equenci
esbyt
hesamef
act
or;
(
v)i
nfi
nit
esl
ew r
ate(
i.
e.)
,asuddenchangei
nthei
nputr
esul
tsi
nasudden
changei
nthe
out
put
,wi
thoutanyt
imedel
ay;
Howev
erar
, ealop-
amphas:
(
i)v
eryhi
ghi
nputi
mpedance, ween106Ωand1012Ω;
bet
(
ii
)ver
yhi
ghopen–l
oopgai
n, about105f
A0, ordcsi
gnal
s;
(
ii
i)v
eryl
owout
puti
mpedance,
ofabout100Ω;
(
iv)l
i
mit
edbandwi
dth;
(
v)l
i
mit
edsl
ewr
ate;
2.
2Theuseofanop-
ampasacompar
ator
I
fyouwantt
ouseanop-
ampi
naci
rcui
t,y
oushoul
dconnecti
ttoadual
,orspl
i
t
powersuppl
ymadeupoft
woset
sofbat
ter
ies,
asshowni
nFi
gur
e2.
2.Thezer
ovol
t
l
i
nef
ormst
hecommonl
i
nkoft
het
woset
sofbat
ter
iesaswel
last
her
efer
encet
o
whi
chal
li
nputandout
putv
olt
agesar
emeasur
ed.
Page21of21
Fi
gur
e2.
2:Vol
tagecompar
ator
.
Fi
gur
e2.
2isi
ntheopenl
oopmodesi
ncenof
eedbackconnect
ioni
sputbet
weent
he
out
putandei
theroft
hei
nput
s.Ther
efor
e,y
oucanf
indt
heopenl
oopgai
nA0 as
f
oll
ows:
(
i.
e.)
,openl
oopgai
n=out
putv
olt
age t
hepdbet
weent
hei
nput
s.
Youshoul
drecal
lt s105f
hatA0i ordcv
olt
ages.
Exampl
e2.
1
Useener
gyconsi
der
ati
onst
ofi
ndt
heout
putv
olt
ageV0 i
nthecompar
atorci
rcui
t
showni
nFi
gur
e2.
2,i
f:
posi
ti
vesuppl
yli
ne=+9.
0V,
negat
ivesuppl
yli
ne=–9.
0V,
,
and
.
Sol
uti
on
Youcanf
indt
heout
putv
olt
ageV0asf
oll
ows:
Page22of22
.
Obv
iousl
y,t
hiscannotbepossi
blebecausef
rom ener
gyconsi
der
ati
ons,t
heout
put
v
olt
agecannev
erexceedi
tsownpowersuppl
yvol
tage.Hence,t
heout
putv
olt
age
wi
l
lbe+9.
0Vandt
heop-
ampi
ssai
dtobesat
urat
ed.
Exampl
e2.
2
Fi
ndt
heout
putv
olt
ageV0i
nthecompar
atorci
rcui
tshowni
nFi
gur
e2.
2,i
f:
posi
ti
vesuppl
yli
ne=+6.
0V,
negat
ivesuppl
yli
ne=–6.
0V,
,
and
.
Sol
uti
on
Youcanf
indt
heout
putv
olt
ageV0asf
oll
ows:
Agai
n,t
hiscannotbepossi
blebecausef
rom ener
gyconsi
der
ati
ons,t
heout
put
v
olt
agecannev
erexceedi
tsownpowersuppl
yvol
tage.Hence,t
heout
putv
olt
age
wi
l
lbe–6.
0Vandt
heop-
ampi
ssai
dtobesat
urat
ed.
Ther
efor
e,y
oushoul
dtakenot
ethat
,unl
esst
het
woi
nputv
olt
agesar
eal
most
i
dent
ical
,theop-
ampi
ssat
urat
ed.Al
so,
theout
put
’spol
ari
tydependsonwhi
chi
nput
i
sthel
arger
.Forexampl
e,i
f ,
theout
puti
sposi
ti
ve.
Theci
rcui
tincor
por
ati
ngt
heop-
ampcompar
est
het
woi
nput
sandgi
vesanout
put
whi
ch dependson whet
her , or and i
sknown asa
compar
ator
.
Apot
ent
ialdi
vi
deri
susual
l
yconnect
edt
oeachoft
het
woi
nput
sasshowni
nFi
gur
e
2.
3.Onepot
ent
ialdi
vi
derpr
ovi
desaf
ixedv
olt
ageatonei
nputwhi
l
etheot
her
Page23of23
pot
ent
ialdi
vi
derpr
ovi
desav
olt
agedependentuponsomephy
sicalpr
oper
ty(
e.g.
),
l
i
ghti
ntensi
tysucht
haty
ouwi
l
lhav
eacompar
atorf
orusewi
thanLDRl
i
ket
heone
showni
nFi
gur
e2.
3.
Fi
gur
e2.
3:Compar
atorf
orusewi
thanLDR.
I
nFi
gur
e2.
3,t
her
esi
stor
sofr
esi
stanceRwi
l
lgi
ver
iset
oaf
ixedv
olt
ageof½V
att
hei
nver
ti
ngi
nput
.
TheLDR,
ofr
esi
stanceRLDR i
sconnect
edi
nser
ieswi
thaf
ixedr
esi
storofr
esi
stance
RF.
I
ftheLDRi
sindar
kness, ,
then andt
heout
putsat
urat
esposi
ti
vel
y.
I
ftheLDRi
sinday
li
ght
, ,
then andt
heout
putsat
urat
esnegat
ivel
y.
TheLDRcoul
dber
epl
acedbyot
hersensor
stopr
ovi
deal
ter
nat
ivesensi
ngdev
ices.
Forexampl
e,useofat
her
mist
orcoul
dpr
ovi
deaf
rost
-war
ningdev
iceort
emper
atur
e
cont
rol
dev
ice.
Exampl
e2.
3
Fi
gur
e2.
4showspar
tofacompar
atorci
rcui
t.
Page24of24
Fi
gur
e2.
4:Par
tofacompar
atorci
rcui
t.
(
a)Thei
nver
ti nputV–r
ngi equi
resar
efer
encev
olt
ageof4V.
(
i)I
nFi
gur
e2.
4dr
awt
wocomponent
sandt
hei
rconnect
ionst
oshowhowt
hisi
s
achi
eved.
(
ii
)Sel
ectsui
tabl
eval
uesf
ort
hesecomponent
sandmar
kthesei
nFi
gur
e2.
4next
t
oeach
component
.
(
b)TheLDRhasamaxi
mum powerdi
ssi
pat
ionof120mW.
(
i)Cal
cul
atet
hemaxi
mum cur
rentt
hatcoul
dsaf
elyf
lowt
hrought
heLDRi
fithad
12V
acr
ossi
t.
(
ii
)Cal
cul
atet
hecombi
nedr
esi
stanceoft
heLDRandRt
hatwoul
dal
l
ow t
his
cur
rentt
o
f
low.
(
ii
i)TheLDRhasami
nimum r
esi
stanceof100Ωi
nver
ybr
ightl
i
ght
.Cal
cul
atet
he
v
alue
ofRr
equi
redi
fthecur
rentcal
cul
atedi
npar
t(b)
(i
)isnott
obeexceeded.
(
c)Gi
vent
hatt
heop-
ampusedi
nFi
gur
e2.
4isi
deal
,st
atei
tsout
putv
olt
agewhen:
(
i) .
(
ii
) .
Page25of25
Sol
uti
on
(
a)(
i)and(
ii
)
Usi
ngt
hev
olt
agedi
vi
derr
ule:
Ther
efer
encev
olt
age, ,sot
het
wor
esi
stor
sshoul
dhav
ethe
f
oll
owi
ngv
alues, and ,
respect
ivel
y,asshowni
nFi
gur
e2.
5.
Fi
gur
e2.
5:Par
tofacompar
atorci
rcui
t.
(
b)(
i)) .
(
ii
) .
(
ii
i) .
(
c)(
i)0V.
(
ii
)12V.
Sel
fAssessmentQuest
ion2.
2
Consi
dert
hecompar
atorci
rcui
tshowni
nFi
gur
e2.
6whi
chi
susedt
oli
ghtupanLED
wheni
tget
sdar
kasawar
ningt
oabusdr
ivert
oswi
tchont
heheadl
i
ght
s.The
r
esi
stor
sgi
veaconst
antv
olt
ageof6.
0Vatt
hei
nver
ti
ngi
nput
.Expl
ainwhathappens
t
otheLEDwhen(
i)dar
knessand(
ii
)li
ghtf
all
sont
heLDR?
Page26of26
Fi
gur
e2.
6:Compar
atorci
rcui
t.
2.
3Feedback
Feedbackr
efer
stot
hepr
ocessoft
aki
ngsome,oral
l
,oft
heout
putoft
heop-
amp
andaddi
ngi
ttot
hei
nput
.Thebasi
car
rangementi
sil
l
ust
rat
edi
nFi
gur
e2.
7wher
ea
f
ract
ionβoft
heout
putv
olt
ageoft
heop-
ampi
sfedbackandaddedt
otheappl
i
ed
i
nputv
olt
age.
Fi
gur
e2.
7:Feedbackci
rcui
t.
Theop-
ampi
tsel
fampl
i
fieswhat
everv
olt
agei
spr
esentati
tsi
nputbyanamountA0,
t
heopen-
loopgai
n.Ther
efor
e,t
heout
putv
olt
agei
s (
inputt
oop-
amp)
I
fyour
ear
range,
youget
Page27of27
Hence,
theov
eral
lgai
noft
heop-
ampwi
thf
eedbacki
s:
I
fthef
ract
ionβi
sposi
ti
ve,
thent
hedenomi
nat
ori
ntheabov
eequat
ioncanbemade
t
obez
ero.Thi
spr
oducesanampl
i
fyi
ngsy
stem wi
thani
nfi
nit
egai
n(i
.e.
),anout
put
i
spr
oducedf
ornoi
nput
.
Her
e,af
ract
ionoft
heout
putv
olt
agei
sfedbackt
othenon–i
nver
ti
ngi
nput
,in
phasewi
tht
hei
nputv
olt
ageasi
l
lust
rat
edi
nFi
gur
e2.
8.
Fi
gur
e2.
8:I
ll
ust
rat
ionofposi
ti
vef
eedback.
I
fthef
ract
ionβi
snegat
ive,t
hent
hedenomi
nat
ori
ntheabov
eequat
ionmustbe
gr
eat
ert
hanuni
ty.Thi
spr
oducesanampl
i
fyi
ngsy
stem wi
thanov
eral
lgai
nthati
s
smal
l
ert
hant
heopen-
loopgai
nA0oft
heop-
ampi
tsel
f.Her
e,af
ract
ionoft
heout
put
v
olt
agei
sfedbackt
othei
nver
ti
ngi
nput
,outofphasewi
tht
hei
nputv
olt
ageas
i
l
lust
rat
edi
nFi
gur
e2.
9.
Fi
gur
e2.
9:I
ll
ust
rat
ionofnegat
ivef
eedback.
Negat
ivef
eedbackmayseem t
omaket
hepr
ocessofampl
i
ficat
ionf
rui
tl
essduet
o
r
educt
ioni
nov
eral
lgai
nbuti
thasi
tsownadv
ant
ages:
ani
ncr
easei
nbandwi
dth(
i.
e.)
,ani
ncr
easei
nther
angeoff
requenci
esov
er
whi
cht
hegai
nisconst
ant
,
l
essdi
stor
ti
on,
and
Page28of28
gr
eat
eroper
ati
ngst
abi
l
ity
.
2.
4Thei
nver
ti
ngop-
amp
Thei
nputsi
gnalVin i
sappl
i
edt
othei
nputr
esi
storRin andnegat
ivef
eedbacki
s
appl
i
edv
iat
her
esi
storRfasi
l
lust
rat
edi
nFi
gur
e2.
10.
Fi
gur
e2.
10:
Inv
ert
ingop-
amp.
Ther
esi
stor
sRinandRff
orm apot
ent
ialdi
vi
derbet
weent
hei
nputandt
heout
putof
t
heop-
amp.Fort
heop-
ampnott
obesat
urat
ed,t
het
woi
nputv
olt
agesmustbe
al
mostt
hesame. Her
e,t
henon-
inv
ert
ingi
nput(
+)i
sear
thed(
i.
e.)
,connect
ed
di
rect
lyt
othezer
o-v
oltl
i
ne.Hence,t
hei
nver
ti
ngi
nput(
–)mustbev
irt
ual
l
yatt
he
samepot
ent
ialast
henon-
inv
ert
ingi
nput(
i.
e.)
,atzer
ovol
ts(
ear
th)andf
ort
his
r
eason,
thepoi
ntPi
sknownasav
irt
ual
ear
th.
Youneedt
orecal
lthatt
heop-
amp’
sinputi
mpedancei
sver
ylar
gesucht
hatno
cur
rentf
lowsi
ntoei
thert
henon-
inv
ert
ingi
nputort
hei
nver
ti
ngi
nput
.Thi
smeans
t
hatt
hecur
rentf
rom,ort
o,t
hesi
gnalsour
cemustgot
o,orcomef
rom,t
heout
put
,
asshowni
nFi
gur
e2.
11.Si
ncet
hisi
sani
nver
ti
ngop-
amp,aposi
ti
vei
nputv
olt
age
gi
vesr
iset
oanegat
iveout
putv
olt
ageandv
icev
ersa.
Page29of29
Fi
gur
e2.
11:
Aposi
ti
vei
nputgi
vesr
iset
oanegat
iveout
putandv
icev
ersa.
I
fyour
efert
oFi
gur
e2.
10,
bear
ingi
nmi
ndt
hatt
heop-
ampdr
awsnocur
rentbecause
ofi
tshi
ghi
nputi
mpedance,y
ouwi
l
lobser
vet
hatt
hecur
rentf
lowi
ngt
hroughRin i
s
equal
tot
hecur
rentf
lowi
ngt
hroughRf(
i.
e.)
,pdacr
ossRin Rin=pdacr
ossRf Rf.
Si
ncePi
satzer
ovol
ts,
You can si
mpl
i
fyt
he abov
e equat
ion t
o gett
he gai
n oft
he i
nver
ti
ng op-
amp,
Youshoul
dobser
vet
hatf
orsi
mpl
i
cit
y,t
hepowersuppl
yli
nesar
eomi
tt
edandal
so
t
heop-
ampi
sassumedt
obenotsat
urat
ed.
Exampl
e2.
4
Cal
cul
atet
hecl
osedl
oopgai
noft
hei
nver
ti
ngop-
ampshowni
nFi
gur
e2.
10when
and .
Sol
uti
on
2.
5Thenon–i
nver
ti
ngop-
amp
Thei
nputsi
gnalVin i
sappl
i
eddi
rect
lyt
othenon-
inv
ert
ingi
nput(
+)andnegat
ive
f
eedbacki
sappl
i
edbymeansoft
hepot
ent
ialdi
vi
derconsi
sti
ngofr
esi
stor
sR1 and
Rfasshowni
nFi
gur
e2.
12.
Page30of30
Fi
gur
e2.
12:
Non-
inv
ert
ingop-
amp.
I
fyouassumet
hatt
heop-
ampi
snotsat
urat
ed,
thent
het
woi
nputv
olt
agesmustbe
v
irt
ual
l
ythesame.Her
e, .
Youcanappl
ythepot
ent
ialdi
vi
derf
ormul
atof
indt
hei
nver
ti
ngi
nputv
olt
ageas
f
oll
ows:
Ther
efor
e,
.
I
fyour
ear
ranget
heabov
eequat
ion,y
ougett
heov
eral
lvol
tagegai
noft
henon-
i
nver
ti
ngop-
amp,
.
Thenon-
inv
ert
ingop-
ampgi
vesanout
putt
hati
sinphasewi
tht
hei
nput
.
Sel
fAssessmentQuest
ion2.
3
Consi
dert
heci
rcui
tshowni
nFi
gur
e2.
12wi
th and .Det
ermi
ne
t
hegai
noft
heop-
amp.Hence,
cal
cul
ateV0i
f
2.
6Thesummi
ngampl
i
fier
Page31of31
I
nFi
gur
e2.
13,
thenoni
nver
ti
ngi
nputi
satzer
ovol
tssopoi
ntPi
satv
irt
ual
ear
th.
Fi
gur
e2.
13:
Summi
ngop-
ampi
nthei
nver
ti
ngmode.
I
fyouappl
yKi
rchhof
f`scur
rentl
aw atj
unct
ionP(
bear
ingi
nmi
ndt
hatnocur
rent
f
lowsi
ntot
heop-
amp)
:
I
f ,
then .
Whent
hei
nput
sar
eacsour
ces,t
henegat
ivesi
gni
ndi
cat
est
hatt
heout s1800
puti
outofphasewi
tht
heact
ual
sum.
Exampl
e2.
5
Cal
cul
atet
heout
putv
olt
ageoft
hesummi
ngampl
i
fierci
rcui
tshowni
nFi
gur
e2.
13,
when , , and .
Page32of32
Sol
uti
on
,
Ther
efor
e,
2.
7Thev
olt
agef
oll
ower
Thev
olt
agef
oll
owerci
rcui
tissi
mil
art
othenon-
inv
ert
ingop-
ampci
rcui
t(seeFi
gur
e
2.
12)wi
th (
shor
tci
rcui
t)and (
openci
rcui
t)sot
hatal
ltheout
puti
sfed
backasi
l
lust
rat
edi
nFi
gur
e2.
14.
Fi
gur
e2.
14:
Vol
tagef
oll
ower
.
Theov
eral
lvol
tagegai
noft
hev
olt
agef
oll
oweri
s:
(
i.
e.)
, .Thus,what
everchangesoccurt
othei
nput
v
olt
ageal
sooccurt
otheout
putv
olt
age(
i.
e.)
,theout
putv
olt
agef
oll
owst
hei
nput
v
olt
age.Thi
sci
rcui
tisusedt
oconnecthi
ghi
mpedancesour
cest
olow i
mpedance
l
oadsandi
sknownasauni
tygai
nbuf
fer
.
Sel
fAssessmentQuest
ion2.
4
(
a)Wr
it
edownt
henamet
haty
ougi
vet
oaspeci
alcaseoft
henon-
inv
ert
ingop-
amp
t
hati
s
Page33of33
obt
ainedwhenR1=∞ andRf=0.
(
b)Det
ermi
net
hev
olt
agegai
noft
hisop-
amp.
(
c)St
atet
heuset
hist
ypeofop-
ampconf
igur
ati
on.
2.
8TheSchmi
ttt
ri
gger
Thei
nputv
olt
ageofanon-
inv
ert
ingSchmi
ttt
ri
ggershowni
nFi
gur
e2.
15i
sobt
ained
f
rom t
hemov
eabl
econt
actofapot
ent
iomet
er.
Fi
gur
e2.
15:
Thenon-
inv
ert
ingSchmi
ttt
ri
gger
.
Youcansett
hei
nputv
olt
aget
oanyv
aluebet
weent
henegat
iveandposi
ti
vepower
suppl
yli
mit
sbysl
i
dingt
hemov
eabl
econt
actupordown.
Letussupposet
haty
oust
artwi
tht
hewi
perat (
i.
e.)
,ati
tsl
owestpoi
ntso
ast
omaket
hev
olt
ageatt
henon-
inv
ert
ingi
nputXnegat
iveandhence,
lesst
hant
he
v
olt
ageatt
hei
nver
ti
ngi
nputYwhi
chi
skeptat0V.Thi
scausest
heout
putv
olt
aget
o
sat
urat
enegat
ivel
y(i
.e.
), .
2.
8.1Sl
i
dingupwar
ds
I
fyousl
i
det
hemov
eabl
econt
actsl
i
ght
lyupwar
ds,t
henVin at
tai
nsal
essnegat
ive
v
alue.Howev
er,t
he out
putr
emai
nssat
urat
ed negat
ivel
yat– 12V because of
Page34of34
f
eedbackt
hrought
he12kΩr
esi
storwhi
chkeepsXatal
owerpot
ent
ial
thanY.
I
fyoucont
inuet
osl
i
det
hewi
perupwar
ds,i
treachesapoi
ntmi
dwayal
ongt
he
pot
ent
iomet
ersucht
hat .Youcanf
indt
hepot
ent
ialatXusi
ngt
hepot
ent
ial
di
vi
dershowni
nFi
gur
e2.
16.
Fi
gur
e2.
16:
Pot
ent
ial
div
ider
.
Thepot
ent
ial
atX .
Ther
efor
e,t
heout
putr
emai
nssat
urat
ednegat
ivel
yat–12Vsi
nceX’
spot
ent
ialwi
l
l
beagai
nlesst
hanY’
spot
ent
ial
.
I
fyoucont
inuet
osl
i
det
hewi
perf
urt
herupwar
ds,t
henVin at
tai
nsamor
eposi
ti
ve
v
alueunt
ili
tbecomesequalt
o4V.Thi
scausesadr
amat
icchangei
ntheout
put
v
olt
ageduet
oposi
ti
vef
eedback.I
not
herwor
ds,whenVin becomesappr
oxi
mat
ely
4V,t
hepot
ent
ialatX appr
oxi
mat
elybecomes0V (
i.
e.)
,itbecomesequalt
othe
pot
ent
ial
atYcausi
ngVoutt
obe0V.
Buti
f ,
X’spot
ent
ialcannotbezer
osi
ncet
hepot
ent
ialdi
vi
derwi
l
lbehav
ing
t
hepot
ent
ial
sshowni
nFi
gur
e2.
17.
Fi
gur
e2.
17:
Pot
ent
ial
div
ider
.
Thi
sresul
tsi
naposi
ti
vepot
ent
ialatX.Hence,X’
spot
ent
ialbecomesgr
eat
ert
han
Y’
spot
ent
ial
causi
ngar
api
dincr
easei
nVoutunt
ili
tsat
urat
esposi
ti
vel
yat+12V.
Thepr
ocessofswi
tchi
ngVoutf
rom –12Vt
o+12Voccur
sinst
ant
aneousl
yandi
fyou
cont
inuet
osl
i
det
hemov
eabl
econt
actupwar
ds,t
henVin at
tai
nsmor
eposi
ti
ve
v
alues.Howev
er,t
heout
putr
emai
nssat
urat
edposi
ti
vel
yat+12Vbecausef
eedback
Page35of35
t
hrought
he12kΩr
esi
storkeepsXatahi
gherpot
ent
ial
wit
hrespectt
oY.
2.
8.2Sl
i
dingdownwar
ds
I
fyou now sl
i
det
hemov
eabl
econt
actdownwar
ds,Vin becomesl
essposi
ti
ve.
Howev
er,t
heout
putr
emai
nssat
urat
edposi
ti
vel
yat+12Vsi
nceX’
spot
ent
ialwi
l
lbe
st
il
lgr
eat
ert
hanY’
spot
ent
ial
.Ev
eni
fthecont
actr
eachesmi
dwayagai
n(i
.e.
),
,
theout
putst
il
lremai
nssat
urat
edposi
ti
vel
yat+12V.
I
fyou cont
inue t
o sl
i
de t
he wi
perf
urt
herdownwar
ds,t
hen Vin becomesmor
e
negat
iveunt
ili
tbecomesequal
to–4V.Thi
scausesadr
amat
icchangei
ntheout
put
v
olt
ageduet
oposi
ti
vef
eedback.I
not
herwor
ds,whenVin becomes– 4V,t
he
pot
ent
ialatXbecomes0V(
i.
e.)
,itbecomesequalt
othepot
ent
ialatYcausi
ngVout
t
obe0V.
Agai
nif ,X’
spot
ent
ialcannotbezer
osi
ncet
hepot
ent
ialdi
vi
derwi
l
lbe
hav
ingt
hepot
ent
ial
sshowni
nFi
gur
e2.
18.
Fi
gur
e2.
18:
Pot
ent
ial
div
ider
.
Thi
sresul
tsi
nasmal
l
erpot
ent
ial
atXascompar
edt
oY(
i.
e.)
,X’
spot
ent
ial
becomes
l
esst
hanY’
spot
ent
ialcausi
ngar
api
ddecr
easei
nVoutunt
ili
tsat
urat
esposi
ti
vel
yat
–12V.
I
fyoucont
inuet
osl
i
det
hemov
eabl
econt
actdownwar
ds,t
henVin at
tai
nsmor
e
negat
ivev
alues.Howev
er,
theout
putr
emai
nssat
urat
ednegat
ivel
yat–12Vbecause
f
eedbackt
hrought
he12kΩr
esi
storkeepsXatal
owerpot
ent
ial
thanY.
YoucanuseFi
gur
e2.
19t
oil
l
ust
rat
ethev
ari
ati
onofVoutwi
thVin asy
ousl
i
det
he
mov
eabl
econt
actf
rom oneext
remev
alue(
i.
e.)
,–12Vt
otheot
her(
i.
e.)
,+12Vand
backagai
n.
Page36of36
Fi
gur
e2.
19:Var
iat
ionofVoutwi
thVinasy
ousl
i
det
hemov
eabl
econt
actf
rom –12V
t
o
+12Vandbackagai
n.
Youshoul
dnot
ethatt
heswi
tchov
erv
olt
ageoft
het
ri
ggerast
hei
nputmov
esi
none
di
rect
ion(
i.
e.)
,+4Vi
sdi
ff
erentf
rom swi
tchov
erv
olt
agei
ntheopposi
tedi
rect
ion
(
i.
e.)
,
–4V.Youcanaswel
lal
tert
heswi
tchov
erv
olt
agesbymaki
ngsui
tabl
echoi
ceof
r
esi
stor
s.
Sel
fAssessmentQuest
ion2.
5
Descr
ibewi
thai
dofcl
ear
lyl
abel
l
eddi
agr
ams,t
heuseofanop-
ampasanon-
i
nver
ti
ngSchmi
ttt
ri
ggerwi
thposi
ti
vef
eedbackpr
ovi
dedbyapot
ent
ial
div
ider
.
2.
9Uni
t2Summar
y
Anop-
amphast
hreet
ermi
nal
s(i
.e.
),t
woi
nput
sandoneout
put
.
Theout
putv
olt
ageofanop-
ampcannev
erexceedt
hedcsuppl
yvol
tage.
Feedbackcanei
therbeposi
ti
veornegat
ive.
Anop-
ampcanbeusedf
ori
nver
ti
ngandnon-
inv
ert
ingappl
i
cat
ions.
The op-
amp can al
so be used as a summer
,vol
tage f
oll
ower
,vol
tage
Page37of37
compar
atororSchmi
ttt
ri
gger
.
2.
10Uni
t2Quest
ions
1.Li
stt
hemaj
orpr
oper
ti
esofani
deal
op-
amp.
2.Youhav
elear
ntt
hatnegat
ivef
eedbackr
educest
hegai
noft
heop-
amp.Expl
ain
whyt
hisi
sfav
our
abl
e.
3.Der
ivet
heexpr
essi
onf
ort
hegai
nofani
nver
ti
ngop-
amp.
4.Fi
gur
e2.
20showsat
emper
atur
esensori
nputsubsy
stem.
Fi
gur
e2.
20:
Temper
atur
esensori
nputsubsy
stem.
(
a)Supposet
het
her
mist
orshowni
nFi
gur
e2.
20hasar
esi
stanceof35kΩat00C,
10kΩat
250Cand2kΩat1000C.
(
i)Whi
choneoft
heset
emper
atur
eswi
l
lresul
tinal
argestcur
rentf
lowt
hrought
he
ci
rcui
t?
(
ii
)Whydoesmaxi
mum cur
rentf
lowatt
hist
emper
atur
e?
(
ii
i)Cal
cul
atet
hev
alueoft
hiscur
rent
.
(
iv)Det
ermi
net
heout
putv
olt
ageatAatt
hist
emper
atur
e.
Page38of38
(
b)Youar
erequi
redt
oconnectt
het
emper
atur
esensorsubsy
stem t
oacompar
ator
ci
rcui
tso
ast
odet
ectwhent
hewat
eri
nanel
ect
ri
cket
tl
eboi
l
s.
(
i)Fi
ndt
her
efer
encev
olt
agewhi
cht
hecompar
atormusthav
etodet
ectboi
l
ing
wat
er.
(
ii
)Dr
awasui
tabl
eci
rcui
tfort
hecompar
atorwhi
chenabl
esi
ttopr
oduceahi
gh
out
put
whent
hewat
erboi
l
s.
Choosesui
tabl
eval
uesf
ort
her
esi
stor
siny
ourv
olt
agedi
vi
derandl
abelt
hem
on
y
ourci
rcui
tdi
agr
am.
5.Consi
dert
het
emper
atur
esensori
nputsubsy
stem showni
nFi
gur
e2.
20.
(
a)Gi
vent
hatt
het
her
mist
orhasar
esi
stanceof45kΩat00C,
20kΩat250C,
and1kΩ
at
1000C.Cal
cul
atet
heout
putv
olt
ageatAatat
emper
at eof250C.
ur
(
b)Youar
erequi
redt
oconnectt
het
emper
atur
esensorsubsy
stem t
oacompar
ator
ci
rcui
tas
showni
nFi
gur
e2.
21.
Fi
gur
e2.
21:
Compar
atorci
rcui
t.
Cal
cul
ateandchoosev
aluesofr
esi
stor
s,i
nthe1kΩt
o10kΩr
ange,f
ort
heci
rcui
t
t
hat
wi
l
lmaket
hecompar
atorswi
tchat250C.Label
theseont
hedi
agr
am.
(
c)Whatv
olt
agewoul
dyouexpectf
rom t
heout
putoft
hisci
rcui
twhen:
(
i)t
het
emper
atur
eis200C,
Page39of39
(
ii
)thet
emper
atur
eri o300C.
sest
6.Youar
erequi
redt
odesi
gnaci
rcui
tthatcanbeusedt
ocont
rolt
hev
ent
il
ati
onof
ani
ndoor
spor
ti
ngv
enueaty
ourschool
.Whent
het
emper
atur
eri
sesabov
easetl
evel
,your
ci
rcui
t
shoul
daut
omat
ical
l
yopent
hev
ent
swhi
char
eposi
ti
onedhi
ghabov
ether
eachof
spect
ator
s.
(
a)Howcany
ouconv
ertai
rtemper
atur
eint
oanel
ect
ri
cal
signal
?
(
b)Gi
vent
haty
ourci
rcui
tshoul
dbebasedonanop-
amp.Whatt
ypeofci
rcui
tcoul
d
pr
ovi
de
aswi
tchi
ngact
ionwhent
het
emper
atur
eri
sesabov
ethesetl
evel
?
(
c)Br
ief
ly,
descr
ibet
heswi
tchi
ngoper
ati
onofy
ourci
rcui
t-choseni
npar
t(b)
,wi
th
r
efer
encet
othet
woop-
ampi
nput
sandi
tsout
put
.
(
d)Basi
ngony
ourchoi
cesabov
e,dr
awaci
rcui
tdi
agr
am t
hatcangi
veahi
ghout
put
v
olt
age
whent
het
emper
atur
eexceedst
hesetl
evel
.
7.Youar
easkedbyamusi
crecor
dingcompanyt
ohel
pint
ransf
err
ingt
hei
rmusi
c
col
l
ect
ionf
rom casset
tet
apeont
oCD.Supposey
oumeasur
etheout
putsi
gnal
f
rom t
he
casset
tepl
ayerandf
indi
ttohav
eat
ypi
cal
val
ueof0.
2V.Thesoundcar
diny
our
comput
err
equi
resat
ypi
cali
nputsi
gnalof1.
0V.Yout
hendeci
det
o usean
ampl
i
fiert
o
mat
cht
het
wosi
gnal
lev
els.
(
a)Cal
cul
atet
her
equi
redv
olt
agegai
noft
heampl
i
fier
.
(
b)Dr
awt
heci
rcui
tdi
agr
am ofanon-
inv
ert
ingampl
i
fierwhi
chusesanop-
amp.
(
c)I
fthef
eedbackr
esi
storhasav
alueof240kΩ,cal
cul
atet
hev
alueoft
heot
her
r
esi
stor
neededt
ogi
vet
her
equi
redv
olt
agegai
n.
8.Fi
gur
e2.
22showsasy
stem di
agr
am f
oragui
taref
fect
suni
t.Thewhol
esy
stem
oper
ates
Page40of40
f
rom a±12Vsuppl
y.
Fi
gur
e2.
22:
Syst
em di
agr
am f
oragui
taref
fect
suni
t.
(
a)Theci
rcui
tdi
agr
am f
ort
hei
nputbuf
feri
sshowni
nFi
gur
e2.
23.
Fi
gur
e2.
23:
Inputbuf
fer
.
(
i)St
atet
hev
olt
agegai
noft
hisci
rcui
t.
(
ii
)St
atet
hei
nputr
esi
stanceoft
hisci
rcui
t.
(
b)Fi
gur
e2.
24showsaci
rcui
tdi
agr
am f
ort
hemi
xer
.
Page41of41
Fi
gur
e2.
24:
Mix
er.
(
i)Whatv
olt
agegai
ndoest
hemi
xerci
rcui
tgi
vet
oef
fect1?
(
ii
)Wi
tht
het
hreeef
fect
sswi
tchedof
f,st
atet
wodi
ff
erencesbet
weent
hesi
gnalat
t
he
i
nputandt
heout
putoft
hewhol
esy
stem.
9.Fi
gur
e2.
25showst
hesensi
ngel
ementf
ort
hev
ibr
ati
onsensori
nacaral
arm
sy
stem.
Anyv
ibr
ati
onoft
hecarcausest
hemagnett
omov
erel
ati
vet
othecoi
lresul
ti
ngi
n
t
he
gener
ati
onofasmal
lvol
tagebyt
hecoi
l
.Theci
rcui
tshowni
nFi
gur
e2.
25i
susedt
o
ampl
i
fyt
hisv
olt
age.
Fi
gur
e2.
25:
Thesensi
ngel
ementf
ort
hev
ibr
ati
onsensori
nacaral
arm sy
stem.
Page42of42
(
a)Gi
veanest
imat
eoft
hev
olt
ageatt
hei
nver
ti
ngi
nputoft
heop-
ampwhent
he
out
putf
rom t
hecoi
li
szer
o.St
atear
easonf
ory
ouranswer
.
(
b)Cal
cul
atet
hev
olt
agegai
noft
heampl
i
fierci
rcui
twhenR1=10kΩandR2=2.
0MΩ.
10.Youar
erequi
redt
ouseFi
gur
e2.
26aspar
tofasy
stem t
hatdet
ect
swhent
he
t
emper
atur
e
i
nar
oom exceeds20°
C.
Fi
gur
e2.
26:
Par
tofacompar
atorci
rcui
t.
(
a)OnFi
gur
e2.
26nameandl
abel
thedev
icet
haty
oucanuseasa
(
i)t
emper
atur
esensor
,and
(
ii
)compar
ator
.
(
b)Gi
vent
hatt
hecompar
atori
nputBr
equi
resar
efer
encev
olt
ageof4V.
(
i)Dr
aw t
wocomponent
sandt
hei
rconnect
ionst
otheci
rcui
ttoshow how y
ou
can
achi
evet
his.
(
ii
)Sel
ectsui
tabl
eval
uesf
ort
hesecomponent
sandmar
ktheseont
heci
rcui
t
di
agr
am next
t
oeachcomponent
.
(
c)Thet
emper
atur
esensordat
asheetgi
vesagr
aphshowni
nFi
gur
e2.
27.
Page43of43
Fi
gur
e2.
27:
Graphf
rom t
het
emper
atur
esensordat
asheet
.
Whati
sthev
alueofRt
hatwoul
dmaket
hecompar
atorswi
tchat20°
C?
(
d)Gi
vet
heout
putv
olt
agef
rom t
hisci
rcui
twhent
hev
olt
ageatXi
sgr
eat
ert
hant
he
v
olt
ageatYf
orani
deal
compar
ator
.
11.Descr
ibeandexpl
aint
hepr
oper
ti
esofani
dealoper
ati
onalampl
i
fierwi
thr
egar
ds
t
oinput
i
mpedance,
bandwi
dthandopenl
oopgai
n.
12.Af
ri
dgeal
arm usest
heci
rcui
tshowni
nFi
gur
e2.
28t
osoundi
fthet
emper
atur
e
becomes
t
oohi
gh.
Page44of44
Fi
gur
e2.
28:
Fri
dgeal
arm ci
rcui
t.
(
a)Fi
ndt
hecombi
nedr
esi
stanceofR1andR2
(
b)Cal
cul
atet
hev
olt
ageatB.
(
c)St
atet
hev
olt
ageatAj
ustatt
hepoi
ntwhenVoutchanges.
(
d)Cal
cul
atet
her
esi
stanceoft
het
her
mist
orwhenVoutchanges.
(
e)Whatwi
l
lhappent
oVoutwhent
het
emper
atur
eoft
het
her
mist
orchangesf
rom
bei
ng
v
erycol
dtowar
m?
13.Whati
stheef
fectofnegat
ivef
eedbackont
hegai
nofanoper
ati
onal
ampl
i
fier
?
14.Abat
ter
ytest
erf
or9Vbat
ter
iesl
i
ght
sagr
eenLEDasagoodi
ndi
cat
ori
fthe
bat
ter
yis
mor
ethan9.
0V.Ay
ell
owLEDl
i
ght
sasasat
isf
act
oryi
ndi
cat
ori
fthebat
ter
ylev
el
i
s
mor
ethan6.
3Vbutl
esst
he9.
0V.Fi
gur
e2.
29showsav
olt
agedi
vi
deroper
ati
ng
f
rom
t
het
est
er’
s12Vsuppl
y.
(
a)Cal
cul
atet
hev
aluesofR1 andR2 sot
hatt
hev
olt
agesatpoi
ntPi
s9.
0Vandt
he
v
olt
age
Page45of45
atpoi
ntQi
s6.
3V.
Fi
gur
e2.
29:
Avol
tagedi
vi
deroper
ati
ngf
rom t
het
est
er’
s12Vsuppl
y.
(
b)Thi
svol
tagedi
vi
deri
sconnect
edt
otwoop-
amps.Thebat
ter
ytobet
est
edi
s
connect
ed
bet
ween0Vandt
henon-
inv
ert
ingi
nputoft
hei
n-putoft
heop-
ampsasshowni
n
Fi
gur
e
2.
30.
Page46of46
Fi
gur
e2.
30:
Avol
tagedi
vi
derconnect
edt
otwoop-
amps.
(
i)St
atet
hef
unct
ionoft
heop-
ampwhenconnect
edt
hisway
.
(
ii
)Whatnamei
sgi
vent
othei
nput
sconnect
edt
o9.
0Vand6.
3V?
(
c)Theop–ampsar
epower
edar
epower
sfr
om 0Vand12Vl
i
nes,
assumet
hatt
hey
behav
easi
dealop-amps.Copyandcompl
eteTabl
e2.
1toshowt
hev
olt
agesatt
he
op-
ampout
put
sM
andNwhent
hebat
ter
yhast
heshownv
olt
age.
Tabl
e2.
1:Vol
tagesatt
heop-
ampout
put
sM andN
Vol
tageofbat
ter
ytobet
est
ed Vol
tage at M Vol
tageatN(
V)
(
V) (
V)
Lesst
han6.
3
Bet
ween6.
3and9.
0
Mor
ethan9.
0
(
d)(
i)Copyt
hedi
agr
am i
npar
t(b)andaddanLEDl
abel
l
ed‘
green’
toshowt
hatt
he
bat
ter
ybei
ngt
est
edi
s“good’
’
,whi
chwi
l
lli
ghti
fthev
olt
agei
smor
ethan9.
0V
i
ncl
udeaser
iesr
esi
stor
.
(
ii
)Expl
ainwhyaser
iesr
esi
stori
sneeded.
(
ii
i)Cal
cul
atet
hev
alueoft
heser
iesr
esi
stancer
equi
redi
ftheLEDhasaf
orwar
d
v
olt
age
Page47of47
of2.
0Vandi
sdesi
gnedt
ooper
atewi
thav
olt
ageof2.
0V.
(
e)Addt
othedi
agr
am i
npar
t(b)anLEDl
abel
l
ed“
yel
l
ow’
’andi
tsser
iesr
esi
stort
o
show
t
hatt
hebat
ter
ybei
ngt
est
edi
s“sat
isf
act
ory
’’
,whi
chwi
l
lonl
yli
ghti
sthebat
ter
y
v
olt
age
i
sbet
ween6.
3V and9.
0V.
15.Fi
gur
e2.
31showsanon-
inv
ert
ingampl
i
fier
.
Fi
gur
e2.
31:
Non-
inv
ert
ingampl
i
fier
.
(
a)Cal
cul
atet
hev
olt
agegai
noft
hisampl
i
fier
.
(
b)I
fthei
nputv
olt
ageVini
s2V,
cal
cul
atet
heout
putv
olt
ageVout.
16.Fi
gur
e2.
32showsanampl
i
fierci
rcui
tincor
por
ati
ngani
deal
opamp.
Page48of48
Fi
gur
e2.
32:
Op-
ampci
rcui
t.
(
a)Whatt
ypeofop-
ampi
sshowni
nFi
gur
e2.
32.
(
b)Theop-
ampi
nFi
gur
e2.
32usesnegat
ivef
eedback.Expl
ainwhati
smeantby
negat
ive
f
eedback.
(
c)Wi
thr
efer
ence t
o Fi
gur
e 2.
32,expl
ain why t
he pot
ent
ialatpoi
ntP i
s
appr
oxi
mat
ely0V
unl
esst
heop-
ampi
ssat
urat
ed.
(
d)Der
iveanexpr
essi
onf
ort
hegai
noft
heampl
i
fierci
rcui
tint
ermsoft
hei
nput
r
esi
stance
Rinandt
hef
eedbackr
esi
stanceRf.
(
e)I
nonepar
ti
cul
arappl
i
cat
ionoft
heci
rcui
t,t
hegai
noft
heampl
i
fieri
s-10.St
ate
t
hev
alue
oft
heout
putv
olt
ageVoutwhent
hei
nputv
olt
ageVi
nis:
(
i)+0.
1V.
(
ii
)-1.
0V.
(
f)St
atet
hreedi
sadv
ant
agesofi
ncr
easedgai
ninanop-
amp.
17.(
a)Dr
awt
heci
rcui
tdi
agr
am ofanop-
ampv
olt
agef
oll
ower
.
(
b)Ast
udentsetupt
heci
rcui
tshowni
nFi
gur
e2.
33.
Page49of49
Fi
gur
e2.
33:
Compar
ator
.
TheLEDs,L1andL2emi
tli
ghtwhent
heout
putf
rom t
heappr
opr
iat
eop-
ampi
s
posi
ti
veandhi
gh.Whent
henegat
ivet
emper
atur
ecoef
fi
cientt
her
mist
ori 700C,
sat
t
hepot
ent
ial
dif
fer
enceacr
osst
her
esi
stori
s3.
5V.
(
i)WhydoesL1emi
tli
ghtwhent
het
her
mist sat700Cwhi
ori l
eL2doesnot
.
(
ii
)Thet
emper
atur
eoft
het
her
mist
ori
srai
sedandt
her
eisachangeofst
ateofone
orbot
h
LED(
s).St
atewhatchangei
sobser
ved.
(
ii
i)Suggestoneuseoft
heci
rcui
t.
18.Thesy
stem di
agr
am f
oranel
ect
roni
cbal
ancei
sshowni
nFi
gur
e2.
34.The
bal
ancei
spower
edbya±9Vsuppl
y.
Fi
gur
e2.
34:
Thesy
stem di
agr
am f
oranel
ect
roni
cbal
ance.
(
a)Out
putQ i
spassedt
hroughanampl
i
fierwi
thav
olt
agegai
nof–1.Dr
aw t
he
ci
rcui
t
Page50of50
di
agr
am ofanop-
ampbasedampl
i
fierwi
thav
olt
agegai
nof–1andst
atesui
tabl
e
v
alues
f
oranyr
esi
stor
sthaty
ouuse.
(
b)Theci
rcui
tdi
agr
am f
ort
hesummi
ngampl
i
fieri
sshowni
nFi
gur
e2.
35.
Fi
gur
e2.
35:
Summi
ngampl
i
fier
.
Label
thev
irt
ual
ear
thpoi
ntont
heampl
i
fierwi
tht
hel
ett
erY.
Page51of51
UNI
T3:
LOGI
CGATES
3.
0Int
roduct
ion
Logi
cgener
all
ydeal
swi
thbi
nar
yvar
iabl
es(
i.
e.)
,thi
ngswi
thonl
ytwopossi
blev
alues.
Youcant
alkofaper
sont
obemal
eorf
emal
e,ast
atementt
obet
rueorf
alse(
etc.
).
Her
e,t
hebi
nar
yvar
iabl
eist
hev
olt
agewhi
chcanbehi
gh(
logi
c1)orl
ow(
logi
c0)
.A
hi
ghv
olt
ager
efer
stoonecl
oset
otheposi
ti
veoft
hepowersuppl
ywhi
l
eal
ow
v
olt
ager
efer
stoonecl
oset
othenegat
iveoft
hepowersuppl
y.Basi
clogi
cfunct
ions
ar
eper
for
medbyl
ogi
cgat
eswhi
char
ethef
undament
albui
l
dingbl
ocksofdi
git
al
i
ntegr
atedci
rcui
ts.Logi
cgat
escombi
neoneormor
edi
git
ali
nput
stogi
veanout
put
.
Mostl
ogi
cgat
eshav
etwoi
nput
sandoneout
put
.Atanyi
nst
ant
,eacht
ermi
nali
sin
oneoft
het
wobi
nar
ycondi
ti
onsl
ow(
0)orhi
gh(
1).I
nmostl
ogi
cgat
es,
thel
owst
ate
i
sappr
oxi
mat
elyzer
ovol
ts(
0V)
,whi
l
ethehi
ghst
atei
sappr
oxi
mat
elyf
ivev
olt
s
posi
ti
ve(
+5V)
.Int
hisuni
tyouar
egoi
ngt
ocov
ert
hesev
enl
ogi
cgat
es(
i.
e.)
,AND,
OR,
EX-
OR,
NOT,
NAND,
NOR,
andEX-
NORgat
es.
Lear
ningObj
ect
ives
Af
terst
udy
ingt
hisuni
t,y
oushoul
dbeabl
eto:
dr
aw t
hel
ogi
csy
mbol
sforAND,OR,EX-
OR,NOT,NAND,NOR,andEX-
NOR
gat
es;
const
ruct,r
ecogni
seanduset
rut
htabl
esf
orAND,OR,EX-
OR,NOT,NAND,
NOR,
andEX-
NORgat
es;
useAND,
OR,
EX-
OR,
NOT,
NAND,
NOR,
andEX-
NORgat
esi
nlogi
cci
rcui
ts.
3.
1.Thet
hreebasi
clogi
cgat
es
Thet
hreebasi
clogi
cgat
esar
etheNOTgat
e,t
heANDgat
eandt
heORgat
e.
3.
1.1.TheNOTgat
e
ANOTgat
ehasasi
ngl
einputt
ermi
nalandasi
ngl
eout
putt
ermi
nal
.Itr
ever
sest
he
l
ogi
cst
ateofani
nputsi
gnal(
i.
e.)i
tchangesal
ow i
nputsi
gnalt
oahi
ghout
put
Page52of52
si
gnal
,andv
icev
ersa,
thusi
tinv
ert
sthei
nput
.Inot
herwor
ds,
theout
puti
str
uei
fthe
i
nputi
sfal
seandt
heout
puti
sfal
sei
fthei
nputi
str
ue.Hence,
iti
ssomet
imescal
l
ed
ani
nver
terbecauseofi
tsbehav
iour
.Thesy
mbolf
oraNOTgat
eisshowni
nFi
gur
e
3.
1,al
ongwi
thi
tst
rut
htabl
e(seeTabl
e3.
1).
Fi
gur
e3.
1:Theel
ect
roni
csy
mbol
forani
nver
terorNOTgat
e.
At
rut
htabl
eist
abl
ethatgi
vest
hest
ateoft
heout
putf
oral
lpossi
blev
aluesoft
he
i
nput
s.Thel
ett
ersA,
B,C(
etc.
),ar
econv
ent
ional
l
yusedt
odenot
ethei
nput
swhi
l
eQ
i
susedf
ort
heout
put
.Youshoul
dtakenot
ethatsi
nceaNOTgat
ehasonl
yone
bi
nar
yinput
,ithas possi
blecombi
nat
ionsofi
nputl
ogi
cst
ates.
Tabl
e3.
1:Thet
rut
htabl
eforaNOTgat
e.
I
nput Out
put
0 1
1 0
3.
1.2.TheANDgat
e
AnANDgat
ehast
woi
nputt
ermi
nal
sandasi
ngl
eout
putt
ermi
nal
.Theout
puti
s
"
tr
ue"(
logi
c1)onl
yifbot
hinput
sar
e"t
rue"(
logi
c1)
,ot
her
wise,t
heout
puti
s"f
alse"
(
logi
c0)
.Thegat
eact
sint
hesamewayast
hel
ogi
cal"
and"oper
ator(
i.
e.)
,it
per
for
mst
hebasi
coper
ati
onofl
ogi
cmul
ti
pli
cat
ion.Thesy
mbolf
oranANDgat
eis
showni
nFi
gur
e3.
2,al
ongwi
thi
tst
rut
htabl
e(seeTabl
e3.
2).
Fi
gur
e3.
2:Theel
ect
roni
csy
mbol
foranANDgat
e.
Page53of53
Youshoul
dtakenot
ethatsi
nceanANDgat
ehast
wobi
nar
yinput
s,i
thas
possi
blecombi
nat
ionsofi
nputl
ogi
cst
ates.
Tabl
e3.
2:Thet
rut
htabl
eforanANDgat
e.
I
nput1 I
nput2 Out
put
0 0 0
1 0 0
0 1 0
1 1 1
Sel
fAssessmentQuest
ion3.
1
Gi
veanexampl
eofar
eal
li
fesi
tuat
ionwher
eyoucanuseanANDgat
e.
3.
1.3.TheORgat
e
AnORgat
ehast
woi
nputt
ermi
nal
sandasi
ngl
eout
putt
ermi
nal
.Theout
puti
s"t
rue"
(
logi
c1)i
fanyoneorbot
hoft
hei
nput
sar
e"t
rue"(
logi
c1)
,andt
heout
puti
s"f
alse"
(
logi
c0)i
fbot
hinput
sar
e"f
alse"(
logi
c0)
.Thegat
eact
sint
hesamewayast
he
l
ogi
cali
ncl
usi
ve"
or"oper
ator(
i.
e.)
,itper
for
mst
hebasi
coper
ati
onofl
ogi
caddi
ti
on.
Thesy
mbol
foranORgat
eisshowni
nFi
gur
e3.
3.
Fi
gur
e3.
3:Theel
ect
roni
csy
mbol
foranORgat
e.
Sel
fAssessmentQuest
ion3.
2
Const
ructat
rut
htabl
efort
heORgat
eshowni
nFi
gur
e3.
3.
Exampl
e3.
1
Gi
veanexampl
eofar
eal
li
fesi
tuat
ionwher
eyoucanuseanORgat
e.
Page54of54
Sol
uti
on
YoucanuseanORgat
etodesi
gnabur
glaral
armf
ormoni
tor
ingy
ourbedr
oom’
s
doorandwi
ndowasi
l
lust
rat
edi
nFi
gur
e3.
4.
Fi
gur
e3.
4:ORgat
e.
Exampl
e3.
2
Aci
rcui
twi
thanon/
offswi
tchi
sshowni
nFi
gur
e3.
5.
Fi
gur
e3.
5:Aci
rcui
twi
thanon/
offswi
tch.
(
a)Whati
sthest
ateoft
heLEDwhent
heswi
tchi
s:
(
i)on,
and
(
ii
)of
f.
(
b)Whi
chl
ogi
cgat
ebehav
esi
nthesamewayasFi
gur
e3.
5?Expl
ainy
ouranswer
.
Sol
uti
on
(
a)(
i)TheLEDwi
l
lbeof
fwhent
heswi
tchi
son.
(
ii
)TheLEDwi
l
lbeonwhent
heswi
tchi
sof
f.
(
b)Thest
ateoft
heLEDi
sNOTt
hest
ateoft
heswi
tchsoaNOTgat
ebehav
esi
nthe
same
wayasFi
gur
e3.
5.
3.
2.I
nter
connect
ionsoft
het
hreebasi
clogi
cgat
est
ofor
mtheNANDgat
eandt
he
Page55of55
NOR
gat
e.
TheNANDgat
eandt
heNORgat
ecanbef
ormedf
rom sui
tabl
eint
erconnect
ionsof
t
hebasi
clogi
cgat
esasf
oll
ows.
3.
2.1.TheNOTAND(
NAND)gat
e
ANANDgat
eisf
ormedwhenanANDgat
eisf
oll
owedbyaNOTgat
e.I
thast
wo
i
nputt
ermi
nal
sandasi
ngl
eout
putt
ermi
nal
.Theout
puti
s"t
rue"(
logi
c1)i
fanyone
oft
hei
nput
sis"
fal
se"(
logi
c0)
,andt
heout
puti
s"f
alse"(
logi
c0)i
fbot
hinput
sar
e
"
tr
ue"(
logi
c1)
.Thegat
eact
sint
hesamewayast
hel
ogi
cal"
and"oper
atorf
oll
owed
bynegat
ion.Thesy
mbolf
oraNANDgat
eissi
mpl
ythatofanANDgat
ewi
thasmal
l
ci
rcl
eatt
heout
putasshowni
nFi
gur
e3.
6,al
ongwi
thi
tst
rut
htabl
e(seeTabl
e3.
3).
Fi
gur
e3.
6:Theel
ect
roni
csy
mbol
foraNANDgat
e.
Youshoul
dtakenot
ethatsi
nceaNANDgat
ehast
wobi
nar
yinput
s,i
thas
possi
blecombi
nat
ionsofi
nputl
ogi
cst
ates.
Tabl
e3.
3:Thet
rut
htabl
eforaNANDgat
e.
I
nput1 I
nput2 Out
put
0 0 1
1 0 1
0 1 1
1 1 0
TheNAND gat
ecanbeusedt
oconst
ructal
lot
hergat
es,soi
thasauni
ver
sal
f
unct
ion.
Exampl
e3.
3
Gi
veanexampl
eofar
eal
li
fesi
tuat
ionwher
eyoucanuseaNANDgat
e.
Page56of56
Sol
uti
on
Whenbaki
ngscones,
theel
ementi
nanov
endoesnotneedt
oremai
noni
fthei
nsi
de
t
emper
atur
eist
oohi
gh ori
ftheov
endoori
scl
osed(
seeFi
gur
e3.
7).
Fi
gur
e3.
7:NANDgat
e.
3.
2.2.TheNOTOR(
NOR)gat
e
ANORgat
eisf
ormedwhenanORgat
eisf
oll
owedbyaNOTgat
e.I
thast
woi
nput
t
ermi
nal
sandasi
ngl
eout
putt
ermi
nal
.Theout
puti
s"t
rue"(
logi
c1)i
fbot
hinput
sar
e
"
fal
se"(
logi
c0)
,ot
her
wiset
heout
puti
s"f
alse"(
logi
c0)
.Thegat
eact
sint
hesame
wayast
hel
ogi
cal"
or"oper
atorf
oll
owedbynegat
ion.Thesy
mbolf
oraNORgat
eis
si
mpl
ythatofanORgat
ewi
thasmal
lci
rcl
eatt
heout
putasshowni
nFi
gur
e3.
8,
al
ongwi
thi
tst
rut
htabl
e(seeTabl
e3.
4).
Fi
gur
e3.
8:Theel
ect
roni
csy
mbol
foraNORgat
e.
Youshoul
dtakenot
ethatsi
nceaNORgat
ehast
wobi
nar
yinput
s,i
thas
possi
blecombi
nat
ionsofi
nputl
ogi
cst
ates.
Tabl
e3.
4:Thet
rut
htabl
eforaNORgat
e.
I
nput1 I
nput2 Out
put
0 0 1
1 0 0
0 1 0
Page57of57
1 1 0
Sel
fAssessmentQuest
ion3.
3
Gi
veanexampl
eofar
eal
li
fesi
tuat
ionwher
eyoucanuseaNORgat
e.
3.
3.I
nter
connect
ionsofAND,
NOTandORgat
es,
orNANDgat
esonl
ytof
orm
EXCLUSI
VE-
OR(
EX-
OR)andEXCLUSI
VE-
NOR(
EX-
NOR)gat
es.
EX-
ORandEX-
NORgat
escanbef
ormedf
rom sui
tabl
ecombi
nat
ionsofAND,NOT
andORgat
es,
orNANDgat
esonl
yasi
l
lust
rat
edbel
ow.
3.
3.1.TheEX-
ORgat
e
AnEX-
ORgat
ehast
woi
nputt
ermi
nal
sandasi
ngl
eout
putt
ermi
nal
.Theout
puti
s
"
tr
ue"(
logi
c1)i
fthei
nput
sar
eindi
ff
erentl
ogi
cst
ates,
andt
heout
puti
s"f
alse"(
logi
c
0)i
fbot
hinput
sar
einsamel
ogi
cst
ate.Thegat
eact
sint
hesamewayast
hel
ogi
cal
"
eit
her
/or
"oper
ator
.Thesy
mbol
foranEX-
ORgat
eisshowni
nFi
gur
e3.
9.
Fi
gur
e3.
9:Theel
ect
roni
csy
mbol
foranEX-
ORgat
e.
TheEX-
ORgat
eisal
sor
efer
redt
oast
hedi
ff
erencegat
ebecauset
heout
puti
slogi
c
1whent
hei
nput
sar
edi
ff
erent
.
Sel
fAssessmentQuest
ion3.
4
Const
ructat
rut
htabl
efort
heEX-
ORgat
eshowni
nFi
gur
e3.
9.
Exampl
e3.
4
Uset
woswi
tches,anLEDandadcpowersuppl
ytodr
aw aci
rcui
tdi
agr
am whi
ch
behav
esi
nexact
lyt
hesamewayasanEX-
ORgat
e.Expl
ainy
ourdi
agr
am.
Sol
uti
on
Page58of58
TheLEDwi
l
lbeoni
fthest
ateofswi
tch1i
sdi
ff
erentf
rom t
hest
ateofswi
tch2(
i.
e.)
,
TheLEDwi
l
lbeoni
fswi
tch1i
sonandswi
tch2i
sof
f,andv
icev
ersa,
buti
texcl
udes
t
hest
atewhent
heyar
ebot
hon(
seeFi
gur
e3.
10)
.
Fi
gur
e3.
10:
Aci
rcui
tdi
agr
am whi
chbehav
esi
nexact
lyt
hesamewayasanEX-
OR
gat
e.
3.
3.2.TheEX-
NORgat
e
AnEX-
NORgat
eisf
ormedwhenanEX-
ORgat
eisf
oll
owedbyaNOTgat
e.I
thast
wo
i
nputt
ermi
nal
sandasi
ngl
eout
putt
ermi
nal
.Theout
puti
s"t
rue"(
logi
c1)i
fthe
i
nput
sar
eint
hesamel
ogi
cst
ate,
andt
heout
puti
s"f
alse"(
logi
c0)i
fbot
hinput
sar
e
i
ndi
ff
erentl
ogi
cst
ate.Thegat
eact
sint
hesamewayast
hel
ogi
cal"
eit
her
/or
"
oper
atorf
oll
owedbynegat
ion.Thesy
mbolf
oranEX-
NORgat
eisshowni
nFi
gur
e
3.
11.
Fi
gur
e3.
11:
Theel
ect
roni
csy
mbol
foranEX-
NORgat
e.
TheEX-
NORgat
eisal
sor
efer
redt
oast
hepar
it
ygat
ebecauset
heout
puti
slogi
c1
whent
hei
nput
sar
ethesame.
Exampl
e3.
5
Const
ructat
rut
htabl
efort
heEX-
NORgat
eshowni
nFi
gur
e3.
11.
Page59of59
Sol
uti
on
Youshoul
dtakenot
ethatsi
nceanEX-
NORgat
ehast
wobi
nar
yinput
s,i
thas
possi
blecombi
nat
ionsofi
nputl
ogi
cst
ates.
Tabl
e3.
5:Thet
rut
htabl
eforanEX-
NORgat
e.
I
nput1 I
nput2 Out
put
0 0 1
1 0 0
0 1 0
1 1 1
3.
4Uni
t3Summar
y
Di
git
alsi
gnal
sar
einoneort
wost
ates,
(i.
e.)
,logi
chi
gh(
1)orl
ogi
clow(
0).
Logi
cgat
espr
oduceanout
putbycombi
ningoneormor
edi
git
ali
nput
s.
At
rut
htabl
epr
ovi
desy
ouwi
thasi
mpl
erwayofdescr
ibi
ngt
hebehav
iourofa
l
ogi
cgat
ebyl
i
sti
ngt
heout
putf
oral
lpossi
blei
nputst
ates.
Conv
ent
ional
l
y,t
hel
ett
ersA,B,C,(
etc.
),ar
eusedt
odenot
einput
sandQt
o
denot
etheout
put
.
NOTgat
e–I
nver
tsv
alue(
i.
e.)
,Theout
puti
sal
way
sthei
nver
seoft
hei
nput
.
Out
puti
shi
ghwheni
nputi
slowandv
icev
ersa.
ANDgat
e–Out
puti
shi
ghonl
ywhenbot
hinput
sar
ehi
gh.
ORgat
e–Hi
ghout
puti
fei
therf
ir
sti
nputorsecondi
nput(
orbot
h)i
s(ar
e)
hi
gh.
EX-
ORgat
e–Out
puti
shi
ghi
fei
therf
ir
sti
nputorsecondi
nputi
shi
gh,but
l
owi
fbot
har
ehi
gh.
NANDgat
e–Out
puti
slowonl
ywhenbot
hinput
sar
ehi
gh.
NORgat
e–Out
puti
shi
ghonl
yifnei
therf
ir
sti
nputnorsecondi
nputi
shi
gh.
EX-
NORgat
e–Out
puti
shi
ghi
fbot
hinput
sar
ehi
ghorbot
hinput
sar
elow.
Page60of60
3.
5Uni
t3Quest
ions
1.Def
inet
hef
oll
owi
ngt
erms:
(
a)l
ogi
cgat
e,
(
b)t
rut
htabl
e.
2.Dr
awt
hesy
mbol
foranANDgat
eandconst
ructi
tst
rut
htabl
e.
3.Br
ief
lydescr
ibehowy
oucanmakeaNOTgat
efr
om:
(
a)aNANDgat
e,and
(
b)aNORgat
e.
4.Fi
gur
e3.
12showsal
ogi
cgat
e.
Fi
gur
e3.
12:
Alogi
cgat
e.
(
a)Whatnamedowegi
vet
othi
sty
peofgat
e?
(
b)Const
ructi
tst
rut
htabl
e.
5.St
atewi
thanexpl
anat
ion,
theot
hernamef
or:
(
a)t
heEX-
ORgat
e,
(
b)t
heEX-
NORgat
e.
6.Whati
sthenameoft
hegat
ethati
sof
tencal
l
edani
nver
ter
?Expl
ainy
ouranswer
.
7.Aci
rcui
twi
tht
woon/
offswi
tches1and2i
sshowni
nFi
gur
e3.
13.
Page61of61
Fi
gur
e3.
13:
Aci
rcui
twi
tht
woon/
offswi
tches.
(
a)Whati
sthest
ateoft
heLEDwhen:
(
i)swi
tch1i
sonandswi
tch2i
sof
f,
(
ii
)swi
tch1i
sof
fandswi
tch2i
son,
(
ii
i)bot
hswi
tches1and2ar
eof
f,
(
iv)bot
hswi
tches1and2ar
eon.
(
b)Nameasi
ngl
elogi
cgat
ewhi
chbehav
esi
nthesamewayasFi
gur
e3.
13?Gi
vea
r
eason
f
ory
ouranswer
.
8.Uset
woswi
tches,anLEDandadcpowersuppl
ytodr
awaci
rcui
tdi
agr
am whi
ch
behav
esi
nexact
lyt
hesamewayasanORgat
e.Expl
ainy
ourdi
agr
am.
9.Tabl
e3.
6showshow t
hei
nputsensor
sAandBofanel
ect
roni
csy
stem cont
rol
t
he
out
put
sP,
QandR.
Tabl
e3.
6:Thet
rut
htabl
eshowi
nghowt
hei
nputsensor
scont
rol
theout
put
.
A B P Q R
0 0 1 1 1
1 0 0 1 0
0 1 0 1 1
Page62of62
1 1 0 0 0
(
a)Whi
cht
ypeofl
ogi
cgat
ewi
l
lpr
oducet
hePout
put
?
(
b)Whi
cht
ypeofl
ogi
cgat
ewi
l
lpr
oducet
heQout
put
?
(
c)Wr
it
edownanexpr
essi
onwhi
chdescr
ibest
heRout
put
.
UNI
T4:
BOOLEANALGEBRAANDCOMBI
NATI
ONALLOGI
C
4.
0Int
roduct
ion
Compl
i
cat
edoper
ati
onscanbeper
for
medusi
ngcombi
nat
ionsofl
ogi
cgat
es.I
n
Bool
eanal
gebr
a,v
ari
abl
esand t
hei
rfunct
ionsar
erepr
esent
ed wi
thuppercase
l
ett
ers.Youwi
l
lal
sor
epr
esentt
hecompl
i
mentofav
ari
abl
ewi
tha‘
bar
’ov
ert
he
uppercasel
ett
er.Forexampl
e,t
hecompl
i
mentofCi
s andi
f ,
then .I
n
t
hisuni
tyouwi
l
lcov
erBool
eanal
gebr
aandl
ogi
cgat
ecombi
nat
ions.
Lear
ningObj
ect
ives
Byt
heendoft
hisuni
t,y
oushoul
dbeabl
eto:
const
ructandi
nter
prett
rut
htabl
esf
orcombi
nat
ionsofl
ogi
cgat
es;
descr
ibet
heoper
ati
onofcombi
nat
ional
logi
csy
stems;
conv
ertl
ogi
cci
rcui
tsconsi
sti
ngofmi
xedgat
esi
ntoci
rcui
tswi
thei
therNAND
orNORgat
esonl
y;
usel
ogi
cgat
ecombi
nat
ionst
odesi
gnal
ogi
csy
stem f
rom at
rut
htabl
e,
Page63of63
wr
it
tendescr
ipt
ionorBool
eanal
gebr
aexpr
essi
on;
gener
atet
heBool
eanexpr
essi
onf
rom at
rut
htabl
eorl
ogi
cdi
agr
am.
4.
1Fundament
alr
ulesofBool
eanal
gebr
a
TheBool
eanexpr
essi
onf
ort
heANDf
unct
ioni
sadot(
.)
.Forexampl
e,AANDB
or
si
mpl
y .TheBool
eanexpr
essi
onf
ort
heORf
unct
ioni
sapl
us(
+).Forexampl
e,A
ORB
.
4.
1.1Addi
ti
on(
OR)
(
i) .
(
ii
) .
(
ii
i) .
(
iv) .
(
v)A+0=A.
(
vi)A+1=A.
(
vii
)A+A=A.
(
vii
i
)A+AB=A.
Exampl
e4.
1
Useanappr
opr
iat
erul
etoder
iver
ule(
vii
).
Sol
uti
on
Butf
rom r
ule(
iv) ,
sot
her
ighthandsi
deoft
heequat
ionsi
mpl
i
fiest
o .
Ther
efor
e, whi
chi
srul
e(v
ii
).
4.
1.2Mul
ti
pli
cat
ion(
AND)
(
1) .
(
2) .
(
3) .
(
4) .
(
5) .
Page64of64
(
6) .
(
7) .
Sel
fAssessmentQuest
ion4.
1
Useanappr
opr
iat
erul
etoder
iver
ule(
vii
i
)insub-
uni
t4.
1.1.
4.
2Fundament
all
awsofBool
eanal
gebr
a
The commut
ati
ve,associ
ati
ve and di
str
ibut
ivel
awscan be appl
i
ed t
o Bool
ean
expr
essi
ons.
4.
2.1Commut
ati
vel
aw
.
.
4.
2.2Associ
ati
vel
aw
.
.
4.
2.3Di
str
ibut
ivel
aw
.
Exampl
e4.
2
Appl
ythecommut
ati
vel
awt
othef
oll
owi
ngexpr
essi
ons.
(
a)C+D.
(
b) .
Sol
uti
on
(
a)C+D=D+C.
(
b) .
Sel
fAssessmentQuest
ion4.
2
Uset
heassoci
ati
vel
awt
osi
mpl
i
fyt
hef
oll
owi
ngexpr
essi
ons.
(
a) .
(
b) .
Page65of65
4.
3Combi
nat
ionsofl
ogi
cgat
es
Fi
gur
e4.
1showsal
ogi
cci
rcui
twi
tht
wol
ogi
cgat
escombi
nedt
oget
her(
i.
e.)
,aNOT
gat
eandanANDgat
e.Theci
rcui
thast
woi
nput
s(i
.e.
),AandB.Supposey
ouwantt
o
det
ermi
net
hedependenceoft
heout
putQont
hev
aluesofAandBsoy
oushoul
d
i
dent
if
yandl
abel
ani
nter
medi
atepoi
nt,
say
,c.
Fi
gur
e4.
1:Logi
cci
rcui
t.
Yout
henconst
ructat
rut
htabl
easi
l
lust
rat
edi
nTabl
e4.
1.Her
eyoushoul
dobser
ve
t
hatsi
ncet
her
ear
etwobi
nar
yinput
s,t
hepossi
blenumberofcombi
nat
ionsofi
nput
l
ogi
cst
atesi
s .
Tabl
e4.
1:Tr
utht
abl
e.
A B c Q
0 0 1 0
0 1 1 1
1 0 0 0
1 1 0 0
Youshoul
dtakenot
ethati
fal
ett
er,say
,‘c’i
sgi
veni
nlowercasei
ntheci
rcui
t,t
hen
y
oushoul
dal
sousel
owercasei
nthet
abl
e.
Exampl
e4.
3
Fi
gur
e4.
2showsal
ogi
cci
rcui
tthatcanbeusedwhendesi
gni
ngt
hesaf
etysy
stem
f
oracarpar
k.
Page66of66
Fi
gur
e4.
2:Al
ogi
cci
rcui
t.
(
a)Dr
awat
rut
htabl
efort
hisl
ogi
cci
rcui
t.
(
b)Nameasi
ngl
egat
ewhi
chcanper
for
mthesameoper
ati
onasFi
gur
e4.
2.
Sol
uti
on
(
a) Tabl
e4.
2:Tr
utht
abl
e.
A B c d Q
0 0 0 1 0
0 1 1 1 1
1 0 1 1 1
1 1 1 0 0
(
b)EX-
ORgat
e.
Exampl
e4.
4
Not
e:Youshoul
drecal
lfr
om uni
t3assessmentquest
ion3t
haty
oucanmakeaNOT
gat
efr
om aNORgat
ebysi
mpl
yconnect
ingbot
hinput
soft
heNORgat
etoget
heras
shownont
hel
owergat
ewhi
chi
sconnect
edt
otheday
/ni
ghtswi
tchi
nFi
gur
e4.
3.
(
a)Fi
gur
e4.
3showsal
ogi
cci
rcui
t.
Page67of67
Fi
gur
e4.
3:Logi
cci
rcui
t.
Copyandcompl
etei
tst
rut
htabl
eshowni
nTabl
e4.
3.
Tabl
e4.
3:Tr
utht
abl
e.
Day
/ni
ght Br
eak Smoke R S Out
putt
o
swi
tch gl
ass det
ect
or out
side
det
ect
or si
ren
0 0 0
1 0 0
Page68of68
0 1 0
1 1 0
0 0 1
1 0 1
0 1 1
1 1 1
(
b)Expl
ain whet
hert
his pr
oposed sy
stem woul
d pr
ovi
de t
he bui
l
ding wi
th an
adequat
elev
el
ofpr
otect
ion.
Sol
uti
on
(
a)Tabl
e4.
4:Tr
utht
abl
e.
Day
/ni
ght Br
eakgl
ass Smoke R S Out
putt
o
swi
tch det
ect
or det
ect
or out
side
si
ren
0 0 0 1 1 0
1 0 0 1 0 1
0 1 0 1 1 0
1 1 0 1 0 1
0 0 1 1 1 0
1 0 1 1 0 1
0 1 1 0 1 1
1 1 1 0 0 1
(
b)Thepr
oposedsy
stem wi
l
lnotpr
ovi
det
hebui
l
dingwi
thadequat
epr
otect
ion
becauset
he
si
reni
snotact
ivat
edi
fjustoneofSmokedet
ect
or,Br
eakgl
assdet
ect
or or
Day
/ni
ght
swi
tchi
satl
ogi
cst
ate1.
Sel
fAssessmentQuest
ion4.
3
Page69of69
Fi
gur
e4.
4showsal
ogi
cci
rcui
twi
tht
hreei
nput
s(i
.e.
),A,
BandC.
Fi
gur
e4.
4:Logi
cgat
ecombi
nat
ions.
Const
ructat
rut
htabl
efort
hisl
ogi
cgat
enet
wor
k.
4.
4Logi
cci
rcui
timpl
ement
ati
onusi
ngNANDgat
esonl
y
TheNANDgat
ecanbeusedt
oconst
ructal
lot
hergat
es(
i.
e.)
,topr
oduceanyl
ogi
c
f
unct
ion,
soi
tisauni
ver
sal
gat
e.
4.
4.1.TheNOTgat
e
Youcangener
ateaNOTf
unct
ionbyconnect
ingt
oget
hert
het
woi
nput
sofaNAND
gat
easi
l
lust
rat
edi
nFi
gur
e4.
5.
Fi
gur
e4.
5:NOTgat
e.
4.
4.2.TheANDgat
e
Youcanachi
evet
heANDf
unct
ionbyconnect
ingaNANDgat
efol
l
owedbyaNOT
gat
easi
l
lust
rat
edi
nFi
gur
e4.
6.
Fi
gur
e4.
6:ANDgat
e.
4.
4.3.TheORgat
e
Youcangener
ateanORf
unct
ionbyconnect
ingt
hreeNANDgat
esasi
l
lust
rat
edi
n
Page70of70
Fi
gur
e4.
7.
Fi
gur
e4.
7:ORgat
e.
4.
4.4.TheNORgat
e
YoucanmakeaNORgat
ebyconnect
ingf
ourNANDgat
esasshowni
nFi
gur
e4.
8.
Fi
gur
e4.
8:NORgat
e.
4.
4.5.TheEX-
ORgat
e
Youcanachi
evet
heEX-
ORf
unct
ionbyconnect
ingf
ourNANDgat
esi
nal
ogi
cci
rcui
t
asi
l
lust
rat
edi
nFi
gur
e4.
9.
Page71of71
Fi
gur
e4.
9:EX-
ORgat
e.
Exampl
e4.
5
Thet
rut
htabl
eforal
ogi
cci
rcui
tisshownTabl
e4.
5.
Tabl
e4.
5:Tr
utht
abl
e.
W X Y Z Q
0 0 1 0 0
0 1 1 1 1
1 0 1 1 1
1 1 0 1 0
(
a)I
nput
sW andXar
econnect
edt
otwol
ogi
cgat
eshav
ingout
put
sYandZ.
Gi
vent
hatYandZf
ormt
hei
nput
stoat
hir
dgat
ewhi
chpr
ovi
dest
heout
putQ.
Compl
eteFi
gur
e4.
10 bydr
awi
ng t
hel
ogi
cci
rcui
tthatwoul
d gi
vet
hese
out
put
s.
Fi
gur
e4.
10:
Par
tofal
ogi
cci
rcui
t.
(
b)UseTabl
e4.
5towr
it
ethesi
mpl
estBool
eanexpr
essi
onf
ort
hel
ogi
csi
gnal
sat
YandZi
nter
msoft
hei
nput
sW andX.
Page72of72
(
c)Wr
it
ethesi
mpl
estBool
eanexpr
essi
onf
orQi
nter
msoft
hei
nput
sW andX.
(
d)Nameasi
ngl
elogi
cgat
ewhi
chper
for
mst
hesamef
unct
ionast
hecompl
ete
ci
rcui
tabov
e.
Sol
uti
on
(
a)
Fi
gur
e4.
11:
Logi
cci
rcui
t.
(
b)
(
c)
(
d)EX–ORgat
e.
Exampl
e4.
6
Al
ogi
cci
rcui
twi
tht
woi
nput
sXandYandout
putQhast
hef
oll
owi
ngt
heBool
ean
equat
ion:
(
a)Copyandcompl
eteTabl
e4.
6.
Tabl
e4.
6:Tr
utht
abl
e.
X Y Q
0 0
1 0
0 1
Page73of73
1 1
(
b)Compl
eteFi
gur
e4.
12t
oshowhowal
ogi
cci
rcui
tcanbeconst
ruct
edf
rom t
wo
NOTgat
es,t
woORgat
esandoneANDgat
etor
epr
esentt
heBool
eanequat
ion
abov
e.
Fi
gur
e4.
12:
Par
tofal
ogi
cci
rcui
t.
(
c)St
atewhi
chsi
ngl
elogi
cgat
ehast
hesamef
unct
ionast
hecompl
eteci
rcui
tabov
e.
Sol
uti
on
(
a)Tabl
e4.
7:Tr
utht
abl
e.
X Y Q
0 0 1 1 1 0 0
1 0 0 1 1 1 1
0 1 1 0 1 1 1
1 1 0 0 0 1 0
(
b)
Page74of74
Fi
gur
e4.
13:
Logi
cci
rcui
t.
(
c)EX–ORgat
e.
Sel
fAssessmentQuest
ion4.
4
Ast
udentconst
ruct
saci
rcui
tfr
om t
hel
ogi
cdi
agr
am showni
nFi
gur
e4.
14.
Fi
gur
e4.
14:
Logi
cdi
agr
am.
(
a)UseTabl
e4.
8tocompl
etet
het
rut
htabl
efort
hisl
ogi
cdi
agr
am.
Tabl
e4.
8:Tr
utht
abl
e.
M N P R Q
0 0
1 0
0 1
1 1
Page75of75
(
b)Wr
it
edownBool
eanexpr
essi
onsf
ort
hel
ogi
csi
gnal
satP,RandQi
nter
msof
t
he
i
nput
sM andN.
(
c)Whatsi
ngl
elogi
cgat
ecoul
dper
for
mthef
unct
ionoft
hewhol
eci
rcui
tabov
e?
4.
5Uni
t4Summar
y
I
tispossi
blet
oconst
ructandi
nter
prett
rut
htabl
esf
orcombi
nat
ionsofl
ogi
c
gat
es;
Logi
cci
rcui
tsconsi
sti
ngofmi
xedgat
escanbeconv
ert
edi
ntoci
rcui
tswi
th
ei
therNANDorNORgat
esonl
y;
Logi
cgat
ecombi
nat
ionscanbeusedt
odesi
gnal
ogi
csy
stem f
rom at
rut
h
t
abl
e,wr
it
tendescr
ipt
ionorBool
eanal
gebr
aexpr
essi
on;
Bool
eanal
gebr
acanbeusedt
osi
mpl
i
fyal
ogi
csy
stem.
4.
6Uni
t4Quest
ions
1.UseBool
eanal
gebr
atosi
mpl
i
fyt
hef
oll
owi
ngexpr
essi
ons:
(
a) .
(
b) .
(
c) .
2.Si
mpl
i
fyt
heexpr
essi
on usi
ngt
hedi
str
ibut
ivel
aw.
3.Thet
rut
htabl
eforal
ogi
csy
stem i
sshowni
nTabl
e4.
9.
Page76of76
Tabl
e4.
9:Tr
utht
abl
e.
A B C M N O P Q
0 0 0 0 0 0 0 0
1 0 0 0 0 0 0 0
0 1 0 0 0 0 0 0
1 1 0 0 0 1 0 1
0 0 1 0 0 0 0 0
1 0 1 1 0 0 1 1
0 1 1 0 1 0 1 1
1 1 1 1 1 1 1 1
(
a)Wr
it
edownt
heBool
eanexpr
essi
onsf
ort
hel
ogi
csi
gnal
satM,NandOi
nTabl
e
4.
9
i
nter
msoft
hei
nput
sA,
BandC.
(
b)Wr
it
edownt
heBool
eanexpr
essi
onsf
orPandQi
nter
msoft
hei
nput
sA,
BandC.
(
c)Copyandcompl
etet
hel
ogi
cci
rcui
tinFi
gur
e4.
15wi
tht
hecor
rectgat
est
hat
woul
dgi
ve
t
hel
ogi
csi
gnal
sint
heTabl
e4.
9.
Fi
gur
e4.
15:
Logi
cci
rcui
t.
Page77of77
(
d)Descr
ibet
heact
ionoft
hisl
ogi
cci
rcui
t.
4.TheBool
eanequat
ionf
oral
ogi
cci
rcui
twi
tht
woi
nput
sXandYandout
putQi
s:
.
(
a)Copyandcompl
eteTabl
e4.
10.
Tabl
e4.
10:
Trut
htabl
e.
X Y Q
0 0
1 0
0 1
1 1
(
b)Compl
etet
heFi
gur
e4.
16t
oshowhowal
ogi
cci
rcui
tcanbeconst
ruct
edt
hat
hast
hesamef
unct
ionast
heBool
eanequat
ionabov
eusi
ngt
woANDgat
es,
two
NOT
gat
es,
andoneORgat
e.
Fi
gur
e4.
16:
Par
tofal
ogi
cci
rcui
t.
(
c)St
atet
hel
ogi
cfunct
ionoft
hecompl
eteci
rcui
tabov
e.
5.Supposey
ouwantt
ofi
tanal
armt
oyourdeepf
reezershowni
nFi
gur
e4.
17,
whi
ch
wi
l
l
war
nyoui
fanydangerofdamaget
ost
ocki
nthef
reezeroccur
s.
Page78of78
Fi
gur
e4.
17:
Afr
eezer
.
Gi
vent
haty
ourf
reezerhassensor
swi
tht
hef
oll
owi
ngout
put
s:
Ai
nFi
gur
e4.
18i
satl
ogi
c1i
fthet
emper
atur
eist
oohi
ght
ost
oref
rozenf
oodand
l
ogi
c0i
f
t
het
emper
atur
eisatorbel
owt
her
equi
redt
emper
atur
e.
Bi
satl
ogi
c1i
fthel
i
discl
osedandl
ogi
c0i
fthel
i
disopen.
Fi
gur
e4.
18:
Logi
csy
stem.
Youar
erequi
redt
opr
oduceal
ogi
csy
stem t
hatgi
vesanout
putQwhi
chsoundst
he
al
arm
i
fQi
slogi
c1.Yout
hendeci
det
hatt
heal
arm shoul
dsoundi
fthel
i
discl
osedandt
he
t
emper
atur
eist
oohi
gh,
ort
het
emper
atur
eisl
owandt
hel
i
disl
eftopen.
(
a)I
fyoudesi
gnasy
stem t
oimpl
ementt
hisf
unct
ion.Wr
it
eaBool
eanexpr
essi
on
f
ort
he
out
putQ,
int
ermsofAandB.
(
b)Dr
awal
ogi
cci
rcui
tfort
hesy
stem,
usi
nganyt
ypeofl
ogi
cgat
es.
(
c)Usi
ngNANDgat
esonl
y,dr
aw al
ogi
cci
rcui
twhi
chhast
hesamef
unct
ionasa
t
wo-
input
ORgat
e.
Page79of79
(
d)Dr
awal
ogi
cci
rcui
tfort
hesy
stem i
npar
t(b)
,usi
ngNANDgat
esonl
y.Dr
awa
r
ingr
oundanyr
edundantgat
esorr
e-dr
awt
hef
inal
syst
em.
6.Supposey
ouar
edesi
gni
ngasi
mpl
etest
ingdev
ice(
seeFi
gur
e4.
19)t
ocheckt
hat
met
al
bar
susedi
naf
act
oryar
ecutt
oasetl
engt
h.Thet
est
ingdev
iceshoul
duset
hree
sensi
ti
ve
swi
tches,
X,YandZ,
whi
chgi
veal
ogi
c1whenpr
essed.
Abari
spl
acedi
nthedev
iceandpr
essedagai
nstswi
tchX.
Fi
gur
e4.
19:
Test
ingdev
ice.
(
a)Gi
vent
hatt
hedev
iceoper
atesf
rom a9Vpowersuppl
y.
(
a)(
i)St
atewhati
smeantbyl
ogi
c1i
nthi
ssy
stem.
(
a)(
ii
)Copyandcompl
etet
hel
ogi
cci
rcui
tinFi
gur
e4.
20,addi
ngar
esi
storand
swi
tchso
t
hatt
heout
putgi
vesal
ogi
c1whent
heswi
tchi
spr
essed.
Page80of80
Fi
gur
e4.
20:
Cir
cui
tdi
agr
am.
(
b)I
fthebari
soft
hecor
rectl
engt
hwhenpl
acedagai
nstswi
tchX,
itpr
essesswi
tch
Y,
but
notswi
tchZasshowni
nFi
gur
e4.
21.
Fi
gur
e4.
21:
Test
ingdev
ice.
Ther
ear
ethr
eeout
put
s:
Pi
slogi
c1i
fthebari
stool
ong.
Qi
slogi
c1i
fthebarl
engt
hist
her
ightl
engt
h.
Ri
slogi
c1i
fthebarl
engt
hist
ooshor
t.
I
fthebari
snotpr
essedagai
nstswi
tchx,
all
out
put
sar
elogi
c0.
Wr
it
eBool
eanexpr
essi
onsf
ort
heout
put
s,i
nter
msofX,
Y,andZ.
(
c)Usi
nganyl
ogi
cgat
es,
drawal
ogi
cci
rcui
tinFi
gur
e4.
22t
oil
l
ust
rat
ehowout
putQ
canbe
pr
oducedf
rom i
nput
sX,
YandZ.
Page81of81
Fi
gur
e4.
22:
Par
tofal
ogi
cci
rcui
t.
(
d)Usi
ngNORgat
esonl
y,dr
awal
ogi
cdi
agr
am whi
chper
for
mst
hesamef
unct
ion
asy
our
l
ogi
cdi
agr
am i
npar
t(c)
.
7.Fi
gur
e4.
23i
sanet
wor
kofl
ogi
cgat
es.
Fi
gur
e4.
23:
Logi
cgat
enet
wor
k.
(
a)Const
ructat
rut
htabl
eindi
cat
ingt
hei
nput
sAandB,
alongwi
tht
he
i
nter
medi
atepoi
ntsc,
d,eandfandt
heout
putQ.
(
b)St
ateasi
ngl
elogi
cgat
ethati
srepr
esent
edbyt
hel
ogi
cnet
wor
k.
8.Usi
ngNANDgat
esonl
y,showhowy
oucani
mpl
ementt
hef
oll
owi
ngl
ogi
c
gat
es:
Page82of82
(
a)NOTgat
e.
(
b)NORgat
e.
9.Al
ogi
cci
rcui
tdi
agr
am i
sshowni
nFi
gur
e4.
24.
Fi
gur
e4.
24:
Logi
cci
rcui
t.
(
a)Wr
it
ethesi
mpl
estBool
eanexpr
essi
onsf
ort
hel
ogi
csi
gnal
satpoi
ntsRandS.
(
b)(
i)Wr
it
ethesi
mpl
estBool
eanexpr
essi
onf
orQi
nter
msofRandSonl
y.
(
b)(
ii
)Wr
it
easi
mpl
eBool
eanexpr
essi
onf
orQi
nter
msofOandPonl
y.
(
c)Copyandcompl
eteTabl
e4.
11t
oshowt
hel
ogi
cval
uesofR,
SandQf
oral
lthe
combi
nat
ionsofi
nput
sOandP.
Tabl
e4.
11:
Trut
htabl
e.
O P R S Q
0 0
0 1
1 0
1 1
(
d)Dr
awal
ogi
cci
rcui
tdi
agr
am usi
ngasi
ngl
elogi
cgat
ethatwoul
dhav
ethesame
f
unct
ion
ast
heor
igi
nal
cir
cui
t.
Page83of83
UNI
T5:
ELECTRONI
CSI
NSOCI
ETYANDI
NDUSTRY
5.
0Int
roduct
ion
El
ect
roni
cspl
ayav
italr
olei
nourdayt
odayl
i
fe.Justi
magi
neasoci
etyori
ndust
ry
wi
thoutel
ect
roni
cdev
icessuchasmobi
l
ephones,t
elev
isi
ons,r
adi
os,comput
ers,
(
etc)
.Eachel
ect
roni
csy
stem hasani
nput(
sensi
ng)dev
icewhi
chi
sconnect
edt
oan
out
putdev
icev
iaanel
ect
ri
calci
rcui
t(pr
ocessi
nguni
t)t
hatwi
l
lpr
ovi
deav
olt
ageas
i
tsout
put
.El
ect
roni
csy
stemsar
eusedt
oper
for
mvar
ioust
askssuchasmoni
tor
ing
r
oom t
emper
atur
ebyswi
tchi
ngaf
anonandof
f,soundi
nganal
arm whenabur
glar
br
eakst
hroughawi
ndow(
etc)
.Youcanaswel
luset
hem dur
ingy
ourst
udyper
iod
f
orl
i
ghtl
eveldet
ect
ion,
toi
ndi
cat
ewhent
hel
i
ghtl
evelf
all
s,asar
emi
ndert
oswi
tch
onar
eadi
ngl
ampt
oav
oidey
est
rai
n.
.
Thesensi
ngdev
icecoul
dbef
orexampl
e,anLDRsot
hatl
i
ghti
ntensi
tymaybe
moni
tor
ed (
see1.
1.1)orat
her
mist
orso t
hatchangesi
ntemper
atur
emaybe
moni
tor
ed(
see1.
1.2)orast
rai
ngaugesot
hatt
hest
rai
nexper
iencedbyasampl
eof
mat
eri
almaybemeasur
ed(
see1.
1.3)
.Thei
nputdev
icechangesoneofi
tsphy
sical
Page84of84
pr
oper
ti
es(
e.g.r
esi
stance)wi
thachangei
nwhat
everi
stobemoni
tor
ed.I
nor
der
t
hatt
hei
nfor
mat
iongat
her
edbyt
hei
nputdev
icemaybecommuni
cat
ed,
thechange
i
nit
sphy
sicalpr
oper
tymustbepr
ocessedsot
hatanout
putdev
icewi
l
lindi
cat
ethi
s
change. Thi
sout
putdev
icecoul
d be,f
orex
ampl
e,asi
mpl
eindi
cat
orl
amp,a
l
oudspeakeroradi
git
almet
er.Theout
putdev
icewi
l
lrespondt
oachangei
nvol
tage.
I
nthi
suni
t,y
ouwi
l
llookatsi
mpl
eel
ect
roni
cdev
icest
hathav
emadei
mpact
sin
soci
etyandi
ndust
ry.
Lear
ningObj
ect
ives
Byt
heendoft
hisuni
t,y
oushoul
dbeabl
eto:
r
ecal
lthateachel
ect
roni
csy
stem consi
stsofani
nput
,el
ect
ri
cci
rcui
tandan
out
put
;
dr
aw a bl
ock di
agr
am showi
ng t
he t
hree basi
c component
s ofa gi
ven
el
ect
roni
csy
stem.
descr
ibet
hef
unct
ionofsi
mpl
eel
ect
roni
cdev
icesandsy
stemswhi
char
e
f
oundi
nthehome,
ini
ndust
ryandi
ncommuni
cat
ions;
descr
ibet
hei
mpactofel
ect
roni
cdev
icesandsy
stemsondomest
icand
i
ndust
ri
alact
ivi
ti
es;
descr
ibe t
he i
mpact of el
ect
roni
c dev
ices and sy
stems on moder
n
communi
cat
ion.
5.
1Funct
ionsofel
ect
roni
cdev
icesandsy
stems
Thei
nfor
mat
iongat
her
edbyani
nputdev
iceshoul
dbepr
ocessedf
ori
ttobeofgood
use(
i.
e.)
,thechangei
nit
sphy
sicalpr
oper
ty(
e.g.
),t
emper
atur
eint
hecaseofa
t
her
mist
or must be pr
ocessed so t
hat an out
put dev
ice such as a
l
oudspeaker
/buzzerwi
l
lsound t
oindi
cat
ethi
schange.Her
e,t
heout
putdev
ice
r
espondst
oachangei
nvol
tage.Ther
efor
e,eachel
ect
roni
cssy
stem consi
stsof
t
hreebasi
ccomponent
sil
l
ust
rat
edi
nFi
gur
e5.
1,namel
y:
(
i)t
hesensorori
nput
,
(
ii
)theel
ect
ri
cci
rcui
torpr
ocessi
nguni
t,and
(
ii
i)t
heout
put
.
Page85of85
Fi
gur
e5.
1:Thr
eebasi
ccomponent
sofanel
ect
roni
csy
stem.
Exampl
e5.
1
Fi
gur
e5.
2showssomegoodexampl
esofel
ect
roni
csy
stemsandt
hei
rrespect
ive
sensi
ngdev
ices,
processi
nguni
tsandout
putdev
ices.
1.Recor
dpl
ayer
.
2.Comput
er.
3.Washi
ngmachi
ne.
Fi
gur
e5.
2:Sensi
ngdev
ices,
processi
nguni
tsandout
putdev
icesf
orar
ecor
dpl
ayer
,
comput
erandwashi
ngmachi
ne.
Sel
fAssessmentQuest
ion5.
1
Dr
aw bl
ockdi
agr
amsshowi
ngt
hecor
respondi
ngsensor
,ci
rcui
tandout
putf
ort
he
f
oll
owi
ng
el
ect
roni
csy
stems.
(
a) dr
inksmachi
ne.
(
b) r
adi
o.
(
c) t
elephone.
Exampl
e5.
2
Dr
awabl
ockdi
agr
am showi
ngt
het
hreebasi
ccomponent
sforanel
ect
roni
csy
stem
t
hatcanbeusedt
ocountt
henumberofv
ehi
clespassi
ngt
hroughat
oll
gat
e.
Page86of86
Sol
uti
on
Fi
gur
e5.
3:Anel
ect
roni
csy
stem t
hatcanbeusedt
ocountt
henumberofv
ehi
cles
passi
ngt
hroughat
oll
gat
e.
Exampl
e5.
3
Dr
awabl
ockdi
agr
am showi
ngt
het
hreebasi
ccomponent
sforanel
ect
roni
csy
stem
t
hatcanbeusedt
osoundanal
armi
fyouf
orgett
oswi
tchof
fthecarheadl
i
ght
s.
Sol
uti
on
Fi
gur
e5.
4:Anel
ect
roni
csy
stem t
hatcanbeusedt
osoundanal
armi
fyouf
orgett
o
swi
tchof
fthecarheadl
i
ght
s.
Page87of87
Sel
fAssessmentQuest
ion5.
2
Dr
awabl
ockdi
agr
am showi
ngt
het
hreebasi
ccomponent
sforanel
ect
roni
csy
stem
t
hatcanbeusedt
ocont
rol
room t
emper
atur
e.
5.
2 The i
mpactofel
ect
roni
cdev
icesand sy
stemson domest
icand i
ndust
ri
al
act
ivi
ti
es
Fact
orst
hatcont
ri
but
etot
hehugegr
owt
hint
heel
ect
roni
csi
ndust
ry:
Ther
mioni
cval
vet
echnol
ogyhasgi
venwayt
omoder
nsol
i
d-st
ateel
ect
roni
cswhi
ch:
i
srel
ati
vel
y much f
ast
er,hence,t
her
eis gr
owt
h ofmoder
n el
ect
roni
c
communi
cat
ionsy
stems,
enabl
esv
erycompl
exci
rcui
tst
obeav
ail
edi
nti
nypackagesasev
idencedby
t
he r
educt
ion i
n si
ze ofel
ect
roni
c dev
ices such as t
elev
isi
ons,r
adi
os,
t
elephones,
comput
ers,
(et
c),
i
sver
ycheapbecausemasspr
oduct
ionofi
ntegr
atedci
rcui
tsr
educest
he
costsi
gni
fi
cant
ly,
hasci
rcui
tst
hatar
emuchmor
erel
i
abl
e,dur
abl
eduet
oabsenceofmov
ing
par
ts,
hasci
rcui
tst
hatr
equi
rev
eryl
i
ttl
epowert
ooper
ate.Thi
shasf
aci
l
itat
edt
he
mucheasi
erpower
ingofmoder
ndev
icesusi
ngbat
ter
ies.
Exampl
esofsomeoft
heel
ect
roni
cdev
icest
hathav
emadeani
mpactonsoci
ety
:
Radi
oandaudi
o,
Tel
evi
sionandv
ideo,
Musi
crepr
oduct
ionandst
orage,
Communi
cat
ionsy
stems(
e.g.
),mobi
l
ephones,
Comput
erandi
nfor
mat
iont
echnol
ogy(
e.g.
),i
nter
net
,
Secur
it
ysy
stems(
e.g.
),v
ehi
cleant
i-
hij
ackal
armsandbur
glaral
arms,
Saf
etysy
stems(
e.g.
),f
ir
e-war
ningal
armsandf
loodwar
ningsy
stems,
Robot
ics,
and
Mechat
roni
cs.
Theseel
ect
roni
csdev
iceshav
egener
all
yimpr
ovedt
hequal
i
tyofdayt
odayl
i
febut
t
heyal
sohav
ethei
rowndi
sadv
ant
ages,
amongt
hem:
Page88of88
Lossofempl
oymentespeci
all
yamongstmanualwor
ker
sduet
oaut
omat
ion
andcont
rol
,
Conf
ident
ial
inf
ormat
ionmaybel
eakedbyel
ect
roni
csur
vei
l
lancesy
stems,
Mi
l
itar
yuseofel
ect
roni
csi
ngui
dedweaponsofmassdest
ruct
ion.
Sel
fAssessmentQuest
ion5.
3
Li
stanyt
hreeel
ect
roni
cdev
icest
hathav
emadeani
mpactonsoci
ety(
donot
i
ncl
udet
hose
l
i
stedabov
e).
5.
3Thei
mpactofel
ect
roni
cdev
icesandsy
stemsonmoder
ncommuni
cat
ion
I
ntegr
atedci
rcui
tspl
ayav
italr
olei
nmoder
ncommuni
cat
ionsi
ncet
heycanoper
ate
atgr
eat
erspeeds,(
i.
e.)
,atv
eryhi
ghf
requenci
es.Thi
senabl
esmor
einf
ormat
iont
o
becar
ri
edf
orl
ongdi
stanceswi
thi
nashor
tint
erv
aloft
ime.(
i.
e.)
,si
mul
taneous
t
ransmi
ssi
on ofsepar
ate si
gnal
sthr
ough di
git
almeans i
s made possi
ble.For
exampl
e,y
oucanuseanopt
icalf
ibr
etohav
e256musi
cchannel
sor1920t
elephone
ci
rcui
ts.
I
naddi
ti
ont
othesi
mul
taneoust
ransmi
ssi
onofmanychannel
sofcommuni
cat
ion,
hi
gherf
requenci
esar
efav
our
abl
esi
ncet
heycangener
ateel
ect
romagnet
icwav
esof
r
elat
ivel
yshor
twav
elengt
hs.Agoodexampl
ewhi
chy
oucant
hinkofi
sthatofacel
l
phoneoper
ati
ngat900MHzusi
ngawav
elengt
hof0.
3m.Thi
smakest
hecel
lphone
conv
eni
entt
o usesi
ncet
heaer
iall
engt
hrequi
red f
ort
het
ransmi
ssi
on oft
he
el
ect
romagnet
icwav
esi
sonl
yaf
ewcent
imet
resl
ong.
I
ntegr
atedci
rcui
tsal
sopl
ayamaj
orr
olei
nlaunchi
ng,posi
ti
oni
ngandmai
ntenance
ofgeost
ati
onar
ysat
ell
i
tes.Thet
oandf
rot
ransmi
ssi
onofsat
ell
i
tesi
gnal
sonEar
th
t
akes pl
ace i
nthe hi
gh f
requency r
egi
on (
i.
e.)
,int
he GHz r
egi
on of t
he
el
ect
romagnet
icspect
rum.
Ascompar
edt
osev
eral
year
sago,
thei
ntr
oduct
ionofi
ntegr
atedci
rcui
tshasbr
ought
aboutsomeadv
ant
agessuchas:
i
ncr
easedr
eli
abi
l
ityandav
ail
abi
l
ityofawi
der
angeofel
ect
roni
cequi
pment
,
and
Page89of89
r
educt
ioni
nthecapi
tal
andoper
ati
ngcostofequi
pment
.
Sel
fAssessmentQuest
ion5.
4
Li
stanyt
hreeadv
ant
agesofadv
ancesi
nel
ect
roni
cs?
5.
4Uni
t5Summar
y
Eachel
ect
roni
csy
stem consi
stsofani
nput
,el
ect
ri
cci
rcui
tandanout
put
;
Gener
all
y,el
ect
roni
cdev
icesandsy
stemshav
erai
sedt
hequal
i
tyofourdayt
o
dayl
i
febutt
heyal
sohav
ethei
rowndr
awbacks;
El
ect
roni
cdev
icesand sy
stemshav
e made a huge i
mpacton domest
ic
act
ivi
ti
es,
indust
ri
alact
ivi
ti
esandmoder
ncommuni
cat
ion.
5.
5Uni
t5Quest
ions
1.Foreachel
ect
roni
csy
stem gi
venbel
ow,
const
ructabl
ockdi
agr
am showi
ngt
he
cor
respondi
ngsensor
,ci
rcui
tandout
put
.
(
a)comput
er.
(
b)washi
ngmachi
ne.
(
c)r
ecor
dpl
ayer
.
2.Li
stanyt
hreedi
sadv
ant
agesofadv
ancesi
nel
ect
roni
cs?
3.Ast
udentdesi
gnsanel
ect
roni
csy
stem t
otur
nona12Vl
ampf
oraf
ixedper
iodof
t
ime
wheni
tget
sdar
k.
(
a)Choosi
ngappr
opr
iat
einput
,pr
ocess,andout
put
,labelt
hesy
stem di
agr
am i
n
Fi
gur
e5.
5
bel
owt
oshowapossi
bledesi
gnf
ort
hel
ampandi
tscont
rol
l
er.
Page90of90
Fi
gur
e5.
5:Apossi
bledesi
gnf
ort
hel
ampandi
tscont
rol
l
er.
(
b)I
nwhi
chsub-
syst
em coul
d
(
i)anop-
ampbeused,
(
ii
)aLDRbeused.
(
c)Thewhol
esy
stem dr
awsacur
rentof15mAwhent
hel
ampi
sof
f.Thecur
rent
i
ncr
easest
o515mAwhent
he12Vl
ampi
son.Cal
cul
ate
(
i)t
hel
ampcur
rent
,
(
ii
)thepowerr
ati
ngoft
hel
amp.
4.Ast
udentdesi
gnsanel
ect
roni
csy
stem t
omakeanaudi
blet
onet
hatpul
seson
andof
f
r
epeat
edl
ywhent
het
emper
atur
eexceedsacer
tai
nlev
el.
(
a)Dr
aw a sy
stem di
agr
am t
o show a possi
ble desi
gn usi
ng t
he f
oll
owi
ng
subsy
stems:
compar
ator
,buzzerandt
emper
atur
esensor
.
(
b)I
nwhi
chsubsy
stem coul
d
Page91of91
(
i)anop-
ampbeused,
(
ii
)at
her
mist
orbeused.
5.Ast
udentdesi
gnsanel
ect
roni
csy
stem t
ocont
rol
avent
il
ati
onf
anf
ora
gr
eenhouse.The
f
anshoul
dbeswi
tchedononl
ywhent
het
emper
atur
eexceedsacer
tai
nsetl
evel
.
(
a)Choosi
ngappr
opr
iat
einput
,pr
ocessandout
putsubsy
stemsf
rom t
hel
i
stbel
ow,
dr
awa
l
abel
l
edbl
ockdi
agr
am t
oshowapossi
bledesi
gnf
ort
hesy
stem.Choosef
rom:
compar
ator
,fanmot
orandt
emper
atur
esensor
.
(
b)I
nwhi
chsubsy
stem woul
d:
(
i)at
her
mist
orbeused?
(
ii
)anop-
ampbeused?
(
c)Thecont
rol
l
erci
rcui
toper
atesf
rom a12Vpowersuppl
yanddr
awsacur
rentof
25mA
underal
lcondi
ti
ons.Thef
anmot
orr
equi
resacur
rentof450mAwhenswi
tched
onand
oper
atesf
rom t
hesame12Vpowersuppl
y.
Cal
cul
ate:
(
i)t
het
otal
cur
rentdr
awnbyt
hewhol
esy
stem whent
hef
anmot
ori
sswi
tchedon
Page92of92
(
ii
)thei
nputpowert
othewhol
esy
stem whent
hef
anmot
ori
sswi
tchedon.
6.Ast
udentdesi
gnsanoi
sewar
ningsy
stem t
oal
ertt
heusert
othepr
esenceofa
noi
sel
evel
l
i
kel
ytodamagehear
ing.AnLEDf
lashesonandof
fwhent
henoi
sel
evelexceedsa
saf
e
v
alue.
(
a)Labeleachsubsy
stem i
nFi
gur
e5.
6toshow apossi
bledesi
gnf
ort
henoi
se
war
ning
sy
stem usi
ngt
hef
oll
owi
ngsubsy
stems:
compar
ator
,LEDandsoundsensor
.
Fi
gur
e5.
6:Apossi
bledesi
gnf
oranoi
sewar
ningsy
stem.
(
b)I
nwhi
chsubsy
stem coul
danop-
ampbeused?
(
c)Thecompar
atorci
rcui
tdi
agr
am i
sshowni
nFi
gur
e5.
7.
Page93of93
Fi
gur
e5.
7:Thecompar
atorci
rcui
t.
(
c)(
i)Cal
cul
atet
hev
olt
ageatpoi
ntYi
nthi
sci
rcui
t.
Thesi
gnal
from t
hesoundsensori
sconnect
edt
opoi
ntXi
nthecompar
ator
ci
rcui
t.Whatv
olt
agewoul
dyouexpectf
rom t
heout
putoft
hisci
rcui
twhen
(
c)(
ii
)thev
olt
ageatXi
s2V?
(
c)(
ii
i)t
hev
olt
ageatXr
isest
o6V?
7.Ast
udentdesi
gnsaf
loodwar
ningsy
stem.Whent
hehumi
dit
ygoesabov
easet
l
evel
,
asi
gnal
thatoper
atesasi
reni
spr
oduced.
Dr
aw a sy
stem di
agr
am by choosi
ng appr
opr
iat
einput
,pr
ocess,and out
put
subsy
stems
Page94of94
f
rom t
hel
i
stbel
ow.
Al
arm(
audi
blewar
ningdev
ice) compar
ator humi
dit
ysensor
Uni
t6:
Sol
uti
onst
oSel
fAssessmentQuest
ions
Page95of95
Uni
t1:
Transducer
s
1.
1(a)(
i)Ast
het
her
mist
orcool
s,i
tsr
esi
stancei
ncr
easesandi
ttakesal
argershar
e
oft
he
i
nputv
olt
age,
so r
ises.
(
ii
)Al
soast
het
her
mist
orbecomeshot
,it
sresi
stancedecr
easesandi
ttakesa
smal
l
er
shar
eoft
hei
nputv
olt
age,
so f
all
s.
(
b)Youcanuset
hisci
rcui
ttoaut
omat
ical
l
yswi
tchonanel
ect
ri
cir
oni
f r
ises
abov
ea
cer
tai
nval
ueort
oswi
tchi
tof
fwhen f
all
sbel
owacer
tai
nval
ue.
1.
2Theout
putv
olt
age,
1.
3(a)
Ther
efor
ethepowerusedbyt
heLED, or .
(
b)(
i)5mA.
(
ii
)
1.
4Ref
ert
osub-
uni
t1.
3.1.
Page96of96
1.
5Theel
ect
roni
csy
mbol
forabuzzer
.
1.
6Inputt
ransducer
s:LDR,
str
aingaugeandt
her
mist
ors.(
Anyt
wo)
.
Out
putt
ransducer
s:LED,
buzzerandr
elay
.(Anyt
wo)
.
Uni
t2:
Oper
ati
onal
Ampl
i
fier
s
2.
1Iti
sthegai
nofanop-
ampwi
thoutf
eedback.
2.
2Her
e,t
heop-
ampcompar
est
he‘
var
iabl
e’non-
inv
ert
ingi
nputv
olt
agewi
tht
he
‘
const
ant
’
6.
0Vatt
hei
nver
ti
ngi
nput
.
(
i)I
ftheLDRi
sindar
kness, ,t
hen andt
heout
putsat
urat
es
posi
ti
vel
ycausi
ngt
heLEDt
oli
ght
.
(
ii
)Ift
heLDRi
sinday
li
ght
, ,t
hen andt
heout
putsat
urat
es
negat
ivel
ycausi
ngt
heLEDnott
oli
ght
.
2.
3Thev
olt
agegai
n, .
Ther
efor
e,
2.
4(a)v
olt
agef
oll
owerop-
amporbuf
ferop-
amp.
(
b)uni
tyor1(
i.
e.)
,
(
c)To connecthi
gh i
mpedance sour
ces t
olow i
mpedance l
oads t
her
eby
el
i
minat
ing
l
oadi
ngef
fect
sbydr
awi
ngv
eryl
i
ttl
epowerf
rom t
hesi
gnal
sour
ce.
2.
5Ref
ert
osub-
uni
t2.
8.
Uni
t3:
Logi
cgat
es
3.
1Anel
ect
roni
cgat
elockt
hatneedst
wosepar
atekey
stounl
ocki
t.
Page97of97
Thegat
ewi
l
lbeopenedonl
yifbot
hkey
sar
eunl
ocked.
3.
2Youshoul
dtakenot
ethatsi
nceanORgat
ehast
wobi
nar
yinput
s,i
thas
possi
blecombi
nat
ionsofi
nputl
ogi
cst
ates.
I
nput1 I
nput2 Out
put
0 0 0
1 0 1
0 1 1
1 1 1
Theout
puti
shi
ghi
fanyoneorbot
hoft
hei
nput
sar
ehi
gh,andt
heout
puti
slowi
f
bot
hinput
sar
elow.
3.
3A saf
etyl
ockf
ort
hedoort
oamai
nsel
ect
ri
csuppl
ythati
slockeddur
ing
mai
ntenanceof f
aul
tyel
ect
ri
cit
ypowerl
i
nes.
3.
4Youshoul
dtakenot
ethatsi
nceanEX-
ORgat
ehast
wobi
nar
yinput
s,i
thas
possi
blecombi
nat
ionsofi
nputl
ogi
cst
ates.
Her
etheout
puti
satl
ogi
c1i
fei
ther
,butnotbot
h,oft
hei
nput
sar
eatl
ogi
c1,
and
t
he
out
puti
slogi
c0i
fbot
hinput
sar
eatl
ogi
c0ori
fbot
hinput
sar
eatl
ogi
c1.
Page98of98
Thet
rut
htabl
eforanEX-
ORgat
e.
I
nput1 I
nput2 Out
put
0 0 0
1 0 1
0 1 1
1 1 0
Uni
t4:
Bool
eanAl
gebr
aandCombi
nat
ional
Logi
c
4.
1
Butf
rom r
ule(
ii
)insub-
uni
t4.
1.1:1+B=1.Ther
efor
e,t
her
ighthandsi
deoft
he
abov
eequat
ionsi
mpl
i
fiest
o .
Al
sof
rom r
ule(
6)i
nsub-
uni
t4.
1.2: .Ther
efor
e,A+AB=A.
4.
2(a) .
(
b) .
4.
3Her
eyoushoul
dobser
vet
hatsi
ncet
her
ear
ethr
eebi
nar
yinput
s,t
hepossi
ble
numberof
combi
nat
ionsofi
nputl
ogi
cst
atesi
s .
A B C e f g h Q
0 0 0 0 1 1 1 0
1 0 0 0 1 1 1 0
0 1 0 0 0 0 1 0
1 1 0 1 0 1 1 0
0 0 1 0 1 1 0 1
1 0 1 0 1 1 0 1
0 1 1 0 0 0 1 0
1 1 1 1 0 1 0 1
4.
4(a)
M N P R Q
Page99of99
0 0 1 0 0
1 0 1 1 1
0 1 1 1 1
1 1 0 1 0
(
b)
(
c)EX–OR.
Uni
t5:El
ect
roni
csi
nsoci
etyandi
ndust
ry
5.
1(a)Dr
inksmachi
ne.
(
b)Radi
o.
(
c)Tel
ephone.
5.
2
Page100of100
5.
3
Phot
ocopi
ers,
Pr
int
ers,
ATM. (
Manyot
her
s)
5.
4
Taskscanbeper
for
medef
fi
cient
ly,
Pr
oduct
ioni
mpr
oves,
Communi
cat
ioni
sfast
er.
Page101of101
Uni
t7:
Sol
uti
onst
oUni
tAssessmentQuest
ions
Uni
t1:
Transducer
s
1.At
ransduceri
sanel
ect
roni
cdev
icet
hatconv
ert
sener
gyf
rom onef
ormt
o
anot
her
.
2.Ref
ert
osub-
uni
t1.
2.
3.(
a)(
i)Asdar
knessf
all
sont
heLDR,
itsr
esi
stanceRi
ncr
easesand i
ncr
eases.
(
ii
)Butasl
i
ghtf
all
sont Rdecr
heLDR, easesand al
sodecr
eases.
(
b)Thi
sci
rcui
tcanbeusedt
oaut
omat
ical
l
yswi
tchst
reetl
i
ght
sonatduski
f
r
isesabov
e
acer
tai
nval
ueandt
oswi
tcht
hem of
fatdawnwhen f
all
sbel
ow acer
tai
n
v
alue.
4.Ref
ert
osub-
uni
t1.
2.
5.Ref
ert
osub-
uni
t1.
3.3.
6.(
a)nor
mal
l
ycl
osed,
and
(
b)nor
mal
l
yopen.
Page102of102
7.Ref
ert
osub-
uni
t1.
1.3.
8.(
a)100°
C.
(
b)Thet
her
mist
orhasi
tsmi
nimum r
esi
stanceatt
hist
emper
atur
e
(
c)Tot
alr
esi
stance=5kΩ+1kΩ=6kΩ
Cur
rent
,
(
d)V0=(
1÷(
5+1)
)×6V=1V.
9.(
a)(
i) .
.(
All
ow31.
6mA)
.
(
ii
) .
.(
All
ow379Ω)
(
ii
i)375–100=275,
choose300Ω.
(
b)(
i) .
(
ii
) .
(
c)Tool
ow/v
eryl
i
ttl
edi
ff
erence.
(
d)I
ncr
easei
t.
(
e)Reducecur
rentdr
awnandi
ncr
easebat
ter
yli
fe.
Page103of103
10.(
a)(
i) .
(
ii
) .
(
ii
i)390Ω.
(
iv) .
(
v) .
(
vi)Notsui
tabl
e,i
twi
l
lqui
ckl
ybecomedi
schar
ged.
(
b)(
i) .
(
ii
)Br
ight
nessr
educest
hemor
eLEDst
hatar
eon.
Notsui
tabl
e,shoul
dbet
hesamebr
ight
nessr
egar
dless.
11.Pot
ent
ial
dif
fer
enceacr
osst
het
her
mist
or,
Uni
t2:
Oper
ati
onal
Ampi
fi
ers
1.Ref
ert
osub-
uni
t2.
1.
2.Negat
ivef
eedbacki
ncr
easest
he bandwi
dth(
i.
e.)
,iti
mpr
ovest
he f
requency
r
esponse.
Negat
ivef
eedbackmakest
heci
rcui
tst
abl
eandeasyt
ocont
rol
.
3.Ref
ert
osub-
uni
t2.
4.
4.(
a)(
i)100°
C.
(
ii
)Thet
her
mist
or’
sresi
stancei
sami
nimum att
hist
emper
atur
e.
(
ii
i)Tot
alr
esi
stance=7kΩ+2kΩ=9kΩ
I=V÷R,
(i.
e.)
,9V÷9kΩ=1mA.
Page104of104
(
iv)V0=(
2÷(
7+2)
)×9V=2V.
(
c)(
i)2V.
(
ii
)
5.Choi
ceof20kΩ.
(
a) pot
ent
ial
div
idercal
cul
ati
on: .
(
b)Rat
iooft
het
wor
esi
stor
s:
Lowerr
esi
storR2canbe10kΩandupperr
esi
storR1canbe3.
5kΩ.
(
c)(
i)+9Vorhi
gh.
(
ii
)0Vorl
ow.
6.(
a)Ther
mist
or,
orot
hermeans(
inpot
ent
ial
div
iderci
rcui
t)
.
(
b)Compar
ator
.
(
c)Whent
hei
nver
ti
ngi
nputv
olageV-exceedst
t henon-
inv
ert
ingi
nputv
olageV+,
t
t
he
out
putgoesl
ow.
Whent
henon-
inv
ert
ingi
nputv
olageV+exceedst
t hei
nver
ti
ngi
nputv
olageV-,
t
t
he
out
putgoeshi
gh.
(
d)
Page105of105
7.(
a) .
(
b)
(
c)Gai
n .
8.(
a)(
i)1oruni
ty.
Page106of106
(
ii
)1MΩ.
(
b)(
i)-
1.
(
ii
)Ampl
i
tudex10;
I
nver
ted.
9.(
a)Vol
tagedi
vi
dergi
ves6Vatnon-
inv
ert
ingi
nputofop-
amp
Soi
nver
ti
ngi
nputwi
l
lal
sobeappr
oxi
mat
ely6Vf
ornonsat
urat
edout
put
ofop-
ampbecauseofl
argeopenl
oopv
olt
agegai
nofop-
amp
(
b)Vol
tagegai
n .
10.(
a)and(
b).
(
c)Thet
her
mist
orhasar
esi
stanceof20kΩat20°
C.
2:
1rat
io.
R=10kΩ.
(
d)0V.
11.I
nfi
nit
einputi
mpedance:
Nocur
renti
sdr
awni
ntoei
theroft
hei
nput
I
nfi
nit
eopenl
oopgai
n:Ev
enasl
i
ghtdi
ff
erencei
nthev
olt
ageoft
hei
nput
swi
l
l
causet
he
out
putt
osat
urat
e.
I
nfi
nit
ebandwi
dth:
Itampl
i
fiesal
lfr
equenci
esbyt
hesamemagni
tude.
12.(
a)Resi
stor
sar
einser
ies:
Combi
nedr
esi
stance
Page107of107
(
b)Usi
ngt
hepot
ent
ial
div
iderr
ule:
(
c)Thev
olt
ageatA=v
olt
ageatB=6V.
(
d)
I
fyoumakeRTH t
hesubj
ectoff
ormul
ayouget
: .
(
e)I
tsat
urat
esposi
ti
vel
y.
13.Reducesgai
n.
14.(
a)Usi
ngt
hepot
ent
ial
div
iderr
ule:
…(
i)
Fr
om equat
ion(
i)
(
b)(
i)Vol
tagecompar
ator/
compar
ator
.
Page108of108
(
ii
)Inv
ert
ingi
nput
.
(
c)
Vol
tage of bat
ter
y t
o Vol
tageat Vol
tageatN
bet
est
ed M
Lesst
han6.
3V 0 0
Bet
ween6.
3Vand9.
0V 0 12
Mor
ethan9.
0V 12 12
(
d) (
i)
(
ii
)Tol
i
mitLEDcur
rent
.
(
ii
i)Resi
storv
olt
age=12–2=10V.
(
e)
Page109of109
15.(
a)Vol
tagegai
noft
heampl
i
fier .
(
b)
16.(
a)I
nver
ti
ngampl
i
fier
.
(
b)Feedi
ngaf
ract
ionoft
heout
putt
othei
nver
ti
ng.
c)V+i
( satzer
opot
ent
ial
/connect
edt
othezer
ovol
tli
ne.
V+=V-unl
esst
heop-
ampi
ssat
urat
ed
soV-=0V
Ther
efor
ePi
satzer
opot
ent
ial
(
d)Thecur
rentf
lowi
ngt
hroughRini
sequalt
othecur
rentf
lowi
ngt
hroughRf(
i.
e.)
,
pd
acr
ossRin Rin=pdacr
ossRf Rf.
Si
ncePi
satzer
ovol
ts,
Youcansi
mpl
i
fyt
heabov
eequat
iont
ogett
hegai
noft
hei
nver
ti
ngop-
amp,
.
(
e)(
i)-
1V.
(i
i
)10V.
Page110of110
(
f)Decr
easei
nbandwi
dth,
l
owoper
ati
ngst
abi
l
ity
,and
mor
edi
stor
ti
ons.
17.(
a)
(
b)(
i)ForLED1:
3. V+)i
5V( sgr
eat
ert V-)
han3V( .
L1’
sop-
ampsat
urat
esposi
ti
vel
yto+9V(
posi
ti
veandhi
gh)
,soLEDl
i
ght
s.
ForLED2:
3. V+)i
5V( sLESSt V-)
han4V( .
Out
putofop–ampsat
urat
esnegat
ivel
ysoLEDdoesnotl
i
ght
.
(
ii
)LED1t
urnsof
f.
LED2t
urnson.
(
ii
i)Temper
atur
esensorf
orgr
eenhousesOrTobaccot
reat
ment(
etc.
).
18.(
a)Cor
rect
lyconnect
edi
nput
s,
f
eedbackr
esi
stori
ncor
rectpl
ace,
r
eal
i
sti
cval
uesofR-acceptbet
ween1kΩand1MΩ,
bot
hRst
hesame.
Page111of111
(
b)SeeYi
ndi
agr
am abov
e.
Uni
t3:
Logi
cgat
es
1.(
a)Ref
ert
osub-
uni
t3.
0.
(
b)Ref
ert
osub-
uni
t3.
1.1.
2.Ref
ert
osub-
uni
t3.
1.2.
3.(
a)and(
b)Yousi
mpl
yconnectbot
hinput
sofaNANDgat
eoraNORgat
etoget
her
(
asi
l
lust
rat
edi
nthet
rut
htabl
esbel
ow)sot
hatt
heonl
ypossi
blecombi
nat
ionswi
l
l
beC=0andD=0,
orC=1andD=1.
(
a)
C D Q
0 0 1
0 1 1
1 0 1
1 1 0
(
b)
C D Q
0 0 1
0 1 0
1 0 0
1 1 0
Page112of112
4.Ref
ert
osub-
uni
t3.
3.1.
5.Ref
ert
osub-
uni
ts(
a)3.
3.1and(
b)3.
3.2.
6.Ref
ert
osub-
uni
t3.
1.1.
7.(
a)(
i)of
f.
(
ii
)of
f.
(
ii
i)of
f.
(
iv)on.
(
b)ANDgat
ebecauset
heLEDwi
l
lbeoni
fbot
hswi
tch1andswi
tch2ar
eon.Al
l
ot
her
combi
nat
ionsofswi
tch1andswi
tch2causet
heLEDt
obeof
f.
8.TheLEDwi
l
lbeoni
fei
therswi
tch1i
sonorswi
tch2i
son.I
tincl
udest
hest
ate
when
bot
hswi
tchesar
eon.
9.(
a)NORgat
e.
(
b)NANDgat
e.
(
c)Ri
sNOTAorSi
soni
fAi
sof
fandonwhenAi
sof
f.
Page113of113
Uni
t4:
Bool
eanal
gebr
aandCombi
nat
ional
logi
c
1.
(
a) .
(
b) .
(
c) .
2. .
3.(
a)
(
b)
(
c)
(
d)Out
puti
sal
ogi
c1whenatl
east2i
nput
sar
eatl
ogi
c1.
4.(
a)Tr
utht
abl
e.
X Y Q
0 0 1 1 0 1 1
Page114of114
1 0 0 1 0 0 0
0 1 1 0 0 0 0
1 1 0 0 1 0 1
(
b)
(
c)EX-
NORf
unct
ion.
5.(
a)
(
b)
(
c)Supposet
het
woi
nput
sar
eAandB.
Page115of115
(
d)
OR
6.(
a)(
i)9V/>4.
5V/hi
ghv
olt
age.
(
ii
)Resi
stori
nser
ieswi
thswi
tchf
rom 0V.
Swi
tchbet
ween9Vandout
put
.
(
b) (
or )
.
.
(
or )
.
(
c)
(
d)ANDt
oNOR,
NOTt
oNOR,
and
r
emov
edoubl
einv
ert
er.
Page116of116
7.(
a)
A B C d E F Q
0 0 1 1 0 0 0
1 0 1 0 1 0 1
0 1 0 1 0 1 1
1 1 0 0 0 0 0
(
b)EX-
ORgat
e.
8.(
a)Ref
ert
osub-
uni
t4.
3.1.
(
b)Ref
ert
osub-
uni
t4.
3.4
9.(
a)
(
b)(
i) .
(
b)(
ii
) .
(
c)Tr
utht
abl
e.
O P R S Q
0 0 1 0 0
0 1 0 0 1
1 0 0 0 1
1 1 0 1 0
(
d)EX-
ORgat
e.
Page117of117
Uni
t5:El
ect
roni
csi
nSoci
etyandI
ndust
ry
1.Ref
ert
osub-
uni
t5.
1.
2.
Lossofempl
oymentespeci
all
yamongstmanualwor
ker
sduet
oaut
omat
ion
andcont
rol
,
Conf
ident
ial
inf
ormat
ionmaybel
eakedbyel
ect
roni
csur
vei
l
lancesy
stems,
Mi
l
itar
yuseofel
ect
roni
csi
ngui
dedweaponsofmassdest
ruct
ion.(
many
ot
her
s).
3.(
a)
(
b)(
i)compar
ator
.
(
ii
)li
ghtsensor
.
(
c)(
i)515–15=500mA.
(
ii
)P=VxI=12x0.
5=6W.
4.(
a)
Page118of118
(
b)(
i)compar
ator
.
(
ii
)temper
atur
esensor
.
5.(
a)
(
b)(
i)t
emper
atur
esensor
(
ii
)compar
ator
.
(
c)(
i)25+450=475mA
(
ii
)12V×475mA
=5.
7W
Page119of119
6.
(a)
(
b)Compar
ator
.
(
c)(
i)
(
ii
)12V.
(
ii
i)0V.
7.
Page120of120
Ref
erences
Azzor
padi
,F.andSt
ewar
t,B.( .Accessi
1995) blePhy
sics.Macmi
l
lanPr
essLi
mit
ed,
London.
Duncan,
T.( .Phy
1985) sics.JohnMur
rayPubl
i
sher
sLi
mit
ed,
London,
UK.
El
ect
roni
csOpt
ionEBookl
et(
Uni
ver
sit
yofCambr
idgeLocal
Exami
nat
ions
Sy
ndicat
e).
Gi
bbs,
K.( .Adv
1990) ancedPhy
sics.Cambr
idgeUni
ver
sit
yPr
ess,
NewYor
k.
Johnson,
K.andHewet
t,S.( .Adv
2000) ancedPhy
sicsf
orYou.Nel
sonThor
nes
Li
mit
ed,
Del
taPl
ace,
UK.
Page121of121
Muncast
er,
R.( .A’
1993) Lev
elPhy
sics.Nel
sonThor
nesLi
mit
ed,
London,
UK.
Nel
kon,
M.andPar
ker
,P.( .Adv
1982) ancedl
evelPhy
sics.Hei
nemannEducat
ional
BooksLi
mit
ed,
London.
ht
tp:
//www.
ee.
sur
rey
.ac.
uk/
Proj
ect
s/Labv
iew/
gat
esf
unc/
ht
tp:
//www.
howst
uff
wor
ks.
com/
digi
tal
-el
ect
roni
cs.
htm
ht
tp:
//www.
en.
wiki
pedi
a.or
g/wi
ki
/Tr
ansucer
ht
tp:
//www.
Oper
ati
onal
Ampl
i
fierBasi
cs,
Op-
ampsTut
ori
al.
htm
Page122of122