Spring 2020 Assignment 7

From Course Wiki
Revision as of 22:50, 14 April 2020 by Steven Wasserman (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
20.309: Biological Instrumentation and Measurement

ImageBar 774.jpg

Measuring action potentials

The patch clamp is a technique for measuring voltages produced by electrically active cells such as neurons. One potential problem with the patch clamp technique is that a device must be physically attached to the neuron being measured. Connecting anything to a neuron might alter its behavior. The measurement device itself can distort the signal. This problem of loading the system to be measured affects many kinds of measurements (not just electronic ones). In this problem you will consider a simple model of the distortion in a patch clamp measurement.

A simple equivalent circuit model for a neuron consists of a time-varying voltage source in series with an output impedance of 1011 Ω. There is an oscilloscope next to the neuron with an input impedance of 106 Ω and an input capacitance of 20 pFd. A new UROP in the lab attempts to measure electrical spikes produced by a neuron (called action potentials) by connecting the patch clamp apparatus to the oscilloscope with a 6 meter cable that has a capacitance of 80 pFd. Action potentials are about 100 mV in amplitude and about 1 ms in duration. You can model the noise in the system as a random, additive, normally distributed voltage with a standard deviation of 10-3 V. Patch clamp circuit model.png


Pencil.png
  • Neglecting the cable and oscilloscope capacitance, what is the amplitude of Vscope, the signal the student measures, after connecting the oscilloscope?
  • Is the measurement successful? Why or why not?
  • What is the signal to noise power ratio $ \left( \frac{V_{patch}}{V_{noise}} \right )^2 $ of the measurement (neglecting the capacitance)?
  • Sketch Vneuron and Vscope assuming that Vneuron is a 1 ms duration, square pulse of magnitude 100 mV. You may neglect the oscilloscope's resistance in this part of the problem.
  • How many times does the student curse during the measurement attempt?
  • Ignoring capacitance, what is the minimum value of Rscope needed to make a high-fidelity measurement of an action potential?


Easy Bode plots


Pencil.png

For each of the circuits below, find the transfer function $ H(\omega)=\frac{V_{out}}{V_{in}} $. On a log-log plot, sketch the magnitude of the transfer function versus frequency. Sketch the phase angle of the transfer function versus frequency on a semi-log plot. Suggest a descriptive name for each circuit (e.g. "low-pass filter.")


1 2
Low pass filter.png RL Low pass filter.png
3 4
High pass filter.png RL High pass filter.png

Harder Bode plots

{{Template:Assignment Turn In|message= For each of the circuits below, find the transfer function $ H(\omega)=\frac{V_{out}}{V_{in}} $.

Simplify the transfer functions using the following assumptions:

  • For the first circuit, assume that $ R_1 C_1 \ll R_2 C_2 $, and $ R_2 \gg R_1 $
  • For the second circuit, assume that $ R_1 C_1 = R_2 C_2 $, and $ R_2 \gg R_1 $

On a log-log plot, sketch the magnitude of the simplified transfer function versus frequency. Label cutoff frequencies. Sketch the phase angle of the transfer function versus frequency on a semi-log plot. Suggest a descriptive name for each circuit.

1 2
Band pass filter.png Second order low pass filter.png

Linear systems


Pencil.png

Assuming R1 = 1 Ω and C1 = 1 F, find an equation for $ V_{out}(t) $ for each circuit given the following inputs:

  • $ v_{in}(t)=cos( 0.1 t ) + cos( 10 t ) $
  • $ v_{in}(t)=cos( t ) $
  • $ v_{in}(t)=cos( 10^{-6} t ) + cos( 10^6 t ) $

Feel free to make reasonable approximations. You should only get an urge to use a calculator for the first one.


1 2
Low pass filter.png High pass filter.png


Second-order system


Pencil.png

Find the transfer function $ H(\omega)=\frac{V_{out}}{I_{in}} $ for the circuit below.


Second-order parallel RLC circuit.png

System identification

For each of the four known and unknown frequency response measurements in the Dropbox directory, find the best-fit transfer function. Plot your results, including raw data and fit. Provide a diagram for circuit that could have generated each observed response. Include relative component values (which could be scaled by an arbitrary factor).

(The folder with the data and code is called "Frequency Response Data for Assignment 7")