BI Technologies R2R Resistor Ladder Networks

Similar documents
DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Digital to Analog and Analog to Digital Conversion

Conversion Between Analog and Digital Signals

Section 3. Sensor to ADC Design Example

NTE2053 Integrated Circuit 8 Bit MPU Compatible A/D Converter

Pressure Transducer to ADC Application

Interfacing Analog to Digital Data Converters

A Digital Timer Implementation using 7 Segment Displays

Chapter 12: The Operational Amplifier

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

Reading: HH Sections , (pgs , )

Pulse Width Modulation

DS1621 Digital Thermometer and Thermostat

Operational Amplifier - IC 741

Digital to Analog Converter. Raghu Tumati

AVR127: Understanding ADC Parameters. Introduction. Features. Atmel 8-bit and 32-bit Microcontrollers APPLICATION NOTE

Tire pressure monitoring

Alphasense Application Note AAN DESIGNING A POTENTIOSTATIC CIRCUIT

Electronics. Discrete assembly of an operational amplifier as a transistor circuit. LD Physics Leaflets P

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

DAC Digital To Analog Converter

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

CHAPTER 11: Flip Flops

How To Calculate The Power Gain Of An Opamp

LM118/LM218/LM318 Operational Amplifiers

DATA SHEET. TDA1543 Dual 16-bit DAC (economy version) (I 2 S input format) INTEGRATED CIRCUITS

X9C102/103/104/503. Terminal Voltages ±5V, 100 Taps. Digitally-Controlled (XDCP) Potentiometer

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

Features. Note Switches shown in digital high state

Precision Diode Rectifiers

Digital To Analog Converter with Sine Wave Output

Op amp DC error characteristics and the effect on high-precision applications

Operational Amplifiers

b 1 is the most significant bit (MSB) The MSB is the bit that has the most (largest) influence on the analog output

THERMAL ANEMOMETRY ELECTRONICS, SOFTWARE AND ACCESSORIES

Technical Datasheet Scalar Network Analyzer Model MHz to 40 GHz

AP-1 Application Note on Remote Control of UltraVolt HVPS

TESTS OF 1 MHZ SIGNAL SOURCE FOR SPECTRUM ANALYZER CALIBRATION 7/8/08 Sam Wetterlin

Evaluating AC Current Sensor Options for Power Delivery Systems

DS1621 Digital Thermometer and Thermostat

Description. 5k (10k) - + 5k (10k)

1. Oscilloscope is basically a graph-displaying device-it draws a graph of an electrical signal.

Op Amp Circuit Collection

MAS.836 HOW TO BIAS AN OP-AMP

Frequency Response of Filters

Scaling and Biasing Analog Signals

Buffer Op Amp to ADC Circuit Collection

Measuring Resistance Using Digital I/O

Redesigned by Laurier Gendron (Aug 2006 ) Download this project in PDF. Horn circuit. Train Circuitry

Microcontroller to Sensor Interfacing Techniques

OPERATIONAL AMPLIFIER

ADC0808/ADC Bit µp Compatible A/D Converters with 8-Channel Multiplexer

EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS

NTE923 & NTE923D Integrated Circuit Precision Voltage Regulator

Analog/Digital Conversion. Analog Signals. Digital Signals. Analog vs. Digital. Interfacing a microprocessor-based system to the real world.

LC2 MOS Quad 8-Bit D/A Converter AD7226

Wireless Precision Temperature Sensor Powers Itself, Forms Own Network, Enabling Easy Deployment in Industrial Environments

QUICK START GUIDE FOR DEMONSTRATION CIRCUIT BIT DIFFERENTIAL ADC WITH I2C LTC2485 DESCRIPTION

Content Map For Career & Technology

Controlling a Dot Matrix LED Display with a Microcontroller

[F/T] [5] [KHz] [AMP] [3] [V] 4 ) To set DC offset to -2.5V press the following keys [OFS] [+/-] [2] [.] [5] [V]

DRM compatible RF Tuner Unit DRT1

SEMICONDUCTOR TECHNICAL DATA

A PC-BASED TIME INTERVAL COUNTER WITH 200 PS RESOLUTION

ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME

GT Sensors Precision Gear Tooth and Encoder Sensors

Description. Output Stage. 5k (10k) - + 5k (10k)

Constructing a precision SWR meter and antenna analyzer. Mike Brink HNF, Design Technologist.

Chapter 6: From Digital-to-Analog and Back Again

Fig. 1 :Block diagram symbol of the operational amplifier. Characteristics ideal op-amp real op-amp

