[go: up one dir, main page]

WO2019006590A1 - Communication method for industrial control system, and industrial control system - Google Patents

Communication method for industrial control system, and industrial control system Download PDF

Info

Publication number
WO2019006590A1
WO2019006590A1 PCT/CN2017/091470 CN2017091470W WO2019006590A1 WO 2019006590 A1 WO2019006590 A1 WO 2019006590A1 CN 2017091470 W CN2017091470 W CN 2017091470W WO 2019006590 A1 WO2019006590 A1 WO 2019006590A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication link
industrial control
fieldbus
auxiliary
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2017/091470
Other languages
French (fr)
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.)
Shenzhen A&E Intelligent Technology Institute Co Ltd
Original Assignee
Shenzhen A&E Intelligent Technology Institute 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 Shenzhen A&E Intelligent Technology Institute Co Ltd filed Critical Shenzhen A&E Intelligent Technology Institute Co Ltd
Priority to CN201780034122.4A priority Critical patent/CN109313421B/en
Priority to PCT/CN2017/091470 priority patent/WO2019006590A1/en
Publication of WO2019006590A1 publication Critical patent/WO2019006590A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/74Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission for increasing reliability, e.g. using redundant or spare channels or apparatus
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Definitions

  • Embodiments of the present invention relate to the field of industrial control, and in particular, to an industrial control system communication method and an industrial control system.
  • Industrial control equipment has high reliability requirements for communication. When the industrial control equipment is running, if the communication is faulty or interrupted, the industrial control equipment will work abnormally or even fail to operate, causing huge losses to the enterprise.
  • the common practice is to use the redundant network topology to communicate with the industrial control equipment, generally using two sets of the same industrial field bus network to constitute redundancy.
  • the redundant network when one industrial field bus fails, another industrial field bus will undertake the task of communication of industrial control equipment.
  • the above scheme adopts two sets of the same industrial field bus network.
  • the probability of common mode error is high, that is, the two networks may fail at the same time due to some interference.
  • Forming a bus structure will increase the complexity of the network topology.
  • the embodiment of the invention provides a communication method and an industrial control system for an industrial control system, which can effectively avoid equipment work problems or industrial field problems caused by network communication failures.
  • An embodiment of the present invention provides a communication method for an industrial control system, including:
  • Communication between the primary industrial control device and the secondary industrial control device is performed with the secondary communication link as a backup link for the backbone communication link.
  • Two fieldbus communication links are established within the backbone communication link and an auxiliary communication link based on power carrier communication is established between the primary industrial control device and the slave industrial control device.
  • the two fieldbus communication links are divided into a main fieldbus communication link and a standby fieldbus communication link according to a sequence of establishing communication of the two fieldbus communication links during the initialization process.
  • the backbone communication link and the auxiliary communication link work in a redundant manner or in a switched manner.
  • the working states of the trunk communication link and the auxiliary communication link are detected, and a corresponding initialization policy is executed according to the detection result.
  • the steps of the detection result to execute the corresponding initialization strategy include:
  • the trunk communication link and the auxiliary communication link operate in a switching manner, in the initializing process, the working states of the trunk communication link and the auxiliary communication link are detected, And the steps of executing the corresponding initialization strategy according to the detection result include:
  • the step of performing communication between the main industrial control device and the slave industrial control device by using the auxiliary communication link as a backup link of the backbone communication link includes:
  • the working states of the trunk communication link and the auxiliary communication link are detected, and a corresponding working policy is executed according to the detection result.
  • the backbone communication link and the auxiliary communication link operate in a redundant manner
  • the working state of the trunk communication link and the auxiliary communication link is detected during operation
  • the steps to execute the corresponding work strategy based on the test results include:
  • the industrial control system performs redundant communication through the main fieldbus communication link and the standby fieldbus communication link, and maintains the current working state. And does not generate an alarm signal;
  • the industrial control system performs redundant communication through the main field bus communication link and the standby field bus communication link, and maintains a current working state and generates a first alarm signal;
  • the industrial control system performs redundant communication through the primary fieldbus communication link and the auxiliary communication link, and maintains current work State and generate a second alarm signal;
  • the industrial control system performs redundant communication through the standby fieldbus communication link and the auxiliary communication link, and maintains current work. State and generate a third alarm signal;
  • the industrial control system passes the primary fieldbus communication link and The other one of the standby field bus communication links that works normally communicates, maintains the current working state, and generates a fourth alarm signal;
  • the industrial control system communicates through the auxiliary communication link and enters The safety state and a fifth alarm signal is generated.
  • the trunk communication link and the auxiliary communication link operate in a switching manner, the working state of the trunk communication link and the auxiliary communication link is detected during operation, And the steps of executing the corresponding work strategy according to the detection result include:
  • the industrial control system communicates through the main fieldbus communication link, and maintains a current working state without generating an alarm signal;
  • the industrial control system passes the primary fieldbus communication link The road communicates and maintains the current working state and generates a sixth alarm signal;
  • the industrial control system switches to communicate through the standby fieldbus communication link and maintains the current working state and Generating a seventh alarm signal;
  • the industrial control system switches to work by using the auxiliary communication link to communicate And maintain the current working state and generate an eighth alarm signal.
  • Embodiments of the present invention also provide an industrial control system including a main industrial control device, a slave industrial control device, and a fieldbus communication-based backbone communication link disposed between the main industrial control device and the slave industrial control device.
  • the backbone communication link further includes two fieldbus communication links.
  • the main industrial control device divides the two field bus communication links into a main field bus communication link and a standby field bus communication link according to a sequence of establishing communication between the two field bus communication links. .
  • the backbone communication link and the auxiliary communication link work in a redundant manner or in a switched manner.
  • the main industrial control device detects the working states of the trunk communication link and the auxiliary communication link, and performs a corresponding initialization policy according to the detection result.
  • the main industrial control device when the trunk communication link and the auxiliary communication link operate in a redundant manner, the main industrial control device performs the following initialization policy according to the detection result:
  • the main industrial control device when the trunk communication link and the auxiliary communication link operate in a switching manner, the main industrial control device performs the following initialization policy according to the detection result:
  • the main industrial control device detects the working status of the trunk communication link and the auxiliary communication link, and executes a corresponding working policy according to the detection result.
  • the main industrial control device performs the following working policies according to the detection result:
  • the industrial control system performs redundant communication through the main fieldbus communication link and the standby fieldbus communication link, and maintains the current working state. And does not generate an alarm signal;
  • the industrial control system performs redundant communication by the main field bus communication link and the standby field bus communication link, and maintains the current working state and generates the first Alarm;
  • the industrial control system performs redundant communication through the primary fieldbus communication link and the auxiliary communication link, and maintains current work State and generate a second alarm signal;
  • the industrial control system performs redundant communication through the standby fieldbus communication link and the auxiliary communication link, and maintains current work. State and generate a third alarm signal;
  • the industrial control system passes the primary fieldbus communication link and The other one of the standby field bus communication links that works normally communicates, maintains the current working state, and generates a fourth alarm signal;
  • the industrial control system communicates through the auxiliary communication link and enters The safety state and a fifth alarm signal is generated.
  • the main industrial control device when the trunk communication link and the auxiliary communication link operate in a switching manner, the main industrial control device performs the following working policies according to the detection result:
  • the industrial control system communicates through the main fieldbus communication link, and maintains a current working state without generating an alarm signal;
  • the industrial control system passes the primary fieldbus communication link The road communicates and maintains the current working state and generates a sixth alarm signal;
  • the industrial control system switches to communicate through the standby fieldbus communication link and maintains the current working state and Generating a seventh alarm signal;
  • the industrial control system switches to work by using the auxiliary communication link to communicate And maintain the current working state and generate an eighth alarm signal.
  • the beneficial effects of the embodiments of the present invention are: using the power carrier communication as the auxiliary communication link and the backbone communication link to form a redundant network, without redesigning the communication network architecture, using the master-slave industrial control device
  • the power line transmits the analog and/or digital signals in the industrial control system at high speed through the carrier wave, without increasing the complexity of the network topology and the equipment cost, and effectively protecting the master-slave industrial control equipment when the trunk communication link fails.
  • Inter-communication, and reliable communication can meet the communication requirements between the master-slave industrial control equipment.
  • power carrier communication as an auxiliary communication link can reduce the common mode error rate existing between the two field bus communication links, thereby further ensuring normal communication of the industrial control system.
  • the present invention provides two communication methods, a network redundancy working mechanism and a network switching working mechanism, which can effectively ensure the communication of the industrial control system in both normal operation and failure, and both communication modes are industrial.
  • the communication link of the control system is detected, which can effectively detect the communication situation before or during the operation of the industrial control system, and can provide different guarantees for different communication situations.
  • FIG. 1 is a schematic flow chart of an embodiment of a communication method of an industrial control system according to the present invention
  • FIG. 2 is a schematic flow chart of a redundant mode working state in an embodiment of a communication method of an industrial control system according to the present invention
  • FIG. 3 is a schematic flow chart of another embodiment of a communication method of an industrial control system according to the present invention.
  • FIG. 4 is a schematic flowchart of a working mode of a switching mode in another embodiment of a communication method of an industrial control system according to the present invention
  • FIG. 5 is a schematic structural view of an embodiment of an industrial control system according to the present invention.
  • the method in the embodiment of the communication method of the industrial control system of the present invention includes:
  • S1 establishing a main communication link based on fieldbus communication and an auxiliary communication link based on power carrier communication between the main industrial control device in the industrial control system and from the industrial control device.
  • a fieldbus communication backbone communication link in the industrial control system turns on communication between the main industrial control device and the slave industrial control device, and simultaneously with the auxiliary
  • the communication link can constitute a redundant network, thereby further ensuring that the communication between the master-slave industrial equipment remains unblocked when the fault occurs.
  • the secondary communication link in the redundant network can be connected as a backup communication link
  • the main industrial control device and the communication with the slave industrial control device avoid loss caused by communication interruption caused by failure of the backbone communication link, and can conveniently detect and repair the faulty backbone communication link .
  • the power carrier communication is utilized as an auxiliary communication link, and the communication network architecture is not redesigned, and the existing power line of the master-slave industrial control device is used to simulate and/or simulate the industrial control system.
  • the high-speed transmission of the digital signal does not increase the network topology complexity and the equipment cost, and can effectively ensure the communication between the master-slave industrial control devices when the trunk communication link fails, and the communication is reliable and the transmission speed is fast. It can meet the communication requirements between the master-slave industrial control devices.
  • the power carrier can be implemented in various manners, for example, the processor in the industrial control device converts the baseband signal into a bandpass signal (ie, a modulated signal) with a higher frequency relative to the baseband frequency through a modem to be suitable for channel transmission. .
  • the signal pre-processing circuit realizes amplification and filtering of the transmitted signal and the received signal.
  • the power line coupled power realizes a physical interface between the power carrier circuit and the power line.
  • the auxiliary communication link based on power carrier communication may be classified into high voltage power carrier communication, medium voltage power carrier communication, or low voltage power carrier communication.
  • Optional low voltage power carrier communication with a voltage of 380V or 220V.
  • there are different signal coupling modes of the power carrier signal such as wired-ground coupling and line-to-neutral coupling.
  • the auxiliary communication link may be selected or set according to actual conditions.
  • the steps of establishing a main communication control link based on fieldbus communication and an auxiliary communication link based on power carrier communication between the main industrial control device in the industrial control system and the industrial control device include:
  • S11 Establish two fieldbus communication links in the trunk communication link, and establish an auxiliary communication link based on power carrier communication between the main industrial control device and the slave industrial control device. .
  • the two fieldbus communication links can work simultaneously or separately. And the industrial control system can automatically select or not automatically select the two fieldbus communication links.
  • the auxiliary communication link can also establish two field-assisted communication links.
  • two fieldbus communication links are established in the backbone communication link, and when the two communication links work simultaneously, the communication data signals of the industrial control system can be shared, thereby avoiding a single communication line may bring The communication is not smooth, or the load is too high, the communication failure and the like, the communication between the master-slave industrial control devices is more effectively ensured, and in addition, one of the field bus communication in the trunk communication link is When the link fails, another one of the fieldbus communication links can ensure smooth communication between the master-slave industrial control devices, and does not affect normal communication of the master-slave industrial control device.
  • the use of the power carrier communication as an auxiliary communication link can reduce the common mode error rate existing between the two fieldbus communication links, thereby further ensuring the effectiveness of the redundant network of the industrial control system and the normal communication. .
  • the step of establishing a main communication link between the main industrial control device and the industrial control device based on the fieldbus communication and the auxiliary communication link based on the power carrier communication further includes:
  • the two field bus communication links are divided into a main field bus communication link and a standby field bus communication link according to a sequence of establishing communication between the two field bus communication links during the initialization process.
  • the primary fieldbus communication link and the standby fieldbus communication link form a redundant network in the primary fieldbus communication link and the standby fieldbus communication link
  • the other fieldbus communication link that is working normally can ensure that the communication of the backbone communication link of the master-slave industrial control device is normal.
  • the trunk communication link and the auxiliary communication link based on the power carrier communication constitute another redundant network, which ensures the main when the main field bus communication link and the standby field bus communication link both fail.
  • Normal communication between the industrial control devices ensures the normal operation of the master-slave industrial control device. Through two levels of redundant networks, the risk of failure caused by a single identical redundant network can be reduced, and communication between the master-slave industrial control devices can be more effectively guaranteed. And utilizing the power carrier communication as the auxiliary communication link can reduce the common mode error rate existing between the two fieldbus communication links, thereby further reducing the risk of communication failure of the industrial control system.
  • the backbone communication link and the auxiliary communication link operate in a redundant manner.
  • the step of establishing a main communication link between the main industrial control device and the industrial control device based on the fieldbus communication and the auxiliary communication link based on the power carrier communication further includes:
  • the detection method is various, for example, the main industrial control device transmits the control command to the slave industrial control device and/or receives the slave industrial control device by using the trunk communication link or the auxiliary communication link. An operational state whereby the communication path of the backbone communication link and the auxiliary communication link is detected.
  • the trunk communication link and the auxiliary communication link operate in a redundant manner
  • the working states of the trunk communication link and the auxiliary communication link are performed.
  • the steps of detecting and executing the corresponding initialization strategy according to the detection result include S14:
  • the communication link of the industrial control system must include at least one fieldbus communication link that is working normally, otherwise the initialization fails. If the two fieldbus communication links work abnormally and still need to be initialized, then in the course of work, the communication of the industrial control system lacks the backbone communication, so that normal communication is not guaranteed, and it is extremely easy. At least one working bus communication link that works normally, to some extent, guarantees normal communication of the industrial control system due to communication problems caused by communication interruption or communication failure.
  • the initialization policy described in this embodiment may be multiple. For example, if the two field bus communication links in the trunk communication link are working normally and the auxiliary communication link is also working normally, the completion is completed. Initialized and no alarm signal is generated. If any one of the two fieldbus communication links and the auxiliary communication link in the trunk communication link work abnormally, the initialization fails.
  • the step of performing communication between the main industrial control device and the slave industrial control device by using the auxiliary communication link as a backup link of the backbone communication link includes:
  • the master-slave industrial control device can start working, and the communication link is normally connected.
  • the working states of the trunk communication link and the auxiliary communication link are detected in real time or not detected in real time, and then The communication link that makes the communication of the master-slave industrial control device unblocked or the security of the master-slave industrial control device is selected or switched according to the detection result.
  • the detecting is performed in various manners, for example, the industrial control system transmits the control command to the slave industrial control device and receives the operating state of the slave industrial control device by using the trunk communication link or the auxiliary communication link. Thereby detecting a communication path of the backbone communication link and the auxiliary communication link.
  • the trunk communication link and the auxiliary communication link operate in a redundant manner, in the working process, the trunk communication link and the auxiliary communication link are The working state is detected, and the steps of executing the corresponding working strategy according to the detection result include S16:
  • the industrial control system performs redundant communication through the main fieldbus communication link and the standby fieldbus communication link, and maintains the current working state. And does not generate an alarm signal;
  • the industrial control system performs redundant communication through the main field bus communication link and the standby field bus communication link, and maintains a current working state and generates a first alarm signal;
  • the industrial control system performs redundant communication through the primary fieldbus communication link and the auxiliary communication link, and maintains current work State and generate a second alarm signal;
  • the industrial control system performs redundant communication through the standby fieldbus communication link and the auxiliary communication link, and maintains current work. State and generate a third alarm signal;
  • the industrial control system passes the primary fieldbus communication link and The other one of the standby field bus communication links that works normally communicates, maintains the current working state, and generates a fourth alarm signal;
  • the industrial control system communicates through the auxiliary communication link and enters The safety state and a fifth alarm signal is generated.
  • the five different alarm signals may be expressed in various manners, for example, by displaying signals of different colors, or by different sounds, or by voice.
  • the industrial control system passes the main field bus communication link and the standby field bus communication chain.
  • the road performs redundant communication and maintains the current working state without generating an alarm signal. If the one or both of the primary fieldbus communication link and the standby fieldbus communication link and the auxiliary communication link of the backbone communication link operate abnormally, then the industrial control system chooses to maintain the current The working state or enters a safe state and generates an alarm signal.
  • the higher the first to fifth median values of the alarm signal the more serious the event.
  • the working strategy should be set correspondingly.
  • the working strategy can be determined according to the actual working needs of the industrial control system.
  • the redundant working mode is a digital communication mode and/or an analog communication mode.
  • another embodiment of the communication method of the industrial control system of the present invention is the same as the embodiment of the communication method of the industrial control system of the present invention described above, and the difference mainly includes the trunk communication link and the auxiliary.
  • the communication link operates in a switched manner.
  • the industrial control system can automatically or not automatically switch to a working communication link to secure the industry. Communication between the slave main industrial control devices of the control system.
  • the step of establishing a main communication link between the main industrial control device and the industrial control device based on the fieldbus communication and the auxiliary communication link based on the power carrier communication further includes:
  • M13 During the initialization process, the working states of the trunk communication link and the auxiliary communication link are detected, and a corresponding initialization policy is executed according to the detection result.
  • the trunk communication link and the auxiliary communication link operate in a switching manner
  • the working states of the trunk communication link and the auxiliary communication link are detected during an initialization process.
  • the steps of executing the corresponding initialization strategy based on the detection result include M14:
  • the industrial control system can enter a normal working state; if the initialization fails, the industrial control system can be overhauled, and when the maintenance is completed, the initialization is resumed. It is initialized to clarify whether the trunk communication link and the auxiliary communication link are in a normal working state, and to prevent the faulty communication link from affecting communication in the operation of the industrial control system.
  • the step of performing communication between the main industrial control device and the slave industrial control device by using the auxiliary communication link as a backup link of the backbone communication link includes:
  • M15 During the working process, the working states of the trunk communication link and the auxiliary communication link are detected, and a corresponding working policy is executed according to the detection result.
  • the industrial control system communicates through the main fieldbus communication link, and maintains a current working state without generating an alarm signal;
  • the industrial control system passes the primary fieldbus communication link
  • the road communicates and maintains the current working state and generates a sixth alarm signal; at this time, the trunk communication link is kept connected to the main fieldbus communication link for communication, and the normal operation of the trunk communication link is maintained. .
  • the industrial control system switches to communicate through the standby fieldbus communication link and maintains the current working state and A seventh alarm signal is generated; at this time, the trunk communication link is switched to the standby fieldbus communication link for communication, and the normal operation of the trunk communication link is maintained.
  • the industrial control system switches to work by using the auxiliary communication link to communicate And maintain the current working state and generate an eighth alarm signal.
  • the communication link of the industrial control system is switched to the standby field bus communication link for communication, maintaining the normal operation of the industrial control system, and prompting the master-slave industrial control device to perform maintenance or the above The fault is handled.
  • the switching mode is a digital communication mode and/or an analog communication mode.
  • the higher the value in the sixth to eighth of the alarm signal in the switching mode the higher the event.
  • Steps M1 and M2 of this embodiment are steps S1 and S2 in an embodiment of the above-described industrial control communication method of the present invention.
  • Steps M11 and M12 of this embodiment are steps S11 and S12 in an embodiment of the above-described industrial control communication method of the present invention.
  • an embodiment of the industrial control system of the present invention includes a main industrial control device 1, a slave industrial control device 2, and a fieldbus-based communication provided between the main industrial control device 1 and the slave industrial control device 2.
  • the backbone communication link 3 and the auxiliary communication link 4 based on power carrier communication.
  • the auxiliary communication link 4 serves as a backup link for the trunk communication link 3 in the communication process between the main industrial control device 1 and the slave industrial control device 2.
  • the backbone communication link 3 and the auxiliary communication link 4 constitute a redundant network, and when the trunk communication link 3 fails, the auxiliary communication link 4 As a backup link, communication between the master-slave industrial control devices 2 of the industrial control system is maintained normal.
  • the communication network architecture is not redesigned, and the analog power and/or digital signals in the industrial control system are transmitted at high speed by means of the existing power line of the master-slave industrial control device 2 through the carrier.
  • the trunk communication link 3 fails, the communication between the master-slave industrial control device 2 can be effectively guaranteed, and the communication is reliable, the transmission speed is fast, and the device can be satisfied.
  • the communication requirements between the master and the industrial control device 2 are described.
  • the power carrier can be implemented in various manners, for example, the processor in the industrial control device converts the baseband signal into a bandpass signal (ie, a modulated signal) with a higher frequency relative to the baseband frequency through a modem to be suitable for channel transmission. .
  • the signal pre-processing circuit realizes amplification and filtering of the transmitted signal and the received signal.
  • the power line coupled power realizes a physical interface between the power carrier circuit and the power line.
  • the main industrial control device 1 can simultaneously connect one or more of the slave industrial control devices 2.
  • the main industrial control device 1 is configured to send a control command to each of the slave industrial control devices 2 to receive an operating state of the slave industrial control device 2 and key parameter information of the controlled device, such as voltage, current, power, and the like.
  • Both the main industrial control device 1 and the slave industrial control device 2 include a redundant industrial fieldbus communication interface and a power carrier communication interface.
  • the auxiliary communication link 4 based on the power carrier communication may be high voltage power carrier communication, medium voltage power carrier communication or low voltage power carrier communication.
  • Optional low voltage power carrier communication with a voltage of 380V or 220V.
  • the auxiliary communication link 4 can be selected or set according to actual conditions.
  • the backbone communication link 3 further includes two fieldbus communication links.
  • the two fieldbus communication links can operate simultaneously or separately.
  • the industrial control system can automatically select or not automatically select the two fieldbus communication links
  • the industrial control system is initialized prior to operation of the industrial control system.
  • the main industrial control device 1 divides the two field bus communication links into a main field bus communication link A and a standby field bus communication according to the order in which the two field bus communication links establish communication.
  • Link B is the main industrial control device 1
  • the main field bus communication link A and the standby field bus communication link B constitute a redundant network
  • the main field bus communication link A and the standby field bus communication link B constitute redundant Any one of the remaining networks fails, and the normal operation can ensure that the communication of the master-slave industrial control device 2 of the industrial control system is normal.
  • the backbone communication link 3 and the auxiliary communication link 4 can operate in a redundant manner.
  • the main fieldbus communication link A and the standby field main line communication link constitute a redundant network
  • the auxiliary communication link 4 and the backbone communication link 3 constitute a redundant network, whereby the industrial control system has two A hierarchical redundant network can effectively guarantee the communication of the industrial control system in the event of a communication failure.
  • the industrial control system is initialized prior to operation of the industrial control system.
  • the main industrial control device 1 detects the working states of the trunk communication link 3 and the auxiliary communication link 4, and executes a corresponding initialization policy according to the detection result.
  • the main industrial control device 1 detects various working states of the trunk communication link 3 and the auxiliary communication link 4, for example, the main industrial control device 1 utilizes the trunk communication link 3 Or the auxiliary communication link 4 transmits a control command to the slave industrial control device 2 and receives an operating state of the slave industrial control device 2 if the master industrial control device 1 can send the slave industrial control device 2 Controlling the command and receiving the operating state of the slave industrial control device 2, then the communication link utilized by the main industrial control device 1 is in a normal operating state, otherwise abnormal.
  • the main industrial control device 1 performs the following initialization policy according to the detection result:
  • the initialization strategy is determined according to the requirements of the communication in the actual operation of the industrial control system.
  • the industrial control system needs to perform real-time detection or non-real-time detection on the operational status of the backbone communication link 3 and the auxiliary communication link 4 during operation.
  • the main industrial control device 1 detects the working states of the backbone communication link 3 and the auxiliary communication link 4, and executes a corresponding working policy according to the detection result.
  • the main industrial control device 1 transmits a control command to the slave industrial control device 2 and receives the slave industrial control by using the trunk communication link 3 or the auxiliary communication link 4.
  • the operating state of the device 2 thereby detecting the communication path of the backbone communication link 3 and the auxiliary communication link 4.
  • the main industrial control device 1 performs the following work policies according to the detection result:
  • the industrial control system performs redundant communication through the primary fieldbus communication link A and the standby fieldbus communication link B, and Maintain the current working state and do not generate an alarm signal;
  • the industrial control system performs redundant communication through the main field bus communication link A and the standby field bus communication link B, and maintains the current working state and generates the first Alarm;
  • the industrial control system performs redundant communication through the primary fieldbus communication link A and the auxiliary communication link 4, And maintaining the current working state and generating a second alarm signal;
  • the industrial control system performs redundant communication through the standby fieldbus communication link B and the auxiliary communication link 4, And maintaining the current working state and generating a third alarm signal;
  • the industrial control system communicates through the primary fieldbus Link A communicates with another one of the standby fieldbus communication link B that is working normally, and maintains the current working state and generates a fourth alarm signal;
  • the industrial control system performs the auxiliary communication link 4 Communicate and enter a safe state and generate a fifth alarm signal.
  • the industrial control system passes the main field bus communication link A and the standby site.
  • the bus communication link B performs redundant communication and maintains the current working state without generating an alarm signal. If the one or both of the main fieldbus communication link A and the standby field bus communication link B and the auxiliary communication link 4 of the trunk communication link 3 operate abnormally, then the industrial control The system chooses to maintain the current working state or enter a safe state and generate an alarm signal.
  • the higher the values in the first to fifth the more serious the matter.
  • the lower the values in the first to the fifth the more serious the situation, in which the working strategy is to be set correspondingly.
  • the working strategy can be determined according to the actual working needs of the industrial control system.
  • the backbone communication link 3 and the auxiliary communication link 4 can also operate in a switching manner.
  • the industrial control system can be initialized prior to operation of the industrial control system.
  • the main industrial control device 1 detects the working states of the trunk communication link 3 and the auxiliary communication link 4, and executes a corresponding initialization policy according to the detection result.
  • the main industrial control device 1 detects various working states of the trunk communication link 3 and the auxiliary communication link 4, for example, the main industrial control device 1 utilizes the trunk communication link 3 Or the auxiliary communication link 4 transmits a control command to the slave industrial control device 2 and receives an operating state of the slave industrial control device 2 if the master industrial control device 1 can send the slave industrial control device 2 Controlling the command and receiving the operating state of the slave industrial control device 2, then the operating state of the communication link utilized by the main industrial control device 1 is normal, otherwise abnormal.
  • the main industrial control device 1 When the trunk communication link and the auxiliary communication link operate in a switching manner, the main industrial control device 1 performs the following initialization policy according to the detection result:
  • the main industrial control device 1 detects the working states of the backbone communication link 3 and the auxiliary communication link 4, and executes a corresponding working policy according to the detection result.
  • the main industrial control device 1 When the trunk communication link and the auxiliary communication link operate in a switching manner, the main industrial control device 1 performs the following work policies according to the detection result:
  • the industrial control system communicates via the primary fieldbus communication link A and maintains the current operating state without generating an alarm signal.
  • the bus communication link A communicates and maintains the current operating state and generates a sixth alarm signal.
  • the industrial control system switches to communicate through the standby fieldbus communication link B, and maintains the current Working state and generating a seventh alarm signal. At this time, the industrial control system switches the operation of the main field bus communication link A to the standby field bus to maintain the operation of the trunk communication link 3.
  • the industrial control system switches to pass the auxiliary communication link. 4 work to communicate, and maintain the current working state and generate an eighth alarm signal.
  • the industrial control system described at this time turns on the auxiliary link, and the communication of the master-slave industrial control device 2 is maintained by the auxiliary communication link 4.
  • the industrial control device can be serviced or enter a safe state.
  • the industrial control system passes the main field bus.
  • Communication link A communicates and maintains the current operating state without generating an alarm signal. If the primary fieldbus communication link A and any one or both of the standby fieldbus communication link B and the auxiliary communication link 4 operate abnormally, the industrial control system maintains the current operating state or switches Go to a working communication link and generate an alarm signal.
  • a relay may be used as a switching unit of the industrial control system to perform switching between the trunk communication link and the auxiliary communication link 4, and a location of the trunk communication link.
  • the switching between the main field bus communication link A and the standby field bus communication link B may be selected as an electromagnetic relay, a solid state relay, a temperature relay, etc., and may be a relay with a forced guiding function, for example, meeting the requirements of the European standard EN50205. Relay.
  • the relay detection circuit is generally used to perform real-time or non-real-time reliability detection on the relay, so that the relay can be reliably detected as a misoperation or switching of the switching unit. Misuse and switching unsuccessful damage to the industrial control system communication.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Safety Devices In Control Systems (AREA)

