×

ADIS16228对ADISUSB系统的评测

消耗积分:0 | 格式:pdf | 大小:1.61MB | 2021-05-09

分享资料个

This version (27 Jan 2021 22:39) was approved by Robin Getz.The Previously approved version (03 Jan 2021 22:04) is available.Diff

ADIS16228 EVALUATION ON THE ADISUSB

OVERVIEW

The ADIS16228 iSensor® is a complete vibration sensing system that combines triaxial acceleration sensing with advanced time domain and frequency domain signal processing. Time domain signal processing includes a programmable decimation filter and selectable windowing function. The electrical connection typically only requires 5 I/O lines for synchronous data collection, as shown in the following figure:

ADIS16228/PCB BREAKOUT BOARD

For those who are on a tight timeline, connecting the ADIS16228 to an embedded controller will provide the most flexibility in developing application firmware and will more closely reflect the final system design. The ADIS16228/PCBZ is the breakout board for the ADIS16228 and may provide assistance in the process of hooking it up to an existing embedded processor system. For more information, click on the following link: ADIS16228/PCBZ

For tips on interfacing to the ADIS16228/PCBZ with a ribbon cable, check out the following Engineer Zone post:

ADIS16228/PCBZ Breakout Board Cables (Engineer Zone FAQ)

ADISUSB: PC EVALUATION

For those who would prefer to perform PC-based evaluation of the ADIS16228, before developing their own embedded system, the ADISUSB is the appropriate system to use. The remainder of this Wiki site will focus on PC-based evaluation with the ADISUSB system.

EQUIPMENT LIST

SYSTEM REQUIREMENTS

Windows XP, Vista, 7 (32-bit systems only)

NOTE: All the required files are contained in the .Cab file and deployed during software package install.

PHYSICAL SETUP

The ADIS16228/PCBZ provides the ADIS16228 on a small printed circuit board (PCB) that simplifies the connection to an existing processor system. This PCB includes a silkscreen, for proper placement, and four mounting holes that have threads for M2 × 0.4 mm machine screws. The second set of mounting holes on the interface boards are in the four corners of the PCB and provide clearance for 4-40 machine screws. The third set of mounting holes provides a pattern that matches the ADISUSBZ evaluation system, using M2 × 0.4mm × 4 mm machine screws. These boards are made of IS410 material and are 0.063 inches thick. J1 is a 16-pin connector, in a dual row, 2 mm geometry that enables simple connection to a 1 mm ribbon cable system. For example, use Molex P/N 87568-1663 for the mating connector and 3M P/N 3625/16 for the ribbon cable. For direct connection to the ADISUSB evaluation system, use these parts to make a 16-pin cable or remove pins 13, 14, 15 and 16. The LEDs (D1 and D2) are not populated, but the pads are available to install to provide a visual representation of the DIO1 and DIO2 signals. The pads accommodate Chicago Miniature Lighting Part No. CMD28-21VRC/TR8/T1, which works well when R1 and R2 are approximately 400 Ω (0603 pad sizes).The mating connector for the ADIS16228, J2, is AVX P/N 04-6288-015-000-846. The picture below provides a close-up view of this connector, which clamps down on the flex cable to press its metal pads onto the metal pads inside the mating connector. The schematic is for the ADIS16228/PCBZ board.

NOTE: Do not plug the ADISUSB into the USB cable at this stage of the setup. Wait until the software installation is complete.

Step #1

Slide the ADIS16228CMLZ part into the mating J2 connector on the ADIS16228/PCBZ. Press the J2 clamp down onto the flex connector to complete the ADIS16228CMLZ part connection to the ADIS16228/PCBZ. Then secure the part using the M2 × 0.4mm × 4 mm machine screws provided with the ADIS16228/PCBZ. The following pictures provide a visual reference for correct connection.

WARNING: Make sure that the connector cable going from J1 on the ADIS16228/PCBZ is properly aligned to the J1 connector on the ADISUSB. The 12 pin cable is included with the ADISUSB. A 16 pin cable is also an option using the part numbers that are at the beginning of this section.

Step #2

Mounting to the system frame is accomplished using 4 M2x.4x6mm machine screws included with the ADIS16228/PCBZ. The mounting location holes are marked as an example in the picture below. Use the 4 holes to secure the ADIS16228/PCBZ to the ADISUSB.

Step #3

