NetCalc - an RF Impedance Calculator

Credits

This program NetCalc is broadly based on NETCALC - an RF Impedance Calculator by Ian White, GM3SEK.
NETCALC can be executed on various versions of the Microsoft Windows Operating System.

The L-section code in NetCalc is based on a PERL program by Claude Frantz.

NetCalc

NetCalc is a push-button calculator.

Two versions of NetCalc are currently available.

This version is a Yahoo! Widget which can be downloaded here.
It uses the Yahoo! Widget Engine and runs on Mac OS X and Windows.

There is also a new web widget which can be run in most browsers.

Using NetCalc

Here is a view of the program when it first opens.

image

NetCalc displays a number of complex impedance registers, labeled Y, X, P, Z0 and N. The X and Y registers form a stack.

The impedances each consist of two terms: resistance and reactance. You can do things to the X impedance alone, or combine the X and Y impedances in various ways.

You have three principal options:

Impedances are entered via the panel at the top right and transfered to the X register by use of the + and || buttons.

Operations on the X (and Y) register(s) are performed using the buttons at the bottom right. The command names are the same as those in NETCALC, so you should read the NETCALC instructions before attempting to use the program.

The X and Y registers appear in the panel at the top left. The X register is also shown in parallel form in the P register.

The environment parameters are entered in the middle left panel, apart from Z0 which must first be entered via the impedance input panel and transferred from X to Z0 using the Z0 button. Complex characteristic impedances can be entered if desired.

Many of the circuit parameters are recomputed at every operation. Others are computed as required.

The panel at the bottom left displays the normalised value of X in the N register and the reflection coefficient (in polar form) in the rho register. The VSWR is displayed in the Z register, which is also used as a general display register.

There are buttons to compute the modulus of X and of N, and four buttons to produce a rudimentary display similar to that on a Smith Chart.

Buttons and Operations

Data input (top right)

R +  L  X -> Y, R +  L -> X
R || L  X -> Y, R || L -> X

R +  x  X -> Y, R +  x -> X
R || x  X -> Y, R || x -> X

R +  C  X -> Y, R +  C -> X
R || C  X -> Y, R || C -> X

Calculation (bottom right)

Rn      X -> Y, Rn -> X
E       X <=> Y
+       X +  Y -> X, 0 -> Y
||      X || Y -> X, 0 -> Y

?n      Rn -> Z
J       X* -> X
*       X * Factor -> X
/       X / Factor -> X

Mn      X -> Mn
Z0      X -> Z0
T       X + T(Z0, F, V, length) -> X
C       Y -> X, 0 -> Y

Q       x/r -> Z, where X = r + jx
X       if x >= 0, L = x/(2πF)   -> Z, where X = r + jx
        if x <  0, C =  (-2πF)*x -> Z, where X = r + jx
L       L(X, Z0, F, V) -> Z
W       (1 +|rho|)/(1 - |rho|) -> Z,
        where rho = ((X/Z0) - 1)/((X/Z0) + 1)
LS      Displays L-sections matching the load X to the real part of Z0

Calculation (bottom left)

|X|     |X| -> Z
|N|     |X/Z0| -> Z

Chart Drawing (bottom left)

The CIRCLE, POINT, S and CS buttons are used as follows:

Here is a view of a chart:

image


The Pi-Tank Example

Pi-Tank Example
See the Pi-Tank Example by Ian White, GM3SEK.
1:	Enter 3.75 in the F field - set popup to MHz.

2:	Consider C2 in parallel with the 50Ω load:
	Enter 50 in the R field - set the popup to Ω.
	Enter 1375 in the C field - set popup to pF.
	Press || button next to C field.
Result of step 2
	Result is 50.000001 || -30.866413 in the P register,
	      and 13.796821,-22.349246 in the X register.

3:	Not needed.

4:	Consider L in series with the result of step 2:
	Enter 0 in the R field
	Enter 7.02 in the L field - set the popup to µH.
	Press + button next to the L field.
	
	Result is 0.000000,165.404853 in X the register,
          and Infinity || 165.404853 in the P register.
	
	Previous result moves up into the Y register.
	
Result of step 4
5:	Press + button (lower right).

	Result is 13.796821,143.055607 in the X register,
	     and  1497.102772 || 144.386224 in the P register
Result of step 5
6:	Not needed.
Result of step 5
7:	Consider C1 in parallel with the result of step 5:
	Enter 0 in the R field
	Enter 294 in the C field - set the popup to pF.
	Press + button next to the C field.
	
	Result is 0.000000,-144.358225 in the X register,
	          and Infinity || -144.358225 in the P register
	
	Previous result moves up into the Y register.
Result of step 7
8:	Press || button (lower right).

	Result is 1497.096717,-3.010799 in the X register,
	      and 1497.102772 || -744422.874115 in the P register

Here is the resulting equivalent circuit to the Pi-Tank.
Equivalent Circuit

License

NetCalc is Copyright © 2001-2014 Harry Whitfield (G6AUC), All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA



Monday, May 11, 2015.


Valid HTML 4.01 Transitional