Multi-channel acquisition device

By using the control module to perform time-sharing acquisition and software filtering processing in the multi-channel acquisition device, the ADC acquisition module is easily affected by industrial frequency interference and low hardware filtering accuracy, and high-precision multi-channel acquisition is achieved and hardware resources are saved.

CN222192345UActive Publication Date: 2024-12-17WUHAN JINGNENG ELECTRONIC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323418560.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-13
Publication Date
2024-12-17
Estimated Expiration
2033-12-13

AI Technical Summary

Technical Problem

The ADC acquisition module in the multi-channel acquisition device is susceptible to power frequency interference. The existing hardware filtering measures have low acquisition accuracy and occupy a lot of hardware resources, and may have mutual interference.

Method used

Design a multi-channel acquisition device, using a control module to transmit data and enable signals through different types of interfaces, provide independent enable signals for each ADC acquisition module, realize time-sharing acquisition, and perform software filtering processing in the control module , avoid hardware filtering.

Benefits of technology

The acquisition accuracy of the multi-channel acquisition device is improved, hardware resources are saved, and mutual interference between the multi-channel ADC converters is avoided.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222192345U_ABST
    Figure CN222192345U_ABST
Patent Text Reader

Abstract

The utility model discloses a multipath acquisition device. The acquisition device comprises at least one ADC acquisition module which is used for acquiring multiple paths of external input quantities, converting the multiple paths of external input quantities and outputting conversion data; the control module is used for generating an enable signal to enable the ADC acquisition module and receiving the conversion data; wherein the control module is provided with a first-type interface and at least one second-type interface, each ADC acquisition module is connected with the first-type interface, each ADC acquisition module is correspondingly connected with one second-type interface, the second-type interface is not connected with other ADC acquisition modules, the first-type interface is used for receiving the conversion data, and the second-type interface is used for receiving the conversion data. And the second type interface is used for transmitting an enable signal so as to realize time-sharing acquisition of multiple paths of external input quantities. According to the multi-channel acquisition device disclosed by the utility model, the acquisition precision of the multi-channel acquisition device is improved, hardware resources are saved, and mutual interference of the multi-channel ADC converters in the acquisition process is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model belongs to the technical field of data acquisition, and in particular relates to a multi-channel acquisition device. Background Art

[0002] The ADC acquisition module in the multi-channel acquisition device is susceptible to power frequency interference when acquiring external input quantities. In the prior art, the above problem is often solved at the hardware level, such as adding a filtering circuit in the front stage of the ADC acquisition module. However, the hardware filtering measure has the problem of low acquisition accuracy, and at the same time, it occupies more hardware resources when acquiring multiple external input quantities and may cause mutual interference. Utility Model Content

[0003] Therefore, in view of the above defects of the prior art, the present invention provides a multi-channel acquisition device, which aims to improve the acquisition accuracy of the multi-channel acquisition device, save hardware resources and avoid mutual interference between multi-channel ADC acquisition modules during the acquisition process.

[0004] To achieve the above object, the utility model provides a multi-channel acquisition device, comprising:

[0005] At least one ADC acquisition module, used for acquiring multiple external input quantities, converting the multiple external input quantities, and outputting conversion data;

[0006] A control module, used for generating an enable signal to enable the ADC acquisition module and receive the conversion data;

[0007] Among them, the control module has a first type interface and at least one second type interface, each ADC acquisition module is connected to the first type interface, each ADC acquisition module is correspondingly connected to one second type interface, and the second type interface is not connected to other ADC acquisition modules, the first type interface is used to receive the conversion data, and the second type interface is used to transmit the enable signal, so as to realize time-sharing acquisition of multiple external input quantities.

[0008] Preferably, the control module is further used to generate a clock signal, and transmit the clock signal to each ADC acquisition module through the first type interface.

[0009] Preferably, the ADC acquisition module is further used to generate a flag signal indicating that the conversion is completed.

[0010] Preferably, the ADC acquisition module is also correspondingly connected to another second-type interface, which is not connected to the other ADC acquisition modules and is used to transmit the flag signal to the control module through the second-type interface.

[0011] Preferably, the first type interface is a SPI bus interface.

[0012] Preferably, the second type interface is a serial port.

[0013] Preferably, the control module further includes a third type interface for communicating with a host computer.

[0014] Preferably, the third type interface is a CAN bus interface.

[0015] Preferably, the control module model is HC32F460JETA single chip microcomputer.

[0016] Preferably, the ADC acquisition module model is SGM58601XTQK28G / TR converter.

