{"id":1466,"date":"2015-12-25T23:37:41","date_gmt":"2015-12-25T23:37:41","guid":{"rendered":"http:\/\/www.sydneysmith.com\/wordpress\/?p=1466"},"modified":"2017-05-15T12:14:23","modified_gmt":"2017-05-15T12:14:23","slug":"hp-67-power-waves-program","status":"publish","type":"post","link":"https:\/\/www.sydneysmith.com\/wordpress\/1466\/hp-67-power-waves-program\/","title":{"rendered":"HP-67 Power Waves Program"},"content":{"rendered":"<p>Here&#8217;s another program by Class&#8217;67. This one is clearly useful for RF engineering (including many formulae I haven&#8217;t seen for a very long time). It is based around arithmetic with complex numbers so it may also be of interest to other engineers that deal with waves or use complex numbers, or to  mathematicians generally. <!--more--><\/p>\n<p>Note: X Y Z refer to stack registers or to reactance, immittance (I think I knew this as transmittance) or to impedance; as the context dictates. &#8220;j&#8221; is &radic;-1 (an imaginary number on the y-axis when real numbers are on the x-axis of a number line).<\/p>\n<h2>Gss HP-67 Power Waves<\/h2>\n<p>v0.07, Dec 17, 2015  by Class&#8217;67<\/p>\n<p>Constants and Variables<\/p>\n<table>\n<tr>\n<td>Reg.<\/td>\n<td>Value<\/td>\n<\/tr>\n<tr>\n<td>RA <\/td>\n<td>299792458 (c)<\/td>\n<\/tr>\n<tr>\n<td>RB <\/td>\n<td>phase constant (\u03b2) <\/td>\n<\/tr>\n<tr>\n<td>RC <\/td>\n<td>characteristic impedance (Zo)<\/td>\n<\/tr>\n<tr>\n<td>RD <\/td>\n<td>angular frequency (\u03c9) <\/td>\n<\/tr>\n<tr>\n<td>RE <\/td>\n<td>frequency (f)<\/td>\n<\/tr>\n<tr>\n<td>R01<\/td>\n<td>wavelength (\u03bb) <\/td>\n<\/tr>\n<tr>\n<td>R02<\/td>\n<td>2\u03c0 <\/td>\n<\/tr>\n<\/table>\n<p>To save all registers:<br \/>\n&#8211; Press  [W\/DATA] ,<br \/>\n&#8211; &#8216;Crd&#8217; is displayed.<br \/>\n&#8211; Touch the card under the display.<br \/>\n&#8211; Enter\/Edit\/Change the file name.<br \/>\n&#8211; Press Save.<\/p>\n<h3>Register Loader<\/h3>\n<p>This program performs the task of loading numbers with more than 10 digits into data registers R01 to R24. These registers can be viewed in the Data screen. Register R00 is reserved for scratch.<\/p>\n<p>Ex. 1)<br \/>\nStore 9876.54321098765 THz in register RE (R24).<br \/>\nStore 2\u03c0 in R02.<br \/>\nStore 2\u03c0*f in register RD.<\/p>\n<table>\n<tr>\n<td>Stack:<\/td>\n<td>T:<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Z: 9876.543 E12<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Y: 21098765<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>X: 24<\/td>\n<\/tr>\n<tr>\n<td>Then:<\/td>\n<td>Set Flag 2.<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Press [D]<\/td>\n<\/tr>\n<tr>\n<td>Continue with:<\/td>\n<td>[ \u03c0 ] , [ENTER] , [ + ] , [STO] , [ 2 ]<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>[STO] , [ x ] , [ 0 ]<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>[RCL] , [ 0 ] , [STO] , [D]<\/td>\n<\/tr>\n<\/table>\n<h3>Polar Complex Functions<\/h3>\n<p>All inputs and results are in polar form.<\/p>\n<table>\n<tr>\n<td>Func.<\/td>\n<td>+<\/td>\n<td>1\/z<\/td>\n<td>*<\/td>\n<td>z^n<\/td>\n<td>e^z<\/td>\n<\/tr>\n<tr>\n<td>Key<\/td>\n<td>B<\/td>\n<td>C<\/td>\n<td>D<\/td>\n<td>E<\/td>\n<td>e<\/td>\n<\/tr>\n<\/table>\n<p>Key [A] swaps stack registers X and Y.<\/p>\n<p>The z^n function requires &#8216;n&#8217; stored in Index register R25.<\/p>\n<p>The e^z function requires arg(z) in radians and [RAD] mode set.<\/p>\n<h3>Polar Complex Stack Formats<\/h3>\n<p>[A], [B], [D] Inputs:<br \/>\nT: arg(z1)<br \/>\nZ: mag(z1)<br \/>\nY: arg(z2)<br \/>\nX: mag(z2) <\/p>\n<p>[C], [E], [e] Inputs:<br \/>\nY: arg(z)<br \/>\nX: mag(z)<\/p>\n<p>To subtract z2 from z1, press [CHS] , [B].<br \/>\nTo divide z1 by z2, press [C] , [D].<\/p>\n<h3>Series &lt;-&gt; Parallel and Parallel Reactances<\/h3>\n<p>All inputs and results are in rectangular form.<\/p>\n<table>\n<tr>\n<td>Func.<\/td>\n<td>Zs&gt;p<\/td>\n<td>Zp&gt;s<\/td>\n<td>x1||x2<\/td>\n<td>x2(X,x1)<\/td>\n<\/tr>\n<tr>\n<td>Key<\/td>\n<td>a<\/td>\n<td>b<\/td>\n<td>c<\/td>\n<td>d<\/td>\n<\/tr>\n<\/table>\n<p>Input Format:<br \/>\nY: Im(Z) or x1 or X<br \/>\nX: Re(Z) or x2 or x1<\/p>\n<p>Clear Summation Registers:<br \/>\n&#8211; Set Flag 2<br \/>\n&#8211; Press [A] (Uses R00 to preserve stack.)<\/p>\n<h3>Reflection Coefficient (\u03c1) Calculator<\/h3>\n<p>1. Z normalized to Zo<\/p>\n<p>Z = load impedance<br \/>\nZo = characteristic impedance (real)<br \/>\n\u03c1 = (Z &#8211; Zo)\/(Z + Zo)<br \/>\nZn = mag(Z)\/Zo*exp(j*arg(Z)), where arg(Z) is in radians<\/p>\n<p>Store Zo in register RC (R22).<\/p>\n<table>\n<tr>\n<td>Stack input:<\/td>\n<td>T:<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Z:<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Y: Im(Z)<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>X: Re(Z)<\/td>\n<\/tr>\n<\/table>\n<p>Set Flag 2<br \/>\nSet Flag 0   (not cleared on exit)<br \/>\nPress [E]    (see output\/results below)<\/p>\n<p>2. Generalized reflection coefficient <\/p>\n<p>Z = load impedance<br \/>\nZs = source impedance<br \/>\n\u03c1 = (Z &#8211; Zs*)\/(Z + Zs),  Zs* is conjugate of Zs<br \/>\nZn = Re(Z)\/Re(Zs) + j * (Im(Z) + Im(Zs))\/Re(Zs)<\/p>\n<table>\n<tr>\n<td>Stack input:<\/td>\n<td>T: Im(Z)<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Z: Re(Z)<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Y: Im(Zs)<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>X: Re(Zs)<\/td>\n<\/tr>\n<\/table>\n<p>Set Flag 2.  (Clear Flag 0 if set.)<br \/>\nPress [E].<\/p>\n<table>\n<tr>\n<td>Stack output:<\/td>\n<td>T: arg( \u03c1 )<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Z: mag( \u03c1 )<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Y: Im(Zn)<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>X: Re(Zn)<\/td>\n<\/tr>\n<\/table>\n<p>Results stored in registers R10 &#8211; R13.<br \/>\nR10 = arg( \u03c1 )<br \/>\nR11 = mag( \u03c1 )<br \/>\nR12 = Im(Zn)<br \/>\nR13 = Re(Zn)<br \/>\n(Summation registers are cleared.)<\/p>\n<p>3. Immittance calculator<\/p>\n<p>Z = R + j\u03c9L<br \/>\nY = G + j\u03c9C     <\/p>\n<p>Uses \u03c9 in register RD.<\/p>\n<table>\n<tr>\n<td>&nbsp;<\/td>\n<td>&nbsp;<\/td>\n<td>Z<\/td>\n<td>Y<\/td>\n<\/tr>\n<tr>\n<td>Stack input:<\/td>\n<td>T:<\/td>\n<td><\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Z:<\/td>\n<td>~<\/td>\n<td>~<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Y:<\/td>\n<td>L<\/td>\n<td>C<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>X:<\/td>\n<td>R<\/td>\n<td>1\/R<\/td>\n<\/tr>\n<\/table>\n<p>Set Flag 2.<br \/>\nPress [C]  <\/p>\n<table>\n<tr>\n<td>&nbsp;<\/td>\n<td>&nbsp;<\/td>\n<td>Z<\/td>\n<td>Y<\/td>\n<\/tr>\n<tr>\n<td>Stack output:<\/td>\n<td>T:<\/td>\n<td>~<\/td>\n<td>~<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Z:<\/td>\n<td>~<\/td>\n<td>~<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Y:<\/td>\n<td>arg(Z)<\/td>\n<td>arg(Y)<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>X:<\/td>\n<td>mag(Z)<\/td>\n<td>mag(Y)<\/td>\n<\/tr>\n<\/table>\n<p>Press [C] to convert Z to Y, or Y to Z if needed.<br \/>\nMultiply Y by Zo to normalize Y.<br \/>\nDivide Z by Zo to normalize Z.<br \/>\nConvert to R + jX to plot on Smith chart.<\/p>\n<h3>Lambda-beta Calculator<\/h3>\n<p>Wavelength ( \u03bb ) and phase constant ( \u03b2 ) <\/p>\n<table>\n<tr>\n<td>Stack input:<\/td>\n<td>T: 2\u03c0<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Z: 299792458 (c)<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Y: frequency (f)<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>X: relative permittivity (\u03b5r)<\/td>\n<\/tr>\n<\/table>\n<p>Set Flag 2.<br \/>\nPress [B]  <\/p>\n<table>\n<tr>\n<td>Stack output:<\/td>\n<td>T:<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Z:<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>Y: \u03b2 (stored in RB)<\/td>\n<\/tr>\n<tr>\n<td>&nbsp;<\/td>\n<td>X: \u03bb (stored in R01)<\/td>\n<\/tr>\n<\/table>\n<h3>Greek Alphabet<\/h3>\n<p>\u0391   \u0392   \u0393   \u0394   \u0395   \u0396   \u0397   \u0398   \u0399   \u039a   \u039b  \u039c<br \/>\n\u03b1   \u03b2   \u03b3   \u03b4   \u03b5   \u03b6   \u03b7   \u03b8   \u03b9   \u03ba   \u03bb  \u03bc   <\/p>\n<p>\u039d   \u039e   \u039f  \u03a0   \u03a1   \u03a3   \u03a4   \u03a5   \u03a6   \u03a7   \u03a8   \u03a9<br \/>\n\u03bd   \u03be   \u03bf  \u03c0   \u03c1   \u03c3   \u03c4   \u03c5   \u03c6   \u03c7   \u03c8   \u03c9 <\/p>\n<h2>Formulas<\/h2>\n<p>Conversion of sample standard deviation (s) to population standard deviation (\u03c3):<br \/>\n\u03c3 = s*sqrt((n &#8211; 1)\/n), where n is the sample size (R19).<\/p>\n<p>Variance of the sample standard deviation (Var(s)):<br \/>\nVar(s) = s^2<\/p>\n<p>Series &lt;-&gt; Parallel:<br \/>\nQ = |Xs|\/Rs = Rp\/|Xp|<br \/>\nRp = Rs*(1 + Q^2)<br \/>\nQ = sqrt(Rp\/Rs &#8211; 1)<\/p>\n<p>Parallel Reactances:<br \/>\nX = (x1 * x2)\/(x1 + x2) = x1\/(1 + x1\/x2)<br \/>\nx2 = -x1\/(1 + (-x1)\/X)<\/p>\n<p>Capacitor impedance in s-parameters:<br \/>\nZc = 1\/(s*C), where<br \/>\ns =  \u03c3 + j\u03c9, where<br \/>\n\u03c3 = exponential decay constant, and<br \/>\n\u03c9 = 2\u03c0*f<\/p>\n<p>Phase relationship between capacitor voltage and current (\u03c6):<br \/>\n\u03c6 = atan(E\/I)<\/p>\n<p>Dispation factor (DF):<br \/>\nDF = tan \u03b4   (Loss tangent)<\/p>\n<p>Equivalent series resistance (ESR):<br \/>\nESR = Rsd + Rsm  (milliohms), where:<br \/>\nRsd = summation of all losses in dielectric, and<br \/>\nRsm = summation of all losses in metals<\/p>\n<p>Impedance of an R-L circuit:<br \/>\nZ = R + j\u03c9L<\/p>\n<p>Admittance of an R-C circuit:<br \/>\nY = 1\/R + j\u03c9C<\/p>\n<p>Angular frequency (\u03c9):<br \/>\n\u03c9 = 2\u03c0*f (rad\/s)<br \/>\n&nbsp; = 2\u03c0*c\/\u03bb<\/p>\n<p>Phase velocity (v) on a lossless line:<br \/>\nvp = 1\/sqrt(Ls*Cp) (m\/s)<\/p>\n<p>Phase velocity (vp) (or propagation velocity):<br \/>\nvp = \u03bb\/T<br \/>\n&nbsp; = \u03bb*f<br \/>\n&nbsp; = \u03c9\/\u03ba (m\/s), where<br \/>\n\u03bb = wavelength in meters<br \/>\nT = the time period in seconds<br \/>\n\u03c9 = angular frequency<br \/>\n\u03ba = angular wavenumber = 2\u03c0\/\u03bb<\/p>\n<p>Phase constant (\u03b2):<br \/>\n\u03b2 = 2\u03c0\/\u03bb (radians\/m)<\/p>\n<p>Velocity factor (VF), or velocity of propagation, of media with relative permittivity (\u03b5r):<br \/>\nVF = 1\/sqrt(\u03b5r)<\/p>\n<p>For a lossless transmission line:<br \/>\nVF = 1\/(c*sqrt(L*C))<\/p>\n<p>Propagation constant ( \u03b3 ):<br \/>\n\u03b3 = sqrt((R + j\u03c9L)*(G + j\u03c9C))<br \/>\n\u03b3 = \u03b1 + j\u03b2, where<br \/>\n\u03b1 = attenuation constant (nepers\/m)<br \/>\n\u03b2 = phase constant (radians\/m)<\/p>\n<p>Propagation delay (tpd):<br \/>\ntpd = sqrt(\u03b5r)\/c (s)<\/p>\n<p>Electrical length (El) of a cable is its length measured in wavelengths:<br \/>\nEl = l*f\/(984*vf), where<br \/>\nl = length of the line in feet<br \/>\nf = frequency in MHz<br \/>\nvf = velocity factor<\/p>\n<p>[Editor&#8217;s note: or (if I remember the concept) vf shorter than the free space wavelength. If a vf of 0.9 means it travels at 0.9 of the speed of light in the cable, then you cut the cable to 0.9 of the wavelengths you require. 300 MHz = 1 meter waves. Half a wavelength = 50cm. In a 0.9 vf cable, cut the cable to 45cm.]<\/p>\n<p>Attenuation per unit length at f2 (af2) when the attenuation per unit length at f1 (af1) is known:<br \/>\naf2 = af1*sqrt(f2\/f1)<\/p>\n<p>Relative permittivity, dielectric constant (\u03b5r):<br \/>\n\u03b5r(w) = \u03b5(w)\/\u03b5\u03bf, where:<br \/>\n\u03b5(w) = permittivity of material w dielectric, and<br \/>\n\u03b5\u03bf = permittivity of vacuum constant<\/p>\n<p>Relative permeability (\u03bcr):<br \/>\n\u03bcr(w) = \u03bc(w)\/\u03bc\u03bf, where<br \/>\n\u03bc(w) = permeability of material w dielectric, and<br \/>\n\u03bc\u03bf = permeability of vacuum constant.<\/p>\n<p>Complex permeability (\u03bc):<br \/>\n\u03bc = \u03bc&#8217; + j\u03bc&#8221; = B\/H, where<br \/>\nB = magnetic flux density, and<br \/>\nH = magnetic field<\/p>\n<p>Loss tangent (tan \u03b4):<br \/>\ntan \u03b4 = (\u03c9*\u03bc&#8221; + \u03c3)\/(\u03c9*\u03bc&#8217;), where<br \/>\n\u03c3 = conductivity in seimens<\/p>\n<p>Skin effect (\u03b4):<br \/>\n\u03b4 = sqrt(2*\u03c1\/(\u03c9*\u03bc)), where<br \/>\n\u03c1 = the resistivity of the conductor,<br \/>\n\u03c9 = 2\u03c0*f, and<br \/>\n\u03bc = \u03bcr * \u03bc\u03bf<\/p>\n<p>One wavelength of cable at frequency (f) in dielectric with relative permittivity (er):<br \/>\n\u03bb = c\/(sqrt(\u03b5r)*f) (m) <\/p>\n<p>Length of one wavelength of cable with phase velocity (vp):<br \/>\n\u03bb = c\/vp (m)<\/p>\n<p>Wavelength (\u03bb) in a vacuum:<br \/>\n\u03bb = c\/f (m)<\/p>\n<p>Z normalized to Zo:<br \/>\nZn = mag(Z)\/Zo*exp(j*arg(Z)), where arg(z) is in radians.<\/p>\n<p>Zn in polar form:<br \/>\nZn = mag(Z)\/Zo*exp(j*arg(Z)), where the arg(Z) is in radians.<\/p>\n<p>Reflection coefficient computed from Zn:<br \/>\np = 1 &#8211; 2\/(1 + Zn)<\/p>\n<p>Reflection coefficient computed from Zo:<br \/>\np = (Z &#8211; Zo)\/(Z + Zo)<\/p>\n<p>Generalized reflection coefficient in impedance form (\u0393):<br \/>\n\u0393 = (Z &#8211; Zs*)\/(Z + Zs), where<br \/>\nZs = source impedance, and<br \/>\nZs* = conjugate of Zs<\/p>\n<p>Z normalized to Zs:<br \/>\nZn = Re(Z)\/Re(Zs) + j * (Im(Z) + Im(Zs))\/Re(Zs)<\/p>\n<p>Generalized reflection coefficient in admittance form (\u0393):<br \/>\n\u0393 = (Ys &#8211; Y)\/(Ys* + Y), where<br \/>\nYs = source admittance, and<br \/>\nYs* = conjugate of Ys<\/p>\n<p>Note) The generalized Smith chart no longer allows the substitution of Y = 1\/Z in order to change from an impedance to an admittance basis. This substitution is not allowed in the above forms unless Y = 1\/Z is real.<\/p>\n<p>The inverse of the impedance reflection coefficient (not generalized) is just the negative of \u0393:<br \/>\n\u0393 = (Z &#8211; Zo)\/(Z + Zo) = -1 * (Y &#8211; Yo)\/(Y + Yo)<\/p>\n<p>Calculation of \u0393(x) when \u0393(0) is known:<br \/>\n\u0393(x) = \u0393(0)*exp(-j*\u03b2*x), where<br \/>\n\u03b2 = 2\u03c0\/\u03bb<br \/>\n(does not apply to admittance form of \u0393)<\/p>\n<p><!-- In lossless transmission lines, the input reflection coefficient (\u0393-in) is related to the load reflection coefficient (\u0393-load) by\n--><\/p>\n<p>Input impedance at a specific distance from the load:<br \/>\nZn(x) = (Zn(o) + j*tan(\u03b2*x))\/(1 + j*Zn(o)*tan(\u03b2*x)), where<br \/>\n\u03b2 = 2\u03c0\/\u03bb, and<br \/>\nx = change in wavelengths<\/p>\n<p>Standing Wave Ratio:<br \/>\nVSWR = (1 + Abs(\u0393))\/(1 &#8211; Abs(\u0393))<br \/>\nAbs(\u0393) = (VSWR &#8211; 1)\/(VSWR + 1)<\/p>\n<p>Input return loss (S11):<br \/>\nS11 = -20*log10(Abs(\u0393)) dB, where<br \/>\n\u0393 is a Zo normalized reflection coefficient, and<br \/>\nZ is the input impedance of the doubly-terminated network.<\/p>\n<p>Mismatch Loss:<br \/>\nloss = -10*log10(1 &#8211; Abs(\u0393)^2) dB<\/p>\n<p>Efficiency (\u03b7). This is the ratio of P2\/Pin in dB.<br \/>\n\u03b7 = 10*log10(P2\/Pin) dB, where:<br \/>\nP2 = rms power entering a doubly-terminated network, and<br \/>\nPin = rms power entering the load attached to a doubly-terminated network.<\/p>\n<p>[Editor: sounds like &#8220;power out\/power in&#8221; so power entering the load should be P2 and power entering the network should be Pin]<\/p>\n<p>Maximum power transfer from Zs to Z occurs when Zs = Z except that X = -Xs. This is called a conjugate match. Therefore, if \u0393 = 0 there is a conjugate match. This is the center of the Smith chart.<\/p>\n<p>Maximum available source power (Pas):<br \/>\nPas = Abs(Es)^2\/(4*Rs), where<br \/>\nEs = rms source voltage<br \/>\nRs = real part of source impedance, Re(Zs) <\/p>\n<p>Transducer power gain (T):<br \/>\nT is equivalent to PL\/Pas = 1 &#8211; Abs(\u0393)^2, where<br \/>\nPL = load power<\/p>\n<p>Characteristic impedance (Zo) of a lossless line:<br \/>\nZo = sqrt(Ls\/Cp), where<br \/>\nLs = series inductance per unit length<br \/>\nCp = parallel capacitance per unit length<\/p>\n<p>Resonant angular frequency in an LC circuit:<br \/>\n\u03c9 = sqrt(1\/(L*C))<\/p>\n<p>R-C time constant (\u03c4):<br \/>\n\u03c4 = R*C<br \/>\nThe time in seconds for the voltage across a capacitor to drop to (1\/e x 100) % of its fully charged state through resistance R.<\/p>\n<p>The R-C time constant also applies when charging a capacitor from a regulated source voltage E in series with resistor R. The voltage across the capacitor will be (1 &#8211; 1\/e)x100 % of the source voltage at time \u03c4 = R*C.<\/p>\n<p>Unloaded Q (Qo):<br \/>\nQo = \u03c9*C\/Go, where<br \/>\n\u03c9 = 2\u03c0*f,<br \/>\nC = capacitance in Farads, and<br \/>\nGo = conductance of resonator<\/p>\n<p>Coupling coefficient (\u03ba):<br \/>\n\u03ba = Gex\/Go = Qo\/Qex, where<br \/>\nGex = external conductance felt by resonator<\/p>\n<p>Loaded Q (QL):<br \/>\nQL = Qo\/(1 + \u03ba)<\/p>\n<p>Ratio in nepers (Np) of x1 and x2:<br \/>\nratio = log(x1) &#8211; log(x2)  (Np)<\/p>\n<p>Ratio in decibels (dB) of x1 and x2:<br \/>\nratio = 10*log10(x1\/x2)  (dB)<\/p>\n<p>Nepers to decibel conversion:<br \/>\n1 neper = 20\/(log(10)) ~= 8.68588 &#8230; dB<\/p>\n<p>Decibel to nepers conversion:<br \/>\n1 decibel = 1\/(20*log10(e)) ~= 0.115129 &#8230; Np<\/p>\n<p>Angular wavenumber (\u03ba):<br \/>\n\u03ba = 2\u03c0\/\u03bb<\/p>\n<h2>Physical Constants<\/h2>\n<p>Planck constant (h):<br \/>\nh = 6.626070040(81)E-34 J*s, where (81) = the standard error<\/p>\n<p>Two Pi:<br \/>\n2*\u03c0 = 6.28318 53071 79586 47692 52867 66559 00576 83943 38798 75021 &#8230;<\/p>\n<p>Reduced Planck constant (h_bar):<br \/>\nh_bar = h\/2\u03c0<\/p>\n<p>Speed of light in a vacuum (c):<br \/>\nc = 299792458 m\/s<\/p>\n<p>Electric constant, Permittivity of vacuum (\u03b5o):<br \/>\n\u03b5o = 1\/(c^2*\u03bc\u03bf) F\/m<br \/>\n&nbsp; = 8.8541878176203898 &#8230; E-12 F\/m<\/p>\n<p>Permeability of vacuum (\u03bc\u03bf):<br \/>\n\u03bc\u03bf = 4*\u03c0 E-7  H\/m or N\/A^2<br \/>\n&nbsp; = 1.2566370614359173 &#8230; E-6 H\/m              <\/p>\n<p>Boltzmann constant (\u03ba):<br \/>\n\u03ba = 1.38064852(79)E-23 J\/K<\/p>\n<p>Stefan\u2013Boltzmann constant (\u03c3):<br \/>\n\u03c3 = 5.670367(13)E-8 W\/(m^2 K^4)<\/p>\n<h2>References<\/h2>\n<p>Cuthbert, Thomas R, 1999,  Broadband Direct-Coupled and Matching RF Networks, published by author, 9.4 MB PDF<br \/>\n<a href=\"http:\/\/ethw.org\/Archives:Broadband_Direct-Coupled_and_Matching_RF_Networks\" target=\"_blank\">ethw.org\/Archives:Broadband_Direct-Coupled_and_Matching_RF_Networks<\/a><\/p>\n<p>RF Engineering Basic Concepts, 2007, 1.5 MB PDF<br \/>\n<a href=\"http:\/\/cas.web.cern.ch\/cas\/UK-2007\/Afternoon%20Courses\/RF\/cas_rf_engineering_basic_concepts.pdf\" target=\"_blank\">cas.web.cern.ch\/cas\/UK-2007\/Afternoon%20Courses\/RF\/cas_rf_engineering_basic_concepts.pdf<\/a><\/p>\n<p>RF Engineering Basic Concepts: The Smith Chart, 2010, 2.5 MB PDF<br \/>\n<a href=\"http:\/\/cas.web.cern.ch\/cas\/Denmark-2010\/Lectures\/Caspers-Smith-Chart.pdf\" target=\"_blank\">cas.web.cern.ch\/cas\/Denmark-2010\/Lectures\/Caspers-Smith-Chart.pdf<\/a><\/p>\n<p>Introduction to Transmission Lines, Part I, 2012, 1.8 MB PDF<br \/>\n<a href=\"http:\/\/www.sonoma.edu\/users\/f\/farahman\/sonoma\/General_Lectures\/TransmissionLines\/TransLine\/TransmissionLinesPart_I.pdf\" target=\"_blank\">www.sonoma.edu\/users\/f\/farahman\/sonoma\/General_Lectures\/TransmissionLines\/TransLine\/TransmissionLinesPart_I.pdf<\/a><\/p>\n<p>Introduction to Transmission Lines, Part II, 2012, 3.1 MB PDF<br \/>\n<a href=\"http:\/\/www.sonoma.edu\/users\/o\/ouj\/classes\/CES590\/lectures\/TransmissionLinesPart_II.pdf\" target=\"_blank\">www.sonoma.edu\/users\/o\/ouj\/classes\/CES590\/lectures\/TransmissionLinesPart_II.pdf<\/a><\/p>\n<p>Reflection Coefficient Calculator<br \/>\n<a href=\"http:\/\/leleivre.com\/rf_gammatoz.html\" target=\"_blank\">leleivre.com\/rf_gammatoz.html<\/a><\/p>\n<p>Reflection Coefficient Calculator w\/VSWR, RL, etc.<br \/>\n<a href=\"http:\/\/chemandy.com\/calculators\/return-loss-and-mismatch-calculator.htm\" target=\"_blank\">chemandy.com\/calculators\/return-loss-and-mismatch-calculator.htm<\/a><\/p>\n<p>Series to Parallel Impedance Calculator<br \/>\n<a href=\"http:\/\/www.multek.se\/engelska\/engineering\/signal-management-2\/series-to-parallel-impedance-conversion-calculator-2\" target=\"_blank\">www.multek.se\/engelska\/engineering\/signal-management-2\/series-to-parallel-impedance-conversion-calculator-2<\/a><\/p>\n<h2>HP-67 Program<\/h2>\n<p>Here&#8217;s the program: <\/p>\n<pre>\r\nPROG\r\n224\r\n001: 31 25 13\r\n002: 35 71 02\r\n003: 22 08\r\n004: 35 62\r\n005: 35 52\r\n006: 42\r\n007: 31 25 11\r\n008: 35 71 02\r\n009: 22 04\r\n010: 35 52\r\n011: 35 22\r\n012: 31 25 14\r\n013: 35 71 02\r\n014: 22 05\r\n015: 35 52\r\n016: 35 53\r\n017: 71\r\n018: 35 53\r\n019: 61\r\n020: 35 54\r\n021: 35 22\r\n022: 31 25 12\r\n023: 35 71 02\r\n024: 22 06\r\n025: 31 72\r\n026: 35 54\r\n027: 35 54\r\n028: 31 72\r\n029: 35 52\r\n030: 35 53\r\n031: 61\r\n032: 35 53\r\n033: 61\r\n034: 35 54\r\n035: 32 72\r\n036: 35 22\r\n037: 32 25 15\r\n038: 31 72\r\n039: 32 52\r\n040: 41\r\n041: 35 54\r\n042: 35 54\r\n043: 31 63\r\n044: 35 82\r\n045: 31 62\r\n046: 35 54\r\n047: 71\r\n048: 35 52\r\n049: 35 82\r\n050: 71\r\n051: 32 72\r\n052: 35 22\r\n053: 31 25 15\r\n054: 35 71 02\r\n055: 22 03\r\n056: 35 34\r\n057: 35 63\r\n058: 35 52\r\n059: 35 34\r\n060: 71\r\n061: 35 52\r\n062: 35 22\r\n063: 32 25 12\r\n064: 31 22 01\r\n065: 31 22 00\r\n066: 35 52\r\n067: 81\r\n068: 31 22 01\r\n069: 71\r\n070: 35 52\r\n071: 35 22\r\n072: 71\r\n073: 22 11\r\n074: 32 25 11\r\n075: 31 22 01\r\n076: 35 52\r\n077: 31 22 00\r\n078: 71\r\n079: 31 22 01\r\n080: 81\r\n081: 35 52\r\n082: 35 22\r\n083: 32 25 14\r\n084: 42\r\n085: 32 25 13\r\n086: 31 22 01\r\n087: 81\r\n088: 01\r\n089: 61\r\n090: 31 51\r\n091: 35 22\r\n092: 81\r\n093: 35 22\r\n094: 31 25 01\r\n095: 41\r\n096: 41\r\n097: 35 54\r\n098: 35 22\r\n099: 31 25 00\r\n100: 81\r\n101: 41\r\n102: 41\r\n103: 71\r\n104: 01\r\n105: 61\r\n106: 35 54\r\n107: 35 22\r\n108: 31 25 03\r\n109: 31 42\r\n110: 35 71 00\r\n111: 22 02\r\n112: 33 07\r\n113: 35 53\r\n114: 33 06\r\n115: 35 53\r\n116: 33 05\r\n117: 35 53\r\n118: 33 04\r\n119: 34 06\r\n120: 61\r\n121: 34 07\r\n122: 81\r\n123: 33 02\r\n124: 34 05\r\n125: 34 07\r\n126: 81\r\n127: 33 03\r\n128: 35 51 02\r\n129: 22 07\r\n130: 31 25 02\r\n131: 33 05\r\n132: 3\r\n5 53\r\n133: 33 04\r\n134: 35 54\r\n135: 32 72\r\n136: 34 13\r\n137: 81\r\n138: 31 72\r\n139: 33 03\r\n140: 35 53\r\n141: 33 02\r\n142: 34 13\r\n143: 33 07\r\n144: 00\r\n145: 33 06\r\n146: 31 25 07\r\n147: 34 04\r\n148: 34 05\r\n149: 32 72\r\n150: 34 06\r\n151: 35 71 02\r\n152: 42\r\n153: 34 07\r\n154: 32 72\r\n155: 42\r\n156: 31 22 12\r\n157: 33 09\r\n158: 35 53\r\n159: 33 08\r\n160: 34 04\r\n161: 34 05\r\n162: 32 72\r\n163: 34 06\r\n164: 34 07\r\n165: 32 72\r\n166: 31 22 12\r\n167: 31 22 13\r\n168: 34 08\r\n169: 34 09\r\n170: 31 22 14\r\n171: 33 01\r\n172: 35 52\r\n173: 33 00\r\n174: 35 52\r\n175: 34 02\r\n176: 34 03\r\n177: 31 42\r\n178: 35 51 02\r\n179: 31 22 11\r\n180: 35 22\r\n181: 31 25 04\r\n182: 33 00\r\n183: 31 42\r\n184: 44\r\n185: 33 04\r\n186: 33 05\r\n187: 33 06\r\n188: 33 07\r\n189: 33 08\r\n190: 33 09\r\n191: 61\r\n192: 31 42\r\n193: 34 00\r\n194: 35 22\r\n195: 31 25 06\r\n196: 31 54\r\n197: 71\r\n198: 81\r\n199: 33 01\r\n200: 81\r\n201: 33 12\r\n202: 34 01\r\n203: 35 22\r\n204: 31 25 08\r\n205: 35 52\r\n206: 34 14\r\n207: 71\r\n208: 35 52\r\n209: 32 72\r\n210: 35 22\r\n211: 31 25 05\r\n212: 35 33\r\n213: 35 53\r\n214: 33 00\r\n215: 35 53\r\n216: 33 61 00\r\n217: 34 00\r\n218: 33 24\r\n219: 35 22\r\n220: 84\r\n221: 84\r\n222: 84\r\n223: 84\r\n224: 84\r\nSTATE\r\n7\r\nDEG\r\nFIX\r\n9\r\n0\r\n0\r\n0\r\n1\r\nCARD\r\n11\r\nTitle: Power Waves\r\nA: x&lt;&gt;y\r\nB: +\r\nC: 1\/z\r\nD: *\r\nE: z^n\r\na: zs&gt;p\r\nb: zp&gt;s\r\nc: x1||x2\r\nd: x2(x,x1)\r\ne: e^z\r\nHELP\r\n19\r\nGss HP-67 Power Waves\r\nv0.07, 12\/17\/2015  by Class'67\r\n\r\n    Polar Complex Functions\r\n    +       1\/z      *       z^n      e^z\r\n    B        C        D        E         e\r\n\r\n   Series-Parallel Reactances\r\n zs&gt;p    zp&gt;s     x1||x2    x2(x,x1)\r\n    a          b           c              d\r\n\r\n  [A] - Swap X and Y reg.\r\nSF 2,  [A] - clear summation reg.\r\nSF 2,  [B] - lambda-beta calc.\r\nSF 2,  [C] - Z(L) or Y(C) \r\nSF 2,  [D] - register loader\r\nSF 2,  [E] - gen. rho,  Zc = Zs*\r\nSF 2,  SF 0,  [E] - rho,  Zo \r\n\r\nEND\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s another program by Class&#8217;67. This one is clearly useful for RF engineering (including many formulae I haven&#8217;t seen for a very long time). It is based around arithmetic with complex numbers so it may also be of interest to other engineers that deal with waves or use complex numbers, or to mathematicians generally.<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,5,3,51],"tags":[38],"_links":{"self":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1466"}],"collection":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1466"}],"version-history":[{"count":7,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1466\/revisions"}],"predecessor-version":[{"id":2416,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/posts\/1466\/revisions\/2416"}],"wp:attachment":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/categories?post=1466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/tags?post=1466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}