<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>gaussmarkov: diy fx &#187; Resistors</title>
	<atom:link href="http://gaussmarkov.net/wordpress/category/parts/resistors/feed/" rel="self" type="application/rss+xml" />
	<link>http://gaussmarkov.net/wordpress</link>
	<description>guitar stompboxes and electronics</description>
	<lastBuildDate>Sat, 05 Jun 2010 15:42:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Resistors 6: Mods</title>
		<link>http://gaussmarkov.net/wordpress/parts/resistors/resistors-6-mods/</link>
		<comments>http://gaussmarkov.net/wordpress/parts/resistors/resistors-6-mods/#comments</comments>
		<pubDate>Mon, 11 Dec 2006 01:52:39 +0000</pubDate>
		<dc:creator>gaussmarkov</dc:creator>
				<category><![CDATA[Resistors]]></category>

		<guid isPermaLink="false">http://gaussmarkov.net/wordpress/uncategorized/resistors-6-mods/</guid>
		<description><![CDATA[Having talked about pots and variable resistors, let&#8217;s put them in parallel and in series with a fixed resistor and see how these can be useful mods. First we&#8217;ll look at variable resistors and then at pots. There&#8217;s more to say than you might expect.
NOTE: I relied heavily upon R. G. Keen&#8217;s article, The Secret [...]]]></description>
			<content:encoded><![CDATA[<p>Having talked about pots and variable resistors, let&#8217;s put them in parallel and in series with a fixed resistor and see how these can be useful mods. First we&#8217;ll look at variable resistors and then at pots. There&#8217;s more to say than you might expect.<span id="more-19"></span></p>
<p><strong>NOTE:</strong> I relied heavily upon R. G. Keen&#8217;s article, <a href="http://geofex.com/Article_Folders/potsecrets/potscret.htm" class="std">The Secret Life of Pots</a>, to learn much of the material presented here.</p>
<h2>Variable Resistors</h2>
<p><img src="/parts/resistors/VariableResistorTaper-schem.png" class="floatleft" align="right" /> Let&#8217;s say the day arrives when you need a 5K variable resistor in your <a href="http://www.muzique.com/schem/mosfet.htm" class="std">AMZ Mosfet Booster</a> for the gain control.  But all you have is a 20K linear pot. &#8220;Hah!&#8221; you say to yourself.  &#8220;No problem.  I have a 7.5K resistor and if I put it parallel to my pot then I will have a 5.5K variable resistor.&#8221;  And you will be correct.  Your pot will vary the resistance from 0Ω to 5.5KΩ.</p>
<p>But something else quite wonderful will also happen.  The feel of your pot will  be different.  Instead of the gain bunching up so much at the end of the rotation, the gain increase will be spread out a little.  This is caused by the nonlinear way in which parallel resistors combine their resistance.</p>
<p>On <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-parallel/">resistors: in parallel</a> there is an explanation of the resistance for two parallel resistors, valued <em>R<sub>1</sub></em> and <em>R<sub>2</sub></em>:</p>
<table class="eqn">
<tr>
<td>
<table class="frac">
<tr>
<td class="numerator">R<sub>1</sub> R<sub>2</sub></td>
</tr>
<tr>
<td class="denominator">R<sub>1</sub> + R<sub>2</sub></td>
</tr>
</table>
</td>
</tr>
</table>
<p>In this case, one of the resistors is variable.  Let&#8217;s say its the first one and that its resistance is <em style="color: #ff9933">x R<sub>p</sub></em>, where <em style="color: #ff9933">x</em> is the fraction of rotation. Then the resistance of the variable resistor in parallel with a fixed resistor is</p>
<table class="eqn">
<tr>
<td>
<table class="frac">
<tr>
<td class="numerator">x R<sub>p</sub> R<sub>2</sub></td>
</tr>
<tr>
<td class="denominator">x R<sub>p</sub> + R<sub>2</sub></td>
</tr>
</table>
</td>
</tr>
</table>
<p><img src="/parts/resistors/VariableResistorTaper.png" class="floatright" align="right" />which depends nonlinearly on <em>x</em>.  To summarize the effect for various resistor and pot values, it is helpful to express the fraction of resistance as a function of the amount of rotation:</p>
<table class="eqn">
<tr>
<td>
<table class="frac">
<tr>
<td class="numerator">
<table class="frac">
<tr>
<td class="numerator">x R<sub>p</sub> R<sub>2</sub></td>
</tr>
<tr>
<td class="denominator">x R<sub>p</sub> + R<sub>2</sub></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="denominator">
<table class="frac">
<tr>
<td class="numerator">R<sub>p</sub> R<sub>2</sub></td>
</tr>
<tr>
<td class="denominator">R<sub>p</sub> + R<sub>2</sub></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td>=</td>
<td>
<table class="frac">
<tr>
<td class="numerator">x (1 + R<sub>2</sub>/R<sub>p</sub>)</td>
</tr>
<tr>
<td class="denominator">x + R<sub>2</sub>/R<sub>p</sub></td>
</tr>
</table>
</td>
</tr>
</table>
<p>In this expression, the scale of the resistors does not matter.  Only the ratio of the two resistor values deterimines the shape of the pattern. As <em>R<sub>2</sub></em> gets smaller relative to <em>R<sub>p</sub></em>, the resistance increases faster at the beginning of the rotation and slower at the end.</p>
<p>So a fixed resistor parallel to a variable resistor evens out a gain control that has most of its increase at the end of its rotation.  This is an example of nonlinear taper. Unfortunately, there is no way to flip the taper around so that the resistance increases slowly at first and then accelerates. You can reverse the terminals so that the resistance <em>decreases</em> slowly at first, but you cannot turn this concave path into a convex path.</p>
<p style="clear: both"><img src="/parts/resistors/VariableResistorSeries-schem.png" class="floatleft" align="right" /> Another popular approach to the gain bunching problem is to put a variable resistor in series with a fixed resistor. On <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-series/">resistors: in series</a>, we explain that the resistance of two resistors in series is the sum of the individual restistances. Using a 2K variable resistor in series with a 3.3K resistor combines to make a variable resistor that goes from 3.3K to 5.3K. If that is a good approximation to where there is action in the gain control then focussing the variable resistance in that range will help make the gain pot seem more responsive.</p>
<p>You can also see a resistor in series with a pot in the way some builders wire their <a href="/images/bff-schem.png" class="std">Fuzz Face</a> gain control. Much of the gain for this pot, when it is linear, also appears late in the pot rotation.</p>
<h2 style="clear: both">Pots</h2>
<p>We just described how the effective taper of linear variable resistors bows up when they are placed in parallel with a fixed resistor. The taper of pots can also be changed using fixed resistors, but it works differently because pots are voltage dividers. It becomes possible to obtain <em>voltage</em> (not resistance) patterns that approximate both audio/log and reverse audio/log pot behavior.</p>
<p>The first thought might be to put a resistor across lugs 1 and 3 of the pot.  This merely creates a <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-parallel/#currentdivider">current divider</a> because the resistor and the pot are in parallel.  Voltage differences are unaffected (according to <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-series/#KVL">Kirchoff&#8217;s voltage law</a>).</p>
<p><img src="/parts/resistors/PotResistorTaper.png" class="floatright" align="right" /> Instead, one places a fixed resistor across lugs 1 and 2 or lugs 2 and 3. First, we&#8217;ll look at putting a resistor across lugs 1 and 2 of a linear taper pot. In <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-5-potentiometers/#taper">the Taper section of resistors: pots</a>, we explain how the action of <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-series/#voltagedivider">a voltage divider</a> causes a linear pot to give</p>
<table class="eqn">
<tr>
<td>V<sub>OUT</sub> = V<sub>IN</sub> x</td>
</tr>
</table>
<p>where <em style="color: #ff9933">V<sub>OUT</sub></em> is the voltage at lug 2, <em style="color: #ff9933">V<sub>IN</sub></em> is the supply voltage, and <em style="color: #ff9933">x</em> is the fraction of pot rotation. The voltage changes proportionately with the throw of the pot. If we put a resistor <em>R<sub>2</sub></em>  across lugs 1 and 2, then the resistance across lugs 1 and 2, originally <em style="color: #ff9933">x R<sub>p</sub></em>, is replaced by the resistance of <em style="color: #ff9933">x R<sub>p</sub></em> and <em style="color: #ff9933">R<sub>2</sub></em> <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-parallel/#resistors-in-parallel">in parallel</a>:</p>
<table class="eqn">
<tr>
<td>
<table class="frac">
<tr>
<td class="numerator">x R<sub>p</sub> R<sub>2</sub></td>
</tr>
<tr>
<td class="denominator">x R<sub>p</sub> + R<sub>2</sub></td>
</tr>
</table>
</td>
</tr>
</table>
<p>Putting this into the voltage divider formula with the <em style="color: #ff9933">(1 &#8211; x) R<sub>p</sub></em> resistance between lugs 2 and 3 gives the voltage at lug 2 as</p>
<table class="eqn">
<tr>
<td>V<sub>OUT</sub>   =   V<sub>IN</sub></td>
<td>
<table class="frac">
<tr>
<td class="numerator">
<table class="frac">
<tr>
<td class="numerator">x R<sub>p</sub> R<sub>2</sub></td>
</tr>
<tr>
<td class="denominator">x R<sub>p</sub> + R<sub>2</sub></td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="denominator">
<table>
<tr>
<td>(1 &#8211; x) R<sub>p</sub>  +</td>
<td>
<table class="frac">
<tr>
<td class="numerator">x R<sub>p</sub> R<sub>2</sub></td>
</tr>
<tr>
<td class="denominator">x R<sub>p</sub> + R<sub>2</sub></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td>=   V<sub>IN</sub></td>
<td>
<table class="frac">
<tr>
<td class="numerator">x R<sub>2</sub></td>
</tr>
<tr>
<td class="denominator">x (1 &#8211; x) R<sub>p</sub> + R<sub>2</sub></td>
</tr>
</table>
</td>
<td>&nbsp;</td>
</tr>
</table>
<p><img src="/parts/resistors/PotResistorTaperPlot.png" class="floatright" align="right" /> To summarize this relationship, we rewrite the fraction of voltage attenuation as a function of pot rotation and the ratio of the resistances and create the plot on the right</p>
<table class="eqn">
<tr>
<td>
<table class="frac">
<tr>
<td class="numerator">V<sub>OUT</sub></td>
</tr>
<tr>
<td class="denominator">V<sub>IN</sub></td>
</tr>
</table>
</td>
<td>=</td>
<td>
<table class="frac">
<tr>
<td class="numerator">x R<sub>2</sub>/R<sub>p</sub></td>
</tr>
<tr>
<td class="denominator">x (1 &#8211; x) +  R<sub>2</sub>/R<sub>p</sub></td>
</tr>
</table>
</td>
<td>&nbsp;</td>
</tr>
</table>
<p>This is the sort of voltage attenuation that an audio pot delivers. At the start of the rotation, voltage increases quite slowly. But after the half way point, voltage accelerates until it is increasing quite quickly. When <em>R<sub>2</sub>/R<sub>p</sub> = 1/16</em>, the taper is closest to an audio taper, where the attenuation at the half way point is around 10%.</p>
<p style="clear: both"><img src="/parts/resistors/PotResistorTaperPlot1.png" class="floatright" align="right" /> If we had placed  <em>R2</em>  across lugs 2 and 3 instead, similar logic leads to the voltage attenuation expression</p>
<table class="eqn">
<tr>
<td>
<table class="frac">
<tr>
<td class="numerator">V<sub>OUT</sub></td>
</tr>
<tr>
<td class="denominator">V<sub>IN</sub></td>
</tr>
</table>
</td>
<td>=</td>
<td>
<table class="frac">
<tr>
<td class="numerator">x (1 &#8211; x) + x R<sub>2</sub>/R<sub>p</sub></td>
</tr>
<tr>
<td class="denominator">x (1 &#8211; x) + R<sub>2</sub>/R<sub>p</sub></td>
</tr>
</table>
</td>
</tr>
</table>
<p>This taper is shown on the right.</p>
<p>You can take all of this one step further and put taper resistors across both pairs of lugs. Joe Davisson provides an on-line calculator for customizing your linear pot this way.  Follow the &#8220;Linear Pot&#8221; and &#8220;Tapered Pot&#8221; links on his <a href="http://www.diystompboxes.com/analogalchemy/emh/emh.html" class="std">Electronics Math Helper</a> page.</p>
<p style="clear: both">I am going to leave things there for now.  I plan to add an explanation about using these mods under the conditions described by R.G. on his page, <a href="http://geofex.com/Article_Folders/potsecrets/potscret.htm" class="std">The Secret Life of Pots</a>:</p>
<blockquote><p>Unfortunately there&#8217;s a gotcha in there. It&#8217;s true that the voltage division ratio of this rig is arbitrarily close to that of a log taper pot. However, neither the load seen by whatever drives Vin or the source resistance as seen by the input of whatever is connected to Vout is close to what would exist for a real log pot of value R. In fact, the load on Vin varies from 1/(1+1/b)*R up to R. That means that if we&#8217;re trying to do a log taper with b = 1/4, the load on Vin will be as much as 0.2* R. This may be OK, but you have to keep it in mind.</p></blockquote>
<p>Read his page to understand what this means.</p>
]]></content:encoded>
			<wfw:commentRss>http://gaussmarkov.net/wordpress/parts/resistors/resistors-6-mods/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resistors 5: Pots</title>
		<link>http://gaussmarkov.net/wordpress/parts/resistors/resistors-5-potentiometers/</link>
		<comments>http://gaussmarkov.net/wordpress/parts/resistors/resistors-5-potentiometers/#comments</comments>
		<pubDate>Mon, 11 Dec 2006 00:48:48 +0000</pubDate>
		<dc:creator>gaussmarkov</dc:creator>
				<category><![CDATA[Resistors]]></category>

		<guid isPermaLink="false">http://gaussmarkov.net/wordpress/parts/resistors/resistors-5-potentiometers/</guid>
		<description><![CDATA[Potentiometers, or pots, give control over tone, distortion, volume, and many other stompbox characteristics.  Despite the huge variety of effects, pots only directly change resistances in a circuit so we can leverage our previous discussion of resistors into a complete explanation of these important components.
Appearance
Pots are resistor voltage dividers in which the component resistances [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/parts/resistors/16mm.jpg" title="Potentiometer" class="floatright" alt="Potentiometer" align="right" /><em>Potentiometers</em>, or <em>pots</em>, give control over tone, distortion, volume, and many other stompbox characteristics.  Despite the huge variety of effects, pots only directly change resistances in a circuit so we can leverage our previous discussion of resistors into a complete explanation of these important components.<span id="more-18"></span></p>
<h2><a title="appearance" name="appearance"></a>Appearance</h2>
<p>Pots are resistor <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-series/#voltagedivider">voltage dividers</a> in which the component resistances can be varied by rotating the shaft. The sum of the resistances is constant and equal to the value of the pot. Pots appear in such controls as volume (or level), tone, distortion/overdrive, compression, and for blending/mixing. Pots are also often wired to work as <em>variable resistors</em>.</p>
<p>The photo above is taken from the on-line catalog of <a href="http://www.smallbearelec.com" class="std">Small Bear Electronics</a>. This is the pot that I have learned to use most often.  It is made by Taiwan Alpha. On the shaft are a washer and a nut for fastening the pot to an enclosure. On the left you may also notice a small tab sticking up from the case.  This can prevent the pot twisting when the shaft is rotated.  Lots of people break this off with a pair of pliers because they find it more trouble than it is worth.  On the front you see 3 solder lugs. These lugs are for a <em>panel mount</em> pot.  There are also pots with lugs that go directly into the holes on a PCB.</p>
<p>This is a 16mm pot, which means that the diameter of the case is roughly 16mm. I use this size more than any other.  I will talk more about this below in the <a href="#ratings" class="std">Ratings</a> section.</p>
<p><img src="/parts/resistors/trimmerpotentiometers.jpg" class="floatleft" title="Trimpots" alt="Trimpots" align="left" height="142" width="150" />There is another kind of pot, called a <em>trim pot</em> or a <em>trimmer</em>, that also appears often in stompbox builds.  These are small potentiometers that are mounted on the circuit board and are only accessible inside the stompbox enclosure.  They are typically used to set a fixed resistance that cannot be deteremined before the circuit is made.  For example, some types of transistors have characteristics that vary so widely that resistors connected to them must be individually adjusted.</p>
<p><img src="/parts/resistors/potentiometer3.gif" title="Potentiometer" class="floatright" alt="Potentiometer" align="right" height="179" width="200" /> Somewhere on the case, on the bottom in this picture, the characteristics of the pot are stamped or printed. The printed resistance, 5K<em>Ω</em> in this case, refers to the fixed resistance across the outer solder lugs of the pot. The letter <em>B</em> refers to the <em>taper</em> (or path of resistance) as the shaft is turned. To explain this, I have to describe the conventional way to hookup a pot. And for that description, it is useful to have some symbols and a schematic.</p>
<h2 style="clear: both"><a title="symbols" name="symbols"></a>Symbols</h2>
<p><img src="/parts/resistors/pot-schem.png" title="Potentiometer Schematic Symbol" class="floatright" alt="Potentiometer Schematic Symbol" align="right" height="141" width="175" /> Just as there are two symbols for resistors, there are two symbols for pots.  Both are resistors with an arrow pointing into the middle.  In addition, you may see numbers or letters on the three terminals and another arrow pointing along the resistor.  Sometimes this arrow is accompanied by the letters <em>CW</em>, or <em>CCW</em>, or something similar.  Not everyone is clear in their schematics about their hookups for pots.</p>
<p>These schematic symbols follow what appears to be a fairly common, but certainly not universal, convention on Aron&#8217;s forum that coincides with familiar ways</p>
<ol style="margin-left: 5em">
<li>to put <a href="/parts/resistors.php?page=in%20series#voltagedivider" class="std">a voltage divider</a> into a schematic and</li>
<li>to picture the structure of a pot.</li>
</ol>
<p><img src="/parts/resistors/pot-volt-div.png" class="floatleft" title="resistor schem" alt="resistor schem" align="left" height="224" width="274" /> On the left is a schematic for the voltage divider discussed on the <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-series/#voltagedivider">resistors: series page</a>. On the right is a diagram for the inside of a pot looking down from above the shaft, the way the pot would be actually used.</p>
<p><img src="/parts/resistors/potentiometer1.png" title="resistor schem" class="floatright" alt="resistor schem" align="right" height="152" width="200" /> The lugs marked 1 and 3 are connected to the ends of a resistive strip and a <em>wiper</em> connected to lug 2 rotates from lug 1 around to lug 3 as the shaft is turned clockwise (CW). When the pot is &#8220;turned down&#8221; (fully counter-clockwise or CCW), lug 2 is connected directly to lug 1 without any resistive strip between them.  On the other hand, when the pot is &#8220;turned up&#8221; (fully clockwise), lug 2 is connected directly to lug 3 with the complete resistive strip between them.</p>
<p>So, looking at the schematic symbols, the voltage divider schematic, and the pot diagram, the convention is that</p>
<ul style="margin-left: 5em">
<li>lug 1 is the CCW lug or the bottom lead of R2,</li>
<li>lug 2 is the wiper or <em>Vr</em> junction</li>
<li>lug 3 is the CW lug or the top lead of R1, and</li>
<li>the arrow indicates a clockwise rotation from lug 1 towards lug 3.</li>
</ul>
<p>If you look at the image of the bottom of the pot above <a href="/parts/resistorspotentiometer3.gif" class="std">full size</a>, you will see 1, 2, and 3 stamped into the bottom of the case just as described here.  Another convention replaces 1 with A, 2 with W, and 3 with B.</p>
<p><img src="/parts/resistors/pot-volt-div-schem.png" title="pot schem" class="floatright" alt="pot schem" align="right" height="191" width="239" /> If you hook up a volume pot the way the voltage divider is drawn in the schematic, with the voltage source connected to lug 3, ground connected to lug 1, and the output connected to lug 2, then the volume knob works as you would expect.  With the knob fully CCW, there will be no output because the output is connected to ground.  With the knob fully CW, you will get the maximum output and there will be a smooth transition between these extremes as the knob is turned.  The taper of a pot determines how the volume changes as you turn the knob.</p>
<p>To see an example, look at the schematic for <a href="http://gaussmarkov.net/layouts/redllama/redllama-schem.png">the Red Llama clone</a> from the layouts page. On the far left you will see a pot labelled &#8220;VOLUME&#8221; hooked up with this configuration. If you look at the top of the schematic, you will also see a pot labelled &#8220;GAIN&#8221; that is hooked up differently.  This pot is configured as a <em>variable resistor</em>.</p>
<h2 style="clear: both"><a title="variableresistor" name="variableresistor"></a>Variable Resistor</h2>
<p><img src="/parts/resistors/trim.jpg" title="trimpots" class="floatleft" alt="trimpots" align="left" height="152" width="166" />Pots can also be wired as <em>variable resistors</em>.  This is often the case for gain or overdrive pots.  Also, a pot is sometimes used in place of a fixed resistor when the exact resistance needed is not known in advance. In such a case, a much smaller pot called a <em>trimpot</em> is often used.  Common sizes are 1/4&#8243; and 3/8&#8243; square which fit neatly on a pcb where they are set once, or at least infrequently.</p>
<p><img src="/parts/resistors/variable-resistor.png" title="trimpots" class="floatright" alt="trimpots" align="right" height="193" width="164" />To use a trimpot as a variable resistor, simply short lugs 1 and 2 or lugs 2 and 3, and treat lugs 1 and 3 as the leads of the resistor.  The resistive track between the wiper and the shorted lug is irrelevent because there is a wire with no resistance connecting the two lugs.</p>
<p>If you short lugs 1 and 2, then the resistance decreases as you rotate the shaft CW. Conversely, if you short lugs 2 and 3, then the resistance increases as you rotate the shaft CW.  To see an example, look at the schematic for <a href="http://gaussmarkov.net/layouts/bsiab2/bsiab2-schem.png">the BSIAB2</a> on the layouts page. At the top of the schematic, slightly to the right, is a 100K pot called &#8220;TRIM&#8221; serving as a trimpot.  You will also see a volume pot labelled &#8220;LEVEL&#8221; with the volume hook up described above.  That pot has the value designation <em>100K-A</em>.  The letter <em>A</em> denotes the suggested taper, which is the next topic.</p>
<h2 style="clear: both"><a title="taper" name="taper"></a>Taper</h2>
<p>So, given that we are going to hook up our pot with lug 1 to ground, lug 2 to output, and lug 3 to input, let&#8217;s talk about pot taper. Suppose that the resistive strip inside the pot is uniform in such a way that the resistance along the strip from the wiper to a lug is proportional to the length of the strip between them. <img src="/parts/resistors/potentiometer1a.PNG" title="pot schem" class="floatleft" style="margin-top: 1em" alt="pot schem" align="left" height="232" width="305" /> If we call the resistance along the entire length of the strip <em style="color: #ff9933">R<sub>p</sub></em> and if we say the wiper	(lug 2) is <em style="color: #ff9933">x</em> of the distance along the strip, then the resistance between lug 1 and lug 2 is</p>
<table class="eqn">
<tr>
<td>R<sub>2</sub> = x R<sub>p</sub></td>
</tr>
</table>
<p>and the resistance between lug 2 and lug 3 is</p>
<table class="eqn">
<tr>
<td>R<sub>1</sub> = (1 &#8211; x) R<sub>p</sub></td>
</tr>
</table>
<p style="clear: both"><img src="/parts/resistors/pot-volt-div1.PNG" title="pot schem" class="floatright" style="margin-top: 1em" alt="pot schem" align="right" height="224" width="274" /> Using these resistance values, <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-series/#voltagedivider">the voltage divider forumula</a> tells us the relationship between <em>V<sub>IN</sub></em>  and <em>V<sub>OUT</sub></em>:</p>
<table class="eqn">
<tr>
<td>V<sub>OUT</sub> = V<sub>IN</sub></td>
<td>
<table class="frac">
<tr>
<td class="numerator">R<sub>2</sub></td>
</tr>
<tr>
<td class="denominator">R<sub>1</sub> + R<sub>2</sub></td>
</tr>
</table>
</td>
<td>= V<sub>IN</sub></td>
<td>
<table class="frac">
<tr>
<td class="numerator">x R<sub>p</sub></td>
</tr>
<tr>
<td class="denominator">(1 &#8211; x) R<sub>p</sub> + x R<sub>p</sub></td>
</tr>
</table>
</td>
<td>= V<sub>IN</sub> x</td>
</tr>
</table>
<p>In words, the percentage attenuation equals the percentage of pot rotation. There is a one-for-one linear relationship.  Such a pot has a <em>linear taper</em> and usually, but not always, this is designated with the letter <em>B</em>, as on the bottom of the pot case pictured above.</p>
<p style="clear: both"><img src="/parts/resistors/AudioTaper.png" title="Audio Taper" class="floatleft" alt="Audio Taper" align="left" height="411" width="400" /> A linear taper is not ideal for volume control.  It turns out that we hear a linear taper as increasing volume too quickly early in the pot rotation and very little in the last half of the rotation.  So there is another taper, called <em>audio</em> or <em>log</em>, designed to work better for a volume application.  The resistance increases slowly at first and then accelerates.  This new pattern can be created by making the resistance strip actually taper over its length.  The audio or log taper is usually (but not always) designated by the letter <em>A</em>.</p>
<p>Generally, trimpots have a linear taper.  I suppose this is because a linear taper is cheaper to make than other tapers and trimpots are typically used for setting a resistance once, after a circuit has been built, for fine tuning.</p>
<p>If you are not sure what type of pot you have, then follow <a href="http://www.geofex.com/Article_Folders/potstuff.htm" class="std">these helpful instructions</a> from R. G. Keen.</p>
<h2 style="clear: both"><a title="values" name="values"></a>Values</h2>
<p>Pots do not come in as many values are fixed resistors because pots provide a range of resistances themselves.  A glance at the value of the linear pots available at <a href="http://www.smallbearelec.com" class="std">Small Bear Electronics</a> probably tells the story at most sources:  1K, 2K, 5K, 10K, 25K, 50K, 100K, 250K, 500K, 1M, and 2M. Trimpots start at lower resistances because they are used as substitutes for fixed resistors: 100, 200, 500, 1K, ….</p>
<h2><a title="ratings" name="ratings"></a>Ratings</h2>
<p>Like resistors, pots are rated by power in <em>watts</em>. This is a value that should not be exceeded. Linear 24mm Taiwan Alpha pots have a <em>0.5W</em> rating, while other tapers are <em>0.25W</em>. Linear 16mm Taiwan Alpha pots have a <em>0.25W</em> rating, while other tapers are <em>0.06W</em>. General good practice is not to go below <em>0.25W</em>, but lots of people are using 16mm audio taper pots without reporting problems.  As I mentioned in <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-limiting-current/#power">resistors: limiting current</a>, one should figure out the actual power requirements and then follow <a href="http://www.diystompboxes.com/smfforum/index.php?topic=47319.msg348814#msg348814" class="std">R. G. Keen&#8217;s advice</a> to double the power requirements to get an approximate rating for your components.</p>
<h2><a title="moreinfo" name="moreinfo"></a>Further Information</h2>
<p>R. G. Keen has written an excellent introduction in <a class="std">The Secret Life of Pots</a>.  He even shows how to disassemble a Taiwan Alpha pot and gives pictures of the guts, including the wiper and the resistive strip.  R.G. also has some interesting historical notes.</p>
<p>Another useful source is <a href="http://sound.westhost.com/pots.htm" class="std">Potentiometers (Beginners&#8217; Guide to Pots)</a> by Rod Elliott of Elliott Sound Products (ESP).</p>
<p>And here&#8217;s an additional note about the audio taper described above.  First, I have not found a formula on the web for the audio taper so I have used one based on a rule of thumb described many places on the web:  to get half the perceived loudness use one-tenth the voltage.  The function with this property is</p>
<table class="eqn">
<tr>
<td>
<table class="frac">
<tr>
<td class="numerator">V<sub>OUT</sub></td>
</tr>
<tr>
<td class="denominator">V<sub>IN</sub></td>
</tr>
</table>
</td>
<td>=   x<sup>log 10/log 2</sup>   ≈   x<sup>3.3</sup></td>
</tr>
</table>
<p>where <em style="color: #ff9933">x</em> is the fraction of pot rotation. This agrees loosely with another rule of thumb:  the resistance across lugs 1 and 2 is approximately one-tenth the total resistance of an audio pot when the shaft is turned to the half-way point.</p>
<p><img src="http://gaussmarkov.net/parts/resistors/taiwanalpha%20-%20audiotaper.png" title="Audio Taper" class="floatright" alt="Audio Taper" align="right" height="396" width="413" /> Second, audio pots do not actually have tapers with such smooth acceleration. Look at <span class="std">a data sheet for a Taiwan Alpha audio pot</span> and you will see the figure on the right.</p>
]]></content:encoded>
			<wfw:commentRss>http://gaussmarkov.net/wordpress/parts/resistors/resistors-5-potentiometers/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Resistors 4: In Series</title>
		<link>http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-series/</link>
		<comments>http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-series/#comments</comments>
		<pubDate>Sun, 10 Dec 2006 21:09:02 +0000</pubDate>
		<dc:creator>gaussmarkov</dc:creator>
				<category><![CDATA[Resistors]]></category>

		<guid isPermaLink="false">http://gaussmarkov.net/wordpress/uncategorized/resistors-in-series/</guid>
		<description><![CDATA[Resistors can be combined in parallel and in series to create new resistances. Resistors in series are pictured in this LTspice schematic. In combination, these resistors act like a single resistor with a value equal to the sum of the resistances:


R1 + R2


If you need a  3K  resistor but only have  1K [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/parts/resistors/series.PNG" title="Resistors in Series" alt="Resistors in Series" class="floatright" lt="parallel resistors schematic" align="right" />Resistors can be combined in parallel and in series to create new resistances. Resistors <em>in series</em> are pictured in this LTspice schematic. In combination, these resistors act like a single resistor<span id="more-17"></span> with a value equal to the sum of the resistances:</p>
<table class="eqn">
<tr>
<td>R<sub>1</sub> + R<sub>2</sub></td>
</tr>
</table>
<p>If you need a  <em>3K</em>  resistor but only have  <em>1K</em>  and <em>2K</em> resistors, you can make an equivalent circuit by placing a <em>1K</em> resistor in series with a <em>2K</em> where the <em>3K</em> resistor goes.</p>
<h2 style="clear: both">Kirchoff&#8217;s Voltage Law</h2>
<p>This formula for resistors in series can be derived from <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-limiting-current/">Ohm&#8217;s law</a>, <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-parallel/#KCL">Kirchoff&#8217;s current law</a>, and Kirchoff&#8217;s voltage law, or <em>KVL</em> for short.</p>
<p><a title="KVL" name="KVL"></a></p>
<blockquote style="color: #ff9933"><p><strong style="font-variant: small-caps">Kirchoff&#8217;s Voltage Law:</strong> The sum of the electrical potential differences around a circuit must be zero.</p></blockquote>
<p>The total potential difference across the resistors in series is the voltage supply  <em>V<sub>S</sub></em>.  KVL says that the potential differences across the individual resistors,  <em>V<sub>1</sub></em>  and  <em>V<sub>2</sub></em>,  sums to  <em>V<sub>S</sub></em>:</p>
<table class="eqn">
<tr>
<td>V<sub>S</sub>   =   V<sub>1</sub> + V<sub>2</sub>.</td>
</tr>
</table>
<p>To this relationship, we add that the currents through every point of the circuit are equal:</p>
<table class="eqn">
<tr>
<td>I<sub>S</sub>   =   I<sub>1</sub>   =   I<sub>2</sub>.</td>
</tr>
</table>
<p>You can think of this as KCL in action: the current flowing through a resistor equals the current flowing through its leads. So the current flowing through  <em>R1</em>  must equal the current flowing through  <em>R2</em>.</p>
<p>Combining these equations with Ohm&#8217;s law, we can predict the current, the voltages, and the effective resistance of two resistors in series. Ohm&#8217;s law and KCL predict that</p>
<table class="eqn">
<tr>
<td>V<sub>1</sub>   =   I<sub>1</sub> ⋅ R<sub>1</sub>   =   I<sub>S</sub> ⋅ R<sub>1</sub></td>
<td style="padding-left: 5em; padding-right: 5em">and</td>
<td>V<sub>2</sub>   =   I<sub>2</sub> ⋅ R<sub>2</sub>   =   I<sub>S</sub> ⋅ R<sub>2</sub>.</td>
</tr>
</table>
<p>KVL adds that</p>
<table class="eqn">
<tr>
<td>V<sub>S</sub>   =   I<sub>S</sub> ⋅ R<sub>1</sub> + I<sub>S</sub> ⋅ R<sub>2</sub>   =   I<sub>S</sub> ⋅ (R<sub>1</sub> + R<sub>2</sub>)</td>
</tr>
</table>
<p>Rewritten, this equation tells us that</p>
<table class="eqn">
<tr>
<td>I<sub>S</sub>    =</td>
<td>
<table class="frac">
<tr>
<td class="numerator">V<sub>S</sub></td>
</tr>
<tr>
<td class="denominator">R<sub>1</sub> + R<sub>2</sub></td>
</tr>
</table>
</td>
</tr>
</table>
<p>will be the current through the circuit.</p>
<p>This last equation can be reinterpreted as telling us the combined resistance of the resistors in series. If a single resistor were in the place of the series and we measured a voltage supply equal to <em>V<sub>S</sub></em>  and a current equal to  <em>I<sub>S</sub></em>  then we could compute the value of that resistor using Ohm&#8217;s law as</p>
<table class="eqn">
<tr>
<td>R   =</td>
<td>
<table class="frac">
<tr>
<td class="numerator">V<sub>S</sub></td>
</tr>
<tr>
<td class="denominator">I<sub>S</sub></td>
</tr>
</table>
</td>
<td>=   R<sub>1</sub> + R<sub>2</sub>.</td>
</tr>
</table>
<p>This is the resistance of two resistors in series predicted by Ohm&#8217;s law and KCL and KVL.</p>
<h2><a title="order" name="order"></a>Resistor Order</h2>
<p>Notice that the order of the resistors does not matter.  If <em>R2</em> precedes <em>R1</em> then the resistance of the series is still the sum <em> R<sub>1</sub> + R<sub>2</sub></em>. <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-limiting-current/">Ohm&#8217;s law</a>, <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-parallel/#KCL">Kirchoff&#8217;s current law</a>, and Kirchoff&#8217;s voltage law together predict that the voltage across any series of resistors is invariant to the ordering of the resistors within the series.</p>
<p>This invariance extends to a series of voltage sources and resistors. The current through the series is the same for every component by KCL. The voltage across the two terminals of the series is the sum of the component voltages no matter what the order.  And Ohm&#8217;s law does not depend on order either.</p>
<p>This invariance applies to <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-limiting-current/#limitingcurrent">the LED supply example</a> in my discussion of Ohm&#8217;s law. The <em>2V</em> drop across the LED can occur before or after the current limiting resistor with the DC analysis unchanged.  So the LED may precede or follow the current limiting resistor; the current is reduced by the resistor either way.</p>
<h2><a title="voltagedivider" name="voltagedivider"></a>Voltage Divider</h2>
<p>Resistors in series have another important feature and this feature <em>does</em> depend on the order of the resistors. <em>R1</em>  and  <em>R2</em>  form a <em>voltage divider</em> at their junction:</p>
<table class="eqn">
<tr>
<td>V<sub>2</sub>   =   I<sub>S</sub> ⋅ R<sub>2</sub>   =   V<sub>S</sub></td>
<td>
<table class="frac">
<tr>
<td class="numerator">R<sub>2</sub></td>
</tr>
<tr>
<td class="denominator">R<sub>1</sub> + R<sub>2</sub></td>
</tr>
</table>
</td>
</tr>
</table>
<p>where we have substituted in the expression for <em>I<sub>S</sub></em> given above.  In words, <em>V<sub>2</sub></em> is a fraction of <em>V<sub>S</sub></em> determined by <em>R<sub>1</sub></em> and <em>R<sub>2</sub></em>.  If, for example, the resistances are equal then the voltage supply is &#8220;divided&#8221; in half.</p>
<p><img src="/parts/resistors/divider.PNG" title="SPICE Simulation of Resistors in Series" alt="SPICE Simulation of Resistors in Series" class="floatright" lt="parallel resistors schematic" align="right" />Applying the voltage divider formula to the schematic at the top of this page, gives</p>
<table class="eqn">
<tr>
<td>V<sub>2</sub>   =   9V</td>
<td>
<table class="frac">
<tr>
<td class="numerator">2000</td>
</tr>
<tr>
<td class="denominator">1000 + 2000</td>
</tr>
</table>
</td>
<td>= 6V</td>
</tr>
</table>
<p>LTspice produces this answer, as the figure shows.  The message at the bottom appears when one places the mouse over the junction marked <em>Vr</em> after running a DC simulation.  For more information on LTspice, see <a href="/tools/tools.php?page=LTspice" class="std">this introduction to LTspice</a>. The divided voltage is often called the <em>reference voltage</em> and denoted by  <em>Vr</em>  on a schematic.</p>
<p style="clear: both"><img src="/parts/resistors/fuzzface.PNG" title="Fuzz Face Schematic" class="floatleft" alt="Fuzz Face Schematic" align="right" />Voltage dividers appear frequently in stompbox circuits. On the left is a schematic for a basic fuzz face created in LTspice (see R.G. Keen&#8217;s article <a href="http://geofex.com/Article_Folders/fuzzface/fffram.htm" class="std"> The Technology of the Fuzz Face</a>). There are three voltage dividers in this schematic: the resistor pairs <em>R3</em> and <em>R4</em>, <em>R6</em> and <em>R7</em>, and <em>R5</em> and <em>R8</em>.</p>
<p>Two of these pairs, <em>R6</em> and <em>R7</em> (out) and <em>R5</em> and <em>R8</em> (gain), are <em>potentiometers</em> (or <em>pots</em>) set at resistance mid-points.  As components distinct from fixed resistors, pots are described on <a href="http://gaussmarkov.net/wordpress/parts/resistors/resistors-5-potentiometers/">resistors: pots</a>.</p>
<h2 style="clear: both"><a title="acknowledge" name="acknowledge"></a>Acknowledgements</h2>
<p>Thanks to <a href="http://www.diystompboxes.com/smfforum/index.php?topic=48111.msg356439#msg356439" class="std"> idlechatterbox for finding a typo</a> on this page!</p>
]]></content:encoded>
			<wfw:commentRss>http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-series/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Resistors 3: In Parallel</title>
		<link>http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-parallel/</link>
		<comments>http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-parallel/#comments</comments>
		<pubDate>Sun, 10 Dec 2006 21:05:34 +0000</pubDate>
		<dc:creator>gaussmarkov</dc:creator>
				<category><![CDATA[Resistors]]></category>

		<guid isPermaLink="false">http://gaussmarkov.net/wordpress/uncategorized/resistors-in-parallel/</guid>
		<description><![CDATA[Resistors in Parallel
 Resistors can be combined in parallel and in series to create new resistances. Two resistors are connected in parallel in this LTspice figure. In this combination these two resistors act like a single resistor with a resistance that depends on the two individual resistances:





R1 R2


R1 + R2





where  R1  is the [...]]]></description>
			<content:encoded><![CDATA[<h2><a title="resistors-in-parallel" name="resistors-in-parallel"></a>Resistors in Parallel</h2>
<p><img src="/parts/resistors/parallel.PNG" title="Resistors in Parallel" alt="Resistors in Parallel" class="floatright" lt="parallel resistors schematic" align="right" /> Resistors can be combined in parallel and in series to create new resistances. Two resistors are connected <em>in parallel</em> in this LTspice figure. In this combination these two resistors <span id="more-16"></span>act like a single resistor with a resistance that depends on the two individual resistances:</p>
<table class="eqn">
<tr>
<td>
<table class="frac">
<tr>
<td class="numerator">R<sub>1</sub> R<sub>2</sub></td>
</tr>
<tr>
<td class="denominator">R<sub>1</sub> + R<sub>2</sub></td>
</tr>
</table>
</td>
</tr>
</table>
<p>where  <em>R<sub>1</sub></em>  is the value of  <em>R1</em>  and  <em>R<sub>2</sub></em>  is the value of  <em>R2</em>. This is useful when you don&#8217;t have the value resistor that you need: you may be able to construct from resistors that you do have. For example, two  <em>1K</em>  resistors in parallel provide the resistance</p>
<table class="eqn">
<tr>
<td>
<table class="frac">
<tr>
<td class="numerator">1000 × 1000</td>
</tr>
<tr>
<td class="denominator">1000 + 1000</td>
</tr>
</table>
</td>
<td>=  500 ohms</td>
</tr>
</table>
<p>and a  <em>1K</em>  and a  <em>3K</em>  in parallel provide</p>
<table class="eqn">
<tr>
<td>&nbsp;</td>
<td>
<table class="frac">
<tr>
<td class="numerator">1000 × 3000</td>
</tr>
<tr>
<td class="denominator">1000 + 3000</td>
</tr>
</table>
</td>
<td>=  750 ohms</td>
</tr>
</table>
<h2>Kirchoff&#8217;s Current Law</h2>
<p>The formula for the resistance of parallel resistors is implied by another basic electronic relationship called Kirchoff&#8217;s Current Law, or <em>KCL</em> for short.</p>
<p><a title="KCL" name="KCL"></a></p>
<blockquote style="color: #ff9933"><p> <strong style="font-variant: small-caps">Kirchoff&#8217;s Current Law:</strong> 	The sum of currents flowing towards a point in an electrical circuit equals to 	the sum of currents flowing away from that point.</p></blockquote>
<p>In our circuit with parallel resistors, KCL says that the currents flowing through the two resistors sum to the current flowing from the power supply:</p>
<table class="eqn">
<tr>
<td>I<sub>S</sub>  =  I<sub>1</sub> + I<sub>2</sub></td>
</tr>
</table>
<p>where  <em>I<sub>S</sub></em>  is the power supply current,  <em>I<sub>1</sub></em>  is the current through  <em>R1</em>,  and  <em>I<sub>2</sub></em>  is the current through  <em>R2</em>.</p>
<p>As the schematic above shows, the potential across the two parallel resistors equals the voltage of the power supply. So we can also write</p>
<table class="eqn">
<tr>
<td>V<sub>S</sub>  =  V<sub>1</sub>  =  V<sub>2</sub></td>
</tr>
</table>
<p>where  <em>V<sub>S</sub></em>  is the power supply voltage,  <em>V<sub>1</sub></em>  is the voltage across  <em>R1</em>,  and  <em>V<sub>2</sub></em>  is the voltage across  <em>R2</em>.</p>
<p>If we combine these relationships with <a href="http://gaussmarkov.net/parts/resistors.php?page=limiting%20current" class="std">Ohm&#8217;s law</a>, then we can figure out the currents through each resistor and the effective resistance of the resistors in parallel from  <em>V<sub>S</sub></em>  and the resistors&#8217; values. Ohm&#8217;s law applies to each resistor:</p>
<table class="eqn">
<tr>
<td>V<sub>1</sub>  =  I<sub>1</sub> R<sub>1</sub></td>
<td style="padding-left: 5em; padding-right: 5em">and</td>
<td>V<sub>2</sub>  =  I<sub>2</sub> R<sub>2</sub></td>
</tr>
</table>
<p>where  <em>R<sub>1</sub></em>  is the resistance of resistor  <em>R1</em>  and  <em>R<sub>2</sub></em>  is the resistance of resistor  <em>R2</em>.  Substituting  <em>V<sub>S</sub></em>  for the voltage values, these equations imply that</p>
<table class="eqn">
<tr>
<td>I<sub>1</sub>  =</td>
<td>
<table class="frac">
<tr>
<td class="numerator">V<sub>S</sub></td>
</tr>
<tr>
<td class="denominator">R<sub>1</sub></td>
</tr>
</table>
</td>
<td>&nbsp;</td>
<td style="padding-left: 5em; padding-right: 5em">and</td>
<td>I<sub>2</sub>  =</td>
<td>
<table class="frac">
<tr>
<td class="numerator">V<sub>S</sub></td>
</tr>
<tr>
<td class="denominator">R<sub>2</sub></td>
</tr>
</table>
</td>
<td>&nbsp;</td>
</tr>
</table>
<p>and substituting these values into the current equation gives</p>
<table class="eqn">
<tr>
<td>I<sub>S</sub>  =</td>
<td>
<table class="frac">
<tr>
<td class="numerator">V<sub>S</sub></td>
</tr>
<tr>
<td class="denominator">R<sub>1</sub></td>
</tr>
</table>
</td>
<td>+</td>
<td>
<table class="frac">
<tr>
<td class="numerator">V<sub>S</sub></td>
</tr>
<tr>
<td class="denominator">R<sub>2</sub></td>
</tr>
</table>
</td>
<td>=  V<sub>S</sub>(1/R<sub>1</sub> + 1/R<sub>2</sub>).</td>
</tr>
</table>
<p>This last equation can be reinterpreted as telling us the combined resistance of the parallel resistors. If a single resistor were in the place of the parallel resistors and we  measured a voltage supply equal to  <em>V<sub>S</sub></em>  and a current equal to  <em>I<sub>S</sub></em> then we could compute the value of that resistor using Ohm&#8217;s law as</p>
<table class="eqn">
<tr>
<td>R  =</td>
<td>
<table class="frac">
<tr>
<td class="numerator">V<sub>S</sub></td>
</tr>
<tr>
<td class="denominator">I<sub>S</sub></td>
</tr>
</table>
</td>
<td>=</td>
<td>
<table class="frac">
<tr>
<td class="numerator">1</td>
</tr>
<tr>
<td class="denominator">1/R<sub>1</sub> + 1/R<sub>2</sub></td>
</tr>
</table>
</td>
<td>=</td>
<td>
<table class="frac">
<tr>
<td class="numerator">R<sub>1</sub>R<sub>2</sub></td>
</tr>
<tr>
<td class="denominator">R<sub>1</sub> + R<sub>2</sub></td>
</tr>
</table>
</td>
<td>.</td>
</tr>
</table>
<p>This is the resistance of two parallel resistors predicted by Ohm&#8217;s law and KCL.</p>
<p><a title="currentdivider" name="currentdivider"></a>This part of a circuit is sometimes called a <em>current divider</em>. The parallel resistors effectively divide the current of the circuit  <em>I<sub>S</sub></em>  into <em>V<sub>S</sub>/R<sub>1</sub></em>  and  <em>V<sub>S</sub>/R<sub>2</sub></em>.</p>
]]></content:encoded>
			<wfw:commentRss>http://gaussmarkov.net/wordpress/parts/resistors/resistors-in-parallel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resistors 2: Limiting Current</title>
		<link>http://gaussmarkov.net/wordpress/parts/resistors/resistors-limiting-current/</link>
		<comments>http://gaussmarkov.net/wordpress/parts/resistors/resistors-limiting-current/#comments</comments>
		<pubDate>Sun, 10 Dec 2006 19:13:43 +0000</pubDate>
		<dc:creator>gaussmarkov</dc:creator>
				<category><![CDATA[Resistors]]></category>

		<guid isPermaLink="false">http://gaussmarkov.net/wordpress/uncategorized/resistors-limiting-current/</guid>
		<description><![CDATA[Ohm&#8217;s Law
Resistance appears in the simplest form of a fundamental electronic relationship called Ohm&#8217;s law:


 V = I ⋅ R 


where V is the potential difference or voltage drop measured in volts, I is the current in amperes (or amps), and R is the resistance in ohms. Ohm&#8217;s law says that voltage and current vary [...]]]></description>
			<content:encoded><![CDATA[<h2><a title="ohmslaw" name="ohmslaw"></a>Ohm&#8217;s Law</h2>
<p>Resistance appears in the simplest form of a fundamental electronic relationship called <em>Ohm&#8217;s law</em>:</p>
<table class="eqn">
<tr>
<td style="text-align: center"><em> V = I ⋅ R </em></td>
</tr>
</table>
<p>where <em>V</em> is the <em>potential difference</em> or <em>voltage drop</em> measured in <em>volts</em>, <em>I</em> is the current in <em>amperes</em> (or <em>amps</em>), and <em>R</em> is the resistance in <em>ohms</em>. Ohm&#8217;s law says that voltage and current vary proportionally, where the constant of proportionality is the value of a resistor.<span id="more-15"></span></p>
<p><img src="/parts/resistors/ohmslaw1.PNG" title="A Circuit for Ohm's Law" alt="A Circuit for Ohm's Law" class="floatright" align="right" /> Here is a simple circuit schematic for applying Ohm&#8217;s law: The circle represents a <em>constant voltage source </em>with positive and negative terminals and the triangle at the bottom represents <em>ground</em>. The lines connecting these components represent wires or traces on a printed circuit board (PCB). This figure comes out of LTspice, a free program for simulating such circuits. We can build an actual circuit with a breadboard, a <em>9V</em> battery, and <em>1K</em> resistor.</p>
<p>Ohm&#8217;s law predicts that the current will be the ratio of voltage to resistance:</p>
<table class="eqn" style="clear: both">
<tr>
<td>I =</td>
<td>
<table class="frac">
<tr>
<td class="numerator">V</td>
</tr>
<tr>
<td class="denominator">R</td>
</tr>
</table>
</td>
<td>=</td>
<td>
<table class="frac">
<tr>
<td class="numerator">9 volts</td>
</tr>
<tr>
<td class="denominator">1000 ohms</td>
</tr>
</table>
</td>
<td>=  0.009 amperes  =  9mA (milliamperes)</td>
</tr>
</table>
<p>To see how to simulate this circuit in LTspice, see <a href="http://gaussmarkov.net/wordpress/tools/software/ltspice/an-ltspice-tutorial/">this introduction to LTspice</a>. LTspice gives the same answer.</p>
<p>To see actual experimental results, I plan to write an introduction to using a multimeter.</p>
<h2><a title="currentmeasure" name="currentmeasure"></a>Example: Inferring Current from Voltage</h2>
<p>An immediate application of Ohm&#8217;s law is to measuring current somewhere in a circuit. To measure current through a circuit using a multimeter, you must break a connection and complete the circuit with the two probes of the multimeter.  If you do not want to break a connection on a circuit board, you may still be able to measure the current indirectly using Ohm&#8217;s law.  If you know a resistance and the voltage drop across that resistance, then you can calculate current as voltage divided by resistance.</p>
<p>With the voltage supply disconnected, use your multimeter to read the resistance of a resistor that is conducting the current you wish to measure.  Alternatively, use the color bands on the resistor to determine its approximate resistance.  With the voltage supply connected, use your multimeter to read the the voltage across the resistor.  The ratio of the voltage reading in volts to the resistance in ohms is the approximate current in amperes.</p>
<p>This is one of the principles behind <a href="http://geofex.com/Article_Folders/ffselect.htm" class="std"> R.G.&#8217;s method for measuring the gain of transistors</a>.</p>
<h2><a title="powersupply" name="powersupply"></a>Example: Internal Resistance of a Power Supply</h2>
<p>Taken at face value, Ohm&#8217;s law implies that a power supply that supplies a constant voltage will also supply an infinite current to a zero-resistance wire connecting the supply to ground: if <em>V</em> is constant, as <em>R</em> approaches zero <em>I</em> must approach infinity.  But Ohm&#8217;s law and the constant voltage supply are just approximations.  Actual power supplies have maximum current ratings that should, or must, be respected. If, for example, you hook up (or <em>short</em>) the positive and negative terminals of a real battery, the battery does not instantaneously deplete itself delivering an infinite current.</p>
<p>A better approximation to a real power supply is a constant voltage source in series with a resistor. The resistor represents the <em>internal resistance</em> of the power supply. A fresh <em>9V</em> battery might supply <em>120mA</em> so that its initial internal resistance would be</p>
<table class="eqn">
<tr>
<td>R =</td>
<td>
<table class="frac">
<tr>
<td class="numerator">V</td>
</tr>
<tr>
<td class="denominator">I</td>
</tr>
</table>
</td>
<td>=</td>
<td>
<table class="frac">
<tr>
<td class="numerator">9 volts</td>
</tr>
<tr>
<td class="denominator">0.120 amperes</td>
</tr>
</table>
</td>
<td>= 75 ohms</td>
</tr>
</table>
<p>So replacing the 1K resistor in the schematic above with a 75 ohm resistor gives a better approximation to a <em>9V</em> battery than a constant voltage source does.</p>
<h2>Example: Resistor for an LED</h2>
<p>We can also apply Ohm&#8217;s law to designing a guitar effects pedal with a light emitting diode (LED) to show when the guitar pedal effect is by-passed. The light will be on when the effect is in the signal path and off when bypassed. Here we focus on providing the LED with the appropriate power supply when the effect is swiched on.</p>
<p>I will describe diodes more generally on this site sometime in the near future. For this example, I will just say that our LED conducts current like a simple wire if there is at least <em>2V</em> across its leads. The effect of the LED is that the voltage of the power supply appears to drop by <em>2V</em>. So we can use Ohm&#8217;s law to predict the current in a simple circuit that powers an LED like (this one).</p>
<p>We need to predict the current through the LED because an LED burns out if it gets too much current. Common LEDs are designed to operate at <em>20mA</em> and their current should not exceed <em>50mA</em>. The initial current of a shorted <em>9V</em> battery typically exceeds <em>100mA</em> and many <em>9V</em> DC power supplies are rated for several hundred <em>mA</em>. So if we simply hook up an LED to a <em>9V</em> power source to an LED, the LED will probably just burn out.</p>
<p><img src="/parts/resistors/LED.PNG" title="Limiting Current to an LED" alt="Limiting Current to an LED" class="floatright" lt="parallel resistors schematic" align="right" /> However, by adding a resistor in series with the LED, we reproduce the simple Ohm&#8217;s law circuit above. The modified circuit is pictured in the schematic to the right, where an LED is followed by a resistor.  We only have to adjust the voltage of the power supply.  The presence of an LED does not affect the current but potential difference across the resistor drops by <em>2V</em> from <em>9V</em>. In this situation, Ohm&#8217;s law predicts how the level of the current varies with the level of the resistor:</p>
<table class="eqn">
<tr>
<td>I =</td>
<td>
<table class="frac">
<tr>
<td class="numerator">V</td>
</tr>
<tr>
<td class="denominator">R</td>
</tr>
</table>
</td>
</tr>
</table>
<p>The larger the resistance is, the smaller the current will be.</p>
<p>We can choose a value <em>R</em> for the resistor to limit the current to <em>20mA</em> given <em>V</em>, which is <em>7V = 9V &#8211; 2V</em> for a <em>9V</em> power supply. For this reason, such a resistor is called a <em>current limiting resistor</em>. To get a <em>20mA = 0.020A</em> current, Ohm&#8217;s law says</p>
<table class="eqn">
<tr>
<td>R =</td>
<td>
<table class="frac">
<tr>
<td class="numerator">V</td>
</tr>
<tr>
<td class="denominator">I</td>
</tr>
</table>
</td>
<td>=</td>
<td>
<table class="frac">
<tr>
<td class="numerator">7 volts</td>
</tr>
<tr>
<td class="denominator">0.020 amperes</td>
</tr>
</table>
</td>
<td>= 350 ohms</td>
</tr>
</table>
<p>Because the standard <em>±5</em>% resistor values in this neighborhood are <em>330</em> and <em>360</em>, you would choose <em>360</em> to be on the safe side. Often, builders use much higher values, <em>4.7K</em> for example, because battery drain is so much lower yet the LED is still bright enough.</p>
<h2><a title="power" name="power"></a>Power</h2>
<p>In my description of resistors, I reported that <a href="/parts/resistors.php?page=description#ratings" class="std">1/4 watt resistors are recommended</a> for building stompboxes.  R.G. Keen gave a helpful explanation on Aron&#8217;s forum <a href="http://www.diystompboxes.com/smfforum/index.php?topic=47319.msg348814#msg348814" class="std">here</a>. Power in watts equals voltage in ohms times current in amperes.  Using Ohm&#8217;s law, formulas for power <em>P</em> are</p>
<table class="eqn">
<tr>
<td>P = V ⋅ I = I<sup>2</sup> ⋅ R =</td>
<td>
<table class="frac">
<tr>
<td class="numerator">V<sup>2</sup></td>
</tr>
<tr>
<td class="denominator">R</td>
</tr>
</table>
</td>
</tr>
</table>
<p>The current limiting resistor for our LED  is dissipating <em>7V</em> at <em>20mA</em> giving a power of <em>140mW</em>. A <em>1/4W = 250mW</em> can handle that, but not a smaller, 1/8W resistor.  Admittedly, the current in other parts of the stompbox circuit are lower but one has to do such calculations to decide what power rating to use.  And R.G. recommends that good practice is to use a rating roughly twice what you predict you will need.</p>
]]></content:encoded>
			<wfw:commentRss>http://gaussmarkov.net/wordpress/parts/resistors/resistors-limiting-current/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resistors 1: Description</title>
		<link>http://gaussmarkov.net/wordpress/parts/resistors/resistors-description/</link>
		<comments>http://gaussmarkov.net/wordpress/parts/resistors/resistors-description/#comments</comments>
		<pubDate>Sun, 10 Dec 2006 17:13:19 +0000</pubDate>
		<dc:creator>gaussmarkov</dc:creator>
				<category><![CDATA[Resistors]]></category>

		<guid isPermaLink="false">http://gaussmarkov.net/wordpress/?p=14</guid>
		<description><![CDATA[Appearance
 The fixed resistors commonly used in DIY stompboxes look like small cylinders with leads (or wires) coming out of each end. Such components are called axial leaded. Resistors can be soldered onto a circuit board oriented either way; the leads are interchangeable. The leads are bent so that they can stick into holes on [...]]]></description>
			<content:encoded><![CDATA[<h2><a title="appearance" name="appearance"></a>Appearance</h2>
<p><img src="/parts/resistors/resistors%20photo.jpg" title="resistor photo" class="floatright" alt="resistor photo" align="right" width="200" /> The <em>fixed resistors</em> commonly used in DIY stompboxes look like small cylinders with <em>leads</em> (or wires) coming out of each end. Such components are called <em>axial leaded</em>. Resistors can be soldered onto a circuit board oriented either way; the leads are interchangeable. The leads are bent so that they can stick into holes on the circuit board.  As a result, this type of resistor is also called <em>through-hole</em>. These resistors have a fixed value and <span id="more-14"></span>the color bands on the cylindrical <em>case</em> of a resistor tell this value. The case itself identifies the type of resistor. <em>Carbon film</em> (labelled B and C) and <em>metal film</em> (labelled D) resistors are common types in stompbox builds. Older guitar effects were usually made with <em>carbon composition</em> resistors (labelled A).</p>
<h2 style="clear: both"><a title="symbols" name="symbols"></a>Symbols</h2>
<p><img src="/parts/resistors/resistor%20schem.png" title="resistor schem" class="floatright" alt="resistor schem" align="right" width="200" /> In circuit diagrams (or <em>schematics</em>), there are two symbols for resistors.  Occasionally one sees a keyboard representation using a string of slashes. Resistors are generally labelled with the capital letter <em>R</em> followed by a number (for example, <em>R3</em>). Usually, this label is a rough guide to where the resistor is located on a schematic or layout:  you can expect to find <em>R3</em> somewhere near <em>R4</em>.</p>
<p style="clear: both"> <img src="/parts/resistors/resistor%20board.png" title="resistor board" class="floatright" alt="resistor board" align="right" width="200" /> On circuit board layouts, a resistor appears as an outline of its case and leads of the necessary length ending at solder pads. When a resistor is stood on end so that the leads go through adjacent holes, one sees something like the first image.</p>
<h2 style="clear: both"><a title="values" name="values"></a>Values</h2>
<p>Resistor values are called <em>resistance</em>, which is measured in units called <em>ohms</em> denoted by the symbol <em>Ω</em>, a capital Greek omega. Stompbox circuits use resistances as small as a few ohms and and as large as several million ohms. To abbreviate values, a resistor rated at <em>2.2</em> million ohms is often described as a <em>2.2MΩ</em> or, more commonly, <em>2.2M</em>  resistor. M stands for <em>mega</em>. A <em>3,300</em> ohm resistance is usually denoted <em>3.3K</em>  (where <em>K</em> stands for <em>kilo</em>). Occasionally one also sees <em>100Ω</em> written as <em>100R</em>, rather than just <em>100</em>. The decimal place is often replaced with the order of magnitude letter, as in</p>
<table class="eqn">
<tr>
<td style="text-align: center">2.2M    = 2M2</td>
<td>or</td>
<td style="text-align: center">3.3K    = 3K3</td>
</tr>
</table>
<p>Fixed resistors are labelled with standard values grouped by <em>decades</em> in multiples of <em>10</em>: 1–10, 10–100, 100–1000, and so on. Within a decade the values roughly follow a power series, where the number of values within a decade depends on the precision of the values. For example, <em>±5</em>% resistors come in (approximate) multiples of <em>10<sup>1/24</sup>≅ 1.1</em>, chosen  because it is slightly less than <em>10<sup>5%</sup>=10<sup>1/20</sup></em> so that the <em>±5</em>% intervals cover the entire decade interval. Across decades, these <em>24  </em>standard values are multiplied or divided by powers of <em>10</em>. The decade series <em>10</em>, <em>11</em>, <em>12</em>, <em>13</em>, <em>15</em>, <em>…</em>, <em>91</em> becomes <em>100</em>, <em>110</em>, <em>120</em>, <em>130</em>, <em>150</em>, <em>…</em>, <em>910</em> in the next decade, and so on.</p>
<h2><a title="ratings" name="ratings"></a>Ratings</h2>
<p>Resistors are also rated by power in <em>watts</em>. This is a value that should not be exceeded.  In stompbox construction, people generally use 1/4 watt resistors, but one can also use resistors with power ratings larger than 1/4 watts.  The next highest rating is 1/2 watts. Note that the cases of resistors get larger as the power rating goes up.  This means that 1/2 watt resistors will often not fit as neatly on a published circuit layout as 1/4 watt resistors. Other than this, you will probably notice no difference.  For an example of calculating power requirements, see the <a href="/parts/resistors.php?page=limiting%20current#power" class="std">Power</a>  section of <a href="/parts/resistors.php?page=limiting%20current" class="std">resistors: limiting current</a>.</p>
<h2><a title="moreinfo" name="moreinfo"></a>Further Information</h2>
<p>For further information on decades and standard values, search the internet for <a href="http://www.google.com/search?hl=en&amp;lr=&amp;q=standard+EIA+resistor+decade+values&amp;btnG=Search" class="std">standard EIA resistor decade values</a>.</p>
<p>To learn about reading the color coded value markings on resistors, search the internet for <a href="http://www.google.com/search?hl=en&amp;q=resistor+color+codes&amp;btnG=Search" class="std">resistor color codes</a>.</p>
<p>To learn more about types of resistors, search the internet for <a href="http://www.google.com/search?hl=en&amp;q=%22types+of+resistor%22&amp;btnG=Search" class="std">&#8220;types of resistor&#8221;</a>.</p>
<p>For an expert view on carbon comp resistors, see <a href="http://www.geofex.com/Article_Folders/carbon_comp/carboncomp.htm" class="std">Using the Carbon Comp Resistor for Magic Mojo</a> by R. G. Keen.</p>
<h2><a title="acknowledge" name="acknowledge"></a>Acknowledgements</h2>
<p>Thanks to  <a href="http://www.diystompboxes.com/smfforum/index.php?topic=48111.msg356302#msg356302" class="std">idlechatterbox for suggesting improvements</a> to this page!</p>
]]></content:encoded>
			<wfw:commentRss>http://gaussmarkov.net/wordpress/parts/resistors/resistors-description/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