[0017] Preferably, the multi-channel acquisition device also includes a CAN isolation chip for connecting to the CAN bus interface and the host computer.

[0018] The utility model provides a multi-channel acquisition device, comprising a multi-channel ADC acquisition module and a control module. The control module uses different types of interfaces to transmit data and enable signals, and provides an independent enable signal for each ADC acquisition module, so as to realize the time-sharing acquisition of multiple external input quantities. In addition, the control module processes the data converted by the ADC module and uploads it to the host computer. The above design improves the acquisition accuracy of the multi-channel acquisition device, saves hardware resources, and avoids mutual interference of multiple ADC converters during the acquisition process. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 It is a schematic diagram of the framework of a multi-channel acquisition device provided by an embodiment of the utility model.

[0020] Figure 2 It is a circuit structure diagram of a multi-channel acquisition device provided by an embodiment of the utility model. DETAILED DESCRIPTION

[0021] In order to make the purpose, technical solution and advantages of the utility model more clear, the utility model is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the utility model and are not used to limit the utility model. In addition, the technical features involved in each embodiment of the utility model described below can be combined with each other as long as they do not conflict with each other.

[0022] As described in the background technology, the ADC acquisition module in the multi-channel acquisition device is susceptible to power frequency interference when acquiring external input quantities. In the prior art, the above problem is often solved at the hardware level, such as adding a filtering circuit in the front stage of the ADC acquisition module. However, the hardware filtering measure has the problem of low acquisition accuracy, and at the same time, it occupies more hardware resources when acquiring multiple external input quantities and may cause mutual interference.

[0023] To this end, the utility model provides a multi-channel acquisition device, including a multi-channel ADC acquisition module and a control module. The control module uses different types of interfaces to transmit data and enable signals, and provides an independent enable signal for each ADC acquisition module, so as to realize the time-sharing acquisition of multiple external input quantities. In addition, the control module performs software filtering on the data converted by the ADC module and uploads it to the host computer. The above design improves the acquisition accuracy of the multi-channel acquisition device, saves hardware resources, and avoids mutual interference of multiple ADC converters during the acquisition process.

[0024] See also Figure 1 , the multi-channel acquisition device includes:

[0025] At least one ADC acquisition module, used for acquiring multiple channels of external input quantities, converting the multiple channels of external input quantities, and outputting conversion data;

[0026] A control module, used for generating an enable signal to enable multiple ADC acquisition modules and receive conversion data, wherein the control module has a first type interface and at least one second type interface. The control module has a first type interface and at least one second type interface, each ADC acquisition module is connected to the first type interface, each ADC acquisition module is correspondingly connected to one second type interface, and the second type interface is not connected to other ADC acquisition modules, the first type interface is used to receive the conversion data, and the second type interface is used to transmit the enable signal.

[0027] In an optional embodiment, the control module further includes a third type interface for communicating with a host computer to upload the collected and converted data; preferably, the third type interface is a CAN bus interface. Optionally, the host computer may be a computer.

[0028] In an optional embodiment, the multi-channel data acquisition device further includes a CAN isolation chip for connecting to a CAN bus interface.

[0029] Optionally, the ADC acquisition module model is SGM58601XTQK28G / TR.

[0030] Optionally, the control module model may be HC32F460JETA.

[0031] In an optional embodiment, the control module is further used to generate a clock signal and transmit it to each ADC acquisition module through the first type interface, wherein the clock signal is used to ensure that the data transmission and reception of the control module and the ADC acquisition module remain synchronized.

[0032] In an optional embodiment, the ADC acquisition module is further used to generate a flag signal indicating that data conversion is completed.

[0033] In an optional embodiment, the ADC acquisition module is also correspondingly connected to another second-type interface, which is not connected to other ADC acquisition modules and is used to transmit the flag signal to the control module through the second-type interface.

[0034] In an optional embodiment, the first type of interface is a SPI bus interface.

[0035] In an optional embodiment, the second type of interface is a serial port.

[0036] Figure 2 A circuit structure diagram of a multi-channel acquisition device provided by an embodiment of the utility model. Specifically, the ADC acquisition module has an analog input port, a digital input port Din, a digital output port Dout, and an enable port CS. The analog input port is used to receive multiple external inputs, the data output bus SPI_MOSI in the SPI bus interface is connected to the digital input port Din of the ADC acquisition module, and the control module sends configuration information to the ADC acquisition module through the data output bus; the data input bus SPI_MISO in the SPI bus interface is connected to the digital output port Dout of the ADC acquisition module, and the control module receives conversion data from the ADC acquisition module through the data input bus; the clock bus SPI_Clk in the SPI bus interface is connected to the clock port Clk of the ADC acquisition module; the enable port CS of each ADC acquisition module is connected to a serial port, and the control module sends an enable signal to the enable port CS of the ADC module through the serial port; each ADC acquisition module also has a conversion completion flag port Busy, and the flag signal generated by the ADC acquisition module is transmitted to the control module through the serial port. The above structure can realize the time-division acquisition of multiple ADC acquisition modules.

