The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 2nd, 2024, 8:58pm
Pages: 1
Send Topic Print
How does a circuit simulator actually measure S-parameters? (Read 7424 times)
rfmagic
Community Member
***
Offline



Posts: 64

How does a circuit simulator actually measure S-parameters?
Jun 05th, 2013, 12:43pm
 
Hi,

I am trying to figure out how the circuit simulators (ADS or Cadence and so forth..) actually measure the S-parameters of a 2-port network.
The classical definition of S-parameters is to use the incident (Vi) and reflected (Vr) voltage waves. For example in order to measure S11 we will calculate S11=Vr/Vi. This is actually the way a network analyzer works. It drives the port with an incident wave and using a directional coupler it separates the reflected wave and thus can measure it.

What I find hard to understand is, suppose that my 2-port network includes a series resistor and a shunt capacitor (both lumped) with 50 ohm ports.How does the simulator measure the reflected wave (Vr). there is no directional coupler used...

Is it possible to reproduce the S-parameters simulation results using an AC simulation?

Thanks in advance....
Back to top
 
 
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: How does a circuit simulator actually measure S-parameters?
Reply #1 - Jun 6th, 2013, 1:46am
 
Back to top
 
 
View Profile WWW   IP Logged
rfmagic
Community Member
***
Offline



Posts: 64

Re: How does a circuit simulator actually measure S-parameters?
Reply #2 - Jun 6th, 2013, 2:07am
 
Frank, Thank you for the link.
In this document it actually plots the S11 over frequency. Do you know how it calculated the S11 from the simulation?
One way I can think of is that it finds the input impedance by dividing the voltage by the current on the input node. and then it uses the relationship gamma=(Zin-50)/(Zin+50) to find S11. so effectively there is no reflected wave measurements here like in a real network analyzer...
Back to top
 
 
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: How does a circuit simulator actually measure S-parameters?
Reply #3 - Jun 6th, 2013, 4:09am
 
S11 is the ac voltage at the node S11 in the example circuit (at the negative terminal of the ac voltage source V3). The ac voltage you get there is (2*Zin/(Zin+R1))-1=(Zin-R1)/(Zin+R1).
Back to top
 
 
View Profile WWW   IP Logged
RFICDUDE
Community Fellow
*****
Offline



Posts: 323

Re: How does a circuit simulator actually measure S-parameters?
Reply #4 - Jun 6th, 2013, 6:45pm
 
Hi Rfmagic,

The measurement setup is as follows:
1. The AC source has a magnitude of 2 V
2. The source resistor is the port impedance (50 ohms)
3. S11 is the AC voltage at the input of the DUT minus 1.

S11=20*log10(Vin-1)

In Wes' simulation he performs the subtraction by using a 1 Vac source from the input node to the node labeled S11.

You can understand the relation by thinking of limiting cases.

1. If Zin=50 ohms then Vin=1 (i.e. it is matched) and S11=1 or -inf dB
2. If Zin=inf then Vin=+2V and S11=+1 or 0dB
3. If Zin=0 then Vin=0 and S11=-1 or 0dB

Have fun.
Back to top
 
 
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: How does a circuit simulator actually measure S-parameters?
Reply #5 - Jun 7th, 2013, 12:31am
 
Some minor corrections:

RFICDUDE wrote on Jun 6th, 2013, 6:45pm:
S11=20*log10(Vin-1)

S11=Vin-1
S11[dB]=20*log10(|Vin-1|)

RFICDUDE wrote on Jun 6th, 2013, 6:45pm:
1. If Zin=50 ohms then Vin=1 (i.e. it is matched) and S11=1 or -inf dB

Should of course be S11=0 instead of S11=1.
Back to top
 
 
View Profile WWW   IP Logged
rfmagic
Community Member
***
Offline



Posts: 64

Re: How does a circuit simulator actually measure S-parameters?
Reply #6 - Jun 7th, 2013, 5:33am
 
Frank and RFICDUDE thanks for your answers.

so if we use the wave terminology, (Vin-1) is the reflected wave and 1V is the incident wave?
Back to top
 
 
View Profile   IP Logged
Frank Wiedmann
Community Fellow
*****
Offline



Posts: 678
Munich, Germany
Re: How does a circuit simulator actually measure S-parameters?
Reply #7 - Jun 7th, 2013, 6:09am
 
Yes, neglecting a possible common factor containing the reference impedance (depending on the wave definition). By the way, we are talking here about the so-called pseudo-waves as defined in section 3.2 of http://archive.org/details/jresv97n5p533.
Back to top
 
 
View Profile WWW   IP Logged
rfmagic
Community Member
***
Offline



Posts: 64

Re: How does a circuit simulator actually measure S-parameters?
Reply #8 - Jun 7th, 2013, 6:59am
 
thanks a lot, Now it is well understood.


Back to top
 
 
View Profile   IP Logged
RFICDUDE
Community Fellow
*****
Offline



Posts: 323

Re: How does a circuit simulator actually measure S-parameters?
Reply #9 - Jun 8th, 2013, 8:02pm
 
Yes, S11 should be 0 when the input is matched and not 1 as I posted.
I'm glad all is clear despite my error.
Cool
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.