What is the Significance of 32.768 kHz Crystals in Timekeeping?

  • Thread starter Thread starter wil3
  • Start date Start date
  • Tags Tags
    Computers Time
AI Thread Summary
Computers track time using internal oscillators that produce a steady frequency signal, allowing them to measure time intervals accurately. These oscillators, often based on quartz crystals, provide a reliable timekeeping mechanism despite variations in power and resistance. For example, early PCs utilized a 4.77272 MHz crystal, which was divided down to generate a 1.19318 MHz signal for various functions, including DRAM refresh rates. Modern systems have integrated these functions into chipsets, with operating systems like Windows XP using a default ticker rate of 64 Hz. The 32.768 kHz crystal is particularly favored for real-time clocks (RTCs) because it allows for precise counting, as it represents 2^15 ticks per second, making it efficient for digital timekeeping. Temperature compensation is often employed to maintain accuracy in different conditions.
wil3
Messages
177
Reaction score
1
Is there some process by which a computer is able to keep track of time in a linear order? Ie, how can a computer determine when a fixed time increment of arbitrary length has passed?

Please don't dismiss this until you've at least thought about it a little bit. Is there a specific fixed frequency signal that serves as the basis of unit time for a computer? I was thinking it had something to do with the 60 hz signal, but that seems to irregular to give the machine a definite time interval.

This question can be generalized to digital systems of timekeeping in general. Given varying power and resistance in different conditions, what allows constant, steady timekeeping?
 
Computer science news on Phys.org
Computers have internal, reliable 'oscillators' which have a known period; thus keeping track of the number of oscillations yields the time interval.
 
Okay, that's what I was curious about: what sort of oscillator keeps time that accurately? An LC seems like it would have a little bit of R, and so the system would lose energy. Is the "oscillator" just a very high quality LC, such that time loss is negligible?
 
Digital clocks commonly use oscillations of http://en.wikipedia.org/wiki/Quartz_clock" .
 
Last edited by a moderator:
The original PC used a crystal with a frequency of 4.77272 mhz. It included an 8254 that divided this frequency by 4 so that it's channel 0 ran at 1.19318 mhz or 838.0965 nsecs / cycle. This was used to drive the dram refresh rate and also was divided by 65536 to produce the 54.9255 ms ticker, about 18.2 ticks per second in DOS mode. There was also a real time clock in a PC that ran off a battery or capicator to keep track of time when the computer is turned off.

http://www.beaglesoft.com/mainfaqclock.htm

Modern computers have this logic integrated and/or emulated in their chip sets. Windows XP defaults to a 64hz ticker rate insetad of the classic 18.2 hz ticker. I'm not sure about Vista or Windows 7. There are also other clock sources on a modern PC.
 
Last edited:
If you have a digital alarm clock, the heart of it is probably also a Real Time Clock (RTC, though some are fancier than others). Because the 50/60 Hz is so exacting, many older (alarm) clocks that ran off of AC power actually did use that as their time base (sometimes with, and sometimes without a switch to adjust between the two modes).

32.768 kHz crystals are very popular for time-keeping applications (and many RTCs are designed to use them). Why 32.768 kHz? If you're keeping track of 'ticks' (i.e. the oscillations), there's exactly 2^15 of them in one second, or, in binary 0b1000000000000000 (hexadecimal 0x8000). Assuming you're using it at the proper temperature, or that the crystal is temperature compensated (many are temperature sensitive).
 
Thread 'Urgent: Physically repair - or bypass - power button on Asus laptop'
Asus Vivobook S14 flip. The power button is wrecked. Unable to turn it on AT ALL. We can get into how and why it got wrecked later, but suffice to say a kitchen knife was involved: These buttons do want to NOT come off, not like other lappies, where they can snap in and out. And they sure don't go back on. So, in the absence of a longer-term solution that might involve a replacement, is there any way I can activate the power button, like with a paperclip or wire or something? It looks...
I came across a video regarding the use of AI/ML to work through complex datasets to determine complicated protein structures. It is a promising and beneficial use of AI/ML. AlphaFold - The Most Useful Thing AI Has Ever Done https://www.ebi.ac.uk/training/online/courses/alphafold/an-introductory-guide-to-its-strengths-and-limitations/what-is-alphafold/ https://en.wikipedia.org/wiki/AlphaFold https://deepmind.google/about/ Edit/update: The AlphaFold article in Nature John Jumper...

Similar threads

Replies
13
Views
3K
3
Replies
105
Views
14K
Replies
125
Views
19K
Replies
8
Views
5K
Replies
7
Views
3K
Replies
9
Views
4K
Back
Top