LabVIEW-based high-voltage data acquisition and processing system and method
Through the high-voltage data acquisition and processing system based on LabVIEW, the high-voltage sensor and data acquisition card are used to achieve accurate acquisition and real-time processing of high-voltage signals, solving the complexity and accuracy of high-voltage signal measurement in the prior art, providing a flexible and low-voltage signal measurement Cost solution.
Patent Information
- Application Number
- CN202411293928.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-14
- Publication Date
- 2025-01-03
AI Technical Summary
The measurement and analysis of high-voltage signals in the electromechanical and electromechanical systems of the aviation industry have problems such as large size, complex operation, poor real-time and low accuracy. The existing system based on LabVIEW is mainly used for discharge acoustic and photoelectric joint online monitoring and lasers for a long time. Frequency stability measurement, lack of high-voltage data acquisition and processing module.
设计了一种基于LabVIEW的高压数据采集处理系统,包括高压信号采集模块、数据采集卡和LabVIEW虚拟仪器,通过高压传感器进行信号隔离和转换,数据采集卡将低压信号转换为数字信号,LabVIEW虚拟仪器进行实时数据分析和显示,采用图形化界面实现数据采集、存储和分析。
It realizes accurate collection and real-time processing of high-voltage data, reducing operational complexity and cost. Through a simple graphical interface, data acquisition and analysis can be carried out. The system can expand hardware and software according to needs, and is suitable for multiple fields.
Smart Images

