100% found this document useful (1 vote)
324 views5 pages

Samparada - BSIT1 Final Project

1) The east-west (E-W) traffic light will be green whenever both lanes C & D are occupied. 2) The E-W light will be green whenever either lane C or D is occupied but lanes A & B are not both occupied. 3) The north-south (N-S) light will be green whenever both lanes A and B are occupied but lanes C and D are not both occupied.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
324 views5 pages

Samparada - BSIT1 Final Project

1) The east-west (E-W) traffic light will be green whenever both lanes C & D are occupied. 2) The E-W light will be green whenever either lane C or D is occupied but lanes A & B are not both occupied. 3) The north-south (N-S) light will be green whenever both lanes A and B are occupied but lanes C and D are not both occupied.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

The figure shows the

intersection of a main
highway with a secondary
access road. Vehicle
Use the following logic:
detection sensor are placed
alongA.lane
C & D (main
The east-west
(E-W)
road) and
lanes
A&
traffic
light will
beB
(accessgreen
road).
Theseboth
sensor
whenever
output LOW
no
lanes C(0)
& Dwhen
are
vehicle occupied.
is present and HIGH
B. The E-W light will be
(1) when a vehicle is
present green whenever
.

either C or D is

occupied but lanes A


& B are not both
occupied.
C. The north-south (NS) light will be green
whenever both lanes
A and B are occupied
but C and D are not both occupied.
D. The N-S light will be green when either A or B is occupied while C and D
are both vacant.
E. The E-W light will be green when no vehicles are present.
Using the sensors output A, B, C and D as inputs design a logic circuit to
control the

A. The east-west
whenever

A
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1

B C C CD
0 D 0 D0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1

C
C
E-W
D0 D
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0

AB

AB
AB
AB

0
0
0

0
0
0

0
0
0

0
0
0

traffic light.

(E-W) traffic light will be green


both lanes C & D are occupied.

Legend: () means not

= ABCD or 0011
AND term = ABCD
SOP = ABCD
Simplify = ABCD

B. The E-W light will be green whenever either C or D is occupied but lanes A & B
are not both occupied.
Legend: () means not

AND
SOP =

001

A
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
AB
AB
AB
AB

CD
B CD
C CD
D E-W
0 0 0
0
0 0 1
1
0 1 0
1
0 1 1
1
1 0 0
0
1 0 1
0
1 1 0
0
1 1 1
0
0 0 0
0
0 0 1
0
0 1 0
0
0 1 1
0
1 0 0
0
1 0 1
0
1 1 0
0
1 1 1
0
0
0
0
0

1
0
0
0

1
0
0
0

CD
= ABD + ABC or 001 + 001
term =ABCD, ABCD, ABCD
ABCD + ABCD + ABCD
Simplify = ABD + ABC or 001 +

1
0
0
0

C. The north-south (N-S) light will be green whenever both lanes A and B are
occupied but C and D are not both occupied.
A
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1

B
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1

C
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1

D
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1

N-S
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0

Legend: () means not

CD CD
AB
0
0
AB
0
0
AB
1
0
AB
0
0

CD
0
0
0
0

CD
0
0
0
0

= ABCD or 1100
AND term = ABCD

SOP = ABCD
Simplify = ABCD or 1100

D. The N-S light will be green when either A or B is occupied while C and D are both
vacant.
Legend: () means not

A
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1

B C C CD
0 D 0 D0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1

C
N-S C
D0 D
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0

AB

AB
AB
AB

1
0
1

0
0
0

0
0
0

0
0
0

ABCD + ABCD or 0100 + 1000


AND term = ABCD, ABCD
SOP = ABCD + ABCD
Simplify = ABCD + ABCD

E. The E-W light will be green when no vehicles are present.


Legend: () means not

A
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
AB
AB
AB
AB

CD
B CD
C CD
D E-W
0 0 0
1
0 0 1
0
0 1 0
0
0 1 1
0
1 0 0
0
1 0 1
0
1 1 0
0
1 1 1
0
0 0 0
0
0 0 1
0
0 1 0
0
0 1 1
0
1 0 0
0
1 0 1
0
1 1 0
0
1 1 1
0
1
0
0
0

0
0
0
0

0
0
0
0

CD

ABCD or 0000
AND term = ABCD
SOP = ABCD
0
0
0
0

Simplify = ABCD or 0000

You might also like