CN109361583B - 1553 bus function safety communication system - Google Patents

1553 bus function safety communication system Download PDF

Info

Publication number
CN109361583B
CN109361583B CN201811210438.7A CN201811210438A CN109361583B CN 109361583 B CN109361583 B CN 109361583B CN 201811210438 A CN201811210438 A CN 201811210438A CN 109361583 B CN109361583 B CN 109361583B
Authority
CN
China
Prior art keywords
word
bus
state word
message data
sequence number
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
Application number
CN201811210438.7A
Other languages
Chinese (zh)
Other versions
CN109361583A (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.)
Tianjin Jinhang Computing Technology Research Institute
Original Assignee
Tianjin Jinhang Computing Technology Research Institute
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 Tianjin Jinhang Computing Technology Research Institute filed Critical Tianjin Jinhang Computing Technology Research Institute
Priority to CN201811210438.7A priority Critical patent/CN109361583B/en
Publication of CN109361583A publication Critical patent/CN109361583A/en
Application granted granted Critical
Publication of CN109361583B publication Critical patent/CN109361583B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • H04L1/0061Error detection codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/12Applying verification of the received information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention relates to a 1553 bus function safety communication system, and belongs to the technical field of computer communication 1553 buses. According to the functional safety communication system of the 1553 bus, fault detection such as state word loss, disorder and the like is realized through the state word serial number checking function, fault detection such as error number, disguise and the like is realized through the message data checking function, response and jitter overtime fault detection are realized through the response time checking function, the functional safety level of the 1553 bus is improved, and the functional safety communication system is particularly suitable for application in severe environments.

Description

