Вы находитесь на странице: 1из 8

International Journal of Advanced Research in Engineering and Technology (IJARET), ISSN INTERNATIONAL JOURNAL OF ADVANCED RESEARCH IN 0976 6480(Print),

, ISSN 0976 6499(Online) Volume 4, Issue 3, April (2013), IAEME ENGINEERING AND TECHNOLOGY (IJARET) ISSN 0976 - 6480 (Print) ISSN 0976 - 6499 (Online) Volume 4, Issue 3, April 2013, pp. 243-250 IAEME: www.iaeme.com/ijaret.asp Journal Impact Factor (2013): 5.8376 (Calculated by GISI) www.jifactor.com

IJARET
IAEME

SPLIT SET DATA WEIGHTED AVERAGING AN EFFICIENT APPROACH FOR REMOVAL OF PERIODIC NOISE IN DATA CONVERTERS
Dr. Syed Abdul Sattar1, Mohammed Arifuddin Sohel 2 Dr. K. Chennakeshava Reddy 3 Professor, Royal Institute of Technology and Science, Chevella, Ranga Reddy Dist, A.P., INDIA 2 Associate Professor, Department of Electronics and Communication Engineering, Muffakham Jah College of Engineering and Technology, Hyderabad, A.P., India 3 Principal, TKR College of Engineering and Technology, Meerpet, Ranga Reddy Dist, A.P., INDIA
1

ABSTRACT Data Converter (ADC and DAC) architectures which rely on matched components, suffer performance degradation due to component mismatch. In practice, perfectly matched components like resistors, capacitor and switches are impossible to fabricate, and mismatch errors are inevitable. These errors can be corrected by means of Dynamic Element Matching (DEM) techniques. Data Weighted Averaging (DWA) is the most commonly used DEM technique, but it results in presence of unwanted inband periodic noise in the output, for a slow varying or DC input. This paper proposes an efficient technique of mismatch noise shaping, named Split-Set Data-Weighted Averaging (SDWA) that makes the DAC immune to component mismatch noise and at the same time eliminates the inband noise tones in the DC response of the System. Hardware implementation of SDWA is cost-effective and displays low-latency, which makes its use practical, in high speed applications. Keywords: Data Converters, Component Mismatch, Dynamic Element Matching, Data weighted averaging, Split Set Data Weighted Averaging. 1. INTRODUCTION In VLSI circuits, component mismatch errors are caused by process variations such as mask misalignment, non-uniform oxide thickness, and non-uniform doping densities. Further, mismatch errors can be generated by temperature gradients across the circuit, component aging and component noise [1], [2]. In ADCs and DACs, mismatch errors lead to errors in the converters transfer function and thus the converters performance is adversely affected.

243

International Journal of Advanced Research in Engineering and Technology (IJARET), ISSN 0976 6480(Print), ISSN 0976 6499(Online) Volume 4, Issue 3, April (2013), IAEME Various techniques, including special VLSI layout Procedures, Laser Trimming, SelfCalibration and Dynamic Element Matching (DEM) [3][4][5], can reduce the effects of component mismatch errors in Data converters that have a resistor based design. While the techniques proposed in [3][4]and [5] are very costly to implement, the dynamic element matching technique has emerged as the most efficient cost effective method for reduction of resistor based mismatch errors. DEM is a dynamic process that reduces the effects of component mismatches in electronic circuits by rearranging dynamically the interconnections of mismatched components so that the time averages of the equivalent components at each of the component positions are equal or nearly equal. By appropriately varying the mismatched components virtual positions, the effects of mismatched components can be reduced, eliminated, or frequency shifted. This technique is known as Data Weighted Averaging (DWA)[6]. 2. COMPONENT MISMATCH PROBLEM IN DAC A Digital-to-Analog Converter (DAC) is a device that reconstructs a continuous-time analog signal from its digital form. A unit-element DAC, is a widely used structure for an M-bit DAC, which is built from unit elements such as resistors or capacitors or current sources. Figure 1 shows the diagram of the unit-element DAC.

Figure 1 - The Unit-Element DAC An M-bit unit-element DAC usually has M+1 output levels and for an M-bit input data, equation 1, describes the output of the unit-element DAC.

(1)

