What's a Clock? © 2003 by Charles C. Lin. All rights reserved.
Background
- When you buy a computer, one of the first things you probably look for is the speed of the computer. These days, it's not unusual to here rates as fast as 3 GHz. But what is 3 Ghz referring to? This is referring to the clock rate. The clock on a computer is not the same as the clock on the wall, which is used to tell time. A computer clock is more like a metronome, which keeps the beat for musicians to play music.
A Plot of a Clock
- One way to understand a clock is to look at a plot of its behavior.
A More Realistic Clock
- A clock can't really instantaneously go from 0 to 1 and back to 0. A more realistic diagram looks like:
Features of a Clock
- period This is the time it takes for a clock signal to repeat. Its unit of measurement is seconds. The symbol for the period is T.
- frequency Frequency is 1/T. The unit of measurement is s-1, which is inverse seconds. This is also sometimes called Hertz (abbreviated Hz). Sometimes people say "cycles per second" instead of Hz or s-1. They all mean the same. When people refer to the "speed" of a CPU, they are usually talking about the clock frequency.
- positive edge When the signal transitions from 0 to 1. It's circled above.
- negative edge When the signal transitions from 1 to 0. It's circled above.
Is It Always 50-50?
- In the clock diagrams above, the amount of time the clock is at 1 appears to be T/2 (i.e., half the period). The amount of time the clock is at 0 also appears to be T/2. (There is a little time when it transitions from 0 to 1 or from 1 to 0, but let's assume this is a fairly small fraction of T). Must a clock always do this? The answer is no. We could have a clock where it stays 1 for 3T/4 (three quarters of a period) and 0 for T/4 (one quarter of a period), or any fraction x and T - x where x < T. If you're only using the positive edge, then it doesn't matter how long the signal stays at 1 or 0, since you only use the edge. However, if you want to use both positive and negative edges, then you're going to have to consider when you want the edges to occur.
A Simple Exercise
- In order to get a feel for how a clock signal behaves, put your finger at the beginning of the clock signal in the diagram above. At this point, the signal should have a value of 0. Begin to move your finger to the right, but trace out the signal. Your finger should move from 0 to 1, and back again. If you happen to trace over the positive edge once a second, and you're steadily moving to the right (not going faster or slower) then the period is 1 second, and the frequency is 1 Hz. Tracing the signal with your hand gives you a better "feel" for how a continuous signal behaves. Usually, computer science majors have a more difficult time with this (unless you really like calculus or are in engineering) because we deal with quantities that are discrete, rather than continuous. At any point in time, someone can ask you the current value of the signal. If we use the "pipe" analogy, we can think of this signal alternating between pumping red soda (for 0) and green soda (for 1).
What's a Clock Used For?
- We use a clock to synchronize the events of a CPU. Devices in a CPU can be categorized as sequential circuits or combinational circuits. Sequential logic devices use a clock. Basically, sequential logic devices can only change outputs once a period, usually during a positive or a negative edge. We'll assume that a sequential device can only change outputs on positive clock edges. To give you an analogy, imagine a music conductor tapping a beat with a baton (a stick) at regular intervals. Suppose you are playing a piano, and you're told to play a new note each time he taps his baton. Thus, how fast the conductor taps the baton controls how often you play notes. Similarly, the rate at which the positive clock edge appears controls how fast a sequential logic device can change outputs. It turns out that by using a clock, we can design a CPU more easily than if we don't use a clock. This is primary reason to use a clock.
Can't We Make It Faster?
- If a CPU will run faster with a faster clock, then why not run it faster? The problem is that it takes time for signals to move around in a circuit. You can reduce this time in several ways. The main way is simply to make the circuit smaller. When the circuit is smaller, signals have less distance to travel, and therefore everything can happen more quickly.
Simple inference of time dilation due to relative velocity[edit]
Time dilation can be inferred from the observed fact of the constancy of the speed of light in all reference frames.[5][6][7][8]This constancy of the speed of light means, counter to intuition, that speeds of material objects and light are not additive. It is not possible to make the speed of light appear greater by approaching at speed towards the material source that is emitting light. It is not possible to make the speed of light appear less by receding from the source at speed. From one point of view, it is the implications of this unexpected constancy that take away from constancies expected elsewhere.
Consider a simple clock consisting of two mirrors A and B, between which a light pulse is bouncing. The separation of the mirrors is L and the clock ticks once each time the light pulse hits a given mirror.
In the frame where the clock is at rest (diagram at right), the light pulse traces out a path of length 2L and the period of the clock is 2L divided by the speed of light
The total time for the light pulse to trace its path is given by
NOVA | The Theory Behind the Equation - PBS
www.pbs.org/wgbh/nova/physics/theory-behind-equation.html
PBS
Loading...
Challenging Einstein - USA Today
www.usatoday.com/tech/science/story/2011-09-22/.../1
USA Today
Loading...
Borrowed Time: Interview with Michio Kaku - Scientific ...
www.scientificamerican.com › ... › Features
Scientific American
Loading...
Essay—The Theory of One Revisited by Bek
www.philosophymagazine.com/T1_thetheoryonerevisited.html
Visual Language for Designers: Principles for Creating ...
books.google.com/books?isbn=1592537413
Connie Malamed - 2011 - Design
An explanation of Einstein's theory of special relativity for Discover magazine is ... segments so one concept can build on the next Nigel Holmes with Michio Kaku, United ... But the seed of relativity was planted when Einstein was only 16 years old, ... that the speed of light was always constant, no matter how fast you moved.M-Theory: The Mother of all SuperStrings - Michio Kaku
mkaku.org/home/.../m-theory-the-mother-of-all-superstring...
Michio Kaku
Loading...
Dr. Michio Kaku: "The Noose Around Relativity is Tightening ...
www.democraticunderground.com/.../duboard....
Democratic Underground
Loading...
Dec 6, 2011 - 15 posts - 11 authors
OK, don't take my word for anything; this is from Dr. Michio Kaku at Bigthink.com: ... Now, they have done the experiment again, with a beam spread out over 3 ... person will never understand why he should believe opinions only because ... one usually learns when working with special relativity - mainly the ...Beyond Einstein: The Cosmic Quest for the Theory of the ...
myweb.rollins.edu/jsiry/Kaku_Beyond.html
Hyperspace: A Scientific Odyssey through Parallel ...
books.google.com/books?isbn=0191594067
Michio Kaku - 1995 - Science
Michio Kaku ... light, She traveled one day, In a relative way, And returned on the previous night. ... General relativity has much wider validity than special relativity. While special relativity describes only objects moving at constant velocity far ...
No comments:
Post a Comment