Abstract

本发明实施例提供一种工业控制系统通信方法及工业控制系统,所述方法包括在所述工业控制系统中的主工业控制设备和从工业控制设备之间建立基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路。以所述辅助通信链路作为所述主干通信链路的备用链路进行所述主工业控制设备和与所述从工业控制设备之间的通信。所述工业控制系统包括主工业控制设备、从工业控制设备以及基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路。通过上述方式,无需重新设计通信网络架构,利用现有的电力线通过载波的方式将工业控制系统中模拟和/或数字信号进行高速传输,不增加网络拓扑复杂性和设备成本,有效地保障主从工业控制设备之间的通信。Embodiments of the present invention provide an industrial control system communication method and an industrial control system, the method comprising: establishing a backbone communication link based on fieldbus communication between a main industrial control device in the industrial control system and from an industrial control device And an auxiliary communication link based on power carrier communication. Communication between the primary industrial control device and the secondary industrial control device is performed with the secondary communication link as a backup link for the backbone communication link. The industrial control system includes a main industrial control device, a backbone communication link from an industrial control device and a fieldbus communication, and an auxiliary communication link based on power carrier communication. In the above manner, the communication network architecture is not redesigned, and the existing power lines are used to transmit the analog and/or digital signals in the industrial control system through the carrier wave at high speed without increasing the network topology complexity and equipment cost, thereby effectively ensuring the master-slave Communication between industrial control devices.

Description

工业控制系统通信方法及工业控制系统 Industrial control system communication method and industrial control system

【技术领域】[Technical Field]

本发明实施例涉及工业控制领域,特别是涉及一种工业控制系统通信方法及工业控制系统。Embodiments of the present invention relate to the field of industrial control, and in particular, to an industrial control system communication method and an industrial control system.

【背景技术】 【Background technique】

工业控制设备对通信的可靠性要求较高,在工业控制设备运行作业时,如果通信故障或者中断,将会导致工业控制设备工作异常甚至无法进行作业,给企业带来巨大的损失。Industrial control equipment has high reliability requirements for communication. When the industrial control equipment is running, if the communication is faulty or interrupted, the industrial control equipment will work abnormally or even fail to operate, causing huge losses to the enterprise.

目前,为了避免通信故障或者中断导致工业控制设备无法正常作业的问题,通用的做法是采用冗余网络拓扑结构来对工业控制设备进行通信,一般是采用两套相同的工业现场总线网络来构成冗余网络,在该冗余网络内,当一套工业现场总线出现故障,另外一套工业现场总线会承担工业控制设备通信的任务。At present, in order to avoid the problem that the industrial control equipment can not work normally due to communication failure or interruption, the common practice is to use the redundant network topology to communicate with the industrial control equipment, generally using two sets of the same industrial field bus network to constitute redundancy. In the redundant network, when one industrial field bus fails, another industrial field bus will undertake the task of communication of industrial control equipment.

显然,上述方案采用两套采用两套相同的工业现场总线网络,在复杂的工业现场工况下,存在共模错误的概率较高,即两个网络有可能因为某种干扰同时失效,且无法构成总线式结构,会增加网络拓扑的复杂性。Obviously, the above scheme adopts two sets of the same industrial field bus network. In complex industrial field conditions, the probability of common mode error is high, that is, the two networks may fail at the same time due to some interference. Forming a bus structure will increase the complexity of the network topology.

【发明内容】 [Summary of the Invention]

本发明实施例提供一种工业控制系统的通信方法及工业控制系统,能够有效避免因网络通信故障引起的设备工作问题或工业现场问题。The embodiment of the invention provides a communication method and an industrial control system for an industrial control system, which can effectively avoid equipment work problems or industrial field problems caused by network communication failures.

本发明实施例提供一种工业控制系统的通信方法包括:An embodiment of the present invention provides a communication method for an industrial control system, including:

在所述工业控制系统中的主工业控制设备和从工业控制设备之间建立基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路;Establishing a main communication link based on fieldbus communication and an auxiliary communication link based on power carrier communication between the main industrial control device in the industrial control system and from the industrial control device;

以所述辅助通信链路作为所述主干通信链路的备用链路进行所述主工业控制设备和与所述从工业控制设备之间的通信。Communication between the primary industrial control device and the secondary industrial control device is performed with the secondary communication link as a backup link for the backbone communication link.

其中,所述在所述工业控制系统中的主工业控制设备和从工业控制设备之间建立基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路的步骤包括:The step of establishing a main communication link based on fieldbus communication and an auxiliary communication link based on power carrier communication between the main industrial control device in the industrial control system and the industrial control device includes:

在所述主干通信链路内建立两条现场总线通信链路,并在所述主工业控制设备和从工业控制设备之间建立基于电力载波通信的辅助通信链路。Two fieldbus communication links are established within the backbone communication link and an auxiliary communication link based on power carrier communication is established between the primary industrial control device and the slave industrial control device.

其中,所述在所述工业控制系统中的主工业控制设备和从工业控制设备之间建立基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路的步骤进一步包括:The step of establishing a main communication link between the main industrial control device in the industrial control system and the field communication communication based on the fieldbus communication and the auxiliary communication link based on the power carrier communication further includes:

在初始化过程中根据所述两条现场总线通信链路建立通信的先后顺序将所述两条现场总线通信链路分成主现场总线通信链路和备现场总线通信链路。The two fieldbus communication links are divided into a main fieldbus communication link and a standby fieldbus communication link according to a sequence of establishing communication of the two fieldbus communication links during the initialization process.

可选的,所述主干通信链路和所述辅助通信链路以冗余方式或切换方式进行工作。Optionally, the backbone communication link and the auxiliary communication link work in a redundant manner or in a switched manner.

其中,所述在所述工业控制系统中的主工业控制设备和从工业控制设备之间建立基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路的步骤进一步包括:The step of establishing a main communication link between the main industrial control device in the industrial control system and the field communication communication based on the fieldbus communication and the auxiliary communication link based on the power carrier communication further includes:

在初始化过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的初始化策略。During the initialization process, the working states of the trunk communication link and the auxiliary communication link are detected, and a corresponding initialization policy is executed according to the detection result.

其中,主干通信链路和所述辅助通信链路以冗余方式进行工作时,所述在初始化过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的初始化策略的步骤包括:Wherein, when the backbone communication link and the auxiliary communication link operate in a redundant manner, in the initializing process, the working states of the trunk communication link and the auxiliary communication link are detected, and according to The steps of the detection result to execute the corresponding initialization strategy include:

若所述主干通信链路中的所述两条现场总线通信链路均工作正常且所述辅助通信链路也工作正常,则完成初始化且不产生报警信号;If the two fieldbus communication links in the trunk communication link are working normally and the auxiliary communication link is also working normally, initialization is completed and no alarm signal is generated;

若所述主干通信链路中的所述两条现场总线通信链路均工作正常而所述辅助通信链路工作异常,则完成初始化但产生报警信号;If the two fieldbus communication links in the trunk communication link are working normally and the auxiliary communication link is abnormal, the initialization is completed but an alarm signal is generated;

若所述主干通信链路中的所述两条现场总线通信链路中的任意一者工作异常,则初始化失败。If any one of the two fieldbus communication links in the backbone communication link operates abnormally, the initialization fails.

其中,在所述主干通信链路和所述辅助通信链路以切换方式进行工作时,所述在初始化过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的初始化策略的步骤包括:Wherein, when the trunk communication link and the auxiliary communication link operate in a switching manner, in the initializing process, the working states of the trunk communication link and the auxiliary communication link are detected, And the steps of executing the corresponding initialization strategy according to the detection result include:

若所述主干通信链路中的所述两条现场总线通信链路均工作正常且所述辅助通信链路也工作正常,则完成初始化;If the two fieldbus communication links in the trunk communication link are all working normally and the auxiliary communication link is also working normally, initialization is completed;

若所述主干通信链路中的所述两条现场总线通信链路和所述辅助通信链路中的任意一者工作异常,则初始化失败。If any of the two fieldbus communication links and the auxiliary communication link in the backbone communication link operate abnormally, the initialization fails.

其中,所述以所述辅助通信链路作为所述主干通信链路的备用链路进行所述主工业控制设备和与所述从工业控制设备之间的通信的步骤包括:The step of performing communication between the main industrial control device and the slave industrial control device by using the auxiliary communication link as a backup link of the backbone communication link includes:

在工作过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的工作策略。During the working process, the working states of the trunk communication link and the auxiliary communication link are detected, and a corresponding working policy is executed according to the detection result.

其中,在所述主干通信链路和所述辅助通信链路以冗余方式进行工作时,所述在工作过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的工作策略的步骤包括:Wherein, when the backbone communication link and the auxiliary communication link operate in a redundant manner, the working state of the trunk communication link and the auxiliary communication link is detected during operation And the steps to execute the corresponding work strategy based on the test results include:

若所述主干通信链路和所述辅助通信链路均工作正常,则所述工业控制系统通过所述主现场总线通信链路和备现场总线通信链路进行冗余通信,并保持当前工作状态且不产生报警信号;If the trunk communication link and the auxiliary communication link both work normally, the industrial control system performs redundant communication through the main fieldbus communication link and the standby fieldbus communication link, and maintains the current working state. And does not generate an alarm signal;

若仅所述辅助通信链路工作异常,则所述工业控制系统通过所述主现场总线通信链路和备现场总线通信链路进行冗余通信,并保持当前工作状态且产生第一报警信号;If only the auxiliary communication link operates abnormally, the industrial control system performs redundant communication through the main field bus communication link and the standby field bus communication link, and maintains a current working state and generates a first alarm signal;

若仅所述主干通信链路中的备现场总线通信链路工作异常,则所述工业控制系统通过所述主现场总线通信链路和所述辅助通信链路进行冗余通信,并保持当前工作状态且产生第二报警信号;If only the standby fieldbus communication link in the trunk communication link operates abnormally, the industrial control system performs redundant communication through the primary fieldbus communication link and the auxiliary communication link, and maintains current work State and generate a second alarm signal;

若仅所述主干通信链路中的主现场总线通信链路工作异常,则所述工业控制系统通过所述备现场总线通信链路和所述辅助通信链路进行冗余通信,并保持当前工作状态且产生第三报警信号;If only the primary fieldbus communication link in the trunk communication link operates abnormally, the industrial control system performs redundant communication through the standby fieldbus communication link and the auxiliary communication link, and maintains current work. State and generate a third alarm signal;

若所述主现场总线通信链路和所述备现场总线通信链路中的一个工作异常,且所述辅助通信链路工作异常,则所述工业控制系统通过所述主现场总线通信链路和所述备现场总线通信链路中正常工作的另一个进行通信,并保持当前工作状态且产生第四报警信号;And if the one of the primary fieldbus communication link and the standby fieldbus communication link operates abnormally and the auxiliary communication link operates abnormally, the industrial control system passes the primary fieldbus communication link and The other one of the standby field bus communication links that works normally communicates, maintains the current working state, and generates a fourth alarm signal;

若所述主现场总线通信链路和所述备现场总线通信链路均工作异常,而所述辅助通信链路工作正常,则所述工业控制系统通过所述辅助通信链路进行通信,并进入安全状态且产生第五报警信号。If the primary fieldbus communication link and the standby fieldbus communication link both operate abnormally, and the auxiliary communication link works normally, the industrial control system communicates through the auxiliary communication link and enters The safety state and a fifth alarm signal is generated.

其中,在所述主干通信链路和所述辅助通信链路以切换方式进行工作时,所述在工作过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的工作策略的步骤包括:Wherein, when the trunk communication link and the auxiliary communication link operate in a switching manner, the working state of the trunk communication link and the auxiliary communication link is detected during operation, And the steps of executing the corresponding work strategy according to the detection result include:

若所述主干通信链路和所述辅助通信链路均工作正常,则所述工业控制系统通过所述主现场总线通信链路进行通信,并保持当前工作状态且不产生报警信号;If the trunk communication link and the auxiliary communication link both work normally, the industrial control system communicates through the main fieldbus communication link, and maintains a current working state without generating an alarm signal;

若所述主现场总线通信链路工作正常,且所述备现场总线通信链路和所述辅助通信链路中的任意一者工作异常,则所述工业控制系统通过所述主现场总线通信链路进行通信,并保持当前工作状态且产生第六报警信号;If the primary fieldbus communication link is functioning properly and any one of the standby fieldbus communication link and the auxiliary communication link operates abnormally, the industrial control system passes the primary fieldbus communication link The road communicates and maintains the current working state and generates a sixth alarm signal;

若所述主现场总线通信链路工作异常,且所述备现场总线通信链路工作正常,则所述工业控制系统切换成通过所述备现场总线通信链路进行通信,并保持当前工作状态且产生第七报警信号;If the primary fieldbus communication link operates abnormally and the standby fieldbus communication link works normally, the industrial control system switches to communicate through the standby fieldbus communication link and maintains the current working state and Generating a seventh alarm signal;

若所述主现场总线通信链路和所述备现场总线通信链路均工作异常,且所述辅助通信链路工作正常,则所述工业控制系统切换成通过所述辅助通信链路工作进行通信,并保持当前工作状态且产生第八报警信号。If the primary fieldbus communication link and the standby fieldbus communication link both operate abnormally, and the auxiliary communication link works normally, the industrial control system switches to work by using the auxiliary communication link to communicate And maintain the current working state and generate an eighth alarm signal.

本发明实施例还提供一种工业控制系统包括主工业控制设备、从工业控制设备以及设置于所述主工业控制设备与所述从工业控制设备之间的基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路,其中在所述主工业控制设备和与所述从工业控制设备之间的通信过程中,所述辅助通信链路作为所述主干通信链路的备用链路。Embodiments of the present invention also provide an industrial control system including a main industrial control device, a slave industrial control device, and a fieldbus communication-based backbone communication link disposed between the main industrial control device and the slave industrial control device. An auxiliary communication link based on power carrier communication, wherein the auxiliary communication link acts as a backup link for the backbone communication link during communication between the primary industrial control device and the secondary industrial control device .

其中,所述主干通信链路进一步包括两条现场总线通信链路。The backbone communication link further includes two fieldbus communication links.

在初始化过程中,所述主工业控制设备根据所述两条现场总线通信链路建立通信的先后顺序将所述两条现场总线通信链路分成主现场总线通信链路和备现场总线通信链路。In the initialization process, the main industrial control device divides the two field bus communication links into a main field bus communication link and a standby field bus communication link according to a sequence of establishing communication between the two field bus communication links. .

可选的,所述主干通信链路和所述辅助通信链路以冗余方式或切换方式进行工作。Optionally, the backbone communication link and the auxiliary communication link work in a redundant manner or in a switched manner.

其中,在初始化过程中,所述主工业控制设备对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的初始化策略。The main industrial control device detects the working states of the trunk communication link and the auxiliary communication link, and performs a corresponding initialization policy according to the detection result.

其中,在所述主干通信链路和所述辅助通信链路以冗余方式进行工作时,所述主工业控制设备根据检测结果执行以下初始化策略:Wherein, when the trunk communication link and the auxiliary communication link operate in a redundant manner, the main industrial control device performs the following initialization policy according to the detection result:

若所述主干通信链路中的所述两条现场总线通信链路均工作正常且所述辅助通信链路也工作正常,则完成初始化且不产生报警信号;If the two fieldbus communication links in the trunk communication link are working normally and the auxiliary communication link is also working normally, initialization is completed and no alarm signal is generated;

若所述主干通信链路中的所述两条现场总线通信链路均工作正常而所述辅助通信链路工作异常,则完成初始化但产生报警信号;If the two fieldbus communication links in the trunk communication link are working normally and the auxiliary communication link is abnormal, the initialization is completed but an alarm signal is generated;

若所述主干通信链路中的所述两条现场总线通信链路中的任意一者工作异常,则初始化失败。If any one of the two fieldbus communication links in the backbone communication link operates abnormally, the initialization fails.

其中,在所述主干通信链路和所述辅助通信链路以切换方式进行工作时,所述主工业控制设备根据检测结果执行以下初始化策略:Wherein, when the trunk communication link and the auxiliary communication link operate in a switching manner, the main industrial control device performs the following initialization policy according to the detection result:

若所述主干通信链路中的所述两条现场总线通信链路均工作正常且所述辅助通信链路也工作正常,则完成初始化;If the two fieldbus communication links in the trunk communication link are all working normally and the auxiliary communication link is also working normally, initialization is completed;

若所述主干通信链路中的所述两条现场总线通信链路和所述辅助通信链路中的任意一者工作异常,则初始化失败。If any of the two fieldbus communication links and the auxiliary communication link in the backbone communication link operate abnormally, the initialization fails.

其中,在工作过程中,所述主工业控制设备对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的工作策略。In the working process, the main industrial control device detects the working status of the trunk communication link and the auxiliary communication link, and executes a corresponding working policy according to the detection result.

其中,在所述主干通信链路和所述辅助通信链路以冗余方式进行工作时,所述主工业控制设备根据检测结果执行以下工作策略:Wherein, when the trunk communication link and the auxiliary communication link operate in a redundant manner, the main industrial control device performs the following working policies according to the detection result:

若所述主干通信链路和所述辅助通信链路均工作正常,则所述工业控制系统通过所述主现场总线通信链路和备现场总线通信链路进行冗余通信,并保持当前工作状态且不产生报警信号;If the trunk communication link and the auxiliary communication link both work normally, the industrial control system performs redundant communication through the main fieldbus communication link and the standby fieldbus communication link, and maintains the current working state. And does not generate an alarm signal;

若仅所述所述辅助通信链路工作异常,则所述工业控制系统通过通过所述主现场总线通信链路和备现场总线通信链路进行冗余通信,并保持当前工作状态且产生第一报警信号;If only the auxiliary communication link operates abnormally, the industrial control system performs redundant communication by the main field bus communication link and the standby field bus communication link, and maintains the current working state and generates the first Alarm;

若仅所述主干通信链路中的备现场总线通信链路工作异常,则所述工业控制系统通过所述主现场总线通信链路和所述辅助通信链路进行冗余通信,并保持当前工作状态且产生第二报警信号;If only the standby fieldbus communication link in the trunk communication link operates abnormally, the industrial control system performs redundant communication through the primary fieldbus communication link and the auxiliary communication link, and maintains current work State and generate a second alarm signal;

若仅所述主干通信链路中的主现场总线通信链路工作异常,则所述工业控制系统通过所述备现场总线通信链路和所述辅助通信链路进行冗余通信,并保持当前工作状态且产生第三报警信号;If only the primary fieldbus communication link in the trunk communication link operates abnormally, the industrial control system performs redundant communication through the standby fieldbus communication link and the auxiliary communication link, and maintains current work. State and generate a third alarm signal;

若所述主现场总线通信链路和所述备现场总线通信链路中的一个工作异常,且所述辅助通信链路工作异常,则所述工业控制系统通过所述主现场总线通信链路和所述备现场总线通信链路中正常工作的另一个进行通信,并保持当前工作状态且产生第四报警信号;And if the one of the primary fieldbus communication link and the standby fieldbus communication link operates abnormally and the auxiliary communication link operates abnormally, the industrial control system passes the primary fieldbus communication link and The other one of the standby field bus communication links that works normally communicates, maintains the current working state, and generates a fourth alarm signal;

