April 2000
LD201 : LOGIC DESIGN

QUESTION 3

Total Marks: 15 Marks

Click here to access other questions

SUGGESTED SOLUTIONS
Solutions and allocated marks are indicated in green.
Return to
Question 3

A beer-bottling factory contains a production line for putting caps on bottles. The production line consists of a bottle-capper and three bottle fillers, you have to design a warning system to indicate whether the bottle-capper is being overloaded by the bottle-fillers.

The bottle-capper C has two different operation states: normal, in which it can handle 60 bottles per minute, and super, in which it can handle 75 bottles per minute. The bottle-capper is fed from three bottle-fillers F1, F2, F3, which fill 50,30 and 20 bottles per minute respectively. The factory operates on a 24-hour basis, so at any one time at least one bottle-filler is in operation. The warning device W should light up when the output of the bottle-fillers exceeds the capacity of the bottle-capper.

(a) Draw a truth table describing the behavior of W in terms of C, F1, F2, F3. For C, use ‘1’ to mean the bottle-capper is running in super mode, ‘0’ for normal mode. [3 marks]

Truth table:

C

0

0

0

0

0

0

0

0

1

1

1

1

1

1

1

1

F1

0

0

0

0

1

1

1

1

0

0

0

0

1

1

1

1

F2

0

0

1

1

0

0

1

1

0

0

1

1

0

0

1

1

F3

0

1

0

1

0

1

0

1

0

1

0

1

0

1

0

1

W

´

0

0

0

0

1

1

1

´

0

0

0

0

0

1

1

Here, a ‘1’ for C means that the bottle-capper is running in super mode, a ‘1’ for an F1 means that the bottle-filler is in operation, and a ‘1’ for W means that the warning light should be lit; ´ denotes ‘don’t care’, as that situation cannot happen. (1 mark for layout of the table, including a key explaining the interpretations of the ‘1’s. 2 marks for correct entries in the last row; 1 mark if there is a single mistake and no marks if there is more than one mistake.) [3 marks]

(b) Give an unsimplified sum-of-products expression for when W should light up. [2 marks]
Unsimplified SOP expression for W:

C’F12F3 + C’F1F23 + C’F1F2F3 + CF1F23 + CF1F2F3

(2 marks for a correct answer; 1 mark if at most one term is wrong; no marks otherwise.) [2 marks]

 

(c) Draw a Karnaugh map for this expression, and hence derive simplified sum-of-products and product-of-sum forms of the expression. [4 marks]
The Karnaugh map is

 

The 1s are grouped with dashes and the 0s with dots – note that one grouping wraps around (1 mark for correct grouping of 1s, 1 mark for 0s), so the SOP form is

C’F1F3 + F1F2 (1 mark) and the POS form is F1(F2 + F3)( C’ + F2) (1 mark) [4 marks]

 

(d) Using the laws of boolean algebra, show that these two expressions are logically equivalent. Identify the laws used. [3 marks]
Equivalence of SOP and POS:

F1(F2 + F3)(C’ + F2)

= distribute product over sum, twice

C’ F1 F2 + F1 F2F2 + F1 F3 + F1 F2 F3

= idempotence of conjunction

F1 F2 + F1 F2 + F1 F3 + F1 F2 F3

= distribute product over sum

F1 F2 (C’ + 1 + F3) + F1 F3

= dominance

F1 F2 + F1 F3

 

(2 marks for a completely correct calculation, or failing complete corrections, 1 mark for at least two correct steps. Final 1 mark for a reasonable attempt at identifying the laws used.) [3 marks]

 

(e) Draw a circuit showing an implemention of the simplified sum-of-product expression, using AND, OR and NOT gates. [3 marks]
Circuit for SOP expression:

 

(1 mark for correct AND layer, 1 mark for correct OR layer, 1 mark for labeling and clarity.) [3 marks]