The circuit shown in Figure 1 uses a three-axis ADXL362 digital accelerometer and an ADP195 high-end power switch to build an ultra-low-power, motion-sensitive switch.
This combination of devices provides an industry-leading low-power solution for independent motion switches that control load power.
The ADXL362 is an ultra-low power three-axis accelerometer that consumes less than 100 nA in wake mode. Unlike accelerometers, which use power duty cycles to achieve low power consumption, the ADXL362 does not alias the input signal through undersampling; it samples continuously at the full data rate. There is also an on-chip, 12-bit temperature sensor with an accuracy of ±0.5°.
The output resolution of the ADXL362 is 12 bits and supports three operating ranges of ±2 g, ±4 g and ±8 g. The resolution within the ±2 g range is 1 mg/LSB. Applications requiring noise levels below 480μg/√Hz can select one of two low-noise modes (as low as 120μg/√Hz) with minimal increase in supply current.
The ADP195 is a high-end load switch that operates from a 1.1 V to 3.6 V supply and prevents reverse current flow from the output to the input. The device incorporates a low on-resistance P-channel MOSFET, which supports continuous load currents of more than 1.1 A and minimizes power losses.
Basic working principle of ADXL362
The ADXL362 is a three-axis, ultra-low power acceleration measurement system capable of measuring both dynamic acceleration (caused by motion or impact) and static acceleration (i.e., gravity).
The sensor's moving elements are micromachined polysilicon surface structures (also called beams) placed on top of a silicon wafer. Polysilicon springs are suspended from the structure on the wafer surface to provide resistance to acceleration forces.
Structural deflection is measured by differential capacitance. Each capacitor is composed of an independent fixed plate and a movable mass connecting plate. Any acceleration deflects the beam, imbalances the differential capacitance, and causes the amplitude of the sensor output to be proportional to the acceleration. Phase-sensitive demodulation is used to determine the magnitude and polarity of acceleration.
Operating mode
The three basic operating modes of the ADXL362 are standby, measurement and wake-up.
The CN0274 evaluation software uses the ADXL362 wake-up mode. That is, the ADXL362 remains dormant until motion is detected, and enters measurement mode once motion is detected.
Power/Noise Tradeoff
The ADXL362 offers several options for noise reduction, but will result in a slight increase in power consumption when used.
At a bandwidth of 100 Hz, the noise performance of the ADXL362 in normal operation is typically 7 LSB rms, which is suitable for most applications, depending on the bandwidth and required resolution. For situations where lower noise is required, the ADXL362 offers two low-noise operating modes that reduce noise at the expense of slightly increased power consumption.
model | Noise (µg/vHz typical) |
Power consumption (µA typical) |
normal work | 380 | 2.7 |
low noise | 280 | 4.5 |
ultra low noise | 175 | 15 |
Table 1 shows the power consumption values and noise density in normal operating mode and two low-noise modes, where the supply voltage is typically 3.3 V.
The CN0274 evaluation software uses the ADXL362's normal operating noise mode.
motion detection
The ADXL362's built-in logic detects motion (acceleration exceeds a certain threshold) and inactivity (acceleration does not exceed a certain threshold).
Detection of motion or inactivity events is indicated by the status register, which can also be configured to generate an interrupt. In addition, the motion status of the device (that is, whether the device is moving or stationary) is indicated by the AWAKE bit.
Motion and inactivity detection is available when the accelerometer is in measurement mode or wake mode.
motion detection
A motion event is detected when acceleration remains above a specified threshold for a user-specified period of time. There are two types of motion detection events: absolute motion detection and reference motion detection.
The CN0274 evaluation software uses the reference operating mode when searching for motion.
Stationary detection
A stationary event is detected when the acceleration remains below a specified threshold for a specified period of time. There are two types of non-motion detection events: absolute stillness detection and reference stillness detection.
The CN0274 evaluation software uses reference operating mode when searching for quiescence.
Link motion and stillness detection
Motion and inactivity detection can be used simultaneously and then handled manually by the host processor, or can be configured to interact in a variety of ways:
The CN0274 evaluation software uses automatic sleep and loop modes to demonstrate the functionality of the ADXL362.
AWAKE Bit
The AWAKE bit is a status bit that indicates whether the ADXL362 is awake or sleeping. Detection of a motion condition indicates that the device is awake, and detection of a stationary condition indicates that the device is in sleep state.
The wake-up signal can be mapped to the INT1 or INT2 pin and therefore can be used as a status output to connect or disconnect power from downstream circuitry depending on the accelerometer's wake-up status. When used with loop mode, this configuration enables a tiny autonomous motion-activated switch.
If the on-time of the downstream circuitry is within acceptable limits, this motion switch configuration can significantly reduce system-level power consumption by eliminating standby power from the rest of the application. This standby power consumption typically exceeds the entire power consumption range of the ADXL362.
interrupt
The ADXL362 has built-in features that trigger interrupts to alert the host processor of certain status conditions.
Interrupts can be mapped to one (or both) of two designated output pins (INT1 and INT2) by setting the appropriate bits in the INTMAP1 and INTMAP2 registers. All functions can be used simultaneously. If multiple interrupts are mapped to a pin, the OR combination of interrupts determines the state of the pin
If no function is mapped to an interrupt pin, the pin is automatically configured in a high-impedance state (high-impedance state). The pin also enters this state after reset
When a specific status condition is detected, the pin to which the condition is mapped is activated. By default, the pin is configured to be active high, so when activated the pin goes high. However, the configuration can be switched to active low by setting the INT_LOW pin in the appropriate INTMAP register
The INT pin can be connected to the interrupt input of the host processor and respond to interrupts with an interrupt routine. Since multiple functions can be mapped to the same pin, the STATUS register can be used to determine the specific conditions that caused the interrupt to trigger.
The CN0274 evaluation software configures the ADXL362 as follows: after motion is detected, the INT1 pin is high; after motion is detected, the INT1 pin is low.
Test Results
All tests were performed using EVAL-CN0274-SDPZ and EVAL-SDP-CS1Z . To demonstrate the functionality of the device, the motion threshold was set to 0.5 g, the rest threshold was set to 0.75 g, and the number of rest samples was set to 20. When searching for motion, only one acceleration sample in any axis crosses the threshold.
Initially, with the circuit positioned so that the battery pack is flush with the table, the printed circuit board (PCB) is slowly rotated 90° in any direction, causing acceleration to cross the threshold as it approaches a position perpendicular to the initial orientation.
Figure 2 shows a screenshot of the CN0274 evaluation software, where the ADXL362 is initially sleeping and searching for motion. Then, when sample 11 crosses the threshold, the ADXL362 wakes up and begins searching for inactivity. The threshold is adjusted to indicate that the device is searching for quiescence.
For better presentation, the X-axis and Z-axis curves have been disabled using the radio buttons on the graph.
The output of the ADP195 (or the interrupt pin itself) is measured with a digital multimeter. When the ADXL362 is awake, the interrupt goes high and drives the EN pin of the ADP195 high, which in turn drives the gate of the MOSFET low, causing the switch to close, which turns on any downstream circuitry and Power connection. Conversely, when the ADXL362 is in sleep mode, an interrupt drives the ADP195's EN pin low, which in turn drives the MOSFET's gate high, causing the switch to open.
PCB layout considerations
In any circuit where precision is important, power and ground return layout on the circuit board must be carefully considered. The PCB should isolate the digital and analog parts as much as possible. The PCB of this system is stacked with 4-layer boards, with large area polygons for the ground layer and power layer. See the MT-031 guide for a detailed discussion of layout and grounding, and the MT-101 guide for information on decoupling techniques .
The ADXL362 power supply should be decoupled with 1 μF and 0.1 μF capacitors for proper noise suppression and ripple reduction. These capacitors should be placed as close to the device as possible. For all high frequency decoupling, ceramic capacitors are recommended.
Power traces should be as wide as possible to provide a low impedance path and reduce the effects of glitches on the power lines. Clocks and other fast-switching digital signals are digitally shielded so that they do not affect other components on the circuit board. A photo of the PCB is shown in Figure 3.
For the complete design support package for this circuit note, please visit www.analog.com/CN0274-DesignSupport .
Blockdiagram
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet