Design of periodic signal and random signal amplitude eigenvalue obtaining system based on LabVIEW

Publisher:人妙果华Latest update time:2012-07-25 Source: 21ic Keywords:LabVIEW Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

introduction

LabVIEW has two basic windows, the front panel window and the flowchart window. The front panel window is used to set control objects and display objects, which is equivalent to the display screen or pointer of a conventional instrument; the flowchart window is used to write and display the graphical source code of the program, which is equivalent to the statements in language programming. It is composed of various modules that can perform certain functions connected by connecting lines.

The signal characteristic value represents some time domain characteristics of the signal with a numerical value, which is the simplest and most intuitive time domain description of the test signal. In the test system, some analog instrument meters are often used to indicate the characteristic value of the signal. After the test signal is collected into the computer, the signal characteristic value can be processed in the test virtual instrument, and the characteristic value of the signal can be intuitively displayed on its front panel, which can provide users of the virtual instrument with a quick way to understand the changes of the test signal. Now, a system for obtaining the amplitude characteristic value of periodic signals and random signals is designed based on LabVIEW.

1 Signal Amplitude Characteristic Value Analysis

1.1 Amplitude characteristic value of periodic signal

The amplitude characteristic values ​​of periodic signals are often expressed as peak value, peak-to-peak value, mean value, mean square value and effective value.

(1) Peak value xp and peak-to-peak value xp-p

The peak value xp refers to the maximum absolute instantaneous value that the signal x(t) may appear in one cycle, that is: xp=|x(t)|max.

The peak-to-peak value xp-p refers to the absolute value of the difference between the maximum instantaneous value xmax and the minimum instantaneous value xmin of the signal within one cycle, that is, xp-p=|xmax-xmin|.

The peak value and peak-to-peak value of the signal give the extreme range of signal change and are the basis for selecting the range and dynamic range of the test equipment.

(2) Mean μx

Mean of a periodic signal

It represents the average power of the signal. [page]

2 LabVIEW realizes the calculation of signal amplitude characteristic value

2.1 LabVIEW realizes the calculation of amplitude eigenvalue of periodic signal

The most simple and effective way is to use the Amplitude and Level Measurement VI in the Express VI. The path to reach it is Function → Signal Analysis → Amplitude and Level Measurement.

As shown in Figure 1.

The parameter dialog box is divided into 4 areas, namely the items for amplitude eigenvalue calculation, the results of the current signal amplitude eigenvalue calculation, the input signal preview window, and the windowed signal preview window. Among them, the most important is the item setting for amplitude eigenvalue calculation.

Use the Express signal generator to generate a simulation signal, and its parameter settings are shown in Figure 2. This is a triangle wave signal with DC offset and Poisson noise interference. The front and back panels of the test VI that uses amplitude and level measurement to detect all the amplitude feature values ​​that it can detect are shown in Figure 3.

[page]

2.2 LabVIEW realizes the calculation of random signal amplitude eigenvalue

Amplitude and level measurements are mainly used to process periodic signals, so the parameters that can be obtained do not include random signals and standard deviations. However, the configuration statistics in the Express VI can be introduced.

It is located on the same template as the signal amplitude and level measurements, as shown in Figure 4.

Now use the Express signal generator to generate a simulation signal, and its parameter settings are shown in Figure 2. This is a triangle wave signal with DC offset and Poisson noise interference. The front and back panel diagrams of the test VI that is configured to statistically detect all the amplitude feature values ​​that it can detect are shown in Figure 5.

The front and back panels of the Amplitude Eigenvalue Test VI

The parameter dialog box is divided into five areas, namely the items for the required amplitude characteristic value statistics, the results of the current signal amplitude characteristic value statistics, the input signal window and the statistical extreme value and the statistical sampling characteristics. Among them, the most important is the setting of the amplitude characteristic value statistics items. Now to obtain the amplitude characteristic value of the random signal, just select the root mean square, standard deviation, and variance.

3 Signal Measurement and Analysis

