Week 4
Nodal analysis, introduction to AC
Nodal analysis is the general method for DC circuits: pick a ground, label the unknown node voltages, write KCL at each unknown node with Ohm's law currents, and solve the equations. It handles the multi-source circuits that took superposition or Thévenin in weeks 2 and 3. The week then turns to AC: why power is generated and sent as AC, what makes a signal, and how to describe periodic waveforms by period, frequency, amplitude, phase, and average. The oscilloscope lab is where you first see these waveforms. Capacitor reading starts here and continues in week 5.
Objectives
- Use nodal analysis to find the node voltages of a circuit with voltage and current sources: choose a ground, label nodes and currents, write KCL at each unknown node in terms of node voltages, and solve
- Handle a voltage source with neither end at ground in nodal analysis, using Va = Vb + VS as the extra equation or by choosing ground at one end of the source
- Determine how many simultaneous equations a circuit needs and write them without solving
- Read peak-to-peak value, amplitude, period, frequency (Hz), and radian frequency from a plotted sinusoid
- Write a plotted sinusoid as v(t) = A cos(ωt + φ) + VDC, finding the phase φ from the time shift of a peak (φ = −Δt/T × 360°)
- Find the period, frequency, peak-to-peak value, and average (DC) value of square, sawtooth, and offset sine waveforms
- Explain why power is distributed as high-voltage AC through transformers, and compute I²R line losses at different transmission voltages
- Display and measure a waveform on a digital oscilloscope: set probe attenuation, volts/div, time/div, and triggering, and use cursors and automatic measurements for amplitude, period, frequency, and phase
- Set a function generator's waveform, frequency, and amplitude, and account for its 50 Ω output resistance doubling the displayed amplitude into a high-impedance load
- Extra credit: compute a battery's stored energy from its Ah rating and nominal voltage, discharge time from the C-rate, and the voltage and capacity of series and parallel cell packs
- Extra credit: read ISC, VOC, and the maximum power point from a solar panel's I–V curve, and find panel efficiency and the operating point with a fixed load
Reading
| 2.17 | Kirchhoff's laws again. The book writes loop and junction equations in branch currents and solves them with Cramer's rule; the notes organize the same KCL equations by node voltage, which is less work. |
| 2.20 | AC circuits: how AC is generated, waveforms, frequency, period, amplitude, and phase. The course schedule lists 2.29 here, which in this edition is Thévenin's theorem in AC form, a week 7 topic. |
| 2.23 | Capacitors: capacitance, commercial types, energy stored (½CV²), the RC time constant, series and parallel combinations, and reactance. Start here; for Exam 1 know series and parallel combinations and stored energy. The full treatment is week 5. |
Lectures
| 1 | Nodal analysisOpen original recording | 51:11 |
| 2 | Intro to ACOpen original recording | 36:46 |
| 3 | Batteries & solarOpen original recording | 1:08:45 |
| 2:36:42 |
Notes
From the notes pack:
- Nodal analysis: why node voltages beat loop or mesh currents, and the definitions of node, ground (reference), nodal voltage, and known nodes
- Nodal analysis steps: choose ground, label unknown nodes and resistor currents, write KCL at each unknown node, replace currents with (Va − Vb)/R, solve
- Ex 1: VS = 10 V and IS = 4 mA with 1 kΩ, 2 kΩ, 3 kΩ; one unknown node gives VR1 and IR3
- Ex 2: the circuit of Thévenin Ex 4 (9 V, 50 mA, 40 Ω, 120 Ω, 72 Ω, 240 Ω) with two unknown nodes, solved symbolically and with numbers
- Ex 3: the circuit of superposition Ex 2 (12 V, 2 mA, 1 kΩ, 2 kΩ, 3 kΩ) by nodal analysis
- Ex 4: two voltage sources (12 V and 6 V), a 63 mA source, and five resistors; find VR5 and IR1 (from Exam 1, F09)
- A voltage source with neither end grounded: use Va = Vb + VS for the second equation, or choose ground at one end of the source
- DC Notes summary sheet: quantities and units, schematic symbols, KCL, KVL, Ohm's law, power, series and parallel, dividers, maximum power transfer, and boxed procedures for Thévenin, Norton, nodal analysis, and superposition
- Basic AC: why AC (rotating generators, simple motors, transformers), the ideal transformer ratio N1/N2 = V1/V2 = I2/I1, and a 120 V vs 12 kV transmission line loss example
- Signals: information-carrying, unpredictable waveforms; DC and pure sine waves carry no information; common signal sources and transducers
- Periodic waveforms: period T, frequency f = 1/T, radian frequency ω = 2πf, amplitude, and DC average
- Sinusoidal AC: v(t) = Vp cos(ωt + φ), phase from a time shift, and lead vs lag
- Other periodic waveforms: square, triangle, pulse, sawtooth, half-wave and full-wave rectified sine, and which have a DC component
Homework
DC7: Nodal analysis
- (1a to 1d) Current source IS with R1 in parallel, R2 across the top to a second node, R3 in series with a battery VS from that node to the bottom, and R4 from that node to the bottom: choose a ground, label nodes and currents, say how many equations are needed, and write them without solving
- (1e) VS in series with R1 to a top node; R2 and R3 run down to two nodes joined by R4; R5 and R6 run from those nodes to the bottom: choose ground, label, and count the equations
- VA = 8 V through R1 = 1 kΩ and VB = 10 V through R2 = 500 Ω both feed one node with R3 = 1 kΩ to ground; use nodal analysis to find VR3, then IR2
- Node a joins R1 = 40 Ω to VS1 = 10 V, R2 = 100 Ω in series with VS2 = 12 V to ground, R3 = 80 Ω to ground, and a 10 mA current source into the node; find Va, then IR1
- (4a) A 26 V source with neither end grounded sits between the tops of R1 = 40 Ω and R3 = 20 Ω; R2 = 20 Ω and R5 = 20 Ω join to the top of R4 = 20 Ω; R1, R3, R4 share the bottom wire; choose a ground and find all node voltages
- (4b, 4c) From your node voltages, give the magnitude and polarity of VR1 to VR5, and say whether any current direction guesses were wrong
- R1 = 3 kΩ, R2 = 3 kΩ, and a 3 mA source (to ground) share node a; R3 = 1 kΩ joins a to node b; R4 = 2 kΩ in series with VS = 4.5 V runs from b to ground; find Va, Vb, and IR1 (hint: you can eliminate one unknown node first)
AC: Periodic waveforms and sinusoids
- (1a) A sinusoid swinging between +0.1 V and −0.1 V on a 0 to 15 ms axis, starting at its peak: find Vpp, amplitude, period, frequency, and v(t) = A cos(ωt + φ)
- (1b) A ±12 V sinusoid on a microsecond axis (0 to 50 µs), crossing zero going up at t = 0: find Vpp, Vp, T, f, and v(t)
- (1c) A current sinusoid on a 12 mA scale with a marked 0.3 ms period and a peak at 0.175 ms: find Ipp, Ip, T, f, and i(t)
- (2a) A sinusoid offset upward, swinging between about 9 V and −3 V on a millisecond axis: find Vpp, average (VDC), T, f
- (2b) A sawtooth rising from 0 V to 12 V every 4 ms: find Vpp, VDC, T, f
- (2c) A ±100 mA square wave with unequal high and low times on a millisecond axis: find Ipp, IDC, T, f
- (3) Write the full expression v(t) = A cos(ωt + φ) + VDC for the waveform of 2a
Lab: Oscilloscope and function generator
Learn the digital oscilloscope by working through the HP training kit's signals, adapted to the Agilent 3000 series scope. Then use it to measure a function generator's output and to look at real audio signals from a microphone. Audio turns out to be random and unpredictable, nothing like a lab sine wave.
Before the lab
- Review the basic AC notes on period, frequency, amplitude, and phase
- Open the InfiniiVision 3000 X-series user guide from the bench computer's desktop icon
Equipment
- Agilent/Keysight InfiniiVision 3000 X-series digital oscilloscope
- HP 54654A Self-Paced Training Kit (training signal board, battery, Training Guide booklet), checked out from the window
- Two scope probes
- BNC-to-clip cable and BNC-to-BNC cable
- Banana-to-clip leads
- Agilent/HP 33120A function generator
- Agilent/HP E3631A DC power supply
Parts
| 1 | Electret condenser microphone | new this lab |
| 1 | 10 kΩ resistor | microphone bias |
| 1 | Breadboard with wires |
Procedure
- Turn on the training board and scope
- Insert the battery in the training board and press the pushbutton by the red LED once to turn it on
- Turn on the scope with the power key at the lower left of the screen
- Connect a probe to channel 1 (left-most, yellow BNC; push and twist clockwise) and set the probe's switch to 1x
- Clip the probe ground to a ground test point and hook the probe tip on test point 1, then press Autoscale
- Press the 1 key, then the 6th softkey and the 2nd softkey, and turn the knob to tell the scope the probe is 1x; repeat whenever you change probes or the 1x/10x switch, or readings will be off by 10 or 100
- Vertical and main time base (Training Guide pages 2-4 to 2-7)
- Volts/Div is the knob above the 1 key; channel position is the knob below it; the guide's Vernier is called Fine on this scope
- Time/Div is the big Horizontal knob and Delay is the smaller one; Main/Delayed in the guide is the Horiz key
- Press Trigger and step through the 3rd (Slope) softkey to see triggering on rising and falling slopes; the trigger point sits at the first division or at screen center on this digital scope
- Delayed time base, normal trigger, and cursors
- Delayed time base: press the zoom (magnifying glass) key and do guide page 2-8 from step 3; press zoom again to turn it off
- Normal trigger: guide page 2-9; at step 4 try the Trigger key's softkey options
- Time and voltage cursors: the next two guide sections; the Cursors softkey selects X1, X2, Y1, Y2 (the guide's t1, t2, V1, V2), moved with the knob and the Cursors knob
- Voltage and time measurements
- Use the volts/div and time/div shown on the status line and the screen divisions to find the peak-to-peak voltage of each waveform and the period and frequency
- Do guide page 2-13 to let the scope measure them; this scope has one Meas key instead of separate Voltage and Time keys
- Trigger holdoff and phase
- Holdoff is a softkey under Mode/Coupling; set it with the knob when the guide asks (step 5)
- Do guide page 2-15 and the following section, and record the holdoff that gives a stable trace
- Do guide page 2-33 (phase), setting the trigger source to channel 1 with the Trigger key
- Turn both trainer knobs fully clockwise and find the phase lag of the lower waveform with cursors and Meas
- Turn off the training board, disconnect the probes, and return the kit
- Function generator
- Connect the 33120A OUTPUT to the scope with a BNC-to-BNC cable (or BNC-to-clip and a probe) and turn it on
- Measure frequency and amplitude on the scope and compare with the generator display (use the Freq and Ampl keys); the generator outputs twice the displayed amplitude because it assumes a 50 Ω load on its 50 Ω output
- Try the square, triangle, and ramp waveforms, then return to sine
- Set 25 Hz (knob plus arrow keys), readjust the scope, and measure; repeat at 12.345 MHz
- Set the displayed amplitude to 240 mVpp and measure; repeat at 9.5 Vpp; turn the generator off
- Audio signals from a microphone
- Set the power supply to +6 V; connect +6 V through the 10 kΩ resistor to the microphone's + and output pin, and COM to the microphone's ground pin (the pin connected to the case)
- Connect the scope from the output pin to ground and press Autoscale
- Change channel coupling from DC to AC (1st softkey after the channel key) and center the trace; do not press Autoscale again or coupling returns to DC
- Start near 2 mV/div and 10 ms/div; reject high-frequency noise in the trigger with the Mode/Coupling softkeys
- Speak, whistle, and make noises; try to make something like a sine wave
- Compare vowels (ahhh, eeee, oooo) with consonants (ssss, shhh, ffff, zzzz); freeze transient sounds (t, k, ch, g) with Run/Stop and Single
- Check-off and conclusion
- Write a conclusion and call the lab instructor to check you off
Record
- A line or two on turning on the scope, using Autoscale, and setting the probe factor, good enough to reuse in later labs
- Each section heading followed by a line or two on what you learned
- Triggering explained in your own words, and how the trace changes when triggering on the negative slope
- Peak-to-peak voltage, period, and frequency from the graticule, and the same values from Meas
- Trigger holdoff needed for a stable trace
- Phase lag of the lower trainer waveform with both knobs fully clockwise
- Scope vs generator frequency and amplitude, including the doubled-amplitude discrepancy, at the default setting, 25 Hz, 12.345 MHz, 240 mVpp, and 9.5 Vpp
- Microphone circuit drawing, and comments on how audio differs from a sine wave and how random and unpredictable it is
- Which sounds are higher in frequency, and the observation that vowels are louder and lower in frequency than consonants
- Conclusion
Extras
- Batteries and solar panels notes: Covers the battery model (source voltage and internal resistance, both changing with charge, temperature, and age), lead-acid and lithium-ion cell voltages, capacity in Ah and the C-rate, energy density, standard cell sizes, series and parallel packs, and CC-CV charging. The solar part covers I–V curves, the maximum power point and MPPT controllers, efficiency at standard test conditions, panel types, and PWM vs MPPT charge controllers.
- Batteries and solar extra-credit homework: Extra credit: up to 34 points. Problems 1 to 6 and 15 cover cell voltages, cells per pack, stored energy, C-rate discharge times, series and parallel 18650 packs, and CC-CV chargers. Problems 7 to 14 and 16 use solar panel I–V curves to find ISC, VOC, the maximum power point, efficiency, the operating point with a fixed load, and the power a panel delivers when wired directly to a 14.5 V battery.