CN0350 Software User Guide
Overview
CN0350 provides robust and complete solution for processing charge input signals into digital code, for acceleration and shock measurements where piezoelectric sensors with charge output are used. The design solution is optimized for high precision and low cost measurement, using only two active devices, and has a total error less than 0.25% FSR after calibration over a ±10°C temperature range. The accuracy depends on the calibration.
The circuit shown in Figure 1 incorporates AD8608ARUZ OpAmp, AD7091RBRMZ 12-bit successive approximation (SAR) ADC, to create the charge output from piezoelectric sensors into digital code.
The circuit has 12 pin PMOD connector on board, which could be used for connection to a customer microprocessor or FPGA.
The CN0350 circuit note discusses the design steps needed to optimize the circuit shown in Figure 1 for a specific bandwidth including noise analysis and component selection considerations.
The performance of the circuit could be demonstrated with the use of Analog Devices SDP controller EVAL-SDP-CB1Z and SDP-to-PMOD Interposer Board SDP-PMD-IB1Z, both optional purchase items. This user guide will discuss how to use the evaluation software to collect data from the EVAL-CN0350-PMDZ Evaluation Board CN0350
Figure 1. Charge Input Single Supply Data Acquisition System for Piezoelectric Sensors (All connections and Decoupling Not Shown)
Required Equipment
-
-
-
-
-
Voltage Source (Voltage Generator)
-
Multimeter(to measure the input current)
-
-
PC with the following Minimum Requirements
-
USB type A to
USB type mini-B cable (provided with the EVAL-SDP-CB1Z Controller Board)
General Setup
-
-
-
The
EVAL-SDP-CB1Z (SDP-B Board) connects to the PC via the
USB cable.
-
-
The voltage generator connects to the
EVAL-CN0350-SDPZ (CN0350 Board) via the terminal block
J1
Installing the Software
-
Load the evaluation software by placing the CN0350 evaluation software disc in the CD drive of the PC. You can also download the most up to date copy of the evaluation software from
www.analog.com/CN0350. Open the file setup.exe.
NOTE: It is recommended that you install the CN0350 Evaluation Software to the default directory path C:/Program Files/Analog Devices/CN0350/ and all National Instruments products to C:/Program Files/National Instruments/
-
Click
Next to view the installation review page
-
Click
Next to start the installation
-
Upon completion of the installation of the
CN0350 Evaluation Software, the installer for the
ADI SDP Drivers will execute.
NOTE: 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.
//
-
Press
“Next” to set the installation location for the
SDP Drivers.
It is recommended that you install the drivers to the default directory path
C:/C:/Program Files/Analog Devices/SDP/DriversR2
-
Press
“Next” to install the
SDP Drivers and complete the installation of all software. Click
“Finish” when done.
-
—-
Connecting the Hardware
-
Connect the
+6V DC Power Supply (Wallwart) to the barrel jack
J1 of the
Interposer Board (Interposer Board ) as depicted below.
NOTE: Make sure that the jumper is positioned as shown below!
-
Connect the 120-pin connector on the
SDP-PMD-IB1Z (Interposer Board) to the 120-pin connector marked
“CON A” on the
EVAL-SDP-CB1Z (SDP-B Board)
-
Connect the
USB cable supplied with
EVAL-SDP-CB1Z (SDP-B Board) to the
USB port on the PC and the SDP Board
}}
NOTE: Verify that the SDP Drivers are loaded properly. For that purpose open the Device manager and check if the SDP Board is recognized. If not repeat steps 1-3
//
-
-
Connect the input Voltage generator to J1 Terminal Block located on
EVAL-CN0350-PMDZ (CN0350 Board). The positive end of the voltage generator has to be wired to the input marked with
“CAL” and the negative end of the voltage generator has to be wired to the input marked with
“NEG”.
-
After a proper connection of the hardware to the PC the CN0350 Evaluation Software can be used to calibrate the board and capture data.
Using the Evaluation Software
Software Control and Indicator Descriptions
//
-
Acquire Data Button
-
Clear Data Button
-
Save Data Button
-
When this button is pressed, the software will save the captured data to a tab delimited
ASCII spreadsheet file. The units of the saved data depends on the chosen graph units (6).
-
Control Tabs
-
Acquire DataMain - Clicking this tab brings the data collection graph to the front.
-
Calibrate System - Clicking this tab brings the system calibration settings to the front.
-
SDP Revision - Clicking this tab brings the SDP board information window to the front.
-
Numerical Indicator
-
Graph Units Radio Buttons
-
ADC Settings
-
This control determines the settings of the
SPI communication. The
Sample Rate (Hz) control determines the conversion frequency and the
Samples control determines the numbers of samples to be captures when clicking (1) button. The maximum sample rate is set to 620k and the maximum samples are set to 1M. Changing this controls changes automatically the x-axis time on the graph.
-
Graph
-
Graph Controls
-
System Status String Indicator
-
System Status LED Indicator
-
This indicator displays the current state of the software in the form of an LED. There are four status LED colors.
Inactive
Busy
Error
Waiting for user action
-
Calibration Coulombs Numerical Control
-
Calibrate Button
-
Sensor Sensitivity Numerical Control
-
This control is used if a real piezoelectric sensor is used to capture data. Set the sensor sensitivity
pC/g here to be able to display correctly the captured data as acceleration
(g). Another calibration is not needed for that purpose.
-
SDP Firmware Revision
Establishing a USB Connection Link
-
Follow the instructions to properly install the software and connect the hardware as described in the previous sections.
-
Open the file named
CN0350.exe in the installation directory.
NOTE: If the software was installed to the default location it will be found at
C:/Program Files/Analog Devices/CN0350/CN0350.exe
-
The software should connect to the board automatically. If the hardware is not recognized by the PC the next window will appear, indicating that the software is waiting for proper hardware connection. If that happens perform the hardware connection procedure described in the previous section. After connecting the hardware the list in the window will populate. Choose the connected hardware and click select.
-
Upon success, the System Status String Indicator will display SDP Board Ready to Acquire Data
Calibrating the CN0350 Board
-
Establish a
USB Connection LinkFor the calibration of CN0350 Board an adjustable amplitude and frequency low impedance output voltage source is required with sine wave output. The power supply voltage source has to be very well isolated from the circuit (the computer). To calibrate the board connect the voltage source (voltage generator) as shown on the picture below. The positive end of the voltage source is wired to the CAL input of the board. The negative end is wired to the NEG of the board. With the described configuration the board can be calibrated for various input ranges by changing the amplitude of the voltage source or the calibration capacitance. The amount of the input charge is determined by the formula Q=Ccal.Vin. On the figure 2 it is shown a calibration configuration for 1000pC at the input of the board (Vin = 1V, Ccal = 1nF). Note that on the board 1nF capacitor is populated, but you can use TP1 and TP2 to add additional capacitor in parallel to the on board capacitor.
NOTE: Keep in mind that output voltage of the charge amplifier doesn’t have to exceed the limit of the input range of the ADC. For that purpose it is not recommended to drive the output Vout of the charge amplifier more that 1V peak voltage. So for 1nF calibration capacitor don’t apply more than 1V to the input of the board (Vout = Q/C2). If you need to calibrate the system for more than 1000pC add external capacitor in parallel to C2 by using TP3 and TP4.
Figure 2.
Calibration Procedure Steps
-
Establish a
USB Connection Link.
-
Click the Calibrate System tab.
-
Set the low Calibration Coulombs Control equal to the coulombs that will be applied to the board during the calibration
-
Press the Calibrate Button.
-
A pop-up window appears. At this point apply the coulombs to the input of the board as described and click OK. If you press Cancel at this point you will exit the calibration procedure but the board will not be able to capture data properly.
-
A second pop-up window appears. Now the input calibration coulombs have to be removed from the board. For that purpose unwire the input voltage source from the input of the board. When ready press OK. If you press Cancel the board will still be not calibrated.
Acquiring Data
Once calibrated, the board can be used to capture data from real piezoelectric sensors. The positive end of the piezoelectric sensor should be wired to POS of the board and the negative to NEG. Keep in mind that in order to demonstrate the result from the sensor as acceleration (g) you have to adjust the Sensor Sensitivity Control equal to the sensitivity of the sensor. Another method to demonstrate the functionality of the board is to use the voltage generator connected to the calibration input of the board. By changing the input voltage amplitude or by changing the calibration capacitor various inputs coulombs can be provided to the input of the board.
-
Establish a
USB Connection Link.
-
Click the Accuire Button.
Saving Data to a Spreadsheet File
-
Establish a USB Connection Link.
-
Capture Data.
-
Click the
Save Data Button.
-
Click the OK Button.
-
Browse to the directory location where the spreadsheet file is to be saved.
-
Name the file.
-
Click the OK Button.
-
Open with Notepad or similar. The saved data shows the collected data according to the chosen
Graph Units Radio buttons.
The software saves the spreadsheet file as ASCII text with columns separated by tabs.