Implement time-domain analysis Signal Processing of U3 data acquisition card using LabVIEW

Source: Internet
Author: User
The signal feature value represents certain time-domain features of a signal in a single numeric value. It is the simplest and most intuitive description of the test signal in time-domain. In the test system, analog instruments are often used to indicate the characteristic values of signals. After the test signal is collected to the computer, the feature value of the signal is processed in the test VI, and the feature value of the signal is displayed on the test VI front panel, it provides users with a quick way to understand the changes of test signals. The signal feature value processing VI in LabVIEW is usually a small VI, which is easy to use after understanding the specific meanings of various feature values of the test signal.
The following data acquisition cards can be implemented using LabVIEW.

The feature values of signals are divided into three types: amplitude feature values, Time Feature values, and phase feature values. The following uses cyclic signals as an example to describe them respectively.
1. amplitude features of Periodic Signals
The amplitude features of periodic signals are usually expressed by peak value, peak-peak value, average value, mean square value, and valid value.
(1) peak XP and peak-peak XP-P
Peak XP refers to the maximum absolute instantaneous value that may occur when the signal x (t) within a period, that is

Peak-peak XP-P refers to the absolute values of maximum instantaneous xmax and minimum instantaneous xmin in a cycle, that is

The peak and peak-peak values of signals give the limit range of signal changes, which is the basis for selecting the range and dynamic range of the test device.

(2) Mean Value
The mean value of the periodic signal indicates the central trend of the signal change, which is the constant component of the signal.
(3) Mean Square Value and valid value
A periodic signal is a power signal with unlimited energy. The average power reflects the power of the signal.
The square root of the average power is the valid value of the signal, that is, the valid value is also known as the root mean square value. It is also often written as RMS in Engineering.

Obtain the signal amplitude feature value in LabVIEW
In LabVIEW, the simplest and most effective way to obtain the amplitude feature value is to use amplments and level measurements. VI in express VI. Its arrival path is functions → signal analysis or all functions → analyze → wavefrom measurements. vi. The icon is. First, let's take a look at the Amplications and level measurements. VI Parameter Setting dialog box.

Parameter Setting Dialog Box

The Parameter Setting dialog box is divided into four areas, which are the items required for amplitude feature value calculation (ampl1_measurements) and the results obtained for the current amplitude feature value (result) the input signal window and the result signal window after the window are added. The most important one is the setting of the item for calculating the amplitude feature value. The convenience of VI is reflected in this. If you need to obtain the feature value, you can draw a tick in front of it. Amplications and level measurements. VI automatically adds this output port to its icon. The amplitude feature values that can be obtained in Amplications and level measurements. VI and their meanings are listed in the following table.

Amplments and level measurements. VI amplitude feature value calculation item
Parameter parameter description
DC signal average peak to peak-peak
RMS signal Root Mean Value of cycle average in a cycle
Maximum Value of the maximum peak signal: the root mean square value of the cycle RMS cycle
Minimum Peak minimum signal

Now let's look at an example of using Amplications and level measurements. VI to calculate the feature value. Express signal generator is used to generate a signal parameter for simulation. This is a sine signal with DC bias and noise interference. Amplications and level measurements. VI shows the front and back panels of the test VI (express Amplications. VI) that can detect all amplitude feature values.

Simulation signal parameter settings

Express ampl.. VI front panel

Express amplitude. VI rear panel

2. Time feature value of the Periodic Signal
The period and frequency are the time feature values specific to the periodic or quasi-periodic signal. The period and frequency of the cyclic signal reflect the time interval and frequency of recurrence of the cyclic signal waveform. They are reciprocal.
In LabVIEW, the express vi that can calculate the signal frequency and period is timing and transition measurements. vi. Its arrival path is functions → signal analysis or all functions → analyze → wavefrom measurements. vi. Like the express VI obtained by amplitude feature values, its parameter settings are also very simple. In addition to basic parameters such as amplitude and time, timing and transition measurements. VI also provides several other Waveform Parameters. The following table lists their meanings.

Timing and transition measurements. VI parameters dialog box settings

Timing and transition measurements. vi
Parameter parameter description
Frequency frequency preshoot front tip Signal
Period period overshoot overhead
Pulse Duration Pulse Width slew rate increase speed
Duty Cycle duty cycle

3. Phase features of Periodic Signals
Phase is the characteristic parameter value unique to periodic signals. The test project has two concepts: the initial phase angle and the relative phase angle of the two same frequency periods.
The phase actually represents the proportion of a period of time in a waveform cycle of a periodic signal. Set the time difference between the initial point of the signal and the standard sine or cosine signal to T0, and the initial phase angle when the signal period is T. The difference between the initial phase angle of a Two-frequency periodic signal is the relative phase angle. In practical application, because the time start point of the signal is difficult to determine, the initial phase angle is rarely used, the feature value of the relative phase angle is often used to represent the ratio of the relative time difference between two waveforms of the same frequency and cycle signals in one cycle. Note that these two same-frequency signals are not necessarily periodic signals of the same type. In LabVIEW, the mutual spectrum of two periodic signals is often analyzed to obtain the relative phase angle. The phase value corresponding to the periodic signal frequency in the phase spectrum diagram is the opposite phase angle (also called the phase difference) of the two signals ).
The tone measurements. VI in express VI can be used to measure the phase of a signal. The Parameter Setting dialog box for tone measurements. V is as follows. More information: www.pc17.com.cn

Implement time-domain analysis Signal Processing of U3 data acquisition card using LabVIEW

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.