×

CN0335软件用户指南

消耗积分:2 | 格式:pdf | 大小:1.18MB | 2021-04-09

凤毛麟角

分享资料个

This version (05 Jan 2021 16:57) was approved by Ioana Chelaru.The Previously approved version (05 Jan 2021 16:53) is available.Diff

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-SDP-CB1Z Controller Board (SDP-B Board)
  • EVAL-CN0335-PMDZ Evaluation Board (CN-0335 Board)
  • EVAL-CFTL-6V-PWRZ (+6V Power Supply) or equivalent
  • SDP-PMD-IB1Z SDP-to-PMOD interposer board
  • Voltage Source (Voltage Generator)
  • Multimeter(to measure the input current)
    • (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


Installing the Software

  1. 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/






  2. Click Next to view the installation review page



  3. Click Next to start the installation



  4. 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.


    //

  5. 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



  6. Press “Next” to install the SDP Drivers and complete the installation of all software. Click “Finish” when done.



—-

Connecting the Hardware

  1. 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!









  2. 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)



  3. 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


    //

  4. Connect the EVAL-CN0335-PMDZ (CN0335 Board) to the SDP-PMD-IB1Z (Interposer Board) via the 12 pin header PMOD connector.



  5. 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




//

  1. 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.
  2. Run Button
    • When this button is pressed, the SDP-B Board will collect conversion data and present the acquisitions in the chart.
  3. Stop Button
    • When this button is pressed, the software stop collecting data from the CN0335 Board
  4. Clear Data Button
    • When this button is pressed, the software will clear all data collected from the chart history.
  5. Save Data Button
    • When this button is pressed, the software will save the data collected to a tab delimited ASCII spreadsheet file.
  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.
  7. Numerical Indicator
    • This indicator displays the current reading value. The value units depend on the chosen graph units (10).
  8. Graph
    • This graph displays the collected data. The units on the graph depend on the chosen graph units (10).
  9. Graph Controls
    • These controls allow the user to zoon in, zoom out, and pan through the data collected.
  10. Graph Units Radio Buttons
    • This control determines the units of the data displayed in the chart and the numerical indicator.
  11. System Status String Indicator
    • This indicator displays a message to the user detailing the current state of the software.
  12. 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
  13. Calibrate System Controls
    • These controls allow the user to calibrate the CN0335 Board. For the calibration two voltage inputs in the range ±10V are required. For best performance the inputs have to be selected “-10V” and “+10V”. To perform the calibration follow the instructions on the screen
  14. 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.

  1. Follow the instructions to properly install the software and connect the hardware as described in the previous sections.
  2. 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







  3. Click the Connect/Reconnect Button. A window with a progress bar will load.



  4. Upon success, the System Status String Indicator will display SDP Board Ready to Acquire Data

Calibrating the CN0335 Board

  1. Establish a USB Connection Link.
  2. Click the Calibrate System tab.
  3. Apply first calibration current to the input connector J2 of CN0335.
  4. Write down the applied current to Calibration Current 1 indicator.
  5. Press Calibrate 1 button.
  6. Apply second calibration current to the input connector J2 of CN0335 and different from the previous calibration current.
  7. Write down the applied current to Calibration Current 2 indicator.
  8. Press Calibrate 2 button.

Capturing a Data

  1. Establish a USB Connection Link.
  2. Click the Run Button
  3. Click the Stop Button when acquisition is complete.

Saving Data to a Spreadsheet File

  1. Establish a USB Connection Link.
  2. Capture Data.
  3. Click the Save Data Button.



  4. Click the OK Button.
  5. Browse to the directory location where the spreadsheet file is to be saved.
  6. Name the file.
  7. Click the OK Button.
  8. 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.

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !

'+ '

'+ '

