Why the prevelance of mechanical oscillators in electronic circuits?











up vote
6
down vote

favorite
1












The clock sources in modern electronics seem to come invariably from quartz and MEMS oscillators, both of which generate vibrations mechanically. The amplitude and frequency of the vibration are orders of magnitudes different from the everday mechanical vibrations I observe in, say, musical instruments. Nevertheless, it's surprising to me that we don't get clock sources in the electromagnetic domain directly, say using capacitive or inductive elements.



I know that inductors especially are hard to manufacture without parasitic losses. But I would expect mechanical oscillators to be non-ideal as well.



You could use the propagation delay of electricity, but then it would be hard to make a small oscillator that operates at slow frequencies.



Is it really true we can make microscopic vibrating devices more ideally than we can make electrical oscillating components?










share|improve this question


















  • 3




    Just a note -- Quartz crystals were the new, better frequency control for radios back in the 1920's. I have amateur radio magazines from 1928 where they're already an established technology (albeit way bigger than today's). For a while they were the best frequency control standard to be had, only being overtaken by atomic clocks in (I think) the 1940's or 1950's. So the practical answer to your question is because they work better and cheaper, and no one has been able to do better without being a whole lot more expensive.
    – TimWescott
    10 hours ago










  • Thanks for that note. Practicality aside, does it strike you as surprising? If someone told me that the voltage reference in a circuit comes from a generator connected to a constant-velocity reference. (or even better, from the amplitude of the current or voltage generated by the quartz crystal), I would think that's a little funny. I've known that crystal oscillators were mechanical for a while, but today it struck me as odd that it's actually good in practice. The electrical domain seems to win for signal processing, energy transfer, communication, and so on.
    – Gus
    10 hours ago






  • 2




    If I were to remain that surprised by everything that does not make immediate sense, I would not be able to get out of bed in the morning in my astonishment that the sun is up and gravity still works. I suppose it's kind of surprising, but it would require very deep study to find a really good "why". I tend to be distrustful of anything glib; I'm not sure that there really is a good, 100% true, and short explanation for this.
    – TimWescott
    10 hours ago






  • 6




    Quartz is simply amazing. It's piezoelectric effect is very large (the link between its mechanical/electrical properties). Its inherent temperature coefficient is very small. Any remaining temperature effect can be reduced by rotating crystal planes. Grinding/lapping can be done with great precision. Sometimes, the universe just gives you such a gift.
    – glen_geek
    10 hours ago















up vote
6
down vote

favorite
1












The clock sources in modern electronics seem to come invariably from quartz and MEMS oscillators, both of which generate vibrations mechanically. The amplitude and frequency of the vibration are orders of magnitudes different from the everday mechanical vibrations I observe in, say, musical instruments. Nevertheless, it's surprising to me that we don't get clock sources in the electromagnetic domain directly, say using capacitive or inductive elements.



I know that inductors especially are hard to manufacture without parasitic losses. But I would expect mechanical oscillators to be non-ideal as well.



You could use the propagation delay of electricity, but then it would be hard to make a small oscillator that operates at slow frequencies.



Is it really true we can make microscopic vibrating devices more ideally than we can make electrical oscillating components?










share|improve this question


















  • 3




    Just a note -- Quartz crystals were the new, better frequency control for radios back in the 1920's. I have amateur radio magazines from 1928 where they're already an established technology (albeit way bigger than today's). For a while they were the best frequency control standard to be had, only being overtaken by atomic clocks in (I think) the 1940's or 1950's. So the practical answer to your question is because they work better and cheaper, and no one has been able to do better without being a whole lot more expensive.
    – TimWescott
    10 hours ago










  • Thanks for that note. Practicality aside, does it strike you as surprising? If someone told me that the voltage reference in a circuit comes from a generator connected to a constant-velocity reference. (or even better, from the amplitude of the current or voltage generated by the quartz crystal), I would think that's a little funny. I've known that crystal oscillators were mechanical for a while, but today it struck me as odd that it's actually good in practice. The electrical domain seems to win for signal processing, energy transfer, communication, and so on.
    – Gus
    10 hours ago






  • 2




    If I were to remain that surprised by everything that does not make immediate sense, I would not be able to get out of bed in the morning in my astonishment that the sun is up and gravity still works. I suppose it's kind of surprising, but it would require very deep study to find a really good "why". I tend to be distrustful of anything glib; I'm not sure that there really is a good, 100% true, and short explanation for this.
    – TimWescott
    10 hours ago






  • 6




    Quartz is simply amazing. It's piezoelectric effect is very large (the link between its mechanical/electrical properties). Its inherent temperature coefficient is very small. Any remaining temperature effect can be reduced by rotating crystal planes. Grinding/lapping can be done with great precision. Sometimes, the universe just gives you such a gift.
    – glen_geek
    10 hours ago













up vote
6
down vote

favorite
1









up vote
6
down vote

favorite
1






1





The clock sources in modern electronics seem to come invariably from quartz and MEMS oscillators, both of which generate vibrations mechanically. The amplitude and frequency of the vibration are orders of magnitudes different from the everday mechanical vibrations I observe in, say, musical instruments. Nevertheless, it's surprising to me that we don't get clock sources in the electromagnetic domain directly, say using capacitive or inductive elements.



I know that inductors especially are hard to manufacture without parasitic losses. But I would expect mechanical oscillators to be non-ideal as well.



You could use the propagation delay of electricity, but then it would be hard to make a small oscillator that operates at slow frequencies.



Is it really true we can make microscopic vibrating devices more ideally than we can make electrical oscillating components?










share|improve this question













The clock sources in modern electronics seem to come invariably from quartz and MEMS oscillators, both of which generate vibrations mechanically. The amplitude and frequency of the vibration are orders of magnitudes different from the everday mechanical vibrations I observe in, say, musical instruments. Nevertheless, it's surprising to me that we don't get clock sources in the electromagnetic domain directly, say using capacitive or inductive elements.



I know that inductors especially are hard to manufacture without parasitic losses. But I would expect mechanical oscillators to be non-ideal as well.



You could use the propagation delay of electricity, but then it would be hard to make a small oscillator that operates at slow frequencies.



Is it really true we can make microscopic vibrating devices more ideally than we can make electrical oscillating components?







oscillator physics mems






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked 11 hours ago









Gus

20629




20629








  • 3




    Just a note -- Quartz crystals were the new, better frequency control for radios back in the 1920's. I have amateur radio magazines from 1928 where they're already an established technology (albeit way bigger than today's). For a while they were the best frequency control standard to be had, only being overtaken by atomic clocks in (I think) the 1940's or 1950's. So the practical answer to your question is because they work better and cheaper, and no one has been able to do better without being a whole lot more expensive.
    – TimWescott
    10 hours ago










  • Thanks for that note. Practicality aside, does it strike you as surprising? If someone told me that the voltage reference in a circuit comes from a generator connected to a constant-velocity reference. (or even better, from the amplitude of the current or voltage generated by the quartz crystal), I would think that's a little funny. I've known that crystal oscillators were mechanical for a while, but today it struck me as odd that it's actually good in practice. The electrical domain seems to win for signal processing, energy transfer, communication, and so on.
    – Gus
    10 hours ago






  • 2




    If I were to remain that surprised by everything that does not make immediate sense, I would not be able to get out of bed in the morning in my astonishment that the sun is up and gravity still works. I suppose it's kind of surprising, but it would require very deep study to find a really good "why". I tend to be distrustful of anything glib; I'm not sure that there really is a good, 100% true, and short explanation for this.
    – TimWescott
    10 hours ago






  • 6




    Quartz is simply amazing. It's piezoelectric effect is very large (the link between its mechanical/electrical properties). Its inherent temperature coefficient is very small. Any remaining temperature effect can be reduced by rotating crystal planes. Grinding/lapping can be done with great precision. Sometimes, the universe just gives you such a gift.
    – glen_geek
    10 hours ago














  • 3




    Just a note -- Quartz crystals were the new, better frequency control for radios back in the 1920's. I have amateur radio magazines from 1928 where they're already an established technology (albeit way bigger than today's). For a while they were the best frequency control standard to be had, only being overtaken by atomic clocks in (I think) the 1940's or 1950's. So the practical answer to your question is because they work better and cheaper, and no one has been able to do better without being a whole lot more expensive.
    – TimWescott
    10 hours ago










  • Thanks for that note. Practicality aside, does it strike you as surprising? If someone told me that the voltage reference in a circuit comes from a generator connected to a constant-velocity reference. (or even better, from the amplitude of the current or voltage generated by the quartz crystal), I would think that's a little funny. I've known that crystal oscillators were mechanical for a while, but today it struck me as odd that it's actually good in practice. The electrical domain seems to win for signal processing, energy transfer, communication, and so on.
    – Gus
    10 hours ago






  • 2




    If I were to remain that surprised by everything that does not make immediate sense, I would not be able to get out of bed in the morning in my astonishment that the sun is up and gravity still works. I suppose it's kind of surprising, but it would require very deep study to find a really good "why". I tend to be distrustful of anything glib; I'm not sure that there really is a good, 100% true, and short explanation for this.
    – TimWescott
    10 hours ago






  • 6




    Quartz is simply amazing. It's piezoelectric effect is very large (the link between its mechanical/electrical properties). Its inherent temperature coefficient is very small. Any remaining temperature effect can be reduced by rotating crystal planes. Grinding/lapping can be done with great precision. Sometimes, the universe just gives you such a gift.
    – glen_geek
    10 hours ago








3




3




Just a note -- Quartz crystals were the new, better frequency control for radios back in the 1920's. I have amateur radio magazines from 1928 where they're already an established technology (albeit way bigger than today's). For a while they were the best frequency control standard to be had, only being overtaken by atomic clocks in (I think) the 1940's or 1950's. So the practical answer to your question is because they work better and cheaper, and no one has been able to do better without being a whole lot more expensive.
– TimWescott
10 hours ago




Just a note -- Quartz crystals were the new, better frequency control for radios back in the 1920's. I have amateur radio magazines from 1928 where they're already an established technology (albeit way bigger than today's). For a while they were the best frequency control standard to be had, only being overtaken by atomic clocks in (I think) the 1940's or 1950's. So the practical answer to your question is because they work better and cheaper, and no one has been able to do better without being a whole lot more expensive.
– TimWescott
10 hours ago












Thanks for that note. Practicality aside, does it strike you as surprising? If someone told me that the voltage reference in a circuit comes from a generator connected to a constant-velocity reference. (or even better, from the amplitude of the current or voltage generated by the quartz crystal), I would think that's a little funny. I've known that crystal oscillators were mechanical for a while, but today it struck me as odd that it's actually good in practice. The electrical domain seems to win for signal processing, energy transfer, communication, and so on.
– Gus
10 hours ago




Thanks for that note. Practicality aside, does it strike you as surprising? If someone told me that the voltage reference in a circuit comes from a generator connected to a constant-velocity reference. (or even better, from the amplitude of the current or voltage generated by the quartz crystal), I would think that's a little funny. I've known that crystal oscillators were mechanical for a while, but today it struck me as odd that it's actually good in practice. The electrical domain seems to win for signal processing, energy transfer, communication, and so on.
– Gus
10 hours ago




2




2




If I were to remain that surprised by everything that does not make immediate sense, I would not be able to get out of bed in the morning in my astonishment that the sun is up and gravity still works. I suppose it's kind of surprising, but it would require very deep study to find a really good "why". I tend to be distrustful of anything glib; I'm not sure that there really is a good, 100% true, and short explanation for this.
– TimWescott
10 hours ago




If I were to remain that surprised by everything that does not make immediate sense, I would not be able to get out of bed in the morning in my astonishment that the sun is up and gravity still works. I suppose it's kind of surprising, but it would require very deep study to find a really good "why". I tend to be distrustful of anything glib; I'm not sure that there really is a good, 100% true, and short explanation for this.
– TimWescott
10 hours ago




6




6




Quartz is simply amazing. It's piezoelectric effect is very large (the link between its mechanical/electrical properties). Its inherent temperature coefficient is very small. Any remaining temperature effect can be reduced by rotating crystal planes. Grinding/lapping can be done with great precision. Sometimes, the universe just gives you such a gift.
– glen_geek
10 hours ago




Quartz is simply amazing. It's piezoelectric effect is very large (the link between its mechanical/electrical properties). Its inherent temperature coefficient is very small. Any remaining temperature effect can be reduced by rotating crystal planes. Grinding/lapping can be done with great precision. Sometimes, the universe just gives you such a gift.
– glen_geek
10 hours ago










2 Answers
2






active

oldest

votes

















up vote
9
down vote













Because the mechanical devices are much more stable than their electric counterparts. Let's compare a crystal oscillator to an LC oscillator:



Crystal:




  • Has a very high Q. According to wikipedia, a crystal oscillator has a typical Q of 10,000-1,000,000.

  • Stable with temperature. Many crystals are specified at <50ppm over their temperature range, and temperature compensated or controlled crystals are also available, down to ~1ppm with temperature

  • Manufactured to a tight tolerance. Cheap crystals are usually specified to ~25ppm, but tighter tolerances are available


LC or RC:




  • Not available as an integrated device, so must be assembled from off the shelf components (unless integrated into a mcu or similar)

  • Low Q, it's difficult to make an inductor with a Q higher than a few hundred

  • Temperature sensitive - making temperature stable inductors is difficult


  • Voltage sensitive - the threshold voltage and charging voltage in the feedback circuit is usually voltage dependent.



    However, that doesn't mean that electric oscillators are never used, just that they're not used where great precision is needed. They do however have some advantages over crystal oscillators:



  • They can be easily integrated into another IC. Many microcontrollers now come with an integrated oscillator


  • They (sometimes) use less power. Often times a microcontroller will include a low power oscillator to run the watchdog timer, which uses less power than a high speed (MHz) crystal, and sometimes less power than a low speed (32.768kHz) crystal.

  • Since they can be integrated onto an IC, they can be used in places where a crystal would be far too large

  • They can be tuned fairly easily. A crystal can only really be shifted a few kHz off its calibrated frequency, but by adjusting the capacitance of the LC circuit (like with a varactor diode), the frequency can be adjusted over a fairly wide range. This means that LC oscillators can be used in circuits like PLLs or VCOs, possibly even locked to a crystal reference.


Non-mechanical oscillators are used in many devices, just not in those where accurate timing is required.






share|improve this answer



















  • 1




    The sensitivity of an oscillator to noise is inversely proportional to Q. That's part of the reason why an RC circuit would be worse than an LC circuit -- an LC circuit may have a Q of 100 or more, an RC circuit has a Q less than one, always.
    – TimWescott
    10 hours ago






  • 1




    High Q also relates to how stable the system is. A high Q oscillator has less phase noise than a low Q one, which is important for radio circuits and timing sensitive stuff (like controlling an ADC clock or DAC)
    – C_Elegans
    10 hours ago






  • 2




    " I think I assumed we can build, for a similar cost, a more accurate voltage reference than we could a mechanical oscillator". Only if you have an atomic clock handy. And some liquid nitrogen. See this link.
    – TimWescott
    10 hours ago






  • 1




    "I had thought that for any value of the damping and any value of the mass, you can choose a spring"... Yes, but increasing the spring rate increases the Q, unless you increase the damping to match.
    – TimWescott
    10 hours ago






  • 1




    I can buy easily buy a crystal oscillator TCXO that is stable to within +/-50ppb over 0° to +70°C for less than $30 one-off. A 0.6ppm/°C temperature compensated voltage reference costs more than $150. Initial tolerance is +/-1ppm vs. 0.01%. So orders of magnitude worse for 5x the cost. That's not atypical. You can easily measure frequency better than ~$10^{-10}$ accuracy (1 year), but voltage is difficult to measure better than single digit ppm accuracy (I'll include Tim's Josephson Junction laboratory standard which lives in a dewar at 4.3 Kelvin as more than difficult..)
    – Spehro Pefhany
    7 hours ago


















up vote
4
down vote













It's not really whether inductors and capacitors can be made more precisely than a mechanical oscillator. It's whether those components can operate in a stable manner over voltage/temperature ranges. Unless you want to design all of your circuits to have a band-gap voltage reference, a thermometer, and a heating circuit to keep voltage/temperature constant, you can't get inductors and capacitors to operate anywhere nearly as stable as a crystal does.



To tune a crystal to the correct frequency during manufacturing, I'm assuming they could just polish it until it's at the right size. You can also manufacture caps and inductors as accurate as you need. The problem is that it just won't stay there.






share|improve this answer





















  • Is it important that the clock source be stable over voltage ranges? I had figured that modern electronics, like your cellphone, does have an accurate voltage reference (due to a band-gap). Stability over temperature makes more sense. There are oven-controlled crystal oscillators, so they must be sensitive to temperature as well, but to a lesser degree?
    – Gus
    10 hours ago










  • @Gus voltage range won't be nearly as important as temperature. For really accurate stuff, it makes sense to temp-control a crystal.
    – horta
    10 hours ago










  • GSM cellphones are trimmed in frequency, so the packets do not drift in timing; this ensures there always is the predicted rampup and rampdown time between packets and there never are missing or conflicting simultaneous packets.
    – analogsystemsrf
    4 hours ago











Your Answer





StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["\$", "\$"]]);
});
});
}, "mathjax-editing");

