If why use ACE to evaluate data converter quickly in Python or MATLAB environment

If why use ACE to evaluate data converter quickly in Python or MATLAB environment

[introduction] evaluate board (EVB) and software of its form a complete set have function of Plug and Play, can evaluate the performance of ADI product easily. Its graph user interface (GUI) offerred direct way, can undertake the hand moves configuration and correspond with this equipment. But, in more complex product, if cannot handle these repeatability tasks automatically, so in evaluate all and usable function while, all and add function of scanning product may become very time-consuming.

Say how palpability is recorded in article grand, and how need not develop complex software controller code, can you also be in Python? With MATLAB? Use in the environment grand will be handled automatically certain evaluate the task. The article is an automatic processing with the AD7380 of ADI and AD7606C-16 all users are alternant, with the configuration that differs at scanning, initiate transition, derive next result. Through using these give a demonstration, will had evaluated sampling number filter automatically to bring modulus converter (the performance dominant position of ADC) . Although the article emphasizes introductory AD7380 and AD7606C-16, dan Wenzhong’s information also applies to the other product of ADI and application.

Brief introduction

ADI offerred a few methods to evaluate the new product that releases every time and its realizable function and character easily. Above all, our assessment board by printed circuit board (PCB) (compositive and main parts of an apparatus, for example ADC) the product of form a complete set that wants with place (for example solution of source of fiducial voltage source, drive amplifier, clock, power source) composition. Next, these board accessary software can reveal solution realizable real property. It revealed the real data that uses this platform to be able to be obtained. In going a few years, 1 platform uses ACE software all the time hereat purpose.

In ACE platform, every product has a plug-in unit, the GUI that passes concise palpability visits equipment register map, simplified thereby plant layout.

In ADC give typical examples, ACE shows primitive data with the form of weaveform or histogram normally, carry index of function of FFT computation AC, for example SNR or THD. The article is revealed how need not undertake software develops automatic processing all these programs.

1676363277804969.jpg

Graph 1. Evaluate board hardware and software are alternant block diagram, include the communication of ACE and Python/MATLAB.

ACE plug-in unit

Graph view of chip of plug-in unit of 2 indication AD7380, include many button among them, so that configure this parts of an apparatus easily:

1.REF allows to choose interior or source of exterior and fiducial voltage

2.OSC can have enabled sampling, had set sampling rate

1676363262441160.jpg

Graph the view of chip of ACE plug-in unit of 2.AD7380

Graph view of chip of plug-in unit of 3 indication AD7606C-16, among them many pushbutton are used blue-black outstanding show, can use at:

1.The imitate that chooses every passageway through clicking PGA symbol inputs limits

2.Choose interior or source of exterior and fiducial voltage

3.Had chosen sampling rate

4.Configuration slants buy / gain / phasic calibration function

5.Configuration is diagnosed

1676363247273027.jpg

The view of chip of ACE plug-in unit of graph 3.AD7606C-16

Although the give typical examples in front uses ADI AD7380 and AD7606C-16, but the article is more than introduce these products, still include to be used with ACE form a complete set and be used at handling all and other parts of an apparatus of repeatability task automatically. Every ACE plug-in unit has his GUI position. But, become complex increasingly as the product, additive function is increasing (diagnose for example, calibration) , the hand uses a test all these functions also can become more complex and trival. ACE long-range control can be installed or scanning parameter, for example, the improvement that scanning crosses to sampling is led and measure noise performance degree.

Install ACE to be controlled remotely

Before beginning to write the code that controls ACE remotely, need establishs communication according to the following measure and ACE first:

1.Open ACE, head for a setting

2.Find card of IPC server option, ensure already started this server

3.Ensure already allocated a port, had better be 2357

1676363232168012.jpg

Graph 4. Establish communication with ACE

Record grand, create scenario

ACE offers grand tool bill of fare, with equipment through will be being configured mutual move stocks grand file to have a record. Generate grand later, can use this grand to come one-time repeat all measure automatically. It is to generate below grand measure:

