• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

Analog IC Tips

Analog IC Design, Products, Tools Layout

  • Products
    • Amplifiers
    • Clocks & Timing
    • Data Converters
    • EMI/RFI
    • Interface & Isolation
    • MEMS & Sensors
  • Applications
    • Audio
    • Automotive/Transportation
    • Industrial
    • IoT
    • Medical
    • Telecommunications
    • Wireless
  • Learn
    • eBooks / Tech Tips
    • FAQs
    • EE Learning Center
    • EE Training Days
    • Tech Toolboxes
    • Webinars & Digital Events
  • Resources
    • Design Guide Library
    • Digital Issues
    • Engineering Diversity & Inclusion
    • LEAP Awards
    • Podcasts
    • White Papers
    • DesignFast
  • Video
    • EE Videos
    • Teardown Videos
  • EE Forums
    • EDABoard.com
    • Electro-Tech-Online.com
  • Engineering Training Days
  • Advertise
  • Subscribe

What is a clock and what are its critical parameters (Part 1)?

March 29, 2017 By Bill Schweber

The “clock” function is a standard part of nearly every electronic system, with very few exceptions. Behind this simple-sounding, commonplace word, there is an array of complexity and subtlety in definition, performance, and design. Clocks are both vital and ubiquitous, so it is worth understanding the different functions they fulfill, they ways they can be implemented, and the factors which must be specified in different applications.

What is meant by a “clock?”

An idealized “clock,” Figure 1, can imply different functions:

  • It can be as basic as a “real time clock” (RTC) which is simply responsible for establishing and possibly displaying the time of day, usually with resolution of a fraction of a second (at most), with timing derived from a relatively low-frequency source under 100 kHz.
  • It can be the clock which paces a processor, ranging in frequency from a few MHz to tens of MHz.
  • It can be a sampling clock which initiates A/D and D/A conversions for a data-sampling function, a wired link, or a wireless RF channel.
  • It can establish the tuning of a synthesized oscillator in digital tuning, which is now the dominant form of channel selection in TVs, cell phones, transmitters and receivers, and data links.
  • A clock may act as the equivalent of a master tuning fork for setting the frequencies of notes (pitches) in electronic musical instruments or the special tones of the landline phone DTMF (dual tone multifrequency) keypad.

For each of these situations, not only are there differences in which parameters are crucial, but also in the performance specifications needed for each one.

How can a clock be implemented?

There are many ways, and the preferred approach depends on the clock function and application. For the low-accuracy clock of a microcontroller in a simple consumer product such as a temperature sensor/display, the clock may use an integral oscillator circuit within the microcontroller with an external resistor/capacitor (RC) network—simple, cheap, and basic.

If the clock function is just for clock in the traditional sense of the word (such as for a desk or a home-appliance readout)t, the AC-power line (50 or 60 Hz) can be used, since it has more than adequate long-term accuracy while its short-term fluctuations (on the order of hundredths of a second) are not visible or critical in this application.

Most system and processor clocks use a quartz crystal, Figure 2, and the piezoelectric effect in an oscillator circuit, a technique which has been used in electronic circuits for almost 100 years (beginning with all-analog circuits). The accuracy and other specifications of the crystal itself can range from mediocre to extraordinarily good, depending on crystal cut, trimming, temperature-compensation considerations, mounting, frequency, and other factors.

What are the ways to build an RTC?

An RTC can be built in hardware or software. For a simple clock in a battery-powered device such as a desktop clock or watch, the crystal is part of a dedicated, hardware-only circuit which divides the crystal clock frequency down and counts resultant pulses. For a variety of historical and practical reasons, the crystal used in these applications is often 32.768 kHz: it is easy to divide this down to a 1-Hz output using a standard 16-bit counter acting as a countdown divider (note that 215 = 32768). The 1-Hz counter output which occurs once every 32,768 pulses is then used to drive the clock display or internal clock timestamp.

Some early systems used a crystal at 3.58 MHz nominal frequency (actually, 3.579545 MHz), since these were widely available at low cost, as they were used in color TVs (before digital TV) to synchronize and extract the color-encoded signal subcarrier riding “on top” of the main TV signal carrier.

