Industrial automation system diagnosis method, system and equipment based on PROFINET protocol

By grabbing and parsing PROFINET messages in real time, judging the working status of the equipment and generating alarm information, the real-time monitoring and diagnosis of equipment information and network environment in industrial automation systems is solved, and the stability and reliability of the system are improved.

CN119449678APending Publication Date: 2025-02-14NANJING ZHAOSHICHANG NETWORK TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510007499.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2024-12-20
Filing Date
2025-01-03
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

The prior art is difficult to effectively monitor and diagnose the equipment information, working status and network environment of the PROFINET protocol in industrial automation systems in real time, resulting in the impact of system stability and reliability.

Method used

By grabbing PROFINET messages in real time, the working status information of the device and the device parameter information are analyzed and extracted, and the working status of the device is judged based on the analysis results, alarm information is generated, and network load statistical analysis and visual display are performed.

Benefits of technology

Real-time monitoring of industrial automation equipment information and rapid diagnosis of working status, timely discover and deal with abnormal equipment, and improve the stability and reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119449678A_ABST
    Figure CN119449678A_ABST
Patent Text Reader

Abstract

The invention relates to an industrial automation system diagnosis method, system and equipment based on a PROFINET protocol. Messages in a network are captured in real time through the data capture module to monitor the network state, the captured messages are analyzed and processed through the analysis module to obtain basic parameter information and running states of all devices in the network, the running states of the devices are recognized through the data judgment module, and corresponding alarm information is generated. The system has an efficient message statistical function, and can automatically identify and classify data and generate a detailed statistical report. Through an intelligent algorithm, the system can formulate early warning measures according to historical data, and the stability and operation efficiency of equipment are improved. In addition, the equipment design has high expandability, and the upgrading and function expansion of future technologies are supported. According to the invention, the monitoring and management capability of the industrial automation system is obviously improved, reliable decision support is provided for users, and safe and efficient operation of industrial equipment is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of industrial automation, and in particular to an industrial equipment diagnosis method, system and equipment based on the PROFINET protocol, and is suitable for real-time monitoring and diagnosis of equipment information, working status and working network environment of an industrial automation system. Background Art

[0002] PROFINET is a communication protocol for industrial automation systems, which is widely used in real-time data exchange and device interconnection. With the rapid development of industrial automation, PROFINET protocol, as an Ethernet technology, is increasingly used in industrial fieldbuses. Its high real-time performance, flexibility and openness make PROFINET widely used in many automation systems. However, in actual operation, various external factors may cause problems such as equipment dropout, release, restart and alarm in industrial environments, which affects the stability and reliability of the system. Therefore, it is particularly important to develop an efficient and real-time diagnostic method.

[0003] In modern industrial automation systems, the reliability and real-time performance of network communications are key factors in ensuring production efficiency and equipment safety. Traditional monitoring methods require capturing and analyzing PROFINET messages in industrial environments and then manually judging them. However, with the increase in the number of devices, the complexity of network structures and the growing demand, traditional monitoring and management methods can no longer meet the needs. Therefore, it is necessary to automatically capture messages for analysis and diagnosis, which can easily and real-timely locate problems. Summary of the invention

[0004] The purpose of the present invention is to provide a diagnostic method, system and device for the PROFINET protocol, which can obtain PROFINET protocol data packets in the environment by accessing the industrial production environment, realize information acquisition of industrial automation equipment and real-time monitoring of the working status, so as to timely discover and handle equipment with abnormal working status.

[0005] A diagnostic method for PROFINET protocol, characterized in that the method comprises: 1. Capture PROFINET messages in real time; 2. Parse the captured PROFINET messages to extract the device's working status information and device parameter information; 3. Based on the analysis results, determine the working status of the device.

[0006] Furthermore, the extracted working status information of the device includes the online status of the device, the device update cycle, and the controller transmission clock; the device parameter information includes the device MAC address, IP address, subnet mask, device name, device type, hardware version number, software version number, order number, manufacturer ID, device ID, and PROFINET role.

[0007] Furthermore, the method also includes: when it is determined that the working state of the device is abnormal, generating corresponding alarm information according to preset conditions.

[0008] Furthermore, the method further comprises: Record the timestamp of the captured PROFINET message; The captured PROFINET messages and corresponding judgment results are stored and statistically analyzed to generate network load ratio, error message statistics, broadcast message statistics, multicast message statistics, sent message statistics and received message statistics; The above statistical analysis results are visualized so that users can view the device operation status and network environment information.

[0009] Furthermore, the system comprises: Data acquisition module, used to capture PROFINET messages in real time; The data analysis module is used to analyze the captured PROFINET messages to extract the working status information and device parameter information of the device; The status judgment module is used to judge the working status of the device based on the analysis results of the data analysis module.

[0010] Furthermore, the system further comprises: The message statistics module is used to record the timestamp of the captured PROFINET messages, store the captured PROFINET messages and the corresponding judgment results, and perform statistical analysis to generate network load ratio, error message statistics, broadcast message statistics, multicast message statistics, sent message statistics and received message statistics; The visualization module is used to visualize the above statistical analysis results so that users can view the device operation status and network environment information.

[0011] Furthermore, the system also includes: an alarm module, which is used to generate corresponding alarm information according to preset conditions when it is determined that the working state of the device is abnormal. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] Figure 1 It is a schematic diagram of the main modules of the system of the present invention.

[0013] Figure 2It is a schematic diagram of network input and output of the present invention.

[0014] Figure 3 This is a schematic diagram of a diagnostic device for PROFINET protocol in the present invention.

[0015] Figure 4 The following is a flow chart of the PROFINET protocol diagnostic method according to an embodiment of the present invention.

[0016] Figure 5 The present invention is a flowchart of a method for obtaining full-process information of the method of the present invention. DETAILED DESCRIPTION

[0017] The present invention, in a first aspect, provides a diagnostic method for the PROFINET protocol, the method comprising: obtaining the working status, device information and network environment status of the industrial automation system by efficiently capturing, parsing and analyzing data messages in the PROFINET network in real time. The method includes the following functions: Data capture: It has the function of capturing network packets, and can capture the working status of equipment in industrial environments by capturing PROFINET protocol in real time. This step ensures high frequency and high accuracy of data capture, and captures every data packet in the network, including equipment drop, release, restart, alarm, basic equipment information and network environment status.

[0018] Data parsing: A custom parsing algorithm is used to extract key fields and status information from the message. During the parsing process, the system can classify different types of data as needed, extract relevant device information and status, and record the timestamp of the data packet.

[0019] Status judgment: Based on the analysis results, the working status of each device is judged through the status judgment algorithm and state machine model. The system will be able to quickly identify abnormal status and generate corresponding alarm information according to the preset conditions.

[0020] Message statistics analysis: By performing statistical analysis on the captured network data, key performance indicators including load ratio, received messages, sent messages, broadcast messages, multicast messages, error messages, etc. are obtained. These statistical data will be used to analyze the health of the industrial network and help identify potential network bottlenecks.

[0021] In the second aspect, the present invention provides a diagnostic system for PROFINET protocol, the system includes: data capture, analysis, status judgment and message statistics modules, and the modules cooperate with each other to form a comprehensive network monitoring and fault diagnosis platform. The main features and functions of the system include: Modular design: The system adopts a modular architecture, and each functional module can operate independently, which is convenient for subsequent functional expansion and maintenance. Users can flexibly add or update functional modules according to actual needs.

[0022] Real-time data monitoring: The system can obtain PROFINET protocol message data in real time, dynamically monitor device status and network conditions, and provide support for timely response to faults.

[0023] Data analysis and visualization: The system integrates data analysis tools to display the captured status information in a graphical form. Users can easily obtain device status, alarm records and network health reports through a friendly user interface.

[0024] Alarm mechanism: The system sets an intelligent alarm mechanism that can quickly and automatically notify maintenance personnel when it detects equipment failure, restart, and some abnormal conditions, reducing the need for manual monitoring and improving operation and maintenance efficiency.

[0025] Support multiple communication protocols: The system not only supports the PROFINET protocol, but also has expansion potential and can integrate more industrial communication protocols to expand its application scope.

[0026] In a third aspect, the present invention provides a diagnostic device for the PROFINET protocol, wherein the device is a physical device that integrates data capture, analysis, processing and display capabilities, and its structure and functional design include the following aspects: Hardware configuration: The device is equipped with a high-performance network card, a data processing unit and a storage unit. The network card supports high-frequency message capture, the data processing unit is responsible for real-time analysis and judgment of the device status, and the storage unit is used to store historical alarms and status information.

[0027] Real-time monitoring function: The device can continuously monitor, actively capture PROFINET protocol data packets, and respond quickly when the data changes, ensuring the stable operation of the industrial automation system.

