Font Size: a A A

Design And Implementation Of The Underlying Software For Oscilloscope Power Analyzer

Posted on:2019-02-15Degree:MasterType:Thesis
Country:ChinaCandidate:X ZhengFull Text:PDF
GTID:2348330569495595Subject:Instrumentation engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of the current electronic technology industry,various new types of electronic devices have emerged one after another,and single-function measuring instruments have been difficult to meet the needs of engineers.In the field of traditional measurement,oscilloscopes and power analyzers are widely used,but oscilloscopes are not instruments that have been specifically developed for power measurement.Conventional power measurement instruments do not provide accurate time measurements.Therefore,this project aims to develop an oscillometric power meter with high-precision transient power measurement to solve this problem.For this instrument,the underlying software design combined with the FPGA and the upper layer interface is studied in this paper.The main research contents are as follows::1?In order to meet the requirements of the project on the data transmission rate,select the PCI-E bus structure and DMA data transmission as the communication between hardware and software.The necessary API functions are researched and integrated in this paper,providing the communication foundation for each module interface design of the underlying software.2?In order to improve the flexibility of the system and measurement,the input of the oscilloscope power analyzer depends on plug-in module.Different types of modules support different functions,and the user can flexibly select.Therefore,the number of channels of the instrument is variable and the insertion position is not fixed.A method that establishing a mapping relationship between the underlying channel configuration register set and the upper channel parameter structure is proposed in this paper,and implements a variable multi-channel function.In this way a variable multi-channel function is achieved.3?Traditional power analyzers usually do not support triggering.However,this oscilloscope power analyzer not only has basic trigger types,but also supports up to seven enhanced triggering functions.In order to save hardware resources,a large number of parameters in the enhanced trigger are set in the FPGA through common registers.A special data structure and configuration interface are designed in this paper for this.Meanwhile variable multi-channel functions are implemented.4? Large-capacity data storage is a key function of the instrument and is the underlying foundation for most of the data-processing functions in the instrument.The basic principles of different storage modes are analyzed in this paper.Based on this,a data storage module and a data transmission module are designed and implemented,including the design of related interfaces for the entire control process.In addition,the underlying software reduces the percentage of redundant data in multi-channel data storage by using FIFO arrays in conjunction with FPGAs.The modular and hierarchical underlying software design framework was proposed in this paper.This structure reduces the coupling between various functions and levels in the program and facilitates debugging and development of the software.And it enhances the scalability and portability of the underlying software functions,which can effectively improve the efficiency of R&D in the process of instrument upgrade and the development of the same type of instruments.
Keywords/Search Tags:oscilloscope power analyzer, DMA, trigger, deep memory
PDF Full Text Request
Related items