Intelligent control device and control method for centralized acquisition of instrument data

文档序号:168134 发布日期:2021-10-29 浏览:10次 中文

阅读说明:本技术 一种用于集中采集仪表数据的智能控制装置及控制方法 (Intelligent control device and control method for centralized acquisition of instrument data ) 是由 王魁林 于 2021-07-23 设计创作,主要内容包括:本发明涉及一种用于集中采集仪表数据的智能控制装置,包括:采集控制机构和级联总线机构;级联总线机构和采集控制机构之间采用多模式端口连接;其中,级联总线机构连接有多个测量仪表设备;采集控制机构能够通过级联总线机构控制多个测量仪表设备的工作;多个测量仪表设备能够借助于级联总线结构的多模式端口将工作数据发送给采集控制机构;采集控制机构能够将接收到的工作数据进行预处理后存储到本地,并按照设定的协议通过GPRS上传到远程采集后台服务器。本发明提供的管理系统能够满足对不同厂商、不同规约、不同总线设备数据采集、控制要求,灵活可靠,易于扩展;保证数据传输可靠、不丢失,同时便于工程技术人员实施、维护。(The invention relates to an intelligent control device for collecting instrument data in a centralized way, which comprises: the system comprises an acquisition control mechanism and a cascade bus mechanism; the cascade bus mechanism and the acquisition control mechanism are connected by adopting a multi-mode port; the cascade bus mechanism is connected with a plurality of measuring instrument devices; the acquisition control mechanism can control the work of a plurality of measuring instrument devices through the cascade bus mechanism; the plurality of measuring instrument devices can send the working data to the acquisition control mechanism by means of the multi-mode port of the cascade bus structure; the acquisition control mechanism can preprocess the received working data and store the preprocessed working data to the local, and upload the preprocessed working data to the remote acquisition background server through the GPRS according to a set protocol. The management system provided by the invention can meet the data acquisition and control requirements of different manufacturers, different protocols and different bus devices, is flexible and reliable, and is easy to expand; the data transmission is reliable and is not lost, and meanwhile, the implementation and maintenance of engineering technicians are facilitated.)

1. An intelligent control device for centralized collection of meter data, comprising: the system comprises an acquisition control mechanism and a cascade bus mechanism;

the cascade bus mechanism and the acquisition control mechanism are connected by adopting a multi-mode port;

the cascade bus mechanism is connected with a plurality of measuring instrument devices;

the acquisition control mechanism can control the work of a plurality of the measurement interest meter devices through the cascade bus mechanism;

a plurality of said meter devices being capable of sending operational data to said acquisition control mechanism by means of a multi-mode port of said cascaded bus structure;

the acquisition control mechanism can preprocess the received working data and store the preprocessed working data to the local, and upload the preprocessed working data to the remote acquisition background server through the GPRS according to a set protocol.

2. The intelligent control device according to claim 1,

the acquisition control mechanism comprises: the system comprises a shell, a control mainboard, a database component, a 4G module, a multi-mode port, a power module and a human-computer interaction component;

the control main board, the database component, the 4G module and the power supply module are all arranged in the shell;

the control main board is respectively connected with the database component, the 4G module and the power supply module;

the multi-mode port is embedded in the shell and connected with the control mainboard;

the man-machine interaction assembly is arranged on the shell and connected with the control main board.

3. The intelligent control device according to claim 2,

the human-computer interaction assembly at least comprises: a display and a speaker;

the display and the loudspeaker are connected with the control main board;

wherein the display is a touch screen.

4. The intelligent control device of claim 3, wherein the multi-mode port comprises at least: an RS232 communication port and an RS485 communication port;

the power module includes: the battery pack and the external power line;

the battery assembly is connected with the control main board;

the external power line is connected with the battery pack.

5. The intelligent control device according to claim 4,

an independent equipment protocol module is arranged in the database component;

a plurality of sets of protocol specification standards are arranged in the specification module;

the multiple sets of protocol specification standards can be dynamically adjusted.

6. The intelligent control device of claim 5, wherein the measurement instrument comprises but is not limited to any one of a heat meter, a water meter, an electricity meter and a gas meter.

7. A control method based on the intelligent control device according to any one of claims 1-6, characterized by comprising the following steps:

s1, the measuring instrument device sends the working data to the cascade bus mechanism;

s2, the cascade bus mechanism preprocesses the received working data according to a cascade protocol to generate protocol command data, and sends the generated protocol command data to the acquisition control mechanism through a cascade port;

s3, the acquisition control mechanism analyzes the received protocol command data and assigns the analyzed data to corresponding measuring instrument equipment;

s4, the acquisition control mechanism generates the assigned analysis data into protocol data which conforms to the protocol of the remote acquisition background server;