[0028] Interface-friendly design: The device provides multiple interfaces (such as serial port, Ethernet, etc.) to facilitate linkage with other control devices or management software, and also supports remote monitoring and data reporting.

[0029] Intelligent analysis capability: The device has a built-in intelligent algorithm module that can automatically identify and classify captured data, generate statistical reports, and formulate early warning measures based on this information to help users make more efficient decisions.

[0030] Highly scalable: The device is designed with future technological evolution in mind, with open interfaces and software architecture, allowing users to upgrade and expand functionality based on future industrial needs.

[0031] The specific implementation of the present invention will describe in detail the industrial automation system diagnostic method based on the PROFINET protocol, the composition, working principle and application scenarios of the system and equipment. This system is mainly composed of the following modules: Step S101 is a data acquisition module, which is responsible for real-time monitoring of the network status and obtaining the operation data and status information of the device. Through the connection with the PROFINET network, the data capture module can collect the communication data, error information and network load of the device in real time.

[0032] Step S102 is the parsing module, and the data collected by the data capture module will be transmitted to the parsing module. This module uses a data parsing algorithm to format and analyze the original data and extract key indicators such as basic device information, network delay, packet loss rate, communication errors, etc.

[0033] Step S103 is a status judgment module, and the parsed data will be transmitted to the status judgment module. This module judges the operating status of the equipment in real time based on the preset threshold and algorithm, identifies the normal, warning and fault status, and generates corresponding alarm information.

[0034] Step S104 is a message statistics module, which is responsible for statistical analysis of messages in network communications, recording network load, effective load, broadcast and multicast data per second, etc., and generating detailed statistical reports to facilitate subsequent analysis and decision-making.

[0035] In this embodiment, a diagnostic method for PROFINET protocol is provided, which can be used in the above-mentioned diagnostic system for PROFINET protocol, wherein Figure 4 It is a flow chart of the PROFINET protocol diagnostic method of an embodiment of the invention, which comprises the following steps: Figure 3 The diagram is a schematic diagram of a diagnostic device for the PROFINET protocol in the present invention. The CPU is the core processing unit of the system, responsible for data processing and control logic. All network communications and data processing are performed by the CPU. The two network cards, network card 1 and network card 2, are used for different network connections respectively. Network card 1 is used to send and receive input data (marked as "network IN") and output data (marked as "network OUT"), and network card 2 is used to display processed data. The management network interface is the management interface shown in the figure and is used for system management and monitoring to ensure the stability and security of the system.

[0036] Step S401, obtaining all messages in the PROFINET network.

[0037] First, ensure that the device in the present invention is connected to the network environment that needs to be diagnosed. Figure 2As shown, this is a schematic diagram of the network input and output of the present invention, combined with Figure 3 Physical diagram of the device of the present invention. The network port IN and the network port OUT of the device of the present invention are respectively connected to the industrial network environment, and after the connection, the present invention is connected to the network environment to capture the message.

[0038] After the system is started, the data acquisition module monitors the PROFINET network in real time through the network card and captures all the message data in the network. This step supports a variety of packet capture technologies to ensure that network traffic can be obtained efficiently and accurately. The captured messages include device status information, communication delays, error messages, etc. The system stores these data in a temporary cache for subsequent analysis.

[0039] Step S402: parse the acquired message to obtain device information and working status of the device in the network: The data analysis module parses the captured messages and extracts key device information, including device ID, device type, current status, communication quality, etc. During the parsing process, the system uses efficient algorithms to ensure the speed and accuracy of data processing. The parsed data will be organized into a structured format to facilitate subsequent status judgment.

[0040] Step S403: determine the status based on the parsed information to determine whether the device is working properly: The status judgment module compares and analyzes the parsed device information based on preset standards and historical data. The system sets multiple thresholds, such as communication delay, error rate, etc., to determine the working status of the device. If the device status is abnormal (such as communication interruption, error rate exceeding the standard, etc.), the system will generate an alarm message and record the detailed information of the abnormal event, including the fault type, occurrence time, and impact range.

[0041] Step S404: Statistically analyze all messages and classify and summarize them: The system of the present invention has a powerful data statistics function, which can record the network communication situation in real time, including network load, payload, broadcast and multicast data per second, etc. The statistical data will be stored in the database, and detailed statistical reports will be generated regularly to facilitate subsequent analysis and decision-making. Users can view the statistical results through the management interface to identify potential failure modes.

