NDSU ECE 211 Lecture 32
Overview
Roger Green demonstrates that mesh-current analysis works for sinusoidal steady-state circuits when resistors, inductors, and capacitors are represented by complex impedances. For a 100 Hz circuit driven by a 50 cos(2π100t) V source, he forms and solves a three-equation matrix in MATLAB, finding capacitor current 0.7631∠67.8034° A, then checks the waveform and phase lead with CircuitLab.
Key takeaways
- For sinusoidal steady state, replace each resistor, inductor, and capacitor with its impedance, then apply familiar KVL, KCL, mesh-current, or node-voltage methods to the resulting complex circuit.
- In the worked 100 Hz example, ZL = jωL and ZC = 1/(jωC), with R1 = R2 = 100 Ω, L = 40 mH, and C = 20 μF.
- The three mesh equations form a linear system A·I = B; solving it in MATLAB yields the mesh currents, and the capacitor current equals I2 because the capacitor is on the perimeter of mesh 2.
- The capacitor current is 0.7631∠67.8034° A, corresponding to iC(t) = 0.7631 cos(2π100t + 67.8034°) A and a 67.8034° lead over the 50 cos(2π100t) V source.
- A transient simulation must run long enough for startup effects to decay before its waveforms are compared with a sinusoidal steady-state phasor solution; the 20-period CircuitLab run confirms the predicted current magnitude and lead.
Chapters
- The previous RLC example used an equivalent impedance and phasor Ohm's law to find circuit voltages and currents without solving a second-order differential equation.
- The same circuit methods used for resistive DC networks, including mesh current, node voltage, superposition, and Thevenin and Norton equivalents, also apply to sinusoidal steady state.
- The source is vS(t) = 50 cos(2π100t) V, giving a peak phasor of 50∠0° V and a 100 Hz operating frequency.
- The circuit contains two 100 Ω resistors, a 40 mH inductor, and a 20 μF capacitor in three meshes.
- The target is the capacitor current and its phase relationship to the source voltage, rather than every component voltage and current.
- At 100 Hz, the angular frequency is ω = 2π100 rad/s and the period is 0.01 s.
- The impedance rules are ZR1 = R1, ZR2 = R2, ZL = jωL, and ZC = 1/(jωC); Green keeps these symbolic until MATLAB substitutes the component values.
- Clockwise phasor mesh currents I1, I2, and I3 are assigned to the top, right, and source-containing loops, respectively.
- The top mesh equation is 0 = I1ZL + (I1 − I3)ZR1.
- The right mesh equation is 0 = I2ZC + (I2 − I3)ZR2.
- The source mesh equation is VS = (I3 − I1)ZR1 + (I3 − I2)ZR2, with shared-resistor currents expressed as mesh-current differences.
- The equations become A[I1, I2, I3]ᵀ = [VS, 0, 0]ᵀ, with rows [−ZR1, −ZR2, ZR1 + ZR2], [ZL + ZR1, 0, −ZR1], and [0, ZC + ZR2, −ZR2].
- The equation order can vary as long as each matrix row and source-vector entry stay aligned with its equation.
- Because the capacitor lies on the outer edge of mesh 2, its current is I_C = I2; MATLAB returns 0.7631∠67.8034° A.
- Converting the phasor to time domain gives iC(t) = 0.7631 cos(2π100t + 67.8034°) A, so the capacitor current leads the source voltage by 67.8034°.
- The MATLAB script defines f = 100 Hz, R1 = R2 = 100 Ω, L = 0.04 H, and C = 20 × 10⁻⁶ F, then calculates each complex impedance.
- It solves the mesh system using the impedance matrix and source vector, extracts I2, and converts its magnitude and angle to polar form.
- The plotted source and capacitor-current waveforms cover two periods, or 0.02 s; their peak timing shows the capacitor current leading the source.
- Keeping the component values and frequency as variables makes it straightforward to test other operating frequencies, such as 200 Hz or 500 Hz.
- CircuitLab uses a 50 V, 100 Hz source set to −90° in its sine-source convention to produce the intended cosine waveform, alongside the same 100 Ω, 40 mH, and 20 μF components.
- The simulation runs for 20 periods so startup transients can decay before comparing the steady-state waveforms with MATLAB.
- Near the end of the run, the capacitor-current peak is about 760 mA and occurs before the source-voltage peak, consistent with the calculated 0.7631 A and 67.8034° lead.
- The example shows how phasors and impedances let mesh-current or node-voltage analysis handle sinusoidal steady-state circuits without time-domain differential equations.
- The next lecture will use superposition for two sources operating at different frequencies, where a single shared phasor frequency is not sufficient.
Transcript excerpt
0:01 Welcome to NDSU, ECE 211. This is lecture 32. Last time, we continued our discussion of phasors and impedance and used those concepts to find all the Vs and Is in a particular circuit. Um that circuit had a resistor and inductor and a capacitor. So we found three voltages and three three currents for that circuit. We also took a look at lead and lag behaviors um when one waveform leads or lags another. And we also looked at this idea of reactance. Um that's the imaginary part of our impedance and its connection to inductive and capacitive behavior. A reminder about um our approach to circuit analysis that we've done over the past couple lectures. We had started um with a
0:50 a circuit that had two energy storage elements. There was an inductor and a capacitor in it. It also had a resistor. If I was going to try to analyze this in time domain methods, I'd get a second order differential equation. And that would have some um awkwardness to be able to solve it. If we're only interested in the sinusoidal steady state behaviors, we know that we can use a phasor and impedance approach to this problem. And the way we ended up um solving this, at least initially, is for this particular circuit which had a current source driving it. It was a sinusoidal current source. Uh we reduced all of the components, that inductor, the capacitor, and the resistor, into a single equivalent impedance. That gave us a circuit that was just much more simple, right? We had a circuit that had a current source. Um there's a voltage uh that is induced.
1:39 And that voltage is common to both the the current source and the and the Z EQ. Um we had computed, at least for this
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Roger Green.