Low Cost, ±2 g Dual Axis Accelerometer with Analog Outputs MXA2312A FEATURES Dual axis accelerometer fabricated on a monolithic CMOS IC On-chip mixed mode signal processing Resolution better than 2 milli-g 50,000 g shock survival rating 30 Hz bandwidth expandable to >160 Hz 2.70V to 5.25V single supply operation Small (5mm x 5mm x 2mm) surface mount package Continuous self test Independent axis programmability (special order) Sck (optional) Internal Oscillator CLK GENERAL DESCRIPTION The MXA2312A is a very low cost, dual axis accelerometer fabricated on a standard, submicron CMOS process. The MXA2312A measures acceleration with a full-scale range of ±2 g and a sensitivity of 312mV/g at 25°C. (The MEMSIC accelerometer product line extends from ±1 g to ±10 g with custom versions available above ±10 g.) It can measure both dynamic acceleration (e.g., vibration) and static acceleration (e.g., gravity). The MXA2312A design is based on heat convection and requires no solid proof mass. This eliminates stiction and particle problems associated with competitive devices and provides shock survival up to 50,000 g, leading to significantly lower failure rates and lower loss due to handling during assembly. Tout Voltage Reference Vref Continous Self Test Heater Control X axis Low Pass Filter Aout X Low Pass Filter Aout Y Factory Adjust Offset & Gain APPLICATIONS Automotive – Vehicle Security/Active Suspension/ABS HED Angle Control/Tilt Sensing Security – Gas Line/Elevator/Fatigue Sensing Office Equipment – Computer Peripherals/PDA’s/Mouse Smart Pens/Cell Phones Gaming – Joystick/RF Interface/Menu Selection/Tilt Sensing White Goods – Spin/Vibration Control Temperature Sensor Y axis 2-AXIS SENSOR Vdd Gnd Vda MXA2312A FUNCTIONAL BLOCK DIAGRAM signals below 2 milli-g to be resolved at 1 Hz bandwidth. The 3dB rolloff of the device occurs at 30 Hz but is expandable to >160 Hz (refernce Application Note AN00MX-003). The MXA2312A is available in a low profile LCC surface mount package (5mm x 5mm x 2mm height). It is hermetically sealed and are operational over a -40°C to +105°C temperature range. Due to the standard CMOS structure of the MXA2312A, additional circuitry can easily be incorporated into custom versions for high volume applications. Contact the factory for more information. The MXA2312A provides an absolute analog output (ref. other MEMSIC data sheets for ratiometric, analog or digital outputs). The typical noise floor is 0.75 mg/ Hz allowing Information furnished by MEMSIC is believed to be accurate and reliable. However, no responsibility is assumed by MEMSIC for its use, nor for any infringements of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of MEMSIC. MEMSIC, Inc. 100 Burtt Road, Andover, MA 01810 Tel: 978.623.8188 Fax: 978.623.9945 www.memsic.com MXA2312A SPECIFICATIONS (Measurements @ 25°C, Acceleration = 0 g unless otherwise noted; VDD, VDA = 5.0V unless otherwise specified) Parameter SENSOR INPUT Measurement Range1 Nonlinearity Alignment Error2 Transverse Sensitivity3 SENSITIVITY Sensitivity, Analog Outputs at pins AOUTX and AOUTY6 Change over Temperature (uncompensated)4 Change over Temperature (compensated) 4 ZERO g BIAS LEVEL 0 g Offset6 0 g Voltage6 0 g Offset over Temperature NOISE PERFORMANCE Noise Density, rms FREQUENCY RESPONSE 3dB Bandwidth - uncompensated 3dB Bandwidth - compensated5 TEMPERATURE OUTPUT Tout Voltage Sensitivity VOLTAGE REFERENCE VRef Change over Temperature Current Drive Capability SELF TEST Continuous Voltage at AOUTX, AOUTY under Failure Continuous Voltage at AOUTX, AOUTY under Failure AOUTX and AOUTY OUTPUTS Normal Output Range Current Turn-On Time Conditions Each Axis MXA2312A Typ Max ±2.0 Best fit straight line Units g % of FS degrees % 1.0 ±1.0 ±2.0 2.0 312 342 +93 mV/g % % % +0.5 1.41 ∆ from 25°C ∆ from 25°C, based on 312mV/g 0.00 1.25 ±2.0 ±0.62 g V mg/°C mV/°C Without frequency compensation 0.75 1.0 mg/ Hz Each Axis @5.0V supply ∆ from 25°C, at –40°C ∆ from 25°C, at +105°C ∆ from 25°C, –40°C to +105°C Each Axis 280 -47 <3.0 -0.5 1.09 30 >160 @2.7V-5.0V supply Hz Hz 1.15 4.6 1.25 5.0 1.35 5.4 V mV/°K 2.4 2.5 0.1 2.65 V mV/°C µA Source 100 @5.0V Supply, output rails to supply voltage @2.7V Supply, output rails to supply voltage @5.0V Supply @2.7V Supply Source or sink, @ 2.7V-5.0V supply @5.0V Supply @2.7V Supply POWER SUPPLY Operating Voltage Range Supply Current Supply Current6,7 TEMPERATURE RANGE Operating Range 5.0 V 2.7 V 0.1 0.1 4.9 2.6 V V µA mS mS 5.25 4.6 6.3 V mA mA +105 °C 100 100 40 2.7 3.0 3.0 @ 5.0V @ 2.7V -40 3.9 5.4 6 NOTES 1 Guaranteed by measurement of initial offset and sensitivity. 2 Alignment error is specified as the angle between the true and indicated axis of sensitivity. 3 Transverse sensitivity is the algebraic sum of the alignment and the inherent sensitivity errors. 4 The sensitivity change over temperature for thermal accelerometers is based on variations in heat transfer that are governed by the laws of physics and it is highly consistent from device to device. Please refer to the section in this data sheet titled “Compensation for the Change of Sensitivity over Temperature” for more information. 5 External circuitry is required to extend the 3dB bandwidth. MEMSIC MXA2312A Rev .E Min Page 2 of 8 The device operates over a 2.7V to 5.25V supply range. Please note that sensitivity and zero g bias level will be slightly different at 2.7V operation. For devices to be operated at 2.7V/3.0V in production, they can be trimmed at the factory specifically for this lower supply voltage operation, in which case the sensitivity and zero g bias level specifications on this page will be met. Please contact the factory for specially trimmed devices for low supply voltage operation. 7 Note that the accelerometer has a constant heater power control circuit thereby requiring higher supply current at lower operating voltage. 5/15/2004 ABSOLUTE MAXIMUM RATINGS* Supply Voltage (VDD, VDA) ………………...-0.5 to +7.0V Storage Temperature ……….…………-65°C to +150°C Acceleration ……………………………………..50,000 g *Stresses above those listed under Absolute Maximum Ratings may cause permanent damage to the device. This is a stress rating only; the functional operation of the device at these or any other conditions above those indicated in the operational sections of this specification is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Package Characteristics Package θJA θJC LCC-8 110°C/W 22°C/W Ordering Guide Model A2312AL Device Weight < 1 gram Pin Description: LCC-8 Package Pin Name Description 1 TOUT Temperature (Analog Voltage) 2 AOUTY Y-Axis Acceleration Signal 3 Gnd Ground 4 VDA Analog Supply Voltage 5 AOUTX X-Axis Acceleration Signal 6 Vref 2.5V Reference 7 Sck Optional External Clock 8 VDD Digital Supply Voltage Package Style LCC-8 SMD* *LCC parts are shipped in tape and reel packaging. Caution ESD (electrostatic discharge) sensitive device. 8 7 M E M S IC 1 2 3 X +g 6 5 4 Y +g Top View Note: The MEMSIC logo’s arrow indicates the +X sensing direction of the device. The +Y sensing direction is rotated 90° away from the +X direction. Small circle indicates pin one(1). MEMSIC MXA2312A Rev .E Page 3 of 8 5/15/2004 THEORY OF OPERATION The MEMSIC device is a complete dual-axis acceleration measurement system fabricated on a monolithic CMOS IC process. The device operation is based on heat transfer by natural convection and operates like other accelerometers having a proof mass. The stationary element, or ‘proof mass’, in the MEMSIC sensor is a gas. A single heat source, centered in the silicon chip is suspended across a cavity. Equally spaced aluminum/polysilicon thermopiles (groups of thermocouples) are located equidistantly on all four sides of the heat source (dual axis). Under zero acceleration, a temperature gradient is symmetrical about the heat source, so that the temperature is the same at all four thermopiles, causing them to output the same voltage. Acceleration in any direction will disturb the temperature profile, due to free convection heat transfer, causing it to be asymmetrical. The temperature, and hence voltage output of the four thermopiles will then be different. The differential voltage at the thermopile outputs is directly proportional to the acceleration. There are two identical acceleration signal paths on the accelerometer, one to measure acceleration in the x-axis and one to measure acceleration in the y-axis. Please visit the MEMSIC website at www.memsic.com for a picture/graphic description of the free convection heat transfer principle. PIN DESCRIPTIONS VDD – This is the supply input for the digital circuits and the sensor heater in the accelerometer. The DC voltage should be between 2.70 and 5.25 volts. Refer to the section on PCB layout and fabrication suggestions for guidance on external parts and connections recommended. accelerometer can be programmed for non-equal sensitivities on the x- and y-axes. Contact the factory for additional information on this feature. TOUT – This pin is the buffered output of the temperature sensor. The analog voltage at TOUT is an indication of the die temperature. This voltage is useful as a differential measurement of temperature from ambient and not as an absolute measurement of temperature. After correlating the voltage at TOUT to 25°C ambient, the change in this voltage due to changes in the ambient temperature can be used to compensate for the change over temperature of the accelerometer offset and sensitivity. Please refer to the section on Compensation for the Change in Sensitivity Over Temperature for more information. Sck – The standard product is delivered with an internal clock option (800kHz). This pin should be grounded when operating with the internal clock. An external clock option can be special ordered from the factory allowing the user to input a clock signal between 400kHz and 1.6MHz. Vref – A reference voltage is available from this pin. It is set at 2.50V typical and has 100µA of drive capability. COMPENSATION FOR THE CHANGE IN SENSITIVITY OVER TEMPERATURE All thermal accelerometers display the same sensitivity change with temperature. The sensitivity change depends on variations in heat transfer that are governed by the laws of physics. Manufacturing variations do not influence the sensitivity change, so there are no unit to unit differences in sensitivity change. The sensitivity change is governed by the following equation (and shown in Figure 1 in °C): Si x Ti2.67 = Sf x Tf2.67 VDA – This is the power supply input for the analog amplifiers in the accelerometer. Refer to the section on PCB layout and fabrication suggestions for guidance on external parts and connections recommended. where Si is the sensitivity at any initial temperature Ti, and Sf is the sensitivity at any other final temperature Tf with the temperature values in °K. Gnd – This is the ground pin for the accelerometer. AOUTY – This pin is the output of the y-axis acceleration sensor. The user should ensure the load impedance is sufficiently high as to not source/sink >100µA. While the sensitivity of this axis has been programmed at the factory to be the same as the sensitivity for the x-axis, the MEMSIC MXA2312A Rev .E Page 4 of 8 Sensitivity (normalized) 2.0 AOUTX – This pin is the output of the x-axis acceleration sensor. The user should ensure the load impedance is sufficiently high as to not source/sink >100µA. While the sensitivity of this axis has been programmed at the factory to be the same as the sensitivity for the y-axis, the accelerometer can be programmed for non-equal sensitivities on the x- and y-axes. Contact the factory for additional information on this feature. 1.5 1.0 0.5 0.0 -40 -20 0 20 40 60 80 100 Temperature (C) Figure 1: Thermal Accelerometer Sensitivity In gaming applications where the game or controller is typically used in a constant temperature environment, sensitivity might not need to be compensated in hardware 5/15/2004 or software. Any compensation for this effect could be done instinctively by the game player. X-Axis For applications where sensitivity changes of a few percent are acceptable, the above equation can be approximated with a linear function. Using a linear approximation, an external circuit that provides a gain adjustment of –0.9%/°C would keep the sensitivity within 10% of its room temperature value over a 0°C to +50°C range. X-Axis Orientation To Earth’s Surface (deg.) For applications that demand high performance, a low cost micro-controller can be used to implement the above equation. A reference design using a Microchip MCU (p/n 16F873/04-SO) and MEMSIC developed firmware is available by contacting the factory. With this reference design, the sensitivity variation over the full temperature range (-40°C to +105°C) can be kept below 3%. Please visit the MEMSIC web site at www.memsic.com for reference design information on circuits and programs including look up tables for easily incorporating sensitivity compensation. DISCUSSION OF TILT APPLICATIONS AND RESOLUTION Tilt Applications: One of the most popular applications of the MEMSIC accelerometer product line is in tilt/inclination measurement. An accelerometer uses the force of gravity as an input to determine the inclination angle of an object. A MEMSIC accelerometer is most sensitive to changes in position, or tilt, when the accelerometer’s sensitive axis is perpendicular to the force of gravity, or parallel to the Earth’s surface. Similarly, when the accelerometer’s axis is parallel to the force of gravity (perpendicular to the Earth’s surface), it is least sensitive to changes in tilt. Table 1 and Figure 2 help illustrate the output changes in the X- and Y-axes as the unit is tilted from +90° to 0°. Notice that when one axis has a small change in output per degree of tilt (in mg), the second axis has a large change in output per degree of tilt. The complementary nature of these two signals permits low cost accurate tilt sensing to be achieved with the MEMSIC device (reference application note AN-00MX-007). X M E M SIC +90 0 gravity 00 Y Top View Figure 2: Accelerometer Position Relative to Gravity MEMSIC MXA2312A Rev .E Page 5 of 8 90 85 80 70 60 45 30 20 10 5 0 X Output (g) Change per deg. of tilt (mg) Y-Axis Y Output (g) 1.000 0.15 0.000 0.996 1.37 0.087 0.985 2.88 0.174 0.940 5.86 0.342 0.866 8.59 0.500 0.707 12.23 0.707 0.500 15.04 0.866 0.342 16.35 0.940 0.174 17.16 0.985 0.087 17.37 0.996 0.000 17.45 1.000 Table 1: Changes in Tilt for X- and Y-Axes Change per deg. of tilt (mg) 17.45 17.37 17.16 16.35 15.04 12.23 8.59 5.86 2.88 1.37 0.15 Minimum Resolution: The accelerometer resolution is limited by noise. The output noise will vary with the measurement bandwidth. With the reduction of the bandwidth, by applying an external low pass filter, the output noise drops. Reduction of bandwidth will improve the signal to noise ratio and the resolution. The output noise scales directly with the square root of the measurement bandwidth. The maximum amplitude of the noise, its peakto- peak value, approximately defines the worst case resolution of the measurement. The peak-to-peak noise is approximately equal to 6.6 times the rms value (with an average uncertainty of .1%). The maximum noise for 1.0Hz bandwidth will be 1mg Hz . For example, if the bandwidth is increased to 10 Hz, then 3.162 mg is the maximum rms noise and 20.87mg is the maximum peak to-peak noise. EXTERNAL FILTERS AC Coupling: For applications where only dynamic accelerations (vibration) are to be measured, it is recommended to ac couple the accelerometer output as shown in Figure 3. The advantage of ac coupling is that variations from part to part of zero g offset and zero g offset versus temperature can be eliminated. Figure 3 is a HPF (high pass filter) with a –3dB breakpoint given by the . In many applications it may be equation: f = 1 2πRC desirable to have the HPF –3dB point at a very low frequency in order to detect very low frequency accelerations. Sometimes the implementation of this HPF may result in unreasonably large capacitors, and the designer must turn to digital implementations of HPFs where very low frequency –3dB breakpoints can be achieved. 5/15/2004 A OUTY R A O UTX Filtered Output R A O UTY Filtered Output C COMPENSATION FOR EXTENDING THE FREQUENCY RESPONSE The response of the thermal accelerometer is a function of the internal gas physical properties, the natural convection mechanism and the sensor electronics. Since the gas properties of MEMSIC's mass produced accelerometer are uniform, a simple circuit can be used to equally compensate all sensors. For most applications, the compensating circuit does not require adjustment for individual units. Figure 3: High Pass Filter Low Pass Filter: An external low pass filter is useful in low frequency applications such as tilt or inclination. The low pass filter limits the noise floor and improves the resolution of the accelerometer. The low pass filter shown in Figure 4 has a –3dB breakpoint given by the equation: f =1 . For the 200 Hz ratiometric output device 2πRC filter, C=0.1µF and R=8kΩ, ±5%, 1/8W. A O UTX R C A OUTX Filtered Output C A OUTY Filtered Output A simple compensating network comprising two operational amplifiers and a few resistors and capacitors provides increasing gain with increasing frequency (see Figure 5). The circuit shown is for an absolute output accelerometer operating at 5 V supply. It provides a DC gain of X2, so the offset at the output is 2.5V and the sensitivity is doubled. The 14.3 KΩ and the 5.9KΩ resistors along with the non-polarized 0.82µF capacitors tune the gain of the network to compensate for the output attenuation at the higher frequencies. The resistors and the capacitors provide noise reduction and stability. 14.3K 5.9K 0.82uF 0.01uF UA Aout X or Y 8.06K 160K 0.047uF 0.0022uF - A OUTX C + A O UTY R 14.3K 5.9K 0.82uF 0.01uF UB Figure 4: Low Pass Filter 8.06K Freq. Comp. Output + USING THE ACCELEROMETER IN VERY LOW POWER APPLICATIONS (BATTERY OPERATION) In applications with power limitations, power cycling can be used to extend the battery operating life. One important consideration when power cycling is that the accelerometer turn on time limits the frequency bandwidth of the accelerations to be measured. For example, operating at 2.7V the turn on time is 40mS. To double the operating time, a particular application may cycle power ON for 40mS, then OFF for 40mS, resulting in a measurement period of 80mS, or a frequency of 12.5Hz. With a frequency of measurements of 12.5Hz, accelerations changes as high as 6.25Hz can be detected. Power cycling can be used effectively in many inclinometry applications, where inclination changes can be slow and infrequent. MEMSIC MXA2312A Rev .E Page 6 of 8 0.047uF Figure 5: Frequency Response Extension Circuit The accelerometer response (bottom trace), the network response (top trace) and the compensated response (middle trace) are shown in Figure 6. The amplitude remains above –3db beyond 100 Hz, and there is useable signal well after this frequency. 5/15/2004 characterization is to create a look up table or to estimate a mathematical representation of the change. For example, the change could be characterized by an equation of the form: 60 45 Amplitude - dB 30 Change = a * Temperature 15 0 2 + b * Temperature + c where a,b,c are unique constants for each accelerometer. In normal operation the processor calculates the output: -1 5 -3 0 -4 5 Compensated Output = Acceleration – Change. -6 0 10 100 1000 For a more detail discussion of temperature compensation reference MEMSIC application note #AN-00MX-002. F re q u e n c y - H z Figure 6: Amplitude Frequency Response COMPENSATION FOR ZERO G OFFSET CHANGE OVER TEMPERATURE In applications where a stable zero g offset is required, and where the AC coupling external filter described earlier can not be used, analog or digital temperature compensation can be applied. The compensation requires individual calibration because the magnitude of the zero g offset change over temperature is different for each unit. To compensate the change, a calibrated temperature dependent signal equal in magnitude but with opposite polarity is added to the accelerometer output. The circuit in Figure 7 shows a circuit example applying an analog linear compensation technique. In this circuit the accelerometer temperature sensor output is added to or subtracted from the accelerometer output. The calibration sequence is: start at room temperature with the 100K pot set so that its wiper is at Vref. Next, soak the accelerometer at the expected extreme temperature and observe the direction of the change. Then set the switch to the non-inverting input if the change is negative or vice versa. Finally, adjust the 100K pot while monitoring the circuit output, until the zero g offset change is removed. Vref 10K +5V 100K 10K Aoutx or y SW SPDT 100K + 100K 100K Tout Aoutx or y zero g drift compensated 10K TEMPERATURE OUTPUT NOISE REDUCTION It is recommended that a simple RC low pass filter is used when measuring the temperature output. Temperature output is typically a very slow changing signal, so a very low frequency filter eliminates erroneous readings that may result from the presence of higher frequency noise. A simple filter is shown in Figure 8. TOUT MEMSIC Accel. 8.2K Filtered TOUT 0.1uF Figure 8: Temperature Output Noise Reduction POWER SUPPLY NOISE REJECTION Two capacitors and a resistor are recommended for best rejection of power supply noise (reference Figure 9 below). The capacitors should be located as close as possible to the device supply pins (VDA, VDD). The capacitor lead length should be as short as possible, and surface mount capacitors are preferred. For typical applications, capacitors C1 and C2 can be ceramic 0.1 µF, and the resistor R can be 10 Ω. In 5V applications where power consumption is not a concern, maximum supply noise rejection can be obtained by significantly increasing the values of C1, C2 and R. For example, C1 = C2 = 0.47 µF and R = 270 Ω will virtually eliminate power supply noise effects. V SUPPLY 100K 100K Figure 7: Zero g Offset Temperature Compensation Circuit Various digital compensation techniques can be applied using a similar concept. Digital techniques can provide better compensation because they can compensate for nonlinear zero g offset vs. temperature. A micro-controller or micro-processor would perform the compensation. The acceleration signal and the temperature signal would be digitized using an analog to digital converter. Like in the analog compensation, the first step is to test and characterize the zero g change. The purpose of the MEMSIC MXA2312A Rev .E Page 7 of 8 C1 R VDA C2 VDD MEMSIC Accelerometer Figure 9: Power Supply Noise Rejection 5/15/2004 PCB LAYOUT AND FABRICATION SUGGESTIONS 1. The Sck pin should be grounded to minimize noise. 2. Liberal use of ceramic bypass capacitors is recommended. 3. Robust low inductance ground wiring should be used. 4. Care should be taken to ensure there is “thermal symmetry” on the PCB immediately surrounding the MEMSIC device and that there is no significant heat source nearby. 5. A metal ground plane should be added directly beneath the MEMSIC device. The size of the ground plane 6. should be similar to the MEMSIC device’s footprint and be as thick as possible. Vias can be added symmetrically around the ground plane. Vias increase thermal isolation of the device from the rest of the PCB. PACKAGE DRAWING Fig 10: Hermetically Sealed Package Outline MEMSIC MXA2312A Rev .E Page 8 of 8 5/15/2004