[0042] Step S405: Summarize the collected data and display them: The data display module presents the statistical analysis results in the form of a web page, and users can view the operating status of the device and the health of the network in real time through the web interface. The system supports multiple display methods, including real-time monitoring panel, historical data playback, fault alarm records, etc., which facilitates users to conduct comprehensive monitoring and management.

[0043] Figure 5 The embodiment of the present invention relates to a device status diagnosis method based on PROFINET network, and the specific steps are as follows: Step S501 is to capture all messages. The system captures all PROFINET messages in the network in real time through the network card.

[0044] Step S502 is to count the messages, and obtain the required information such as the number of received messages, the number of sent messages, the number of erroneous messages, the load ratio, the number of broadcast messages, the number of multicast messages and the number of effective loads.

[0045] The message types are then classified and the PROFINET-DCP message is first determined to determine whether there is a PROFINET-DCP message.

[0046] Step S503: If there is a PROFINET-DCP message, the system performs a detailed analysis on the PROFINET-DCP message to extract basic information and status information of the device.

[0047] Step S504: encapsulate the information acquired in step S503 into a configuration file for storage so as to facilitate subsequent visual display.

[0048] Step S505: Visually display all configuration file information.

[0049] Step S506, parse the PROFINET-I / O message, and then judge the parsed information, wherein some basic configuration information about the device is passed to step S504 for processing and updating into the configuration file, wherein the processed device operation status information is passed to S507 for status judgment, and after processing, is passed to S505 for visual display.

[0050] Step S508, parsing the PROFINET-AL message, the system parses the PROFINET-AL message and extracts corresponding device alarm information such as: station drop, restart, release and alarm.

[0051] Step S509, generating a configuration file. The system encapsulates the data extracted in step S508 and generates a corresponding configuration file for subsequent device management and status monitoring.

[0052] Step S510, a visual interface is displayed according to different alarm information. The system displays the parsed basic information of the device in a visual manner and notifies the user through the management network interface, ensuring that the user can monitor the status and alarm information of the device in real time.

[0053] It should be noted that the above-mentioned sequence of the embodiments of the present application is for description only and does not represent the advantages and disadvantages of the embodiments. The above-mentioned specific embodiments of the present application are described. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0054] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, equipment and storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0055] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0056] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A diagnostic method for PROFINET protocol, characterized in that: The method comprises: (1.1) Real-time capture of PROFINET messages; (1.2) Parse the captured PROFINET message to extract the device's working status information and device parameter information; (1.3) Based on the analysis results, determine the working status of the equipment.

2. The method according to claim 1, characterized in that The extracted working status information of the device includes the online status of the device, the device update cycle, and the controller transmission clock; the device parameter information includes the device MAC address, IP address, subnet mask, device name, device type, hardware version number, software version number, order number, manufacturer ID, device ID, and PROFINET role.

3. The method according to claim 1, characterized in that The method further comprises: When it is determined that the working status of the equipment is abnormal, corresponding alarm information is generated according to the preset conditions.

4. The method according to claim 1, characterized in that: The method further comprises: Record the timestamp of the captured PROFINET message; The captured PROFINET messages and corresponding judgment results are stored and statistically analyzed to generate network load ratio, error message statistics, broadcast message statistics, multicast message statistics, sent message statistics and received message statistics; The above statistical analysis results are visualized so that users can view the device operation status and network environment information.

5. A diagnostic system for PROFINET protocol, characterized in that: The system comprises: Data acquisition module, used to capture PROFINET messages in real time; The data analysis module is used to analyze the captured PROFINET messages to extract the working status information and device parameter information of the device; The status judgment module is used to judge the working status of the device based on the analysis results of the data analysis module.

6. The system according to claim 5, characterized in that The system further comprises: The message statistics module is used to record the timestamp of the captured PROFINET messages, store the captured PROFINET messages and the corresponding judgment results, and perform statistical analysis to generate network load ratio, error message statistics, broadcast message statistics, multicast message statistics, sent message statistics and received message statistics; The visualization module is used to visualize the above statistical analysis results so that users can view the device operation status and network environment information.

7. The system according to claim 5, characterized in that The system further comprises: The alarm module is used to generate corresponding alarm information according to preset conditions when it is determined that the working status of the equipment is abnormal.

8. A computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions, characterized in that: When the instructions are executed by a computing device, the computing device is caused to perform the method according to any one of claims 1 to 7.

9. An electronic device, characterized in that: The method comprises one or more processors, one or more memories and one or more programs, wherein the one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, and the one or more programs include instructions for executing the method as claimed in any one of claims 1 to 7.