資料介紹
Table of Contents
CN0349 Software User Guide
Overview
CN0349 provides robust and complete solution for processing conductivity and temperature inputs into digital code. The design solution is optimized for high precision and low cost measurement, using five active devices, and has a total error less than 1% FSR after calibration. The output of the circuit is fully isolated, and therefore, the ground-loop interference is effectively reduced, making it ideal for industrial applications.
The circuit shown in Figure 1 incorporates the AD5934YRSZ 12 bit Impedance Converter, ADG715BRUZ Octal SPST Switch, AD8606ARZ Rail-to-Rail OpAmp, ADuM5000ARWZ Isolated DC-DC Converter, ADuM1250ARZ Dual I2C Isolator, to convert the conductivity and temperature inputs to digital code.
The circuit has 8pin Digilent Pmod I2C interface connector on board, which could be used for connection to a customer microprocessor or FPGA.
The CN0349 circuit note discusses the design steps needed to optimize the circuit shown in Figure 1 for a specific measuring range including accuracy analysis and component selection considerations.
The performance of the circuit can 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 discusses the use of the evaluation software to collect data from the EVAL-CN0349-PMDZ Evaluation Board CN0349
There are several important restrictions that need to be addressed if you are developing your own application code using the EVAL-CN0349-PMDZ.
If you do not follow these requirements, your results will likely be incorrect or erroneous. You can read more about these restrictions in the CN0349 Software Recommendations section of this user guide.
Analog Devices has incorporated these restrictions into our evaluation software, which is why we won't discuss it within the Evaluation Software section of this user guide.
Figure 1. Data Acquisition system for conductivity measurements with isolation (All connections and Decoupling Not Shown)
Required Equipment
- EVAL-SDP-CB1Z Controller Board (SDP-B Board)
- EVAL-CN0349-PMDZ Evaluation Board (CN-0349 Board)
- EVAL-CFTL-6V-PWRZ (+6V Power Supply) or equivalent
- SDP-PMD-IB1Z SDP-to-PMOD interposer board
- Resistance Decade Box (to simulate the input impedance, e.g. IET RS-200 Labs Resistance Substituter Decade Box) or real conductivity cell with integrated Pt100 sensor (e.g. Sensorex CS200TC-PT1)
- (download from above link)
- PC with the following Minimum Requirements
- Windows? 7 (64-bit), Windows 8 (64-bit), or Windows 10 (64-bit)
- USB type A Port
- Processor rated at 1GHz or faster
- 512 MB RAM and 500 MB available hard disk space
- USB type A to USB type mini-B cable (provided with the EVAL-SDP-CB1Z Controller Board)
General Setup
- The EVAL-CFTL-6V-PWRZ (+6V DC Power Supply) powers the SDP-PMD-IB1Z (Interposer Board) via the DC barrel jack.
- The SDP-PMD-IB1Z (Interposer Board) connects to the EVAL-SDP-CB1Z (SDP-B Board) via the 120-Pin connector A.
- The EVAL-SDP-CB1Z (SDP-B Board) connects to the PC via the USB cable.
- The EVAL-CN0349-PMDZ (CN0349) connects to the EVAL-PMD-IB1Z (Interposer board) via the 8-pin header Digilent Pmod I2C interface connectors (J2 on both boards). Use the 4-pin MTE Cable (Digilent, Inc.) supplied with CN0349 board.
- The resistance decade box/the conductivity cell connects to the EVAL-CN0349-PMDZ (CN0349 Board) via the terminal block J1
Installing the Software
- Load the evaluation software by placing the CN0349 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/CN0349. Open the file setup.exe.
NOTE: It is recommended that you install the CN0349 Evaluation Software to the default directory path C:/Program Files/Analog Devices/CN0349/ 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 CN0349 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:/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 EVAL-CN0349-PMDZ (CN0349 Board) to the SDP-PMD-IB1Z (Interposer Board) via the 8 pin header Digilent Pmod I2C interface connector.
- Connect the Resistance Decade Box/Conductivity Cell to pin4 and pin5 of J1 Terminal Block located on EVAL-CN0349-PMDZ (CN0349 Board). If a Conductivity Cell with integrated Pt100 sensor is used, the sensor should be wired to pin 3 and pin 2 of J1 Terminal Block. Pin 1 can be used to wire the ground shield of the Conductivity Cell.
- After a proper connection of the hardware to the PC the CN0349 Evaluation Software can be used to calibrate the board and capture data.
Using the Evaluation Software
Software Control and Indicator Descriptions
- Measure Button
- When this button is pressed, the SDP-B Board will perform a measurement procedure and present the data in the measurement data indicators (3,4,5,6).
- Control Tabs
- Main - Clicking this tab brings the data collection graph to the front.
- Calibrate System - Clicking this tab brings the system calibration settings to the front.
- Register Value - Clicking this tab brings the AD5934 and ADG715 register value panel to the front.
- SDP Revision - Clicking this tab brings the SDP board information window to the front.
- Impedance Indicator
- This indicator displays the measured input impedance in Ω).
- Conductivity Indicator
- This indicator displays the measured input conductivity in mS/cm. The measurement result is dependent on the applied probe corrections (7) and (9).
- Conductivity Temperature Compensated Indicator
- This indicator displays the temperature compensated input conductivity in mS/cm according to the chosen Temperature coefficient (8)
- Temperature of the Solution Indicator
- This indicator displays the measured temperature in °C, using external Pt100 RTD sensor
- Cell Constant Control (Probe Corrections)
- This control is used to apply the constant of the cell used for the measurement. The value of this control affects the measurement result presented in the Conductivity Indicator (4).
- Temperature Coefficient Control (Probe Corrections)
- This control is used to apply the temperature coefficient of the measured solution.
- Offset Control (Probe Corrections)
- This control is used to apply offset correction to the measured Conductivity (4). If offset correction is not needed, leave this control at 0mS/cm.
- Measurement Range Radio Buttons
- This control determines the input measurement range. The two measurement ranges are.
- Measurement Range Indicator
- This indicator shows the limits of the chosen input measurement range.
- System Status String Indicator
- This indicator displays a message to the user detailing the current state of the software.
- 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 Button
- Pressing this button initiates a calibration of the board.
- Calibration Resistances Controls
- This control is used to apply the values for the three on board calibration resistances R3, R4, R7. The values for this controls has to be changed only if different calibration resistances are populated on the board.
- ADG715 register value
- This read only panel showing the ADG715 register value.
- AD5934 register address and value
- This read only panel showing the AD5934 register address and value.
- SDP Firmware Revision
- Read only data. After the connection is established with the SDP Board, the basic information for the controller can be found here.
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 CN0349.exe in the installation directory or the shortcut in the start menu.
NOTE: If the software was installed to the default location it will be found at
C:/Program Files/Analog Devices/CN0349/CN0349.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 CN0349 Board
Calibration Procedure Steps
- Establish a USB Connection Link.
- Click the Calibrate System tab.
- Press the Calibrate Button.
- A pop-up window will appear indicating that the board is being calibrated. Wait for the calibration to finish.
- When the calibration is finished a second pop-up window will appear to indicate the end of the measurement. Click the OK button.
Measuring Data
- Establish a USB Connection Link.
- Choose the appropriate Probe Corrections .
- Choose the Measurement Range .
- Click the Measure button .
- A pop-up window appear to indicate that the board is performing a measurement procedure.
- When the measurement is finished a second pop-up window will appear to indicate the end of the measurement. Click the OK button to close the pop-up window.
- After clicking OK the indicators are presenting the measured data.
Using the CN0349 board with other platforms (non-SDP)
This section will describe how to use the CN0349 board with platforms other than the SDP-B platform (which will be referred to as the “host”). The host can be a MCU platform, FPGA platform, or PC with USB to I2C converter, or any type of programmable platform which has an I2C interface.
Hardware Interface for CN0349
For the detailed specifications of the I2C interface, please check: I2C-bus specification. Notice that the CN0349 board does not support all the features of the I2C-bus specification, and the limitations will be described later.
The EVAL-CN0349-PMDZ evaluation board uses a standard Digilent Pmod 8pin I2C connector interface, J2, to communicate with the host. For the detailed Digilent Pmod interface specification please check: Digilent Pmod Interface Specification
J2 Pin Number | Pin Function | Mnemonic |
---|---|---|
Pin 1 | Serial Clock | SCL |
Pin 2 | Serial Clock | SCL |
Pin 3 | Serial Data | SDA |
Pin 4 | Serial Data | SDA |
Pin 5 | Digital Ground | DGND |
Pin 6 | Digital Ground | DGND |
Pin 7 | Digital Power | VDD |
Pin 8 | Digital Power | VDD |
The CN0349 board can accept both +3.3V±10% or +5V±10% power supplies. Please make sure the host has the same I/O level standard as the CN0349 board. The power supply for the CN0349 board minimum current requirement is 300mA. The power supply for CN0349 must provide this current with minimum voltage drop. Otherwise the permanent damage of CN0349 may occur.
Software Recommendations for CN0349
Digital Communication
For the customer platform to communicate with the CN0349 board, the I2C communication protocol must be designed carefully. The maximum I2C speed and timing is limited by the ADG715 and the AD5934. Please check the data sheet for the AD5934 and ADG715 for more specific details. The host I2C timing and speed must meet with the requirements of both the ADG715 and AD5934. The maximum I2C clock speed for ADG715 and AD5934 is 400kHz.
On the EVAL-CN0349-PMDZ evaluation board, the ADG715 I2C address is set to: 0x48, and the AD5934 I2C address is: 0x0d. Please make sure in the host I2C bus there are no devices that have same address as the ADG715 and AD5934.
System Calibration and Ranging
When designing the software for the CN0349, there are particular register settings that must be adhered to for the AD5934 and the ADG715. These register settings will effect the input range of the individual components, as well as effect system level parameters such as the calibration and range of the entire system, so it's extremely important to follow the software settings provided below.
The hardware limitations in the CN0349 board need to be considered carefully when writing the software. If other settings for AD5934 and ADG715 outside the limits described above are used, the AD5934 ADC input must not be saturated. The AD5934 ADC reference is AVDD2=3.3V which determines the input range. The AD5934 ADC input signal amplitude is a function of the excitation voltage, the RC filter made up of R1, R5, C1, the ADG715 setting, the admittance of conductivity cell, and the AD5934 internal PGA gain settings. Incorrect results will be obtained if any of these factors cause the AD5934 ADC input signal to go out of range.
The CN0349 board MUST be calibrated before measurement. The calibration theory and calculations are located in circuit note CN0349.
- INPUT SIGNAL SETTING
- AD5934 - Sets the fullscale output of the excitation signals, and the inputs to the internal A/D converter
- Excitation Voltage and PGA MUST have the following settings in the host software, otherwise the results maybe erroneous:
Part Number | I2C Address | Register Address | Register Data | Description |
---|---|---|---|---|
AD5934 | 0x0d | 0x80 | 0x01 | Excitation Voltage 2.0Vp-p, Internal PGA=1 |
- SYSTEM CALIBRATION
- ADG715 - Responsible for the conductivity calibration
- You MUST have at least one of the following calibration settings in your software. Each calibration will increase the accuracy of the system, and provide better results when measuring in either the High or Low Conductivity Range. Two calibration points per range(High or Low) is recommended, otherwise your results will have a higher error:
Part Number | I2C Address | I2C Data | Function | Description |
---|---|---|---|---|
ADG715 | 0x48 | 0x09 | High YX Range Calibration 1 | Set RFB=R9=100Ω, RCAL=R3=100Ω |
ADG715 | 0x48 | 0x11 | High YX Range Calibration 2 | Set RFB=R9=100Ω, RCAL=R4=1kΩ |
ADG715 | 0x48 | 0x12 | Low YX Range Calibration 1 | Set RFB=R8=1kΩ, RCAL=R4=1kΩ |
ADG715 | 0x48 | 0x22 | Low YX Range Calibration 2 | Set RFB=R8=1kΩ, RCAL=R7=10kΩ |
- SYSTEM MEASUREMENTS
- ADG715 - Responsible for the measurement of the conductivity range.
- It is best to use the range that best describes your unknown conductivity. For example, using the High range, when the conductivity measurement you are trying to obtain should be in the low range will add additional errors to the measurement and reduce accuracy.
Part Number | I2C Address | I2C Data | Function | Description |
---|---|---|---|---|
ADG715 | 0x48 | 0x41 | Measure RTD | Set RFB=R9=100Ω, RDUT=RRTD |
ADG715 | 0x48 | 0x81 | Measure High YX Range | Set RFB=R9=100Ω, RDUT=RCELL |
ADG715 | 0x48 | 0x82 | Measure Low YX Range | Set RFB=R8=1kΩ, RDUT=RCELL |
Measurement Ranges and System Outputs
There are two allowable measurement ranges for the conductivity cell admittance. If the conductivity cell admittance is out of these ranges, incorrect results may occur.
Please note: the admittance of the cell is not the conductivity of the cell, the cell constant must be used to convert the admittance to conductivity. For the details of the cell constant please check circuit note CN0349.
Conductivity Value | Calibration | Measurement | |
---|---|---|---|
Low Range | 1uS to 1mS | Low YX Range Calibration 1 & 2 (see calibration table above) | Measure Low YX Range (see measurement table above) |
High Range | 1mS to 1S | High YX Range Calibration 1 & 2 (see calibration table above) | Measure High YX Range (see measurement table above) |
Please note that the measurement result is the YX not YCELL. the details of converting YX to YCELL are give in CN0349.
End of Document
- CN0349設計與集成文件
- CN0349全隔離電導率測量數據采集系統
- CN0335軟件用戶指南
- CN0350軟件用戶指南
- CN-0354軟件用戶指南
- CN0355軟件用戶指南
- CN0196軟件用戶指南
- CN0203軟件用戶指南
- CN0204軟件用戶指南
- CN-0269軟件用戶指南
- CN-0271軟件用戶指南
- CN-0288軟件用戶指南
- CN-0296軟件用戶指南
- CN-0301軟件用戶指南
- CN0349: Fully Isolated Conductivity Measurement Data Acquisition System
- 上位機軟件的用戶界面設計技巧 773次閱讀
- 搞不懂組態軟件和HMI?常見組態軟件有哪些? 4789次閱讀
- 常用的遠程控制軟件介紹 1763次閱讀
- 醫療器械軟件風險分析介紹 醫療設備軟件靜態和動態分析技巧 1850次閱讀
- 如何使用openEuler用戶軟件倉(EUR) 1223次閱讀
- 基于STM32 MCU應用的EMC指南之軟件篇 1020次閱讀
- 開源、可重用的軟件堆棧支持CbM的實時處理和算法開發 900次閱讀
- EsDA為用戶帶來簡單易用的軟件設計體驗 1884次閱讀
- 使用含快速開關SiC器件的RC緩沖電路實用解決方案和指南 2531次閱讀
- 常見的組態軟件有哪些 1.2w次閱讀
- 如何正確的設置IAR單片機編程軟件 4994次閱讀
- 一款以BitTorrent代幣連接和獎勵用戶的軟件BitTorrent Speed介紹 3328次閱讀
- 組態軟件的特點和應用 1.4w次閱讀
- 組態軟件是什么_組態軟件有什么用 3.5w次閱讀
- 長虹CN-7機芯彩電場掃描電路分析 1w次閱讀
下載排行
本周
- 1電子電路原理第七版PDF電子教材免費下載
- 0.00 MB | 1491次下載 | 免費
- 2單片機典型實例介紹
- 18.19 MB | 95次下載 | 1 積分
- 3S7-200PLC編程實例詳細資料
- 1.17 MB | 27次下載 | 1 積分
- 4筆記本電腦主板的元件識別和講解說明
- 4.28 MB | 18次下載 | 4 積分
- 5開關電源原理及各功能電路詳解
- 0.38 MB | 11次下載 | 免費
- 6100W短波放大電路圖
- 0.05 MB | 4次下載 | 3 積分
- 7基于單片機和 SG3525的程控開關電源設計
- 0.23 MB | 4次下載 | 免費
- 8基于AT89C2051/4051單片機編程器的實驗
- 0.11 MB | 4次下載 | 免費
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費
- 2PADS 9.0 2009最新版 -下載
- 0.00 MB | 66304次下載 | 免費
- 3protel99下載protel99軟件下載(中文版)
- 0.00 MB | 51209次下載 | 免費
- 4LabView 8.0 專業版下載 (3CD完整版)
- 0.00 MB | 51043次下載 | 免費
- 5555集成電路應用800例(新編版)
- 0.00 MB | 33562次下載 | 免費
- 6接口電路圖大全
- 未知 | 30320次下載 | 免費
- 7Multisim 10下載Multisim 10 中文版
- 0.00 MB | 28588次下載 | 免費
- 8開關電源設計實例指南
- 未知 | 21539次下載 | 免費
總榜
- 1matlab軟件下載入口
- 未知 | 935053次下載 | 免費
- 2protel99se軟件下載(可英文版轉中文版)
- 78.1 MB | 537793次下載 | 免費
- 3MATLAB 7.1 下載 (含軟件介紹)
- 未知 | 420026次下載 | 免費
- 4OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費
- 5Altium DXP2002下載入口
- 未知 | 233046次下載 | 免費
- 6電路仿真軟件multisim 10.0免費下載
- 340992 | 191183次下載 | 免費
- 7十天學會AVR單片機與C語言視頻教程 下載
- 158M | 183277次下載 | 免費
- 8proe5.0野火版下載(中文版免費下載)
- 未知 | 138039次下載 | 免費
評論
查看更多