Muhammad Hammad - 163 - 2C2
Muhammad Hammad - 163 - 2C2
The coolant flow is required to be regulated to maintain the temperature of a running engine. A flow
transmitter (FT) is installed on a cooling line to monitor the flow of coolant for this purpose. The input
and output of FT are as shown in Figure 1:
16 (14, 15)
(13, 14)
14 (12, 13)
(11, 12)
12 (9, 11) (10, 11)
(8, 10)
10 (7, 9)
mA)
(in
(6, 8)
8 (5, 7)
6
Current
(3, 5) (4, 5)
(2, 4)
4
2
0
-1 1 3 5 7 9 11 13 15
Flow (in cubic meter)
Figure 1: Input and output of Flow Transmitter
Page 1 of 3
Considering the combinational circuits, do the following in view of the above-mentioned input and output:
a) Compute the truth table for the system
b) Write down the equations
c) Draw the logic diagrams
d) Implement the last output obtained from part (a) with 8 X 1 MUX and external gates
Ans 1: Solution:
Page 2 of 3
Question No. 2 (CLO2, PLO3) 10 Marks
Design a serial subtractor using two eight-bit shift registers. Shift register A holds your registration
number and shift register B holds your friend’s registration number. Perform A+ 2’s complement of B.
Use shift register A for storing both the minuend and difference. List the binary values in shift register A
after each shift.
Ans 2: Solution:
Page 3 of 3
Question No.3 (CLO2, PLO3) 04 Marks
A timing waveform for T flip flop is shown in Figure 2. T-flip flop is enabled by shift control signal
which is synchronized with the clock and changes values just after the positive edge of the clk. The present
state of the flip-flop is also shown in Figure 2. Show the timing wave form of the next state and also draw
a block diagram of the sequential circuit.
Page 4 of 3
Ans 3 : Solution:
Page 5 of 3
Question No. 4 (CLO3, PLO3) (7+5+5+5) Marks
Page 6 of 3
In view of the above-mentioned logic:
a. List the state table
Solution:
Page 7 of 3
b. Drive the state equations
Solution:
Page 8 of 3
c. Draw logic diagram
Solution:
Page 9 of 3