CN117579505A - Data acquisition system of Modbus equipment - Google Patents

Data acquisition system of Modbus equipment Download PDF

Info

Publication number
CN117579505A
CN117579505A CN202311477089.6A CN202311477089A CN117579505A CN 117579505 A CN117579505 A CN 117579505A CN 202311477089 A CN202311477089 A CN 202311477089A CN 117579505 A CN117579505 A CN 117579505A
Authority
CN
China
Prior art keywords
data
data acquisition
module
interface
protocol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311477089.6A
Other languages
Chinese (zh)
Inventor
陈智梁
朱丽晓
李镇
郭波
李勇
王伟浩
马文华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Energy Group Xinjiang Jilin Tai Hydropower Development Co ltd
Original Assignee
State Energy Group Xinjiang Jilin Tai Hydropower Development Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Energy Group Xinjiang Jilin Tai Hydropower Development Co ltd filed Critical State Energy Group Xinjiang Jilin Tai Hydropower Development Co ltd
Priority to CN202311477089.6A priority Critical patent/CN117579505A/en
Publication of CN117579505A publication Critical patent/CN117579505A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The invention discloses a data acquisition system of Modbus equipment, which comprises a singlechip main controller, wherein the singlechip main controller is in signal connection with an upper computer, a Modbus communication protocol is arranged between the singlechip main controller and a gateway of the upper computer, a serial port of the singlechip main controller and the upper computer perform data transmission through the Modbus communication protocol, and the singlechip main controller transmits various acquired data to the upper computer for display through signals. According to the data acquisition module provided by the invention, the communication protocols corresponding to different sensors are arranged for the data acquisition channels, so that the sensor output signals belonging to the same type can be transmitted in a time-sharing manner, the time-sharing multiplexing of the data acquisition channels is realized, the configuration complexity of the data acquisition equipment is reduced, and the data acquisition module can transmit various sensor output signals, so that the universality of the data acquisition equipment is improved.

Description

