How a clock generator works, Quartz crystal



Electrical/electronic circuit

Release date:2024/8/29         

 ・In Japanese
Prerequisites
 ・NOT Circuit


■What is a Clock Generator

A clock generator is a circuit that allows a CPU to generate a clock signal. The clock frequency is the frequency at which this clock signal is generated, and the higher the clock frequency, the faster the calculations that can be performed. A clock generator is broadly divided into the following two circuits.

■NOT Circuit

A NOT circuit is a logic circuit that outputs 1 when 0 is input, and outputs 0 when 1 is input, as shown below.



Taking advantage of this characteristic, connect the output of a NOT circuit to A as shown below. Then, the output of the NOT circuit will repeat 0 and 1. This is the basic mechanism of a clock generator. (In the field of programming, if you want to output 0 and 1 alternately, you use the "not function.")


■Quartz crystal

A NOT circuit alone cannot adequately control the clock frequency. That's where a quartz crystal oscillator comes in. A quartz crystal oscillator is an element that uses the piezoelectric effect to generate voltage oscillations. When alternating low and high voltages are applied to a thin-film quartz crystal, it vibrates, generating voltage oscillations. The desired clock frequency can also be achieved by changing the thickness of the quartz crystal film. Below is a simplified diagram of a clock generator that combines a NOT circuit and a quartz crystal oscillator.



The actual circuit diagram is as follows:










List of related articles



Electrical/electronic circuit