CN116224877A - Remote terminal for bus adaptation, bus adaptation system and method - Google Patents

Remote terminal for bus adaptation, bus adaptation system and method Download PDF

Info

Publication number
CN116224877A
CN116224877A CN202310241834.0A CN202310241834A CN116224877A CN 116224877 A CN116224877 A CN 116224877A CN 202310241834 A CN202310241834 A CN 202310241834A CN 116224877 A CN116224877 A CN 116224877A
Authority
CN
China
Prior art keywords
bus
slave
relay
master
pole multi
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.)
Granted
Application number
CN202310241834.0A
Other languages
Chinese (zh)
Other versions
CN116224877B (en
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.)
Technology and Engineering Center for Space Utilization of CAS
Original Assignee
Technology and Engineering Center for Space Utilization of CAS
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 Technology and Engineering Center for Space Utilization of CAS filed Critical Technology and Engineering Center for Space Utilization of CAS
Priority to CN202310241834.0A priority Critical patent/CN116224877B/en
Publication of CN116224877A publication Critical patent/CN116224877A/en
Application granted granted Critical
Publication of CN116224877B publication Critical patent/CN116224877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Communication Control (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明公开了一种用于总线自适应的远程终端、总线自适应系统及方法。远程终端包括主处理器、协议转换芯片、主从变压器、主从单刀多掷继电器和OC门芯片;主处理器分别与协议转换芯片和OC门芯片连接,协议转换芯片通过主变压器连接主单刀多掷继电器,通过从变压器连接从单刀多掷继电器;主单刀多掷继电器和从单刀多掷继电器均与多条总线连接;OC门芯片分别连接主单刀多掷继电器和从单刀多掷继电器。本发明仅使用一路逻辑和硬件资源,使用单刀多掷继电器对多路总线进行切换,通过软件处理实现同一远端设备在不同工况下的自适应,减少了元器件及PL逻辑资源的使用,有利于降低设备功耗及重量,有效提高了资源利用率,节约了成本。

Figure 202310241834

The invention discloses a remote terminal for bus self-adaptation, a bus self-adaptation system and a method. The remote terminal includes a main processor, a protocol conversion chip, a master-slave transformer, a master-slave single-pole multi-throw relay and an OC gate chip; the main processor is connected to the protocol conversion chip and the OC gate chip respectively, and the protocol conversion chip is connected to the main single-pole multi-throw relay through the main transformer. The throwing relay is connected to the slave SPMT relay through the slave transformer; both the master SPMT relay and the slave SPMT relay are connected to multiple buses; the OC gate chip is respectively connected to the master SPMT relay and the slave SPMT relay. The present invention only uses one logic and hardware resources, uses a single-pole multi-throw relay to switch multiple buses, realizes the self-adaptation of the same remote device under different working conditions through software processing, and reduces the use of components and PL logic resources. It is beneficial to reduce the power consumption and weight of the equipment, effectively improve the utilization rate of resources, and save costs.

Figure 202310241834

Description

用于总线自适应的远程终端、总线自适应系统及方法Remote terminal for bus adaptation, bus adaptation system and method

技术领域technical field

本发明涉及电子设备技术领域,尤其涉及一种用于总线自适应的远程终端、总线自适应系统及方法。The invention relates to the technical field of electronic equipment, in particular to a remote terminal for bus self-adaptation, a bus self-adaptation system and method.

背景技术Background technique

CAN、SPI和1553B总线均是航天、空间应用技术领域常用的通信接口,具有双向输出特性、实时性和多设备支持的特点,使用总线技术可简化软、硬件设计、简化系统结构,便于系统扩展及更新。CAN, SPI and 1553B buses are commonly used communication interfaces in the field of aerospace and space application technology. They have the characteristics of bidirectional output, real-time and multi-device support. The use of bus technology can simplify software and hardware design, simplify system structure, and facilitate system expansion. and updates.

但目前上述总线系统中的远端设备只适用于同一协议下与同一上级设备的通信,无法满足多个工况下与不同上级设备通信的需求。However, at present, the remote devices in the above-mentioned bus system are only suitable for communication with the same upper-level device under the same protocol, and cannot meet the needs of communicating with different upper-level devices under multiple working conditions.

发明内容Contents of the invention

本发明所要解决的技术问题是针对现有技术存在的问题,提供一种用于总线自适应的远程终端、总线自适应系统及方法。The technical problem to be solved by the present invention is to provide a remote terminal for bus self-adaptation, a bus self-adaptation system and method for the problems existing in the prior art.

为解决上述技术问题,本发明提供一种用于总线自适应的远程终端,包括:主处理器、协议转换芯片、主变压器、主单刀多掷继电器、从变压器、从单刀多掷继电器和OC门芯片。In order to solve the above technical problems, the present invention provides a remote terminal for bus self-adaptation, including: a main processor, a protocol conversion chip, a main transformer, a main single-pole multi-throw relay, a slave transformer, a slave single-pole multi-throw relay and an OC gate chip.

主处理器分别与协议转换芯片和OC门芯片连接,协议转换芯片通过主变压器连接主单刀多掷继电器,通过从变压器连接从单刀多掷继电器;主单刀多掷继电器和从单刀多掷继电器均与多条总线连接;OC门芯片分别连接主单刀多掷继电器和从单刀多掷继电器。The main processor is connected to the protocol conversion chip and the OC gate chip respectively. The protocol conversion chip is connected to the main SPMT relay through the main transformer, and the slave SPMT relay is connected to the slave transformer; the main SPMT relay and the slave SPMT relay are connected to the Multiple bus connections; the OC gate chip is respectively connected to the master SPMT relay and the slave SPMT relay.

主处理器通过协议转换芯片、主/从变压器和主/从单刀多掷继电器与当前连接的总线进行通信,当收到总线切换指令或通信异常时,控制协议转换芯片进行总线协议转换,并通过OC门芯片控制主/从单刀多掷继电器切换与多条总线的连接。The main processor communicates with the currently connected bus through the protocol conversion chip, master/slave transformer and master/slave single-pole multi-throw relay. The OC gate chip controls the master/slave SPMT relay to switch connections with multiple buses.

本发明的有益效果是:本发明通过主从变压器和主从单刀多掷继电器构成设备内部通路的热备关系,保证远端设备的稳定运行;并且主处理器通过协议转换芯片、主/从变压器和主/从单刀多掷继电器与当前连接的总线进行通信,当收到总线切换指令或通信异常时,控制协议转换芯片进行总线协议转换,并通过OC门芯片控制单刀多掷继电器切换与多条总线的连接;即本发明仅使用一路逻辑和硬件资源,使用单刀多掷继电器对多路总线进行切换,通过软件处理实现同一远端设备在不同工况下的自适应,减少了元器件及PL逻辑资源的使用,有利于降低设备功耗及重量,有效提高了资源利用率,节约了成本。The beneficial effects of the present invention are: the present invention constitutes the hot backup relationship of the internal path of the equipment through the master-slave transformer and the master-slave single-pole multi-throw relay, ensuring the stable operation of the remote equipment; and the main processor converts the chip, master/slave transformer through the protocol Communicate with the master/slave SPMT relay with the currently connected bus. When the bus switching command is received or the communication is abnormal, the control protocol conversion chip performs bus protocol conversion, and controls the switching of the SPMT relay and multiple relays through the OC gate chip. The connection of the bus; that is, the present invention only uses one logic and hardware resources, uses a single-pole multi-throw relay to switch multiple buses, realizes self-adaptation of the same remote device under different working conditions through software processing, and reduces components and PL The use of logic resources helps reduce power consumption and weight of equipment, effectively improves resource utilization, and saves costs.

在上述技术方案的基础上,本发明还可以做如下改进。On the basis of the above technical solutions, the present invention can also be improved as follows.

进一步,远程终端上电后,主处理器控制协议转换芯片初始化为默认总线协议,并通过主/从单刀多掷继电器与默认总线协议对应的上级设备进行通信。Further, after the remote terminal is powered on, the main processor controls the protocol conversion chip to initialize to the default bus protocol, and communicates with the upper-level device corresponding to the default bus protocol through the master/slave single-pole multi-throw relay.

进一步,主处理器收到总线切换指令时,控制协议转换芯片将总线协议转换为总线切换指令所对应的总线协议,并通过OC门芯片控制主/从单刀多掷继电器切换所连接的总线,进而与当前总线协议对应的上级设备进行通信。Further, when the main processor receives the bus switching instruction, the control protocol conversion chip converts the bus protocol into the bus protocol corresponding to the bus switching instruction, and controls the master/slave single-pole multi-throw relay to switch the connected bus through the OC gate chip, and then Communicate with the upper-level device corresponding to the current bus protocol.

采用上述进一步方案的有益效果是:主处理器根据切换指令控制协议转换芯片进行协议转换,通过OC门芯片控制单刀多掷继电器与多条总线的连接位置,从而实现根据控制指令进行总线切换;仅使用一路逻辑和硬件资源,通过软件处理实现同一远端设备在不同工况下的自适应,减少了元器件及PL逻辑资源的使用,降低设备功耗及重量,提高了资源利用率,节约了成本。The beneficial effect of adopting the above-mentioned further solution is: the main processor controls the protocol conversion chip to perform protocol conversion according to the switching command, and controls the connection position of the single-pole multi-throw relay and multiple buses through the OC gate chip, thereby realizing bus switching according to the control command; only Using one channel of logic and hardware resources, the self-adaptation of the same remote device under different working conditions is realized through software processing, which reduces the use of components and PL logic resources, reduces device power consumption and weight, improves resource utilization, and saves cost.

进一步,主处理器在预设时间内未收到当前总线协议的测试数据时,则自动控制协议转换芯片进行总线协议转换,并通过OC门芯片控制主/从单刀多掷继电器切换所连接的总线,直到正常建立通信为止。Further, when the main processor does not receive the test data of the current bus protocol within the preset time, it will automatically control the protocol conversion chip to perform bus protocol conversion, and control the master/slave single-pole multi-throw relay to switch the connected bus through the OC gate chip , until communication is established normally.

采用上述进一步方案的有益效果是:在检测到通信异常时自动进行总线切换,可提高可靠性,无论如何切换,均可回到当前硬件一致的接口状态,并建立正常通信,防止状态异常后无法与上级设备通信。The beneficial effect of adopting the above-mentioned further scheme is: when the communication abnormality is detected, the bus switch is automatically performed, which can improve the reliability, and no matter how the switch is performed, the interface state of the current hardware can be returned to, and normal communication can be established to prevent the bus from failing after the state is abnormal. Communicate with higher-level equipment.

进一步,当前总线协议的测试数据为通过当前总线连接的上级设备发送的长抱环测试指令。Further, the test data of the current bus protocol is the long loop test command sent by the upper-level device connected through the current bus.

采用上述进一步方案的有益效果是:通过长抱环测试指令可有效进行两端通信状态的确认。The beneficial effect of adopting the above further solution is that the communication status of both ends can be effectively confirmed through the long loop test command.

进一步,主处理器采用SOC系统级芯片,或者采用ARM与FPGA的组合。Further, the main processor adopts a SOC system-on-a-chip, or a combination of ARM and FPGA.

采用上述进一步方案的有益效果是:本发明可适用于多种嵌入式系统。The beneficial effect of adopting the above further solution is that the present invention is applicable to various embedded systems.

进一步,用于总线自适应的远程终端包括用于1553B总线自适应系统的RT设备、用于CAN总线自适应系统的从设备和用于SPI自适应系统的从设备。Further, the remote terminal for bus adaptation includes RT equipment for 1553B bus adaptation system, slave equipment for CAN bus adaptation system and slave equipment for SPI adaptive system.

采用上述进一步方案的有益效果是:上述用于总线自适应的远程终端可用于多种总线自适应系统,适用范围广泛。The beneficial effect of adopting the above further solution is that the above-mentioned remote terminal for bus self-adaptation can be used in various bus self-adaptive systems, and has a wide range of applications.

为解决上述技术问题,本发明还提供一种总线自适应系统,包括上述技术方案提供的用于总线自适应的远程终端,还包括通过多条总线与远程终端通信的多个上级设备。In order to solve the above technical problem, the present invention also provides a bus adaptive system, including the remote terminal for bus adaptation provided by the above technical solution, and also includes multiple upper-level devices communicating with the remote terminal through multiple buses.

在上述技术方案的基础上,本发明还可以做如下改进。On the basis of the above technical solutions, the present invention can also be improved as follows.

进一步,总线自适应系统包括1553B总线自适应系统、CAN总线自适应系统和SPI自适应系统。Further, the bus adaptive system includes 1553B bus adaptive system, CAN bus adaptive system and SPI adaptive system.

为解决上述技术问题,本发明还提供一种总线自适应方法,其利用上述技术方案提供的总线自适应系统实现,包括如下步骤:主处理器通过协议转换芯片、主/从变压器和主/从单刀多掷继电器与当前连接的总线进行通信,当收到总线切换指令或通信异常时,控制协议转换芯片进行总线协议转换,并通过OC门芯片控制主/从单刀多掷继电器切换与多条总线的连接。In order to solve the above-mentioned technical problems, the present invention also provides a bus self-adaptive method, which is realized by using the bus self-adaptive system provided by the above-mentioned technical solution, including the following steps: the main processor converts the chip through the protocol, the master/slave transformer and the master/slave The single-pole multi-throw relay communicates with the currently connected bus. When the bus switching command is received or the communication is abnormal, the control protocol conversion chip performs bus protocol conversion, and controls the master/slave single-pole multi-throw relay switching and multiple buses through the OC gate chip. Connection.

本发明附加的方面及其优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本发明实践了解到。Additional aspects of the invention and advantages thereof will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

附图说明Description of drawings

图1为本发明实施例提供的用于总线自适应的远程终端结构框图;FIG. 1 is a structural block diagram of a remote terminal for bus adaptation provided by an embodiment of the present invention;

图2为本发明实施例提供的1553B总线自适应系统的RT设备结构框图。Fig. 2 is a structural block diagram of the RT device of the 1553B bus adaptive system provided by the embodiment of the present invention.

具体实施方式Detailed ways

以下通过特定的具体实例说明本公开的实施方式,本领域技术人员可由本说明书所揭露的内容轻易地了解本公开的其他优点与功效。显然,所描述的实施例仅仅是本公开的一部分实施例,而不是全部的实施例。本公开还可以通过另外不同的具体实施方式加以实施或应用,本说明书中的各项细节也可以基于不同观点与应用,在没有背离本公开的精神下进行各种修饰或改变。需说明的是,在不冲突的情况下,以下实施例及实施例中的特征可以相互组合。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。Embodiments of the present disclosure are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Apparently, the described embodiments are only some of the embodiments of the present disclosure, not all of them. The present disclosure can also be implemented or applied through different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that, in the case of no conflict, the following embodiments and features in the embodiments can be combined with each other. Based on the embodiments in the present disclosure, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within 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为本发明实施例提供的用于总线自适应的远程终端。如图1所示,该远程终端包括:主处理器、协议转换芯片、主变压器、主单刀多掷继电器、从变压器、从单刀多掷继电器和OC门芯片。FIG. 1 is a remote terminal for bus adaptation provided by an embodiment of the present invention. As shown in Figure 1, the remote terminal includes: a main processor, a protocol conversion chip, a main transformer, a main single-pole multi-throw relay, a slave transformer, a slave single-pole multi-throw relay and an OC gate chip.

主处理器分别与协议转换芯片和OC门芯片连接。本发明实施例使用ZYNQSOC作为主处理器,也可使用其他型号SOC,或使用ARM+FPGA方案。SOC的PL(可编程逻辑,ProgarmmableLogic)部分通过封装IP实现1553B协议层,PS(处理系统,ProcessingSystem)部分实现应用层数据收发和处理。本发明实施例中,1553B协议层使用PL实现,也可使用1553B协议芯片,例如BU-61580等。The main processor is respectively connected with the protocol conversion chip and the OC gate chip. The embodiment of the present invention uses ZYNQSOC as the main processor, and other types of SOCs can also be used, or the ARM+FPGA solution can be used. The PL (Programmable Logic) part of the SOC realizes the 1553B protocol layer by encapsulating IP, and the PS (Processing System) part realizes the sending and receiving and processing of application layer data. In the embodiment of the present invention, the 1553B protocol layer is implemented using PL, and a 1553B protocol chip, such as BU-61580, can also be used.

协议转换芯片通过主变压器连接主单刀多掷继电器,通过从变压器连接从单刀多掷继电器,用于实现多种总线协议的转换。如用于总线自适应的远程终端为1553B总线自适应系统的RT设备时,协议转换芯片可以采用1553B专用芯片Hi-1573CDM,从而实现1553B协议转换。用于总线自适应的远程终端为CAN总线自适应系统的从设备时,协议转换芯片可以采用芯片PCA82C250T;用于总线自适应的远程终端为SPI自适应系统的从设备时,协议转换芯片可以集成在主处理器中。The protocol conversion chip is connected to the main single-pole multi-throw relay through the main transformer, and connected to the slave single-pole multi-throw relay through the slave transformer, and is used to realize the conversion of various bus protocols. For example, when the remote terminal used for bus adaptation is the RT device of the 1553B bus adaptation system, the protocol conversion chip can use the 1553B special chip Hi-1573CDM, so as to realize the 1553B protocol conversion. When the remote terminal for bus self-adaptation is the slave device of the CAN bus self-adaptive system, the protocol conversion chip can use the chip PCA82C250T; when the remote terminal for bus self-adaptation is the slave device of the SPI self-adaptive system, the protocol conversion chip can be integrated in the main processor.

本发明实施例中主变压器和从变压器用于保证总线隔离,可以采用变压器B3226。In the embodiment of the present invention, the main transformer and the slave transformer are used to ensure bus isolation, and the transformer B3226 can be used.

主单刀多掷继电器和从单刀多掷继电器均与多条总线连接,用于根据OC门芯片的控制实现与不同总线进行连接。需要说明的是,主变压器和主单刀多掷继电器构成的通路为主通路,从变压器和从单刀多掷继电器构成的通路为从通路,主通路和从通路构成热备关系。Both the master single-pole multi-throw relay and the slave single-pole multi-throw relay are connected to multiple buses, and are used to realize connection with different buses according to the control of the OC gate chip. It should be noted that the path formed by the master transformer and the master SPMT relay is the master path, the path formed by the slave transformer and the slave SPMT relay is the slave path, and the master path and the slave path form a hot standby relationship.

OC门芯片分别连接主单刀多掷继电器和从单刀多掷继电器,用于根据主处理器的指令控制主单刀多掷继电器(主通路连接总线时)切换与多条总线的连接,或者根据主处理器的指令控制从单刀多掷继电器(从通路连接总线时)切换与多条总线的连接。The OC gate chip is respectively connected to the main SPMT relay and the slave SPMT relay, and is used to control the main SPMT relay (when the main channel is connected to the bus) to switch the connection with multiple buses according to the instructions of the main processor, or to switch the connection with multiple buses according to the instructions of the main processor. The instruction control of the device switches the connection with multiple buses from the single-pole multi-throw relay (when the bus is connected from the path).

主处理器通过协议转换芯片、主/从变压器和主/从单刀多掷继电器与当前连接的总线进行通信,当收到总线切换指令或通信异常时,控制协议转换芯片进行总线协议转换,并通过OC门芯片控制主/从单刀多掷继电器切换与多条总线的连接。The main processor communicates with the currently connected bus through the protocol conversion chip, master/slave transformer and master/slave single-pole multi-throw relay. The OC gate chip controls the master/slave SPMT relay to switch connections with multiple buses.

现有的总线系统中,远端设备只能与一路总线连接。即远端设备只适用于同一协议下与一个上级设备通信,无法满足多个工况下与不同上级设备通信的需求。对于在不同工况下需对接不同总线上级设备时,通常做法是设计多路远端设备,不同的远端设备与不同的总线上级设备连接。然而,设计多路远端设备则需要多份相应的硬件、逻辑和软件资源,耗费资源较多。In the existing bus system, remote devices can only be connected to one bus. That is, the remote device is only suitable for communicating with one upper-level device under the same protocol, and cannot meet the needs of communicating with different upper-level devices under multiple working conditions. When it is necessary to connect different bus upper-level devices under different working conditions, the usual practice is to design multiple remote devices, and different remote devices are connected to different bus upper-level devices. However, designing multiple remote devices requires multiple copies of corresponding hardware, logic, and software resources, which consumes more resources.

本发明实施例通过主从变压器和主从单刀多掷继电器构成设备内部通路的热备关系,保证远端设备的稳定运行。当主变压器和主单刀多掷继电器构成的主通路正常时,则通过主通路与外部总线连接;当主通路异常时,则从变压器和从单刀多掷继电器构成的从通路与外部总线连接。In the embodiment of the present invention, the master-slave transformer and the master-slave single-pole multi-throw relay form the hot standby relationship of the internal path of the device to ensure the stable operation of the remote device. When the main path formed by the main transformer and the main single-pole multi-throw relay is normal, it is connected to the external bus through the main path; when the main path is abnormal, the slave path formed by the slave transformer and the secondary single-pole multi-throw relay is connected to the external bus.

并且主处理器通过协议转换芯片、主/从变压器和主/从单刀多掷继电器与当前连接的总线进行通信,当收到总线切换指令或通信异常时,控制协议转换芯片进行总线协议转换,并通过OC门芯片控制单刀多掷继电器切换与多条总线的连接。And the main processor communicates with the currently connected bus through the protocol conversion chip, master/slave transformer and master/slave single-pole multi-throw relay. The single-pole multi-throw relay is controlled by the OC gate chip to switch the connection with multiple buses.

本发明实施例仅使用一路逻辑和硬件资源,使用单刀多掷继电器对多路总线进行切换,通过软件控制在一套硬件接口的基础上,实现多种总线协议接口的自动切换,即通过软件处理实现同一远端设备在不同工况下的自适应,减少了元器件及PL逻辑资源的使用,有利于降低设备功耗及重量,有效提高了资源利用率,节约了成本。The embodiment of the present invention only uses one logic and hardware resources, uses a single-pole multi-throw relay to switch multiple buses, and realizes automatic switching of multiple bus protocol interfaces on the basis of a set of hardware interfaces through software control, that is, through software processing Realize self-adaptation of the same remote device under different working conditions, reduce the use of components and PL logic resources, help reduce device power consumption and weight, effectively improve resource utilization, and save costs.

本发明实施例中,远程终端上电后,主处理器控制协议转换芯片初始化为默认总线协议,并通过主/从单刀多掷继电器与默认总线协议对应的上级设备进行通信。假如单刀多掷开关与n条总线连接,其中n为大于等于2的正整数,n条总线可以分别命名为第一总线、第二总线……第n总线。可以默认其中的一条总线为默认总线,本发明实施例中确定第一总线为默认总线。也就是说,远程终端的单刀多掷继电器的初始位置为连接第一总线。远程终端上电后,软件初始化为第一总线协议,与第一总线连接的第一上级设备进行通信。第一上级设备可获取远程终端的状态信息,并判断远程终端的通信状态是否正常。In the embodiment of the present invention, after the remote terminal is powered on, the main processor controls the protocol conversion chip to initialize to the default bus protocol, and communicates with the upper-level device corresponding to the default bus protocol through the master/slave single-pole multi-throw relay. If the single-pole multi-throw switch is connected to n buses, where n is a positive integer greater than or equal to 2, the n buses can be respectively named as the first bus, the second bus...the nth bus. One of the buses may be defaulted as the default bus, and in the embodiment of the present invention, the first bus is determined as the default bus. That is, the initial position of the SPMT relay of the remote terminal is to connect to the first bus. After the remote terminal is powered on, the software is initialized to the first bus protocol, and communicates with the first upper-level device connected to the first bus. The first upper-level device can acquire status information of the remote terminal, and judge whether the communication status of the remote terminal is normal.

可选地,在一个实施例中,主处理器收到总线切换指令时,控制协议转换芯片将总线协议转换为总线切换指令所对应的总线协议,并通过OC门芯片控制主/从单刀多掷继电器切换所连接的总线,进而与当前总线协议对应的上级设备进行通信。假如在主通路正常时,主处理器通过第一总线收到切换为第二总线的指令后,即通过OC门芯片控制主单刀多掷继电器切换为第二总线,同时重新进行总线接口初始化,设置总线协议为第二总线协议,开始与第二总线连接的第二上级设备进行通信。依次类推,当远程终端通过第i总线收到切换第j总线的指令后,i=1,2……n,j=1,2……n;其中,即通过OC门芯片控制主单刀多掷继电器切换为第j总线,同时重新进行总线接口初始化,设置总线协议为第j总线协议,开始与与第j总线连接的第j上级设备进行通信。Optionally, in one embodiment, when the main processor receives the bus switching instruction, the control protocol conversion chip converts the bus protocol into the bus protocol corresponding to the bus switching instruction, and controls the master/slave SPMT through the OC gate chip The relay switches the connected bus, and then communicates with the higher-level device corresponding to the current bus protocol. If the main channel is normal, after the main processor receives the command to switch to the second bus through the first bus, it will control the main single-pole multi-throw relay to switch to the second bus through the OC gate chip, and at the same time re-initialize the bus interface, set The bus protocol is the second bus protocol, and starts to communicate with the second upper-level device connected to the second bus. By analogy, when the remote terminal receives the command to switch the j-th bus through the i-th bus, i=1, 2...n, j=1, 2...n; wherein, the main SPMT is controlled by the OC gate chip The relay switches to the jth bus, and at the same time re-initializes the bus interface, sets the bus protocol to the jth bus protocol, and starts to communicate with the jth superior device connected to the jth bus.

可选地,在一个实施例中,主处理器在预设时间内未收到当前总线协议的测试数据时,则自动控制协议转换芯片进行总线协议转换,并通过OC门芯片控制主/从单刀多掷继电器切换所连接的总线,直到正常建立通信为止。Optionally, in one embodiment, when the main processor does not receive the test data of the current bus protocol within the preset time, it automatically controls the protocol conversion chip to perform bus protocol conversion, and controls the master/slave single pole through the OC gate chip The multi-throw relay switches the connected bus until communication is normally established.

具体地,总线的上级设备会每间隔第一预设时间(如1s)向远程终端发送长抱环测试指令,远程终端接收到长抱环测试指令后,回复长抱环反馈指令。若远程终端连续第二预设时间(如10s)未接收到上级设备发送的长抱环指令,则自动切换为其他总线进行尝试;若切换至其他总线后连续第二预设时间仍未收到任何相应的总线协议的数据,则再自动切换为其他总线进行尝试;依次循环,直到正常建立通信为止。Specifically, the upper-level device of the bus will send a long loop test command to the remote terminal every first preset time interval (such as 1s), and the remote terminal will reply a long loop feedback command after receiving the long loop test command. If the remote terminal does not receive the long loop command sent by the superior device for the second consecutive preset time (such as 10s), it will automatically switch to another bus to try; if it has not received the second consecutive preset time after switching to other buses Data of any corresponding bus protocol will be automatically switched to another bus to try; loop in turn until the communication is established normally.

本发明实施例中,在检测到通信异常时自动进行总线切换,可提高可靠性,无论如何切换,均可回到当前硬件一致的接口状态,并建立正常通信,防止状态异常后无法与上级设备通信。In the embodiment of the present invention, bus switching is automatically performed when abnormal communication is detected, which can improve reliability. Regardless of switching, it can return to the interface state consistent with the current hardware and establish normal communication to prevent failure to communicate with the upper-level equipment after the state is abnormal. communication.

下面以1553B总线自适应系统的RT设备为例,对本发明进行详细介绍。如图2所示,RT设备对外有多个1553B接口,硬件接口分别接入BC1、BC2……BCn对应的1553B总线,简称第一总线、第二总线……第n总线。RT设备可以包括n个不同的使用阶段。第一阶段,RT设备与第一总线的BC1通信;第二阶段,RT设备与第二总线的BC2通信,……第n阶段,RT设备与第n总线的BCn通信。需要说明的是,BC设备为1553B总线自适应系统中的总线控制器。Taking the RT equipment of the 1553B bus adaptive system as an example, the present invention will be introduced in detail below. As shown in Figure 2, the RT device has multiple 1553B interfaces externally, and the hardware interfaces are respectively connected to the 1553B buses corresponding to BC1, BC2...BCn, referred to as the first bus, the second bus...the nth bus. An RT device can include n different usage phases. In the first stage, the RT device communicates with BC1 of the first bus; in the second stage, the RT device communicates with BC2 of the second bus, ... In the nth stage, the RT device communicates with BCn of the nth bus. It should be noted that the BC device is the bus controller in the 1553B bus adaptive system.

RT设备内部,使用ZYNQ系列SOC作为主处理器,外接1553B专用芯片Hi-1573CDM实现1553B协议转换,使用变压器B3226保证总线隔离。每路1553B总线均包括A、B两个通道,A、B通道为热备关系。SOC的PL部分通过封装IP实现1553B协议层,PS部分实现应用层数据收发和处理。Inside the RT device, ZYNQ series SOC is used as the main processor, and the 1553B dedicated chip Hi-1573CDM is connected externally to realize 1553B protocol conversion, and the transformer B3226 is used to ensure bus isolation. Each 1553B bus includes two channels, A and B, and the A and B channels are hot standby. The PL part of the SOC implements the 1553B protocol layer by encapsulating IP, and the PS part realizes the sending, receiving and processing of application layer data.

本发明实施例中,RT设备内部资源仅为1路,即SOC引脚、1553B芯片、变压器均为1路,在变压器后级,使用单刀多掷型继电器实现到多路1553B总线的切换。继电器的切换由主处理器SOC控制OC门芯片实现。In the embodiment of the present invention, the internal resource of the RT device is only one channel, that is, the SOC pin, the 1553B chip, and the transformer are all one channel. In the downstream stage of the transformer, a single-pole multi-throw relay is used to switch to multiple 1553B buses. The switching of the relay is realized by the main processor SOC controlling the OC gate chip.

不同总线所使用的应用层协议不同,使用的子地址也不相同,RT设备可通过接收数据子地址及应用层协议对不同总线进行识别。The application layer protocols used by different buses are different, and the subaddresses used are also different. RT devices can identify different buses by receiving data subaddresses and application layer protocols.

RT设备初始继电器位置为连接第一总线。RT设备上电后,软件初始化为第一总线协议,与BC1进行通信。BC1可获取RT设备的状态信息,并判断RT设备通信状态是否正常。The initial relay position of the RT device is connected to the first bus. After the RT device is powered on, the software initializes to the first bus protocol and communicates with BC1. BC1 can obtain the status information of the RT device and judge whether the communication status of the RT device is normal.

当RT设备通过第一总线收到切换为第二总线指令后,即通过OC控制单刀多掷继电器切换为第二总线,同时重新进行1553B接口初始化,设置为第二总线协议,开始与BC2通信。When the RT device receives the command to switch to the second bus through the first bus, it controls the SPMT relay to switch to the second bus through the OC, and at the same time re-initializes the 1553B interface, sets it to the second bus protocol, and starts communicating with BC2.

当RT通过第二总线收到切换为第三总线指令后,即通过OC控制单刀多掷继电器切换为第三总线,同时重新进行1553B接口初始化,设置为第三总线协议,开始与BC3通信。When RT receives the command to switch to the third bus through the second bus, it controls the single-pole multi-throw relay to switch to the third bus through the OC, and at the same time re-initializes the 1553B interface, sets it to the third bus protocol, and starts communicating with BC3.

依次类推,当RT通过第i总线收到切换总线j指令后,其中,i=1,2……n,j=1,2……n;即通过OC控制单刀多掷继电器切换为第j总线,同时重新进行1553B接口初始化,设置为第j总线协议,开始与BCj通信。By analogy, when the RT receives the command to switch the bus j through the i-th bus, where i=1, 2...n, j=1, 2...n; that is, the single-pole multi-throw relay is switched to the j-th bus through the OC control At the same time, re-initialize the 1553B interface, set it as the jth bus protocol, and start communicating with BCj.

上级设备BCi(i=1,2……n)每间隔1s向RT设备发送长抱环测试指令,RT设备接收到长抱环测试指令后,回复长抱环反馈指令。若RT设备连续10s未接收到BCi发送的长抱环指令,则自动切换为第j(j=1,2……n)总线进行尝试;若切换至第j总线后连续10s未收到任何第j总线协议的数据,则自动切换为第j+1总线进行尝试;依次循环,直到正常建立通信为止。The upper-level device BCi (i=1, 2...n) sends a long loop test command to the RT device every 1s, and the RT device replies with a long loop feedback command after receiving the long loop test command. If the RT device does not receive the long loop command sent by BCi for 10 consecutive seconds, it will automatically switch to the jth bus (j=1, 2...n) to try; if it does not receive any j bus protocol data, it will automatically switch to the j+1th bus to try; cycle in turn until the communication is established normally.

本发明实施例还提供一种总线自适应系统,包括上述实施例提供的用于总线自适应的远程终端,还包括通过多条总线与远程终端通信的多个上级设备。总线自适应系统可以为1553B总线自适应系统、CAN总线自适应系统和SPI自适应系统。An embodiment of the present invention also provides a bus adaptive system, including the remote terminal for bus adaptive provided in the above embodiments, and also includes a plurality of upper-level devices communicating with the remote terminal through multiple buses. The bus adaptive system can be 1553B bus adaptive system, CAN bus adaptive system and SPI adaptive system.

例如,如图2所示,1553B总线自适应系统包括RT设备和多个BC设备。RT设备包括主处理器、协议转换芯片、主变压器、主单刀多掷继电器、从变压器、从单刀多掷继电器和OC门芯片。For example, as shown in Figure 2, the 1553B bus adaptive system includes RT equipment and multiple BC equipment. The RT device includes a main processor, a protocol conversion chip, a main transformer, a main SPMT relay, a slave transformer, a slave SPMT relay and an OC gate chip.

主处理器分别与协议转换芯片和OC门芯片连接,协议转换芯片通过主变压器连接主单刀多掷继电器,通过从变压器连接从单刀多掷继电器;主单刀多掷继电器和从单刀多掷继电器均与多条总线连接;OC门芯片分别连接主单刀多掷继电器和从单刀多掷继电器,用于根据主处理器的指令控制主单刀多掷继电器切换与多条总线的连接,或者根据主处理器的指令控制从单刀多掷继电器切换与多条总线的连接。The main processor is connected to the protocol conversion chip and the OC gate chip respectively. The protocol conversion chip is connected to the main SPMT relay through the main transformer, and the slave SPMT relay is connected to the slave transformer; the main SPMT relay and the slave SPMT relay are connected to the Multiple bus connections; the OC gate chip is respectively connected to the main SPMT relay and the slave SPMT relay, and is used to control the main SPMT relay to switch the connection with multiple buses according to the instructions of the main processor, or according to the instructions of the main processor Instructions control switching from SPMT relays to multiple bus connections.

主处理器通过协议转换芯片、主/从变压器和主/从单刀多掷继电器与当前连接的总线进行通信,当收到总线切换指令或通信异常时,控制协议转换芯片进行总线协议转换,并通过OC门芯片控制主/从单刀多掷继电器切换与多条总线的连接。本发明实施例仅使用一路逻辑和硬件资源,使用单刀多掷继电器对多路总线进行切换,通过软件处理实现同一远端设备在不同工况下的自适应,减少了元器件及PL逻辑资源的使用,有利于降低设备功耗及重量,有效提高了资源利用率,节约了成本。The main processor communicates with the currently connected bus through the protocol conversion chip, master/slave transformer and master/slave single-pole multi-throw relay. The OC gate chip controls the master/slave SPMT relay to switch connections with multiple buses. The embodiment of the present invention only uses one logic and hardware resources, uses a single-pole multi-throw relay to switch multiple buses, realizes self-adaptation of the same remote device under different working conditions through software processing, and reduces the cost of components and PL logic resources. The use is beneficial to reduce the power consumption and weight of the equipment, effectively improve the utilization rate of resources, and save costs.

本发明实施例还提供一种总线自适应方法,其利用上述实施例的总线自适应系统实现,包括如下步骤:主处理器通过协议转换芯片、主/从变压器和主/从单刀多掷继电器与当前连接的总线进行通信,当收到总线切换指令或通信异常时,控制协议转换芯片进行总线协议转换,并通过OC门芯片控制主/从单刀多掷继电器切换与多条总线的连接。The embodiment of the present invention also provides a bus self-adaptation method, which is realized by the bus self-adaptation system of the above-mentioned embodiment, including the following steps: the main processor communicates with the protocol conversion chip, the master/slave transformer and the master/slave single-pole multi-throw relay The currently connected bus communicates. When the bus switching command is received or the communication is abnormal, the control protocol conversion chip performs bus protocol conversion, and controls the master/slave single-pole multi-throw relay to switch connections with multiple buses through the OC gate chip.

主处理器还用于检测到主变压器和主单刀多掷继电器构成的主通路异常时,切换为从变压器和从单刀多掷继电器构成的从通路,通过从通路与外部总线连接。The main processor is also used to switch to the slave path formed by the slave transformer and the slave SPMT relay when detecting an abnormality in the master path formed by the master transformer and the master SPMT relay, and connect to the external bus through the slave path.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated. to another system, or some features may be ignored, or not implemented.

作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本发明实施例方案的目的。A unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以是两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.

集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分,或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,RandomAccessMemory)、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of software products, and the computer software products are stored in a storage medium In, several instructions are included to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods in various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccessMemory), magnetic disk or optical disk and other media that can store program codes.

以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.

Claims (10)

1.一种用于总线自适应的远程终端,其特征在于,包括:主处理器、协议转换芯片、主变压器、主单刀多掷继电器、从变压器、从单刀多掷继电器和OC门芯片;1. A remote terminal for bus self-adaptation is characterized in that, comprising: main processor, protocol conversion chip, main transformer, main single-pole multi-throw relay, from transformer, from single-pole multi-throw relay and OC gate chip; 所述主处理器分别与协议转换芯片和OC门芯片连接,所述协议转换芯片通过主变压器连接主单刀多掷继电器,通过从变压器连接从单刀多掷继电器;所述主单刀多掷继电器和从单刀多掷继电器均与多条总线连接;所述OC门芯片分别连接所述主单刀多掷继电器和从单刀多掷继电器,用于根据主处理器的指令控制主单刀多掷继电器切换与多条总线的连接,或者根据主处理器的指令控制从单刀多掷继电器切换与多条总线的连接;The main processor is connected with the protocol conversion chip and the OC gate chip respectively, the protocol conversion chip is connected with the main SPMT relay through the main transformer, and the slave SPMT relay is connected with the slave transformer; the main SPMT relay and the slave The single-pole multi-throw relays are all connected to multiple buses; the OC gate chip is respectively connected to the main single-pole multi-throw relay and the slave single-pole multi-throw relay, and is used to control the switching of the main single-pole multi-throw relay and the multiple bus lines according to the instructions of the main processor. The connection of the bus, or according to the instruction of the main processor, the connection between the single-pole multi-throw relay and multiple buses is controlled; 所述主处理器通过协议转换芯片、主/从变压器和主/从单刀多掷继电器与当前连接的总线进行通信,当收到总线切换指令或通信异常时,控制所述协议转换芯片进行总线协议转换,并通过所述OC门芯片控制所述主/从单刀多掷继电器切换与多条总线的连接。The main processor communicates with the currently connected bus through the protocol conversion chip, the master/slave transformer and the master/slave single-pole multi-throw relay. conversion, and through the OC gate chip to control the master/slave single-pole multi-throw relay to switch connections with multiple buses. 2.根据权利要求1所述的用于总线自适应的远程终端,其特征在于,所述远程终端上电后,所述主处理器控制所述协议转换芯片初始化为默认总线协议,并通过主/从单刀多掷继电器与所述默认总线协议对应的上级设备进行通信。2. The remote terminal for bus adaptation according to claim 1, characterized in that, after the remote terminal is powered on, the main processor controls the protocol conversion chip to initialize to the default bus protocol, and through the main / from the SPMT relay to communicate with the upper-level device corresponding to the default bus protocol. 3.根据权利要求1所述的用于总线自适应的远程终端,其特征在于,所述主处理器收到总线切换指令时,控制所述协议转换芯片将总线协议转换为所述总线切换指令所对应的总线协议,并通过OC门芯片控制主/从单刀多掷继电器切换所连接的总线,进而与当前总线协议对应的上级设备进行通信。3. The remote terminal for bus adaptation according to claim 1, wherein, when the main processor receives the bus switching instruction, it controls the protocol conversion chip to convert the bus protocol into the bus switching instruction The corresponding bus protocol, and through the OC gate chip to control the master/slave single-pole multi-throw relay to switch the connected bus, and then communicate with the upper-level device corresponding to the current bus protocol. 4.根据权利要求1所述的用于总线自适应的远程终端,其特征在于,所述主处理器在预设时间内未收到当前总线协议的测试数据时,则自动控制所述协议转换芯片进行总线协议转换,并通过OC门芯片控制主/从单刀多掷继电器切换所连接的总线,直到正常建立通信为止。4. the remote terminal for bus adaptation according to claim 1, is characterized in that, when described main processor does not receive the test data of current bus protocol within preset time, then automatically controls described protocol conversion The chip converts the bus protocol, and controls the master/slave single-pole multi-throw relay to switch the connected bus through the OC gate chip until the communication is established normally. 5.根据权利要求4所述的用于总线自适应的远程终端,其特征在于,所述当前总线协议的测试数据为通过当前总线连接的上级设备发送的长抱环测试指令。5 . The remote terminal for bus adaptation according to claim 4 , wherein the test data of the current bus protocol is a long loop test command sent by a superior device connected to the current bus. 6 . 6.根据权利要求1至5任一项所述的用于总线自适应的远程终端,其特征在于,所述主处理器采用SOC系统级芯片,或者采用ARM与FPGA的组合。6. The remote terminal for bus adaptation according to any one of claims 1 to 5, characterized in that, the main processor adopts a SOC system-on-chip, or a combination of ARM and FPGA. 7.根据权利要求1至5任一项所述的用于总线自适应的远程终端,其特征在于,所述用于总线自适应的远程终端包括用于1553B总线自适应系统的RT设备、用于CAN总线自适应系统的从设备和用于SPI自适应系统的从设备。7. according to the remote terminal for bus adaptive described in any one of claim 1 to 5, it is characterized in that, described remote terminal for bus adaptive comprises the RT equipment for 1553B bus adaptive system, with A slave device for CAN bus adaptive systems and a slave device for SPI adaptive systems. 8.一种总线自适应系统,其特征在于,包括权利要求1至7任一项所述的用于总线自适应的远程终端,还包括通过多条总线与所述远程终端通信的多个上级设备。8. A bus adaptive system, characterized in that it comprises the remote terminal for bus adaptive described in any one of claims 1 to 7, and also includes a plurality of superiors communicating with the remote terminal through multiple buses equipment. 9.根据权利要求8所述的总线自适应系统,其特征在于,包括1553B总线自适应系统、CAN总线自适应系统和SPI自适应系统。9. The bus adaptive system according to claim 8, comprising a 1553B bus adaptive system, a CAN bus adaptive system and an SPI adaptive system. 10.一种总线自适应方法,其特征在于,利用权利要求8所述的总线自适应系统实现,包括如下步骤:10. A bus adaptive method, is characterized in that, utilizes the bus adaptive system described in claim 8 to realize, comprises the steps: 主处理器通过协议转换芯片、主/从变压器和主/从单刀多掷继电器与当前连接的总线进行通信,当收到总线切换指令或通信异常时,控制所述协议转换芯片进行总线协议转换,并通过所述OC门芯片控制所述主/从单刀多掷继电器切换与多条总线的连接。The main processor communicates with the currently connected bus through the protocol conversion chip, master/slave transformer and master/slave single-pole multi-throw relay, and controls the protocol conversion chip to perform bus protocol conversion when receiving a bus switching command or communication abnormality. And control the master/slave single-pole multi-throw relay to switch connections with multiple buses through the OC gate chip.
CN202310241834.0A 2023-03-14 2023-03-14 Remote terminal for bus adaptation, bus adaptation system and method Active CN116224877B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310241834.0A CN116224877B (en) 2023-03-14 2023-03-14 Remote terminal for bus adaptation, bus adaptation system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310241834.0A CN116224877B (en) 2023-03-14 2023-03-14 Remote terminal for bus adaptation, bus adaptation system and method

