Jump to content

User:Netshine2/sandbox

From Wikipedia, the free encyclopedia

Tridiagonal example

[edit]

Some applications may require multiple zero entries in a similarity matrix, possibly in the form of a tridiagonal matrix.[1] Since Jacobian rotations may remove zeros from other cells that were previously zeroed, it is usually not possible to achieve tridiagonalization by simply zeroing each off-tridiagonal cell individually in a medium to large matrix. However, if Jacobian rotations are repeatedly performed on the above-tridiagonal cell with the highest absolute value using an adjacent cell just below or to the left to rotate on, then all of the off-triangular cells are expected to converge on zero after several iterations. In the example below, is a 5X5 matrix that is to be tridiagonalized into a similar matrix, .

To tridiagonalize matrix into matrix , the off-tridiagonal cells [1,3], [1,4], [1,5], [2,4], [2,5], and [3,5], must continue to be iteratively zeroed until the maximum absolute value of those cells is below an acceptable convergence threshold. This example will use 1.e-14.. The cells below the diagonal will be zeroed automatically, due to the symmetric nature of the matrix. The first Jacobian rotation will be on the off-tridiagonal cell with the highest absolute value, which by inspection is [1,4] with a value of 11. To make this entry zero, the condition specified in the above equations must be met for the cell coordinates to be zeroed () and for the selected rotational coordinates of (), and are reproduced below for the first iteration.

To force cell[1,4] and [4,1] to be 0 by rotating on cell[1][3]:

The first rotation iteration, , produces a matrix with cells [1,4] and [4,1] zeroed, as expected. Furthermore, the eigenvalues and determinant of are identical to those of and T1 is also symmetric, confirming that the Jacobian rotation was performed correctly. The next iteration for will select cell [2,5] which contains the highest absolute value, 4.8001142, of all the cells to be zeroed..

After 10 iterations of zeroing the cell with the maximum absolute value using Jacobian rotations on the cell just below it, the maximum absolute value of all off-tridiagonal cells is 2.6e-15. Assuming this convergence criteria is acceptably low for the application it is being performed for, the similar triangularized matrix is shown below.

Since and have identical eigenvalues and determinants and is also symmetric, and are similar matrices with being tridiagonalized.

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Eigenvalues example

[edit]

Jacobian rotation can be used to extract the eigenvalues in a similar manner as the triangulation example above, but by zeroing all of the cells above the diagonal, instead of the tridiagonal, and performing the Jacobian rotation directly in the cells to be zeroed, instead of an adjacent cell.

Starting with the same matrix as the tridiagonal example,

The first Jacobian rotation will be on the off-diagonal cell with the with the highest absolute value, which by inspection is [1,4] with a value of 11, and the rotation cell will also be [1,4], in the equations above. The rotation angle is the result of a quadratic solution, but it can be seen in the equation that if the matrix is symmetric, then a real solution is assured.

To force cell[1,4] and [4,1] to be 0 by rotating on cell[1][4]:

The first rotation iteration, , produces a matrix with cells [1,4] and [4,1] zeroed, as expected. Furthermore, the eigenvalues and determinant of are identical to those of and T1 is also symmetric, confirming that the Jacobian rotation was performed correctly. The next iteration for will select cell [3,4] which contains the highest absolute value, 8.5794421, of all the cells to be zeroed..

After 25 iterations of zeroing the cell with the maximum absolute value using Jacobian rotations on the cell just below it, the maximum absolute value of all off-diagonal cells is 9.0233029E-11. Assuming this convergence criteria is acceptably low for the application it is being performed for, the similar diagonalized matrix is shown below.

The eigenvalues are now displayed across the diagonal, and may be directly extracted for use elsewhere.

Since and have identical eigenvalues and determinants and is also symmetric, and are similar matrices with being successfully diagonalized.

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

Coupled transmission lines

[edit]

Transmission lines may be placed in proximity to each other such that they electrically interact, such as two microstrip lines in close proximity. Such transmission lines lines are said to be coupled transmission lines. Coupled transmission lines be characterized by an even and odd mode analysis. The even mode is characterized by excitation of the two conductors with a signal of equal amplitude and phase. The odd mode is characterized by excitation with signals of equal and opposite magnitude. The even and odd modes each have their own characteristic impedances (Zoe, Zoo) and phase constants (). Lossy coupled transmission lines have their own even and odd mode attenuation constants (), which in turn leads to even and odd mode propagation constants () [2][3][4][5][6][7].

