3.4: Electric Circuits and Interconnection Laws
- Page ID
- 1609
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\( \newcommand{\id}{\mathrm{id}}\) \( \newcommand{\Span}{\mathrm{span}}\)
( \newcommand{\kernel}{\mathrm{null}\,}\) \( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\) \( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\) \( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\id}{\mathrm{id}}\)
\( \newcommand{\Span}{\mathrm{span}}\)
\( \newcommand{\kernel}{\mathrm{null}\,}\)
\( \newcommand{\range}{\mathrm{range}\,}\)
\( \newcommand{\RealPart}{\mathrm{Re}}\)
\( \newcommand{\ImaginaryPart}{\mathrm{Im}}\)
\( \newcommand{\Argument}{\mathrm{Arg}}\)
\( \newcommand{\norm}[1]{\| #1 \|}\)
\( \newcommand{\inner}[2]{\langle #1, #2 \rangle}\)
\( \newcommand{\Span}{\mathrm{span}}\) \( \newcommand{\AA}{\unicode[.8,0]{x212B}}\)
\( \newcommand{\vectorA}[1]{\vec{#1}} % arrow\)
\( \newcommand{\vectorAt}[1]{\vec{\text{#1}}} % arrow\)
\( \newcommand{\vectorB}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vectorC}[1]{\textbf{#1}} \)
\( \newcommand{\vectorD}[1]{\overrightarrow{#1}} \)
\( \newcommand{\vectorDt}[1]{\overrightarrow{\text{#1}}} \)
\( \newcommand{\vectE}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash{\mathbf {#1}}}} \)
\( \newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} } \)
\( \newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}} \)
\(\newcommand{\avec}{\mathbf a}\) \(\newcommand{\bvec}{\mathbf b}\) \(\newcommand{\cvec}{\mathbf c}\) \(\newcommand{\dvec}{\mathbf d}\) \(\newcommand{\dtil}{\widetilde{\mathbf d}}\) \(\newcommand{\evec}{\mathbf e}\) \(\newcommand{\fvec}{\mathbf f}\) \(\newcommand{\nvec}{\mathbf n}\) \(\newcommand{\pvec}{\mathbf p}\) \(\newcommand{\qvec}{\mathbf q}\) \(\newcommand{\svec}{\mathbf s}\) \(\newcommand{\tvec}{\mathbf t}\) \(\newcommand{\uvec}{\mathbf u}\) \(\newcommand{\vvec}{\mathbf v}\) \(\newcommand{\wvec}{\mathbf w}\) \(\newcommand{\xvec}{\mathbf x}\) \(\newcommand{\yvec}{\mathbf y}\) \(\newcommand{\zvec}{\mathbf z}\) \(\newcommand{\rvec}{\mathbf r}\) \(\newcommand{\mvec}{\mathbf m}\) \(\newcommand{\zerovec}{\mathbf 0}\) \(\newcommand{\onevec}{\mathbf 1}\) \(\newcommand{\real}{\mathbb R}\) \(\newcommand{\twovec}[2]{\left[\begin{array}{r}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\ctwovec}[2]{\left[\begin{array}{c}#1 \\ #2 \end{array}\right]}\) \(\newcommand{\threevec}[3]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\cthreevec}[3]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \end{array}\right]}\) \(\newcommand{\fourvec}[4]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\cfourvec}[4]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \end{array}\right]}\) \(\newcommand{\fivevec}[5]{\left[\begin{array}{r}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\cfivevec}[5]{\left[\begin{array}{c}#1 \\ #2 \\ #3 \\ #4 \\ #5 \\ \end{array}\right]}\) \(\newcommand{\mattwo}[4]{\left[\begin{array}{rr}#1 \amp #2 \\ #3 \amp #4 \\ \end{array}\right]}\) \(\newcommand{\laspan}[1]{\text{Span}\{#1\}}\) \(\newcommand{\bcal}{\cal B}\) \(\newcommand{\ccal}{\cal C}\) \(\newcommand{\scal}{\cal S}\) \(\newcommand{\wcal}{\cal W}\) \(\newcommand{\ecal}{\cal E}\) \(\newcommand{\coords}[2]{\left\{#1\right\}_{#2}}\) \(\newcommand{\gray}[1]{\color{gray}{#1}}\) \(\newcommand{\lgray}[1]{\color{lightgray}{#1}}\) \(\newcommand{\rank}{\operatorname{rank}}\) \(\newcommand{\row}{\text{Row}}\) \(\newcommand{\col}{\text{Col}}\) \(\renewcommand{\row}{\text{Row}}\) \(\newcommand{\nul}{\text{Nul}}\) \(\newcommand{\var}{\text{Var}}\) \(\newcommand{\corr}{\text{corr}}\) \(\newcommand{\len}[1]{\left|#1\right|}\) \(\newcommand{\bbar}{\overline{\bvec}}\) \(\newcommand{\bhat}{\widehat{\bvec}}\) \(\newcommand{\bperp}{\bvec^\perp}\) \(\newcommand{\xhat}{\widehat{\xvec}}\) \(\newcommand{\vhat}{\widehat{\vvec}}\) \(\newcommand{\uhat}{\widehat{\uvec}}\) \(\newcommand{\what}{\widehat{\wvec}}\) \(\newcommand{\Sighat}{\widehat{\Sigma}}\) \(\newcommand{\lt}{<}\) \(\newcommand{\gt}{>}\) \(\newcommand{\amp}{&}\) \(\definecolor{fillinmathshade}{gray}{0.9}\)- A circuit is the electrical/physical analogue of a system.
- Kirchoff's laws provde connection rules about "nodes" in a circuit to determine relations between various circuit elements.
A circuit connects circuit elements together in a specific configuration designed to transform the source signal (originating from a voltage or current source) into another signal—the output—that corresponds to the current or voltage defined for a particular circuit element. A simple resistive circuit is shown in the figure below. This circuit is the electrical embodiment of a system having its input provided by a source system producing vin(t).
![system4.png](https://eng.libretexts.org/@api/deki/files/1486/system4.png?revision=1&size=bestfit&width=450&height=93)
To understand what this circuit accomplishes, we want to determine the voltage across the resistor labeled by its value R2. Recasting this problem mathematically, we need to solve some set of equations so that we relate the output voltage vout to the source voltage. It would be simple—a little too simple at this point—if we could instantly write down the one equation that relates these two voltages. Until we have more knowledge about how circuits work, we must write a set of equations that allow us to find all the voltages and currents that can be defined for every circuit element. Because we have a three-element circuit, we have a total of six voltages and currents that must be either specified or determined. You can define the directions for positive current flow and positive voltage drop any way you like. Once the values for the voltages and currents are calculated, they may be positive or negative according to your definition. When two people define variables according to their individual preferences, the signs of their variables may not agree, but current flow and voltage drop values for each element will agree. Do recall in defining your voltage and current variables that the v-i relations for the elements presume that positive current flow is in the same direction as positive voltage drop. Once you define voltages and currents, we need six nonredundant equations to solve for the six unknown voltages and currents. By specifying the source, we have one; this amounts to providing the source's v-i relation. The v-i relations for the resistors give us two more. We are only halfway there; where do we get the other three equations we need?
nodes. Two nodes are explicitly indicated in Figure 3.4.1, a third is at the bottom where the voltage source and resistor R2 are connected. Electrical engineers tend to draw circuit diagrams—schematics— in a rectilinear fashion. Thus the long line connecting the bottom of the voltage source with the bottom of the resistor is intended to make the diagram look pretty. This line simply means that the two elements are connected together. Kirchhoff's Laws, one for voltage and one for current, determine what a connection among circuit elements means. These laws are essential to analyzing this and any circuit. They are named for Gustav Kirchhoff, a nineteenth century German physicist.
What we need to solve every circuit problem are mathematical statements that express how the circuit elements are interconnected. Said another way, we need the laws that govern the electrical connection of circuit elements. First of all, the places where circuit elements attach to each other are calledKirchhoff's Current Law (KCL)
At every node, the sum of all currents entering or leaving a node must equal zero. What this law means physically is that charge cannot accumulate in a node; what goes in must come out. For the above example, we have a three-node circuit and thus have three KCL equations.
\[-(-i)-i_{1}=0\\ i_{1}-i_{2}=0\\ i+i_{2}=0 \nonumber \]
Note that the current entering a node is the negative of the current leaving the node.
Given any two of these KCL equations, we can find the other by adding or subtracting them. Thus, one of them is redundant and, in mathematical terms, we can discard any one of them. The convention is to discard the equation for the (unlabeled) node at the bottom of the circuit.
![circuit4.png](https://eng.libretexts.org/@api/deki/files/1484/circuit4.png?revision=1&size=bestfit&width=350&height=217)
![circuit4a.png](https://eng.libretexts.org/@api/deki/files/1485/circuit4a.png?revision=1&size=bestfit&width=350&height=247)
In writing KCL equations, you will find that in an n-node circuit, exactly one of them is always redundant. Can you sketch a proof of why this might be true? Hint: It has to do with the fact that charge won't accumulate in one place on its own.
Solution
KCL says that the sum of currents entering or leaving a node must be zero. If we consider two nodes together as a "supernode", KCL applies as well to currents entering the combination. Since no currents enter an entire circuit, the sum of currents must be zero. If we had a two-node circuit, the KCL equation of one must be the negative of the other, We can combine all but one node in a circuit into a supernode; KCL for the supernode must be the negative of the remaining node's KCL equation. Consequently, specifying n-1KCL equations always specifies the remaining one.
Kirchhoff's Voltage Law (KVL)
The voltage law says that the sum of voltages around every closed loop in the circuit must equal zero. A closed loop has the obvious definition: Starting at a node, trace a path through the circuit that returns you to the origin node. KVL expresses the fact that electric fields are conservative: The total work performed in moving a test charge around a closed path is zero. The KVL equation for our circuit is:
\[v_{1}+v_{2}-v=0 \nonumber \]
In writing KVL equations, we follow the convention that an element's voltage enters with a plus sign when traversing the closed path, we go from the positive to the negative of the voltage's definition.
For the circuit in Figure 3.4.2, we have three v-i relations, two KCL equations, and one KVL equation for solving for the circuit's six voltages and currents.
- v -i
\[v=v_{in}\\ v_{1}=R_{1}i_{1}\\ v_{out}=R_{2}i_{out} \nonumber \]
- KCL
\[(-i)-i_{1}=0\\ i_{1}-i_{out}=0 \nonumber \]
- KVL
\[-v+v_{1}+v_{out}=0 \nonumber \]
We have exactly the right number of equations! Eventually, we will discover shortcuts for solving circuit problems; for now, we want to eliminate all the variables but vout and determine how it depends on vin and on resistor values. The KVL equation can be rewritten as:
\[v_{in}=v_{1}+v_{out} \nonumber \]
Substituting into it the resistor's v-i relation, we have:
\[v_{in}=R_{1}i_{1}+R_{2}i_{out} \nonumber \]
Yes, we temporarily eliminate the quantity we seek. Though not obvious, it is the simplest way to solve the equations. One of the KCL equations says:
\[i_{1}=i_{out} \nonumber \]
which means that:
\[v_{in}=R_{1}i_{out}+R_{2}i_{out}=(R_{1}+R_{2})i_{out} \nonumber \]
Solving for the current in the output resistor, we have:
\[i_{out}=\frac{v_{in}}{R_{1}+R_{2}} \nonumber \]
We have now solved the circuit: We have expressed one voltage or current in terms of sources and circuit-element values. To find any other circuit quantities, we can back substitute this answer into our original equations or ones we developed along the way. Using the v-i relation for the output resistor, we obtain the quantity we seek:
\[v_{out}=\frac{R_{2}}{R_{1}+R_{2}}v_{in} \nonumber \]
Referring back to Figure 3.4.1, a circuit should serve some useful purpose. What kind of system does our circuit realize and, in terms of element values, what are the system's parameter(s)?
Solution
The circuit serves as an amplifier having a gain of \[\frac{R_{2}}{R_{1}+R_{2}} \nonumber \]