- 2078 Bhadra · 5 marks
24-hour digital clock
Short answer
A 24-hr clock uses a 1 Hz timebase derived from 50 Hz AC via shaping and division by 50. Seconds and minutes each use a mod-60 counter (mod-10 units, mod-6 tens cleared at 6). Hours use a mod-10 units and 2-bit tens counter cleared at 24 by NAND(T1, U2). BCD outputs drive 7447 decoders and 7-segment displays.
Design and describe 24 hr digital clock.
A 24-hour digital clock shows time from 00:00:00 to 23:59:59. It is a chain of counters fed by a 1 Hz time base, with BCD-to-7-segment decoders and displays.
Block diagram
AC 50 Hz -> [Shaper] -> [÷50] -> 1 Hz
|
+------------------------------+
v
[SECONDS ÷60: ÷10 -> ÷6] --> 1 pulse/min
| (2 decoders + 2 displays)
v
[MINUTES ÷60: ÷10 -> ÷6] --> 1 pulse/h
| (2 decoders + 2 displays)
v
[HOURS units ÷10] ---Q3---> [HOURS tens 0-2]
| U3 U2 U1 U0 | T1 T0
| U2 ------+ +---- T1
| v v
| [ NAND ]--o CLR (both)
[7447]+[disp] [7447]+[disp]
Design of each section
- 1 Hz time base: the 50 Hz mains is stepped down and squared by a Schmitt trigger, then divided by 50 (÷10 then ÷5) to give 1 pulse per second.
- Seconds (÷60): mod-10 units counter (0–9) whose clocks a mod-6 tens counter (0–5, cleared at 0110 by NAND of , ). The tens reset gives 1 pulse per minute.
- Minutes (÷60): identical to the seconds section; gives 1 pulse per hour.
- Hours (÷24): a mod-10 units counter (U) and a 2-bit tens counter (T: 0, 1, 2). The units falling at 9 → 0 clocks the tens counter.
- The count must go 23 → 00. Count 24 = tens 10, units 0100.
- Between 20 and 24, and occur together for the first time at 24. So a NAND gate of and drives the active-low CLEAR of both hour counters:
- Thus the hours count 00, 01, …, 09, 10, …, 19, 20, 21, 22, 23, 00.
- Display: each BCD output drives a 7447 BCD-to-7-segment decoder and a common-anode display (six digits: HH:MM:SS).
| Section | Counters | Reset condition |
|---|---|---|
| Seconds | ÷10, ÷6 | tens = 6 (0110) |
| Minutes | ÷10, ÷6 | tens = 6 (0110) |
| Hours | ÷10, ÷3 | hours = 24 () |
✓ Answer checked by Claude Opus 5.5 (high effort)
Related questions
- 12-hour digital clock · Digital Logic, chapter 8
- Seconds section of a digital clock · Digital Logic, chapter 8
- Operation of a digital clock · Digital Logic, chapter 8
- Digital clock with decoders for h, min, s · Digital Logic, chapter 8
- SIPO with 1010 data up to 9th clock · Digital Logic, chapter 7
- 24-hr maximum rainfall for 50-year return period · Engineering Hydrology, chapter 6
- Digital clock state diagram · Object Oriented Analysis and Design, chapter 2
- Analog vs digital multiplexing; 24-channel system · Telecommunications, chapter 3
- Design divider-bias CE amplifier (24 V, 2 mA, beta 90) · Electronics Devices and Circuit, chapter 2