Harmonic Balance
   HOME

TheInfoList



OR:

Harmonic balance is a method used to calculate the
steady-state response In electronics, steady state is an Steady state, equilibrium condition of a Electrical network, circuit or network that occurs as the effects of Transient (electricity), transients are no longer important. Steady state is reached (attained) after ...
of
nonlinear differential equation In mathematics and science, a nonlinear system is a system in which the change of the output is not proportional to the change of the input. Nonlinear problems are of interest to engineers, biologists, physicists, mathematicians, and many othe ...
s, and is mostly applied to nonlinear
electrical circuit An electrical network is an interconnection of electrical components (e.g., batteries, resistors, inductors, capacitors, switches, transistors) or a model of such an interconnection, consisting of electrical elements (e.g., voltage sources, ...
s . It is a ''
frequency domain In physics, electronics, control systems engineering, and statistics, the frequency domain refers to the analysis of mathematical functions or signals with respect to frequency, rather than time. Put simply, a time-domain graph shows how a signa ...
'' method for calculating the steady state, as opposed to the various ''
time-domain Time domain refers to the analysis of mathematical functions, physical signals or time series of economic or environmental data, with respect to time. In the time domain, the signal or function's value is known for all real numbers, for the cas ...
'' steady state methods. The name "harmonic balance" is descriptive of the method, which starts with Kirchhoff's Current Law written in the frequency domain and a chosen number of harmonics. A sinusoidal signal applied to a nonlinear component in a system will generate
harmonics A harmonic is a wave with a frequency that is a positive integer multiple of the ''fundamental frequency'', the frequency of the original periodic signal, such as a sinusoidal wave. The original signal is also called the ''1st harmonic'', the ...
of the fundamental frequency. Effectively the method assumes the solution can be represented by a linear combination of sinusoids, then balances current and voltage sinusoids to satisfy Kirchhoff's law. The method is commonly used to simulate circuits which include
nonlinear In mathematics and science, a nonlinear system is a system in which the change of the output is not proportional to the change of the input. Nonlinear problems are of interest to engineers, biologists, physicists, mathematicians, and many other ...
elements, and is most applicable to systems with
feedback Feedback occurs when outputs of a system are routed back as inputs as part of a chain of cause-and-effect that forms a circuit or loop. The system can then be said to ''feed back'' into itself. The notion of cause-and-effect has to be handled ...
in which
limit cycle In mathematics, in the study of dynamical systems with two-dimensional phase space, a limit cycle is a closed trajectory in phase space having the property that at least one other trajectory spirals into it either as time approaches infinity ...
s occur. Microwave circuits were the original application for harmonic balance methods in electrical engineering. Microwave circuits were well-suited because, historically, microwave circuits consist of many linear components which can be directly represented in the frequency domain, plus a few nonlinear components. System sizes were typically small. For more general circuits, the method was considered impractical for all but these very small circuits until the mid-1990s, when Krylov subspace methods were applied to the problem. The application of preconditioned Krylov subspace methods allowed much larger systems to be solved, both in size of circuit and in numbers of harmonics. This made practical the present-day use of harmonic balance methods to analyze radio-frequency integrated circuits (RFICs).


Algorithm

The harmonic balance algorithm is a special version of Galerkin's method. It is used for the calculation of periodic solutions of autonomous and non-autonomous differential-algebraic systems of equations. The treatment of non-autonomous systems is slightly simpler than the treatment of autonomous ones. A non-autonomous DAE system has the representation : 0=F(t,x,\dot x) with a sufficiently smooth function F:\mathbb\times\mathbb^n\times\mathbb^n\rightarrow\mathbb^n where n is the number of equations and t,x,\dot x are placeholders for time, the vector of unknowns and the vector of time-derivatives. The system is non-autonomous if the function t\in\mathbb\mapsto F(t,x,\dot x) is not constant for (some) fixed x and \dot x. Nevertheless, we require that there is a known ''excitation period'' T>0 such that t\in\mathbb\mapsto F(t,x,\dot x) is T-periodic. A natural candidate set for the T-periodic solutions of the system equations is the
Sobolev space In mathematics, a Sobolev space is a vector space of functions equipped with a norm that is a combination of ''Lp''-norms of the function together with its derivatives up to a given order. The derivatives are understood in a suitable weak sense t ...
H^1_((0,T),\mathbb^n) of weakly differentiable functions on the interval ,T/math> with periodic boundary conditions x(0)=x(T). We assume that the smoothness and the structure of F ensures that F(t,x(t),\dot x(t)) is
square-integrable In mathematics, a square-integrable function, also called a quadratically integrable function or L^2 function or square-summable function, is a real number, real- or complex number, complex-valued measurable function for which the integral of the s ...
for all x\in H^1_((0,T),\mathbb^n). The system B:=\left\ of harmonic functions \psi_k:=\exp\left(i k\frac\right) is a
Schauder basis In mathematics, a Schauder basis or countable basis is similar to the usual ( Hamel) basis of a vector space; the difference is that Hamel bases use linear combinations that are finite sums, while for Schauder bases they may be infinite sums. This ...
of H^1_((0,T),\mathbb^n) and forms a :Hilbert basis of the
Hilbert space In mathematics, Hilbert spaces (named after David Hilbert) allow generalizing the methods of linear algebra and calculus from (finite-dimensional) Euclidean vector spaces to spaces that may be infinite-dimensional. Hilbert spaces arise natural ...
H:=L^2( ,T\mathbb) of square-integrable functions. Therefore, each solution candidate x\in H^1_((0,T),\mathbb^n) can be represented by a Fourier-series x(t)=\sum_^\infty \hat x_k \exp\left(i k\frac\right) with Fourier-coefficients \hat x_k:=\frac1T\int_0^T\psi^*_k(t)\cdot x(t)dt and the system equation is satisfied in the weak sense if for every base function \psi\in B the variational equation : 0=\langle \psi, F(t,x,\dot x)\rangle_H := \frac 1 T \int_0^T \psi^*(t) \cdot F(t,x,\dot x) dt is fulfilled. This variational equation represents an infinite sequence of scalar equations since it has to be tested for the infinite number of base functions \psi in B. The Galerkin approach to the harmonic balance is to project the candidate set as well as the test space for the variational equation to the finitely dimensional sub-space spanned by the finite base B_N:=\. This gives the finite-dimensional solution x(t) = \sum_^N \hat x_k \psi_k(t) = \sum_^N \hat x_k \exp\left(i k \frac\right) and the finite set of equations : 0 = \langle \psi_k , F(t,x,\dot x)\rangle\quad\textk=-N,\ldots,N which can be solved numerically. In the special context of electronics the algorithm starts with Kirchhoff's current law written in the
frequency-domain In physics, electronics, control systems engineering, and statistics, the frequency domain refers to the analysis of mathematical functions or signals with respect to frequency, rather than time. Put simply, a time-domain graph shows how a sign ...
. To increase the efficiency of the procedure, the circuit may be partitioned into its linear and nonlinear parts, since the linear part is readily described and calculated using
nodal analysis In electric circuits analysis, nodal analysis, node-voltage analysis, or the branch current method is a method of determining the voltage (potential difference) between "nodes" (points where elements or branches connect) in an electrical circuit in ...
directly in the frequency domain. First, an initial guess is made for the solution, then an iterative process continues: # Voltages V are used to calculate the currents of the linear part, I_\text in the frequency domain. # Voltages V are then used to calculate the currents in the nonlinear part, I_\text. Since nonlinear devices are described in the time domain, the frequency-domain voltages V are transformed into the time domain, typically using inverse Fast Fourier transforms. The nonlinear devices are then evaluated using the time-domain voltage waveforms to produce their time-domain currents. The currents are then transformed back into the frequency domain. # According to
Kirchhoff's circuit laws Kirchhoff's circuit laws are two equalities that deal with the current and potential difference (commonly known as voltage) in the lumped element model of electrical circuits. They were first described in 1845 by German physicist Gustav Kirchhof ...
, the sum of the currents must be zero, \epsilon = I_\text + I_\text = 0. An iterative process, usually
Newton iteration In numerical analysis, Newton's method, also known as the Newton–Raphson method, named after Isaac Newton and Joseph Raphson, is a root-finding algorithm which produces successively better approximations to the roots (or zeroes) of a real-valu ...
, is used to update the network voltages V such that the current residual \epsilon is reduced. This step requires formulation of the Jacobian \tfrac. Convergence is reached when \epsilon is acceptably small, at which point all voltages and currents of the steady-state solution are known, most often represented as Fourier coefficients.


Tools

A harmonic-balance tool, named
Agile
for microwave circuits is available for download. A parallelized version was also developed, but this version is not available. Sandia National Labs develope
Xyce
a high performance parallel electronic simulator that can perform harmonic balance analysis. The harmonic balance method is also natively supported for general nonlinear multiphysics finite element simulations in the open source c++ FEM librar
Sparselizard


References

{{DEFAULTSORT:Harmonic Balance Electronic design Electronic circuits Electrical engineering