StackExchange.ifUsing("editor", function () {
return StackExchange.using("schematics", function () {
StackExchange.schematics.init();
});
}, "cicuitlab");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "135"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














 

draft saved


draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f409197%2fwhy-the-prevelance-of-mechanical-oscillators-in-electronic-circuits%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























2 Answers
2






active

oldest

votes








2 Answers
2






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
9
down vote













Because the mechanical devices are much more stable than their electric counterparts. Let's compare a crystal oscillator to an LC oscillator:



Crystal:




  • Has a very high Q. According to wikipedia, a crystal oscillator has a typical Q of 10,000-1,000,000.

  • Stable with temperature. Many crystals are specified at <50ppm over their temperature range, and temperature compensated or controlled crystals are also available, down to ~1ppm with temperature

  • Manufactured to a tight tolerance. Cheap crystals are usually specified to ~25ppm, but tighter tolerances are available


LC or RC:




  • Not available as an integrated device, so must be assembled from off the shelf components (unless integrated into a mcu or similar)

  • Low Q, it's difficult to make an inductor with a Q higher than a few hundred

  • Temperature sensitive - making temperature stable inductors is difficult


  • Voltage sensitive - the threshold voltage and charging voltage in the feedback circuit is usually voltage dependent.



    However, that doesn't mean that electric oscillators are never used, just that they're not used where great precision is needed. They do however have some advantages over crystal oscillators:



  • They can be easily integrated into another IC. Many microcontrollers now come with an integrated oscillator


  • They (sometimes) use less power. Often times a microcontroller will include a low power oscillator to run the watchdog timer, which uses less power than a high speed (MHz) crystal, and sometimes less power than a low speed (32.768kHz) crystal.

  • Since they can be integrated onto an IC, they can be used in places where a crystal would be far too large

  • They can be tuned fairly easily. A crystal can only really be shifted a few kHz off its calibrated frequency, but by adjusting the capacitance of the LC circuit (like with a varactor diode), the frequency can be adjusted over a fairly wide range. This means that LC oscillators can be used in circuits like PLLs or VCOs, possibly even locked to a crystal reference.