Publications (2)

Publication Number Publication Date
CN116224877A true CN116224877A (en) 2023-06-06
CN116224877B CN116224877B (en) 2023-11-07

Family

ID=86587245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310241834.0A Active CN116224877B (en) 2023-03-14 2023-03-14 Remote terminal for bus adaptation, bus adaptation system and method

Country Status (1)

Country Link
CN (1) CN116224877B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965133A (en) * 2015-06-03 2015-10-07 北京浩正泰吉科技有限公司 1553B data bus network test system
CN105068516A (en) * 2015-07-23 2015-11-18 德阳瑞能电力科技有限公司 Redundant bus management system for distributed control equipment
CN105550078A (en) * 2015-12-12 2016-05-04 中国航空工业集团公司西安航空计算技术研究所 1553B bus interface board with free main and backup switching function
CN109542818A (en) * 2018-11-16 2019-03-29 陕西千山航空电子有限责任公司 A kind of general 1553B interface arrangement
CN209015256U (en) * 2018-12-21 2019-06-21 成都能通科技有限公司 A kind of 1553B processing system based on FPGA
CN111800234A (en) * 2020-06-30 2020-10-20 西安微电子技术研究所 Conversion circuit of dual-redundancy Ethernet and intelligent 1553B bus
CN111934965A (en) * 2020-08-07 2020-11-13 天津市英贝特航天科技有限公司 Multichannel 1553B bus expansion device based on SPI protocol
CN212391718U (en) * 2020-04-29 2021-01-22 中国人民解放军空军工程大学航空机务士官学校 A multi-aviation bus interface drive device
KR20220021099A (en) * 2020-08-13 2022-02-22 엘아이지넥스원 주식회사 Method of proccessing message, message processing server and message processing system with the same

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104965133A (en) * 2015-06-03 2015-10-07 北京浩正泰吉科技有限公司 1553B data bus network test system
CN105068516A (en) * 2015-07-23 2015-11-18 德阳瑞能电力科技有限公司 Redundant bus management system for distributed control equipment
CN105550078A (en) * 2015-12-12 2016-05-04 中国航空工业集团公司西安航空计算技术研究所 1553B bus interface board with free main and backup switching function
CN109542818A (en) * 2018-11-16 2019-03-29 陕西千山航空电子有限责任公司 A kind of general 1553B interface arrangement
CN209015256U (en) * 2018-12-21 2019-06-21 成都能通科技有限公司 A kind of 1553B processing system based on FPGA
CN212391718U (en) * 2020-04-29 2021-01-22 中国人民解放军空军工程大学航空机务士官学校 A multi-aviation bus interface drive device
CN111800234A (en) * 2020-06-30 2020-10-20 西安微电子技术研究所 Conversion circuit of dual-redundancy Ethernet and intelligent 1553B bus
CN111934965A (en) * 2020-08-07 2020-11-13 天津市英贝特航天科技有限公司 Multichannel 1553B bus expansion device based on SPI protocol
KR20220021099A (en) * 2020-08-13 2022-02-22 엘아이지넥스원 주식회사 Method of proccessing message, message processing server and message processing system with the same

