Measuring and Simulating QUARTZ crystals using LTspice

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024
  • #126 #ltspice
    In this video I look at how quartz crystals can be modeled using LTspice. Considering there are not a lot of available models out there, afterwards I look at how the necessary parameters can be measured on practical components.
    More videos on crystals:
    LTspice Crystal modeling: • Measuring and Simulati...
    Oscillation frequency measurement: • Crystal oscillator - F...
    Drive level measurement: • Crystal oscillator - D...
    Negative resistance measurement: • Crystal oscillators - ...
    Datasheets used:
    abracon.com/Su...
    www.tme.eu/Doc...
    www.ctscorp.co...
    Further reading:
    ecsxtal.com/ne...
    txccrystal.com...
    LTspice Tutorial series:
    EP1-Getting started:
    • LTSpice Tutorial - EP1...
    EP2-AC simulation and the Baxandall tone control circuit:
    • LTspice tutorial - EP2...
    EP3-.param and .step directives:
    • LTspice tutorial - EP3...
    EP4-How to import libraries and component models: • LTspice tutorial - EP4...
    Ep5- Stock example simulations to play with: • LTspice tutorial - Ep5...
    Ep6- Basics of FFT analysis and .four statment: • LTspice tutorial - Ep6...
    EP7- Dependent voltage and current sources
    • LTspice tutorial - Ep7...
    Ep8- Turning a datasheet into a component model
    • LTspice tutorial - Ep8...
    EP9- Independent voltage and current sources
    • LTspice tutorial - Ep9...
    Ep10- .wave statement and audio file processing
    • LTspice tutorial - Ep1...
    Ep11 The effect of temperature on your circuit
    • LTspice tutorial - The...
    EP12 Modeling a DC brushed motor
    • LTSpice Tutorial - Mod...
    Ep13- Worst Case, Monte Carlo and Gaussian statistics circuit analysis
    • LTspice tutorial - Wor...
    EP14 - Digital circuits and logic gates • LTspice tutorial - Dig...
    EP15- SMPS EMI and electrical noise and filters
    • LTspice tutorial - SMP...
    EP16- Feedback loop simulation
    • LTspice tutorial - Fee...
    Ep17 - Verifying Simulation Models
    • LTspice tutorial - Sim...
    Ep18 - Simulating Capacitors
    • LTspice tutorial - Sim...
    Ep 19 - Simulating Inductors
    • LTspice tutorial - Sim...
    EP 20 - Noise simulations
    • LTspice tutorial - Noi...
    Ep21 - Models and Libraries
    • LTspice Tutorial - Cre...
    Ep22- Voltage and current limited source
    • LTspice Tutorial - Vol...
    Ep23- Measuring Power Factor
    • LTspice tutorial - Mea...
    Ep24 - Modeling a vacuum tube triode
    • LTspice tutorial - Mod...
    Ep25- Using standard symbols
    • LTspice tutorial - Re-...
    Ep26- Modeling transformers
    • LTspice tutorial - Mod...
    Ep27 - Stepping sets of parameters
    • LTspice tutorial - Ste...
    EP28 - Simulating Quartz crystals
    • Measuring and Simulati...
    Special Thanks to all my supporters on Patreon! Especially @afiskon and Ralf B.!
    If you liked this video be sure to check out my other videos and you can also subscribe to be up to date with all the new ones!
    If you want to support the creation of more and better videos please consider checking out: / feszelectronics

