| With the rapid development of electronic measurement technology,the signal complexity is increasing at the same time the data volume is also increasing.In order to meet the measurement requirements of special complex signals,the high performance oscilloscope needs to have the ability to analyze serial protocol signals,the ability to verify the analysis of complex signal waveform,the ability to store and analyze large capacity multi-channel digital signals.In this thesis,the processing and visualization of decoded data in mixed-signal oscilloscopes,ADC acquisition data in template tests and digital logic data are investigated.and uses C# language to design and realize the function of protocol decoding and analysis,limit/template test and deep storage of logic analysis module on the Visual Studio development tool.The details are as follows:1.Serial protocol decoding and analysis function.In order to solve the problem that the simple and common protocols supported by the oscilloscope with few types cannot meet the analysis of complex signals,this paper designs the serial protocol decoding and analysis function including Flax Ray.At the same time,in order to make users observe the relationship between decoded data and decoded waveform more intuitively,two visualization forms of result labels and event lists are designed;in order to enhance code portability so that the protocol decoding module can be adapted to different models of oscilloscopes,a dynamic loading method is designed to turn the protocol decoding analysis module into an independent plug-in form.2.Limit/template test function.In order to capture abnormal signals from massive data or detect signal quality,the limit/template test function is designed and implemented.According to different generation methods of templates,it is divided into limit test and template test.Waveform validation analysis is achieved by comparing the ADC acquired signal waveform with the template data.At the same time,in order to better compare the matching degree between the collected waveform and the selected template,the event list is designed to simultaneously display the number of qualified waveforms and the number of hit segments.3.Logic analysis module deep storage function.In order to improve the mixed-signal oscilloscope’s ability to analyze large-capacity multi-channel digital logic signals at high sampling rates,the logic analysis module deep storage function designed in this paper supports 16 digital channels with 250 Mpts storage depth for a single channel.At the same time,the read start address algorithm is designed to solve the problem of data rereading error from DDR3 when shifting;the draw point allocation algorithm is designed to solve the problem of not being able to display the waveform according to the effective storage time when scaling and spreading the waveform;the DDR partition alternate storage read/write algorithm is designed to solve the problem of reading out the waveform error in the stopped state.Based on the research of the above three modules,this thesis has completed the coding work of each module under the.Net platform,and combined with the oscilloscope hardware platform,the above three modules have been tested and verified.The above three modules all meet the design requirements. |