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.

A 7-segment display with the segments a to g, next to the digits 0 to 7 with their lit segments highlighted
A 7-segment display with the segments a to g, next to the digits 0 to 7 with their lit segments highlighted

Floor
00001111110
10010110000
20101101101
30111111001
41000110011
51011011011
61101011111
71111110000

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?