吴忠躺衫网络科技有限公司

電子發燒友App

硬聲App

0
  • 聊天消息
  • 系統消息
  • 評論與回復
登錄后你可以
  • 下載海量資料
  • 學習在線課程
  • 觀看技術視頻
  • 寫文章/發帖/加入社區
會員中心
創作中心

完善資料讓更多小伙伴認識你,還能領取20積分哦,立即完善>

3天內不再提示
電子發燒友網>電子資料下載>類型>參考設計>AD7606B/AD7606C ACE遙控器

AD7606B/AD7606C ACE遙控器

2021-03-22 | pdf | 578.86KB | 次下載 | 2積分

資料介紹

This version (03 Feb 2021 19:33) was approved by Lluis Beltran.The Previously approved version (14 Jan 2021 05:38) is available.Diff

AD7606B/C ACE remote control

By using ACE Remote Control, AD7606B and AD7606C plug-ins can be automated to perform several evaluation activities across the different analog input ranges, bandwidth modes, channels, etc. Different example code are given on the MATLAB examples section.

Without hardware, the AD7606x Family software model can be used to try different configurations for both AD7606C and AD7606B: sampling rate, RC filtering, oversampling, calibration; and analyze frequency response, noise performance, interface timing or power consumption, among others.

All the below features can also be tested by using the MBed Example Code, that makes use of No-OS drivers and interface with SDP-K or STM32 Nucleo boards.

Getting Started

Hardware

  1. SDP-H Controller board and its 12V DC wall adapter
  2. AD7606C Evaluation Board or an equivalent board that has any of the following ADCs
    • AD7606B
    • AD7606C-18
    • AD7606C-16

Software

  1. AD7606B or AD7606C ACE plugin can be downloaded from within ACE environment, through the plug-in manager section
  2. A MATLAB or python environment.

ACE Environment

Refer to the AD7606C Evaluation Board user guide on powering the board up and setting up the ACE plugin. Please make sure that the plugin is functional and the device responds to the plugin interaction before proceeding further.

Setting up communication with ACE

  1. Open ACE, then go to Settings.
  2. Go to IPC Server Tab and ensure that it is enabled. Also ensure that a port is allocated.

Recording macros

Start recording macros as explained on Recording a macro wiki page

Editing macros in MATLAB

The code generated on previous section can be imported into MATLAB, and it works to set the exact configuration loaded during the macro recording. In order to give ACE an extra layer of flexibility, the execute_macro function created can be edited to perform repetitive task. For example, an 'AD7606C configuration' macro can be easily recorded with the macro recording tool. This macro could fully configure the AD7606C device: mode, range, OSR, reference, data interface, throughput, etc.

In order to automate operations:

  • Each of the parameters used (strings) can be replaced by variables that can be managed in the main code.
  • These variables would then be input parameters to the function, along with 'Client'
  • Several macros can be recorded, and each of them used as a 'function'. So the 'execute_macro' function can be renamed to a more intuitive name.

Explore each of the following MATLAB scripts to see different functions created to automate tests, e.g.: configure_ad7606c(), run_capture(), get_config(), etc.

MATLAB examples