Non-mechanical oscillators are used in many devices, just not in those where accurate timing is required.






share|improve this answer



















  • 1




    The sensitivity of an oscillator to noise is inversely proportional to Q. That's part of the reason why an RC circuit would be worse than an LC circuit -- an LC circuit may have a Q of 100 or more, an RC circuit has a Q less than one, always.
    – TimWescott
    10 hours ago






  • 1




    High Q also relates to how stable the system is. A high Q oscillator has less phase noise than a low Q one, which is important for radio circuits and timing sensitive stuff (like controlling an ADC clock or DAC)
    – C_Elegans
    10 hours ago






  • 2




    " I think I assumed we can build, for a similar cost, a more accurate voltage reference than we could a mechanical oscillator". Only if you have an atomic clock handy. And some liquid nitrogen. See this link.
    – TimWescott
    10 hours ago






  • 1




    "I had thought that for any value of the damping and any value of the mass, you can choose a spring"... Yes, but increasing the spring rate increases the Q, unless you increase the damping to match.
    – TimWescott
    10 hours ago






  • 1




    I can buy easily buy a crystal oscillator TCXO that is stable to within +/-50ppb over 0° to +70°C for less than $30 one-off. A 0.6ppm/°C temperature compensated voltage reference costs more than $150. Initial tolerance is +/-1ppm vs. 0.01%. So orders of magnitude worse for 5x the cost. That's not atypical. You can easily measure frequency better than ~$10^{-10}$ accuracy (1 year), but voltage is difficult to measure better than single digit ppm accuracy (I'll include Tim's Josephson Junction laboratory standard which lives in a dewar at 4.3 Kelvin as more than difficult..)
    – Spehro Pefhany
    7 hours ago















