Electrical impedance

In electrical engineering, electrical impedance is the measure of the opposition that a circuit presents to a current when a voltage is applied.
Quantitatively, the impedance of a two-terminal circuit element is the ratio of the complex representation of the sinusoidal voltage between its terminals, to the complex representation of the current flowing through it. In general, it depends upon the frequency of the sinusoidal voltage. 
Impedance extends the concept of resistance to alternating current (AC) circuits, and possesses both magnitude and phase, unlike resistance, which has only magnitude. 
Impedance is a complex number, with the same units as resistance, for which the SI unit is the ohm ().
Its symbol is usually , and it may be represented by writing its magnitude and phase in the polar form . However, cartesian complex number representation is often more powerful for circuit analysis purposes.
The notion of impedance is useful for performing AC analysis of electrical networks, because it allows relating sinusoidal voltages and currents by a simple linear law. 
In multiple port networks, the two-terminal definition of impedance is inadequate, but the complex voltages at the ports and the currents flowing through them are still linearly related by the impedance matrix. 
The reciprocal of impedance is admittance, whose SI unit is the siemens, formerly called mho.
Instruments used to measure the electrical impedance are called impedance analyzers.
Introduction.
The term "impedance" was coined by Oliver Heaviside in July 1886. Arthur Kennelly was the first to represent impedance with complex numbers in 1893.
In addition to resistance as seen in DC circuits, impedance in AC circuits includes the effects of the induction of voltages in conductors by the magnetic fields (inductance), and the electrostatic storage of charge induced by voltages between conductors (capacitance). The impedance caused by these two effects is collectively referred to as reactance and forms the imaginary part of complex impedance whereas resistance forms the real part.
Impedance is defined as the frequency domain ratio of the voltage to the current. In other words, it is the voltage–current ratio for a single complex exponential at a particular frequency . 
For a sinusoidal current or voltage input, the polar form of the complex impedance relates the amplitude and phase of the voltage and current. In particular:
Complex impedance.
The impedance of a two-terminal circuit element is represented as a complex quantity formula_1. The polar form conveniently captures both magnitude and phase characteristics as
where the magnitude formula_3 represents the ratio of the voltage difference amplitude to the current amplitude, while the argument formula_4 (commonly given the symbol formula_5) gives the phase difference between voltage and current. formula_6 is the imaginary unit, and is used instead of formula_7 in this context to avoid confusion with the symbol for electric current.
In Cartesian form, impedance is defined as
where the real part of impedance is the resistance formula_9 and the imaginary part is the reactance formula_10.
Where it is needed to add or subtract impedances, the cartesian form is more convenient; but when quantities are multiplied or divided, the calculation becomes simpler if the polar form is used. A circuit calculation, such as finding the total impedance of two impedances in parallel, may require conversion between forms several times during the calculation. Conversion between the forms follows the normal conversion rules of complex numbers.
Complex voltage and current.
To simplify calculations, sinusoidal voltage and current waves are commonly represented as complex-valued functions of time denoted as formula_11 and formula_12.
The impedance of a bipolar circuit is defined as the ratio of these quantities:
Hence, denoting formula_15, we have
The magnitude equation is the familiar Ohm's law applied to the voltage and current amplitudes, while the second equation defines the phase relationship.
Validity of complex representation.
This representation using complex exponentials may be justified by noting that (by Euler's formula):
The real-valued sinusoidal function representing either voltage or current may be broken into two complex-valued functions. By the principle of superposition, we may analyse the behaviour of the sinusoid on the left-hand side by analysing the behaviour of the two complex terms on the right-hand side. Given the symmetry, we only need to perform the analysis for one right-hand term. The results are identical for the other. At the end of any calculation, we may return to real-valued sinusoids by further noting that
Ohm's law.
The meaning of electrical impedance can be understood by substituting it into Ohm's law.
Assuming a two-terminal circuit element with impedance formula_1 is driven by a sinusoidal voltage or current as above, there holds 
The magnitude of the impedance formula_3 acts just like resistance, giving the drop in voltage amplitude across an impedance formula_1 for a given current formula_12. The phase factor tells us that the current lags the voltage by a phase of formula_24 (i.e., in the time domain, the current signal is shifted formula_25 later with respect to the voltage signal).
Just as impedance extends Ohm's law to cover AC circuits, other results from DC circuit analysis, such as voltage division, current division, Thévenin's theorem and Norton's theorem, can also be extended to AC circuits by replacing resistance with impedance.
Phasors.
A phasor is represented by a constant complex number, usually expressed in exponential form, representing the complex amplitude (magnitude and phase) of a sinusoidal function of time. Phasors are used by electrical engineers to simplify computations involving sinusoids, where they can often reduce a differential equation problem to an algebraic one.
The impedance of a circuit element can be defined as the ratio of the phasor voltage across the element to the phasor current through the element, as determined by the relative amplitudes and phases of the voltage and current. This is identical to the definition from Ohm's law given above, recognising that the factors of formula_26 cancel.
Device examples.
Resistor.
The impedance of an ideal resistor is purely real and is called "resistive impedance":
In this case, the voltage and current waveforms are proportional and in phase.
Inductor and capacitor.
Ideal inductors and capacitors have a purely imaginary "reactive impedance":
the impedance of inductors increases as frequency increases;
the impedance of capacitors decreases as frequency increases;
In both cases, for an applied sinusoidal voltage, the resulting current is also sinusoidal, but in quadrature, 90 degrees out of phase with the voltage. However, the phases have opposite signs: in an inductor, the current is "lagging"; in a capacitor the current is "leading".
Note the following identities for the imaginary unit and its reciprocal:
Thus the inductor and capacitor impedance equations can be rewritten in polar form:
The magnitude gives the change in voltage amplitude for a given current amplitude through the impedance, while the exponential factors give the phase relationship.
Deriving the device-specific impedances.
What follows below is a derivation of impedance for each of the three basic circuit elements: the resistor, the capacitor, and the inductor. Although the idea can be extended to define the relationship between the voltage and current of any arbitrary signal, these derivations assume sinusoidal signals. In fact, this applies to any arbitrary periodic signals, because these can be approximated as a sum of sinusoids through Fourier analysis.
Resistor.
For a resistor, there is the relation
which is Ohm's law.
Considering the voltage signal to be
it follows that
This says that the ratio of AC voltage amplitude to alternating current (AC) amplitude across a resistor is formula_9, and that the AC voltage leads the current across a resistor by 0 degrees.
This result is commonly expressed as
Capacitor.
For a capacitor, there is the relation:
Considering the voltage signal to be
it follows that
and thus, as previously,
Conversely, if the current through the circuit is assumed to be sinusoidal, its complex representation being 
then integrating the differential equation 
leads to 
The "Const" term represents a fixed potential bias superimposed to the AC sinusoidal potential, that plays no role in AC analysis. For this purpose, this term can be assumed to be 0, hence again the impedance 
Inductor.
For the inductor, we have the relation (from Faraday's law):
This time, considering the current signal to be:
it follows that:
This result is commonly expressed in polar form as
or, using Euler's formula, as
As in the case of capacitors, it is also possible to derive this formula directly from the complex representations of the voltages and currents, or by assuming a sinusoidal voltage between the two poles of the inductor. 
In the latter case, integrating the differential equation above leads to a "Const" term for the current, that represents a fixed DC bias flowing through the inductor. This is set to zero because AC analysis using frequency domain impedance considers one frequency at a time and DC represents a separate frequency of zero hertz in this context.
Generalised s-plane impedance.
Impedance defined in terms of "jω" can strictly be applied only to circuits that are driven with a steady-state AC signal. The concept of impedance can be extended to a circuit energised with any arbitrary signal by using complex frequency instead of "jω". Complex frequency is given the symbol "s" and is, in general, a complex number. Signals are expressed in terms of complex frequency by taking the Laplace transform of the time domain expression of the signal. The impedance of the basic circuit elements in this more general notation is as follows:
For a DC circuit, this simplifies to . For a steady-state sinusoidal AC signal .
Resistance vs reactance.
Resistance and reactance together determine the magnitude and phase of the impedance through the following relations:
In many applications, the relative phase of the voltage and current is not critical so only the magnitude of the impedance is significant.
Resistance.
Resistance formula_9 is the real part of impedance; a device with a purely resistive impedance exhibits no phase shift between the voltage and current.
Reactance.
Reactance formula_53 is the imaginary part of the impedance; a component with a finite reactance induces a phase shift formula_54 between the voltage across it and the current through it.
A purely reactive component is distinguished by the sinusoidal voltage across the component being in quadrature with the sinusoidal current through the component. This implies that the component alternately absorbs energy from the circuit and then returns energy to the circuit. A pure reactance does not dissipate any power.
Capacitive reactance.
A capacitor has a purely reactive impedance that is inversely proportional to the signal frequency. A capacitor consists of two conductors separated by an insulator, also known as a dielectric.
The minus sign indicates that the imaginary part of the impedance is negative.
At low frequencies, a capacitor approaches an open circuit so no current flows through it.
A DC voltage applied across a capacitor causes charge to accumulate on one side; the electric field due to the accumulated charge is the source of the opposition to the current. When the potential associated with the charge exactly balances the applied voltage, the current goes to zero.
Driven by an AC supply, a capacitor accumulates only a limited charge before the potential difference changes sign and the charge dissipates. The higher the frequency, the less charge accumulates and the smaller the opposition to the current.
Inductive reactance.
Inductive reactance formula_57 is proportional to the signal frequency formula_58 and the inductance formula_59.
An inductor consists of a coiled conductor. Faraday's law of electromagnetic induction gives the back emf formula_61 (voltage opposing current) due to a rate-of-change of magnetic flux density formula_62 through a current loop.
Or explicitly in real and imaginary terms:
Parallel combination.
For components connected in parallel, the voltage across each circuit element is the same; the ratio of currents through any two elements is the inverse ratio of their impedances.
Hence the inverse total impedance is the sum of the inverses of the component impedances:
or, when n = 2:
The equivalent impedance formula_68 can be calculated in terms of the equivalent series resistance formula_69 and reactance formula_70.
Measurement.
The measurement of the impedance of devices and transmission lines is a practical problem in radio technology and other fields. Measurements of impedance may be carried out at one frequency, or the variation of device impedance over a range of frequencies may be of interest. The impedance may be measured or displayed directly in ohms, or other values related to impedance may be displayed; for example, in a radio antenna, the standing wave ratio or reflection coefficient may be more useful than the impedance alone. The measurement of impedance requires the measurement of the magnitude of voltage and current, and the phase difference between them. Impedance is often measured by "bridge" methods, similar to the direct-current Wheatstone bridge; a calibrated reference impedance is adjusted to balance off the effect of the impedance of the device under test. Impedance measurement in power electronic devices may require simultaneous measurement and provision of power to the operating device.
The impedance of a device can be calculated by complex division of the voltage and current. The impedance of the device can be calculated by applying a sinusoidal voltage to the device in series with a resistor, and measuring the voltage across the resistor and across the device. Performing this measurement by sweeping the frequencies of the applied signal provides the impedance phase and magnitude.
The use of an impulse response may be used in combination with the fast Fourier transform (FFT) to rapidly measure the electrical impedance of various electrical devices.
The LCR meter (Inductance (L), Capacitance (C), and Resistance (R)) is a device commonly used to measure the inductance, resistance and capacitance of a component; from these values, the impedance at any frequency can be calculated.
Example.
Consider an LC tank circuit. 
The complex impedance of the circuit is
It is immediately seen that the value of formula_73 is minimal (actually equal to 0 in this case) whenever 
Therefore, the fundamental resonance angular frequency is 
Variable impedance.
In general, neither impedance nor admittance can vary with time, since they are defined for complex exponentials in which . If the complex exponential voltage to current ratio changes over time or amplitude, the circuit element cannot be described using the frequency domain. However, many components and systems (e.g., varicaps that are used in radio tuners) may exhibit non-linear or time-varying voltage to current ratios that seem to be linear time-invariant (LTI) for small signals and over small observation windows, so they can be roughly described as-if they had a time-varying impedance. This description is an approximation: Over large signal swings or wide observation windows, the voltage to current relationship will not be LTI and cannot be described by impedance.