Комментарии • 49

  • @LindaT-k9i
    @LindaT-k9i 11 дней назад +1

    Thank you for creating such an insightful video on quartz crystals. its rare to find content like this! it helps to understand crystal better. and uses LT spice better.

  • @Graham_Wideman
    @Graham_Wideman 3 года назад +17

    Man, you keep on hitting the topics that overlap with areas I work in, but don't always have time to dig into as deeply as I would like.

  • @wojtekkrupski8583
    @wojtekkrupski8583 3 года назад +9

    I'm embedded programmer and I want understand electronics in deep level. Your channel is very informative. Thanks a lot!

    • @FesZElectronics
      @FesZElectronics  3 года назад +2

      I'm happy my content is helping you! Let me know what particular subjects you are most interested in.

    • @hridaydas1446
      @hridaydas1446 3 года назад

      ruclips.net/video/AfQxyVuLeCs/видео.html

  • @peasant8246
    @peasant8246 10 месяцев назад +2

    Excellent video. This channel is an underrated gem.

  • @0x07AF
    @0x07AF 3 года назад +7

    Amazing presentation, FesZ! You really are among the very best electronics educators on RUclips.

  • @codijack9577
    @codijack9577 Год назад +1

    The best explanation I have ever seen! Your series about electronics and the way of explanation is very communicative and easy to understand. Keep on going and ... stay academic teacher :)

  • @DavePKW
    @DavePKW 6 месяцев назад +1

    I really learned some things about crystals here. Thank you!

  • @AndrewKiethBoggs
    @AndrewKiethBoggs 2 года назад +1

    Amazing and informative video once again. Thanks Fesz!

  • @sebastiandeleon126
    @sebastiandeleon126 9 месяцев назад +1

    This tutorial is top quality! Thanks so much

  • @Stefanev
    @Stefanev 3 года назад +2

    You are the best teacher. Thanks!

    • @FesZElectronics
      @FesZElectronics  3 года назад +1

      Thank you! I'm happy you are enjoying the videos!

  • @p_mouse8676
    @p_mouse8676 3 года назад +2

    It's getting kind of creepy. Once again we are working on exactly the same subject, haha.
    I was just diving into the same subject to make a 6Mhz simple sine wave generator.
    Well explained video, thanks 👍🏻😎

    • @lad4694
      @lad4694 3 года назад +1

      Right?! He seems to have this 6th sense for that kinda stuff

    • @FesZElectronics
      @FesZElectronics  3 года назад +1

      So my crystal ball is working :D I'm happy I can help.

    • @p_mouse8676
      @p_mouse8676 3 года назад

      @@FesZElectronics Haha, nice pun!

  • @samofohachinweuba1641
    @samofohachinweuba1641 2 года назад +1

    Hello and welcome back

  • @ResonantGamingOneHive
    @ResonantGamingOneHive Год назад

    Hey Fesz, very nice and informative video but can you elaborate or provide a schematic of the test fixture you built?

  • @ChaseNoStraighter
    @ChaseNoStraighter 2 года назад

    Nice job! I’m wonder if series load capacitors set up in a pi configuration are not more common.

  • @Chris_Grossman
    @Chris_Grossman 3 года назад +1

    Well done.

  • @Arijit_VU3ICT
    @Arijit_VU3ICT 3 года назад +2

    Thank you sir...

  • @alexloktionoff6833
    @alexloktionoff6833 Год назад

    Can you demonstrate working LTSpice simulation of Colpitts XTAL oscilator?

  • @danielkohwalter5481
    @danielkohwalter5481 3 года назад +1

    Very nice videos! Keep going!
    What about make the same parameter identification with more common equipment like a signal generator and an oscilloscope? How would you do it? What are the caveats?

    • @FesZElectronics
      @FesZElectronics  3 года назад +1

      As long as the signal generator can provide the necessary frequency step, the measurement can be done that way also. The setup would be the same - inject the signal from the generator to the quartz trough a known resistor and measure the signal being injected and the signal on the quartz with the oscilloscope. You need to step the frequency in fine paces, and them measure the amplitude ratio and phase difference between the 2 channels. See this document from tektronix on the topic - download.tek.com/document/75W_28152_1.pdf They explain measuring inductors and capacitors, but its the exact same principle.

    • @danielkohwalter5481
      @danielkohwalter5481 3 года назад

      @@FesZElectronics great! thank you very much for the attention. I think maybe a video with basically the content of the tektronics document will be a good video for the channel, right? People will identify themselves more because you are using hardware that they have. I don't know if the logic is right but I'm just trying to help as you helped me with your videos.

    • @FesZElectronics
      @FesZElectronics  3 года назад +1

      Hello Daniel! I guess at some point I will do a video on how to make bode plots without a network analyzer, since as you correctly said, not a lot of people have one of those. Thank you for this suggestion!
      In the mean time, I guess you can also see www.ti.com/lit/an/snva364a/snva364a.pdf?ts=1625457754591
      Its a document by Texas Instruments about loop measurements, but the same principle applies - injecting a signal and measuring the phase shift and amplitude difference.

    • @danielkohwalter5481
      @danielkohwalter5481 3 года назад

      @@FesZElectronics yeah. A while back I made a python script that automatizes it. It set parameters on my (very cheap) signal generator and reads the data on the oscilloscope, both via usb. Then it stores the raw data: the input and output of the system (channel 1 and 2 of the oscilloscope) for each frequency but it is quite slow. Anyway it do the job. After this I take the raw data and post process it, using parameter estimation techniques to extract the gain and phase and plot or export this data. The only problem is that it's too slow, taking little bit less than 1s for each data point.
      But thanks for the attention and, again, congratulations for the excellent job here on youtube! :)

    • @FesZElectronics
      @FesZElectronics  3 года назад

      In my experience the biggest issue with this method of extracting parameters is extracting the phase shift, especially if there is a lot of noise - for example when measuring the loop response of a switching converter. I'm not sure what method you are using for the data processing but a while back I found some formulas to process a set of points to extract the gain and phase difference using an FFT algorithm - www.analog.com/en/technical-articles/ltspice-extracting-switch-mode-power-supply-loop-gain-in-simulation-and-why-you-usually-don-t-need.html its somewhere in the middle of the page. I implemented this in an older LTspice tutorial and it worked. I guess that even if it takes ~1sec per point, its still faster than doing it by hand.

  • @cyberphox1
    @cyberphox1 2 года назад +1

    👍👍 thank you

  • @krish2nasa
    @krish2nasa 3 года назад

    Excellent explanation, Is ESR the main component of a crystal for its energy dissipation? thank you very much.

    • @FesZElectronics
      @FesZElectronics  3 года назад +2

      Yes, all other elements are reactive so they do not waste energy.

  • @surendrakverma555
    @surendrakverma555 2 года назад +1

    Very good 🙏🙏🙏🙏🙏

  • @placiduzzu
    @placiduzzu 2 года назад

    Very good!

  • @Lexakulir
    @Lexakulir Год назад

    Best!

  • @alexgreysukh4875
    @alexgreysukh4875 Год назад

    If possible, could you please refer to how you have derived the motion capacity formula from 2 parallel resonance frequencies (11:50)? Using a common quarts parallel resonance frequency formula, I am getting another expression...

    • @FesZElectronics
      @FesZElectronics  Год назад +1

      I think the source for these formulas was "The Art of Electronics" 3rd Edition. Chap 7.1.6 - section B pg 444-445 - There is a footnote with them.

    • @alexgreysukh4875
      @alexgreysukh4875 Год назад

      @@FesZElectronics Yes, the reference is exactly there. They do not derive it however and I suspect that a small frequency shift approximation is used - I will try again. Thanks a lot!

    • @FesZElectronics
      @FesZElectronics  Год назад +1

      I will be honest, I did not check how the formula was derived, I just trusted the source; In general all sorts of simplifications are used when deriving nice simple formulas. In the end its all about how accurate the result is - may I ask if starting from the same values, is there a significant result difference using your equations?

    • @alexgreysukh4875
      @alexgreysukh4875 Год назад

      @@FesZElectronics I agree with your point and the approach. Ideally, when an author comes up with a result, mentioning assumptions might be useful if a reader needs to use it. I will plug in the values and let you know if discover a noticeable discrepancy. P. Horowitz's book is a trustable source.

    • @alexgreysukh4875
      @alexgreysukh4875 Год назад

      And I forgot to thank you again for the great work you do for the tutorials. :-)

  • @paulpaulzadeh6172
    @paulpaulzadeh6172 3 года назад

    you didn't put jitter model inside model ? did you ??

    • @FesZElectronics
      @FesZElectronics  3 года назад

      Nope; I just focused on the resonance frequencies.

  • @LightningHelix101
    @LightningHelix101 3 года назад

    Da bomb

  • @SurvivalSquirrel
    @SurvivalSquirrel Год назад

    A 400$ tool only has a 10MHz Signal generator?

  • @bogdan546
    @bogdan546 2 года назад

    I tried to simulate a colpitts oscillator with 100Mhz quartz oscillator, but I failed . I did a quartz model that function in simulate but it not funnction in colpitts oscilator . The colpitts oscilator is that presented in @devttys0 cannel for 12Mhz but I tried to adapted it for 100Mhz and I do not had success