Eight-channel high-speed data acquisition system based on STM32 and LabVIEW
The eight-channel high-speed data acquisition system built on the STM32 and LabVIEW platforms solves the problems of high cost, long development cycle and insufficient interactivity of existing systems, and realizes low-cost, high-speed multi-channel synchronous acquisition and real-time data transmission. It is suitable for data acquisition of parameters such as voltage, current, and temperature.
Patent Information
- Application Number
- CN202510718541.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-30
- Publication Date
- 2025-09-16
AI Technical Summary
The existing data acquisition system has high costs and long development cycles, and low-performance microcontrollers make it difficult to achieve multi-channel synchronous acquisition and real-time data transmission, and traditional host computer software lacks interactivity.
An eight-channel high-speed data acquisition system was constructed using the STM32 microcontroller and LabVIEW software platform, combined with moving average filtering and wavelet filtering algorithms. The system included a front-end data acquisition unit, an STM32 main control unit, a system power management unit, and a LabVIEW host computer interactive display unit to achieve data preprocessing, transmission, and high-precision post-processing.
It realizes low-cost, high-speed data acquisition, supports multi-channel synchronous acquisition and real-time data transmission, has low power consumption and fast development cycle, and is suitable for data acquisition of parameters such as voltage, current, and temperature.
Smart Images

