PHY 124 Lab 5 - AC circuits


The first purpose of this laboratory is to observe voltages as a function of time in an RC circuit and compare it to its expected time behavior. In the second part the resonance frequency of a series RLC circuit is measured and compared with the expected value.



  • 1 AC Signal Generator
  • 1 Oscilloscope
  • 1 Board with resistors, a capacitor and an inductance
  • 7 Wires (4 red, 3 black)
  • 6 Clamps (crocodile)


Two of the component boards used are shown below, note that you need to be careful as not all boards have the different components in the same place!


In this lab, you use the oscilloscope to study some properties of alternating current (AC) circuits which involve capacitors and inductors. In lab 3 you worked with simpler direct current (DC) components, specifically, resistors. The important difference between the two types of components is that the behaviors of the AC components components depend on the rate of change of the input voltage/current, i.e., the frequency f of the driving signal (see Ch20 sheet 24 and 26). In this experiment the AC voltage is supplied by the AC signal generator.

Part I: RC Circuits

Your goal is to measure the capacitive time constant in an RC circuit and compare it to the predicted value of .

One way to charge and discharge a series RC circuit (see the summary in Ch20 sheet 39, 7,8 for charging the capacitor, sheet 9 for discharging) is to use a DC source of electrical potential such as a battery, and a switch for connecting and bypassing the battery . This power source is then placed in series with a resistor and capacitor which (for a series RC circuit) are also in series with each other (see Fig 3a below). In this experiment, we will use a different approach; the voltage will be generated using the square wave output from the AC signal generator (see Fig 3b below). As you saw in Lab 2 the signal you would produce manually if you used the battery and switch would be the same as a square wave switching between 0 V and . One advantage of using the signal generator is that it can switch the voltage on and off much faster and more reproducibly than you could with your hand.


If you think about Fig 3 (a) at time t = 0, we can assume that we begin with no charge difference on the capacitor (C is measured in Farads) and that the switch is then set to connect the battery to the circuit. The voltage across the capacitor is then given by , so that at t = 0 we know . As the charge builds up on the capacitor in time, increases until it equals .

The voltage across the capacitor when the capacitor is charging is given in Ch20 sheet 7.


There are two important things to notice about this formula. First when t = 0 the exponential factor becomes 1. You should notice that in the formula above this gives . Second, notice that if the capacitor starts out with no charge on it then as t approaches infinity the exponential factor goes to 0. This means that if the capacitor is left charging long enough that its voltage will eventually equal to . In the example above .

The voltage drop across the resistor must satisfy . Using this formula and equation 5.1, you can eliminate the variable and derive what is equal to in terms of and which gives us equation 5.2.


As with you can look at for the cases with t = 0 and t approaching infinity.