若所述主现场总线通信链路和所述备现场总线通信链路均工作异常,而所述辅助通信链路工作正常,则所述工业控制系统通过所述辅助通信链路进行通信,并进入安全状态且产生第五报警信号。If the primary fieldbus communication link and the standby fieldbus communication link both operate abnormally, and the auxiliary communication link works normally, the industrial control system communicates through the auxiliary communication link and enters The safety state and a fifth alarm signal is generated.

其中,在所述主干通信链路和所述辅助通信链路以切换方式进行工作时,所述主工业控制设备根据检测结果执行以下工作策略:Wherein, when the trunk communication link and the auxiliary communication link operate in a switching manner, the main industrial control device performs the following working policies according to the detection result:

若所述主干通信链路和所述辅助通信链路均工作正常,则所述工业控制系统通过所述主现场总线通信链路进行通信,并保持当前工作状态且不产生报警信号;If the trunk communication link and the auxiliary communication link both work normally, the industrial control system communicates through the main fieldbus communication link, and maintains a current working state without generating an alarm signal;

若所述主现场总线通信链路工作正常,且所述备现场总线通信链路和所述辅助通信链路中的任意一者工作异常,则所述工业控制系统通过所述主现场总线通信链路进行通信,并保持当前工作状态且产生第六报警信号;If the primary fieldbus communication link is functioning properly and any one of the standby fieldbus communication link and the auxiliary communication link operates abnormally, the industrial control system passes the primary fieldbus communication link The road communicates and maintains the current working state and generates a sixth alarm signal;

若所述主现场总线通信链路工作异常,且所述备现场总线通信链路工作正常,则所述工业控制系统切换成通过所述备现场总线通信链路进行通信,并保持当前工作状态且产生第七报警信号;If the primary fieldbus communication link operates abnormally and the standby fieldbus communication link works normally, the industrial control system switches to communicate through the standby fieldbus communication link and maintains the current working state and Generating a seventh alarm signal;

若所述主现场总线通信链路和所述备现场总线通信链路均工作异常,且所述辅助通信链路工作正常,则所述工业控制系统切换成通过所述辅助通信链路工作进行通信,并保持当前工作状态且产生第八报警信号。If the primary fieldbus communication link and the standby fieldbus communication link both operate abnormally, and the auxiliary communication link works normally, the industrial control system switches to work by using the auxiliary communication link to communicate And maintain the current working state and generate an eighth alarm signal.

与现有技术相比,本发明实施例的有益效果是:利用电力载波通信作为辅助通信链路与主干通信链路构成冗余网络,无需重新设计通信网络架构,利用主从工业控制设备现有的电力线通过载波的方式将工业控制系统中模拟和/或数字信号进行高速传输,不增加网络拓扑复杂性和设备成本,能够在主干通信链路出现故障时,有效地保障主从工业控制设备之间的通信,且通信可靠,能够满足主从工业控制设备之间的通信要求。Compared with the prior art, the beneficial effects of the embodiments of the present invention are: using the power carrier communication as the auxiliary communication link and the backbone communication link to form a redundant network, without redesigning the communication network architecture, using the master-slave industrial control device The power line transmits the analog and/or digital signals in the industrial control system at high speed through the carrier wave, without increasing the complexity of the network topology and the equipment cost, and effectively protecting the master-slave industrial control equipment when the trunk communication link fails. Inter-communication, and reliable communication, can meet the communication requirements between the master-slave industrial control equipment.

进一步的,利用电力载波通信作为辅助通信链路能够减少两条现场总线通信链路之间存在的共模错误率,从而进一步保障工业控制系统的通信正常。Further, the use of power carrier communication as an auxiliary communication link can reduce the common mode error rate existing between the two field bus communication links, thereby further ensuring normal communication of the industrial control system.

进一步的,本发明提供了网络冗余工作机制和网络切换工作机制两种通信方法,能够使得工业控制系统无论在正常工作中,还是故障中的通信均得到有效保障,两种通信方式均对工业控制系统的通信链路进行检测,能够有效检测工业控制系统运行前或者运行中的通信情况,能够针对不同的通信情况,提供不同的保障。Further, the present invention provides two communication methods, a network redundancy working mechanism and a network switching working mechanism, which can effectively ensure the communication of the industrial control system in both normal operation and failure, and both communication modes are industrial. The communication link of the control system is detected, which can effectively detect the communication situation before or during the operation of the industrial control system, and can provide different guarantees for different communication situations.

【附图说明】 [Description of the Drawings]

图1为本发明工业控制系统通信方法一实施例的流程示意图;1 is a schematic flow chart of an embodiment of a communication method of an industrial control system according to the present invention;

图2为本发明工业控制系统通信方法一实施例中冗余方式工作状态的流程示意图;2 is a schematic flow chart of a redundant mode working state in an embodiment of a communication method of an industrial control system according to the present invention;

图3为本发明工业控制系统通信方法另一实施例的流程示意图;3 is a schematic flow chart of another embodiment of a communication method of an industrial control system according to the present invention;

图4为本发明工业控制系统通信方法另一实施例中切换方式工作状态的流程示意图;4 is a schematic flowchart of a working mode of a switching mode in another embodiment of a communication method of an industrial control system according to the present invention;

图5为本发明工业控制系统一实施例的结构示意图。FIG. 5 is a schematic structural view of an embodiment of an industrial control system according to the present invention.

【具体实施方式】【Detailed ways】

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明的一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.

参阅图1、图2与图5,本发明工业控制系统的通信方法一实施例中所述方法包括:Referring to FIG. 1 , FIG. 2 and FIG. 5 , the method in the embodiment of the communication method of the industrial control system of the present invention includes:

S1:在所述工业控制系统中的主工业控制设备和从工业控制设备之间建立基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路。S1: establishing a main communication link based on fieldbus communication and an auxiliary communication link based on power carrier communication between the main industrial control device in the industrial control system and from the industrial control device.

S2:以所述辅助通信链路作为所述主干通信链路的备用链路进行所述主工业控制设备和与所述从工业控制设备之间的通信。S2: performing communication between the main industrial control device and the slave industrial control device with the auxiliary communication link as a backup link of the backbone communication link.

在所述工业控制系统的实际通信中,所述工业控制系统中的现场总线通信主干通信链路接通所述主工业控制设备与所述从工业控制设备之间的通信,同时与所述辅助通信链路可以构成冗余网络,从而进一步保障故障时所述主从工业设备之间的通信保持畅通。例如,当主干通信链路出现故障导致所述主工业控制设备与所述从工业控制设备之间的通信中断,所述冗余网络中的所述辅助通信链路能够作为备用通信链路接通所述主工业控制设备和与所述从工业控制设备之间的通信,避免在主干通信链路出现故障导致的通信中断从而造成的损失,且能够方便对故障的主干通信链路进行检测与维修。In actual communication of the industrial control system, a fieldbus communication backbone communication link in the industrial control system turns on communication between the main industrial control device and the slave industrial control device, and simultaneously with the auxiliary The communication link can constitute a redundant network, thereby further ensuring that the communication between the master-slave industrial equipment remains unblocked when the fault occurs. For example, when a failure of the backbone communication link causes communication between the primary industrial control device and the secondary industrial control device to be interrupted, the secondary communication link in the redundant network can be connected as a backup communication link The main industrial control device and the communication with the slave industrial control device avoid loss caused by communication interruption caused by failure of the backbone communication link, and can conveniently detect and repair the faulty backbone communication link .

在本实施例中,利用所述电力载波通信作为辅助通信链路,无需重新设计通信网络架构,利用所述主从工业控制设备现有的电力线通过载波的方式将工业控制系统中模拟和/或数字信号进行高速传输,不增加网络拓扑复杂性和设备成本,能够在所述主干通信链路出现故障时,有效地保障所述主从工业控制设备之间的通信,且通信可靠,传输速度快,能够满足所述主从工业控制设备之间的通信要求。In this embodiment, the power carrier communication is utilized as an auxiliary communication link, and the communication network architecture is not redesigned, and the existing power line of the master-slave industrial control device is used to simulate and/or simulate the industrial control system. The high-speed transmission of the digital signal does not increase the network topology complexity and the equipment cost, and can effectively ensure the communication between the master-slave industrial control devices when the trunk communication link fails, and the communication is reliable and the transmission speed is fast. It can meet the communication requirements between the master-slave industrial control devices.

所述的电力载波的实现方式有多种,例如工业控制设备中的处理器通过调制解调器将基带信号转变为一个相对基带频率而言频率较高的带通信号(即调制信号)以适合于信道传输。信号预处理电路实现发送信号与接收信号的放大、滤波等工作。电力线耦合电力实现电力载波电路与电力线的物理接口。The power carrier can be implemented in various manners, for example, the processor in the industrial control device converts the baseband signal into a bandpass signal (ie, a modulated signal) with a higher frequency relative to the baseband frequency through a modem to be suitable for channel transmission. . The signal pre-processing circuit realizes amplification and filtering of the transmitted signal and the received signal. The power line coupled power realizes a physical interface between the power carrier circuit and the power line.

可选的,所述的基于电力载波通信的辅助通信链路,可以分为高压电力载波通信、中压电力载波通信或低压电力载波通信。可选为低压电力载波通信,电压为380V或220V。一般,电力载波信号存在不同的信号耦合方式有线-地耦合和线-中线耦合,在本实施例中,所述辅助通信链路可以根据实际情况进行选择或者设定。Optionally, the auxiliary communication link based on power carrier communication may be classified into high voltage power carrier communication, medium voltage power carrier communication, or low voltage power carrier communication. Optional low voltage power carrier communication with a voltage of 380V or 220V. Generally, there are different signal coupling modes of the power carrier signal, such as wired-ground coupling and line-to-neutral coupling. In this embodiment, the auxiliary communication link may be selected or set according to actual conditions.

具体地,所述在所述工业控制系统中的主工业控制设备和从工业控制设备之间建立基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路的步骤包括:Specifically, the steps of establishing a main communication control link based on fieldbus communication and an auxiliary communication link based on power carrier communication between the main industrial control device in the industrial control system and the industrial control device include:

S11:在所述主干通信链路内建立两条现场总线通信链路,并在所述主工业控制设备和从工业控制设备之间建立基于电力载波通信的辅助通信链路。。S11: Establish two fieldbus communication links in the trunk communication link, and establish an auxiliary communication link based on power carrier communication between the main industrial control device and the slave industrial control device. .

所述两条现场总线通信链路可以同时工作也可以单独工作。且所述工业控制系统可以对所述两条现场总线通信链路进行自动选择或者不自动选择。所述辅助通信链路也可以建立两条现场辅助通信链路。The two fieldbus communication links can work simultaneously or separately. And the industrial control system can automatically select or not automatically select the two fieldbus communication links. The auxiliary communication link can also establish two field-assisted communication links.

在正常通信中,在所述主干通信链路内建立两条现场总线通信链路,当两条通信链路同时工作时可以分担所述工业控制系统的通信数据信号,避免单条通信线路可能带来的通信不畅通,或者负载过高、通信故障等问题,更有效保障了所述主从工业控制设备之间的通信畅通,此外,当所述主干通信链路内的其中一条所述现场总线通信链路出现故障时,另外一条所述现场总线通讯链路能够保障所述主从工业控制设备之间的通信畅通,不影响所述主从工业控制设备的正常通信。此外,利用所述电力载波通信作为辅助通信链路能够减少所述两条现场总线通信链路之间存在的共模错误率,从而进一步保障所述工业控制系统冗余网络的有效性以及通信正常。In normal communication, two fieldbus communication links are established in the backbone communication link, and when the two communication links work simultaneously, the communication data signals of the industrial control system can be shared, thereby avoiding a single communication line may bring The communication is not smooth, or the load is too high, the communication failure and the like, the communication between the master-slave industrial control devices is more effectively ensured, and in addition, one of the field bus communication in the trunk communication link is When the link fails, another one of the fieldbus communication links can ensure smooth communication between the master-slave industrial control devices, and does not affect normal communication of the master-slave industrial control device. In addition, the use of the power carrier communication as an auxiliary communication link can reduce the common mode error rate existing between the two fieldbus communication links, thereby further ensuring the effectiveness of the redundant network of the industrial control system and the normal communication. .

具体地,所述在所述工业控制系统中的主工业控制设备和从工业控制设备之间建立基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路的步骤进一步包括:Specifically, the step of establishing a main communication link between the main industrial control device and the industrial control device based on the fieldbus communication and the auxiliary communication link based on the power carrier communication further includes:

S12:在初始化过程中根据所述两条现场总线通信链路建立通信的先后顺序将所述两条现场总线通信链路分成主现场总线通信链路和备现场总线通信链路。S12: The two field bus communication links are divided into a main field bus communication link and a standby field bus communication link according to a sequence of establishing communication between the two field bus communication links during the initialization process.

在所述工业控制系统的实际通信中,所述主现场总线通信链路和备现场总线通信链路构成冗余网络,在所述主现场总线通信链路和所述备现场总线通信链路中的一条出现故障时,另外一条正常工作的所述现场总线通信链路能够保障所述主从工业控制设备的所述主干通信链路的通信正常。所述主干通信链路与所述基于电力载波通信的辅助通信链路构成另一冗余网络,保障了主现场总线通信链路与所述备现场总线通信链路均发生故障时的所述主从工业控制设备之间的正常通信,从而保障所述主从工业控制设备的正常工作。通过两个层次的冗余网络,能够减少单一相同冗余网络带来的故障风险,更有效地保障所述主从工业控制设备之间的通信。且利用所述电力载波通信作为辅助通信链路能够减少所述两条现场总线通信链路之间存在的共模错误率,从而进一步降低所述工业控制系统的通信故障的风险。In actual communication of the industrial control system, the primary fieldbus communication link and the standby fieldbus communication link form a redundant network in the primary fieldbus communication link and the standby fieldbus communication link When one of the faults occurs, the other fieldbus communication link that is working normally can ensure that the communication of the backbone communication link of the master-slave industrial control device is normal. The trunk communication link and the auxiliary communication link based on the power carrier communication constitute another redundant network, which ensures the main when the main field bus communication link and the standby field bus communication link both fail. Normal communication between the industrial control devices ensures the normal operation of the master-slave industrial control device. Through two levels of redundant networks, the risk of failure caused by a single identical redundant network can be reduced, and communication between the master-slave industrial control devices can be more effectively guaranteed. And utilizing the power carrier communication as the auxiliary communication link can reduce the common mode error rate existing between the two fieldbus communication links, thereby further reducing the risk of communication failure of the industrial control system.

在本实施例中,所述主干通信链路和所述辅助通信链路以冗余方式进行工作。In this embodiment, the backbone communication link and the auxiliary communication link operate in a redundant manner.

具体地,所述在所述工业控制系统中的主工业控制设备和从工业控制设备之间建立基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路的步骤进一步包括:Specifically, the step of establishing a main communication link between the main industrial control device and the industrial control device based on the fieldbus communication and the auxiliary communication link based on the power carrier communication further includes:

S13:在初始化过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的初始化策略。S13: During the initialization process, the working states of the trunk communication link and the auxiliary communication link are detected, and a corresponding initialization policy is executed according to the detection result.

在所述工业控制系统工作前,通过对所述冗余网络中的主干通信链路和所述辅助通信链路进行实时或者不实时检测,得出结果后,根据所得出的检测结果执行相对应的初始化策略,来初始化所述现场总线通信链路以及辅助通信链路作为所述主从工业控制设备的通信链路,避免所述主从工业控制设备在工作中出现通信中断导致所述主从工业控制设备无法进行工作等问题。Before the operation of the industrial control system, real-time or non-real-time detection is performed on the backbone communication link and the auxiliary communication link in the redundant network, and after the result is obtained, the corresponding detection result is executed according to the obtained detection result. Initializing strategy for initializing the fieldbus communication link and the auxiliary communication link as a communication link of the master-slave industrial control device, avoiding communication interruption of the master-slave industrial control device during operation, causing the master-slave Industrial control equipment cannot work and other issues.