Data acquisition system of Modbus equipment
Technical Field
The invention belongs to the technical field of data acquisition, and particularly relates to a data acquisition system of Modbus equipment.
Background
Among the numerous device communication protocols, the modbus protocol is the most widely applied protocol, and can be used for low-speed 232 and 485 communication and high-speed Ethernet communication, and in an acquisition system, the device applying the modbus protocol is quite wide. Therefore, a method for adding the modbus equipment in a self-defining manner in the data acquisition system is constructed, and clients can add the modbus equipment in a self-defining manner.
However, in the existing data acquisition device, the data input interface type is single, the sensors with different interface types need the data acquisition modules with different interfaces to be matched for use, the communication protocols of the sensors of various devices are different, and the application system needs to develop various communication systems for ensuring the normal communication, so that various communication systems are crossed, and the reliability is reduced and the complexity is increased.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention aims to provide a data acquisition system of Modbus equipment, which has the advantage of realizing acquisition of output signals of various sensors.
In order to achieve the above purpose, the present invention provides the following technical solutions: the utility model provides a data acquisition system of Modbus equipment, includes singlechip master controller, singlechip master controller signal connection has the host computer, be provided with the Modbus communication protocol between the gateway of singlechip master controller and host computer, singlechip master controller serial ports and host computer carry out data transmission through the Modbus communication protocol, singlechip master controller shows on passing through signal transmission to the host computer with various data that gather.
The single chip microcomputer main controller comprises a data acquisition module, a data analysis module, a data processing module and a data storage module, wherein the data acquisition module is in signal connection with the data analysis module, the data analysis module is in signal connection with the data processing module, the data processing module is in signal connection with the data storage module, and data obtained by the modules contained in the single chip microcomputer main controller are transmitted to the upper computer for display.
Through the technical scheme, transmission connection among various data is realized, and the data can be collected and integrated from different sources through the data transmission connection so as to carry out data analysis and decision support.
Preferably, the data acquisition module comprises a microprocessor, a reusable data acquisition channel, a memory expansion module and an interface module, wherein the microprocessor is respectively connected with the reusable data acquisition channel, the memory expansion module and the interface module, the reusable data acquisition channel is defined with different communication protocols, the corresponding communication protocols are selected according to the actual test requirements, different output signals with the same output signal types are transmitted through the same data acquisition channel by using the selected communication protocols, the upper computer is connected with the data acquisition device through a port of the USB interface module, the data acquisition device is communicated with the upper computer through the USB interface module, and the reusable data acquisition channel comprises a reusable analog data acquisition channel, a reusable switch data acquisition channel and a reusable digital data acquisition channel, and the reusable analog data acquisition channel is used for transmitting the output signals of the sensor.
Through the technical scheme, the effect of data acquisition is realized, and the sensor output signals belonging to the same type can be transmitted in a time-sharing manner by setting the communication protocols corresponding to different sensors for the data acquisition channel, so that the time-sharing multiplexing of the data acquisition channel is realized, the configuration complexity of the data acquisition equipment is reduced, and the data acquisition module can transmit various sensor output signals, so that the universality of the data acquisition equipment is improved.
Through the technical scheme, the effect of image display of the data is achieved, real-time and accurate data required by decision making can be provided through data display, data insight can be quickly obtained through visual charts and visualization tools, different selected effects are evaluated, and decision making based on the data is made.
Preferably, the data processing module comprises an image real-time display module, a characteristic index display module and a data characteristic index evaluation, after the data acquisition is completed, the data dynamic change is required to be displayed through the image real-time display module in the data processing module, abnormal data is marked and judged through the characteristic index display module, and whether the overall data reach a normal level is processed through the data characteristic index evaluation.
Through the technical scheme, the data processing is realized, and the data can be observed better.
Preferably, the data management module comprises a fixed modbus protocol sensor, a hardware interface, a non-modbus protocol sensor and an analog-to-digital conversion part, wherein the sensor of the fixed communication protocol is directly connected with the hardware interface part, the hardware interface part is used for interfacing different communication protocols, the sensor of the non-communication protocol characterizes physical change through voltage change, and the analog-to-digital conversion part is used for converting analog quantity of the voltage change into digital quantity.
Through the technical scheme, the management of data is realized, a plurality of data interfaces are provided for the sensor with the self-communication protocol, a high-precision analog-to-digital conversion function is provided for the sensor without the communication protocol, the compatible data acquisition of the plurality of sensors is realized, the universality of the equipment is greatly improved, and the data acquisition cost is reduced.
Preferably, the data storage module comprises a multiprotocol configurator, the data storage module is responsible for storing the acquired and processed results into a database, the multiprotocol configurator is responsible for scheduling the multiprotocol controller, calculating various reading result calls, writing the acquired data into the database, controlling a communication result display to reflect the running condition of the system and providing an external call interface to provide data for the extended application, the multiprotocol configurator is in communication connection with a data auditing interface, the data auditing interface is used for auditing the data transmitted to the multiprotocol configurator, the multiprotocol configurator is in communication connection with a storage database interface, the storage database interface is in communication connection with a database, the data is transmitted into the database through the storage database interface, the multiprotocol configurator is in communication connection with a data storage monitoring interface and a data equipment service interface respectively, and the data storage monitoring interface and the data equipment service interface monitor and service the multiprotocol configurator during working, and the normal running of the multiprotocol configurator is protected.
Through the technical scheme, the data storage is realized, the collected data is stored and protected, the data storage can be used for backing up important data so as to prevent the data from being lost or damaged, the data can be ensured to be safe by periodically backing up the data, and the data can be quickly restored when needed.
Compared with the prior art, the invention has the beneficial effects that:
1. according to the data acquisition module provided by the invention, the communication protocols corresponding to different sensors are arranged for the data acquisition channels, so that the sensor output signals belonging to the same type can be transmitted in a time-sharing manner, the time-sharing multiplexing of the data acquisition channels is realized, the configuration complexity of the data acquisition equipment is reduced, and the data acquisition module can transmit various sensor output signals, so that the universality of the data acquisition equipment is improved.
2. The data management module provides various data interfaces for the sensor with the self-communication protocol, provides a high-precision analog-to-digital conversion function for the sensor without the communication protocol, realizes compatible data acquisition of various sensors, greatly improves the universality of equipment and reduces the data acquisition cost.
3. The data storage module stores and protects the collected data, the data storage can be used for backing up important data so as to prevent the data from being lost or damaged, and the data can be ensured to be safe by regularly backing up the data and be recovered quickly when needed.
Drawings
FIG. 1 is a schematic diagram of the structure of a singlechip master controller according to the present invention;
FIG. 2 is a schematic diagram of a data acquisition module according to the present invention;
FIG. 3 is a schematic diagram of a data processing module according to the present invention;
FIG. 4 is a schematic diagram of a data management module according to the present invention;
FIG. 5 is a schematic diagram of a data storage module according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1-5, the present invention provides a technical solution: the utility model provides a data acquisition system of Modbus equipment, includes singlechip master controller, singlechip master controller signal connection has the host computer, be provided with the Modbus communication protocol between the gateway of singlechip master controller and host computer, singlechip master controller serial ports and host computer carry out data transmission through the Modbus communication protocol, singlechip master controller shows on passing through signal transmission to the host computer with various data that gather.
The single chip microcomputer main controller comprises a data acquisition module, a data analysis module, a data processing module and a data storage module, wherein the data acquisition module is in signal connection with the data analysis module, the data analysis module is in signal connection with the data processing module, the data processing module is in signal connection with the data storage module, and data obtained by the modules contained in the single chip microcomputer main controller are transmitted to the upper computer for display.
In this embodiment, through the transmission between singlechip main control unit and the host computer, singlechip main control unit serial ports and host computer carry out data transmission through Modbus communication protocol, and singlechip main control unit passes through signal transmission with various data of gathering and shows on the host computer.
Specifically, the data acquisition module comprises a microprocessor, a multiplexing data acquisition channel, a memory expansion module and an interface module, wherein the microprocessor is respectively connected with the multiplexing data acquisition channel, the memory expansion module and the interface module, the multiplexing data acquisition channel is defined with different communication protocols, the corresponding communication protocols are selected according to the actual test requirements, different output signals with the same output signal type are transmitted through the same data acquisition channel by using the selected communication protocols, the upper computer is connected with the data acquisition device through a port of the USB interface module, the data acquisition device is communicated with the upper computer through the USB interface module, the multiplexing data acquisition channel comprises a multiplexing analog data acquisition channel, a multiplexing switching value data acquisition channel and a multiplexing digital data acquisition channel, and the multiplexing analog data acquisition channel is used for transmitting the output signals of the sensor.
In this embodiment, the data acquisition module is used for performing data acquisition of the modbus device, the microprocessor is respectively connected with the reusable data acquisition channel, the memory expansion module and the interface module, different communication protocols are defined through the reusable data acquisition channel, the corresponding communication protocols are selected according to the actual test requirements, different output signals with the same output signal type are transmitted through the same data acquisition channel by using the selected communication protocols, after data are obtained, the data acquisition device is connected with the port of the USB interface module through the upper computer, and the data acquisition device is communicated with the upper computer through the USB interface module to transmit the data to the upper computer.
Specifically, the data processing module comprises an image real-time display module, a characteristic index display module and a data characteristic index evaluation, after data acquisition is completed, the data dynamic change is required to be displayed through the image real-time display module in the data processing module, abnormal data is marked and judged through the characteristic index display module, and whether the overall data reach a normal level is processed through the data characteristic index evaluation.
In this embodiment, after data acquisition is completed, the dynamic change of the data is displayed by the image real-time display module in the data processing module, abnormal data is marked and judged by the characteristic index display module, and the overall data is processed by data characteristic index evaluation, so that whether the overall data reaches a normal level or not is judged.
Specifically, the data management module comprises a fixed modbus protocol sensor, a hardware interface, a non-modbus protocol sensor and an analog-to-digital conversion part, wherein the sensor of the fixed communication protocol is directly connected with the hardware interface part, the hardware interface part is used for interfacing different communication protocols, the sensor of the non-communication protocol characterizes physical change through voltage change, and the analog-to-digital conversion part converts the analog quantity of the voltage change into digital quantity.
In this embodiment, data management is performed on the data that completes the data processing module, the hardware interface portion interfaces for different communication protocols, the sensor without the communication protocol characterizes the physical change through the voltage change, and the analog-to-digital conversion portion converts the analog quantity of the voltage change into the digital quantity.
Specifically, the data memory module comprises a multiprotocol configurator, the data memory module is responsible for storing acquired and processed results into a database, the multiprotocol configurator is responsible for scheduling the multiprotocol controller, calculating various reading result calls, acquiring the data memory, writing the data memory into the database, controlling a communication result display to reflect the running condition of the system and providing an external call interface to provide data for extended application, the multiprotocol configurator is in communication connection with a data auditing interface, the data auditing interface is used for auditing data transmitted to the multiprotocol configurator, the multiprotocol configurator is in communication connection with a storage database interface, the storage database interface is in communication connection with a database, the data is transmitted to the database through the storage database interface, the multiprotocol configurator is in communication connection with a data storage monitoring interface and a data equipment service interface respectively, and the data storage monitoring interface and the data equipment service interface monitor and service the multiprotocol configurator during working, so that the normal running of the multiprotocol configurator is protected.
In this embodiment, the data of the completed data processing module is stored, the multiprotocol controller is responsible for scheduling, calculating various reading result calls through the multiprotocol configurator, the collected data memory is written into the database, the communication result display is controlled to reflect the running condition of the system, and an external call interface is provided to provide data for the extended application.
The working principle and the using flow of the invention are as follows: firstly, data acquisition of a modbus device is carried out through a data acquisition module, a microprocessor is respectively connected with a reusable data acquisition channel, a memory expansion module and an interface module, different communication protocols are defined through the reusable data acquisition channel, corresponding communication protocols are selected according to actual testing requirements, different output signals with the same output signal types are transmitted through the same data acquisition channel by using the selected communication protocols, after data are obtained, the data acquisition device is connected with a port of a USB interface module through an upper computer, and the data acquisition device is communicated with the upper computer through the USB interface module to transmit the data to the upper computer.
And secondly, after data acquisition is completed, displaying the dynamic change of the data through an image real-time display module in the data processing module, marking and judging abnormal data through a characteristic index display module, and processing the overall data through data characteristic index evaluation to judge whether the overall data reaches a normal level.
And then, carrying out data management on the data which finish the data processing module, wherein the hardware interface part is used for interfacing different communication protocols, the sensor without the communication protocol represents physical change through voltage change, and the analog-to-digital conversion part is used for converting the analog quantity of the voltage change into the digital quantity.
And finally, storing the data which is completed by the data processing module, dispatching the multi-protocol controller, calculating various reading result calls through the multi-protocol configurator, writing the acquired data into a database, controlling a communication result display to reflect the running condition of the system and providing an external calling interface to provide data for the extended application, wherein the data auditing interface is connected with the data auditing interface through the communication of the multi-protocol configurator, auditing the data transmitted to the multi-protocol configurator, the data is connected with the storage database interface through the telecommunication of the multi-protocol configurator, the database is connected with the telecommunication of the storage database interface, and the data is transmitted to the database through the storage database interface.
Although embodiments of the present invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made therein without departing from the principles and spirit of the invention, the scope of which is defined in the appended claims and their equivalents.

