CN104009856A - Device and method for determining position of fault in fieldbus network - Google Patents
Device and method for determining position of fault in fieldbus network Download PDFInfo
- Publication number
- CN104009856A CN104009856A CN201310057426.6A CN201310057426A CN104009856A CN 104009856 A CN104009856 A CN 104009856A CN 201310057426 A CN201310057426 A CN 201310057426A CN 104009856 A CN104009856 A CN 104009856A
- Authority
- CN
- China
- Prior art keywords
- fieldbus networks
- baud rate
- fault
- slave station
- fieldbus
- 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
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a device for determining the position of a fault in a fieldbus network. The device includes a switching module used for switching a currently used baud rate of the fieldbus network to a preset baud rate when it is detected that a fault happens in the fieldbus network, wherein the preset baud rate is lower than the baud rate currently used by the fieldbus network; a detection module used for using the preset baud rate to detect slave stations which work normally in the fieldbus network; and a determination module used for determining the position, the outer side of which has a fault, of a slave station located at a furthest end in the slave stations which work normally. Through application of the device and method for determining the position of the fault in the fieldbus network, the position of the fault in the fieldbus network can be determined rapidly and accurately so that improvement of system cost is prevented and research and development of the fieldbus network become easier.
Description
Technical field
The present invention relates to field bus technique field, be specifically related to determine the apparatus and method of location of fault in fieldbus networks.
Background technology
Because fieldbus networks has the stronger feature such as environmental suitability and interoperability, be generally applied in industrial control field.Wherein, the widely used fieldbus based on RS-485 comprises Process FieldbusROFIBUS-scattering peripheral equipment (PROFIBUS-Decentralized Periphery, DP), foundation fieldbus & control and communication link system (Foundation Fieldbus & Control & Communication Link, CC-Link) etc.Fieldbus based on RS-485 utilizes twisted-pair feeder or coaxial cable to carry out signal transmission as transmission cable, and the baud rate that transmission is used is higher, and corresponding transmission range is just shorter.For the transmission that has adopted high bit rate, if the two ends at transmission cable do not increase terminal resistance, fieldbus data signal is reflected the end at transmission cable, thereby flood part fieldbus data signal and have a strong impact on the communication quality of fieldbus, this phenomenon is also referred to as echo reflection.Therefore, need to increase terminal resistance at the two ends of transmission cable, be used for reducing the impact of echo reflection on fieldbus data signal.
In actual applications, the fault in fieldbus networks mainly comprises terminal resistance fault and transmission cable fault.For example terminal resistance is not correctly configured in the both ends or one end of transmission cable, or transmission cable disconnects etc.In order to safeguard fieldbus networks, need to determine timely and accurately location of fault.
In existing fault detection method, the self-diagnostic function that field bus device possesses can be passed through the position of the diagnostic message localization of faults.But self-diagnostic function is only used conventionally in short-distance transmission, in the time that transmission range is longer, it is serious that self-diagnostic function can be subject to the impact of echo reflection, exactly the position of the localization of faults.For the position of the localization of faults exactly in bus network at the scene, conventionally need to adopt special hardware diagnostic equipment.In the time using some hardware diagnostic equipment, also need to cut off the power supply of whole fieldbus networks.But, adopt special hardware diagnostic equipment can improve system cost, and in industrial control field, be to be difficult to realize at any time by whole fieldbus networks power-off.
Visible, according to prior art, in the time of the location of fault of determining in fieldbus networks, lack a kind of localization of faults rapidly and accurately and can not improve detection method and the device of system cost.
Summary of the invention
The embodiment of the present invention provides the apparatus and method of location of fault in a kind of definite fieldbus networks, can determine rapidly and accurately the location of fault in fieldbus networks, and not improve system cost.
The embodiment of the present invention provides following technical scheme.
In definite fieldbus networks that the embodiment of the present invention provides, the device of location of fault comprises:
Handover module, in the time detecting that fieldbus networks breaks down, is switched to predetermined baud rate by baud rate currently used described fieldbus networks, and described predetermined baud rate is lower than the currently used baud rate of described fieldbus networks;
Detecting module, for utilizing described predetermined baud rate, surveys the slave station of normal work in described fieldbus networks;
Determination module, the outside that is positioned at the slave station of distal-most end for the slave station of definite described normal work is location of fault.
In one embodiment of the invention, described predetermined baud rate is the minimum baud rate that allows use in described fieldbus networks.
In one embodiment of the invention, described fieldbus networks comprises repeater; Described detecting module, for through described repeater, utilizes described predetermined baud rate, surveys the slave station of normal work in described fieldbus networks.
In one embodiment of the invention, described fieldbus networks is the fieldbus networks based on RS-485.
In definite fieldbus networks that the embodiment of the present invention provides, the method for location of fault comprises:
When detecting while breaking down in fieldbus networks, baud rate currently used described fieldbus networks is switched to predetermined baud rate, and described predetermined baud rate is lower than the currently used baud rate of described fieldbus networks;
Utilize described predetermined baud rate, survey the slave station of normal work in described fieldbus networks;
Determine that the outside that is positioned at the slave station of distal-most end in the slave station of described normal work is location of fault.
In one embodiment of the invention, described predetermined baud rate is the minimum baud rate that allows use in described fieldbus networks.
In one embodiment of the invention, described fieldbus networks comprises repeater; In the described fieldbus networks of described detection, the slave station of normal work comprises: through described repeater, survey the slave station of normal work in described fieldbus networks.
In one embodiment of the invention, described fieldbus networks is the fieldbus networks based on RS-485.
Can find out, in embodiments of the present invention, in the time the breaking down of fieldbus networks being detected, reduce fieldbus networks baud rate used, thereby reduce the impact of echo reflection on fieldbus data signal, the slave station that has ensured normal work in fieldbus networks can all be detected, and then determines location of fault in fieldbus networks rapidly and accurately.Due to without adopting hardware diagnostic equipment just can determine rapidly and accurately location of fault in fieldbus networks, therefore avoid raising system cost, and the research and development of fieldbus networks are more prone to.
Brief description of the drawings
Fig. 1 is the schematic diagram of determining the structure of the device of location of fault in fieldbus networks in the embodiment of the present invention.
Fig. 2 is the schematic diagram of determining location of fault in fieldbus networks in prior art.
Fig. 3 is the schematic diagram of determining location of fault in fieldbus networks in the embodiment of the present invention.
Fig. 4 is the flow chart of determining the method for location of fault in fieldbus networks in the embodiment of the present invention.
Embodiment
In order to make object, technical scheme and the advantage of the embodiment of the present invention clearer, below for example the embodiment of the present invention is described in further detail.
Fig. 1 is the schematic diagram of determining the structure of the device of location of fault in fieldbus networks in the embodiment of the present invention.As shown in Figure 1, in definite fieldbus networks that the embodiment of the present invention provides, the device of location of fault comprises handover module 11, detecting module 12 and determination module 13.
Wherein, handover module 11, in the time detecting that fieldbus networks breaks down, is switched to predetermined baud rate by baud rate currently used fieldbus networks, and this predetermined baud rate is lower than the currently used baud rate of this fieldbus networks.Wherein, when handover module 11 carries out the switching of baud rate, can adopt the mode of existing switching baud rate, for example, after occurring by software set fault, need the predetermined baud rate of switching etc., not repeat them here.
Detecting module 12, for utilizing this predetermined baud rate, is surveyed the slave station of normal work in this fieldbus networks.Wherein, detecting module 12 can adopt existing mode while carrying out the detection of slave station, for example, on transmission cable, send special diagnosis frame etc., does not repeat them here.In actual applications, predetermined baud rate after handover module 11 switches can be the minimum baud rate that allows use in fieldbus networks, thereby make detecting module can detect more exactly all slave stations of normal work, further ensure the accuracy of result of detection.
Determination module 13 is for determining that the outside that this normal slave station of working is positioned at the slave station of distal-most end is location of fault.Because detecting module 12 has detected all slave stations of normal work, the outside that is therefore positioned at the slave station of distal-most end is location of fault.
According to the feature of fieldbus networks, in the time that fieldbus networks baud rate used is lower, reflected signal a little less than, the impact that the echo reflection being caused by reflected signal causes fieldbus data signal is less, even can ignore, fieldbus networks baud rate used is higher, and the impact that echo reflection causes fieldbus data signal is just larger.And the baud rate that fieldbus networks adopts in the time of normal work is conventionally all higher, in the time that transmission cable or terminal resistance break down, terminal resistance cannot play a role, and causes echo reflection to have a strong impact on the transmission of fieldbus data signal.
The device of location of fault in the definite fieldbus networks providing according to the embodiment of the present invention, in the time having fault to occur, handover module 11 reduces baud rate currently used fieldbus networks, thereby alleviate the impact of echo reflection on fieldbus data signal, detecting module 12 can be rapidly and accurately be surveyed the slave stations of all normal work, and then determination module 13 can determine that the outside that is positioned at the slave station of distal-most end in the slave station of normal work is location of fault.Can find out, according to the embodiment of the present invention, without adopting hardware diagnostic equipment just can determine rapidly and accurately location of fault in fieldbus networks, thereby avoid raising system cost, and the research and development of fieldbus networks are more prone to.
In embodiments of the present invention, this fieldbus networks can be the fieldbus networks based on RS-485, or between other baud rates and echo reflection, has the fieldbus networks of above-mentioned relation.
In embodiments of the present invention, this determines that the device of location of fault in fieldbus networks can be arranged in the main website of fieldbus networks, handover module, detecting module and determination module can be used as the functional module newly increasing of main website, or handover module, detecting module and determination module also can be integrated in independently in functional module, realize the function of determining abort situation device in fieldbus networks.
Taking PROFIBUS-DP network as example, in definite fieldbus networks that the embodiment of the present invention is provided, the device of abort situation is elaborated below.In the present embodiment, determine that the device of location of fault in fieldbus networks is arranged in the main website of fieldbus networks, handover module, the functional module that detecting module and determination module newly increase as main website.Predetermined baud rate is in an embodiment that PROFIBUS-DP network allows the minimum baud rate using, i.e. 9.6kbps.
In PROFIBUS-DP network, the relation of baud rate and transmission range is as shown in table 1.
Table 1
Baud rate | Transmission range (m) |
9.6kbps~187.5kbps | 1000 |
500kbps | 400 |
1.5Mbps | 200 |
3Mbps~12Mbps | 100 |
In actual applications, PROFIBUS-DP network is conventionally with the work of high bit rate, and in the present embodiment, the baud rate that PROFIBUS-DP network adopts in the time of work is 1.5Mbps.
Fig. 2 is the schematic diagram of determining location of fault in fieldbus networks in prior art.As shown in Figure 2, the transmission cable between slave station 5 and slave station 6 disconnects, and causes the fault of PROFIBUS-DP network.Main website of the prior art can utilize self-diagnostic function to determine location of fault.But, due to strong echo reflection, affecting the reception of main website to fieldbus data signal, main website can only detect slave station 1 to slave station 3, cannot determine exactly and probably the outside of slave station 3 is defined as to location of fault by location of fault.
Fig. 3 is the schematic diagram of determining location of fault in fieldbus networks in the embodiment of the present invention.As shown in Figure 3, the fault of PROFIBUS-DP network still, between slave station 5 and slave station 6, when the handover module in main website detects this fault, is switched to predetermined baud rate 9.6kbps by baud rate 1.5Mbps currently used fieldbus networks.Detecting module utilizes this predetermined baud rate to survey slave station.Because the value of predetermined baud rate is less, echo reflection is negligible on the impact of fieldbus data signal, so detecting module can detect the slave station of all normal work accurately, slave station 1 is to slave station 5.Determination module will be positioned at the outside of the slave station of distal-most end in the slave station of normally working, the outside of slave station 5 is defined as location of fault, thereby obtains abort situation accurately.
In the time of the application embodiment of the present invention, the transmission range required when fieldbus networks is longer, while exceeding the longer transmission distance (1000 meters) that PROFIBUS-DP network allows, can extend transmission distance by repeater, the transmission range that each repeater can extend is similarly 1000 meters.Now, main website can pass through repeater, and the slave station of normal work in fieldbus networks is surveyed.Because repeater does not affect the performance such as transmission rate of whole network, main website still can detect the slave station through normal work in the whole fieldbus networks of repeater expansion.
Can find out, according to the embodiment of the present invention, without adopting special hardware diagnostic equipment just can determine rapidly and accurately location of fault in fieldbus networks, thereby avoid raising system cost, and the research and development of fieldbus networks are more prone to.
Correspondingly, the embodiment of the invention also discloses the method for location of fault in a kind of definite fieldbus networks.
Fig. 4 is the flow chart of determining the method for location of fault in fieldbus networks in the embodiment of the present invention.As shown in Figure 4, in the present embodiment, in definite fieldbus networks, the method for location of fault comprises the steps.
Step 41, when main website detects while breaking down in fieldbus networks, baud rate currently used fieldbus networks is switched to predetermined baud rate, and this predetermined baud rate is lower than the currently used baud rate of this fieldbus networks.
Preferably, this predetermined baud rate is in this fieldbus networks, to allow the minimum baud rate of use, thereby reduces as much as possible the impact of echo reflection on fieldbus data signal.
Step 42, main website utilizes this predetermined baud rate, surveys the slave station of normal work in this fieldbus networks.
When predetermined baud rate is while allowing the minimum baud rate of use in fieldbus networks, echo reflection is reduced to minimum on the impact of fieldbus data signal, thereby make main website can detect more exactly all slave stations of normal work, further ensure the accuracy of result of detection.
In the time that this fieldbus networks comprises repeater, main website can pass through this repeater in this step, surveys the slave station of all normal work in this fieldbus networks.
Step 43, main website determines that the outside that is positioned at the slave station of distal-most end in slave station of this normal work is location of fault.
In the present embodiment, above-mentioned steps is carried out by the main website in fieldbus networks, and in actual applications, above-mentioned steps also can be carried out by functional module independently.
In embodiments of the present invention, this fieldbus networks can be the fieldbus networks based on RS-485, or between other baud rates and echo reflection, has the fieldbus networks of above-mentioned relation.
Can find out, according to the embodiment of the present invention, in the time having fault to occur, baud rate currently used fieldbus networks is reduced, thereby alleviate the impact of echo reflection on fieldbus data signal, thereby can be rapidly and accurately survey the slave stations of all normal work, and then can determine that the outside that is positioned at the slave station of distal-most end in the slave station of normal work is location of fault.Can find out, according to the embodiment of the present invention, without adopting hardware diagnostic equipment just can determine rapidly and accurately location of fault in fieldbus networks, thereby avoid raising system cost, and the research and development of fieldbus networks are more prone to.
The invention discloses the device of location of fault in a kind of definite fieldbus networks, comprise: handover module, for in the time detecting that fieldbus networks breaks down, baud rate currently used described fieldbus networks is switched to predetermined baud rate, and described predetermined baud rate is lower than the currently used baud rate of described fieldbus networks; Detecting module, for utilizing described predetermined baud rate, surveys the slave station of normal work in described fieldbus networks; Determination module, the outside that is positioned at the slave station of distal-most end for the slave station of definite described normal work is location of fault.The application embodiment of the present invention, can determine location of fault in fieldbus networks rapidly and accurately, has therefore avoided raising system cost, and the research and development of fieldbus networks are more prone to.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.Can be to being improved appropriately according to a preferred embodiment of the invention, to adapt to the concrete needs of concrete condition in concrete implementation process.Therefore be appreciated that the specific embodiment of the present invention as herein described just plays an exemplary role, not in order to limit the scope of the invention.
Claims (8)
1. a device for location of fault in definite fieldbus networks, is characterized in that, comprising:
Handover module, in the time detecting that fieldbus networks breaks down, is switched to predetermined baud rate by baud rate currently used described fieldbus networks, and described predetermined baud rate is lower than the currently used baud rate of described fieldbus networks;
Detecting module, for utilizing described predetermined baud rate, surveys the slave station of normal work in described fieldbus networks; And
Determination module, the outside that is positioned at the slave station of distal-most end for the slave station of definite described normal work is location of fault.
2. device according to claim 1, is characterized in that, described predetermined baud rate is the minimum baud rate that allows use in described fieldbus networks.
3. device according to claim 1, is characterized in that, described fieldbus networks comprises repeater;
Described detecting module, for through described repeater, utilizes described predetermined baud rate, surveys the slave station of normal work in described fieldbus networks.
4. device according to claim 1, is characterized in that, described fieldbus networks is the fieldbus networks based on RS-485.
5. a method for location of fault in definite fieldbus networks, is characterized in that, comprising:
When detecting while breaking down in fieldbus networks, baud rate currently used described fieldbus networks is switched to predetermined baud rate, and described predetermined baud rate is lower than the currently used baud rate of described fieldbus networks;
Utilize described predetermined baud rate, survey the slave station of normal work in described fieldbus networks;
Determine that the outside that is positioned at the slave station of distal-most end in the slave station of described normal work is location of fault.
6. method according to claim 5, is characterized in that, described predetermined baud rate is the minimum baud rate that allows use in described fieldbus networks.
7. method according to claim 5, is characterized in that, described fieldbus networks comprises repeater;
In the described fieldbus networks of described detection, the slave station of normal work comprises: through described repeater, survey the slave station of normal work in described fieldbus networks.
8. method according to claim 5, wherein, described fieldbus networks is the fieldbus networks based on RS-485.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310057426.6A CN104009856A (en) | 2013-02-22 | 2013-02-22 | Device and method for determining position of fault in fieldbus network |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310057426.6A CN104009856A (en) | 2013-02-22 | 2013-02-22 | Device and method for determining position of fault in fieldbus network |
Publications (1)
Publication Number | Publication Date |
---|---|
CN104009856A true CN104009856A (en) | 2014-08-27 |
Family
ID=51370352
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310057426.6A Pending CN104009856A (en) | 2013-02-22 | 2013-02-22 | Device and method for determining position of fault in fieldbus network |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104009856A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112702145A (en) * | 2020-12-22 | 2021-04-23 | 北京城建智控科技有限公司 | CAN bus baud rate self-configuration method and system |
DE102016004095B4 (en) | 2016-04-05 | 2024-02-08 | WAGO Verwaltungsgesellschaft mit beschränkter Haftung | Automatic isolation of a physical network error at runtime |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR0150422B1 (en) * | 1995-11-04 | 1998-11-02 | 이준 | T-bus surveillance trandem device of full electronic telephone exchanger |
CN101699923A (en) * | 2009-11-11 | 2010-04-28 | 广州中大中鸣科技有限公司 | Lighting control system based on DMX512 protocol and method thereof |
CN102347879A (en) * | 2011-05-23 | 2012-02-08 | 大连理工计算机控制工程有限公司 | D-BUS high-speed bus technology based on ring type Ethernet and auxiliary network |
CN203151526U (en) * | 2013-02-22 | 2013-08-21 | 西门子公司 | Device of determining fault position in on-site bus network |
-
2013
- 2013-02-22 CN CN201310057426.6A patent/CN104009856A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR0150422B1 (en) * | 1995-11-04 | 1998-11-02 | 이준 | T-bus surveillance trandem device of full electronic telephone exchanger |
CN101699923A (en) * | 2009-11-11 | 2010-04-28 | 广州中大中鸣科技有限公司 | Lighting control system based on DMX512 protocol and method thereof |
CN102347879A (en) * | 2011-05-23 | 2012-02-08 | 大连理工计算机控制工程有限公司 | D-BUS high-speed bus technology based on ring type Ethernet and auxiliary network |
CN203151526U (en) * | 2013-02-22 | 2013-08-21 | 西门子公司 | Device of determining fault position in on-site bus network |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE102016004095B4 (en) | 2016-04-05 | 2024-02-08 | WAGO Verwaltungsgesellschaft mit beschränkter Haftung | Automatic isolation of a physical network error at runtime |
CN112702145A (en) * | 2020-12-22 | 2021-04-23 | 北京城建智控科技有限公司 | CAN bus baud rate self-configuration method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101494571B (en) | CAN bus self detection recovery device and method | |
CN103887890A (en) | Disaster area power grid state monitoring method | |
CN103684580B (en) | The method of Remote Radio Unit and reporting links fault thereof, wireless communication system | |
CN102278132B (en) | Device and method for detecting position of coal mining machine based on wireless ZigBee technology | |
CN103957552A (en) | Method for improving reliability of data communication in automatic meteorological station | |
CN105201537A (en) | Wireless self-numbering method and device of hydraulic support electric hydraulic control system | |
CN104581798A (en) | Fault state acquire method and device for mobile communication base station | |
CN103002483B (en) | A kind of base station fault detection method, Apparatus and system | |
CN108802568B (en) | Fault location method and device for intelligent station on same tower double-circuit line | |
CN104009856A (en) | Device and method for determining position of fault in fieldbus network | |
CN101547526B (en) | Fault handling method, wireless device and communication system | |
CN103839370A (en) | Design of home fire detection and alarm system based on GSM network | |
CN104247287A (en) | Method and device for determining CoMP user | |
CN203151526U (en) | Device of determining fault position in on-site bus network | |
KR101770121B1 (en) | System for monitoring wire network fault based on reflectometry and method therefor | |
CN203535935U (en) | Control circuit and control system of liquid crystal display module | |
CN109361563B (en) | Substation DNP protocol debugging method | |
CN103259336A (en) | High-voltage fault monitoring system based on internet of things technology | |
CN105242283A (en) | Excavator GPS terminal fault detection system | |
CN104486787A (en) | Method and device for detecting wireless link fault | |
CN103531002B (en) | A kind of remote debugging method based on TD-SCDMA | |
CN101826373B (en) | Method and device for detecting and setting default value of nuclear power plant digital control system | |
CN204390030U (en) | A kind of engineering machinery vehicle burglary-resisting system applying ZigBee adapter | |
CN104052659A (en) | Gateway used for vehicle network signal forwarding and method for vehicle network signal forwarding | |
CN104363032B (en) | communication line self-repairing system, communication line and engineering machinery |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140827 |
|
RJ01 | Rejection of invention patent application after publication |