Linear Circuit Analysis
1. Introduction
2. Basic Concepts
- Currents and voltages
- Linear circuits
- Linear components
- Loops and nodes
- Series and parallel
- R, L & C combinations
- V & I combinations
- Power and energy
3. Simple Circuits
- Ohm's law
- Kirchhoff's current law
- Kirchhoff's voltage law
- Single loop circuits
- Single node-pair circuits
- Voltage division
- Current division
4. Nodal and Mesh Analysis
5. Additional Analysis Techniques
- Superposition
- Source transformation
- The $V_{test}/I_{test}$ method
- Norton equivalent
- Thévenin equivalent
- Max power transfer
6. AC Analysis
7. Magnetically Coupled Circuits
8. Polyphase Systems
9. Operational Amplifiers
10. Laplace Transforms
11. Time-Dependent Circuits
- Introduction
- First-order transients
- Nodal analysis
- Mesh analysis
- Laplace transforms
- Additional techniques
12. Two-Port Networks
Appendix
Ideal Operational Amplifiers
An operational amplifier (or OpAmp) is a voltage amplifier with a differential input, a single-ended output, and very high gain. Operational amplifiers are widely used in electronics for signal amplification, filter design (for instance to avoid using bulky inductors), analog calculators, analog-to-digital converters, differentiators, integrators, etc.
An ideal OpAmp is an OpAmp with infinite input resistance $R_{in}=\infty$, zero output resistance $R_{out}=0$, and infinite gain $A=\infty$. Many commercial OpAmps have relatively high input resistance (usually $\gt 1 \: {\textcolor{gray}M\Omega}$), low output resitance ($\lt 100 \: {\textcolor{gray}\Omega}$) and very high gain ($\gt 10^6$) and can be often approximated as ideal OpAmps.
OpAmps are 4-terminal devices, unually represented in simplified form as shown in Fig. 1. Since the ideal OpAmp is a 4-terminal device the algebraic sum of the currents flowing out through the 4-terminals is equal to 0 (Kirchhoff's current law). Therefore, even when representing OpAmps with only 3 electrodes (like the right diagram in Fig. 1), we are still assuming that the OpAmp contains a 4th electrode (the ground electrode) in order to satisfy Kirchhoff's current law.
A few standard configurations with ideal OpAmps are presented below.
How to solve problems with ideal OpAmps
Since OpAmps have 4 terminals (excluding the lines that power the dependent voltage source) they can be described electrically using three equations (notice that a resistor, which is a 2-terminal device, is described using one equation-Ohm's law; a transistor, which is a 3- terminal deivice, is described using 2 equations, etc.). Using the notations shown in Fig. 2, we have:
- Infite input resistance which implies the folowing two equations
- Infite gain which implies that
Using nodal analysis
It is usually easier to write the nodal equations for a circuit containing OpAmps than the mesh equations. When using nodal analysis, we follow the same algorithm presented in the DC and AC circuit analysis sections. In particular, we:
A. Write the voltage constrained equations for each voltage source (one equation per source). Also, add a voltage constrained equation for each OpAmp, by writting that the potential of the positive input terminal equals the potential of the negative terminal, $v_{+}=v_{-}$ (which is the infinite gain condition).
B. Write one equation for each control variable.
C. Write KCL equations for regular nodes and use that the currents going through the input terminals of the OpAmps are equal to zero (the infinite input resistance condition). At this step we skip the equations for the nodes that contain the output terminals of the OpAmps.
D. Write KCL equations for supernodes.
Then, we solve the above system of nodal analysis equations and compute the values of the nodal potentials and control variables. After this, we write the equations for the sought variables as a function of the nodal potentials.
A few examples with ideal OpAmps are presented below.
Computing gain, $G$
A question that often comes out when solving problems with OpAmps is to compute the gain of a circuit, which is defined as $$\begin{equation}G=\frac{V_{out}}{V_{in}}\end{equation}$$ where $V_{out}$ and $V_{in}$ are the output and input voltages of the circuit. The output voltage is usually the voltage across a load impedance that can be the speaker of an audio amplifier or the input of another amplifier or processing unit. The input voltage could be a microphone or the output of the previous stage of the amplifier. Since OpAmps are linear devices the output voltage is proportial with the input voltage and the gain does depend on $V_{in}$.
Next, we present a few common configurations using OpAmps. Problems with OpAmps can often be solved by identifying the configuration of the OpAmp in the circuit (i.e. inverter or follower) and applygin the final equations for the gain, derived below.
Inverter
A standard configuration for OpAmps is the inverting amplifier shown in Fig. 3. The nodal equations for nodes $v_1$, $v_2$, and $v_3$ are $$\begin{equation}V_{in}=v_1\end{equation}$$ $$\begin{equation}v_1=0\end{equation}$$ $$\begin{equation}\frac{v_1-v_2}{R_2} + \frac{v_1-v_3}{R_1}=0\end{equation}$$ The above system of equations can be solved for $v_1$, $v_2$, and $v_3$. Then, we can compute the sought variable $V_{out}=v_3$ and obtain $$\begin{equation}\frac{V_{out}}{V_{in}}=-\frac{R_2}{R_1} \end{equation}$$ We notice that the total gain of the inverter configuration depends only on the value of resistors $R_1$ and $R_2$ and $V_{out}$ in inverted with respect to the input signal.
Follower
Another standard configuration for OpAmps is the non-inverting amplifier (follower) shown in Fig. 4. The nodal equations for nodes $v_1$, $v_2$, and $v_3$ are $$\begin{equation}V_{in}=v_1\end{equation}$$ $$\begin{equation}v_1=v_3\end{equation}$$ $$\begin{equation}\frac{v_3-v_2}{R_2} + \frac{v_3}{R_1}=0\end{equation}$$ The above system of equations can be solved for $v_1$, $v_2$, and $v_3$. Then, we can compute the sought variable $V_{out}=v_3$ and obtain $$\begin{equation}\frac{V_{out}}{V_{in}}=1+\frac{R_2}{R_1}\end{equation}$$ We notice that the total gain of the follower configuration depends only on the value of resistors $R_1$ adn $R_2$ and $V_{out}$ is directly proportioal with the input signal.
Unit-gain amplifier
A particular case of the follower configuration is the unit-gain amplifier shown in Fig. 5. In this case $R_2=0$, $R_1=\infty$ and $$\begin{equation}V_{out}=V_{in}\end{equation}$$ An important benefit of unit gain amplifiers is that the input impedance is very large (infinity in the case of ideal OpAmps), because they do not draw any current from the input source.
Notice that we could also build a "negative" unit gain amplifier using the inverter configuration.
Sample Solved Problems
-
DC OpAmps (numerical)
Circuit with 1 ideal OpAmp, follower (numerical)
Circuit with 1 ideal OpAmp (numerical)
Circuit with 2 ideal OpAmps in series (numerical)
Circuit with 2 ideal OpAmps in parallel (numerical)
-
DC OpAmps (gain calculation)
Circuit with 1 ideal OpAmp, follower (numerical gain calculation)
Circuit with 1 ideal OpAmp, inverter (numerical gain calculation)
-
DC OpAmps (analytical)
Circuit with 1 ideal OpAmp, follower (analytical)
Circuit with 1 ideal OpAmp, inverter (analytical)
-
DC OpAmps (design)
Circuit with 1 ideal OpAmp, follower (numerical design)
Circuit with 1 ideal OpAmp, inverter (numerical design)
-
DC OpAmps (numerical)
Circuit with 1 ideal OpAmp, follower with unit gain (numerical)
Circuit with 1 ideal OpAmp, follower (numerical)
Circuit with 1 ideal OpAmp, inverter (numerical)
Circuit with 1 ideal OpAmp (numerical)
Circuit with 2 ideal OpAmps in series (numerical)
Circuit with 2 ideal OpAmps in parallel (numerical)
-
DC OpAmps (gain calculation)
Circuit with 1 ideal OpAmp, follower with unit gain (numerical gain calculation)
Circuit with 1 ideal OpAmp, follower (numerical gain calculation)
Circuit with 1 ideal OpAmp, inverter (numerical gain calculation)
-
DC OpAmps (analytical)
Circuit with 1 ideal OpAmp, follower with unit gain (analytical)
Circuit with 1 ideal OpAmp, follower (analytical)
Circuit with 1 ideal OpAmp, inverter (analytical)
Circuit with 1 ideal OpAmp (analytical)
Circuit with 2 ideal OpAmps in series (analytical)
Circuit with 2 ideal OpAmps in parallel (analytical)
-
DC OpAmps (design)
Circuit with 1 ideal OpAmp, follower (numerical design)
Circuit with 1 ideal OpAmp, inverter (numerical design)
Circuit with 1 ideal OpAmp (numerical design)