Wiki

Differences

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

Link to this comparison view

Next revision
Previous revision
resources:eval:user-guides:circuits-from-the-lab:cn0337 [08 Oct 2013 19:42] – created Christo Hrisulevresources:eval:user-guides:circuits-from-the-lab:cn0337 [29 Jul 2021 07:28] (current) – Hardware Registration Harvey John De Chavez
Line 1: Line 1:
 +====== CN0337 Software User Guide ======
 +===== Overview=====
 +[[ADI>CN0337]] provides robust and complete solution for Temperature to digital conversion with isolation, for measurements where, standard RTD sensors are used. The design solution is optimized for high precision and low cost measurement, using only three active devices, and has a total unadjusted temperature error of less than 0.039%FSR/°C. The accuracy depends on the calibration.
 +The circuit shown in Figure 1 incorporates [[adi>AD8608ARZ|AD8608ARZ]] OpAmp, [[adi>AD7091RBRMZ|AD7091RBRMZ]] 12-bit successive approximation (SAR) ADC, and [[adi>ADuM5401ARWZ|ADuM5401ARWZ]] isolator to create a standard Temperature measurement system.
 +The circuit has 12 pin PMOD connector on board, which could be used for connection to a customer microprocessor or FPGA. 
 +This [[adi>CN0337|CN0337]] circuit note discusses the design steps needed to optimize the circuit shown in Figure 1 for a specific temperature range including component selection considerations.
  
 +The performance of the circuit could be demonstrated with the use of Analog Devices SDP controller [[adi>EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] and SDP-to-PMOD Interposer Board [[adi>SDP-PMD-IB1Z|SDP-PMD-IB1Z]], both optional purchase items.
 +This user guide will discuss how to use the evaluation software to collect data from the EVAL-CN0337-PMDZ Evaluation Board [[adi>CN0337|CN0337]]
 +
 +{{:resources:eval:user-guides:circuits-from-the-lab:cn0337:Overview-fig1.png?nolink&700|}}
 +
 +Figure 1. Resistance Deviation to Digital Conversion with Isolation Using Pt100 RTD Sensor (All Connections and Decoupling Not Shown)
 +
 +===== Required Equipment =====
 +  * [[adi>EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] Controller Board (**SDP-B Board**)
 +  * [[adi>CN0337|EVAL-CN0337-PMDZ]] Evaluation Board (**CN-0337 Board**)
 +  * [[adi>EVAL-CFTL-6V-PWRZ|EVAL-CFTL-6V-PWRZ]] **(+6V Power Supply)** or equivalent
 +  * [[adi>SDP-PMD-IB1Z]] SDP-to-PMOD interposer board 
 +  * Resistance Decade (to simulate the input resistance of the RTD element), e.g. IET RS-200 Labs Resistance Substituter Decade Box. (If no calibration procedure is performed, the temperature can be measured using real sensor)
 +  * [[ftp://ftp.analog.com/pub/cftl/CN0337/|CN0337 Evaluation Software]]
 +    * (supplied with provided CD in kit)
 +  * PC with the following //Minimum Requirements//
 +    * Windows XP Service Pack 2 (32-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
 +===== General Setup =====
 +  * The [[adi>EVAL-CFTL-6V-PWRZ|EVAL-CFTL-6V-PWRZ]] **(+6V DC Power Supply)** powers the [[adi>EVAL-CN0337-PMDZ|EVAL-CN0337-PMDZ]] **(CN0337 Board)** via the DC barrel jack.
 +  * The [[adi>SDP-PMD-IB1Z|SDP-PMD-IB1Z]] **(Interposer Board)** connects to the [[adi>EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] **(SDP-B Board)** via the 120-Pin connector A.  
 +  * The [[adi>EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] **(SDP-B Board)** connects to the PC via the USB cable.
 +  * The [[adi>CN0337|EVAL-CN0337-SDPZ]] **(CN0337)** connects to the [[adi>EVAL-PMD-IB1Z|EVAL-PMD-IB1Z]] **(Interposer board)** via the 12-Pin header PMOD connector  **(J1 and J3)**
 +  * The **(Pt/100 Resistance Decade )** connects to the [[adi>CN0337|EVAL-CN0337-SDPZ]] **(CN0337 Board)** via the terminal block **J2**
 + 
 +{{:resources:eval:user-guides:circuits-from-the-lab:cn0337:general_setup.png?600|}}
 +
 +
 +
 +
 +----
 +
 +===== Installing the Software =====
 +  - Load the evaluation software by placing the CN0337 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/CN0337. 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/CN0337/|CN0337 Evaluation Software]] to the default directory path **C:\Program Files\Analog Devices\CN0337\** and all National Instruments products to **C:\Program Files\National Instruments\**</WRAP>\\ \\ \\ \\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0337:installing_sw1.png?nolink|}} 
 +  - Click **Next** to view the installation review page\\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0337:installing_sw2.png?nolink|}}\\ \\ 
 +  - Click **Next** to start the installation\\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0337:installing_sw3.png?nolink|}}\\ \\ 
 +  - Upon completion of the installation of the **CN0337 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:cn0337:installing_sw4.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:\C:\Program Files\Analog Devices\SDP\DriversR2**</WRAP>\\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0337:installing_sw5.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:cn0337:installing_sw6.png?nolink|}}{{:resources:eval:user-guides:circuits-from-the-lab:cn0337:installing_sw6-b.png?nolink|}}
 +
 +----
 +
 +===== Connecting the Hardware =====
 +  - Connect the [[adi>EVAL-CFTL-6V-PWRZ|+6V DC Power Supply]] **(Wallwart)** to the barrel jack **J1** of the [[adi>SDP-PMD-IB1Z|Interposer Board  ]] **(Interposer Board )** as depicted below.\\ \\ <WRAP left round tip 50%>**NOTE:** Make sure that the jumper is  positioned as shown below!</WRAP>\\ \\ \\ \\ \\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0336:cn0336-connectinghw1.png?600|}}\\ \\
 +  - Connect the 120-pin connector on the [[adi>SDP-PMD-IB1Z|SDP-PMD-IB1Z]] **(Interposer Board)** to the 120-pin connector marked **“CON A”** on the [[adi>EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] **(SDP-B Board)**\\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0336:cn0336-connectinghw2.png?600|}}\\ \\
 +  - Connect the USB cable supplied with [[adi>EVAL-SDP-CB1Z|EVAL-SDP-CB1Z]] **(SDP-B Board)** to the USB port on the PC and the SDP Board \\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0336:cn0336-connectinghw3.png?600|}} \\ \\ <WRAP left round tip 50%>**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 </WRAP>\\ \\{{:resources:eval:user-guides:circuits-from-the-lab:cn0336:cn0336-connectinghw3a.png?600|}} \\ \\   
 +  - Connect the [[adi>EVAL-CN0337-PMDZ|EVAL-CN0337-PMDZ]] **(CN0337 Board)** to the [[adi>SDP-PMD-IB1Z|SDP-PMD-IB1Z]] **(Interposer Board)** via the 12 pin header PMOD connector. \\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0336:cn0336-connectinghw4.png?600|}}\\ \\
 +  - Connect the input current source (Current calibrator) to J2 Terminal Block. The polarity is shown on the picture below \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0336:cn0336-connectinghw5.png?600|}}\\ \\
 +
 +----
 +
 +===== Using the Evaluation Software =====
 +==== Software Control and Indicator Descriptions ====
 +{{:resources:eval:user-guides:circuits-from-the-lab:cn0337:using_sw_1.png?900|}}\\ \\  
 +{{:resources:eval:user-guides:circuits-from-the-lab:cn0337:using_sw_2.png?900|}}\\ \\
 +{{:resources:eval:user-guides:circuits-from-the-lab:cn0337:using_sw_3.png?900|}}\\ \\
 +
 +  -**Connect/Reconnect Button**
 +    * When this button is pressed, the SDP-B Board makes a USB connection to the CN0337 Board.  A connection to the SDP-B Board must be made to use the software.   
 +  -**Run Button**
 +    * When this button is pressed, the SDP-B Board will collect conversion data and present the acquisitions in the chart.
 +  -**Stop Button**
 +    * When this button is pressed, the software stop collecting data from the CN0337 Board
 +  -**Clear Data Button**
 +    * When this button is pressed, the software will clear all data collected from the chart history.
 +  -**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**
 +    * This indicator displays the current reading value. The value units depend on the chosen graph units (10).
 +  -**Graph**
 +    * This graph displays the collected data. The units on the graph depend on the chosen graph units (10).
 +  -**Graph Controls**
 +    * These controls allow the user to zoon in, zoom out, and pan through the data collected. 
 +  -**Graph Units Radio Buttons**
 +    * This control determines the units of the data displayed in the chart and the numerical indicator. 
 +  -**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.\\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0337:led_inactve.png?nolink|}}Inactive\\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0337:led_busy.png?nolink|}}Busy\\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0337:led_error.png?nolink|}}Error\\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0337:led_waiting.png?nolink|}}Waiting for user action\\
 +  -**Calibrate System Controls**
 +    * These controls allow the user to calibrate the CN0337 Board. For the calibration procedure two input resistance values are required. For best performance the inputs have to be selected “100Ω” and “212Ω” . To perform the calibration follow the instructions on the screen.\\ \\ <WRAP left round tip 50%>**NOTE:** If other temperature ranges or sensor are used the user has to look at the sensor’s    reference table to choose the resistance calibration values!</WRAP>\\ \\  \\ \\  \\ \\
 +  -**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 **CN0337.exe** in the installation directory.\\ \\ <WRAP left info round box 60%>**NOTE:** If the software was installed to the default location it will be found at \\ **C:\Program Files\Analog Devices\CN0337\CN0337.exe**</WRAP>\\ \\ \\ \\ \\ \\ 
 +  - Click the **Connect/Reconnect Button**.  A window with a progress bar will load.\\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0337:establishing_usb_connection.png?nolink|}} \\ \\ 
 +  - Upon success, the **System Status String Indicator** will display __SDP Board Ready to Acquire Data__
 +==== Calibrating the CN0337 Board ====
 +  - **Establish a USB Connection Link**.
 +  - Click the **Calibrate System** tab.
 +  - Apply first calibration current to the input connector  **J2** of **CN0337**.
 +  - Write down the applied current to **Calibration Resistance 1** indicator.
 +  - Press **Calibrate 1** button. 
 +  - Apply second calibration resistance to the input connector  **J2** of **CN0337** and different from the previous calibration resistance.
 +  - Write down the applied resistance to **Calibration Resistance 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**.  \\ \\ {{:resources:eval:user-guides:circuits-from-the-lab:cn0337:saving_data_1.png?nolink|}} \\ \\ 
 +  - 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)
 +<WRAP left round info 60%>\\ The software saves the spreadsheet file as ASCII text with columns separated by tabs.</WRAP>
 + \\ \\ \\ \\ \\
 +=====Registration===== 
 +<WRAP round tip 80% >
 +Receive software update notifications, documentation updates, view the latest videos, and more when you register your hardware.  [[reg>EVAL-CN0337-PMDZ?&v=RevA|Register]] to receive all these great benefits and more!
 +</WRAP>