所述检测方式有多种,例如所述主工业控制设备利用所述主干通信链路或所述辅助通信链路向所述从工业控制设备发送控制命令和/或接收所述从工业控制设备的运行状态,由此检测所述主干通信链路和所述辅助通信链路的通信通路。The detection method is various, for example, the main industrial control device transmits the control command to the slave industrial control device and/or receives the slave industrial control device by using the trunk communication link or the auxiliary communication link. An operational state whereby the communication path of the backbone communication link and the auxiliary communication link is detected.

具体地,当所述主干通信链路和所述辅助通信链路以冗余方式进行工作时,所述在初始化过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的初始化策略的步骤包括S14:Specifically, when the trunk communication link and the auxiliary communication link operate in a redundant manner, in an initialization process, the working states of the trunk communication link and the auxiliary communication link are performed. The steps of detecting and executing the corresponding initialization strategy according to the detection result include S14:

若所述主干通信链路中的所述两条现场总线通信链路均工作正常且所述辅助通信链路也工作正常,则完成初始化且不产生报警信号。If both of the fieldbus communication links in the backbone communication link are working properly and the auxiliary communication link is also functioning properly, initialization is completed and no alarm signal is generated.

若所述主干通信链路中的所述两条现场总线通信链路均工作正常而所述辅助通信链路工作异常,则完成初始化但产生报警信号。If the two fieldbus communication links in the trunk communication link are working normally and the auxiliary communication link is abnormal, the initialization is completed but an alarm signal is generated.

若所述主干通信链路中的所述两条现场总线通信链路中的任意一者工作异常,则初始化失败。If any one of the two fieldbus communication links in the backbone communication link operates abnormally, the initialization fails.

在本实施例中,所述工业控制系统的通信链路必须至少包含一条正常工作的所述现场总线通信链路,否则初始化失败。如果所述两条现场总线通信链路工作均异常,仍然要能完成初始化的话,那么在工作过程中,所述工业控制系统的通信缺少所述主干通信而使正常通信得不到保障,极容易出现由于通信中断或者是通信不畅通带来的工作问题,因此至少一条正常工作的所述现场总线通信链路,在一定程度上来保障所述工业控制系统的正常通信。In this embodiment, the communication link of the industrial control system must include at least one fieldbus communication link that is working normally, otherwise the initialization fails. If the two fieldbus communication links work abnormally and still need to be initialized, then in the course of work, the communication of the industrial control system lacks the backbone communication, so that normal communication is not guaranteed, and it is extremely easy. At least one working bus communication link that works normally, to some extent, guarantees normal communication of the industrial control system due to communication problems caused by communication interruption or communication failure.

当然,本实施例中所述的初始化策略可以有多种,例如所述主干通信链路中的所述两条现场总线通信链路均工作正常且所述辅助通信链路也工作正常,则完成初始化且不产生报警信号。若所述主干通信链路中的所述两条现场总线通信链路与所述辅助通信链路任意一者工作异常,则初始化失败。Certainly, the initialization policy described in this embodiment may be multiple. For example, if the two field bus communication links in the trunk communication link are working normally and the auxiliary communication link is also working normally, the completion is completed. Initialized and no alarm signal is generated. If any one of the two fieldbus communication links and the auxiliary communication link in the trunk communication link work abnormally, the initialization fails.

具体地,所述以所述辅助通信链路作为所述主干通信链路的备用链路进行所述主工业控制设备和与所述从工业控制设备之间的通信的步骤包括:Specifically, the step of performing communication between the main industrial control device and the slave industrial control device by using the auxiliary communication link as a backup link of the backbone communication link includes:

S15:在工作过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的工作策略。S15: During the working process, the working states of the trunk communication link and the auxiliary communication link are detected, and a corresponding working policy is executed according to the detection result.

初始化完成后,所述主从工业控制设备之间可以开始工作,此时通信链路正常连通。为了保障在工作过程中所述主从工业控制设备之间还能够正常通信,对工作过程中,所述主干通信链路和所述辅助通信链路的工作状态实时检测或者不实时进行检测,再根据检测结果选择或切换使所述主从工业控制设备的通信畅通的通信链路或者保障所述主从工业控制设备的安全。After the initialization is completed, the master-slave industrial control device can start working, and the communication link is normally connected. In order to ensure that the master-slave industrial control devices can also communicate normally during the working process, in the working process, the working states of the trunk communication link and the auxiliary communication link are detected in real time or not detected in real time, and then The communication link that makes the communication of the master-slave industrial control device unblocked or the security of the master-slave industrial control device is selected or switched according to the detection result.

所述检测的方式有多种,例如所述工业控制系统利用所述主干通信链路或所述辅助通信链路向所述从工业控制设备发送控制命令和接收所述从工业控制设备的运行状态,由此检测所述主干通信链路和所述辅助通信链路的通信通路。The detecting is performed in various manners, for example, the industrial control system transmits the control command to the slave industrial control device and receives the operating state of the slave industrial control device by using the trunk communication link or the auxiliary communication link. Thereby detecting a communication path of the backbone communication link and the auxiliary communication link.

具体地,完成初始化后,当所述主干通信链路和所述辅助通信链路以冗余方式进行工作时,所述在工作过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的工作策略的步骤包括S16:Specifically, after the initialization is completed, when the trunk communication link and the auxiliary communication link operate in a redundant manner, in the working process, the trunk communication link and the auxiliary communication link are The working state is detected, and the steps of executing the corresponding working strategy according to the detection result include S16:

若所述主干通信链路和所述辅助通信链路均工作正常,则所述工业控制系统通过所述主现场总线通信链路和备现场总线通信链路进行冗余通信,并保持当前工作状态且不产生报警信号;If the trunk communication link and the auxiliary communication link both work normally, the industrial control system performs redundant communication through the main fieldbus communication link and the standby fieldbus communication link, and maintains the current working state. And does not generate an alarm signal;

若仅所述辅助通信链路工作异常,则所述工业控制系统通过所述主现场总线通信链路和备现场总线通信链路进行冗余通信,并保持当前工作状态且产生第一报警信号;If only the auxiliary communication link operates abnormally, the industrial control system performs redundant communication through the main field bus communication link and the standby field bus communication link, and maintains a current working state and generates a first alarm signal;

若仅所述主干通信链路中的备现场总线通信链路工作异常,则所述工业控制系统通过所述主现场总线通信链路和所述辅助通信链路进行冗余通信,并保持当前工作状态且产生第二报警信号;If only the standby fieldbus communication link in the trunk communication link operates abnormally, the industrial control system performs redundant communication through the primary fieldbus communication link and the auxiliary communication link, and maintains current work State and generate a second alarm signal;

若仅所述主干通信链路中的主现场总线通信链路工作异常,则所述工业控制系统通过所述备现场总线通信链路和所述辅助通信链路进行冗余通信,并保持当前工作状态且产生第三报警信号;If only the primary fieldbus communication link in the trunk communication link operates abnormally, the industrial control system performs redundant communication through the standby fieldbus communication link and the auxiliary communication link, and maintains current work. State and generate a third alarm signal;

若所述主现场总线通信链路和所述备现场总线通信链路中的一个工作异常,且所述辅助通信链路工作异常,则所述工业控制系统通过所述主现场总线通信链路和所述备现场总线通信链路中正常工作的另一个进行通信,并保持当前工作状态且产生第四报警信号;And if the one of the primary fieldbus communication link and the standby fieldbus communication link operates abnormally and the auxiliary communication link operates abnormally, the industrial control system passes the primary fieldbus communication link and The other one of the standby field bus communication links that works normally communicates, maintains the current working state, and generates a fourth alarm signal;

若所述主现场总线通信链路和所述备现场总线通信链路均工作异常,而所述辅助通信链路工作正常,则所述工业控制系统通过所述辅助通信链路进行通信,并进入安全状态且产生第五报警信号。If the primary fieldbus communication link and the standby fieldbus communication link both operate abnormally, and the auxiliary communication link works normally, the industrial control system communicates through the auxiliary communication link and enters The safety state and a fifth alarm signal is generated.

通过根据不同情况设置不同的报警信号,可以在实际工作过程中明确所述工业控制系统的当前的通信方式以及导致故障之处,进行选择不同的检修策略。本实施例中,所述五个不同的报警信号可以有多种表达方式,例如通过不同颜色的信号灯进行显示,或者通过不同的响声进行表达,或者通过语音进行播报等。By setting different alarm signals according to different situations, it is possible to clarify the current communication mode of the industrial control system and the place where the failure occurs in the actual working process, and select different maintenance strategies. In this embodiment, the five different alarm signals may be expressed in various manners, for example, by displaying signals of different colors, or by different sounds, or by voice.

当然,所述工作策略有多种,例如若所述主干通信链路和所述辅助通信链路均工作正常,则所述工业控制系统通过所述主现场总线通信链路和备现场总线通信链路进行冗余通信,并保持当前工作状态且不产生报警信号。若所述主干通信链路的所述主现场总线通信链路和备现场总线通信链路和所述辅助通信链路中任意一者或者两者工作异常时,则所述工业控制系统选择保持当前工作状态或者进入安全状态,且产生报警信号。Of course, there are various working strategies, for example, if the trunk communication link and the auxiliary communication link are all working normally, the industrial control system passes the main field bus communication link and the standby field bus communication chain. The road performs redundant communication and maintains the current working state without generating an alarm signal. If the one or both of the primary fieldbus communication link and the standby fieldbus communication link and the auxiliary communication link of the backbone communication link operate abnormally, then the industrial control system chooses to maintain the current The working state or enters a safe state and generates an alarm signal.

在本实施例中,所述报警信号中的第一至第五中数值越高,事件越严重。当然,也可以设置为第一至第五中数值越低,事件越严重,在此种设置状态下,所述工作策略要进行相对应的设置。In this embodiment, the higher the first to fifth median values of the alarm signal, the more serious the event. Of course, it can also be set that the lower the value in the first to the fifth, the more serious the event, and in this setting state, the working strategy should be set correspondingly.

所述工作策略,可以根据所述工业控制系统实际工作需要进行确定。The working strategy can be determined according to the actual working needs of the industrial control system.

在本实施例中,所述冗余工作方式为数字式通信方式和/或模拟式通信方式。In this embodiment, the redundant working mode is a digital communication mode and/or an analog communication mode.

参阅图3和图4,本发明工业控制系统的通信方法另一实施例,与上述本发明工业控制系统的通信方法一实施例相同,不同之处主要包括所述主干通信链路和所述辅助通信链路以切换方式进行工作。Referring to FIG. 3 and FIG. 4, another embodiment of the communication method of the industrial control system of the present invention is the same as the embodiment of the communication method of the industrial control system of the present invention described above, and the difference mainly includes the trunk communication link and the auxiliary. The communication link operates in a switched manner.

在所述工业控制系统实际通信中,当所述主干通信链路或辅助通信链路出现故障时,所述工业控制系统能自动或者不自动地切换到工作正常的通信链路进行保障所述工业控制系统的所述从主工业控制设备之间的通信。In the actual communication of the industrial control system, when the trunk communication link or the auxiliary communication link fails, the industrial control system can automatically or not automatically switch to a working communication link to secure the industry. Communication between the slave main industrial control devices of the control system.

具体地,所述在所述工业控制系统中的主工业控制设备和从工业控制设备之间建立基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路的步骤进一步包括:Specifically, the step of establishing a main communication link between the main industrial control device and the industrial control device based on the fieldbus communication and the auxiliary communication link based on the power carrier communication further includes:

M13:在初始化过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的初始化策略。M13: During the initialization process, the working states of the trunk communication link and the auxiliary communication link are detected, and a corresponding initialization policy is executed according to the detection result.

在所述工业控制系统工作前,对所述主干通信链路和所述辅助通信链路的工作状态进行实时或不实时检测来进行初始化,完成初始化后进行工作状态,能够有效避免所述工业控制系统在工作过程中出现通信中断的问题。Before the operation of the industrial control system, real-time or non-real-time detection of the working states of the backbone communication link and the auxiliary communication link is performed to initialize, and the working state is completed after initialization, which can effectively avoid the industrial control. The system has a problem of communication interruption during the work process.

具体地,在所述主干通信链路和所述辅助通信链路以切换方式进行工作时,所述在初始化过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的初始化策略的步骤包括M14:Specifically, when the trunk communication link and the auxiliary communication link operate in a switching manner, the working states of the trunk communication link and the auxiliary communication link are detected during an initialization process. And the steps of executing the corresponding initialization strategy based on the detection result include M14:

若所述主干通信链路中的所述两条现场总线通信链路均工作正常且所述辅助通信链路也工作正常,则完成初始化;If the two fieldbus communication links in the trunk communication link are all working normally and the auxiliary communication link is also working normally, initialization is completed;

若所述主干通信链路中的所述两条现场总线通信链路和所述辅助通信链路中的任意一者工作异常,则初始化失败。If any of the two fieldbus communication links and the auxiliary communication link in the backbone communication link operate abnormally, the initialization fails.

若完成初始化,则所述工业控制系统可以进入正常工作状态;若初始化失败,则可以对所述工业控制系统进行检修,当所述检修完成后,再重新进行初始化。通过初始化来明确所述主干通信链路和所述辅助通信链路的是否处于正常工作状态,避免有故障的通信链路在所述工业控制系统的工作中对通信造成影响。If the initialization is completed, the industrial control system can enter a normal working state; if the initialization fails, the industrial control system can be overhauled, and when the maintenance is completed, the initialization is resumed. It is initialized to clarify whether the trunk communication link and the auxiliary communication link are in a normal working state, and to prevent the faulty communication link from affecting communication in the operation of the industrial control system.

具体地,所述以所述辅助通信链路作为所述主干通信链路的备用链路进行所述主工业控制设备和与所述从工业控制设备之间的通信的步骤包括:Specifically, the step of performing communication between the main industrial control device and the slave industrial control device by using the auxiliary communication link as a backup link of the backbone communication link includes:

M15:在工作过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的工作策略。M15: During the working process, the working states of the trunk communication link and the auxiliary communication link are detected, and a corresponding working policy is executed according to the detection result.

具体地,在所述主干通信链路和所述辅助通信链路以切换方式进行工作时,所述在工作过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的工作策略的步骤包括M16:Specifically, when the trunk communication link and the auxiliary communication link operate in a switching manner, the working status of the trunk communication link and the auxiliary communication link are detected during operation. And the steps to execute the corresponding work strategy based on the test results include M16:

若所述主干通信链路和所述辅助通信链路均工作正常,则所述工业控制系统通过所述主现场总线通信链路进行通信,并保持当前工作状态且不产生报警信号;If the trunk communication link and the auxiliary communication link both work normally, the industrial control system communicates through the main fieldbus communication link, and maintains a current working state without generating an alarm signal;

若所述主现场总线通信链路工作正常,且所述备现场总线通信链路和所述辅助通信链路中的任意一者工作异常,则所述工业控制系统通过所述主现场总线通信链路进行通信,并保持当前工作状态且产生第六报警信号;此时,将所述主干通信链路保持连接到所述主现场总线通信链路进行通信,保持所述主干通信链路的正常工作。If the primary fieldbus communication link is functioning properly and any one of the standby fieldbus communication link and the auxiliary communication link operates abnormally, the industrial control system passes the primary fieldbus communication link The road communicates and maintains the current working state and generates a sixth alarm signal; at this time, the trunk communication link is kept connected to the main fieldbus communication link for communication, and the normal operation of the trunk communication link is maintained. .

若所述主现场总线通信链路工作异常,且所述备现场总线通信链路工作正常,则所述工业控制系统切换成通过所述备现场总线通信链路进行通信,并保持当前工作状态且产生第七报警信号;此时,将所述主干通信链路切换到所述备现场总线通信链路进行通信,保持所述主干通信链路的正常工作。If the primary fieldbus communication link operates abnormally and the standby fieldbus communication link works normally, the industrial control system switches to communicate through the standby fieldbus communication link and maintains the current working state and A seventh alarm signal is generated; at this time, the trunk communication link is switched to the standby fieldbus communication link for communication, and the normal operation of the trunk communication link is maintained.

若所述主现场总线通信链路和所述备现场总线通信链路均工作异常,且所述辅助通信链路工作正常,则所述工业控制系统切换成通过所述辅助通信链路工作进行通信,并保持当前工作状态且产生第八报警信号。此时,将所述工业控制系统的通信链路切换到所述备现场总线通信链路进行通信,保持所述工业控制系统的正常工作,并提示所述主从工业控制设备进行检修或者对上述故障进行处理。If the primary fieldbus communication link and the standby fieldbus communication link both operate abnormally, and the auxiliary communication link works normally, the industrial control system switches to work by using the auxiliary communication link to communicate And maintain the current working state and generate an eighth alarm signal. At this time, the communication link of the industrial control system is switched to the standby field bus communication link for communication, maintaining the normal operation of the industrial control system, and prompting the master-slave industrial control device to perform maintenance or the above The fault is handled.

在本实施例中,所述切换方式为数字式通信方式和/或模拟式通信方式。In this embodiment, the switching mode is a digital communication mode and/or an analog communication mode.

在本实施例中,所述切换方式中报警信号的第六至第八中数值越高越高,事件越严重。当然,也可以设置为第六至第八中数值越低,事件越严重,在此种设置状态下,所述工作策略要进行相对应的设置。In this embodiment, the higher the value in the sixth to eighth of the alarm signal in the switching mode, the higher the event. Of course, it can also be set that the lower the value in the sixth to eighth, the more serious the event, in which the working strategy is to be correspondingly set.

本实施例步骤M1和步骤M2为上述本发明工业控制通信方法一实施例中的步骤S1和步骤S2。本实施例步骤M11和步骤M12为上述本发明工业控制通信方法一实施例中的步骤S11和步骤S12。Steps M1 and M2 of this embodiment are steps S1 and S2 in an embodiment of the above-described industrial control communication method of the present invention. Steps M11 and M12 of this embodiment are steps S11 and S12 in an embodiment of the above-described industrial control communication method of the present invention.

参阅图5,本发明工业控制系统一实施例包括主工业控制设备1、从工业控制设备2以及设置于所述主工业控制设备1与所述从工业控制设备2之间的基于现场总线通信的主干通信链路3和基于电力载波通信的辅助通信链路4。其中在所述主工业控制设备1和与所述从工业控制设备2之间的通信过程所述辅助通信链路4作为所述主干通信链路3的备用链路。Referring to FIG. 5, an embodiment of the industrial control system of the present invention includes a main industrial control device 1, a slave industrial control device 2, and a fieldbus-based communication provided between the main industrial control device 1 and the slave industrial control device 2. The backbone communication link 3 and the auxiliary communication link 4 based on power carrier communication. The auxiliary communication link 4 serves as a backup link for the trunk communication link 3 in the communication process between the main industrial control device 1 and the slave industrial control device 2.

在所述工业控制系统实际通信中,所述主干通信链路3与所述的辅助通信链路4构成冗余网络,当所述主干通信链路3发生故障时,所述辅助通信链路4作为备用链路,使所述工业控制系统的所述主从工业控制设备2之间的通信保持正常。In the actual communication of the industrial control system, the backbone communication link 3 and the auxiliary communication link 4 constitute a redundant network, and when the trunk communication link 3 fails, the auxiliary communication link 4 As a backup link, communication between the master-slave industrial control devices 2 of the industrial control system is maintained normal.

利用电力载波通信作为辅助通信链路4,无需重新设计通信网络架构,利用所述主从工业控制设备2现有的电力线通过载波的方式将工业控制系统中模拟和/或数字信号进行高速传输,不增加网络拓扑复杂性和设备成本,能够在所述主干通信链路3出现故障时,有效地保障所述主从工业控制设备2之间的通信,且通信可靠,传输速度快,能够满足所述主从工业控制设备2之间的通信要求。By using power carrier communication as the auxiliary communication link 4, the communication network architecture is not redesigned, and the analog power and/or digital signals in the industrial control system are transmitted at high speed by means of the existing power line of the master-slave industrial control device 2 through the carrier. Without increasing network topology complexity and equipment cost, when the trunk communication link 3 fails, the communication between the master-slave industrial control device 2 can be effectively guaranteed, and the communication is reliable, the transmission speed is fast, and the device can be satisfied. The communication requirements between the master and the industrial control device 2 are described.

所述的电力载波的实现方式有多种,例如工业控制设备中的处理器通过调制解调器将基带信号转变为一个相对基带频率而言频率较高的带通信号(即调制信号)以适合于信道传输。信号预处理电路实现发送信号与接收信号的放大、滤波等工作。电力线耦合电力实现电力载波电路与电力线的物理接口。The power carrier can be implemented in various manners, for example, the processor in the industrial control device converts the baseband signal into a bandpass signal (ie, a modulated signal) with a higher frequency relative to the baseband frequency through a modem to be suitable for channel transmission. . The signal pre-processing circuit realizes amplification and filtering of the transmitted signal and the received signal. The power line coupled power realizes a physical interface between the power carrier circuit and the power line.

在本实施例中,所述主工业控制设备1可以同时连接一个或多个所述从工业控制设备2。其中所述主工业控制设备1用于向各个所述从工业控制设备2发送控制命令,接收从工业控制设备2的运行状态以及被控设备的关键参数信息,例如电压、电流、功率等。主工业控制设备1和从工业控制设备2均包含冗余工业现场总线通信接口和电力载波通信接口。In the present embodiment, the main industrial control device 1 can simultaneously connect one or more of the slave industrial control devices 2. The main industrial control device 1 is configured to send a control command to each of the slave industrial control devices 2 to receive an operating state of the slave industrial control device 2 and key parameter information of the controlled device, such as voltage, current, power, and the like. Both the main industrial control device 1 and the slave industrial control device 2 include a redundant industrial fieldbus communication interface and a power carrier communication interface.

可选的,所述的基于电力载波通信的辅助通信链路4,可以为高压电力载波通信、中压电力载波通信或低压电力载波通信。可选为低压电力载波通信,电压为380V或220V。一般,电力载波信号存在不同的信号耦合方式有线-地耦合和线-中线耦合,在本实施例中,所述辅助通信链路4可以根据实际情况进行选择或者设定。Optionally, the auxiliary communication link 4 based on the power carrier communication may be high voltage power carrier communication, medium voltage power carrier communication or low voltage power carrier communication. Optional low voltage power carrier communication with a voltage of 380V or 220V. Generally, there are different signal coupling modes of the power carrier signal, the wire-ground coupling and the line-neutral coupling. In this embodiment, the auxiliary communication link 4 can be selected or set according to actual conditions.

所述主干通信链路3进一步包括两条现场总线通信链路。The backbone communication link 3 further includes two fieldbus communication links.

所述两条现场总线通信链路可以同时工作、也可以单独工作。所述工业控制系统可以对所述两条现场总线通信链路进行自动选择或者不自动选择The two fieldbus communication links can operate simultaneously or separately. The industrial control system can automatically select or not automatically select the two fieldbus communication links

在所述工业控制系统工作前,对所述工业控制系统进行初始化。在初始化过程中,所述主工业控制设备1根据所述两条现场总线通信链路建立通信的先后顺序将所述两条现场总线通信链路分成主现场总线通信链路A和备现场总线通信链路B。The industrial control system is initialized prior to operation of the industrial control system. In the initialization process, the main industrial control device 1 divides the two field bus communication links into a main field bus communication link A and a standby field bus communication according to the order in which the two field bus communication links establish communication. Link B.

在本实施例中,所述主现场总线通信链路A与所述备现场总线通信链路B构成冗余网络,当所述主现场总线通信链路A与备现场总线通信链路B构成冗余网络中的任意一条出现故障,正常工作一条能够保障所述工业控制系统的所述主从工业控制设备2的通信正常。In this embodiment, the main field bus communication link A and the standby field bus communication link B constitute a redundant network, and the main field bus communication link A and the standby field bus communication link B constitute redundant Any one of the remaining networks fails, and the normal operation can ensure that the communication of the master-slave industrial control device 2 of the industrial control system is normal.

参阅图2,在本实施中,所述主干通信链路3和所述辅助通信链路4可以通过冗余方式进行工作。所述主现场总线通信链路A与备现场主线通信链路构成冗余网络,所述辅助通信链路4与所述主干通信链路3构成冗余网络,由此所述工业控制系统拥有两层次冗余网络,在遇到通信故障时能够有效保障所述工业控制系统的通信正常。Referring to Figure 2, in the present embodiment, the backbone communication link 3 and the auxiliary communication link 4 can operate in a redundant manner. The main fieldbus communication link A and the standby field main line communication link constitute a redundant network, and the auxiliary communication link 4 and the backbone communication link 3 constitute a redundant network, whereby the industrial control system has two A hierarchical redundant network can effectively guarantee the communication of the industrial control system in the event of a communication failure.

所述工业控制系统工作前,对所述工业控制系统进行初始化。在初始化过程中,所述主工业控制设备1对所述主干通信链路3和所述辅助通信链路4的工作状态进行检测,并根据检测结果执行相应的初始化策略。The industrial control system is initialized prior to operation of the industrial control system. In the initialization process, the main industrial control device 1 detects the working states of the trunk communication link 3 and the auxiliary communication link 4, and executes a corresponding initialization policy according to the detection result.

所述主工业控制设备1对所述主干通信链路3和所述辅助通信链路4的工作状态进行检测的方式有多种,例如所述主工业控制设备1利用所述主干通信链路3或所述辅助通信链路4向所述从工业控制设备2发送控制命令和接收所述从工业控制设备2的运行状态,如果所述主工业控制设备1能够给所述从工业控制设备2发送控制指令和接收所述从工业控制设备2的运行状态,那么所述主工业控制设备1所利用的通信链路运行状态正常,否则异常。The main industrial control device 1 detects various working states of the trunk communication link 3 and the auxiliary communication link 4, for example, the main industrial control device 1 utilizes the trunk communication link 3 Or the auxiliary communication link 4 transmits a control command to the slave industrial control device 2 and receives an operating state of the slave industrial control device 2 if the master industrial control device 1 can send the slave industrial control device 2 Controlling the command and receiving the operating state of the slave industrial control device 2, then the communication link utilized by the main industrial control device 1 is in a normal operating state, otherwise abnormal.

具体地,在所述主干通信链路和所述辅助通信链路以冗余方式进行工作时,所述主工业控制设备1根据检测结果执行以下初始化策略:Specifically, when the trunk communication link and the auxiliary communication link operate in a redundant manner, the main industrial control device 1 performs the following initialization policy according to the detection result:

若所述主干通信链路3中的所述两条现场总线通信链路均工作正常且所述辅助通信链路4也工作正常,则完成初始化且不产生报警信号;If the two fieldbus communication links in the trunk communication link 3 are all working normally and the auxiliary communication link 4 is also working normally, initialization is completed and no alarm signal is generated;

若所述主干通信链路3中的所述两条现场总线通信链路均工作正常而所述辅助通信链路4工作异常,则完成初始化但产生报警信号;If the two fieldbus communication links in the trunk communication link 3 are working normally and the auxiliary communication link 4 is abnormal, the initialization is completed but an alarm signal is generated;

若所述主干通信链路3中的所述两条现场总线通信链路中的任意一者工作异常,则初始化失败。If any one of the two fieldbus communication links in the backbone communication link 3 operates abnormally, the initialization fails.

当然,还有多种所述初始化策略,例如若所述主干通信链路3中的所述两条现场总线通信链路均工作正常且所述辅助通信链路4也工作正常,则完成初始化且不产生报警信号;若所述主干通信链路3中的所述两条现场总线通信链路与所述辅助通信链路4任意一者工作异常,则初始化失败。Of course, there are a plurality of said initialization strategies, for example, if the two fieldbus communication links in the backbone communication link 3 are all working properly and the auxiliary communication link 4 is also working properly, initialization is completed and No alarm signal is generated; if any one of the two field bus communication links and the auxiliary communication link 4 in the trunk communication link 3 operate abnormally, the initialization fails.

所述的初始化策略,根据所述工业控制系统实际工作中对通信的要求要确定。The initialization strategy is determined according to the requirements of the communication in the actual operation of the industrial control system.

所述工业控制系统在工作中需要对所述主干通信链路3和所述辅助通信链路4的运行状态进行实时检测或者非实时检测。在工作过程中,所述主工业控制设备1对所述主干通信链路3和所述辅助通信链路4的工作状态进行检测,并根据检测结果执行相应的工作策略。The industrial control system needs to perform real-time detection or non-real-time detection on the operational status of the backbone communication link 3 and the auxiliary communication link 4 during operation. During operation, the main industrial control device 1 detects the working states of the backbone communication link 3 and the auxiliary communication link 4, and executes a corresponding working policy according to the detection result.

所述检测方式有多种,例如所述主工业控制设备1利用所述主干通信链路3或所述辅助通信链路4向所述从工业控制设备2发送控制命令和接收所述从工业控制设备2的运行状态,由此检测所述主干通信链路3和所述辅助通信链路4的通信通路。There are various detection methods, for example, the main industrial control device 1 transmits a control command to the slave industrial control device 2 and receives the slave industrial control by using the trunk communication link 3 or the auxiliary communication link 4. The operating state of the device 2, thereby detecting the communication path of the backbone communication link 3 and the auxiliary communication link 4.

具体地,在所述主干通信链路和所述辅助通信链路以冗余方式进行工作时,所述主工业控制设备1根据检测结果执行以下工作策略:Specifically, when the trunk communication link and the auxiliary communication link operate in a redundant manner, the main industrial control device 1 performs the following work policies according to the detection result:

若所述主干通信链路3和所述辅助通信链路4均工作正常,则所述工业控制系统通过所述主现场总线通信链路A和备现场总线通信链路B进行冗余通信,并保持当前工作状态且不产生报警信号;If the trunk communication link 3 and the auxiliary communication link 4 are both working normally, the industrial control system performs redundant communication through the primary fieldbus communication link A and the standby fieldbus communication link B, and Maintain the current working state and do not generate an alarm signal;

若仅所述辅助通信链路4工作异常,则所述工业控制系统通过所述主现场总线通信链路A和备现场总线通信链路B进行冗余通信,并保持当前工作状态且产生第一报警信号;If only the auxiliary communication link 4 operates abnormally, the industrial control system performs redundant communication through the main field bus communication link A and the standby field bus communication link B, and maintains the current working state and generates the first Alarm;

若仅所述主干通信链路3中的备现场总线通信链路B工作异常,则所述工业控制系统通过所述主现场总线通信链路A和所述辅助通信链路4进行冗余通信,并保持当前工作状态且产生第二报警信号;If only the standby fieldbus communication link B in the trunk communication link 3 operates abnormally, the industrial control system performs redundant communication through the primary fieldbus communication link A and the auxiliary communication link 4, And maintaining the current working state and generating a second alarm signal;

若仅所述主干通信链路3中的主现场总线通信链路A工作异常,则所述工业控制系统通过所述备现场总线通信链路B和所述辅助通信链路4进行冗余通信,并保持当前工作状态且产生第三报警信号;If only the primary fieldbus communication link A in the trunk communication link 3 operates abnormally, the industrial control system performs redundant communication through the standby fieldbus communication link B and the auxiliary communication link 4, And maintaining the current working state and generating a third alarm signal;

若所述主现场总线通信链路A和所述备现场总线通信链路B中的一个工作异常,且所述辅助通信链路4工作异常,则所述工业控制系统通过所述主现场总线通信链路A和所述备现场总线通信链路B中正常工作的另一个进行通信,并保持当前工作状态且产生第四报警信号;If one of the primary fieldbus communication link A and the standby fieldbus communication link B operates abnormally, and the auxiliary communication link 4 operates abnormally, the industrial control system communicates through the primary fieldbus Link A communicates with another one of the standby fieldbus communication link B that is working normally, and maintains the current working state and generates a fourth alarm signal;

若所述主现场总线通信链路A和所述备现场总线通信链路B均工作异常,而所述辅助通信链路4工作正常,则所述工业控制系统通过所述辅助通信链路4进行通信,并进入安全状态且产生第五报警信号。If the primary fieldbus communication link A and the standby fieldbus communication link B both operate abnormally, and the auxiliary communication link 4 works normally, the industrial control system performs the auxiliary communication link 4 Communicate and enter a safe state and generate a fifth alarm signal.

