CN114488976A - Data receiving system for DCS - Google Patents

Data receiving system for DCS Download PDF

Info

Publication number
CN114488976A
CN114488976A CN202210034796.7A CN202210034796A CN114488976A CN 114488976 A CN114488976 A CN 114488976A CN 202210034796 A CN202210034796 A CN 202210034796A CN 114488976 A CN114488976 A CN 114488976A
Authority
CN
China
Prior art keywords
data
dcs
receiving
request
communication
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
CN202210034796.7A
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 Grid Corp of China SGCC
Electric Power Research Institute of State Grid Jilin Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Jilin Electric Power 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 Grid Corp of China SGCC, Electric Power Research Institute of State Grid Jilin Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202210034796.7A priority Critical patent/CN114488976A/en
Publication of CN114488976A publication Critical patent/CN114488976A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/41865Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by job scheduling, process planning, material flow
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/30Nc systems
    • G05B2219/33Director till display
    • G05B2219/33273DCS distributed, decentralised controlsystem, multiprocessor
    • 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 relates to a data receiving system for DCS, belonging to the field of data receiving and transferring; a data transfer system is arranged in a data communication loop of a DCS and an electrical system, serial port communication is adopted, and a 485 bus, a Modbus serial communication protocol and a rtu transmission mode are used; the DCS is used as a main station to send the data request command to the data transfer system, the data request command is forwarded to the electrical system after verification, meanwhile, data returned by the electrical system are verified, and the data which are verified correctly are forwarded to the DCS. The invention can monitor the data interaction between the DCS system and the electrical system in real time, receive the data request sent by the DCS system, send the request to the electrical system to request data, and the electrical system returns the data to the system and forwards the data to the DCS system, thereby realizing the real-time monitoring and interaction of the data.

Description

Data receiving system for DCS
Technical Field
The invention belongs to the field of data receiving and transferring, and particularly relates to a data receiving system for a DCS.
Background
In some power plant DCS (distributed control system), an electrical system collects data and uses 485 bus technology to communicate with the DCS system. DCS is connected with serial server through the interface station, and electric system is connected to serial server through 485 bus, and when electric system's data acquisition cabinet was far away, used this kind of design, the problem of communication interrupt can often appear. Once communication interruption occurs, all electrical measurement points in the DCS system become dead points, real-time operation data cannot be acquired, operating personnel cannot judge the operation condition of the current unit and make accurate judgment, and once electrical equipment is abnormal, risks are brought to safe production operation. When the problem of communication interruption occurs each time, the serial server needs to be restarted by a professional, communication can be recovered to be normal, unnecessary work is added to the working personnel, and hidden danger is brought to the safe operation of a power plant operation unit.
Disclosure of Invention
The invention aims to provide a data receiving system for a DCS, which aims to solve the technical problems that when the communication between the DCS and an electric system is interrupted, all electric measuring points in the DCS become dead points, real-time operation data cannot be obtained, an operator cannot judge the current operation condition of a unit and make an accurate judgment, and great risks are brought to safe production operation.
In order to achieve the above object, a specific technical solution of the data receiving system for DCS of the present invention is as follows:
a data receiving system for DCS sets a data transfer system in a data communication loop of a DCS and an electrical system, adopts serial port communication, and uses a 485 bus, a Modbus serial communication protocol and a rtu transmission mode;
the DCS is used as a main station to send the data request command to the data transfer system, the data request command is forwarded to the electrical system after verification, meanwhile, data returned by the electrical system are verified, and the data which are verified correctly are forwarded to the DCS.
Further, the data transfer system comprises a data receiving module, a data transfer module, a data storage module, a log storage module and a logic configuration module;
the data receiving module is used for setting a caching technology, the DCS continuously requests data from the electrical system, the requested data are stored in the memory of the DCS, and when the DCS requests the data, the data in the memory of the DCS are sent to the DCS; the data forwarding module is used for analyzing a request command sent by the DCS when receiving a data request of the DCS, storing the request command into a cache, sending the request to a corresponding electric system station and waiting for the electric system to return data; a data storage module for storing received electrical system data; the log storage module is used for storing various operation logs of the data receiving data transfer system, recording abnormal information when the communication between the data receiving data transfer system and the DCS and the electrical system is abnormal, resetting the communication interface with the abnormality and reminding operating personnel to check the abnormal communication interface; the logic configuration is similar and is used for configuring various operation parameters of the system.
Further, the data requested by the electrical system is divided into two types, one is switching value data, which has only two states, i.e., 0 and 1, and the other is analog value data, which is single-precision floating-point type data.
Further, analog quantity data are subjected to data compression by adopting a revolving door compression algorithm, and a stored time axis and a stored numerical value of the analog quantity measuring point are recorded.
Further, the point table configuration is stored according to the sequence of the point name, the card number, the channel number and the storage precision; the data storage precision is set to 0.1; setting parameters in a configuration file, wherein the configuration file comprises parameter setting of serial port communication, point table configuration and data storage precision; the data storage precision can influence the storage precision of the received data, when the storage precision parameter is set to be large, the storage space of the system for receiving the data can be saved, but the data storage precision is correspondingly low, so that the requirements of the storage space and the data precision are balanced, and the storage precision is reasonably set.
Further, default serial port communication parameters are set to be a baud rate of 9600, a data bit of 8 bits, a stop bit of 1 bit, no check, and data storage precision of 0.1; if the serial communication parameters are set incorrectly, the system cannot communicate normally.
The invention also provides a use method of the data receiving system for the DCS, which comprises the following steps:
a user starts a data receiving system for DCS, and a data transfer system automatically reads a configuration file stored in the data receiving system and analyzes the content of the configuration file; and if the read configuration file content is abnormal, recording error information, and simultaneously reminding a user that the system has errors, so that the user only needs to check conveniently. If the read configuration file content is correct, configuring system parameters such as parameter setting of a serial port and basic parameter setting of system operation according to the analyzed content, establishing communication connection with a DCS (distributed control system) and an electric system, and waiting for receiving and forwarding data;
after a user starts a data receiving system for DCS, a data transfer system reads a configuration file, establishes communication with the DCS and an electrical system and waits for receiving data; after the DCS sends the request data to the data transfer system, the data transfer system verifies the sent request command; if the verification information is correct, storing the request data command into a data receiving data transfer system memory, and simultaneously sending the request data command to the electrical system, and if the verification information is wrong, recording the wrong information;
and the electric system returns data to the data transfer system, the data transfer system verifies the returned data, if the verification information is correct, the data is stored in the memory of the data transfer system and is simultaneously transferred to the DCS, and if the verification information is wrong, the wrong information is recorded.
The data receiving system for DCS of the invention has the following advantages: the system can monitor the data interaction between the DCS system and the electrical system in real time, receive a data request sent by the DCS system, send the request to the electrical system to request data, return the data to the system by the electrical system, and forward the data to the DCS system, so that the real-time monitoring and interaction of the data are realized. When the communication connection is interrupted accidentally, an error is reported in time to remind an operator of communication fault, a loop of communication interruption is judged at the same time, the loop is reset, and the communication connection is recovered.
Drawings
Fig. 1 is a block diagram of a data receiving system for DCS of the present invention.
Fig. 2 is a system start-up flowchart of a data receiving system for DCS according to the present invention.
Fig. 3 is a flowchart illustrating a data relay system forwarding DCS system request for a data receiving system of a DCS according to the present invention.
Fig. 4 is a flow chart of forwarding data of an electrical system by a data relay system of the data receiving system of the DCS.
Detailed Description
In order to better understand the purpose, structure and function of the present invention, a data receiving system for DCS according to the present invention will be described in further detail with reference to the accompanying drawings.
As shown in fig. 1 to 4, the invention designs a data receiving data transfer system, which is added in a data communication loop to monitor data interaction between a DCS system and an electrical system in real time, and once a data interruption phenomenon is found, the data receiving data transfer system can be reported to an operator in time, and simultaneously reset a communication function to process the data interruption phenomenon, thereby ensuring the continuity of data communication between the DCS system and the electrical system and the operation safety of a unit.
The overall scheme design of the system is shown in figure 1, a data transfer system is arranged in a data communication loop of a DCS (distributed control system) and an electrical system, serial port communication is adopted, and a 485 bus, a Modbus serial communication protocol and a rtu transmission mode are used;
the DCS is used as a main station to send the data request command to the data transfer system, the data request command is forwarded to the electrical system after verification, meanwhile, data returned by the electrical system are verified, and the data which are verified correctly are forwarded to the DCS.
The data transfer system comprises a data receiving module, a data transfer module, a data storage module, a log storage module and a logic configuration module;
1. a data receiving module: the data receiving adopts serial port communication, and adopts 485 bus, Modbus serial communication protocol and rtu transmission mode. The DCS is used as a main station to request data from an electric system station, in order to ensure that the system can continuously and stably request and forward the data, a caching technology is arranged in a data transfer system, namely a memory is established, the DCS continuously requests the data from the electric system and stores the requested data into the memory of the DCS, when the DCS requests the data, the data in the memory of the DCS is sent to the DCS, and when any party has data interruption, a fault occurrence point can be timely judged.
2. A data forwarding module: opening a cache for forwarding data in the system, analyzing a request command sent by the DCS when receiving a data request of the DCS, storing the request command into the cache, and simultaneously sending the request to a corresponding electric system station to wait for the return of the data by the electric system.
3. The data requested from the electrical system are classified into two types, one is switching value data, which has only two states, i.e., 0 and 1, and the other is analog value data, which is single-precision floating-point type data. According to the characteristics of the two data, a data storage table is established, and the field setting of the data storage table is shown as the data storage table in the table 1.
Table 1 database field settings
Serial number Parameter name Data type Length (byte) Whether or not it is empty
1 Identification Int16 2 Whether or not
2 Name of survey point Varchar(50) 50 Whether or not
3 Storage time Datetime 8 Whether or not
As can be seen from table 1, the attributes of the point table have 3 fields of identifier, roll call and storage time according to actual requirements, in order to better save the storage space of the system, the length of the identifier is set to be 2 bytes, the maximum storage length of the roll call is 50 bytes, and the storage time adopts a Datetime format and occupies 8 bytes.
Since the frequency of requesting the electrical data is 1 time/second, the amount of the electrical data to be obtained is enormous, and the data to be obtained is compressed in order to save the memory space. The switching amount data is only 0 and 1 for the switching amount, and thus the time of change is stored and recorded when the switching amount data is changed. For analog quantity data, the change trend of the analog quantity data is slow, so that a revolving door compression algorithm can be adopted for data compression, and the time axis and the numerical value of the stored analog measurement point are recorded.
4. A log storage module: the method is mainly used for storing various operation logs of a data receiving data transfer system, recording abnormal information when communication with the DCS and the electrical system is abnormal, resetting the communication interface with the abnormal communication interface at the moment, and reminding an operator to check the abnormal communication interface.
5. Logic configuration setting: the method mainly comprises the steps of configuring various operation parameters of a system, designing and including serial communication parameter setting, point table configuration and data storage precision functions according to actual operation requirements, wherein the set related parameters are shown in a serial communication parameter setting table in a table 2 and a point table parameter setting table in a table 3.
TABLE 2 Serial communication parameters
DCS serial port Setting parameters Electric serial port Setting parameters
Serial port COM1 Serial port COM2
Baud rate 9600 Baud rate 9600
Data bit 8 Data bit 8
Stop position 1 Stop position 1
Parity check Without verification Parity check Without verification
The point table parameter settings are shown in table 3.
TABLE 3 Point Table parameter settings
Serial number Parameter name Data type Length (byte) Whether or not it is empty
1 Identification Int16 2 Whether or not
2 Roll call String 50 Whether or not
3 Card number Int8 1 Whether or not
4 Channel number Int8 1 Whether or not
5 Storage accuracy Float 4 Whether or not
As can be seen from table 3, the point table attributes share 5 fields of the identifier, the point name, the card number, the channel number, and the storage precision according to actual requirements, in order to better save the storage space of the system, the length of the identifier is set to be 2 bytes, the maximum storage length of the point name is set to be 50 bytes, the card number and the channel number adopt the Int8 format, the storage occupies 1 byte, and the storage precision adopts the single-precision floating point number format, and occupies 4 bytes.
As shown in fig. 2, when a user starts the data receiving system for DCS, the data relay system automatically reads a configuration file stored in the data receiving system and analyzes the contents of the configuration file. If the read configuration file content is abnormal, error information is recorded, and meanwhile, a user is reminded that the system has errors, so that the user only needs to check. If the read configuration file content is correct, configuring system parameters such as parameter setting of a serial port and basic parameter setting of system operation according to the analyzed content, establishing communication connection with a DCS (distributed control system) and an electric system, and waiting for receiving and forwarding data.
Fig. 3 shows a flowchart of the data transfer system forwarding DCS system request, where after a user starts a data receiving system for DCS, the data transfer system reads a configuration file, establishes communication with the DCS system and an electrical system, and waits for data to be received. After the DCS sends the request data to the data transfer system, the data transfer system verifies the sent request command. If the verification information is correct, the request data command is stored in the data receiving data transfer system memory and is simultaneously sent to the electrical system, and if the verification information is wrong, the wrong information is recorded.
Fig. 4 shows a flow chart of forwarding data of the electrical system by the data relay system, where the electrical system returns data to the data relay system, the data relay system verifies the returned data, if the verification information is correct, the data is stored in the memory of the data relay system and is forwarded to the DCS, and if the verification information is wrong, the wrong information is recorded.
It is to be understood that the present invention has been described with reference to certain embodiments, and that various changes in the features and embodiments, or equivalent substitutions may be made therein by those skilled in the art without departing from the spirit and scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.

