Wiki

This version (30 Jul 2021 07:16) was approved by Victor Calinao, Jr.The Previously approved version (28 Jan 2021 23:43) is available.Diff

Tilt Measurement Using a Dual Axis Accelerometer (CN0189)

Overview

The ADXL203 is a polysilicon surface micromachined sensor and signal conditioning circuit. Acceleration in the X or Y axis will produce a corresponding output voltage on the XOUT or YOUT output pins of the device. The X axis and Y axis are perpendicular to one another.The AD8608 quad op amp buffers, attenuates, and level shifts the ADXL203 outputs so they are at the proper levels to drive the inputs of the The AD7887. The AD7887 is configurable for either dual or single channel operation via the on-chip control register. In this application it is configured for dual channel mode, allowing the user to monitor both outputs of the ADXL203, thereby providing a more accurate and complete solution.

General Setup

FIXME

Minimum PC/System Requirements

  • One PC with the following
    • Windows XP SP2, Windows Vista or Windows 7 Business/Enterprise/Ultimate editions
    • Intel Pentium processor (x86 compatible), 1GHz or faster
    • 512 MB RAM and 2 GB available hard disk space
    • .NET 3.5 Framework

How to Install the Evaluation Software

  1. Extract the files within the file CN0189 SDP Eval Software.zip and open the file setup.exe. It is recommended that you install the CN0189 SDP Evaluation Software to the default directory path C:\Program Files\Analog Devices\CN0189\ and all National Instruments products to C:\Program Files\National Instruments\
  2. Press “Next”.
  3. Press “Next”.
  4. Upon completion of the installation of the CN0189 SDP Eval Software, the installer for the ADI SDP Drivers will execute. Follow the on-screen prompts to install the drivers. It is recommended that you close all other applications before clicking “Next”. This will make it possible to update relevant system files without having to reboot your computer.
  5. Press “Next”.
  6. It is recommended that you install the drivers to the default directory path C:\Program Files\Analog Devices\SDP\Drivers\
  7. Press “Next” to install the Drivers and complete the installation of all software necessary to evaluate the EVAL-CN0189-SDPZ

Step by Step Instruction for Connecting the Hardware

  1. Connect the EVAL-SDP-CS1Z and the EVAL-CN0189-SDPZ PCB’s using the 120 pin male and female connectors found on the respective boards.

  1. Plug in the DC barrel jack to connector J3 of the EVAL-CN0189-SDPZ and the mini end of the USB cable into connector J2 of the EVAL-SDP-CS1Z. And connect the other end of the USB cable into the Laptop or PC.

Opening and Enabling the Evaluation Software

  1. Launch the executable found at C:\Program Files\Analog Devices\CN0189 and press the “Connect“ button.

Step by Step Instruction to Using the Evaluation Software

  1. The following is a list of all available software controls, grouped according to their location in the software:
    1. System Controls
      1. Connect – This button configures the AD7887 by writing to the necessary registers.
      2. Disconnect – This button will disconnect the EVAL-CN0189-SDPZ board.
      3. Connector A - This menu allows the user to select which connector of the SDP board is being utilized.
    2. Conversion Mode Controls -
      1. Continuous Conversion Mode
        1. This control brings the user to the Demonstration Tab and locks out unnecessary tabs.
        2. This control displays/hides the necessary controls in the Data Acquisition Controls Tab.
          1. Data Acquisition Controls
            1. Click to Begin Continuous Sampling - This control starts the demonstration mode which measures the angle the PCB makes with the gravity vector and displays it.
      2. Single Sample
        1. This control brings the user to the Sample Data tab and locks out unnecessary tabs.
        2. This control displays/hides the necessary controls in the Data Acquisition Controls tab.
          1. Data Acquisition Controls
            1. Input Angle - Having set the PCB at a specific angle, this control allows the user to input that angle and to compare the ADC result with the actual angle.
            2. Single Sample - This control instructs the ADC to sample and convert one acceleration reading from each axis.
            3. Clear Data - This control clears the X-Y plot.
            4. Remove Data Point - This control removes the last data point from the X-Y plot.
            5. Save Data - This control prompts and allows the user to save their data to a text file.

Step by Step Instruction to Calibrate the Accelerometer

  1. Select Single Sample in the Conversion Mode Controls. Calibration can only be performed in the Single Sample mode.
  2. Navigate to the Calibrate tab.
  3. To manually enter or change calibration coefficients, press the Manual Coefficient Input button and enter the appropriate offset and sensitivity values for each axis (in g's).
  4. To perform a four point calibration, press the Four Point Calibration button.
    1. Orient the PCB as displayed in the image below.
    2. Press Sample Data while rotating the PCB to find the largest output voltage for the X-axis. This voltage corresponds to the +1g value for the X-axis.
    3. Orient the PCB as displayed in the image below.
    4. Press Sample Data while rotating the PCB to find the smallest output voltage for the X-axis. This voltage corresponds to the -1g value for the X-axis.
    5. Orient the PCB as displayed in the image below.
    6. Press Sample Data while rotating the PCB to find the largest output voltage for the Y-axis. This voltage corresponds to the +1g value for the Y-axis.
    7. Orient the PCB as displayed in the image below.
    8. Press Sample Data while rotating the PCB to find the smallest output voltage for the Y-axis. This voltage corresponds to the -1g value for the Y-axis.
    9. Press Calibrate to calculate the offset and sensitivity values for each axis.
    10. Now any further calculations or conversions performed anywhere in the software (Demonstration tab or Sampled Data tab) will utilize the offset and sensitivity values calculated here.

Registration

Receive software update notifications, documentation updates, view the latest videos, and more when you register your hardware. Register to receive all these great benefits and more!

End of document

resources/eval/user-guides/circuits-from-the-lab/cn0189.txt · Last modified: 30 Jul 2021 07:15 by Victor Calinao, Jr