Transmission-line matrix method
The transmission-line matrix (TLM) method is a space and time discretising method for computation of electromagnetic fields. It is based on the analogy between the electromagnetic field and a mesh of transmission lines. The TLM method allows the computation of complex three-dimensional electromagnetic structures and has proven to be one of the most powerful time-domain methods along with the finite difference time domain (FDTD) method. The TLM was first explored by Raymond Beurle while working at English Electric Valve Company in Chelmsford. After he had been appointed professor of electrical engineering at the University of Nottingham in 1963 he jointly authored an article, "Numerical solution of 2-dimensional scattering problems using a transmission-line matrix", with Peter B. Johns in 1971.<ref name="de Cogan TLM">de Cogan, Donard (12 December 2018). Transmission Line Matrix (TLM) Techniques for Diffusion Applications. Routledge. ISBN 978-1-351-40712-0.</ref>
Basic principle
The TLM method is based on Huygens' model of wave propagation and scattering and the analogy between field propagation and transmission lines. Therefore, it considers the computational domain as a mesh of transmission lines, interconnected at nodes. In the figure on the right is considered a simple example of a 2D TLM mesh with a voltage pulse of amplitude 1 V incident on the central node. This pulse will be partially reflected and transmitted according to the transmission-line theory. If we assume that each line has a characteristic impedance <math>Z</math>, then the incident pulse sees effectively three transmission lines in parallel with a total impedance of <math>Z/3</math>. The reflection coefficient and the transmission coefficient are given by
- <math>R = \frac{Z/3-Z}{Z/3+Z} = -0.5</math>
- <math>T = \frac{2(Z/3)}{Z/3+Z} = 0.5</math>
The energy injected into the node by the incident pulse and the total energy of the scattered pulses are correspondingly
- <math>E_I = vi\,\Delta t = 1 \left(1/Z\right)\Delta t = \Delta t/Z</math>
- <math>E_S = \left[0.5^2+0.5^2+0.5^2+(-0.5)^2\right](\Delta t/Z) = \Delta t/Z</math>
Therefore, the energy conservation law is fulfilled by the model.
The next scattering event excites the neighbouring nodes according to the principle described above. It can be seen that every node turns into a secondary source of spherical wave. These waves combine to form the overall waveform. This is in accordance with Huygens principle of light propagation.
In order to show the TLM schema we will use time and space discretisation. The time-step will be denoted with <math>\Delta t</math> and the space discretisation intervals with <math>\Delta x</math>, <math>\Delta y</math> and <math>\Delta z</math>. The absolute time and space will therefore be <math>t = k\,\Delta t</math>, <math>x = l\,\Delta x</math>, <math>y = m\,\Delta y</math>, <math>z = n\,\Delta z</math>, where <math>k=0,1,2,\ldots</math> is the time instant and <math>m,n,l</math> are the cell coordinates. In case <math>\Delta x = \Delta y = \Delta z</math> the value <math>\Delta l</math> will be used, which is the lattice constant. In this case the following holds:
- <math>\Delta t=\frac{\Delta l}{c_0},</math>
where <math>c_0</math> is the free space speed of light.
The 2D TLM node
The scattering matrix of an 2D TLM node
If we consider an electromagnetic field distribution in which the only non-zero components are <math>E_x</math>, <math>E_y</math> and <math>H_z</math> (i.e. a TE-mode distribution), then Maxwell's equations in Cartesian coordinates reduce to
- <math>\frac{\partial{H_z}}{\partial{y}} = \varepsilon\frac{\partial{E_x}}{\partial{t}}</math>
- <math>-\frac{\partial{H_z}}{\partial{x}} = \varepsilon\frac{\partial{E_y}}{\partial{t}}</math>
- <math>\frac{\partial{E_y}}{\partial{x}}-\frac{\partial{E_x}}{\partial{y}} = -\mu\frac{\partial{H_z}}{\partial{t}}</math>
We can combine these equations to obtain
- <math>\frac{\partial^2H_z}{\partial{x}^2}+\frac{\partial^2{H_z}}{\partial{y}^2} = \mu\varepsilon\frac{\partial^2{H_z}}{\partial{t}^2}</math>
The figure on the right presents a structure referred to as a series node. It describes a block of space dimensions <math>\Delta x</math>, <math>\Delta y</math> and <math>\Delta z</math> that consists of four ports. <math>L'</math> and <math>C'</math> are the distributed inductance and capacitance of the transmission lines. It is possible to show that a series node is equivalent to a TE-wave, more precisely the mesh current I, the x-direction voltages (ports 1 and 3) and the y-direction voltages (ports 2 and 4) may be related to the field components <math>H_z</math>, <math>E_x</math> and <math>E_y</math>. If the voltages on the ports are considered, <math>L_x = L_y</math>, and the polarity from the above figure holds, then the following is valid
- <math>-V_1+V_2+V_3-V_4 = 2L'\,\Delta l\frac{\partial{I}}{\partial{t}}</math>
where <math>\Delta x = \Delta y = \Delta l</math>.
- <math>\left(V_3 - V_1\right)-\left(V_4-V_2\right) = 2L'\,\Delta l\frac{\partial I}{\partial t}</math>
- <math>\left[E_x(y+\Delta y)-E_x(y)\right]\,\Delta x-[E_y(x+\Delta x)-E_y(x)]\Delta y = 2L'\,\Delta l\frac{\partial{I}}{\partial{t}}</math>
and dividing both sides by <math>\Delta x \Delta y</math>
- <math>\frac{E_x(y+\Delta y)-E_x(y)}{\Delta y}-\frac{E_y(x+\Delta x)-E_y(x)}{\Delta x} = 2L'\,\Delta l\frac{\partial{I}}{\partial{t}}\frac{1}{\Delta x \, \Delta y}</math>
Since <math>\Delta x = \Delta y = \Delta z = \Delta l</math> and substituting <math>I = H_z \,\Delta z</math> gives
- <math>\frac{\Delta E_x}{\Delta y} - \frac{\Delta E_y}{\Delta x} = 2L'\frac{\partial H_z}{\partial t}</math>
This reduces to Maxwell's equations when <math>\Delta l \rightarrow 0</math>.
Similarly, using the conditions across the capacitors on ports 1 and 4, it can be shown that the corresponding two other Maxwell equations are the following:
- <math>\frac{\partial{H_z}}{\partial{y}} = C'\frac{\partial{E_x}}{\partial{t}}</math>
- <math>-\frac{\partial{H_z}}{\partial{x}} = C'\frac{\partial{E_y}}{\partial{t}}</math>
Having these results, it is possible to compute the scattering matrix of a shunt node. The incident voltage pulse on port 1 at time-step k is denoted as <math>_kV^i_1</math>. Replacing the four line segments from the above figure with their Thevenin equivalent it is possible to show that the following equation for the reflected voltage pulse holds:
- <math>_kV^r_1 = 0.5\left(_kV^i_1 + _kV^i_2 + _kV^i_3 - _kV^i_4\right)</math>
If all incident waves as well as all reflected waves are collected in one vector, then this equation may be written down for all ports in matrix form:
- <math>_k\mathbf{V}^r=\mathbf{S}_k\mathbf{V}^i</math>
where <math>_k\mathbf{V}^i</math> and <math>_k\mathbf{V}^r</math> are the incident and the reflected pulse amplitude vectors.
For a series node the scattering matrix S has the following form
- <math>
\mathbf{S}=\frac12\left[ \begin{array}{cccc} 1& 1& 1& -1\\ 1& 1& -1& 1\\ 1& -1& 1& 1\\ -1& 1& 1& 1 \end{array} \right] </math>
Connection between TLM nodes
In order to describe the connection between adjacent nodes by a mesh of series nodes, look at the figure on the right. As the incident pulse in timestep k+1 on a node is the scattered pulse from an adjacent node in timestep k, the following connection equations are derived:
- <math>_{k+1}V^i_1(x,y)=_{k+1}V^r_3(x,y-1)</math>
- <math>_{k+1}V^i_2(x,y)=_{k+1}V^r_4(x-1,y)</math>
- <math>_{k+1}V^i_3(x,y)=_{k+1}V^r_1(x,y+1)</math>
- <math>_{k+1}V^i_4(x,y)=_{k+1}V^r_2(x+1,y)</math>
By modifying the scattering matrix <math>\textbf{S}</math> inhomogeneous and lossy materials can be modelled. By adjusting the connection equations it is possible to simulate different boundaries.
The shunt TLM node
Apart from the series node, described above there is also the shunt TLM node, which represents a TM-mode field distribution. The only non-zero components of such wave are <math>H_x</math>, <math>H_y</math>, and <math>E_z</math>. With similar considerations as for the series node the scattering matrix of the shunt node can be derived.
3D TLM models
Most problems in electromagnetics require a three-dimensional grid. As we now have structures that describe TE and TM-field distributions, intuitively it seems possible to define a combination of shunt and series nodes providing a full description of the electromagnetic field. Such attempts have been made, but because of the complexity of the resulting structures they proved to be not very useful. Using the analogy that was presented above leads to calculation of the different field components at physically separated points. This causes difficulties in providing simple and efficient boundary definitions. A solution to these problems was provided by Johns in 1987, when he proposed the structure known as the symmetrical condensed node (SCN), presented in the figure on the right. It consists of 12 ports because two field polarisations are to be assigned to each of the 6 sides of a mesh cell.
The topology of the SCN cannot be analysed using Thevenin equivalent circuits. More general energy and charge conservation principles are to be used.
The electric and the magnetic fields on the sides of the SCN node number (l,m,n) at time instant k may be summarised in 12-dimensional vectors
- <math>_k\mathbf{E}_{l,m,n}=_k\left[E_1,E_2,\ldots,E_{11},E_{12}\right]^T_{l,m,n}</math>
- <math>_k\mathbf{H}_{l,m,n}=_k\left[H_1,H_2,\ldots,H_{11},H_{12}\right]^T_{l,m,n}</math>
They can be linked with the incident and scattered amplitude vectors via
- <math>_k\mathbf{a}_{l,m,n} = \frac{1}{2\sqrt{Z_F}}{_k\mathbf{E}}_{l,m,n}+\frac{\sqrt{Z_F}}{2}{_k\mathbf{H}}_{l,m,n}</math>
- <math>_k\mathbf{b}_{l,m,n}=\frac{1}{2\sqrt{Z_F}}{_k\mathbf{E}}_{l,m,n}-\frac{\sqrt{Z_F}}{2}{_k\mathbf{H}}_{l,m,n}</math>
where <math>Z_F = \sqrt{\frac{\mu}{\varepsilon}}</math> is the field impedance, <math>_k\mathbf{a}_{l,m,n}</math> is the vector of the amplitudes of the incident waves to the node, and <math>_k\mathbf{b}_{l,m,n}</math> is the vector of the scattered amplitudes. The relation between the incident and scattered waves is given by the matrix equation
- <math>_k\mathbf{b}_{l,m,n} = \mathbf{S}_k\mathbf{a}_{l,m,n}</math>
The scattering matrix S can be calculated. For the symmetrical condensed node with ports defined as in the figure the following result is obtained
- <math>\mathbf{S} = \left[
\begin{array}{ccc} 0& \mathbf{S}_0& \mathbf{S}^T_0\\ \mathbf{S}^T_0& 0& \mathbf{S}_0\\ \mathbf{S}_0& \mathbf{S}^T_0& 0 \end{array}\right]</math>
where the following matrix was used
- <math>\mathbf{S}_0 = \frac{1}{2}\left[
\begin{array}{cccc} 0& 0& 1& -1\\ 0& 0& -1& 1\\ 1& 1& 0& 0\\ 1& 1& 0& 0 \end{array}\right]</math>
The connection between different SCNs is done in the same manner as for the 2D nodes.
Open-sourced code implementation of 3D-TLM
The George Green Institute for Electromagnetics Research (GGIEMR) has open-sourced an efficient implementation of 3D-TLM, capable of parallel computation by means of MPI named GGITLM and available online. <ref>"George Green Institute for Electromagnetics Research - TLM time domain simulation code". University of Nottingham - George Green Institute for Electromagnetics Research. University of Nottingham. Retrieved 23 March 2017.</ref>
References
<references/>
- C. Christopoulos, The Transmission Line Modeling Method: TLM, Piscataway, NY, IEEE Press, 1995. ISBN 978-0-19-856533-8
- Russer, P., Electromagnetics, Microwave Circuit and Antenna Design for Communications Engineering, Second edition, Artec House, Boston, 2006, ISBN 978-1-58053-907-4
- P. B. Johns and M.O'Brien. "Use of the transmission line modelling (t.l.m) method to solve nonlinear lumped networks", The Radio Electron and Engineer. 1980.
- J. L. Herring, Developments in the Transmission-Line Modelling Method for Electromagnetic Compatibility Studies, PhD thesis, University of Nottingham, 1993.
- Mansour Ahmadian, Transmission Line Matrix (TLM) modelling of medical ultrasound PhD thesis, University of Edinburgh 2001