CN0335 Software User Guide
Overview
CN0335 provides robust and complete solution for ±10 voltage to digital conversion with isolation, for measurements where, voltage is used as standard interface. The design solution is optimized for high precision and low cost measurement, using only three active devices, and has a total unadjusted error of less than 0.1% FSR. The accuracy depends on the calibration.
The circuit shown in Figure 1 incorporates AD8606ARZ OpAmp, AD7091RBRMZ 12-bit successive approximation (SAR) ADC, and ADuM5401ARWZ isolator to create a standard ±10 voltage measurement system.
The circuit has 12 pin PMOD connector on board, which could be used for connection to a customer microprocessor or FPGA.
This CN0335 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-CN0335-PMDZ Evaluation Board CN0335
Figure 1. ±10 V Single Supply Analog to Digital Conversion with Isolation (All connections and Decoupling Not Shown)
Required Equipment
-
EVAL-CN0335-PMDZ Evaluation Board (CN-0335 Board)
-
-
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
General Setup
-
-
The
EVAL-SDP-CB1Z (SDP-B Board) connects to the PC via the
USB cable.
-
The ±10V source
(Voltage Generator) connects to the
EVAL-CN0335-SDPZ (CN0335 Board) via the terminal block
J2
Installing the Software
Load the evaluation software by placing the CN0335 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/CN0335. Open the file setup.exe.
NOTE: It is recommended that you install the CN0335 Evaluation Software to the default directory path C:/Program Files/Analog Devices/CN0335/ 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
CN0335 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 current source (Current calibrator) to J2 Terminal Block. The polarity is shown on the picture below
Using the Evaluation Software
Software Control and Indicator Descriptions
//
Connect/Reconnect Button
When this button is pressed, the SDP-B Board makes a
USB connection to the CN0335 Board. A connection to the SDP-B Board must be made to use the software.
Run Button
Stop Button
Clear Data Button
Save Data Button
When this button is pressed, the software will save the data collected to a tab delimited
ASCII spreadsheet file.
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
Graph Controls
Graph Units Radio Buttons
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
Calibrate System Controls
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
CN0335.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/CN0335/CN0335.exe
Click the
Connect/Reconnect Button. A window with a progress bar will load.
Upon success, the System Status String Indicator will display SDP Board Ready to Acquire Data
Calibrating the CN0335 Board
Establish a USB Connection Link.
Click the Calibrate System tab.
Apply first calibration current to the input connector J2 of CN0335.
Write down the applied current to Calibration Current 1 indicator.
Press Calibrate 1 button.
Apply second calibration current to the input connector J2 of CN0335 and different from the previous calibration current.
Write down the applied current to Calibration Current 2 indicator.
Press Calibrate 2 button.
Capturing a Data
Establish a USB Connection Link.
Click the Run Button
Click the Stop Button when acquisition is complete.
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 ADC Codes (decimal)
The software saves the spreadsheet file as ASCII text with columns separated by tabs.