1.Open ACE, enter tool >>Grand tool.

2.Click a graph 5 in the record on the right side of the icon in active area of blue Gao Liang grand command pushbutton.

3.Begin to carry out equipment alternant, change the parameter, register to the middle of memory map to input a value for example, catch data to wait. When browse and using GUI, the meeting in commanding the window writes message.

4.All operations that want an input in the record / after the setting, click stop to record grand command pushbutton. Pushbutton is in afore-mentioned same positions. Will give command window from move.

For example, in the record grand when, the user uses a figure 2 in shows pushbutton has configured sampling rate and resolution mode. If the graph is shown 5 times,command the window.

1676363216778153.jpg

Graph 5. Command window and grand tool

In this window, can examine all measure of the record, can jump over even / interrupt any move that need not make automatically, in deriving whole process one can choose the script of the language next, if pursue 5 in gules Gao Liang is shown partly.

After recording grand file, can be saved again and broadcast, in order to repeat before has implemented measure. ACE has inside buy function, can create scenario, the gets support language that chooses according to place executes the operation of the record. So, according to the list before, next measure is:

1.Click a graph 5 in on the right side of active area of blue Gao Liang generate icon, open scenario maker window.

2.Choose wants language from inside C# , MATLAB or Python, click next derive.

Later, can guide this code be carried out in IDE. It is a foundation with this paragraph of code, add additional function, for example instrument control, compose builds automatic testboard, measure an outcome in order to get. 2 next paragraphic in indication give a demonstration uses Visual Studio Code or MATLAB, these give typical examples use a product to judge appraise board to carry out noise to analyse only, do not use any additional device. If need to search the code give a demonstration that is used at management, memory or the data to be being collected to undertake scale, if next a few paragraphic place are shown, visit Wiki.analog.com please and search relevant assessment board.

1676363199631896.jpg

Graph 6. The ACE code of use Python language generates an editor

Use Python automatic processing evaluates the task

A series of operations that before the.py file that in getting on, makes can be used at be enabled easily and repeating, record. In addition, through editing these script and automatic processing certain task, still can gain bigger profit. In the give typical examples in front, sampling rate and resolution had been installed in AD7380 ACE plug-in unit, opposite becomes grand had an edition, so that use input parameter, if pursue,7 are shown. Attention, below acquiescent circumstance, these grand the Execute_macro() that be called, but can change this name the name that depicts a sex to be provided more.

1676363183220164.jpg

Graph 7. Edit Python function, so that use input parameter

These grand OK now interiorly calls implementation circulation, scanning crosses sampling to lead a value, indication noise function how as sampling rate rises and improve too, and enable two additional resolution brought profit.

8.jpg

Graph 8. These instructions are used at realizing a loop, this loop scanning passes sampling rate, open and shut two additional resolution.

Accordingly, code of Python give typical examples visits derived data file, read the SNR data that takes ACE plug-in unit to measure, pass data of serial monitor report. If the watch is shown 1 times, cross sampling to be able to improve noise performance 3, but fall in certain circumstance, it is 18 words to reveal AD7380 to show, the true advantage that 16 words bring and rather than, need two additional resolution.

Express 1.AD7380 SNR and the concern that pass sampling rate

9.png

Use MATLAB automatic processing evaluates the task

Like Python give typical examples, the code that generates automatically also can derive in be being used at MATLAB, file of a.m is made in this exemple. In this exemple, grand be defined to be a function, but can be opposite grand have an edition, so that use input parameter. Give typical examples of the following MATLAB uses AD7606C-16 board.

Same, can come to what evaluate AD7606C-16 easily pass sampling advantage through using ACE automatically. Graph 9 display function of a MATLAB, through a variety of parameter can be being used after the editor, for example type of amount of handling capacity, example, interface (serial or collateral) , fiducial voltage source (in-house or exterior) , cross sampling rate, number to walk along line amount or imitate to input limits.