up vote
9
down vote













Because the mechanical devices are much more stable than their electric counterparts. Let's compare a crystal oscillator to an LC oscillator:



Crystal:




  • Has a very high Q. According to wikipedia, a crystal oscillator has a typical Q of 10,000-1,000,000.

  • Stable with temperature. Many crystals are specified at <50ppm over their temperature range, and temperature compensated or controlled crystals are also available, down to ~1ppm with temperature

  • Manufactured to a tight tolerance. Cheap crystals are usually specified to ~25ppm, but tighter tolerances are available


LC or RC:




  • Not available as an integrated device, so must be assembled from off the shelf components (unless integrated into a mcu or similar)

  • Low Q, it's difficult to make an inductor with a Q higher than a few hundred

  • Temperature sensitive - making temperature stable inductors is difficult


  • Voltage sensitive - the threshold voltage and charging voltage in the feedback circuit is usually voltage dependent.



    However, that doesn't mean that electric oscillators are never used, just that they're not used where great precision is needed. They do however have some advantages over crystal oscillators:



  • They can be easily integrated into another IC. Many microcontrollers now come with an integrated oscillator


  • They (sometimes) use less power. Often times a microcontroller will include a low power oscillator to run the watchdog timer, which uses less power than a high speed (MHz) crystal, and sometimes less power than a low speed (32.768kHz) crystal.

  • Since they can be integrated onto an IC, they can be used in places where a crystal would be far too large

  • They can be tuned fairly easily. A crystal can only really be shifted a few kHz off its calibrated frequency, but by adjusting the capacitance of the LC circuit (like with a varactor diode), the frequency can be adjusted over a fairly wide range. This means that LC oscillators can be used in circuits like PLLs or VCOs, possibly even locked to a crystal reference.