Model AD558J AD558K AD558S 1 AD558T 1 Min Typ Max Min Typ Max Min Typ Max Min Typ Max Units

Low Cost, Precision IC Temperature Transducer AD592*

DPI 260 SERIES: Digital Pressure Indicators

LM134-LM234-LM334. Three terminal adjustable current sources. Features. Description

PowerAmp Design. PowerAmp Design PAD135 COMPACT HIGH VOLATGE OP AMP

Adding Heart to Your Technology

Glolab Talking Phone Dial Monitor

AP331A XX G - 7. Lead Free G : Green. Packaging (Note 2)

Experiment 5. Strain Gage Measurements


TL082 Wide Bandwidth Dual JFET Input Operational Amplifier

SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS

PLL frequency synthesizer

Op-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.

Transistor Characteristics and Single Transistor Amplifier Sept. 8, 1997

POCKET SCOPE 2. The idea 2. Design criteria 3

A Lesson on Digital Clocks, One Shots and Counters

DS1307ZN. 64 x 8 Serial Real-Time Clock

A Lesson on Digital Clocks, One Shots and Counters

Accurate Measurement of the Mains Electricity Frequency

PC BASED PID TEMPERATURE CONTROLLER

Building the AMP Amplifier

APPLICATION NOTES: Dimming InGaN LED

Wireless Security Camera

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

Lab 7: Operational Amplifiers Part I

AS A Low Dropout Voltage Regulator Adjustable & Fixed Output, Fast Response

Build A Video Switcher. Reprinted with permission from Electronics Now Magazine September 1997 issue

GLOLAB Universal Telephone Hold

Transcription:

BI Technologies esistor Ladder Networks 8-Bit and 0-Bit resistor ladder networks for DAC and ADC applications. Auto calibration circuits Slope generators Function generators Motor speed control Model BCN3Ladder 628 Ladder Body Style 252 SO-M Number of Leads / Terminals 0 Terminal 6 Leads esistance ange, Ohms K to K to Temp. Coefficient, ppm/ o C ± 00 ± 00 Operating Temperature ange o C -40 o C to +25 o C -55 o C to +25 o C Ladder Accuracy 8 Bit: ± /2 LSB 8 Bit: ± /2 LSB Power ating esistor Power 25mW 40mW Package Power 400mW 640mW 8-Bit Ladder Networks in dual in line and single in line packages. 0-Bit Ladder Networks in dual in line, single in line and moulded surface mount packages. Please consult factory. Ordering Information BCN 3 Ladder 628 Ladder Schematics BCN 3 Ladder 628 Ladder

Introduction eal world signals are analogue. Digital systems that interface with the real world do so using analogue-to-digital converters (ADC). Conversion back to analogue is accomplished using digital-toanalogue converters (DAC). The ladder network is commonly used for Digital to Analogue conversion and Analogue to Digital conversion by successive approximations. This application note discusses the important parameters that should be considered when implementing DAC designs using an resistor ladder. ladder functional description A basic N bit resistor ladder network is shown in Figure. The digital inputs or bits range from the most significant bit (MSB) to the least significant bit (LSB). The bits are switched between either 0V or V EF and depending on the state and location of the bits V OUT will vary between 0V and V EF. The MSB causes the greatest change in output voltage and the LSB causes the smallest. The ladder is inexpensive and relatively easy to manufacture since only two resistor values are required. It is fast and has fixed output impedance. The ladder operates as an array of voltage dividers whose output accuracy is solely dependent on how well each resistor is matched to the others. The resistors in the network are printed directly onto a single substrate using a single film so they share similar electrical characteristics they are also laser trimmed to provide the necessary precision. These monolithic networks have an inherent accuracy advantage over discrete solutions because of the tight ratio tolerances and low temperature coefficient of resistance tracking. LSB MSB Bit N Bit N - Bit N - 2 Bit 3 Bit 2 Bit termination V out Figure. N Bit esistor Ladder The termination resistor is always connected to ground and insures that the Thevenin resistance of the network, as measured to ground looking towards the LSB (with all bits grounded), is. The Thevenin resistance of an / ladder is always regardless of the number of bits in the ladder. Figure 2 shows a common implementation of the resistor ladder network as a Digital to Analogue Converter using an op amp output.this type of DAC is know as a multiplying converter. The output voltage is linearly proportional to the digital input and the range can be adjusted by changing the reference voltage V EF. The source impedance as seen by the op amp is always constant and equal to regardless of the digital input. The value of can be made low to charge up the op amp input capacitance quickly and achieve V ref D 0 D D 2 D 3 D 4 D 5 D 6 D 7 f V out termination f D 0 D D 2 D 3 D 4 D 5 D 6 D 7 V out = - + + + + + + + D = 0 or ( 2 4 8 6 32 64 28 256) Figure 2. Multiplying converter

