资料介绍
Table of Contents
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
- SDP-H Controller board and its 12V DC wall adapter
- AD7606C Evaluation Board or an equivalent board that has any of the following ADCs
- AD7606B
- AD7606C-18
- AD7606C-16
Software
- AD7606B or AD7606C ACE plugin can be downloaded from within ACE environment, through the plug-in manager section
- 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
- Open ACE, then go to Settings.
- 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
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
- Tie the inputs Vx+ and Vx- together, to AGND.
- Start ACE and navigate to Analysis tab.
- Store the OversamplingSweep.m file in your C:/ drive
- 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.
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:
- Place the required external front-end resistors and/or caps (e.g. RC filter)
- Tie the evaluation board inputs Vx+ and Vx- together, to AGND, or the expected 0V level.
- Start ACE and navigate to Analysis tab.
- Store the OffsetCalibration.m file in your C:/ drive
- Open the OffsetCalibration.m in MATLAB and hit run
The script displays the data gathered before and after offset calibration.
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:
- Place the required external front-end resistors and/or caps (e.g. RC filter) on one channel
- Connect a sinewave signal to the desired channel input/s Vx+ and Vx-
- Start ACE and navigate to Analysis tab.
- Store the OffsetCalibration.m file in your C:/ drive
- Open the OffsetCalibration.m in MATLAB
- Look up the ch_num variable and update it with the channel number that has the external resistors
- Look up the Rfilter variable and update it with the resistor value used (in Ω)
- 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.
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:
- Place the required external RC filter on one channel
- Connect a sinewave signal to the desired channel input/s Vx+ and Vx- and at least one more channel, without RC filter
- Start ACE and navigate to Analysis tab.
- Store the PhaseCalibration.m file in your C:/ drive
- Open the PhaseCalibration.m in MATLAB, look up the ch_num variable and update with the channel number that has the external RC filter
- 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:
- (optional) Place the required external RC, if any, through the provided placeholders (check the board schematic)
- Populate the RPD resistor on one channel, through the provided placeholders (check the board schematic)
- Connect a sinewave or DC signal to the desired channel input's Vx+ and Vx- test points (or P8/P10 connectors)
- Start ACE and navigate to Analysis tab.
- Store the OpenCircuitAutoMode.m file in your C:/ drive
- Open the OpenCircuitAutoMode.m in MATLAB
- Look up the 'ch_num' and 'queue' variables, and update them with the channel under test and a queue size greater than 5
- 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.
Feel free to consult Analog Devices Engineer-Zone for additional support.
- AD7606B物料清单
- AN-2020:基于AD7606B ADC的电力自动化EMC稳健PCB设计
- AD7606B评估板布局
- AD7606B IBIS型号
- AD7606B评估软件
- AD7606C-18-IBIS型号
- AD7606B IBIS Model
- AD7606B Evaluation Software
- AD7606B Frequently Asked Questions (FAQs) (EngineerZone)
- EVAL-AD7606C-18: Schematic
- EVAL-AD7606C-18: Bill of Materials
- AD7606C-18 - IBIS Model
- AD7606B模数转换数据采集系统的数据手册免费下载 8次下载
- AD7606_7606-6_7606-4 8次下载
- AD7606中文资料pdf 171次下载
- 万能遥控器的设置和使用方法 1.2w次阅读
- AN-2011: AD7606B:在软件模式下启用的高级特性和系统级优势 3500次阅读
- 如何构建一个简单的基于红外的车门遥控器 1145次阅读
- 如何创建基于MAXQ的“学习”遥控器 922次阅读
- 提高电力线监控的系统级性能和鲁棒性 825次阅读
- 遥控器的组成 9439次阅读
- fireflyAIO-3288J红外遥控器介绍 1617次阅读
- fireflyAIO-3288C主板红外遥控器简介 1568次阅读
- fireflyAIO-3399C主板红外遥控器简介 1481次阅读
- 一文弄懂工业无线遥控器是什么 1.4w次阅读
- 带你了解遥控器的发展历史 1.6w次阅读
- 一文弄懂无线遥控器 8884次阅读
- ad7606与stm32连接威廉希尔官方网站 介绍 1.8w次阅读
- ad7606中文资料汇总(ad7606引脚图及功能_内部结构及应用威廉希尔官方网站 ) 8.2w次阅读
- 基于stc89c52单片机的红外学习型遥控器 6211次阅读
下载排行
本周
- 1电子威廉希尔官方网站 原理第七版PDF电子教材免费下载
- 0.00 MB | 1491次下载 | 免费
- 2单片机典型实例介绍
- 18.19 MB | 95次下载 | 1 积分
- 3S7-200PLC编程实例详细资料
- 1.17 MB | 27次下载 | 1 积分
- 4笔记本电脑主板的元件识别和讲解说明
- 4.28 MB | 18次下载 | 4 积分
- 5开关电源原理及各功能威廉希尔官方网站 详解
- 0.38 MB | 11次下载 | 免费
- 6100W短波放大威廉希尔官方网站 图
- 0.05 MB | 4次下载 | 3 积分
- 7基于单片机和 SG3525的程控开关电源设计
- 0.23 MB | 4次下载 | 免费
- 8基于AT89C2051/4051单片机编程器的实验
- 0.11 MB | 4次下载 | 免费
本月
- 1OrCAD10.5下载OrCAD10.5中文版软件
- 0.00 MB | 234313次下载 | 免费
- 2PADS 9.0 2009最新版 -下载
- 0.00 MB | 66304次下载 | 免费
- 3protel99下载protel99软件下载(中文版)
- 0.00 MB | 51209次下载 | 免费
- 4LabView 8.0 专业版下载 (3CD完整版)
- 0.00 MB | 51043次下载 | 免费
- 5555集成威廉希尔官方网站 应用800例(新编版)
- 0.00 MB | 33562次下载 | 免费
- 6接口威廉希尔官方网站 图大全
- 未知 | 30320次下载 | 免费
- 7Multisim 10下载Multisim 10 中文版
- 0.00 MB | 28588次下载 | 免费
- 8开关电源设计实例指南
- 未知 | 21539次下载 | 免费
总榜
- 1matlab软件下载入口
- 未知 | 935053次下载 | 免费
- 2protel99se软件下载(可英文版转中文版)
- 78.1 MB | 537793次下载 | 免费
- 3MATLAB 7.1 下载 (含软件介绍)
- 未知 | 420026次下载 | 免费
- 4OrCAD10.5下载OrCAD10.5中文版软件
- 0.00 MB | 234313次下载 | 免费
- 5Altium DXP2002下载入口
- 未知 | 233046次下载 | 免费
- 6威廉希尔官方网站 仿真软件multisim 10.0免费下载
- 340992 | 191183次下载 | 免费
- 7十天学会AVR单片机与C语言视频教程 下载
- 158M | 183277次下载 | 免费
- 8proe5.0野火版下载(中文版免费下载)
- 未知 | 138039次下载 | 免费
评论
查看更多