Low-cost real-time multipath signal data acquisition and analysis device

By designing a low-cost data acquisition and analysis device that integrates power circuits, analog-to-digital conversion modules, main controllers and other components, the problems of high cost and low efficiency of multi-channel signal processing in the prior art are solved, real-time and efficient acquisition and analysis of multi-channel signals are realized, and user-friendly interface and powerful data processing capabilities are provided.

CN119922432APending Publication Date: 2025-05-02AVIC HUADONG OPTOELECTRONICS (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411670663.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-21
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

The existing data acquisition and analysis devices are cost-effective, low-efficiency, slow data transmission speed, unfriendly user interface when processing multiple signals, and have limitations in synchronous sampling, data cache, network transmission and graphical display, which cannot meet the high-precision and high-efficiency data acquisition requirements.

Method used

A low-cost real-time multi-channel signal data acquisition and analysis device is designed, integrating power circuits, signal input analog-to-digital conversion modules, main controllers, storage devices, network chips and display screens. Through synchronous sampling of analog-to-digital conversion modules and high-performance processing of main controllers, efficient processing and real-time display of multiple signals are achieved.

Benefits of technology

It realizes low-cost, real-time acquisition and analysis of multiple signals, reduces costs, improves the efficiency of data acquisition and analysis, provides a user-friendly interface and powerful data processing capabilities, and meets the high-precision and high-efficiency data acquisition needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119922432A_ABST
    Figure CN119922432A_ABST
Patent Text Reader

Abstract

The invention provides a low-cost real-time multipath signal data acquisition and analysis device, which comprises a power supply circuit, a signal input analog-to-digital conversion module, a main controller, a storage device, a network chip and a display screen, signals to be collected are connected to the analog-to-digital conversion module through the input port, after the analog-to-digital conversion module processes the signals, the main controller reads data processed by the analog-to-digital conversion module in a bus mode, and after the main controller stores the data into a cache, the data can be written into a storage device and can be sent out through a network port according to an agreed protocol data format. And the display screen is used for displaying the current sampling state, sampling frequency, sampling precision, sampling range, sampling mode and sampling channel. The method can be suitable for various application scenes, and the accuracy and convenience of data acquisition are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data acquisition and analysis, and more specifically, to a low-cost real-time multi-channel signal data acquisition and analysis device. Background Art

[0002] In the field of electronic measurement and data processing, with the continuous advancement of technology, the demand for real-time multi-channel signal data collection and analysis is growing. Traditional data acquisition systems are often costly, and have problems such as low efficiency, slow data transmission speed, and unfriendly user interface when processing multi-channel signals. In addition, existing systems also have certain limitations in synchronous sampling, data caching, network transmission, and graphical display, which restrict their widespread use in practical applications.

[0003] In the process of implementing the embodiments of the present invention, the inventors found that there are at least the following problems or defects in the prior art: the existing data acquisition and analysis devices often require complex hardware configuration and high costs when processing multi-channel signals, and lack flexibility and real-time performance in data transmission and display. In addition, the prior art also has deficiencies in the accuracy and stability of data acquisition, and cannot meet the growing demand for high-precision and high-efficiency data acquisition. Summary of the invention

[0004] The present invention provides a low-cost real-time multi-channel signal data acquisition and analysis device, comprising:

[0005] Power supply circuit, signal input analog-to-digital conversion module, main controller, storage device, network chip, display screen;

[0006] The signal to be collected is connected to the analog-to-digital conversion module through the input port. After the analog-to-digital conversion module processes the signal, the main controller reads the processed data from the analog-to-digital conversion module through the bus. After the main controller puts the data into the cache, it can write the data into the storage device and send the data through the network port in accordance with the agreed protocol data format. The display screen is used to display the current sampling status, sampling frequency, sampling accuracy, sampling range, sampling mode, and sampling channel.

[0007] Furthermore, the analog-to-digital conversion module includes analog input protection, anti-aliasing filtering, tracking and holding amplification, successive approximation mode conversion and digital filtering functions, synchronously samples multiple input analog signals, and converts them into digital signals for processing by the main control chip.

[0008] Furthermore, the main controller includes a high-performance processor, a large-capacity memory and a rich peripheral interface, reads the digital signal after analog-to-digital conversion through an internal bus, and performs data caching and processing operations.

[0009] Furthermore, the storage device is connected to the main control chip through a specific drive interface, and implements data read and write operations in conjunction with a file system, and is used to store data processed by the main control chip.

[0010] Furthermore, the display screen is connected to the main control chip via serial port communication, and is used to display the current sampling state, sampling frequency, sampling accuracy, sampling range, sampling mode, and sampling channel.

[0011] Furthermore, the network chip integrates Ethernet-related controllers, protocol stacks, transport layers and physical layers, as well as data storage, and uses UDP protocol to perform data upload and reception operations to achieve connection with an external network.

[0012] Furthermore, it also includes a host computer, which uses a self-programmed graphic GUI to receive data of the collected signal sent by the main control chip through a network interface, and displays it in the form of a waveform after processing and conversion.

[0013] Furthermore, the working process of the device includes:

[0014] After the start, the system is initialized, and then the analog-to-digital conversion module, storage device, display screen, and network chip are initialized. Then, the while loop is entered to wait for the falling edge of the sampling signal to be triggered. After the trigger, the sampling frequency is set for sampling, and then the data is read to determine whether to save the data. If so, the data is saved to the storage device.

[0015] At the same time, it determines whether the network connection is successful. If successful, UDP data upload operation is performed. Finally, the display screen displays the data and the process ends.

[0016] Furthermore, when the machine is powered on, the main control chip initializes each module, including setting the working mode, measurement range, and sampling frequency of each module.

[0017] Furthermore, the software process includes system initialization, analog-to-digital conversion module initialization, storage device initialization, display screen initialization, network chip initialization, setting sampling frequency sampling, data reading, UDP data upload, data saving, saving data to the storage device when the falling edge of the sampling signal is triggered, and the display screen displays the relevant sampling information.

[0018] According to the above-mentioned embodiments of the present invention, at least the following beneficial effects are achieved: the device can realize synchronous sampling and efficient processing of multiple signals by integrating key components such as power supply circuit, signal input analog-to-digital conversion module, main controller, storage device, network chip and display screen. The analog-to-digital conversion module has analog input protection, anti-aliasing filtering, tracking and holding amplification, successive approximation mode conversion and digital filtering functions, which can ensure the accuracy and stability of signal conversion. The high-performance processor and large-capacity memory of the main controller can quickly process large amounts of data, while the rich peripheral interfaces facilitate connection and data exchange with other devices. In addition, through the combination of a specific drive interface and a file system, the storage device can efficiently perform data read and write operations, while the network chip can realize fast connection and data transmission with an external network.

[0019] The addition of a display screen allows the device to display key information such as sampling status, frequency, accuracy, range, mode and channel in real time, which can improve the convenience and intuitiveness of user operation. The graphical GUI interface of the host computer can further enhance the data visualization processing capability, allowing users to understand and analyze the collected data more intuitively. Overall, the device can not only reduce costs and improve the efficiency of data collection and analysis, but also provide users with a more convenient and efficient data collection solution through its user-friendly interface and powerful data processing capabilities. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily understood by reading the detailed description below with reference to the accompanying drawings. In the accompanying drawings, several embodiments of the present invention are shown in an exemplary and non-limiting manner, in which:

[0021] Figure 1 A schematic diagram of the structure of a low-cost real-time multi-channel signal data acquisition and analysis device provided by an embodiment of the present invention;

[0022] Figure 2 A schematic diagram of a process flow of a low-cost real-time multi-channel signal data acquisition and analysis device provided by an embodiment of the present invention;

[0023] Figure 3 The schematic diagram schematically shows the structure of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided only to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. On the contrary, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.

[0025] Those skilled in the art know that the embodiments of the present invention can be implemented as a system, device, apparatus, method or computer program product. Therefore, the present invention can be specifically implemented in the following forms, namely: complete hardware, complete software (including firmware, resident software, microcode, etc.), or a combination of hardware and software.

[0026] It should be noted that any number of elements in the drawings is for illustration rather than limitation, and any naming is only for distinction and does not have any limiting meaning.

[0027] Reference below Figure 1 , Figure 1 A schematic diagram of the structure of a low-cost real-time multi-channel signal data acquisition and analysis device provided by an embodiment of the present invention. Figure 1 As shown, a low-cost real-time multi-channel signal data acquisition and analysis device 100 includes:

[0028] Power supply circuit, signal input analog-to-digital conversion module, main controller, storage device, network chip, display screen;

[0029] The signal to be collected is connected to the analog-to-digital conversion module through the input port. After the analog-to-digital conversion module processes the signal, the main controller reads the processed data from the analog-to-digital conversion module through the bus. After the main controller puts the data into the cache, it can write the data into the storage device and send the data through the network port in accordance with the agreed protocol data format. The display screen is used to display the current sampling status, sampling frequency, sampling accuracy, sampling range, sampling mode, and sampling channel.

[0030] It should be noted that the device includes key components such as power supply circuit, signal input analog-to-digital conversion module, main controller, storage device, network chip, display screen, etc. The power supply circuit provides a stable power supply for the entire device to ensure the normal operation of each module. The signal input analog-to-digital conversion module is responsible for converting analog signals into digital signals for subsequent processing. The main controller is the brain of the device and is responsible for coordinating the work of each module. The storage device is used to store the collected data, the network chip is responsible for the network transmission of the data, and the display screen is used to provide real-time sampling status information to the user.

[0031] Specifically, the power supply circuit can use a voltage stabilizer and a filter to ensure the stability and purity of the power supply. The signal input analog-to-digital conversion module usually includes an analog input protection circuit, an anti-aliasing filter, a tracking and holding amplifier, a successive approximation analog-to-digital converter, and a digital filter. These components work together to synchronously sample multiple input analog signals and convert them into digital signals for processing by the main control chip. The main controller can use a high-performance microprocessor, such as an ARM or x86 architecture chip, equipped with a large-capacity memory, such as SDRAM or Flash memory. The storage device can be a solid-state drive or an SD card to store data processed by the main control chip. The network chip can integrate an Ethernet controller, a protocol stack, a transport layer, and a physical layer, and support the UDP protocol for data upload and reception operations. The display screen can be an LCD or LED display screen, which is connected to the main control chip through serial communication to display the current sampling status, frequency, accuracy, range, mode, channel and other information.

[0032] Preferably, the sampling frequency of the analog-to-digital conversion module can be set according to the actual application requirements, for example, it can be set to a range of 1kHz to 1MHz to meet the sampling requirements of different signals. The design of the anti-aliasing filter can adopt Butterworth or Chebyshev filter to ensure that the high-frequency components of the signal are effectively suppressed. The digital filter can adopt a finite impulse response (FIR) or infinite impulse response (IIR) filter to further improve the quality of the signal. The capacity of the storage device can be selected according to the size of the data collection amount, for example, a storage capacity of 1GB to 1TB can be selected. The transmission rate of the network chip can be optimized according to the network environment, for example, it can support an Ethernet transmission rate of 10 / 100Mbps or 1Gbps. The resolution of the display screen can be selected according to the design of the user interface, for example, a resolution of 320x240 to 1920x1080 can be selected. In addition, other functional modules, such as temperature sensors, humidity sensors, etc., can be added as needed to expand the application range of the device.

[0033] In some embodiments, the analog-to-digital conversion module includes analog input protection, anti-aliasing filtering, tracking and holding amplification, successive approximation mode conversion and digital filtering functions, synchronously samples multiple input analog signals, and converts them into digital signals for processing by the main control chip.

[0034] It should be noted that the analog-to-digital conversion module is the key part of the device responsible for converting analog signals into digital signals. It includes several important functional units, such as analog input protection, anti-aliasing filtering, tracking and holding amplification, successive approximation mode conversion, and digital filtering. These functional units work together to ensure that multiple input analog signals can be sampled synchronously and converted into digital signals for further processing by the main control chip. Analog input protection can prevent the input signal from exceeding the input range of the analog-to-digital converter, thereby protecting the device from damage.

[0035] Specifically, analog input protection usually includes limiting circuits and overvoltage protection circuits, which can limit the amplitude of the input signal to prevent it from exceeding the linear operating range of the analog-to-digital converter. The anti-aliasing filter is a low-pass filter used to eliminate signal components higher than half the sampling frequency to avoid aliasing. The tracking and holding amplifier is used to maintain the instantaneous value of the signal at the moment of sampling so that the analog-to-digital converter can accurately convert. The successive approximation analog-to-digital converter is a commonly used analog-to-digital conversion technology that gradually approaches the actual digital value by comparing the input signal with the internal reference voltage. The digital filter is used to further process the converted digital signal to eliminate noise and interference. The specific parameter settings of these components, such as the cutoff frequency of the filter, the gain of the amplifier, the resolution of the analog-to-digital converter, etc., need to be optimized according to the needs of the actual application.

[0036] Preferably, the design of the anti-aliasing filter can adopt Butterworth or Chebyshev filters, which have good passband flatness and stopband attenuation characteristics. The gain of the tracking and holding amplifier can be adjusted according to the size of the input signal to ensure that the signal is within the input range of the analog-to-digital converter. The resolution of the successive approximation analog-to-digital converter can be selected according to the required accuracy, for example, a converter with 8-bit, 10-bit, 12-bit or higher resolution can be selected. The digital filter can adopt a finite impulse response (FIR) or infinite impulse response (IIR) filter to adapt to different signal processing requirements.

[0037] Furthermore, it is also possible to consider using differential input to improve the signal's anti-interference ability, or adopting multi-channel synchronous sampling technology to improve the synchronization of multiple signals. These alternatives can be selected and optimized according to the specific requirements of the actual application.

[0038] In some embodiments, the main controller includes a high-performance processor, a large-capacity memory, and a rich peripheral interface, reads the digital signal after analog-to-digital conversion through an internal bus, and performs data caching and processing operations.

[0039] It should be noted that the main controller is the core component of the device, responsible for coordinating and controlling the operation of the entire data acquisition and analysis device. It includes a high-performance processor, a large-capacity memory, and a rich peripheral interface. The high-performance processor is the brain of the main controller, responsible for performing complex computing tasks and data processing algorithms. The large-capacity memory is used to store the collected data and the code required to run the operating system and application programs. The peripheral interface allows the main controller to communicate with other modules in the device, such as analog-to-digital conversion modules, storage devices, network chips, and display screens.

[0040] Specifically, the high-performance processor can be an ARM architecture microprocessor, such as the Cortex-A series, or an x86 architecture processor, which can provide sufficient computing power to process multiple signal data. The large-capacity memory can be a synchronous dynamic random access memory (SDRAM) or a flash memory, and their capacity can be selected according to the needs of data acquisition. For example, 512MB to 4GB of SDRAM and 8GB to 128GB of Flash storage can be selected. The peripheral interface can include a universal asynchronous receiver / transmitter (UART), I2C, SPI, etc., which can be used to exchange data with analog-to-digital conversion modules, storage devices, etc. In addition, the main controller can also integrate a network interface, such as Ethernet or Wi-Fi, to support network transmission of data.

[0041] Preferably, the high-performance processor can be selected with multi-core processing capability to improve the parallelism and efficiency of data processing. The large-capacity memory can adopt a modular design to facilitate expansion and maintenance. The peripheral interface can adopt high-speed serial communication technology, such as USB 3.0 or PCIe, to increase the data transmission rate.

[0042] Furthermore, the main controller can also integrate a graphics processing unit (GPU) to support the rendering of graphical user interfaces and the visualization of data. At the software level, the main controller can run a real-time operating system (RTOS) to ensure the real-time and reliability of data acquisition and processing. For data processing algorithms, optimized library functions or hardware acceleration technology can be used to improve computing efficiency. These alternatives can be selected and optimized based on the needs and cost considerations of actual applications.

[0043] In some embodiments, the storage device is connected to the main control chip through a specific drive interface, and implements data read and write operations in conjunction with a file system, and is used to store data processed by the main control chip.

[0044] It should be noted that the storage device plays the role of persistent data storage in this device. It is connected to the main controller through a specific drive interface and uses the file system to implement data read and write operations. The storage device is not only used to save the data processed by the main controller, but may also involve data backup, retrieval and long-term storage. The specific drive interface refers to the hardware interface used to connect the storage device to the main controller, such as SATA, USB or SD card interface, while the file system is a data structure used to effectively store, organize, manage and access files on the storage device.

[0045] Specifically, the storage device can be a solid-state drive (SSD), a mechanical hard disk (HDD), a USB flash drive, or an SD card. The choice of these devices depends on the required storage capacity, data access speed, and durability. For example, if fast data access and high durability are required, a solid-state drive can be selected; if cost is the main consideration, a USB flash drive or an SD card can be selected. Specific drive interface parameter settings, such as the transfer rate of the SATA interface can be 3Gb / s, 6Gb / s, or 12Gb / s, and the USB interface can be USB 2.0 (480Mbps), USB 3.0 (5Gbps) or higher. The file system can be FAT32, NTFS, exFAT, or ext4, etc. These file systems have their own advantages and disadvantages. For example, FAT32 has good compatibility but limited capacity, while NTFS supports large-capacity storage and has more comprehensive functions. The capacity of the storage device can be selected according to the size of the data collection volume. For example, a storage capacity of 1GB to 1TB can be selected.

[0046] Preferably, in order to improve the reliability and redundancy of data, RAID (Redundant Array of Independent Disks) technology can be used to configure the storage device, such as RAID 1 (mirroring) or RAID 5 (distributed parity), which can protect data from loss when a storage device fails.

[0047] Furthermore, in order to improve the data read and write performance, caching technology can be considered, such as integrating DRAM cache in storage devices. At the software level, regular data backup and snapshot functions can be implemented to prevent data loss and provide data recovery possibilities. For data security, encryption technology can be used to protect data stored on the device. These alternatives can be selected and optimized based on the actual application needs and cost considerations.

[0048] In some embodiments, the display screen is connected to the main control chip via serial port communication, and is used to display the current sampling status, sampling frequency, sampling accuracy, sampling range, sampling mode, and sampling channel.

[0049] It should be noted that the display screen is used in the present device to provide the user with real-time sampling status information, including key parameters such as sampling frequency, sampling accuracy, sampling range, sampling mode and sampling channel. The display screen is connected to the main controller via serial communication, which allows data to be transmitted between the main controller and the display screen, thereby achieving real-time update and display of information. Serial communication is a common serial communication method that allows data to be transmitted bit by bit and is usually used to connect microcontrollers and peripheral devices.

[0050] Specifically, the display screen can be a liquid crystal display (LCD) or an organic light-emitting diode display (OLED), and these types of display screens are widely used due to their low power consumption, high contrast, and good viewing angles. Serial communication usually refers to standards such as RS-232, RS-485, or UART, which control the speed of data transmission by setting the baud rate (such as 9600, 19200, 38400 baud, etc.). The choice of baud rate needs to be determined based on the refresh rate of the display screen and the data processing capability of the main controller to ensure that the information can be updated in a timely manner. The display of sampling status information can include digital and graphical elements, such as charts, curves, or indicator lights, so that users can intuitively understand the current sampling situation.

[0051] Preferably, in order to improve the friendliness and ease of use of the user interface, the display screen can adopt touch screen technology, allowing the user to operate directly on the screen, such as adjusting sampling parameters or viewing historical data. In addition, the backlight of the display screen can adopt LED technology to improve brightness and life. When designing the user interface of the display screen, the graphical user interface (GUI) design principles can be adopted to ensure clear display of information and ease of operation. For serial port communication, hardware flow control (such as RTS / CTS) or software flow control (such as XON / XOFF) can be used to prevent data loss or overflow.

[0052] Furthermore, in some cases, if higher-speed data transmission is required, other serial communication protocols such as I2C or SPI can be considered as alternatives. These alternatives can be selected and optimized based on the needs and cost considerations of the actual application.

[0053] In some embodiments, the network chip integrates Ethernet-related controllers, protocol stacks, transport layers and physical layers, as well as data storage, and uses the UDP protocol for data upload and reception operations to achieve connection with an external network.

[0054] It should be noted that the network chip plays a vital role in this device. It is responsible for realizing the connection between the device and the external network and the upload and reception of data. The network chip integrates Ethernet-related controllers, protocol stacks, transport layers and physical layers, as well as data storage. These components work together to enable the device to perform efficient data communication through the UDP protocol. UDP (User Datagram Protocol) is a connectionless network protocol that allows data packets to be transmitted directly in the network without establishing a connection, which is very useful in real-time data transmission.

[0055] Specifically, the Ethernet controller is responsible for managing the basic functions of the network interface card (NIC), such as the sending and receiving of data packets. The protocol stack includes various layers in the TCP / IP protocol family, such as the IP layer, the transport layer, etc., which ensure the correct transmission of data in the network. The transport layer is responsible for handling the details of data transmission, such as the use of port numbers and the sorting of data packets. The physical layer involves the transmission of data on physical media, such as through twisted pair or optical fiber. The UDP protocol allows devices to send data packets to specific addresses and ports on the network without establishing and maintaining a complete connection, which makes data transmission faster, but may sacrifice the reliability of some data. The data memory of the network chip is used to temporarily store data packets to be sent or received to improve the efficiency of data processing.

[0056] Preferably, in order to improve the stability and reliability of network communication, network redundancy technology can be used, such as using a dual network card configuration, so as to automatically switch to a backup network when the primary network connection fails. In addition, a data packet confirmation and retransmission mechanism can be implemented to ensure the integrity and correctness of the data. During data transmission, data compression technology can be used to reduce the amount of data transmitted, thereby improving transmission efficiency.

[0057] Furthermore, for the selection of network chips, chips that support multiple network protocols can be considered, such as supporting both IPv4 and IPv6, to adapt to different network environments. In terms of network security, encrypted transmission and identity authentication mechanisms can be implemented to protect the security of data transmission. These alternatives can be selected and optimized based on the needs of actual applications and cost considerations.

[0058] In some embodiments, a host computer is also included. The host computer uses a self-programmed graphic GUI to receive data of the acquisition signal sent by the main control chip through a network interface, and displays it in the form of a waveform after processing and conversion.

[0059] It should be noted that the host computer plays the role of user interaction and data processing in this device. It uses a self-programmed graphical user interface (GUI) to receive the data of the collected signal sent by the main controller through the network interface. The host computer can not only process and convert the received data, but also intuitively display the data in the form of a waveform, providing users with an easy-to-understand and easy-to-operate data analysis platform. A graphical user interface is a software interface that displays information and accepts user input through graphic elements (such as icons, menus, windows, etc.), making user operation more intuitive and convenient.

[0060] Specifically, the graphical user interface of the host computer can be implemented using a variety of programming languages ​​and development tools, such as Python's Tkinter library, C++'s Qt framework, or Java's Swing library. These tools provide a wealth of controls and components for creating windows, charts, and other user interface elements. The network interface can be part of the TCP / IP protocol stack, which allows the host computer to receive data from the main controller via Ethernet. A waveform diagram is a commonly used graphical representation method for showing how a signal changes over time. It can provide information such as the amplitude, frequency, and phase of the signal. The host computer also needs to have data processing capabilities, such as filtering, Fourier transform, etc., to further analyze and process the collected signals.

[0061] Preferably, in order to improve the interactivity and response speed of the user interface, multithreading or asynchronous programming techniques can be used to process data reception and user interface updates, which can ensure that the user interface remains smooth and responsive when processing complex data.

[0062] Furthermore, the host computer can achieve real-time update and dynamic display of data, allowing users to monitor signal changes in real time. In terms of data processing, more advanced algorithms such as signal denoising, feature extraction, and pattern recognition can be integrated to provide more in-depth data analysis. In order to improve the security and integrity of data, data encryption and verification mechanisms can be implemented to ensure the security of data during transmission. In terms of user interface design, customized options can be provided to allow users to adjust the interface layout and display parameters according to their needs. These alternatives can be selected and optimized based on the needs of actual applications and cost considerations.

[0063] In some embodiments, the workflow of the device includes:

[0064] After the start, the system is initialized, and then the analog-to-digital conversion module, storage device, display screen, and network chip are initialized. Then, the while loop is entered to wait for the falling edge of the sampling signal to be triggered. After the trigger, the sampling frequency is set for sampling, and then the data is read to determine whether to save the data. If so, the data is saved to the storage device.

[0065] At the same time, it determines whether the network connection is successful. If successful, UDP data upload operation is performed. Finally, the display screen displays the data and the process ends.

[0066] It should be noted that the workflow of this device refers to the entire process from device startup to completion of data collection and analysis. This process includes system initialization, initialization of analog-to-digital conversion module, storage device, display screen, network chip, and entering a loop waiting for the falling edge of the sampling signal to trigger. Once triggered, the device will set the sampling frequency, read the data, determine whether to save the data to the storage device, check whether the network connection is successful, and perform UDP data upload operation if successful, and finally display the data on the display screen. This process ensures that the device can complete data collection and analysis tasks in an orderly and efficient manner.

[0067] Specifically, system initialization means that when the device starts, the main controller configures each module to ensure that they can work properly. This includes setting the sampling frequency of the analog-to-digital conversion module, the file system of the storage device, the display parameters of the display screen, and the network configuration of the network chip. The falling edge trigger of the sampling signal means that the device waits for a specific signal change to start data acquisition. This signal can be externally input or internally generated. Setting the sampling frequency means determining the sampling rate according to the characteristics of the signal to be collected to meet the requirements of the Nyquist theorem and avoid aliasing. Reading data means obtaining the converted digital signal from the analog-to-digital conversion module. Determining whether to save data to the storage device means deciding whether the data needs to be saved based on user settings or preset conditions. The UDP upload data operation means sending data to a specified server or host computer through the network for further processing or storage.

[0068] Preferably, in order to improve the response speed and data processing capability of the device, each module can be optimized and configured during the system initialization phase. For example, the sampling frequency of the analog-to-digital conversion module is preset to 10kHz to adapt to most application scenarios. When waiting for the falling edge of the sampling signal to be triggered, an interrupt-driven method can be used to reduce the CPU occupancy and improve efficiency. When reading data, DMA (direct memory access) technology can be used to reduce the burden on the CPU and increase the data transmission speed. When judging whether to save data to a storage device, an intelligent judgment logic can be set, for example, only data exceeding a preset threshold is saved to reduce the storage space occupied. In terms of network connection, an automatic reconnection mechanism can be implemented to ensure that data can still be successfully uploaded when the network is unstable. In addition, data compression technology can also be implemented to reduce the amount of data transmitted over the network and improve transmission efficiency. These alternatives can be selected and optimized based on the needs and cost considerations of actual applications.

[0069] The above-mentioned embodiments of the present invention have the following beneficial effects: the low-cost real-time multi-channel signal data acquisition and analysis device described in the present invention can realize real-time acquisition and analysis of multi-channel signals at a relatively low cost. The device can effectively process and store the collected data by integrating key components such as power supply circuit, signal input analog-to-digital conversion module, main controller, storage device, network chip and display screen, and transmit data through the network, while providing an intuitive user interface to display the current sampling status and parameters, thereby improving the efficiency and convenience of data acquisition.

[0070] The design of the analog-to-digital conversion module can synchronously sample multiple input analog signals and convert them into digital signals for processing by the main control chip, which can improve the accuracy and synchronization of signal processing. The high-performance processor and large-capacity memory of the main controller can quickly process large amounts of data, while the rich peripheral interfaces facilitate connection and data exchange with other devices.

[0071] The storage device is connected to the main control chip through a specific driver interface, and the data read and write operations are realized in combination with the file system, which can improve the reliability and efficiency of data storage. The integrated design of the network chip can realize fast connection and data transmission with the external network, and the addition of the display screen can display key information such as sampling status, frequency, accuracy, range, mode and channel in real time, which can improve the convenience and intuitiveness of user operation. The graphical GUI interface of the host computer further enhances the data visualization processing capability, allowing users to understand and analyze the collected data more intuitively.

[0072] Overall, these claims together constitute an efficient, reliable and user-friendly data acquisition and analysis system, which can be widely used in various occasions requiring real-time multi-channel signal processing.

[0073] like Figure 2 As shown, a low-cost real-time multi-channel signal data acquisition and analysis device 200 of some embodiments includes:

[0074] When the machine is powered on, the main control chip initializes each module, including setting the working mode, measurement range, and sampling frequency of each module.

[0075] It should be noted that when the device is powered on, the main control chip initializes each module, which is a key step in the device startup process. This initialization process includes setting the working mode, measurement range, sampling frequency and other parameters of each module to ensure that the device can start working according to the preset configuration. The working mode refers to the operation mode adopted by the module during operation, the measurement range refers to the range of signal strength or value that the module can handle, and the sampling frequency refers to the number of samples collected per second when the continuous signal is converted into a discrete signal in digital signal processing.

[0076] Specifically, the initialization process involves the configuration of key components such as analog-to-digital conversion modules, storage devices, display screens, and network chips. For example, the initialization of the analog-to-digital conversion module may include setting its operating mode to differential input or single-ended input, the measurement range may be set to -10V to 10V according to the expected size of the input signal, and the sampling frequency is set according to the highest frequency component of the signal, usually at least twice the highest frequency of the signal to meet the Nyquist sampling theorem. The initialization of the storage device may include formatting the storage medium and setting up the file system to facilitate data storage and retrieval. The initialization of the display screen may include setting parameters such as resolution, contrast, and brightness to ensure that the display effect is clear and visible. The initialization of the network chip may include configuring network parameters such as IP address, subnet mask, and gateway to ensure that the device can be correctly connected to the network.

[0077] Preferably, in order to improve the efficiency and accuracy of the initialization process, a series of initialization scripts or firmware can be preset in the main control chip, and these scripts or firmware contain standard configuration parameters of each module. When the device is started, the main control chip can automatically execute these scripts or firmware to quickly complete the initialization.

[0078] Furthermore, an interface can be provided to users, allowing them to customize initialization parameters according to specific application requirements, for example, to set the sampling frequency or measurement range through a simple configuration interface. In some cases, if the device needs to adapt to different working environments or signal characteristics, an intelligent initialization system can be designed that can automatically adjust the initialization parameters based on real-time signal analysis results. For example, if the frequency component of the input signal is detected to be lower than expected, the system can automatically reduce the sampling frequency to save resources. These alternatives can be selected and optimized based on the needs and cost considerations of the actual application.

[0079] In some embodiments, the software process includes system initialization, analog-to-digital conversion module initialization, storage device initialization, display screen initialization, network chip initialization, setting sampling frequency sampling, data reading, UDP data upload, data saving, and saving data to the storage device when the falling edge of the sampling signal is triggered, and the display screen displays relevant sampling information.

[0080] It should be noted that the software process refers to the steps and sequence of the software part of the device, which covers the entire process from system initialization to data acquisition, processing and display. This process ensures that the device can run efficiently according to the established logic, including key steps such as analog-to-digital conversion module initialization, storage device initialization, display initialization, network chip initialization, setting sampling frequency sampling, data reading, UDP uploading data, and data saving. When the falling edge of the sampling signal is triggered, the device will automatically save the data to the storage device and display the relevant sampling information on the display. This process is crucial for real-time monitoring and data analysis.

[0081] Specifically, each step of the software process needs to be carefully designed to ensure the accuracy and real-time performance of the data. For example, the initialization of the analog-to-digital conversion module may involve setting parameters such as sampling rate, input channel and gain, the initialization of the storage device may include formatting the storage medium and configuring the file system, the initialization of the display may require setting the resolution and refresh rate, and the initialization of the network chip may include configuring the network protocol and connection parameters. Set the sampling frequency Sampling refers to determining the sampling rate based on the characteristics of the signal to ensure the integrity of the signal and avoid aliasing. Data reading refers to obtaining the converted digital signal from the analog-to-digital conversion module, UDP uploading data refers to sending data to a designated server or host computer through the network, and data saving refers to storing the collected data in a storage device for subsequent analysis. The specific parameter settings of these steps need to be determined based on the needs of the actual application and the performance of the device.

[0082] Preferably, in order to improve the efficiency and reliability of the software process, multithreading or asynchronous processing technology can be used to perform multiple tasks in parallel, for example, data collection and network transmission can be performed simultaneously. In addition, real-time preprocessing of data, such as filtering and denoising, can be implemented to improve the quality of the data. In terms of data preservation, compression technology can be used to reduce the occupancy of storage space, while encrypted storage of data can be implemented to protect the security of the data. In terms of network transmission, more advanced network protocols, such as TCP, can be used to ensure the reliability of data transmission. In terms of user interface, real-time feedback and status indication can be provided so that the user can understand the working status of the device in a timely manner. In terms of error handling and exception management, automatic retry mechanism and error logging can be implemented to improve the robustness of the system.

[0083] Reference below Figure 3, which shows a schematic diagram of a structure 300 of an electronic device suitable for implementing some embodiments of the present invention. The electronic devices in some embodiments of the present invention may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 3 The terminal device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0084] like Figure 3 As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 302 or a program loaded from a storage device 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for the operation of the electronic device 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.