Also Published As

Publication number Publication date
CN116224877B (en) 2023-11-07

Similar Documents

Publication Publication Date Title
CN110474943B (en) Vehicle network redundancy system and gateway switching method based on MVB and Ethernet
CN102986106B (en) For shifting method and the device thereof of control between the device in transformer substation system
CN101625568B (en) Synchronous data controller based hot standby system of main control unit and method thereof
CN113258547B (en) Chip-level relay protection device and system
US10891242B2 (en) Embedded USB2 (eUSB2) repeater operation
CN108333527A (en) Battery management system loop interlock and from control address setting method
CN112653621A (en) Domestic LRM gigabit network module with dual-redundancy switching function
WO2013189069A1 (en) Load sharing method and device, and single board
CN115941102B (en) Method for synchronous communication between controllers connected with MCU and FPGA by SPI
CN111897670A (en) Hardware reset circuit, method, Internet of things equipment and storage medium
WO2020088351A1 (en) Method for sending device information, computer device and distributed computer device system
CN116224877A (en) Remote terminal for bus adaptation, bus adaptation system and method
JP2019009638A (en) Radio communication device, system, and method
CN113271244B (en) RS485 bus ad hoc network full-duplex communication system and automatic address addressing method thereof
US6760849B1 (en) Event initiation bus and associated fault protection for a telecommunications device
CN105550078A (en) 1553B bus interface board with free main and backup switching function
CN110053650B (en) Automatic train operation system, automatic train operation system architecture and module management method of automatic train operation system
CN102271049B (en) Method, device and system for setting state of communication equipment
CN116170337B (en) Method, device and system for testing reliability of network equipment
JP5176914B2 (en) Transmission device and system switching method for redundant configuration unit
CN109542833A (en) A kind of server management method based on microserver framework, device, server
CN110798390B (en) Communication system and communication method for power supply and distribution system of submarine observation network
CN111400109B (en) Dual-machine redundancy backup system based on PCIe high-speed bus interface
CN111416726B (en) Resource management method, sending end equipment and receiving end equipment
CN113078708A (en) Control system for power supply equipment, control method, medium and electronic equipment thereof

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