×

磁阻角和线性位置测量(CN0368)

消耗积分:0 | 格式:pdf | 大小:1023.71KB | 2021-04-09

手托初梦

分享资料个

This version (03 Jan 2021 22:00) was approved by Robin Getz.The Previously approved version (22 Jan 2020 22:44) is available.Diff

Magneto-Resistive Rotational Position Measurement (CN0368)

Overview

This circuit provides a contactless, AMR (Anisotropic Magneto Resistive) based angle measurement solution ideal for angle and linear position measurements. The system is capable of providing better than 0.2 degree accuracy. This translates into a linear position accuracy of 2 mil (0.002 inches).

The circuit is ideal for applications where high speed, accurate, non-contact angle and length measurements are critical such as brushless DC motor control.

General Setup

  • One EVAL-CN0368-SDPZ Evaluation Board
  • EVAL-SDP-CB1Z Evaluation board
  • One USB Type-A plug to USB Mini-B plug cable.
  • One of the following:
    • 6V DC wallwart. (EVAL-CFTL-6V-PWRZ)
    • DC power supply with a 0-6V output. (HP6236B)
    • One diametrically magnetized Neodymium magnet
    • One Neodymium magnet approximately two inches in length, magnetized along the length of the magnet.

Minimum PC/System Requirements

  • One PC with the following
    • Windows XP SP2, Windows Vista or Windows 7 Business/Enterprise/Ultimate editions
    • Intel Pentium processor (x86 compatible), 1GHz or faster
    • 512 MB RAM and 2 GB available hard disk space
    • .NET 3.5 Framework

How to Install the Evaluation Software

  1. Extract the files within the file CN0368 SDP Eval Software.zip and open the file setup.exe. It is recommended that you install the CN0368 SDP Evaluation Software to the default directory path C:/Program Files/Analog Devices/CN0368/ and all National Instruments products to C:/Program Files/National Instruments/
  2. Press “Next”.
  3. Press “Next”.
  4. Press “Next”.
  5. Upon completion of the installation of the CN0368 SDP Eval Software, the installer for the ADI SDP Drivers will execute. Follow the on-screen prompts to install the drivers. 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.
  6. Press “Next”.
  7. It is recommended that you install the drivers to the default directory path C:/Program Files/Analog Devices/SDP/Drivers/
  8. Press “Install” to install the Drivers and complete the installation of all software necessary to evaluate the EVAL-CN0368-SDPZ

Opening and Enabling the Evaluation Software

  1. Launch the executable found at C:/Program Files/Analog Devices/CN0368 and press the “Connect“ button.

Calibration Methods

Single Temperature Calibration

The Single Temperature Calibration method allows the user to calculate VSIN_Offset and VCOS_Offset before calculating the magnetic field angle. This eliminates any error sources associated with a dynamic calibration procedure, but requires extra steps and time.

  1. Select 'Single Temperature Calibration' from the drop down menu.
  2. A prompt will appear instructing the user to rotate the magnetic stimulus through 360 degrees.
    1. In this time the software is actively calculating VSIN_Offset and VCOS_Offset.
  3. Press 'End Calibration' when finished.
    1. The software will display the magnetic field angle, VSIN_Offset, and VCOS_Offset.
  4. Press 'Sample Data' to actively calculate the magnetic field angle using the offsets calculated during the Single Temperature Calibration.
  5. Press 'Click to Stop' when finished.

Multiple Temperature Calibration

The Multiple Temperature Calibration procedure is a method of compensating for temperature effects experienced by the amplifier and ADC. The temperature coefficients and offsets are calculated to provide a more accurate magnetic field angle and system response.

  1. Select Multiple Temperature Calibration from the drop down menu.
  2. Place the hardware in a temperature controlled environment at the desired T1.
  3. Press Ok.
  4. Rotate the stimulus through 360 degrees while VSIN_Offset_T1 and VCOS_Offset_T1 are calculated.
  5. Press Ok.
  6. Place the hardware in a temperature controlled environment at the desired T2.
  7. Press Ok.
  8. Rotate the stimulus through 360 degrees while VSIN_Offset_T2 and VCOS_Offset_T2 are calculated.
  9. Press Ok.
  10. Press Sample Data to observe the magnetic field angle results corrected for temperature and offset effects.

Dynamic Calibration

The Dynamic Calibration method actively calculates VSIN_Offset and VCOS_Offset as the magnetic stimulus rotates through 360 degrees. The software then subtracts these offsets in real time. This method is simpler than the Single Temperature Calibration and Multiple Temperature Calibration and can be implemented faster, with more ease.

  1. Select 'Dynamic Calibration' from the drop down menu.
  2. The software will automatically begin to sample and convert the VSIN and VCOS channels of the ADA4571.
  3. Rotate the magnetic stimulus through 360 degrees.
  4. The software will display the magnetic field angle, VSIN_Offset, and VCOS_Offset as the stimulus is rotated.
    1. Early calculations for the magnetic field angle will have large errors until the offset's are calculated more precisely, the accuracy of the system will quickly improve with as few as one or two rotations are required.
  5. Press 'Click to Stop' when finished.
    1. The software will revert to its starting position allowing you to experiment with a new calibration method, or simply to sample data with the existing calibration data.

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

评论(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.lene-v.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:'磁阻角和线性位置测量(CN0368)',//标题 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.lene-v.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);