Figure CN119246927A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of electrical engineering and measurement and control technology, and in particular relates to a high-voltage data acquisition and processing system and method based on LabVIEW. Background Art
[0002] In the process of engineering testing and maintenance of electromechanical system protection and system in modern aviation industry, accurate and real-time measurement and analysis of high voltage signals are crucial. Existing technologies generally use traditional measuring instruments, which have the disadvantages of large size, complex operation, poor real-time performance and low accuracy. With the rise of computer software simulation instruments, virtual instrument technology can realize efficient real-time monitoring and data processing of high voltage current.
[0003] LabVIEW (Laboratory Virtual Instrument Engineering Workbench) is a widely used graphical programming platform developed by National Instruments (NI). It can easily connect to various data acquisition hardware to achieve data acquisition, analysis and display. Combined with existing virtual instrument technology, the software system design based on LabVIEW can greatly improve the efficiency and accuracy of data acquisition.
[0004] For example, the Chinese patent with the publication number CN118534263A discloses a Labview-based partial discharge acoustic-optical joint online monitoring system. The online monitoring system includes: Labview interactive software, electrical acquisition module, optical acquisition module, sound acquisition module and multimodal fusion model. Labview interactive software is used to display the analysis results of transformer partial discharge, the electrical acquisition module is used to detect the transformer partial discharge pulse current, the optical acquisition module is used to obtain the transformer overall and partial discharge position image, the sound acquisition module is used to receive ultrasonic signals, and the multimodal fusion model is used to analyze the collected signals to determine whether discharge occurs. The collected electrical, optical and sound signals are uploaded to the multimodal fusion model, and the multimodal fusion model is imported and deployed through the Labview interactive software. This patent can effectively detect the discharge in electrical equipment, maintain the electrical equipment in time, and avoid failure. However, this patent is mainly used for discharge acoustic-optical joint online monitoring, including optical acquisition module, sound acquisition module and multimodal fusion model, with complex structure and high cost; at the same time, there is no module for collecting high-voltage data, which is not suitable for high-voltage data collection and processing.
[0005] For example, the Chinese patent with the announcement number CN105004510B discloses a device for measuring the long-term frequency stability of a laser, including: an external cavity semiconductor laser system, an atomic vapor pool, a photodetector, a data acquisition card, a voltage amplifier and a LabVIEW program processing system; the laser output by the external cavity semiconductor laser system passes through the atomic vapor pool twice, the output end of the atomic vapor pool is connected to the sampling end of the photodetector, the photodetector and the data acquisition card are connected, and the data acquisition card is connected to the LabVIEW program processing system through its PCI port. The patent also discloses a method for measuring the long-term frequency stability of a laser. The patent locks the frequency of the laser to be measured on the hyperfine transition spectrum of atoms and molecules, and does not require the beat frequency signal of the laser to be measured with the standard frequency source laser or another laser of the same type, so as to obtain the long-term frequency stability of the laser. However, the patent is mainly used for measuring the long-term frequency stability of the laser, including an external cavity semiconductor laser system, an atomic vapor pool, and a photodetector, with a complex structure and high cost; at the same time, there is no module for collecting high-voltage data, and it is not suitable for high-voltage data collection and processing. Summary of the invention
[0006] In order to solve the above technical problems, the present invention provides a high voltage data acquisition and processing system and method based on LabVIEW.
[0007] The present invention is achieved through the following technical solutions.
[0008] The present invention provides a high-voltage data acquisition and processing system based on LabVIEW, comprising: a high-voltage signal acquisition module, a data acquisition card, a computer and a LabVIEW virtual instrument, wherein the high-voltage signal acquisition module is connected to the data acquisition card, the data acquisition card is connected to the computer, and the LabVIEW virtual instrument runs on the computer;
[0009] The high-voltage signal acquisition module is used to connect to the high-voltage test product, collect the high-voltage signal, perform signal isolation through the high-voltage sensor, and convert the high-voltage signal into a low-voltage signal;
[0010] The data acquisition card is used to convert the low voltage signal into a digital signal;
[0011] The computer is used to run LabVIEW virtual instruments to perform data analysis and result display;
[0012] The LabVIEW virtual instrument is used for designing a graphical interface, real-time data acquisition, storage and real-time analysis.
[0013] Preferably, the high-voltage signal acquisition module includes a high-voltage sensor and a signal processing submodule, and the high-voltage sensor is connected to the signal processing submodule;
[0014] The high-voltage sensor is used for signal isolation, converting the high-voltage signal into a low-voltage signal;
[0015] The signal processing submodule is used to process the low voltage signal to keep the signal stable.
[0016] Preferably, the signal processing submodule comprises a rectifying unit, a filtering unit and a voltage stabilizing unit, wherein the rectifying unit is connected to the filtering unit, and the filtering unit is connected to the voltage stabilizing unit;
[0017] The rectifier unit is used to rectify the signal and convert the AC signal into a DC signal;
[0018] The filtering unit is used to filter the signal to make the signal smooth;
[0019] The voltage stabilizing unit is used for stabilizing the voltage signal to keep the signal stable.
[0020] Preferably, the high-voltage sensor is a high-voltage Hall sensor or a voltage transformer.
[0021] Preferably, the data acquisition card comprises a sampling submodule, a quantization submodule and an encoding submodule, the sampling submodule is connected to the quantization submodule, and the quantization submodule is connected to the encoding submodule;
[0022] The sampling submodule is used to take values of the low-voltage signal at fixed time intervals, and divide the continuous low-voltage signal into discrete data points;
[0023] The quantization submodule is used to map discrete data points to digital values;
[0024] The encoding submodule is used to represent digital values in binary code.
[0025] Preferably, the LabVIEW virtual instrument includes a DAQmx task submodule, an acquisition cycle submodule and an analysis submodule;
[0026] The DAQmx task submodule is used to obtain signal data according to the sampling channel, sampling time interval and number of samples per channel;
[0027] The acquisition cycle submodule is used to construct a cyclic task and cyclic sampling, and the acquisition cycle submodule is provided with an external switch control and a clock delay;
[0028] The analysis submodule is used to process signal data and realize real-time waveform display, trend analysis and data export.
[0029] Preferably, the DAQmx task submodule includes a channel unit, a clock unit and a read function;
[0030] The channel unit is used to configure the data acquisition card task and set the sampling channel of the data acquisition card;
[0031] The clock unit is used to set a clock source and set a sampling time interval according to the clock source;
[0032] The read function includes the number of samples per channel.
[0033] A high voltage data acquisition and processing method based on LabVIEW The above-mentioned high voltage data acquisition and processing system is implemented, comprising the following steps:
[0034] S1, build the acquisition cycle submodule, and set the sampling channel, sampling time interval and number of samples per channel through the LabVIEW virtual instrument;
[0035] S2, collecting high voltage signals through a high voltage signal collection module, and converting the high voltage signals into low voltage signals;
[0036] S3, converting the low voltage signal into a digital signal through a data acquisition card;
[0037] S4, LabVIEW virtual instrument acquires signal data according to sampling channel, sampling time interval and sampling number per channel;
[0038] S5, process signal data through LabVIEW virtual instrument;
[0039] S6. Return to step S2 through the acquisition cycle submodule until the cycle is closed through an external switch control.
[0040] Preferably, setting the sampling channel, sampling time interval and number of samples per channel by LabVIEW virtual instrument comprises the following steps:
[0041] Configure the data acquisition card tasks through the channel unit, wherein the tasks of the data acquisition card include sampling channels;
[0042] Set the clock source through the clock unit and set the sampling time interval according to the clock source;
[0043] Set the properties of the read function, including the number of samples per channel.
[0044] Preferably, the data acquisition card tasks include input terminal configuration and physical channels;
[0045] The task of configuring the data acquisition card specifically refers to: selecting differential input for the input terminal configuration and selecting Dev1 / ai0 channel for the physical channel;
[0046] The setting of the clock source specifically refers to: setting the clock source to an onboard clock source;
[0047] The setting of the properties of the reading function specifically refers to: setting the properties to analog signal / multi-channel / multi-sampling / analog 1D waveform, wherein the number of samples per channel is set to -1.
[0048] The beneficial effects of the present invention are:
[0049] High-voltage data acquisition and processing are realized, and the accuracy of the collected data is ensured through data acquisition cards and sensors; data is processed in real time through LabVIEW virtual instruments, and real-time analysis and monitoring are performed while data is being collected; LabVIEW virtual instruments based on a graphical interface can collect, analyze and process data through a simple operating interface, without the need for complex programming background, and with a low learning cost; the system can easily perform hardware expansion and software programming modifications as needed to meet different experimental requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1 It is a schematic diagram of the framework of a high-voltage data processing and acquisition system provided by an embodiment of the present invention;
[0051] Figure 2 It is a flow chart of a high-voltage data processing and collection method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0052] The technical solution of the present invention is further described below, but the scope of protection claimed is not limited to the description.
[0053] like Figure 1 As shown, a high-voltage data acquisition and processing system based on LabVIEW includes: a high-voltage signal acquisition module, a data acquisition card, a computer and a LabVIEW virtual instrument, wherein the high-voltage signal acquisition module is connected to the data acquisition card, the data acquisition card is connected to the computer, and the LabVIEW virtual instrument runs on the computer;
[0054] The high-voltage signal acquisition module is used to connect to the high-voltage test product, collect the high-voltage signal, perform signal isolation through the high-voltage sensor, and convert the high-voltage signal into a low-voltage signal;
[0055] Since the voltage range that the data acquisition card can process is limited, a high-voltage acquisition module is required to convert the high-voltage signal into a low-voltage signal that the data acquisition card can process. Among them, the high-voltage signal is an alternating current signal between 100 and 500V, and the low-voltage signal is a direct current signal between 0 and 10V.
[0056] In this embodiment, the high voltage signal is a 270V alternating current signal, and the low voltage signal is a 5V direct current signal.
[0057] The high-voltage signal acquisition module includes a high-voltage sensor and a signal processing submodule, and the high-voltage sensor is connected to the signal processing submodule;
[0058] The high-voltage sensor is used for signal isolation, converting the high-voltage signal into a low-voltage signal;
[0059] The high-voltage sensor is a high-voltage Hall sensor or a voltage transformer.
[0060] In this embodiment, a voltage transformer is used.
[0061] The signal processing submodule is used to process the low voltage signal to keep the signal stable.
[0062] The signal processing submodule includes a rectifying unit, a filtering unit and a voltage stabilizing unit, wherein the rectifying unit is connected to the filtering unit, and the filtering unit is connected to the voltage stabilizing unit;
[0063] The rectifier unit is used to rectify the signal and convert the AC signal into a DC signal;
[0064] In this embodiment, a rectifier diode is selected as the rectifier unit according to the output voltage and current.
[0065] The filtering unit is used to filter the signal to make the signal smooth;
[0066] In this embodiment, a filter capacitor is used as a filter unit, and the filter capacitor is connected in parallel to the rectifier output end, with the positive electrode connected to the positive electrode of the rectifier output and the negative electrode connected to the negative electrode of the rectifier output. At the same time, a resistor needs to be connected in parallel at both ends of the capacitor to consume the charge released by the capacitor when the circuit is powered off.
[0067] The voltage stabilizing unit is used for stabilizing the voltage signal to keep the signal stable.
[0068] High-voltage sensors are used for signal isolation to convert high-voltage signals into low-voltage signals. The converted low-voltage signals will fluctuate, resulting in signal instability. Therefore, a voltage stabilization unit is required to stabilize the signal to keep the signal stable.
[0069] In this embodiment, a voltage stabilizing chip 7805 is used as a voltage stabilizing unit, the rectified and filtered voltage is connected to the input end of the voltage stabilizing chip 7805, the ground end of the voltage stabilizing chip is connected to the circuit ground, the output end is connected to a data acquisition card, and a ceramic capacitor is connected in parallel to the output end for filtering.
[0070] The high-voltage signal acquisition module mainly isolates the high-voltage signal and converts it into a voltage that can be collected by the data acquisition card in two ways:
[0071] High-voltage sensor signal isolation: Through electromagnetic induction, one side of the winding is connected to the high-voltage signal input end, and the other side of the winding output end is connected to the signal processing submodule, converting the high-voltage signal into a low-voltage signal and inputting it into the signal processing submodule;
[0072] Rectification, filtering and voltage stabilization of signals: The low-voltage signal is rectified by the rectification unit, the rectified signal is filtered by the filtering unit, and the voltage after rectification and filtering is stabilized by the voltage stabilization unit, thus obtaining the required low-voltage voltage that can be collected by the data acquisition card.
[0073] The data acquisition card is used to convert the low voltage signal into a digital signal;
[0074] Since both high-voltage and low-voltage signals are analog signals, they cannot be directly read by computers or through LabVIEW virtual instruments, so they need to be converted into digital signals through a data acquisition card.
[0075] The data acquisition card includes a sampling submodule, a quantization submodule and an encoding submodule, wherein the sampling submodule is connected to the quantization submodule, and the quantization submodule is connected to the encoding submodule;
[0076] In this embodiment, a standard data acquisition card of the NI USB-6000 series is used.
[0077] The sampling submodule is used to take values of the low-voltage signal at fixed time intervals, and divide the continuous low-voltage signal into discrete data points;
[0078] Through the sampling submodule, when the low-voltage signal enters the data acquisition card, it will pass through the sampling and holding circuit, and the low-voltage signal will be sampled at fixed time intervals, dividing the continuous analog signal into discrete data points.
[0079] The quantization submodule is used to map discrete data points to digital values;
[0080] The discrete data points obtained after sampling are still analog quantities. The quantization process converts the sampled values into a finite number of discrete digital quantities. The quantization submodule will map the sampled values to the closest digital values according to the pre-set quantization level.
[0081] The encoding submodule is used to represent digital values in binary code.
[0082] In this embodiment, the encoding submodule is an ADC digital-to-analog converter.
[0083] The computer is used to run LabVIEW virtual instruments to perform data analysis and result display;
[0084] The LabVIEW virtual instrument is used for designing a graphical interface, real-time data acquisition, storage and real-time analysis.
[0085] In this embodiment, the data can be saved in CSV format for subsequent analysis.
[0086] The LabVIEW virtual instrument includes a DAQmx task submodule, an acquisition cycle submodule and an analysis submodule;
[0087] The DAQmx task submodule is used to obtain signal data according to the sampling channel, sampling time interval and number of samples per channel;
[0088] The DAQmx task submodule includes a channel unit, a clock unit and a read function;
[0089] The channel unit is used to configure the data acquisition card task and set the sampling channel of the data acquisition card;
[0090] The clock unit is used to set a clock source and set a sampling time interval according to the clock source;
[0091] The read function includes the number of samples per channel.
[0092] The acquisition cycle submodule is used to construct a cyclic task and cyclic sampling, and the acquisition cycle submodule is provided with an external switch control and a clock delay;
[0093] The analysis submodule is used to process signal data and realize real-time waveform display, trend analysis and data export.
[0094] like Figure 2 As shown, a high voltage data acquisition and processing method based on LabVIEW is implemented by the above-mentioned high voltage data acquisition and processing system, comprising the following steps:
[0095] S1, build the acquisition cycle submodule, and set the sampling channel, sampling time interval and number of samples per channel through the LabVIEW virtual instrument;
[0096] The setting of the sampling channel, the sampling time interval and the number of samples per channel by the LabVIEW virtual instrument comprises the following steps:
[0097] Configure the data acquisition card tasks through the channel unit, wherein the tasks of the data acquisition card include sampling channels;
[0098] Set the clock source through the clock unit and set the sampling time interval according to the clock source;
[0099] Set the properties of the read function, including the number of samples per channel.
[0100] The data acquisition card tasks include input terminal configuration and physical channels;
[0101] The task of configuring the data acquisition card specifically refers to: selecting differential input for the input terminal configuration and selecting Dev1 / ai0 channel for the physical channel;
[0102] The setting of the clock source specifically refers to: setting the clock source to an onboard clock source;
[0103] The properties of the read function are as follows: setting the properties to analog signal / multi-channel / multi-sampling / analog 1D waveform, where the number of samples per channel is set to -1
[0104] S2, collecting high voltage signals through a high voltage signal collection module, and converting the high voltage signals into low voltage signals;
[0105] S3, converting the low voltage signal into a digital signal through a data acquisition card;
[0106] S4, LabVIEW virtual instrument acquires signal data according to sampling channel, sampling time interval and sampling number per channel;
[0107] S5, process signal data through LabVIEW virtual instrument;
[0108] S6. Return to step S2 through the acquisition cycle submodule until the cycle is closed through an external switch control.
[0109] The present invention can be applied in many fields, including electronic component testing, power monitoring, industrial automation, etc. In production tasks, the high-voltage signal acquisition module is directly connected to the test point of the distribution box, the distribution box is powered on, and the high-voltage signal acquisition module converts the collected high-voltage electrical signal into a data acquisition card working range signal through a mutual inductor, and the data acquisition card is identified, collected, and processed into a digital signal recognizable by a computer, so that the real-time voltage and current can be displayed in a visual interface.
[0110] By configuring the data acquisition card task through the LabVIEW virtual instrument, when a short circuit occurs in the distribution box, the high-voltage signal acquisition module and the data acquisition card will also synchronously collect the time of the fault. At the same time, the computer will save the collected fault information to a CSV file for subsequent data use, as well as the tripping action time, etc. By building a data acquisition system that meets specific needs, work efficiency and data quality can be effectively improved.
[0111] The present invention realizes high-voltage data acquisition and processing, and ensures the accuracy of the collected data through data acquisition cards and sensors; processes data in real time through LabVIEW virtual instruments, and performs real-time analysis and monitoring while data is being collected; LabVIEW virtual instruments based on a graphical interface can collect, analyze and process data through a simple operation interface, without the need for complex programming background, and with low learning costs; the system can conveniently perform hardware expansion and software programming modifications as needed to meet different experimental requirements.
Claims
1. A high voltage data acquisition and processing system based on LabVIEW, characterized in that: include: A high-voltage signal acquisition module, a data acquisition card, a computer and a LabVIEW virtual instrument, wherein the high-voltage signal acquisition module is connected to the data acquisition card, the data acquisition card is connected to the computer, and the LabVIEW virtual instrument runs on the computer; The high-voltage signal acquisition module is used to connect to the high-voltage test product, collect the high-voltage signal, perform signal isolation through the high-voltage sensor, and convert the high-voltage signal into a low-voltage signal; The data acquisition card is used to convert the low voltage signal into a digital signal; The computer is used to run LabVIEW virtual instruments to perform data analysis and result display; The LabVIEW virtual instrument is used for designing a graphical interface, real-time data acquisition, storage and real-time analysis.
2. The high voltage data acquisition and processing system according to claim 1, characterized in that: The high-voltage signal acquisition module includes a high-voltage sensor and a signal processing submodule, and the high-voltage sensor is connected to the signal processing submodule; The high-voltage sensor is used for signal isolation, converting the high-voltage signal into a low-voltage signal; The signal processing submodule is used to process the low voltage signal to keep the signal stable.
3. The high voltage data acquisition and processing system according to claim 2, characterized in that: The signal processing submodule includes a rectifying unit, a filtering unit and a voltage stabilizing unit, wherein the rectifying unit is connected to the filtering unit, and the filtering unit is connected to the voltage stabilizing unit; The rectifier unit is used to rectify the signal and convert the AC signal into a DC signal; The filtering unit is used to filter the signal to make the signal smooth; The voltage stabilizing unit is used for stabilizing the voltage signal to keep the signal stable.
4. The high voltage data acquisition and processing system according to claim 2, characterized in that: The high-voltage sensor is a high-voltage Hall sensor or a voltage transformer.
5. The high voltage data acquisition and processing system according to claim 1, characterized in that: The data acquisition card includes a sampling submodule, a quantization submodule and an encoding submodule, wherein the sampling submodule is connected to the quantization submodule, and the quantization submodule is connected to the encoding submodule; The sampling submodule is used to take values of the low-voltage signal at fixed time intervals, and divide the continuous low-voltage signal into discrete data points; The quantization submodule is used to map discrete data points to digital values; The encoding submodule is used to represent digital values in binary code.
6. The high voltage data acquisition and processing system according to claim 1, characterized in that: The LabVIEW virtual instrument includes a DAQmx task submodule, an acquisition cycle submodule and an analysis submodule; The DAQmx task submodule is used to obtain signal data according to the sampling channel, sampling time interval and number of samples per channel; The acquisition cycle submodule is used to construct a cyclic task and cyclic sampling, and the acquisition cycle submodule is provided with an external switch control and a clock delay; The analysis submodule is used to process signal data and realize real-time waveform display, trend analysis and data export.
7. The high voltage data acquisition and processing system according to claim 6, characterized in that: The DAQmx task submodule includes a channel unit, a clock unit and a read function; The channel unit is used to configure the data acquisition card task and set the sampling channel of the data acquisition card; The clock unit is used to set a clock source and set a sampling time interval according to the clock source; The read function includes the number of samples per channel.
8. A high voltage data acquisition and processing method based on LabVIEW, characterized in that: The method is implemented by the high voltage data acquisition and processing system according to any one of claims 1 to 7, comprising the following steps: S1, build the acquisition cycle submodule, and set the sampling channel, sampling time interval and number of samples per channel through the LabVIEW virtual instrument; S2, collecting high voltage signals through a high voltage signal collection module, and converting the high voltage signals into low voltage signals; S3, converting the low voltage signal into a digital signal through a data acquisition card; S4, LabVIEW virtual instrument acquires signal data according to sampling channel, sampling time interval and sampling number per channel; S5, process signal data through LabVIEW virtual instrument; S6. Return to step S2 through the acquisition cycle submodule until the cycle is closed through an external switch control.
9. The high voltage data acquisition and processing method according to claim 8, characterized in that: The setting of the sampling channel, the sampling time interval and the number of samples per channel by the LabVIEW virtual instrument comprises the following steps: Configure the data acquisition card tasks through the channel unit, wherein the tasks of the data acquisition card include sampling channels; Set the clock source through the clock unit and set the sampling time interval according to the clock source; Set the properties of the read function, including the number of samples per channel.
10. The high voltage data acquisition and processing method according to claim 9, characterized in that: The data acquisition card tasks include input terminal configuration and physical channels; The task of configuring the data acquisition card specifically refers to: selecting differential input for the input terminal configuration and selecting Dev1 / ai0 channel for the physical channel; The setting of the clock source specifically refers to: setting the clock source to an onboard clock source; The setting of the properties of the reading function specifically refers to: setting the properties to analog signal / multi-channel / multi-sampling / analog 1D waveform, wherein the number of samples per channel is set to -1.