the required bandwidth. As a general rule the op amp bandwidth should be as small as possible (i.e. a low pass filter) to pass only the expected changes in the digital input, any excess bandwidth only adds noise to the output. The op amp should have good stability against temperature changes and supply voltage variations. The digital input is connected to the resistances sometimes by means of a high-speed analogue switch. The digital input voltage at D7 has twice the gain of the digital input at D6, and so on. This can be demonstrated by using a repeated application of Thevenin s theorem as follows. Consider an input of LSB that is D 7 D 6 D 5 D 4 D 3 D 2 D D 0 = 0000000 and V EF = 5V. Neglecting the source resistance of the 5V input, Thevenin s theorem applied to the 5V source and the bottom two resistors replaces them with a 2.5V source in series with a single (Thevenin) resistance of as shown in Figure 3. epeated application of Thevenin s theorem yields the result. The 8-bit resistor ladder network used in this example has an output voltage of 0.0039V for a digital input of LSB. D 7 D 6 D 5 D 4 D 3 D 2 0.625V D D 0 5V 2.5V 2.5V Figure 3. epeated application of Thevenin s theorem esolution esolution is the smallest standard incremental change in output voltage of a DAC. An n-bit DAC can decode part in 2 n, therefore the LSB carries a weight of 2 -n. For example, a DAC with 0-bit resolution can resolve part in 2 0 or 0.097% of the full-scale output voltage when the binary input code is incremented by one LSB. Accuracy The accuracy of an ladder is the percentage error in the output voltage and is usually expressed in terms of least significant bits. For example, a +/- ½ LSB.specification on an 8-bit ladder is the same as +/- 0.95% full scale accuracy. We define output error as the deviation from an ideal output voltage that would be provided by a perfect reference and DAC. We address absolute accuracy in this application note, this means that everything is referenced to an ideal DAC output-voltage range. For example, a 0 bit DAC code 023 should produce an output of.023v with a reference voltage of.024v and any deviation from this is an error.

. Automatic Circuit Calibration DAC Air pressure sensor Electronic air pressure sensors are available at very reasonable cost and are used in numerous commercial applications. Air pressure sensors are sensitive strain gauges configured as resistor bridges. One leg of the bridge is a diaphragm that compresses and expands with fluctuations in air pressure resulting in small resistance changes. Since the resistance change is small the system is required to have a very large gain. For systems with a single power supply the instrumentation amplifier configuration provides good common-mode rejection ratio CM and minimises the number of passive components required to set the gain. The gain is set so that it provides maximum output voltage swing while avoiding amplifier saturation. System errors such as temperature drift and sensor offset can cause the output voltage to saturate and as a result it is necessary to esistor Bridge provide a calibration mechanism. Calibration can be realised using potentiometers however they are undesirable in production designs. The part cost is higher than a fixed resistor and a pot requires human intervention thus it is preferable for adjustments to be made in software. Provided the current air pressure is known, then it is possible for the microprocessor to determine the calibration constants automatically and store them to memory. An resistor ladder network controlled by the microprocessor forms a DAC that adjusts for the errors as shown in this example. Microprocessor D 0 D D 2 D 3 D 4 D 5 D 6 D 7 2 esistor Ladder Network Instrumentation Amplifier 3 4 5 C C2 6 8 7 9 5 3 2 Error Adjustment Test Point 4 0 CH 2. LCD Backlight Dimmer Slope generator DAC Backlighting is a key element in many liquid crystal display (LCD) applications. Due to the relatively low overall transmission of a typical LCD, the backlight is sometimes required to have extreme brightness. It should also possess a wide dimming range to facilitate use, depending on the amount of ambient light. LCD backlight controller IC s require a brightness adjustment signal in the form of a linear control voltage. There are several ways of generating the Brightness Adjust voltage. The simplest is by using a potentiometer. Another method, shown in this example, is by using a digital UP/DOWN counter. In this method two push button switches are used to generate a logic level for an UP count and a logic level 0 for a DOWN count. The UP/DOWN counters provide a digital output signal that is converted into an analogue signal using the resistor ladder network. There are 256 brightness levels and setting the UP/DOWN counters pre-set inputs configures the brightness level at turn on. V CC Bright Dim UP / DOWN Push Button Control CLOCK CLK U/D C OUT P 3 Q 3 P 2 Q 2 P Q P 0 Q 0 PE C IN P 3 P 2 P P 0 MC456B MC456B CLK M.S.B L.S.B U/D = UP 0 = DOWN UP / DOWN Counter UP / DOWN Counter PE C OUT Q 3 Q 2 Q Q 0 C IN To Brightness Adjust Ladder Network

