Check negative input resistance -Rneg and swing safety reserve

Check negative input resistance -Rneg and transient safety reserve

Practical measurement methods for the post "Optimising quartz crystals for ICs" - Sections F.1 - F.4, 1 and 3

To the encyclopaedia article : Matching crystals optimally to ICs

What it's all about

The negative input resistance -Rneg of an oscillator stage is the active energy source that compensates for the losses in the crystal (ESR) and increases the oscillation. The value of -Rneg directly determines how reliably a crystal oscillates - especially at low supply voltage, low temperature and in low-power MCUs whose oscillator stages are deliberately designed to be weak for efficiency reasons.

This post shows the metrological determination of |-Rneg| and the resulting oscillation safety margin in the real target system. The series resistance method described is the established test method recommended in practice by many MCU manufacturers (ST, NXP, Infineon, Microchip, Renesas, Silicon Labs).

Basic principle: transient condition

A Pierce oscillator oscillates safely if the active gain of the inverter stage outweighs the losses in the crystal circuit. Formally:

|-Rneg| > ESR_quartz (starting condition according to Barkhausen)

A safety margin is required for robust designs:

|-Rneg| ≥ 5 - ESR_quartz (industry standard)

|-Rneg| ≥ 10 - ESR_quartz (automotive / industry with wide temperature range)

The transient safety margin is expressed as a ratio:

Gain margin = |-Rneg| / ESR_quartz

Measurement principle: series resistance method

The idea is simple: If an additional series resistor Rtest is inserted into the quartz circuit, it acts like an additional loss. The oscillator only oscillates reliably as long as the sum of Rtest and ESR_quartz is less than |-Rneg|.

If Rtest is increased step by step, the critical value Rtest_krit is found at which the oscillation just starts. Then the following applies:

|-Rneg| = Rtest_krit + ESR_quartz

This means: With a single precisely measured value (Rtest_krit) and the known ESR of the quartz crystal used, the |-Rneg| of the oscillator stage in the real design is obtained directly - including all layout, temperature and VCC influences.

Measurement setup

Circuit modification

A precision resistor is inserted into the line between the crystal and one of the two capacitance nodes (usually on the XOUT side). The most common implementation:

  • Provide a pad for a 0402 or 0603 SMD resistor in series with C2 on the circuit board (usually fitted with 0 Ω in the series layout).
  • For boards that have already been manufactured: Cut the conductor track and insert a plug-in resistor via a small wire loop.
  • Alternatively, use a precision potentiometer with a known calibration curve (caution: parasitic capacitance of the potentiometer can influence the operating point).

Equipment

  • Set of precision resistors 0402 / 0603 in narrow steps: 0 / 10 / 22 / 47 / 68 / 100 / 150 / 220 / 330 / 470 / 680 / 1000 Ω, tolerance ±1 %
  • Fine soldering station and tweezers for quick exchange
  • Oscilloscope with active FET probe at XOUT (to check whether the oscillation has actually started)
  • Controllable power supply (for VCC variation), optional temperature chamber

Perfection

  1. Output state: Rtest = 0 Ω. Switch on circuit, confirm oscillation on oscilloscope. Note amplitude and start time.
  2. Increase Rtest step by step (e.g. 47 Ω → 100 Ω → 150 Ω → 220 Ω → ...). After each replacement: Switch off the circuit completely, wait 5 s, then switch on.
  3. Check whether the oscillator starts to oscillate. Yes/no decision based on the amplitude at XOUT after 100 ms (MHz quartz) or 2 s (32.768 kHz quartz).
  4. Perform at least 10 switch-on processes per Rtest stage - the oscillation must start reliably in each individual test.
  5. Note the highest Rtest value at which the oscillation starts reliably in all 10 tests: Rtest_pass.
  6. Note the lowest Rtest value at which the oscillation no longer starts reliably: Rtest_fail.
  7. Rtest_krit lies in this interval. For precise values, measure intermediate stages (e.g. between 220 Ω and 330 Ω: 240, 270, 300 Ω).
  8. |Calculate Rneg|: |-Rneg| = Rtest_crit + ESR_quartz.

Important boundary conditions:

Inserting Rtest slightly changes the operating point of the oscillator. At very low |-Rneg|, this effect can cause a systematic error of 5 - 10 %. This is not a problem for relative comparisons (e.g. crystal A vs. crystal B on the same board).

