CN102098199A - Communication fault detection method - Google Patents

Communication fault detection method Download PDF

Info

Publication number
CN102098199A
CN102098199A CN2009102019196A CN200910201919A CN102098199A CN 102098199 A CN102098199 A CN 102098199A CN 2009102019196 A CN2009102019196 A CN 2009102019196A CN 200910201919 A CN200910201919 A CN 200910201919A CN 102098199 A CN102098199 A CN 102098199A
Authority
CN
China
Prior art keywords
smart machine
main control
control device
communication
response message
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
CN2009102019196A
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.)
Shanghai Kelu Software Co Ltd
Original Assignee
Shanghai Kelu Software 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 Shanghai Kelu Software Co Ltd filed Critical Shanghai Kelu Software Co Ltd
Priority to CN2009102019196A priority Critical patent/CN102098199A/en
Publication of CN102098199A publication Critical patent/CN102098199A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention discloses a communication fault detection method. The method comprises the following steps of: forming a communication ring network by master control equipment and intelligent equipment under the control of the master control equipment; detecting communication states of the intelligent equipment along a ring network in two directions, namely a sequence order and a reverse order, by using two communication ports; obtaining a unique corresponding fault detection result according to the detection results of the two opposite directions; and directly determining an area which fails in the ring network. The method is very convenient, does not needs to investigate possible fault reasons one by one by using equipment or perform manual investigation, further reduces the maintenance cost of the intelligent equipment, and improves fault detection efficiency.

Description

A kind of communication failure detection method
Technical field
The present invention relates to a kind of communication failure detection technique.
Background technology
Energy problem has become the bottleneck of restriction one tame enterprise and even a national development, the success that develop safely and effectively, use and energy management will be directly connected to national strategy.In the colliery, oil gas equal energy source exploitation and transportation management field, relate to the automatic control smart machine that is used for underground mining, use, management etc. in a large number, fail safe in order to ensure exploitation, transportation, need to gather in real time the data of these automatic control smart machines, the data of these automatic control smart machines are monitored, smart machine itself is safeguarded etc.
Generally, a control appliance can be set in each mining site/gas field, this control appliance is by the smart machine under the linchpin connected in series of its PORT COM, and the data of these automatic control smart machines are gathered, reported, smart machine itself safeguarded etc., as shown in Figure 1.
Yet because each smart machine is by the PORT COM of linking control appliance connected in series, as connecting each smart machine by RS485 or Ethernet, in case wherein the communication between two smart machines is broken down, to cause thereafter smart machine and the communicating interrupt between the control appliance, and control appliance can't accurately be judged the zone that communication failure takes place, and need investigate one by one, maintenance cost is higher, and speed is slower.Be connected with communication between the smart machine 3 as smart machine among Fig. 12 and break down, then smart machine 3 all can't carry out communication with control appliance to smart machine n, and main control device can not judge accurately that fault is on the communication link between smart machine 2 and the smart machine 3, also or other possible situations, need investigation one by one.
Summary of the invention
The technical problem that the present invention mainly solves provides a kind of communication failure detection method, makes can directly detect the fault zone when the smart machine communication is broken down.
In order to solve the problems of the technologies described above, the invention provides a kind of communication failure detection method, main control device comprises at least two PORT COM, each smart machine comprises at least one PORT COM, described each smart machine is connected in turn on the communication link by its PORT COM, two PORT COM of described main control device connect the two ends of described communication link respectively, form a communication looped network, comprise following steps:
The A main control device sends wheel by first PORT COM and surveys order, sends to each smart machine on the described communication link in proper order along described looped network, and receives the response message that described each smart machine returns;
The B main control device sends wheel by second PORT COM and surveys order, sends to each smart machine on the described communication link along described looped network backward, and receives the response message that described each smart machine returns;
C determines to exist in the described communication looped network smart machine or the communication link zone of fault according to the response message of the described order wheel side order of receiving and the response message of backward wheel side order.
As improvement of the technical scheme, in the described steps A, main control device receives the response message from the order wheel side order of each smart machine, if at the appointed time do not receive the response message of all smart machines at interval, then carries out described step B.
As improvement of the technical scheme, behind the Preset Time interval described main control device sends the order of wheel side by described first PORT COM after, carry out described step B.
As improvement of the technical scheme, among the described step D, determine to exist in the described communication looped network smart machine or the communication link zone of fault in the following manner:
If in the described steps A, main control device is received the response message of order top n smart machine in the described looped network, and among the described step B, main control device is received the response message of preceding M the smart machine of backward in the described looped network, determines that then the link between described N smart machine and described M the smart machine breaks down.
As improvement of the technical scheme, among the described step D, determine to exist in the described communication looped network smart machine or the communication link zone of fault in the following manner:
If in the described steps A, main control device is not received the response message of at least one smart machine in the described looped network, described at least one smart machine is discontinuous, and among the described step B, main control device is not received the response message of identical smart machine, then determines at least one smart machine fault of described no answer information.
As improvement of the technical scheme, described main control device periodically sends the order of wheel side by described first PORT COM with Fixed Time Interval.
Embodiment of the present invention compared with prior art, the main distinction and effect thereof are: the smart machine under main control device and the linchpin forms the communication looped network, use two PORT COM to detect the communication state of each smart machine along looped network with order and backward both direction, according to two rightabout testing results, can access the fault detect result of unique correspondence, the zone of breaking down in directly definite looped network, very convenient, need not use equipment and investigate possible failure cause one by one, also need not manually investigate, further reduce the maintenance cost of smart machine.
Description of drawings
Below in conjunction with the drawings and specific embodiments the present invention is described in further detail.
Fig. 1 is a control appliance and the following smart machine schematic diagram connected in series of linchpin in the prior art;
Fig. 2 is a communication looped network schematic diagram in the communication failure detection method of the present invention's one better embodiment;
Fig. 3 is the communication failure detection method flow chart of the present invention's one better embodiment.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiments of the present invention are described in further detail below in conjunction with accompanying drawing.
First embodiment of the invention relates to a kind of communication failure detection method, is used for smart machine communication looped network.Comprise the smart machine (IED) under a main control device and the control thereof in the communication looped network, main control device comprises at least two PORT COM, each smart machine comprises at least one PORT COM, each smart machine under the described main control device control is connected in series by its PORT COM, two PORT COM of described main control device connect the PORT COM of two smart machines at two ends respectively, form a communication looped network, as shown in Figure 2.
The idiographic flow that communication failure detects under this looped network as shown in Figure 3.
In step 301, main control device sends wheel by first PORT COM and surveys order, sends to each smart machine that connects on the communication link in proper order along this looped network, and receives the response message that each smart machine returns.If at the appointed time do not receive the response message of all smart machines in the interval, then enter step 302; Perhaps behind the Preset Time interval send the order of wheel side by first PORT COM after, directly enter step 302.
In step 302, main control device sends wheel by second PORT COM and surveys order, sends to each smart machine that connects on the communication link along this looped network backward inspection, and receives the response message that each smart machine returns.By control and adjustment, guarantee that the wheel survey that two PORT COM are carried out can not clash to the time interval.
In step 303, main control device is taken turns the response message of side order and the response message of backward wheel side order in proper order according to this, determines to exist in the communication looped network smart machine or the communication link zone of fault.
Specifically, if in the step 301, main control device is received the response message of order top n smart machine in the looped network, and in the step 302, main control device is received the response message of preceding M the smart machine of backward in the looped network, determine that then the link between this N smart machine and this M smart machine breaks down M+N≤smart machine sum.
If in the step 301, main control device is not received the response message of at least one smart machine in the looped network, this at least one smart machine is discontinuous, and among the described step B, main control device is not received the response message of identical smart machine, then determines at least one smart machine fault of this no answer information.
For example, main control device sends wheel by PORT COM 1 and surveys order among Fig. 2, check the communication state of IED1 in the passage, IED2......IEDn successively, send wheel by PORT COM 2 subsequently and survey order, check the communication state of IEDn......IED2 in the passage, IED1 successively.As by 1 response message of receiving IED1 and IED2 of PORT COM, and do not receive the response message of IED thereafter, and receive that by 2 of PORT COM IED3 reaches the response message of IED thereafter, and do not receive the response message of IED2 and IED1, can judge that then communication line interrupts, and interruptions is between IED2 and IED3.Perhaps, as receiving the response message of all IED except that IED3 by PORT COM 1, and receive the response message of all IED except that IED3 equally, can judge that then IED3 equipment breaks down by PORT COM 2.
In actual applications, main control device can regularly send the order of wheel side by first PORT COM and second PORT COM, detects in the communication looped network whether have fault.
By this mode, main control device can be according to two rightabout testing results, obtain unique corresponding detection result, the zone of breaking down in directly definite looped network, very convenient, need not to investigate possible failure cause one by one, also need not manually investigate, reduced the maintenance cost of smart machine by equipment.
Though pass through with reference to some of the preferred embodiment of the invention, the present invention is illustrated and describes, but those of ordinary skill in the art should be understood that and can do various changes to it in the form and details, and without departing from the spirit and scope of the present invention.

