Design of signal amplitude eigenvalue obtaining system based on LABVIEW

Publisher:Meilin8888Latest update time:2019-11-15 Source: eepwKeywords: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. 

  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.


  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 signal amplitude eigenvalue obtaining system based on LABVIEW

Previous article:Portable Vibration Analyzer Based on Labview
Next article:LabVIEW analysis solution for virtual instruments widely used in the testing field

Recommended ReadingLatest update time:2024-11-16 12:56

How do I install the DAQ Assistant in LabVIEW?
  To be honest, this problem really bothered me for many days. At the beginning, I searched almost the entire Internet but couldn't find the correct solution. The answers from netizens are all the same. Either you don't have DAQmx installed, and ask you to download NI-DAQmx from the official website and install i
[Test Measurement]
Labview realizes pulse modulation (PDM)
Pulse Width Modulation Generate a sine signal and get its amplitude input to the duty cycle of a square wave signal Since the duty cycle of the square wave signal contains the information of the sine signal Thus, by filtering out the duty cycle information of the square wave signal, the waveform can be restored Ac
[Test Measurement]
Labview realizes pulse modulation (PDM)
Creating a Front Panel in LabVIEW
  In the front panel window, add input controls and display controls. Select the required input and display controls from the control palette (click the selected control, the cursor changes to a hand shape), hold down the mouse, drag to the appropriate position, and then release the mouse to place the required control
[Test Measurement]
Creating a Front Panel in LabVIEW
LabVIEW Design Pattern Series - Error Handling After Resource Closure
standard: 1. For many reference resources, the error handling methods for the opening function and the closing function are different; 2. Generally, the explanation of the error terminal of the opening function in NI Help is as follows: If an error occurs before the VI or function runs, the VI or function will pass
[Test Measurement]
Accelerate ARM-based Embedded System Development with LabVIEW
  Many embedded systems —from medical devices to consumer electronics—require software designed for expensive, low-power microcontrollers. ARM is a popular microcontroller architecture for hardware design when low power consumption is a primary design goal. In fact, more than 10 billion ARM processors have been used i
[Test Measurement]
Accelerate ARM-based Embedded System Development with LabVIEW
Design of Photovoltaic Power Supply Monitoring System Based on LabVIEW
0 Introduction Photovoltaic power generation technology is one of the development trends of new energy in the world. It requires more system efficiency, reliability and economy. Traditional monitoring is generally based on close-range conditions, that is, close-range monitoring. This method requires a certain amount o
[Test Measurement]
Design of Photovoltaic Power Supply Monitoring System Based on LabVIEW
In-depth exploration of LabVIEW's powerful bit manipulation capabilities
Friends who have learned C language know that whenever we talk about the advantages of C language, the powerful bit operation ability cannot be ignored. It is precisely because of the powerful bit operation ability of C language that C language is widely used in the development of operating systems and embedded applica
[Test Measurement]
In-depth exploration of LabVIEW's powerful bit manipulation capabilities
Design of groundwater level monitoring system based on LM3S615
0 Introduction Groundwater in China accounts for one-third of the total water resources, and the annual water supply accounts for nearly 20% of the total water supply, which plays an important role in supporting economic and social development. Large-scale groundwater development has caused groundwater over-expl
[Microcontroller]
Design of groundwater level monitoring system based on LM3S615
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号