Coupled matrix parameters

[edit]

Coupled transmission lines may be modeled using even and odd mode transmission line parameters defined in the prior paragraph as shown with ports 1 and 2 on the input and ports 3 and 4 on the output[8],

..

Losses

[edit]

Attenuation due to losses from the conductor and dielectric are generally considered when simulating a microstrip. Total losses are a function of microstrip length, so attenuation is generally calculated in units of attenuation per unit length, with total losses calculated by attenuation * length, with attenuation units of Nepers, although some applications may use attenuation in units dB. When the microstrip characteristic impedance (Zo), effective dielectric constant (Ere), and total losses () are all known the microstrip may be modeled as a standard transmission line.

Conductor losses

[edit]

Conductor losses are defined by the "specific resistance" or "resistivity" of the conductor material, and generally expressed as in the literature[9]. Each conductor material generally has a published resistivity associated with it. For example, the common conductor material of copper has a published resistivity of 1.68E-8 Ohm-m [10]. E. Hammerstad and Ø. Jensen proposed the following expressions for attenuation due to conductor losses[11]:

.

And:

= sheet resistance of the conductor

= current distribution factor

= correction term due to surface roughness

= Vacuum permeability ()

= Specific resistance, or resistivity, of the conductor

= effective (rms) surface roughness of the substrate

= skin depth

= wave impedance in a vacuum (376.730313412 Ohms)

Note that if surface roughness is neglected, the disappears from the expression, and it frequently is.

Dielectric losses

[edit]

Dielectric losses are defined by the "loss tangent" of the dielectric material, and generally expressed as in the literature. Each dielectric material generally has a published loss tangent associated with it. For example, the common dielectric material is alumina has a published loss tangent of 0.0002 to .0003 depending on the frequency[12]. Welch and Pratt, and Schneider proposed the following expressions for attenuation due to dielectric losses.[13][14][11]:

.

Dielectric losses are in general much less that conductor losses and are frequently neglected in some applications.

Coupled microstrip losses

[edit]

Coupled microstrip losses may be estimated using the same even and odd mode analysis as is used for characteristic impedance, dielectric constant. and effective dielectric constant for single line microstrips. Coupled line even mode and odd mode each have their independently calculated conductor and dielectric loss values calculated from the corresponding single line parameter, with the exception that even and odd current distribution factor are the same value, and is calculated from a Zo consisting of the average of Zoe and Zoo. [15][16].

////////////////////////////////////////////////////////////////////////////////////////////

Inverse solution

[edit]

Some applications require that k be calculated from a known [17], which we will refer to as for the remainder of this section, and the modulus of k, , will be referred to as k'. Although it is possible to obtain a value for k that solves the equation from table interpolations, Newton's method provides for a more efficient solution that is both rapid and precise for a wide variety of . Since the range of for 0.1<k<.9 is not too far off from linear, as observed from the table below, the standard equation for Newton's method is sufficient to solve the problem for this range. Limits to the states may be applied as needed to keep k within the range 0<k<1,

.

The extremely nonlinear nature of for k<0.1 and k>0.9 prevents the normal convergence of the equation in these ranges. However, when k is replaced by , and k' is replace by , then is significantly more linear in nature for high values, which in turn allows Newton's method to rapidly converge for F>.9. For F<.1, 1/F may be substituted for F, and the final k solution substituted with k'. The modified equations is

then

.

The derivatives in the denominators may be determined from the K(k) derivative definitions above and the rules from the derivative page. For high values of F, singularities occur due to finite 64 bit arithmetic precision. If it is not desired to use high precision arithmetic, approximations based on the limits as remove the singularities.

Then:

The initial value for lgk may be -F for the ln(k) case and k may be for the straight case, based on values observed in the table below. For smaller F, ln(1-tanh2(F)) and (1-tanh2(F)) have been observed to be a crude approximation and may serve as a suitable starting point.

Below is a table of , , , and the computed using Newton's method as described above.

1.e-20 -46.051702 30.199966 1.e-20
1.e-09 -20.723266 14.075383 1.e-09
1.e-05 -11.512925 8.2118984 1.e-05
0.001 -6.9077553 5.2801558 0.001
0.01 -4.6051702 3.8142689 0.01
0.1 -2.3025851 2.3468155 0.1
0.2 -1.6094379 1.9006702 0.2
0.5 -0.69314718 1.2792616 0.5
-0.34657359 1 0.70710678
0.8 -0.22314355 0.87743766 0.8
0.9 -0.10536052 0.72553432 0.9
0.99 -0.010050336 0.47032697 0.99
0.999 -0.0010005003 0.34958259 0.999
0.999999 -1.0000005E-06 0.1976472 0.999999
1-1.0e-09 -9.9999997E-10 0.1377727 1-1.0e-09