Figure CN120652867A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic measurement technology, and in particular to an eight-channel high-speed data acquisition system based on STM32 and LabVIEW. Background Art
[0002] Existing data acquisition systems often rely on FPGAs or specialized chips for high-speed processing, which can lead to high costs and long development cycles. Some systems based on low-performance microcontrollers are limited by their processing power, making it difficult to achieve multi-channel simultaneous acquisition and real-time data transmission. Furthermore, traditional host computer software lacks interactivity and is insufficient to meet the demands of complex scenarios. Summary of the Invention
[0003] In order to solve the problems of the prior art, the present invention provides an eight-channel high-speed data acquisition system based on STM32 and LabVIEW.
[0004] The purpose of the present invention is achieved by adopting the following technical solutions.
[0005] An eight-channel high-speed data acquisition system based on STM32 and LabVIEW, the system includes:
[0006] The front-end data acquisition unit includes eight channels of analog signal input, front-end signal conditioning circuit (consisting of a preamplifier, a second-order low-pass filter and a level adjustment module for signal amplification, filtering and sensor adaptation) and a high-speed ADC data acquisition circuit to complete the data acquisition and preprocessing of analog signals.
[0007] The STM32 main control unit includes an integrated DMA controller, a moving average filter module, and an Ethernet communication module to complete data acquisition, caching, preliminary noise reduction, and data transmission functions.
[0008] The system power management unit uses a low-noise linear power supply and DC-DC conversion circuit to provide isolated power supply for each module.
[0009] The LabVIEW host computer interactive display unit receives data through the Ethernet protocol, deploys the wavelet noise reduction algorithm to perform high-precision post-processing on the received data, supports real-time waveform display, spectrum analysis, user-defined parameter configuration, and data export.
[0010] The technical solution provided by the present invention has the beneficial effect of building a high-performance, high-speed data acquisition system based on the STM32 microcontroller and LabVIEW software platform by deploying a moving average filtering algorithm and a wavelet filtering algorithm, respectively. The system has eight analog input channels, and has the advantages of fast data acquisition speed, low power consumption, convenient data transmission, low development cost, and a short development cycle. It can be used for data acquisition of parameters such as voltage, current, and temperature. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art, and uses the drawings to further illustrate the present invention. However, the embodiments in the drawings do not constitute any limitation to the present invention. For ordinary technicians in this field, other drawings can be obtained based on the following drawings without paying any creative work.
[0012] Figure 1 This is a structural diagram of an eight-channel high-speed data acquisition system based on STM32 and LabVIEW provided by the present invention.
[0013] Figure 2 This is a workflow diagram of an eight-channel high-speed data acquisition system based on STM32 and LabVIEW provided by the present invention. DETAILED DESCRIPTION
[0014] The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0015] like Figure 1 As shown, the present invention proposes an eight-channel high-speed data acquisition system based on STM32 and LabVIEW, and the system includes.
[0016] The front-end data acquisition unit includes eight channels of analog signal input, front-end signal conditioning circuit (consisting of a preamplifier, a second-order low-pass filter and a level adjustment module for signal amplification, filtering and sensor adaptation) and a high-speed ADC data acquisition circuit to complete the data acquisition and preprocessing of analog signals.
[0017] The STM32 main control unit includes an integrated DMA controller, a moving average filter module, and an Ethernet communication module to complete data acquisition, caching, preliminary noise reduction, and data transmission functions.
[0018] The system power management unit uses a low-noise linear power supply and DC-DC conversion circuit to provide isolated power supply for each module.
[0019] The LabVIEW host computer interactive display unit receives data through the Ethernet protocol, deploys the wavelet noise reduction algorithm to perform high-precision post-processing on the received data, supports real-time waveform display, spectrum analysis, user-defined parameter configuration, and data export.
[0020] Example 1.
[0021] like Figure 2 The figure shows a workflow of eight-channel data acquisition based on STM32 and LabVIEW proposed by the present invention, which includes:
[0022] S1. System power-on initialization.
[0023] S2. Configure the sampling range, sampling rate, and number of sampling points of the data acquisition channel according to the LabVIEW host computer setting information.
[0024] S3. Control the ADC to convert the analog signal into a 16-bit digital signal and transfer it directly to the memory buffer via DMA.
[0025] S4. Use the moving average filtering algorithm to perform preliminary noise reduction on the data.
[0026] S5. Use the Ethernet module to transmit the data after preliminary noise reduction processing to the LabVIEW host computer.
[0027] S6. The LabVIEW host computer receives the data, uses the wavelet noise reduction algorithm to perform high-precision post-processing on the received data, and draws the waveform.
[0028] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any technician familiar with the technical field, within the technical scope disclosed by the present invention, who makes equivalent replacements or changes based on the technical solution and inventive concept of the present invention, should be covered by the scope of protection of the present invention.
Claims
1. An eight-channel high-speed data acquisition system based on STM32 and LabVIEW, characterized in that: The system includes: a front-end data acquisition unit, an STM32 main control unit, a system power management unit, and a LabVIEW host computer interactive display unit.
2. The eight-channel high-speed data acquisition system based on STM32 and LabVIEW according to claim 1, characterized in that, The front-end data acquisition unit includes: Eight channels of analog signal input channels; The front-end signal conditioning circuit, including preamplifier, second-order low-pass filter and level adjustment module, performs signal conditioning, pre-filtering, amplification and other pre-processing on the data; High-speed ADC data acquisition circuit is used for analog-to-digital conversion.
3. The eight-channel high-speed data acquisition system based on STM32 and LabVIEW according to claim 1, characterized in that, The STM32 main control unit includes: Use internal DMA controller to achieve multi-channel synchronous sampling; Deploy a moving average filtering algorithm to suppress high-frequency noise in real time; The Ethernet data transmission module is used to transmit the noise-reduced data to the host computer.
4. The eight-channel high-speed data acquisition system based on STM32 and LabVIEW according to claim 1, characterized in that, The system power management unit includes: Use low-noise linear power supply to provide low-noise power supply for ADC module; The DC-DC conversion circuit is used to power the STM32 and communication modules.
5. The eight-channel high-speed data acquisition system based on STM32 and LabVIEW according to claim 1, characterized in that, The LabVIEW host computer interactive display unit includes: Deploy wavelet denoising algorithm, support custom wavelet basis (such as Daubechies, Symlets) and threshold processing mode; Provides a graphical interface, integrated real-time waveform display, spectrum analysis (FFT) and data export functions; Use Ethernet protocol to achieve batch data transmission.