s5, the protocol data of the acquisition control mechanism conforming to the protocol of the remote acquisition background server is uploaded to the remote acquisition background server through GPRS.

8. The control method of an intelligent control device according to claim 7, wherein between the step S3 and the step S4, further comprising:

and a program embedded in a control main board in the acquisition control mechanism stores the assigned analysis data into the database component.

9. The control method of an intelligent control device according to claim 8, wherein step S4 is preceded by:

the program embedded in the control mainboard judges whether the GPRS is on line or not;

if the GPRS is on-line, protocol data conforming to the protocol of the remote acquisition background server is generated and uploaded to the remote acquisition background server;

after receiving the protocol data, the remote acquisition background server sends a receiving confirmation instruction to the acquisition control mechanism;

and after receiving the receiving confirmation instruction, the acquisition control mechanism clears the uploading mark.

10. The control method of an intelligent control device according to claim 7,

the step S1 is preceded by: the remote acquisition background server sends a data acquisition command to the acquisition control mechanism;

the acquisition control mechanism sends the received data acquisition command to the cascade bus mechanism;

and the cascade bus mechanism sends the received data acquisition command to the plurality of measuring instrument devices.

Technical Field

The invention belongs to the technical field of Internet of things, and particularly relates to an intelligent control device and a control method for collecting instrument data in a centralized manner.

Background

Along with the development of the internet of things and the popularization of industrial and civil intelligent instruments, more and more intelligent instruments are installed and operated on industrial and civil sites, such as heat meters, water meters, electric meters, gas meters, various sensors and the like. Most of the instruments and sensors are not provided with integrated wireless communication modules and do not support remote communication, but all the instruments and sensors have MBUS bus communication or RS485 bus communication capacity, are transmitted to a remote server after being locally acquired, and generally complete remote data transmission through GPRS communication. And services such as remote meter reading, control, charging, data analysis, decision assistance and the like are realized.

The centralized acquisition equipment used in the market at present is directionally developed by respective enterprises, has single function, fixed configuration mode and difficult expansion, and the GPRS module needs external integration, so that the equipment is not universal enough, has poor configuration, expansion and maintenance capabilities, limited application range and the like, and is difficult to exchange with equipment of other manufacturers.

Disclosure of Invention

Technical problem to be solved

Aiming at the technical problems in the prior art, the invention provides an intelligent control device and a control method for collecting instrument data in a centralized manner, so that the centralized collection and the credible transmission of equipment data are realized; convenient to use, do benefit to the maintenance.

(II) technical scheme

In order to achieve the purpose, the invention adopts the main technical scheme that:

an intelligent control device for centralized collection of meter data, comprising: the system comprises an acquisition control mechanism and a cascade bus mechanism;

the cascade bus mechanism and the acquisition control mechanism are connected by adopting a multi-mode port;

the cascade bus mechanism is connected with a plurality of measuring instrument devices;

the acquisition control mechanism can control the work of a plurality of the measurement interest meter devices through the cascade bus mechanism;

a plurality of said meter devices being capable of sending operational data to said acquisition control mechanism by means of a multi-mode port of said cascaded bus structure;

the acquisition control mechanism can preprocess the received working data and store the preprocessed working data to the local, and upload the preprocessed working data to the remote acquisition background server through the GPRS according to a set protocol.

Preferably, the acquisition control mechanism includes: the system comprises a shell, a control mainboard, a database component, a 4G module, a multi-mode port, a power module and a human-computer interaction component;

the control main board, the database component, the 4G module and the power supply module are all arranged in the shell;

the control main board is respectively connected with the database component, the 4G module and the power supply module;

the multi-mode port is embedded in the shell and connected with the control mainboard;

the man-machine interaction assembly is arranged on the shell and connected with the control main board.

Preferably, the human-computer interaction assembly at least comprises: a display and a speaker;

the display and the loudspeaker are connected with the control main board;

wherein the display is a touch screen.

Preferably, the multi-mode port comprises at least: an RS232 communication port and an RS485 communication port;

the power module includes: the battery pack and the external power line;

the battery assembly is connected with the control main board;

the external power line is connected with the battery pack.

Preferably, a separate device protocol module is arranged in the database component;

a plurality of sets of protocol specification standards are arranged in the specification module;

the multiple sets of protocol specification standards can be dynamically adjusted.

Preferably, the measuring instrument includes, but is not limited to, any one of a heat meter, a water meter, an electricity meter, and a gas meter.

The technical scheme also provides a control method of the intelligent control device for collecting the instrument data in a centralized manner based on the scheme, which comprises the following steps:

s1, the measuring instrument device sends the working data to the cascade bus mechanism;

