Bookmark and Share Printer-friendly version Email to a Friend

Tilt/fall detector has staggered thresholds

( 01 May 2010 )
By Marián Stofka, Slovak University of Technology, Bratislava, Slovakia

Measurement-and-control applications may require action based on two distinct voltage levels. Crossing a threshold can produce a warning indication, whereas reaching a higher threshold may initiate emergency action, such as a system shutdown. In a fall-detector application, an apparent decrease in gravity below a lower threshold might be a controlled displacement, but a further decrease below a second threshold might indicate an uncontrolled fall.

The circuit in Figure 1 uses a voltage divider to generate two reference voltages. Comparators and Schmitt-trigger-input NAND gates let you create two digital signals based on using reference voltages VREFA and VREFB. The sample circuit drives two LEDs, but you can use the digital signals to drive transistors or relays, as well.

The voltage divider comprising RS, RA, and RB sets the voltages for comparing the Z-axis output of an Analog Devices ADXL335 accelerometer (Reference 1). The higher reference voltage, VREFA, corresponds to the lower-threshold tilt angle, where αTA=45°. The lower reference, with respect to the midvoltage supply minus VREFB, corresponds to the upper-threshold tilt angle, where αTB=60°. If you choose a value of 100kΩ for RS, then you can calculate RA+RB:




The Z-axis voltage, VGZ=300mV, occurs when the accelerometer’s Z axis is oriented vertically. From the obtained value of RA+RB, you can calculate RB:




Based on the chosen values of the tilt angles, RB=(RA+RB)/ . You can then solve for RA from the known values of RA+RB as well as RB.

The AD8609 op amp’s input-bias current causes errors, but these errors are negligible because the input-bias current at room temperature is just 1pA. The AD8609’s input offset voltage, which is typically 50µV, also causes errors, which are negligible as well (Reference 2). The signals at the outputs of comparators IC2A, IC2B and IC2C, IC2D are ORed in NAND gates IC3A and IC3B, respectively. NAND gate IC3C serves as an inverter, and the output of IC3D is the logic output of a window comparator in which logic low appears only when the Z-axis output voltage is between VREFA and VREFB, referenced to supply midvoltage VS/2.

Grouping the comparators into IC3A, IC3B and IC3C, IC3D pairs ensures independent detection on whether the Z axis is 0 or 180° in the vertical orientation. LED1 and LED2 illuminate successively upon slowly tilting the Z axis by 45 and 60° (Reference 3). Similar action occurs when you orient the Z axis steadily vertically while moving downward. LED1’s brightness is turned on at an apparent decrease of gravity to g/ . LED1 dims, and LED2 simultaneously illuminates when the vertical acceleration is equal to or lower than g/2. The operation of the detector is ratiometric and is therefore virtually insensitive to supply-voltage variations.


References
1. “ADXL335 Small, Low Power, 3-Axis ±3 g Accelerometer,” Analog Devices, 2009.
2. “AD8603/AD8607/AD8609 Precision Micropower, Low Noise CMOS, Rail-to-Rail Input/Output Operational Amplifiers,” Analog Devices, 2003 to 2008.
3. “HLMP-EGxx, HLMP-EHxx, HLMP-ELxx New T-1ľ (5mm) Extra High Brightness AlInGaP LED Lamps,” Avago Technologies, AV02-1687EN, April 21, 2009.

Caption

Figure 1: An accelerometer’s Z-axis output, compared with two reference voltages, can generate two digital outputs.

 
Printer-friendly version Email to a Friend
 
Article Rating 
Average Rate: No rating yet
 
Poor Quite Good Good Very Good Excellent
 
 
ADVERTISEMENT
 
Related Content 
 
 
ON-DEMAND WEBCASTS


 
 
Highest Rated  
Feedback Loop  

ADS BY GOOGLE 
 
 
 
ADVERTISEMENT
Press Release 
 
TECHNOLOGY NEWS
 
 
 
PRODUCT NEWS
 
FEATURED SPONSORS
 
 
 
DESIGN CENTERS
 
ADVERTISEMENT
     
Reference Designs 
   
     
 
 
 
 
 

RSS
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   

POLL
What type of environmental regulation do you think will be most beneficial for the tech industry?
Proper recycling and disposal
Push for power efficiency and energy conservation
Chemical/lead regulation
View results
 
     
 
Power Technology E-newsletter 
Power.org Releases Power Architecture 32-bit Application Binary Interface Supplement
EDNA, May 11
POL Regulators Designed for Energy-efficient Computing
EDNA, March 11
Fairchild Revolutionizes Power Savings
EDNA, January 11
Lattice Transforms Board Power and Digital Management
EDNA, November 10
 
Analog E-newsletter 
12V Dual-channel Synchronous Buck Converter Features Integrated FETs
EDNA, February 10
Power MOSFETs features reduced top-side thermal impedanc
EDNA, January 10
 
     
 
KNOWLEDGE CENTER
 
Texas Instruments: DaVinci™ Technology
 
Texas Instruments: Safe Bet Series
 
 
INDUSTRY LINKS
 
Photonics Association (Singapore)
Singapore Industrial Automation Association (SIAA)
Taiwan Semiconductor Industry Association (TSIA)
 
 
OUR SPONSORS
 






Keithley Instruments
With more than 60 years of measurement expertise, Keithley Instruments has become a world leader in advanced electrical test instruments and systems from DC to RF (radio frequency). Our products solve emerging measurement needs in production testing, process monitoring, product development, and research...
 
 
 
     
 

EDN India | EDN Taiwan | EDN Korea | EDN Japan | EDN China | EDN | EDN Europe

 
ABOUT EDN Asia | CONTACT US
   
© 2012 EDN Asia All rights reserved.