|'''[[Port (circuit theory)|Port]]'''||Two terminals where the current into one is identical to the current out of the other.
|-valign=top
|'''[[Electrical circuit|Circuit]]'''||A current from one terminal of a [[generator (circuit theory)|generator]], through load component(s) and back into the other terminal. A circuit is, in this sense, a one-port network and is a trivial case to analyse. If there is any connection to any other circuits then a non-trivial network has been formed and at least two ports must exist. Often, "circuit" and "network" are used interchangeably, but many analysts reserve "network" to mean an idealised model consisting of ideal components.<ref>{{cite journal |author=Belevitch V |title=Summary of the history of circuit theory |journal=Proceedings of the IRE |volume=50 |issue=5 |pages=849 |date=May 1962 |doi=10.1109/JRPROC.1962.288301 |s2cid=51666316 |author-link=Vitold Belevitch }} cites {{cite journal |title=IRE Standards on Circuits: Definitions of Terms for Linear Passive Reciprocal Time Invariant Networks, 1960 |journal=Proceedings of the IRE |volume=48 |issue=9 |pages=1609 |date=September 1960 |doi=10.1109/JRPROC.1960.287676 }}to justify this definition.<br />[[Sidney Darlington]] {{cite journal |author=Darlington S |title=A history of network synthesis and filter theory for circuits composed of resistors, inductors, and capacitors |journal= IEEE Trans.Transactions on Circuits and Systems |volume=31 |issue=1 |pages=4 |year=1984 |doi= 10.1109/TCS.1984.1085415}}<br />follows Belevitch but notes there are now also many colloquial uses of "network".</ref>
|-valign=top
|'''[[Transfer function]]'''||The relationship of the currents and/or voltages between two ports. Most often, an input port and an output port are discussed and the transfer function is described as gain or attenuation.
|-valign=top
|'''Component transfer function'''||For a two-terminal component (i.e. one-port component), the current and voltage are taken as the input and output and the transfer function will have units of impedance or admittance (it is usually a matter of arbitrary convenience whether voltage or current is considered the input). A three (or more) terminal component effectively has two (or more) ports and the transfer function cannot be expressed as a single impedance. The usual approach is to express the transfer function as a matrix of parameters. These parameters can be impedances, but there is a large number of other approaches (see [[two-port network]]).
|}
[[Image:Delta-Star Transformation.svg|right|400px]]
A network of impedances with more than two terminals cannot be reduced to a single impedance equivalent circuit. An {{mvar|n}}-terminal network can, at best, be reduced to {{mvar|n}} impedances (at worst {{math|<sup>''n''</sup>[[Binomial coefficient|C]]<submath>\tbinom{n}{2}</submath>}}]]). For a three terminal network, the three impedances can be expressed as a three node delta (Δ) network or four node star (Y) network. These two networks are equivalent and the transformations between them are given below. A general network with an arbitrary number of nodes cannot be reduced to the minimum number of impedances using only series and parallel combinations. In general, Y-Δ and Δ-Y transformations must also be used. For some networks the extension of Y-Δ to [[#General form of network node elimination|star-polygon]] transformations may also be required.
For equivalence, the impedances between any pair of terminals must be the same for both networks, resulting in a set of three simultaneous equations. The equations below are expressed as resistances but apply equally to the general case with impedances.
{{main|Star-mesh transform}}
The star-to-delta and series-resistor transformations are special cases of the general resistor network node elimination algorithm. Any node connected by {{mvar|N}} resistors {{math|(''R''{{sub|1}} … ''R{{sub|N}}'')}} to nodes {{math|'''1''' … '''''N'''''}} can be replaced by {{<math|>\tbinom{{sup|''N''}}C{{sub|2}}}}</math> resistors interconnecting the remaining {{mvar|N}} nodes. The resistance between any two nodes {{mvar|x, y}} is given by:
:<math>R_\mathrm{xy} = R_x R_y\sum_{i=1}^N \frac{1}{R_i}</math>
For a star-to-delta ({{math|1=''N'' = 3}}) this reduces to:
For a series reduction ({{math|1=''N'' = 2}}) this reduces to:
:<math>R_\mathrm{ab} = R_a R_b \left(\frac 1 R_a+\frac 1 R_b\right) = \frac{R_a R_b(R_a + R_b)}{R_a R_b} = R_a + R_b</math>
For a dangling resistor ({{math|1=''N'' = 1}}) it results in the elimination of the resistor because {{<math|1=>\tbinom{{sup|1}}C{{sub|2}} = 0}}</math>.
===Source transformation===
{{Main|Superposition theorem}}
In this method, the effect of each generator in turn is calculated. All the generators other than the one being considered are removed and either short-circuited in the case of voltage generators or open-circuited in the case of current generators. The total current through or the total voltage across a particular branch is then calculated by summing all the individual currents or voltages.
There is an underlying assumption to this method that the total current or voltage is a linear superposition of its parts. Therefore, the method cannot be used if non-linear components are present. <ref name="Circuit Analysis, Chen">{{cite book |last=Chen |first=Wai-Kai |date=2005 |title=Circuit Analysis and Feedback Amplifier Theory |publisher=CRC Press |isbn=1420037277}}</ref>{{rp|pages=6-14}} Superposition of powers cannot be used to find total power consumed by elements even in linear circuits. Power varies according to the square of total voltage or current and the square of the sum is not generally equal to the sum of the squares. Total power in an element can be found by applying superposition to the voltages and current independently and then calculating power from the total voltage and current.
==Choice of method==
Choice of method<ref name="ElectricCircuits">{{cite book |last1 = Nilsson | first1 = James W. | last2 = Riedel | first2 = Susan A. |title=Electric Circuits |publisher=Pearson Prentice Hall |year=2007 |isbn=978-0-13-198925-2 |edition=8th |url=https://books.google.com/books?id=sxmM8RFL99wC }}</ref>{{rp|pp=112–113}} is to some extent a matter of taste. If the network is particularly simple or only a specific current or voltage is required then ad-hoc application of some simple equivalent circuits may yield the answer without recourse to the more systematic methods.
* [[Nodal analysis]]: The number of voltage variables, and hence simultaneous equations to solve, equals the number of nodes minus one. Every voltage source connected to the reference node reduces the number of unknowns and equations by one.
* [[Mesh analysis]]: The number of current variables, and hence simultaneous equations to solve, equals the number of meshes. Every current source in a mesh reduces the number of unknowns by one. Mesh analysis can only be used with networks which can be drawn as a [[Planar graph|planar]] network, that is, with no crossing components.<ref name="ElectricCircuits"/>{{rp|p=94}}
* [[Superposition theorem|Superposition]] is possibly the most conceptually simple method but rapidly leads to a large number of equations and messy impedance combinations as the network becomes larger.
* [[Effective medium approximations]]: For a network consisting of a high density of random resistors, an exact solution for each individual element may be impractical or impossible. Instead, the effective resistance and current distribution properties can be modelled in terms of [[Graph (discrete mathematics)|graph]] measures and geometrical properties of networks.<ref>{{Cite journal|last1=Kumar|first1=Ankush|last2=Vidhyadhiraja|first2=N. S.| last3=Kulkarni|first3=G. U .|year=2017|title=Current distribution in conducting nanowire networks|journal=Journal of Applied Physics| volume=122|issue=4|pages=045101|doi=10.1063/1.4985792|bibcode=2017JAP...122d5101K}}</ref>
==Transfer function==
A [[transfer function]] expresses the relationship between an input and an output of a network. For resistive networks, this will always be a simple real number or an expression which boils down to a real number. Resistive networks are represented by a system of simultaneous algebraic equations. However, in the general case of linear networks, the network is represented by a system of simultaneous linear differential equations. In network analysis, rather than use the differential equations directly, it is usual practice to carry out a [[Laplace transform]] on them first and then express the result in terms of the Laplace parameter s, which in general is [[Complex number|complex]]. This is described as working in the [[s-___domain]]. Working with the equations directly would be described as working in the time (or t) ___domain because the results would be expressed as time varying quantities. The Laplace transform is the mathematical method of transforming between the s-___domain and the t-___domain.
This approach is standard in [[control theory]] and is useful for determining [[Stable polynomial|stability]] of a system, for instance, in an amplifier with feedback.
===Two terminal component transfer functions===
For two terminal components the transfer function, or more generally for non-linear elements, the [[constitutive equation]], is the relationship between the current input to the device and the resulting voltage across it. The transfer function, Z(s), will thus have units of impedance –, ohms. For the three passive components found in electrical networks, the transfer functions are;
{|
|-
===Two port network transfer function===
Transfer functions, in general, in control theory are given the symbol H(s). Most commonly in electronics, transfer function is defined as the ratio of output voltage to input voltage and given the symbol A(s), or more commonly (because analysis is invariably done in terms of sine wave response), ''A''(''jω''), so that;
<math display="block">A(j\omega)=\frac{V_o}{V_i}</math>
The ''A'' standing for attenuation, or amplification, depending on context. In general, this will be a complex function of ''jω'', which can be derived from an analysis of the impedances in the network and their individual transfer functions. Sometimes the analyst is only interested in the magnitude of the gain and not the phase angle. In this case the complex numbers can be eliminated from the transfer function and it might then be written as;
<math display="block">A(\omega)=\left|{\frac{V_o}{V_i}}\right|</math>
====Two port parameters====
{{main|Two-port network}}
The concept of a two-port network can be useful in network analysis as a [[black box]] approach to analysis. The behaviour of the two-port network in a larger network can be entirely characterised without necessarily stating anything about the internal structure. However, to do this it is necessary to have more information than just the A(jω) described above. It can be shown that four such parameters are required to fully characterise the two-port network. These could be the forward transfer function, the input impedance, the reverse transfer function (i.e., the voltage appearing at the input when a voltage is applied to the output) and the output impedance. There are many others (see the main article for a full listing), one of these expresses all four parameters as impedances. It is usual to express the four parameters as a matrix;
<math display="block">
\begin{bmatrix}
<math> \left [z(j\omega) \right] </math> or just <math> \left [z \right] </math>
These concepts are capable of being extended to networks of more than two ports. However, this is rarely done in reality because, in many practical cases, ports are considered either purely input or purely output. If reverse direction transfer functions are ignored, a multi-port network can always be decomposed into a number of two-port networks.
====Distributed components====
Where a network is composed of discrete components, analysis using two-port networks is a matter of choice, not essential. The network can always alternatively be analysed in terms of its individual component transfer functions. However, if a network contains [[distributed-element model|distributed components]], such as in the case of a [[transmission line]], then it is not possible to analyse in terms of individual components since they do not exist. The most common approach to this is to model the line as a two-port network and characterise it using two-port parameters (or something equivalent to them). Another example of this technique is modelling the carriers crossing the base region in a high frequency transistor. The base region has to be modelled as distributed resistance and capacitance rather than [[Lumped parameters|lumped components]].
====Image analysis====
{{Main|Image impedance}}
Transmission lines and certain types of filter design use the image method to determine their transfer parameters. In this method, the behaviour of an infinitely long cascade connected chain of identical networks is considered. The input and output impedances and the forward and reverse transmission functions are then calculated for this infinitely long chain. Although the theoretical values so obtained can never be exactly realised in practice, in many cases they serve as a very good approximation for the behaviour of a finite chain as long as it is not too short.
== Time-based network analysis with simulation ==
==Non-linear networks==
Most electronic designs are, in reality, non-linear. There are very few that do not include some semiconductor devices. These are invariably non-linear, the transfer function of an ideal semiconductor [[p-n junction]] is given by the very non-linear relationship;
:<math>i = I_o \left(e^{{v}/{V_T}}-1\right)</math>
* ''V<sub>T</sub>'' is a parameter proportional to temperature called the thermal voltage and equal to about 25mV at room temperature.
There are many other ways that non-linearity can appear in a network. All methods utilising linear superposition will fail when non-linear components are present. There are several options for dealing with non-linearity depending on the type of circuit and the information the analyst wishes to obtain.
===Constitutive equations===
===Existence, uniqueness and stability===
An important consideration in non-linear analysis is the question of uniqueness. For a network composed of linear components there will always be one, and only one, unique solution for a given set of boundary conditions. This is not always the case in non-linear circuits. For instance, a linear resistor with a fixed current applied to it has only one solution for the voltage across it. On the other hand, the non-linear [[tunnel diode]] has up to three solutions for the voltage for a given current. That is, a particular solution for the current through the diode is not unique, there may be others, equally valid. In some cases there may not be a solution at all: the question of existence of solutions must be considered.
Another important consideration is the question of stability. A particular solution may exist, but it may not be stable, rapidly departing from that point at the slightest stimulation. It can be shown that a network that is absolutely stable for all conditions must have one, and only one, solution for each set of conditions.<ref>Ljiljana Trajković, "Nonlinear circuits", ''The Electrical Engineering Handbook'' (Ed: Wai-Kai Chen), pp. 79–81, Academic Press, 2005 {{ISBN|0-12-170960-4}}</ref>
===Methods===
====Boolean analysis of switching networks====
A switching device is one where the non-linearity is utilised to produce two opposite states. CMOS devices in digital circuits, for instance, have their output connected to either the positive or the negative supply rail and are never found at anything in between except during a transient period when the device is switching. Here the non-linearity is designed to be extreme, and the analyst can take advantage of that fact. These kinds of networks can be analysed using [[Boolean algebra (logic)|Boolean algebra]] by assigning the two states ("on"/"off", "positive"/"negative" or whatever states are being used) to the booleanBoolean constants "0" and "1".
The transients are ignored in this analysis, along with any slight discrepancy between the state of the device and the nominal state assigned to a booleanBoolean value. For instance, booleanBoolean "1" may be assigned to the state of +5V. The output of the device may be +4.5V but the analyst still considers this to be booleanBoolean "1". Device manufacturers will usually specify a range of values in their data sheets that are to be considered undefined (i.e. the result will be unpredictable).
The transients are not entirely uninteresting to the analyst. The maximum rate of switching is determined by the speed of transition from one state to the other. Happily for the analyst, for many devices most of the transition occurs in the linear portion of the devices transfer function and linear analysis can be applied to obtain at least an approximate answer.
It is mathematically possible to derive [[Boolean algebra (structure)|booleanBoolean algebra]]s that have more than two states. There is not too much use found for these in electronics, although three-state devices are passingly common.
====Separation of bias and signal analyses====
This technique is used where the operation of the circuit is to be essentially linear, but the devices used to implement it are non-linear. A transistor amplifier is an example of this kind of network. The essence of this technique is to separate the analysis into two parts. Firstly, the dc [[Biasing (electronics)|biases]] are analysed using some non-linear method. This establishes the [[Biasing|quiescent]] operating point of the circuit. Secondly, the [[small signal]] characteristics of the circuit are analysed using linear network analysis. Examples of methods that can be used for both these stages are given below.
====Graphical method of dc analysis====
In a great many circuit designs, the dc bias is fed to a non-linear component via a resistor (or possibly a network of resistors). Since resistors are linear components, it is particularly easy to determine the quiescent operating point of the non-linear device from a graph of its transfer function. The method is as follows: from linear network analysis the output transfer function (that is output voltage against output current) is calculated for the network of resistor(s) and the generator driving them. This will be a straight line (called the [[load line (electronics)|load line]]) and can readily be superimposed on the transfer function plot of the non-linear device. The point where the lines cross is the quiescent operating point.
Perhaps the easiest practical method is to calculate the (linear) network open circuit voltage and short circuit current and plot these on the transfer function of the non-linear device. The straight line joining these two point is the transfer function of the network.
In reality, the designer of the circuit would proceed in the reverse direction to that described. Starting from a plot provided in the manufacturers data sheet for the non-linear device, the designer would choose the desired operating point and then calculate the linear component values required to achieve it.
It is still possible to use this method if the device being biased has its bias fed through another device which is itself non-linear –, a diode for instance. In this case however, the plot of the network transfer function onto the device being biased would no longer be a straight line and is consequently more tedious to do.
====Small signal equivalent circuit====
{{main|Small -signal model}}
This method can be used where the deviation of the input and output signals in a network stay within a substantially linear portion of the non-linear devices transfer function, or else are so small that the curve of the transfer function can be considered linear. Under a set of these specific conditions, the non-linear device can be represented by an equivalent linear network. It must be remembered that this equivalent circuit is entirely notional and only valid for the small signal deviations. It is entirely inapplicable to the dc biasing of the device.
The model of a forward biased pn junction having an approximately constant 0.7V is also a much used approximation for transistor base-emitter junction voltage in amplifier design.
The piecewise method is similar to the small signal method in that linear network analysis techniques can only be applied if the signal stays within certain bounds. If the signal crosses a discontinuity point then the model is no longer valid for linear analysis purposes. The model does have the advantage over small signal however, in that it is equally applicable to signal and dc bias. These can therefore both be analysed in the same operations and will be linearly superimposable.
===Time-varying components===
In linear analysis, the components of the network are assumed to be unchanging, but in some circuits this does not apply, such as sweep oscillators, [[voltage controlled amplifier]]s, and variable [[Electronic filter|equalisers]]. In many circumstances the change in component value is periodic. A non-linear component excited with a periodic signal, for instance, can be represented as a periodically varying ''linear'' component. [[Sidney Darlington]] disclosed a method of analysing such periodic time varying circuits. He developed canonical circuit forms which are analogous to the canonical forms of [[Ronald M. Foster]] and [[Wilhelm Cauer]] used for analysing linear circuits.<ref>{{Ref patent |country=US |number=3265973 |status=patent |title=Synthesis of two-port networks having periodically time-varying elements |gdate=1966-08-09 |fdate=1962-05-16 |inventor=Sidney Darlington, Irwin W. Sandberg }}</ref>
===Vector circuit theory===
|