メインコンテンツ

WiFi Balanced Mixer LO Chain: Bandpass Filter Cascaded with Marchand Balun

R2026b

This example designs the local oscillator (LO) signal conditioning chain for a 2.4 GHz WiFi balanced mixer. The LO chain consists of a coupled-line bandpass filter followed by a Marchand balun, both implemented on a Rogers RO4003C substrate. The two components are physically cascaded using pcbcascade and analyzed as a single integrated PCB structure.

In a WiFi transceiver, the LO signal must be spectrally clean before driving the balanced mixer. The bandpass filter rejects LO harmonics and spurious signals, while the Marchand balun splits the filtered LO into differential signals for the mixer diode pair. Integrating both on a single PCB minimizes interconnect losses and board area.

Design Specifications

% WiFi LO frequency
fc = 2.4e9;

% Frequency sweep for analysis
freq = linspace(1.5e9, 3.5e9, 71);

% Substrate: Rogers RO4003C (60 mil, commonly used in WiFi front-end PCBs)
BoardThickness = 1.524e-3;
sub = dielectric('Name',{'RO4003C'},'EpsilonR',3.55,...
    'LossTangent',0.0027,'Thickness',BoardThickness);

Design the Bandpass Filter

Design a 3rd-order coupled-line bandpass filter at 2.4 GHz with 15% fractional bandwidth. This filter suppresses LO harmonics (2nd harmonic at 4.8 GHz, 3rd at 7.2 GHz) before the signal reaches the balun.

bpf = filterCoupledLine;
bpf.Substrate = sub;
bpf.Height = BoardThickness;
bpfDesigned = design(bpf, fc, FBW=15,FilterType="Chebyshev");

Visualize the Bandpass Filter

figure; show(bpfDesigned);
title('Coupled-Line BPF at 2.4 GHz');

Figure contains an axes object. The axes object with title Coupled-Line BPF at 2.4 GHz, xlabel x (mm), ylabel y (mm) contains 6 objects of type patch, surface. These objects represent PEC, feed, RO4003C.

Compute S-Parameters of Bandpass Filter

Analyze the S-parameters of the bandpass filter by manually meshing the structure with MaxEdgeLength=0.1.

mesh(bpfDesigned, "MaxEdgeLength", 0.1);

Figure contains an axes object and an object of type uicontrol. The axes object with title Metal-Dielectric, xlabel x (m), ylabel y (m) contains 4 objects of type patch, surface. These objects represent PEC, feed.

spar_bpfDesigned = sparameters(bpfDesigned,freq);
figure; rfplot(spar_bpfDesigned,1,1)
hold on; rfplot(spar_bpfDesigned,2,1)

Figure contains an axes object. The axes object with xlabel Frequency (GHz), ylabel Magnitude (dB) contains 2 objects of type line. These objects represent dB(S_{11}), dB(S_{21}).

Design the Marchand Balun

Design Marchand balun at 2.4 GHz to convert the filtered single-ended LO signal into differential signals for the mixer diodes.

Note: Refer to the example "Design a Marchand Balun for 2.4 GHz WiFi Balanced Mixer" for the standalone balun design workflow.

marchand = balunMarchand;
marchand.Substrate = sub;
marchand.Height = 1.524e-3;

% Design at the WiFi center frequency
marchandDesigned = design(marchand, fc);

Visualize the Marchand Balun

show(marchandDesigned);
title('Marchand Balun at 2.4 GHz');

Figure contains an axes object. The axes object with title Marchand Balun at 2.4 GHz, xlabel x (mm), ylabel y (mm) contains 9 objects of type patch, surface. These objects represent PEC, feed, RO4003C.

Cascade Filter and Balun

Use pcbcascade to physically connect port 2 of the bandpass filter to port 1 (unbalanced input) of the Marchand balun. This creates a single integrated PCB component.

loChain = pcbcascade(bpfDesigned, marchandDesigned);

Visualize the Cascaded LO Chain

show(loChain);
title('Cascaded LO Chain: BPF + Marchand Balun');

Figure contains an axes object. The axes object with title Cascaded LO Chain: BPF + Marchand Balun, xlabel x (mm), ylabel y (mm) contains 12 objects of type patch, surface. These objects represent PEC, feed, RO4003C.

Compute S-Parameters of the Cascaded Structure

The cascaded structure is a 3-port network: Port 1 is the LO input, Ports 2 and 3 are the balanced outputs to the mixer diodes.

spChain = sparameters(loChain, freq);

Insertion Loss to Balanced Ports

The combined filter + balun insertion loss determines how much LO power reaches the mixer diodes. The ideal split is -3 dB per port; additional loss comes from filter passband insertion loss and balun conductor/dielectric losses.

figure;
rfplot(spChain,2,1);hold on;
rfplot(spChain,3,1);hold off;

Figure contains an axes object. The axes object with xlabel Frequency (GHz), ylabel Magnitude (dB) contains 2 objects of type line. These objects represent dB(S_{21}), dB(S_{31}).

Phase Difference Between Balanced Outputs

Verify the 180-degree phase relationship is maintained through the cascaded structure.

phase21 = angle(rfparam(spChain,2,1))*180/pi;
phase31 = angle(rfparam(spChain,3,1))*180/pi;

figure;
plot(freq/1e9, phase21, 'b-', 'LineWidth', 1.5)
hold on
plot(freq/1e9, phase31, 'r--', 'LineWidth', 1.5)
hold off
grid on
xlabel('Frequency (GHz)')
ylabel('Phase (degrees)')
title('Phase of Balanced Outputs Through LO Chain')
legend('\angle S_{21} (Diode 1)', '\angle S_{31} (Diode 2)', 'Location', 'best')

Figure contains an axes object. The axes object with title Phase of Balanced Outputs Through LO Chain, xlabel Frequency (GHz), ylabel Phase (degrees) contains 2 objects of type line. These objects represent \angle S_{21} (Diode 1), \angle S_{31} (Diode 2).

Harmonic Rejection

The bandpass filter provides rejection at LO harmonics. Check the attenuation at 2nd harmonic (4.8 GHz) which would be visible if the sweep extends that far.

% Extend frequency to check harmonic rejection
freqWide = linspace(1e9, 6e9, 51);
spWide = sparameters(loChain, freqWide);
S21wide = 20*log10(abs(rfparam(spWide,2,1)));
figure;
plot(freqWide/1e9, S21wide, 'b-', 'LineWidth', 1.5)
grid on
xlabel('Frequency (GHz)')
ylabel('|S_{21}| (dB)')
title('LO Chain Wideband Response (Harmonic Rejection)')
xline(2.4, 'g--', 'LO', 'LineWidth', 1)
xline(4.8, 'r--', '2nd Harm.', 'LineWidth', 1)

Figure contains an axes object. The axes object with title LO Chain Wideband Response (Harmonic Rejection), xlabel Frequency (GHz), ylabel |S indexOf 21 baseline | (dB) contains 3 objects of type line, constantline.

Conclusion

The cascaded LO chain integrates a coupled-line bandpass filter and Marchand balun on a single RO4003C PCB substrate. The pcbcascade function physically connects the two components for full-wave EM analysis of the combined structure. This integrated design captures coupling effects between the filter and balun that would be missed in isolated simulations.

References

[1] J. Yan, H. Liu, X. Zhu, K. Men, and K. S. Yeo, "Ka-Band Marchand Balun with Edge- and Broadside-Coupled Hybrid Configuration," Electronics, vol. 9, no. 7, p. 1116, Jul. 2020.

[2] D. M. Pozar, Microwave Engineering, 4th ed. Hoboken, NJ: Wiley, 2012.