<?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>Engineersphere.com &#187; Basic Electrical Engineering Concepts</title>
	<atom:link href="http://engineersphere.com/category/basic-electrical-concepts/feed" rel="self" type="application/rss+xml" />
	<link>http://engineersphere.com</link>
	<description>doesn&#039;t have to make sense to you, but it&#039;s probably great for your health.</description>
	<lastBuildDate>Fri, 28 Oct 2011 03:05:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>DC Biasing &amp; AC Performance Analysis of BJT &amp; FET Differential Amplifiers</title>
		<link>http://engineersphere.com/basic-electrical-concepts/dc-biasing-ac-performance-analysis-of-bjt-fet-amplifiers.html</link>
		<comments>http://engineersphere.com/basic-electrical-concepts/dc-biasing-ac-performance-analysis-of-bjt-fet-amplifiers.html#comments</comments>
		<pubDate>Sun, 20 Mar 2011 19:55:23 +0000</pubDate>
		<dc:creator>Safa</dc:creator>
				<category><![CDATA[Advanced Concepts]]></category>
		<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Circuit Theory]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[ac analysis]]></category>
		<category><![CDATA[ac performance analysis]]></category>
		<category><![CDATA[active loads]]></category>
		<category><![CDATA[bjt current mirror]]></category>
		<category><![CDATA[bjt differential amplifier]]></category>
		<category><![CDATA[BJTS]]></category>
		<category><![CDATA[CMRR]]></category>
		<category><![CDATA[common mode gain]]></category>
		<category><![CDATA[common mode input impedance]]></category>
		<category><![CDATA[common mode rejection ratio]]></category>
		<category><![CDATA[current mirror]]></category>
		<category><![CDATA[current mirrors]]></category>
		<category><![CDATA[dc biasing]]></category>
		<category><![CDATA[Diff Amps]]></category>
		<category><![CDATA[Differential Amplifiers]]></category>
		<category><![CDATA[differential input impedance]]></category>
		<category><![CDATA[differential mode gain]]></category>
		<category><![CDATA[FET]]></category>
		<category><![CDATA[FET Differential Amplifiers]]></category>
		<category><![CDATA[transconductance]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=2340</guid>
		<description><![CDATA[TweetTweetDC Biasing &#38; AC Performance Analysis of BJT and FET Differential Amplifier Sub-circuits with Active Loads Any op-amp worth its salt has a differential amplifier at its front end, and you&#8217;re nobody if you can&#8217;t design one yourself.  So, this article presents a general method for biasing and analyzing the performance characteristics of single-stage BJT [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/basic-electrical-concepts/dc-biasing-ac-performance-analysis-of-bjt-fet-amplifiers.html&via=EngineerSphere&text=DC Biasing & AC Performance Analysis of BJT & FET Differential Amplifiers&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/basic-electrical-concepts/dc-biasing-ac-performance-analysis-of-bjt-fet-amplifiers.html&via=EngineerSphere&text=DC Biasing & AC Performance Analysis of BJT & FET Differential Amplifiers&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><h2>DC Biasing &amp; AC Performance Analysis of BJT and FET Differential Amplifier Sub-circuits with Active Loads</h2>
<p>Any op-amp worth its salt has a differential amplifier at its front end, and you&#8217;re nobody if you can&#8217;t design one yourself.  So, this article presents a general method for biasing and analyzing the performance characteristics of single-stage BJT and MOSFET differential amplifier circuits.  The following images show the <em>general </em>schematic for both kinds of differential amplifiers, often referred to as a <strong>differential input stage</strong> when used in designing op-amps.  Notice that these types of differential amplifiers use <strong><a href="http://en.wikipedia.org/wiki/Active_load">active loads</a> </strong>to achieve <em>wide swing</em> and <em>high gain</em>.</p>
<div class="wp-caption alignnone" style="width: 608px"><img class=" " title="Differential Amplifiers with Active Loads" src="http://imgur.com/sruaL.jpg" alt="differential amplifiers with active loads" width="598" height="359" /><p class="wp-caption-text">Figure 1. BJT and MOSFET differential amplifiers with active loads</p></div>
<p>Due to design processes and the nature of the devices involved, BJT circuits are &#8220;simpler&#8221; to analyze than their FET counterparts, whose circuits require a few extra steps when calculating performance parameters.  For this reason, this tutorial will begin by biasing and analyzing a BJT differential amplifier circuit, and then will move on to do the same for a FET differential amplifier.  But it should be noted that <strong>the procedures to analyze these types of differential amplifiers are virtually the same.</strong></p>
<h3>BJT Differential Amplifier<span style="text-decoration: underline;"><br />
</span></h3>
<p>The first thing needed is to configure the DC biasing.  To accomplish this, a practical implementation of <img src='http://s.wordpress.com/latex.php?latex=I_%7BBIAS%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_{BIAS}' title='I_{BIAS}' class='latex' /> must be developed.  A very popular method is to use a <strong><a href="http://users.ece.gatech.edu/mleach/ece3050/notes/bjt/bjtmirr.pdf">current mirror</a></strong>.   A simple current mirror is shown below:</p>
<h3>BJT Current Mirror</h3>
<div class="wp-caption alignnone" style="width: 317px"><img class=" " title="BJT Current Mirror" src="http://imgur.com/tjmAT.jpg" alt="bjt current mirror" width="307" height="283" /><p class="wp-caption-text">Figure 2. BJT Current Mirror</p></div>
<p>It is easy to understand how a current mirror works.  Observe the equation governing the amount of collector current in a BJT, denoted <img src='http://s.wordpress.com/latex.php?latex=I_C&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_C' title='I_C' class='latex' />:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=I_C%20%3D%20I_S%28e%5E%7B%5Cfrac%7BV%7BBE%7D%7D%7BnV_T%7D%7D-1%29%281%2B%5Cfrac%7BV_%7BCB%7D%7D%7BV_A%7D%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_C = I_S(e^{\frac{V{BE}}{nV_T}}-1)(1+\frac{V_{CB}}{V_A})' title='I_C = I_S(e^{\frac{V{BE}}{nV_T}}-1)(1+\frac{V_{CB}}{V_A})' class='latex' /></p>
<p><strong>where:</strong></p>
<ul>
<li><img src='http://s.wordpress.com/latex.php?latex=I_C&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_C' title='I_C' class='latex' /> is the collector current</li>
<li><img src='http://s.wordpress.com/latex.php?latex=I_S&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_S' title='I_S' class='latex' /> is the <a href="http://en.wikipedia.org/wiki/Saturation_current">scale current</a></li>
<li><img src='http://s.wordpress.com/latex.php?latex=V_%7BBE%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{BE}' title='V_{BE}' class='latex' /> is the DC voltage across the base-emitter junction</li>
<li><img src='http://s.wordpress.com/latex.php?latex=V_T&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_T' title='V_T' class='latex' /> is the thermal voltage, typically 25 mV</li>
<li><img src='http://s.wordpress.com/latex.php?latex=n&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n' title='n' class='latex' /> is the quality factor, typically between  1- 2 and is frequently assumed to be 1</li>
<li><img src='http://s.wordpress.com/latex.php?latex=V_%7BCB%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{CB}' title='V_{CB}' class='latex' /> is the voltage across the collector-base junction</li>
<li><img src='http://s.wordpress.com/latex.php?latex=V_A&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_A' title='V_A' class='latex' /> is the <a href="http://en.wikipedia.org/wiki/Early_effect">early voltage</a></li>
</ul>
<p><strong>Note: [</strong>This equation may look intimidating at first, but what is important to understand is that the point of designing "by hand" is to <em>get close.</em> One should aim simply to get a good <em>estimation </em>of such parameters as necessary bias current, gain, input impedance, etc.  In this way, computer simulations can analyze the hand-designed circuit in much closer detail, which greatly aids in the process of designing a real-life differential amplifier.  Knowing this, the equations to be used in this tutorial will be rough estimates, but are still invaluable when it comes to designing these types of circuits.<strong>]</strong></p>
<p>By assuming a very large equivalent resistance, one can estimate that the collector current through any BJT can be described by:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=I_C%20%5Capprox%20I_S%20e%5E%7BV_%7BBE%7D%2FV_T%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_C \approx I_S e^{V_{BE}/V_T} ' title='I_C \approx I_S e^{V_{BE}/V_T} ' class='latex' /></p>
<p>What can be noticed here is that the only controllable variable in that equation is <img src='http://s.wordpress.com/latex.php?latex=V_%7BBE%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{BE}' title='V_{BE}' class='latex' />.  All the other terms in the equation are constants that depend on either the environment or the actual physical size of the device.  This means that for any two same-sized transistors, the currents through their collectors <em>will be the same as long as the voltage across their base-emitter junctions is the same. </em>By tying their bases and emitters together, we can mirror the currents between them!  In order to implement a successful current mirror, one transistor (here, <img src='http://s.wordpress.com/latex.php?latex=Q_5&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_5' title='Q_5' class='latex' />) must have a current induced in it to mirror it to the differential amplifier&#8217;s current source (here, <img src='http://s.wordpress.com/latex.php?latex=Q_6&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_6' title='Q_6' class='latex' />).  After adding this current mirror to our BJT differential amplifier, the resulting schematic is:</p>
<div class="wp-caption alignnone" style="width: 416px"><img class=" " title="bjt diff amp with current mirror" src="http://i.imgur.com/HitQn.jpg" alt="bjt diff amp with current mirror" width="406" height="456" /><p class="wp-caption-text">Figure 3. BJT differential amp with current mirror biasing</p></div>
<p>In order to properly bias this circuit, it is necessary to include <img src='http://s.wordpress.com/latex.php?latex=R_%7BBIAS%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{BIAS}' title='R_{BIAS}' class='latex' />.  Two things are accomplished by including <img src='http://s.wordpress.com/latex.php?latex=R_%7BBIAS%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{BIAS}' title='R_{BIAS}' class='latex' /> in our circuit.  One of them is that we can induce the current in <img src='http://s.wordpress.com/latex.php?latex=Q_5&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_5' title='Q_5' class='latex' />, and thus, the current in <img src='http://s.wordpress.com/latex.php?latex=Q_6&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_6' title='Q_6' class='latex' />.  The other important thing this resistor does is drop a majority of the available voltage across itself, so that <img src='http://s.wordpress.com/latex.php?latex=Q_5&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_5' title='Q_5' class='latex' /> doesn&#8217;t have the entire voltage difference between the supplies across it!  To bias this circuit, the first thing one must do is determine what the desired magnitude of the current source will be.  This parameter depends on how you want the circuit to operate, and is usually a known value.  In this tutorial, we will assume we want an <img src='http://s.wordpress.com/latex.php?latex=I_%7BBIAS%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_{BIAS}' title='I_{BIAS}' class='latex' /> of 1mA.  In order to determine the necessary size of <img src='http://s.wordpress.com/latex.php?latex=R_%7BBIAS%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{BIAS}' title='R_{BIAS}' class='latex' />, we analyze the loop that consists of:</p>
<p>&nbsp;</p>
<p><img src='http://s.wordpress.com/latex.php?latex=VCC%20%5Crightarrow%20I_%7BBIAS%7D%20%5Ccdot%20R_%7BBIAS%7D%20%5Crightarrow%20V_%7BBE5%7D%20%5Crightarrow%20VEE&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='VCC \rightarrow I_{BIAS} \cdot R_{BIAS} \rightarrow V_{BE5} \rightarrow VEE' title='VCC \rightarrow I_{BIAS} \cdot R_{BIAS} \rightarrow V_{BE5} \rightarrow VEE' class='latex' /></p>
<p>&nbsp;</p>
<p><a href="http://engineersphere.com/basic-electrical-concepts/kirchoff-voltage-law.html">Kirchoff&#8217;s Voltage Law</a> (KVL) around this loop reveals:</p>
<p>&nbsp;</p>
<p><img src='http://s.wordpress.com/latex.php?latex=0%20%3D%20-VCC%20%2B%20I_%7BBIAS%7D%20%5Ccdot%20R_%7BBIAS%7D%20%2B%20V_%7BBE5%7D%20%2B%20VEE&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='0 = -VCC + I_{BIAS} \cdot R_{BIAS} + V_{BE5} + VEE' title='0 = -VCC + I_{BIAS} \cdot R_{BIAS} + V_{BE5} + VEE' class='latex' /></p>
<p>&nbsp;</p>
<p>These kinds of circuits are typically supplied rails of <img src='http://s.wordpress.com/latex.php?latex=%5Cpm%2010&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\pm 10' title='\pm 10' class='latex' /> to <img src='http://s.wordpress.com/latex.php?latex=15%20V&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='15 V' title='15 V' class='latex' />.  So, <strong>this tutorial will assume:</strong></p>
<p><strong><br />
</strong></p>
<p><img src='http://s.wordpress.com/latex.php?latex=VCC%20%3D%20-%20VEE%20%3D%2010%20V&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='VCC = - VEE = 10 V' title='VCC = - VEE = 10 V' class='latex' />.</p>
<p>&nbsp;</p>
<p>For a given technology, all of the BJT transistors <strong>are designed to have the same turn-on voltage.</strong> This tutorial will assume .7 V for each BJT.  That being the case, and rearranging the above equation, results in:</p>
<p>&nbsp;</p>
<p><img src='http://s.wordpress.com/latex.php?latex=R_%7BBIAS%7D%20%3D%20%5Cfrac%7BVCC%20-%20VEE%20-%20V_%7BBE5%7D%7D%7BI_%7BBIAS%7D%7D%20%3D%20%5Cfrac%7B10V%20-%20%28-10V%29%20-%20.7V%7D%7B1%20mA%7D%20%3D%2019.3%20k%5COmega%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{BIAS} = \frac{VCC - VEE - V_{BE5}}{I_{BIAS}} = \frac{10V - (-10V) - .7V}{1 mA} = 19.3 k\Omega ' title='R_{BIAS} = \frac{VCC - VEE - V_{BE5}}{I_{BIAS}} = \frac{10V - (-10V) - .7V}{1 mA} = 19.3 k\Omega ' class='latex' /></p>
<p>&nbsp;</p>
<p>By introducing a resistor <img src='http://s.wordpress.com/latex.php?latex=R_%7BBIAS%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{BIAS}' title='R_{BIAS}' class='latex' /> of <img src='http://s.wordpress.com/latex.php?latex=19.3k%5COmega&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='19.3k\Omega' title='19.3k\Omega' class='latex' /> to the above schematic, the bias current is now established at 1 mA.  Due to symmetry, the currents through transistors <img src='http://s.wordpress.com/latex.php?latex=Q_1&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_1' title='Q_1' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=Q_2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_2' title='Q_2' class='latex' /> are each half of the bias current, described by:</p>
<p>&nbsp;</p>
<p><img src='http://s.wordpress.com/latex.php?latex=I_%7BC1%7D%20%3D%20I_%7BC2%7D%20%3D%20%5Cfrac%7BI_%7BBIAS%7D%7D%7B2%7D%20%3D%5Cfrac%7B1%20mA%7D%7B2%7D%20%3D%20.5%20mA&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_{C1} = I_{C2} = \frac{I_{BIAS}}{2} =\frac{1 mA}{2} = .5 mA' title='I_{C1} = I_{C2} = \frac{I_{BIAS}}{2} =\frac{1 mA}{2} = .5 mA' class='latex' /></p>
<p>&nbsp;</p>
<p>Now that we know the collector currents through <img src='http://s.wordpress.com/latex.php?latex=Q_1&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_1' title='Q_1' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=Q_2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_2' title='Q_2' class='latex' />, characterizing the performance of this differential amplifier is a breeze.  Since the parameters we are interested in (gain, <a href="http://engineersphere.com/basic-electrical-concepts/amplifiers-part-ii.html">CMRR</a>, etc) are <em>small-signal</em> parameters, the <a href="http://engineersphere.com/basic-electrical-concepts/frequency-response-for-mosfetbjt.html"><em>small-signal</em> model</a> of this circuit is needed.  To obtain this, a nice trick is to &#8220;cut the amplifier in half&#8221; (lengthwise, such that you only analyze the output side of the amplifier) to obtain:</p>
<div class="wp-caption alignnone" style="width: 748px"><img class=" " title="bjt small signal model" src="http://i.imgur.com/WSpJ1.jpg" alt="bjt small signal model" width="738" height="203" /><p class="wp-caption-text">Figure 4. Small-signal model for above differential amplifer</p></div>
<p><strong>Note: [</strong>even though the output signal is single-ended here, the output is still a result of the entire input signal, and not just half of it.  This is because the small-signal changes in the currents flowing through <img src='http://s.wordpress.com/latex.php?latex=Q_%7B2%2C4%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_{2,4}' title='Q_{2,4}' class='latex' /> are impeded from traveling down the branches controlled by current sources <img src='http://s.wordpress.com/latex.php?latex=Q_%7B2%2C6%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_{2,6}' title='Q_{2,6}' class='latex' />.  Also note that the connections between <img src='http://s.wordpress.com/latex.php?latex=R_%7B%5Cpi%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{\pi}' title='R_{\pi}' class='latex' /> and the voltage-controlled current source (VCCS) indicate that the voltage that controls the VCCS is the voltage across <img src='http://s.wordpress.com/latex.php?latex=R_%7B%5Cpi%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{\pi}' title='R_{\pi}' class='latex' />.  This is because the resistance in the emitter of these transistors has been omitted, due to its typically small value (10 to 25 <img src='http://s.wordpress.com/latex.php?latex=%5COmega&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\Omega' title='\Omega' class='latex' />).  In addition to this, <img src='http://s.wordpress.com/latex.php?latex=Q_6&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_6' title='Q_6' class='latex' /> is assumed to be a small signal (AC) open-circuit.  The frequency response has also been omitted, and the amplifier is assumed to be <a href="http://en.wikipedia.org/wiki/Electronic_amplifier#Unilateral_or_bilateral">unilateral</a>.<strong>]</strong></p>
<h3>Differential Mode Gain</h3>
<p>It is simple to see that <img src='http://s.wordpress.com/latex.php?latex=v_%7Bout%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='v_{out}' title='v_{out}' class='latex' /> (the small-signal output voltage) is equal to the current across the parallel combination of the resistors <img src='http://s.wordpress.com/latex.php?latex=r_%7Bo2%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r_{o2}' title='r_{o2}' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=r_%7Bo1%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r_{o1}' title='r_{o1}' class='latex' /> multiplied by the size of the same parallel combination.  Since we know the value of the current through this combination is equal to the input voltage multiplied by <img src='http://s.wordpress.com/latex.php?latex=g_m&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='g_m' title='g_m' class='latex' /> (the <em>transconductance </em>parameter):</p>
<p><img src='http://s.wordpress.com/latex.php?latex=v_%7Bout%7D%20%3D-%20g_mv_%7Bin%7D%20%5Ccdot%20%28r_%7Bo2%7D%20%5C%7C%20r_%7Bo4%7D%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='v_{out} =- g_mv_{in} \cdot (r_{o2} \| r_{o4})' title='v_{out} =- g_mv_{in} \cdot (r_{o2} \| r_{o4})' class='latex' /></p>
<p>The transconductance parameter is a ratio of <em>output current </em>to <em>input voltage.</em> It is described mathematically as:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=g_m%20%3D%20%5Cfrac%7B%5Cpartial%20i_c%7D%7B%5Cpartial%20v_%7Bbe%7D%7D%20%3D%20%5Cfrac%7B%5Cpartial%20i_%7Bout%7D%7D%7B%5Cpartial%20v_%7Bin%7D%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='g_m = \frac{\partial i_c}{\partial v_{be}} = \frac{\partial i_{out}}{\partial v_{in}} ' title='g_m = \frac{\partial i_c}{\partial v_{be}} = \frac{\partial i_{out}}{\partial v_{in}} ' class='latex' /></p>
<p>and can be solved for thusly:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B%5Cpartial%20I_C%7D%7B%5Cpartial%20V_%7BBE%7D%7D%20%3D%20%5Cfrac%7B%5Cpartial%20%28I_Se%5E%7B%5Cfrac%7BV_%7BBE%7D%7D%7BV_T%7D%7D%29%7D%7B%5Cpartial%20V_%7BBE%7D%7D%20%3D%20%5Cfrac%7BI_Se%5E%7B%5Cfrac%7BV_%7BBE%7D%7D%7BV_T%7D%7D%7D%7BV_T%7D%20%3D%20%5Cfrac%20%7BI_C%7D%7BV_T%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\frac{\partial I_C}{\partial V_{BE}} = \frac{\partial (I_Se^{\frac{V_{BE}}{V_T}})}{\partial V_{BE}} = \frac{I_Se^{\frac{V_{BE}}{V_T}}}{V_T} = \frac {I_C}{V_T}' title='\frac{\partial I_C}{\partial V_{BE}} = \frac{\partial (I_Se^{\frac{V_{BE}}{V_T}})}{\partial V_{BE}} = \frac{I_Se^{\frac{V_{BE}}{V_T}}}{V_T} = \frac {I_C}{V_T}' class='latex' /></p>
<p>In this example, <img src='http://s.wordpress.com/latex.php?latex=I_C&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_C' title='I_C' class='latex' /> is .5 mA and <img src='http://s.wordpress.com/latex.php?latex=V_T&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_T' title='V_T' class='latex' /> is 25 mV.  With these values, we compute:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=g_m%20%3D%20%5Cfrac%7BI_C%7D%7BV_T%7D%20%3D%20%5Cfrac%7B.5%20mA%7D%7B25%20mV%7D%20%3D%2020%20%5Cfrac%7BmA%7D%7BV%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='g_m = \frac{I_C}{V_T} = \frac{.5 mA}{25 mV} = 20 \frac{mA}{V}' title='g_m = \frac{I_C}{V_T} = \frac{.5 mA}{25 mV} = 20 \frac{mA}{V}' class='latex' /></p>
<p>Now that the transconductance parameter is known, the only other values needed to compute the differential mode gain are <img src='http://s.wordpress.com/latex.php?latex=r_%7Bo2%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r_{o2}' title='r_{o2}' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=r_%7Bo4%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r_{o4}' title='r_{o4}' class='latex' />.  <a href="http://engineersphere.com/basic-electrical-concepts/bjt-circuit-and-symbol-conventions.html"><img src='http://s.wordpress.com/latex.php?latex=Q_2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_2' title='Q_2' class='latex' /> is an npn transistor, while <img src='http://s.wordpress.com/latex.php?latex=Q_4&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_4' title='Q_4' class='latex' /> is a pnp transistor</a>, so they will not have the same small-signal resistance, but the procedure to find these two values are nearly identical.  The following equation describes the small-signal output resistance of any BJT:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=r_%7Bo_%7Bn%2Cp%7D%7D%20%3D%20%5Cfrac%7B%7CV_%7BA_%7Bn%2Cp%7D%7D%7C%20%2B%20V_%7BCE%7D%7D%7BI_C%7D%20%5Capprox%20%5Cfrac%7B%7CV_%7BA_%7Bn%2Cp%7D%7D%7C%7D%7BI_C%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r_{o_{n,p}} = \frac{|V_{A_{n,p}}| + V_{CE}}{I_C} \approx \frac{|V_{A_{n,p}}|}{I_C}' title='r_{o_{n,p}} = \frac{|V_{A_{n,p}}| + V_{CE}}{I_C} \approx \frac{|V_{A_{n,p}}|}{I_C}' class='latex' /></p>
<p>The parameter <img src='http://s.wordpress.com/latex.php?latex=V_%7BA_%7Bn%2Cp%7D%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{A_{n,p}}' title='V_{A_{n,p}}' class='latex' /> is typically given, and in this tutorial:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=V_%7BA_n%7D%20%3D%20130%20V&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{A_n} = 130 V' title='V_{A_n} = 130 V' class='latex' /></p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=V_%7BA_p%7D%20%3D%2050%20V&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{A_p} = 50 V' title='V_{A_p} = 50 V' class='latex' /></p>
<p>Which would result in:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=r_%7Bo2%7D%20%3D%20%5Cfrac%7BV_%7BA_n%7D%7D%7BI_C%7D%20%3D%20%5Cfrac%7B130%20V%7D%7B.5%20mA%7D%20%3D%20260%20k%5COmega&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r_{o2} = \frac{V_{A_n}}{I_C} = \frac{130 V}{.5 mA} = 260 k\Omega' title='r_{o2} = \frac{V_{A_n}}{I_C} = \frac{130 V}{.5 mA} = 260 k\Omega' class='latex' /> and</p>
<p><img src='http://s.wordpress.com/latex.php?latex=r_%7Bo4%7D%20%3D%20%5Cfrac%7BV_%7BA_p%7D%7D%7BI_C%7D%20%3D%20%5Cfrac%7B50%20V%7D%7B.5%20mA%7D%20%3D%20100%20k%5COmega&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r_{o4} = \frac{V_{A_p}}{I_C} = \frac{50 V}{.5 mA} = 100 k\Omega' title='r_{o4} = \frac{V_{A_p}}{I_C} = \frac{50 V}{.5 mA} = 100 k\Omega' class='latex' /></p>
<p>Now that the small-signal resistances are known, along with the transconductance parameter, the differential mode gain (<img src='http://s.wordpress.com/latex.php?latex=A_%7Bv%2CDM%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A_{v,DM}' title='A_{v,DM}' class='latex' />) may be calculated:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=A_%7Bv%2CDM%7D%20%3D-%20g_m%20%5Ccdot%20%28r_%7Bo2%7D%20%5C%7C%20r_%7Bo4%7D%29%20%3D-%2020%20%5Cfrac%7BmA%7D%7BV%7D%20%5Ccdot%20%5Cfrac%7B260%20k%5COmega%20%5Ccdot%20100%20k%5COmega%7D%7B%28260%2B100%29%20k%5COmega%7D%20%3D%20-1444.4%20%5Cfrac%7Bv%7D%7Bv%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A_{v,DM} =- g_m \cdot (r_{o2} \| r_{o4}) =- 20 \frac{mA}{V} \cdot \frac{260 k\Omega \cdot 100 k\Omega}{(260+100) k\Omega} = -1444.4 \frac{v}{v} ' title='A_{v,DM} =- g_m \cdot (r_{o2} \| r_{o4}) =- 20 \frac{mA}{V} \cdot \frac{260 k\Omega \cdot 100 k\Omega}{(260+100) k\Omega} = -1444.4 \frac{v}{v} ' class='latex' /></p>
<p>or, in decibels (dB):</p>
<p><img src='http://s.wordpress.com/latex.php?latex=A_%7Bv%2CDM%28dB%29%7D%20%3D%2020log%28%7CA_%7Bv%2CDM%7D%7C%29%20%3D%2063.2%20dB&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A_{v,DM(dB)} = 20log(|A_{v,DM}|) = 63.2 dB' title='A_{v,DM(dB)} = 20log(|A_{v,DM}|) = 63.2 dB' class='latex' /></p>
<h3>Differential Input Impedance</h3>
<p>The differential input impedance of a differential amplifier <strong>is the impedance a &#8220;seen&#8221; by any &#8220;differential&#8221; signal. </strong>A &#8220;differential signal&#8221; is any and all signals that <em>aren&#8217;t shared by </em><img src='http://s.wordpress.com/latex.php?latex=V_%7Bin-%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in-}' title='V_{in-}' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=V_%7Bin%2B%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in+}' title='V_{in+}' class='latex' />.  For instance, if:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7Bin-%7D%20%3D%20%282%20%2B%20sin%282%20%5Cpi%20ft%29%29%20V&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in-} = (2 + sin(2 \pi ft)) V' title='V_{in-} = (2 + sin(2 \pi ft)) V' class='latex' /> and</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7Bin%2B%7D%20%3D%20%282%20%2B%20cos%282%20%5Cpi%20ft%29%29%20V&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in+} = (2 + cos(2 \pi ft)) V' title='V_{in+} = (2 + cos(2 \pi ft)) V' class='latex' /></p>
<p>then the common mode signal and differential mode signals are:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=V_%7Bin%2CCM%7D%20%3D%202V&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in,CM} = 2V' title='V_{in,CM} = 2V' class='latex' /> and</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=V_%7Bin%2CDM%7D%20%3D%20cos%282%20%5Cpi%20ft%29%20-%20sin%282%20%5Cpi%20ft%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in,DM} = cos(2 \pi ft) - sin(2 \pi ft) ' title='V_{in,DM} = cos(2 \pi ft) - sin(2 \pi ft) ' class='latex' /></p>
<p>To find the differential input impedance, begin by following the loop consisting of:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7Bin-%7D%20%5Crightarrow%20V_%7BBE1%7D%20%5Crightarrow%20-V_%7BBE2%7D%20%5Crightarrow%20V_%7Bin%2B%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in-} \rightarrow V_{BE1} \rightarrow -V_{BE2} \rightarrow V_{in+}' title='V_{in-} \rightarrow V_{BE1} \rightarrow -V_{BE2} \rightarrow V_{in+}' class='latex' />, as illustrated below:</p>
<div class="wp-caption alignnone" style="width: 548px"><img class=" " title="bjt diff amp Rin" src="http://i.imgur.com/ZUnFT.jpg" alt="bjt diff amp Rin" width="538" height="519" /><p class="wp-caption-text">Figure 5. Loop analyzed in order to determine Rin(DM)</p></div>
<p>We see that, in the differential signal mode, the path to ground only consists of <img src='http://s.wordpress.com/latex.php?latex=r_%7B%5Cpi%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r_{\pi}' title='r_{\pi}' class='latex' /> <em>of each input transistor.</em> Since this is the case, the differential mode input impedance of any BJT diff-amp may be expressed as (<strong>omitting emitter resistance and assuming</strong> <img src='http://s.wordpress.com/latex.php?latex=Q_%7B1%2C2%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='Q_{1,2}' title='Q_{1,2}' class='latex' /><strong> matched</strong>):</p>
<p><img src='http://s.wordpress.com/latex.php?latex=R_%7Bin%2CDM%7D%20%3D%20r_%7B%5Cpi%201%7D%2Br_%7B%5Cpi%202%7D%20%3D%202r_%7B%5Cpi%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{in,DM} = r_{\pi 1}+r_{\pi 2} = 2r_{\pi}' title='R_{in,DM} = r_{\pi 1}+r_{\pi 2} = 2r_{\pi}' class='latex' /></p>
<p style="padding-left: 30px;">where: <img src='http://s.wordpress.com/latex.php?latex=r_%7B%5Cpi%7D%20%3D%20%5Cfrac%7B%5Cbeta%7D%7Bg_m%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r_{\pi} = \frac{\beta}{g_m} ' title='r_{\pi} = \frac{\beta}{g_m} ' class='latex' /></p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=%5Cbeta%20%3D%20%5Cfrac%7Bi_c%7D%7Bi_b%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\beta = \frac{i_c}{i_b}' title='\beta = \frac{i_c}{i_b}' class='latex' /> (current gain factor)</p>
<p>A typical value for <img src='http://s.wordpress.com/latex.php?latex=%5Cbeta&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\beta' title='\beta' class='latex' /> is 100, and knowing <img src='http://s.wordpress.com/latex.php?latex=g_m&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='g_m' title='g_m' class='latex' /> allows one to compute:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=R_%7Bin%2CDM%7D%20%3D%202%20%5Ccdot%20%5Cfrac%7B%5Cbeta%7D%7Bg_m%7D%20%3D%202%20%5Ccdot%20%5Cfrac%7B100%7D%7B20%20%5Cfrac%7BmA%7D%7BV%7D%7D%20%3D%2010%20k%20%5COmega&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{in,DM} = 2 \cdot \frac{\beta}{g_m} = 2 \cdot \frac{100}{20 \frac{mA}{V}} = 10 k \Omega' title='R_{in,DM} = 2 \cdot \frac{\beta}{g_m} = 2 \cdot \frac{100}{20 \frac{mA}{V}} = 10 k \Omega' class='latex' /></p>
<p>So, for the BJT differential amplifier in this tutorial, the <strong>differential mode input impedance</strong> is:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=R_%7Bin%2CDM%7D%20%3D%2010%20k%20%5COmega&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{in,DM} = 10 k \Omega' title='R_{in,DM} = 10 k \Omega' class='latex' /> (<a href="http://engineersphere.com/basic-electrical-concepts/internal-resistance-and-the-effects-of-loading.html">what impact will this have?</a>)</p>
<h3>Common Mode Gain</h3>
<p>The CM gain (<img src='http://s.wordpress.com/latex.php?latex=A_%7Bv%2CCM%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A_{v,CM}' title='A_{v,CM}' class='latex' />) is the &#8220;gain&#8221; that common mode signals &#8220;see,&#8221; or rather, is the <em><a href="http://en.wikipedia.org/wiki/Attenuation">attenuation </a>applied to signals present on both differential inputs.</em> A good op amp attempts to eliminate all common mode signals, but this is obviously not possible in the real world.  However, one may compute the common mode gain by &#8220;cutting the amplifier in half&#8221; by observing one of the loops in the following diagram.  The path differs from that of differential signals because common mode signals make it so that the two signal sources don&#8217;t &#8220;see&#8221; each other.  Notice:<span style="text-decoration: underline;"><br />
</span></p>
<p>&nbsp;</p>
<div class="wp-caption alignnone" style="width: 548px"><img class=" " title="common mode voltage gain" src="http://i.imgur.com/g7Pmp.jpg" alt="common mode voltage gain" width="538" height="519" /><p class="wp-caption-text">Figure 6. Loop(s) analyzed to determine common mode voltage gain and input impedance</p></div>
<p>We choose a loop and draw the small-signal model to obtain:</p>
<div class="wp-caption alignnone" style="width: 603px"><img class=" " title="common mode gain BJT diff amp" src="http://i.imgur.com/nvmrN.jpg" alt="common mode gain BJT diff amp" width="593" height="441" /><p class="wp-caption-text">Figure 7. Small-signal model for common mode input signals</p></div>
<p>Similar to the output voltage of the differential mode small signal model, we can see that <img src='http://s.wordpress.com/latex.php?latex=V_o&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_o' title='V_o' class='latex' /> is the voltage across <img src='http://s.wordpress.com/latex.php?latex=r_%7Bo4%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r_{o4}' title='r_{o4}' class='latex' />.  We also know the current running through this resistance, and may equate the output voltage to:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_o%20%3D%20-%20g_mv_%7B%5Cpi%7D%20%5Ccdot%20r_%7Bo4%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_o = - g_mv_{\pi} \cdot r_{o4}' title='V_o = - g_mv_{\pi} \cdot r_{o4}' class='latex' /></p>
<p>This time, though, <img src='http://s.wordpress.com/latex.php?latex=v_%7Bin%2CCM%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='v_{in,CM}' title='v_{in,CM}' class='latex' /> isn&#8217;t distributed entirely over the resistances at the base.  Instead, a fraction of the input common mode input signal is across the base-emitter junction.  Referring back to the small signal model, we see that the loop composed of:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7Bin%7D%20%5Crightarrow%20v_%7B%5Cpi2%7D%20%5Crightarrow%20%28i_b%20%2B%20g_mv_%7B%5Cpi%202%7D%29%20%5Ccdot%202%20%5Ccdot%20r_%7Bo6%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in} \rightarrow v_{\pi2} \rightarrow (i_b + g_mv_{\pi 2}) \cdot 2 \cdot r_{o6}' title='V_{in} \rightarrow v_{\pi2} \rightarrow (i_b + g_mv_{\pi 2}) \cdot 2 \cdot r_{o6}' class='latex' /></p>
<p>reveals that:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7Bin%7D%20%3D%20v_%7B%5Cpi2%7D%20%2B%202%20%5Ccdot%20r_%7Bo6%7D%20%5Ccdot%20%28i_b%20%2B%20g_mv_%7B%5Cpi2%7D%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in} = v_{\pi2} + 2 \cdot r_{o6} \cdot (i_b + g_mv_{\pi2}) ' title='V_{in} = v_{\pi2} + 2 \cdot r_{o6} \cdot (i_b + g_mv_{\pi2}) ' class='latex' /></p>
<p>but <img src='http://s.wordpress.com/latex.php?latex=i_b&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='i_b' title='i_b' class='latex' /> is negligible compared to the current supplied by the collector, so we say:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7Bin%7D%20%3D%20v_%7B%5Cpi2%7D%20%2B%202%20%5Ccdot%20r_%7Bo6%7D%20%5Ccdot%20g_mv_%7B%5Cpi2%7D%20%3D%20v_%7B%5Cpi2%7D%20%5Ccdot%20%281%20%2B%202r_%7Bo6%7Dg_m%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in} = v_{\pi2} + 2 \cdot r_{o6} \cdot g_mv_{\pi2} = v_{\pi2} \cdot (1 + 2r_{o6}g_m)' title='V_{in} = v_{\pi2} + 2 \cdot r_{o6} \cdot g_mv_{\pi2} = v_{\pi2} \cdot (1 + 2r_{o6}g_m)' class='latex' /></p>
<p>which we use to solve for <img src='http://s.wordpress.com/latex.php?latex=v_%7B%5Cpi2%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='v_{\pi2}' title='v_{\pi2}' class='latex' />:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=v_%7B%5Cpi2%7D%20%3D%5Cfrac%7B%20v_%7Bin%7D%7D%7B1%20%2B%202%20%5Ccdot%20r_%7Bo6%7D%20%5Ccdot%20g_m%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='v_{\pi2} =\frac{ v_{in}}{1 + 2 \cdot r_{o6} \cdot g_m}' title='v_{\pi2} =\frac{ v_{in}}{1 + 2 \cdot r_{o6} \cdot g_m}' class='latex' /></p>
<p>Which we then plug back into the equation for <img src='http://s.wordpress.com/latex.php?latex=V_o&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_o' title='V_o' class='latex' />:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_o%20%3D%20-%20g_mv_%7B%5Cpi%7D%20%5Ccdot%20r_%7Bo4%7D%20%3D%20-%20%5Cfrac%7Br_%7Bo4%7Dg_m%7D%7B1%2B2%20%5Ccdot%20r_%7Bo6%7D%20%5Ccdot%20g_m%7D%20%5Ccdot%20V_%7Bin%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_o = - g_mv_{\pi} \cdot r_{o4} = - \frac{r_{o4}g_m}{1+2 \cdot r_{o6} \cdot g_m} \cdot V_{in}' title='V_o = - g_mv_{\pi} \cdot r_{o4} = - \frac{r_{o4}g_m}{1+2 \cdot r_{o6} \cdot g_m} \cdot V_{in}' class='latex' /></p>
<p>From this we can solve directly for the common mode gain:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=A_%7Bv%2CCM%7D%20%3D%20%5Cfrac%7BV_o%7D%7BV_%7Bin%7D%7D%20%3D%20-%5Cfrac%7Br_%7Bo4%7Dg_m%7D%7B1%20%2B%202r_%7Bo6%7Dg_m%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A_{v,CM} = \frac{V_o}{V_{in}} = -\frac{r_{o4}g_m}{1 + 2r_{o6}g_m}' title='A_{v,CM} = \frac{V_o}{V_{in}} = -\frac{r_{o4}g_m}{1 + 2r_{o6}g_m}' class='latex' /></p>
<p>Here, the <strong>common mode gain</strong> is:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=A_%7Bv%2CCM%7D%20%3D%20-.3845%20%3D%20-8.3%20dB&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A_{v,CM} = -.3845 = -8.3 dB' title='A_{v,CM} = -.3845 = -8.3 dB' class='latex' /></p>
<h3>Common Mode Input Impedance</h3>
<p>The common-mode input impedance <em>is the impedance that common-mode input signals &#8220;see.&#8221;</em> One can analyze the common mode input impedance (<img src='http://s.wordpress.com/latex.php?latex=R_%7Bin_%7BCM%7D%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{in_{CM}}' title='R_{in_{CM}}' class='latex' />)  by, again, &#8220;cutting the differential amplifier in half&#8221; and analyzing  one side the resulting schematic, assuming a common mode signal.  This  can be found by observing the figure 6, above.</p>
<p>Choosing one of these paths, we construct the corresponding small-signal model for common mode signals (<strong>assuming <img src='http://s.wordpress.com/latex.php?latex=r_%7Bo2%7D%20%3D%20%5Cinfty&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r_{o2} = \infty' title='r_{o2} = \infty' class='latex' /></strong>), which is shown in figure 7.  From this figure, deriving <img src='http://s.wordpress.com/latex.php?latex=R_%7Bin%2CCM%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{in,CM}' title='R_{in,CM}' class='latex' /> is simple.  Notice the currents flowing in the loop that consists of:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7Bin%7D%20%5Crightarrow%20i_b%20%5Ccdot%20r_%7B%5Cpi2%7D%20%5Crightarrow%20%28i_b%20%2B%20g_mv_%7B%5Cpi2%7D%29%20%5Ccdot%202%20%5Ccdot%20r_%7Bo6%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in} \rightarrow i_b \cdot r_{\pi2} \rightarrow (i_b + g_mv_{\pi2}) \cdot 2 \cdot r_{o6} ' title='V_{in} \rightarrow i_b \cdot r_{\pi2} \rightarrow (i_b + g_mv_{\pi2}) \cdot 2 \cdot r_{o6} ' class='latex' /></p>
<p>from this loop, one may compute:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=0%20%3D%20-V_%7Bin%7D%20%2B%20%20i_%7Bb%7D%20%5Ccdot%20r_%7B%5Cpi%202%7D%20%2B%20%20%28i_%7Bb%7D%20%2B%20g_mv_%7B%5Cpi%202%7D%29%20%5Ccdot%202%5Ccdot%20r_%7Bo6%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='0 = -V_{in} +  i_{b} \cdot r_{\pi 2} +  (i_{b} + g_mv_{\pi 2}) \cdot 2\cdot r_{o6} ' title='0 = -V_{in} +  i_{b} \cdot r_{\pi 2} +  (i_{b} + g_mv_{\pi 2}) \cdot 2\cdot r_{o6} ' class='latex' /></p>
<p>which is used to find an equation for <img src='http://s.wordpress.com/latex.php?latex=V_%7Bin%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in}' title='V_{in}' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7Bin%7D%20%3D%20%20%20i_%7Bb%7D%20%5Ccdot%20r_%7B%5Cpi%202%7D%20%2B%20%20%28i_%7Bb%7D%20%2B%20g_mv_%7B%5Cpi%202%7D%29%20%5Ccdot%202%5Ccdot%20r_%7Bo6%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in} =   i_{b} \cdot r_{\pi 2} +  (i_{b} + g_mv_{\pi 2}) \cdot 2\cdot r_{o6}' title='V_{in} =   i_{b} \cdot r_{\pi 2} +  (i_{b} + g_mv_{\pi 2}) \cdot 2\cdot r_{o6}' class='latex' /></p>
<p>and since:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=g_mv_%7B%5Cpi%202%7D%20%3D%20%5Cbeta%20%5Ccdot%20i_%7Bb%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='g_mv_{\pi 2} = \beta \cdot i_{b} ' title='g_mv_{\pi 2} = \beta \cdot i_{b} ' class='latex' /></p>
<p style="padding-left: 30px;">and <img src='http://s.wordpress.com/latex.php?latex=i_b%20%3D%20i_%7Bin%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='i_b = i_{in}' title='i_b = i_{in}' class='latex' /></p>
<p>So:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7Bin%7D%20%3D%20i_b%20%5Ccdot%20%28r_%7B%5Cpi%202%7D%20%2B%202%20%5Ccdot%20r_%7Bo6%7D%20%5Ccdot%20%28%20%5Cbeta%20%2B%201%29%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in} = i_b \cdot (r_{\pi 2} + 2 \cdot r_{o6} \cdot ( \beta + 1)) ' title='V_{in} = i_b \cdot (r_{\pi 2} + 2 \cdot r_{o6} \cdot ( \beta + 1)) ' class='latex' /></p>
<p>which is the same as:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7Bin%7D%20%3D%20i_%7Bin%7D%20%5Ccdot%20%28r_%7B%5Cpi%202%7D%20%2B%202%20%5Ccdot%20r_%7Bo6%7D%20%5Ccdot%20%28%20%5Cbeta%20%2B%201%29%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{in} = i_{in} \cdot (r_{\pi 2} + 2 \cdot r_{o6} \cdot ( \beta + 1)) ' title='V_{in} = i_{in} \cdot (r_{\pi 2} + 2 \cdot r_{o6} \cdot ( \beta + 1)) ' class='latex' /></p>
<p>which can be rearranged for:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=R_%7Bin%2CCM%7D%20%3D%20%5Cfrac%7BV_%7Bin%7D%7D%7Bi_%7Bin%7D%7D%20%3D%20r_%7B%5Cpi%202%7D%20%2B%202%20%5Ccdot%20r_%7Bo6%7D%20%5Ccdot%20%28%5Cbeta%20%2B%201%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{in,CM} = \frac{V_{in}}{i_{in}} = r_{\pi 2} + 2 \cdot r_{o6} \cdot (\beta + 1) ' title='R_{in,CM} = \frac{V_{in}}{i_{in}} = r_{\pi 2} + 2 \cdot r_{o6} \cdot (\beta + 1) ' class='latex' /></p>
<p style="padding-left: 30px;">where: <img src='http://s.wordpress.com/latex.php?latex=r_%7B%5Cpi%7D%20%3D%20%5Cfrac%7B%5Cbeta%7D%7Bg_m%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r_{\pi} = \frac{\beta}{g_m} ' title='r_{\pi} = \frac{\beta}{g_m} ' class='latex' /></p>
<p>Which, in this tutorial, results in:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=R_%7Bin%2CCM%7D%20%3D%20r_%7B%5Cpi%202%7D%20%2B%202%20%5Ccdot%20r_%7Bo6%7D%20%5Ccdot%20%28%5Cbeta%20%2B%201%29%20%3D%20%5Cfrac%7B1%20mA%7D%7B25%20mV%7D%20%2B%202%20%5Ccdot%20%5Cfrac%7B130%20V%7D%7B1%20mA%7D%20%5Ccdot%20%28100%20%2B%201%29%20%3D%2026.26%20M%5COmega&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{in,CM} = r_{\pi 2} + 2 \cdot r_{o6} \cdot (\beta + 1) = \frac{1 mA}{25 mV} + 2 \cdot \frac{130 V}{1 mA} \cdot (100 + 1) = 26.26 M\Omega' title='R_{in,CM} = r_{\pi 2} + 2 \cdot r_{o6} \cdot (\beta + 1) = \frac{1 mA}{25 mV} + 2 \cdot \frac{130 V}{1 mA} \cdot (100 + 1) = 26.26 M\Omega' class='latex' /></p>
<h3>Common Mode Rejection Ratio (CMRR)</h3>
<p>The common mode rejection ratio (CMRR) is simply a ratio of the differential mode gain to the common mode gain, and is defined as:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=CMRR%20%3D%20%5Cfrac%7BA_%7Bv%2CDM%7D%7D%7BA_%7Bv%2CCM%7D%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='CMRR = \frac{A_{v,DM}}{A_{v,CM}}' title='CMRR = \frac{A_{v,DM}}{A_{v,CM}}' class='latex' /></p>
<p>Here, the CMRR is:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=CMRR%20%3D%20%5Cfrac%7B-1444.4%20v%2Fv%7D%7B-.384%20v%2Fv%7D%20%3D%203761.46%20%3D%2071.5%20dB&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='CMRR = \frac{-1444.4 v/v}{-.384 v/v} = 3761.46 = 71.5 dB' title='CMRR = \frac{-1444.4 v/v}{-.384 v/v} = 3761.46 = 71.5 dB' class='latex' /></p>
<h3>Analysis of FET Differential Amplifiers</h3>
<p>As stated before, the analysis of these performance parameters are done virtually the same for FET diff amps as they are for BJT diff amps.  There are, however, a few key differences.  For one, all BJT transistors are typically built to be the same size on a given IC device.  But for an IC device that uses FETs, this is not the case.  Each FET has an adjustable length and width that affects how much current it will pass for a given voltage-drop across the device.  In fact, observe the equation for the <em>drain current </em>in a FET:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=I_D%20%3D%20%5Cfrac%7Bk_%7Bn%2Cp%7D%7D%7B2%7D%20%5Cfrac%7BW%7D%7BL%7D%20%28%7CV_%7BGS%7D%7C%20-%20%7CV_%7Bth_%7Bn%2Cp%7D%7D%7C%29%5E2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_D = \frac{k_{n,p}}{2} \frac{W}{L} (|V_{GS}| - |V_{th_{n,p}}|)^2' title='I_D = \frac{k_{n,p}}{2} \frac{W}{L} (|V_{GS}| - |V_{th_{n,p}}|)^2' class='latex' /></p>
<p>From this, the gate-source voltage is:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7BGS%7D%20%3D%20%5Csqrt%7B%5Cfrac%7B2I_DL%7D%7BkW%7D%7D%20-%20V_%7Bth_%7Bn%2Cp%7D%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{GS} = \sqrt{\frac{2I_DL}{kW}} - V_{th_{n,p}}' title='V_{GS} = \sqrt{\frac{2I_DL}{kW}} - V_{th_{n,p}}' class='latex' /></p>
<p>where:</p>
<ul>
<li><img src='http://s.wordpress.com/latex.php?latex=k&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='k' title='k' class='latex' /> is the process conductivity parameter, and is equal to:<br />
<blockquote><p><img src='http://s.wordpress.com/latex.php?latex=k%20%3D%20%5Cmu_%7Bn%2Cp%7D%20C_%7Box%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='k = \mu_{n,p} C_{ox}' title='k = \mu_{n,p} C_{ox}' class='latex' /> , which is the <a href="http://en.wikipedia.org/wiki/Electron_mobility">electron mobility</a> multiplied by the oxide capacitance</p></blockquote>
</li>
<li><img src='http://s.wordpress.com/latex.php?latex=W%2C%20L&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='W, L' title='W, L' class='latex' /> are the width and length of the device, respectively</li>
<li><img src='http://s.wordpress.com/latex.php?latex=V_%7BGS%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{GS}' title='V_{GS}' class='latex' /> is the gate-to-source voltage</li>
<li><img src='http://s.wordpress.com/latex.php?latex=V_%7Bth%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{th}' title='V_{th}' class='latex' /> is the <a href="http://en.wikipedia.org/wiki/Threshold_voltage">threshold voltage</a> of the FET</li>
</ul>
<p>Analyzing BJTs in a circuit is more simple because all base-emitter voltages are assumed to be equal.  But this is not the case for mosfets, and one must analyze the above equation (or others) to find device voltages.  But there is the threshold voltage &#8211; the minimum gate-to-source voltage that will allow for any conduction whatsoever.  The threshold voltage is a result of the FET fabrication process, and is typically provided on datasheets for each FET gender.</p>
<p>For a differential amplifier composed of FETs to work, it is imperative that all the FETs be in <strong>saturation mode</strong>.  For a FET to be in saturation implies:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%7CV_%7BDS%7D%7C%20%5Cge%20%7CV_%7BGS%7D%7C%20-%20%7CV_%7Bth%7D%7C&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='|V_{DS}| \ge |V_{GS}| - |V_{th}|' title='|V_{DS}| \ge |V_{GS}| - |V_{th}|' class='latex' /></p>
<p>So this must be checked when analyzing these types of circuits.</p>
<p>Another important difference is the derivation of the transconductance parameter, <img src='http://s.wordpress.com/latex.php?latex=g_m&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='g_m' title='g_m' class='latex' />.  When analyzed for a BJT, it was defined as the ratio of the change in collector current to the change in the base-emitter voltage.  For a FET there is a similar procedure, as the transconductance is defined as the ratio of the change in drain current to the change in gate-source voltage.  Mathematically, the transconductance parameter is:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=g_m%20%3D%20%5Cfrac%7B%5Cpartial%7Bi_D%7D%7D%7B%5Cpartial%7Bv_%7BGS%7D%7D%7D%20%3D%5Cfrac%7B%5Cpartial%28%20%5Cfrac%7Bk_%7Bn%2Cp%7D%7D%7B2%7D%20%5Cfrac%7BW%7D%7BL%7D%20%28%7CV_%7BGS%7D%7C%20-%20%7CV_%7Bth_%7Bn%2Cp%7D%7D%7C%29%5E2%29%7D%7B%5Cpartial%7Bv_%7BGS%7D%7D%7D%20%3D%20%5Csqrt%7B2I_Dk%5Cfrac%7BW%7D%7BL%7D%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='g_m = \frac{\partial{i_D}}{\partial{v_{GS}}} =\frac{\partial( \frac{k_{n,p}}{2} \frac{W}{L} (|V_{GS}| - |V_{th_{n,p}}|)^2)}{\partial{v_{GS}}} = \sqrt{2I_Dk\frac{W}{L}}' title='g_m = \frac{\partial{i_D}}{\partial{v_{GS}}} =\frac{\partial( \frac{k_{n,p}}{2} \frac{W}{L} (|V_{GS}| - |V_{th_{n,p}}|)^2)}{\partial{v_{GS}}} = \sqrt{2I_Dk\frac{W}{L}}' class='latex' /></p>
<p>The last notable difference is the computation for a FET&#8217;s small-signal resistance.  The equation describing <img src='http://s.wordpress.com/latex.php?latex=r_%7Bo%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r_{o}' title='r_{o}' class='latex' /> is:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=r_o%20%3D%20%5Cfrac%7B1%7D%7B%5Clambda%20I_D%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='r_o = \frac{1}{\lambda I_D}' title='r_o = \frac{1}{\lambda I_D}' class='latex' /></p>
<p>where <img src='http://s.wordpress.com/latex.php?latex=%5Clambda&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\lambda' title='\lambda' class='latex' /> is the <a href="http://en.wikipedia.org/wiki/Channel_length_modulation">channel-length modulation parameter</a>.</p>
<p>From this little discussion, you should be able to apply the principles used to analyze the BJT differential amplifier to the analysis of a FET-based differential amplifier.  But, of course, if you would like to see a FET differential amplifier explained in more detail, do not hesitate to <a href="http://engineersphere.com/ask-a-question">ask a question</a>!</p>
<h3>Credit &amp; Acknowledgment</h3>
<p>This post was created in March 2011 by Kansas State University Electrical Engineering student Safa Khamis.  A million thank yous extended to Safa for taking the time to document this important process for everyone else to learn from.  Please leave questions, comments, or ask a question in the questions section of the website.</p>
<p><span style="text-decoration: underline;"><br />
</span></p>
<div id="_mcePaste" class="mcePaste" style="position: absolute; left: -10000px; top: 2962px; width: 1px; height: 1px; overflow: hidden;">
<p><img src='http://s.wordpress.com/latex.php?latex=V_A_n%20%3D%20%5Cfrac%7BV_A_n%7D%7BI_C%7D%20%3D%20%5Cfrac%7B130%20V%7D%7B.5%20mA%7D%20%3D%20260%20k%5COmega&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_A_n = \frac{V_A_n}{I_C} = \frac{130 V}{.5 mA} = 260 k\Omega' title='V_A_n = \frac{V_A_n}{I_C} = \frac{130 V}{.5 mA} = 260 k\Omega' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_A_n%20%3D%20%5Cfrac%7BV_A_n%7D%7BI_C%7D%20%3D%20%5Cfrac%7B130%20V%7D%7B.5%20mA%7D%20%3D%20260%20k%5COmega&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_A_n = \frac{V_A_n}{I_C} = \frac{130 V}{.5 mA} = 260 k\Omega' title='V_A_n = \frac{V_A_n}{I_C} = \frac{130 V}{.5 mA} = 260 k\Omega' class='latex' /></p>
</div>
<p><script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/basic-electrical-concepts/dc-biasing-ac-performance-analysis-of-bjt-fet-amplifiers.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Convolution Integral Explained</title>
		<link>http://engineersphere.com/math/the-convolution-integral-explained.html</link>
		<comments>http://engineersphere.com/math/the-convolution-integral-explained.html#comments</comments>
		<pubDate>Thu, 10 Mar 2011 06:57:38 +0000</pubDate>
		<dc:creator>Safa</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Circuit Theory]]></category>
		<category><![CDATA[Linear Systems]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Signal Processing]]></category>
		<category><![CDATA[Unit Impulse Response]]></category>
		<category><![CDATA[convolutio integral]]></category>
		<category><![CDATA[convolution]]></category>
		<category><![CDATA[convolution integrals]]></category>
		<category><![CDATA[convolution table]]></category>
		<category><![CDATA[convolution tables]]></category>
		<category><![CDATA[impulse response]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=2179</guid>
		<description><![CDATA[TweetTweetIntroduction to the convolution Amongst the concepts that cause the most confusion to electrical engineering students, the Convolution Integral stands as a repeat offender.  As such, the point of this article is to explain what a convolution integral is, why engineers need it, and the math behind it. In essence, the &#8220;convolution&#8221; of two functions [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/the-convolution-integral-explained.html&via=EngineerSphere&text=The Convolution Integral Explained&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/the-convolution-integral-explained.html&via=EngineerSphere&text=The Convolution Integral Explained&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><h3>Introduction to the convolution<span style="text-decoration: underline;"><br />
</span></h3>
<p>Amongst the concepts that cause the most confusion to electrical engineering students, the <a href="http://engineersphere.com/math/the-convolution-integral-explained.html">Convolution Integral</a> stands as a repeat offender.  As such, the point of this article is to explain what a convolution integral is, why engineers need it, and the math behind it.</p>
<p>In essence, the &#8220;convolution&#8221; of two functions (over the same variable, e.g. <img src='http://s.wordpress.com/latex.php?latex=f_1%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f_1(t)' title='f_1(t)' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=f_2%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f_2(t)' title='f_2(t)' class='latex' />) is an operation that produces a separate third function that describes how the first function &#8220;modifies&#8221; the second one.  Conversely, the resulting function can be seen as how the second function &#8220;modifies&#8221; the first function.  Sometimes the result is used to describe how much the first two functions &#8220;have in common.&#8221;  In all honesty, the concept of the convolution of two functions is quite abstract, but the frequency at which it appears in nature grants its importance to scientists and engineers.  Ultimately the aim here is to identify its use to electrical engineers &#8211; so for now do not dwell solely on its mathematical significance.</p>
<p>A convolution of two functions is denoted with the operator &#8220;<img src='http://s.wordpress.com/latex.php?latex=%2A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='* ' title='* ' class='latex' />&#8221;, and is written as:</p>
<div class="wp-caption alignnone" style="width: 291px"><img class=" " title="Convolution Integral" src="http://mathurl.com/4r2zkod.png" alt="convolution integral" width="281" height="40" /><p class="wp-caption-text">Convolution of f1(t) and f2(t)</p></div>
<p>Where <img src='http://s.wordpress.com/latex.php?latex=%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau' title='\tau' class='latex' /> is used as a &#8220;dummy variable.&#8221;  To aid in understanding this equation, observe the following graphic:</p>
<div class="wp-caption alignnone" style="width: 478px"><img class="  " title="Convolution of 2 square pulses" src="http://upload.wikimedia.org/wikipedia/commons/6/6a/Convolution_of_box_signal_with_itself2.gif" alt="Convolution of 2 square pulses" width="468" height="147" /><p class="wp-caption-text">Convolution of two square pulses, resulting in a triangular pulse</p></div>
<p>Before diving any further into the math, let us first discuss the relevance of this equation to the realm of electrical engineering.</p>
<h3>Why is the convolution integral relevant?</h3>
<p>Most electrical circuits are designed to be <em>linear, time-invariant </em>(<a href="http://en.wikipedia.org/wiki/LTI_system_theory">LTI</a>) systems.  Being &#8220;linear&#8221; implies that the magnitude of a circuit&#8217;s output signal is a <strong>scaled </strong>version of the input signal&#8217;s magnitude.  Further, an LTI system that is excited by two independent signal sources will output the <strong>sum </strong>of the <strong>scaled </strong>versions of each signal.  This is extended for an infinite number of independent signal sources, and gives rise to the concept of <em>superposition</em>.  Put in another way, if a function <img src='http://s.wordpress.com/latex.php?latex=x_1%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1(t)' title='x_1(t)' class='latex' /> causes an LTI system to output <img src='http://s.wordpress.com/latex.php?latex=y_1%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y_1(t)' title='y_1(t)' class='latex' />, then:</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=a_1%20%5Ccdot%20x_1%28t%29%20%5Cto%20a_1%20%5Ccdot%20y_1%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='a_1 \cdot x_1(t) \to a_1 \cdot y_1(t)' title='a_1 \cdot x_1(t) \to a_1 \cdot y_1(t)' class='latex' /></p>
<p>Where <img src='http://s.wordpress.com/latex.php?latex=a_1&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='a_1' title='a_1' class='latex' /> is a multiplicative constant.  In addition to this, superposition allows us to say:</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=a_1%20%5Ccdot%20x_1%28t%29%20%2B%20a_2%20%5Ccdot%20x_2%28t%29%20%2B%20%5Cldots%20%5Cto%20a_1%20%5Ccdot%20y_1%28t%29%20%2B%20a_2%20%5Ccdot%20y_2%28t%29%20%2B%20%5Cldots%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='a_1 \cdot x_1(t) + a_2 \cdot x_2(t) + \ldots \to a_1 \cdot y_1(t) + a_2 \cdot y_2(t) + \ldots ' title='a_1 \cdot x_1(t) + a_2 \cdot x_2(t) + \ldots \to a_1 \cdot y_1(t) + a_2 \cdot y_2(t) + \ldots ' class='latex' /></p>
<p>Being a &#8220;time-invariant&#8221; system means <em>it does not matter when the input signal is applied</em> &#8211; a <em>specific </em>input signal will always result in <em>the same </em>output signal for a given LTI system.  Put mathematically, time-invariance can be expressed as:</p>
<p style="text-align: center;"><img src='http://s.wordpress.com/latex.php?latex=x_1%28t%29%20%5Cto%20y_1%28t%29%20%5CLeftrightarrow%20x_1%28t%2B%5Ctau%29%20%5Cto%20y_1%28t%2B%5Ctau%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1(t) \to y_1(t) \Leftrightarrow x_1(t+\tau) \to y_1(t+\tau) ' title='x_1(t) \to y_1(t) \Leftrightarrow x_1(t+\tau) \to y_1(t+\tau) ' class='latex' /></p>
<p>where <img src='http://s.wordpress.com/latex.php?latex=%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau' title='\tau' class='latex' /> can be viewed as a time delay when dealing with signals through time (i.e. &#8220;time-domain signals&#8221;).  Though not directly, this concept also signifies that <em>an output signal cannot contain frequency components not inherent in the input signal (</em>causality).</p>
<p>The vast majority of circuits are <a href="http://engineersphere.com/math/the-convolution-integral-explained.html">LTI systems</a>, each with a specific <em>impulse response. </em>The &#8220;impulse response&#8221; of a system is a system&#8217;s output when its input is fed with an <em>impulse signal</em> &#8211; a signal of infinitesimally short duration.  A real-world &#8220;impulse signal&#8221; would be something like a lightning bolt &#8211; or any form of ESD (electro-static dischage).   Basically, any voltage or current that spikes in magnitude for a <em>relatively</em> short period of time may be viewed as an impulse signal.  The impulse response of a circuit will always be a time-domain signal, and exists because no signal can propagate through a circuit in zero time; each individual electron involved can only move so quickly through each component.  Typically, real-world electronic LTI systems exhibit an impulse response that consists of an initial spike in magnitude, followed by an everlasting and ever-decreasing exponential relationship in signal magnitude.  The following image describes this graphically.</p>
<div class="wp-caption alignnone" style="width: 570px"><img title="Typical Unit Impulse Response" src="http://www.me.cmu.edu/ctms/modeling/tutorial/transferfunction/tutorial_tf_impulse.gif" alt="" width="560" height="420" /><p class="wp-caption-text">Typical Unit Impulse Response</p></div>
<p>So, here&#8217;s the big deal: the fact that each LTI circuit has a specific impulse response function (here, referred to as <img src='http://s.wordpress.com/latex.php?latex=h%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='h(t)' title='h(t)' class='latex' />) is very useful in predicting its behavior given a particular input signal (here, referred to as <img src='http://s.wordpress.com/latex.php?latex=x%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x(t)' title='x(t)' class='latex' />).  This is because the input signal itself may be viewed as an <em>impulse train &#8211; </em>a stream of continuous impulse functions, with infinitesimally short durations of time between each impulse.  This fact, along with superposition, allows one to find the output of an LTI system given an arbitrary input signal <em>by summing the LTI system&#8217;s impulse response to each impulse function that make up the input signal.</em> By allowing the time between each &#8220;impulse&#8221; of the input signal to go to zero, this approach can be used to determine the output time-domain signal of an LTI system for any time-domain input signal.  For example, the following graphic shows the output of an RC circuit when fed with a square pulse:</p>
<div class="wp-caption alignnone" style="width: 478px"><img title="RC square wave convolution" src="http://upload.wikimedia.org/wikipedia/commons/b/b9/Convolution_of_spiky_function_with_box2.gif" alt="" width="468" height="135" /><p class="wp-caption-text">Convolution of RC network impulse response and square wave input to find the output signal.</p></div>
<p>What is seen here is the integral of the impulse response and the input square wave <em>as the square wave is stepped through time.</em> In the above convolution equation, it is seen that the operation is done with respect to <img src='http://s.wordpress.com/latex.php?latex=%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau' title='\tau' class='latex' />, a dummy variable.  In reality, we are taking an input signal, flipping it vertically through the origin (not evident with a square wave), and determining what the integral is at each value of <img src='http://s.wordpress.com/latex.php?latex=%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau' title='\tau' class='latex' />, which here is <em>delay through time.</em> Since the output of any LTI system is non-causal (meaning it cannot exist until the signal that excites the output has been applied), we must mathematically step through time to see how each impulse signal of the input affects the LTI system&#8217;s impulse response &#8211; again, achieved by stepping through <img src='http://s.wordpress.com/latex.php?latex=%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau' title='\tau' class='latex' /> &#8211; the &#8220;time-delay&#8221; dummy variable.</p>
<h3>A Convolution Example</h3>
<p>To see how the convolution integral can be used to predict the output of an LTI circuit, observe the following example:<span style="text-decoration: underline;"> </span></p>
<p style="padding-left: 30px;">For an LTI system with an impulse response of <img src='http://s.wordpress.com/latex.php?latex=h%28t%29%20%3D%20e%5E%7B-2t%7Du%28t%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='h(t) = e^{-2t}u(t) ' title='h(t) = e^{-2t}u(t) ' class='latex' />, calculate the output, <img src='http://s.wordpress.com/latex.php?latex=y%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t)' title='y(t)' class='latex' />, given the input of:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=f%28t%29%20%3D%20e%5E%7B-t%7Du%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(t) = e^{-t}u(t)' title='f(t) = e^{-t}u(t)' class='latex' /></p>
<p style="padding-left: 30px;">The output of this system is found by solving:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=y%28t%29%20%3D%20h%28t%29%2Af%28t%29%20%3D%20%5Cint_%7B0%7D%5E%7B%5Cinfty%7D%20h%28%5Ctau%29%20%5Ccdot%20f%28t-%5Ctau%29%20d%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t) = h(t)*f(t) = \int_{0}^{\infty} h(\tau) \cdot f(t-\tau) d\tau' title='y(t) = h(t)*f(t) = \int_{0}^{\infty} h(\tau) \cdot f(t-\tau) d\tau' class='latex' /></p>
<p style="padding-left: 30px;">We only integrate between 0 and +<img src='http://s.wordpress.com/latex.php?latex=%5Cinfty&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\infty' title='\infty' class='latex' /> because, if we define <img src='http://s.wordpress.com/latex.php?latex=t%20%3D%200&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t = 0' title='t = 0' class='latex' /> as the time that the input signal <img src='http://s.wordpress.com/latex.php?latex=f%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(t)' title='f(t)' class='latex' /> is applied, then both <img src='http://s.wordpress.com/latex.php?latex=h%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='h(t)' title='h(t)' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=f%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(t)' title='f(t)' class='latex' /> have zero magnitude at any time <img src='http://s.wordpress.com/latex.php?latex=t%3C0&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t&lt;0' title='t&lt;0' class='latex' />.</p>
<p style="padding-left: 30px;">From there, we calculate:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=y%28t%29%20%3D%20%5Cint_%7B0%7D%5E%7B%5Cinfty%7D%20e%5E%7B-2%5Ctau%7Du%28%5Ctau%29%20%5Ccdot%20e%5E%7B-%5Ctau%7D%20d%5Ctau%3D%20%5Cint_%7B0%7D%5E%7Bt%7De%5E%7B-%5Ctau%7D%20%5Ccdot%20e%5E%7B-2%28t-%5Ctau%29%7Dd%5Ctau%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t) = \int_{0}^{\infty} e^{-2\tau}u(\tau) \cdot e^{-\tau} d\tau= \int_{0}^{t}e^{-\tau} \cdot e^{-2(t-\tau)}d\tau ' title='y(t) = \int_{0}^{\infty} e^{-2\tau}u(\tau) \cdot e^{-\tau} d\tau= \int_{0}^{t}e^{-\tau} \cdot e^{-2(t-\tau)}d\tau ' class='latex' /></p>
<p style="padding-left: 30px;">Next, we can simplify and compute the integral:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=y%28t%29%20%3D%20%5Cint_%7B0%7D%5E%7Bt%7De%5E%7B-%5Ctau%7D%20%5Ccdot%20e%5E%7B-2%28t-%5Ctau%29%7Dd%5Ctau%20%3D%20e%5E%7B-2t%7D%20%5Cint_%7B0%7D%5E%7Bt%7De%5E%7B%5Ctau%7Dd%5Ctau%20%3D%20e%5E%7B-2t%7D%28e%5Et-1%29%20%3D%20e%5E%7B-t%7D%20-%20e%5E%7B-2t%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t) = \int_{0}^{t}e^{-\tau} \cdot e^{-2(t-\tau)}d\tau = e^{-2t} \int_{0}^{t}e^{\tau}d\tau = e^{-2t}(e^t-1) = e^{-t} - e^{-2t}' title='y(t) = \int_{0}^{t}e^{-\tau} \cdot e^{-2(t-\tau)}d\tau = e^{-2t} \int_{0}^{t}e^{\tau}d\tau = e^{-2t}(e^t-1) = e^{-t} - e^{-2t}' class='latex' /></p>
<p style="padding-left: 30px;">Since <img src='http://s.wordpress.com/latex.php?latex=y%28t%29%20%3D%200&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t) = 0' title='y(t) = 0' class='latex' /> for all <img src='http://s.wordpress.com/latex.php?latex=t%20%3C%200&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t &lt; 0' title='t &lt; 0' class='latex' />, we can write the output <img src='http://s.wordpress.com/latex.php?latex=y%28t%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t) ' title='y(t) ' class='latex' /> as:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=y%28t%29%20%3D%20%28e%5E%7B-t%7D-e%5E%7B-2t%7D%29u%28t%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t) = (e^{-t}-e^{-2t})u(t) ' title='y(t) = (e^{-t}-e^{-2t})u(t) ' class='latex' /></p>
<p style="padding-left: 30px;">This result <img src='http://s.wordpress.com/latex.php?latex=y%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='y(t)' title='y(t)' class='latex' /> <em>describes the output function for an LTI system with an impulse response </em><img src='http://s.wordpress.com/latex.php?latex=h%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='h(t)' title='h(t)' class='latex' /> <em>when fed the input signal </em><img src='http://s.wordpress.com/latex.php?latex=f%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(t)' title='f(t)' class='latex' />.</p>
<h3>5 Steps to perform mathematical convolution</h3>
<p>Often, one may wish to compute the convolution of two signals that can&#8217;t be described with one function of time alone.  For arbitrary signals, such as pulse trains or PCM signals, the convolution <em>at any time t</em> can be computed graphically.  For signals <em>whose individual &#8220;sections&#8221; can be described mathematically</em>, follow these steps to perform a convolution:</p>
<p style="padding-left: 30px;">1.) Choose one of the two funtions (<img src='http://s.wordpress.com/latex.php?latex=h%28%5Ctau%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='h(\tau)' title='h(\tau)' class='latex' /> or <img src='http://s.wordpress.com/latex.php?latex=f%28%5Ctau%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(\tau)' title='f(\tau)' class='latex' />), and leave it fixed in <img src='http://s.wordpress.com/latex.php?latex=%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau' title='\tau' class='latex' />-space.</p>
<p style="padding-left: 30px;">2.) Flip the <em>other </em>function vertically across the origin, so that it is <em>time-inverted</em>.</p>
<p style="padding-left: 30px;">3.) Shift the inverted signal through the <img src='http://s.wordpress.com/latex.php?latex=%5Ctau%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau ' title='\tau ' class='latex' /> axis by <img src='http://s.wordpress.com/latex.php?latex=t_0%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t_0 ' title='t_0 ' class='latex' /> seconds.  Choose to shift the signal to the first &#8220;section&#8221; of the fixed function that is described by the same equation.  The inverted signal (say, <img src='http://s.wordpress.com/latex.php?latex=f%28-%20%5Ctau%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(- \tau) ' title='f(- \tau) ' class='latex' />), now shifted, represents <img src='http://s.wordpress.com/latex.php?latex=f%28t_0%20-%20%5Ctau%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(t_0 - \tau) ' title='f(t_0 - \tau) ' class='latex' />, which is basically a &#8220;freeze frame&#8221; of the output after the input signal has been fed to the LTI system for <img src='http://s.wordpress.com/latex.php?latex=t_0&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t_0' title='t_0' class='latex' /> seconds.</p>
<p style="padding-left: 30px;">4.) The integral of the two functions, after shifting the inverted function by <img src='http://s.wordpress.com/latex.php?latex=t_0&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t_0' title='t_0' class='latex' /> seconds, is the value of the convolution integral (i.e. output signal) at <img src='http://s.wordpress.com/latex.php?latex=t%20%3D%20t_0&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t = t_0' title='t = t_0' class='latex' />.</p>
<p style="padding-left: 30px;">5.) Repeat this procedure through all &#8220;sections&#8221; of the function fixed in <img src='http://s.wordpress.com/latex.php?latex=%5Ctau&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\tau' title='\tau' class='latex' />-space.  By doing this, you can compute the value of the output at any time <img src='http://s.wordpress.com/latex.php?latex=t&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='t' title='t' class='latex' />!</p>
<h3>Useful Properties</h3>
<p>&nbsp;</p>
<p>The following is a list of useful properties of the convolution integral that can help in developing an intuitive approach to solving problems:<span style="text-decoration: underline;"><br />
</span></p>
<p>1.) Commutative Property:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=f_1%28t%29%2Af_2%28t%29%20%3D%20f_2%28t%29%2Af_1%28t%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f_1(t)*f_2(t) = f_2(t)*f_1(t) ' title='f_1(t)*f_2(t) = f_2(t)*f_1(t) ' class='latex' /></p>
<p>2.) Distributive Property:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=f_1%28t%29%2A%5Bf_2%28t%29%2Bf_3%28t%29%5D%20%3D%20f_1%28t%29%2Af_2%28t%29%20%2B%20f_1%28t%29%2Af_3%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f_1(t)*[f_2(t)+f_3(t)] = f_1(t)*f_2(t) + f_1(t)*f_3(t)' title='f_1(t)*[f_2(t)+f_3(t)] = f_1(t)*f_2(t) + f_1(t)*f_3(t)' class='latex' /></p>
<p>3.) Associative Property:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=f_1%28t%29%2A%5Bf_2%28t%29%2Af_3%28t%29%5D%20%3D%20%5Bf_1%28t%29%2Af_2%28t%29%5D%2Af_3%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f_1(t)*[f_2(t)*f_3(t)] = [f_1(t)*f_2(t)]*f_3(t)' title='f_1(t)*[f_2(t)*f_3(t)] = [f_1(t)*f_2(t)]*f_3(t)' class='latex' /></p>
<p>4.) Shift Property:</p>
<p style="padding-left: 30px;">if <img src='http://s.wordpress.com/latex.php?latex=f_1%28t%29%2Af_2%28t%29%20%3D%20c%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f_1(t)*f_2(t) = c(t)' title='f_1(t)*f_2(t) = c(t)' class='latex' /></p>
<p style="padding-left: 30px;">then <img src='http://s.wordpress.com/latex.php?latex=f_1%28t-T_1%29%2Af_2%28t-T_2%29%20%3D%20c%28t-T_1-T_2%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f_1(t-T_1)*f_2(t-T_2) = c(t-T_1-T_2)' title='f_1(t-T_1)*f_2(t-T_2) = c(t-T_1-T_2)' class='latex' /></p>
<p>5.) Convolution with an Impulse results in the original function:</p>
<p style="padding-left: 30px;"><img src='http://s.wordpress.com/latex.php?latex=f%28t%29%2A%20%5Cdelta%20%28t%29%20%3D%20f%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='f(t)* \delta (t) = f(t)' title='f(t)* \delta (t) = f(t)' class='latex' /> where <img src='http://s.wordpress.com/latex.php?latex=%5Cdelta%20%28t%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\delta (t)' title='\delta (t)' class='latex' /> is the unit impulse function</p>
<p>6.) Width Property:</p>
<p style="padding-left: 30px;"><em>The convolution of a signal of duration </em><img src='http://s.wordpress.com/latex.php?latex=T_1&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='T_1' title='T_1' class='latex' /><em> and a signal of duration </em><img src='http://s.wordpress.com/latex.php?latex=T_2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='T_2' title='T_2' class='latex' /> <em>will result in a signal of duration</em> <img src='http://s.wordpress.com/latex.php?latex=T_3%20%3D%20T_1%20%2B%20T_2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='T_3 = T_1 + T_2' title='T_3 = T_1 + T_2' class='latex' /></p>
<h3>Convolution Table</h3>
<p>Finally, here is a<a href="http://i.imgur.com/nTgs9.jpg"> Convolution Table</a> that can <em>greatly </em>reduce the difficulty in solving convolution integrals.</p>
<p>Thank you so much to <a href="http://engineersphere.com">Safa Khamis</a> @ Kansas State University for taking the time to write this tutorial for Engineersphere and the <a href="http://www.ieee.org/index.html">electrical engineering community</a>.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/math/the-convolution-integral-explained.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Finding the Inverse of a Matrix</title>
		<link>http://engineersphere.com/math/finding-the-inverse-of-a-matrix.html</link>
		<comments>http://engineersphere.com/math/finding-the-inverse-of-a-matrix.html#comments</comments>
		<pubDate>Sun, 06 Mar 2011 03:26:46 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[identity matrix]]></category>
		<category><![CDATA[inverse]]></category>
		<category><![CDATA[inverse matrix property]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[matrix theory]]></category>
		<category><![CDATA[rref]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=2103</guid>
		<description><![CDATA[TweetTweetMatrix manipulations and properties Finding the inverse of a matrix is much more complex than finding the inverse of a number. All real numbers have an inverse (i.e. ). However, not all matrices have an inverse. There are several characteristics that allow us to visibly determine whether a matrix has an inverse but we will [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/finding-the-inverse-of-a-matrix.html&via=EngineerSphere&text=Finding the Inverse of a Matrix&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/finding-the-inverse-of-a-matrix.html&via=EngineerSphere&text=Finding the Inverse of a Matrix&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><h3>Matrix manipulations and properties</h3>
<p>Finding the inverse of a matrix is much more complex than finding the inverse of a number. All real numbers have an inverse (i.e. <img src='http://s.wordpress.com/latex.php?latex=6%5E%7B-1%7D%3D%20%5Cfrac%7B1%7D%7B6%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='6^{-1}= \frac{1}{6} ' title='6^{-1}= \frac{1}{6} ' class='latex' />). However, not all matrices have an inverse. There are several characteristics that allow us to visibly determine whether a matrix has an inverse but we will only focus on one. A matrix must be square (i.e. 2&#215;2, 3&#215;3, etc.) to have an inverse. Performing the following manipulations will be a waste of time if a matrix is not square. It is also important to know the inverse matrix property. Using my example above, <img src='http://s.wordpress.com/latex.php?latex=6%5E%7B-1%7D%20%2A%20%5Cfrac%7B1%7D%7B6%7D%20%3D%201%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='6^{-1} * \frac{1}{6} = 1 ' title='6^{-1} * \frac{1}{6} = 1 ' class='latex' /> and similarly with matrices, <img src='http://s.wordpress.com/latex.php?latex=A%20%2A%20A%5E%7B-1%7D%20%3D%20In%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A * A^{-1} = In ' title='A * A^{-1} = In ' class='latex' /> where In is the identity matrix (diagonal from top left to bottom right contains all 1&#8242;s, and everything else is 0) . We take advantage of this property when solving systems of matrices.</p>
<p>In words, the general algorithm for determining the existence of an inverse matrix is to manipulate the matrix into row reduced echelon form (rref). If the rref matrix is an identity matrix, then the inverse matrix exists. Hang on now, earlier I mentioned that there were other, visible characteristics that allow us to determine the existence of an inverse matrix, but now I&#8217;m asking you to perform a tedious process (without a calculator) with the same goal? Wouldn&#8217;t it be easier to first determine if finding the rref of the matrix is worthwhile? You&#8217;re right, except we are going to make a simple manipulation, and at the same time that we finish our rref process and determine that an inverse matrix exists, we will have found the inverse matrix! How do we do that? We will create an augmented matrix between our matrix in question, <img src='http://s.wordpress.com/latex.php?latex=A&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A' title='A' class='latex' />, and the appropriate identity matrix where the size of matrix <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> is equal to the size of matrix <img src='http://s.wordpress.com/latex.php?latex=In%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='In ' title='In ' class='latex' />. We will perform the same rref process to the augmented matrix <img src='http://s.wordpress.com/latex.php?latex=%7C%20A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='| A ' title='| A ' class='latex' /> <img src='http://s.wordpress.com/latex.php?latex=In%20%7C%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='In | ' title='In | ' class='latex' />. If the portion of our augmented matrix previously belonging to matrix <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> reduces to an identity matrix (indicating the existence of <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' /> ), then the portion previously belonging to the identity matrix, will equal <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' />.</p>
<h3>Some matrix math</h3>
<p>Now, for the math&#8230;</p>
<p>Suppose we are asked to find the inverse of the following matrix:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%20%5Cbegin%7Bbmatrix%7D1%263%263%5C%5C1%264%263%5C%5C1%263%264%5Cend%7Bbmatrix%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt=' \begin{bmatrix}1&amp;3&amp;3\\1&amp;4&amp;3\\1&amp;3&amp;4\end{bmatrix} ' title=' \begin{bmatrix}1&amp;3&amp;3\\1&amp;4&amp;3\\1&amp;3&amp;4\end{bmatrix} ' class='latex' /></p>
<p>First, we must set up the augmented matrix discussed above. Notice that I have simply placed the identity matrix (of the same size as <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> ) on the right of matrix <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' />.</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%20%5Cbegin%7Bbmatrix%7D1%263%263%261%260%260%5C%5C1%264%263%260%261%260%5C%5C1%263%264%260%260%261%5Cend%7Bbmatrix%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt=' \begin{bmatrix}1&amp;3&amp;3&amp;1&amp;0&amp;0\\1&amp;4&amp;3&amp;0&amp;1&amp;0\\1&amp;3&amp;4&amp;0&amp;0&amp;1\end{bmatrix} ' title=' \begin{bmatrix}1&amp;3&amp;3&amp;1&amp;0&amp;0\\1&amp;4&amp;3&amp;0&amp;1&amp;0\\1&amp;3&amp;4&amp;0&amp;0&amp;1\end{bmatrix} ' class='latex' /></p>
<h3>Finding the rref of an augmented matrix</h3>
<p>Next, we will attempt to find the rref of the augmented matrix. If the portion of the augmented matrix previously belonging to <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> yields an identity matrix, <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> is invertible.</p>
<p>rref <img src='http://s.wordpress.com/latex.php?latex=%20%20%5Cbegin%7Bbmatrix%7D1%263%263%261%260%260%5C%5C1%264%263%260%261%260%5C%5C1%263%264%260%260%261%5Cend%7Bbmatrix%7D%20%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='  \begin{bmatrix}1&amp;3&amp;3&amp;1&amp;0&amp;0\\1&amp;4&amp;3&amp;0&amp;1&amp;0\\1&amp;3&amp;4&amp;0&amp;0&amp;1\end{bmatrix}  ' title='  \begin{bmatrix}1&amp;3&amp;3&amp;1&amp;0&amp;0\\1&amp;4&amp;3&amp;0&amp;1&amp;0\\1&amp;3&amp;4&amp;0&amp;0&amp;1\end{bmatrix}  ' class='latex' /> = <img src='http://s.wordpress.com/latex.php?latex=%20%20%20%5Cbegin%7Bbmatrix%7D1%260%260%267%26-3%26-3%5C%5C0%261%260%26-1%261%260%5C%5C0%260%261%26-1%260%261%5Cend%7Bbmatrix%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='   \begin{bmatrix}1&amp;0&amp;0&amp;7&amp;-3&amp;-3\\0&amp;1&amp;0&amp;-1&amp;1&amp;0\\0&amp;0&amp;1&amp;-1&amp;0&amp;1\end{bmatrix} ' title='   \begin{bmatrix}1&amp;0&amp;0&amp;7&amp;-3&amp;-3\\0&amp;1&amp;0&amp;-1&amp;1&amp;0\\0&amp;0&amp;1&amp;-1&amp;0&amp;1\end{bmatrix} ' class='latex' /></p>
<p>Ok great! The left half of our augmented matrix reduced to an identity matrix. That means two things to us: the matrix has an inverse <em>and</em> we&#8217;ve already found the inverse. If you recall from above, <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' /> is the right half of the augmented matrix (after finding it&#8217;s rref, of course). So we can conclude:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%20%5Cbegin%7Bbmatrix%7D1%263%263%5C%5C1%264%263%5C%5C1%263%264%5Cend%7Bbmatrix%7D%5E%7B-1%7D%20%3D%20%5Cbegin%7Bbmatrix%7D7%26-3%26-3%5C%5C-1%261%260%5C%5C-1%260%261%5Cend%7Bbmatrix%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt=' \begin{bmatrix}1&amp;3&amp;3\\1&amp;4&amp;3\\1&amp;3&amp;4\end{bmatrix}^{-1} = \begin{bmatrix}7&amp;-3&amp;-3\\-1&amp;1&amp;0\\-1&amp;0&amp;1\end{bmatrix} ' title=' \begin{bmatrix}1&amp;3&amp;3\\1&amp;4&amp;3\\1&amp;3&amp;4\end{bmatrix}^{-1} = \begin{bmatrix}7&amp;-3&amp;-3\\-1&amp;1&amp;0\\-1&amp;0&amp;1\end{bmatrix} ' class='latex' /></p>
<p>If our rref of the augmented matrix had yielded anything other than an identity matrix, we would conclude that <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' /> does not exist. This method will simply allow us to determine the existence of and entries to <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' /> for any size matrix.</p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/math/finding-the-inverse-of-a-matrix.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Solving a Linear System Using the Inverse Matrix</title>
		<link>http://engineersphere.com/math/solving-a-linear-system-using-the-inverse-matrix.html</link>
		<comments>http://engineersphere.com/math/solving-a-linear-system-using-the-inverse-matrix.html#comments</comments>
		<pubDate>Thu, 03 Mar 2011 22:49:47 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Linear Systems]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[coefficient matrix]]></category>
		<category><![CDATA[inverse matrix]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[matrix division]]></category>
		<category><![CDATA[matrix multiplication]]></category>
		<category><![CDATA[matrix theory]]></category>
		<category><![CDATA[solving linear systems]]></category>
		<category><![CDATA[using inverse matrices]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=2009</guid>
		<description><![CDATA[TweetTweetDescribing the process of solving a linear system using the adjacent matrix is best done while performing an example. Suppose we have a system where is the coefficient matrix of our system, is the column vector containing our variables, and is the solution column vector. We are asked to solve for the column vector made [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/solving-a-linear-system-using-the-inverse-matrix.html&via=EngineerSphere&text=Solving a Linear System Using the Inverse Matrix&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/solving-a-linear-system-using-the-inverse-matrix.html&via=EngineerSphere&text=Solving a Linear System Using the Inverse Matrix&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><p>Describing the process of solving a linear system using the adjacent matrix is best done while performing an example. Suppose we have a system <img src='http://s.wordpress.com/latex.php?latex=A%2Ax%20%3D%20B%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A*x = B ' title='A*x = B ' class='latex' /> where <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> is the <a href="http://en.wikipedia.org/wiki/Coefficient_matrix">coefficient matrix</a> of our system, <img src='http://s.wordpress.com/latex.php?latex=x%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x ' title='x ' class='latex' /> is the column vector containing our variables, and <img src='http://s.wordpress.com/latex.php?latex=B%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='B ' title='B ' class='latex' /> is the solution column vector. We are asked to solve for the column vector <img src='http://s.wordpress.com/latex.php?latex=x%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x ' title='x ' class='latex' /> made up of variables <img src='http://s.wordpress.com/latex.php?latex=x_1&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1' title='x_1' class='latex' />, <img src='http://s.wordpress.com/latex.php?latex=x_2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_2' title='x_2' class='latex' />, and <img src='http://s.wordpress.com/latex.php?latex=x_3&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_3' title='x_3' class='latex' />.</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Cbegin%7Bbmatrix%7D1%263%263%5C%5C1%264%263%5C%5C1%263%264%5Cend%7Bbmatrix%7D%20%5Cbegin%7Bbmatrix%7D%20x_1%5C%5Cx_2%5C%5Cx_3%5Cend%7Bbmatrix%7D%20%3D%20%5Cbegin%7Bbmatrix%7D%2012%5C%5C-10%5C%5C16%5Cend%7Bbmatrix%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\begin{bmatrix}1&amp;3&amp;3\\1&amp;4&amp;3\\1&amp;3&amp;4\end{bmatrix} \begin{bmatrix} x_1\\x_2\\x_3\end{bmatrix} = \begin{bmatrix} 12\\-10\\16\end{bmatrix}' title='\begin{bmatrix}1&amp;3&amp;3\\1&amp;4&amp;3\\1&amp;3&amp;4\end{bmatrix} \begin{bmatrix} x_1\\x_2\\x_3\end{bmatrix} = \begin{bmatrix} 12\\-10\\16\end{bmatrix}' class='latex' /></p>
<p>Typically, we would divide <img src='http://s.wordpress.com/latex.php?latex=B%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='B ' title='B ' class='latex' /> by <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> to solve for <img src='http://s.wordpress.com/latex.php?latex=x%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x ' title='x ' class='latex' />, however there is no method for performing division between matrices. By taking advantage of the inverse matrix property <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%2AA%20%3D%201%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1}*A = 1 ' title='A^{-1}*A = 1 ' class='latex' />, we can simply the formula to solve for the column vector <img src='http://s.wordpress.com/latex.php?latex=x%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x ' title='x ' class='latex' />. The <a href="http://en.wikipedia.org/wiki/Commutativity">commutative property</a> does not apply in matrix multiplication so <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%2AB%20%5Cnot%3D%20B%2AA%5E%7B-1%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1}*B \not= B*A^{-1}' title='A^{-1}*B \not= B*A^{-1}' class='latex' />.  <em>Therefore we have have to be aware of the &#8216;order&#8217; in which we multiply</em>:</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%28A%5E%7B-1%7D%29%20%2A%20A%20%2A%20x%20%3D%20%28A%5E%7B-1%7D%29%20%2A%20B%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='(A^{-1}) * A * x = (A^{-1}) * B ' title='(A^{-1}) * A * x = (A^{-1}) * B ' class='latex' />      simplifies to      <img src='http://s.wordpress.com/latex.php?latex=x%20%3D%20A%5E%7B-1%7D%2AB%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x = A^{-1}*B ' title='x = A^{-1}*B ' class='latex' /></p>
<p>Notice that since we multiplied by <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' /> &#8216;first&#8217; on the left side of the equation, we also multiply &#8216;first&#8217; on the right side. Now, multiplying the inverse of matrix <img src='http://s.wordpress.com/latex.php?latex=A%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A ' title='A ' class='latex' /> by matrix <img src='http://s.wordpress.com/latex.php?latex=B%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='B ' title='B ' class='latex' /> will yield a column vector matching our <img src='http://s.wordpress.com/latex.php?latex=x_1&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1' title='x_1' class='latex' />, <img src='http://s.wordpress.com/latex.php?latex=x_2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_2' title='x_2' class='latex' />, and <img src='http://s.wordpress.com/latex.php?latex=x_3&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_3' title='x_3' class='latex' />. Below, I have used the equation <img src='http://s.wordpress.com/latex.php?latex=x%20%3D%20A%5E%7B-1%7D%2AB%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x = A^{-1}*B ' title='x = A^{-1}*B ' class='latex' /> and plugged the values for <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' /> into the equation. The product between <img src='http://s.wordpress.com/latex.php?latex=A%5E%7B-1%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='A^{-1} ' title='A^{-1} ' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=B%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='B ' title='B ' class='latex' /> is shown on the far right. Note: This article assumes you know how to find the inverse of a matrix. This process is described in my article <a href="http://engineersphere.com/math/finding-the-inverse-of-a-matrix.html">Finding The Inverse of a Matrix</a>.</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%20%5Cbegin%7Bbmatrix%7D%20x_1%5C%5Cx_2%5C%5Cx_3%5Cend%7Bbmatrix%7D%20%3D%20%5Cbegin%7Bbmatrix%7D7%26-3%26-3%5C%5C-1%261%260%5C%5C-1%260%261%5Cend%7Bbmatrix%7D%20%5Cbegin%7Bbmatrix%7D%20%2012%5C%5C-10%5C%5C16%5Cend%7Bbmatrix%7D%20%3D%20%5Cbegin%7Bbmatrix%7D%2066%5C%5C-22%5C%5C4%5Cend%7Bbmatrix%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt=' \begin{bmatrix} x_1\\x_2\\x_3\end{bmatrix} = \begin{bmatrix}7&amp;-3&amp;-3\\-1&amp;1&amp;0\\-1&amp;0&amp;1\end{bmatrix} \begin{bmatrix}  12\\-10\\16\end{bmatrix} = \begin{bmatrix} 66\\-22\\4\end{bmatrix}' title=' \begin{bmatrix} x_1\\x_2\\x_3\end{bmatrix} = \begin{bmatrix}7&amp;-3&amp;-3\\-1&amp;1&amp;0\\-1&amp;0&amp;1\end{bmatrix} \begin{bmatrix}  12\\-10\\16\end{bmatrix} = \begin{bmatrix} 66\\-22\\4\end{bmatrix}' class='latex' /></p>
<p>Therefore, <img src='http://s.wordpress.com/latex.php?latex=x_1%3D66&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_1=66' title='x_1=66' class='latex' />, <img src='http://s.wordpress.com/latex.php?latex=x_2%3D-22&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_2=-22' title='x_2=-22' class='latex' />, and <img src='http://s.wordpress.com/latex.php?latex=x_3%3D4&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='x_3=4' title='x_3=4' class='latex' />. Simple systems (i.e. this 3&#215;3 system) are much easier to solve with algebra instead of finding the inverse of the coefficient matrix and performing matrix multiplication. This application is more practical for larger systems or while working on Matrix Theory homework.</p>
<p><strong>Please leave comments by <a href="http://engineersphere.com/wp-login.php">signing in</a> and then clicking on the &#8220;sticky note&#8221; located in the top right corner of this post to show your appreciation to the author!</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/math/solving-a-linear-system-using-the-inverse-matrix.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Frequency Response for MOSFET/BJT</title>
		<link>http://engineersphere.com/basic-electrical-concepts/frequency-response-for-mosfetbjt.html</link>
		<comments>http://engineersphere.com/basic-electrical-concepts/frequency-response-for-mosfetbjt.html#comments</comments>
		<pubDate>Sun, 30 May 2010 01:48:25 +0000</pubDate>
		<dc:creator>Riley</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Circuit Theory]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Filter Design using Poles and Zeros]]></category>
		<category><![CDATA[BJT]]></category>
		<category><![CDATA[Cadence]]></category>
		<category><![CDATA[Electrical Engineering]]></category>
		<category><![CDATA[Electrical Engineering Concepts]]></category>
		<category><![CDATA[Engineer]]></category>
		<category><![CDATA[MOSFET]]></category>
		<category><![CDATA[Parallel Resistance Formula]]></category>
		<category><![CDATA[pole]]></category>
		<category><![CDATA[PSPICE]]></category>
		<category><![CDATA[transistor]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=926</guid>
		<description><![CDATA[TweetTweetThe frequency response of a BJT or MOSFET can be found using nearly the exact same process, with the only variations being caused by a single resistor and simple naming conventions that differ between the two devices. Before we start let&#8217;s think a little bit about what we&#8217;re doing: Our goal is going to be [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/basic-electrical-concepts/frequency-response-for-mosfetbjt.html&via=EngineerSphere&text=Frequency Response for MOSFET/BJT&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/basic-electrical-concepts/frequency-response-for-mosfetbjt.html&via=EngineerSphere&text=Frequency Response for MOSFET/BJT&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><p>The frequency response of a <strong>BJT</strong> or <strong>MOSFET </strong>can be found using nearly the exact same process, with the only variations being caused by a single resistor and simple naming conventions that differ between the two devices.</p>
<p>Before we start let&#8217;s think a little bit about what we&#8217;re doing:<br />
<strong>Our goal is going to be to find the pole(s) of the circuit</strong>.<br />
Okay?<span style="text-decoration: underline;"> What is a pole and why do I care where it is?</span><br />
A pole is a frequency at which the gain of the device rolls off. (remember that when it rolls off , it will be at the -3dB frequency with a slope of -20dB/decade)</p>
<p>We care because if the gain of a device rolls off at a certain frequency, then we won&#8217;t be able to amplify a signal above that frequency very well because the gain will be decreasing by 20dB/decade.</p>
<p>The procedure is nearly identical whether we are using a BJT of a MOSFET, but we will work each of them side by side just in case there might be any confusion, and we&#8217;ll follow these steps as we go through.  (we will also use some values that came from the output file when running a simulation of this circuit in Cadence (or PSPICE) )<img class="size-full wp-image-941 alignright" title="mosfet-amplifier" src="http://engineersphere.com/wp-content/uploads/2009/09/MOSFET.bmp" alt="mosfet-amplifier" width="320" height="271" /></p>
<p><img class="alignright size-full wp-image-942" title="bjt-amplifier" src="http://engineersphere.com/wp-content/uploads/2009/09/BJT.bmp" alt="bjt-amplifier" width="326" height="271" /><br />
1. Take a look at one of the circuits and see what you notice, how about the MOSFET.  This step is just to help us with our knowledge understanding of the circuit.<br />
- At a glance it just looks just like another MOSFET right? Sure is, but let&#8217;s take a look at a few things just for kicks. Notice that it is using a bypass capacitor at the source so we don&#8217;t have to worry about <img src='http://s.wordpress.com/latex.php?latex=R_s&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_s' title='R_s' class='latex' /> (at when working with high frequency).  Since the capacitor <img src='http://s.wordpress.com/latex.php?latex=C_s&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='C_s' title='C_s' class='latex' /> bypasses <img src='http://s.wordpress.com/latex.php?latex=R_s&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_s' title='R_s' class='latex' /> to ground, you should notice that this is a common-source amplifier.  You could notice the Values for <img src='http://s.wordpress.com/latex.php?latex=R_1&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_1' title='R_1' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=R_2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_2' title='R_2' class='latex' /> and start to think about what the Gate voltage is and how that may affect the circuit.<br />
2. We are talking about frequency response so that means we are probably going to want to draw the small signal equivalent circuit.<br />
Remember that the capacitors <img src='http://s.wordpress.com/latex.php?latex=C_1&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='C_1' title='C_1' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=C_2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='C_2' title='C_2' class='latex' /> will act like short circuits at high frequencies so we will ignore them, but we will have to account for some of the capacitance internal to the device.</p>
<p>Both devices have internal <a href="http://engineersphere.com/basic-electrical-concepts/capacitors.html">capacitances</a> that are very similar.  As you can see from the small signal models for a MOSFET (above) and BJT (below), the only significant difference is that the BJT has an additional resistance Rpi between the Base and Emitter.</p>
<p>Most of the analysis we will do is based on the small signal model. Note that small signal models are not typically used in PSPICE so this picture may look a bit odd, especially the controlled source but for our purpose it is good to have a visual reference. To start we will point out what everything is. Cgs is an internal capacitance betwe<a href="http://engineersphere.com/wp-content/uploads/2009/09/MOSFET-small-signal-model-PSPICE.png"><img class="alignright  size-full wp-image-1145" title="mosfet-small-signal-model" src="http://engineersphere.com/wp-content/uploads/2009/09/MOSFET-small-signal-model-PSPICE.png" alt="mosfet-small-signal-model" width="660" height="146" /></a></p>
<p>en the gate and source. The</p>
<p>values for Cgs was similar to one the a PSPICE simulation may give.  CM1 and CM2 are Miller capacitances which we will find values for later<a href="http://engineersphere.com/wp-content/uploads/2009/09/BJT-small-signal-model.png"><img class="alignright size-full wp-image-1147" title="bjt-small-signal-model" src="http://engineersphere.com/wp-content/uploads/2009/09/BJT-small-signal-model.png" alt="bjt-small-signal-model" width="650" height="170" /></a>.  ro is a Norton equivalent resistance that makes the model more ideal.  And just pretend that the G2 looks more like a voltage controlled current source and that their gains are gm*Vgs and gm*Vpi. For the BJT CM1 and CM2 are both Miller capacitances, Cpi is similar to Cgs and Rpi the additional component used for BJTs but not MOSFETs. The other part should look familiar from the other figures.</p>
<p>ON TO THE ANALYSIS!!!</p>
<p>We will find the device gain, overall gain, equivalent input and output capacitances, and the input and output poles. The process for both is essentially the same.</p>
<p>Device Gain: This is the gain from the control source to the output so we are looking for Vout/Vgs (or Vout/Vpi for a BJT). We will ignore CM2 for this process. Notice the resistances ro, RD, and RL are in parallel. Vout should be given by that equivalent resistance times the current though it which is gm*Vgs from the control source. So the equation for device gain is,</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7Bout%7D%20%2F%20V_%7Bgs%7D%20%3D%20gm%2A%28r_o%2F%2FR_D%2F%2FR_L%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{out} / V_{gs} = gm*(r_o//R_D//R_L)' title='V_{out} / V_{gs} = gm*(r_o//R_D//R_L)' class='latex' />   (MOSFET)</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7Bout%7D%20%2F%20V_%7B%5Cpi%7D%20%3D%20gm%2A%28r_o%2F%2FR_C%2F%2FR_L%29%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{out} / V_{\pi} = gm*(r_o//R_C//R_L) ' title='V_{out} / V_{\pi} = gm*(r_o//R_C//R_L) ' class='latex' />  (BJT)</p>
<p>Overall Gain: This will be the gain from the source (Vs) to the output (Vout). We already know what Vout/Vgs is so if we find Vgs/Vs, we can multiply them to get Vout/Vs = (Vout/Vgs) * (Vgs/Vs).  Vgs/Vs is a simple voltage divider. Hopefully you can see this from the small signal model (remember that we are ignoring the capacitors for now but they will play a part later).  The equations we will get for Vgs/Vs and the overall gain are.</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7Bgs%7D%20%2F%20V_s%20%3D%20%5Cfrac%7B%20%28R_1%2F%2FR_2%29%7D%7B%28R_1%2F%2FR_2%29%20%2B%20R_s%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{gs} / V_s = \frac{ (R_1//R_2)}{(R_1//R_2) + R_s}' title='V_{gs} / V_s = \frac{ (R_1//R_2)}{(R_1//R_2) + R_s}' class='latex' />  (MOSFET)</p>
<p>Overall Gain: <img src='http://s.wordpress.com/latex.php?latex=V_%7Bout%7D%20%2F%20V_s%20%3D%20%5Cfrac%7B%20%28R_1%2F%2FR_2%29%7D%7B%28R_1%2F%2FR_2%29%20%2B%20R_s%7D%20%2A%20gm%28r_o%2F%2FR_D%2F%2FR_L%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{out} / V_s = \frac{ (R_1//R_2)}{(R_1//R_2) + R_s} * gm(r_o//R_D//R_L)' title='V_{out} / V_s = \frac{ (R_1//R_2)}{(R_1//R_2) + R_s} * gm(r_o//R_D//R_L)' class='latex' />  (MOSFET)</p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_%7Bgs%7D%20%2F%20V_s%20%3D%20%5Cfrac%7B%20%28R_1%2F%2FR_2%2F%2Fr_%5Cpi%29%7D%7B%28R_1%2F%2FR_2%2F%2Fr_%5Cpi%29%20%2B%20R_s%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{gs} / V_s = \frac{ (R_1//R_2//r_\pi)}{(R_1//R_2//r_\pi) + R_s}' title='V_{gs} / V_s = \frac{ (R_1//R_2//r_\pi)}{(R_1//R_2//r_\pi) + R_s}' class='latex' />  (BJT)</p>
<p>Overall Gain: <img src='http://s.wordpress.com/latex.php?latex=V_%7Bout%7D%20%2F%20V_s%20%3D%20%5Cfrac%7B%20%28R_1%2F%2FR_2%2F%2Fr_%5Cpi%29%7D%7B%28R_1%2F%2FR_2%2F%2Fr_%5Cpi%29%20%2B%20R_s%7D%20%2A%20gm%28r_o%2F%2FR_C%2F%2FR_L%29&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{out} / V_s = \frac{ (R_1//R_2//r_\pi)}{(R_1//R_2//r_\pi) + R_s} * gm(r_o//R_C//R_L)' title='V_{out} / V_s = \frac{ (R_1//R_2//r_\pi)}{(R_1//R_2//r_\pi) + R_s} * gm(r_o//R_C//R_L)' class='latex' />  (BJT)</p>
<p>Now we will find the input and output poles.  For this we will need to look at the capacitances and use a formula to find the Miller capacitances, CM1 and CM2.  Any explanation for the miller capacitance will have to wait for another post or check out your <a title="Electronics Book" href="http://www.oup.com/us/companion.websites/umbrella/sedra/" target="_blank">Electronics Book</a>, <a title="Wikipedia" href="http://en.wikipedia.org/wiki/Miller_effect" target="_blank">Wikipedia</a>, <a title="Google" href="http://www.google.com/#hl=en&amp;q=Miller+effect&amp;aq=f&amp;aqi=g9&amp;aql=&amp;oq=&amp;gs_rfai=&amp;fp=bcdf8cbbf06dc4f" target="_blank">Google</a>, etc. but we will need to use a couple of special equations.  Overall we will need to find the input resistance and input capacitance for the input pole and the output resistance and output capacitance for the output pole.</p>
<p>Each pole will be at a frequency w=1/RC where the R and C are the equivalent R and C at that point, so to find the input pole, we will need to find the input resistance and the input capacitance.  These are found by looking into the input (the left side of the small signal model).  The voltage source will  act like a short so we see Rs in parallel with R1//R2 for the MOSFET (the BJT will have Rpi in parallel also).  The input capacitance will be Cgs in parallel with CM1 (the BJT will be the same).  The output resistance and capacitance are found the same way only looking in from the output (the right side of the small signal model).</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Comega_%7BIN%7D%20%3D%20%5Cfrac%7B1%7D%7BR_%7BIN%7DC_%7BIN%7D%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\omega_{IN} = \frac{1}{R_{IN}C_{IN}}' title='\omega_{IN} = \frac{1}{R_{IN}C_{IN}}' class='latex' />  <img src='http://s.wordpress.com/latex.php?latex=%5Comega_%7BOUT%7D%20%3D%20%5Cfrac%7B1%7D%7BR_%7BOUT%7DC_%7BOUT%7D%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\omega_{OUT} = \frac{1}{R_{OUT}C_{OUT}} ' title='\omega_{OUT} = \frac{1}{R_{OUT}C_{OUT}} ' class='latex' />    (MOSFET or BJT)</p>
<p>So the input pole will be: (MOSFET)</p>
<p><img src='http://s.wordpress.com/latex.php?latex=R_%7BIN%7D%20%3D%20R_S%2F%2FR_1%2F%2FR_2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{IN} = R_S//R_1//R_2' title='R_{IN} = R_S//R_1//R_2' class='latex' />  =  950                                     <img src='http://s.wordpress.com/latex.php?latex=R_%7BOUT%7D%20%3D%20r_o%2F%2FR_D%2F%2FR_L%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{OUT} = r_o//R_D//R_L ' title='R_{OUT} = r_o//R_D//R_L ' class='latex' /> =</p>
<p><img src='http://s.wordpress.com/latex.php?latex=C_%7BIN%7D%20%3D%20C_%7Bgs%7D%20%2B%20C_%7BM1%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='C_{IN} = C_{gs} + C_{M1}' title='C_{IN} = C_{gs} + C_{M1}' class='latex' />  =                                               <img src='http://s.wordpress.com/latex.php?latex=C_%7BOUT%7D%20%3D%20C_%7BM2%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='C_{OUT} = C_{M2} ' title='C_{OUT} = C_{M2} ' class='latex' /> =</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Comega_%7BIN%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\omega_{IN}' title='\omega_{IN}' class='latex' /> =                                                                          <img src='http://s.wordpress.com/latex.php?latex=%5Comega_%7BOUT%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\omega_{OUT}' title='\omega_{OUT}' class='latex' /> =</p>
<p>(BJT)</p>
<p>and the output pole will be: (MOSFET)</p>
<p>(BJT)</p>
<p><img src='http://s.wordpress.com/latex.php?latex=R_%7BIN%7D%20%3D%20R_S%2F%2FR_1%2F%2FR_2%2F%2Fr_%5Cpi&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{IN} = R_S//R_1//R_2//r_\pi' title='R_{IN} = R_S//R_1//R_2//r_\pi' class='latex' /> =                                  <img src='http://s.wordpress.com/latex.php?latex=R_%7BOUT%7D%20%3D%20r_o%2F%2FR_D%2F%2FR_L%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='R_{OUT} = r_o//R_D//R_L ' title='R_{OUT} = r_o//R_D//R_L ' class='latex' /> =</p>
<p><img src='http://s.wordpress.com/latex.php?latex=C_%7BIN%7D%20%3D%20C_%7BBE%7D%20%2B%20C_%7BM1%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='C_{IN} = C_{BE} + C_{M1}' title='C_{IN} = C_{BE} + C_{M1}' class='latex' /> =                                                 <img src='http://s.wordpress.com/latex.php?latex=C_%7BOUT%7D%20%3D%20C_%7BM2%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='C_{OUT} = C_{M2} ' title='C_{OUT} = C_{M2} ' class='latex' /> =</p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Comega_%7BIN%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\omega_{IN}' title='\omega_{IN}' class='latex' /> = <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B%7D%7B%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\frac{}{}' title='\frac{}{}' class='latex' />                                       <img src='http://s.wordpress.com/latex.php?latex=%5Comega_%7BOUT%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\omega_{OUT}' title='\omega_{OUT}' class='latex' /> =<img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B%7D%7B%7D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\frac{}{}' title='\frac{}{}' class='latex' /></p>
<p><strong>To Do</strong>:</p>
<p>finish input &amp; ouput R, input C, Pole (&amp; calculate answers)</p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/basic-electrical-concepts/frequency-response-for-mosfetbjt.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BJT Circuit and Symbol Conventions</title>
		<link>http://engineersphere.com/basic-electrical-concepts/bjt-circuit-and-symbol-conventions.html</link>
		<comments>http://engineersphere.com/basic-electrical-concepts/bjt-circuit-and-symbol-conventions.html#comments</comments>
		<pubDate>Mon, 19 Apr 2010 18:13:39 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Electronic Materials / Chemistry]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[base]]></category>
		<category><![CDATA[BJT]]></category>
		<category><![CDATA[collector]]></category>
		<category><![CDATA[Current]]></category>
		<category><![CDATA[emitter]]></category>
		<category><![CDATA[npn]]></category>
		<category><![CDATA[pnp]]></category>
		<category><![CDATA[transistor]]></category>
		<category><![CDATA[voltage]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=1484</guid>
		<description><![CDATA[TweetTweetThe following is an explanation of symbol conventions , voltage polarities and current directions for npn and pnp BJTs. The goal is to help understand these characteristics but not on the physical level of electrons and holes. The following figure shows practical operation of each BJT in the active mode. npn or pnp When looking [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/basic-electrical-concepts/bjt-circuit-and-symbol-conventions.html&via=EngineerSphere&text=BJT Circuit and Symbol Conventions&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/basic-electrical-concepts/bjt-circuit-and-symbol-conventions.html&via=EngineerSphere&text=BJT Circuit and Symbol Conventions&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><p>The following is an explanation of symbol conventions , voltage polarities and current directions for<em> npn</em> and <em>pnp</em> BJTs. The goal is to help understand these characteristics but not on the physical level of electrons and holes. The following figure shows practical operation of each BJT in the active mode.</p>
<p style="text-align: center;"><a href="../wp-content/uploads/2010/04/pnpANDnpn.bmp"></a><a href="http://engineersphere.com/wp-content/uploads/2010/04/pnpANDnpn.jpg"><img class="aligncenter size-full wp-image-1498" title="pnp-and-npn-bjts" src="http://engineersphere.com/wp-content/uploads/2010/04/pnpANDnpn.jpg" alt="pnp-and-npn-bjts" width="513" height="517" /></a></p>
<h3>npn or pnp</h3>
<p>When looking at a BJT, the easiest way to decide whether it is <em>npn</em> or<em> pnp</em> is to look at the emitter, which is always modeled as the arrow. If you remember that the arrow tail is always at a &#8216;p&#8217; node and the tip is at an &#8216;n&#8217; node, you can easily decide whether the BJT is <em>npn </em>or <em>pnp. </em>Remember that the collector and emitter are always either both &#8216;n&#8217; or both &#8216;p&#8217;.</p>
<h3>Determining Voltage Polarities</h3>
<p>It is important to know which direction the voltage&#8217;s will appear positive when we begin using nodal analysis to solve BJT circuits. Typically, there will be a voltage drop of .7 V over the <img src='http://s.wordpress.com/latex.php?latex=%7CV_%7BBE%7D%7C%20%3D%20%7CV_%7BEB%7D%7C%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='|V_{BE}| = |V_{EB}| ' title='|V_{BE}| = |V_{EB}| ' class='latex' /> nodes that will be used in these calculations. Whether <img src='http://s.wordpress.com/latex.php?latex=%7CV_%7BBE%7D%7C%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='|V_{BE}| ' title='|V_{BE}| ' class='latex' /> or <img src='http://s.wordpress.com/latex.php?latex=%7CV_%7BEB%7D%7C%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='|V_{EB}| ' title='|V_{EB}| ' class='latex' /> is positive is decided by the type of BJT. The voltage polarities are flipped between <em>pnp </em>and <em>npn </em>BJTs. Obviously, the only difference in the symbols between the two types of BJTS is the arrow, which is the emitter. If we remember the tip of the arrow is the lower voltage, we are able to deduce that <img src='http://s.wordpress.com/latex.php?latex=V_%7BBE%7D%20%3D%20.7V%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{BE} = .7V ' title='V_{BE} = .7V ' class='latex' /> for an <em>npn</em> BJT and <img src='http://s.wordpress.com/latex.php?latex=V_%7BEB%7D%20%3D%20.7%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{EB} = .7 ' title='V_{EB} = .7 ' class='latex' /> for <em>pnp</em>.</p>
<p>To be in the active mode, a BJT&#8217;s collector-emitter voltage must be above approximately .3 V. As above, this voltage polarity is reversed between <em>npn </em>and <em>pnp </em>BJTs. To determine, whether <img src='http://s.wordpress.com/latex.php?latex=V_%7BCE%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{CE} ' title='V_{CE} ' class='latex' /> or <img src='http://s.wordpress.com/latex.php?latex=V_%7BEC%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{EC} ' title='V_{EC} ' class='latex' /> should be positive, we can use our deduction of the base-emitter voltage polarity. The voltages, in active mode, drop from collector to base to emitter in<em> npn</em> BJTs and from emitter to base to collector in <em>pnp </em>BJTs. So, if we have figured out that we are using an <em>npn </em>BJT because <img src='http://s.wordpress.com/latex.php?latex=V_%7BBE%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{BE} ' title='V_{BE} ' class='latex' /> was a positive .7V, we know that the base voltage is higher than the emitter voltage. From here we know the collector must be higher than the base, and therefore, higher than the emitter. We have just figured out that <img src='http://s.wordpress.com/latex.php?latex=V_%7BCE%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{CE} ' title='V_{CE} ' class='latex' /> must be greater than the .3V to be working in active mode. Using the same logic, <img src='http://s.wordpress.com/latex.php?latex=V_%7BEC%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{EC} ' title='V_{EC} ' class='latex' /> must be greater than .3V for a <em>pnp </em>BJT to remain in active mode.</p>
<h3>Current Flow Directions</h3>
<p>Current directions are very simple to figure out. Just use the arrow. The collector and emitter currents always go in the direction of the arrow in active mode. The base current is a little more tricky to figure out, but is also fairly obvious when using the arrow as a reference. As you can see in the above <em>npn </em>circuit, where the arrow is &#8216;pointing&#8217; away from the base, the base current flows towards the BJT, in the direction the arrow is pointing. Oppositely in the <em>pnp </em>circuit, the base current flows away from the BJT, in the direction the arrow is pointing. There is a table of basic equations listed in my post titled &#8220;BJT Transistor Nodal Analysis&#8221; which would allow us to calculate each current using a different current, but using Kirchhoff&#8217;s Current Law, knowing two currents, we could calculate the third. For a <em>npn </em>BJT, <img src='http://s.wordpress.com/latex.php?latex=I_E%20-%20I_B%20-%20I_C%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_E - I_B - I_C = 0 ' title='I_E - I_B - I_C = 0 ' class='latex' /> and for a <em>pnp </em>BJT <img src='http://s.wordpress.com/latex.php?latex=I_C%20%2B%20I_B%20-I_E%20%3D%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_C + I_B -I_E = 0 ' title='I_C + I_B -I_E = 0 ' class='latex' />. Note that both of these equations evaluate to <img src='http://s.wordpress.com/latex.php?latex=I_E%20%3D%20I_C%20%2B%20I_B%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_E = I_C + I_B ' title='I_E = I_C + I_B ' class='latex' />.</p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/basic-electrical-concepts/bjt-circuit-and-symbol-conventions.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BJT Transistor Nodal Analysis</title>
		<link>http://engineersphere.com/basic-electrical-concepts/bjt-transistor-nodal-analysis.html</link>
		<comments>http://engineersphere.com/basic-electrical-concepts/bjt-transistor-nodal-analysis.html#comments</comments>
		<pubDate>Fri, 16 Apr 2010 20:53:33 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[alpha]]></category>
		<category><![CDATA[base]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[bipolar]]></category>
		<category><![CDATA[BJT]]></category>
		<category><![CDATA[collector]]></category>
		<category><![CDATA[Current]]></category>
		<category><![CDATA[emitter]]></category>
		<category><![CDATA[junction]]></category>
		<category><![CDATA[npn]]></category>
		<category><![CDATA[pnp]]></category>
		<category><![CDATA[transistor]]></category>
		<category><![CDATA[voltage]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=1361</guid>
		<description><![CDATA[TweetTweetBasic BJT Equations: It is also important to know that can be modeled as . These equations are not very informative by themselves so a few examples are demonstrated below. In both examples we will assume is very large. What this means for our calculations is . Since we also assume that . Finding missing [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/basic-electrical-concepts/bjt-transistor-nodal-analysis.html&via=EngineerSphere&text=BJT Transistor Nodal Analysis&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/basic-electrical-concepts/bjt-transistor-nodal-analysis.html&via=EngineerSphere&text=BJT Transistor Nodal Analysis&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><h3>Basic BJT Equations:</h3>
<p><img src='http://s.wordpress.com/latex.php?latex=i_C%20%3D%20%5Calpha%20i_E%20%5Chspace%7B20%20mm%7D%20i_B%20%3D%20%281-%20%5Calpha%20%29%20i_E%20%3D%20%5Cfrac%7Bi_E%7D%7B%5Cbeta%20%2B%201%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='i_C = \alpha i_E \hspace{20 mm} i_B = (1- \alpha ) i_E = \frac{i_E}{\beta + 1} ' title='i_C = \alpha i_E \hspace{20 mm} i_B = (1- \alpha ) i_E = \frac{i_E}{\beta + 1} ' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=i_C%20%3D%20%5Cbeta%20i_B%20%5Chspace%7B20%20mm%7D%20i_E%20%3D%20%28%20%5Cbeta%20%2B%201%29%20i_B%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='i_C = \beta i_B \hspace{20 mm} i_E = ( \beta + 1) i_B ' title='i_C = \beta i_B \hspace{20 mm} i_E = ( \beta + 1) i_B ' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Cbeta%20%3D%20%5Cfrac%7B%20%5Calpha%20%7D%7B%201%20-%20%5Calpha%20%7D%20%5Chspace%7B21mm%7D%20%5Calpha%20%3D%20%5Cfrac%7B%20%5Cbeta%20%7D%7B%20%5Cbeta%20%2B%201%20%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\beta = \frac{ \alpha }{ 1 - \alpha } \hspace{21mm} \alpha = \frac{ \beta }{ \beta + 1 } ' title='\beta = \frac{ \alpha }{ 1 - \alpha } \hspace{21mm} \alpha = \frac{ \beta }{ \beta + 1 } ' class='latex' /></p>
<p>It is also important to know that <img src='http://s.wordpress.com/latex.php?latex=%7CV_%7BEB%7D%7C%20%3D%20%7CV_%7BBE%7D%7C%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='|V_{EB}| = |V_{BE}| ' title='|V_{EB}| = |V_{BE}| ' class='latex' /> can be modeled as <img src='http://s.wordpress.com/latex.php?latex=.7V%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='.7V ' title='.7V ' class='latex' />.</p>
<p>These equations are not very informative by themselves so a few examples are demonstrated below. In both examples we will assume <img src='http://s.wordpress.com/latex.php?latex=%5Cbeta%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\beta ' title='\beta ' class='latex' /> is very large. What this means for our calculations is <img src='http://s.wordpress.com/latex.php?latex=i_B%20%5Capprox%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='i_B \approx 0 ' title='i_B \approx 0 ' class='latex' />. Since <img src='http://s.wordpress.com/latex.php?latex=i_B%20%5Capprox%200%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='i_B \approx 0 ' title='i_B \approx 0 ' class='latex' /> we also assume that <img src='http://s.wordpress.com/latex.php?latex=i_C%20%5Capprox%20i_E%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='i_C \approx i_E ' title='i_C \approx i_E ' class='latex' />.</p>
<h3>Finding missing voltages in a BJT circuit</h3>
<p><strong>Example 1. Solve for V3:<br />
</strong></p>
<h3><strong><a href="http://engineersphere.com/wp-content/uploads/2010/04/Ex1.bmp"><img class="size-full wp-image-1387 alignleft" title="bjt-voltages" src="http://engineersphere.com/wp-content/uploads/2010/04/Ex1.bmp" alt="bjt-voltages" width="214" height="364" /></a></strong>There are several ways to find <img src='http://s.wordpress.com/latex.php?latex=V_3%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_3 ' title='V_3 ' class='latex' />. The more &#8220;difficult&#8221; way is to first find the emitter current, <img src='http://s.wordpress.com/latex.php?latex=i_E%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='i_E ' title='i_E ' class='latex' />, and then use Ohm&#8217;s Law. Since we know <img src='http://s.wordpress.com/latex.php?latex=i_C%20%5Capprox%20i_E%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='i_C \approx i_E ' title='i_C \approx i_E ' class='latex' />, we can find the collector current, <img src='http://s.wordpress.com/latex.php?latex=i_C%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='i_C ' title='i_C ' class='latex' />, and then solve for <img src='http://s.wordpress.com/latex.php?latex=V_3%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_3 ' title='V_3 ' class='latex' />.</h3>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B-4-%28-10%29%7D%7B2.4k%20%7D%20%3D%20i_C%20%3D%202.5mA%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\frac{-4-(-10)}{2.4k } = i_C = 2.5mA ' title='\frac{-4-(-10)}{2.4k } = i_C = 2.5mA ' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=12%20-%20%28i_E%29%285.6k%29%20%3D%2012%20-%20%28i_C%29%285.6k%29%20%3D%20V_3%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='12 - (i_E)(5.6k) = 12 - (i_C)(5.6k) = V_3 ' title='12 - (i_E)(5.6k) = 12 - (i_C)(5.6k) = V_3 ' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_3%20%3D%2012%20-%20%282.5mA%29%285.6k%29%20%3D%20-2%20V%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_3 = 12 - (2.5mA)(5.6k) = -2 V ' title='V_3 = 12 - (2.5mA)(5.6k) = -2 V ' class='latex' /></p>
<p>The easier way to find <img src='http://s.wordpress.com/latex.php?latex=V_3%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_3 ' title='V_3 ' class='latex' /> is to recall that <img src='http://s.wordpress.com/latex.php?latex=%7CV_%7BEB%7D%7C%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='|V_{EB}| ' title='|V_{EB}| ' class='latex' /> behaves like a diode. For this <em>pnp</em> BJT: <img src='http://s.wordpress.com/latex.php?latex=V_%7BEB%7D%20%3D%20V_E%20-%20V_B%20%3D%20.7%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{EB} = V_E - V_B = .7 ' title='V_{EB} = V_E - V_B = .7 ' class='latex' />.</p>
<p>We know that <img src='http://s.wordpress.com/latex.php?latex=V_B%20%3D%20-2.7V%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_B = -2.7V ' title='V_B = -2.7V ' class='latex' /> so <img src='http://s.wordpress.com/latex.php?latex=V_E%20%3D%20V_3%20%3D%20-2%20V%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_E = V_3 = -2 V ' title='V_E = V_3 = -2 V ' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=%5Cbeta%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\beta ' title='\beta ' class='latex' /> may not always be a very large number. Had that been the case here, we would have started by finding the collector current (since it&#8217;s voltage drop and resistance are given) and since <img src='http://s.wordpress.com/latex.php?latex=i_B%20%5Cneq%200&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='i_B \neq 0' title='i_B \neq 0' class='latex' /> anymore, we would use the formulas above to the find the base and collector current.</p>
<h2><strong> </strong></h2>
<h3></h3>
<h3></h3>
<h3></h3>
<h3></h3>
<h3>Finding BJT Bias Voltages and Currents</h3>
<p><strong>Example 2 Solve for V2 and I1:</strong></p>
<p><img class="size-full wp-image-1387 alignleft" title="bjt-bias-current" src="http://engineersphere.com/wp-content/uploads/2010/04/Ex2.bmp" alt="bjt-bias-current" width="209" height="329" /></p>
<p>Here we will want to start by finding <img src='http://s.wordpress.com/latex.php?latex=I_1%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_1 ' title='I_1 ' class='latex' />. <img src='http://s.wordpress.com/latex.php?latex=I_1%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_1 ' title='I_1 ' class='latex' /> also equals <img src='http://s.wordpress.com/latex.php?latex=I_E%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_E ' title='I_E ' class='latex' /> which approximately equals <img src='http://s.wordpress.com/latex.php?latex=I_C%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_C ' title='I_C ' class='latex' /> and this collector current will allow us to find <img src='http://s.wordpress.com/latex.php?latex=V_2%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_2 ' title='V_2 ' class='latex' /> .</p>
<p><img src='http://s.wordpress.com/latex.php?latex=I_1%20%3D%20%5Cfrac%7B10.7-.7%7D%7B10k%7D%20%3D%201mA%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='I_1 = \frac{10.7-.7}{10k} = 1mA ' title='I_1 = \frac{10.7-.7}{10k} = 1mA ' class='latex' /></p>
<p><img src='http://s.wordpress.com/latex.php?latex=V_2%20%3D%20%281mA%29%2810k%29%20-%2010.7%20%3D%20-.7%20V%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_2 = (1mA)(10k) - 10.7 = -.7 V ' title='V_2 = (1mA)(10k) - 10.7 = -.7 V ' class='latex' /></p>
<p>Notice that <img src='http://s.wordpress.com/latex.php?latex=V_E%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_E ' title='V_E ' class='latex' /> was given as <img src='http://s.wordpress.com/latex.php?latex=.7%20V%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='.7 V ' title='.7 V ' class='latex' />.  If this had not been given, we would have been able to find it because <img src='http://s.wordpress.com/latex.php?latex=V_%7BEB%7D%20%3D%20V_E%20-%20V_B%20%3D%20.7%20V%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{EB} = V_E - V_B = .7 V ' title='V_{EB} = V_E - V_B = .7 V ' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=V_B%20%3D%200%20V%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_B = 0 V ' title='V_B = 0 V ' class='latex' />.</p>
<p>Similar to the previous example, if <img src='http://s.wordpress.com/latex.php?latex=%5Cbeta%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\beta ' title='\beta ' class='latex' /> was not a very large number. We would first find the emitter current and then use the equations in the table to find the other branch currents.</p>
<p>Note that both of these examples used <em>pnp</em> BJTs. The difference in an <em>npn</em> BJT is the base-emitter voltage is reveresed. You would use <img src='http://s.wordpress.com/latex.php?latex=V_%7BBE%7D%20%3D%20V_B%20-%20V_E%20%3D%20.7%20V&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='V_{BE} = V_B - V_E = .7 V' title='V_{BE} = V_B - V_E = .7 V' class='latex' />.</p>
<h3><strong> </strong> General Rule of Thumb<strong><br />
</strong></h3>
<p>Most of these problems are very simple to solve. Typically <img src='http://s.wordpress.com/latex.php?latex=%5Cbeta%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\beta ' title='\beta ' class='latex' /> is given and you will need to use Ohm&#8217;s Law to identify one of the currents. After one of the currents is found you will be able to solve for the other currents using the basic equations listed above. If one of the currents is not immediately obvious, the base-emitter voltage is likely needed. Most problems have you deduce the emitter voltage from the base, but it is easily possible to find the base voltage from the emitter voltage and then use that to find the base current.</p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/basic-electrical-concepts/bjt-transistor-nodal-analysis.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Time Shifting and Scaling of Functions</title>
		<link>http://engineersphere.com/math/time-shifting-and-scaling-of-functions.html</link>
		<comments>http://engineersphere.com/math/time-shifting-and-scaling-of-functions.html#comments</comments>
		<pubDate>Wed, 07 Apr 2010 21:19:17 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Linear Systems]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[Signal Transmission, Filters, and Applications]]></category>
		<category><![CDATA[amplitude]]></category>
		<category><![CDATA[duration]]></category>
		<category><![CDATA[function]]></category>
		<category><![CDATA[graph]]></category>
		<category><![CDATA[scale]]></category>
		<category><![CDATA[shift]]></category>
		<category><![CDATA[signal]]></category>
		<category><![CDATA[time]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=1317</guid>
		<description><![CDATA[TweetTweetWe&#8217;ll begin with a square function, f(t), that has a an amplitude of 1, a start time of 2 seconds and an end time of 4 seconds. Next, a time shift is demonstrated. Here our function is changed from f(t) to f(t-2). Notice that subtracting 2 from t in the function results in a positive [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/time-shifting-and-scaling-of-functions.html&via=EngineerSphere&text=Time Shifting and Scaling of Functions&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/math/time-shifting-and-scaling-of-functions.html&via=EngineerSphere&text=Time Shifting and Scaling of Functions&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><p>We&#8217;ll begin with a square function, f(t), that has a an amplitude of 1, a start time of 2 seconds and an end time of 4 seconds.</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="square-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/ft.bmp" alt="square-wave" width="446" height="351" /></p>
<p>Next, a time shift is demonstrated. Here our function is changed from f(t) to f(t-2). Notice that subtracting 2 from t in the function results in a positive shift of the graph.</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="positive-shifted-square-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/ft-2.bmp" alt="positive-shifted-square-wave" width="446" height="351" /></p>
<p>In the next two graphs t will be scaled. Scaling t is not quite as intuitive as we may have expected. When we multiply t by 2, corresponding points of the function now occur at 1/2 the time they previously had. When we divide t by 2, each corresponding time on the graph occurs at a t that is now multiplied by 2. Notice that each of these factors directly affects the duration of the signal.</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="time-shifted-square-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/f2t.bmp" alt="time-shifted-square-wave" width="446" height="351" /><br />
<img class="size-full wp-image-1321 aligncenter" title="time-shifted-square-wave2" src="http://engineersphere.com/wp-content/uploads/2010/04/f.5t.bmp" alt="time-shifted-square-wave2" width="446" height="351" /></p>
<p>Scaling the amplitude has more intuitive results. If we multiply f(t) by 2, the amplitude of 1 is changed to 2. Multiplying f(t) by 1/2 results in an amplitude of 1/2.</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="taller-square-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/2ft.bmp" alt="taller-square-wave" width="446" height="351" /><br />
<img class="size-full wp-image-1321 aligncenter" title="truncated-square-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/5ft.bmp" alt="truncated-square-wave" width="446" height="351" /></p>
<p>Finally, multiplying t by -1 mirrors our function over the y-axis. Each time now occurs at its negative.</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="mirrored-square-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/f-t.bmp" alt="mirrored-square-wave" width="446" height="351" /></p>
<p><strong><br />
Example:</strong><br />
Here we will attempt to convert f(t) into 2*f(.5t+3). The graph of f(t) is shown below.</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="triangle-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/exampleft.bmp" alt="triangle-wave" width="446" height="351" /></p>
<p>The easiest way to handle this type of problem without error is to manipulate the function one step at a time. First, I have converted f(t) into 2*f(t). Only the peaks are changed here (by a factor of 2).</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="triangle-wave2" src="http://engineersphere.com/wp-content/uploads/2010/04/example2ft.bmp" alt="triangle-wave2" width="446" height="351" /></p>
<p>Next, I convert 2*f(t) into 2*f( <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B1%7D%7B2%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\frac{1}{2} ' title='\frac{1}{2} ' class='latex' /> t). Notice how the <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B1%7D%7B2%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\frac{1}{2} ' title='\frac{1}{2} ' class='latex' /> actually expands our graph duration by a factor of 2 (from a 6 sec duration to a 12 sec duration).</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="shifted-triangle-wave" src="http://engineersphere.com/wp-content/uploads/2010/04/example2fhalft.bmp" alt="shifted-triangle-wave" width="446" height="351" /></p>
<p>Finally, we move from 2*f( <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B1%7D%7B2%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\frac{1}{2} ' title='\frac{1}{2} ' class='latex' /> t) to 2*f( <img src='http://s.wordpress.com/latex.php?latex=%5Cfrac%7B1%7D%7B2%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='\frac{1}{2} ' title='\frac{1}{2} ' class='latex' /> t + 3). As shown in the discussion above, this is a time shift. Time shifts can be a little confusing because adding results in a negative shift of our graph. Try to think of it as our signal occurring 3 seconds earlier than before, reading from left to right on the graph. The easiest way to do this part is shift each x-intercept by 3 seconds (to the left, of course).</p>
<p style="text-align: center;"><img class="size-full wp-image-1321 aligncenter" title="shifted-triangle-wave2" src="http://engineersphere.com/wp-content/uploads/2010/04/example2fhalftplus3.bmp" alt="shifted-triangle-wave2" width="446" height="351" /></p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/math/time-shifting-and-scaling-of-functions.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Calculating Electron and Hole Concentrations in a p-n Junction</title>
		<link>http://engineersphere.com/basic-electrical-concepts/acceptorsdonors-and-holeselectrons.html</link>
		<comments>http://engineersphere.com/basic-electrical-concepts/acceptorsdonors-and-holeselectrons.html#comments</comments>
		<pubDate>Wed, 24 Mar 2010 21:47:30 +0000</pubDate>
		<dc:creator>Luke</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Electronic Materials / Chemistry]]></category>
		<category><![CDATA[Electronics]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[acceptor]]></category>
		<category><![CDATA[atom]]></category>
		<category><![CDATA[calculate]]></category>
		<category><![CDATA[concentration]]></category>
		<category><![CDATA[donor]]></category>
		<category><![CDATA[electron]]></category>
		<category><![CDATA[hole]]></category>
		<category><![CDATA[junction]]></category>
		<category><![CDATA[n]]></category>
		<category><![CDATA[n-p]]></category>
		<category><![CDATA[n-type]]></category>
		<category><![CDATA[p]]></category>
		<category><![CDATA[p-n]]></category>
		<category><![CDATA[p-type]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=1249</guid>
		<description><![CDATA[TweetTweetCalculating hole and electron concentrations Sometimes it can be complicated understanding and calculating hole and electron concentrations. My intent in this article is to briefly, but thoroughly describe what the variables used in these calculations mean and how to use them. To begin I will introduce our variables concentration of free electrons (donors) concentration of [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/basic-electrical-concepts/acceptorsdonors-and-holeselectrons.html&via=EngineerSphere&text=Calculating Electron and Hole Concentrations in a p-n Junction&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/basic-electrical-concepts/acceptorsdonors-and-holeselectrons.html&via=EngineerSphere&text=Calculating Electron and Hole Concentrations in a p-n Junction&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><h3>Calculating hole and electron concentrations</h3>
<p>Sometimes it can be complicated understanding and calculating hole and electron concentrations. My intent in this article is to briefly, but thoroughly describe what the variables used in these calculations mean and how to use them.</p>
<p style="text-align: left;"><strong>To begin I will introduce our variables</strong></p>
<p><img src='http://s.wordpress.com/latex.php?latex=n%20%3D%20%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n =  ' title='n =  ' class='latex' /> concentration of free electrons (donors)<br />
<img src='http://s.wordpress.com/latex.php?latex=p%20%3D%20%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='p =  ' title='p =  ' class='latex' /> concentration of holes (acceptors)<br />
<img src='http://s.wordpress.com/latex.php?latex=n_i%20%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n_i  ' title='n_i  ' class='latex' /> = number of free electrons and holes in a unit volume</p>
<h3 style="text-align: left;">In thermal equilibrium(or no doping)</h3>
<p><img src='http://s.wordpress.com/latex.php?latex=n%3Dp%3Dn_i%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n=p=n_i ' title='n=p=n_i ' class='latex' /> and, therefore <img src='http://s.wordpress.com/latex.php?latex=n%20%5Ccdot%20p%3Dn_i%5E2%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n \cdot p=n_i^2 ' title='n \cdot p=n_i^2 ' class='latex' /></p>
<p>However, doping is common in most examples. To increase the concentration of free electrons, an element with 5 valence electrons is used (i.e. Phosphorous). The resultant material is said to be n-type. To increase the number of holes, an element with 3 valence electrons is used (i.e. Boron). The resultant material is said to be p-type.</p>
<p>This introduces subscript n&#8217;s and p&#8217;s along with our concentration of free electron and hole variables.</p>
<h3 style="text-align: left;">n-type silicon:</h3>
<p><img src='http://s.wordpress.com/latex.php?latex=n_n%20%3D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n_n = ' title='n_n = ' class='latex' /> concentration of free electrons (in n-type silicon)<br />
<img src='http://s.wordpress.com/latex.php?latex=p_n%20%3D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='p_n = ' title='p_n = ' class='latex' /> concentration of holes (in n-type silicon)</p>
<h3 style="text-align: left;">p-type silicon:</h3>
<p><img src='http://s.wordpress.com/latex.php?latex=n_p%20%3D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n_p = ' title='n_p = ' class='latex' /> concentration of free electrons (in p-type silicon)<br />
<img src='http://s.wordpress.com/latex.php?latex=p_p%20%3D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='p_p = ' title='p_p = ' class='latex' /> concentration of holes (in p-type silicon)</p>
<p>Note: The subscript indicates whether the material is n-type or p-type.</p>
<p style="text-align: left;"><span style="text-decoration: underline;"><strong>Calculations</strong></span></p>
<p>Typically you first want to identify whether the material you are working with is p-type or n-type. This introduces two new variables. <img src='http://s.wordpress.com/latex.php?latex=N_D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='N_D' title='N_D' class='latex' /> which refers to the concentration of donor atoms and <img src='http://s.wordpress.com/latex.php?latex=N_A&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='N_A' title='N_A' class='latex' /> which refers to the concentration of acceptor atoms.</p>
<h3 style="text-align: left;">n-type silicon:</h3>
<p>Here you will use the variables <img src='http://s.wordpress.com/latex.php?latex=n_n&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n_n' title='n_n' class='latex' />, <img src='http://s.wordpress.com/latex.php?latex=p_n&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='p_n' title='p_n' class='latex' />, <img src='http://s.wordpress.com/latex.php?latex=n_i%5E2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n_i^2' title='n_i^2' class='latex' />, and <img src='http://s.wordpress.com/latex.php?latex=N_D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='N_D' title='N_D' class='latex' />.</p>
<p><img src='http://s.wordpress.com/latex.php?latex=n_n%20%5Capprox%20N_D%20%5Cquad%20%5Cquad%20n_n%20%5Ccdot%20p_n%20%3D%20n_i%5E2%20%5Cquad%20%5Cquad%20p_n%20%3D%20%5Cfrac%7Bn_%7Bi%7D%5E%7B2%7D%7D%7BN_%7BD%7D%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n_n \approx N_D \quad \quad n_n \cdot p_n = n_i^2 \quad \quad p_n = \frac{n_{i}^{2}}{N_{D}} ' title='n_n \approx N_D \quad \quad n_n \cdot p_n = n_i^2 \quad \quad p_n = \frac{n_{i}^{2}}{N_{D}} ' class='latex' /></p>
<h3 style="text-align: left;">p-type silicon:</h3>
<p>Here you will use the variables <img src='http://s.wordpress.com/latex.php?latex=n_p&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n_p' title='n_p' class='latex' />, <img src='http://s.wordpress.com/latex.php?latex=p_p&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='p_p' title='p_p' class='latex' />, <img src='http://s.wordpress.com/latex.php?latex=n_i%5E2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n_i^2' title='n_i^2' class='latex' />, and <img src='http://s.wordpress.com/latex.php?latex=N_A&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='N_A' title='N_A' class='latex' />.</p>
<p><img src='http://s.wordpress.com/latex.php?latex=p_p%20%5Capprox%20N_A%20%5Cquad%20%5Cquad%20p_p%20%5Ccdot%20n_p%20%3D%20n_i%5E2%20%5Cquad%20%5Cquad%20n_p%20%3D%20%5Cfrac%7Bn_%7Bi%7D%5E%7B2%7D%7D%7BN_%7BA%7D%7D%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='p_p \approx N_A \quad \quad p_p \cdot n_p = n_i^2 \quad \quad n_p = \frac{n_{i}^{2}}{N_{A}} ' title='p_p \approx N_A \quad \quad p_p \cdot n_p = n_i^2 \quad \quad n_p = \frac{n_{i}^{2}}{N_{A}} ' class='latex' /></p>
<p>In most cases <img src='http://s.wordpress.com/latex.php?latex=n_i%5E2&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n_i^2' title='n_i^2' class='latex' /> and <img src='http://s.wordpress.com/latex.php?latex=N_D&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='N_D' title='N_D' class='latex' /> or <img src='http://s.wordpress.com/latex.php?latex=N_A&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='N_A' title='N_A' class='latex' /> will be given and you will be able to find <img src='http://s.wordpress.com/latex.php?latex=n_n%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n_n ' title='n_n ' class='latex' /> or <img src='http://s.wordpress.com/latex.php?latex=p_p&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='p_p' title='p_p' class='latex' />. Then you will find <img src='http://s.wordpress.com/latex.php?latex=p_n&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='p_n' title='p_n' class='latex' /> or <img src='http://s.wordpress.com/latex.php?latex=n_p&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='n_p' title='n_p' class='latex' /> from the equations above.</p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/basic-electrical-concepts/acceptorsdonors-and-holeselectrons.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Amplifiers &#8211; Part II</title>
		<link>http://engineersphere.com/basic-electrical-concepts/amplifiers-part-ii.html</link>
		<comments>http://engineersphere.com/basic-electrical-concepts/amplifiers-part-ii.html#comments</comments>
		<pubDate>Mon, 22 Mar 2010 17:59:54 +0000</pubDate>
		<dc:creator>Jeff</dc:creator>
				<category><![CDATA[Basic Electrical Engineering Concepts]]></category>
		<category><![CDATA[Biomedical Engineering]]></category>
		<category><![CDATA[AICHo]]></category>
		<category><![CDATA[Amplifier Saturation]]></category>
		<category><![CDATA[Amplifiers]]></category>
		<category><![CDATA[Bandwidth]]></category>
		<category><![CDATA[Biosignal]]></category>
		<category><![CDATA[DAQ]]></category>
		<category><![CDATA[DAQ Card]]></category>
		<category><![CDATA[Differential Amplifier]]></category>
		<category><![CDATA[Isolation]]></category>
		<category><![CDATA[Pre-Amplifier]]></category>
		<category><![CDATA[Single-Ended]]></category>

		<guid isPermaLink="false">http://engineersphere.com/?p=1188</guid>
		<description><![CDATA[TweetTweetImportant Amplifier Properties Isolation For the biological subject, against electric shock from the amplifier’s power source(s)–or, how to not kill your patient while taking measurements! For the signal-to-noise ratio (SNR): isolation keeps the (60-Hz mains and other) noise out of the sensor pickup–and out of the amplifier input. One simple way to isolate the input [...]]]></description>
			<content:encoded><![CDATA[<div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/basic-electrical-concepts/amplifiers-part-ii.html&via=EngineerSphere&text=Amplifiers - Part II&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div style="float: right; margin-left: 10px;"><a href="http://twitter.com/share?url=http://engineersphere.com/basic-electrical-concepts/amplifiers-part-ii.html&via=EngineerSphere&text=Amplifiers - Part II&related=EngineerSphere:&lang=en&count=none" class="twitter-share-button">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><h2>Important Amplifier Properties</h2>
<h3>Isolation</h3>
<ul>
<li>For the biological subject, against electric shock from the amplifier’s power source(s)–or, how to not kill your patient while taking measurements!</li>
</ul>
<ul>
<li>For the signal-to-noise ratio (SNR): isolation keeps the (60-Hz mains and other) noise out of the sensor pickup–and out of the amplifier input.</li>
</ul>
<p>One simple way to isolate the input is to use an <span style="text-decoration: underline;"><strong>LED/phototransistor pair</strong></span>:</p>
<p><a href="http://engineersphere.com/wp-content/uploads/2010/03/LEDpair.png"><img class="alignleft size-full wp-image-1189" title="led-pair" src="http://engineersphere.com/wp-content/uploads/2010/03/LEDpair.png" alt="led-pair" width="446" height="305" /></a>The sensor is connected to an LED, which outputs light of intensity proportional to signal voltage.</p>
<p>The light from the LED falls on a photodiode or phototransistor, which is biased in such a way that current only flows when light hits the device, and the current (and thus measured voltage) is proportional to light intensity.</p>
<p>Phototransistor output is to the amplifier.</p>
<p>The power circuitry for the amplifier is completely isolated from the sensor (electrodes etc.) Power supplies for the sensor use a transformer or battery, and the “ground” for the sensor side floats relative to the amplifier side (which should have ground connected to earth eventually.)</p>
<p>These devices are manufactured in one piece, so the frequency of light output from the LED is matched to the ideal absorption frequency of the phototransistor. However, there must be no electrical connection between the two sides of the circuit. More exactly, the impedance between the two circuits should be near a Teraohm (<img src='http://s.wordpress.com/latex.php?latex=10%5E%7B12%7D%20%5COmega%20&#038;bg=efe5d9&#038;fg=000000&#038;s=0' alt='10^{12} \Omega ' title='10^{12} \Omega ' class='latex' />).</p>
<h2>Single-Ended vs. Differential Input</h2>
<ul>
<li><span style="text-decoration: underline;"><strong>Referenced Single-Ended</strong></span>: two leads of sensor are + signal and earth (computer) ground. Note: to avoid ground loops, it is best to avoid connecting sensor earth to computer earth.</li>
</ul>
<ul>
<li><strong><span style="text-decoration: underline;">Non-Referenced Single-Ended</span></strong>: two leads of sensor are + signal and &#8211; signal, which is connected through a bias resistor to earth ground.</li>
</ul>
<ul>
<li><strong><span style="text-decoration: underline;">Differential</span></strong>: three sensor leads are available: + and &#8211; signal and (earth) ground.</li>
</ul>
<p>The 4-BNC -to- DAQ-card lead you’ve probably used in a lab before is referenced single-ended: each of 4 sensors has available a signal wire, and the 4 sensors share a common ground wire. If the DAQ card is configured in Differential mode using this input lead, the signal gradually rises to a saturated level, as the DAQ card assumes a signal on the &#8211; <strong><span style="text-decoration: underline;">differential input</span></strong>, which is in reality floating.</p>
<p><strong><span style="text-decoration: underline;">Problems with Single-Ended Input</span></strong>:</p>
<ul>
<li><strong><span style="text-decoration: underline;">Cross-talk</span></strong>: Because multiple signals share a ground wire, they also share some portion of the signal, so if only one input is connected that signal shows up, somewhat weakened, on the second input trace.</li>
</ul>
<ul>
<li><strong><span style="text-decoration: underline;">Lack of isolation</span></strong>: using the ground wire as the negative signal lead means the subject and the amplifier are strongly coupled–and strong electric signals from the amplifier may travel to the subject. Also, stray noise (such as from the power mains) easily couples into the input.</li>
</ul>
<p><strong><span style="text-decoration: underline;">Differential Input</span></strong>:</p>
<p>I&#8217;m talking a lot about DAQ cards, these are very important when working with A/D systems and analog and digital filters.  If you are not familiar with these, go do a little light reading.  Hopefully this is making enough sense to get the concepts across.  The DAQ card comes with a finite number (16, in our case) of analog input ports (channels), each with paired input pins: a signal (ACH#) and a ground (AIGND). All the analog input ground pins are tied together on the DAQ card. In differential mode, the analog input ports are paired, so channel 1 uses AICH0 as +, AICH8 as -, and the ground wires for the pair are tied together as the reference ground. Thus a 16-channel DAQ card has only 8 channels in differential mode.</p>
<ul>
<li>Because no channels share leads, cross-talk is reduced. The DAQ card has high common-mode rejection, so if the &#8211; input leads are tied to ground (simplest configuration), channels will not interfere because the cross-talk is common to both + and &#8211; inputs.</li>
</ul>
<ul>
<li>The ground lead cannot be isolated from the <span style="text-decoration: underline;"><strong>input electrodes</strong></span> without causing the DAQ circuitry to saturate, so the DAQ card itself does not provide isolation.</li>
</ul>
<h2>Wiring a DAQ card in Differential Mode:</h2>
<p style="text-align: center;"><a href="http://engineersphere.com/wp-content/uploads/2010/03/DAQwiring.png"><img class="aligncenter size-full wp-image-1193" title="daq-card-internal-wiring" src="http://engineersphere.com/wp-content/uploads/2010/03/DAQwiring.png" alt="daq-card-internal-wiring" width="631" height="358" /></a>The figure is adapted from Fig. 4.6, p. 4-15, of the NI 6024E (DAQ card) User Manual, and illustrates the appropriate connections for differential input to the card. Recommended values of R+ and R- depend on the impedance Rs (in series with Vs) and coupling of the source signal Vs:</p>
<p><a href="http://engineersphere.com/wp-content/uploads/2010/03/sourcevoltages.png"><img class="alignleft size-full wp-image-1195" title="source-voltages-table" src="http://engineersphere.com/wp-content/uploads/2010/03/sourcevoltages.png" alt="source-voltages-table" width="773" height="230" /></a></p>
<p>R+ and R- provide bias current return paths. Bias currents result from not-quite infinite input impedance to the DAQ, and if not balanced the noise they represent will not be common to both + and &#8211; inputs, and thus won’t be rejected. However, R+ and R- load down the source with an equivalent 2R+, which will decrease gain if R+, R- are too low. If R+, R- are too large, they will produce a DC offset at the DAQ input.</p>
<h2>Bandwidth</h2>
<p>Bandwidth is a critical parameter in determining the type of amplifier needed. Often a <strong><span style="text-decoration: underline;">bioamp </span></strong>has adjustable <strong><span style="text-decoration: underline;">bandwidth</span></strong>; typical applications have both low-pass and high-pass adjustable filters.</p>
<p>Typical Bandwidths of Biological Signals: (Table from Webster Fig 6.16, p. 259.)</p>
<p style="text-align: center;"><a href="http://engineersphere.com/wp-content/uploads/2010/03/biosignalbandwidth.png"><img class="aligncenter size-full wp-image-1197" title="bio-signal-bandwidth-table" src="http://engineersphere.com/wp-content/uploads/2010/03/biosignalbandwidth.png" alt="bio-signal-bandwidth-table" width="782" height="290" /></a></p>
<p>(<strong><span style="text-decoration: underline;">Electro-oculogram</span></strong>: signal from electrodes placed either side or above and below the eye. Linearly proportional to angle of gaze; DC signal)</p>
<h2>Noise Reduction</h2>
<p>Can be either or both analog and/or digital. If digital, it is done by post-processing collected data. If analog, wiring of the printed-circuit board, handling of wires on the bench, and internal circuitry are all details to consider carefully.</p>
<h2>Protective Shielding</h2>
<p>For equipment, against transient large signal sources–includes grounding the outer case of the equipment and surge protection, as well as isolation.</p>
<h2>Power Supplies</h2>
<p>AC (mains) with rectification and usually transformer isolation. Subject to power failures, risk of electrocution.<br />
Battery: provides its own isolation. Limited lifetime and undesirable behavior just before failure.</p>
<h2>Specialized Amplifiers</h2>
<h3 style="text-align: center;"><a href="http://engineersphere.com/wp-content/uploads/2010/03/lockinamplifier.png"><img class="aligncenter size-full wp-image-1198" title="lock-in-amplifier-schematic" src="http://engineersphere.com/wp-content/uploads/2010/03/lockinamplifier.png" alt="lock-in-amplifier-schematic" width="767" height="313" /></a>Lock-In Amplifier Block Diagram</h3>
<h3>Lock-in Amplifier</h3>
<p>(<a href="http://www.lockin.de">www.lockin.de</a>)If the signal source is mostly at a single frequency but is very weak and/or subject to a great deal of noise, a lock-in amplifier can be used to extract the signal. In biological cases the single-frequency property of the signal is most-often externally generated, by applying a single-frequency excitation in one way or another.</p>
<p>Theory:</p>
<p>Signal source S(t) = A cos(ω1t + θ1) + B cos(ω2t + θ2)</p>
<p>Reference signal R(t) = C cos(ω1t)</p>
<p>Product S(t)R(t) = AC cos(ω1t) cos(ω1t + θ1) + other terms in cos(ω1t) and cos(ω2t)</p>
<p>= AC/2 (cos(2ω1t + θ1) + cos(-θ1) ) + other terms in cos(ω1t) and cos(ω2t)</p>
<p>Integrating over an even number of cycles of the reference signal reduces all terms in ω1 to zero, so <strong>the displayed signal is proportional only to the amplitude of the component of the signal source at the reference frequency</strong>.</p>
<p>To get the reference frequency into the signal source various means are employed: one may have to excite the subject (nerve, membrane&#8230;) at the reference frequency, or one may already know the source has a dominant resonance; alternatively one may look at each of several spectral components in the source signal piecemeal, by tuning the reference frequency.</p>
<h3>Pre-Amplifier</h3>
<p>high input impedance, moderate gain, high <a href="http://engineersphere.com/basic-electrical-concepts/amplifiers-part-i.html">CMRR</a>. Often <a href="http://engineersphere.com/basic-electrical-concepts/amplifiers-part-i.html">differential input</a> and isolation. May include DC offset control, gain control switches, and/or calibration signal.</p>
<h3>Chopper-stabilized Amplifier</h3>
<p>removes thermal DC drift from a (very-low-frequency or DC) signal by using negative feedback and chopping the low-frequency signal at a frequency above the amplifier’s high-pass limit (effectively, this is frequency modulation). The signal can be reconstructed by demodulation after amplification; noise signals at both high frequencies and those below the chopper frequency are rejected.</p>
<p>This post was made using some old class notes, a DAQ card user manual and just some good old knowledge.  I know this is not a traditional <a href="http://engineersphere.com">engineersphere.com</a> lesson, it is more of an &#8216;informative read&#8217; for the avid electrical engineer interested in <a href="http://engineersphere.com">biomedical applications</a>.  Enjoy <img src='http://engineersphere.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://engineersphere.com/basic-electrical-concepts/amplifiers-part-ii.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

