Symbolic circuit analysis

Last updated

Symbolic circuit analysis is a formal technique of circuit analysis to calculate the behaviour or characteristic of an electric/electronic circuit with the independent variables (time or frequency), the dependent variables (voltages and currents), and (some or all of) the circuit elements represented by symbols. [1] [2]

Contents

When analysing electric/electronic circuits, we may ask two types of questions: What is the value of certain circuit variable (voltage, current, resistance, gain, etc.) or what is the relationship between some circuit variables or between a circuit variable and circuit components and frequency (or time). Such relationship may take the form of a graph, where numerical values of a circuit variable are plotted versus frequency or component value (the most common example would be a plot of the magnitude of a transfer function vs. frequency).

Symbolic circuit analysis is concerned with obtaining those relationships in symbolic form, i.e., in the form of analytical expression, where the complex frequency (or time) and some or all of the circuit components are represented by symbols.

Frequency domain expressions

In the frequency domain the most common task of symbolic circuit analysis is to obtain the relationship between input and output variables in the form of a rational function in the complex frequency and symbolic variables :

The above relationship is often called the network function. For physical systems, and are polynomials in with real coefficients:

where are the zeroes and are the poles of the network function; .

While there are several methods for generating coefficients and , no technique exists to obtain exact symbolic expressions for poles and zeroes for polynomials of order higher than 5.

Types of symbolic network functions

Depending on which parameters are kept as symbols, we may have several different types of symbolic network functions. This is best illustrated on an example. Consider, for instance, the biquad filter circuit with ideal op amps, shown below. We want to obtain a formula for its voltage transmittance (also called the voltage gain) in the frequency domain, .

Figure 1: Biquad circuit with ideal opamps. (This diagram was created using the schematic capture feature of SapWin.) Biquad circuit.gif
Figure 1: Biquad circuit with ideal opamps. (This diagram was created using the schematic capture feature of SapWin.)

Network function with s as the only variable

If the complex frequency is the only variable, the formula will look like this (for simplicity we use the numerical values: ):

Semi-symbolic network function

If the complex frequency and some circuit variables are kept as symbols (semi-symbolic analysis), the formula may take a form:

Fully symbolic network function

If the complex frequency and all circuit variables are symbolic (fully symbolic analysis), the voltage transmittance is given by (here ):

All expressions above are extremely useful in obtaining insight into operation of the circuit and understanding how each component contributes to the overall circuit performance. As the circuit size increases, however, the number of terms in such expressions grows exponentially. So, even for relatively simple circuits, the formulae become too long to be of any practical value. One way to deal with this problem is to omit numerically insignificant terms from the symbolic expression, keeping the inevitable error below the predetermined limit. [3]

Sequence of Expressions form

Another possibility to shorten the symbolic expression to manageable length is to represent the network function by a sequence of expressions (SoE). [4] Of course, the interpretability of the formula is lost, but this approach is very useful for repetitive numerical calculations. A software package STAINS (Symbolic Two-port Analysis via Internal Node Suppression) has been developed to generate such sequences. [5] There are several types of SoE that can be obtained from STAINS. For example, the compact SoE for of our biquad is

x1 = G5*G3/G6 x2 = -G1-s*C1-G2*x1/(s*C2) x3 = -G4*G8/x2 Ts = x3/G11 

The above sequence contains fractions. If this is not desirable (when divisions by zero appear, for instance), we may generate a fractionless SoE:

x1 = -G2*G5 x2 = G6*s*C2 x3 = -G4*x2 x4 = x1*G3-(G1+s*C1)*x2 x5 = x3*G8 x6 = -G11*x4 Ts = -x5/x6 

Yet another way to shorten the expression is to factorise polynomials and . For our example this is very simple and leads to:

Num = G4*G6*G8*s*C2 Den = G11*((G1+s*C1)*G6*s*C2+G2*G3*G5) Ts = Num/Den 

For larger circuits, however, factorisation becomes a difficult combinatorial problem and the final result may be impractical for both interpretation and numerical calculations.

See also

Related Research Articles

Derivative Operation in calculus

The derivative of a function of a real variable measures the sensitivity to change of the function value with respect to a change in its argument. Derivatives are a fundamental tool of calculus. For example, the derivative of the position of a moving object with respect to time is the object's velocity: this measures how quickly the position of the object changes when time advances.

Resonance phenomenon in which a vibrating system or external force drives another system to oscillate with greater amplitude at specific frequencies

Resonance describes the phenomenon of increased amplitude that occurs when the frequency of a periodically applied force is equal or close to a natural frequency of the system on which it acts. When an oscillating force is applied at a resonant frequency of a dynamical system, the system will oscillate at a higher amplitude than when the same force is applied at other, non-resonant frequencies.

Transmission line specialized cable or other structure designed to carry alternating current of radio frequency

In radio-frequency engineering, a transmission line is a specialized cable or other structure designed to conduct alternating current of radio frequency, that is, currents with a frequency high enough that their wave nature must be taken into account. Transmission lines are used for purposes such as connecting radio transmitters and receivers with their antennas, distributing cable television signals, trunklines routing calls between telephone switching centres, computer network connections and high speed computer data buses.

Electrical impedance The opposition of a circuit to a current when a voltage is applied

In electrical engineering, electrical impedance is the measure of the opposition that a circuit presents to a current when a voltage is applied.

Fourier series Decomposition of periodic functions into sums of simpler sinusoidal forms

In mathematics, a Fourier series is a periodic function composed of harmonically related sinusoids, combined by a weighted summation. With appropriate weights, one cycle of the summation can be made to approximate an arbitrary function in that interval. As such, the summation is a synthesis of another function. The discrete-time Fourier transform is an example of Fourier series. The process of deriving the weights that describe a given function is a form of Fourier analysis. For functions on unbounded intervals, the analysis and synthesis analogies are Fourier transform and inverse transform.

In electric and electronic systems, reactance is the opposition of a circuit element to the flow of current due to that element's inductance or capacitance. Greater reactance leads to smaller currents for the same voltage applied. Reactance is similar to electric resistance in this respect, but differs in that reactance does not lead to dissipation of electrical energy as heat. Instead, energy is stored in the reactance, and later returned to the circuit whereas a resistance continuously loses energy.

Inductance property of electrical conductors to oppose changes in current flow

In electromagnetism and electronics, inductance is the tendency of an electrical conductor to oppose a change in the electric current flowing through it. The flow of electric current creates a magnetic field around the conductor. The field strength depends on the magnitude of the current, and follows any changes in current. From Faraday's law of induction, any change in magnetic field through a circuit induces an electromotive force (EMF) (voltage) in the conductors, a process known as electromagnetic induction. This induced voltage created by the changing current has the effect of opposing the change in current. This is stated by Lenz's law, and the voltage is called back EMF.

Negative-feedback amplifier

A Negative-feedback amplifier is an electronic amplifier that subtracts a fraction of its output from its input, so that negative feedback opposes the original signal. The applied negative feedback can improve its performance and reduces sensitivity to parameter variations due to manufacturing or environment. Because of these advantages, many amplifiers and control systems use negative feedback.

Logistic regression Statistical model for a binary dependent variable

In statistics, the logistic model is used to model the probability of a certain class or event existing such as pass/fail, win/lose, alive/dead or healthy/sick. This can be extended to model several classes of events such as determining whether an image contains a cat, dog, lion, etc. Each object being detected in the image would be assigned a probability between 0 and 1, with a sum of one.

A resistor–capacitor circuit, or RC filter or RC network, is an electric circuit composed of resistors and capacitors. It may be driven by a voltage or current source and these will produce different responses. A first order RC circuit is composed of one resistor and one capacitor and is the simplest type of RC circuit.

In control engineering, a state-space representation is a mathematical model of a physical system as a set of input, output and state variables related by first-order differential equations or difference equations. State variables are variables whose values evolve over time in a way that depends on the values they have at any given time and on the externally imposed values of input variables. Output variables’ values depend on the values of the state variables.

