[毕业设计精品]基于LabVIEW的虚拟双踪示波器的设计外文翻译.doc

上传人:文库蛋蛋多 文档编号:3932795 上传时间:2023-03-28 格式:DOC 页数:22 大小:3.48MB
返回 下载 相关 举报
[毕业设计精品]基于LabVIEW的虚拟双踪示波器的设计外文翻译.doc_第1页
第1页 / 共22页
[毕业设计精品]基于LabVIEW的虚拟双踪示波器的设计外文翻译.doc_第2页
第2页 / 共22页
[毕业设计精品]基于LabVIEW的虚拟双踪示波器的设计外文翻译.doc_第3页
第3页 / 共22页
[毕业设计精品]基于LabVIEW的虚拟双踪示波器的设计外文翻译.doc_第4页
第4页 / 共22页
[毕业设计精品]基于LabVIEW的虚拟双踪示波器的设计外文翻译.doc_第5页
第5页 / 共22页
点击查看更多>>
资源描述

《[毕业设计精品]基于LabVIEW的虚拟双踪示波器的设计外文翻译.doc》由会员分享,可在线阅读,更多相关《[毕业设计精品]基于LabVIEW的虚拟双踪示波器的设计外文翻译.doc(22页珍藏版)》请在三一办公上搜索。

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 instrument,

2、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 complex signa

3、ls 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 complex signals. An

4、 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 capability to a

5、cquire, 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 solutions is the

6、 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, Complex signals,

7、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 replacing th

8、e 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 the trend and d

9、emonstrates 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 context as sign

10、als 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 for acquisitio

11、n, 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 like chirp are

12、 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 frequencies leads

13、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 technique was

14、 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 trigger inte

15、rval 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 succession. With simpl

16、e 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 same number of

17、 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 the entire ti

18、me 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 varying linearly

19、 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 consideration.

20、 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 the test patte

21、rn. 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 of different

22、 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 of n-bits elem

23、ent, 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 be minimum (id

24、eally 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 binary samples

25、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 the resulting

26、 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 trigger interval (i

27、n 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(8), and the l

28、ocation 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 computation is

29、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 cycle of the wave

30、form. 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 simple signals t

31、he 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 the frequency v

32、aries 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 the signals

33、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 of small fini

34、te 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 previous one

35、 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 frequencies. R

36、esolution 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 resolution. Even i

37、f 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 Transform is give

38、n 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 varying size o

39、ffer 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 at the starti

40、ng 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 the time ste

41、ps 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 the computat

42、ion 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. Implementation

43、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 instrument ar

44、e: 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, the specific

45、ation 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 instrument are:The ca

46、pability 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 thus achieve

47、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 measured on va

48、rious 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 and the faci

49、lity 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 parameters like time step

展开阅读全文
相关资源
猜你喜欢
相关搜索
资源标签

当前位置:首页 > 办公文档 > 其他范文


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号