Gas station without pumps

2013 January 18

Sixth day of circuits class

Filed under: Circuits course — gasstationwithoutpumps @ 19:32
Tags: , , ,
Circuit for third version of  design to get specified output voltage.

Circuit for third version of design to get specified output voltage.

I started today with yet another variant of the “do-now” problem:

You have sensor whose resistance varies from 1kΩ to 4kΩ with the property it measures and a 6v power supply.  Set the parameters for the following circuit to get an output voltage that varies from 1v (at 1kΩ) to 2v (at 4kΩ).

I did not give them the solution, but promised them a shortcut solution at the end of class.

My co-instructor then proceeded to develop voltage sources, current sources, load and source resistances, load lines (though he did not use that name nor prove that it was a line), Thévenin circuits, and Norton circuits. He showed how Thévenin and Norton circuits were indistinguishable from the outside, but ran out of time before getting to the Thévenin equivalent of a voltage divider.  His presentation was in a bit different order than I would have done it—I would have introduced the non-ideal voltage source first, plotted its load line, and then talked about the resistance of the ideal voltage source. I’ll have to think about whether I now like his order better or not.

The shortcut solution that I was going to give the students relied on that last step.  I did suggest that the students look at splitting the circuit into a voltage divider and the load resistance RC, and come up with a Thévenin equivalent for the voltage divider. Since we had already determined that a 3V source with a 2kΩ resistor  would convert the load resistance into the desired voltages, all we need to do is to come up with a voltage divider that changes the 6v source into a 3v source with a 2kΩ resistance.  Setting RA=RB=4kΩ does that.

I think that it is interesting to compare this circuit with the circuit using series resistors from Wednesday’s lecture (using a 6v power supply for each), using a gnuplot script.  Although both designs meet the specs for the voltage at the endpoints, they behave differently in between.

The following gnuplot script illustrates the differences:


s_circuit(r,ra,rb) = Vin*(r+rb)/(r+ra+rb)
sp_circuit(r,ra,rb) =Vin*parallel(r,rb)/(ra+parallel(r,rb))


set title "Calibration curve for resistance->voltage conversions"
set xlabel "Resistance RC (ohms)"
set ylabel "Output voltage (V)"
set xrange [1000:4000]

set key top left
unset label
unset arrow

plot s_circuit(x,10000,1000) title "series RA=10kohm, RB=1kohm",\
	 sp_circuit(x,4000,4000)  title "series-parallel RA=4kohm, RB=4kohm"

The series-parallel circuit from today's do-now question provides more curvature of the V-vs.-R plot than the series circuit of Wednesday's question.

The series-parallel circuit from today’s do-now question provides more curvature of the V-vs.-R plot than the series circuit of Wednesday’s question.

The series-parallel conversion might be more appropriate if we need more sensitivity at the low end, and the all-series one if we need more uniform sensitivity. That decision depends on how the resistance is related to the phenomenon we are measuring.

The series-parallel conversion circuit always draws more current from the 6v source than the all-series one, with 1.25mA at the low end and 1mA at the high end, instead of 0.5mA at the low end and 0.4mA at the high end.

I’m trying to decide whether to spend any more class time on this problem, or simply hand out this solution.  We will certainly revisit Thévenin equivalents, since they are such a useful tool.

There is no class Monday, and we have a lot of “stuff” to cover before the students can do next Thursday’s lab, so I need to see how much I can pack into the next lecture without losing the students.  At a minimum, they’ll need

  • complex numbers: e^{j\omega t} = cos(\omega t) + j sin(\omega t).  I’ll probably have to do this one by fiat, rather than any sort of elegant math, and there won’t be time in this lecture to do a nice development of phasors—that will have to wait until after the lab.
  • differential equation for capacitors: I = \frac{dV}{dt} C, derived from Q=CV (which they got reminded of earlier this week).
  • current for a capacitor with a sinusoidal voltage V(t)=e^{j\omega t} gives I(t) = j \omega C e^{j \omega t}
  • complex impedance (voltage over current)  Z = 1/(j \omega C)
  • behavior of RC circuits (just looking at amplitude, not phase)
  • gnuplot commands for setting up impedance functions for capacitors and series and parallel circuits (which can be done with a handout, rather than lecture time).

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at

%d bloggers like this: