CN115695078A - Self-diagnosis method for high-speed industrial bus chip - Google Patents

Self-diagnosis method for high-speed industrial bus chip Download PDF

Info

Publication number
CN115695078A
CN115695078A CN202211344304.0A CN202211344304A CN115695078A CN 115695078 A CN115695078 A CN 115695078A CN 202211344304 A CN202211344304 A CN 202211344304A CN 115695078 A CN115695078 A CN 115695078A
Authority
CN
China
Prior art keywords
port
slave
self
information
data
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.)
Withdrawn
Application number
CN202211344304.0A
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.)
Suzhou Xinwangfeng Intelligent Technology Co ltd
Original Assignee
Suzhou Xinwangfeng Intelligent Technology 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 Suzhou Xinwangfeng Intelligent Technology Co ltd filed Critical Suzhou Xinwangfeng Intelligent Technology Co ltd
Priority to CN202211344304.0A priority Critical patent/CN115695078A/en
Publication of CN115695078A publication Critical patent/CN115695078A/en
Withdrawn legal-status Critical Current

Links

Images

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]

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a high-speed industrial bus chip self-diagnosis method, which comprises a hyper-link bus, wherein network communication adopts a bidirectional full-duplex communication mode and adopts a dual-port structure, and when any port is accessed, processing and forwarding of a data frame are realized; the hyperchain bus adopts a ring topology network which comprises a host and a plurality of slave machines; the host periodically inquires the request information sent by the slave, the slave receives the request information and performs self-checking and sends response information to reply, and if the abnormal operation state is found, the response information carries the information of automatic error reporting; if the slave machine finds that the running state is abnormal, slave information is sent at any time to be actively reported to the host machine, and the slave information carries error reporting information. The invention realizes the construction of network linear or ring topology. The method realizes the on-line monitoring, fault diagnosis and self-healing recovery of the network link quality and health state, and greatly shortens the self-healing recovery time.

Description

Self-diagnosis method for high-speed industrial bus chip
Technical Field
The invention relates to the field of industrial buses, in particular to a high-speed industrial bus chip self-diagnosis method.
Background
The industrial automation puts forward high-speed and high-precision control requirements on the servo drive technology, and the field bus technology provides a digital data transmission network platform for the servo drive control. In practical application cases, high-speed industrial buses are more and more complex, generally, damage and maintenance are caused in the using process, and the negative influence on the whole system is larger, so that along with the richness of the whole bus technology, the whole reliability of the high-speed industrial bus needs to be enhanced.
Disclosure of Invention
The invention aims to provide a high-speed industrial bus chip self-diagnosis method, which realizes the construction of network linear or ring topology. The method realizes the on-line monitoring, fault diagnosis and self-healing recovery of the network link quality and health state, and greatly shortens the self-healing recovery time.
In order to solve the above problems, the present invention provides a high-speed industrial bus chip self-diagnosis method, and to achieve the above object, the technical solution adopted by the present invention to solve the technical problems is as follows:
a self-diagnosis method for a high-speed industrial bus chip comprises the following steps: the network communication adopts a bidirectional full-duplex communication mode, the data link layer manages the network topology construction based on the EtherCAT protocol, the EtherCAT interface adopts a dual-port structure based on a servo driver, and when any port is accessed, the processing and the forwarding of data frames are realized; when the servo driver is simultaneously accessed into the two ports, data enters from the port 0, and corresponding data frames are generated after passing through the data frame processing unit and are forwarded by the port 1; after receiving the data, the port 1 directly transmits the data through the port 0; when the servo driver is accessed to one port 0, the other port 1 is closed, and the data in the port 0 is forwarded to the port 0 from the closed port 1 after passing through the data frame processing unit; the hyperlink bus adopts a ring topology network, and the ring topology network comprises a host and a plurality of slave machines; the host periodically inquires the request information sent by the slave, the slave receives the request information and performs self-checking and sends response information to reply, and if the abnormal operation state is found, the response information carries the information of automatic error reporting; if the slave machine finds that the running state is abnormal, slave information is sent at any time to be actively reported to the host machine, and the slave information carries error reporting information.
The beneficial effect of adopting above-mentioned technical scheme is: for port 0 and port 1, the access indicates that the port is open, and data interaction between a data frame and a loop can be realized; when the network is not accessed, the port is closed, and the forwarding of the data frame can be directly realized.
The technical scheme realizes the construction of network linear or ring topology. When any node of the ring topology fails, the whole link is broken down, thereby affecting the reliability and stability of the system. In order to solve the problem, the hyperchain bus provides a distributed redundant chip diagnosis and self-healing technology, namely, parallel fault diagnosis, positioning and link self-healing of a distributed link are adopted, online monitoring, fault diagnosis and self-healing recovery of network link quality and health state are realized, self-healing recovery time is greatly shortened, and plug and play, fault detection and self-recovery of hyperchain bus network equipment are further realized.
As a further improvement of the invention, the host machine sends messages to the slave machines in a group mode or sends operation instructions to a single slave machine, and the data flow is in a unidirectional ring shape.
The beneficial effect of adopting above-mentioned technical scheme is: in this way, the data flow is in a unidirectional circular loop, and the normal use is satisfied in this state.
As a further improvement of the invention, when disconnection occurs between two adjacent slave machines, the two adjacent slave machines detect timeout and then enable the 0-0 loop automatic healing.
The beneficial effect of adopting above-mentioned technical scheme is: in other words, the data stream is in a double C shape with two nested shapes, which forms a new loop.
As a still further improvement of the present invention, when disconnection occurs between two adjacent slaves, the criterion for the timeout of the two adjacent slaves is 0.1 second.
The beneficial effect of adopting above-mentioned technical scheme is: because the industrial Ethernet real-time requirement and the stability and reliability of the system are influenced by the timeout too long, the timeout criterion is 0.1 second.
As a further improvement of the invention, the dual ports are RJ45 interfaces, and a main switch is arranged at the port 1.
The beneficial effect of adopting above-mentioned technical scheme is: the RJ45 interface is suitable for the system and has reliable performance.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
FIG. 1 is a hyper-link bus chip link layer data flow of one embodiment of the present invention;
FIG. 2 is a multi-node ring topology of a hyperchain bus according to one embodiment of the present invention;
FIG. 3 is a normal mode fault diagnostic periodic poll for one embodiment of the invention;
FIG. 4 illustrates an active report of normal mode fault diagnosis in accordance with an embodiment of the present invention;
FIG. 5 illustrates a normal mode host issuing command data streams in accordance with one embodiment of the present invention;
fig. 6 is an abnormal mode link self-healing instruction data flow according to an embodiment of the present invention.
Detailed Description
The present invention will be further described in detail with reference to the following specific examples:
for the convenience of expression, the internal code of the hyper-LINK bus enterprise is XWF-LINK. And the XWF-LINK bus chip has a LINK layer management function. The network communication of the XWF-LINK bus chip adopts a bidirectional full-duplex communication mode, and the data LINK layer management can realize the construction of the network topology based on the EtherCAT protocol. The EtherCAT interface based on the servo driver adopts a dual-port structure, and when any port is accessed, the processing and forwarding of data frames can be realized, as shown in fig. 1. For port 0 and port 1, the access indicates that the port is open, and data interaction between a data frame and a loop can be realized; when the network is not accessed, the port is closed, and the forwarding of the data frame can be directly realized.
When the servo driver is simultaneously accessed into two ports, data enters from the port 0, corresponding data frames are generated after passing through the data frame processing unit and are forwarded by the port 1, as shown in a loop 0-1 in the figure, the port 1 directly forwards the data through the port 0 after receiving the data, as shown in a loop 1-0 in the figure, and the construction of network linear or ring topology can be realized.
When the servo driver accesses to one port 0, the other port 1 is closed, and the data in the port 0 is forwarded to the port 0 through the closed port 1 after passing through the data frame processing unit, as shown by a loop 0-0 in fig. 1, so that the construction of a network linear topology is realized.
An XWF-LINK bus chip diagnosis and self-healing technology based on ring topology. In a practical application scenario of the real-time industrial ethernet, a network is generally constructed by nodes including a plurality of XWF-LINK bus chips, wherein a ring topology is the most common. The ring topology network includes a master and several slaves, as shown in fig. 2.
Failure of any node of the ring topology can cause the whole link to break down, thereby affecting the reliability and stability of the system. In order to solve the problem, the XWF-LINK provides a distributed redundant chip diagnosis and self-healing technology, namely, parallel fault diagnosis, positioning and LINK self-healing of a distributed LINK are adopted, online monitoring, fault diagnosis and self-healing recovery of network LINK quality and health state are realized, self-healing recovery time is greatly shortened, and plug and play, fault detection and self-healing of XWF-LINK network equipment are further realized.
In a specific technical level, the ring topology uses a closed-loop channel of an XWF-LINK bus chip to form a redundant communication LINK, which is mainly divided into two situations, namely normal mode fault diagnosis and abnormal mode LINK self-healing, and the related principles are respectively explained as follows:
and diagnosing the normal mode fault. The host sets the number of the slaves, the host automatically sends ErRequest messages to inquire periodically, the slaves self-check and send ErResponse messages to reply after receiving the ErResponse messages, and if the ErResponse messages carrying specific information are found, an error is automatically reported, as shown in FIG. 3. The errrequest message is request information, and the errresponse message is response information.
If the slave finds that the running state is abnormal, the slave can also send an ErSlave message to be actively reported to the host at any time, the ErSlave message carries specific error reporting information, and the host immediately carries out quick response after receiving the ErSlave message, as shown in FIG. 4. The ErSlave message is the dependency information.
The abnormal mode link self-heals. In the ring network topology, after the master and the slaves enter a working state after configuration is completed, the back master may send a message in a group or send an operation instruction to a slave, and the flow of related data is as shown in fig. 5.
In fig. 6, a cross is used to represent a broken circuit situation, when a link is disconnected, the detection of two nodes closest to the link is overtime, and then the 0-0 loop in chapter 1 is automatically enabled to automatically heal up, so that it is ensured that the traffic flow is not affected, and the related data flow is as shown in fig. 6.
The above embodiments are merely illustrative of the technical concept and features of the present invention, and the purpose thereof is to enable those skilled in the art to understand the content of the present invention and implement the present invention, and not to limit the scope of the present invention, and all equivalent changes or modifications made according to the spirit of the present invention should be covered by the scope of the present invention.

Claims (5)

1. A self-diagnosis method for a high-speed industrial bus chip is characterized by comprising the following steps:
the method comprises the following steps that a hyperchain bus is adopted, network communication adopts a bidirectional full-duplex communication mode, a data link layer manages network topology construction based on an EtherCAT protocol, a servo driver-based EtherCAT interface adopts a dual-port structure, and when any port is accessed, processing and forwarding of data frames are realized;
when the servo driver is simultaneously accessed into the two ports, data enters from the port 0, and corresponding data frames are generated after passing through the data frame processing unit and are forwarded by the port 1; after receiving the data, the port 1 directly transmits the data through the port 0;
when the servo driver is accessed to one port 0, the other port 1 is closed, and the data in the port 0 is forwarded to the port 0 through the closed port 1 after passing through the data frame processing unit;
the hyperlink bus adopts a ring topology network, and the ring topology network comprises a host and a plurality of slave machines;
the host periodically queries request information sent by the slave, the slave receives the request information and performs self-checking and sends response information to reply, and if the abnormal operation state is found, the response information carries information for automatically reporting errors;
if the slave machine finds that the running state is abnormal, slave information is sent at any time and actively reported to the host machine, and the slave information carries error reporting information.
2. The high-speed industrial bus chip self-diagnosis method according to claim 1, characterized in that: the host machine sends messages to the slave machines in a group mode or sends operation instructions to a single slave machine, and data flow is in a unidirectional ring shape.
3. The high-speed industrial bus chip self-diagnosis method according to claim 2, characterized in that: when the disconnection occurs between two adjacent slaves, the two adjacent slaves detect the timeout and then enable the 0-0 loop to automatically heal.
4. The high-speed industrial bus chip self-diagnosis method according to claim 3, characterized in that: when the two adjacent slaves are disconnected, the judgment standard of the two adjacent slaves for timeout is 0.1 second.
5. The high-speed industrial bus chip self-diagnosis method according to claim 1, characterized in that: the dual ports are RJ45 interfaces, and a main switch is arranged at the port 1.
CN202211344304.0A 2022-10-31 2022-10-31 Self-diagnosis method for high-speed industrial bus chip Withdrawn CN115695078A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211344304.0A CN115695078A (en) 2022-10-31 2022-10-31 Self-diagnosis method for high-speed industrial bus chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211344304.0A CN115695078A (en) 2022-10-31 2022-10-31 Self-diagnosis method for high-speed industrial bus chip

Publications (1)

Publication Number Publication Date
CN115695078A true CN115695078A (en) 2023-02-03

Family

ID=85047009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211344304.0A Withdrawn CN115695078A (en) 2022-10-31 2022-10-31 Self-diagnosis method for high-speed industrial bus chip

Country Status (1)

Country Link
CN (1) CN115695078A (en)

Similar Documents

Publication Publication Date Title
US9565270B2 (en) LPC2468-based MVB-WTB gateway and working method thereof
CN109597723B (en) Dual-machine hot standby redundancy implementation system and method for subway integrated monitoring system
CN113721447B (en) Vehicle control system based on redundancy reconfiguration and control method
CN102035688B (en) Design method for rapidly controlling network link access
CN110650073B (en) CAN bus communication method for mass data transmission
CN112887152B (en) Train communication network architecture and method based on Ethernet and rail train
CN105897574A (en) Modbus RTU/TCP gateway device supporting double-Ethernet and double-master-station redundancy
CN104424680A (en) Entrance guard redundancy control system
CN111711583B (en) Switch supporting configuration of multiple redundancy protocols and transformer substation network system
CN111740879A (en) Data acquisition and data forwarding gateway implementation method
CN111740877B (en) Link detection method and system
CN110798479B (en) Interoperation device and method for dynamically reconfigurable high-speed serial bus and Ethernet
CN109688017A (en) A kind of dual star topology redundant topology architecture system and framework implementation method
CN115695078A (en) Self-diagnosis method for high-speed industrial bus chip
CN209134444U (en) Power-supply management system based on Ethernet daisy chain communication network topology
CN112511397B (en) Self-healing method of EPA (Ethernet for plant Automation) annular network
CN113708967B (en) System monitoring disaster recovery early warning device and early warning method
CN117527158A (en) High-safety embedded system fault-tolerant architecture and method based on time-triggered Ethernet
CN113364659B (en) Data acquisition system based on Modbus protocol
CN213072692U (en) Integrated diagnosis and multiplexing serial communication master station management device
CN115473761B (en) Communication method, system, equipment and medium of CAN bus based on DCS system
CN215222499U (en) Device for computer group operation management
CN212727053U (en) Network architecture of power plant information system
CN116708141A (en) Master control node active-standby switching design method based on SRIO network
CN115685727A (en) Robot digital workshop application-oriented redundant communication network implementation method

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20230203