CN108011693B - General data coding method based on ARINC429 bus communication - Google Patents
General data coding method based on ARINC429 bus communication Download PDFInfo
- Publication number
- CN108011693B CN108011693B CN201711094187.6A CN201711094187A CN108011693B CN 108011693 B CN108011693 B CN 108011693B CN 201711094187 A CN201711094187 A CN 201711094187A CN 108011693 B CN108011693 B CN 108011693B
- Authority
- CN
- China
- Prior art keywords
- physical quantity
- scale
- information identifier
- word format
- effective data
- 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
Images
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/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0006—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
-
- 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/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0006—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
- H04L1/0007—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format by modifying the frame length
-
- 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/004—Arrangements for detecting or preventing errors in the information received by using forward error control
- H04L1/0056—Systems characterized by the type of code used
- H04L1/0061—Error detection codes
-
- 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/24—Testing correct operation
- H04L1/245—Testing correct operation by using the properties of transmission codes
- H04L1/246—Testing correct operation by using the properties of transmission codes two-level transmission codes, e.g. binary
-
- 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
- H04L2001/0092—Error control systems characterised by the topology of the transmission link
- H04L2001/0094—Bus
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Detection And Correction Of Errors (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
The invention relates to a universal data coding method based on ARINC429 bus communication, which comprises the steps of establishing a communication structural body of each physical quantity, calculating the total number of the physical quantities to be analyzed, inputting the physical quantity to be transmitted, searching the length and the scale of effective data, converting the physical quantity into binary numbers in BCD data word format, checking parity and outputting character type original codes. The code combining method has the characteristics of flexibility, universality, good expansibility and high reliability.
Description
Technical Field
The invention belongs to the field of communication, relates to a data group code method, and mainly aims to provide a data group code based on ARINC429 bus communication.
Background
ARINC429 bus communication is in units of 4 bytes. The valid bits of the character transmission are 32 bits, where: the lower 8 bits are the information identifier, bit 32 is the parity bit for error detection and correction, bits 9, 10 are the destination/source receiver id, bits 11-29 are the data bits to be transmitted, and bits 30, 31 are the symbol/state matrix.
The types of data transmitted by ARINC429 include BNR data, BCD data, and discrete data. The BNR data and the discrete data are represented by binary data and can be directly transmitted. When the type of data transmitted by ARINC429 is BCD data, i.e., decimal number represented by binary, the data area is divided from lower to upper bits in units of four bits to obtain five subfields. The BCD data word format is as follows.
TABLE 1 BCD data word Format
In the process of sending BCD data, floating point type data to be sent needs to be converted into corresponding binary number for transmission according to a digital interface communication protocol, that is, the sent physical quantity is converted into corresponding character type source codes.
Because the information identifier, the effective data length and the scale of the transmitted data are different, independent code grouping is required according to the characteristics of each data. If the method is implemented by a direct shift method, the procedure is tedious, not easy to change, and is easy to make mistakes in implementation.
Disclosure of Invention
The purpose of the invention is: a universal data coding method for ARINC429 bus communication is provided, so that the coding is more flexible and universal, the development time and cost are saved, and the implementation process is simple, convenient, easy to implement and reliable.
In view of the above problems of the prior art, according to one aspect of the present disclosure, the following technical solutions are adopted in the present invention:
a universal data coding method based on ARINC429 bus communication comprises the following steps:
1) the information identifier, the effective data length and the information of the scale are represented by a structural body;
2) establishing a communication structure body of each physical quantity according to each physical quantity information to be sent;
3) calculating the total number of the physical quantities to be analyzed according to the established communication structure;
4) inputting a physical quantity to be sent and a corresponding identifier thereof;
5) comparing the input information identifier with the information identifier in the communication structure, circularly searching the effective data length and the scale corresponding to the information identifier, stopping searching if the corresponding effective data length and the scale are found before all circulation is finished, and unsuccessfully assembling codes if the corresponding effective data length and the scale are not found all the time;
6) converting the input physical quantity into a decimal integer number according to the scale searched in the step 5);
7) converting the decimal integer number into a binary number meeting the BCD data word format according to the effective data length searched in the step 5);
8) judging the sign of the physical quantity, and setting the sign/state matrix position according to the sign;
9) splicing the calculated binary codes according to a BCD data word format, and setting a parity check bit according to a parity check mode specified by a communication protocol;
10) and outputting the character type original code for transmission.
The method is characterized in that the total number of the physical quantities to be analyzed is calculated by dividing the total length of the bytes of the established communication structure by the length of the bytes of the structure of a single physical quantity.
The method is characterized in that the cycle number in the step 5) is the maximum of the total number of the physical quantities.
The method is characterized in that the calculated binary codes are spliced according to a BCD data word format, specifically, the binary numbers obtained in the step 7), the symbol/state matrix bits obtained in the step 8) and the information identifier are spliced according to the BCD data word format.
Has the advantages that:
when ARINC429 bus data is sent, the code combining method of the invention can be used for directly converting the physical quantity to be sent into transmissible BCD data according to the requirements of a digital communication protocol.
Drawings
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
Referring to fig. 1, the universal data group code method based on ARINC429 bus communication of the present invention includes the following steps:
1) the information identifier, the effective data length and the information of the scale are represented by a structural body;
2) establishing a communication structure body of each physical quantity according to each physical quantity information to be sent;
3) calculating the total number of the physical quantities to be analyzed by dividing the total length of the bytes of the established communication structure by the length of the bytes of the structure of a single physical quantity;
4) inputting a physical quantity to be sent and a corresponding identifier thereof;
5) comparing the input information identifier with the information identifier in the communication structure, circularly searching the effective data length and the scale corresponding to the information identifier, wherein the number of the circulation is the maximum number of the total physical quantities, if the corresponding effective data length and the scale are found before all circulation is completed, stopping searching, and if the corresponding effective data length and the scale are not found, the code combination is not successful;
6) converting the input physical quantity into a decimal integer number according to the scale searched in the step 5);
7) converting the decimal integer number into a binary number meeting the BCD data word format according to the effective data length searched in the step 5);
8) judging the sign of the physical quantity, and setting the sign/state matrix position according to the sign;
9) splicing the binary number obtained in the step 7), the symbol/state matrix bit and the information identifier obtained in the step 8) according to a BCD data word format, and setting a parity check bit according to a parity check mode specified by a communication protocol;
10) and outputting the character type original code for transmission.
The invention has been successfully applied to data coding in a plurality of ARINC429 bus communication processes, and has achieved expected effects and effective verification. The ARINC429 bus communication-based universal data coding method is reasonable and reliable, and has a very wide application prospect.
Claims (4)
1. A universal data coding method based on ARINC429 bus communication comprises the following steps:
1) the information identifier, the effective data length and the information of the scale are represented by a structural body;
2) establishing a communication structure body of each physical quantity according to each physical quantity information to be sent;
3) calculating the total number of the physical quantities to be analyzed according to the established communication structure;
4) inputting a physical quantity to be sent and a corresponding identifier thereof;
5) comparing the input information identifier with the information identifier in the communication structure, circularly searching the effective data length and the scale corresponding to the information identifier, stopping searching if the corresponding effective data length and the scale are found before all circulation is finished, and unsuccessfully assembling codes if the corresponding effective data length and the scale are not found all the time;
6) converting the input physical quantity into a decimal integer number according to the scale searched in the step 5);
7) converting the decimal integer number into a binary number meeting the BCD data word format according to the effective data length searched in the step 5);
8) judging the sign of the physical quantity, and setting the sign/state matrix position according to the sign;
9) splicing the binary number obtained in the step 7), the symbol/state matrix bit and the information identifier obtained in the step 8) according to a BCD data word format, and setting a parity check bit according to a parity check mode specified by a communication protocol;
10) and outputting the character type original code for transmission.
2. The method as claimed in claim 1, wherein the total number of the physical quantities to be analyzed is calculated according to the total byte length of the established communication structure divided by the byte length of the structure of a single physical quantity.
3. The method as claimed in claim 1, wherein the number of loops in step 5) is at most the total number of physical quantities.
4. The method as claimed in claim 1, wherein the calculated binary codes are concatenated according to BCD data word format, specifically, the binary numbers obtained in step 7), the symbol/state matrix bits and the information identifier obtained in step 8) are concatenated according to BCD data word format.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711094187.6A CN108011693B (en) | 2017-11-08 | 2017-11-08 | General data coding method based on ARINC429 bus communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711094187.6A CN108011693B (en) | 2017-11-08 | 2017-11-08 | General data coding method based on ARINC429 bus communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108011693A CN108011693A (en) | 2018-05-08 |
CN108011693B true CN108011693B (en) | 2020-09-11 |
Family
ID=62051290
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711094187.6A Active CN108011693B (en) | 2017-11-08 | 2017-11-08 | General data coding method based on ARINC429 bus communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108011693B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116668195B (en) * | 2023-07-28 | 2023-09-26 | 沈阳航盛科技有限责任公司 | Transmission method for radio frequency analog terminal 429 communication protocol |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075290A (en) * | 2010-12-23 | 2011-05-25 | 西北工业大学 | Aerial bus data coding and decoding methods |
CN102098131A (en) * | 2009-12-15 | 2011-06-15 | 航天科工惯性技术有限公司 | Dynamic parameter configuration-based general framing and de-framing method for serial port data frames |
CN103731421A (en) * | 2013-12-20 | 2014-04-16 | 江苏锐天信息科技有限公司 | ARINC429 bus digital simulation communication method based on Ethernet |
CN103944898A (en) * | 2014-04-17 | 2014-07-23 | 哈尔滨工业大学 | ARINC429 encoding and decoding logic achieving method based on state machine |
CN104461881A (en) * | 2014-12-03 | 2015-03-25 | 陕西千山航空电子有限责任公司 | ICD-oriented ARINC429 bus signal simulation test assembly |
CN104468047A (en) * | 2014-12-15 | 2015-03-25 | 四川九洲空管科技有限责任公司 | Self-adaptive interface transmitting method and device |
CN104486034A (en) * | 2014-12-08 | 2015-04-01 | 江西洪都航空工业集团有限责任公司 | RS422/485 serial port communication data packaging method |
CN105893314A (en) * | 2016-06-13 | 2016-08-24 | 江西洪都航空工业集团有限责任公司 | Universal data decoding method based on RS422/485 serial port communication |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6625504B2 (en) * | 2001-03-22 | 2003-09-23 | Honeywell International Inc. | Auxiliary power unit engine monitoring system |
-
2017
- 2017-11-08 CN CN201711094187.6A patent/CN108011693B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102098131A (en) * | 2009-12-15 | 2011-06-15 | 航天科工惯性技术有限公司 | Dynamic parameter configuration-based general framing and de-framing method for serial port data frames |
CN102075290A (en) * | 2010-12-23 | 2011-05-25 | 西北工业大学 | Aerial bus data coding and decoding methods |
CN103731421A (en) * | 2013-12-20 | 2014-04-16 | 江苏锐天信息科技有限公司 | ARINC429 bus digital simulation communication method based on Ethernet |
CN103944898A (en) * | 2014-04-17 | 2014-07-23 | 哈尔滨工业大学 | ARINC429 encoding and decoding logic achieving method based on state machine |
CN104461881A (en) * | 2014-12-03 | 2015-03-25 | 陕西千山航空电子有限责任公司 | ICD-oriented ARINC429 bus signal simulation test assembly |
CN104486034A (en) * | 2014-12-08 | 2015-04-01 | 江西洪都航空工业集团有限责任公司 | RS422/485 serial port communication data packaging method |
CN104468047A (en) * | 2014-12-15 | 2015-03-25 | 四川九洲空管科技有限责任公司 | Self-adaptive interface transmitting method and device |
CN105893314A (en) * | 2016-06-13 | 2016-08-24 | 江西洪都航空工业集团有限责任公司 | Universal data decoding method based on RS422/485 serial port communication |
Non-Patent Citations (3)
Title |
---|
"ARINC429-Protocol-Tutorial";ZHHKTECH Co.ltd;《ARINC429-Protocol-Tutorial》;20050523;全文 * |
ARINC429数据总线;吴卫玲;《军用飞机座舱显控技术》;20161001;第99-104页 * |
ARINC429航空通讯总线的设计;姜运生;《电子元器件应用》;20040731;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN108011693A (en) | 2018-05-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102098131B (en) | Dynamic parameter configuration-based general framing and de-framing method for serial port data frames | |
CN101702639B (en) | Check value calculation method and device of cyclic redundancy check | |
CN105450232A (en) | Encoding method, decoding method, encoding device and decoding device | |
CN102546089B (en) | Method and device for implementing cycle redundancy check (CRC) code | |
CN105677686A (en) | Road coding method and device | |
CN101453221A (en) | Mapper based on bit weaving code modulation system and mapping process thereof | |
US11178212B2 (en) | Compressing and transmitting structured information | |
CN111698271B (en) | HDLC protocol IP core | |
CN108694918A (en) | Coding method and device, coding/decoding method and device and display device | |
CN108282265A (en) | Error correction/encoding method, device, equipment and computer readable storage medium | |
CN103312458A (en) | Hybrid coding method | |
CN108011693B (en) | General data coding method based on ARINC429 bus communication | |
CN109495211A (en) | A kind of channel coding and coding/decoding method | |
CN101588370A (en) | Analytic method of multirate communication data stream format | |
CN103036641A (en) | Method and system of data exchange and deserialization method | |
CN108270508A (en) | A kind of cyclic redundancy check (CRC) implementation method, device and the network equipment | |
CN107994970B (en) | General data decoding method based on ARINC429 bus communication | |
CN101814976B (en) | Multi-type network data transmission method and device | |
CN112612638A (en) | Hardware implementation method based on USB3.2 protocol 16-bit cyclic redundancy check | |
CN101588222B (en) | Communication adapter with error correction processing function and application thereof | |
CN101442380A (en) | Method and apparatus for testing error rate based on high speed serial interface encoded mode | |
US9872035B2 (en) | System and method for transcoding data | |
CN105099571B (en) | A kind of audio communication method | |
CN107608679A (en) | A kind of method by the efficient programming data of set top box of Socket | |
CN114070470A (en) | Encoding and decoding method and device |
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 |