Electronic CEP Report
Electronic CEP Report
Modern Electronics
Submitted To
However to display the characters and numbers (in order to produce the decimal
readout), seven-segment displays are most commonly used. Mostly these
displays are driven by the output stages of digital ICs (to which the visual
indication of the output stages has to be performed) such as latches and decade
counters, etc.
But these outputs are in the form of 4-bit binary coded decimal (BCD), and not
suitable for directly driving the seven-segment displays.
The basic idea involves driving a common cathode 7-segment LED display
using combinational logic circuit. The logic circuit is designed with 4 inputs
and 7 outputs, each representing an input to the display IC. Using Karnough’s
map, logic circuitry for each input to the display is designed.
To understand the design and operation of these logic circuits, one needs to
have a good knowledge about Boolean algebra and logic gates. For example
few basic Boolean algebra rules to be followed are the complementary law,
associative law, De-Morgan’s law etc.
Step 2: The second step involves constructing the truth table listing the 7
display input signals, decimal number and corresponding 4 digit binary
numbers.
The truth table for the decoder design depends on the type of 7-segment display.
As we mentioned above that for a common cathode seven-segment display, the
output of decoder or segment driver must be active high in order to glow the
segment.
The figure below shows the truth table of a BCD to seven-segment decoder with
common cathode display. In the truth table , there are 7 different output
columns corresponding to each of the 7 segments.
Suppose the column for segment a shows the different combinations for which
it is to be illuminated. So ‘a’ is active for the digits 0, 2, 3, 5, 6, 7, 8 and 9.
From the above truth table, the Boolean expressions of each output functions
can be written as
a = F1 (A, B, C, D) = ∑m (0, 2, 3, 5, 7, 8, 9)
b = F2 (A, B, C, D) = ∑m (0, 1, 2, 3, 4, 7, 8, 9)
c = F3 (A, B, C, D) = ∑m (0, 1, 3, 4, 5, 6, 7, 8, 9)
d = F4 (A, B, C, D) = ∑m (0, 2, 3, 5, 6, 8)
e = F5 (A, B, C, D) = ∑m (0, 2, 6, 8)
f = F6 (A, B, C, D) = ∑m (0, 4, 5, 6, 8, 9)
g = F7 (A, B, C, D) = ∑m (2, 3, 4, 5, 6, 8, 9)
Step 3: The third step involves constructing the Karnough’s map for each
output term and then simplifying them to obtain a logic combination of inputs
for each output.
K-Map Simplification:
The below figures shows the k-map simplification for the common cathode
seven-segment decoder in order to design the combinational circuit.
From the above simplification, we get the output values as the following
expressions:
Step 4: The final step involves drawing a combinational logic circuit for each
output signal. Once the task was accomplished, a combinational logic circuit
can be drawn using 4 inputs (A,B,C,D)and a 7- segment display (a,b,c,d,e,f,g)
as output.
This circuit can be modified using timers and counters to display the
number of clock pulses.
This circuit can be modified to develop an alphabet display system
instead of a decimal number display system.
It can be used as a timer circuit.