<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://www.emagtech.com/wiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.emagtech.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Advanced_Tutorial_Lesson_9%3A_Designing_D%2FA_Converters</id>
		<title>Advanced Tutorial Lesson 9: Designing D/A Converters - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.emagtech.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Advanced_Tutorial_Lesson_9%3A_Designing_D%2FA_Converters"/>
		<link rel="alternate" type="text/html" href="https://www.emagtech.com/wiki/index.php?title=Advanced_Tutorial_Lesson_9:_Designing_D/A_Converters&amp;action=history"/>
		<updated>2026-09-16T12:05:41Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.23.17</generator>

	<entry>
		<id>https://www.emagtech.com/wiki/index.php?title=Advanced_Tutorial_Lesson_9:_Designing_D/A_Converters&amp;diff=32936&amp;oldid=prev</id>
		<title>Kazem Sabet at 18:09, 8 November 2016</title>
		<link rel="alternate" type="text/html" href="https://www.emagtech.com/wiki/index.php?title=Advanced_Tutorial_Lesson_9:_Designing_D/A_Converters&amp;diff=32936&amp;oldid=prev"/>
				<updated>2016-11-08T18:09:36Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 18:09, 8 November 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;|All versions|{{download|http://www.emagtech.com/downloads/ProjectRepo/MixedLesson2.zip Mixed-Signal Lesson 2}} }}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;|All versions|{{download|http://www.emagtech.com/downloads/ProjectRepo/MixedLesson2.zip Mixed-Signal Lesson 2}} }}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=&lt;/del&gt;== What You Will Learn &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;=&lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;== What You Will Learn ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;In this tutorial you will explore two 4-bit digital-to-analog (D/A) converters. The first circuit is a basic D/A converter made up of a simple resistive network. The second circuit is a ladder D/A converter involving a digital clock and an operational amplifier.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;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;&quot;&gt;&lt;div&gt;In this tutorial you will explore two 4-bit digital-to-analog (D/A) converters. The first circuit is a basic D/A converter made up of a simple resistive network. The second circuit is a ladder D/A converter involving a digital clock and an operational amplifier.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kazem Sabet</name></author>	</entry>

	<entry>
		<id>https://www.emagtech.com/wiki/index.php?title=Advanced_Tutorial_Lesson_9:_Designing_D/A_Converters&amp;diff=32846&amp;oldid=prev</id>
		<title>Kazem Sabet: Created page with &quot;{{projectinfo|Tutorial| Designing D/A Converters |MixTUT2 5.png|In this project, you will build and test two mixed-mode digital-to-analog converter circuits.|  *Digital-to-Ana...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.emagtech.com/wiki/index.php?title=Advanced_Tutorial_Lesson_9:_Designing_D/A_Converters&amp;diff=32846&amp;oldid=prev"/>
				<updated>2016-11-07T22:56:13Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{projectinfo|Tutorial| Designing D/A Converters |MixTUT2 5.png|In this project, you will build and test two mixed-mode digital-to-analog converter circuits.|  *Digital-to-Ana...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{projectinfo|Tutorial| Designing D/A Converters |MixTUT2 5.png|In this project, you will build and test two mixed-mode digital-to-analog converter circuits.|&lt;br /&gt;
&lt;br /&gt;
*Digital-to-Analog Converter&lt;br /&gt;
*Digital Input&lt;br /&gt;
*Digital Clock&lt;br /&gt;
*Operational Amplifier&lt;br /&gt;
*Voltage Follower&lt;br /&gt;
*Ladder D/A Converter &lt;br /&gt;
|All versions|{{download|http://www.emagtech.com/downloads/ProjectRepo/MixedLesson2.zip Mixed-Signal Lesson 2}} }}&lt;br /&gt;
&lt;br /&gt;
=== What You Will Learn ===&lt;br /&gt;
&lt;br /&gt;
In this tutorial you will explore two 4-bit digital-to-analog (D/A) converters. The first circuit is a basic D/A converter made up of a simple resistive network. The second circuit is a ladder D/A converter involving a digital clock and an operational amplifier.&lt;br /&gt;
&lt;br /&gt;
== Building a Basic D/A Converter ==&lt;br /&gt;
&lt;br /&gt;
The following is a list of parts needed for this part of the tutorial lesson:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
|-&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Part Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Part Type&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Part Value&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| B0 - B3&lt;br /&gt;
| Digital Input&lt;br /&gt;
| 1-bit&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| R1&lt;br /&gt;
| Resistor&lt;br /&gt;
| 8k&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| R2&lt;br /&gt;
| Resistor&lt;br /&gt;
| 4k&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| R3&lt;br /&gt;
| Resistor&lt;br /&gt;
| 2k&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| R4&lt;br /&gt;
| Resistor&lt;br /&gt;
| 1k&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| RL&lt;br /&gt;
| Resistor&lt;br /&gt;
| 1k&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| VOUT&lt;br /&gt;
| Voltage Probe Marker&lt;br /&gt;
| N/A&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Place and connect all the parts as shown in the figure below: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[File:MixTUT2 1.png|thumb|360px| The basic D/A converter circuit with a digital clock.]] &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that the resistor R1 is twice the value of R2, and R2 is twice the value of R3, and so on. The four digital inputs B0, B1, B2 and B3 together form a 4-bit digital word. The corresponding voltages are then added at the load resistor RL. It can be shown that the output voltage is given by:   &lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; V_o = \frac {R_L V_h}{ R + (2^N - 1) R_L } \left( S_{N-1} 2^{N-1} + S_{N-2} 2^{N-2} + ... + S_1 2^1 + S_0 2^0  \right)  &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
where v&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt; is the high digital voltage, R&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt; is the load resistor, R is the largest resistor value corresponding to the LSB input and  S&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt; represents the ith binary digit (S&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; = LSB and S&amp;lt;sub&amp;gt;N-1&amp;lt;/sub&amp;gt; = MSB). For your circuit, N = 4, v&amp;lt;sub&amp;gt;h&amp;lt;/sub&amp;gt; = +5V, R&amp;lt;sub&amp;gt;L&amp;lt;/sub&amp;gt; = 1k, R = 8k, and you can write:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt; V_o = \frac {5}{23} \left( 8S_3 + 4S_2 + 2S_1 + S_0  \right)  &amp;lt;/math&amp;gt; &lt;br /&gt;
&lt;br /&gt;
When all four digital inputs are low, the output voltage is zero. For &amp;quot;0001&amp;quot;, the output voltage is 217.4mV, and for &amp;quot;0010&amp;quot;, the output voltage is 652.2mV. For the largest possible 4-bit binary number &amp;quot;1111&amp;quot;, the output voltage is 3.261V. Run a Transient Test of the basic D/A converter with the start and stop time set to 0 and 10ms, respectively, with a Step Ceiling of 1&amp;amp;mu;s. Set different combinations of the four binary bits and plot the output voltage. Some of these graphs are shown in the figures below, and their results agree with the above analytical calculations. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[File:MixTUT2 2.png|thumb|230px| The analog output voltage of the basic D/A converter when B3B2B1B0 = 0001.]] &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[File:MixTUT2 3.png|thumb|230px| The analog output voltage of the basic D/A converter when B3B2B1B0 = 0011.]] &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[File:MixTUT2 4.png|thumb|230px| The analog output voltage of the basic D/A converter when B3B2B1B0 = 1111.]] &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Building an R-2R Ladder D/A Converter ==&lt;br /&gt;
&lt;br /&gt;
The following is a list of parts needed for this part of the tutorial lesson:&lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
|-&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Part Name&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Part Type&lt;br /&gt;
! scope=&amp;quot;col&amp;quot;| Part Value&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| B0 - B3&lt;br /&gt;
| Digital Input&lt;br /&gt;
| 1-bit&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| A1 - A4&lt;br /&gt;
| Generic AND Gate&lt;br /&gt;
| Defaults&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| CLK&lt;br /&gt;
| Digital Clock&lt;br /&gt;
| Period = 1m, Pulse Width = 500u&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| R1 - R4&lt;br /&gt;
| Resistor&lt;br /&gt;
| 2k&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| R5 - R7&lt;br /&gt;
| Resistor&lt;br /&gt;
| 1k&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| R8 - R9&lt;br /&gt;
| Resistor&lt;br /&gt;
| 2k&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| R10&lt;br /&gt;
| Resistor&lt;br /&gt;
| 1k&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Vcc&lt;br /&gt;
| DC Bias Voltage Source&lt;br /&gt;
| 15V&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Vee&lt;br /&gt;
| DC Bias Voltage Source&lt;br /&gt;
| -15V&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| X1&lt;br /&gt;
| LM741 Op-Amp&lt;br /&gt;
| Defaults&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| VOUT&lt;br /&gt;
| Voltage Probe Marker&lt;br /&gt;
| N/A&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The basic D/A converter of the previous section required a wide range of resistor values. The R-2R ladder D/A Converter shown in the figure below requires only two values R and 2R connected successively in a ladder configuration. This design also features a digital control circuit of this circuit. The digital inputs are transferred to the resistors only during the high state of the clock due to the AND gates. Set the period and pulse width of the digital clock CLK to 1ms and 500&amp;amp;mu;s, respectively. An Op-Amp voltage follower has been added at the output through a coupling resistor R10 as a buffer. Place and connect all the parts and use an LM741 Op-Amp for the voltage follower stage. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[File:MixTUT2 5.png|thumb|600px| The R-2R Ladder D/A converter circuit with an Op-Amp.]] &lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Run a Transient Test of the ladder D/A converter with the following parameters: &lt;br /&gt;
&lt;br /&gt;
{| border=&amp;quot;0&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
| valign=&amp;quot;top&amp;quot;|&lt;br /&gt;
|-&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Start Time&lt;br /&gt;
| 0&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Stop Time&lt;br /&gt;
| 10m&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Linearize Step&lt;br /&gt;
| 1u&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Step Ceiling&lt;br /&gt;
| 1u&lt;br /&gt;
|-&lt;br /&gt;
! scope=&amp;quot;row&amp;quot;| Preset Graph Plots&lt;br /&gt;
| Defaults&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Setting different combinations of the four binary bits, you can verify the operation of this D/A converter and get very similar results as in the previous case. The graphs below show the results for the case of the 4-bit binary number &amp;quot;0001&amp;quot;, &amp;quot;0011&amp;quot; and &amp;quot;1111&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;table&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[File:MixTUT2 6.png|thumb|750px|The four digital inputs and the output analog voltage of the ladder D/A converter when B3B2B1B0 = 0001.]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[File:MixTUT2 7.png|thumb|750px|The four digital inputs and the output analog voltage of the ladder D/A converter when B3B2B1B0 = 0011.]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;tr&amp;gt;&lt;br /&gt;
&amp;lt;td&amp;gt;&lt;br /&gt;
[[File:MixTUT2 8.png|thumb|750px|The four digital inputs and the output analog voltage of the ladder D/A converter when B3B2B1B0 = 1111.]]&lt;br /&gt;
&amp;lt;/td&amp;gt;&lt;br /&gt;
&amp;lt;/tr&amp;gt;&lt;br /&gt;
&amp;lt;/table&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;amp;nbsp;&amp;lt;/p&amp;gt;&lt;br /&gt;
[[Image:Back_icon.png|40px]] '''[[RF.Spice_A/D#RF.Spice_A.2FD_Tutorials | Back to RF.Spice A/D Tutorial Gateway]]'''&lt;/div&gt;</summary>
		<author><name>Kazem Sabet</name></author>	</entry>

	</feed>