In our experiment, unlike in the example above, the AC generator output voltage changes between and ( and (not between 0 and ). The magnitude of the voltage change is thus (not )!

You can see that for the capacitor voltage in equation 5.1 that the curve approaches exponentially (as demonstrated in the formula for capacitor voltage) when it rises from 0 to . In your lab, it will do the same thing when it rises from to . When charging from to –, the curve approaches – exponentially (ie looks like a falling exponential). For this lab you will look at the capacitor charging from to .

Also, instead of voltmeters we will be using the oscilloscope to look at the voltage coming from the signal generator, the voltage across the capacitor, and the voltage across the resistor. The diagrams that represent the two experimental configurations, the first to measure and the second to measure are shown below.


In the lab prep assignment you need to calculate the result predicted for from . Since the resistor and capacitor in your circuit may be slightly inaccurate, use the values for R (with a 10% error) and C (with a 10% error) in your setup to calculate the predicted time constant and its error using equation (E.7) in “Error and Uncertainty” (“EU”). You should make a note of the value you get in the preparation assignment as you will be comparing it to the value you measure in the lab.

Measuring the capacitor voltage

In this part of the lab you will observe the voltage across the capacitor VC (t) with CH1 of the oscilloscope and the AC generator output voltage VAC(t) with Ch2. Begin your set up by creating a series RC circuit following the diagram in Fig. 4a shown above. In your test setup, F. There are several resistors available to be used in series. Their values are shown in Fig. 2. First, connect the resistor and capacitor in series. For this part you will use the 1 kΩ resistor. Make sure that you are using this resistor labeled with this value, which is not in the same place on all the boards. Connect Ch. 2 of the oscilloscope in parallel with the signal generator. Connect the positive terminal of Ch. 1 of the oscilloscope to the point between the resistor and capacitor. Connect the negative terminal of Ch. 1 of the oscilloscope to the negative terminal of the signal generator. Now connect the positive terminal of the signal generator to the end of the resistor that is not connected to the capacitor. After that, connect the negative terminal of the signal generator to the end of the capacitor that is not connected to the resistor. When you are finished your set up should look like Fig. 4a. Make sure the ground connections are made exactly as given in the diagram 4a. It is important that all 3 grounds, ie the function generator ground, the CH1 ground and the CH2 ground are all connected together. The p figure below shows you what Fig 4a should look like in real life. Record the values for the resistance and capacitance on your worksheet.


Once you have connected your circuit use the AC generator output “MAIN OUT LO” with “AMPLITUDE” turned fully clockwise.

Dial a frequency of ~ 500-1000Hz:

  • FREQUENCY: ~ 5-10
  • MULT: 100

Set the oscilloscope to:

  • Both CH1 And CH2 inputs: DC
  • Both VAR (red buttons): CAL’D (full clockwise)
  • Both VOLT/DIV: ~0.5 ( such that you see the square wave)
  • VAR SWEEP: CAL’D (full clockwise)
  • TIME/DIV: ~ 0.2 ms (such that you see at least one period of the square wave).

Adjust the TRIG LEVEL so that you see a stable picture on the oscilloscope.

Now set the oscilloscope to VERT MODE: DUAL.

You should see both voltage signals and . Using the VERTICAL POSITION buttons center your voltage signals on the vertical center of the screen. Record the settings for FREQUENCY, VOLT/DIV for CH1 and CH2 and TIME/DIV on your worksheet

Sketch the observed pattern of VAC(t)and VC(t) on your worksheet. Your sketch should try to be as accurate as possible and must include axes scales and labels.

Next you are going to analyze the curve to obtain . First, look back at Eq. 5.1A describing the capacitor voltage. Notice that when the equation becomes . When you put in the value of e, this will give you . Note however that as you are going from to you need to find the point that is above . Find this voltage on your curve and then find the time at which is occurs. This time will be your experimental value for which you should record on your worksheet.

Measuring the resistor voltage

To measure you need to exchange the positions of the resistor and capacitor and connect Channel 1 of the oscilloscope parallel to the resistor so that you can monitor . Your set up should look like as Fig. 4b. Again, make sure the ground connections are made exactly as given in the diagram 4b. It is important that all 3 grounds, ie the function generator ground, the CH1 ground and the CH2 ground are all connected together


Observe the voltages and and sketch them on your worksheet.

You will notice that approaches zero (and NOT or ). This follows from , since approaches , approaches zero. You should also notice that the initial is () above 0, since the voltage change is () and the initial current is .

You are now going to obtain a measurement of from the voltage across the resistor. As before, adjust the TIME/DIV and VOLT/DIV settings so that you have one decaying exponential curve on the screen. Sketch this curve on your worksheet.

At , , which gives . Find the point on your curve where this value occurs for . Then find the time associated with this voltage. This will be your measured time constant, from this part of the experiment. Make sure you estimate the error for your value. Record the value and error on your worksheet.

Part II. Resonant AC circuits

Your goal is to measure the resonance frequency of an in series RLC circuit and compare it to the predicted frequency you find by setting the reactance of the circuit to zero, i.e. minimizing the impedance and hence maximizing the current for a given voltage.

The following exercise is in the MapleTA Lab Prep Assignment and the resulting equation is important for this part of the lab.

You want to find the resonance frequency , which is the frequency which minimizes the impedance (see Ch20 sheet 31) of the in series RLC circuit by causing the reactance to be zero (see Ch20 sheet 32). From Ch20 sheet 31, enter the equation for reactance (use to denote the frequency in your equation). Then solve for , the resonance frequency.

Calculate the resonance frequency from the equation and get its value, using the values of the inductance L and the capacitance C in your setup (see Fig 2). As before, since you cannot count on these values being completely accurate, propagate the errors of L and C ( assume 10% for both) into the error for using expressions (E.7) and (E.8) in “EU”.

Make a note of the values you get, you will need them to compare to your measured values.

Procedure for measuring the resonance frequency

As the resonance frequency maximizes the current it also maximizes the voltage across the resistor which is . To find you will vary the frequency of the AC generator until you observe maximum voltage .

Wire the circuit as given in the diagram below. Begin with a series “loop” with the signal generator, the resistor, the capacitor, and the inductor Make sure you connect the low voltage side of the resistor to the ground (black) of the generator and the oscilloscope. Make sure you wire the capacitor, inductor and the resistor in series exactly as shown in the diagram. Use the 100Ω resistor (see Fig 2 above) for this part. You will be observing the voltage across the resistor so attach Channel 1 of the oscilloscope parallel to the resistor. You will not need to look at the voltage from the signal generator, so disconnect it from Channel 2.


Switch the AC generator from square wave to a sine wave by pushing in the button labeled with a sine curve. Set the generator frequency at ~3000 Hz. Set the VOLTS/DIV to ~0.2 V and set the TIME/DIV at ~0.1 ms. Set the scope VERT MODE and the COUPLING SOURCE to CH1. You should see a couple of periods of the sine curve. Enter the set values and the value of the inductance (see Fig.2 ) on your worksheet.

Vary the frequency of the generator smoothly between ~1000 and ~10000 Hz and observe the size of VR . Set the frequency of the signal generator to the setting where you think the maximum VR occurs. Record this frequency as your first guess for the resonance frequency on your worksheet. Leave the frequency at this setting and measure the period of the wave you see on the oscilloscope, convert this to frequency and record the value on your worksheet. The ratio r of the frequency determined with the oscilloscope over the dialed FREQUENCY of the generator will be used as a correction factor when extracting from your graph below.

Now dial FREQUENCIES in ~ 5 steps of ~ 500 Hz below the maximum and record the dialed frequencies and your measured values for on your worksheet. Repeat for ~ 5 steps of ~ 1000 Hz above the maximum. (Note that you may have to readjust the TRIGGER LEVEL knob closer to “12 o’clock” for a stable picture as your signal becomes smaller. You also may have to change the TIME/DIV in order to see a full period clearly).

Enter the your dialed frequencies, your measured values of and the ratio r in to the table below and click submit. You will get a plot of vs frequency where the frequency has been corrected using the r factor you entered. Estimate the resonance frequency from the graph and compare it with the value you calculated in the preparation assignment.

Ratio of actual frequency to dialed frequency
Frequency and Voltage Values
f 1  Hz   VR V
f 2  Hz   VR V
f 3  Hz   VR V
f 4  Hz   VR V
f 5  Hz   VR V
f 6  Hz   VR V
f 7  Hz   VR V
f 8  Hz   VR V
f 9  Hz   VR V
f 10  Hz   VR 10  V

phy124summer/lab_5.txt · Last modified: 2010/07/13 16:15 (external edit)
CC Attribution-Noncommercial-Share Alike 3.0 Unported Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0