The load capacitance changes minimally with Rtest because the resistor slightly shifts the phase relationship between the crystal and C2. For the usual values Rtest < 1 kΩ, this effect is < 0.5 pF and therefore negligible.

Characterisation via temperature and VCC

|-Rneg| is not constant, but decreases with falling VCC and - for many MCUs - with low temperature. The complete characterisation is therefore carried out using a measurement matrix:

ConditionVCCTemperature|-Rneg| typ. (relative to +25 °C/Vnom)
ReferenceVnom+25 °C100 %
ColdVnom-40 °C70 - 90 %
WarmVnom+85 °C85 - 100 %
Low VCCVmin+25 °C60 - 80 %
Worst-CaseVmin-40 °C40 - 70 %

In the worst-case scenario (usually Vmin and -40 °C), the swing safety margin must still comply with the design target value (gain margin ≥ 5 or ≥ 10).

Example calculation

Application: 16 MHz quartz, ESR_max (data sheet) = 40 Ω. MCU specification: ESR_max permitted = 60 Ω.

Measurement results in the circuit at +25 °C, Vnom:

RtestSwing in 10 out of 10 attempts?
220 Ωyes
270 Ωyes
300 Ωyes
330 Ω8 of 10
390 Ω2 of 10
470 Ω0 of 10

Result: Rtest_crit ≈ 300 Ω (highest value with 100% success rate).

|-Rneg| = 300 Ω + 40 Ω = 340 Ω

Gain margin = 340 / 40 = 8.5

Rating: Very comfortable reserve at +25 °C. Repetition at -40 °C / Vmin resulted in Rtest_krit = 120 Ω → |-Rneg| = 160 Ω → Gain-Margin = 4.0. This fulfils the industrial requirement (≥ 3) and is just below the strict automotive requirement (≥ 5). For automotive approval: Use a crystal with a lower ESR or higher frequency so that a gain margin of ≥ 5 is also achieved in the worst-case scenario.

Second method: Impedance measurement with the oscillator switched off (analytical)

An analytical alternative is to determine the input impedance of the oscillator input in the active state, but without the crystal. This only makes sense in laboratory environments with a network analyser and is usually only used in practice by IC manufacturers for data sheet characterisation.

For the developer in the field, the series resistance method remains the method of choice: it measures |-Rneg| exactly under real operating conditions, including all layout and environmental effects.

Evaluation criteria of the swing safety reserve

Gain margin (|-Rneg| / ESR)RatingRecommended use
< 3insufficientrework design - lower ESR, stronger oscillator or improve layout
3 - 5acceptableIndustry standard, commercial temperature range
5 - 10goodIndustry extended, robust consumer products
> 10very goodAutomotive, medical technology, wide temperature and service life ranges

Measures to take if the reserve is too low

  • Select a crystal with a lower ESR (LRT technology) or, if necessary, with a higher frequency.
  • Reduce the load capacitance CL (if permitted by the IC) - a smaller CL usually results in a higher |-Rneg|, but also a higher pull-in sensitivity in ppm/pF. In this case, C1 and C2 should be selected with a tolerance of ±1%, especially for wireless applications.
  • Set oscillator gain level in MCU register to higher level (if configurable)
  • Improve layout: shorter lines, dedicated GND island, no signals under the crystal
  • Reduce C1 and C2 - reduces capacitive load and increases |-Rneg| (limit: CL specification must still be met)

Further development

The theoretical derivation of the negative input resistance, the Barkhausen starting condition and the required safety margins are described in detail in the practical guide "Matching crystals optimally to ICs" (sections F.1 to F.4 as well as 1 and 3). This post shows the specific laboratory measurement - the central method with which you can verify the statement of the guide on your real design.

<p

<p>
You have questions about implementation

Our frequency experts will support you in selecting the right crystal, taking measurements in your circuit and providing design-in support through to series release.

  • Request technical advice
  • Discuss your application with us
  • Define and order a sample crystal
  • Request an alternative via cross reference

Phone: +49 8191 305395 Email: info@petermann-technik.de

Your success is our goal.

Telephone contact

Our frequency experts are there for you

Call now

Write to us

Send us an e-mail - we will be happy to help you

Write an e-mail now
Webshop