http://www.emagtech.com/wiki/index.php?title=Basic_Tutorial_Lesson_5:_Designing_Basic_Amplifier_Circuits_Using_Op-Amp_Devices&feed=atom&action=historyBasic Tutorial Lesson 5: Designing Basic Amplifier Circuits Using Op-Amp Devices - Revision history2024-03-28T11:35:52ZRevision history for this page on the wikiMediaWiki 1.23.17http://www.emagtech.com/wiki/index.php?title=Basic_Tutorial_Lesson_5:_Designing_Basic_Amplifier_Circuits_Using_Op-Amp_Devices&diff=32959&oldid=prevKazem Sabet at 18:27, 8 November 20162016-11-08T18:27:45Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 18:27, 8 November 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 3:</td>
<td colspan="2" class="diff-lineno">Line 3:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Operational Amplifier</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Operational Amplifier</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Live Simulation</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Live Simulation</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*Live <del class="diffchange diffchange-inline">[[</del>Parameters<del class="diffchange diffchange-inline">]]</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*Live Parameters</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Gain</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Gain</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Inverting Amplifier  </div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*Inverting Amplifier  </div></td></tr>
</table>Kazem Sabethttp://www.emagtech.com/wiki/index.php?title=Basic_Tutorial_Lesson_5:_Designing_Basic_Amplifier_Circuits_Using_Op-Amp_Devices&diff=32916&oldid=prevKazem Sabet at 17:55, 8 November 20162016-11-08T17:55:29Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 17:55, 8 November 2016</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 9:</td>
<td colspan="2" class="diff-lineno">Line 9:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|All versions|{{download|http://www.emagtech.com/downloads/ProjectRepo/AnalogLesson6.zip Analog Lesson 6}} }}</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>|All versions|{{download|http://www.emagtech.com/downloads/ProjectRepo/AnalogLesson6.zip Analog Lesson 6}} }}</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">=</del>== What You Will Learn <del class="diffchange diffchange-inline">=</del>==</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>== What You Will Learn ==</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>In this tutorial you will design a difference amplifier using the LM741 Op-Amp model. This Op-Amp can be replaced with any other Op-Amp part from various semiconductor manufacturers, like LM101, AD711, OP16, to name a few, or with RF.Spice's parameterized Op-Amp model. You will examine the operation of the amplifier using the "Live Parameters" feature of [[RF.Spice A/D]]. You will also investigate special cases of this circuit like inverting and non-inverting amplifiers and voltage follower.  </div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>In this tutorial you will design a difference amplifier using the LM741 Op-Amp model. This Op-Amp can be replaced with any other Op-Amp part from various semiconductor manufacturers, like LM101, AD711, OP16, to name a few, or with RF.Spice's parameterized Op-Amp model. You will examine the operation of the amplifier using the "Live Parameters" feature of [[RF.Spice A/D]]. You will also investigate special cases of this circuit like inverting and non-inverting amplifiers and voltage follower.  </div></td></tr>
</table>Kazem Sabethttp://www.emagtech.com/wiki/index.php?title=Basic_Tutorial_Lesson_5:_Designing_Basic_Amplifier_Circuits_Using_Op-Amp_Devices&diff=32859&oldid=prevKazem Sabet: Created page with "{{projectinfo|Tutorial| Designing Basic Op-Amp Circuits |TUT8-1.png|In this project, you will build and examine a number of basic operational amplifier circuits.| *Operationa..."2016-11-07T23:09:32Z<p>Created page with "{{projectinfo|Tutorial| Designing Basic Op-Amp Circuits |TUT8-1.png|In this project, you will build and examine a number of basic operational amplifier circuits.| *Operationa..."</p>
<p><b>New page</b></p><div>{{projectinfo|Tutorial| Designing Basic Op-Amp Circuits |TUT8-1.png|In this project, you will build and examine a number of basic operational amplifier circuits.|<br />
<br />
*Operational Amplifier<br />
*Live Simulation<br />
*Live [[Parameters]]<br />
*Gain<br />
*Inverting Amplifier <br />
*Non-Inverting Amplifier <br />
|All versions|{{download|http://www.emagtech.com/downloads/ProjectRepo/AnalogLesson6.zip Analog Lesson 6}} }}<br />
<br />
=== What You Will Learn ===<br />
<br />
In this tutorial you will design a difference amplifier using the LM741 Op-Amp model. This Op-Amp can be replaced with any other Op-Amp part from various semiconductor manufacturers, like LM101, AD711, OP16, to name a few, or with RF.Spice's parameterized Op-Amp model. You will examine the operation of the amplifier using the "Live Parameters" feature of [[RF.Spice A/D]]. You will also investigate special cases of this circuit like inverting and non-inverting amplifiers and voltage follower. <br />
<br />
The output voltage of the difference amplifier can be expressed in as a function of the two input voltages in the following form:<br />
<br />
<math> V_{\text{out}} = \frac{ \left( R_1 + R_3 \right) R_4 }{\left( R_2 + R_4 \right) R_1} V_2 - \frac{R_3}{R_1} V_1 </math><br />
<br />
subject to the constraint:<br />
<br />
<math> R1 || R3 = R2 || R4</math><br />
<br />
If we set R1 = R2 and R3 = R4, the above equation is simplified to:<br />
<br />
<math> V_{\text{out}} = \frac{ R_3 }{ R_1} \left( V_2 - V_1 \right) </math><br />
<br />
== Building the Difference Amplifier Circuit ==<br />
<br />
The following is a list of parts needed for this project:<br />
<br />
{| border="0"<br />
|-<br />
| valign="top"|<br />
|-<br />
{| class="wikitable"<br />
|-<br />
! scope="col"| Part Name<br />
! scope="col"| Part Type<br />
! scope="col"| Part Value<br />
|-<br />
! scope="row"| V1 - V2<br />
| Voltage Source<br />
| 1V<br />
|-<br />
! scope="row"| V3 - V4<br />
| Voltage Source<br />
| 15V<br />
|-<br />
! scope="row"| R1 - R2<br />
| Resistor<br />
| 1k <br />
|-<br />
! scope="row"| R3 - R4<br />
| Resistor<br />
| 10k<br />
|-<br />
! scope="row"| X1<br />
| LM741 Op-Amp<br />
| Defaults<br />
|}<br />
<br />
<table><br />
<tr><br />
<td><br />
[[File:TUT8-1.png|thumb|570px|The Op-Amp difference amplifier.]] <br />
</td><br />
</tr><br />
</table><br />
<br />
Place the above parts on the schematic and connect them as shown on the figure. For the (-15V) negative DC supply source V4, you can either use a positive supply and flip it vertically (keyboard shortcut: Ctrl+Alt+F) as seen in the figure, or you can simply enter a DC voltage value of -15V. You can use a voltage probe marker (keyboard shortcut: ALt+L) to mark the output of the difference amplifier. <br />
<br />
[[File:TUT8-2.png|thumb|200px|Parameters Panel of the Toolbox.]]<br />
<br />
== Testing Your Op-Amp Circuit ==<br />
<br />
Your Op-Amp circuit is ready for simulation at this time. You will run a "Live Simulation" of this difference amplifier with Circuit Animation. In this tutorial lesson and the new two, you will use the "Live Parameters" feature of [[RF.Spice A/D]]. Go to the Toolbox side panel on the left of the screen and click on its "Parameters" tab. At the top of the panel, choose the "Some" option to answer the question "How many parameters?". In the parameter table, the parameters "v1.tran_dc" and "v2.tran_dc" represent the current voltages of the DC sources V1 and V2, both of which must be 1V at this time. Select the "v1.tran_dc" parameter, and type in the value "0.3" at the top of the panel. Make sure to press the "Down Arrow" or "Enter" button to make your change effective. Then select the "v2.tran_dc" parameter, and type in the value "0.2" for it. <br />
<br />
Click the "'''Go/Run'''" [[File:b2Run_Tool.png]] button of the Main Toolbar to start the live simulation. Animate the circuit by clicking the "Show Voltage Text" button (with the letter V) on the Schematic Toolbar. You will see that an output voltage of about -1V on the schematic. While the simulation is still running, change the value of the "v2.tran_dc" parameter to "0.7". You will see that the output voltage now changes to about +4V. These results were expected because your difference amplifier has a gain equation given by:<br />
<br />
<math> V_{\text{out}} = \left(\frac{ 10k }{ 1k }\right) \left( V_2 - V_1 \right) = 10 \left( V_2 - V_1 \right) </math><br />
<br />
<table><br />
<tr><br />
<td><br />
[[File:TUT8-3.png|thumb|360px|Live voltage reading on the schematic for V1 = 0.3V and V2=0.2V.]] <br />
</td><br />
<td><br />
[[File:TUT8-4.png|thumb|360px|Live voltage reading on the schematic for V1 = 0.3V and V2=0.7V.]] <br />
</td><br />
</tr><br />
</table><br />
<br />
== Testing an Inverting Amplifier Circuit ==<br />
<br />
The above difference amplifier circuit is of a general form that can easily be reduced to the well-known Op-Amp Inverting Amplifier. All you have to do is to ground the "Non-Inverting" pin of the Op-Amp. This is equivalent to setting V2 = 0 and R2 = R4 = 0. The reduced circuit is shown below. Run a live simulation with V1 = 0.3V and animate the schematic. You will see an inverted output voltage of about -3V. The gain equation for the inverting amplifier is given by:<br />
<br />
<math> V_{\text{out}} = -\left(\frac{ R3 }{ R1 }\right) V_{\text{in}} = -10 V_{\text{in}} </math><br />
<br />
<table><br />
<tr><br />
<td><br />
[[File:TUT8-5.png|thumb|360px|The Op-Amp Inverting Amplifier.]] <br />
</td><br />
<td><br />
[[File:TUT8-6.png|thumb|360px|Live voltage reading on the schematic of the inverting amplifier for V1 = 0.3V.]] <br />
</td><br />
</tr><br />
</table><br />
<br />
== Testing a Non-Inverting Amplifier Circuit ==<br />
<br />
The original difference amplifier circuit can also easily be reduced to the well-known Op-Amp Non-Inverting Amplifier. All you have to do this time is to short-circuit the voltage source V1 and apply the voltage source V2 directly to the "Non-Inverting" pin of the Op-Amp. This is equivalent to setting V1 = 0, R2 = 0 and R4 = &infin;. The reduced circuit is shown below. Run a live simulation with V1 = 0.2V and animate the schematic. You will see a non-inverted output voltage of about +2.2V. The gain equation for the non-inverting amplifier is given by:<br />
<br />
<math> V_{\text{out}} = \left( 1 + \frac{ R3 }{ R1 }\right) V_{\text{in}} = 11 V_{\text{in}} </math><br />
<br />
<table><br />
<tr><br />
<td><br />
[[File:TUT8.png|thumb|360px|The Op-Amp Non-Inverting Amplifier]] <br />
</td><br />
<td><br />
[[File:TUT8-8.png|thumb|360px|Live voltage reading on the schematic of the non-inverting amplifier for V2 = 0.2V.]] <br />
</td><br />
</tr><br />
</table><br />
<br />
== Testing a Voltage Follower Circuit ==<br />
<br />
The voltage follower is a special case of the Op-Amp Non-Inverting Amplifier with a unity gain. The figure below shows the Op-Amp voltage follower circuit. It can be used as an impedance buffer. This is equivalent to setting R1 = &infin; and R3 = 0. Run a live simulation with V1 = 0.2V and animate the schematic. You will see a non-inverted output voltage of about +0.2V, identical to the input voltage. <br />
<br />
<table><br />
<tr><br />
<td><br />
[[File:TUT8-9.png|thumb|360px|The Op-Amp Voltage Follower.]] <br />
</td><br />
<td><br />
[[File:TUT8-10.png|thumb|360px|Live voltage reading on the schematic of the voltage follower for V2 = 0.2V.]] <br />
</td><br />
</tr><br />
</table><br />
<br />
<p>&nbsp;</p><br />
[[Image:Back_icon.png|40px]] '''[[RF.Spice_A/D#RF.Spice_A.2FD_Tutorials | Back to RF.Spice A/D Tutorial Gateway]]'''</div>Kazem Sabet