基于LabVIEW的虚拟双踪示波器的设计外文翻译(共22页).doc

上传人:飞****2 文档编号:14332605 上传时间:2022-05-04 格式:DOC 页数:22 大小:3.47MB
返回 下载 相关 举报
基于LabVIEW的虚拟双踪示波器的设计外文翻译(共22页).doc_第1页
第1页 / 共22页
基于LabVIEW的虚拟双踪示波器的设计外文翻译(共22页).doc_第2页
第2页 / 共22页
点击查看更多>>
资源描述

《基于LabVIEW的虚拟双踪示波器的设计外文翻译(共22页).doc》由会员分享,可在线阅读,更多相关《基于LabVIEW的虚拟双踪示波器的设计外文翻译(共22页).doc(22页珍藏版)》请在taowenge.com淘文阁网|工程机械CAD图纸|机械工程制图|CAD装配图下载|SolidWorks_CaTia_CAD_UG_PROE_设计图分享下载上搜索。

1、精选优质文档-倾情为你奉上外文文献A DAQ card based mixed signal virtual oscmoscopeAbstract Complex signals find many applications in SONAR, RADAR,Echo Location Systems and for studying the resonant frequencies. Digital Storage Oscilloscopcs(DSO) is used these days for acquisition and display of routine signals. This

2、 instrument, found in every measurement laboratory, though potent in displaying simple periodic waveforms like sinusoids fails when frequency-varying time signals are applied, This problem surfaces because the underlying technique of oscilloscope used to trigger the waveform does not acquiesce with

3、complex signals like chirp. Ready solution to this problem is the mixed signal oscilloscope. This is a costly solution and small laboratories cannot afford to have the costly instruments. In this paper, a cost effective DAQ card based mixed signal virtual 0scilloscope is proposed to study the comple

4、x signals. An intelligent technique, Weighted Hamming Distance (WHD) algorithm was used to accurately trigger the complex waveforms. Also for frequency domain analysis, Joint Time Frequency Analysis(JTFA) techniques were used. A LabVlEWTM based virtual instrument was designed and developed with a ca

5、pability to acquire, display and analyze the triggered signal. The integrated programming language LabVIEWTM was chosen as it offers many simple ready to use functions. In a way the proposal offers a cost effective, fast and flexible solution to treat the complex signals. The need to create such sol

6、utions is the consequence of costly hardware systems. The deficiency of conventional hardware. Scheme for the virtual oscilloscope for complex signals with some real time experimental results are presented in this work.Kevywords: Virtual instrumentation,Chirp signal,Data acquisition,Triggering, Comp

7、lex signals, JTFA1.Introduction For the last two decades there has been a tremendous progress in computer technology. Measurement domain is no longer left unaffected. The way measurements are being done is totally revolutionized. Computer based measurement or say virtual instrumentation is gradually

8、 replacing the costly bench top instrumentation as it offers flexible,fast and cost effective solutions. Various classical instrumentation systems namely Oscilloscope, Multimeters and Spectrum analyzers ect. are almost phased out by their counter part virtual instrumentation. Our research extends th

9、e trend and demonstrates the developmen of the computer based mixed signal digital oscilloscope. Conventional signals such as the sinusoids have a constant frequency and the amplitede only varies with time throughout the signal definition. On the other hand, complex signals can be defined in this co

10、ntext as signals in which all the parameters vary. Fig.1 shows a typical complex signal i.e. Linear Chirp. Variation of amplitude and frequency with time can easily be understood by having a look at the signal. This requires a visually stable display of signal. The complex signal offers challenges f

11、or acquisition, display an analysis. Even the conventional modern age DSO is not capable of displaying and analyzing complex signals because these instruments employ simple triggering technique like level trigger. The conventional technnique of voltage trigger apparently fails when complex signals l

12、ike chirp are analyzed on DSO. This is due to the very fact that these instruments consider chirp as a conventional sine wave and trigger for each cycle of the sine wave instead of triggering for the complete chirp cycle. This analysis of the chirp signal as several sine waveforms of different frequ

13、encies leads the DSO to display them as sinusoids in quick succession. As this rapid change occues at a very high rate and because of human eye not registering events occurring faster than 1/20th of a second the display appears as several overlapped sine waves. In the recent work1, a new triggering

14、technique was proposed for the complex signals based on WHD. Subsequent sections present the solution to the problem. For analysis of the complex signals in frequency domain JFFA technique is utilized and implemented2-6. DSO uses the level trigger to display the waveform applied to it. This leads to