1553 bus function safety communication system
Technical Field
The invention belongs to the technical field of computer communication 1553 buses, and particularly relates to a function safety communication system of a 1553 bus.
Background
At present, the research on the Ethernet function safety in the industrial Ethernet is hot, and the method is used for ensuring the adaptability, reliability and maintainability of the Ethernet under various severe environment interferences such as electromagnetism, high temperature, humidity, noise, vibration and the like. For example, PROFIsafe security protocol, CIPSafety protocol, EPASafety protocol, etc. are developed for ethernet.
1553 the bus physical layer adopts Manchester coding, which is the same as the coding algorithm adopted by the Ethernet (10BASE-T) physical layer; 1553 the basic unit (word) of the logical link layer of the bus adopts a parity check method, can only realize single-bit error correction, and is much weaker than the CRC32 check method adopted by the basic unit (frame) of the logical link layer of the Ethernet. Therefore, the 1553 bus is weaker than the ethernet in terms of protocol coding design.
At present, the research on 1553 bus security protocol is still blank. Therefore, a system which is simple and efficient in method and improves 1553 bus function safety is urgently needed.
Disclosure of Invention
Technical problem to be solved
The technical problem to be solved by the invention is as follows: how to design a 1553 bus function safety communication system.
(II) technical scheme
In order to solve the above technical problem, the present invention provides a 1553 bus functional security communication system, including: functional safety BC and functional safety RT;
the functional safety BC is arranged on a bus controller of a 1553 bus functional safety communication system, and comprises: the system comprises a host, a 1553 bus BC protocol controller, a 1553 bus BC function safety controller, a Manchester codec and a 1553 transceiver; the host is used for sending and receiving user original data, the 1553 bus BC protocol controller is used for realizing conversion between the user original data and 1553 protocol data according to a 1553 bus BC protocol, the Manchester codec is used for realizing Manchester encoding and decoding on the 1553 protocol data, and the 1553 transceiver is used for realizing transmission of Manchester codes on a 1553 cable;
the function safety RT is arranged at a remote terminal of a 1553 bus function safety communication system and comprises a host, a 1553 bus RT protocol controller, a 1553 bus RT function safety controller, a Manchester codec and a 1553 transceiver; the host is used for sending or receiving user original data, the 1553 bus RT protocol controller is used for realizing conversion between the user original data and 1553 protocol data according to a 1553 bus RT protocol, the Manchester codec is used for realizing Manchester encoding and decoding on 1553 protocol data, and the 1553 transceiver is used for realizing transmission of Manchester codes on a 1553 cable).
Preferably, the 1553 bus BC function safety controller utilizes a state word sequence number checking module to extract and detect the state word sequence number and provides an interface for transmitting the detection result to the host; the system comprises a message data check module, a host computer and a message data check module, wherein the message data check module is used for calculating, sending, receiving and detecting message data check words and providing an interface for transmitting a detection result to the host computer; the system comprises a response time checking module used for calculating and detecting response time and jitter.
Preferably, the 1553 bus RT function safety controller generates and sends the serial number of the state word by using the serial number checking module of the state word; the system comprises the message data check module, which is used for calculating, sending, receiving and detecting the message data check word and providing an interface for transmitting the detection result to the host.
Preferably, a counter is arranged in the status word sequence number checking module, and when the RT sends a status word, the counter value is increased by 1; setting a modulo-8 arithmetic unit, and carrying out modulo-8 arithmetic on the counter value to obtain a binary number of 3 bits as a serial number of a state word sent by the RT; setting a state word transmitter, and writing the sequence number of the RT transmission state word into a state word reserved bit when the state word is transmitted; setting a state word receiver, extracting the RT address and the reserved bit of the received state word, namely the sequence number of the RT sending state word; setting a comparator, comparing the RT sending state word sequence number corresponding to the RT address with the BC receiving state word sequence number, if the state word sequence numbers are equal, the state word sequence number is successfully verified, otherwise, the state word sequence number fails, and providing an interface for transmitting the detection result to the host; and a memory is also arranged for storing the sequence number of the BC receiving state word according to the RT address, wherein the sequence number of the BC receiving state word is equal to the sequence number of the RT sending state word plus 1.
Preferably, a CRC calculator is arranged in the message data checking module, and performs CRC16 calculation on valid data information to be sent by a message to obtain a 16-bit binary calculation result; setting a data word transmitter, encoding the calculation result of the CRC16 according to the format of the data word to generate a message data check word, and then after the transmission of a specified number of data words is finished, transmitting the message data check word in a word interval-free mode; setting a data word receiver, and receiving 1 data word, namely a message data check word, in a word interval-free mode after receiving a specified number of data words of a message; setting a CRC checker, carrying out CRC check on the effective data information in the message data word and the message data check word, if the check result is consistent, the message data check is successful, otherwise, the message data check is failed, and providing an interface for transmitting the detection result to the host.
Preferably, a memory is arranged in the response time checking module and used for storing the maximum value and the minimum value of the response time according to the RT address and providing an interface for host configuration; setting a timer, and calculating the message interval time between the command and the response according to the RT address; and setting a comparator, if the calculated response time exceeds the maximum response time of the corresponding RT address or is less than the minimum response time of the corresponding RT address, the response time verification fails, otherwise, the response time verification succeeds, and an interface is provided for transmitting the detection result to the host.
(III) advantageous effects
According to the functional safety communication system of the 1553 bus, fault detection such as state word loss, disorder and the like is realized through the state word serial number checking function, fault detection such as error number, disguise and the like is realized through the message data checking function, response and jitter overtime fault detection are realized through the response time checking function, the functional safety level of the 1553 bus is improved, and the functional safety communication system is particularly suitable for application in severe environments.
Drawings
FIG. 1 is a schematic diagram of a functional security BC structure in the present invention;
FIG. 2 is a schematic diagram of the structure of a functional safety RT in the present invention;
FIG. 3 is a diagram of a status word sequence number check module according to the present invention;
FIG. 4 is a schematic diagram of a message data checking module in the present invention;
fig. 5 is a schematic diagram of a response time checking module according to the present invention.
Detailed Description
In order to make the objects, contents, and advantages of the present invention clearer, the following detailed description of the embodiments of the present invention will be made in conjunction with the accompanying drawings and examples.
As shown in fig. 1 and fig. 2, the present invention provides a 1553 bus function secure communication system, which mainly includes:
the functional safety BC is installed on a bus controller of a 1553 bus functional safety communication system and mainly comprises a host (used for sending and receiving user original data), a 1553 bus BC protocol controller (used for realizing conversion between the user original data and 1553 protocol data according to a 1553 bus BC protocol), the 1553 bus BC functional safety controller (with functional safety characteristics), a Manchester codec (for realizing Manchester coding and decoding on the 1553 protocol data) and a 1553 transceiver (for realizing transmission of Manchester codes on 1553 cables).
The functional safety RT is installed at a remote terminal of a 1553 bus functional safety communication system and mainly comprises a host (used for sending or receiving user original data), a 1553 bus RT protocol controller (used for realizing conversion between the user original data and 1553 protocol data according to a 1553 bus RT protocol), a 1553 bus RT functional safety controller (with functional safety characteristics), a Manchester codec (used for realizing Manchester encoding and decoding on the 1553 protocol data) and a 1553 transceiver (used for realizing transmission of Manchester codes on a 1553 cable).
1553 bus BC function safety controller:
1. and a state word sequence number checking module is utilized to extract and detect the state word sequence number and provide an interface for transmitting the detection result to the host.
2. The system comprises a message data check module, which is used for calculating, sending, receiving and detecting the message data check word and providing an interface for transmitting the detection result to a host.
3. The system comprises a response time checking module used for calculating and detecting response time and jitter.
1553 bus RT function safety controller:
1. and generating and sending the serial number of the state word by using the state word serial number checking module.
2. The system comprises the message data check module, which is used for calculating, sending, receiving and detecting the message data check word and providing an interface for transmitting the detection result to the host.
As shown in fig. 3, a counter is set in the status word sequence number checking module, and when the RT sends a status word, the counter value is incremented by 1;
a modulo-8 arithmetic unit is arranged in the state word serial number checking module, and binary numbers of 3 bits are obtained after modulo-8 arithmetic is carried out on the counter value and are used as the serial numbers of the RT sending state words;
a state word transmitter is arranged in the state word serial number checking module, and when the state word is transmitted, the sequence number of the RT transmission state word is written into a state word reserved bit (bits 12 to 14);
the state word serial number checking module is provided with a state word receiver for extracting the RT address (bits 4 to 8) and the reserved bit (bits 12 to 14) of the received state word, namely the RT sending state word serial number;
the state word sequence number checking module is internally provided with a comparator which compares the RT sending state word sequence number corresponding to the RT address with the BC receiving state word sequence number, if the state word sequence numbers are equal, the state word sequence number is checked successfully, otherwise, the state word sequence number is failed, and an interface is provided for transmitting the detection result to the host;
and the state word sequence number checking module is internally provided with a memory for storing the BC receiving state word sequence number according to the RT address, wherein the BC receiving state word sequence number is equal to the RT sending state word sequence number plus 1.
As shown in fig. 4, a CRC calculator is arranged in the message data checking module, and performs CRC16 calculation on valid data information to be sent by a message, so as to obtain a 16-bit binary calculation result;
the message data check module is provided with a data word transmitter, the calculation result of the CRC16 is encoded according to the format of the data word to generate a message data check word, and then the message data check word is transmitted in a word interval-free mode after the transmission of the specified number of data words is finished;
the message data check module is provided with a data word receiver, and after a specified number of data words of a message are received, 1 data word, namely a message data check word, is received again in a word interval-free mode;
and a CRC checker is arranged in the message data checking module, the CRC checking is carried out on the effective data information in the message data word and the message data checking word, if the checking result is consistent, the message data checking is successful, otherwise, the message data checking is failed, and an interface is provided for transmitting the detection result to the host.
As shown in fig. 5, a memory is provided in the response time checking module, and is configured to store the maximum value and the minimum value of the response time according to the RT address, and provide an interface for host configuration;
a timer is arranged in the response time checking module, and the message interval time between the command and the response is calculated according to the RT address;
and the response time checking module is internally provided with a comparator, if the calculated response time exceeds the maximum response time value of the corresponding RT address or is less than the minimum response time value of the corresponding RT address, the response time checking fails, otherwise, the response time checking succeeds, and an interface is provided for transmitting the detection result to the host.
The above description is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, several modifications and variations can be made without departing from the technical principle of the present invention, and these modifications and variations should also be regarded as the protection scope of the present invention.

