Prof. Dr. Thorsten Jungmann (last updated 2026-11-02)
Relates to DET-05 Codes, code converters and standard components
Task
The cabin of a lift shows the floor on a 7-segment display. In a building with the floors 0 to 7, the controller of the lift delivers the floor as a binary code word with the bits , and , with the weight 4. A code converter turns this code word into the seven segment signals to ; each of them is 1 when its segment lights up. The figure shows which segments form which digit, and the truth table gives the same code as bits.
| Floor | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 |
| 1 | 0 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 0 | 0 |
| 2 | 0 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 1 |
| 3 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 |
| 4 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 1 | 1 |
| 5 | 1 | 0 | 1 | 1 | 0 | 1 | 1 | 0 | 1 | 1 |
| 6 | 1 | 1 | 0 | 1 | 0 | 1 | 1 | 1 | 1 | 1 |
| 7 | 1 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 |
a) Minimize with a Karnaugh map.
b) Minimize with a Karnaugh map.
c) Minimize with a Karnaugh map. Is your result unique?
The other four segments are minimized in the same way, with these results:
d) Which product terms occur in the results of more than one segment? How many AND gates does the code converter need if it shares these terms between its segments, and how many if it does not?
e) Draw the part of the circuit that forms and according to the standard of the International Electrotechnical Commission (IEC), IEC 60617, with shared AND gates.
f) Check your results for floor 5: which segments light up, and does the digit agree with the truth table?
Solution
a)
b)
c) ; not unique: is just as small
d) in more than one segment: , , , and ; 9 AND gates with shared terms, 16 without
e) three inverters; four AND gates for the terms of , two of which uses as well; an OR gate with four inputs for and one with two inputs for
f) the segments a, c, d, f and g light up, the digit 5, as in the truth table