is the input data and is the unit-element value. Normal DACs use weighted resistor Where technique to implement binary weighted codes. But, the input data to a unit-element DAC, is the thermometer code in which, the number of 1s correspond to the decimal value that a code represents. Table 1 shows the thermometer codes for a seven-level unit-element DAC.

244

International Journal of Advanced Research in Engineering and Technology (IJARET), ISSN 0976 6480(Print), ISSN 0976 6499(Online) Volume 4, Issue 3, April (2013), IAEME Table 1: A 3-Bit Binary to Thermometer Code Binary Thermometer Code Decimal 0 1 2 3 4 5 6 7 b2 0 0 0 0 1 1 1 1 b1 0 0 1 1 0 0 1 1 b0 0 1 0 1 0 1 0 1 d6 0 0 0 0 0 0 0 1 d5 0 0 0 0 0 0 1 1 d4 0 0 0 0 0 1 1 1 d3 0 0 0 0 1 1 1 1 d2 0 0 0 1 1 1 1 1 d1 0 0 1 1 1 1 1 1 d0 0 1 1 1 1 1 1 1

A Thermometer based DAC is not a minimal representation, since a binary weighted DAC requires only N digital inputs and Thermometer based DAC needs 2N digital input values. This leads to an additional hardware requirement, of a binary to thermometer code converter. However, a thermometer based converter does have advantages of low DNL errors, guaranteed monotonicity, and reduced glitching noise when compared to its binary counterpart [4]. 2.1 Thermometer Based DAC A method to realize a D/A converter with the use of a thermometer code input is to build 2N-1 equal-sized resistors and switches attached to the virtual ground of an opamp, as shown in figure 2.

Figure 2 - Thermometer Code based Resistor DAC [4] Many DAC architectures use matched references, amplifiers and switches to perform signal conversion. DAC references are typically voltages or currents generated by matched components, such as resistors, transistors, and capacitors. These component values will differ from their design values due to fabrication process variations and temperature gradients across the circuit. These variations, or mismatch errors, cause inaccurate output levels such that the DACs output contains harmonic distortion. 2.2 Integral Non Linearity(INL) And Differential Non Linearity(DNL) The component mismatch problem further leads to non linearity errors called INL and DNL. INL error is described as the deviation, of an actual transfer function from a straight line joining the end points of the output. DNL error is defined as the difference between the converters ideal code widths and the converters actual code widths. Figure 3 shows the maximum INL and DNL of a nonideal three bit DAC.

245

International Journal of Advanced Research in Engineering and Technology (IJARET), ISSN 0976 6480(Print), ISSN 0976 6499(Online) Volume 4, Issue 3, April (2013), IAEME

Figure 3: INL and DNL Nonlinearity for a Three bit DAC [4] 3. DYNAMIC ELEMENT MATCHING Thermometer codes have a highest priority to select the first unit-element-U0 and lowest priority to select the last one - U6. Since mismatches usually exist among all the unit elements, the INL and DNL errors increase in a unit-element DAC by such a selection process. This non linearity should be reduced in order to achieve high accuracy. A Dynamic Element Matching (DEM) block is targeted towards reducing this mismatch error. 3.1 Data Weighted Averaging (DWA) The data weighted averaging DEM algorithm rotates circuit elements at the maximum possible rate while ensuring that each element is used the same number of times [11]. The circuit elements are selected sequentially from the array starting with the next available unused element. The circuit components are used at the maximum possible rate, causing the mismatch errors to sum to zero more quickly. The output of thermometer DAC with DWA and without DWA, for similar inputs is shown in Table 2. It is clear that, without DWA U0 is most frequently used unit element and U6 is not used at all. Comparatively, DWA technique uses all unit elements with equally likely probability and leads to reduction in mismatch errors. Table 2: The DWA Encoding Output without Output With DWA DWA 4 3 1 5 4 3 1 5 0 2 0f 0 0 0 1 1 1 1 70 0 0 0 0 1 1 1 01 0 0 0 0 0 0 1 3e 0 0 1 1 1 1 1 0f 0 0 0 1 1 1 1 70 1 1 1 0 0 0 0 01 0 0 0 0 0 0 1 3e 0 1 1 1 1 1 0 3e 0 1 1 1 1 1 0 41 1 0 0 0 0 0 1

Decimal input Hexdecimal Output U(6) U(5) U(4) U(3) U(2) U(1) U(0)

6 7e 1 1 1 1 1 1 0

3.2 The Inband Noise Tone Generation in DWA algorithm DWA uses the unit-element cyclically in order to make the long-term average use of each unit element in the DAC the same. The power spectrum of mismatch errors at DAC output is given by [10] (2)

246

International Journal of Advanced Research in Engineering and Technology (IJARET), ISSN 0976 6480(Print), ISSN 0976 6499(Online) Volume 4, Issue 3, April (2013), IAEME As can be seen, first-order DAC mismatch errors shaping is achieved by using DWA. However, if the DAC input is a DC or a low-frequency signal, the mismatch errors are not first-order shaped [12]. For example, for a six-element DAC with consecutive inputs 2, 2, 2, 2 ,, the selected unit elements are going to be (U1 U2), (U3 U4), (U5 U6), (U1 U2) , then the output mismatch errors are periodic, which results in an undesired situation. With a random input signal, the maximum achievable resolution of a unit-element DAC with oversampling factor M is given by equation 3. (3)

Here, is the variance of the unit elements and N is the number which signifies unit elements. For a DC input signal to the same unit-element DAC, the spectrum of the mismatch errors depends on the DC levels [13]. Generally, a low order error component of high power is folded back into the baseband for some values of DC inputs and the equivalent resolution is then decreased. In order to overcome the tone problem, a modified algorithm, named split-set data weighted averaging (SDWA), is proposed. SDWA operates by splitting the unit element set into subsets in a special way, and randomizing each subset independently. 4. IMPLEMENTATION OF DWA ALGORITHM DWA employs the technique in which each element of the unit element DAC is not used again until all the unit elements are used at least once. The algorithm to achieve this is shown below. 4.1 DWA Algorithm 1. Set the pointer to zero level. 2. Convert the input binary data b to thermometer code with n ones starting from t0 to tn. 3. Use the n elements of the DAC from the pointer level. 4. Set the pointer to (n+1) level for the next input. 5. For an N element thermometer DAC with elements starting from 0 to (N-1), if the code exceeds (N-1) element reuse the elements again starting from 0. 6. Repeat steps 2 to 5 for each input to the DAC. The above algorithm is implemented in verilog code and when executed in cadence virtuoso resulted in the test schematic shown in figure 4(a) and its output waveform is shown in figure 4(b).

Figure 4: (a) Test schematic of DWA algorithm (b) output waveform of DWA The simulation results of DWA algorithm are presented in Table 3, the first element to be used is U(0), it is not used again until all the other elements U(1) to U(7) are used at least once. For a binary input 000 to 111, we get the DWA output as 00(h) wherein no elements are one, 01(h) wherein U(0) is selected, 06(h) wherein the next unused elements U(1) and U(2) are selected, 38(h) in which elements U(3) U(4) and U(5) are selected and so on. The hexadecimal results 00 01 06 38 79 7e 7f are in agreement with the cyclic order selection as required by the DWA algorithm. 247

International Journal of Advanced Research in Engineering and Technology (IJARET), ISSN 0976 6480(Print), ISSN 0976 6499(Online) Volume 4, Issue 3, April (2013), IAEME Table 3: Simulation result of DWA algorithm DWA 0 1 2 3 4 5 6 7 input DWA output U(6) U(5) U(4) U(3) U(2) U(1) U(0) 00 0 0 0 0 0 0 0 01 0 0 0 0 0 0 1 06 0 0 0 0 1 1 0 38 0 1 1 1 0 0 0 47 1 0 0 0 1 1 1 79 1 1 1 1 0 0 1 7e 1 1 1 1 1 1 0 7f 1 1 1 1 1 1 1

The problem with DWA comes when a slow varying signal is given as input. Consider a binary input 100 given to the DWA block for a series of clock cycles. The result obtained is shown in Table 4. Table 4 Simulation Result of DWA algorithm for constant binary input of 4 DWA 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 input DWA 0f 71 1e 63 3c 47 0f 71 1e 63 3c 47 0f 71 1e 63 3c 47 output U(6) 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 U(5) 0 1 0 1 1 0 0 1 0 1 1 0 0 1 0 1 1 0 U(4) 0 1 1 0 1 0 0 1 1 0 1 0 0 1 1 0 1 0 U(3) 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 U(2) 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1 1 U(1) 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 1 0 1 U(0) 1 1 0 1 0 1 1 1 0 1 0 1 1 1 0 1 0 1

4 0f 0 0 0 1 1 1 1

The results obtained are hexadecimal - 0f 71 1e 63 3c 47 78 0f 71 and so on. As can be seen, the ouput repeats after 7 clock cycles and is an unwanted low frequency noise tone. In-Band tones generated by the basic DWA algorithm are unacceptable in audio applications[14]. Hence we go for an improved technique SDWA which is a modification of the basic DWA algorithm. 5. IMPLEMENTATION OF SPLIT-SET DATA WEIGHTED AVERAGING (SDWA) ALGORITHM Split set data weighted averaging technique not only performs the cyclic selection as in DWA, but also rotates the zeroes(0s) among themselves and ones(1s) among themselves in every clock cycle. 5.1 SDWA algorithm SDWA operates by splitting the unit element set into subsets in a special way, and randomizing each subset independently. For an N-element DAC, SDWA is carried out in the following steps: 1. Apply DWA to the N unit elements of the DAC in each clock cycle, i.e., use them consecutively in a cyclic manner; 2. Split the set of all unit elements into two subsets K and L. Subset K contains elements 1 through k, where k is the highest unit-element index used; its complement L contains elements with indices k+1 through N; 248

International Journal of Advanced Research in Engineering and Technology (IJARET), ISSN 0976 6480(Print), ISSN 0976 6499(Online) Volume 4, Issue 3, April (2013), IAEME 3. Rotate or scramble all elements of K within the subset K , and similarly rearrange the elements of L internally within the subset L . 4. Return to Step 1, starting with the unit element now occupying position k+1. It is easy to see that this randomization only minimally disturbs the equal usage of unit elements, and specifically that all unit elements are used at least M times before any one is used M+1 times. Hence, the noise floor should not be significantly affected by the process, while the tones are prevented by the randomization performed in Step 3. The above algorithm is implemented in verilog code and when executed in cadence virtuoso resulted in the test schematic shown in figure 5(a) and its output waveform shown in figure 5(b).

(a)

(b)

Figure 5: (a) Test schematic of SDWA algorithm (b) Output waveform of SDWA Consider a seven-level DAC with the input sequence 4, 3, 1, 5. The initial order of the unit elements is U0, U1, U2, U3, U4, U5, U6. Starting with an input code 4, unit elements U0, U1, U2, and U3 are used. Then the unit elements are split into two subsets (U0, U1, U2, U3) and (U4,U5, U6), which are rotated by one position independently in order to give (U3, U0, U1, U2) and (U6, U4, U5). The new order of all unit elements is thus (U3 U0 U1 U2 U6 U4 U5). A second input data 3 is then going to choose unit elements (U3 U0 U1). Again the unit elements are split into (U3 U0 U1), (U2 U6 U4 U5) and are rotated separately. The new order of unit elements now is (U1 U3 U0 U5 U2 U6 U4).The results of SDWA 00 40 03 1c 71 75 3f and 7f comply with the conditions of DWA circular shift and split set shifts among zeroes and ones as shown in table 5. Table 5: Simulation Result of SDWA Algorithm with normal input and DC input of 4 SDWA Input 0 1 2 3 4 5 6 7 4 4 4 4 4 4 4 SDWA output 00 40 03 1c 71 75 3f 7f 78 4B 59 0F 2B 1E 56 (Hexadecimal) U(6) U(5) U(4) U(3) U(2) U(1) U(0) 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 1 1 0 0 1 1 1 0 0 0 1 1 1 1 0 1 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 1 0 0 1 0 1 1 1 0 1 1 0 0 1 0 0 0 1 1 1 1 0 1 0 1 0 1 1 0 0 1 1 1 1 0 1 0 1 0 1 1 0

4 3C 0 1 1 1 1 0 0

The advantage of SDWA over DWA comes when a constant input is given to the DAC. Consider in the following example, wherein, the SDWA block is given input constantly as binary 100(4d) for a series of clock cycles. SDWA eliminates the tones which would have been produced in case of DWA and the ouput is random without repetition thus eliminating tone problem of DWA. 249

International Journal of Advanced Research in Engineering and Technology (IJARET), ISSN 0976 6480(Print), ISSN 0976 6499(Online) Volume 4, Issue 3, April (2013), IAEME SDWA output 0f 78 4b 59 0f 2b 1e 56 3c depicted in Table 5 shows that there is no repetition and the tonal problem of DWA is completely eliminated. This happened because of the internal shifts among the subsets of 0s and 1s which result in randomization of the data which was otherwise periodic and resulted in in-band tones in DWA. 6. CONCLUSION The output of DWA with binary input 100 was 0f 71 1e 63 3c 47 78 0f and 71 i.e., the pattern is repeated after every 7 clock cycles, whereas output with binary input 100 when given to SDWA gives the result 0f 78 4b 59 0f 2b 1e 56 3c. It can be observed that the cyclic repetition pattern is completely removed. Hence the non-linearity is eliminated. Further, the INL of SDWA is calculated to be 45 mV and DNL of 25mV which is very low in comparison with standard DWA algorithm. REFERENCES 1. S. Kuboki, K. Kato, N. Miyakawa and K. Matsubara, Nonlinearity Analysis of resistor string A/D converters, IEEE Tran. Circuits and Systems, vol. 29, no. 6, pp. 383-389, June 1982. 2. B. Razavi, Principles of data conversion system design, Piscataway, NJ: IEEE Press, 1995. 3. R. Wittmann, et al, Trimless High Precision Ratioed resistors in D/A and A/D converters, IEEE J. Solid-State Circuits, vol. 30, pp. 935-939, August 1995. 4. D. A. Johns, and K. Martin, Analog Integrated Circuit Design, John Wiley & Sons, Inc. 1997. 5. I. Fujimori, A. Nogi, and T. Sugimoto, A Multibit Delta-Sigma Audio DAC with 120dB dynamic rangeIEEE Journal of Solid-State Circuits, vol. 35, No.8, pp. 1066-1073, August 2000. 6. R. T. Baird, and T. S. Fiez, Linearity Enhancement of Multibit A/D and D/A converters using Data Weighted Averaging. IEEE Transactions on Circuits and Systems II, vol.42 no.12 pp. 753-762, December 1995. 7. O. J. A. P. Nys, and R. K. Henderson, An analysis of dynamic element matching techniques in sigma-delta Modulation, IEEE International Solid-State Circuits Conference, Digest of Technical Papers, February 1996, pp. 231-234. 8. K. D. Chen, and T. H. Kuo, An improved technique for reducing baseband tones in sigma-delta employing data weighted averaging algorithms without adding dither. IEEE Transactions on Circuits and Systems II, vol.46 no.1 pp. 63-68, January 1999. 9. M. Vadipour, Techniques for preventing tonal behavior of data weighted averaging algorithm in sigma delta modulators,. IEEE Transactions on Circuits and System II, vol.47 no.11 pp. 11371144, November 2000. 10. Hasanpour, Y. ,BandPass Dynamic Element Matching for low OSR high resolution Delta Sigma Modulators, Electronic Devices, Systems and Applications (ICEDSA), 2011 International Conference on, Page(s): 232 236, 25-27 April 2011. 11. D. K. Su, Oversampling digital-to-analog conversion, PhD dissertation, Stanford University, 1994 12. R. Schreier, and G.C. Temes, Understanding Delta-Sigma Data Converters,IEEE Press, 2005. 13. V. Colonna, .A 0.22-mm2 7.25-mW per-channel audio stereo-DAC with 97-dB DR and 39-dB SNRout,. IEEE Journal of Solid-State Circuits, vol. 40, no.7 pp. 1491-1498, July 2005. 14. Neitola, M. and Rahkonen, T. , A Generalized Data-Weighted Averaging Algorithm Circuits and Systems II: Express Briefs, IEEE Transactions on, Volume: 57 , Issue: 2 Page(s): 115 119, Feb. 2010. 15. P. Hari Krishna Prasad and Dr. M. Venu Gopal Rao, DC-DC Converters for Telecom Power Supply Applications, International Journal of Electrical Engineering & Technology (IJEET), Volume 3, Issue 1, 2012, pp. 156 - 166, ISSN Print : 0976-6545, ISSN Online: 0976-6553.

250

Вам также может понравиться