Claims (3)

1. A 1553 bus functional safety communication system, comprising: functional safety BC and functional safety RT;
the functional safety BC is arranged on a bus controller of a 1553 bus functional safety communication system, and comprises: the system comprises a host, a 1553 bus BC protocol controller, a 1553 bus BC function safety controller, a Manchester codec and a 1553 transceiver; the host is used for sending and receiving user original data, the 1553 bus BC protocol controller is used for realizing conversion between the user original data and 1553 protocol data according to a 1553 bus BC protocol, the Manchester codec is used for realizing Manchester encoding and decoding on the 1553 protocol data, and the 1553 transceiver is used for realizing transmission of Manchester codes on a 1553 cable;
the function safety RT is arranged at a remote terminal of a 1553 bus function safety communication system and comprises a host, a 1553 bus RT protocol controller, a 1553 bus RT function safety controller, a Manchester codec and a 1553 transceiver; the host is used for sending or receiving user original data, the 1553 bus RT protocol controller is used for realizing conversion between the user original data and 1553 protocol data according to a 1553 bus RT protocol, the Manchester codec is used for realizing Manchester encoding and decoding on the 1553 protocol data, and the 1553 transceiver is used for realizing transmission of Manchester codes on a 1553 cable;
the 1553 bus BC function safety controller utilizes a state word sequence number checking module to extract and detect the state word sequence number and provides an interface for transmitting the detection result to a host; the system comprises a message data check module, a host computer and a message data check module, wherein the message data check module is used for calculating, sending, receiving and detecting message data check words and providing an interface for transmitting a detection result to the host computer; the system comprises a response time checking module, a jitter detection module and a response time checking module, wherein the response time checking module is used for calculating and detecting response time and jitter;
the 1553 bus RT function safety controller generates and sends a state word serial number by using the state word serial number checking module; the system comprises a message data check module, a host computer and a message data check module, wherein the message data check module is used for calculating, sending, receiving and detecting message data check words and providing an interface for transmitting a detection result to the host computer;
a counter is arranged in the state word sequence number checking module, and when the RT sends the state word, the value of the counter is added with 1; setting a modulo-8 arithmetic unit, and carrying out modulo-8 arithmetic on the counter value to obtain a binary number of 3 bits as a serial number of a state word sent by the RT; setting a state word transmitter, and writing the sequence number of the RT transmission state word into a state word reserved bit when the state word is transmitted; setting a state word receiver, extracting the RT address and the reserved bit of the received state word, namely the sequence number of the RT sending state word; setting a comparator, comparing the RT sending state word sequence number corresponding to the RT address with the BC receiving state word sequence number, if the state word sequence numbers are equal, the state word sequence number is successfully verified, otherwise, the state word sequence number fails, and providing an interface for transmitting the detection result to the host; and a memory is also arranged for storing the sequence number of the BC receiving state word according to the RT address, wherein the sequence number of the BC receiving state word is equal to the sequence number of the RT sending state word plus 1.
2. The system of claim 1, wherein a CRC calculator is provided in the message data check module to perform CRC16 calculation on valid data information to be transmitted for a message, resulting in a 16-bit binary calculation result; setting a data word transmitter, encoding the calculation result of the CRC16 according to the format of the data word to generate a message data check word, and then after the transmission of a specified number of data words is finished, transmitting the message data check word in a word interval-free mode; setting a data word receiver, and receiving 1 data word, namely a message data check word, in a word interval-free mode after receiving a specified number of data words of a message; setting a CRC checker, carrying out CRC check on the effective data information in the message data word and the message data check word, if the check result is consistent, the message data check is successful, otherwise, the message data check is failed, and providing an interface for transmitting the detection result to the host.
3. The system of claim 1, wherein the response time checking module is provided with a memory for storing the maximum value and the minimum value of the response time according to the RT address and providing an interface for host configuration; setting a timer, and calculating the message interval time between the command and the response according to the RT address; and setting a comparator, if the calculated response time exceeds the maximum response time of the corresponding RT address or is less than the minimum response time of the corresponding RT address, the response time verification fails, otherwise, the response time verification succeeds, and an interface is provided for transmitting the detection result to the host.
CN201811210438.7A 2018-10-17 2018-10-17 1553 bus function safety communication system Active CN109361583B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811210438.7A CN109361583B (en) 2018-10-17 2018-10-17 1553 bus function safety communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811210438.7A CN109361583B (en) 2018-10-17 2018-10-17 1553 bus function safety communication system

