Oscilloscope data acquisition system based on LabVIEW
Through the oscilloscope data acquisition system based on LabVIEW, multi-channel data acquisition and display are realized, solving the problems of complex operation, single functions and high cost of traditional oscilloscopes, and providing simple and intuitive data display and low-cost multi-channel acquisition solutions.
Patent Information
- Application Number
- CN202422205265.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2025-08-08
- Estimated Expiration
- 2034-09-09
AI Technical Summary
The display interface of traditional oscilloscopes is cumbersome and cannot intuitively display diverse data. It is expensive and not easy to carry. It has a single acquisition function, the data is not comprehensive enough, and there are few acquisition channels.
The oscilloscope data acquisition system based on LabVIEW is adopted, including the lower computer and the upper computer. The lower computer is composed of multiple data acquisition channels, including signal waveform, voltage and current acquisition channels. The data is processed through the microcontroller and the ADC sampling chip, and connected to the upper computer through the serial communication module to realize multi-channel data display.
It realizes multi-channel data acquisition, enriches the acquisition function, the display interface is simple and intuitive, low cost, and easy to carry, solving the problems of complex operation and incomplete data of traditional oscilloscopes.
Smart Images

Figure CN223205545U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of data measurement and acquisition, in particular to an oscilloscope data acquisition system based on LabVIEW. Background Art
[0002] Over the past few decades, electronic measurement technology has been continuously developing. As one of the important instruments in the field of electronic measurement, oscilloscopes are widely used in electronics, communications, automation control and other fields. However, the following problems exist in the process of data acquisition and display:
[0003] Oscilloscope display interfaces are cumbersome to operate, unable to intuitively display diverse data. They are complex to operate, expensive, and difficult to carry, and different types of oscilloscopes display different features. Furthermore, traditional oscilloscopes have limited hardware acquisition capabilities for data acquisition and processing, resulting in incomplete data collection and limited signal types and channels. Utility Model Content
[0004] In response to the shortcomings of the existing technology, the purpose of the present invention is to provide an oscilloscope data acquisition system based on LabVIEW, in which a lower computer collects diverse data through multiple channels, and a LabVIEW upper computer displays the diverse data, realizing communication between the upper and lower computers, and solving the problems of insufficient comprehensiveness of the data collected by the oscilloscope and complex operation of the oscilloscope display interface.
[0005] The solution adopted by the utility model is: a LabVIEW-based oscilloscope data acquisition system, comprising: a lower computer and a LabVIEW upper computer; the lower computer comprises a data acquisition module and a data processing module; the data acquisition module is composed of multiple data acquisition channels; the multiple data acquisition channels include at least two signal waveform acquisition channels, at least four voltage acquisition channels, and at least four current acquisition channels; the data processing module includes an ADC sampling chip and a microcontroller;
[0006] The input end of the voltage acquisition channel is connected to the signal source to be measured to collect the voltage signal, the input end of the current acquisition channel is connected to the signal source to be measured to collect the current signal, the output ends of the voltage acquisition channel and the current acquisition channel are connected to the input end of the ADC sampling chip, and the output end of the ADC sampling chip transmits the signal data to the microcontroller; the input end of the signal waveform acquisition channel is connected to the signal source to be measured to collect the signal waveform, and the output end is directly connected to the ADC inside the microcontroller.
[0007] Furthermore, the microcontroller of the data processing module controls the data acquisition module to collect signal data, and transmits the processed signal data to the LabVIEW host computer.
[0008] Furthermore, the lower computer also includes a serial communication module and a power supply module.
[0009] Furthermore, the lower computer is powered by a power module, and the power module is connected to the serial communication module.
[0010] Furthermore, the serial communication module includes a TYPE-C interface and a USB to serial port device, which is connected to the computer of the power module through the TYPE-C interface to provide power and establish communication.
[0011] Furthermore, the LabVIEW host computer and the microcontroller are connected to each other through a serial communication module. The LabVIEW host computer sends instructions to the microcontroller through the serial port, and the microcontroller transmits signal data to the LabVIEW host computer through the serial port.
[0012] Furthermore, the microcontroller is provided with a digital I / O port, which receives signal data collected by the data acquisition module and outputs the signal data to the serial communication module.
[0013] Furthermore, the data processing module is also integrated with a signal processing circuit.
[0014] Furthermore, the signal processing circuit includes a voltage processing circuit, a current processing circuit and a signal waveform processing circuit.
[0015] Furthermore, the LabVIEW host computer includes an interface display module that displays voltage and current data charts and signal waveforms transmitted by the microcontroller.
[0016] The beneficial effects of the above utility model are as follows:
[0017] 1) The LabVIEW-based oscilloscope data acquisition system provided by the utility model comprises multiple data acquisition channels, including at least two signal waveform acquisition channels, at least four voltage acquisition channels, and at least four current acquisition channels. This solves the problem of insufficient comprehensiveness of collected data and a limited number of collected signal types and acquisition channels when traditional oscilloscopes perform data acquisition and processing. The system integrates multiple acquisition channels for current, voltage, and waveform signals, performs multi-channel acquisition simultaneously, and enriches the acquisition function.
[0018] 2) The LabVIEW-based oscilloscope data acquisition system provided by this utility model has a slave computer controlled by a microcontroller. It uses multiple data acquisition channels to collect current, voltage, and signal waveforms. The data is processed by a data processing module and communicates with a master computer via a serial communication module. The slave computer collects and processes the data and then transmits it to the LabVIEW master computer, which receives and displays it.
[0019] 3) The LabVIEW-based oscilloscope data acquisition system provided by this utility model uses a LabVIEW host computer. In the LabVIEW language environment, it is integrated with the data acquisition system. The interface display module intuitively and comprehensively displays voltage and current data display charts and signal waveforms on the PC. The PC displays data, and the display interface is simple and easy to operate, allowing users to monitor data changes and adjust acquisition parameters in real time. The data waveform display, which is improved from the traditional oscilloscope, is now displayed by the host computer, clearly displaying experimental data, resolving the problem of the traditional oscilloscope display interface being cumbersome to operate and unable to intuitively display diverse data.
[0020] 4) The LabVIEW-based oscilloscope data acquisition system provided by the present invention integrates multiple modules in a data acquisition card as a lower computer, which is small in size, low in cost compared to traditional oscilloscopes, and easy to carry.
[0021] Advantages of additional aspects of the present invention will be partially given in the following description, and partially become apparent from the following description, or learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The illustrative embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation on the present invention.
[0023] Figure 1 Schematic diagram of an oscilloscope data acquisition system based on LabVIEW in an embodiment of the present utility model;
[0024] Figure 2 It is a connection block diagram of various modules of the oscilloscope data acquisition system based on LabVIEW in an embodiment of the present utility model;
[0025] Figure 3 It is a voltage processing circuit diagram of an oscilloscope data acquisition system based on LabVIEW in an embodiment of the present utility model;
[0026] Figure 4 It is a current processing circuit diagram of an oscilloscope data acquisition system based on LabVIEW in an embodiment of the present utility model;
[0027] Figure 5 It is a signal waveform processing circuit diagram of an oscilloscope data acquisition system based on LabVIEW in an embodiment of the present utility model;
[0028] Figure 6 It is a schematic diagram of an interface display module of an oscilloscope data acquisition system based on LabVIEW in an embodiment of the present utility model. DETAILED DESCRIPTION
[0029] The following will be combined with the accompanying drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. It should be noted that the following detailed description is exemplary and is intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as commonly understood by those of ordinary skill in the art to which the present invention belongs.
[0030] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present invention.
[0031] Example 1
[0032] like Figure 1 and Figure 2 As shown, a LabVIEW-based oscilloscope data acquisition system includes: a lower computer and a LabVIEW upper computer; the lower computer includes a data acquisition module, a data processing module, a serial communication module and a power supply module.
[0033] The data acquisition module is composed of multiple data acquisition channels; the multiple data acquisition channels include at least 2 signal waveform acquisition channels, at least 4 voltage acquisition channels and at least 4 current acquisition channels.
[0034] In this embodiment, the bandwidth of the signal waveform acquisition channel is 10 MHz, the range of the voltage acquisition channel is ±10 V, and the range of the current acquisition channel is ±40 mA.
[0035] The data processing module includes an ADC sampling chip and a microcontroller.
[0036] At least 4 voltage acquisition channel input ends are connected to the signal source to be measured to collect voltage signals, at least 4 current acquisition channel input ends are connected to the signal source to be measured to collect current signals, the output ends of the voltage acquisition channel and the current acquisition channel are respectively connected to the input ends of the ADC sampling chip, and the output end of the ADC sampling chip transmits the signal data to the microcontroller; at least 2 signal waveform acquisition channel input ends are connected to the signal source to be measured to collect signal waveforms, and the output ends of the signal waveform acquisition channels are directly connected to the ADC inside the microcontroller.
[0037] In this embodiment, the ADC sampling chip is AD7606, which can simultaneously sample multiple analog signals and convert them into digital signals, which are then transmitted to the microcontroller for processing. The signal waveform acquisition channel uses the microcontroller's internal ADC for signal conversion.
[0038] The data acquisition module is connected to the data processing module. The microcontroller of the data processing module has a digital I / O port. The digital I / O port receives the signal data collected by the data acquisition module and outputs it to the serial communication module.
[0039] In this embodiment, the microcontroller uses an STM32 single-chip microcomputer to control the data acquisition module to collect signal data and transmit the processed signal data to the LabVIEW host computer. It uses an STM32F407ZGT6 chip with a variety of general-purpose input and output (GPIO) ports, high performance and rich interfaces for connecting to the outside.
[0040] The data processing module communicates with the LabVIEW host computer via a serial communication module. The serial communication module includes a Type-C interface and a USB-to-serial converter. This module connects to the power module's computer via the Type-C interface for power and communication. The data processing module's microcontroller communicates with the LabVIEW host computer via the serial port. The host computer acquires signal waveforms, voltage, current, and other signals. After processing, the signal data is received and displayed by the LabVIEW host computer.
[0041] In this embodiment, the USB to serial port device uses the chip CH340.
[0042] like Figure 1 As shown, the above-mentioned data acquisition module, data processing module, serial communication module and power supply module of this embodiment are all integrated in the data acquisition card, which serves as a lower computer to realize communication with the upper computer. It is smaller in size, lower in cost than the existing traditional oscilloscope, and easier to carry.
[0043] like Figure 3-5 As shown, the data processing module also integrates signal processing circuits, including voltage processing circuits, current processing circuits, and signal waveform processing circuits. In the voltage processing circuit, the voltage signal passes through an RC low-pass filter before entering the ADC. The same applies to all four circuits. In the current processing circuit, the current signal is converted into a voltage signal by R14 and then passes through an RC low-pass filter before entering the ADC. The same applies to all four circuits. In the signal waveform processing circuit, the signal waveform first undergoes AC / DC coupling. R25 and R27 form an attenuation circuit, U5.1 is a voltage follower, and U5.2 and surrounding resistors form an adder, adding a DC component of 1.65V. D2 and D3 are clamping protection circuits to protect the ADC interface. The same applies to both circuits.
[0044] The LabVIEW host computer includes an interface display module. The LabVIEW host computer, that is, the host computer uses the LabVIEW programming language and development environment to send instructions to the microcontroller through the serial port, receive signal data transmitted by the microcontroller, and perform real-time processing and display of the signal data.
[0045] like Figure 6 As shown in the figure, the LabVIEW host computer's interface display module displays four voltage and four current signal data charts, two signal waveforms, a serial port selection box, and data save options. This provides users with a graphical display interface that clearly and intuitively displays diverse data. This user-friendly interface is more intuitive and simple than a traditional oscilloscope display interface, and can collect and display a variety of signals. Using LabVIEW in conjunction with the host and slave computers for signal data acquisition and display ensures stable system operation.
[0046] In this embodiment, the working principle of the oscilloscope data acquisition system based on LabVIEW is as follows:
[0047] The microcontroller controls the four voltage channels, four current channels and two signal waveform acquisition channels of the data acquisition card (i.e., the lower computer) to respectively acquire the voltage signal, current signal and signal waveform of the signal source to be measured, and input the signals into the ADC through the voltage processing circuit, current processing circuit and signal waveform processing circuit respectively.
[0048] Among them, in the voltage processing circuit, the voltage signal passes through the RC low-pass filter and then enters the ADC sampling chip; in the current processing circuit, the current signal is converted into a voltage signal through R14 and then passes through the RC low-pass filter to enter the ADC sampling chip; in the signal waveform processing circuit, the signal waveform is first AC-DC coupled, and then attenuated by the attenuation circuit composed of R25 and R27, and then amplified before entering the ADC inside the microcontroller.
[0049] The microcontroller receives the signal data collected by each channel through the digital I / O port, establishes communication with the LabVIEW host computer through a USB-to-serial device, and transmits the signals processed by the ADC sampling chip and the microcontroller's internal ADC to the LabVIEW host computer (i.e., the PC). Finally, the LabVIEW host computer replaces the oscilloscope to display the 4-channel voltage and 4-channel current signal data display charts, the 2-channel signal waveform display chart, the serial port number selection box, and the data saving option.
[0050] Although the above description of the specific implementation methods of the present invention is combined with the accompanying drawings, it does not limit the scope of protection of the present invention. Technical personnel in the relevant field should understand that on the basis of the technical solution of the present invention, various modifications or deformations that can be made by technical personnel in this field without creative work are still within the scope of protection of the present invention.
Claims
1. An oscilloscope data acquisition system based on LabVIEW, characterized in that: include: A lower computer and a LabVIEW upper computer; the lower computer includes a data acquisition module and a data processing module; The data acquisition module is composed of multiple data acquisition channels; the multiple data acquisition channels include at least 2 signal waveform acquisition channels, at least 4 voltage acquisition channels and at least 4 current acquisition channels; the data processing module includes an ADC sampling chip and a microcontroller; The input end of the voltage acquisition channel is connected to the signal source to be measured to collect voltage signals, the input end of the current acquisition channel is connected to the signal source to be measured to collect current signals, the output ends of the voltage acquisition channel and the current acquisition channel are connected to the input end of the ADC sampling chip, and the output end of the ADC sampling chip transmits the signal data to the microcontroller; The input end of the signal waveform acquisition channel is connected to the signal source to be measured to acquire the signal waveform, and the output end is directly connected to the ADC inside the microcontroller.
2. A LabVIEW-based oscilloscope data acquisition system as claimed in claim 1, characterized in that, The microcontroller of the data processing module controls the data acquisition module to collect signal data and transmits the processed signal data to the LabVIEW host computer.
3. A LabVIEW-based oscilloscope data acquisition system as claimed in claim 1, characterized in that: The lower computer also includes a serial communication module and a power supply module.
4. A LabVIEW-based oscilloscope data acquisition system as claimed in claim 3, characterized in that: The lower computer is powered by a power module, and the power module is connected to the serial communication module.
5. A LabVIEW-based oscilloscope data acquisition system as claimed in claim 4, characterized in that: The serial communication module includes a TYPE-C interface and a USB to serial port device, and is connected to the computer of the power module through the TYPE-C interface to provide power and establish communication.
6. A LabVIEW-based oscilloscope data acquisition system as claimed in claim 3, characterized in that: The LabVIEW host computer and the microcontroller are connected through a serial port communication module. The LabVIEW host computer sends instructions to the microcontroller through the serial port, and the microcontroller transmits signal data to the LabVIEW host computer through the serial port.
7. A LabVIEW-based oscilloscope data acquisition system as claimed in claim 3, characterized in that: The microcontroller is provided with a digital I / O port, which receives signal data collected by the data acquisition module and outputs the signal data to the serial communication module.
8. A LabVIEW-based oscilloscope data acquisition system as claimed in claim 1, characterized in that: The data processing module is also integrated with a signal processing circuit.
9. The LabVIEW-based oscilloscope data acquisition system according to claim 8, wherein: The signal processing circuit includes a voltage processing circuit, a current processing circuit and a signal waveform processing circuit.
10. The LabVIEW-based oscilloscope data acquisition system according to claim 1, wherein: The LabVIEW host computer includes an interface display module for displaying voltage and current data charts and signal waveform diagrams transmitted by the microcontroller.