当然,所述工作策略有多种,例如若所述主干通信链路3和所述辅助通信链路4均工作正常,则所述工业控制系统通过所述主现场总线通信链路A和备现场总线通信链路B进行冗余通信,并保持当前工作状态且不产生报警信号。若所述主干通信链路3的所述主现场总线通信链路A和备现场总线通信链路B和所述辅助通信链路4中任意一者或者两者工作异常时,则所述工业控制系统选择保持当前工作状态或者进入安全状态,且产生报警信号。Of course, there are various working strategies, for example, if the trunk communication link 3 and the auxiliary communication link 4 are all working normally, the industrial control system passes the main field bus communication link A and the standby site. The bus communication link B performs redundant communication and maintains the current working state without generating an alarm signal. If the one or both of the main fieldbus communication link A and the standby field bus communication link B and the auxiliary communication link 4 of the trunk communication link 3 operate abnormally, then the industrial control The system chooses to maintain the current working state or enter a safe state and generate an alarm signal.

在本实施例中,所述第一至第五中数值越高,事情越严重。当然,也可以第一至第五中数值越低,事情越严重,在此种设置状态下,所述工作策略要进行相对应的设置。In this embodiment, the higher the values in the first to fifth, the more serious the matter. Of course, the lower the values in the first to the fifth, the more serious the situation, in which the working strategy is to be set correspondingly.

所述工作策略,可以根据所述工业控制系统实际工作需要进行确定。The working strategy can be determined according to the actual working needs of the industrial control system.

参阅图5,在本实施例中,所述主干通信链路3和所述辅助通信链路4还可以通过切换方式进行工作。Referring to FIG. 5, in the embodiment, the backbone communication link 3 and the auxiliary communication link 4 can also operate in a switching manner.

参阅图4,在所述工业控制系统工作前可以对所述工业控制系统进行初始化。在初始化过程中,所述主工业控制设备1对所述主干通信链路3和所述辅助通信链路4的工作状态进行检测,并根据检测结果执行相应的初始化策略。Referring to Figure 4, the industrial control system can be initialized prior to operation of the industrial control system. In the initialization process, the main industrial control device 1 detects the working states of the trunk communication link 3 and the auxiliary communication link 4, and executes a corresponding initialization policy according to the detection result.

所述主工业控制设备1对所述主干通信链路3和所述辅助通信链路4的工作状态进行检测的方式有多种,例如所述主工业控制设备1利用所述主干通信链路3或所述辅助通信链路4向所述从工业控制设备2发送控制命令和接收所述从工业控制设备2的运行状态,如果所述主工业控制设备1能够给所述从工业控制设备2发送控制指令和接收所述从工业控制设备2的运行状态,那么所述主工业控制设备1所利用的通信链路的运行状态正常,否则异常。The main industrial control device 1 detects various working states of the trunk communication link 3 and the auxiliary communication link 4, for example, the main industrial control device 1 utilizes the trunk communication link 3 Or the auxiliary communication link 4 transmits a control command to the slave industrial control device 2 and receives an operating state of the slave industrial control device 2 if the master industrial control device 1 can send the slave industrial control device 2 Controlling the command and receiving the operating state of the slave industrial control device 2, then the operating state of the communication link utilized by the main industrial control device 1 is normal, otherwise abnormal.

在所述主干通信链路和所述辅助通信链路以切换方式进行工作时,所述主工业控制设备1根据检测结果执行以下初始化策略:When the trunk communication link and the auxiliary communication link operate in a switching manner, the main industrial control device 1 performs the following initialization policy according to the detection result:

若所述主干通信链路3中的所述两条现场总线通信链路均工作正常且所述辅助通信链路4也工作正常,则完成初始化;If the two fieldbus communication links in the trunk communication link 3 are all working normally and the auxiliary communication link 4 is also working normally, initialization is completed;

若所述主干通信链路3中的所述两条现场总线通信链路和所述辅助通信链路4中的任意一者工作异常,则初始化失败。If any of the two fieldbus communication links and the auxiliary communication link 4 in the trunk communication link 3 operate abnormally, the initialization fails.

在工作过程中,所述主工业控制设备1对所述主干通信链路3和所述辅助通信链路4的工作状态进行检测,并根据检测结果执行相应的工作策略。During operation, the main industrial control device 1 detects the working states of the backbone communication link 3 and the auxiliary communication link 4, and executes a corresponding working policy according to the detection result.

在所述主干通信链路和所述辅助通信链路以切换方式进行工作时,所述主工业控制设备1根据检测结果执行以下工作策略:When the trunk communication link and the auxiliary communication link operate in a switching manner, the main industrial control device 1 performs the following work policies according to the detection result:

若所述主干通信链路3和所述辅助通信链路4均工作正常,则所述工业控制系统通过所述主现场总线通信链路A进行通信,并保持当前工作状态且不产生报警信号。If both the backbone communication link 3 and the auxiliary communication link 4 are operating normally, the industrial control system communicates via the primary fieldbus communication link A and maintains the current operating state without generating an alarm signal.

若所述主现场总线通信链路A工作正常,且所述备现场总线通信链路B和所述辅助通信链路4中的任意一者工作异常,则所述工业控制系统通过所述主现场总线通信链路A进行通信,并保持当前工作状态且产生第六报警信号。If the primary fieldbus communication link A is working properly, and any one of the standby fieldbus communication link B and the auxiliary communication link 4 is abnormal, the industrial control system passes through the main site. The bus communication link A communicates and maintains the current operating state and generates a sixth alarm signal.

若所述主现场总线通信链路A工作异常,且所述备现场总线通信链路B工作正常,则所述工业控制系统切换成通过所述备现场总线通信链路B进行通信,并保持当前工作状态且产生第七报警信号。此时,所述工业控制系统将所述主现场总线通信链路A工作切换到所述备现场总线进行,保持所述主干通信链路3的工作。If the primary fieldbus communication link A is abnormal and the standby fieldbus communication link B is working normally, the industrial control system switches to communicate through the standby fieldbus communication link B, and maintains the current Working state and generating a seventh alarm signal. At this time, the industrial control system switches the operation of the main field bus communication link A to the standby field bus to maintain the operation of the trunk communication link 3.

若所述主现场总线通信链路A和所述备现场总线通信链路B均工作异常,且所述辅助通信链路4工作正常,则所述工业控制系统切换成通过所述辅助通信链路4工作进行通信,并保持当前工作状态且产生第八报警信号。此时所述的工业控制系统将所述辅助链路导通,所述主从工业控制设备2的通信由辅助通信链路4来保持。所述工业控制设备可以进行检修或者进入安全状态。If the primary fieldbus communication link A and the standby fieldbus communication link B both operate abnormally, and the auxiliary communication link 4 works normally, the industrial control system switches to pass the auxiliary communication link. 4 work to communicate, and maintain the current working state and generate an eighth alarm signal. The industrial control system described at this time turns on the auxiliary link, and the communication of the master-slave industrial control device 2 is maintained by the auxiliary communication link 4. The industrial control device can be serviced or enter a safe state.

当然,本实施例中,所述的工作策略还有很多种,例如若所述主干通信链路3和所述辅助通信链路4均工作正常,则所述工业控制系统通过所述主现场总线通信链路A进行通信,并保持当前工作状态且不产生报警信号。若所述主现场总线通信链路A与所述备现场总线通信链路B和所述辅助通信链路4中的任意一者或两者工作异常,所述工业控制系统保持当前运行状态或者切换到工作正常的通信链路且产生报警信号。Of course, in this embodiment, there are many working strategies, for example, if the trunk communication link 3 and the auxiliary communication link 4 are all working normally, the industrial control system passes the main field bus. Communication link A communicates and maintains the current operating state without generating an alarm signal. If the primary fieldbus communication link A and any one or both of the standby fieldbus communication link B and the auxiliary communication link 4 operate abnormally, the industrial control system maintains the current operating state or switches Go to a working communication link and generate an alarm signal.

可选的,在本实施例中可以采用继电器作为所述工业控制系统的切换单元进行所述主干路通信链路和辅助通信链路4之间的切换,以及所述主干路通信链路的所述主现场总线通信链路A和所述备现场总线通信链路B的切换,可选为电磁继电器、固态继电器、温度继电器等,可选为具有强制导向功能的继电器,例如满足欧洲标准EN50205要求的继电器。Optionally, in this embodiment, a relay may be used as a switching unit of the industrial control system to perform switching between the trunk communication link and the auxiliary communication link 4, and a location of the trunk communication link. The switching between the main field bus communication link A and the standby field bus communication link B may be selected as an electromagnetic relay, a solid state relay, a temperature relay, etc., and may be a relay with a forced guiding function, for example, meeting the requirements of the European standard EN50205. Relay.

为了保障继电器作为切换单元工作的可靠性,一般利用继电器检测电路对所述继电器进行实时或者不实时的可靠性检测,这样对所述继电器作为切换单元的误操作或者切换是否成功进行可靠检测,避免误操作和切换不成功给所述工业控制系统通信带来的损害。In order to ensure the reliability of the relay as a switching unit, the relay detection circuit is generally used to perform real-time or non-real-time reliability detection on the relay, so that the relay can be reliably detected as a misoperation or switching of the switching unit. Misuse and switching unsuccessful damage to the industrial control system communication.

以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.

Claims (20)

