Professional Documents
Culture Documents
Abstract — Crystal oscillators are usually implemented using drive a small current. These oscillators can be set to generate a
Pierce´s configuration due to its high stability, small amount of highly accurate clock signal with a few tens of ppm/oC
components, and easy adjustment. With technology development stability, required for precision functions such as: input capture
and device shrinking, modern microcontroller embedded timers for period measurement; period generation for delay,
oscillators include all network components integrated on chip to timing, and schedulers; timeout comparison for PWM,
attend cost-effective designs supporting both crystals and ceramic watchdog, etc.; and to define A/D and D/A conversion rates.
resonators. This fact makes the oscillator more sensitive to
feedback network load and strays related to the ESD protections The excellent performance of Pierce crystal oscillators is
required at the external crystal I/O pins. Robust applications seriously affected if used in applications under powerful Radio
such as industrial, automotive, biomedical, and aerospace require Frequency (RF) interference. Hence, this cost-effective solution
aggressive EMC qualification tests where high power RF can be disturbed with a high probability occurrence of harsh
interference is injected causing jitter, frequency deviation, or errors or just stopping to work in extreme cases. The literature
even clock corruption that traduces in severe faults at system reports several effects of RF interference predicting induced
level. This work discusses the impact of RF interference on failures in complex circuits. For instance, in [8] is presented an
crystal oscillators. A theoretical load factor analysis is proposed interesting work about multi-oscillation mode causing
and compared to experimental results obtained from a 0.35μm oscillation locks. The references [6-11] perform analysis
CMOS silicon test vehicle. Finally, a test strategy for
regarding general noise sources considering aspects as phase
microcontrollers and complex SoCs is presented.
and 1/f noise [6,9], jitter [10] and substrate noise [11]. Reported
Keywords – Crystal Oscillators, RF Fault Injection, EMC. works related to RF interference are focused on disturbing
effects [12] in digital circuits caused by change in inverter trip-
point and induced delays in logic gates [9,10]. References [12-
I. INTRODUCTION 14] analyze aspects of RF interference being applied on analog
During several decades Pierce´s oscillator [1,2] have been circuits such as comparators (or op-amps) and voltage/current
widely used to built clock circuits for microcontrollers (MCUs) references through the changes in its bias points [6,7]. Some
and several Systems on Chip (SoC). In usual configuration, the other aspects related to susceptibility to the interference in ICs
crystal is often mounted close to the MCU clock pins with a are presented in [9] depending on the severity of the test
small network composed by two capacitors (C1 and C2) tied to method (i.e., IEC 62132). Regarding exclusively oscillators, the
ground, and a resistor connected in parallel with the crystal; the method proposed in [19] for RF interference is more
resistor is intended to control crystal drive current and avoid appropriate for non-harmonic oscillators. References [21, 22]
overstress and signal distortion in high order harmonics. This explore the effects of low level of RF interference. Therefore,
configuration guarantees great stability if well designed using there is a lack of studies on harmonic oscillations under strong
either crystals or ceramic resonators. It is also easy to adjust by RF interference.
changing the feedback network components according to the
The present work examines the impact of interference and
manufacturer parameters.
loading on the Pierce´s oscillators feedback network and its
With the technology shrink and extensive use of MCUs in influence on the frequency precision, including jitter and
cost-effective applications, the market for on-chip network modulation as well as failure mechanisms that might cause
components glowed, even at noisy environments such as upsets under extreme high RF power applied at substrate
industrial and automotive [3-7]. In this way, to keep a cost- resonance range (that is given by tuning the substrate
effective design, the load capacitors are smaller and sometimes inductance LSUB with the parasitic junction capacitances).
comparables to the I/O pad capacitances or to the capacitance
This work is organized as follows: Section I and II briefly
associated with the ESD structures used to protect the pins.
study the effect of RF interference on Pierce´s crystal
In addition, power management constrains for low power oscillators, to identify sources and paths of interference, the
applications requires that the crystal feedback amplifier impact on frequency and stability, and several fault conditions
operates at very low current levels, making the crystal to also in applications. Section III describes a theoretical analysis
This work was partially sponsored by FAPESP and CNPQ/Brazil
,(((
Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO RIO GRANDE DO SUL. Downloaded on October 23,2022 at 21:16:39 UTC from IEEE Xplore. Restrictions apply.
Figure 1. (A) Pierce´s crystal oscillator, and (B) its main parasitics.
Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO RIO GRANDE DO SUL. Downloaded on October 23,2022 at 21:16:39 UTC from IEEE Xplore. Restrictions apply.
(considering a logic inverter) or changing the bias point that rectification) causing expressive change in the closed loop gain
will reflect on loop stability conditions. Frequency deviation with harmonics generation that will be processed by the
due to trip-point shift and jitter will be induced. amplifier. Note that when VN reaches one of the inverter
thresholds the system collapses and the oscillation stops.
B) High interference level
As discussed before, when the interference is under case
Failure mechanism: Rectification and clock corruption (A), it is not easy to predict the oscillation deviation in an easy
Condition: |VRF-sub | VDD/k-VD (k 2) way. A possible method is to analyze the effects on the
feedback network from the loading point of view. Since the
In this case the RF interference has now enough amplitude Pierce oscillator works with a positive reactance [5], the
to put the ESD protections in the forward bias region. Thus, relationship between the parallel and series resonance elements
rectification phenomena will occur and the load capacitances should be explored.
will increase the average value at the input of the inverter
amplifier (trip-point change, considering a logic inverter) The oscillation frequency for series mode depends only on
carrying it out of the linear operation region until it reaches one the capacitance CS1 and inductance LS1, and is given by:
of the thresholds to switch its output to a permanent state. 1
f OSCSERIES (3)
The first failure mechanism is very important because it can 2S LS 1C S 1
cause unexpected errors in the system. It is not easily
identified, and cannot be predicted or fixed. The second failure The oscillation frequency for parallel mode is affected by
mechanism is clearly easy to identify since a severe issue in the the parallel crystal capacitance (C0) and the load capacitance
system occurs; for instance, during Directly Power Injection associated with the feedback network. It can be expressed by:
(DPI) test when the equipment is looking for the maximum 1
f OSCPARALELL
susceptibility point. Next section proposes an innovative C0 C L (4)
analysis based on a new load factor definition to correlate the 2S LS 1C S 1
C S 1 C0 C L
frequency deviation with the loading induced by RF
interference. The load capacitance (CL) is composed by the equivalent
capacitance at the nodes 1 and 2 (C1 and C2 in series), the stray
III. INTERFERENCE ANALYSIS THROUGH LOAD FACTOR capacitance (CSTRAY), and the device unit inter pin-out parasitic
capacitance (some authors also include the board inter tracks
An interference analysis of the RF injection to the nodes of parasitic capacitance). Thus, CL is:
the circuit on Fig. 4 considers the noise coupled just onto the
sensitive nodes. The RF interference is represented by (VRF, CL C12 C STRAY CU (5)
ZRF) coupled to node N via ZC (i.e., substrate coupling) or via
ZF (i.e., flag or “die pad”) where VRF and VX are complex where C12 is given by:
signals. Assuming these sources can be expressed by their C1C 2
complex Fourier series as: C12 (6)
C1 C 2
f f
2S
¦A ¦A
j nZ t j nZ t The relationship between the parallel and series mode
V RF (t ) RF e , V X (t ) X e ,Z 2Sf (1)
n f n f T oscillation frequency is found combining Eqs. (3) and (4):
the current across the node N is given by IN=IX+IRF where IX C S1
represents the normal operation component and IRF the f OSCPARALELL f OSCSERIES 1 (7)
(C 0 C L )
interference component. Applying the interference analysis
described in [11], the VN voltage can be expressed using an Expression (7) shows that the parallel resonant mode occurs
average constant 1/T with T>TRF regarding the offset due to RF very close to the series mode oscillation frequency, ands its
interference as: proximity is affected by the load conditions. Hence, the term
~ ~ ~ inside the radix is very small. Some authors [5] expand this
VN (Z ) S X V X (Z ) S CVRF (Z ) (2) term in Taylor´s series disregarding high order terms, obtaining
the following approximation:
where SX and SC are constants for a certain frequency and VX
and VRF are averaged voltages. Notice the amplifier was § C S1 ·
modeled as H(). This signal returns to node N via the f OSCPARALELL f OSCSERIES ¨¨1 ¸¸ (8)
© 2 (C 0 C )
L ¹
feedback network represented by F() that includes the crystal
resonator. Expression (8) is accurate enough to describe the frequency
Under condition (A), the block H() could be considered as dependence with hundreds of ppm deviation. Now, replacing
operating in the linear region allowing oscillation if the loop CL by Eq. (5), the feedback network components can be
gain is enough to guarantee the overall phase shift that satisfies included as follows:
the oscillation condition [3,5]. In this case the interference
§ C S1 ·
affects the closed loop gain and the poles position. So, it might f OSCPARALELL f OSCSERIES ¨¨1 ¸¸ (9)
cause instability and impact the start-up time. Under condition © 2 C12 C 0 C STRAY C
U ¹
(B), the block H() has a non linear behavior (due to
Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO RIO GRANDE DO SUL. Downloaded on October 23,2022 at 21:16:39 UTC from IEEE Xplore. Restrictions apply.
Isolating and combining all parallel components in a CP Once all capacitances have been normalized in relation to
term, and normalizing the relation to C0 by the parameter p: C0, replacing (10) and (19) in (11), yields:
CP C0 C STRAY CU (1 p )C 0 (10) § ·
¨ ¸
f OSCPARALELL ¨1 C S1 ¸
Eq. (8) can be defined in terms of the load components as: ¨ (20)
f OSCSERIES ª D º¸
¨ 2« xC0 (1 p )C 0 » ¸
§ CS1 · © ¬D 1 ¼¹
f OSCPARALELL f OSCSERIES ¨¨1 ¸¸ (11)
© 2C12 C
P ¹
By simple algebra, Eq. (20) can be rewriten as:
Notice the load capacitors at nodes 1 and 2 could be
different by design imposition or mismatch. Thus, one can f OSCPARALELL 1ª D 1 º C S1
1 «
2 ¬ D ( x p 1) p 1»¼ C 0
(21)
represent them by: f OSCSERIES
C2 DC1 (12) Eq. (21) provides the relationship between the parallel and
series oscillation frequency regarding all network components
where is the ratio between the capacitances. Replacing Eq. parameterized to C0. From Eq. (21), one can extract a load
(12) in (6) to get C12 in terms of C1 gives: factor term (LF) to concatenate all network load influence
defined by:
C1DC1 D
C12 C (13)
C1 DC1 D 1 1 1 D 1
LF (22)
2 D ( x p 1) p 1
Defining the set of capacitances associated with node 1 as
formed by a fix part (CFIX) related to a fix capacitance, and a where constant parameter p represents the stray and device
variable part CD related to reverse junction capacitances, then: capacitance, sometimes already computed in C0 by some
manufacturers or designers. On robust designs p << 1, thus,
C1 C FIX C D (14) with enough ppm accuracy, Eq. (22) reduces to:
1 D 1
The fix capacitance term includes the external (C1EXT), the LF | (23)
internal (C1INT), and the pad capacitance (board capacitance are 2 D ( x 1) 1
considered into external one). The relation among them can be Eq. (23) is plotted in Fig. 5 as a surface in terms of C2/C1
normalized with regard to C0 by the ratio f, as: ratio with node capacitance as a function of C0. Note that load
factor have more variation for a heavy x due to large
C FIX C1EXT C1INT C PAD fC 0 (15) capacitance increments on nodes 1 or 2. C2/C1 ratio introduces
weak variation on load factor LF.
Note CD is related to the reverse voltage applied to the
junctions at the ESD protection structures located at XTAL1 Finally, the relation between the Pierce´s crystal oscillation
and XTAL2 I/O pins. In this analysis, a typical rail based mode in terms of the load factor is given by:
connection will be considered; the diodes in reverse bias are f OSCPARALELL C S1
connected to VDD (by PBULK) and to GND (via substrate). The 1 LF (24)
expression for CD comes after [15] but it can be normalized to f OSCSERIES C0
C0 by the factor v as given by:
Considering a typical 4MHz crystal with CS1=54fF and
CJ 0 C0=2.9pF, the frequency deviation can be plotted as a surface
CD 1
vC0
§ VR · N (16) function on Fig. 6. Note the function shows the same behavior
¨¨1 ¸¸ observed in LF. Also note the load factor is obtained isolating it
© \0 ¹ in Eq. (24) and measuring the parallel frequency to evaluate LF,
Replacing (15) and (13) in (16), C1 can be written in terms once C0, CS1 and the series resonant frequency are specified by
of C0 as follows: the crystal manufacturer:
C 0 §¨ f OSCPARALELL ·
C1 (C1EXT C1INT C PAD ) C D ( f v )C 0 (17) LF 1¸ (25)
C S 1 ¨© f OSCSERIES ¸
¹
In absence of any interference (by substrate or PBULK Assuming the oscillator is under RF interference but the
potential variation due to RFI) C1 is constant and can be average value of the substrate voltage is such that keeps the
simplified defining x=(f + v), so: diodes operating in reverse bias (case A, no rectification
C1 ( f v )C 0 xC 0 (18) phenomena in place), and considering p << 1 with = 1, the
load factor approximates to:
Hence, the capacitance between nodes 1 and 2 can now be 1 2
given in terms of C0 as: LF | (26)
2 (v f 1) 1
D where v and f are the variation ratio due to RFI (from 0.01 to
C12 xC0 (19)
D 1 100) and the fix ratio in the crystal nodes 1 and 2 regarding C0,
Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO RIO GRANDE DO SUL. Downloaded on October 23,2022 at 21:16:39 UTC from IEEE Xplore. Restrictions apply.
Figure 5. XTAL load factor function.
Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO RIO GRANDE DO SUL. Downloaded on October 23,2022 at 21:16:39 UTC from IEEE Xplore. Restrictions apply.
sub-blocks. Usually, in a complete microcontroller, besides the appropriated to perform analysis in time and frequency
oscillator there are also several analog functions and a domains. A DSO oscilloscope with special software performs
functional/test interface to share I/O pads with digital circuits behavioral and jitter analysis, while the spectrum analyzer gets
as described in [11]. Moreover, the package also influences the the disturbance at the spectrum components and makes THD
test results, affecting mainly the behavior at higher frequencies correlation. The RF power amplifier is optional depending
due to the lead frame strays. Note some complex SoC devices upon the maximum power delivered by the RF generator. In
could include an internal Analog Test Bus with RF debug and EMC compliance tests, it is included a ROE power meter (not
monitoring capabilities (ATB-RF) during the compliance tests. shown here) to check the real power delivered to DUT. Here,
Nowadays, the ATB-RF test is done during the IC qualification due to some equipment limitations, it was done a preliminary
phase but no performed in production. test to evaluate ROE impact. The system can be driven
manually or automatically via GPIB. Fig. 12 shows the test
The measurement test setup in Fig. 10 details the power state machine used for DPI characterization using the automatic
connections and the RFI injection points. To avoid RF power option. The measurement needs some special care and attention
injection over the power supply, a decoupling filter is included. regarding the RF power steps applied: in our case, each step in
This filter adds some resonant points in the circuit, so the test the RF power source was done to reach a desired level avoiding
setup must be characterized without DUT to determine its peaks in the RF generator output. Time between events should
overall influence. Despite a clean power supply is not often be adjusted considering the device and crystal overheating
present in a microcontroller based system, it is almost standard during the test to minimize temperature influence on the
in EMC industrial compliance tests since the main goal is the experimental results. In summary, the test is not easy and some
EMC qualification. The same setup is frequently adopted for experience should be needed to complete it successfully. As an
susceptibility debug and research. Several experiments and additional setup detail, it was employed the filter option in the
measurements can be performed with this setup. As mentioned frequency counter for frequency and period capture.
before, the present work is focused in studying the interference
effects due to RF injection on the substrate, to analyze the
loading effects.
Fig. 11 proposes a characterization environment for RF-
fault injection test (or EMC standard test [12]) and is more
(A)
(B)
Figure 9. (A) Die photo and (B) layout of Pierce oscillator test circuit.
Figure 10. Pierce oscillator test circuit for RF fault injection analisys. Figure 12. Test state machine for DPI - RF fault injection analisys.
Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO RIO GRANDE DO SUL. Downloaded on October 23,2022 at 21:16:39 UTC from IEEE Xplore. Restrictions apply.
Figure 13. Transiente response for RF fault injection.
Figure 15. DPI test result for RF injection on subatrate, (A) configuration with
external C1 and C2 of 10pF, (B) only internal C1 and C2.
Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO RIO GRANDE DO SUL. Downloaded on October 23,2022 at 21:16:39 UTC from IEEE Xplore. Restrictions apply.
REFERENCES [12] B. Traa, "RF-Susceptibility Analysis of Complex Integrated Analog
Circuits", IEEE Int. Symposium on Electromagnetic Compatibility,
[1] G. W. Pierce, "Electrical System", US. Patent 2,133,642. EMC 2002, Minneapolis, MN, USA, pp. 987-992, Aug. 19-23, 2002.
[2] B. Parzen, "Design of Crystal and Other Harmonic Oscillators", John [13] F. Fiore and P. S. Crovetti, "Prediction of High-Power EMI Effects in
Wiley & Sons, 1983. CMOS Operational Amplifiers”, IEEE Transactions on Electromagnetic
[3] E.A. Vittoz, M.G.R. Degrauwe and S. Bitz, "High-Performance Crystal Compatibility, Volume 48, Issue 1, pp. 153-160, Feb. 2006.
Oscillator Circuits: Theory and Application", IEEE Journal of Solid- [14] F. Vargas, D. L. Cavalcante, E. Gatti, D. Prestes, D. Lupi, E. Rhod,
State Circuits, Vol. 23, No. 3, pp. 774-783, Jun. 1988 “EMI-Based Fault Injection”, 6th IEEE Latin American Test Workshop,
[4] C. Cox and C. Merritt.,“ Microcontroller Oscillator Circuit Design pp. 91-96, Mar. 30 – Apr. 2, 2005.
Considerations”, Application Note, AN1706/D, Freescale [15] S. B. Dhia, M. Ramdaniand E.Sicard , "Electromagnetic Compatibility
Semiconductor , 2004 of Integrated Circuits: Techniques for low emission and susceptibility",
[5] W. Tom., “Oscillators for Microcontrollers”, Intel Application Note, Springer 2006, USA, ISBN 0-387-26600-3.
AN-155, June 1983. [16] J. Goldberg, "A Simple Way of Characterizing High Q Oscillators",
[6] V. N. Kuleshov, "Oscillators: stability, tuning, noise", International Proc. of 42nd Annual Frequency Control Symposium, pp.304-326, 1988.
Symposium on Signals, Circuits and Systems (ISSCS 2005), Vol. 2, pp. [17] Q. Rong, X. Huang and F. Tan, "Analysis and Measurement of Jitter in
397-402, 2005. Crystal Oscillator", Proceedings of International Conference on
[7] V. F. Kroupa, J. Stursa, V. Cizek and H. Svandova, “1/F Fractional Communications, Circuits and Systems, Vol. 2, pp. 734, May 27-30,
Frequency Noise in Crystal Oscillators”, IEEE International Frequency 2005.
Control Symposium and PDA Exhibition, pp.674-679, May 29-31, 2002. [18] L. Schiano, M. Momenzadeh, F. Zhang, Y. J. Lee, T. Kane, S. Max, P.
[8] J.-J. Laurin, S. G. Zaky and K. G. Balmain, "EMI-Induced Failures in Perkins, Y.-B. Kim, F. Lombardi and F. J. Meyer, "Measuring the
Crystal Oscillators", IEEE Transactions on Electromagnetic Timing Jitter of ATE in the Frequency Domain", IEEE Transactions on
Compability, Vol. 33, No. 4, pp. 334-342, November 1991. Instrumentation and Measurement, Vol. 55, No. 1, pp. 280-289, Feb. 2006.
[9] J.-J. Laurin, J. F. Chappel and S. G. Zaky, "EMI-Induced Delays in [19] E. R. da Silva, F. Costa, F. H. Behrens, R. S. Kickhofel and R. Maltione,
Digital Circuits: Prediction", IEEE Int. Symposium on Electromagnetic "Using Mixed-Mode Test Bus Architecture to RF-Based Fault Injection
Compatibility, pp.443-448, Anaheim, CA, USA, Aug. 17-21, 1992. Analysis and EMC Fault Debug",10th IEEE Latin American Test
[10] M. P. Robinson, K. Fischer, I. D. Flintoft, "A Simple Model of EMI- Workshop, Buzios, Rio de Janeiro, Brazil, Mar 2-5, 2009.
Induced Timing Jitter in Digital Circuits, its Statistical Distribution and [20] IEC 62132: Integrated Circuits, measurement of electromagnetic
its Effect on Circuit Performance, IEEE Transactions on immunity up to 1 GHz, www.iec.ch.
Electromagnetic Compability, Vol 45, No. 3, pp. 513-519, Aug. 2003. [21] U. L. Rohde and A. K. Poddar, “Mode-Coupling and Phase-Injection
[11] K. Kim and A. A. Iliadis, "Operational upsets and critical new bit errors mechanism enables EMI-Insensitive crystal oscillator circuits", IEEE
in CMOS digital inverters due to high power pulsed electromagnetic TELSIKS 2009, pp. 21-28.
interference", Solid-State Electronics, Vol. 54, Issue 1, pp. 18-21, [22] U. L. Rohde and A. K. Poddar,"Electromagnetic interference and start-
January 2010. up dynamics in high frequency crystal oscillator circuits", IEEE 2010.
Authorized licensed use limited to: UNIVERSIDADE FEDERAL DO RIO GRANDE DO SUL. Downloaded on October 23,2022 at 21:16:39 UTC from IEEE Xplore. Restrictions apply.