Automatic differentiation

In mathematics and computer algebra, automatic differentiation (AD), also called algorithmic differentiation, computational differentiation, auto-differentiation, or simply autodiff, is a set of techniques to numerically evaluate the derivative of a function specified by a computer program. AD exploits the fact that every computer program, no matter how complicated, executes a sequence of elementary arithmetic operations and elementary functions. By applying the chain rule repeatedly to these operations, derivatives of arbitrary order can be computed automatically, accurately to working precision, and using at most a small constant factor more arithmetic operations than the original program.

Two-port network electrical network (circuit) or device with two pairs of terminals to connect to external circuits

A two-port network is an electrical network (circuit) or device with two pairs of terminals to connect to external circuits. Two terminals constitute a port if the currents applied to them satisfy the essential requirement known as the port condition: the electric current entering one terminal must equal the current emerging from the other terminal on the same port. The ports constitute interfaces where the network connects to other networks, the points where signals are applied or outputs are taken. In a two-port network, often port 1 is considered the input port and port 2 is considered the output port.

A resistor–inductor circuit, or RL filter or RL network, is an electric circuit composed of resistors and inductors driven by a voltage or current source. A first-order RL circuit is composed of one resistor and one inductor and is the simplest type of RL circuit.

Nodal analysis method of determining the voltage (potential difference) between "nodes" (points where elements or branches connect) in an electrical circuit in terms of the branch currents

In electric circuits analysis, nodal analysis, node-voltage analysis, or the branch current method is a method of determining the voltage between "nodes" in an electrical circuit in terms of the branch currents.

Gyrator–capacitor model Scientific instrument

The gyrator–capacitor model - sometimes also the capacitor-permeance model - is a lumped-element model for magnetic circuits, that can be used in place of the more common resistance–reluctance model. The model makes permeance elements analogous to electrical capacitance rather than electrical resistance. Windings are represented as gyrators, interfacing between the electrical circuit and the magnetic model.

Reflections of signals on conducting lines Signal phenomenon

A signal travelling along an electrical transmission line will be partly, or wholly, reflected back in the opposite direction when the travelling signal encounters a discontinuity in the characteristic impedance of the line, or if the far end of the line is not terminated in its characteristic impedance. This can happen, for instance, if two lengths of dissimilar transmission lines are joined together.

Differential of a function Notion in calculus

In calculus, the differential represents the principal part of the change in a function y = f(x) with respect to changes in the independent variable. The differential dy is defined by

The Mehler kernel is a complex-valued function found to be the propagator of the quantum harmonic oscillator.

Open-circuit test

The open-circuit test, or no-load test, is one of the methods used in electrical engineering to determine the no-load impedance in the excitation branch of a transformer. The no load is represented by the open circuit, which is represented on the right side of the figure as the "hole" or incomplete part of the circuit.

References

  1. G. Gielen and W. Sansen, Symbolic Analysis for Automated Design of Analog Integrated Circuits. Boston: Kluwer Academic Publishers, 1991.
  2. Labrèche P., presentation: Linear Electrical Circuits:Symbolic Network Analysis, 1977
  3. B. Rodanski, M. Hassoun, "Symbolic Analysis," in The Circuits and Filters Handbook: Fundamentals of Circuits and Filters, 3rd ed., Wai-Kai Chen, Editor. CRC Press, 2009, pp. 25-1 - 25-29.
  4. M. Pierzchala, B. Rodanski, "Generation of Sequential Symbolic Network Functions for Large-Scale Networks by Circuit Reduction to a Two-Port," IEEE Transactions on Circuits and Systems I: Fundamental Theory and Applications, vol. 48, no. 7, July 2001, pp. 906-909.
  5. L.P. Huelsman, "STAINS - Symbolic Two-Port Analysis via Internal Node Suppression," IEEE Circuits & Devices Magazine, March 2002, pp. 3-6.