Lab 7 : Capacitor and RC Circuit

Seneca College
SES250 Electromagnatics

Purposes

  • To understand the relationship between the voltage and capacitance of a capacitor
  • To understand the discharging and charging of a capacitor

Objectives

  • Assemble electronic components onto a breadboard
  • Measure the capacitance of a capacitor using a digital multimeter (DMM)
  • Measure the response of an RC circuit using a Digital Storage Oscilloscope (DSO)

Important Rules for this Lab

  1. Any signal (voltage, current) must be adjusted to the specified value (amplitude and/or frequency) before applying them to a circuit.
  2. An instrument must be set up for the required mode of operation before it is connected to a circuit.
  3. The power supply must be switched off before making any changes to the circuit.

Description

Capacitor

A capacitor is an electronic device for storing electrical energy, consisting of two conductors in close proximity and insulated from each other. A simple example of such a storage device is the parallel-plate capacitor. If positive charges with total charge +Q are deposited on one of the conductors and an equal amount of negative charge −Q is deposited on the second conductor, the capacitor is said to have a charge Q.

Source: Britannica: capacitor

The capacitance of a parallel plate capacitor can be calculated using:

where is the permittivity in vacuum and have a value of , is the area of the plates, and is the distance between the plates.

Similar to resistors, capacitors use special markings to indicate their values. Since the amount of area for markings on a capacitor is limited, there is also a set of rules for specifying the capacitance value of a capacitor. Manufacturers often use two separate lines for their capacitor markings and these have the following meanings:

  • First line: capacitance (in pF or μF) [and tolerance (J=5%, K=10%, M=20%)]
  • Second line: rated DC voltage [and code for the dielectric material]

For a ceramic capacitor, often only a three-digit code is given. The first two digits correspond to the first two digits of the value whilst the third digit is a multiplier which gives the number of zeros to be added to give the value in pF. For example, 104 means 10 x 104 pF = 100nF.

Furthermore, some capacitors such as electrolytic capacitors are marked with symbols (“+” and “-”) to indicate the correct polarity. Failure to observe these markings when connecting a capacitor to a circuit can be catastrophic!

Figure 7.1

Figure 7.1 Various Capacitor Markings

Figure 7.2

Figure 7.2 Non-polarized vs Polarized Capacitor

Figure 7.3

Figure 7.3 Polarized Capacitor Leads

Source: Capacitor Markings

Source: What Is Non-polarized Capacitor

Reference Video: How to Use A KEYSIGHT E34461A DMM to Measure Capacitance

RC Circuit

A resistor-capacitor circuit (RC circuit), RC filter or RC network, is an electric circuit composed of resistors and capacitors. It may be driven by a voltage or current source and these will produce different responses. A first-order RC circuit is composed of one resistor and one capacitor and is the simplest type of RC circuit.

Figure 7.4

Figure 7.4 Series RC circuit

A series RC circuit with a capacitor that is initially charged to and then allowed to discharge through a resistor will exhibit the following relationship for the voltage across the capacitor over some time:

where is the capacitor voltage at

The time required for the voltage to fall to or about 37% (roughly 1/3 of ) is called the RC time constant and is given by:

where is measured in seconds, in ohms and in farads.

The chart below shows a typical curve of the voltage across the capacitor during discharge in an RC circuit.

Figure 7.5

Figure 7.5 Voltage curve of a capacitor during discharge in an RC circuit

Source: Wikipedia: RC Circuit

Light-emitting diode (LED)

A light-emitting diode (LED) is a semiconductor device that emits light when current flows through it. Electrons in the semiconductor recombine with electron holes, releasing energy in the form of photons. The color of the light (corresponding to the energy of the photons) is determined by the energy required for electrons to cross the band gap of the semiconductor.White light is obtained by using multiple semiconductors or a layer of light-emitting phosphor on the semiconductor device.

Figure 7.6a Figure 7.6b

Figure 7.6 Left: The flat spot of the LED indicate the Cathode (-) lead. Right: LED Electronic Symbol.

Source: Wikipedia: Light-emitting diode

Materials

  • Safety glasses (PPE)
  • Lab Supplies
    • Breadboard
    • Jumper Wires
    • (1x) 1kΩ Resistor (brown-black-red)
    • (1x) 10kΩ resistor (brown-black-orange)
    • (1x) 100nF Ceramic Capacitor (usually orange with 104 marking)
    • (1x) 10μF Electrolytic Capacitor (usually blue or black with 10μF marking)
    • (1x) 100μF Electrolytic Capacitor (usually blue or black with 100μF marking)

Preparation

Lab Preparation Question:

  1. Read and summarize the lab as necessary.
  2. Copy observation tables 1, 2 and 3 of this lab into your notebook.
  3. Sketch a breadboard diagram of Figure 7.8 onto your notebook.
  4. Calculate the theoretical RC time constant (τ) for each combination of R-C in Table 2.
  5. Calculate the voltage at τ if the initial voltage of an R-C circuit is 1V. Show all calculations.
  6. Derive the formula for the current through the resistor in an RC circuit.