Claims (6)

1. The utility model provides a data acquisition system of Modbus equipment, includes singlechip main control unit, its characterized in that: the single chip microcomputer main controller is in signal connection with the upper computer, a Modbus communication protocol is arranged between the single chip microcomputer main controller and a gateway of the upper computer, a serial port of the single chip microcomputer main controller and the upper computer are in data transmission through the Modbus communication protocol, and the single chip microcomputer main controller transmits various acquired data to the upper computer for display through signals;
the single chip microcomputer main controller comprises a data acquisition module, a data analysis module, a data processing module and a data storage module, wherein the data acquisition module is in signal connection with the data analysis module, the data analysis module is in signal connection with the data processing module, the data processing module is in signal connection with the data storage module, and data obtained by the modules contained in the single chip microcomputer main controller are transmitted to the upper computer for display.
2. The data acquisition system of a Modbus device of claim 1, wherein: the data acquisition module comprises a microprocessor, a reusable data acquisition channel, a memory expansion module and an interface module, wherein the microprocessor is respectively connected with the reusable data acquisition channel, the memory expansion module and the interface module, the reusable data acquisition channel is defined with different communication protocols, the corresponding communication protocol is selected according to the actual test requirement, and different output signals with the same output signal type are transmitted through the same data acquisition channel by using the selected communication protocol.
3. The data acquisition system of a Modbus device of claim 1, wherein: the upper computer is connected with the data acquisition device through a port of the USB interface module, the data acquisition device is communicated with the upper computer through the USB interface module, the reusable data acquisition channel comprises a reusable analog data acquisition channel, a reusable switching value data acquisition channel and a reusable digital data acquisition channel, and the reusable analog data acquisition channel is used for transmitting output signals of the sensor.
4. The data acquisition system of a Modbus device of claim 1, wherein: the data processing module comprises an image real-time display module, a characteristic index display module and a data characteristic index evaluation, after data acquisition is completed, the data dynamic change is required to be displayed through the image real-time display module in the data processing module, abnormal data are marked and judged through the characteristic index display module, and whether the overall data reach a normal level is processed through the data characteristic index evaluation.
5. The data acquisition system of a Modbus device of claim 1, wherein: the data management module comprises a fixed modbus protocol sensor, a hardware interface, a non-modbus protocol sensor and an analog-to-digital conversion part, wherein the sensor of the fixed communication protocol is directly connected with the hardware interface part, the hardware interface part is used for interfacing different communication protocols, the sensor of the non-communication protocol characterizes physical change through voltage change, and the analog-to-digital conversion part is used for converting the analog quantity of the voltage change into digital quantity.
6. The data acquisition system of a Modbus device of claim 1, wherein: the data storage module comprises a multi-protocol configurator, the data storage module is responsible for storing acquired and processed results into a database, the multi-protocol configurator is responsible for scheduling a multi-protocol controller, calculating various reading result calls, acquiring data storage, writing the data storage into the database, controlling a communication result display to reflect the running condition of a system and providing an external calling interface to provide data for extended application, the multi-protocol configurator is in communication connection with a data auditing interface, the data auditing interface is used for auditing data transmitted to the multi-protocol configurator, the multi-protocol configurator is in communication connection with a storage database interface, the storage database interface is in communication connection with a database, the data is transmitted to the database through the storage database interface, the multi-protocol configurator is in communication connection with a data storage monitoring interface and a data equipment service interface, and the data storage monitoring interface and the data equipment service interface are used for monitoring and serving the multi-protocol configurator during working, and the normal running of the multi-protocol configurator is protected.
CN202311477089.6A 2023-11-08 2023-11-08 Data acquisition system of Modbus equipment Pending CN117579505A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311477089.6A CN117579505A (en) 2023-11-08 2023-11-08 Data acquisition system of Modbus equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311477089.6A CN117579505A (en) 2023-11-08 2023-11-08 Data acquisition system of Modbus equipment