'+ ''+ '
'+ ''+ ''+ '
'+ ''+ '' ); $.get('/article/vipdownload/aid/'+webid,function(data){ if(data.code ==5){ $(pop_this).attr('href',"/login/index.html"); return false } if(data.code == 2){ //跳转到VIP升级页面 window.location.href="//m.obk20.com/vip/index?aid=" + webid return false } //是会员 if (data.code > 0) { $('body').append(htmlSetNormalDownload); var getWidth=$("#poplayer").width(); $("#poplayer").css("margin-left","-"+getWidth/2+"px"); $('#tips').html(data.msg) $('.download_confirm').click(function(){ $('#dialog').remove(); }) } else { var down_url = $('#vipdownload').attr('data-url'); isBindAnalysisForm(pop_this, down_url, 1) } }); }); //是否开通VIP $.get('/article/vipdownload/aid/'+webid,function(data){ if(data.code == 2 || data.code ==5){ //跳转到VIP升级页面 $('#vipdownload>span').text("开通VIP 免费下载") return false }else{ // 待续费 if(data.code == 3) { vipExpiredInfo.ifVipExpired = true vipExpiredInfo.vipExpiredDate = data.data.endoftime } $('#vipdownload .icon-vip-tips').remove() $('#vipdownload>span').text("VIP免积分下载") } }); }).on("click",".download_cancel",function(){ $('#dialog').remove(); }) var setWeixinShare={};//定义默认的微信分享信息,页面如果要自定义分享,直接更改此变量即可 if(window.navigator.userAgent.toLowerCase().match(/MicroMessenger/i) == 'micromessenger'){ var d={ title:'CN0335软件用户指南',//标题 desc:$('[name=description]').attr("content"), //描述 imgUrl:'https://'+location.host+'/static/images/ele-logo.png',// 分享图标,默认是logo link:'',//链接 type:'',// 分享类型,music、video或link,不填默认为link dataUrl:'',//如果type是music或video,则要提供数据链接,默认为空 success:'', // 用户确认分享后执行的回调函数 cancel:''// 用户取消分享后执行的回调函数 } setWeixinShare=$.extend(d,setWeixinShare); $.ajax({ url:"//www.obk20.com/app/wechat/index.php?s=Home/ShareConfig/index", data:"share_url="+encodeURIComponent(location.href)+"&format=jsonp&domain=m", type:'get', dataType:'jsonp', success:function(res){ if(res.status!="successed"){ return false; } $.getScript('https://res.wx.qq.com/open/js/jweixin-1.0.0.js',function(result,status){ if(status!="success"){ return false; } var getWxCfg=res.data; wx.config({ //debug: true, // 开启调试模式,调用的所有api的返回值会在客户端alert出来,若要查看传入的参数,可以在pc端打开,参数信息会通过log打出,仅在pc端时才会打印。 appId:getWxCfg.appId, // 必填,公众号的唯一标识 timestamp:getWxCfg.timestamp, // 必填,生成签名的时间戳 nonceStr:getWxCfg.nonceStr, // 必填,生成签名的随机串 signature:getWxCfg.signature,// 必填,签名,见附录1 jsApiList:['onMenuShareTimeline','onMenuShareAppMessage','onMenuShareQQ','onMenuShareWeibo','onMenuShareQZone'] // 必填,需要使用的JS接口列表,所有JS接口列表见附录2 }); wx.ready(function(){ //获取“分享到朋友圈”按钮点击状态及自定义分享内容接口 wx.onMenuShareTimeline({ title: setWeixinShare.title, // 分享标题 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享给朋友”按钮点击状态及自定义分享内容接口 wx.onMenuShareAppMessage({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 type: setWeixinShare.type, // 分享类型,music、video或link,不填默认为link dataUrl: setWeixinShare.dataUrl, // 如果type是music或video,则要提供数据链接,默认为空 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到QQ”按钮点击状态及自定义分享内容接口 wx.onMenuShareQQ({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到腾讯微博”按钮点击状态及自定义分享内容接口 wx.onMenuShareWeibo({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); //获取“分享到QQ空间”按钮点击状态及自定义分享内容接口 wx.onMenuShareQZone({ title: setWeixinShare.title, // 分享标题 desc: setWeixinShare.desc, // 分享描述 link: setWeixinShare.link, // 分享链接 imgUrl: setWeixinShare.imgUrl, // 分享图标 success: function () { setWeixinShare.success; // 用户确认分享后执行的回调函数 }, cancel: function () { setWeixinShare.cancel; // 用户取消分享后执行的回调函数 } }); }); }); } }); } function openX_ad(posterid, htmlid, width, height) { if ($(htmlid).length > 0) { var randomnumber = Math.random(); var now_url = encodeURIComponent(window.location.href); var ga = document.createElement('iframe'); ga.src = 'https://www1.elecfans.com/www/delivery/myafr.php?target=_blank&cb=' + randomnumber + '&zoneid=' + posterid+'&prefer='+now_url; ga.width = width; ga.height = height; ga.frameBorder = 0; ga.scrolling = 'no'; var s = $(htmlid).append(ga); } } openX_ad(828, '#berry-300', 300, 250);