Procedures

Part 1: Measuring Capacitance

In this part of the lab, we will be exploring the capacitance of a capacitor.

  1. Turn on a DMM and set it to capacitance mode by pressing the SHIFT (1) + Freq (2) button (to access the -||- mode) then release. Ensure the alligator clips are connected to the terminals labelled “HI” under “Input VΩ►|” (3) and “LO” under “Input VΩ►|” (4).

    Figure 7.7

    Figure 7.7

    Lab Question 1: Without connecting the cable to anything, record the capacitance with the alligator clip not connected to anything. This is the capacitance due to just the cable (open circuit capacitance).

    Table 1

    Capacitor # Cable Capacitance (μF) Marked C (μF) Measured C with Cable (μF) Measured C (μF)
    1
    2
    3
  2. Acquire a 100nF Capacitor (usually small and orange with marking 104 for 10 x 10^4 pF) then connect the two leads of the capacitor to the DMM.

    Lab Question 2: Record the capacitance. Remember, this is the capacitance with the cable.

    Lab Question 3: Subtract the cable capacitance from the value to get the capacitor capacitance. Record this into the table 1.

  3. Acquire a 10μF Capacitor (usually round cylindrical with marking 10μF) then connect the two leads of the capacitor to the DMM per the polarity of the capacitor. The red clip is connected to the (+) lead and the black clip is connected to the (-) lead.

    INCORRECT CONNECTION AGAINST THE POLARIZATION OF THE CAPACITOR CAN BE CATASTROPHIC!

    Lab Question 4: Record the capacitance into the table 1. Repeat for a 100μF Capacitor.

  4. Disconnect the DMM and the capacitor.

Part 2: RC Circuit

In this part of the lab, we will be exploring the transient response (discharging and charging) of an RC circuit. A function generator set to square wave output will act as the closing and opening of the circuit.

Figure 7.8

Figure 7.8

  1. Obtain a 1kΩ resistor, 10kΩ resistors, a breadboard, a LED and a few jumper wires. You should also have the capacitor you worked with earlier.

    Lab Question 5: Measure the resistance value of your resistor and record it in Table 2. Refer to Lab 2 if you don't remember how to measure resistance.

    Table 2

    Resistor Capacitor Measured R (kΩ) Measured C (μF) RC Constant (τ) (ms)
    1kΩ 10μF
    1kΩ 100nF
    10kΩ 100nF
    10kΩ 100μF

    Lab Question 6: Calculate the RC time constant τ = RC for each of the configuration above.

  2. Set up your circuit as per Figure 7.8 using a 1kΩ resistor and a 10μF capacitor on a breadboard with CH1 of the DSO measuring the voltage across the capacitor. Pay attention to the direction / polarity of the LED. The transient current through can only be estimated using the voltage across the capacitor in this configuration. However, the current can also be observed using the LED as it will light up when there are current. Additionally, the LED also act as a reverse current protection for the polarized capacitor.

    INCORRECT CONNECTION AGAINST THE POLARIZATION OF THE CAPACITOR CAN BE CATASTROPHIC!

  3. Turn on the function generator and set the output to a 3Vpp square wave at 10Hz with a 3V DC Offset at High-Z ouptut mode. Leave all other settings as default. Refer to Lab 6 if you don't remember how to use a function generator.

    Ensure the function generator is set to 1V DC offset

  4. Turn on the DSO and adjust the settings to zoom into the falling edge of the square wave so you'll see a single period of the RC waveform similar to Figure 7.5. Remember, the function generator is simulating the closing and opening of the circuit at 10Hz. Refer to Lab 6 if you don't remember how to use a function generator.

    Lab Question 7: Using the grid line or the measurement tool, find the time it takes for the voltage to drop 67% from the maximum and record it as the measured RC time constant.

    Table 3

    Resistor Capacitor Calculated τ (ms) Measured τ (ms) % Error
    1kΩ 10μF
    1kΩ 100nF
    10kΩ 100nF
    10kΩ 100μF

    Lab Question 8: Calculate the percentage error of the estimated and measured RC time constant.

  5. Repeat step 2 with the various values of resistors and capacitors.

    Lab Question 9: What do you observe regarding the RC time constant as the resistor and the capacitor value increase and decrease?

    Lab Question 10: What do you observe from the LED in term of the charging / discharging cycle of the capacitor? Remember, where there are current, the LED will turn on.

  6. DO NOT DISASSEMBLE YOUR CIRCUIT UNTIL YOUR LAB HAS BENN MARKED BY THE INSTRUCTOR.

Once you've completed all the above steps, ask the lab professor or instructor over and demostrate that you've completed the lab and written down all your observations. You might be asked to explain some of the concepts you've learned in this lab.