{"id":871,"date":"2022-08-22T18:27:16","date_gmt":"2022-08-22T18:27:16","guid":{"rendered":"https:\/\/geekblog.febo.com\/?p=871"},"modified":"2025-07-24T19:29:58","modified_gmt":"2025-07-24T19:29:58","slug":"gps-disciplined-oscillatorsthe-time-nuts-friend-1","status":"publish","type":"post","link":"https:\/\/blog.febo.com\/?p=871","title":{"rendered":"Oscillators, GPS, and GPSDOs (Part 1)"},"content":{"rendered":"<h4>Introduction<\/h4>\n\n\n<p>A lot of my recent time and frequency measurement work has been related to GPSDOs &#8212; GPS Disciplined Oscillators.<span class=\"footnote_referrer\"><a role=\"button\" tabindex=\"0\" onclick=\"footnote_moveToReference_871_1('footnote_plugin_reference_871_1_1');\" onkeypress=\"footnote_moveToReference_871_1('footnote_plugin_reference_871_1_1');\" ><sup id=\"footnote_plugin_tooltip_871_1_1\" class=\"footnote_plugin_tooltip_text\">[1]<\/sup><\/a><span id=\"footnote_plugin_tooltip_text_871_1_1\" class=\"footnote_tooltip\">There are now multiple GNSS (Global Navigation Satellite System) systems so saying &#8220;GPS&#8221; is a bit US-centric. But at least for now, virtually all GNSSDOs use GPS.<\/span><\/span><script type=\"text\/javascript\"> jQuery('#footnote_plugin_tooltip_871_1_1').tooltip({ tip: '#footnote_plugin_tooltip_text_871_1_1', tipClass: 'footnote_tooltip', effect: 'fade', predelay: 0, fadeInSpeed: 200, delay: 400, fadeOutSpeed: 200, position: 'top center', relative: true, offset: [-7, 0], });<\/script>&nbsp; Most hams and experimenters know what GPSDOs are, because they have become ubiquitous as frequency references in shacks and labs, but perhaps you&#8217;re not aware of what&#8217;s under the hood.<\/p>\n\n\n\n<p>I hope this series will change that. We&#8217;ll start with understanding the strengths and weaknesses of crystal oscillators, then in <a href=\"https:\/\/blog.febo.com\/?p=915\">part 2<\/a> see how GPS can be used as a frequency standard. In <a href=\"https:\/\/blog.febo.com\/?p=891\">part 3<\/a>, I&#8217;ll compare XO and GPS performance. Finally, <a href=\"https:\/\/blog.febo.com\/?p=979\">part 4<\/a> will put it all together to show how a GPSDO works.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Crystal Oscillators<\/h3>\n\n\n\n<p>In this first part, I&#8217;ll describe the strengths and weaknesses of crystal oscillators as frequency and time standards. Later parts will talk about how GPS can be used as a time and frequency reference, and then we&#8217;ll see how crystals and GPS can work together to create a GPSDO.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Crystal Oscillators<\/h3>\n\n\n\n<p>Quartz crystal oscillators (<strong>XO<\/strong>s) have been used since the 1920s to generate (relatively) precise and (relatively) stable RF frequencies, and for decades were the best frequency standards available, period. As atomic frequency standards were developed they took over the championship, quartz oscillators continue to be widely used.<\/p>\n\n\n\n<p>Crystal oscillators come in many flavors: there are plain old XOs, temperature compensated XOs (<strong>TCXO<\/strong>s), oven controlled XOs (<strong>OCXO<\/strong>s) and even double-oven oscillators (&#8220;<strong>DOXCO<\/strong>s). Their size, power consumption, and cost can vary widely depending on their performance.<\/p>\n\n\n\n<p>While XOs were a huge step forward in frequency stability, they bring with them a few problems.<\/p>\n\n\n\n<p>The first is that they <strong>require calibration<\/strong>. The physical dimensions of the piece of quartz, the type of oscillator circuit, and environmental factors all affect the oscillation frequency, and calculation can only get you so close to the desired value. So, crystal oscillators initially need to be set to frequency by measuring them against a known-correct reference.<\/p>\n\n\n\n<p>Next, <strong>temperature<\/strong> is an important part of the equation. Because the oscillation frequency of a quartz crystal depends on its physical dimensions, and all materials change size with temperature, temperature changes will directly affect the output frequency. In fact, Hewlett-Packard used to make a couple of high-precision thermometers that used quartz crystals as sensors.<span class=\"footnote_referrer\"><a role=\"button\" tabindex=\"0\" onclick=\"footnote_moveToReference_871_1('footnote_plugin_reference_871_1_2');\" onkeypress=\"footnote_moveToReference_871_1('footnote_plugin_reference_871_1_2');\" ><sup id=\"footnote_plugin_tooltip_871_1_2\" class=\"footnote_plugin_tooltip_text\">[2]<\/sup><\/a><span id=\"footnote_plugin_tooltip_text_871_1_2\" class=\"footnote_tooltip\">Humidity, barometric pressure, and acceleration also affect the frequency.<\/span><\/span><script type=\"text\/javascript\"> jQuery('#footnote_plugin_tooltip_871_1_2').tooltip({ tip: '#footnote_plugin_tooltip_text_871_1_2', tipClass: 'footnote_tooltip', effect: 'fade', predelay: 0, fadeInSpeed: 200, delay: 400, fadeOutSpeed: 200, position: 'top center', relative: true, offset: [-7, 0], });<\/script> The best OCXOs have ovens that maintain the crystal and associated components to within 0.001 degree C, but even they will be affected by external temperature changes. Below is a plot of how a TCXO &#8216;s frequency tracks changes in room temperature.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"750\" height=\"550\" src=\"http:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/excalibur-tempco-room_tmp.png\" alt=\"\" class=\"wp-image-917\" srcset=\"https:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/excalibur-tempco-room_tmp.png 750w, https:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/excalibur-tempco-room_tmp-300x220.png 300w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/><\/figure>\n\n\n\n<p>Finally, quartz oscillators also suffer from <strong>drift<\/strong> &#8212; their frequency will change over time, and the rate and even direction of that change isn&#8217;t predictable.<span class=\"footnote_referrer\"><a role=\"button\" tabindex=\"0\" onclick=\"footnote_moveToReference_871_1('footnote_plugin_reference_871_1_3');\" onkeypress=\"footnote_moveToReference_871_1('footnote_plugin_reference_871_1_3');\" ><sup id=\"footnote_plugin_tooltip_871_1_3\" class=\"footnote_plugin_tooltip_text\">[3]<\/sup><\/a><span id=\"footnote_plugin_tooltip_text_871_1_3\" class=\"footnote_tooltip\">This phenomenon is sometimes called &#8220;aging&#8221;, but technically aging is just one of several types of drift.<\/span><\/span><script type=\"text\/javascript\"> jQuery('#footnote_plugin_tooltip_871_1_3').tooltip({ tip: '#footnote_plugin_tooltip_text_871_1_3', tipClass: 'footnote_tooltip', effect: 'fade', predelay: 0, fadeInSpeed: 200, delay: 400, fadeOutSpeed: 200, position: 'top center', relative: true, offset: [-7, 0], });<\/script>&nbsp; Some of it is due to physical changes as the crystal or other oscillator components age, and some of it is just due to the uncertainties of quantum mechanics.<\/p>\n\n\n\n<p>Here is how the frequency of an inexpensive eBay OCXO changed over 24 hours as it aged:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1024\" height=\"561\" src=\"http:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/OCXO131-100_freq_drift-1024x561.png\" alt=\"\" class=\"wp-image-922\" srcset=\"https:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/OCXO131-100_freq_drift-1024x561.png 1024w, https:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/OCXO131-100_freq_drift-300x164.png 300w, https:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/OCXO131-100_freq_drift-768x421.png 768w, https:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/OCXO131-100_freq_drift.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>The frequency gradually moves upward over the day. Aging usually slows down after an XO has been running uninterrupted for a while, and you can see the curve start to flatten out toward the end, showing that effect.<\/p>\n\n\n\n<p>We&#8217;ve seen that crystal oscillators aren&#8217;t perfect &#8212; they require calibration, they are sensitive to temperature and other environmental factors, and they change frequency over time. The performance of XOs can vary over several orders of magnitude, and some are better at one thing than another. There are several key characteristics of an XO that we might want to know:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>How stable the frequency is over short time periods, usually less than a day (<strong>short term stability<\/strong>)<\/li>\n\n\n\n<li>How much the frequency changes over long time periods, usually a day or longer (<strong>long term stability<\/strong>, or often the shorthand of <strong>drift<\/strong> or <strong>aging<\/strong>)<\/li>\n\n\n\n<li>For radio frequency applications, how much modulation is on the theoretically pure signal carrier (<strong>phase noise<\/strong>)<\/li>\n<\/ul>\n\n\n\n<p>We often plot stability and phase noise data on a logarithmic graph that can show performance over a wide time period or frequency range. For stability analysis, the statistic that is most commonly used is the <a href=\"https:\/\/en.wikipedia.org\/wiki\/Allan_variance\">Allan Deviation<\/a>. I put up a <a href=\"https:\/\/blog.febo.com\/?p=719\">post describing Allan Deviation<\/a> that might be interesting and\/or useful to you.<\/p>\n\n\n\n<p>You&#8217;ve seen that crystal oscillators have some weaknesses, and lurking in the background is a question: how do you calibrate or measure an XO? Maybe you can use a <em>better<\/em> XO as a reference, but then how do you calibrate that? Etc., etc.<\/p>\n\n\n\n<p>In the <a href=\"https:\/\/blog.febo.com\/?p=915\">next part of this series<\/a>, I&#8217;ll talk about how the GPS system allows you to get precise time (and frequency) in the palm of your hand. Can it be the answer to life, the universe, and everything?<\/p>\n\n\n\n<p>&nbsp;<\/p>\n\n\n\n<p><\/p>\n<div class=\"speaker-mute footnotes_reference_container\"> <div class=\"footnote_container_prepare\"><p><span role=\"button\" tabindex=\"0\" class=\"footnote_reference_container_label pointer\" onclick=\"footnote_expand_collapse_reference_container_871_1();\">References<\/span><span role=\"button\" tabindex=\"0\" class=\"footnote_reference_container_collapse_button\" style=\"display: none;\" onclick=\"footnote_expand_collapse_reference_container_871_1();\">[<a id=\"footnote_reference_container_collapse_button_871_1\">+<\/a>]<\/span><\/p><\/div> <div id=\"footnote_references_container_871_1\" style=\"\"><div class=\"pcrstb-wrap\"><table class=\"footnotes_table footnote-reference-container\"><caption class=\"accessibility\">References<\/caption> <tbody> \r\n\r\n<tr class=\"footnotes_plugin_reference_row\"> <th scope=\"row\" class=\"footnote_plugin_index_combi pointer\"  onclick=\"footnote_moveToAnchor_871_1('footnote_plugin_tooltip_871_1_1');\"><a id=\"footnote_plugin_reference_871_1_1\" class=\"footnote_backlink\"><span class=\"footnote_index_arrow\">&#8593;<\/span>1<\/a><\/th> <td class=\"footnote_plugin_text\">There are now multiple GNSS (Global Navigation Satellite System) systems so saying &#8220;GPS&#8221; is a bit US-centric. But at least for now, virtually all GNSSDOs use GPS.<\/td><\/tr>\r\n\r\n<tr class=\"footnotes_plugin_reference_row\"> <th scope=\"row\" class=\"footnote_plugin_index_combi pointer\"  onclick=\"footnote_moveToAnchor_871_1('footnote_plugin_tooltip_871_1_2');\"><a id=\"footnote_plugin_reference_871_1_2\" class=\"footnote_backlink\"><span class=\"footnote_index_arrow\">&#8593;<\/span>2<\/a><\/th> <td class=\"footnote_plugin_text\">Humidity, barometric pressure, and acceleration also affect the frequency.<\/td><\/tr>\r\n\r\n<tr class=\"footnotes_plugin_reference_row\"> <th scope=\"row\" class=\"footnote_plugin_index_combi pointer\"  onclick=\"footnote_moveToAnchor_871_1('footnote_plugin_tooltip_871_1_3');\"><a id=\"footnote_plugin_reference_871_1_3\" class=\"footnote_backlink\"><span class=\"footnote_index_arrow\">&#8593;<\/span>3<\/a><\/th> <td class=\"footnote_plugin_text\">This phenomenon is sometimes called &#8220;aging&#8221;, but technically aging is just one of several types of drift.<\/td><\/tr>\r\n\r\n <\/tbody> <\/table><\/div> <\/div><\/div><script type=\"text\/javascript\"> function footnote_expand_reference_container_871_1() { jQuery('#footnote_references_container_871_1').show(); jQuery('#footnote_reference_container_collapse_button_871_1').text('\u2212'); } function footnote_collapse_reference_container_871_1() { jQuery('#footnote_references_container_871_1').hide(); jQuery('#footnote_reference_container_collapse_button_871_1').text('+'); } function footnote_expand_collapse_reference_container_871_1() { if (jQuery('#footnote_references_container_871_1').is(':hidden')) { footnote_expand_reference_container_871_1(); } else { footnote_collapse_reference_container_871_1(); } } function footnote_moveToReference_871_1(p_str_TargetID) { footnote_expand_reference_container_871_1(); var l_obj_Target = jQuery('#' + p_str_TargetID); if (l_obj_Target.length) { jQuery( 'html, body' ).delay( 0 ); jQuery('html, body').animate({ scrollTop: l_obj_Target.offset().top - window.innerHeight * 0.2 }, 380); } } function footnote_moveToAnchor_871_1(p_str_TargetID) { footnote_expand_reference_container_871_1(); var l_obj_Target = jQuery('#' + p_str_TargetID); if (l_obj_Target.length) { jQuery( 'html, body' ).delay( 0 ); jQuery('html, body').animate({ scrollTop: l_obj_Target.offset().top - window.innerHeight * 0.2 }, 380); } }<\/script>","protected":false},"excerpt":{"rendered":"<p>Introduction A lot of my recent time and frequency measurement work has been related to GPSDOs &#8212; GPS Disciplined Oscillators.[1]There are now multiple GNSS (Global Navigation Satellite System) systems so&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","ngg_post_thumbnail":0,"footnotes":""},"categories":[54,7,2],"tags":[75,65,77,76],"class_list":["post-871","post","type-post","status-publish","format-standard","hentry","category-gps","category-test-and-lab-equipment","category-time-and-frequency","tag-frequency","tag-gps","tag-gpsdo","tag-time-nuts"],"_links":{"self":[{"href":"https:\/\/blog.febo.com\/index.php?rest_route=\/wp\/v2\/posts\/871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.febo.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.febo.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.febo.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.febo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=871"}],"version-history":[{"count":51,"href":"https:\/\/blog.febo.com\/index.php?rest_route=\/wp\/v2\/posts\/871\/revisions"}],"predecessor-version":[{"id":1311,"href":"https:\/\/blog.febo.com\/index.php?rest_route=\/wp\/v2\/posts\/871\/revisions\/1311"}],"wp:attachment":[{"href":"https:\/\/blog.febo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.febo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.febo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}