15、 trigger interval and the number of samples for this trigger interval is computed and these numbers of samples are display. The DSO considers the interval as the fundamental time period of the whole waveform and thus takes tbat much samples from its buffer and starts displaying it in quick successio

16、n. With simple waveform like a sine wave, level trigger can achieve stable display because trigger interval contains same number of cycles. This is shown in Fig. 2a. Now for the complex signal as shown in Fig.2b, level triggering produces a trigger interval having variable number of cycles for the s

17、ame number of samples/time resulting in a visually unstable display. The actual trigger interval should be one complete cycle for a chirp signal as indicated in Fig. 2c. Having done this the repeated chirp signal for this time duration will be displayed without any overlapping components as long as

18、the entire time period is displayed. To observe the shortcomings experimentally in display of complex signals on the oscilloscope Tektronix dual channel signal generator AFG-3022 (250 MS/s, 25 MHz) was used to generate a chirp signal by choosing the sweep mode to sine waveform with its frequency var

19、ying linearly with respect to time. This signal was fed to TektronixTDS-2022 (2 GS/s, 200MHz) dual-channel DSO. The overlapping display as shown in Fig. 3 was observed.2. Intelligent method of triggering Accurate triggering lies solely on correct identification of the time period of waveform under c

20、onsideration. For this purpose, pattern recognition scheme was implemented to identify the pattern in the signal 1 and thus obtain the time period of one complete cycle of the chirp. First, a fixed number of samples N are taken as reference pattern. Then the signal is shifted by one sample to form t

21、he test pattern. This pattern is then tested for its closeness to the reference pattern. Closeness can be defined as the distance by which test pattern is away from reference pattern. WHD is used as the decision function for closeness. Hamming distance is defined for two binary vectors as the number

22、 of different bits are given their vectors. In WHD the different bits are given their binary weighting according to the bit position and their weights according to the bit position and their weights are summed up. WHD of two binary n bit number x and a is given by If X and A are two binary vectors o

23、f n-bits element, then WHD for these two vectors is computed by summing up the element by element WHD and is given by For a vector of dimension N, the samples are shifted N times and its closeness is computed at each shift.When these computations are done, the difference洫in the signals is found to b

24、e minimum (ideally zero when no noise) when the cycle repeated itself. Following are the major steps involved and implemented for intelligent trigger mechanism. 1. Acquiring the long enough signal using DAQ card and to convert the decimal values of samples into binary form. 2.A fixed number(N) of bi

25、nary samples are stored in array. The stored samples are shifted by a fixedc number of samples, n (=1,inthis case). 3. The original saved samples and the shifted samples are XORed bit-by-bit.The result is then multiplied by a factor of 2, where I represent the position of bit.4.The summation of all

26、the resulting values gives the WHD for nth shifts.5.A plot of WHD vs. n is made and the minimum is calculated by peak detection method. The difference between two successive minima is the trigger interval in number of samples.6. The number of samples multiplied by the sampling rate results in trigge

27、r interval (in seconds). As a test case WHD algorithm is implemented for the following triangular waveforrn in Fig.4.The waveform is sampled at 8 points per eycle. Each sampled value is 3 bit length. The step by step implementation is given below.WHD waveforrn is plotted using WHD(1), WHD(2), , WHD(

28、8), and the location of the minima gives the triggering interval. Fig.5 shows the WHD waveform also clearly indicating the trigger interval at 8th sample.The WHD VI(Fig.6) was developed for this task. It takes the waveform, whose triggering interval is to be found, and the no of samples, on which co

29、mputation is to be done, as input and outputs the sample at which minima occurs along with the value of minima and the WHD waveform. For typical chirp signal WHD waveform is obtained as shown in Fig.7. The number of samples between two consecutive minima is equal to the number of samples in one cycl

30、e of the waveform. The product of the number of samples with the sampling interval is the triggering interval of the input signal. Thus, the virtual instrument could also display complex waveforms with considerable aese. Fig.7 shows triggering interval of 5 cycles.3. Frequency domain analysisFor sim

31、ple signals the frequency analysis is performed by traditional tools like FFT. For such signals the Fourier Transform works well as their frequency components remain constant throughout the signal existence and hence there is no need for the time-frequency relationship. In case of complex signals th

32、e frequency varies with time. FFT fails to analyze these signals as it gives information about the frequency and its amplitude. Time information is lost.In order to overcome this difficulty, there are JTFA tools iike Short Time Fourier Transform(STFT) and Wavelet Transform. These are implemented for

