This example shows how to use RF Toolbox™ to import N-port S-parameters representing high-speed backplane channels, and converts 16-port S-parameters to 4-port S-parameters to model the channels and the crosstalk between the channels.

Read the Single-Ended 16-Port S-Parameters

Read a Touchstone® data file into an sparameters object. The data in this file are the 50-ohm S-parameters of a 16-port differential backplane designed for a 2-Gbps high-speed signal, shown in Figure 1, measured at 1496 frequencies ranging from 50 MHz to 15 GHz.

Convert the 16-Port S-Parameters to 4-Port S-Parameters to Model a Differential Channel

Use the snp2smp function to convert 16-port S-parameters to 4-port S-parameters that represent the first differential channel. The port index of this differential channel, N2M, which specifies how the ports of the 16-port S-parameters map to the ports of the 4-port S-parameters, is [1 16 2 15]. (The port indices of the second, third and fourth channels are [3 14 4 13], [5 12 6 11] and [7 10 8 9], respectively). The other 12 ports, [3 4 5 6 7 8 9 10 11 12 13 14], are terminated with the characteristic Impedance specified by the sparameters object. Then, create an sparameters object with 4-port S-parameters for the first differential channel.

figure
rfplot(first4portsparams,2,1)
hold on
rfplot(first4portsparams,4,3,'-r')
% % If you want to write the 4-port S-parameters of the differential% % channel into a |.s4p| file, then uncomment the line below.%% rfwrite(first4portsparams,'firstchannel.s4p')

Convert 16-Port S-Parameters to 4-Port S-Parameters to Model the Crosstalk Between Two Differential Channels

Use the snp2smp function to convert 16-port S-parameters to 4-port S-parameters that represent the crosstalk between port [3 4] and port [16 15]. As shown in Figure 1, these ports are on different channels. The other 12 ports, [1 2 5 6 7 8 9 10 11 12 13 14], are terminated with the characteristic Impedance specified by the sparameters object. Then, create an sparameters object with 4-port S-parameters for the crosstalk.

Plot S21, S43, S12 and S34 to show the crosstalk between these two channels.

figure
rfplot(crosstalk4portsparams,2,1)
hold on
rfplot(crosstalk4portsparams,4,3,'-r')
rfplot(crosstalk4portsparams,1,2,'-k')
rfplot(crosstalk4portsparams,3,4,'-g')
% % If you want to write the 4-port S-parameters of the crosstalk into an% % .s4p file, then uncomment the line below.%% rfwrite(crosstalk4portsparams,'crosstalk.s4p')

MATLAB Command

You clicked a link that corresponds to this MATLAB command:

Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.

Was this topic helpful?

Select Your Country

Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .