World Library  
Flag as Inappropriate
Email this Article

Real-time clock

Article Id: WHEBN0000535191
Reproduction Date:

Title: Real-time clock  
Author: World Heritage Encyclopedia
Language: English
Subject: Amiga 500, Nonvolatile BIOS memory, Apple II system clocks, 64DD, List of Super NES enhancement chips
Collection: Clocks, Computer Real-Time Clocks, Integrated Circuits
Publisher: World Heritage Encyclopedia

Real-time clock

Dallas Semiconductor real-time clock from an older PC. This version also contains a battery backed SRAM.

A real-time clock (RTC) is a computer clock (most often in the form of an integrated circuit) that keeps track of the current time. Although the term often refers to the devices in personal computers, servers and embedded systems, RTCs are present in almost any electronic device which needs to keep accurate time.


  • Terminology 1
  • Purpose 2
  • Power source 3
  • Timing 4
  • Examples 5
  • See also 6
  • References 7
  • External links 8


The term is used to avoid confusion with ordinary hardware clocks which are only signals that govern digital electronics, and do not count time in human units. RTC should not be confused with real-time computing, which shares its three-letter acronym but does not directly relate to time of day.


Although keeping time can be done without an RTC,[1] using one has benefits:

  • Low power consumption[2] (important when running from alternate power)
  • Frees the main system for time-critical tasks
  • Sometimes more accurate than other methods

A GPS receiver can shorten its startup time by comparing the current time, according to its RTC, with the time at which it last had a valid signal.[3] If it has been less than a few hours, then the previous ephemeris is still usable.

Power source

RTCs often have an alternate source of power, so they can continue to keep time while the primary source of power is off or unavailable. This alternate source of power is normally a lithium battery in older systems, but some newer systems use a supercapacitor,[4][5] because they are rechargeable and can be soldered. The alternate power source can also supply power to battery backed RAM.[6]


Most RTCs use a crystal oscillator,[7][8] but some use the power line frequency.[9] In many cases, the oscillator's frequency is 32.768 kHz.[7] This is the same frequency used in quartz clocks and watches, and for the same reasons, namely that the frequency is exactly 215 cycles per second, which is a convenient rate to use with simple binary counter circuits.


This chip, labeled ODIN, is a generic equivalent to a particular Dallas RTC.

Many integrated circuit manufacturers make RTCs, including Epson, Intersil, IDT, Maxim, NXP Semiconductors, Texas Instruments and STMicroelectronics. The RTC was introduced to PC compatibles by the IBM PC/AT in 1984, which used a Motorola MC146818 RTC. Later, Dallas Semiconductor made compatible RTCs, which were often used in older personal computers, and are easily found on motherboards because of their distinctive black battery cap and silkscreened logo. In newer systems, the RTC is integrated into the southbridge chip.[10]

Some microcontrollers have a real-time clock built in, generally only the ones with many other features and peripherals.

See also


  1. ^ Ala-Paavola, Jaakko (2000-01-16). "Software interrupt based real time clock source code project for PIC microcontroller". Retrieved 2007-08-23. 
  2. ^ Enabling Timekeeping Function and Prolonging Battery Life in Low Power Systems, NXP Semiconductors, 2011 
  3. ^ US 5893044  Real time clock apparatus for fast acquisition or GPS signals
  4. ^ New PCF2123 Real Time Clock Sets New Record in Power Efficiency, futurlec 
  5. ^ Application Note 3816, Maxim/Dallas Semiconductor, 2006 
  6. ^ Torres, Gabriel (24 November 2004). "Introduction and Lithium Battery". Replacing the Motherboard Battery. Retrieved June 20, 2013. 
  7. ^ a b Application Note 10337 (PDF), ST Microelectronics, 2004, p. 2 
  8. ^ Application Note U-502, Texas Instruments, 2004, p. 13 
  9. ^ Application Note 1994, Maxim/Dallas Semiconductor, 2003 
  10. ^ "ULi M1573 Southbridge Specifications". Retrieved 2007-08-23. 

External links

  • Media related to at Wikimedia Commons
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.