Inengineering, atransfer function (also known assystem function[1] ornetwork function) of a system, sub-system, or component is amathematical function thatmodels the system's output for each possible input.[2][3][4] It is widely used inelectronic engineering tools likecircuit simulators andcontrol systems. In simple cases, this function can be represented as a two-dimensionalgraph of an independentscalar input versus the dependent scalar output (known as atransfer curve orcharacteristic curve). Transfer functions for components are used to design and analyze systems assembled from components, particularly using theblock diagram technique, in electronics andcontrol theory.
Dimensions and units of the transfer function model the output response of the device for a range of possible inputs. The transfer function of atwo-port electronic circuit, such as anamplifier, might be a two-dimensional graph of the scalar voltage at the output as a function of the scalar voltage applied to the input; the transfer function of an electromechanicalactuator might be the mechanical displacement of the movable arm as a function of electric current applied to the device; the transfer function of aphotodetector might be the output voltage as a function of theluminous intensity of incident light of a givenwavelength.
The termtransfer function is also used in thefrequency domain analysis of systems using transform methods, such as theLaplace transform; it is theamplitude of the output as a function of thefrequency of the input signal. The transfer function of anelectronic filter is the amplitude at the output as a function of the frequency of a constant amplitudesine wave applied to the input. For optical imaging devices, theoptical transfer function is theFourier transform of thepoint spread function (a function ofspatial frequency).
Transfer functions are commonly used in the analysis of systems such assingle-input single-outputfilters insignal processing,communication theory, andcontrol theory. The term is often used exclusively to refer tolinear time-invariant (LTI) systems. Most real systems havenon-linear input–output characteristics, but many systems operated within nominal parameters (not over-driven) have behavior close enough to linear thatLTI system theory is an acceptable representation of their input–output behavior.
Descriptions are given in terms of acomplex variable,. In many applications it is sufficient to set (thus), which reduces theLaplace transforms with complex arguments toFourier transforms with the real argument ω. This is common in applications primarily interested in the LTI system's steady-state response (often the case insignal processing andcommunication theory), not the fleeting turn-on and turn-offtransient response or stability issues.
Forcontinuous-time input signal and output, dividing the Laplace transform of the output,, by the Laplace transform of the input,, yields the system's transfer function:
which can be rearranged as:
Discrete-time signals may be notated as arrays indexed by aninteger (e.g. for input and for output). Instead of using the Laplace transform (which is better for continuous-time signals), discrete-time signals are dealt with using thez-transform (notated with a corresponding capital letter, like and), so a discrete-time system's transfer function can be written as:
Alinear differential equation with constant coefficients
whereu andr are suitably smooth functions oft, hasL as the operator defined on the relevant function space that transformsu intor. That kind of equation can be used to constrain the output functionu in terms of theforcing functionr. The transfer function can be used to define an operator that serves as a right inverse ofL, meaning that.
Solutions of the homogeneousconstant-coefficient differential equation can be found by trying. That substitution yields thecharacteristic polynomial
The inhomogeneous case can be easily solved if the input functionr is also of the form. By substituting, if we define
Other definitions of the transfer function are used, for example[5]
A general sinusoidal input to a system of frequency may be written. The response of a system to a sinusoidal input beginning at time will consist of the sum of the steady-state response and a transient response. The steady-state response is the output of the system in the limit of infinite time, and the transient response is the difference between the response and the steady-state response; it corresponds to the homogeneous solution of thedifferential equation. The transfer function for an LTI system may be written as the product:
wheresPi are theN roots of the characteristic polynomial and will be thepoles of the transfer function. In a transfer function with a single pole where, the Laplace transform of a general sinusoid of unit amplitude will be. The Laplace transform of the output will be, and the temporal output will be the inverse Laplace transform of that function:
The second term in the numerator is the transient response, and in the limit of infinite time it will diverge to infinity ifσP is positive. For a system to be stable, its transfer function must have no poles whose real parts are positive. If the transfer function is strictly stable, the real parts of all poles will be negative and the transient behavior will tend to zero in the limit of infinite time. The steady-state output will be:
Thefrequency response (or "gain")G of the system is defined as the absolute value of the ratio of the output amplitude to the steady-state input amplitude:
which is the absolute value of the transfer function evaluated at. This result is valid for any number of transfer-function poles.
The steady state behavior of a linear system
for sinusoidal excitation can be expressed in terms of its transfer function
evaluated at, i.e. with real part:
To show this, use the ansatz function
plug it into the above given differential equation, solve for, and note that.
From the complex identity, the argument follows.
If is the input to a generallinear time-invariant system, and is the output, and thebilateral Laplace transform of and is
The output is related to the input by the transfer function as
and the transfer function itself is
If acomplexharmonicsignal with asinusoidal component withamplitude,angular frequency andphase, where arg is theargument
is input to alinear time-invariant system, the corresponding component in the output is:
In a linear time-invariant system, the input frequency has not changed; only the amplitude and phase angle of the sinusoid have been changed by the system. Thefrequency response describes this change for every frequency in terms of gain
and phase shift
Thephase delay (the frequency-dependent amount of delay introduced to the sinusoid by the transfer function) is
Thegroup delay (the frequency-dependent amount of delay introduced to the envelope of the sinusoid by the transfer function) is found by computing the derivative of the phase shift with respect to angular frequency,
The transfer function can also be shown using theFourier transform, a special case ofbilateral Laplace transform where.
Although any LTI system can be described by some transfer function, "families" of special transfer functions are commonly used:
Incontrol engineering andcontrol theory, the transfer function is derived with theLaplace transform. The transfer function was the primary tool used in classical control engineering. Atransfer matrix can be obtained for any linear system to analyze its dynamics and other properties; each element of a transfer matrix is a transfer function relating a particular input variable to an output variable. A representation bridgingstate space and transfer function methods was proposed byHoward H. Rosenbrock, and is known as theRosenbrock system matrix.
Inimaging, transfer functions are used to describe the relationship between the scene light, the image signal and the displayed light.
Transfer functions do not exist for manynon-linear systems, such asrelaxation oscillators;[6] however,describing functions can sometimes be used to approximate such nonlinear time-invariant systems.