Publications (1)

Publication Number Publication Date
CN117579505A true CN117579505A (en) 2024-02-20

Family

ID=89885393

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311477089.6A Pending CN117579505A (en) 2023-11-08 2023-11-08 Data acquisition system of Modbus equipment

Country Status (1)

Country Link
CN (1) CN117579505A (en)

Similar Documents

Publication Publication Date Title
CN104950760A (en) Power supply management integrated marine monitoring general data collector
CN204304613U (en) II type electric energy efficiency office terminal and system
CN104678946A (en) I/o module and process control system
US20050182501A1 (en) System and method for associating a DLPDU received by an interface chip with a data measurement made by an external circuit
CN201130428Y (en) Optic fiber gyroscope data acquisition model based on FPGA
TW201423413A (en) Apparatus and method for monitoring signals transmitted in bus
CN112669590A (en) Serial plug-and-play intelligent sensing communication system and automatic addressing method thereof
CN204881604U (en) Distributing type bridge does not have line strain collection system based on WIFI
CN201886075U (en) Current signal collection module
CN117579505A (en) Data acquisition system of Modbus equipment
CN111798653A (en) Data acquisition method and device
CN207924653U (en) SCM Based computer hardware monitoring system
CN212302262U (en) Multi-channel data remote acquisition controller
CN211478936U (en) General data acquisition control system
CN201689410U (en) Multiplex switching value bus transmission module
CN210014916U (en) Motor vehicle detection control instrument and control circuit thereof
CN114625234A (en) Server voltage monitoring method, device and system
CN210323236U (en) Electric power data acquisition module with multi-sensor interface and multi-communication means
CN211653438U (en) Sewing machine working state monitoring device
US7761243B2 (en) Measuring device for process engineering and operating method for a measuring device
CN112802312A (en) Loongson 1B CPU-based monitoring board and detection method
CN104467181A (en) I-type power efficiency management terminal and system
CN109922096B (en) Communication system with multiple sensor universal interfaces
CN105016209A (en) Independent multi-channel output device and method for sensor
CN113495813A (en) Real-time data collection and automatic calculation device for old semiconductor equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination