pkgsrc/cad/transcalc/patches/patch-aa
dmcmahill 46be416750 import transcalc-0.13
Transcalc is an analysis and synthesis tool for calculating the
electrical and physical properties of different kinds of RF and
microwave transmission lines.

Transcalc was somewhat inspired by the functionality of Agilent
Technologies' commercial program linecalc. Transcalc aspires to be
more functional in the long run and well-documented with appropriate
references to formulas that are used. Transcalc is built using the
GIMP toolkit (GTK) for its GUI interface.

For each type of transmission line, using dialog boxes, you can enter
values for the various parameters, and either calculate its electrical
properties (analyze), or use the given electrical requirements to
sythesize physical parameters of the required transmission line.

Available transmission lines (this list will expand with subsequent
releases):

* microstrip
* rectangular waveguide
* coax
* coupled microstrip
2003-03-23 12:25:03 +00:00

14 lines
708 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2003/03/23 12:25:03 dmcmahill Exp $
fixes minor bug in the computation. Correct constant (0.7913) found in original reference
for this model.
--- src/c_microstrip.c.orig Tue May 28 15:59:49 2002
+++ src/c_microstrip.c Wed Jan 15 05:32:42 2003
@@ -217,5 +235,5 @@
er_eff = c_ms->er_eff_o_0;
P_8 = 0.7168 * (1.0 + 1.076 / (1.0 + 0.0576 * (er - 1.0)));
- P_9 = P_8 - 0.7193 * (1.0 - exp(-pow(f_n / 20.0, 1.424))) * atan(2.481 * pow(er / 8.0, 0.946));
+ P_9 = P_8 - 0.7913 * (1.0 - exp(-pow(f_n / 20.0, 1.424))) * atan(2.481 * pow(er / 8.0, 0.946));
P_10 = 0.242 * pow(er - 1.0, 0.55);
P_11 = 0.6366 * (exp(-0.3401 * f_n) - 1.0) * atan(1.263 * pow(u / 3.0, 1.629));