{"id":891,"date":"2022-08-24T01:40:29","date_gmt":"2022-08-24T01:40:29","guid":{"rendered":"https:\/\/geekblog.febo.com\/?p=891"},"modified":"2025-09-26T23:47:08","modified_gmt":"2025-09-26T23:47:08","slug":"gps-disciplined-oscillators-the-time-nuts-friend-part-3","status":"publish","type":"post","link":"https:\/\/blog.febo.com\/?p=891","title":{"rendered":"Oscillators, GPS, and GPSDOs (Part 3)"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\">Comparing Crystal Oscillators with GPS<\/h3>\n\n\n\n<p>In <a href=\"https:\/\/blog.febo.com\/?p=871\">part 1<\/a> and <a href=\"https:\/\/blog.febo.com\/?p=915\">part 2<\/a> of this series, we saw that crystal oscillators and GPS receivers both have strengths and weaknesses as frequency standards.<\/p>\n\n\n\n<p>Now, let&#8217;s compare them to understand how they differ, and how they complement each other. But first&#8230;<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><\/h4>\n\n\n\n<p><a href=\"https:\/\/blog.febo.com\/?p=719\">Allan Deviation<\/a> (or ADEV) is a statistic that&#8217;s almost universally used in the time and frequency measurement world. It&#8217;s very handy for understanding the stability of clocks<span class=\"footnote_referrer\"><a role=\"button\" tabindex=\"0\" onclick=\"footnote_moveToReference_891_1('footnote_plugin_reference_891_1_1');\" onkeypress=\"footnote_moveToReference_891_1('footnote_plugin_reference_891_1_1');\" ><sup id=\"footnote_plugin_tooltip_891_1_1\" class=\"footnote_plugin_tooltip_text\">[1]<\/sup><\/a><span id=\"footnote_plugin_tooltip_text_891_1_1\" class=\"footnote_tooltip\">or oscillators; we tend to think of them as the same thing<\/span><\/span><script type=\"text\/javascript\"> jQuery('#footnote_plugin_tooltip_891_1_1').tooltip({ tip: '#footnote_plugin_tooltip_text_891_1_1', tipClass: 'footnote_tooltip', effect: 'fade', predelay: 0, fadeInSpeed: 200, delay: 400, fadeOutSpeed: 200, position: 'top center', relative: true, offset: [-7, 0], });<\/script> because in a single graph it can span from very short to very long measurement intervals, and from very small to very large amounts of instability, or noise.<span class=\"footnote_referrer\"><a role=\"button\" tabindex=\"0\" onclick=\"footnote_moveToReference_891_1('footnote_plugin_reference_891_1_2');\" onkeypress=\"footnote_moveToReference_891_1('footnote_plugin_reference_891_1_2');\" ><sup id=\"footnote_plugin_tooltip_891_1_2\" class=\"footnote_plugin_tooltip_text\">[2]<\/sup><\/a><span id=\"footnote_plugin_tooltip_text_891_1_2\" class=\"footnote_tooltip\">That huge range is mainly because ADEV plots are almost always log\/log, or logarthimic, in both axes. It turns out that&#8217;s the best match for typical clock performance curves.<\/span><\/span><script type=\"text\/javascript\"> jQuery('#footnote_plugin_tooltip_891_1_2').tooltip({ tip: '#footnote_plugin_tooltip_text_891_1_2', tipClass: 'footnote_tooltip', effect: 'fade', predelay: 0, fadeInSpeed: 200, delay: 400, fadeOutSpeed: 200, position: 'top center', relative: true, offset: [-7, 0], });<\/script> I&#8217;ll be using it a lot because ADEV allows us to compare the overall performance of multiple clocks at a glance.<\/p>\n\n\n\n<p>In short, ADEV is a measurement of how much any two measurements of a clock made X seconds apart are likely to vary. The concept is easier to grasp if you think about how randomness has to be proven in other systems: casinos, lotteries, or even online gaming sites where players compare <a href=\"https:\/\/99bitcoins.com\/best-bitcoin-casino\/best-roobet-casino-alternatives\/\">alternatives to Roobet<\/a> to see which platforms handle fairness transparently. In both cases, the goal is the same\u2014turning what feels like chance into something that can be measured. The measurement interval is on the horizontal axis, and the likely variation at any interval is shown on the vertical, expressed as a ratio of frequency error to nominal frequency in scientific notation.<\/p>\n\n\n\n<p>Shorthand for the measurement interval is the Greek character <a href=\"https:\/\/en.wikipedia.org\/wiki\/Tau#Physics\"><strong>tau<\/strong><\/a>. I try to avoid jargon in these posts, but &#8220;tau&#8221; is so much easier than &#8220;measurement interval&#8221; that I&#8217;ll use it frequently.<\/p>\n\n\n\n<p>So if the line on the plot at the 10 second point on the horizontal axis intersects the 1&#215;10<sup>-9<\/sup> point on the vertical axis, that means that measurements taken 10 seconds apart are likely to vary by 1 part per billion, and we say that the ADEV is &#8220;1x 10<sup>-9&nbsp;<\/sup>at tau 10 seconds.&#8221;. I published a <a href=\"https:\/\/blog.febo.com\/?p=719\">blog post that introduces ADEV<\/a> in a bit more detail.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Now, back to business&#8230;<\/h4>\n\n\n\n<p>We&#8217;ll use the ADEV statistic to look at the performance of a good quality GPS module, a <a href=\"https:\/\/www.u-blox.com\">u-blox<\/a> <a href=\"https:\/\/www.u-blox.com\/en\/product\/neolea-m8t-series\">NEO-M8T<\/a> receiver (shown in the blue trace below), and the output of an inexpensive surplus OCXO from eBay, an <a href=\"https:\/\/www.isotemp.com\/wp-content\/uploads\/2011\/03\/OCXO-131.pdf\">Isotemp OCXO130-131<\/a> (the violet trace), over a three day period:<\/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\/adev_animation_2-1024x561.png\" alt=\"\" class=\"wp-image-1000\" srcset=\"https:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/adev_animation_2-1024x561.png 1024w, https:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/adev_animation_2-300x164.png 300w, https:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/adev_animation_2-768x421.png 768w, https:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/adev_animation_2.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>First, look at the GPS trace (blue). The slope of that line is -1 &#8212; when you increase the interval between measurements by a factor of 10, the expected noise in those measurements goes down by the same factor of 10. That&#8217;s very typical of GPS behavior because the absolute jitter (e.g., 10 nanoseconds) of the pulses stays almost the same regardless of how far apart the measurements are, so longer measurement intervals average that noise away and the ADEV keeps getting better and better.<\/p>\n\n\n\n<p>Now look at the OCXO (violet). Its ADEV is almost flat from 1 second to about 1000 seconds, but then it starts to turn upward. That&#8217;s because at longer measurement interals you start to see the effects of both aging and environmental changes (e.g., the air conditioner cycling on and off).<\/p>\n\n\n\n<p>This measurement covers a relatively short range of intervals because that range is most relevant to the performance of a GPSDO, which is what we&#8217;re ultimately talking about.<\/p>\n\n\n\n<p>If you look at most oscillators over a wider range, from much shorter to much longer measurement intervals, they will have an ADEV curve resembles the profile of a bathtub &#8212; starting high, rolling down to a broad floor, then rolling upward again. Here&#8217;s an example of that shape:<\/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\/adev_bathtub_bva_maser-1-1024x561.png\" alt=\"\" class=\"wp-image-1022\" srcset=\"https:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/adev_bathtub_bva_maser-1-1024x561.png 1024w, https:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/adev_bathtub_bva_maser-1-300x164.png 300w, https:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/adev_bathtub_bva_maser-1-768x421.png 768w, https:\/\/blog.febo.com\/wp-content\/uploads\/2022\/08\/adev_bathtub_bva_maser-1.png 1280w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>This is the ADEV of an extremely high quality OCXO measured over 15 days; its overall noise is about two orders of magnitude better than the inexpensive Isotemp. But the bathtub is the typical shape for crystal oscillators; spending more money typically (a) moves the whole curve lower on the graph; and\/or (b) broadens the floor of the bathtub (i.e., increases the range of optimum performance).<\/p>\n\n\n\n<p>And some oscillators are optimized for different things. The best performance at very short intervals may be inconsistent with the best drift performance.<span class=\"footnote_referrer\"><a role=\"button\" tabindex=\"0\" onclick=\"footnote_moveToReference_891_1('footnote_plugin_reference_891_1_3');\" onkeypress=\"footnote_moveToReference_891_1('footnote_plugin_reference_891_1_3');\" ><sup id=\"footnote_plugin_tooltip_891_1_3\" class=\"footnote_plugin_tooltip_text\">[3]<\/sup><\/a><span id=\"footnote_plugin_tooltip_text_891_1_3\" class=\"footnote_tooltip\">This is often the tradeoff with oscillators designed for ultra low phase noise; they often exhibit increased drift and environmental sensitivity.<\/span><\/span><script type=\"text\/javascript\"> jQuery('#footnote_plugin_tooltip_891_1_3').tooltip({ tip: '#footnote_plugin_tooltip_text_891_1_3', tipClass: 'footnote_tooltip', effect: 'fade', predelay: 0, fadeInSpeed: 200, delay: 400, fadeOutSpeed: 200, position: 'top center', relative: true, offset: [-7, 0], });<\/script> For best results, you need to look at performance over the interval most important for your application. The ADEV plot is the best tool to do that.<\/p>\n\n\n\n<p>So in summary, XOs usually have better stability over short intervals, but over longer periods the GPS catches up and then far exceeds it. The goal of a GPSDO is to generate an output that preserves the crystal&#8217;s short term stability while maintaining the long term stability and accuracy of the GPS signal, giving the best of both worlds.<\/p>\n\n\n\n<p>In <a href=\"https:\/\/blog.febo.com\/?p=979\">part 4 <\/a>of this series, we&#8217;ll see how a GPSDO does that.<\/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_891_1();\">References<\/span><span role=\"button\" tabindex=\"0\" class=\"footnote_reference_container_collapse_button\" style=\"display: none;\" onclick=\"footnote_expand_collapse_reference_container_891_1();\">[<a id=\"footnote_reference_container_collapse_button_891_1\">+<\/a>]<\/span><\/p><\/div> <div id=\"footnote_references_container_891_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_891_1('footnote_plugin_tooltip_891_1_1');\"><a id=\"footnote_plugin_reference_891_1_1\" class=\"footnote_backlink\"><span class=\"footnote_index_arrow\">&#8593;<\/span>1<\/a><\/th> <td class=\"footnote_plugin_text\">or oscillators; we tend to think of them as the same thing<\/td><\/tr>\r\n\r\n<tr class=\"footnotes_plugin_reference_row\"> <th scope=\"row\" class=\"footnote_plugin_index_combi pointer\"  onclick=\"footnote_moveToAnchor_891_1('footnote_plugin_tooltip_891_1_2');\"><a id=\"footnote_plugin_reference_891_1_2\" class=\"footnote_backlink\"><span class=\"footnote_index_arrow\">&#8593;<\/span>2<\/a><\/th> <td class=\"footnote_plugin_text\">That huge range is mainly because ADEV plots are almost always log\/log, or logarthimic, in both axes. It turns out that&#8217;s the best match for typical clock performance curves.<\/td><\/tr>\r\n\r\n<tr class=\"footnotes_plugin_reference_row\"> <th scope=\"row\" class=\"footnote_plugin_index_combi pointer\"  onclick=\"footnote_moveToAnchor_891_1('footnote_plugin_tooltip_891_1_3');\"><a id=\"footnote_plugin_reference_891_1_3\" class=\"footnote_backlink\"><span class=\"footnote_index_arrow\">&#8593;<\/span>3<\/a><\/th> <td class=\"footnote_plugin_text\">This is often the tradeoff with oscillators designed for ultra low phase noise; they often exhibit increased drift and environmental sensitivity.<\/td><\/tr>\r\n\r\n <\/tbody> <\/table><\/div> <\/div><\/div><script type=\"text\/javascript\"> function footnote_expand_reference_container_891_1() { jQuery('#footnote_references_container_891_1').show(); jQuery('#footnote_reference_container_collapse_button_891_1').text('\u2212'); } function footnote_collapse_reference_container_891_1() { jQuery('#footnote_references_container_891_1').hide(); jQuery('#footnote_reference_container_collapse_button_891_1').text('+'); } function footnote_expand_collapse_reference_container_891_1() { if (jQuery('#footnote_references_container_891_1').is(':hidden')) { footnote_expand_reference_container_891_1(); } else { footnote_collapse_reference_container_891_1(); } } function footnote_moveToReference_891_1(p_str_TargetID) { footnote_expand_reference_container_891_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_891_1(p_str_TargetID) { footnote_expand_reference_container_891_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>Comparing Crystal Oscillators with GPS In part 1 and part 2 of this series, we saw that crystal oscillators and GPS receivers both have strengths and weaknesses as frequency standards.&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-891","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\/891","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=891"}],"version-history":[{"count":56,"href":"https:\/\/blog.febo.com\/index.php?rest_route=\/wp\/v2\/posts\/891\/revisions"}],"predecessor-version":[{"id":1314,"href":"https:\/\/blog.febo.com\/index.php?rest_route=\/wp\/v2\/posts\/891\/revisions\/1314"}],"wp:attachment":[{"href":"https:\/\/blog.febo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=891"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.febo.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=891"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.febo.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=891"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}