Part Number Hot Search : 
C110A DTA144W 42008 DTA144W MTZJ13B1 DM74L 80012 D6NK5
Product Description
Full Text Search
 

To Download AN147 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  application note 1 of 7 www.xicor.com au g ust, 2000 an 147 automated linearization of sensor circuits tony ochoa, xicor, inc. objective the objective of this application note is to demonstrate 1) the use of the x4023x family of devices to automate linearization techniques in manufacturing of sensor circuits, 2) the use of xicors windows / labview driver software for prototyping and manufacturing of these circuits. this application note references examples from the application note an135 ?ensor circuits and digitally controlled potentiometers?to demonstrate the concepts herein. description this application note will describe techniques using the x4023x family of devices to automate linearization of a temperature sensor and pressure sensor circuit. a typical x4023x device contains two voltage monitors, two digitally-controlled potentiometers, voltage good logic outputs, general purpose eeprom, and a fault detection register. in addition, programming of the device is achieved via 2-wire bus. this application note will provide examples of how these functions can be used for zero offset and full scale adjustments and how to monitor critical voltages for automated calibration in manufacturing. table 1 provides a summary of the func- tions available in the x4023x family. figure 1 depicts a conceptual block diagram of areas where the x4023x can be used in sensor signal conditioning circuits. further details are provided for speci? examples below. prtd signal conditioning circuit figure 2a depicts a simpli?d example of a prtd (platinum resistance temperature detector) is a bridge circuit whose output is ampli?d by a high performance instrumentation ampli?r (ia). amongst the problems associated with this traditional approach is the lack of variability to account for sensor variations, lack of a linearization scheme, and the high cost of the instrumen- tation ampli?r. the prtd temperature response consist of resistance variation of the order of only tenths of ohms/c. hence strict attention must be paid to the effects of the trans- ducer lead wire resistance. table 2 lists the design consideration required. table 2: design considerations of prtd circuits (source: xicor application note 135). figure 2b provides a solution to these design consider- ations using xicors x4023x. the results provide a precision thermometer with an output span and span that is tunable using two digitally-controlled potentiometers. current excitation of the prtd is sourced by the 2.5v voltage reference vr1 via r1. the dcp1 (digitally controlled potentiometer of the x4023x) provides for table 1: x4023x family selector guide x= 256 tap 100 tap 64 tap 111 31 51 71 1 911 design consideration notes magnitude of the excitation current must also be severely limited excessive i 2 r prtd power dissipation will cause unaccept- able large self-heating measurement errors low excitation currents and small resistance changes means ptrtd signal will be in the order of tens of v/c requirement of stable high gain dc ampli?ation in the signal chain prtd temperature coef?ient is only ?easonably?invariant with temperature and, as a result, the prtds response is signi? cantly non-linear accurate measurement of temperature over wide range depends on the provision for linearization of the prtd signal
2 of 7 an 147 application note www.xicor.com au g ust, 2000 figure 1. x4023 used in smart sensor signal conditioning figure 2a. simple temperature sensor diagram vmon 1 sensor ia level shift filter precision opamp vmon 2 x4023x fault detection register to zero offset circuits see examples figures 2 & 3 to full (span) scale circuits csr & bus i/o sm bus, i 2 c, windows - labview i/f eeprom voltage good logic v1fail (v1good) v1good, v2good statuts bits v2fail (v2good) to control windows - labview i/f prtd v bias v out ia c/v
3 of 7 an 147 application note www.xicor.com au g ust, 2000 automated adjustment of the thermometer scale factor and span. voltage monitor vmon2 monitors the current excitation by tracking the voltage. the vmon2 pin can be programmed to monitor volt- ages between 1.2v to 4.7v at an accuracy of ?50mv over temperature. so for instance vmon2 is programmed to monitor 2.5v to within 50mv. once this voltage node reaches that trip point, the x4023x issues a ?oltage good?signal (using the v2fail signal pin) and also registers the ?oltage good?status into the fault detection register. this allows for automated tuning of the scale adjust circuit. by using the voltage monitors and status pins (v3fail output), the xdcp can be incre- mented or decremented in a control loop via 2-wire bus (sda and scl pins) until the desired excitation current is reached. this can be done in literally 100s of millisec- onds. thus saving on manufacturing calibration time and cost. note: xicor offers additional programming figure 2b. temperature sensor signal condition using x4023x +5v 2 2 ? + 7 3 4 4 5 6 6 r3 r4 20k 20k 20k dcp1 r3 r1 10k 1m r6 1m r9 r2 r11 10k r10 964k 200 200 +5v a1 ? 5v r7 r8 205k vout = 10mv/ c sense vout sense vout = x4023x ltc1050 c1 .1 f .1 f c2 vr1 lt 1019 -2.5v full scale adjust dcp2 zero adjust 100 ? @ 0 c prtd +2.5v 2% vmon2 voltage good logic control system option1 windows - labview i/f option 2 csr & bus i/o fault detection register eeprom x4042x vmon1
4 of 7 an 147 application note www.xicor.com au g ust, 2000 software that can be used for computer-driven manufac- turing systems (see windows-labview software later in the application note). a1 is a noninverting ampli?r with a gain of 100 which scales up the raw 100mv/c prtd temperature signal to 0.01v/c. the dcp2 network implements a high resolu- tion zero adjustment. each increment in dcp2s (for the 256-tap options of the x4023x) setting will result in a 200mv shift in a1s output which is equivalent to a 0.02c zero adjustment. again, vmon3 voltage monitor is used to monitor the output of the a1 ampli?r. hence automated zero adjustments can be achieved by moni- toring the vmon3 voltage while incrementing or decrementing dcp2. by using the voltage monitors and status pins (v2fail output), the xdcp can be incremented or decremented in a control loop via 2-wire bus (sda and scl pins) until the desired a1 output voltage is reached. similarly, this can be done in literally 100s of milliseconds. the net result of the combination of a1 and the associated circuit is a signal conditioning, precision temperature sensor that is compatible with full automa- tion of the calibration process using the x4023x. programmable pressure transducer circuit this silicon piezoresistive-bridge pressure transducer (sppt) must be supported by appropriate signal condi- tioning and calibration circuits. the signal conditioning circuit must also include stable, high resolution, preferably non-interactive, zero and span trims. the automation of the calibration of the sensor circuit is an enormous bene? in the production environment. figure 3a employs a bridge that is current-biased and two ampli?rs and xicors x4023x (two digitally controlled potentiometers and two voltage monitors for zero and full scale (gain) adjustments (for more details see xicor application note 135). figure 3a. simple pressure sensor diagram figure 3b provides a detail circuit of the pressure transducer signal conditioning circuit. ampli?r, a2, and the xicor x4023x provide zero offset adjustment. to accomplish this, the bridge excitation voltage is programmably attenuated by the r2, r3, r4, r5 network applied to dcp1 (digitally controlled potenti- ometer). the range for zero adjustment is now a function of dcp used in a voltage divider con?uration and the voltage range applied to the end terminals of the dcp1 (zero adjustments will range in the milivolts). vmon3 is used to monitor the bridge excitation voltage at the output of a2. once this voltage node reaches a vmon3 trip point, the x4023x issues a ?oltage good?signal (using the v3fail signal pin) and also registers the ?oltage good?status into the fault detection register. this allows for automated tuning of the zero adjust circuit. hence automated zero adjustments can be achieved by monitoring the vmon3 voltage while incrementing or decrementing dcp1. by using the voltage monitors and status pins (v3fail output), the xdcp can be incremented or decremented in a control loop via 2-wire bus (sda and scl pins) until the desired a2 output voltage is reached. this can be done in literally 100s of milliseconds. boosting the ~10mv/psi bridge signal by 100x to a convenient 1v/psi output level is the job of the a3 non-inverting ampli?r via its feedback and calibration network consisting of r7 through r9 and dcp2 bridge bias is provided by the a1 circuit which uses voltage reference d1 and current-sense resistor r1 to generate a constant-current bridge drive. again, vmon2 voltage monitor is used to monitor the output of the a3 ampli?r. hence automated scale (span) adjustments can be 2 ? + 3 4 1, 8 a1 a3 a2 zero adjust v o = (1v=1psi) v zero i bias gain adjust
5 of 7 an 147 application note www.xicor.com au g ust, 2000 achieved by monitoring the vmon2 voltage while incrementing or decrementing dcp2. by using the voltage monitors and status pins (v2fail output), the xdcp can be incremented or decremented in a control loop via 2-wire bus (sda and scl pins) until the desired a3 output voltage is reached. similarly, this can be done in literally 100s of milliseconds. the signal conditioned precision pressure sensor is compatible with full automation of the calibration process using the x4023x. using windows-labview software to automate signal conditioning in a manufacturing environment to prototype the sensor signal conditioning circuit it will be required to program the digital potentiometers and monitor the key voltage level points in the circuit, xicor offers a software programming tool that uses a standard computer with windows 98 / nt / 2000 interface. the x4023x devices use a 2-wire (i2c like serial bus) inter- face. through this interface, the digital potentiometer, voltage monitors status, and general purpose eeprom memory are accessible. xicors windows-labview interface, is a software tool that can be used to send serial commands to the x4023x to program the digital potenti- ometer, voltage monitors status, and general purpose eeprom memory. all of the commands are selectable and can be programmed individual via standards window figure 3b. pressure transducer signal condition using x4023x 2 2 ? ? ? + + + 7 3 3 4 4 1 11 1, 8 6 5 r6 51k r9 1.5k ? r4 1k ? r5 1k ? r1 2k ? r2 62k ? r8 1k ? r7 182k ? r3 62k ? +5v a1 a3 a2 ? 5v dcp1 dcp2 +5v zero adjust all r s = 1% all amplifiers = 1/4lmc6064 v out = (1v=1psi) lm4041-1.2 vmon1 voltage good logic scl sda control systems option1 windows - labview i/f option2 csr & bus i/o fault detection register eeprom vmon2
6 of 7 an 147 application note www.xicor.com au g ust, 2000 interface. once the commands are executed (by executing a run or run macro instruction), labview drivers emulate the command and send the 2-wire serial data stream via an available parallel port to the device under test. a typical serial bus instruction takes 100ms to 200ms to complete. the sensor signal condition circuit calibra- tion, speci?ally, zero offset and gain span can be completed in 100s of milliseconds!!! this tool is provided to xicors customers for free and is download- able from xicors website at www.xicor.com. for example, a typical instruction set to calibrate the zero offset could be as follows: note the above algorithm would require six additional pins in the sensor signal condition circuit, namely, sda and scl (serial bus interface pins) and two voltage monitor pins (v1mon and v2mon) and two status pins (v2fail and v3fail). if pin count and form- factor are of critical concern, this the interface can be reduced to four pins: sda, scl, v1mon, and v2mon. using a four pin approach would require an additional command to check for v2fail and v3fail pins via the constat (control status) register of the x4023x. bits v2fs and v3fs of the cr register are latched, volatile ?g bits which indicate the status of the command sent i2c comments board measurements (servo) dcp_volatile_write set up initial potentiometer wiper position and continue to send this command with different wiper positions until the desire voltage is attained the actual zero offset voltage is measured via the x4023x voltage monitor pin and pulls the v2fail signal pin low if the measured voltage has not reached the desired voltage dcp_nonvolatile_write save the optimum wiper position to eeprom memory so on power up position is restored once the v2fail signal goes high this indicates that the desire voltage has been reached (within a level of accuracy). stop incrementing / decrementing the wiper since the desired zero offset has been achieved figure 4. x4023x programming software
7 of 7 an 147 application note www.xicor.com au g ust, 2000 voltage monitor reset output pins v2fail and v3fail. consequently, a typical instruction set to calibrate the zero offset could be as follows: conclusions. the x4023x offers both the circuits and programming software to automate calibration of sensor signal conditioning circuits for low cost mass produc- tion. zero offset and gain span calibration can be done in 100s of milliseconds. the programming interface can be done in 4 or 6 pins while the digital interface is isolated from the analog sections of the x4023x thus providing for highly reliable designs and environmental integrity. command sent i2c comments board measurements (servo) dcp_volatile_write set up initial potentiometer wiper position and continue to send this command with different wiper positions until the desire voltage is attained the actual zero offset voltage is measured via the x4023x voltage monitor pin and pulls the v2fail signal pin low if the measured voltage has not reached the desired voltage constat_read read the v2fs (and v3fs) voltage monitor status bits. increment the wiper (dcp_volatile_write) if the desired voltage is not reached. dcp_nonvolatile_write save the optimum wiper position to eeprom memory so on power up position is restored once the v2fail signal goes high this indicates that the desire voltage has been reached (within a level of accuracy). stop incrementing / decrementing the wiper since the desired zero offset has been achieved


▲Up To Search▲   

 
Price & Availability of AN147

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X