<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">CS</journal-id><journal-title-group><journal-title>Circuits and Systems</journal-title></journal-title-group><issn pub-type="epub">2153-1285</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/cs.2018.93005</article-id><article-id pub-id-type="publisher-id">CS-83087</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Computer Science&amp;Communications</subject><subject> Engineering</subject><subject> Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Design of Digital to Analog Converters with Arbitrary Radix
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Tejmal</surname><given-names>S. Rathore</given-names></name><xref ref-type="aff" rid="aff1"><sub>1</sub></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff1"><label>1</label><addr-line>Department of Electrical Engineering, IIT Goa, Farmagudi, India</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>tsrathor@ee.iitb.ac.in</email></corresp></author-notes><pub-date pub-type="epub"><day>15</day><month>03</month><year>2018</year></pub-date><volume>09</volume><issue>03</issue><fpage>49</fpage><lpage>57</lpage><history><date date-type="received"><day>6,</day>	<month>January</month>	<year>2018</year></date><date date-type="rev-recd"><day>13,</day>	<month>March</month>	<year>2018</year>	</date><date date-type="accepted"><day>16,</day>	<month>March</month>	<year>2018</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  There are DAC structures available in the literature for radix r = 2, 3, and 4; but how they are arrived at is missing. No general structure is available for any radix r. The aim of the paper is, therefore, to fulfil these gaps. To start with, the design relations are derived for the simplest possible attenuator circuit when connected to a voltage source V and a series resistance R, such that the complete circuit offers the Thevenin resistance R. Spread relations for this attenuator are derived. An example when 3 such attenuators with different attenuation constants are connected in cascade is given. Interestingly, the two attenuators with attenuation factors 1/2 and 1/3 have the same spread of 2. A generalized attenuator is then obtained when N number of identical attenuators are connected in cascade. This is modified to derive a digital to analog converter for any radix r.
 