Complete elliptic integral of the second kind

[edit]

//////////////////////////////////////////////////////////////////////////////////////////////

Multivariate interpolation

[edit]

  1. ^ Kinayman, Noyan; Aksun, M. I. (2005). Modern Microwave Circuits. 685 Canton Street, Norwood, MA, US: Artech House, Inc. pp. 506, 507, 511. ISBN 1-58053-725-1.{{cite book}}: CS1 maint: date and year (link) CS1 maint: location (link)
  2. ^ Pozar, David M. Microwave Engineering (2nd ed.). John Wiley and Sons, Inc. pp. 383–388. ISBN 0-471-17096-8.
  3. ^ Maththaei, George L.; Young, Leo; E. M. T., Jones (1964). Microwave filters, impedance-matching networks, and coupling structures. Dedham, MA, US: Artech House Books. pp. 174–196. ISBN 0-89006-099-1.{{cite book}}: CS1 maint: date and year (link)
  4. ^ Rhea, Randall W. (1995). HF Filter Design and Computer Simulation. New York, NY, US: McGraw-Hill. p. 85. ISBN 0-07-052055-0.{{cite book}}: CS1 maint: date and year (link)
  5. ^ "5.6: Formulas for Impedance of Coupled Microstrip Lines". Engineering LibreTexts. October 21, 2022.
  6. ^ Drakos, Nikos; Hennecke, Marcus; Moore, Ross; Herb, Swan (November 22, 2013). "Parallel coupled microstrip lines". Quite universal circuit simulator.{{cite web}}: CS1 maint: url-status (link)
  7. ^ Garg, Ramesh; Bahl, Inder; Bozzi, Maurizio (2013). Microstrip Lines and Slotlines (3rd ed.). Boston, London: Artech House. pp. 462–473. ISBN 978-1-60807-535-5.{{cite book}}: CS1 maint: date and year (link)
  8. ^ "5.9: Models of Parallel Coupled Lines - Engineering LibreTexts". Libre Texts. October 21, 2020.{{cite web}}: CS1 maint: url-status (link)
  9. ^ "What is Resistance? Resistivity (ρ) & Specific Resistance Ω." ELECTRICAL TECHNOLOGY.{{cite web}}: CS1 maint: url-status (link)
  10. ^ Blattenberger, Kirt. "Resistivity (ρ) & Conductivity (σ) of Metals and Alloys - RF Cafe". RF Cafe.{{cite web}}: CS1 maint: url-status (link)
  11. ^ a b Hennecke, Marcus; Moore, Ross; Swan, Herb (February 1, 2002). "Single microstrip line". Quite universal circuits simulator (qucs).{{cite web}}: CS1 maint: url-status (link)
  12. ^ Blattenberger, Kirt. "Dielectric Constant, Strength, & Loss Tangent - RF Cafe". RF Cafe.{{cite web}}: CS1 maint: url-status (link)
  13. ^ Garg, Ramesh; Bahl, Inder; Bozzi, Maurizio (2013). Microstrip Lines and Slotlines (3rd ed.). Boston, London: Artech House. pp. 81, 82. ISBN 978-1-60807-535-5.
  14. ^ "3.5: Microstrip Transmission Lines - Engineering LibreTexts". Engineering Libre Texts. October 21, 2020.{{cite web}}: CS1 maint: url-status (link)
  15. ^ Garg, Ramesh; Bahl, Inder; Bozzi, Maurizio (2013). Microstrip Lines and Slotlines (3rd ed.). Artech House. pp. 469–473. ISBN 978-1-60807-535-5.
  16. ^ Hennecke, Marcus; Moore, Ross; Swan, Herb (February 1, 2002). "Parallel coupled microstrip lines". Quite universal circuits simulator (qucs).{{cite web}}: CS1 maint: url-status (link)
  17. ^ Smith, John I. (May 5, 1971). "The Even- and Odd-Mode Capacitance Parameters for Coupled Lines in Suspended Substrate". IEEE TRANSACTIONS ON MICROWAVE THEORY AND TECHNIQUES. MTT-19 (5): 429 (Equation 37) – via IEEE Xplore.