In a programmable system, such as a personal computer or controller device, the RTC clock pulses are usually counted by a very short, interrupt-driven subroutine which is invoked once per second, triggered by the 1-Hz pulse-stream output of the counter

What circuitry is needed to use the quartz crystal as a clock source?

It depends on the performance needed and the type of crystal used. Quartz crystals can be used in a wide variety of oscillator topologies such as series resonant and parallel resonant, Figure 3, each of which has many sub-varieties. The electromechanical properties of the crystal must be compatible with the type of oscillator circuit used. As usual, simple circuits provide less consistent performance than more complicated ones, but the “quality” of the crystal itself and its mechanical fixture determines a large part of the ultimate performance.

What are the alternatives to quartz crystals?

In recent years, there has been a dramatic growth in clocks which don’t use a quartz crystal, but instead use a MEMS-based silicon component which mechanically vibrates at the desired frequency. These all-silicon clocks can excellent performance for many applications, and are smaller, more reliable (one IC) and cost-competitive, Figure 4. Further, since they are silicon components, they can be more than just a MEMS device, as they can also incorporate the associated circuitry needed for the oscillator function.

In contrasts, even the best quartz crystal still needs electronics to make use of its piezoelectric properties. Therefore, the bill of materials is longer and the PC-board footprint is larger than for a MEMS device. Also, a MEMS-based oscillator can have on-chip memory and logic, so calibration or correction circuitry which will make it even more accurate than the MEMS-resonator core itself. Nonetheless, quartz-based clocks are most widely used and highest performance clocks available.

Part 2 will look at the parameters which are used to assess clock performance, and how they are matched to different applications.

Reference

“MEMS-based Silicon Oscillators,” https://www.sitime.com/technology/mems-oscillators , SiTime Corp.

 

 

 

 

Filed Under: Analog ICs, Clocks & Timing, FAQ, Featured, Industry Experts, Products Tagged With: basics, FAQ

Primary Sidebar

Featured Contributions

Design a circuit for ultra-low power sensor applications

Active baluns bridge the microwave and digital worlds

Managing design complexity and global collaboration with IP-centric design

PCB design best practices for ECAD/MCAD collaboration

Open RAN networks pass the time

More Featured Contributions

EE TECH TOOLBOX

“ee
Tech Toolbox: Internet of Things
Explore practical strategies for minimizing attack surfaces, managing memory efficiently, and securing firmware. Download now to ensure your IoT implementations remain secure, efficient, and future-ready.

EE LEARNING CENTER

EE Learning Center
“analog
EXPAND YOUR KNOWLEDGE AND STAY CONNECTED
Get the latest info on technologies, tools and strategies for EE professionals.

EE ENGINEERING TRAINING DAYS

engineering

RSS Current EDABoard.com discussions

  • Hard wired security cameras
  • Calculating inductor value for buck converter using XL1509 IC
  • i need an embedded c program that will read a 12 bit memory address from the io pins and output the data to pins from the memory in a 8051 mcontroller
  • Spice model for diode for rectifier simulation
  • Can I Flip Primary Connections on Mini-Circuits TCN1-10+ to Invert Output Polarity?

RSS Current Electro-Tech-Online.com Discussions

  • 12v battery, 18v magic
  • Back to the old BASIC days
  • Need help in repairing a dead motherboard
  • LED circuit for 1/6 scale diorama
  • how to work on pcbs that are thick
“bills

Design Fast

Component Selection Made Simple.

Try it Today
design fast globle

Footer

Analog IC Tips

EE WORLD ONLINE NETWORK

  • 5G Technology World
  • EE World Online
  • Engineers Garage
  • Battery Power Tips
  • Connector Tips
  • DesignFast
  • EDA Board Forums
  • Electro Tech Online Forums
  • EV Engineering
  • Microcontroller Tips
  • Power Electronic Tips
  • Sensor Tips
  • Test and Measurement Tips

ANALOG IC TIPS

  • Subscribe to our newsletter
  • Advertise with us
  • Contact us
  • About us

Copyright © 2025 · WTWH Media LLC and its licensors. All rights reserved.
The material on this site may not be reproduced, distributed, transmitted, cached or otherwise used, except with the prior written permission of WTWH Media.

Privacy Policy