s2, the cascade bus mechanism preprocesses the received working data according to a cascade protocol to generate protocol command data, and sends the generated protocol command data to the acquisition control mechanism through a cascade port;

s3, the acquisition control mechanism analyzes the received protocol command data and assigns the analyzed data to corresponding measuring instrument equipment;

s4, the acquisition control mechanism generates the assigned analysis data into protocol data which conforms to the protocol of the remote acquisition background server;

s5, the protocol data of the acquisition control mechanism conforming to the protocol of the remote acquisition background server is uploaded to the remote acquisition background server through GPRS.

Preferably, between the step S3 and the step S4, the method further comprises:

and a program embedded in a control main board in the acquisition control mechanism stores the assigned analysis data into the database component.

Preferably, the step S4 is preceded by:

the program embedded in the control mainboard judges whether the GPRS is on line or not;

if the GPRS is on-line, protocol data conforming to the protocol of the remote acquisition background server is generated and uploaded to the remote acquisition background server;

after receiving the protocol data, the remote acquisition background server sends a receiving confirmation instruction to the acquisition control mechanism;

and after receiving the receiving confirmation instruction, the acquisition control mechanism clears the uploading mark.

Preferably, the step S1 is preceded by: the remote acquisition background server sends a data acquisition command to the acquisition control mechanism;

the acquisition control mechanism sends the received data acquisition command to the cascade bus mechanism;

and the cascade bus mechanism sends the received data acquisition command to the plurality of measuring instrument devices.

(III) advantageous effects

The invention has the beneficial effects that: the intelligent control device and the control method for collecting instrument data in a centralized manner, provided by the invention, have the following beneficial effects:

the invention is an embedded device based on a standard linux operating system, integrates a 4G module, adopts a device protocol to form an independent module during software design, is called in a library calling mode instead of being embedded into a management program, can be dynamically configured by using a communication port and the protocol for device acquisition, meets the requirements of data acquisition and control on different manufacturers, different protocols and different bus devices, and is flexible, reliable and easy to expand. The internal integration of the GPRS data transmission function ensures that data transmission is reliable and is not lost, and meanwhile, the implementation and maintenance of engineering technicians are facilitated.

Drawings

FIG. 1 is a schematic structural diagram of an intelligent control device for centralized collection of meter data according to the present invention;

FIG. 2 is a schematic diagram of a program data structure in an intelligent control device and a control method for collecting meter data in a centralized manner according to the present invention;

FIG. 3 is a schematic diagram of the collection operation in the intelligent control device and the control method for collecting instrument data in a centralized manner according to the present invention;

fig. 4 is a schematic diagram of data uploading in the intelligent control device and the control method for collecting instrument data in a centralized manner according to the present invention.

Detailed Description

For the purpose of better explaining the present invention and to facilitate understanding, the present invention will be described in detail by way of specific embodiments with reference to the accompanying drawings.

As shown in fig. 1 to 4, the present embodiment discloses an intelligent control device for collecting meter data in a centralized manner, which includes: an acquisition control mechanism and a cascade bus mechanism. The cascade bus mechanism and the acquisition control mechanism are connected by adopting a multi-mode port. The cascade bus mechanism is connected with a plurality of measuring instrument devices; the acquisition control mechanism can control the work of the plurality of the measurement interest meter devices through the cascade bus mechanism. A plurality of the measuring device devices can transmit operating data to the acquisition control unit by means of the multimode ports of the cascade bus structure.

The acquisition control mechanism can preprocess the received working data and store the preprocessed working data to the local, and upload the preprocessed working data to the remote acquisition background server through the GPRS according to a set protocol.

In this embodiment, the acquisition control mechanism includes: the device comprises a shell, a control mainboard, a database component, a 4G module, a multi-mode port, a power supply module and a human-computer interaction component.

The control main board, the database component, the 4G module and the power supply module are all arranged in the shell; the control main board is respectively connected with the database component, the 4G module and the power supply module; the multi-mode port is embedded in the shell and connected with the control mainboard; the man-machine interaction assembly is arranged on the shell and connected with the control main board.

In this embodiment, the human-computer interaction component at least includes: a display and a speaker; the display and the loudspeaker are connected with the control main board; wherein the display is a touch screen.

Specifically, a 4G module is integrated inside, the 4G module is configured into a controllable GPRS through program control, when the GPRS is off-line, collected data are stored in a local database, and the collected data are transmitted after being on-line, so that data loss is avoided, and the transmission is controllable, reliable and complete; the acquisition mode can be configured and adjusted, the communication protocol and the use port of the equipment can be selected, and various field equipment acquisition management can be completed, so that the equipment is flexible, convenient and easy to expand; a complete linux operating system is used, so that universality and interchangeability are guaranteed; the 5G routing function improves the flexibility and debugging convenience of a process scheme and meets different requirements. The uploaded data content is managed in a template mode, and the length (byte number), mode (integer and IEEE754) and sequence of data transmission can be adjusted to adapt to different remote acquisition background requirements.