[0085] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0086] Furthermore, the storage medium of the embodiment of the present application stores program instructions that can implement all the above methods, wherein the program instructions can be stored in the above storage medium in the form of a software product, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or terminal devices such as a computer, a server, a mobile phone, and a tablet.

[0087] The above descriptions are only some preferred embodiments of the present invention and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present invention is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the embodiments of the present invention to form a technical solution.

Claims

1. A low-cost real-time multi-channel signal data acquisition and analysis device, characterized in that: It includes power supply circuit, signal input analog-to-digital conversion module, main controller, storage device, network chip and display screen; The signal to be collected is connected to the analog-to-digital conversion module through the input port. After the analog-to-digital conversion module processes the signal, the main controller reads the processed data from the analog-to-digital conversion module through the bus. After the main controller puts the data into the cache, it can write the data into the storage device and send the data through the network port in accordance with the agreed protocol data format. The display screen is used to display the current sampling status, sampling frequency, sampling accuracy, sampling range, sampling mode, and sampling channel.

2. A low-cost real-time multi-channel signal data acquisition and analysis device according to claim 1, characterized in that: The analog-to-digital conversion module includes analog input protection, anti-aliasing filtering, tracking and holding amplification, successive approximation mode conversion and digital filtering functions, synchronously samples multiple input analog signals, and converts them into digital signals for processing by the main control chip.

3. A low-cost real-time multi-channel signal data acquisition and analysis device according to claim 1, characterized in that: The main controller includes a high-performance processor, a large-capacity memory and a rich peripheral interface. It reads the digital signal after analog-to-digital conversion through an internal bus and performs data caching and processing operations.

4. A low-cost real-time multi-channel signal data acquisition and analysis device according to claim 1, characterized in that: The storage device is connected to the main control chip through a specific drive interface, and realizes data read and write operations in combination with the file system, and is used to store data processed by the main control chip.

5. The low-cost real-time multi-channel signal data acquisition and analysis device according to claim 1, characterized in that: The display screen is connected to the main control chip via serial port communication and is used to display the current sampling state, sampling frequency, sampling accuracy, sampling range, sampling mode, and sampling channel.

6. A low-cost real-time multi-channel signal data acquisition and analysis device according to claim 1, characterized in that: The network chip integrates Ethernet-related controllers, protocol stacks, transport layers and physical layers, as well as data storage, and uses the UDP protocol to perform data upload and reception operations to achieve connection with an external network.

7. The low-cost real-time multi-channel signal data acquisition and analysis device according to claim 1, characterized in that: It also includes a host computer, which adopts a self-programmed graphic GUI, receives data of the acquisition signal sent by the main control chip through a network interface, and displays it in the form of a waveform after processing and conversion.

8. The low-cost real-time multi-channel signal data acquisition and analysis device according to claim 1, characterized in that: The working process of the device includes: After the start, the system is initialized, and then the analog-to-digital conversion module, storage device, display screen, and network chip are initialized. Then, the while loop is entered to wait for the falling edge of the sampling signal to be triggered. After the trigger, the sampling frequency is set for sampling, and then the data is read to determine whether to save the data. If so, the data is saved to the storage device. At the same time, it determines whether the network connection is successful. If successful, UDP data upload operation is performed. Finally, the display screen displays the data and the process ends.

9. The low-cost real-time multi-channel signal data acquisition and analysis device according to claim 1, characterized in that: When the machine is powered on, the main control chip initializes each module, including setting the working mode, measurement range, and sampling frequency of each module.

10. The low-cost real-time multi-channel signal data acquisition and analysis device according to claim 1, characterized in that: The software process includes system initialization, analog-to-digital conversion module initialization, storage device initialization, display initialization, network chip initialization, setting sampling frequency sampling, data reading, UDP data upload, data storage, and saving data to the storage device when the sampling signal falling edge is triggered. At the same time, the display shows the relevant sampling information.