3. Sine and DTMF Waveform Generation - Function generator DAC Many embedded applications require the generation of analogue signals. For example the generation of multiplexed frequencies (DTMF) for telephone dialling, controlling the speed of a motor, the generation of sound and complex waveforms as well as the generation of variable voltages in power supplies. Although separate digital to analogue converter IC s exist the extra expense makes them prohibitive in cost sensitive designs. The example shown here demonstrates a DAC design using an ladder and a microcontroller. To generate a single sine wave, the user creates a lookup table with the correct number of sample points. The software steps through each sample point and moves this value to the I/O port. The ladder converts the digital signal to an analogue one. It is important that every sample point uses the same timing interval. Many telecomm applications, such as auto diallers, telephone keypads and security systems require DTMF for dialling and data transfer. Using the ladder and seven sine lookup tables an entire 2-key keypad of DTMF patterns can be generated using a 3.579545 crystal. V DD OSC OSC 2 V DD MCL A A A A 3 2 0 TOCLI GND C2 3.57945 MHz X C PIC6C620 PIC Microcontroller B B B B B B B B 7 6 5 4 3 2 0 Analogue Output Ladder Network 4. Non-Linear Digital Dimmer - ADC The digital dimmer box is intended for stage illumination in theatres. It is simple and inexpensive to implement using a microcontroller and an ladder. It is compatible with older analogue dimmer boxes and supports 4400-Watt loads. In stage illumination, dimming of each incandescent lamp is controlled by an analogue voltage (ranging from 0 to 0 volts) and is supplied by a remote console. To achieve linear perception, a dimmer box should exhibit a non-linear response to the control voltage. Older dimmer boxes employ analogue processing for the task of compensation. The digital approach uses a simple software look-up table concept to implement response compensation. As a result, a dedicated external analogue circuit is not required. The system control uses a microcontroller running at 2MHz and an 8-bit resistor ladder network on port 2 as a digital to analogue converter. The output provides a reference voltage (pin 33) for the analogue comparator on port P3. The analogue control voltage is connected to another comparator input (pin 3) and the analogue to digital conversion is completed by software using a successive approximation technique. The counter/timer generates a time delay between the zero crossing of the line voltage and the TIAC s trigger pulse. As a result, power is delivered to the load. At 2 MHz, it is possible to achieve delays from 0 to 8.33ms with the correct settings of the counter/timer prescaler, which corresponds to the phase-triggering range for an AC line frequency of 60Hz. AC LINE 230VAC LOAD 4400 W 00nF C5 Control Voltage 0 to 0V Q MAC 224A0 20k 6 20k 0 80 6+6V/00mA D5 78L05 N4007 V V 0 0uF C4 G 6 4 8k V cc D6 N4007 000uF C6 D D2 LED 7 k U 4 2 MOC 3020N 9 0k V cc 330 00nF C3 D4 2 3 8 9 D3 0 P 00 P 0 P 02 P 3 P 32 P 33 C2 2.0000 MHz X C 7 6 Microprocessor Z86E082PSC XTAL2 P 20 5 P 2 P 22 P 23 P 24 P 25 P 26 P 27 6 7 8 2 3 4 esistor Ladder Network

5. Analogue to Digital Converter - ADC This is an example of an 8-bit analogue to digital converter built using two cascaded binary up/down counters an op-amp and an resistor ladder network. The analogue signal that needs to be converted into a digital signal is fed into the inverting input of the opamp. The op-amp output drives the up/down or direction pin of the binary counters until the ladder output on the non-inverting opamp input equals the analogue input, at that point the counter state represents the digital equivalent of the analogue input. Adjusting the clock frequency sets the system resolution. Digital Output D 0 D D 2 D 3 D 4 D 5 D 6 D 7 PE C IN Q0 P 0 P P 2 P 3 MC456B L.S.B UP / DOWN Counter Q Q2 CLK U/D C OUT Q3 P 0 P P 2 P 3 CLK MC456B M.S.B PE UP / DOWN Counter C IN Q0 Q Q2 U/D C OUT Q3 Analogue Input esistor Ladder Network