The following picture (left side) shows JP1 in the +3.3V position (factory-default). That is the correct JP1 jumper setting on the ADISUSB) required for the ADIS16228CMLZ.

NOTE: If JP1 is left on +5v the software will look like the following picture. Move JP1 to the+3.3V setting to correct the problem.

ADIS16228_Evaluation SOFTWARE

Click here to download the ADIS16228 Evaluation Software to a personal computer, which enables PC-based evaluation of the ADIS16228 on an ADISUSB evaluation system. The download file will contain three separate files: The CAB file (ADIS16228_EVAL_Rev_1.cab), the setup file (setup.exe) and the setup list. Copy these files to a convenient folder for running the application from.

Navigate to the folder where the files were saved and double click the setup.exe file. The following pictures are a guide for the ADIS16228 software install. The Welcome screen will appear click OK to continue.

Please choose a directory for the software application or use the default settings (recommended) and click the computer icon button to go to the next step.

Choose a program group or use the default settings (recommended) and click Continue. The last picture confirms completion click OK to finish.

USB Driver Installation

The ADIS16228_EVAL_Rev_1.cab file contains USB drivers that are compatible with 32-bit Windows systems. The software installation process unpacks these files and copies them into the appropriate directories, which enable a “guided driver installation process,” after the ADISUSB board connects to the computer (using the included USB mini cable) for the first time. After connecting the ADISUSB to the computer, the Hardware Wizard will find and install the drivers by following the steps below.

The following pictures show the final steps for USB driver install. Click on Next then click on Finish completing the installation.

WARNING: For those who are using Windows XP, Service Pack 3, additional steps are required for completing the driver installation. Please see page 8, on the ADISUSB User Guide (UG-363) for additional information on these steps.

ADIS16228 Evaluation SOFTWARE

After the USB driver installation is complete, connect the ADISUSB USB connector to the PC, using the USB Mini cable, from the ADISUSB kit. D2 will illuminate as soon as this connection is made. This indicates that the ADISUSB has power and is going through its start-up/initialization process. During the initialization process, several messages may appear on the screen. They are related to updating the ADISUSB firmware and establishing communication between the PC and the ADISUSB. After the updates are finished double click on the ADiS16228_Eval_Rev_1.exe file to launch the software application.

Main Window

Once the ADIS16228 Evaluation Software starts-up, the Main Window will appear and look like the following picture. The second picture provides color-coded boxes to support further discussion of each function in this screen.

The orange box identifies the drop-down menus, which provide a number of useful features. The Devices option provides a list of products.

The Registers option provides a listing of user-configurable registers in the ADIS16228 and also provides read/write access to each one of these registers.

The Datalog option provides the core data collection function.

The Start option will start the selected mode capture process.

The yellow box identifies the waveform recorder window. The window contains the three accelerometer responses.

Register Access

The purpose of the Register Access window is to provide both read and write access to the user registers in the ADIS16228. The following picture shows the appearance of this window.

The color coded boxes illustrate the different functions that this window provides.

The purple box identifies the register category. In addition to the Control/Status, this drop-down control offers access to Output and Calibration registers.

The red box identifies all of the registers that are in the current category. Click on the register name to select a register for individual read/write access.

The green box identifies the read/write control options for the current register selection. Use the hexadecimal format when writing commands to a particular register.

The yellow box updates all the registers in the current category.

The Update Flash command saves writable user register data.

APPLICATION TIP: The Register Access screen writes to user control registers, inside of the ADIS16228, two bytes at a time. So, when configuring a register, make sure to include the hexadecimal number for all 16-bits, before pressing the Write Register button. When using an embedded processor to write to user control registers, inside of the ADIS16228, each command (16-bits) writes to one byte at a time.

Data Capture Menu

The Data Capture function supports synchronous data acquisition, based on the data-ready signal from the ADIS16228. The following picture represents the Data Capture window, right after opening it from the Main Window and the second picture provides color-coded boxes, in order to support further discussion of each function that is associated with this screen.

The Main screen upper right corner datalog option should be checked to enable the datalog function.

The green box identifies the configuration box for the name and location of the data storage file.

The yellow box identifies a number of configuration options for the data acquisition process. The Scaled Units option causes the software to convert the decimal, twos complement number into its representative value. For example, when enabling Use Scaled Data, the accelerometer outputs will be in units of g's g-force.

EXAMPLE EXERCISES

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

评论(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:'ADIS16228对ADISUSB系统的评测',//标题 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);