</p></abstract><kwd-group><kwd>Digital to Analog Converter</kwd><kwd> Design of DAC</kwd><kwd> DAC of any Radix</kwd><kwd> DAC Structure</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>Multiple logics have several advantages over binary ones. Therefore, many multiple logic circuits have been developed [<xref ref-type="bibr" rid="scirp.83087-ref1">1</xref>] - [<xref ref-type="bibr" rid="scirp.83087-ref7">7</xref>] . Due to all these applications, there has been an interest in digital to analog converters (DACs) since long [<xref ref-type="bibr" rid="scirp.83087-ref8">8</xref>] - [<xref ref-type="bibr" rid="scirp.83087-ref16">16</xref>] . Binary to analog conversion (B/A) (radix 2) is very popular. Miyata et al. [<xref ref-type="bibr" rid="scirp.83087-ref8">8</xref>] and Current [<xref ref-type="bibr" rid="scirp.83087-ref9">9</xref>] deal with ternary (T/A) and quaternary (Q/A) (radices 3 and 4, respectively), to analog conversion. But none of these gives how the structures are arrived at. In [<xref ref-type="bibr" rid="scirp.83087-ref9">9</xref>] quaternary to analog conversion is obtained directly from that of radix 2 and compared with that R, 4/3R, 3R ladder DAC. It is shown that the Q/A requires 26% less total resistance if fabricated and approximately 15% more if assembled with discrete resistors of one value by series and parallel combinations of resistors. No generalized design is available for DACs with arbitrary radix r.</p><p>This paper gives the design of ladder DACs for any radix r. B/A, T/A, Q/A converters are the special cases. Conditions will be derived when N number of attenuators (one such attenuator is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>(a) in dashed line box) are cascaded so that the Thevenin voltage will be aV, a = 1/r is the attenuation factor (AF), while the Thevenin resistance is R. Such a structure is further modified for realizing ladder DACs for any radix r = 1/a.</p></sec><sec id="s2"><title>2. Design of Ladder DACs</title><sec id="s2_1"><title>2.1. Basic Attenuator</title><p>Consider the circuit shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>(a) where the simplest possible attenuator (potential divider) shown in dashed line box. Its Thevenin voltage</p><p>V 1 = R 2 R 2 + R 1 + R V = a V (1)</p><p>where</p><p>a = R 2 R 2 + R 1 + R (2)</p><p>is the AF. Thevenin resistance R<sub>T</sub><sub>1</sub> as seen from 1-1’ in <xref ref-type="fig" rid="fig1">Figure 1</xref>(a) can be made equal to R, first increasing R by a series resistance R<sub>1</sub> and then restoring it by connecting a parallel resistance R<sub>2</sub>. Thus the condition is</p><p>R T 1 = R 2 ( R 1 + R ) R 2 + R 1 + R = R . (3)</p><p>Solving for R<sub>1</sub>, we get</p><p>R 1 = ( 1 − a a ) R = ( r − 1 ) R . (4)</p><p>From (2) and (4), we get</p><p>R 2 = ( 1 1 − a ) R = ( r r − 1 ) R . (5)</p><p>After substituting the values of R<sub>1</sub> and R<sub>2</sub> in circuit of <xref ref-type="fig" rid="fig1">Figure 1</xref>(a), we get the circuit shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>(b). To avoid the fractional value of R<sub>2</sub>, we scale up all the resistance values by a factor (r − 1). Scaled circuit is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>(a).</p><p>Note that, if a voltage V is applied in series with rR instead of (r − 1)R, as shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>(a), Thevenin voltage will be [ ( r − 1 ) / r ] V with the same Thevenin resistance R<sub>T</sub><sub>1</sub>.</p></sec><sec id="s2_2"><title>2.2. Spread</title><p>Out of the three resistance values (r − 1), r and (r − 1)<sup>2</sup> in <xref ref-type="fig" rid="fig2">Figure 2</xref> the minimum value is r − 1, and the maximum value is (r − 1)<sup>2</sup> as long as (r − 1)<sup>2</sup> ≥ r, i.e., when r ≥ 2.6 and ≤ 0.36. For integer values of r, r ≥ 3 as r cannot be negative.</p><p>Spread</p><p>S = R max R min = { ( r − 1 ) 2 r − 1 = r − 1 ,     r ≥ 3 r r − 1 ,   r = 2 . (6)</p><p>Note that the spread is 2 for both r = 2 and 3.</p></sec><sec id="s2_3"><title>2.3. Cascaded Attenuator</title><p>If one more section is cascaded as shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>(a), it can easily be seen that Thevenin voltage is</p><p>V 2 = R 2 R 2 + R 1 + R a V = a 2 V (7)</p><p>and Thevenin resistance is still R. The Thevenin equivalent is shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>(b).</p><p>Thus if N number of sections are connected in cascade as shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>(a), then Thevenin voltage will be</p><p>V n = a N V (8)</p><p>and the Thevenin resistance will be R. The equivalent circuit is shown in <xref ref-type="fig" rid="fig4">Figure 4</xref>(b).</p><p>As an application of the above theory, <xref ref-type="fig" rid="fig5">Figure 5</xref> shows a circuit which has 3 attenuators in cascade with r = 2, 3, 4.</p><p>It may be noted that the Thevenin voltage and the node voltage are the same as long as attenuator is not loaded. Hence in a chain of cascaded attenuator only the last one will have this property; all others do change their node voltages. This aspect is further discussed in section on practical results. Note that the spread, from Equation (6), is 2.25; while this would have been 23 if a single attenuator with a = 1/24 were used.</p></sec><sec id="s2_4"><title>2.4. DAC Circuit</title><p>Let us consider the circuit of <xref ref-type="fig" rid="fig4">Figure 4</xref> with voltage sources connected as shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>(a). After replacing the portion of the circuit left to 11’ by Thevenin equivalent the circuit becomes as shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>(b) where</p><p>V T 1 = r − 1 r V o . (9)</p><p>Repeating the similar step across the terminals 22’ and using superposition theorem, the circuit reduces to that shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>(c) where</p><p>V T 2 = r − 1 r 2 V o + r − 1 r V 1 = r − 1 r 2 [ V o + r V 1 ] . (10)</p><p>Repeating the same across terminals 33’, the circuit reduces to that shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>(d).</p><p>V T 3 = r − 1 r 3 V o + r − 1 r 2 V 1 + r − 1 r V 2 = ( r − 1 ) r 3 [ V o + r V 1 + r 2 V 2 ] . (11)</p><p>Proceeding in this manner, we can write for the entire circuit of <xref ref-type="fig" rid="fig4">Figure 4</xref>(a),</p><p>V o u t = r − 1 r N ∑ k = 0 N − 1 r k V k . (12)</p><p>Now we modify the circuit as shown in <xref ref-type="fig" rid="fig7">Figure 7</xref> where switches S<sub>k</sub><sub> </sub>(k = 1, N − 1) are inserted which are operated by digital input. Depending upon the bit value, the particular switch connects to different weighted voltages according to the radix r. Thus the output voltage is proportional to the analog value of the digital input.</p><p>The resistance values in <xref ref-type="fig" rid="fig7">Figure 7</xref> are the same for r = 2 as given in [<xref ref-type="bibr" rid="scirp.83087-ref17">17</xref>] [<xref ref-type="bibr" rid="scirp.83087-ref18">18</xref>] , for r = 3 given in [<xref ref-type="bibr" rid="scirp.83087-ref8">8</xref>] after scaling by a factor 2/3, and for r = 4 given in [<xref ref-type="bibr" rid="scirp.83087-ref9">9</xref>] .</p><p>A resistance of value (r − 1) is connected across terminals NN’ so as to make the ladder symmetrical. This is shown in <xref ref-type="fig" rid="fig8">Figure 8</xref>(a). This will, however, reduce the voltage to</p><p>V ′ o u t = r r + 1 V o u t . (13)</p><p>This DAC, if connected to some circuit, will be further loaded. To avoid this loading, one can connect a non-inverting amplifier at the output as shown in <xref ref-type="fig" rid="fig8">Figure 8</xref>(b). This will have an extra advantage of adjusting the gain to any desired value by choosing R<sub>f</sub>. However, one resistance can be reduced, if an inverting amplifier is used, as shown in <xref ref-type="fig" rid="fig8">Figure 8</xref>(c), wherein the resistance of r(r − 1) is connected to virtual ground instead of actual ground. Again the desired gain can be adjusted by choosing proper value for R<sub>f</sub>. If a positive output is required, then the polarity of all the weighted reference voltages can be changed to negative.</p></sec></sec><sec id="s3"><title>3. Practical Results</title><p>The circuits shown in <xref ref-type="fig" rid="fig5">Figure 5</xref>(b) and that in <xref ref-type="fig" rid="fig7">Figure 7</xref> for radix 3 and number of bits N = 3, were assembled. The resistances used were 10% tolerance, OA used is 741, resistances were connected in series and/or parallel to have the desired values. Voltage used for <xref ref-type="fig" rid="fig5">Figure 5</xref>(b) is 12 V and for <xref ref-type="fig" rid="fig6">Figure 6</xref> were +15 V, −15 V, 4.5 V and 9 V.</p><p>The calculated values of voltages V<sub>1</sub>, V<sub>2</sub> and V<sub>3</sub> are (4.54 ≠ 6 V, 1.625 ≠ 2 V, 0.5 V, respectively, using node analysis, and the corresponding practically measured values are 4.6 V, 1.82 V and 0.5 V which are in close agreement.</p><p>Following 3 sets of measurements were made for the DAC: 1) without any resistance r(r − 1)R = 6 kΩ at the output, 2) with resistance 6 kΩ connected across NN’ and 3) with inverting amplifier of gain −3/2. Resistance values chosen as R<sub>1</sub> = 4 kΩ, R<sub>2</sub> = 3 kΩ, and R = 2 kΩ, R<sub>f</sub> = 8 kΩ. The analog voltage output V ‴ o u t versus the digital input for set (3) are plotted in <xref ref-type="fig" rid="fig9">Figure 9</xref>. In all the cases, the practical results were in close agreement with the theoretically expected results. For example, when the digital input given is 200, the output V o u t = 6 .0 1   V (6 V), V ′ o u t = 4 . 53   V (4.5 V) and V ‴ o u t = 6.04 (6 V). The bracket values are the theoretically expected ones. These results show that the DAC exhibits the practical response very closely the expected theoretical one.</p></sec><sec id="s4"><title>4. Conclusion</title><p>Design relations have been derived for the simplest possible attenuator circuit when connected to a voltage source of voltage V and a series resistance R, such that the complete circuit offers the Thevenin Resistance R. Spread relations for the circuit have been derived. An example when 3 such attenuators with different attenuation constants are connected in cascade has been given. Interestingly, the two attenuators with attenuation factors 1/2 and 1/3 have the same spread of 2. A generalized attenuator has been obtained when N number of identical attenuators are connected in cascade. This has been used to derive a general digital to analog converter for any radix r. Specific circuits were assembled in the laboratory and practical results were taken. These results match closely with the expected theoretical ones.</p></sec><sec id="s5"><title>Acknowledgements</title><p>The author acknowledges with thanks the help rendered by Dr. Nandakumar in drawing nice figures, Mr. Siddharth Kala for taking the practical results. He wishes to thank the reviewer for the constructive suggestions.</p></sec><sec id="s6"><title>Cite this paper</title><p>Rathore, T.S. (2018) Design of Digital to Analog Converters with Arbitrary Radix. Circuits and Systems, 9, 49-57. https://doi.org/10.4236/cs.2018.93005</p></sec></body><back><ref-list><title>References</title><ref id="scirp.83087-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Stark, M. (1981) Two-Bits per Cell ROM. COPCON Dig. Papers, 209-212.</mixed-citation></ref><ref id="scirp.83087-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Dao, T.T. (1977) Threshold I2L and Its Application to Binary Symmetric Function and Multivalued Logic. IEEE Journal of Solid-State Circuits, 12, 463-472.  
https://doi.org/10.1109/JSSC.1977.1050939</mixed-citation></ref><ref id="scirp.83087-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Friedman, N., Salama, C. and Thompson, P. (1977) Realization of Multi-Valued I2L Full Adder. IEEE Journal of Solid-State Circuits, 12, 532-534.</mixed-citation></ref><ref id="scirp.83087-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Current, K.W. and Mow, D.A. (1978) Four-Valued Threshold Logic Full Adder Circuit Implementations. Proceedings of the Eighth International Symposium on Multiple-Valued Logic, Rosemont, 1 April 1978, 95-100.</mixed-citation></ref><ref id="scirp.83087-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Current, K.W. and Mow, D.A. (1979) Implementing Parallel Counters with Four-Valued Threshold Logic. IEEE Transactions on Computers, C-28, 200-204.  
https://doi.org/10.1109/TC.1979.1675320</mixed-citation></ref><ref id="scirp.83087-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Hallworth, R.P. and Heath, F.G. (1961) Semiconductor Circuits for Ternary Logic. IEEE Monograph, 109C, 219-225.</mixed-citation></ref><ref id="scirp.83087-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Porat, D.I. (1969) Three-Valued Digital Systems. Proceedings of the IEEE, 116, 947-954. https://doi.org/10.1049/piee.1969.0177</mixed-citation></ref><ref id="scirp.83087-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Miyata, T., Tamagawa, K. and Watahiki, T. (1979) Ternary-to-Analog Converters Using Resistor Ladders. Proceedings of the IEEE, 67, 1165-1166.  
https://doi.org/10.1109/PROC.1979.11414</mixed-citation></ref><ref id="scirp.83087-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Current, K.W. (1982) Quaternary-to-Analog Conversion with Resistive Ladders. Proceedings of the IEEE, 70, 408-409. https://doi.org/10.1109/PROC.1982.12319</mixed-citation></ref><ref id="scirp.83087-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Faruque, S.M., Bhattacharyya, B.B. and Rathore, T.S. (1992) A Switched-Capacitor Based Digital-to-Analog Converter. Journal of the Institution of Engineers, 72, 115-116.</mixed-citation></ref><ref id="scirp.83087-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Faulkner, E.A. (1983) Improved Method of Digital/Analog and Analog/Digital Conversion. Electronics Letters, 19, 896-897. https://doi.org/10.1049/el:19830610</mixed-citation></ref><ref id="scirp.83087-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Rathore, T.S. (1998) Optimized Weighted-Resistor Digital to Analog Converter. IEE Proceedings-Circuits Devices and Systems, 145, 197-200.  
https://doi.org/10.1049/ip-cds:19981814</mixed-citation></ref><ref id="scirp.83087-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Rathore, T.S. (1999) A Novel Ladder Digital to Analog Converter. IETE Journal of Education, 40, 21-22. https://doi.org/10.1080/09747338.1999.11415691</mixed-citation></ref><ref id="scirp.83087-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Rathore, T.S. and Jain, A. (1998) A New Economical 2R-3R-4R Ladder Digital to analog converter. IETE Technical Review, 15, 289-290.  
https://doi.org/10.1080/02564602.1998.11416761</mixed-citation></ref><ref id="scirp.83087-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Rathore, T.S. and Jain, A. (1998) Abundance of Ladder Digital to Analog Converters. IEEE Transactions on Instrumentation and Measurement, IM-50, 1445-1449.</mixed-citation></ref><ref id="scirp.83087-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Rathore, T.S. (2003) Digital Measurement Techniques. 2nd Edition, Alpha Scientific International Ltd., Pangbourne.</mixed-citation></ref><ref id="scirp.83087-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Millman, J. (1979) Microelectronics. McGraw-Hill Int Book Co., Japan.</mixed-citation></ref><ref id="scirp.83087-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Taub, H. and Schilling, D. (1977) Digital Integrated Electronics. Tata McGraw-Hill, New Delhi.</mixed-citation></ref></ref-list></back></article>