Assignment
Assignment
ASSIGNMENT/CAT II
DUE DATE: 16/11/2017
Figure 1
1. Figure 1 above represents the intersection of a main highway with a secondary access road.
Vehicle detection sensor are placed along lanes C & D (main road) and lanes A & B (access
road). These sensor outputs are LOW when no vehicle is present and at least one sensor output is
High when a vehicle is present. So Write down the logics of controlling the intersection traffic
light that no accident will occur. Then using the sensor outputs design a logic circuit to control
the traffic light. The intersection traffic light is to be controlled according to the following logic.
a) The east-west (E-W) traffic light will be green whenever both lanes C and D are occupied.
b) The E-W light will be green whenever either C or D is occupied but lanes A and B are not both
occupied.
c) The north-south (N-S) light will be green whenever both lanes A and B are both occupied but C
and D are not both occupied.
d) The N-S light will also 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 sensor outputs A, B, C, and D as inputs, design a logic circuit to control the traffic
light. There should be two outputs N/S and E/W, which go HIGH when the corresponding light is
to be green. Simplify the circuit as much as possible and show all steps.
2. A car alarm circuit has three inputs which detect the following conditions:
i) Whether the door is CLOSED (0) or OPEN (1);
ii) Whether the ignition is turned ON or OFF
iii) Whether the headlights are ON or OFF
Design a logic circuit which uses these three inputs and sounds the alarm if either:
a) The headlights are ON while the ignition is OFF; or
b) The door is OPEN when the ignition is ON