Claims (7)

1. A data receiving system for DCS is characterized in that a data transfer system is arranged in a data communication loop of a DCS system and an electrical system, serial port communication is adopted, and a 485 bus, a Modbus serial communication protocol and a rtu transmission mode are used;
the DCS is used as a main station to send the data request command to the data transfer system, the data request command is forwarded to the electrical system after verification, meanwhile, data returned by the electrical system are verified, and the data which are verified correctly are forwarded to the DCS.
2. The data receiving system of claim 1, wherein the data relay system comprises a data receiving module, a data forwarding module, a data storage module, a log storage module, and a logic configuration module;
the data receiving module is used for setting a caching technology, the DCS continuously requests data from the electrical system, the requested data are stored in the memory of the DCS, and when the DCS requests the data, the data in the memory of the DCS are sent to the DCS; the data forwarding module is used for analyzing a request command sent by the DCS when receiving a data request of the DCS, storing the request command into a cache, sending the request to a corresponding electric system station and waiting for the electric system to return data; a data storage module for storing received electrical system data; the log storage module is used for storing various operation logs of the data receiving data transfer system, recording abnormal information when the communication between the data receiving data transfer system and the DCS and the electrical system is abnormal, resetting the communication interface with the abnormality and reminding operating personnel to check the abnormal communication interface; the logic configuration is similar and is used for configuring various operation parameters of the system.
3. The data receiving system for DCS of claim 1, wherein the data requested by the electrical system is divided into two types, one is switching data, the data has only two states, i.e., 0 and 1, and the other is analog data, the analog data is single precision floating point type data.
4. The data receiving system of claim 3, wherein the analog measurement data is compressed using a turnstile compression algorithm, and the time axis and the value of the stored analog measurement point are recorded.
5. The data receiving system for DCS of claim 3, wherein the dot table configuration is stored in order of dot name, card number, channel number, storage accuracy; the data storage accuracy is set to 0.1.
6. The data receiving system of claim 1, wherein the default serial communication parameters are set to a baud rate of 9600, a data bit of 8, a stop bit of 1, no check, and a data storage precision of 0.1.
7. A method of using a data receiving system for a DCS, comprising the steps of:
a user starts a data receiving system for DCS, and a data transfer system automatically reads a configuration file stored in the data receiving system and analyzes the content of the configuration file; if the read configuration file content is abnormal, recording error information, and simultaneously reminding a user that the system has errors, so that the user only needs to check conveniently; if the read configuration file content is correct, configuring system parameters such as parameter setting of a serial port and basic parameter setting of system operation according to the analyzed content, establishing communication connection with a DCS (distributed control system) and an electric system, and waiting for receiving and forwarding data;
after a user starts a data receiving system for DCS, a data transfer system reads a configuration file, establishes communication with the DCS and an electrical system and waits for receiving data; after the DCS sends the request data to the data transfer system, the data transfer system verifies the sent request command; if the verification information is correct, storing the request data command into a data receiving data transfer system memory, and simultaneously sending the request data command to the electrical system, and if the verification information is wrong, recording the wrong information;
and the electric system returns data to the data transfer system, the data transfer system verifies the returned data, if the verification information is correct, the data is stored in the memory of the data transfer system and is simultaneously transferred to the DCS, and if the verification information is wrong, the wrong information is recorded.
CN202210034796.7A 2022-01-13 2022-01-13 Data receiving system for DCS Pending CN114488976A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210034796.7A CN114488976A (en) 2022-01-13 2022-01-13 Data receiving system for DCS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210034796.7A CN114488976A (en) 2022-01-13 2022-01-13 Data receiving system for DCS

Publications (1)

Publication Number Publication Date
CN114488976A true CN114488976A (en) 2022-05-13

Family

ID=81511082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210034796.7A Pending CN114488976A (en) 2022-01-13 2022-01-13 Data receiving system for DCS

Country Status (1)

Country Link
CN (1) CN114488976A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576742A (en) * 2009-06-19 2009-11-11 西安交通大学 Remote monitoring and fault diagnosing system for numerical control slitter and method for realizing same
CN103529289A (en) * 2013-11-06 2014-01-22 江苏大唐国际吕四港发电有限责任公司 Electric power collection system adopting communication managers

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101576742A (en) * 2009-06-19 2009-11-11 西安交通大学 Remote monitoring and fault diagnosing system for numerical control slitter and method for realizing same
CN103529289A (en) * 2013-11-06 2014-01-22 江苏大唐国际吕四港发电有限责任公司 Electric power collection system adopting communication managers

Similar Documents

Publication Publication Date Title
CN109450704B (en) Plug-and-play intelligent distribution transformer terminal and distribution data communication system
CN104580245B (en) A kind of 104 packet parsing system of distribution terminal and its analytic method
CN102929224A (en) Condition acquisition controller (CAC) for power transformer equipment and system control method
CN110346691A (en) A kind of power line failure diagnostic device and method based on HPLC high-speed power carrier communication
CN108768995B (en) Substation self-adaptive master station access method
CN114488976A (en) Data receiving system for DCS
CN102970177A (en) Method for analyzing and filtering communication data error codes of computer monitoring system
CN109510724B (en) Data acquisition and application method based on TAS device
CN203101932U (en) Power transformation equipment condition acquisition controller
CN108449434A (en) A kind of building energy consumption data collecting system
CN209930292U (en) Remote monitoring system for LNG (liquefied Natural gas) bottle group station based on MQTT (message queuing transport) message protocol
CN111611255A (en) Equipment energy consumption energy-saving management method and device, terminal equipment and storage medium
CN211478929U (en) Edge calculation controller
CN214755595U (en) Battery data acquisition device and battery data monitoring system thereof
CN220210457U (en) Gateway with data acquisition and data interaction functions
CN104135447A (en) Data packet transmission method and device
CN213069812U (en) Intelligent power plant energy acquisition and management system
CN219627748U (en) Message forwarding device of integrated power supply system
CN115483761B (en) Electric energy centralized collection metering system, method, device and equipment
CN213990277U (en) Intelligent direct-current full-electric-quantity column head cabinet power supply monitoring system
CN215867555U (en) GNSSMET monitoring device
CN216437209U (en) Substation automation device and system
CN217821309U (en) Data center-based data acquisition system and edge hardware
CN210804400U (en) Communication management machine and system
CN203039707U (en) Novel network switch system

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