Copyright ? 2020 by Analog Devices, Inc. All rights reserved. This software is proprietary to Analog Devices, Inc. and its licensors. This software is provided on an “as is” basis without any representations, warranties, guarantees or liability of any kind. Use of the software is subject to the terms and conditions of the Clear BSD License ( https://spdx.org/licenses/BSD-3-Clause-Clear.html ).

Along the different examples, a set of variables are used to define the AD7606C configuration:

  • generic →Either AD7606B, AD7606C-18 or AD7606C-16, depending on the Hardware used
  • mode →True=Software mode; False=Hardware mode
  • range →range=3-->+/-10V Single Ended Range, see register summary in datasheet
  • ref_sel →True= Internal Reference; False = External reference
  • par_serb →True=Parallel Interface; False = Serial Interface
  • throughput → sample frequency in kSPS
  • no_samples →number of samples on each DataSet
  • OSR → Oversampling Ratio= 2^OSR
  • sdo_lines → number of SDO lines, in serial interface
  • graph →Either 'histogram, 'waverform' or 'FFT

Oversampling Benefits

The benefits of oversampling are the increased noise performance at the expense of reducing the throughput rate. This can be seen through DC Histograms. So, in order to validate Oversampling feature

  1. Tie the inputs Vx+ and Vx- together, to AGND.
  2. Start ACE and navigate to Analysis tab.
  3. Store the OversamplingSweep.m file in your C:/ drive
  4. Open the OversamplingSweep.m in MATLAB and hit run

The script runs through all possible oversampling ratios and shows the histogram of codes of all channels.

This validation method is not valid for Unipolar single-ended ranges: 0 to 5V, 0 to 10V and 0 to 12.5V because tying the inputs to AGND may saturate the ADC. Tie them to a DC level instead
If you are rather visualizing the Waveform or FFT on the screen instead of the Histogram, modify the script and assign the graph variable with either 'waveform' or 'FFT'. Make sure the correct columns are loaded after 'readtable' function by exploring the .csv files

Offset calibration

AD7606B and AD7606C have on chip offset calibration, that eliminates any offset caused externally for example because of a mismatch on the external resistors.

In order to validate the offset calibration:

  1. Place the required external front-end resistors and/or caps (e.g. RC filter)
  2. Tie the evaluation board inputs Vx+ and Vx- together, to AGND, or the expected 0V level.
  3. Start ACE and navigate to Analysis tab.
  4. Store the OffsetCalibration.m file in your C:/ drive
  5. Open the OffsetCalibration.m in MATLAB and hit run

The script displays the data gathered before and after offset calibration.

This validation method is not valid for Unipolar single-ended ranges: 0 to 5V, 0 to 10V and 0 to 12.5V because tying the inputs to AGND may saturate the ADC. Tie them to a DC level instead
If you are rather visualizing the Waveform or FFT on the screen instead of the Histogram, modify the script and assign the graph variable with either 'waveform' or 'FFT'

Gain calibration

AD7606B and AD7606C have on chip gain calibration, that eliminates any gain error caused by the external resistors

In order to validate the offset calibration:

  1. Place the required external front-end resistors and/or caps (e.g. RC filter) on one channel
  2. Connect a sinewave signal to the desired channel input/s Vx+ and Vx-
  3. Start ACE and navigate to Analysis tab.
  4. Store the OffsetCalibration.m file in your C:/ drive
  5. Open the OffsetCalibration.m in MATLAB
  6. Look up the ch_num variable and update it with the channel number that has the external resistors
  7. Look up the Rfilter variable and update it with the resistor value used (in Ω)
  8. Run the script

The script displays the data gathered before and after gain calibration. The example below shows the same signal on two channels, CH1 has no resistors in front of the AD7606C-16 while CH8 has a 10kΩ in front of both V8+ and V8-. The two subplots show the CH8 attenuated because of the external resistor, on the left, and the ADC output when the gain errors is calibrated. CH1 is shown for reference.

Gain calibration feature is not available for Unipolar single-ended ranges: 0 to 5V, 0 to 10V and 0 to 12.5V

Phase calibration

Having an RC filter does not only impact the gain error but the phase error, due to its time constant. In order to validate the phase calibration feature:

  1. Place the required external RC filter on one channel
  2. Connect a sinewave signal to the desired channel input/s Vx+ and Vx- and at least one more channel, without RC filter
  3. Start ACE and navigate to Analysis tab.
  4. Store the PhaseCalibration.m file in your C:/ drive
  5. Open the PhaseCalibration.m in MATLAB, look up the ch_num variable and update with the channel number that has the external RC filter
  6. Run the script

Open Circuit Detection

AD7606B and AD7606C have on-chip Open Circuit Detection features, capable to detect if the analog input signal has been disconnected. A resistor (RPD > 20kΩ) in parallel to the input source is required, as shown on the diagram:

There are two modes of operation, automatic and manual mode.

In order to validate the Automatic Open Circuit Detection, follow the steps:

  1. (optional) Place the required external RC, if any, through the provided placeholders (check the board schematic)
  2. Populate the RPD resistor on one channel, through the provided placeholders (check the board schematic)
  3. Connect a sinewave or DC signal to the desired channel input's Vx+ and Vx- test points (or P8/P10 connectors)
  4. Start ACE and navigate to Analysis tab.
  5. Store the OpenCircuitAutoMode.m file in your C:/ drive
  6. Open the OpenCircuitAutoMode.m in MATLAB
  7. Look up the 'ch_num' and 'queue' variables, and update them with the channel under test and a queue size greater than 5
  8. Run the script

The script gathers sets of data, whose size is defined by the variable no_samples. It will continuously gather and plot ADC data on the figure window (overwriting every time). Eventually, if the source signal is disconnected from the board's input, the script will stop and show the last set of data gathered on the figure window. Observe how the ADC output has dropped to near zero and MATLAB's Command Window displays the message:

Channel Disconnected

In order to verify the Manual Mode, follow the same steps as above, but run the OpenCircuitManualMode.m script instead. After some time, disconnect the analog input signal. In this case, when the ADC output code drops below a certain threshold (see flowchart on the datasheet), the script will change the PGA common mode. If the ADC output code varies, as shown in the below graph, it implies the analog input signal has been disconnected, so the 'Channel Disconnected' message will be displayed on the Command Window.

However, if the analog input signal amplitude is lowered below the threshold, the script will still trigger. Then the PGA common mode will be changed, but the ADC output will be unaltered. In that case, the script will effectively decide that the analog input was not disconnected and therefore will keep working until the inputs are indeed disconnected.

Note that the Open Circuit Detection features only work on the bipolar input ranges and Vx- needs to be tied to ground

Feel free to consult Analog Devices Engineer-Zone for additional support.

評論

查看更多

下載排行

本周

  1. 1電子電路原理第七版PDF電子教材免費下載
  2. 0.00 MB  |  1491次下載  |  免費
  3. 2單片機典型實例介紹
  4. 18.19 MB  |  95次下載  |  1 積分
  5. 3S7-200PLC編程實例詳細資料
  6. 1.17 MB  |  27次下載  |  1 積分
  7. 4筆記本電腦主板的元件識別和講解說明
  8. 4.28 MB  |  18次下載  |  4 積分
  9. 5開關電源原理及各功能電路詳解
  10. 0.38 MB  |  11次下載  |  免費
  11. 6100W短波放大電路圖
  12. 0.05 MB  |  4次下載  |  3 積分
  13. 7基于單片機和 SG3525的程控開關電源設計
  14. 0.23 MB  |  4次下載  |  免費
  15. 8基于AT89C2051/4051單片機編程器的實驗
  16. 0.11 MB  |  4次下載  |  免費

本月

  1. 1OrCAD10.5下載OrCAD10.5中文版軟件
  2. 0.00 MB  |  234313次下載  |  免費
  3. 2PADS 9.0 2009最新版 -下載
  4. 0.00 MB  |  66304次下載  |  免費
  5. 3protel99下載protel99軟件下載(中文版)
  6. 0.00 MB  |  51209次下載  |  免費
  7. 4LabView 8.0 專業版下載 (3CD完整版)
  8. 0.00 MB  |  51043次下載  |  免費
  9. 5555集成電路應用800例(新編版)
  10. 0.00 MB  |  33562次下載  |  免費
  11. 6接口電路圖大全
  12. 未知  |  30320次下載  |  免費
  13. 7Multisim 10下載Multisim 10 中文版
  14. 0.00 MB  |  28588次下載  |  免費
  15. 8開關電源設計實例指南
  16. 未知  |  21539次下載  |  免費

總榜

  1. 1matlab軟件下載入口
  2. 未知  |  935053次下載  |  免費
  3. 2protel99se軟件下載(可英文版轉中文版)
  4. 78.1 MB  |  537793次下載  |  免費
  5. 3MATLAB 7.1 下載 (含軟件介紹)
  6. 未知  |  420026次下載  |  免費
  7. 4OrCAD10.5下載OrCAD10.5中文版軟件
  8. 0.00 MB  |  234313次下載  |  免費
  9. 5Altium DXP2002下載入口
  10. 未知  |  233046次下載  |  免費
  11. 6電路仿真軟件multisim 10.0免費下載
  12. 340992  |  191183次下載  |  免費
  13. 7十天學會AVR單片機與C語言視頻教程 下載
  14. 158M  |  183277次下載  |  免費
  15. 8proe5.0野火版下載(中文版免費下載)
  16. 未知  |  138039次下載  |  免費
实战百家乐官网的玩法技巧和规则| 缅甸百家乐官网赌场娱乐网规则| 百家乐凯时赌场娱乐网规则| 百家乐官网诀| 博彩评级网| 百家乐真人百家乐皇冠| 游戏百家乐官网的玩法技巧和规则 | 百家乐游戏规则玩法| 最好的百家乐官网好评平台都有哪些 | 太阳百家乐官网娱乐| 百家乐官网规则技法| 大发888合营商| 百家乐路单纸下载| 百家乐官网龙虎台布作弊技巧| 靖安县| 云鼎娱乐场送彩金| 全讯网a3322| 网上玩百家乐会出签吗| 百家乐官网缩水| 百家乐官网赢率| 黄龙县| 网上赌博网址| 亚洲顶级赌场手机版| 威尼斯人娱乐场首页| 打百家乐最好办法| 百家乐是骗人吗| 找真人百家乐官网的玩法技巧和规则 | 利都百家乐国际娱乐| 真人百家乐免费开户送钱| 网上百家乐官网游戏玩法| 博天堂百家乐官网官网| 真钱百家乐官网五湖四海全讯网 | 大发888官方网站登录| 百家乐视| 百家乐官网稳赢投注| 百家乐官网榄梯打法| 百家乐官网视频视频| 田东县| 百家乐官网趋势方向| 百家乐官网推荐怎么看| 博彩乐百家乐官网平台|