homework-3-simplify-the-following-expressions-using-boolean-algebra
homework-3-simplify-the-following-expressions-using-boolean-algebra
4-8. Figure shows a diagram for an automobile alarm circuit used to detect certain undesirable
conditions. The three switches are used to indicate the status of the door by the driver’s seat,
the ignition, and the headlights, respectively. Design the logic circuit with these three switches
as inputs so that the alarm will be activated whenever either of the following conditions exists:
D I L A
0 0 0 0
0 0 1 1
0 1 0 1
0 1 1 1
1 0 0 0
1 0 1 1
1 1 0 0
1 1 1 0
Logic Circuit –
4-27. A BCD code is being transmitted to a remote receiver. The bits are A3, A2, A1, and A0,
with A3 as the MSB. The receiver circuitry includes a BCD error detector circuit that examines
the received code to see if it is a legal BCD code (i.e., ≤ 1001). Design this circuit to produce a
HIGH for any error condition.
Truth table –
A3 A2 A1 A0 F
0 0 0 0 0
0 0 0 1 0
0 0 1 0 0
0 0 1 1 0
0 1 0 0 0
0 1 0 1 0
0 1 1 0 0
0 1 1 1 0
1 0 0 0 0
1 0 0 1 0
1 0 1 0 1
1 0 1 1 1
1 1 0 0 1
1 1 0 1 1
1 1 1 0 1
1 1 1 1 1
k-Map –
A3 A2
A1 A0 00 01 11 10
00 0 0 1 0
01 0 0 1 0
11 0 0 1 1
10 0 0 1 1
Logic circuit –
4-29. Four large tanks at a chemical plant contain different liquids being heated. Liquid-level
sensors are being used to detect whenever the level in tank A or tank B rises above a
predetermined level. Temperature sensors in tanks C and D detect when the temperature in
either of these tanks drops below a prescribed temperature limit. Assume that the liquid-level
sensor outputs A and B are LOW when the level is satisfactory and HIGH when the level is too
high. Also, the temperature-sensor outputs C and D are LOW when the temperature is
satisfactory and HIGH when the temperature is too low. Design a logic circuit that will detect
whenever the level in tank A or tank B is too high at the same time that the temperature in
either tank C or tank D is too low.
Given - The level in tank A or tank B is too high at the same time that the temperature in either
tank C or tank D is too low, which means A or B is HIGH and C or D is LOW [X = (A+B)*(C+D)]
Truth table –
A B C D A+B C+D X
0 0 0 0 0 0 0
0 0 0 1 0 1 0
0 0 1 0 0 1 0
0 0 1 1 0 1 0
0 1 0 0 1 0 0
0 1 0 1 1 1 1
0 1 1 0 1 1 1
0 1 1 1 1 1 1
1 0 0 0 1 0 0
1 0 0 1 1 1 1
1 0 1 0 1 1 1
1 0 1 1 1 1 1
1 1 0 0 1 0 0
1 1 0 1 1 1 1
1 1 1 0 1 1 1
1 1 1 1 1 1 1
Logic circuit –
4-47. Figure is a combinational logic circuit that operates an alarm in a car whenever the driver
and/or passenger seats are occupied and the seatbelts are not fastened when the car is started.
The active-HIGH signals DRIV and PASS indicate the presence of the driver and passenger,
respectively, and are taken from pressure-actuated switches in the seats. The signal IGN is
active-HIGH when the ignition switch is on. The signal (BELTD)’ is active-LOW and indicates that
the driver’s seatbelt is unfastened; (BELTP)’ is the corresponding signal for the passenger
seatbelt. The alarm will be activated (LOW) whenever the car is started and either of the front
seats is occupied and its seatbelt is not fastened.
a. Verify that the circuit will function as described.
b. Describe how this alarm system would operate if Z1-2 were internally shorted to
ground.
c. Describe how it would operate if there were an open connection from Z2-6 to Z2-10.
C. If there is an open connection between Z2-6 to Z2-10, then Z2-10 input is always ACTIVE-
HIGH. So, the output of Z2-8 will depend on Z2-9 only. Which means the circuit doesn’t detect
whether the passenger’s seat is occupied or not, if it is occupied it cannot detect whether the
passenger is wearing a seatbelt or not. Hence, the alarm goes ON only for the driver’s seat and
his seatbelt condition only.
Truth table –