Claims (6)

1. communication failure detection method, it is characterized in that, main control device comprises at least two PORT COM, each smart machine comprises at least one PORT COM, described each smart machine is connected in turn on the communication link by its PORT COM, two PORT COM of described main control device connect the two ends of described communication link respectively, form a communication looped network, comprise following steps:
The A main control device sends wheel by first PORT COM and surveys order, sends to each smart machine that connects on the described communication link in proper order along described looped network, and receives the response message that described each smart machine returns;
The B main control device sends wheel by second PORT COM and surveys order, sends to each smart machine that connects on the described communication link along described looped network backward, and receives the response message that described each smart machine returns;
C determines to exist in the described communication looped network smart machine or the communication link zone of fault according to the response message of the described order wheel side order of receiving and the response message of backward wheel side order.
2. communication failure detection method according to claim 1, it is characterized in that in the described steps A, main control device receives the response message from the order wheel side order of each smart machine, if at the appointed time do not receive the response message of all smart machines in the interval, then carry out described step B.
3. communication failure detection method according to claim 1 is characterized in that, behind the Preset Time interval described main control device sends the order of wheel side by described first PORT COM after, carries out described step B.
4. communication failure detection method according to claim 1 is characterized in that, among the described step D, determines to exist in the described communication looped network smart machine or the communication link zone of fault in the following manner:
If in the described steps A, main control device is received the response message of order top n smart machine in the described looped network, and among the described step B, main control device is received the response message of preceding M the smart machine of backward in the described looped network, determines that then the link between described N smart machine and described M the smart machine breaks down.
5. communication failure detection method according to claim 1 is characterized in that, among the described step D, determines to exist in the described communication looped network smart machine or the communication link zone of fault in the following manner:
If in the described steps A, main control device is not received the response message of at least one smart machine in the described looped network, described at least one smart machine is discontinuous, and among the described step B, main control device is not received the response message of identical smart machine, then determines at least one smart machine fault of described no answer information.
6. according to each described communication failure detection method in the claim 1 to 5, it is characterized in that described main control device periodically sends the order of wheel side by described first PORT COM with Fixed Time Interval.
CN2009102019196A 2009-12-09 2009-12-09 Communication fault detection method Pending CN102098199A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102019196A CN102098199A (en) 2009-12-09 2009-12-09 Communication fault detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102019196A CN102098199A (en) 2009-12-09 2009-12-09 Communication fault detection method

Publications (1)

Publication Number Publication Date
CN102098199A true CN102098199A (en) 2011-06-15

Family

ID=44131073

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102019196A Pending CN102098199A (en) 2009-12-09 2009-12-09 Communication fault detection method

Country Status (1)

Country Link
CN (1) CN102098199A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103208858A (en) * 2013-03-24 2013-07-17 国家电网公司 Factory station side link reconstruction method of transformer substation International Electrotechnical Commission (IEC) 870-5-101 communication protocol
CN110034991A (en) * 2019-04-12 2019-07-19 香江科技股份有限公司 A kind of loop network based on RS485 bus
CN111092746A (en) * 2019-10-15 2020-05-01 广州市雅天网络科技有限公司 Whole system intelligent community platform

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6413409A (en) * 1987-07-08 1989-01-18 Kazuma Uto Method for measuring stroke penetration displacement of pile by accelerometer
CN101212366A (en) * 2007-12-21 2008-07-02 杭州华三通信技术有限公司 Failure detection method, system, and main node in Ethernet loop network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6413409A (en) * 1987-07-08 1989-01-18 Kazuma Uto Method for measuring stroke penetration displacement of pile by accelerometer
CN101212366A (en) * 2007-12-21 2008-07-02 杭州华三通信技术有限公司 Failure detection method, system, and main node in Ethernet loop network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103208858A (en) * 2013-03-24 2013-07-17 国家电网公司 Factory station side link reconstruction method of transformer substation International Electrotechnical Commission (IEC) 870-5-101 communication protocol
CN103208858B (en) * 2013-03-24 2015-04-01 国家电网公司 Factory station side link reconstruction method of transformer substation International Electrotechnical Commission (IEC) 870-5-101 communication protocol
CN110034991A (en) * 2019-04-12 2019-07-19 香江科技股份有限公司 A kind of loop network based on RS485 bus
CN111092746A (en) * 2019-10-15 2020-05-01 广州市雅天网络科技有限公司 Whole system intelligent community platform

Similar Documents

Publication Publication Date Title
CN103490521B (en) Intelligent power distribution network fault treatment platform
CN105099506A (en) Electric energy meter RS485 communication failure detecting and self-healing device and method
CN104298195B (en) A kind of method for wireless communication networking of many shuttle cooperative operation systems
CN106254199A (en) Unidirectional ring network fault point positioning method, concentrator, terminal unit and system
CN110224889A (en) A kind of ammeter business monitoring method based on service logic consistency
CN115021407A (en) Fault discrimination system of distribution network automation system and operation method thereof
CN102098199A (en) Communication fault detection method
CN104199394B (en) Method and system for supervising power supply of electrohydraulic control system of hydraulic bracket and monitoring subsystem
CN102508754B (en) Method for detecting 1553B communication interface
CN102394734A (en) RS 485 communication system with nonpolarized connection and control method thereof
CN204989367U (en) Low pressure user transmission line detecting system that visits one house after another
CN101397020B (en) Intelligent acquisition driving device
CN104267642B (en) System and method for outputting reliable current signals
CN203574865U (en) Wireless protection system based on online carrier wave detection of electrical cable
CN201126570Y (en) Remote diagnosis device for computer fault
CN102411114A (en) Device and method for automatically detecting short circuit and disconnection of wire harnesses of rotary drilling rig
CN107342789A (en) A kind of group-net communication method of cable anti-theft monitoring system
CN101593373A (en) System and using method thereof that a kind of wireless discrepancy detects
CN102098200A (en) Intelligent equipment communication ring network
CN111106879A (en) Uplink communication fault visual detection system for metering automation terminal
CN207924051U (en) A kind of line fault point detection device
CN103457755A (en) IEC 61850 system communication fault detection method and system
CN109361672A (en) A kind of the data back transmission method and system of safety insulating device
CN108710063A (en) A kind of power circuit detecting system and method based on electric line carrier communication technology
CN103885441A (en) Self-adaptive fault diagnosis method for controller local area network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110615