Non-mechanical oscillators are used in many devices, just not in those where accurate timing is required.






share|improve this answer



















  • 1




    The sensitivity of an oscillator to noise is inversely proportional to Q. That's part of the reason why an RC circuit would be worse than an LC circuit -- an LC circuit may have a Q of 100 or more, an RC circuit has a Q less than one, always.
    – TimWescott
    10 hours ago






  • 1




    High Q also relates to how stable the system is. A high Q oscillator has less phase noise than a low Q one, which is important for radio circuits and timing sensitive stuff (like controlling an ADC clock or DAC)
    – C_Elegans
    10 hours ago






  • 2




    " I think I assumed we can build, for a similar cost, a more accurate voltage reference than we could a mechanical oscillator". Only if you have an atomic clock handy. And some liquid nitrogen. See this link.
    – TimWescott
    10 hours ago






  • 1




    "I had thought that for any value of the damping and any value of the mass, you can choose a spring"... Yes, but increasing the spring rate increases the Q, unless you increase the damping to match.
    – TimWescott
    10 hours ago






  • 1




    I can buy easily buy a crystal oscillator TCXO that is stable to within +/-50ppb over 0° to +70°C for less than $30 one-off. A 0.6ppm/°C temperature compensated voltage reference costs more than $150. Initial tolerance is +/-1ppm vs. 0.01%. So orders of magnitude worse for 5x the cost. That's not atypical. You can easily measure frequency better than ~$10^{-10}$ accuracy (1 year), but voltage is difficult to measure better than single digit ppm accuracy (I'll include Tim's Josephson Junction laboratory standard which lives in a dewar at 4.3 Kelvin as more than difficult..)
    – Spehro Pefhany
    7 hours ago













up vote
9
down vote










up vote
9
down vote









Because the mechanical devices are much more stable than their electric counterparts. Let's compare a crystal oscillator to an LC oscillator:



Crystal:




  • Has a very high Q. According to wikipedia, a crystal oscillator has a typical Q of 10,000-1,000,000.

  • Stable with temperature. Many crystals are specified at <50ppm over their temperature range, and temperature compensated or controlled crystals are also available, down to ~1ppm with temperature

  • Manufactured to a tight tolerance. Cheap crystals are usually specified to ~25ppm, but tighter tolerances are available


LC or RC:




  • Not available as an integrated device, so must be assembled from off the shelf components (unless integrated into a mcu or similar)

  • Low Q, it's difficult to make an inductor with a Q higher than a few hundred

  • Temperature sensitive - making temperature stable inductors is difficult


  • Voltage sensitive - the threshold voltage and charging voltage in the feedback circuit is usually voltage dependent.



    However, that doesn't mean that electric oscillators are never used, just that they're not used where great precision is needed. They do however have some advantages over crystal oscillators:



  • They can be easily integrated into another IC. Many microcontrollers now come with an integrated oscillator


  • They (sometimes) use less power. Often times a microcontroller will include a low power oscillator to run the watchdog timer, which uses less power than a high speed (MHz) crystal, and sometimes less power than a low speed (32.768kHz) crystal.

  • Since they can be integrated onto an IC, they can be used in places where a crystal would be far too large

  • They can be tuned fairly easily. A crystal can only really be shifted a few kHz off its calibrated frequency, but by adjusting the capacitance of the LC circuit (like with a varactor diode), the frequency can be adjusted over a fairly wide range. This means that LC oscillators can be used in circuits like PLLs or VCOs, possibly even locked to a crystal reference.


