RC Circuits#

Let’s build a circuit that models the passive membrane simulations you performed in the last part of our Modeling Neural Membranes lab.

Parts

Cables & Adapters

PowerLab & Computer

DIN8 to BNC adapter (1)

1 µF capacitor

BNC to double banana adapter (1)

Resistors: 3 kΩ, 15 kΩ, 33 kΩ, 100 kΩ, 220 kΩ, 330 kΩ

Banana plug cable (4)

Alligator clips (4)

Getting familiar with your breadboard#

Breadboards are really useful ways to prototype and model electrical circuits (and in our case, neural circuits). Some holes on the breadboard are connected together, so putting wires into connected holes provides an electrical contact between them. These connections are organized with two main rails (rows) on the sides, typically used for power, and many columns. Knowing how these components are connected is crucial to understanding how to use a breadboard.

Building an RC Circuit#

Build the circuit below. We’ll use the OUTPUT of your Powerlab to send a pulse of current through the circuit.

  1. It helps to start with the output ends in the power rails and work your way around. The red wire from the PowerLab is the positive terminal.

    CAUTION: Do not connect the + and - terminals. This will short the circuit, heat, and melt the plastic. Check that your circuit is set up properly before turning on the pulse from your computer.

  2. Attach single BNC adapters to the + and - outputs of the PowerLab.

  3. Attach a red banana cable to the + terminal and a black banana cable to the - terminal of your PowerLab.

  4. Attach the banana cables to red and black jumper wires using alligator clips, and insert the black and red jumper wires to the power rails, as shown in the circuit.

    NOTE: Ensure that all circuit components are properly inserted into the breadboard. The wires should make contact with the metal strips inside the breadboard.

  5. Add additional jumper wires, a resistor, and a capacitor, as shown in the circuit.

  6. We’ll use the PowerLab as our voltmeter, to record voltage in our circuit. Plug a BNC to DIN8 adapter and double banana adapter into Input 1 of the PowerLab.

  7. Connect the ground/reference (black, -) side of the double banana adapter to the circuit ground with alligator clips.

    NOTE: The “ground” in this circuit is really going to be our reference electrode. It should be connected to the black side of Input 1.

  8. Connect the “hot” pin (red, +) of the double banana adaptor to the “record here” point on the circuit diagram.

  9. Open LabChart with the Circuit Lab settings (http://bit.ly/labchart)

  10. Set up the Stimulator to stimulate with 1 V for 1 second. Make sure the range of your recording channel is 1 V. Switch the stimulator to “on”.

  11. Open Scope View and press >Start. You should see a waveform on your screen.

Autoscale!

You may need to Autoscale the channel (right click) to be able to see the entire trace.

Q8.

The time constant should equal 𝛕 = RC. What should the time constant be (in seconds), given the 100 kOhm resistor and 1 uF capacitor in this circuit?** Mind your units. Answer Q8 on the quiz.

Measure your time constant#

We can also measure the time constant by measuring how long it takes the curve to rise or decay. One time constant (𝛕) is defined by when the circuit rises to 63.2% of its total charge (alternately, we could see how long it takes to decay 1/e, about 37%).

To empirically measure your time constant, follow these steps.

  1. Make sure your voltage is very close to zero at baseline.

  2. Find the maximum voltage (Vmax) that your circuit reaches.

  3. Calculate 0.632 * Vmax

  4. Using the marker tool (right click anywhere in the window and choose “Clamp to trace”) find the point in your trace that is equal to the value calculated in Step 3.

  5. Move your cursor to the start of the stimulus. In the upper right corner of the window, you’ll see something that says Δt. This is the change in time since the mark on the curve and your time constant.

From theory to observation

What is your recorded time constant (𝛕) with 1 V stimulation, a 100 kΩ resistor, and a 1 uF capacitor? How close is the recorded time constant to the value you calculated with 𝛕 = RC?

In engineering, 5𝛕 is consisted the time it takes for a capacitor to fully charge (technically, its at 99% of full charge). The time constant is symmetrical for charging as well as losing charge. How long would it take this patch of membrane to return to baseline, then? What does that mean for computation happening in this membrane?

Record and plot your time constant with different resistors#

Next, we’ll see how the time constant of the circuit changes in response to the resistance strength. Use the following resistors in your circuit, and use the steps above to determine the time constant for each.

**Table 4. Resistance vs. Time Constant

Resistance

Time Constant

3 kΩ

15 kΩ

33 kΩ

100 kΩ

220 kΩ

330 kΩ

Plot your results

Plot the time constant against the resistance. Answer Q9a and Q9b on the quiz. Look for the corresponding tab on the Modeling Neural Membranes Google Sheet template.

Plotting Tips#

  • Google Sheets: Use the template provided above and use Insert > Chart > Scatter.

    • Add a trendline under Customize > Series > Trendline.

    • Make sure that none of the markers for your points are cut off. If they are, change your axes so that they fit.

    • Enter your values into the table without units so that Sheets will recognize them as numerical. You can indicate the correct units in the table and axes labels.

  • Python: Use the Plot Scatter notebook!

Check your time constant against the literature#

Let’s circle back to biology. Are the time constants you measured similar to what you’d find in a real neuron? Check this website to look at a collection of examples from the literature: https://neuroelectro.org/ephys_prop/index.html

Choose a paper from the example above and look for the reported time constant. Is the time constant in your circuit similar? If not, why might it be different?

Troubleshooting#

Observation

Likely Issue

Possible Solution

There isn’t any voltage in your circuit

The power terminals are not connected properly Your stimulator is not on

Make sure everything is connected correctly on your breadboard. Consult https://wiring.org.co/learning/tutorials/breadboard/index.html Check that the stimulator panel is switched on, and that you pressed Start

Your signal is really noisy

You’re not grounded. Your pulse is not being properly sent.

Double check your circuit is connected correctly

You don’t see a fin-shaped waveform

Your Scope/Chart View is not scaled properly. Your capacitor is not properly connected or broken.

Try autoscaling Check the capacitor placement or replace it.

You’ve got “rabbit ears” on your waveform

Your voltage is reversed somewhere

Check the power terminals are connected in the right direction