Misplaced Pages

Real-time clock: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 10:24, 9 October 2012 edit164.164.96.190 (talk) PurposeTag: section blanking← Previous edit Revision as of 10:24, 9 October 2012 edit undoVrenator (talk | contribs)Extended confirmed users, Pending changes reviewers, Rollbackers62,813 editsm Reverted edits by 164.164.96.190 (talk) unexplained removal of content (HG)Next edit →
Line 4: Line 4:
==Terminology== ==Terminology==
The term is used to avoid confusion with ordinary ] which are only ] that govern ], and do not count time in human units. RTC should not be confused with ], which shares its ], but does not directly relate to time of day. The term is used to avoid confusion with ordinary ] which are only ] that govern ], and do not count time in human units. RTC should not be confused with ], which shares its ], but does not directly relate to time of day.

==Purpose==
Although keeping time can be done without an RTC,<ref>{{cite web
| first =Jaakko
| last =Ala-Paavola
| coauthors =
| title = Software interrupt based real time clock source code project for PIC microcontroller
| date = 2000-01-16
| accessdate = 2007-08-23
| url = http://users.tkk.fi/~jalapaav/Electronics/Pic/Clock/index.html}}</ref> using one has benefits:
* Low power consumption <ref>{{Citation
| title = Enabling Timekeeping Function and Prolonging Battery Life in Low Power Systems
| publisher = NXP Semiconductors
| year =2011
| url =http://www.digikey.com/us/en/techzone/microcontroller/resources/articles/enabling-timekeeping-function.html}}</ref> (important when running from alternate power)
* Frees the main system for time-critical tasks
* Sometimes more accurate than other methods

A ] 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.<ref>{{Patent|US|5893044|Real time clock apparatus for fast acquisition or GPS signals}}</ref> If it has been less than a few hours, then the previous ] is still usable.


==Power source== ==Power source==

Revision as of 10:24, 9 October 2012

Dallas semiconductor realtime 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

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.

Purpose

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

  • Low power consumption (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. 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, because they are rechargeable and can be soldered. The alternate power source can also supply power to battery backed RAM.

Timing

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

Examples

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 Semiconductor, Texas Instruments and STMicroelectronics. The RTC was introduced to PC compatibles by the IBM PC/AT in 1984, which used a MC146818 RTC. Later Dallas Semiconductor made compatible RTCs, which was 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.

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

See also

References

  1. Ala-Paavola, Jaakko (2000-01-16). "Software interrupt based real time clock source code project for PIC microcontroller". Retrieved 2007-08-23. {{cite web}}: Cite has empty unknown parameter: |coauthors= (help)
  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. ^ Application Note 10337, ST Microelectronics, 2004, p. 2
  7. Application Note U-502, Texas Instruments, 2004, p. 13
  8. Application Note 1994, Maxim/Dallas Semiconductor, 2003
  9. "ULi M1573 Southbridge Specifications". AMDboard.com. Retrieved 2007-08-23.
Categories: