A Dual-Slope Integration Based Analog-to-Digital Convertor

Similar documents
Lecture 6: Digital/Analog Techniques

Analog to Digital Conversion

Data Converters. Dr.Trushit Upadhyaya EC Department, CSPIT, CHARUSAT

Advantages of Analog Representation. Varies continuously, like the property being measured. Represents continuous values. See Figure 12.

Analog to Digital Converters

EEE312: Electrical measurement & instrumentation

ANALOG TO DIGITAL (ADC) and DIGITAL TO ANALOG CONVERTERS (DAC)

Linear Integrated Circuits

Outline. Analog/Digital Conversion

Analog-to-Digital Converter (ADC) And Digital-to-Analog Converter (DAC)

ELG3336: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

PHYS225 Lecture 22. Electronic Circuits

UNIT III Data Acquisition & Microcontroller System. Mr. Manoj Rajale

How do ADCs work? Martin Rowe, Senior Technical Editor -- 7/1/2002 Test & Measurement World

Data Conversion Circuits & Modulation Techniques. Subhasish Chandra Assistant Professor Department of Physics Institute of Forensic Science, Nagpur

Assoc. Prof. Dr. Burak Kelleci

A-D and D-A Converters

Analogue to Digital Conversion

Analogue to Digital Conversion

A Novel Architecture For An Energy Efficient And High Speed Sar Adc

Data Converters. Lecture Fall2013 Page 1

The counterpart to a DAC is the ADC, which is generally a more complicated circuit. One of the most popular ADC circuit is the successive

EE ELECTRICAL ENGINEERING AND INSTRUMENTATION

Digital to Analog Conversion. Data Acquisition

Dedan Kimathi University of technology. Department of Electrical and Electronic Engineering. EEE2406: Instrumentation. Lab 2

ANALOG-TO-DIGITAL CONVERTER FOR INPUT VOLTAGE MEASUREMENTS IN LOW- POWER DIGITALLY CONTROLLED SWITCH-MODE POWER SUPPLY CONVERTERS

Data Acquisition: A/D & D/A Conversion

Fundamentals of Data Converters. DAVID KRESS Director of Technical Marketing

10. Chapter: A/D and D/A converter principles

Chapter 2 Signal Conditioning, Propagation, and Conversion

Chapter 5: Signal conversion

Data Acquisition & Computer Control

Analog to Digital Conversion

Computerized Data Acquisition Systems. Chapter 4

TUTORIAL 283 INL/DNL Measurements for High-Speed Analog-to- Digital Converters (ADCs)

16.2 DIGITAL-TO-ANALOG CONVERSION

ISSN:

ELG4139: Converters Analog to Digital Converters (ADCs) Digital to Analog Converters (DACs)

Winter 14 EXAMINATION Subject Code: Model Answer P a g e 1/28

Let us consider the following block diagram of a feedback amplifier with input voltage feedback fraction,, be positive i.e. in phase.

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Digital to Analog Converters (DAC) Adam Fleming Mark Hunkele 3/11/2005

The need for Data Converters

1 Signals and systems, A. V. Oppenhaim, A. S. Willsky, Prentice Hall, 2 nd edition, FUNDAMENTALS. Electrical Engineering. 2.

Electronics A/D and D/A converters

Analog to Digital Conversion

3. DAC Architectures and CMOS Circuits

ENGR 210 Lab 12: Analog to Digital Conversion

2. ADC Architectures and CMOS Circuits

Tuesday, March 1st, 9:15 11:00. Snorre Aunet Nanoelectronics group Department of Informatics University of Oslo.

University of Pittsburgh

The Importance of Data Converter Static Specifications Don't Lose Sight of the Basics! by Walt Kester

ANALOG AND DIGITAL INSTRUMENTS

Specifying A D and D A Converters

Electronics II Physics 3620 / 6620

Transistor Design & Analysis (Inverter)

FPGA Implementation Of LMS Algorithm For Audio Applications

Digital multimeter IENGINEERS- CONSULTANTS LECTURE NOTES SERIES ELECTRONICS ENGINEERING 1 YEAR UPTU. Page 1

CHAPTER ELEVEN - Interfacing With the Analog World

Design of an Asynchronous 1 Bit Charge Sharing Digital to Analog Converter for a Level Crossing ADC

Chapter 2 Analog-to-Digital Conversion...

Chapter 2: Digitization of Sound

Digital Logic Circuits

Ch 5 Hardware Components for Automation

Fan in: The number of inputs of a logic gate can handle.

DSP Project. Reminder: Project proposal is due Friday, October 19, 2012 by 5pm in my office (Small 239).

A Novel Method for Testing Digital to Analog Converter in Static Range

CENG4480 Lecture 04: Analog/Digital Conversions

Introduction. These two operations are performed by data converters : Analogue-to-digital converter (ADC) Digital-to-analogue converter (DAC)

System on a Chip. Prof. Dr. Michael Kraft

MAHARASHTRA STATE BOARD OF TECHNICAL EDUCATION (Autonomous) (ISO/IEC Certified) SUMMER-16 EXAMINATION Model Answer

A Novel Differential Switching Capacitor DAC for 10-bit SAR ADC

Construction of a five bits Analog to Digital converter

P a g e 1. Introduction

CHAPTER 5. Digitized Audio Telemetry Standard. Table of Contents

The simplest DAC can be constructed using a number of resistors with binary weighted values. X[3:0] is the 4-bit digital value to be converter to an

I hope you have completed Part 2 of the Experiment and is ready for Part 3.

The Digitally Interfaced Microphone The last step to a purely audio signal transmission and processing chain.

Practical Approach of Producing Delta Modulation and Demodulation

Analog to digital and digital to analog converters

Analog-to-Digital Conversion

High-Speed Analog to Digital Converters. ELCT 1003:High Speed ADCs

Chapter 3 Novel Digital-to-Analog Converter with Gamma Correction for On-Panel Data Driver

Analysis of the system level design of a 1.5 bit/stage pipeline ADC 1 Amit Kumar Tripathi, 2 Rishi Singhal, 3 Anurag Verma

Menu EEL EEL 3744 A/D and D/A Conversion Process. A-to-D, D-to-A, Part 1

The Architecture of the BTeV Pixel Readout Chip

DESIGN OF FOLDING CIRCUIT AND SAMPLE AND HOLD FOR 6 BIT ADC

GSM BASED PATIENT MONITORING SYSTEM

1. R-2R ladder Digital-Analog Converters (DAC). Connect the DAC boards (2 channels) and Nexys 4 board according to Fig. 1.

CHAPTER 6 DIGITAL INSTRUMENTS

All-Analog Digital Multimeter (DMM)

Cyber-Physical Systems ADC / DAC

Analogue-to-Digital Conversion

Low Cost 10-Bit Monolithic D/A Converter AD561

Based with permission on lectures by John Getty Laboratory Electronics II (PHSX262) Spring 2011 Lecture 9 Page 1

10 bit Delta Sigma D/A Converter with Increased S/N ratio Using Compact Adder Circuits

Basic Operational Amplifier Circuits

8-Bit A/D Converter AD673 REV. A FUNCTIONAL BLOCK DIAGRAM

UNIT-IV Combinational Logic

8-Bit, high-speed, µp-compatible A/D converter with track/hold function ADC0820

Transcription:

American J. of Engineering and Applied Sciences 2 (4): 743-749, 2009 ISSN 1941-7020 2009 Science Publications A Dual-Slope Integration Based Analog-to-Digital Convertor Hasan Krad Department of Computer Science and Engineering, College of Engineering, Qatar University, P.O. Box 2713, Doha, Qatar Abstract: Problem statement: With the advent of the advanced technology and the need for more advanced equipment, the current progress and development of electronic instruments stimulate more interest and efforts for more innovative ideas and better designs. Many real world physical values, such as sounds, temperature, pressure and humidity, can be measured as analog or continuous signals. However, to process these signals by computers or digital equipments, we need first to convert these analog signals into digital or discreet signals. Approach: There are many types of Analog-to-Digital Converters (ADCs) which can be classified according to the concept on which they were designed. For example, there are charge-coupled A/D converter, digital-ramp A/D converter, successive approximation A/D converter, voltage-to-frequency A/D converter, Delta-Sigma A/D converter, Flash A/D converter and some of these converters require the use of Digital-to-Analog Converters (DACs) and/or analog comparators and some logic modules. In some other cases, many analog comparators are needed to perform the conversion. We are trying to use a different approach that reduce the design complexity and improve the measurement quality by using the double-slope integration concept. Result: The new design does not require the use of a DAC module, nor does it need to use many analog comparators to do the conversion. Conclusion: The advantage of the new design would contribute to the simplicity of the design, enhance its reliability and guarantee the linearity of the conversion process that leads into better quality instruments. Key words: Analog-to-digital converters, analog signals, digital signals, quantization INTRODUCTION An Analog-to-Digital (A/D) converter is an electronic circuit, which converts continuous signals to discrete digital signals. An analog signal is continuous in time and it is necessary to convert it into a digital signal so it can be measured and processed using digital equipment [1,7]. Most processing equipment today are digital in nature and they work with signals which are represented as binary values. In a digital or binary representation, a signal is represented by a word, which is composed of a finite number of bits. The processing of signals is preferably carried out in the digital domain because digital processing is fast, accurate and reliable. A/D converters are widely used for converting analog signals to corresponding digital signals in many electronic devices. Analog to digital converters allow the use of sophisticated digital signal processing systems to process analog signals, which are common in the real world. Many modern electronic systems require conversion of signals from analog to digital or from digital to analog form. Circuits for performing these functions are now required in numerous common consumer devices such as digital cameras, cellular 743 telephones, wireless data network equipment, audio devices such as MP3 players and video equipment such as Digital Video Disk (DVD) players, High definition Digital Television (HDTV) and numerous other products. ADCs form an essential link in the signal processing pathway at the interface between the analog and digital domains. Advances in ADC technology [2-6] have increased the speed, lowered the cost, reduced the power requirements of A/D converters and resulted in an increase in the ADC s applications. Digital signals are often an approximation of the analog data (like voice or video) that is obtained through a process called quantization. The digital representation is never the exact signal, but its most closely approximated digital form. So its accuracy depends on the degree of approximation taken in quantization process. The first advantage of digital communication over analog one is its noise immunity. In any transmission path some unwanted voltage or noise is always exist which cannot be eliminated fully. When a signal is transmitted, this noise gets added to the original signal causing a distortion of the signal. However, in a digital communication at the receiving end this additive noise can be eliminated to a great

extent easily resulting in a better recovery of actual signal. In case of analog communication it's difficult to remove the noise once added to the signal. Digital communication provides better security to messages than the analog communication. It can be achieved through various coding techniques available in digital communication. Moreover, digital communication can be done over large distances through internet and other techniques. Digital signal provides facilities like video conferencing which save a lot of time, money and effort. Analog signals suffer from some problems when there is a significant loss of data or slightly faulty equipment while broadcasting the signal. The important aspects of the analog data are that analog signals use simpler technology, signals are continuous, but are prone to noise & interference, so not exactly what is transmitted is received without being altered. When the analog signal gets weaker or the equipment are not perfect some reception can give some unexpected picture, sound, or value. The reason can be because of a signal interception by other parties with the same technology. For this reason, signals are converted from analogue to digital. However, in digital form, electronic pulses are transmitted in the form of High/Low, 0-5 v, signals. When these pulses are received, they can be added to or removed from the existing data, so a clearer picture can be created and/or a better sound quality can be produced. In addition, required values will be received correctly. It is also secure because data can be encrypted to stop interception from unwanted parties. Analog-to-Digital Converters (ADCs): There are different types of architectures available for A/D converters. These types vary in speed, accuracy and interface. Among the most common ones that are commercially available are: Digital-ramp ADC Successive approximation ADC Flash ADC The basic idea of the conversion is the use a comparator to determine whether or not to set to 1 a particular bit of a binary number output. Most of the common ADCs use a DACs and an analog comparator to carry out the conversion [9]. Figure 1 shows a simple block diagram of an ADC. The logic block can be one of many different designs. The conversion of an analog signal to a digital one is done by comparing the input analog signal with a predetermined value (a guess) and if this value does not exceed the unknown input value then the process will be repeated until the optimum guessed value is obtained. Different ADCs use different guess strategy or conversion algorithms. Am. J. Engg. & Applied Sci., 2 (4): 743-749, 2009 Fig. 1: A basic block diagram of an analog-to-digital converter Fig. 2: A basic block diagram for a digital-ramp ADC Digital-ramp ADC: Figure 2 shows a simple block diagram of this type of ADCs [11]. The analog input signal is connected to the input terminal of a comparator that triggers a binary counter. The counter is connected to a DAC and the output of the DAC is connected to the other input terminal of the comparator. The output of the DAC will increase gradually as the counter is getting incremented. This process will continue until the output of the DAC exceeds the unknown analog input signal, then the comparator output will change and cause the counter to stop and its value at that moment will represent the value of the input analog voltage. Successive approximation ADC: This type is used in most modern IC ADCs. It is much faster than the digital-ramp ADC because it uses a digital logic that converges on the closest value to the input analog voltage [8,11,12,14]. Figure 3 shows the block diagram of a Successive Approximation ADC. The successive approximation converter performs a binary search through all possible quantization levels before converging on the final digital value. The simplicity of the design allows for both high speed and high resolution while maintaining relatively small area. 744

Fig. 3: A basic block diagram for a successive approximation ADC The binary search starts with the Most Significant Bit (MSB) and works towards the Least Significant Bit (LSB). The control logic initializes the MSB to a value 1. Then the content of Successive Approximation Register (SAR) is fed into a DAC which outputs an equivalent analog voltage value needed to be compared with the unknown input voltage. If this value exceeds the input voltage then the comparator causes the control logic of the SAR to reset the MSB back to 0 and set the next bit to 1. If the output of the DAC is still lower than the input voltage then this bit will be kept at value 1 and the next lower bit will be set to 1. The binary search continues till every bit of the SAR is tested. The content of the SAR then will be the digital approximation value of the sampled input analog signal. Flash ADC: Flash ADCs, also known as parallel ADCs, are among the most common ADCs and considered to be among the most efficient in terms of speed. They use a linear voltage ladder with different levels of comparison between input voltage values and successive reference voltage values. Its circuit uses a series of comparators, each one comparing the input signal with a unique reference voltage. Although flash type analog-to-digital converter has some advantages, it suffers from a number of drawbacks due to massive parallelism and lack of frontend sampling circuit. These analog-to-digital converters require excessively large power and area for resolutions above 8 bits. Furthermore, the large number of comparators gives rise to problems such as dc and ac deviation of the reference voltages generated by the large nonlinear input capacitance and noise at the analog input. Figure 4 shows a 3 bit flash ADC with an input voltage and a reference voltage. If the reference voltage is lower than the input voltage for any comparator, then the output of that comparator will be set to 1. 745 Fig. 4: A basic block diagram for a flash ADC Fig. 5: A block diagram of the proposed design Otherwise, it will stay at 0. An 8-to-3 priority encoder is used to convert the 8 bit code to 3 bit binary value that represents the input voltage value. The problem with this type of ADCs is that they require a large number of comparators [8,11,13,14]. Double-slope integration based ADC: Our proposed electronic measurement system, as shown in the following block diagram of Fig. 5, is based on the double-slope integration method. MATERIALS AND METHODS In our design, the converter receives two signals, the analog input signal and the other one is a reference signal. These signals are accessed by a switching module. Then the analog signal (continuous in time) is sampled and the sample is integrated via an integrator module and after a certain time window, the reference signal, with a negative polarity, will be integrated. The basic principle of this operation is that the comparator module will determine the time to stop the integration process as shown in Figure 6.

Fig. 7: A basic block diagram for a double-slope integration ADC Fig. 6: A basic block diagram for a double-slope integration ADC RESULTS The time required for integrating the reference signal will be proportional to the value of the analog signal sample. Subsequently, the counter would contain binary digital representation of the input signal, which is converted into a decimal code. Finally, the decimal code representing the sample value is displayed on a seven-segment display. Fig. 8 Input/output signals DISCUSSION We have designed, simulated and implemented our proposed ADC which is based on the double-slope integration concept without the need to use a DAC [1,7-10], as the case of the digital-ramp ADC and the successive approximation ADC, nor does it need a large number of comparators, as the case of the flash ADC. It takes only one integrator, one comparator, a timer block, a control block and a 7-segment display. Figure 7 shows the simple block diagram of our proposed ADC design. We assumed that V in Max < V ref so that T 2 Max < T 1 : T 1 = N 1 T = Constant (1) T 2 = N 2 T (2) Fig. 9: Timing signals of the double-slope integration ADC V in T 1 = V ref T 2 (3) If we replace T 1 and T 2 in (3) by their values from (1) and (2) and simplify both sides, we get: V in N 1 T = V ref N 2 T where, T is the clock pulse cycle time and N 1 and N 2 are clock pulse counts during time periods T 1 and T 2, respectively. 1 t Since Vout = V 0 indt RC for an integrator circuit, we can write: t2 t3 1 1 Vout = Vin dt Vref dt 0 RC + = RC t1 t2 Vin VR (t 2 t 1 ) = (t3 t 2) RC RC V in N 1 = V ref N 2 V V = N = Cons tan t N ref in 2 2 N1 V N in 2 The input and output signals are shown in Fig. 8. Initially, switch S 1 is on and S 2 and S 3 are off. The integrator will integrate a sample of the input voltage, V in, for a fixed period of time T 1 during which the comparator output will be 1 as shown in Fig. 8. 746

Fig. 10: Multisim simulation circuit Fig. 11: Control timing signals Then at the end of T 1, switch S 1 will be off and switch S 2 will be on and the integrator will integrate a negative fixed reference voltage, V ref, for a period of time T 2 at the end of which the output of the integrator go back to zero and similarly the comparator output changes back to zero too. Then the system will relax for a period of time T 3 during which the result will be displayed, switch S 3 will be on to discharge the capacitor and the system will go back to the initial state to start the process again, Fig. 9. 747 Fig. 12: First phase signals The simulation circuit using, Multisim software package is shown in Fig. 10 and the control timing signals are shown in Fig. 11. The following Fig. 12-14 show the simulation output signals during the three different phases of the measuring process.

Fig. 13: Second phase signals Fig. 14: Third phase signals The period of times T 1 and T 3 are fixes. However, the period of time T 2 is proportional to the input voltage value. The system measures T 2 in terms of binary number to determine the value of the input voltage. CONCLUSION Different types of analog-to-digital converters are introduced. They either require digital-to-analog converters or a large number of comparators. We have discussed a new design of an analog-to-digital converter based on the double-slope integration concept. Our ADC design requires only one integrator, one comparator, a timer and a control logic circuit. It does not need a digital-to-analog converter nor does it need a large number of comparators, like the cases of other ADCs. This contributes to the simplicity of the design. ACKNOWLEDGEMENT This study was partially sponsored by the College of Engineering at Qatar University and partially Am. J. Engg. & Applied Sci., 2 (4): 743-749, 2009 748 sponsored by the Undergraduate Research Experience Program (UREP) of the Qatar National Research Fund (QNRF) at Qatar Foundation. I would like to also acknowledge the students M. Al-Sada, N. Al-Sahuti, H. Al-Rumaihi and E. M. AboZehry for participating in this study. REFERENCES 1. Kleitz, W., 2006. Digital Electronics with VHDL. Quartus II Version, Prentice Hall, ISBN: 0-13- 171490-2. 2. Kyung, C.M. and C.K. Kim, 1981. Charge-coupled analog-to-digital converter. IEEE J. Solid-State Circ., 16: 621-626. http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?tp=&a rnumber=1051653&isnumber=22580 3. Sasaki, K. and N. Yoshida, 2003. Analog to digital conversion taking into account speed of signal change and its accuracy. Proceeding of the SICE Annual Conference, Aug. 4-6, IEEE Xplore Press, Fukui, pp: 380-385. DOI: 10.1109/SICE.2003.1323376 4. Quevedo, D.E. and G.C. Goodwin, 2005. Multistep optimal analog-to-digital conversion. IEEE Trans. Circ. Syst., 52: 503-515. DOI: 10.1109/TCSI.2004.843058 5. Powell, I.A. and W.J. Perold, 2007. A switching logic digitizer for analog-to-digital conversion. IEEE Trans. Applied Superconductiv., 17: 3886-3896. DOI: 10.1109/TASC.2007.910164 6. Bouhedda, M., M. Attari and B. Granado, 2007. FPGA implementation of nural nonlinear ADCbased temperature measurement system. Proceeding of the IEEE International Workshop on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applications, Dortmund, Germany, Sept. 6-8, IEEE Xplore Press, Dortmund, pp: 232-237. DOI: 10.1109/IDAACS.2007.4488411 7 Tocci, R.J., N.S. Widmer and G.L. Moss, 2004. Digital Systems: Principles and Applications. 9th Edn., Prentice Hall, ISBN: 0-13-111120-5. 8. Bartee, T.C., 1991. Computer Architecture and Logic Design. McGraw Hill, ISBN: 0-07-003909-7, pp: 628. 9. Shiva, S.G., 1991. Computer Design and Architecture. 2nd Edn., Harper Collins, ISBN: 0-673-39683-5, pp: 594. 10. Texas Instruments Incorporated, 1985. The TTL Data Book-Standard TTL. Schottky, Low-Power Schottky Circuits, Vol. 2, ISBN: 0-89512-096-8, 1985.

11. Nave, C.R., 2006. HyperPhysics, ebook, Department of Physics and Astronomy, Georgia State University. http://hyperphysics.phyastr.gsu.edu/hbase/electronic/adc.html#c2 12. Short, K.L., 2009. VHDL for Engineers. Perarson Prentice Hall, ISBN: 0-13-501810-2, pp: 445. 13. Kuphaldt, T.R., 1999. All About Circuits: Complete Guide to Electric Ciecuits. Vol. IV. http://www.allaboutcircuits.com/vol4/chpt_13/4.html 14. Brian Black, 1999. Analog-to-digital converter architectures and choices for system design. http://www.analog.com/library/analogdialogue/arc hives/33-08/adc/ 749