CN111654359B - Hot standby redundant communication system and method - Google Patents
Hot standby redundant communication system and method Download PDFInfo
- Publication number
- CN111654359B CN111654359B CN202010580683.8A CN202010580683A CN111654359B CN 111654359 B CN111654359 B CN 111654359B CN 202010580683 A CN202010580683 A CN 202010580683A CN 111654359 B CN111654359 B CN 111654359B
- Authority
- CN
- China
- Prior art keywords
- optical
- communication
- link
- bus
- main
- 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.)
- Active
Links
- 238000004891 communication Methods 0.000 title claims abstract description 362
- 238000000034 method Methods 0.000 title claims abstract description 32
- 230000003287 optical effect Effects 0.000 claims abstract description 162
- 239000013307 optical fiber Substances 0.000 claims abstract description 52
- 238000002955 isolation Methods 0.000 claims description 66
- 230000002776 aggregation Effects 0.000 claims description 20
- 238000004220 aggregation Methods 0.000 claims description 20
- 238000006243 chemical reaction Methods 0.000 claims description 19
- 230000005540 biological transmission Effects 0.000 abstract description 24
- 238000012544 monitoring process Methods 0.000 description 52
- 238000002360 preparation method Methods 0.000 description 40
- 238000013461 design Methods 0.000 description 18
- 230000002159 abnormal effect Effects 0.000 description 16
- 101100236764 Caenorhabditis elegans mcu-1 gene Proteins 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 10
- 101150008604 CAN1 gene Proteins 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 101150063504 CAN2 gene Proteins 0.000 description 5
- 230000005856 abnormality Effects 0.000 description 5
- 238000010276 construction Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000007689 inspection Methods 0.000 description 4
- 238000012423 maintenance Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 1
- 238000011900 installation process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Chemical compound O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
- 238000004078 waterproofing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/22—Arrangements for detecting or preventing errors in the information received using redundant apparatus to increase reliability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
- H04L41/0663—Performing the actions predefined by failover planning, e.g. switching to standby network elements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Optical Communication System (AREA)
Abstract
Description
技术领域technical field
本发明涉及分布式控制系统技术领域,尤其涉及一种热备冗余通信系统以及方法。The invention relates to the technical field of distributed control systems, in particular to a hot standby redundant communication system and method.
背景技术Background technique
目前,各机场使用的单灯监控系统主要包括基于电力载波通信的单灯监控系统和基于光纤通信的单灯监控系统。对于基于电力载波通信的单灯监控系统而言,通信链路采用现有的电力线系统,虽然施工简单,因环境复杂,影响电力线的通信带宽和信噪比,导致数据通信的可靠性和稳定性不佳。对于基于光纤通信的单灯监控系统而言,通信链路则需要敷设光纤,光纤通信链路具有抗干扰能力强,数据通信带宽大的优点。At present, the single-light monitoring system used in various airports mainly includes the single-light monitoring system based on power carrier communication and the single-light monitoring system based on optical fiber communication. For the single lamp monitoring system based on power carrier communication, the communication link adopts the existing power line system. Although the construction is simple, the complex environment affects the communication bandwidth and signal-to-noise ratio of the power line, resulting in the reliability and stability of data communication. bad. For a single-light monitoring system based on optical fiber communication, the communication link needs to be laid with optical fiber. The optical fiber communication link has the advantages of strong anti-interference ability and large data communication bandwidth.
但在基于光纤通信的单灯监控系统建设过程中,即要保证光纤链路的可靠性,又需降低系统建设成本,设计施工均采用光纤链路冷备冗余。如果在运行过程中出现单路光纤链路损坏,需维护人员现场调整备份光纤链路,冗余备份的实时性不高。However, in the construction process of the single-light monitoring system based on optical fiber communication, it is necessary to ensure the reliability of the optical fiber link and reduce the system construction cost. The design and construction adopt the cold standby redundancy of the optical fiber link. If a single optical fiber link is damaged during operation, maintenance personnel need to adjust the backup optical fiber link on site, and the real-time performance of redundant backup is not high.
针对基于光纤通信的单灯监控系统中的单灯监控单元,受安装环境隔离变压器桶的体积限制、光纤尾缆的防水效果不佳和光模块价格昂贵的影响,导致单灯监控单元未实现单节点的热备冗余。并在现场安装单灯监控单元的光纤接头时,光接口的防水工艺难度高,易受安装工艺影响,单灯监控单元极难达到很好的防水效果,长时间运行后,水汽可能会因进入光纤接头而影响光衰。此外,光模块和光纤尾缆接头价格偏高,提高系统成本。For the single-lamp monitoring unit in the single-lamp monitoring system based on optical fiber communication, due to the volume limitation of the isolation transformer bucket in the installation environment, the poor waterproof effect of the optical fiber tail cable and the high price of the optical module, the single-lamp monitoring unit has not realized single node hot standby redundancy. And when installing the fiber optic connector of the single-lamp monitoring unit on site, the waterproof process of the optical interface is difficult and is easily affected by the installation process. It is extremely difficult for the single-lamp monitoring unit to achieve a good waterproof effect. After long-term operation, water vapor may enter due to Optical fiber connectors affect light attenuation. In addition, the price of optical modules and fiber optic pigtail connectors is relatively high, which increases system costs.
发明内容Contents of the invention
有鉴于此,本发明提供一种热备冗余通信系统以及方法,以实现通信链路的热备冗余,保证数据传输的高稳定性和高可靠性。In view of this, the present invention provides a hot standby redundant communication system and method, so as to realize hot standby redundancy of communication links and ensure high stability and high reliability of data transmission.
一方面,本发明提供一种热备冗余通信系统,包括:第一网络交换设备、第二网络交换设备、第一光汇聚设备、第二光汇聚设备以及热备冗余通信装置;所述热备冗余通信装置用于光信号与电信号的转换,所述热备冗余通信装置包括第二光通信接口、第四光通信接口、第一CAN通信接口、第二CAN通信接口、第三CAN通信接口和第四CAN通信接口;所述第一网络交换设备与所述第一光汇聚设备以及第二网络交换设备分别相连;所述第二网络交换设备与第二光汇聚设备相连;所述第一光汇聚设备通过第一光通信接口与所述热备冗余通信装置的第二光通信接口相连;所述第二光汇聚设备通过第三光通信接口与所述热备冗余通信装置的第四光通信接口;所述热备冗余通信装置通过第一CAN通信接口和第二CAN通信接口直接连接第一CAN总线通信链路,并通过第三CAN通信接口和第四CAN通信接口直接连接第二CAN总线备通信链路;所述第一CAN总线通信链路及第二CAN总线通信链路用于分别连接终端控制设备;所述第二光汇聚设备与第四光通信接口之间的通信链路作为光纤主链路,所述第一光汇聚设备与第二光通信接口之间的通信链路作为光纤备用链路;所述第一CAN总线通信链路作为CAN总线主链路,所述第二CAN总线备通信链路作为CAN总线备用链路;所述第一CAN通信接口作为CAN总线主链路的主接口,所述第二CAN通信接口作为CAN总线主链路的备用接口;所述第四CAN通信接口作为CAN总线备用链路的主接口,所述第三CAN通信接口作为CAN总线备用链路的备用接口;所述热备冗余通信装置用于在所述光纤主链路出现故障时,切换至所述光纤备用链路传送光信号;并用于在所述CAN总线主链路出现故障时,切换至所述CAN总线备用链路传送CAN总线信号;以及在任一所述主接口出现故障时,切换至对应的备用接口传送CAN总线信号。In one aspect, the present invention provides a hot standby redundant communication system, including: a first network switching device, a second network switching device, a first optical convergence device, a second optical convergence device, and a hot standby redundant communication device; The hot standby redundant communication device is used for conversion of optical signals and electrical signals, and the hot standby redundant communication device includes a second optical communication interface, a fourth optical communication interface, a first CAN communication interface, a second CAN communication interface, a second CAN communication interface, and a second CAN communication interface. Three CAN communication interfaces and a fourth CAN communication interface; the first network switching device is connected to the first optical convergence device and the second network switching device respectively; the second network switching device is connected to the second optical convergence device; The first optical converging device is connected to the second optical communication interface of the hot standby redundant communication device through the first optical communication interface; the second optical converging device is connected to the hot standby redundant communication device through the third optical communication interface. The fourth optical communication interface of the communication device; the hot standby redundant communication device is directly connected to the first CAN bus communication link through the first CAN communication interface and the second CAN communication interface, and through the third CAN communication interface and the fourth CAN The communication interface is directly connected to the second CAN bus communication link; the first CAN bus communication link and the second CAN bus communication link are used to respectively connect the terminal control equipment; the second optical converging equipment communicates with the fourth optical The communication link between the interfaces is used as the main optical fiber link, and the communication link between the first optical convergence device and the second optical communication interface is used as the optical fiber backup link; the first CAN bus communication link is used as the CAN bus The main link, the second CAN bus standby communication link is used as the CAN bus standby link; the first CAN communication interface is used as the main interface of the CAN bus main link, and the second CAN communication interface is used as the CAN bus main chain The backup interface of the road; the fourth CAN communication interface is used as the main interface of the CAN bus backup link, and the third CAN communication interface is used as the backup interface of the CAN bus backup link; the hot standby redundant communication device is used for When the optical fiber main link fails, switch to the optical fiber backup link to transmit optical signals; and when the CAN bus main link fails, switch to the CAN bus backup link to transmit CAN bus signals; And when any of the main interfaces fails, switch to the corresponding standby interface to transmit the CAN bus signal.
进一步地,所述热备冗余通信装置具体用于在所述第一光汇聚设备与第二光通信接口之间的通信链路出现故障时,切换至所述第二光汇聚设备与第四光通信接口之间的通信链路传送光信号,并经由第一CAN通信接口传送CAN总线信号至所述终端控制设备。Further, the hot standby redundant communication device is specifically configured to switch to the second optical aggregation device and the fourth optical communication interface when the communication link between the first optical aggregation device and the second optical communication interface fails. The communication link between the optical communication interfaces transmits optical signals, and transmits CAN bus signals to the terminal control device via the first CAN communication interface.
进一步地,所述热备冗余通信装置具体还用于在所述第四光通信接口与终端控制设备之间的通信链路出现故障时,经由所述第一光汇聚设备与第二光通信接口之间的通信链路传送光信号,并经由所述第四CAN通信接口传送CAN总线信号至所述终端控制设备。Further, the hot standby redundant communication device is specifically further configured to communicate with the second optical communication device via the first optical aggregation device when the communication link between the fourth optical communication interface and the terminal control device fails. The communication link between the interfaces transmits optical signals, and transmits CAN bus signals to the terminal control device via the fourth CAN communication interface.
进一步地,所述热备冗余通信装置具体还用于在所述第一光汇聚设备与终端控制设备之间的通信链路出现故障时,经由所述第二光汇聚设备与第四光通信接口之间的通信链路传送光信号,并经由所述第四CAN通信接口传送CAN总线信号至所述终端控制设备。Further, the hot standby redundant communication device is also specifically configured to communicate with the fourth optical communication device via the second optical aggregation device when the communication link between the first optical aggregation device and the terminal control device fails. The communication link between the interfaces transmits optical signals, and transmits CAN bus signals to the terminal control device via the fourth CAN communication interface.
进一步地,所述的热备冗余通信系统还包括:第一光模块、第一PYH/交换芯片、第一控制器、第一隔离芯片、第一CAN收发器、第一保护电路、第二隔离芯片、第二CAN收发器、第二保护电路;第二光模块、第二PYH/交换芯片、第二控制器、第三隔离芯片、第三CAN收发器、第三保护电路、第四隔离芯片、第四CAN收发器以及第四保护电路;所述第一光模块、第一PYH/交换芯片、第一控制器、第一隔离芯片、第一CAN收发器以及第一保护电路依次连接,所述第一光模块还连接所述第二光通信接口,所述第一保护电路还通过所述第一CAN通信接口直接连接第一CAN总线通信链路;所述第二隔离芯片、第二CAN收发器以及第二保护电路依次连接,所述第二隔离芯片还连接所述第一控制器,所述第二保护电路还通过所述第二CAN通信接口(B4)直接连接第一CAN总线通信链路;所述第二光模块、第二PYH/交换芯片、第二控制器、第三隔离芯片、第三CAN收发器以及第三保护电路依次连接,所述第二光模块还连接所述第四光通信接口,所述第三保护电路还通过所述第四CAN通信接口直接连接第一CAN总线通信链路;所述第四隔离芯片、第四CAN收发器以及第四保护电路依次连接,所述第四隔离芯片还连接所述第二控制器,所述第四保护电路还通过所述第三CAN通信接口直接连接第二CAN总线通信链路。Further, the hot standby redundant communication system further includes: a first optical module, a first PYH/switch chip, a first controller, a first isolation chip, a first CAN transceiver, a first protection circuit, a second Isolation chip, second CAN transceiver, second protection circuit; second optical module, second PYH/switch chip, second controller, third isolation chip, third CAN transceiver, third protection circuit, fourth isolation chip, the fourth CAN transceiver and the fourth protection circuit; the first optical module, the first PYH/switching chip, the first controller, the first isolation chip, the first CAN transceiver and the first protection circuit are connected in sequence, The first optical module is also connected to the second optical communication interface, and the first protection circuit is also directly connected to the first CAN bus communication link through the first CAN communication interface; the second isolation chip, the second The CAN transceiver and the second protection circuit are connected sequentially, the second isolation chip is also connected to the first controller, and the second protection circuit is also directly connected to the first CAN bus through the second CAN communication interface (B4) Communication link; the second optical module, the second PYH/switching chip, the second controller, the third isolation chip, the third CAN transceiver and the third protection circuit are connected in sequence, and the second optical module is also connected to the The fourth optical communication interface, the third protection circuit is also directly connected to the first CAN bus communication link through the fourth CAN communication interface; the fourth isolation chip, the fourth CAN transceiver and the fourth protection circuit in turn The fourth isolation chip is also connected to the second controller, and the fourth protection circuit is also directly connected to the second CAN bus communication link through the third CAN communication interface.
进一步地,所述终端控制设备包括MCU控制器、主隔离芯片、备隔离芯片、主CAN收发器、备CAN收发器、主保护电路以及备保护电路;主隔离芯片、主CAN收发器、以及主保护电路依次连接,所述主隔离芯片还与所述MCU控制器连接,所述主保护电路连接所述第一CAN总线通信链路;备隔离芯片、备CAN收发器以及备保护电路依次连接,所述备隔离芯片还与所述MCU控制器连接,所述备保护电路连接所述第二CAN总线通信链路。Further, the terminal control device includes an MCU controller, a main isolation chip, a backup isolation chip, a main CAN transceiver, a backup CAN transceiver, a main protection circuit and a backup protection circuit; the main isolation chip, the main CAN transceiver, and the main The protection circuit is connected sequentially, the main isolation chip is also connected with the MCU controller, the main protection circuit is connected to the first CAN bus communication link; the backup isolation chip, the backup CAN transceiver and the backup protection circuit are connected in sequence, The standby isolation chip is also connected to the MCU controller, and the standby protection circuit is connected to the second CAN bus communication link.
进一步地,所述终端控制设备的数量为多个,每一所述终端控制设备的MCU控制器对应连接一个机场灯具。Further, there are multiple terminal control devices, and the MCU controller of each terminal control device is correspondingly connected to one airport lamp.
另一方面,本发明还提供一种热备冗余方法,应用于所述的系统,所述方法包括:On the other hand, the present invention also provides a hot standby redundancy method, which is applied to the system, and the method includes:
在光纤主链路、CAN总线主链路以及CAN总线主链路的主接口均正常工作时,所述光纤主链路传送光信号,经由热备冗余通信装置进行光信号与电信号的转换,经由CAN总线主链路的主接口及电信号至CAN总线主链路传递电信号;所述热备冗余通信装置在所述光纤主链路出现故障时,切换至所述光纤备用链路传送光信号;并在所述CAN总线主链路出现故障时,切换至所述CAN总线备用链路传送CAN总线信号;以及在任一主接口出现故障时,切换至对应的备用接口传送CAN总线信号。When the optical fiber main link, the CAN bus main link and the main interface of the CAN bus main link are all working normally, the optical fiber main link transmits optical signals, and the conversion of optical signals and electrical signals is performed through the hot standby redundant communication device , transmitting electrical signals to the CAN bus main link via the main interface of the CAN bus main link and the electrical signal; when the optical fiber main link fails, the hot standby redundant communication device switches to the optical fiber backup link transmit optical signals; and when the main link of the CAN bus fails, switch to the backup link of the CAN bus to transmit the CAN bus signal; and when any main interface fails, switch to the corresponding standby interface to transmit the CAN bus signal .
进一步地,所述的热备冗余通信方法,还包括:所述热备冗余通信装置在所述第一光汇聚设备与第二光通信接口之间的通信链路出现故障时,切换至所述第二光汇聚设备(104)与第四光通信接口之间的通信链路传送光信号,并经由第一CAN通信接口传送CAN总线信号至所述终端控制设备。Further, the hot standby redundant communication method further includes: when the communication link between the first optical convergence device and the second optical communication interface fails, the hot standby redundant communication device switches to The communication link between the second optical convergence device (104) and the fourth optical communication interface transmits optical signals, and transmits CAN bus signals to the terminal control device via the first CAN communication interface.
进一步地,所述的热备冗余通信方法,还包括:所述热备冗余通信装置在所述第四光通信接口与终端控制设备之间的通信链路出现故障时,经由所述第一光汇聚设备与第二光通信接口之间的通信链路传送光信号,并经由所述第四CAN通信接口传送CAN总线信号至所述终端控制设备;以及,在所述第一光汇聚设备与终端控制设备之间的通信链路出现故障时,经由所述第二光汇聚设备与第四光通信接口之间的通信链路传送光信号,并经由所述第四CAN通信接口传送CAN总线信号至所述终端控制设备。Further, the hot standby redundant communication method further includes: when the communication link between the fourth optical communication interface and the terminal control device fails, the hot standby redundant communication device sends The communication link between an optical convergence device and the second optical communication interface transmits optical signals, and transmits CAN bus signals to the terminal control device via the fourth CAN communication interface; and, at the first optical convergence device When the communication link with the terminal control device fails, the optical signal is transmitted through the communication link between the second optical convergence device and the fourth optical communication interface, and the CAN bus signal is transmitted through the fourth CAN communication interface. signal to the terminal control device.
本发明热备冗余通信系统与方法,对远距离传输、大容量数据的主干通信,采用光纤通信技术;而对于近距离传输、小容量数据的分支通信,采用CAN(Controller AreaNetwork)通信技术,不仅具有基于光纤通信的单灯监控系统远距离传输的优点,同时使用CAN通信技术,可以将单灯监控单元上的光模块替换为CAN收发器,可降低单灯监控单元成本,将监控单元上的光纤防水尾缆替换为电缆接头,可以降低单灯监控单元防水复杂度,极大方便现场工人维护;还可实现单灯监控系统的通信链路的热备冗余,提高原有光纤通信链路的可靠性。The hot standby redundant communication system and method of the present invention adopts optical fiber communication technology for long-distance transmission and trunk communication of large-capacity data; and uses CAN (Controller AreaNetwork) communication technology for short-distance transmission and branch communication of small-capacity data, Not only has the advantages of long-distance transmission of the single-lamp monitoring system based on optical fiber communication, but also uses CAN communication technology to replace the optical module on the single-lamp monitoring unit with a CAN transceiver, which can reduce the cost of the single-lamp monitoring unit and integrate the monitoring unit The optical fiber waterproof pigtail cable is replaced by a cable connector, which can reduce the waterproof complexity of the single-lamp monitoring unit, which greatly facilitates the maintenance of on-site workers; it can also realize the hot standby redundancy of the communication link of the single-lamp monitoring system, and improve the original optical fiber communication link. road reliability.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort.
图1为根据本发明示例性第一实施例的热备冗余通信系统的结构示意图;FIG. 1 is a schematic structural diagram of a hot standby redundant communication system according to an exemplary first embodiment of the present invention;
图2为根据本发明示例性第二实施例的热备冗余通信系统中热备冗余通信装置的结构示意图;2 is a schematic structural diagram of a hot standby redundant communication device in a hot standby redundant communication system according to a second exemplary embodiment of the present invention;
图3为根据本发明示例性第三实施例的热备冗余通信系统中终端控制设备的结构示意图;3 is a schematic structural diagram of a terminal control device in a hot standby redundant communication system according to a third exemplary embodiment of the present invention;
图4为根据本发明示例性第四实施例的热备冗余通信方法的流程图;FIG. 4 is a flowchart of a hot standby redundant communication method according to an exemplary fourth embodiment of the present invention;
图5为根据本发明示例性第五实施例的热备冗余通信方法的流程图;5 is a flowchart of a hot standby redundant communication method according to an exemplary fifth embodiment of the present invention;
图6为根据本发明示例性第六实施例的热备冗余通信方法的流程图。Fig. 6 is a flowchart of a hot standby redundant communication method according to an exemplary sixth embodiment of the present invention.
具体实施方式Detailed ways
下面结合附图对本发明实施例进行详细描述。Embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.
需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合;并且,基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。It should be noted that, in the case of no conflict, the following embodiments and the features in the embodiments can be combined with each other; and, based on the embodiments in the present disclosure, those of ordinary skill in the art obtained without creative work All other embodiments belong to the protection scope of the present disclosure.
需要说明的是,下文描述在所附权利要求书的范围内的实施例的各种方面。应显而易见,本文中所描述的方面可体现于广泛多种形式中,且本文中所描述的任何特定结构及/或功能仅为说明性的。基于本公开,所属领域的技术人员应了解,本文中所描述的一个方面可与任何其它方面独立地实施,且可以各种方式组合这些方面中的两者或两者以上。举例来说,可使用本文中所阐述的任何数目个方面来实施设备及/或实践方法。另外,可使用除了本文中所阐述的方面中的一或多者之外的其它结构及/或功能性实施此设备及/或实践此方法。It is noted that the following describes various aspects of the embodiments that are within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is illustrative only. Based on the present disclosure one skilled in the art should appreciate that an aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, any number of the aspects set forth herein can be used to implement an apparatus and/or practice a method. In addition, such an apparatus may be implemented and/or such a method practiced using other structure and/or functionality than one or more of the aspects set forth herein.
如图1所示,本发明一种热备冗余通信系统中以终端控制设备为助航灯光领域的单灯监控单元为例进行解释说明,为便于理解还显示了多个灯具。需要说明书的是,本发明热备冗余通信系统也可以适用于其它类型的终端控制设备,不应做限定性理解。该热备冗余通信系统包括:网络交换设备(主)101、网络交换设备(备)102、光汇聚设备(主)103、光汇聚设备(备)104、热备冗余通信装置105、单灯监控单元(1)106、单灯监控单元(n)107、灯具(1)108以及灯具(n)109。As shown in FIG. 1 , a hot standby redundant communication system of the present invention is explained by taking the terminal control device as a single-light monitoring unit in the field of navigation lighting as an example, and multiple lamps are also shown for easy understanding. It should be noted that the hot standby redundant communication system of the present invention can also be applied to other types of terminal control devices, and should not be construed as limiting. The hot standby redundant communication system includes: network switching equipment (main) 101, network switching equipment (standby) 102, optical convergence equipment (main) 103, optical convergence equipment (standby) 104, hot standby redundant communication device 105, single A lamp monitoring unit (1) 106, a single lamp monitoring unit (n) 107, a lamp (1) 108 and a lamp (n) 109.
其中,网络交换设备(主)101的一端口与光汇聚设备(主)103通过以太网网线直连,另一端口与以太网交换设备(备)102相连。网络交换设备(主)101可以为工业交换机,用于主通信链路的数据转发交换,或网络交换设备(备)102的数据转发交换。网络交换设备(备)102的一端口与光汇聚设备(备)104通过以太网网线直连,另一端口与以太网交换设备(主)101相连,用于光数据和电数据的转换与转发,备通信链路的数据转发交换,或网络交换设备(主)101的数据转发交换,设计时可以选用工业级交换机。光汇聚设备(主)103通过以太网接口与网络交换设备(主)101相连,通过光通信接口A1与热备冗余通信装置105的光通信接口B1相连,用于主通信链路上的光信号和电信号转换,实现上层电数据与下层光数据的接收及转发,设计时可选用OLT(Optical Line Terminal,光线路终端设备)设备或光交换机。One port of the network switching device (main) 101 is directly connected to the optical aggregation device (main) 103 through an Ethernet network cable, and the other port is connected to the Ethernet switching device (standby) 102 . The network switching device (master) 101 can be an industrial switch, and is used for data forwarding and switching of the main communication link, or data forwarding and switching of the network switching device (standby) 102 . One port of the network switching device (standby) 102 is directly connected to the optical aggregation device (standby) 104 through an Ethernet network cable, and the other port is connected to the Ethernet switching device (main) 101 for conversion and forwarding of optical data and electrical data , the data forwarding and switching of the standby communication link, or the data forwarding and switching of the network switching device (master) 101, an industrial grade switch can be selected during design. The optical aggregation device (main) 103 is connected with the network switching device (main) 101 through the Ethernet interface, and connected with the optical communication interface B1 of the hot standby redundant communication device 105 through the optical communication interface A1, and is used for optical communication on the main communication link. Signal and electrical signal conversion, to realize the reception and forwarding of upper-layer electrical data and lower-layer optical data, OLT (Optical Line Terminal, optical line terminal equipment) equipment or optical switch can be selected during design.
光汇聚设备(备)104通过以太网端口与网交换设备(备)102相连,通过光通信接口A2与热备冗余通信装置105的光通信接口B2相连,用于备通信链路上的光信号和电信号转换,实现上层电数据与下层光数据的接收及转发,设计时可选用OLT设备或光交换机。热备冗余通信装置105用于光数据与CAN数据转换,并且提供热备冗余功能。当一侧主通信链路发生故障时,通过热备冗余通信装置切换至备用通信链路。各个单灯监控单元用于交互热备冗余通信装置105的数据,可实现对各自连接的灯具的监视和控制功能。The optical aggregation device (preparation) 104 is connected to the network switching device (preparation) 102 through the Ethernet port, and is connected to the optical communication interface B2 of the hot standby redundant communication device 105 through the optical communication interface A2, and is used for optical communication on the standby communication link. Signal and electrical signal conversion, realize the reception and forwarding of upper layer electrical data and lower layer optical data, OLT equipment or optical switch can be selected during design. The hot standby redundant communication device 105 is used for converting optical data and CAN data, and provides a hot standby redundant function. When the main communication link on one side fails, switch to the backup communication link through the hot standby redundant communication device. Each single lamp monitoring unit is used for exchanging the data of the hot standby redundant communication device 105, and can realize the monitoring and control functions of the respective connected lamps.
具体地,热备冗余通信装置105上端的B1光通信接口与主通信链路上的光汇聚设备103相连,上端的B2光通信接口与备通信链路的光汇聚设备(备)104相连,下端的B3CAN通信接口直连至CAN总线主通信链路上,B4CAN通信接口同样直连至CAN总线主通信链路上,用于CAN总线主通信链路上的数据传输,实现CAN总线主通信链路的CAN接口热备冗余,当B3CAN通信接口出现故障时,将自动切换至B4CAN通信接口上,继续进行数据传输;下端的B5CAN通信接口直连CAN总线备通信链路,B6CAN通信接口同样直连在CAN总线备通信链路上,用于CAN总线备通信链路的数据传输,实现CAN总线备用通信链路上CAN接口的热备冗余,当B5CAN通信接口出现故障时,自动切换至B6CAN通信接口。由此热备冗余通信装置现光数据与CAN数据的转换和单灯监控系统的通信链路热备冗余。单灯监控单元(1)106通过C1CAN通信接口与CAN总线主通信链路相连,通过C2CAN通信接口与CAN总线备通信链路相连,用于单灯监控单元(1)106接收和发送数据,实现对灯具的监视和控制,当C1CAN通信接口或CAN总线主通信链路出现故障时,可通过C2CAN通信接口实现灯具监视与控制。单灯监控单元(n)107与单灯监控单元(1)106具有相同的硬件结构,通过Cn+1CAN通信接口与CAN总线备通信链路相连,通过Cn+2CAN通信接口与CAN总线备通信链路相连,用于单灯监控单元(n)107接收和发送数据。当Cn+1CAN通信接口或CAN总线主通信链路出现故障时,可通过Cn+2CAN通信接口实现灯具监视与控制。各灯具可以通过二次电缆与对应的单灯监控单元直连,用于在夜间或低能见度条件下,为机场飞行区提供目视助航引导功能。Specifically, the B1 optical communication interface on the upper end of the hot standby redundant communication device 105 is connected to the optical aggregation device 103 on the main communication link, and the B2 optical communication interface on the upper end is connected to the optical aggregation device (standby) 104 on the standby communication link, The B3CAN communication interface at the lower end is directly connected to the CAN bus main communication link, and the B4CAN communication interface is also directly connected to the CAN bus main communication link for data transmission on the CAN bus main communication link to realize the CAN bus main communication link The CAN interface of the road is hot standby redundant. When the B3CAN communication interface fails, it will automatically switch to the B4CAN communication interface to continue data transmission; the B5CAN communication interface at the lower end is directly connected to the CAN bus standby communication link, and the B6CAN communication interface is also directly Connected to the CAN bus standby communication link, used for data transmission of the CAN bus standby communication link, realizing the hot standby redundancy of the CAN interface on the CAN bus standby communication link, when the B5CAN communication interface fails, it will automatically switch to the B6CAN Communication Interface. Thus, the hot standby redundant communication device realizes the conversion of light data and CAN data and the hot standby redundancy of the communication link of the single lamp monitoring system. The single lamp monitoring unit (1) 106 is connected to the CAN bus main communication link through the C1CAN communication interface, and is connected to the CAN bus standby communication link through the C2CAN communication interface, and is used for the single lamp monitoring unit (1) 106 to receive and send data, to realize For the monitoring and control of lamps, when the C1CAN communication interface or the CAN bus main communication link fails, the monitoring and control of lamps can be realized through the C2CAN communication interface. The single-lamp monitoring unit (n) 107 has the same hardware structure as the single-lamp monitoring unit (1) 106, and is connected to the CAN bus standby communication link through the Cn+1CAN communication interface, and is connected to the CAN bus standby communication link through the Cn+2CAN communication interface connected to the road for the single lamp monitoring unit (n) 107 to receive and send data. When the Cn+1CAN communication interface or CAN bus main communication link fails, the monitoring and control of lamps can be realized through the Cn+2CAN communication interface. Each lamp can be directly connected to the corresponding single lamp monitoring unit through a secondary cable, and is used to provide visual navigation aid function for the airport flight area at night or in low visibility conditions.
本实施例对远距离传输、大容量数据的主干通信,采用光纤通信技术;而对于近距离传输、小容量数据的分支通信,采用CAN通信技术,不仅具有基于光纤通信的单灯监控系统远距离传输的优点,同时使用CAN通信技术,可以将单灯监控单元上的光模块替换为CAN收发器,可降低单灯监控单元成本,将监控单元上的光纤防水尾缆替换为电缆接头,可以降低单灯监控单元防水复杂度,极大方便现场工人维护;还可实现单灯监控系统的通信链路的热备冗余,提高原有光纤通信链路的可靠性。This embodiment adopts optical fiber communication technology for long-distance transmission and trunk communication of large-capacity data; for short-distance transmission and branch communication of small-capacity data, CAN communication technology is used, which not only has a long-distance single-lamp monitoring system based on optical fiber communication The advantages of transmission, while using CAN communication technology, can replace the optical module on the single-light monitoring unit with a CAN transceiver, which can reduce the cost of the single-light monitoring unit, and replace the optical fiber waterproof tail cable on the monitoring unit with a cable connector, which can reduce The single-light monitoring unit is waterproof and complex, which greatly facilitates the maintenance of on-site workers; it can also realize the hot backup redundancy of the communication link of the single-light monitoring system, and improve the reliability of the original optical fiber communication link.
图2提供了本发明示例性第二实施例的热备冗余通信系统中热备冗余通信装置的结构示意图,如图2所示,热备冗余通信装置包括:光模块(主)200、PYH/交换芯片(主)202(PHY,即Physical,端口物理层)、MCU1控制器(主)204、隔离芯片A1(主)206、CAN收发器A1(主)207、保护电路A1(主)208、隔离芯片A2(备)209、CAN收发器A2(备)210、保护电路A2(备)211;光模块(备)201、PYH/交换芯片(备)203、MCU2控制器(备)205、隔离芯片B1(主)212、CAN收发器B1(主)213、保护电路B1(主)214、隔离芯片B2(备)215、CAN收发器B2(备)216以及保护电路B2(备)217。FIG. 2 provides a schematic structural view of a hot standby redundant communication device in a hot standby redundant communication system according to an exemplary second embodiment of the present invention. As shown in FIG. 2 , the hot standby redundant communication device includes: an optical module (main) 200 , PYH/switch chip (main) 202 (PHY, namely Physical, port physical layer), MCU1 controller (main) 204, isolation chip A1 (main) 206, CAN transceiver A1 (main) 207, protection circuit A1 (main) ) 208, isolation chip A2 (preparation) 209, CAN transceiver A2 (preparation) 210, protection circuit A2 (preparation) 211; optical module (preparation) 201, PYH/switching chip (preparation) 203, MCU2 controller (preparation) 205, isolation chip B1 (main) 212, CAN transceiver B1 (main) 213, protection circuit B1 (main) 214, isolation chip B2 (backup) 215, CAN transceiver B2 (backup) 216 and protection circuit B2 (backup) 217.
其中,光模块(主)200一端通过光纤直连光汇聚设备(主)103,另一端通过电口直连PHY/交换芯片(主)202,用于光信号与电信号的转换,实现在主通信链路上主干数据的远距离传输,设计时可以选用单模通信的光模块。光模块(备)201一端通过光纤直连光纤直连光汇聚设备(备)104,另一端通过电口直连PHY/交换芯片(备)203,用于光信号与电信号的转换,实现在备通信链路上主干数据的远距离传输,设计时可以选用单模通信的光模块。PHY/交换芯片(主)202一侧的模拟接口连接光模块(主)200,另一侧数字接口MII或RMII接口连接MCU1控制器(主)204,用于数字信号与模拟信号的转换,实现物理层与数据链路层间的数据交换,设计时可以选用PYH芯片或交换芯片。所述PHY/交换芯片(备)203一侧的模拟接口连接光模块(备)201,另一侧数字接口MII或RMII接口连接MCU1控制器(主)205,用于数字信号与模拟信号的转换,实现物理层与数据链路层间的数据交换,设计时可以选用PYH芯片或交换芯片。MCU1控制器(主)204可以为嵌入式芯片,该芯片可以具有网络接口、CAN接口、UART接口和SPI接口等,用于上端和下端数据的转换,实现主通信链路的数据传输,与备通信链路交互数据。Among them, one end of the optical module (main) 200 is directly connected to the optical aggregation device (main) 103 through an optical fiber, and the other end is directly connected to the PHY/switch chip (main) 202 through an electrical port, which is used for the conversion of optical signals and electrical signals. For the long-distance transmission of backbone data on the communication link, the optical module of single-mode communication can be selected during design. One end of the optical module (preparation) 201 is directly connected to the optical convergence device (preparation) 104 through the optical fiber, and the other end is directly connected to the PHY/switching chip (preparation) 203 through the electrical port, which is used for the conversion of optical signals and electrical signals. For the long-distance transmission of backbone data on the standby communication link, the optical module of single-mode communication can be selected during design. The analog interface on one side of the PHY/switching chip (main) 202 is connected to the optical module (main) 200, and the digital interface MII or RMII interface on the other side is connected to the MCU1 controller (main) 204 for the conversion of digital signals and analog signals to realize For data exchange between the physical layer and the data link layer, PYH chips or switching chips can be selected during design. The analog interface on one side of the PHY/switching chip (preparation) 203 is connected to the optical module (preparation) 201, and the digital interface MII or RMII interface on the other side is connected to the MCU1 controller (main) 205 for conversion of digital signals and analog signals To realize the data exchange between the physical layer and the data link layer, the PYH chip or the switching chip can be selected during design. MCU1 controller (main) 204 can be embedded chip, and this chip can have network interface, CAN interface, UART interface and SPI interface etc., is used for the conversion of upper end and lower end data, realizes the data transmission of main communication link, and backup The communication link exchanges data.
所述MCU1控制器(主)204的RMII/MII接口与PHY/交换芯片(主)202相连,CAN1接口与隔离芯片A1(主)206相连,CAN2接口与隔离芯片A2(备)209相连,SPI和UART接口与MCU2控制器(备)205相连,用于上层网络数据的接收与转发,同时用于下层CAN通信数据的接收与转发,实现网络数据与CAN数据转换,利用UART和SPI接口交互数据,可获取MCU2控制器(备)的运行状态,实现通信链路的热备冗余。The RMII/MII interface of the MCU1 controller (main) 204 is connected with the PHY/switching chip (main) 202, the CAN1 interface is connected with the isolation chip A1 (main) 206, the CAN2 interface is connected with the isolation chip A2 (preparation) 209, and the SPI It is connected with UART interface and MCU2 controller (backup) 205, used for receiving and forwarding of upper layer network data, and simultaneously used for receiving and forwarding of lower layer CAN communication data, realizing network data and CAN data conversion, using UART and SPI interface to exchange data , can obtain the running state of the MCU2 controller (standby), and realize the hot standby redundancy of the communication link.
所述MCU2控制器(备)205的RMII/MII接口与PHY/交换芯片(备)203相连,CAN1接口与隔离芯片B1(主)212相连,CAN2接口与隔离芯片B2(备)215相连,SPI和UART接口与MCU1控制器(主)204相连,用于上层网络数据的接收与转发,同时用于下层CAN通信数据的接收与转发,实现网络数据与CAN数据转换,利用UART和SPI接口交互数据,可交互MCU1控制器(主)的运行状态,实现通信链路的热备冗余,设计时可以选用带CAN、UART、SPI和RMII/MII接口的嵌入式芯片。The RMII/MII interface of the MCU2 controller (preparation) 205 is connected with the PHY/exchange chip (preparation) 203, the CAN1 interface is connected with the isolation chip B1 (main) 212, the CAN2 interface is connected with the isolation chip B2 (preparation) 215, and the SPI It is connected with UART interface and MCU1 controller (main) 204, used for receiving and forwarding of upper layer network data, and simultaneously used for receiving and forwarding of lower layer CAN communication data, realizes network data and CAN data conversion, and uses UART and SPI interface to exchange data , can interact with the running status of the MCU1 controller (master), and realize the hot backup redundancy of the communication link. The embedded chip with CAN, UART, SPI and RMII/MII interfaces can be selected during design.
所述隔离芯片A1(主)206一端口与MCU1控制器(主)204相连,另一端口与CAN收发器A1(主)207相连,可实现MCU1控制器(主)204与CAN收发器A1(主)207间的数字隔离,设计时可以选用数字隔开芯片。所述隔离芯片A2(备)209一端口与MCU1控制器(主)204相连,另一端口与CAN收发器A1(主)209相连,可实现MCU1控制器(主)204与CAN收发器A2(备)209间的数字隔离,设计时可以选用数字隔离芯片。One port of the isolation chip A1 (main) 206 is connected with the MCU1 controller (main) 204, and the other port is connected with the CAN transceiver A1 (main) 207, which can realize the MCU1 controller (main) 204 and the CAN transceiver A1 ( Main) Digital isolation between 207, digital isolation chip can be selected during design. One port of the isolation chip A2 (preparation) 209 is connected with the MCU1 controller (main) 204, and the other port is connected with the CAN transceiver A1 (main) 209, which can realize the MCU1 controller (main) 204 and the CAN transceiver A2 ( For digital isolation between 209, digital isolation chips can be selected during design.
CAN收发器A1(主)207可以为CAN通信芯片,所述CAN1收发器A1(主)207数字端口与隔离芯片A1(主)206相连,模拟端口与保护电路A1(主)208相连,用于CAN信号的模数转换,实现CAN通信数据传输。所述CAN2收发器A2(备)210数字端口与隔离芯片A2(备)209相连,模拟端口与保护电路A2(备)211相连,用于CAN信号的模拟转换,实现CAN通信数据传输。The CAN transceiver A1 (main) 207 can be a CAN communication chip, the digital port of the CAN1 transceiver A1 (main) 207 is connected with the isolation chip A1 (main) 206, and the analog port is connected with the protection circuit A1 (main) 208 for The analog-to-digital conversion of CAN signal realizes CAN communication data transmission. The digital port of the CAN2 transceiver A2 (preparation) 210 is connected with the isolation chip A2 (preparation) 209, and the analog port is connected with the protection circuit A2 (preparation) 211, which is used for analog conversion of CAN signals and realizes CAN communication data transmission.
所述保护电路A1(主)208与CAN收发器A1(主)207相连,用于保护CAN通信接口,保证CAN数据的稳定可靠传输,设计时可以选用TVS管、亚敏电阻、气体防雷管等器件。所述保护电路A2(备)211与CAN收发器A2(备)210相连,用于保护CAN通信接口,保证CAN数据的稳定可靠传输,设计时选用TVS管、亚敏电阻、气体防雷管等器件。所述隔离芯片B1(主)212一端口与MCU2控制器(备)205相连,另一端口与CAN收发器B1(主)213相连,可实现MCU2控制器(备)205与CAN收发器A1(主)213间的数字隔离,设计时选用数字隔开芯片。所述隔离芯片B2(备)215一端口与MCU2控制器(备)205相连,另一端口与CAN收发器B2(备)216相连,可实现MCU2控制器(备)205与CAN收发器A2(备)216间的数字隔离,设计时可以选用数字隔离芯片。所述CAN1收发器B1(主)213数字端口与隔离芯片B1(主)212相连,模拟端口与保护电路B1(主)214相连,用于CAN信号的模数转换,实现CAN通信数据传输。所述CAN2收发器B2(备)216数字端口与隔离芯片B2(备)209相连,模拟端口与保护电路B2(备)217相连,用于CAN信号的模拟转换,实现CAN通信数据传输。所述保护电路B1(主)214与CAN收发器B1(主)213相连,用于保护CAN通信接口,实现CAN数据的稳定可靠传输,设计时选用TVS管、亚敏电阻、气体防雷管等器件。所述保护电路B2(备)217与CAN收发器B2(备)216相连,用于保护CAN通信接口,实现CAN数据的稳定可靠传输,设计时选用TVS管、亚敏电阻、气体防雷管等器件。The protection circuit A1 (main) 208 is connected with the CAN transceiver A1 (main) 207 to protect the CAN communication interface and ensure the stable and reliable transmission of CAN data. TVS tubes, sub-sensitive resistors, and gas detonator can be selected during design and other devices. The protection circuit A2 (preparation) 211 is connected to the CAN transceiver A2 (preparation) 210 to protect the CAN communication interface and ensure the stable and reliable transmission of CAN data. TVS tubes, sub-sensitive resistors, gas detonator tubes, etc. are selected during design device. One port of the isolation chip B1 (main) 212 is connected with the MCU2 controller (preparation) 205, and the other port is connected with the CAN transceiver B1 (main) 213, which can realize the MCU2 controller (preparation) 205 and the CAN transceiver A1 ( Main) Digital isolation between 213, the digital isolation chip is selected during design. One port of the isolation chip B2 (preparation) 215 is connected with the MCU2 controller (preparation) 205, and the other port is connected with the CAN transceiver B2 (preparation) 216, which can realize the MCU2 controller (preparation) 205 and the CAN transceiver A2 ( For digital isolation between 216, digital isolation chips can be selected during design. The digital port of the CAN1 transceiver B1 (main) 213 is connected to the isolation chip B1 (main) 212, and the analog port is connected to the protection circuit B1 (main) 214, which is used for analog-to-digital conversion of CAN signals and realizes CAN communication data transmission. The digital port of the CAN2 transceiver B2 (preparation) 216 is connected with the isolation chip B2 (preparation) 209, and the analog port is connected with the protection circuit B2 (preparation) 217, which is used for analog conversion of CAN signals and realizes CAN communication data transmission. The protection circuit B1 (main) 214 is connected with the CAN transceiver B1 (main) 213 to protect the CAN communication interface and realize the stable and reliable transmission of CAN data. TVS tubes, sub-sensitive resistors, gas detonator tubes, etc. are selected during design device. The protection circuit B2 (preparation) 217 is connected with the CAN transceiver B2 (preparation) 216, which is used to protect the CAN communication interface and realize the stable and reliable transmission of CAN data. TVS tubes, sub-sensitive resistors, gas detonator tubes, etc. are selected during design device.
如图3所示,本发明示例性第三实施例的热备冗余通信系统中终端控制设备的结构示意图,本实施例以单灯监控单元为例进行解释说明。所述单灯监控单元(1)106与单灯监控单元(n)具有相同硬件结构和软件结构。单灯监控单元包括:MCU控制器300、隔离芯片(主)301、隔离芯片(备)302、CAN收发器(主)303、CAN收发器(备)304、保护电路(主)305以及保护电路(备)306。各单灯监控单元通过CAN1接口直连CAN总线主通信链路,通过CAN2接口直连CAN总线备通信链路,实现单灯监控单元监视与控制功能。As shown in FIG. 3 , it is a schematic structural diagram of a terminal control device in a hot standby redundant communication system according to an exemplary third embodiment of the present invention. This embodiment takes a single lamp monitoring unit as an example for explanation. The single-lamp monitoring unit (1) 106 has the same hardware structure and software structure as the single-lamp monitoring unit (n). The single lamp monitoring unit includes: MCU controller 300, isolation chip (main) 301, isolation chip (backup) 302, CAN transceiver (main) 303, CAN transceiver (backup) 304, protection circuit (main) 305 and protection circuit (preparation) 306. Each single-lamp monitoring unit is directly connected to the CAN bus main communication link through the CAN1 interface, and directly connected to the CAN bus standby communication link through the CAN2 interface, so as to realize the monitoring and control function of the single-lamp monitoring unit.
具体地,所述MCU控制器300通过CAN1接口直连隔离芯片(主)301,用于接收和转发CAN数据,实现与热备冗余通信装置交互数据,同时实现助航灯具的监视与控制,设计时选用带CAN通信接口的嵌入式芯片。隔离芯片(主)301可以为数字隔离芯片,一端与MCU控制器300相连,另一端与CAN收发器(主)303相连,用于隔离MCU控制器300与CAN收发器(主)303间的信号隔离。隔离芯片(备)302可以为数字隔离芯片,一端与MCU控制器300相连,另一端与CAN收发器(备)304相连,用于隔离MCU控制器300与CAN收发器(备)304间的信号隔离。CAN收发器(主)303可以为CAN通信芯片,用于CAN总线数据收发;CAN收发器(备)304可以为CAN通信芯片,用于CAN总线数据收发。Specifically, the MCU controller 300 is directly connected to the isolation chip (master) 301 through the CAN1 interface, and is used to receive and forward CAN data, realize data exchange with the hot standby redundant communication device, and simultaneously realize the monitoring and control of the navigation aid lamps, The embedded chip with CAN communication interface is selected during design. The isolation chip (main) 301 can be a digital isolation chip, one end is connected with the MCU controller 300, and the other end is connected with the CAN transceiver (main) 303, for isolating the signal between the MCU controller 300 and the CAN transceiver (main) 303 isolation. The isolation chip (preparation) 302 can be a digital isolation chip, one end is connected with the MCU controller 300, and the other end is connected with the CAN transceiver (preparation) 304, for isolating the signal between the MCU controller 300 and the CAN transceiver (preparation) 304 isolation. The CAN transceiver (main) 303 may be a CAN communication chip for transmitting and receiving CAN bus data; the CAN transceiver (standby) 304 may be a CAN communication chip for transmitting and receiving CAN bus data.
具体地,所述保护电路(主)305内侧与CAN收发器(主)303相连,外侧连接CAN总线主通信链路,用于CAN通信接口保护,实现CAN总线数据的稳定可靠传输,设计时选用TVS管、亚敏电阻、气体防雷管等器件。所述保护电路(备)306内侧与CAN收发器(备)304相连,外侧连接CAN总线备通信链路,用于CAN通信接口保护,实现CAN总线数据的稳定可靠传输,设计时选用TVS管、亚敏电阻、气体防雷管等器件;Specifically, the inner side of the protection circuit (main) 305 is connected to the CAN transceiver (main) 303, and the outer side is connected to the CAN bus main communication link, which is used for CAN communication interface protection and realizes stable and reliable transmission of CAN bus data. TVS tube, subsensitizer, gas detonator and other devices. The inside of the protection circuit (preparation) 306 is connected to the CAN transceiver (preparation) 304, and the outside is connected to the CAN bus communication link, which is used for CAN communication interface protection and realizes the stable and reliable transmission of CAN bus data. When designing, TVS tubes, Subsensitizer, gas detonator and other devices;
各单灯监控单元用于交互热备冗余通信装置的数据,可实现对应灯具的监视和控制功能,各灯具可以是助航灯具,用于在夜间或低能见度条件下,为机场飞行区提供目视助航引导功能。具体操作时,各灯具可以通过二次缆直连对应单灯监控单元。Each single lamp monitoring unit is used to exchange the data of the hot standby redundant communication device, which can realize the monitoring and control functions of the corresponding lamps. Each lamp can be a navigation aid lamp, which is used to provide a Visual navigation aid function. In specific operation, each lamp can be directly connected to the corresponding single lamp monitoring unit through the secondary cable.
图4所示为本发明示例性第四实施例的热备冗余通信方法的流程图,该方法具体应用在图1-图3所示的热备冗余通信系统中,图1-图3的解释说明可以应用于本实施例。如图4所示,该方法包括:FIG. 4 is a flow chart of a hot standby redundant communication method according to an exemplary fourth embodiment of the present invention. The method is specifically applied in the hot standby redundant communication system shown in FIG. 1-FIG. 3, FIG. 1-FIG. 3 The explanations of can be applied to this embodiment. As shown in Figure 4, the method includes:
步骤401,在光纤主链路、CAN总线主链路以及CAN总线主链路的主接口均正常工作时,所述光纤主链路传送光信号,经由热备冗余通信装置(105)进行光信号与电信号的转换,经由CAN总线主链路的主接口及电信号至CAN总线主链路传递电信号;Step 401, when the main interface of the optical fiber main link, the CAN bus main link and the CAN bus main link all work normally, the optical fiber main link transmits an optical signal, and the optical signal is transmitted via the hot standby redundant communication device (105). The conversion of signals and electrical signals, through the main interface of the CAN bus main link and the electrical signal to the CAN bus main link to transmit the electrical signal;
步骤402,所述热备冗余通信装置(105)在所述光纤主链路出现故障时,切换至所述光纤备用链路传送光信号;并在所述CAN总线主链路出现故障时,切换至所述CAN总线备用链路传送CAN总线信号;以及在任一主接口出现故障时,切换至对应的备用接口传送CAN总线信号。Step 402, the hot standby redundant communication device (105) switches to the optical fiber backup link to transmit optical signals when the main optical fiber link fails; and when the CAN bus main link fails, Switching to the CAN bus backup link to transmit the CAN bus signal; and switching to the corresponding backup interface to transmit the CAN bus signal when any main interface fails.
本实施例应用于基于光纤结合CAN通信的热备冗余通信系统,不仅采用光纤通信技术,而且采用CAN总线通信技术,该热备冗余通信系统可以应用于单灯监控单元,通过CAN通信链路连接单灯监控单元以实现光纤尾缆接头替换CAN通信双绞线电缆接头,可降低防水难度,同时减少系统光模块和光纤尾缆接头使用量,降低系统成本,通过本实施例中热备冗余通信装置的执行流程实现系统通信链路的热备冗余,比如在助航灯光的单灯监控系统中,通过实现单灯监控系统通信链路的热备冗余,保证数据传输的高稳定性和高可靠性。This embodiment is applied to a hot standby redundant communication system based on optical fiber combined with CAN communication, not only adopts optical fiber communication technology, but also adopts CAN bus communication technology, the hot standby redundant communication system can be applied to a single lamp monitoring unit, through CAN communication chain Connect the single-light monitoring unit to realize the replacement of CAN communication twisted-pair cable connectors with optical fiber tail cable connectors, which can reduce the difficulty of waterproofing, reduce the use of system optical modules and optical fiber tail cable connectors, and reduce system costs. Through hot standby in this embodiment The execution process of the redundant communication device realizes the hot standby redundancy of the communication link of the system. stability and high reliability.
如图5所示,本发明示例性第五实施例的热备冗余通信方法的流程图,该方法主要用于解释正常启动时的控制方法,具体包括:As shown in FIG. 5, the flow chart of the hot standby redundant communication method of the exemplary fifth embodiment of the present invention is mainly used to explain the control method during normal startup, and specifically includes:
S10:热备冗余通信系统启动,进入自检及状态上报;S10: The hot standby redundant communication system is started, and enters self-inspection and status reporting;
S11:正常启动时,进入正常状态,默认通信数据链路:A1–B1-①-B3–C1-……-Cn+1;S11: When starting normally, enter the normal state, the default communication data link: A1–B1-①-B3–C1-……-Cn+1;
S12:如果正常运行过程中,检测出A1–B1部分通信链路异常,则进入异常状态,自动通信数据链路至:A2–B2-③-B3–C1-……-Cn+1;S12: If an abnormality is detected in part of the communication link A1–B1 during normal operation, it will enter the abnormal state and automatically communicate the data link to: A2–B2-③-B3–C1-……-Cn+1;
S13:如果正常运行过程中,检测出B2–Cn+1部分通信链路异常,则进入异常状态,自动通信数据链路至:A1–B1-④-B4–C2-……-Cn+2;S13: If an abnormality is detected in part of the communication link B2–Cn+1 during normal operation, it will enter into an abnormal state, and automatically communicate the data link to: A1–B1-④-B4–C2-……-Cn+2;
S14:如果正常运行过程中,检测出A1–Cn+1部分通信链路异常,则进入异常状态,自动通信数据链路至:A1–B1-④-B4–C2-……-Cn+2;S14: If an abnormality is detected in part of the communication link A1–Cn+1 during normal operation, it will enter the abnormal state, and automatically communicate the data link to: A1–B1-④-B4–C2-……-Cn+2;
S15:上报S13、S14、S15中的异常状态后,系统自动通过冗余备份链路转发数据,等待异常链路恢复正常,将自动切换回默认通信链路,并重新进入正常状态S11。S15: After reporting the abnormal state in S13, S14, and S15, the system automatically forwards data through the redundant backup link, waits for the abnormal link to return to normal, then automatically switches back to the default communication link, and re-enters the normal state S11.
本实施例基于采用光纤通信技术和CAN通信技术的热备冗余通信系统,可减少光模块和光纤尾缆接头的使用量,进而降低成本;将光纤尾缆接头更换为电缆接头,提高单灯监控单元的防水能力;当主通信链路发生故障,系统将自动通过备用通信链路实现数据交互,待主通信链路正常建立连接后,将传输数据的通信链路更换为主通信链路,建立通信系统的主备通信链路,实现通信系统的热备冗余。This embodiment is based on a hot standby redundant communication system using optical fiber communication technology and CAN communication technology, which can reduce the usage of optical modules and optical fiber tail cable connectors, thereby reducing costs; the optical fiber tail cable connectors are replaced with cable connectors to improve the performance of single lamps. The waterproof ability of the monitoring unit; when the main communication link fails, the system will automatically realize data interaction through the backup communication link. The active and standby communication links of the communication system realize the hot standby redundancy of the communication system.
如图6所示,本发明示例性第六实施例的热备冗余通信方法的流程图,该方法主要用于解释异常启动时的控制方法,具体包括:As shown in FIG. 6, the flow chart of the hot standby redundant communication method according to the exemplary sixth embodiment of the present invention is mainly used to explain the control method during abnormal startup, and specifically includes:
S0:热备冗余通信系统启动,进入自检及状态上报;S0: The hot standby redundant communication system starts, enters self-check and status report;
S1:如果自检过程中,检测出A1–B1部分通信链路异常情况,进入异常状态,自动切换通信数据链路至:A2–B2-③-B3–C1-……-Cn+1;S1: If during the self-inspection process, some abnormalities in the communication links of A1–B1 are detected, it enters the abnormal state, and the communication data link is automatically switched to: A2–B2-③-B3–C1-……-Cn+1;
S2:如果自检过程中,检测出B2–Cn+1部分通信链路异常情况,进入异常状态,自动切换通信数据链路至:A1–B1-④-B4–C2-……-Cn+2;S2: If during the self-inspection process, an abnormal condition of the communication link of B2–Cn+1 is detected, it enters the abnormal state, and the communication data link is automatically switched to: A1–B1-④-B4–C2-……-Cn+2 ;
S3:如果自检过程中,检测出现A1-Cn+1部分通信链路异常情况,进入异常状态,自动切换通信数据链路至:A2–B2-②-B4–C2-……-Cn+2;S3: If during the self-inspection process, some abnormalities in the communication link of A1-Cn+1 are detected, enter the abnormal state, and automatically switch the communication data link to: A2–B2-②-B4–C2-……-Cn+2 ;
S4:上报步骤S1、S2、S3异常状态,系统自动通过冗余备份链路转发数据;S4: Report the abnormal status of steps S1, S2, and S3, and the system automatically forwards data through redundant backup links;
S5:异常通信链路恢复正常后,进入正常状态,默认通信数据链路:A1–B1-①-B3–C1-……-Cn+1,如果正常运行过程中,检测到部分通信链路异常,自动根据异常点判断异常状态,进入步骤S1、S2、S3异常状态。S5: After the abnormal communication link returns to normal, enter the normal state, the default communication data link: A1–B1-①-B3–C1-……-Cn+1, if some communication links are detected to be abnormal during normal operation , automatically judge the abnormal state according to the abnormal point, and enter the abnormal state in steps S1, S2, S3.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. All should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010580683.8A CN111654359B (en) | 2020-06-23 | 2020-06-23 | Hot standby redundant communication system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010580683.8A CN111654359B (en) | 2020-06-23 | 2020-06-23 | Hot standby redundant communication system and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111654359A CN111654359A (en) | 2020-09-11 |
CN111654359B true CN111654359B (en) | 2023-08-11 |
Family
ID=72348771
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010580683.8A Active CN111654359B (en) | 2020-06-23 | 2020-06-23 | Hot standby redundant communication system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111654359B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114501172B (en) * | 2020-11-11 | 2024-07-23 | 荣群电讯股份有限公司 | Carrier-grade network switches |
CN113050475A (en) * | 2021-02-24 | 2021-06-29 | 北京航空航天大学 | CAN and 1553b dual-redundancy architecture design method based on VPX |
CN115378754B (en) * | 2021-05-21 | 2025-01-21 | 深圳引望智能技术有限公司 | CAN communication redundancy method and communication device |
CN114375086A (en) * | 2022-01-19 | 2022-04-19 | 中津沛科建设股份有限公司 | Single-lamp wireless control system and control method based on NB-IoT network |
CN115022159A (en) * | 2022-06-27 | 2022-09-06 | 汉中一零一航空电子设备有限公司 | Control equipment main controller redundancy backup system and method |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201752117U (en) * | 2010-07-06 | 2011-02-23 | 武汉智德通信科技有限公司 | Optical fiber link redundancy protection Ethernet switch |
CN106533811A (en) * | 2016-12-30 | 2017-03-22 | 中国电子科技集团公司第三十四研究所 | SDH (Synchronous Digital Hierarchy) based redundant communication system and redundancy protection method thereof |
CN110380916A (en) * | 2019-08-26 | 2019-10-25 | 上海航天测控通信研究所 | The Ethernet crossing redundancy standby system and method adaptively switched |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20190215386A1 (en) * | 2018-01-09 | 2019-07-11 | Honeywell International Inc. | Low cost, high bandwidth redundant communication network |
-
2020
- 2020-06-23 CN CN202010580683.8A patent/CN111654359B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201752117U (en) * | 2010-07-06 | 2011-02-23 | 武汉智德通信科技有限公司 | Optical fiber link redundancy protection Ethernet switch |
CN106533811A (en) * | 2016-12-30 | 2017-03-22 | 中国电子科技集团公司第三十四研究所 | SDH (Synchronous Digital Hierarchy) based redundant communication system and redundancy protection method thereof |
CN110380916A (en) * | 2019-08-26 | 2019-10-25 | 上海航天测控通信研究所 | The Ethernet crossing redundancy standby system and method adaptively switched |
Also Published As
Publication number | Publication date |
---|---|
CN111654359A (en) | 2020-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111654359B (en) | Hot standby redundant communication system and method | |
CN106850371B (en) | A kind of bus-type FC-AE-1553 network system and data are sent and acquisition method | |
CN102075247A (en) | High-speed optical fiber bus and realization method for redundance topological structure thereof | |
CN110445533A (en) | A kind of dual redundant fiber optic Ethernet Transmission system | |
CN212343790U (en) | Hot Standby Redundant Communication System for Airport Lighting Control System | |
CN103812710A (en) | Communication terminal special for power communication | |
CN108418904B (en) | Ethernet communication control device and fully-mechanized mining face communication network | |
CN107846246B (en) | Networking system of optical fiber repeater and synchronization method thereof | |
CN104333205B (en) | A kind of converter valve level control device for flexible AC transmission | |
CN106656265B (en) | Mixed media communication network and uninterrupted communication method | |
CN106375010A (en) | Apparatus for controlling CAN bus of optical fiber local area network and application thereof | |
WO2019153333A1 (en) | Pon-can bus architecture and robot system | |
CN112260760A (en) | Nuclear power plant distributed control system field bus system based on optical loop | |
CN202395802U (en) | A Scalable Topology Structure of Launch Vehicle Ground Measurement and Control Network | |
CN210469324U (en) | Optical fiber ring network industrial control system | |
KR100644285B1 (en) | Line redundancy device of industrial supervisory control device | |
CN104753598A (en) | Communication method for passive beam splitting RS-485 optical fiber bus | |
CN207304589U (en) | Aerospace vehicle communication system based on plastic optical fiber CAN bus | |
CN206349994U (en) | A kind of power distribution communication net blending agent gateway and ring-type communication network | |
CN116112318B (en) | Electric power edge computing gateway of multi-core architecture and electric power tunnel system | |
CN102281169A (en) | Cable tunnel monitoring link method based on photoelectric composite cable and monitoring system thereof | |
CN110311727A (en) | Bypass function circuit and control method for supporting system start-up process, failure and crash | |
CN106100954A (en) | A kind of APS redundancy approach based on SpaceWire bus | |
CN216490537U (en) | Communication line connecting structure for each electric fire-fighting subsystem in factory | |
CN208257860U (en) | Ethernet communication control device and fully-mechanized mining working communication network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |