Measuring and Simulating QUARTZ crystals using LTspice

  Рет қаралды 14,957

FesZ Electronics

FesZ Electronics

3 жыл бұрын

#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/Support/SPICE/Res...
www.tme.eu/Document/6527d4ac6...
www.ctscorp.com/wp-content/up...
Further reading:
ecsxtal.com/news-resources/el...
txccrystal.com/term.html
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

Пікірлер: 48
@Graham_Wideman
@Graham_Wideman 3 жыл бұрын
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.
@peasant8246
@peasant8246 7 ай бұрын
Excellent video. This channel is an underrated gem.
@wojtekkrupski8583
@wojtekkrupski8583 3 жыл бұрын
I'm embedded programmer and I want understand electronics in deep level. Your channel is very informative. Thanks a lot!
@FesZElectronics
@FesZElectronics 3 жыл бұрын
I'm happy my content is helping you! Let me know what particular subjects you are most interested in.
@hridaydas1446
@hridaydas1446 3 жыл бұрын
kzbin.info/www/bejne/d5e0qayMqrGYedU
@0x07AF
@0x07AF 3 жыл бұрын
Amazing presentation, FesZ! You really are among the very best electronics educators on KZbin.
@DavePKW
@DavePKW 4 ай бұрын
I really learned some things about crystals here. Thank you!
@codijack9577
@codijack9577 Жыл бұрын
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 :)
@AndrewKiethBoggs
@AndrewKiethBoggs Жыл бұрын
Amazing and informative video once again. Thanks Fesz!
@sebastiandeleon126
@sebastiandeleon126 7 ай бұрын
This tutorial is top quality! Thanks so much
@Stefanev
@Stefanev 3 жыл бұрын
You are the best teacher. Thanks!
@FesZElectronics
@FesZElectronics 3 жыл бұрын
Thank you! I'm happy you are enjoying the videos!
@samofohachinweuba1641
@samofohachinweuba1641 2 жыл бұрын
Hello and welcome back
@Chris_Grossman
@Chris_Grossman 2 жыл бұрын
Well done.
@placiduzzu
@placiduzzu 2 жыл бұрын
Very good!
@Arijit_VU3ICT
@Arijit_VU3ICT 3 жыл бұрын
Thank you sir...
@Lexakulir
@Lexakulir Жыл бұрын
Best!
@cyberphox1
@cyberphox1 2 жыл бұрын
👍👍 thank you
@surendrakverma555
@surendrakverma555 2 жыл бұрын
Very good 🙏🙏🙏🙏🙏
@ChaseNoStraighter
@ChaseNoStraighter 2 жыл бұрын
Nice job! I’m wonder if series load capacitors set up in a pi configuration are not more common.
@ResonantGamingOneHive
@ResonantGamingOneHive Жыл бұрын
Hey Fesz, very nice and informative video but can you elaborate or provide a schematic of the test fixture you built?
@p_mouse8676
@p_mouse8676 3 жыл бұрын
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 жыл бұрын
Right?! He seems to have this 6th sense for that kinda stuff
@FesZElectronics
@FesZElectronics 3 жыл бұрын
So my crystal ball is working :D I'm happy I can help.
@p_mouse8676
@p_mouse8676 3 жыл бұрын
@@FesZElectronics Haha, nice pun!
@alexloktionoff6833
@alexloktionoff6833 Жыл бұрын
Can you demonstrate working LTSpice simulation of Colpitts XTAL oscilator?
@krish2nasa
@krish2nasa 3 жыл бұрын
Excellent explanation, Is ESR the main component of a crystal for its energy dissipation? thank you very much.
@FesZElectronics
@FesZElectronics 3 жыл бұрын
Yes, all other elements are reactive so they do not waste energy.
@danielkohwalter5481
@danielkohwalter5481 3 жыл бұрын
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 жыл бұрын
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 жыл бұрын
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.
@LightningHelix101
@LightningHelix101 2 жыл бұрын
Da bomb
@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 Жыл бұрын
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 Жыл бұрын
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.
@SurvivalSquirrel
@SurvivalSquirrel Жыл бұрын
A 400$ tool only has a 10MHz Signal generator?
@FesZElectronics
@FesZElectronics Жыл бұрын
It used to be cheaper :D
@bogdan546
@bogdan546 Жыл бұрын
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
LTspice tutorial - simulating NTC thermistors
19:36
FesZ Electronics
Рет қаралды 16 М.
Crystal oscillator - Drive Level measurement
21:25
FesZ Electronics
Рет қаралды 21 М.
I Can't Believe We Did This...
00:38
Stokes Twins
Рет қаралды 127 МЛН
НРАВИТСЯ ЭТОТ ФОРМАТ??
00:37
МЯТНАЯ ФАНТА
Рет қаралды 1,6 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 8 МЛН
Piezoelectricity - why hitting crystals makes electricity
9:20
Steve Mould
Рет қаралды 4,5 МЛН
EEVblog #1089 - XTAL Oscillator Teardown
17:03
EEVblog
Рет қаралды 520 М.
LTspice - tips and tricks
19:29
FesZ Electronics
Рет қаралды 22 М.
The Crystal Oscillator and Frequency Division
22:58
Mr Carlson's Lab
Рет қаралды 85 М.
The RF Class C amplifier - basics and simulations (1/2)
22:18
FesZ Electronics
Рет қаралды 60 М.
Crystals and Science; energies, frequencies and vibration
10:46
Crystal Dreams
Рет қаралды 241 М.
Hacking a weird TV censoring device
20:59
Ben Eater
Рет қаралды 3 МЛН
I bought 1000 meters of wire to settle a physics debate
22:49
AlphaPhoenix
Рет қаралды 3 МЛН
C128 Crystal Power - How to test crystals in circuit.
8:12
Hey Birt!
Рет қаралды 8 М.
nanoVNA - Determining the Resonant Frequency of Crystals - VE6WGM
28:21
Gregg Messenger - VE6WO
Рет қаралды 30 М.
Xiaomi SU-7 Max 2024 - Самый быстрый мобильник
32:11
Клубный сервис
Рет қаралды 141 М.
Как бесплатно замутить iphone 15 pro max
0:59
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,6 МЛН
Сколько реально стоит ПК Величайшего?
0:37
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 939 М.