Non-mechanical oscillators are used in many devices, just not in those where accurate timing is required.






share|improve this answer














Because the mechanical devices are much more stable than their electric counterparts. Let's compare a crystal oscillator to an LC oscillator:



Crystal:




  • Has a very high Q. According to wikipedia, a crystal oscillator has a typical Q of 10,000-1,000,000.

  • Stable with temperature. Many crystals are specified at <50ppm over their temperature range, and temperature compensated or controlled crystals are also available, down to ~1ppm with temperature

  • Manufactured to a tight tolerance. Cheap crystals are usually specified to ~25ppm, but tighter tolerances are available


LC or RC:




  • Not available as an integrated device, so must be assembled from off the shelf components (unless integrated into a mcu or similar)

  • Low Q, it's difficult to make an inductor with a Q higher than a few hundred

  • Temperature sensitive - making temperature stable inductors is difficult


  • Voltage sensitive - the threshold voltage and charging voltage in the feedback circuit is usually voltage dependent.



    However, that doesn't mean that electric oscillators are never used, just that they're not used where great precision is needed. They do however have some advantages over crystal oscillators:



  • They can be easily integrated into another IC. Many microcontrollers now come with an integrated oscillator


  • They (sometimes) use less power. Often times a microcontroller will include a low power oscillator to run the watchdog timer, which uses less power than a high speed (MHz) crystal, and sometimes less power than a low speed (32.768kHz) crystal.

  • Since they can be integrated onto an IC, they can be used in places where a crystal would be far too large

  • They can be tuned fairly easily. A crystal can only really be shifted a few kHz off its calibrated frequency, but by adjusting the capacitance of the LC circuit (like with a varactor diode), the frequency can be adjusted over a fairly wide range. This means that LC oscillators can be used in circuits like PLLs or VCOs, possibly even locked to a crystal reference.


Non-mechanical oscillators are used in many devices, just not in those where accurate timing is required.







share|improve this answer














share|improve this answer



share|improve this answer








edited 10 hours ago

























answered 10 hours ago









C_Elegans

2,175721




2,175721








  • 1




    The sensitivity of an oscillator to noise is inversely proportional to Q. That's part of the reason why an RC circuit would be worse than an LC circuit -- an LC circuit may have a Q of 100 or more, an RC circuit has a Q less than one, always.
    – TimWescott
    10 hours ago






  • 1




    High Q also relates to how stable the system is. A high Q oscillator has less phase noise than a low Q one, which is important for radio circuits and timing sensitive stuff (like controlling an ADC clock or DAC)
    – C_Elegans
    10 hours ago






  • 2




    " I think I assumed we can build, for a similar cost, a more accurate voltage reference than we could a mechanical oscillator". Only if you have an atomic clock handy. And some liquid nitrogen. See this link.
    – TimWescott
    10 hours ago






  • 1




    "I had thought that for any value of the damping and any value of the mass, you can choose a spring"... Yes, but increasing the spring rate increases the Q, unless you increase the damping to match.
    – TimWescott
    10 hours ago






  • 1




    I can buy easily buy a crystal oscillator TCXO that is stable to within +/-50ppb over 0° to +70°C for less than $30 one-off. A 0.6ppm/°C temperature compensated voltage reference costs more than $150. Initial tolerance is +/-1ppm vs. 0.01%. So orders of magnitude worse for 5x the cost. That's not atypical. You can easily measure frequency better than ~$10^{-10}$ accuracy (1 year), but voltage is difficult to measure better than single digit ppm accuracy (I'll include Tim's Josephson Junction laboratory standard which lives in a dewar at 4.3 Kelvin as more than difficult..)
    – Spehro Pefhany
    7 hours ago














  • 1




    The sensitivity of an oscillator to noise is inversely proportional to Q. That's part of the reason why an RC circuit would be worse than an LC circuit -- an LC circuit may have a Q of 100 or more, an RC circuit has a Q less than one, always.
    – TimWescott
    10 hours ago






  • 1




    High Q also relates to how stable the system is. A high Q oscillator has less phase noise than a low Q one, which is important for radio circuits and timing sensitive stuff (like controlling an ADC clock or DAC)
    – C_Elegans
    10 hours ago






  • 2




    " I think I assumed we can build, for a similar cost, a more accurate voltage reference than we could a mechanical oscillator". Only if you have an atomic clock handy. And some liquid nitrogen. See this link.
    – TimWescott
    10 hours ago






  • 1




    "I had thought that for any value of the damping and any value of the mass, you can choose a spring"... Yes, but increasing the spring rate increases the Q, unless you increase the damping to match.
    – TimWescott
    10 hours ago






  • 1




    I can buy easily buy a crystal oscillator TCXO that is stable to within +/-50ppb over 0° to +70°C for less than $30 one-off. A 0.6ppm/°C temperature compensated voltage reference costs more than $150. Initial tolerance is +/-1ppm vs. 0.01%. So orders of magnitude worse for 5x the cost. That's not atypical. You can easily measure frequency better than ~$10^{-10}$ accuracy (1 year), but voltage is difficult to measure better than single digit ppm accuracy (I'll include Tim's Josephson Junction laboratory standard which lives in a dewar at 4.3 Kelvin as more than difficult..)
    – Spehro Pefhany
    7 hours ago