一种工业控制系统的通信方法,其特征在于,所述方法包括:A communication method for an industrial control system, the method comprising: 在所述工业控制系统中的主工业控制设备和从工业控制设备之间建立基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路;Establishing a main communication link based on fieldbus communication and an auxiliary communication link based on power carrier communication between the main industrial control device in the industrial control system and from the industrial control device; 以所述辅助通信链路作为所述主干通信链路的备用链路进行所述主工业控制设备和与所述从工业控制设备之间的通信。Communication between the primary industrial control device and the secondary industrial control device is performed with the secondary communication link as a backup link for the backbone communication link. 根据权利要求1所述的方法,其特征在于,所述在所述工业控制系统中的主工业控制设备和从工业控制设备之间建立基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路的步骤包括:The method according to claim 1, wherein said main industrial control device in said industrial control system establishes a communication link based on fieldbus communication and a power carrier communication based communication between said industrial control device The steps of the auxiliary communication link include: 在所述主干通信链路内建立两条现场总线通信链路,并在所述主工业控制设备和从工业控制设备之间建立基于电力载波通信的辅助通信链路。Two fieldbus communication links are established within the backbone communication link and an auxiliary communication link based on power carrier communication is established between the primary industrial control device and the slave industrial control device. 根据权利要求2所述的方法,其特征在于,所述在所述工业控制系统中的主工业控制设备和从工业控制设备之间建立基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路的步骤进一步包括:The method according to claim 2, wherein said main industrial control device in said industrial control system establishes a communication link based on fieldbus communication and a power carrier communication based communication between said industrial control device The step of assisting the communication link further includes: 在初始化过程中根据所述两条现场总线通信链路建立通信的先后顺序将所述两条现场总线通信链路分成主现场总线通信链路和备现场总线通信链路。The two fieldbus communication links are divided into a main fieldbus communication link and a standby fieldbus communication link according to a sequence of establishing communication of the two fieldbus communication links during the initialization process. 根据权利要求3所述的方法,其特征在于,所述主干通信链路和所述辅助通信链路以冗余方式或切换方式进行工作。The method of claim 3 wherein said backbone communication link and said auxiliary communication link operate in a redundant manner or in a switched manner. 根据权利要求4所述的方法,其特征在于,所述在所述工业控制系统中的主工业控制设备和从工业控制设备之间建立基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路的步骤进一步包括:The method according to claim 4, wherein said main industrial control device in said industrial control system establishes a communication link based on fieldbus communication and a power carrier based communication between said industrial control device The step of assisting the communication link further includes: 在初始化过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的初始化策略。During the initialization process, the working states of the trunk communication link and the auxiliary communication link are detected, and a corresponding initialization policy is executed according to the detection result. 根据权利要求5所述的方法,其特征在于,在所述主干通信链路和所述辅助通信链路以冗余方式进行工作时,所述在初始化过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的初始化策略的步骤包括:The method of claim 5 wherein said primary communication link and said backbone communication link and said auxiliary communication link operate in a redundant manner The step of detecting the working status of the auxiliary communication link and performing the corresponding initialization policy according to the detection result includes: 若所述主干通信链路中的所述两条现场总线通信链路均工作正常且所述辅助通信链路也工作正常,则完成初始化且不产生报警信号;If the two fieldbus communication links in the trunk communication link are working normally and the auxiliary communication link is also working normally, initialization is completed and no alarm signal is generated; 若所述主干通信链路中的所述两条现场总线通信链路均工作正常而所述辅助通信链路工作异常,则完成初始化但产生报警信号;If the two fieldbus communication links in the trunk communication link are working normally and the auxiliary communication link is abnormal, the initialization is completed but an alarm signal is generated; 若所述主干通信链路中的所述两条现场总线通信链路中的任意一者工作异常,则初始化失败。If any one of the two fieldbus communication links in the backbone communication link operates abnormally, the initialization fails. 根据权利要求5所述的方法,其特征在于,在所述主干通信链路和所述辅助通信链路以切换方式进行工作时,所述在初始化过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的初始化策略的步骤包括:The method according to claim 5, wherein during said initializing, said trunk communication link and said backbone communication link and said auxiliary communication link are operated in a switching manner The steps of detecting the working status of the auxiliary communication link and performing the corresponding initialization policy according to the detection result include: 若所述主干通信链路中的所述两条现场总线通信链路均工作正常且所述辅助通信链路也工作正常,则完成初始化;If the two fieldbus communication links in the trunk communication link are all working normally and the auxiliary communication link is also working normally, initialization is completed; 若所述主干通信链路中的所述两条现场总线通信链路和所述辅助通信链路中的任意一者工作异常,则初始化失败。If any of the two fieldbus communication links and the auxiliary communication link in the backbone communication link operate abnormally, the initialization fails. 根据权利要求4所述的方法,其特征在于,所述以所述辅助通信链路作为所述主干通信链路的备用链路进行所述主工业控制设备和与所述从工业控制设备之间的通信的步骤包括:The method according to claim 4, wherein said said auxiliary communication link is used as a backup link of said trunk communication link between said main industrial control device and said slave industrial control device The steps of communication include: 在工作过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的工作策略。During the working process, the working states of the trunk communication link and the auxiliary communication link are detected, and a corresponding working policy is executed according to the detection result. 根据权利要求8所述的方法,其特征在于,在所述主干通信链路和所述辅助通信链路以冗余方式进行工作时,所述在工作过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的工作策略的步骤包括:The method of claim 8 wherein said trunk communication link and said trunk communication link and said auxiliary communication link operate in a redundant manner, said The step of detecting the working status of the auxiliary communication link and performing the corresponding working policy according to the detection result includes: 若所述主干通信链路和所述辅助通信链路均工作正常,则所述工业控制系统通过所述主现场总线通信链路和备现场总线通信链路进行冗余通信,并保持当前工作状态且不产生报警信号;If the trunk communication link and the auxiliary communication link both work normally, the industrial control system performs redundant communication through the main fieldbus communication link and the standby fieldbus communication link, and maintains the current working state. And does not generate an alarm signal; 若仅所述辅助通信链路工作异常,则所述工业控制系统通过所述主现场总线通信链路和备现场总线通信链路进行冗余通信,并保持当前工作状态且产生第一报警信号;If only the auxiliary communication link operates abnormally, the industrial control system performs redundant communication through the main field bus communication link and the standby field bus communication link, and maintains a current working state and generates a first alarm signal; 若仅所述主干通信链路中的备现场总线通信链路工作异常,则所述工业控制系统通过所述主现场总线通信链路和所述辅助通信链路进行冗余通信,并保持当前工作状态且产生第二报警信号;If only the standby fieldbus communication link in the trunk communication link operates abnormally, the industrial control system performs redundant communication through the primary fieldbus communication link and the auxiliary communication link, and maintains current work State and generate a second alarm signal; 若仅所述主干通信链路中的主现场总线通信链路工作异常,则所述工业控制系统通过所述备现场总线通信链路和所述辅助通信链路进行冗余通信,并保持当前工作状态且产生第三报警信号;If only the primary fieldbus communication link in the trunk communication link operates abnormally, the industrial control system performs redundant communication through the standby fieldbus communication link and the auxiliary communication link, and maintains current work. State and generate a third alarm signal; 若所述主现场总线通信链路和所述备现场总线通信链路中的一个工作异常,且所述辅助通信链路工作异常,则所述工业控制系统通过所述主现场总线通信链路和所述备现场总线通信链路中正常工作的另一个进行通信,并保持当前工作状态且产生第四报警信号;And if the one of the primary fieldbus communication link and the standby fieldbus communication link operates abnormally and the auxiliary communication link operates abnormally, the industrial control system passes the primary fieldbus communication link and The other one of the standby field bus communication links that works normally communicates, maintains the current working state, and generates a fourth alarm signal; 若所述主现场总线通信链路和所述备现场总线通信链路均工作异常,而所述辅助通信链路工作正常,则所述工业控制系统通过所述辅助通信链路进行通信,并进入安全状态且产生第五报警信号。If the primary fieldbus communication link and the standby fieldbus communication link both operate abnormally, and the auxiliary communication link works normally, the industrial control system communicates through the auxiliary communication link and enters The safety state and a fifth alarm signal is generated. 根据权利要求8所述的方法,其特征在于,在所述主干通信链路和所述辅助通信链路以切换方式进行工作时,所述在工作过程中,对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的工作策略的步骤包括:The method according to claim 8, wherein when said trunk communication link and said auxiliary communication link operate in a switching manner, said said backbone communication link and said The steps of detecting the working status of the auxiliary communication link and performing the corresponding working policy according to the detection result include: 若所述主干通信链路和所述辅助通信链路均工作正常,则所述工业控制系统通过所述主现场总线通信链路进行通信,并保持当前工作状态且不产生报警信号;If the trunk communication link and the auxiliary communication link both work normally, the industrial control system communicates through the main fieldbus communication link, and maintains a current working state without generating an alarm signal; 若所述主现场总线通信链路工作正常,且所述备现场总线通信链路和所述辅助通信链路中的任意一者工作异常,则所述工业控制系统通过所述主现场总线通信链路进行通信,并保持当前工作状态且产生第六报警信号;If the primary fieldbus communication link is functioning properly and any one of the standby fieldbus communication link and the auxiliary communication link operates abnormally, the industrial control system passes the primary fieldbus communication link The road communicates and maintains the current working state and generates a sixth alarm signal; 若所述主现场总线通信链路工作异常,且所述备现场总线通信链路工作正常,则所述工业控制系统切换成通过所述备现场总线通信链路进行通信,并保持当前工作状态且产生第七报警信号;If the primary fieldbus communication link operates abnormally and the standby fieldbus communication link works normally, the industrial control system switches to communicate through the standby fieldbus communication link and maintains the current working state and Generating a seventh alarm signal; 若所述主现场总线通信链路和所述备现场总线通信链路均工作异常,且所述辅助通信链路工作正常,则所述工业控制系统切换成通过所述辅助通信链路工作进行通信,并保持当前工作状态且产生第八报警信号。If the primary fieldbus communication link and the standby fieldbus communication link both operate abnormally, and the auxiliary communication link works normally, the industrial control system switches to work by using the auxiliary communication link to communicate And maintain the current working state and generate an eighth alarm signal. 一种工业控制系统,其特征在于,所述工业控制系统包括主工业控制设备、从工业控制设备以及设置于所述主工业控制设备与所述从工业控制设备之间的基于现场总线通信的主干通信链路和基于电力载波通信的辅助通信链路,其中在所述主工业控制设备和与所述从工业控制设备之间的通信过程中,所述辅助通信链路作为所述主干通信链路的备用链路。An industrial control system, comprising: a main industrial control device, a slave industrial control device, and a fieldbus-based backbone disposed between the main industrial control device and the slave industrial control device a communication link and an auxiliary communication link based on power carrier communication, wherein the auxiliary communication link acts as the backbone communication link during communication between the primary industrial control device and the secondary industrial control device Alternate link. 根据权利要求11所述的系统,其特征在于,所述主干通信链路进一步包括两条现场总线通信链路。The system of claim 11 wherein said backbone communication link further comprises two fieldbus communication links. 根据权利要求12所述的系统,其特征在于,在初始化过程中,所述主工业控制设备根据所述两条现场总线通信链路建立通信的先后顺序将所述两条现场总线通信链路分成主现场总线通信链路和备现场总线通信链路。The system according to claim 12, wherein in the initializing process, said main industrial control device divides said two fieldbus communication links into a sequence in which said two fieldbus communication links establish communication Main fieldbus communication link and standby fieldbus communication link. 根据权利要求13所述的系统,其特征在于,所述主干通信链路和所述辅助通信链路以冗余方式或切换方式进行工作。The system of claim 13 wherein said backbone communication link and said auxiliary communication link operate in a redundant manner or in a switched manner. 根据权利要求14所述的系统,其特征在于,在初始化过程中,所述主工业控制设备对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的初始化策略。The system according to claim 14, wherein in the initializing process, the main industrial control device detects an operating state of the trunk communication link and the auxiliary communication link, and performs corresponding according to the detection result. Initialization strategy. 根据权利要求15所述的系统,其特征在于,在所述主干通信链路和所述辅助通信链路以冗余方式进行工作时,所述主工业控制设备根据检测结果执行以下初始化策略:The system according to claim 15, wherein when said trunk communication link and said auxiliary communication link operate in a redundant manner, said main industrial control device performs the following initialization policy based on the detection result: 若所述主干通信链路中的所述两条现场总线通信链路均工作正常且所述辅助通信链路也工作正常,则完成初始化且不产生报警信号;If the two fieldbus communication links in the trunk communication link are working normally and the auxiliary communication link is also working normally, initialization is completed and no alarm signal is generated; 若所述主干通信链路中的所述两条现场总线通信链路均工作正常而所述辅助通信链路工作异常,则完成初始化但产生报警信号;If the two fieldbus communication links in the trunk communication link are working normally and the auxiliary communication link is abnormal, the initialization is completed but an alarm signal is generated; 若所述主干通信链路中的所述两条现场总线通信链路中的任意一者工作异常,则初始化失败。If any one of the two fieldbus communication links in the backbone communication link operates abnormally, the initialization fails. 根据权利要求15所述的系统,其特征在于,在所述主干通信链路和所述辅助通信链路以切换方式进行工作时,所述主工业控制设备根据检测结果执行以下初始化策略:The system according to claim 15, wherein when said trunk communication link and said auxiliary communication link operate in a switching manner, said main industrial control device performs the following initialization policy based on the detection result: 若所述主干通信链路中的所述两条现场总线通信链路均工作正常且所述辅助通信链路也工作正常,则完成初始化;If the two fieldbus communication links in the trunk communication link are all working normally and the auxiliary communication link is also working normally, initialization is completed; 若所述主干通信链路中的所述两条现场总线通信链路和所述辅助通信链路中的任意一者工作异常,则初始化失败。If any of the two fieldbus communication links and the auxiliary communication link in the backbone communication link operate abnormally, the initialization fails. 根据权利要求14所述的系统,其特征在于,在工作过程中,所述主工业控制设备对所述主干通信链路和所述辅助通信链路的工作状态进行检测,并根据检测结果执行相应的工作策略。The system according to claim 14, wherein during operation, said main industrial control device detects an operating state of said trunk communication link and said auxiliary communication link, and performs corresponding according to the detection result. Work strategy. 根据权利要求18所述的系统,其特征在于,在所述主干通信链路和所述辅助通信链路以冗余方式进行工作时,所述主工业控制设备根据检测结果执行以下工作策略:The system according to claim 18, wherein, when said trunk communication link and said auxiliary communication link operate in a redundant manner, said main industrial control device performs the following work policy based on the detection result: 若所述主干通信链路和所述辅助通信链路均工作正常,则所述工业控制系统通过所述主现场总线通信链路和备现场总线通信链路进行冗余通信,并保持当前工作状态且不产生报警信号;If the trunk communication link and the auxiliary communication link both work normally, the industrial control system performs redundant communication through the main fieldbus communication link and the standby fieldbus communication link, and maintains the current working state. And does not generate an alarm signal; 若仅所述所述辅助通信链路工作异常,则所述工业控制系统通过通过所述主现场总线通信链路和备现场总线通信链路进行冗余通信,并保持当前工作状态且产生第一报警信号;If only the auxiliary communication link operates abnormally, the industrial control system performs redundant communication by the main field bus communication link and the standby field bus communication link, and maintains the current working state and generates the first Alarm; 若仅所述主干通信链路中的备现场总线通信链路工作异常,则所述工业控制系统通过所述主现场总线通信链路和所述辅助通信链路进行冗余通信,并保持当前工作状态且产生第二报警信号;If only the standby fieldbus communication link in the trunk communication link operates abnormally, the industrial control system performs redundant communication through the primary fieldbus communication link and the auxiliary communication link, and maintains current work State and generate a second alarm signal; 若仅所述主干通信链路中的主现场总线通信链路工作异常,则所述工业控制系统通过所述备现场总线通信链路和所述辅助通信链路进行冗余通信,并保持当前工作状态且产生第三报警信号;If only the primary fieldbus communication link in the trunk communication link operates abnormally, the industrial control system performs redundant communication through the standby fieldbus communication link and the auxiliary communication link, and maintains current work. State and generate a third alarm signal; 若所述主现场总线通信链路和所述备现场总线通信链路中的一个工作异常,且所述辅助通信链路工作异常,则所述工业控制系统通过所述主现场总线通信链路和所述备现场总线通信链路中正常工作的另一个进行通信,并保持当前工作状态且产生第四报警信号;And if the one of the primary fieldbus communication link and the standby fieldbus communication link operates abnormally and the auxiliary communication link operates abnormally, the industrial control system passes the primary fieldbus communication link and The other one of the standby field bus communication links that works normally communicates, maintains the current working state, and generates a fourth alarm signal; 若所述主现场总线通信链路和所述备现场总线通信链路均工作异常,而所述辅助通信链路工作正常,则所述工业控制系统通过所述辅助通信链路进行通信,并进入安全状态且产生第五报警信号。If the primary fieldbus communication link and the standby fieldbus communication link both operate abnormally, and the auxiliary communication link works normally, the industrial control system communicates through the auxiliary communication link and enters The safety state and a fifth alarm signal is generated. 根据权利要求18所述的系统,其特征在于,在所述主干通信链路和所述辅助通信链路以切换方式进行工作时,所述主工业控制设备根据检测结果执行以下工作策略:The system according to claim 18, wherein when said trunk communication link and said auxiliary communication link operate in a switching manner, said main industrial control device performs the following work policy based on the detection result: 若所述主干通信链路和所述辅助通信链路均工作正常,则所述工业控制系统通过所述主现场总线通信链路进行通信,并保持当前工作状态且不产生报警信号;If the trunk communication link and the auxiliary communication link both work normally, the industrial control system communicates through the main fieldbus communication link, and maintains a current working state without generating an alarm signal; 若所述主现场总线通信链路工作正常,且所述备现场总线通信链路和所述辅助通信链路中的任意一者工作异常,则所述工业控制系统通过所述主现场总线通信链路进行通信,并保持当前工作状态且产生第六报警信号;If the primary fieldbus communication link is functioning properly and any one of the standby fieldbus communication link and the auxiliary communication link operates abnormally, the industrial control system passes the primary fieldbus communication link The road communicates and maintains the current working state and generates a sixth alarm signal; 若所述主现场总线通信链路工作异常,且所述备现场总线通信链路工作正常,则所述工业控制系统切换成通过所述备现场总线通信链路进行通信,并保持当前工作状态且产生第七报警信号;If the primary fieldbus communication link operates abnormally and the standby fieldbus communication link works normally, the industrial control system switches to communicate through the standby fieldbus communication link and maintains the current working state and Generating a seventh alarm signal; 若所述主现场总线通信链路和所述备现场总线通信链路均工作异常,且所述辅助通信链路工作正常,则所述工业控制系统切换成通过所述辅助通信链路工作进行通信,并保持当前工作状态且产生第八报警信号。If the primary fieldbus communication link and the standby fieldbus communication link both operate abnormally, and the auxiliary communication link works normally, the industrial control system switches to work by using the auxiliary communication link to communicate And maintain the current working state and generate an eighth alarm signal.
PCT/CN2017/091470 2017-07-03 2017-07-03 Communication method for industrial control system, and industrial control system Ceased WO2019006590A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780034122.4A CN109313421B (en) 2017-07-03 2017-07-03 Industrial control system communication method and industrial control system
PCT/CN2017/091470 WO2019006590A1 (en) 2017-07-03 2017-07-03 Communication method for industrial control system, and industrial control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/091470 WO2019006590A1 (en) 2017-07-03 2017-07-03 Communication method for industrial control system, and industrial control system

Publications (1)

Publication Number Publication Date
WO2019006590A1 true WO2019006590A1 (en) 2019-01-10

Family

ID=64950536

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/091470 Ceased WO2019006590A1 (en) 2017-07-03 2017-07-03 Communication method for industrial control system, and industrial control system

Country Status (2)

Country Link
CN (1) CN109313421B (en)
WO (1) WO2019006590A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115955390B (en) * 2022-12-01 2025-08-01 长扬科技(北京)股份有限公司 Multilink management system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050125441A1 (en) * 2003-12-09 2005-06-09 Achim Clemens Data processing methods and systems for use in industrial control
CN203561702U (en) * 2013-10-24 2014-04-23 国家电网公司 An online monitoring and early warning system for power cable joint faults
CN105323080A (en) * 2014-06-09 2016-02-10 中兴通讯股份有限公司 Method, apparatus and system for backup of link and power supply

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050125441A1 (en) * 2003-12-09 2005-06-09 Achim Clemens Data processing methods and systems for use in industrial control
CN203561702U (en) * 2013-10-24 2014-04-23 国家电网公司 An online monitoring and early warning system for power cable joint faults
CN105323080A (en) * 2014-06-09 2016-02-10 中兴通讯股份有限公司 Method, apparatus and system for backup of link and power supply

Also Published As

Publication number Publication date
CN109313421B (en) 2022-01-11
CN109313421A (en) 2019-02-05

Similar Documents

Publication Publication Date Title
WO2017008710A1 (en) Rail transit scheduling method, server and system
WO2011019144A2 (en) Electronic patch apparatus, network system, and operating method in a network system
WO2010123270A2 (en) Method and apparatus for implementing coordinated multiple point transmission
WO2013129832A1 (en) Method for reporting radio link failure information
WO2018045679A1 (en) Communication method, communication apparatus and terminal
WO2021194063A1 (en) Control device and control method for modular multilevel converter
WO2018221783A1 (en) System and method for transferring data in physical network separation environment
WO2019200728A1 (en) Primary and backup switching method and device in virtual gateway, and computer readable storage medium
WO2021157920A1 (en) Individual discharge system and method for battery racks
WO2014082261A1 (en) Ethernet port auto-negotiation method and communication device
WO2016163634A1 (en) Transmission/reception apparatus of security gateway for physical unidirectional communication performing security tunneling and data re-transmission, and data transmission method using same
WO2023085616A1 (en) Insulation monitoring device and method for controlling insulation monitoring device
WO2018056503A1 (en) System and method for switching line short-circuit fault section in inverter-based stand-alone microgrid
WO2020071706A1 (en) L2 switch for network security and remote monitoring and control system using same
WO2019006590A1 (en) Communication method for industrial control system, and industrial control system
WO2020130258A1 (en) Overcurrent protection power transfer switch
WO2014201613A1 (en) Mep configuration method and network device
WO2024039202A1 (en) Method for remotely performing self-fault diagnosis in electric vehicle charging system and apparatus supporting same
WO2022255711A1 (en) Uninterruptible power supply device having independent bypass function
US5579195A (en) Power stoppage minimizing systems for distribution lines and methods of using a distribution line
WO2020045828A1 (en) Duplexing in distributed antenna system
WO2020036431A1 (en) Railroad fault detection method, system therefor, and network control system
WO2018129652A1 (en) Decryption method for cluster group call, and user equipment
WO2021085786A1 (en) Integrated circuit and system control device including same
WO2021040197A1 (en) Independent microgrid system and inverter device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17916479

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17916479

Country of ref document: EP

Kind code of ref document: A1