In fact, the user in this embodiment can perform customized dynamic adjustment on the collection management program built in the collection control mechanism through the human-computer interaction component, so as to satisfy various field device collection management, for example: operation definition information, interface definition information, port definition information, equipment template definition information, protocol configuration files, protocol library file adjustment and the like.

In this embodiment, the multi-mode port at least includes: an RS232 communication port and an RS485 communication port; the power module includes: the battery pack and the external power line; the battery assembly is connected with the control main board; the external power line is connected with the battery pack.

The connection port in the embodiment is optional, various field devices can be collected and managed, and the method is flexible, convenient and easy to expand.

In this embodiment, a separate device protocol module is provided in the database component; a plurality of sets of protocol specification standards are arranged in the specification module; the multiple sets of protocol specification standards can be dynamically adjusted.

In detail, the protocol specification standard in the database component can be dynamically adjusted through the human-computer interaction component, and is specifically adjusted according to the standards of different instruments or remote acquisition background servers.

The measuring instrument described in this embodiment includes, but is not limited to, any one of a heat meter, a water meter, an electricity meter, and a gas meter.

It should be noted that: the intelligent control device in the embodiment is self-developed linux system embedded equipment and integrates a 4G module; possesses 2 way RS232, RS485 communication ports. A set of acquisition and communication management software comprises main control software and a plurality of communication protocol library files. The main control management software is configured into an automatic starting form, the acquisition control is required to call a corresponding equipment protocol library according to the specified information of the text configuration file to form acquisition and control commands, the commands are sent to acquire data, and the data is analyzed by a specific protocol to form uniform format data content. And organizing the uploading data to upload according to the configuration uploading protocol.

The embodiment also provides a control method of the intelligent control device for collecting the meter data in a centralized manner, which comprises the following steps:

s1, the measuring instrument device sends the working data to the cascade bus mechanism;

the working data of the measuring instrument can be water consumption data of a water meter, gas consumption data of gas and electricity consumption data of a household electricity meter.

S2, the cascade bus mechanism preprocesses the received working data according to a cascade protocol to generate protocol command data, and sends the generated protocol command data to the acquisition control mechanism through a cascade port; the command data should here match the criteria of the acquisition control mechanism.

S3, the acquisition control mechanism analyzes the received protocol command data and assigns the analyzed data to corresponding measuring instrument equipment;

and S4, the acquisition control mechanism generates the assigned analysis data into protocol data conforming to the protocol of the remote acquisition background server.

S5, the protocol data of the acquisition control mechanism conforming to the protocol of the remote acquisition background server is uploaded to the remote acquisition background server through GPRS.

The step S3 and the step S4 in this embodiment further include:

and a program embedded in a control main board in the acquisition control mechanism stores the assigned analysis data into the database component. Therefore, the data transmission is reliable and is not lost.

Step S4 in this embodiment further includes, before: the program embedded in the control mainboard judges whether the GPRS is on line or not;

if the GPRS is on-line, protocol data conforming to the protocol of the remote acquisition background server is generated and uploaded to the remote acquisition background server; after receiving the protocol data, the remote acquisition background server sends a receiving confirmation instruction to the acquisition control mechanism; and after receiving the receiving confirmation instruction, the acquisition control mechanism clears the uploading mark.

Step S1 in this embodiment further includes, before: the remote acquisition background server sends a data acquisition command to the acquisition control mechanism; the acquisition control mechanism sends the received data acquisition command to the cascade bus mechanism; and the cascade bus mechanism sends the received data acquisition command to the plurality of measuring instrument devices.

In detail, the intelligent control device provided by the embodiment is an embedded device based on a standard linux operating system, a 4G module is integrated, a device protocol is adopted during software design to form an independent module and is called in a library calling mode instead of being embedded into a management program, the device acquisition uses a communication port and a protocol and can be dynamically configured, the requirements on data acquisition and control of different manufacturers, different protocols and different bus devices are met, and the intelligent control device is flexible, reliable and easy to expand. The internal integration of the GPRS data transmission function ensures that data transmission is reliable and is not lost, and meanwhile, the implementation and maintenance of engineering technicians are facilitated.

The technical principles of the present invention have been described above in connection with specific embodiments, which are intended to explain the principles of the present invention and should not be construed as limiting the scope of the present invention in any way. Based on the explanations herein, those skilled in the art will be able to conceive of other embodiments of the present invention without inventive efforts, which shall fall within the scope of the present invention.

11页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种电缆通道环境自动调节装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类