[0037] The utility model also provides a multi-channel acquisition method. Specifically, the number of multi-channel ADC acquisition modules is set according to the requirements. Figure 1 The multi-channel acquisition method is explained.

[0038] Step 1: Set the acquisition time of each ADC acquisition module, and the acquisition time of each ADC acquisition module is the same. Specifically, the acquisition time is selected according to the sampling period of the ADC acquisition module, wherein the time is greater than the sampling period of the ADC acquisition module. Optionally, to ensure that the acquisition time of each ADC acquisition module is the same, a 1ms timer can be used for timing, in which there are no other tasks, and the interrupt priority is high and is not easily interrupted.

[0039] Step 2: Perform an average filtering operation on every ten consecutive data collected by each ADC acquisition module.

[0040] Step 3: Process the filtered data and upload it. Specifically, the processing step includes: converting the filtered data into floating point numbers and performing common mode compensation calculation.

[0041] The utility model discloses a multi-channel acquisition device. The acquisition device includes: at least one ADC acquisition module, which is used to acquire multiple external input quantities, and convert the multiple external input quantities and output conversion data; a control module, which is used to generate an enable signal to enable the ADC acquisition module and receive conversion data; wherein the control module has a first type interface and at least one second type interface, each ADC acquisition module is connected to the first type interface, each ADC acquisition module is correspondingly connected to a second type interface, and the second type interface is not connected to other ADC acquisition modules, the first type interface is used to receive the conversion data, and the second type interface is used to transmit the enable signal, so as to realize the time-sharing acquisition of multiple external input quantities. The multi-channel acquisition device disclosed by the utility model improves the acquisition accuracy of the multi-channel acquisition device, saves hardware resources, and avoids mutual interference of multiple ADC converters during the acquisition process.

[0042] The contents described in this specification are merely examples of the present invention. Technicians in the technical field to which the present invention belongs can make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the contents of the present invention specification or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.

Claims

1. A multi-channel acquisition device, characterized in that: include: At least one ADC acquisition module, used for acquiring multiple external input quantities, converting the multiple external input quantities, and outputting conversion data; A control module, used for generating an enable signal to enable the ADC acquisition module and receive the conversion data; Among them, the control module has a first type interface and at least one second type interface, each ADC acquisition module is connected to the first type interface, each ADC acquisition module is correspondingly connected to one second type interface, and the second type interface is not connected to other ADC acquisition modules, the first type interface is used to receive the conversion data, and the second type interface is used to transmit the enable signal, so as to realize time-sharing acquisition of multiple external input quantities.

2. The multi-channel data acquisition device according to claim 1, characterized in that: The control module is further used to generate a clock signal, and transmit the clock signal to each ADC acquisition module through the first type interface.

3. The multi-channel data acquisition device according to claim 1, characterized in that: The ADC acquisition module is also used to generate a flag signal indicating that the conversion is completed.

4. The multi-channel data acquisition device according to claim 3, characterized in that: The ADC acquisition module is also correspondingly connected to another second-type interface, which is not connected to other ADC acquisition modules and is used to transmit the flag signal to the control module through the second-type interface.

5. The multi-channel data acquisition device according to claim 1, characterized in that: The first type of interface is a SPI bus interface.

6. The multi-channel data acquisition device according to claim 1, characterized in that: The second type interface is a serial port.

7. The multi-channel data acquisition device according to claim 1, characterized in that: The control module also includes a third type interface for communicating with a host computer.

8. The multi-channel data acquisition device according to claim 7, characterized in that: The third type of interface is a CAN bus interface.

9. The multi-channel data acquisition device according to claim 1, characterized in that: The control module model is HC32F460JETA single chip microcomputer.

10. The multi-channel data acquisition device according to claim 1, characterized in that: The ADC acquisition module model is SGM58601XTQK28G / TR converter.

11. The multi-channel data acquisition device according to claim 8, characterized in that: The multi-channel acquisition device also includes a CAN isolation chip, which is used to connect with the CAN bus interface and the host computer.