Publications (2)

Publication Number Publication Date
CN109361583A CN109361583A (en) 2019-02-19
CN109361583B true CN109361583B (en) 2020-11-06

Family

ID=65349569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811210438.7A Active CN109361583B (en) 2018-10-17 2018-10-17 1553 bus function safety communication system

Country Status (1)

Country Link
CN (1) CN109361583B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113268369B (en) * 2021-04-26 2022-12-16 上海卫星工程研究所 On-board computer fault diagnosis processing method and system based on working state report

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8549389B2 (en) * 2011-05-24 2013-10-01 Honeywell International Inc. Systems and methods for 1553 bus operation self checking
CN104320224B (en) * 2014-10-13 2017-09-29 北京航天自动控制研究所 A kind of reliability communications method based on 1553B buses
CN106502953B (en) * 2016-11-16 2019-03-15 天津津航计算技术研究所 The method for improving 1553 bus transfer bandwidth

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于1553B协议的总线控制器和远程终端的FPGA实现;孙涛;《中国科学院研究生院学报》;20100715;第27卷(第4期);全文 *
基于FPGA的1553B总线板卡的设计;夏清发;《计算机工程与设计》;20121116;第33卷(第11期);全文 *

Also Published As

Publication number Publication date
CN109361583A (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN111130689B (en) System and method for transmitting data and data check fields
US10382222B2 (en) Method for protecting configuration data from a data bus transceiver, data bus transceiver and data bus system
US8949606B2 (en) Prevention of masquerade by using identification sequences
CN108599896B (en) CRC (Cyclic redundancy check) system and method based on redundant coding system
CN107306185B (en) Method and device for avoiding manipulation of data transmission
CN105144588B (en) The coding of error detection RLL code
Urrea et al. Implementation of error detection and correction in the Modbus-RTU serial protocol
CN107493292B (en) Heterogeneous multi-channel safety isolation information transmission system and method
JP2003229875A (en) Method for recognizing data transmission error in can controller, can controller, program, recording medium, and control device
US20170126701A1 (en) Method and device for the protection of data integrity through an embedded system having a main processor core and a security hardware module
CN109361583B (en) 1553 bus function safety communication system
US20060187932A1 (en) Method and system for transmitting telegrams
KR20110040004A (en) System and apparatus for transferring data only in one direction
CN112835841A (en) ASIC data safe transmission and storage device and method based on serial port communication
CN115004743A (en) Functional safety of battery management system
JP2012175537A (en) Radio communication system, radio transmitter, radio receiver, and radio communication method
WO2023045795A1 (en) Infrared communication method and apparatus, and storage medium and electronic apparatus
CN109286549B (en) 1553 bus function safety communication method
CN114124745B (en) Method and system for diagnosing MVB communication faults
JP3059305B2 (en) Transmission error detection method and transmission system using the same
JP3866708B2 (en) Remote input / output device
CN114826752B (en) Signal encryption method, signal encryption device and terminal equipment
US5394438A (en) Data transmitting method
CN111490919A (en) Master-slave machine system, equipment terminal and communication verification method thereof
JP2002261737A (en) Transmission data loss detection system

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