威廉希尔官方网站 设计william hill官网
直播中

vvg

14年用户 7898经验值
擅长:嵌入式技术,控制/MCU
私信 关注
[资料]

Nodal Analysis of Op Amp Circuits

Abstract: The creation of the op amp introduced a new fundamental component and marked a change in thinking for analog designers. Since it is so widely used, pretty much any op amp circuit that an engineer needs to implement has already been designed and the engineer can merely tailor the component values. This approach, although quick, does not always mean the designer has a fundamental understanding of the theory of the circuit operation. This application note explains how the transfer function of most op amp circuits can be derived by a simple process of nodal analysis.

The BasicsNo electronic component is perfect and the op amp is no exception. As usual, we assume an ideal op amp with the understanding that real-world limitations may need to be considered at some point.

In particular, we assume infinite input impedance and zero output impedance. The front end of the circuit is not loaded in any way by the op amp and its output can source or sink as much current as needed to faithfully respond to the input. With these assumptions and op amp configurations with negative feedback, the voltage at the two inputs is identical and the output adjusts itself to a voltage to maintain this state.

It is also assumed that the bandwidth of the op amp is sufficient to respond to the needs of the circuit and the open loop gain of the amplifier is infinite.

The performance of modern components is such that in most cases, the above assumptions are perfectly acceptable and very little performance degradation occurs as we move away from the ideal.

Nodal AnalysisLong before the op amp was invented, Kirchoff's law stated that the current flowing into any node of an electrical circuit is equal to the current flowing out of it. (There are conditions on Kirchoff's law that are not relevant here.) An op amp circuit can be broken down into a series of nodes, each of which has a nodal equation. The equations can be combined to form the transfer function.

Consider the circuit at the input of an op amp. The current flowing toward the input pin is equal to the current flowing away from the pin (since no current flows into the pin due to its infinite input impedance). The same cannot be said for the output, since the op amp can source or sink current.

Current-to-Voltage ConverterA simple current-to-voltage converter is shown in Figure 1. Its behavior can be easily understood using the previously explained nodal analysis. The input current (IIN) flowing into the inverting input is equal to the current flowing out of it through the feedback resistor (R). This current creates a potential drop across R, given as:

V = IIN × R.

As explained earlier, the voltage at inverting input is equal to that applied at the noninverting input because the circuit has negative feedback; that is, the inverting input is fixed at VREF. This "virtual ground" at the inverting input implies that the op amp continuously adjusts its output voltage (VOUT) to maintain the IIN current flowing through R. VOUT is at VREF with zero input current, and it decreases proportionally for an increasing IIN. The following equation results:

VOUT = VREF - (IIN × R)

1939Fig01.gif
Figure 1.

Differential AmplifierTaking this notion one stage further, Figure 2 shows a differential amplifier. Its transfer function can be calculated by again considering the currents flowing into and out of the nodes.

1939Fig02.gif
Figure 2.

Consider the current flowing towards the non inverting pin. This can be represented by:

1939Eq01.gif

Similarly, current flowing away from that node can be represented by

1939Eq02.gif

Combining Equation 1 into Equation 2 gives

1939Eq03.gif

Now, life is made easier if we use conductances instead of resistances (it keeps the fractions to a minimum). Thus,

1939Eq04.gif

where

1939Eq05.gif

so

1939Eq06.gif

therefore the voltage V+ is given by

1939Eq07.gif

The nodal equations for the inverting node are just as straight forward

1939Eq08.gif

To find a transfer function, we know

1939Eq09.gif

Combining Equation 3 and Equation 5 into Equation 4 gives

1939Eq10.gif

so

1939Eq11.gif

1939Eq12.gif

1939Eq13.gif

In other words, the output depends on the differential voltage across the inputs and the gain-setting resistors, as we would expect.

Wien Bridge OscillatorThe technique of nodal analysis can be used to analyze circuits with reactive components. In the same way we considered the conductances of resistors, with reactive components the equations are made easier by considering their admittances. A capacitor has an admittance of sC. Note that the Laplace nomenclature is used, since again it makes the equations look easier and the psychological effects of this are considerable. We could equally use jw in place of s if we wanted to get an idea of the phase effects of a circuit and this will be done later.

Boldly going forth with the above supposition, a Wien bridge oscillator can now be analyzed. Figure 3 shows the generic configuration of this circuit. Again, to keep the equations simple most engineers keep the resistor values equal and the capacitor values equal. In this circuit we have both parallel and series networks, so it makes no difference to the simplicity of the math if admittances or reactances are used. The following analysis will keep with the preceding text and use admittances.

1939Fig03.gif
Figure 3.

Firstly, from Equation 3 the voltage at the inverting pin is

1939Eq14.gif

It is worth noting that if two admittances are placed in series, the total admittance is the inverse of the sum of their reciprocals (using the same formula as for two resistors in parallel). Similarly if two admittances are placed in parallel, the total admittance is sum of the admittances. Therefore the admittance from the output of the op amp to the non inverting input is

1939Eq15.gif

Likewise the admittance from the non inverting terminal to ground is

1939Eq16.gif

Using the methodology from before, it can be shown that (eventually)



Putting s = jw and R = 1/G gives



Therefore, using the principles of nodal analysis, the transfer function for the Wien bridge oscillator has been derived. From this equation two conclusions can be drawn, both of which are well known conditions for oscillation of the Wien bridge oscillator.

First, for oscillation to occur, there must be zero phase shift from the input to the output. This only happens at one frequency (when w = 1/CR). At this frequency the real terms of the numerator cancel and the phase shift represented by the imaginary terms in both numerator and denominator cancel (essentially, if you have no j terms in either numerator or denominator, there is no phase shift). Second, at this frequency the ratio of VOUT to V+ (hence V-) has to be 3. Anything less than 3 and the oscillation will decay. Anything greater than 3 and the output will saturate. This dictates the ratio of Gf to Gi to maintain oscillation: Rf must be equal to precisely twice the value of Ri.

ConclusionUsing Kirchoff's law, the currents flowing into and out of the nodes around the op amp can be translated into equations and from this the transfer function can be derived. The above examples use admittances instead of impedances, but the principles are the same and it is left to the engineer to decide which is more suitable. Once the equations have been derived, the math (depending on the complexity of the circuit) is moderately straightforward to obtain the transfer function. Then the power of math processing programs can be unleashed on the equations to find when, for example, instability occurs, or the susceptibility of the circuit to component variations, if this is desired.


来源:maxim-ic

更多回帖

发帖
×
20
完善资料,
赚取积分