LO leakage was observed at TX output which was ~35dBc at 3.5GHz even when DC offset was calibrated out. The cause of LO leakage was just 20pH inductance mismatch in TX which created 35dBc LO leakage levels. Barebones schematic of our TX is shown below. Baseband signals are received at GM cell which converts them to currents, and these currents are then passed through switching core which upconverts them to RF frequency (this is a typical Gilbert cell mixer).
LO leakage was created by inductance mismatch at source node of mixer. This node is rich with even harmonics of LO, a slight mismatch in +ive & -ive impedance at this node results in sizeable differential even harmonic currents which mix with odd harmonics of LO to land back at LO leakage in phase. LOL created by each even harmonic itself is tiny, but they add up and amount to significant LO leakage.
The mixer switch node has 2\(f_{lo}\) dips which result from tug of war between +ive and -ive transistor of mixers during LO transition. Source node follows gate. Say LO+ is high, MX+ transistor is ON, source node is following LO+. As LO+ dips, source node also goes down. However, LO- would be rising and MX- would start to turn ON and gain control of source node. Therefore, right at middle point of transition, source node stops following LO+ as MX+ has turned OFF and starts following LO- as MX- is turned ON. This brings the dip back up. This is the origin of dip. Since LO transitions happen twice a cycle, we find these dips appearing twice LO frequency.
Although the dips repeat every 2\(f_{lo}\), they contain significant energy at all of their harmonics. This makes sense mathematically because smaller they duty cycle of a pulse, the similar the energy level its harmonics will have to the limit that an ideal impulse consist of infinite harmonics all with equal amplitude.
The Fourier series of an ideal square wave consists of odd harmonics of LO. The third harmonic is 3 times lower in magnitude, 5th is 5 times lower and so on…
The 2\(f_{lo}\) dips at mixer source node consists of all harmonics of 2LO with similar energy levels at all harmonics.
where aDIP, bDIP,.. are Fourier series coefficients.
Plots below shows VLO and VDIP plotted, more of a sanity check, that Fourier series is computed right, they do add up to make the signal we want.
where Zn\(\omega\) is the impedance looking downwards at source node of mixer at corresponding frequency. This current can be treated similarly as baseband signal current that means it mixes with LO signal and gets upconverted.
Table below shows some of examples of different combinations of even harmonics at mixer input (source node) mixing with LO harmonics (at gate node) and creating LO leakage (LSB column).
Implication of all the higher harmonics (2,4,6,8\(f_{lo}\)..) adding to LO leakage is that now mixer source node is very sensitive to impedance mismatch between +ive and ive.
Figure below shows layout of our routings connecting GM and Mixer. We did not EM simulate them, and sufficed with parasitic RC extraction thinking that this is still baseband domain, how would parasitic inductance extraction benefit us. Our circuits already take long enough to simulate, so we are always prudently cutting down on EM models to make sims faster and this seemed like a wise choice. Little did we know that this would get us. When EM simulated, these routings showed 20pH inductance difference between +ive and -ive routing.
This 20pH difference – although appears small – wreaks havoc. Let’s model the circuit as shown below. We have ~200fF parasitic cap at mixer source node. We add 45pH in series to +ive side and 25pH to -ive side. We see that at lower frequency say 2\(f_{lo}\), this 20pH creates a small impedance delta. However, as we move to higher and higher frequencies, the impedance difference between +ive & -ive grows relatively much bigger. This creates significant differential currents which then flow through mixer and mix with odd harmonics of LO – thus creating LO leakage.
Figure below shows how did we get 20pH mismatch in layout. We have big GM transistors to reduce noise, therefore drain/source strips in layout are also big like 20um or so. Currents flowing in m-side strip add out of phase to the m-side routing line and reduces the inductance of that m-side routing line whereas in p-side routing there is no such phenomenon. This creates inductance mismatch. The easiest fix to this problem is to alter the way current flows through these strips. In existing chip, routing taps the source strips at “outer edges”, if we tap at “inner edges” we would have reduced the mismatch quite much already, and that is what we did in next tapeout. Figure below shows how tapping at inner edges of strips results in +k and -k cancelling each other thus reducing mismatch.
Table below shows results before and after. LO leakage improved by ~10dBc at lower RF frequencies (below 3GHz) and ~3dB at higher RF frequencies (above 5 GHz). The limited improvement at higher RF frequencies is expected as at such frequencies mixer source node will be sensitive to even couple pH of inductance mismatches which were extremely hard to mitigate as it required complete routing design and floor plan change. This is risky in the sense that improving one thing could ruin other, and most likely team lead or management won’t let you take chances here. If a chip is functional, folks are highly skeptical to touch it unless the failures are critical and specs cannot be relaxed.
It was shown that active mixers have strong harmonics of 2\(f_{lo}\) at its source node. Presence of very high harmonics at mixer source node makes it extremely sensitive to routing mismatches. These harmonics mix with odd harmonics of LO and create LO leakage. Our TX suffered from 20pH mismatch in inductance which only shows itself when you take EM model of transistor connection strips into account. Visually symmetric appearing routing lines can easily have small inductance mismatches if magnetic coupling to nearby lines or connections to transistors are not considered.
RFInsights
Published: 26 May 2023
Last Edit: 04 Jun 2023