By using a signal generator to generate a simulation signal, you can set certain parameters of the simulation signal, such as the signal type, frequency, amplitude, offset and other parameter values. In addition, you can also change the noise type: binomial distribution noise, Gaussian white noise, Poisson noise, etc. By adjusting and setting the parameters of the simulation signal and observing LabVIEW make corresponding changes to its characteristic values, you can effectively and intuitively verify the analysis results from multiple aspects. For example, given a triangle wave signal with DC bias and Poisson noise interference, you can see the size of some characteristic values ​​of the current signal through the Express VI front panel.

4 Conclusion

The reliability of the system test and analysis results has been proven through actual measurements. The system can be used to conveniently conduct on-site testing and analysis, improve test efficiency and result accuracy, and get rid of the shortcomings of traditional test and analysis instruments, such as single function, high cost, and inconvenience in carrying.

Keywords:LabVIEW Reference address:Design of periodic signal and random signal amplitude eigenvalue obtaining system based on LabVIEW

Previous article:Flexible and Reliable Automated Testing of Mobile Phone LCD Components Using NI LabVIEW
Next article:Implementation of FIFO depth setting based on LabVIEW FPGA module

Recommended ReadingLatest update time:2024-11-16 16:01

LabVIEW VI Password Cracking
The cracking method in the previous article has great limitations. The main limitation is that when the password length increases, the exhaustive matching time will increase greatly. If the cracking method in the previous article is used, you can consider generating multiple dictionaries with different contents in eac
[Test Measurement]
LabVIEW VI Password Cracking
Remote Wireless Monitoring System Based on LabVIEW
0 Preface In recent years, with the acceleration of the information process, the development of computer network technology and wireless communication technology, the establishment of computer, server and other computer rooms is very common, such as power, telecommunications, customs, workshop power rooms and computer
[Test Measurement]
Remote Wireless Monitoring System Based on LabVIEW
labview serial port receives data_labview serial port passively receives data
1. Program interface: Function introduction: The upper left is the serial port receiving area, and the lower is the serial port character sending area. The right is a waveform chart. In the program, the data sent from the serial port is formatted with f% and displayed on the waveform chart. Button introduction: f
[Test Measurement]
labview serial port receives data_labview serial port passively receives data
Using LabVIEW and PXI to locate aircraft noise sources during flight
  “LabVIEW, the NI Vision Development Module, and the NI Sound and Vibration Measurement Suite provided us with effective tools to develop our solution. The system we developed enables quick setup, data logging, real-time monitoring, and data browsing.”   challenge:   Develop a measurement system to locate aircraft
[Test Measurement]
Using LabVIEW and PXI to locate aircraft noise sources during flight
Introduction to LabVIEW Wireless Sensor Network (WSN) Module Pioneer
Advantages of rapid development using graphical programming Programming wireless sensor nodes traditionally requires knowledge of embedded systems and the ability to understand the specific text-based programming language chosen by the vendor. With LabVIEW WSN Pioneer, you can add intelligence to NI wireless sensor
[Test Measurement]
Introduction to LabVIEW Wireless Sensor Network (WSN) Module Pioneer
Fuzzy controller based on Labview programming realizes the design of constant pressure water supply control system
introduction Urban water supply has always been a major problem in the process of urban development. The current shortage of urban energy has increasingly restricted the overall development of the city. The traditional pump water supply system not only makes the water pressure unstable, but also wastes a lot of water.
[Test Measurement]
Fuzzy controller based on Labview programming realizes the design of constant pressure water supply control system
LabVIEW Programming Notes
1. Convert keys to numerical values Put the button into a cluster, convert the cluster into an array, and use the array index to get the corresponding value of the button.                           2 Conditional Structure For each branch, use the label tool to enter a value, a list of values, or a range of val
[Test Measurement]
Development of Multi-channel Strong Vibration Monitoring and Alarm System Based on LabVIEW
Application areas: Remote monitoring/control Challenges: The system has certain difficulties in high dynamic range, high timing accuracy, high spectrum purity and multi-channel design; on FPGA, the implementation of GPS synchronization, digital downsampling, multi-channel conversion control of calibration signals an
[Test Measurement]
Development of Multi-channel Strong Vibration Monitoring and Alarm System Based on LabVIEW
Latest Test Measurement Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号