Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
learn:courses:real-analog-chapter-3:start [2017/04/20 17:20] – [After Completing this Chapter, You Should be Able to:] Marthalearn:courses:real-analog-chapter-3:start [2022/10/04 11:38] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Real Analog: Chapter 3 ====== ====== Real Analog: Chapter 3 ======
- +[[{}/learn/courses/real-analog-chapter-2/start|Back to Chapter 2]] 
--->Chapter 3 Downloads# +-->Chapter 3 Materials#   
-  * {{ :learn:courses:real-analog-chapter-3:realanalog-circuits1-chapter3.pdf |Chapter 3 PDF}} +  * Lecture Material: 
-    * {{ :learn:courses:real-analog-chapter-3:lab3p2p1.pdf |Lab 3.2.1}}: Nodal Analysis +    * {{ :learn:courses:real-analog-chapter-3:lecture7.ppt |Lecture 7 PowerPoint Slides}}: Overview of nodal & mesh analysis, nodal analysis 
-      * {{ :learn:courses:real-analog-chapter-3:lab3p2p1_worksheet.docx |3.2.1 Worksheet}} +    * {{ :learn:courses:real-analog-chapter-3:lecture8.ppt |Lecture 8 PowerPoint Slides}}: Mesh analysis 
-    * {{ :learn:courses:real-analog-chapter-3:lab3p2p2.pdf |Lab 3.2.2}}: Nodal Analysis +    * {{ :learn:courses:real-analog-chapter-3:lecture9.ppt |Lecture 9 PowerPoint Slides}}: Constrained loops, additional mesh analysis examples 
-      * {{ :learn:courses:real-analog-chapter-3:lab3p2p2_worksheet.docx |3.2.2 Worksheet}} +    * [[http://www.youtube.com/watch?v=x6qmVkB_bLs&list=PLDEC730F6A8CDE318&index=7&feature=plpp_video| Lecture 7 Video]] 
-    * {{ :learn:courses:real-analog-chapter-3:lab3p2p3.pdf |Lab 3.2.3}}: Nodal Analysis +    * [[http://www.youtube.com/watch?v=-zgBmwRItV8&list=PLDEC730F6A8CDE318&index=8&feature=plpp_video| Lecture 8 Video]] 
-      * {{ :learn:courses:real-analog-chapter-3:lab3p2p3_worksheet.docx |3.2.3 Worksheet}} +    * [[http://www.youtube.com/watch?v=XK4btnUp294&list=PLDEC730F6A8CDE318&index=9&feature=plpp_video| Lecture 9 Video]] 
-    * {{ :learn:courses:real-analog-chapter-3:lab3p3p1.pdf |Lab 3.3.1}}: Mesh Analysis +  * Chapter 3 Video: 
-      * {{ :learn:courses:real-analog-chapter-3:lab3p3p1_worksheet.docx |3.3.1 Worksheet}} +    * [[http://www.youtube.com/watch?v=V8c6GT3QruY&list=PL170A01159D42313D&index=8&feature=plpp_video| Lab 3 Video]]: Nodal and Mesh Analysis: Analysis and implementation of circuits with multiple sources. Using multiple sources on the Analog Discovery to create sources outside its nominal +/- 5V range. 
-    * {{ :learn:courses:real-analog-chapter-3:lab3p3p2.pdf |Lab 3.3.2}}: Mesh Analysis +  * {{ :learn:courses:real-analog-chapter-3:real-analog-chapter-3.pdf | Chapter 3 Complete PDF}} 
-      * {{ :learn:courses:real-analog-chapter-3:lab3p3p2_worksheet.docx |3.3.2 Worksheet}} +    * {{ :learn:courses:real-analog-chapter-3:lab3p2p1.pdf |Lab 3.2.1}} 
-    * {{ :learn:courses:real-analog-chapter-3:lab3p3p3.pdf |Lab 3.3.3}}: Mesh Analysis +      * {{ :learn:courses:real-analog-chapter-3:lab3p2p1_worksheet.docx |Worksheet 3.2.1}} 
-      * {{ :learn:courses:real-analog-chapter-3:lab3p3p3_worksheet.docx |3.3.3 Worksheet}} +    * {{ :learn:courses:real-analog-chapter-3:lab3p2p2.pdf |Lab 3.2.2}} 
 +      * {{ :learn:courses:real-analog-chapter-3:lab3p2p2_worksheet.docx |Worksheet 3.2.2}} 
 +    * {{ :learn:courses:real-analog-chapter-3:lab3p2p3.pdf |Lab 3.2.3}} 
 +      * {{ :learn:courses:real-analog-chapter-3:lab3p2p3_worksheet.docx |Worksheet 3.2.3}} 
 +    * {{ :learn:courses:real-analog-chapter-3:lab3p3p1.pdf |Lab 3.3.1}} 
 +      * {{ :learn:courses:real-analog-chapter-3:lab3p3p1_worksheet.docx |Worksheet 3.3.1}} 
 +    * {{ :learn:courses:real-analog-chapter-3:lab3p3p2.pdf |Lab 3.3.2}} 
 +      * {{ :learn:courses:real-analog-chapter-3:lab3p3p2_worksheet.docx |Worksheet 3.3.2}} 
 +    * {{ :learn:courses:real-analog-chapter-3:lab3p3p3.pdf |Lab 3.3.3}} 
 +      * {{ :learn:courses:real-analog-chapter-3:lab3p3p3_worksheet.docx |Worksheet 3.3.3}}
   * {{ :learn:courses:real-analog-chapter-3:realanalog-exercisesolutions-chapter3.pdf |Exercise Solutions}}: Chapter 3 exercise solutions   * {{ :learn:courses:real-analog-chapter-3:realanalog-exercisesolutions-chapter3.pdf |Exercise Solutions}}: Chapter 3 exercise solutions
   * {{ :learn:courses:real-analog-chapter-3:homework3.docx |Homework}}: Chapter 3 homework problems   * {{ :learn:courses:real-analog-chapter-3:homework3.docx |Homework}}: Chapter 3 homework problems
Line 22: Line 30:
  
 ====== 3. Introduction and Chapter Objectives ====== ====== 3. Introduction and Chapter Objectives ======
-In Chapters [[https://reference.digilentinc.com/learn/courses/real-analog-chapter-1/start|1]] & [[https://reference.digilentinc.com/learn/courses/real-analog-chapter-2/start|2]], we introduced several tools in circuit analysis:+In Chapters [[/learn/courses/real-analog-chapter-1/start|1]] & [[/learn/courses/real-analog-chapter-2/start|2]], we introduced several tools in circuit analysis:
   * Ohm's Law   * Ohm's Law
   * Kirchhoff's laws   * Kirchhoff's laws
Line 135: Line 143:
 Node b: Node b:
  
-$$-i_1+i_3+i_4=0      (Eq. 3.1)$$+$$-i_1+i_3+i_4=0   \qquad   (Eq. 3.1)$$
  
 Node c: Node c:
  
-$$-i_2-i_3+i_5=0      (Eq. 3.2)$$+$$-i_2-i_3+i_5=0   \qquad   (Eq. 3.2)$$
  
 {{ :learn:courses:real-analog-chapter-3:chapter3i.png |Figure 3.7.}} {{ :learn:courses:real-analog-chapter-3:chapter3i.png |Figure 3.7.}}
  
 ==== Step 5: Use Ohm's Law to Write the Equations From Step 4 in Terms of Voltages ==== ==== Step 5: Use Ohm's Law to Write the Equations From Step 4 in Terms of Voltages ====
-The currents defined in Step 4 can be written in terms of the node voltages defined previously. For example, from Fig. 3.7: $i_1= \frac{V_S-V-b}{R_1}$, $i_3=\frac{V_b-V_c}{R_3}$, and $i_4=\frac{V_b-0}{R_4}$, sop equation (3.1) can be written as:+The currents defined in Step 4 can be written in terms of the node voltages defined previously. For example, from Fig. 3.7: $i_1= \frac{V_S-V-b}{R_1}$, $i_3=\frac{V_b-V_c}{R_3}$, and $i_4=\frac{V_b-0}{R_4}$, so equation (3.1) can be written as:
  
 $$-\frac{V_s-V_b}{R_1} + \frac{V_b-V_c}{R_3} + \frac{V_b-0}{R_4} = 0 $$ $$-\frac{V_s-V_b}{R_1} + \frac{V_b-V_c}{R_3} + \frac{V_b-0}{R_4} = 0 $$
Line 150: Line 158:
 So the KCL equation for node b becomes: So the KCL equation for node b becomes:
  
-$$ \left( \frac{1}{R_1} + \frac{1}{R_3} + \frac{1}{R_4} \right) V_b - \frac{1}{R_3} V_c = \frac{1}{R_1}V_S    (Eq. 3.3)$$+$$ \left( \frac{1}{R_1} + \frac{1}{R_3} + \frac{1}{R_4} \right) V_b - \frac{1}{R_3} V_c = \frac{1}{R_1}V_S  \qquad  (Eq. 3.3)$$
  
 Likewise, the KCL equation for node c can be written as: Likewise, the KCL equation for node c can be written as:
  
-$$-\frac{1}{R_3} V_b + \left( \frac{1}{R_3} + \frac{1}{R_2} + \frac{1}{R_5} \right) V_c = \frac{1}{R_2} V_S         (Eq. 3.4)$$+$$-\frac{1}{R_3} V_b + \left( \frac{1}{R_3} + \frac{1}{R_2} + \frac{1}{R_5} \right) V_c = \frac{1}{R_2} V_S    \qquad     (Eq. 3.4)$$
  
  
Line 161: Line 169:
 ==== Double-checking Results ==== ==== Double-checking Results ====
 If the circuit being analyzed contains only __independent sources__, and the sign convention used in KCL equations is the same as used above (__currents leaving nodes are assumed positive__), the equations written at each node will have the following form: If the circuit being analyzed contains only __independent sources__, and the sign convention used in KCL equations is the same as used above (__currents leaving nodes are assumed positive__), the equations written at each node will have the following form:
-  * The term multiplying the voltage at that node will be the sum of the conductances connected to that node. For the example above, the term multiplying $V_b$ in the equation for node b is $\frac{1}{R_1} + \frac{1}{R_3} + \frac{1}{R_4}$ while the term multiplying $V_c$ nin the equation for node c is $\frac{1}{R_3} + \frac{1}{R_2} + \frac{1}{R_5}$. +  * The term multiplying the voltage at that node will be the sum of the conductances connected to that node. For the example above, the term multiplying $V_b$ in the equation for node b is $\frac{1}{R_1} + \frac{1}{R_3} + \frac{1}{R_4}$ while the term multiplying $V_c$ in the equation for node c is $\frac{1}{R_3} + \frac{1}{R_2} + \frac{1}{R_5}$. 
   * The term multiplying the voltages adjacent to the node will be the negative of the conductance connecting the two nodes. For the example above, the term multiplying $V_c$ in the equation for node b is $-\frac{1}{R_3}$, and the term multiplying $V_b$ in the equation for node c is $-\frac{1}{R_3}$.   * The term multiplying the voltages adjacent to the node will be the negative of the conductance connecting the two nodes. For the example above, the term multiplying $V_c$ in the equation for node b is $-\frac{1}{R_3}$, and the term multiplying $V_b$ in the equation for node c is $-\frac{1}{R_3}$.
  
Line 199: Line 207:
 $$V=V_A - V_B = -2V$$ $$V=V_A - V_B = -2V$$
  
-Several comments should be made relative to the above example: +Several comments should be made relative to the above example:\\ 
-1. Steps 4 and 5 (applying KCL at each independent node and using Ohm's law to write these equations in terms of voltages) have been combined into a single step. This approach is fairly common, and can provide a significant savings in time. +**1.** Steps 4 and 5 (applying KCL at each independent node and using Ohm's law to write these equations in terms of voltages) have been combined into a single step. This approach is fairly common, and can provide a significant savings in time. 
  
-2. There may be a perceived inconsistency between the two node equations, in the assumption of positive current direction in the 1Ω resistor. In the equation for node A, the current is apparently assumed to be positive from node A to node B, as shown below:+**2.** There may be a perceived inconsistency between the two node equations, in the assumption of positive current direction in the 1Ω resistor. In the equation for node A, the current is apparently assumed to be positive from node A to node B, as shown below:
 {{ :learn:courses:real-analog-chapter-3:chapter3l.png |1Ω resistor.}} {{ :learn:courses:real-analog-chapter-3:chapter3l.png |1Ω resistor.}}
  
Line 208: Line 216:
 {{ :learn:courses:real-analog-chapter-3:chapter3m.png |Positive current direction example.}} {{ :learn:courses:real-analog-chapter-3:chapter3m.png |Positive current direction example.}}
  
-This definition leads to the corresponding term in the equation for node B becoming: $\frac{V_B - V_A}{1}$/ +This definition leads to the corresponding term in the equation for node B becoming: $\frac{V_B - V_A}{1}$. 
  
 The above inconsistency in sign is, however, insignificant. Suppose that we had assumed (consistently with the equation for node A) that the direction of positive current for the node B equation is from Node A to B. Then, the corresponding term in the equation for node B would have been: $-\frac{V_A - V_B}{1}$ (note that a negative sign has been applied to this term to accommodate our assumption that __currents flowing into nodes are negative__). This is equal to $\frac{V_B - V_A}{1}$, which is exactly what our original result was.  The above inconsistency in sign is, however, insignificant. Suppose that we had assumed (consistently with the equation for node A) that the direction of positive current for the node B equation is from Node A to B. Then, the corresponding term in the equation for node B would have been: $-\frac{V_A - V_B}{1}$ (note that a negative sign has been applied to this term to accommodate our assumption that __currents flowing into nodes are negative__). This is equal to $\frac{V_B - V_A}{1}$, which is exactly what our original result was. 
  
-3. The current source appears __directly__ in the nodal equations. +**3.** The current source appears __directly__ in the nodal equations. 
  
  
Line 225: Line 233:
  
 ==== Supernodes ==== ==== Supernodes ====
-In the previous examples, we identified __dependent__ nodes and determined __constrained__ voltages. Kirchhoff's current law was then only written at __independent__ nodes. Many readers find this somewhat confusing, especially if the dependent voltages are not relative tot he reference voltage. We will thus discuss these steps in more detail here in the context of an example, introducing the concept of a //supernode// in the process. +In the previous examples, we identified __dependent__ nodes and determined __constrained__ voltages. Kirchhoff's current law was then only written at __independent__ nodes. Many readers find this somewhat confusing, especially if the dependent voltages are not relative to the reference voltage. We will thus discuss these steps in more detail here in the context of an example, introducing the concept of a //supernode// in the process. 
  
 Example: for the circuit below, determine the voltage difference, V, across the 2mA source.  Example: for the circuit below, determine the voltage difference, V, across the 2mA source. 
Line 392: Line 400:
     * Use Ohm's law to write KCL at each independent node, in terms of the node voltages. This will result in N equations in N unknowns, where N is the number of node voltages. Independent "nodes" can be //supernodes//; supernodes typically contain a voltage source; this minimizes the number of equations being written by taking advantage of voltage constraints introduced in step 3.      * Use Ohm's law to write KCL at each independent node, in terms of the node voltages. This will result in N equations in N unknowns, where N is the number of node voltages. Independent "nodes" can be //supernodes//; supernodes typically contain a voltage source; this minimizes the number of equations being written by taking advantage of voltage constraints introduced in step 3. 
     * Solve the equations of step 4 to determine the node voltages.     * Solve the equations of step 4 to determine the node voltages.
-    * Use the node voltages to determine any other esired voltages/currents in the circuit. +    * Use the node voltages to determine any other desired voltages/currents in the circuit. 
   * Modifications to the above approach are allowed. For example, it is not necessary to define supernodes in step 4 above. Once can define unknown voltages at either terminal of a voltage source and write KCL at each of these nodes. However, the unknown current through the voltage source must be accounted for when writing KCL - this introduces an additional unknown into the governing equations. This added unknown requires an additional equation. This equation is obtained by explicitly writing a constraint equation relating the voltages at the two terminals of the voltage source.    * Modifications to the above approach are allowed. For example, it is not necessary to define supernodes in step 4 above. Once can define unknown voltages at either terminal of a voltage source and write KCL at each of these nodes. However, the unknown current through the voltage source must be accounted for when writing KCL - this introduces an additional unknown into the governing equations. This added unknown requires an additional equation. This equation is obtained by explicitly writing a constraint equation relating the voltages at the two terminals of the voltage source. 
  
Line 452: Line 460:
  
 {{ :learn:courses:real-analog-chapter-3:chapter3af.png |Step 3 example image.}} {{ :learn:courses:real-analog-chapter-3:chapter3af.png |Step 3 example image.}}
 +
 +From the above figure, the voltage drops across the resistor $R_1$ can then be determined as:
 +
 +$$V_1 = R_1 i_1$$
 +
 +Since only mesh current $i_1$ passes through the resistor $R_1$. Likewise, the voltage drop for the resistor $R_4$ is
 +
 +Since mesh currents $i_1$ and $i_4$ both pass through $R_4$ and the current $i_2$ is in the opposite direction to our assumed polarity for the voltage $V_4$. 
 +
 +Using the above expressions for $V_1$ and $V_4$, we can write KVL for the first mesh loop as:
 +
 +$$-V_S + R_1 i_1 + R_4 (i_1 - i_2) =0$$
 +
 +When we write KVL for the mesh current $i_2$ in our example, we choose voltage polarities for resistors $R_4$, $R_2$, and $R_5$ as shown in the figure below – these polarities agree with the passive sign convention for voltages relative to the direction of the mesh current $i_2$.  Please note that these sign conventions do not need to agree with the sign conventions used in the equations for other mesh currents.
 +
 +{{ :learn:courses:real-analog-chapter-3:chapter_example.png?nolink |}}
  
 Using the above sign conventions, KVL for the second mesh loop becomes: Using the above sign conventions, KVL for the second mesh loop becomes:
Line 499: Line 523:
 {{ :learn:courses:real-analog-chapter-3:chapter3aj.png |Example circuit.}} {{ :learn:courses:real-analog-chapter-3:chapter3aj.png |Example circuit.}}
  
-Define three mesh currents for each of the three meshes in the above circuit and define unknown voltages $V_1$ abd $V_3$ across the two current sources as shown below.+Define three mesh currents for each of the three meshes in the above circuit and define unknown voltages $V_1$ and $V_3$ across the two current sources as shown below.
  
 {{ :learn:courses:real-analog-chapter-3:chapter3ak.png |Example circuit.}} {{ :learn:courses:real-analog-chapter-3:chapter3ak.png |Example circuit.}}
Line 531: Line 555:
 {{ :learn:courses:real-analog-chapter-3:chapter3al.png |Example 3.6 image 1. }} {{ :learn:courses:real-analog-chapter-3:chapter3al.png |Example 3.6 image 1. }}
  
-=== //Step 1//: Define mesh loops ===+=== Step 1: Define mesh loops ===
  
 Replacing the two current sources with open circuits and the two voltage sources with short circuits results in a single mesh current, $i_1$, as shown below. Replacing the two current sources with open circuits and the two voltage sources with short circuits results in a single mesh current, $i_1$, as shown below.
Line 537: Line 561:
 {{ :learn:courses:real-analog-chapter-3:chapter3am.png |Example 3.6 image 2.}} {{ :learn:courses:real-analog-chapter-3:chapter3am.png |Example 3.6 image 2.}}
  
-=== //Step 2//: Constrained loops, version 1 ===+=== Step 2: Constrained loops, version 1 ===
 Initially, we choose the constrained loops shown below. Note that each loop passes through only one source and has the magnitude and direction imposed by the source.  Initially, we choose the constrained loops shown below. Note that each loop passes through only one source and has the magnitude and direction imposed by the source. 
  
 {{ :learn:courses:real-analog-chapter-3:chapter3an.png |Example 3.6 image 3.}} {{ :learn:courses:real-analog-chapter-3:chapter3an.png |Example 3.6 image 3.}}
  
-===//Step 3//: Write KVL around the mesh loops ===+===Step 3: Write KVL around the mesh loops ===
 Our example has only one mesh current, so only one KVL equation is required. This equation is: Our example has only one mesh current, so only one KVL equation is required. This equation is:
  
 $$-8V + 2\Omega \left( i_1 + 1A - 2A \right) + 4\Omega \left( i_1 - 2A \right) + 10V + 6\Omega \left( i_1 \right) = 0$$ $$-8V + 2\Omega \left( i_1 + 1A - 2A \right) + 4\Omega \left( i_1 - 2A \right) + 10V + 6\Omega \left( i_1 \right) = 0$$
  
-=== //Step 4//: Solve the system of equations to determine the mesh currents of the circuit ===+=== Step 4: Solve the system of equations to determine the mesh currents of the circuit ===
 Solving the above equation results in $i_1 = 0.667A$. The current through the $4\Omega$ resistor is then, accounting for the 2A constrained loop passing through the resistor, $i = i_1 -2A = -1.333A$.  Solving the above equation results in $i_1 = 0.667A$. The current through the $4\Omega$ resistor is then, accounting for the 2A constrained loop passing through the resistor, $i = i_1 -2A = -1.333A$. 
  
Line 653: Line 677:
  
  
 +[[{}/learn/courses/real-analog-chapter-2/start|Back to Chapter 2]] 
 +[[{}/learn/courses/real-analog-chapter-4/start|Go to Chapter 4]]