1




1




The sensitivity of an oscillator to noise is inversely proportional to Q. That's part of the reason why an RC circuit would be worse than an LC circuit -- an LC circuit may have a Q of 100 or more, an RC circuit has a Q less than one, always.
– TimWescott
10 hours ago




The sensitivity of an oscillator to noise is inversely proportional to Q. That's part of the reason why an RC circuit would be worse than an LC circuit -- an LC circuit may have a Q of 100 or more, an RC circuit has a Q less than one, always.
– TimWescott
10 hours ago




1




1




High Q also relates to how stable the system is. A high Q oscillator has less phase noise than a low Q one, which is important for radio circuits and timing sensitive stuff (like controlling an ADC clock or DAC)
– C_Elegans
10 hours ago




High Q also relates to how stable the system is. A high Q oscillator has less phase noise than a low Q one, which is important for radio circuits and timing sensitive stuff (like controlling an ADC clock or DAC)
– C_Elegans
10 hours ago




2




2




" I think I assumed we can build, for a similar cost, a more accurate voltage reference than we could a mechanical oscillator". Only if you have an atomic clock handy. And some liquid nitrogen. See this link.
– TimWescott
10 hours ago




" I think I assumed we can build, for a similar cost, a more accurate voltage reference than we could a mechanical oscillator". Only if you have an atomic clock handy. And some liquid nitrogen. See this link.
– TimWescott
10 hours ago




1




1




"I had thought that for any value of the damping and any value of the mass, you can choose a spring"... Yes, but increasing the spring rate increases the Q, unless you increase the damping to match.
– TimWescott
10 hours ago




"I had thought that for any value of the damping and any value of the mass, you can choose a spring"... Yes, but increasing the spring rate increases the Q, unless you increase the damping to match.
– TimWescott
10 hours ago




1




1




I can buy easily buy a crystal oscillator TCXO that is stable to within +/-50ppb over 0° to +70°C for less than $30 one-off. A 0.6ppm/°C temperature compensated voltage reference costs more than $150. Initial tolerance is +/-1ppm vs. 0.01%. So orders of magnitude worse for 5x the cost. That's not atypical. You can easily measure frequency better than ~$10^{-10}$ accuracy (1 year), but voltage is difficult to measure better than single digit ppm accuracy (I'll include Tim's Josephson Junction laboratory standard which lives in a dewar at 4.3 Kelvin as more than difficult..)
– Spehro Pefhany
7 hours ago




I can buy easily buy a crystal oscillator TCXO that is stable to within +/-50ppb over 0° to +70°C for less than $30 one-off. A 0.6ppm/°C temperature compensated voltage reference costs more than $150. Initial tolerance is +/-1ppm vs. 0.01%. So orders of magnitude worse for 5x the cost. That's not atypical. You can easily measure frequency better than ~$10^{-10}$ accuracy (1 year), but voltage is difficult to measure better than single digit ppm accuracy (I'll include Tim's Josephson Junction laboratory standard which lives in a dewar at 4.3 Kelvin as more than difficult..)
– Spehro Pefhany
7 hours ago












up vote
4
down vote













It's not really whether inductors and capacitors can be made more precisely than a mechanical oscillator. It's whether those components can operate in a stable manner over voltage/temperature ranges. Unless you want to design all of your circuits to have a band-gap voltage reference, a thermometer, and a heating circuit to keep voltage/temperature constant, you can't get inductors and capacitors to operate anywhere nearly as stable as a crystal does.



To tune a crystal to the correct frequency during manufacturing, I'm assuming they could just polish it until it's at the right size. You can also manufacture caps and inductors as accurate as you need. The problem is that it just won't stay there.






share|improve this answer





















  • Is it important that the clock source be stable over voltage ranges? I had figured that modern electronics, like your cellphone, does have an accurate voltage reference (due to a band-gap). Stability over temperature makes more sense. There are oven-controlled crystal oscillators, so they must be sensitive to temperature as well, but to a lesser degree?
    – Gus
    10 hours ago










  • @Gus voltage range won't be nearly as important as temperature. For really accurate stuff, it makes sense to temp-control a crystal.
    – horta
    10 hours ago










  • GSM cellphones are trimmed in frequency, so the packets do not drift in timing; this ensures there always is the predicted rampup and rampdown time between packets and there never are missing or conflicting simultaneous packets.
    – analogsystemsrf
    4 hours ago















up vote
4
down vote













It's not really whether inductors and capacitors can be made more precisely than a mechanical oscillator. It's whether those components can operate in a stable manner over voltage/temperature ranges. Unless you want to design all of your circuits to have a band-gap voltage reference, a thermometer, and a heating circuit to keep voltage/temperature constant, you can't get inductors and capacitors to operate anywhere nearly as stable as a crystal does.



