Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
resources:eval:user-guides:circuits-from-the-lab:cn0364 [21 Jan 2015 08:01]
resources:eval:user-guides:circuits-from-the-lab:cn0364 [21 Jan 2015 08:10]
JB.Chua Added links
Line 1: Line 1:
 +====== CN0364 Evaluation Board and Software User Guide ======
 +===== Overview =====
 +[[ADI>​CN0364]] is a complete, fully isolated,​highly flexible, quad channel analog input system suitable for programmable logic controllers (PLCs) and distributed control system (DCS) applications that require multiple voltage inputs and HART-compatible,​ 4 mA to 20 mA current inputs.
  
 +The [[ADI>​AD7173-8]] 24-bit Σ-Δ analog-to-digital converter (ADC) accepts the voltage and current input, and performs the data conversion. The [[ADI>​AD5700-1]] is the industry’s lowest power and smallest footprint HART-compliant modem and is used in conjunction with the current input channels to form a HART-compatible,​ 4 mA to 20 mA receiver solution. The [[ADI>​ADG704]] multiplexer provides HART connectivity to the multiple current input channels.
 +The [[ADI>​ADuM5211]] and [[ADI>​ADuM3151]] provide digital line and power isolation. The [[ADI>​ADP2441]] 36 V, step-down, dc-to-dc regulator accepts an industrial standard 24 V supply, with wide tolerance on the input voltage and steps it down to 5V to be used by the system. ​       ​
 +
 +This user guide will discuss how to use the [[http://​www.analog.com/​EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] and evaluation software to configure and collect data from the EVAL-CN0364-SDPZ Evaluation Board **(CN-0364 Board)**. The evaluation board also has PMOD compatible headers for connection to other processors or microcontrollers.
 +
 +A complete design support package for the [[adi>​EVAL-CN0364-SDPZ]] evaluation board containing schematics, layouts (native and Gerber), and bill-of-materials can be found at: [[http://​www.analog.com/​CN0364-DesignSupport|CN0364-DesignSupport]].
 +
 +{{ :​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0364:​cn0364.jpg?​nolink&​300 |}}
 +
 +----
 +
 +===== Required Equipment =====
 +  * [[adi>​EVAL-CN0364-SDPZ|EVAL-CN0364-SDPZ Evaluation Board]]
 +  * [[http://​www.analog.com/​EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] Controller Board (**SDP-B Board**)
 +  * DC Power Supply (+12V to +24V)
 +  * Precision voltage and current source (for input)
 +  * [[ftp://​ftp.analog.com/​pub/​cftl/​CN0364/​|CN0364 Evaluation Software]]
 +  * PC with the following //Minimum Requirements//​
 +      * Windows Vista/7 (32-bit)
 +      * USB type A Port
 +      * Processor rated at 1GHz or faster
 +      * 1GB RAM and 500 MB available hard disk space
 +  * USB type A to USB type mini-B cable
 +
 +----
 +
 +===== General Setup =====
 +{{ :​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0364:​setup-1.png?​nolink&​300 |}}
 +  * The [[http://​www.analog.com/​EVAL-CN0364-SDPZ|EVAL-CN0364-SDPZ]] **(CN-0364 Board)** connects to the [[http://​www.analog.com/​EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] **(SDP-B Board)** via the 120-Pin connector
 +  * The [[http://​www.analog.com/​EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] **(SDP-B Board)** connects to the PC via the USB cable.
 +  * Header **P10** is a PMOD compatible SPI header - allows for communication to the ADC
 +  * Header **P11** is a PMOD compatible UART header - allows for communication to the HART modem
 +  * Terminal block **P9** is the power supply input (input range:+5.5V to +36V DC)
 +  * Terminal blocks **P1**,​**P2**,​**P3** and **P4** provide the quad channel voltage input (-10V to +10V)
 +  * Terminal blocks **P5**,​**P6**,​**P7** and **P8** provide the quad channel HART-compatible,​ 4 mA to 20 mA current inputs
 +
 +See image for terminal block assignments:​
 +{{ :​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0364:​board_connections.png?​nolink&​600 |}}
 +
 +**Jumper Settings**
 +  * Jumper **JP1** ​
 +    * INT  - The evaluation is powered from header P9
 +    * PMOD - The evaluation is powered from PMOD headers(**P10** or **P11**)
 +  * Jumper **JP2** ​
 +    * VIO      - digital logic level is set +3.3V coming from the SDP board
 +    * VCC_PMOD - digital logic level is set by PMOD input (recommended is +3.3V or +5V)
 +
 +----
 +
 +===== Installing the Software =====
 +  - Extract the file **CN0364_Evaluation_Software.zip** and open the file **setup.exe**.\\ \\ <WRAP left tip round box 60%>​**NOTE:​** It is recommended that you install the [[ftp://​ftp.analog.com/​pub/​cftl/​CN0364/​|CN-0364 Evaluation Software]] to the default directory path **C:​\Program Files\Analog Devices\CN0364\** and all National Instruments products to **C:​\Program Files\National Instruments\**</​WRAP>​\\ \\ \\ \\ \\ {{:​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0364:​install2.png?​nolink&​|}}
 +  - Click **Next** to view the installation review page\\ \\ {{:​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0364:​install4.png?​nolink&​|}}\\ \\ 
 +  - Click **Next** to start the installation\\ \\ {{:​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0364:​install6.png?​nolink|}}
 +  - Upon completion of the installation of the **CN-0364 Evaluation Software**, the installer for the **ADI SDP Drivers** will execute.\\ \\ <WRAP left tip round box 60%>​**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.</​WRAP>​\\ \\ {{:​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0357:​cn0357-install4.png?​nolink&​|}}\\ \\ 
 +  - Press **“Next”** to set the installation location for the **SDP Drivers**.\\ \\ <WRAP left round tip 50%>It is recommended that you install the drivers to the default directory path \\ **C:​\Program Files\Analog Devices\SDP\Drivers**</​WRAP>​\\ \\ {{:​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0357:​cn0357-install5.png?​nolink&​|}}
 +  - Press **“Next”** to install the **SDP Drivers** and complete the installation of all software. ​ Click **"​Finish"​** when done.\\ \\ {{:​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0357:​cn0357-install6.png?​nolink&​|}}
 +
 +----
 +
 +===== Using the Evaluation Software =====
 +==== Software Control and Indicator Descriptions ====
 +=== Main Tab ===
 +{{:​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0364:​gui-1.png?​nolink&​600|}}
 +  - **Run/​Stop** ​
 +    * Start/Stop data acquisition from the evaluation board
 +  - **Clear Data**  ​
 +    * Clear the data on the chart and on voltage/​current indicators
 +  - **Save Data**
 +    * Save the data collected to a tab delimited ASCII spreadsheet file
 +  - **Reset**
 +    * Reset the evaluation board and software to the defualt startup configuration
 +  - **Voltage/​Current Numerical Display**
 +    * Displays the value of the voltage(**V**) and current(**mA**) per channel during data acquisition
 +  - **Chart**
 +    * Data plot for the data acquisition (may be displayed as voltage/​current value or ADC code)
 +  - **Sampling Mode**
 +    * Real-Time - continuously capture a single sample per channel, and updates the display and chart 
 +    * Single Run - captures the specified number of samples and plots the data on the chart
 +  - **Display Units**
 +    * Voltage/​Current - data on the chart is displayed as voltage/​current values
 +    * ADC Code -  data on the chart is displayed as ADC codes
 +  - **Status Bar**
 +    * Displays a message to the user detailing the current state of the software ​ There are three status LED colors:\\ {{:​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0357:​cn0357-software-inactive.png?​nolink&​|}}Inactive\\ {{:​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0357:​cn0357-software-busy.png?​nolink&​|}}Busy\\ {{:​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0357:​cn0357-software-error.png?​nolink&​|}}Error\\ ​
 +=== Histogram Tab ===
 +{{:​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0364:​gui-2.png?​nolink&​600|}}
 +<WRAP left round important 60%>
 +User needs to sample data first using **Run** to get histogram data on this page.
 +</​WRAP>​\\ \\ \\ \\ \\ \\ \\ 
 +
 +  - **Select Channel** ​
 +    * Channel selection for Histogram display
 +  - **Get Histogram**  ​
 +    * Analyzes the data from the selected channel and displays the histogram data
 +  - **Maximum Code**  ​
 +    * Display for the highest code from the sampled data of the selected channel ​
 +  - **Minimum Code**  ​
 +    * Display for the lowest code from the sampled data of the selected channel ​
 +  - **Code Spread**  ​
 +    * Display for the difference between the highest and lowest code from the sampled data of the selected channel ​
 +  - **Peak-to-Peak Resolution**  ​
 +    * Display for computed Peak-to-Peak Resolution(bits) of the selected channel ​
 +  - **Histogram Graph**  ​
 +    * Plot for the histogram data
 +=== HART Query Tab ===
 +{{:​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0364:​gui-3.png?​nolink&​600|}}
 +  - **HART Channel**  ​
 +    * Selection for the current input channel the HART enabled device is connected to
 +  - **Query Address CMD 0**  ​
 +    * Queries the HART enabled devices address via a HART command 0 
 +  - **Query Variables CMD 3**  ​
 +    * Queries the HART enabled devices variables via a HART command 3
 +  - **Address Variable**  ​
 +    * Display for the address variables received from the HART-enabled device via CMD 0
 +  - **Device Variables**  ​
 +    * Display for the device variables received from the HART-enabled device via CMD 3
 +  - **Device Status**  ​
 +    * Display for the reported status information from the HART enabled device
 +  - **Leave HART Transmit Switch Open**  ​
 +    * By checking this both the Tx switch will not close between HART transmit messages. Due to the implementation of the HART output circuitry, this will not significantly affect the measurement accuracy as long at the loop bandwidth is <25Hz per the HART specification.
 +=== Configure System Tab ===
 +{{:​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0364:​gui-4.png?​nolink&​600|}}
 +  - **Channel Control**  ​
 +    * Control to enable/​disable the input channels
 +  - **Current Input Control**  ​
 +    * Control to select the filtering for the current input to the ADC
 +  - **Data Rate**  ​
 +    * Control to set the output data rate of the ADC
 +  - **Digital Filter**  ​
 +    * Control to set which digital filter is currently in use
 +  - **Sinc5 + Sinc1 Post Filter**  ​
 +    * Control to select the data rate for the Sinc5 + Sinc1 post filter, Sinc5 + Sinc1 must be selected in the **Digital Filter** control for these settings to take effect
 +=== HART Terminal Tab ===
 +{{:​resources:​eval:​user-guides:​circuits-from-the-lab:​cn0364:​gui-5.png?​nolink&​600|}}
 +  - **HART Channel**  ​
 +    * Selection for the current input channel the HART enabled device is connected to
 +  - **Command**  ​
 +    * The full user specified command that should be transmitted including checksum as space delimitated text
 +  - **Write/​Read** and **Write/​Read continuously**  ​
 +    * Sends the specified command and attempts to receive a response. The **monitor** window will show if a response was received.
 +  - **RX/TX Counters** and **Reset Counters** Button ​
 +    * Indicator for the number of RX/TX transactions
 +    * Reset the send/​receive counters to 0
 +  - **Monitor**  ​
 +    * Display for the HART data that is sent and received
 +  - **Read** and **Read Continuously**
 +    * Queries if there a HART message in the receive buffer.
 +    * **Clear** - Clears the **monitor** window
 +----
 +
 +==== Running the System ====
 +  - Open the **CN0364.exe** application from the default installation location.
 +  - The software will connect to the board automatically.
 +  - Click the **Run Button**
 +  - Click the **Stop Button** when acquisition is complete.
 +==== Saving Data to a Spreadsheet File ====
 +  - Click the **Save Data Button**.
 +  - Browse to the directory location where the spreadsheet file is to be saved.
 +  - Name the file.
 +  - Click the **OK Button**.
 +<WRAP center round info 60%>\\ The software saves the spreadsheet file as ASCII text with columns separated by tabs</​WRAP>​
 +
 +----
 +
 +===== More Information and Useful Links =====
 +  * [[ftp://​ftp.analog.com/​pub/​cftl/​CN0364/​|CN0364 Evaluation Software]]
 +  * [[ADI>​CN0364|CN0364 Circuit Note Page]]
 +  * [[ADI>​CN0364-DesignSupport|CN0364 Design Support Package]]
 +  * [[ADI>​AD7173-8|AD7173-8 Product Page]]
 +  * [[ADI>​AD5700-1|AD5700-1 Product Page]]
 +  * [[ADI>​ADUM5211|ADUM5211 Product Page]]
 +  * [[ADI>​ADUM3151|ADUM3151 Product Page]]
 +  * [[ADI>​ADP2441|ADP2441Product Page]]
 +  * [[ADI>​ADG704|ADG704Product Page]]
resources/eval/user-guides/circuits-from-the-lab/cn0364.txt · Last modified: 21 Jan 2015 08:10 by JB.Chua