Group delay calculation through S-parameters extracted from a touchstone file

Click For Summary
SUMMARY

The discussion focuses on calculating the group delay of a GPS system's front-end filter using S-parameters extracted from a touchstone file (B3521_SB.S2P). The group delay is derived from the angle of the transmission coefficient (S21), with the formula tg=(-1/360)*dfi/df being central to the calculation. Participants emphasize the importance of considering frequency components individually and the impact of mismatches on output signals. MATLAB is suggested as a tool for modeling the filter and analyzing signal distortion.

PREREQUISITES
  • Understanding of S-parameters, specifically S21 in RF systems
  • Familiarity with touchstone file formats (.s2p)
  • Basic knowledge of group delay and its significance in signal processing
  • Proficiency in MATLAB for modeling and simulation
NEXT STEPS
  • Learn how to extract and interpret S-parameters from touchstone files using MATLAB
  • Study the mathematical derivation of group delay from phase information
  • Explore the effects of impedance mismatches on signal integrity in RF systems
  • Investigate advanced MATLAB functions for signal processing and distortion analysis
USEFUL FOR

Engineers and researchers working in RF design, particularly those involved in GPS systems, signal processing, and MATLAB modeling. This discussion is beneficial for anyone looking to deepen their understanding of group delay calculations and S-parameter analysis.

rizias
Messages
1
Reaction score
0
Hello everyone,
I am working on the group delay of the front end filter of a GPS system. I am given the measurements of the S parameters of the filter in a touchstone file (s2p) in the following format.
! S-Parameter for B3521 in Touchstone format with Magnitude (lin) and Phase
! Normalised impedance: 50 Ohm. Measurement system: 50 Ohm. Ta=25°C
! B3521_SB.S2P not matched. Measurement full 2-port calibrated incl. Port.Ext.
! Start: 1.3GHz, Stop: 1.8GHz, Span 500MHz 801 Pts., Step 312kHz.
! Date: 21/03/07 - EPCOS SAW COM WT AE PD; AB !

MHZ S MA R 50

! freq magS11 angS11 magS21 angS21 magS12 angS12 magS22 angS22 1.300000E+03 9.676685E-01 -7.491579E+01 2.369824E-04 1.706093E+02 2.323036E-04 1.696126E+02 9.564306E-01 -8.052716E+01…..
That I want to do is to model the group delay of the particular filter in matlab, pass through it a signal and comment on the introduced distortion. I can understand that I can calculate the group delay through the angle of the transmission coefficient (S21).But I cannot understand how,while I have only numbers,I don’t know how to take the derivative needed for calculating it (if it is the only way of finding it) .
Isn’t it that the tg=(-1/360)*dfi/df,if it is how do I take the derivative of a number while it is zero?
Thank you in advance for your reply.
 
Engineering news on Phys.org
I am no expert in the group delay this way, I just join in and talk. So don't take me too serious.

I look at the definition of group delay, it defines the delay of the signal from input to output, which also implies delay of each of the frequency component of the signal. from input to output. If this is true, can this be done frequency by frequency of the input signal? You have the S21 in magnitude and phase, so you know the amplitude and phase change of each of the frequency component of the signal. So by knowing the period (T) of each of the frequency component and knowing the phase shift from S21, you can calculate the time delay of each of the component.

So if you know the frequency components of the input signal, you calculate the delay of each and then recombine them after passing through the DUT. Just make sure the S parameters cover the whole frequency range.

I know nothing about Mathlab, so I won't even try. Again, this is interesting, I am just joining in.

One concern any mismatch will add components into the output, This will complicate the situation as the reflection mixes in with the forward signal and you get the sum. So unless you have perfect matching of all the frequency components, you have to take into consideration of the input and output reflection coef [itex]\Gamma[/itex]. But you should still be able to calculate. If you dig up RF book, you get the equation and just change from phase to time delay. You just do this on every frequency component. Again, I am just talking out loud with you.
 
Last edited:

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 21 ·
Replies
21
Views
4K
Replies
23
Views
6K
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
6K