Crystal oscillator - Frequency measurement

Поделиться
HTML-код
  • Опубликовано: 3 дек 2024

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

  • @DarianCabot
    @DarianCabot 3 года назад +6

    Years ago I had all sorts of accuracy issues with the PCF8563 RTC despite trying different crystals. The issue was exactly as you described, inaccurate calculation of the stray capacitance. Great tip about indirect near field measurement 👍 Awesome video as always

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

      To be honest, I placed a 10p cap in that circuit purely by accident; it wasn't really a measured or calculated value - while making this video I was really surprised just how accurate the circuit was

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

    Boy, do you make this complicated!!! I love your work.

  • @t1d100
    @t1d100 3 года назад +3

    This information is sooo good; thank you! I use 20MHz pill can crystal oscillators with x2 22pF ceramic caps for PIC18F4550 projects. I have noticed that, when proofing these oscillators on my DIY Colpitts oscillator test circuit, before installing them, they all seem to run a little slow... and about the same amount. Even though the MCU has never complained, now, I know why the oscillator is slow and what to do about it. Of course, any correction should be based on the conditions when the oscillator is mounted within the MCU circuit, not in the Colpitts tester. FesZ, we really appreciate you!

  • @mohammedftouni6209
    @mohammedftouni6209 3 года назад +7

    Thanks. Great video as always. Just a small note; the “capacity” of the capacitor is referred to as “capacitance” thats just to keep it in the same form of resistance and inductance.

  • @hedleyfurio
    @hedleyfurio 3 года назад +8

    Another great video 👍we often overlook the devil in the detail and just place data sheet caps with scant understanding of why .

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

    I salvage lots of crystals from old electronics and I've been looking for a way to reuse them in the absence of a datasheet. Your video is the best source of information on this that I've been able to find, so thanks!

  • @shyleshsrinivasan5092
    @shyleshsrinivasan5092 3 года назад +4

    Great video and to the point ! Thanks a lot !

  • @niklaswennerstrand1010
    @niklaswennerstrand1010 3 года назад +5

    Here is another additional rule of thumb to use when designing and validating an oscillator design:
    Check the frequenzy at the extreme ends of the temperatures and voltages of your device under test (DUT).
    Measure at the maximal voltage and lowest temperature specified by your DUT.
    Measure at minimal voltages and highest temperature specified by your DUT.
    This way you will stay within specification even if voltages and temperatures changes.

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

    Great video, another detailed topic explained very clearly 🙂

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

    My crystal osc wouldn't start in cold.
    MicroChip engineers suggested to use one 20pF and one 22pF capacitors instead of 2x20pF for a 4MHz xtal.
    Worked fine after that.

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

      When you lower the temperature, the gain of the amplifier increases; you may also have a drive level/distortion issue. Anyway, I did read that having different values will help with the phase shift of the network and is recommended when startup is an issue.

  • @turkalpkucur
    @turkalpkucur 7 дней назад +1

    thank you

  • @0mnis14sh
    @0mnis14sh 2 года назад +1

    Learned a lot, thanks.

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

    clear & concise. Cheers!

  • @jozefnovak7750
    @jozefnovak7750 8 месяцев назад

    Thank you very much!

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

    Nice video..!! Thanks..!!

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

    I would go with the high impedance buffer connected permanently to the crystal circuit. Characteristic impedance of the circuit will continuously change if you move beside it anyways, not to mention the other variables like pressure, humidity, and temperature. Also there is the option of using mismatched loading caps. I've seen it used in few circuits.

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

      I'm not sure if there is a practical buffer that has a lower added capacity than a piece of coax floating at ~1cm from the circuit; and leaving the buffer there after the measurements is not really practical either. Pressure/humidity/temp will have an impact, but its not like anything can be done about this... I mean, the final circuit will see these parameters vary unless the whole circuit is put into an airtight temperature controlled box (like a TCXO).
      I did mention using the mismatched capacitors, keeping the large one on XO, I think...

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

      @@FesZElectronics your videos are a great inspiration. Since we never draw any practical power from the Oscillator circuit, we do keep the buffer as first line of signal extrapolation due to high input impedance. Therefore, that's why we keep the buffer in circuit. Please don't be intimidated, and keep up the good work. I love your videos because they fringe on the black magic design. I miss this all too much.

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

      I guess you are referring to the case where the oscillator is built from discrete components and there is some sort of interface between this circuit and the next one where the signal is used - then of course a buffer will be needed and that can be used for the measurements; In the cases that I measured (the RTC and the USB codec) the oscillator and subsequent circuits where all inside of the same IC package; only the crystal and capacitors where external so the oscillator clock didn't have to go anywhere else (outside of the first IC) - that is why I didn't use a buffer based circuit

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

    Hello how can I measure quartz watches crystal outside of the watch?
    Thank you

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

    You could also use oscilloscope frequency counter

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

      Indeed, that is also a valid way of measuring, as long as the oscilloscope has a good enough counting resolution. I noticed that not all oscilloscopes have a good enough measurement resolution to achieve the multiple digits needed for quartz measurements.

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

    Nice video, thanks :)

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

    hello my friend I need help!
    I wanna to make a circuit that increases milivolt changes to volts I seen some circuits like exponential converters but they are noisy are there any circuit replacement for that thanks....

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

      Discrete or IC instrumentation amplifier will do the job

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

    i have an idea for the video :D for example how to match a desired frequency from a transmitter by using LC tanks (and how to chose values to have a perfect match) with a receiver :D (no ICs or crystals etc.)

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

    so actually from my 4 MHz quartz crystal i could get for example 27 MHz ? There is no specificiation for my crystal because it is from Aliexpress ...

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

      Not really - the frequency that you can adjust by the added capacitors is usually ~+/-200ppm - for 4MHz that is +/-800Hz;

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

      @@FesZElectronics I understand how to get -X ppm, but how to get +X ppm? Need negative capacitance?

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

      @@SaihoS1 Well if you don't add any capacitors you will be at the series resonant frequency - some amount of +ppm; and if you add an infinite amount of load capacity you end up at the parallel resonant frequency - again some amount of -ppm; the crystal specifies a load capacitance - if you add less, you have positive ppm, if you add more, you have negative ppm (in reference to the desired value)

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

      @@FesZElectronics Now it is clear. You consider 0 ppm @ the recommended Cload.