pulling vco
Hmm, well I was hoping you wouldn't ask for the derivation, since I am too lazy to write it down
But ok, I will try writing down here:
If we take the general 2 port model with I1 going in port 1 and I2 going in port 2. V1 applied across port 1 and V2 applied across port 2, with positive terminals so that they reinforce I1 and I2. Now we can define input impedance as:
Zin = V1/I1, with all independent sources set to 0, i.e. V2 = 0 but its impedance will still remain, to account for the general case. So the 2 port model to calculate the impedance is, V1 (ideal) still connected with I1 flowing in port 1 and a load impedance Zl connected to port 2.
Now we know for port 1:
V1 = V1i + Vir
I1 = I1i - I1r
where i and r denote the incident and reflected components of the voltage and current waves.
so Zin = (V1i + V1r)/(I1i - I1r)
The scatterring parameter equations are:
b1 = S11 a1 + S12 a2 ..............(1)
b2 = S21 a1 + S22 a2 ..............(2)
where ak = Vki / √Zo = Iki √Zo = root of incident power on port k
bk = Vkr/ √Zo = Ikr √Zo = root of reflected power from port k
where Zo is the characteristic impedance used to characterize the scatterring parameters.
so Zin = Zo (a1 + b1)/(a1 - b1) = Zo (1 + b1/a1) / (1 - b1/a1)
SO now you just need to find b1/a1 from the scatterring parameter equations (1) and (2)
For the load impedance Zl, the incident power is the power that is reflected from port 2 = b2² and the reflected power from Zl is the power that is incident on port 2. So the reflection coefficient of the Load can be defined as:
ρl = a2 / b2
Now put this in (2) we get:
a2 = ρl S21 / ( 1 - ρl S22)
Put this in (1) to get b1/a1 and put that ratio in the expression for Zin to get the Zin expression I gave below.
So everything reverse for Zout, in fact you can just get it from Zin by replacing ρl by ρs and intercahnging 1 with 2 in the Zin expression.
Hope this made things clear.