To tune a crystal to the correct frequency during manufacturing, I'm assuming they could just polish it until it's at the right size. You can also manufacture caps and inductors as accurate as you need. The problem is that it just won't stay there.






share|improve this answer





















  • Is it important that the clock source be stable over voltage ranges? I had figured that modern electronics, like your cellphone, does have an accurate voltage reference (due to a band-gap). Stability over temperature makes more sense. There are oven-controlled crystal oscillators, so they must be sensitive to temperature as well, but to a lesser degree?
    – Gus
    10 hours ago










  • @Gus voltage range won't be nearly as important as temperature. For really accurate stuff, it makes sense to temp-control a crystal.
    – horta
    10 hours ago










  • GSM cellphones are trimmed in frequency, so the packets do not drift in timing; this ensures there always is the predicted rampup and rampdown time between packets and there never are missing or conflicting simultaneous packets.
    – analogsystemsrf
    4 hours ago













up vote
4
down vote










up vote
4
down vote









It's not really whether inductors and capacitors can be made more precisely than a mechanical oscillator. It's whether those components can operate in a stable manner over voltage/temperature ranges. Unless you want to design all of your circuits to have a band-gap voltage reference, a thermometer, and a heating circuit to keep voltage/temperature constant, you can't get inductors and capacitors to operate anywhere nearly as stable as a crystal does.



To tune a crystal to the correct frequency during manufacturing, I'm assuming they could just polish it until it's at the right size. You can also manufacture caps and inductors as accurate as you need. The problem is that it just won't stay there.






share|improve this answer












It's not really whether inductors and capacitors can be made more precisely than a mechanical oscillator. It's whether those components can operate in a stable manner over voltage/temperature ranges. Unless you want to design all of your circuits to have a band-gap voltage reference, a thermometer, and a heating circuit to keep voltage/temperature constant, you can't get inductors and capacitors to operate anywhere nearly as stable as a crystal does.



To tune a crystal to the correct frequency during manufacturing, I'm assuming they could just polish it until it's at the right size. You can also manufacture caps and inductors as accurate as you need. The problem is that it just won't stay there.







share|improve this answer












share|improve this answer



share|improve this answer










answered 10 hours ago









horta

11.1k1637




11.1k1637












  • Is it important that the clock source be stable over voltage ranges? I had figured that modern electronics, like your cellphone, does have an accurate voltage reference (due to a band-gap). Stability over temperature makes more sense. There are oven-controlled crystal oscillators, so they must be sensitive to temperature as well, but to a lesser degree?
    – Gus
    10 hours ago










  • @Gus voltage range won't be nearly as important as temperature. For really accurate stuff, it makes sense to temp-control a crystal.
    – horta
    10 hours ago










  • GSM cellphones are trimmed in frequency, so the packets do not drift in timing; this ensures there always is the predicted rampup and rampdown time between packets and there never are missing or conflicting simultaneous packets.
    – analogsystemsrf
    4 hours ago


















  • Is it important that the clock source be stable over voltage ranges? I had figured that modern electronics, like your cellphone, does have an accurate voltage reference (due to a band-gap). Stability over temperature makes more sense. There are oven-controlled crystal oscillators, so they must be sensitive to temperature as well, but to a lesser degree?
    – Gus
    10 hours ago










  • @Gus voltage range won't be nearly as important as temperature. For really accurate stuff, it makes sense to temp-control a crystal.
    – horta
    10 hours ago










  • GSM cellphones are trimmed in frequency, so the packets do not drift in timing; this ensures there always is the predicted rampup and rampdown time between packets and there never are missing or conflicting simultaneous packets.
    – analogsystemsrf
    4 hours ago
















Is it important that the clock source be stable over voltage ranges? I had figured that modern electronics, like your cellphone, does have an accurate voltage reference (due to a band-gap). Stability over temperature makes more sense. There are oven-controlled crystal oscillators, so they must be sensitive to temperature as well, but to a lesser degree?
– Gus
10 hours ago




Is it important that the clock source be stable over voltage ranges? I had figured that modern electronics, like your cellphone, does have an accurate voltage reference (due to a band-gap). Stability over temperature makes more sense. There are oven-controlled crystal oscillators, so they must be sensitive to temperature as well, but to a lesser degree?
– Gus
10 hours ago












@Gus voltage range won't be nearly as important as temperature. For really accurate stuff, it makes sense to temp-control a crystal.
– horta
10 hours ago




@Gus voltage range won't be nearly as important as temperature. For really accurate stuff, it makes sense to temp-control a crystal.
– horta
10 hours ago












GSM cellphones are trimmed in frequency, so the packets do not drift in timing; this ensures there always is the predicted rampup and rampdown time between packets and there never are missing or conflicting simultaneous packets.
– analogsystemsrf
4 hours ago




GSM cellphones are trimmed in frequency, so the packets do not drift in timing; this ensures there always is the predicted rampup and rampdown time between packets and there never are missing or conflicting simultaneous packets.
– analogsystemsrf
4 hours ago


















 

draft saved


draft discarded



















































 


draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f409197%2fwhy-the-prevelance-of-mechanical-oscillators-in-electronic-circuits%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Accessing regular linux commands in Huawei's Dopra Linux

Can't connect RFCOMM socket: Host is down

Kernel panic - not syncing: Fatal Exception in Interrupt