33、 the signals under consideration.The STFT is a modified form of Fourier Transform. In this technique the signal is rnultiplied with a window function and their products Fourier Transform (2).The main principle behind this technique is that the window function(w) breaks down the signal into segments

34、of small finite durtion. The frequency component of the signal during this segment is assumed to be constant. By computing the Fourier Transform for this segment the frequency vs. amplitude information is obtained. Then the window is moved to another segment by a step having the same duration as the

35、 previous one giving the frequency component for that segment. Thus the frequency for different time intervals gives time-frequency relationship. However, there is a disadvantage with this tecnique. The size of the window function used is fixed, thus STFT will have same resolution for low and high f

36、requencies. Resolution is the certainty by which one can determine time or frequency information. It is generally seen that a larger window leads to better frequency resolution and a small window leads to better time resolution. Thus, it depends upon the user whether he wants frequency or time resol

37、ution. Even if there is a need for change of resolution, the user has to do the same manually.To overcome the resolution problern, a more advanced technique called Wavelet Transform is used these days. In this the window size can be altered, using a scaling parameter a. The equation for Wavelet Tran

38、sform is given as wherea is the scaling parameter,b is the translation parameter,x(t) is the signal to beanalyzed andis the wavelet functionThe wavelet function (t) is known as the mother waveletIts scaled and time shifted versions are known as the daughter wavelets. These daughter wavelets having v

39、arying size offer different frequency and time resolutions at different frequencies. The scale parameter a represents the freequency component in an inverse relation. Thus the valuc of scale is inversely proportional to frequency component. Initially the wavelet function has scale a=1 and is placed

40、at the starting of the signal. The wavelet transform and thus the frequency component of that segment. Then the wavelet function is moved by b steps and the wavelet transform is computed for that segment. This procecdure is continued till the end of the signal. Thus Wavelet transform for a=1 and all

41、 the time steps till the end of signal gets computed. Similarly the wavelet function is again placed at the start of the signal but with changed value of scale a. The procedure is continued till the Wavelet transform for each scale and time step combination has been computed. It can be observed that

42、 the computation of Wavelet Transform leads to a lot of redundancy.To reduce the redundancy, the scale values and the time steps can be linked using dyadic sampling. a= 2 and b=k 2 where n and k are integers. This leads to reduction in redundancy. This is called Discrete Wavelet Transform(DWT).4. Im

43、plementation A DAQ card based virtual instrument was designed and developed in LabVIEWTM programming environment. This virtual instrument has the capability to generate intelligent software trigger as described above for complex waveforms like chirp. The main decisionns during design of the virtual

44、instrument are: choosing the data acquisition card and, what is equally important, choosing the set of features the instrument should offer. The choice of the data acquistion card has a great influence on the efficiency of the whole instrument7,8.Particular DAQ cards are differentiated by price and,

45、 the specification it offers. A low cost NIPCI-6035E, 16bit, 200KS/s card was chosen. The hardware was programmed at maximum sampling rate. A separate problem is designing software, which, in that case, is the main part of instrument design phase. The major features of the developed virtual instrume

46、nt are:The capability to acquire and process simple and complex waveforms.Dual channel mode: The instrument is capable of displaying two inputs simultaneously and can perform simple math operations between the two.Auto set: Runs the WHD code to re-compute the trigger interval for the new signal and

47、thus achieve a stable display. In case, the two inputs do not have the same frequency, the LCM of the trigger intervals of A and B is found to so that integral number of cycles of both the channels can be shown simultaneously. Time domain measurements: The signal being displayed in time domain are m

48、easured on various parameters-Amplitude-Peak to peak-Mean(DC)-RMSFig. 9. The results of wavelet transrorm implemented in the virtual instrument. (Channel A analyzing sine signal and Channel B analyzing a chirp signal).Frequency Domain Aalysis: The plot of Magnitude vs. frequency, Phase vs. frequency

49、 and the facility to choose the windowing function.STFT based Joint Time Frequency Analysis (JTFA): The spectrogram with the additional choices of the plotting the graph with scale in decibels, windowing functions and the window length for STFT analysis.Wavelet based Joint Time Frequency Analysis(JTFA):The scalogram which plots scales vs. time steps, choice of time-frequency sampling parame

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 教案示例

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知淘文阁网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号© 2020-2023 www.taowenge.com 淘文阁