1676363144208945.jpg

Graph 9. Edit MATLAB function, so that use input parameter

This specific function can be in advocate use in code, collect with enabling the data of different configuration quickly, carry out many AD7606C-16 index easily to compare, for example:

? Noise function and pass sampling rate

? Function and handling capacity

? Function and imitate input limits

? Source of in-house and fiducial voltage and source of exterior and fiducial voltage

? Serial interface and collateral interface are waited a moment.

Attention, this just is with AD7606C-16 exemple; The product that evaluates according to place is different, the likelihood needs to carry out a variety of different function to evaluate.

You can visit Wiki.analog.com4 to examine the service instruction of AD7606C-16, include practicable source code. Introduced how to generate macrodoce among them, also gave out the give typical examples of data of later period processing. Scanning of OversamplingSweep.m give typical examples passes sampling rate, be worth scale code histogram in the light of every. If the graph is shown 10 times, cross sampling rate is older, code histogram is narrower. Express the 2 peak peak value that also indicate code to distributing how to had followed sampling to reduce.

The code that expresses 2.AD7606C-16 distributings to concern with what pass sampling rate

11.png

1676363123268966.jpg

Graph 10. Code histogram shows how noise function has followed sampling to lead improvement. Can use practicable of simple script scanning a variety of crossing sampling leads option (be as high as 256) .

Conclusion

New-style ACE platform can serve as new evaluate board software frame, because can be recorded grand, for the hardware design personnel that evaluates working rate to hoping to accelerate ADI product, this is an advantageous tool. These grand adopt the programming language with global trade, for example Python or MATLAB aid force to implement test automation. Handle these tasks automatically to be able to accelerate a product to judge appraise and type selecting again conversely, the help is accelerated appear on the market time, shorten hardware design is periodic. About this theme and other subject, can you visit EngineerZone? Get more support, also can visit Wiki.analog.com, get more to control give typical examples remotely.

Reference material

1 ” analysis | Control | Evaluate (ACE) software. ” ADI company

2 ” AD5791 ACE is controlled remotely. ” ADI company, in Feburary 2020.

3Jonathan Colao. “System of feedback of the quick response that applies to application of drive of miniature electric machinery, optical coder. ” imitate speaks, the 54th the 2nd period, in April 2020.

4 ” AD7606B/C ACE is controlled remotely. ” ADI company, in Feburary 2021.

About ADI company

Analog Devices, inc. (NASDAQ: ADI) is the semiconductor company with lead whole world, devote oneself to the bridge since the form of a Chinese character that is in real world and digital world, in order to realize the revolutionary innovation of intelligent brim domain. ADI offers the solution that combines imitate, number and software technology, those who drive the domain such as digital chemical plant, car and digital medical treatment develop continuously, answer climate change to challenge, build the reliable interconnection of person and world everythings on earth. 2022 money of ADI company year income exceeds 12 billion dollar, global employee 24 thousand more than person. Hand in hand the whole world 125 thousand clients, the person that ADI aids force to innovate surmounts all likelihoods ceaselessly. More information, visit Www.analog.com/cn please.

About the author

Lluis Beltran Gil is graduated from Walunxiyali work college, obtained electronic engineering bachelor’s degree 2009, obtained industrial engineering bachelor’s degree 2012. After graduation, lluis joined ADI company 2013, hold the position of nicety of the gram in benefit silent the applied engineer of converter ministry. Current, lluis assumes office to use a group at SAR ADC of ministry of instrument appearance career, workplace covers with tiles in Spain Lun Xiya. He has university of made of baked clay Lun Xiya electric project master’s degree.

Avoid duty statement: The article is reprint an article, reprint this article purpose to depend on passing more information, the person that copyright puts in original work ‘s charge is all. If involve work copyright issue,article place uses video, picture, written language, contact please small make up undertake handling.

Leave a Reply

Your email address will not be published. Required fields are marked *