Military Communications and Information Technology: A Trusted ...

Military Communications and Information Technology: A Trusted ... Military Communications and Information Technology: A Trusted ...

22.01.2015 Views

98 Military Communications and Information Technology... This time interval is set into the comparative timer register of the microcontroller. The message is sent only once in the time-triggered mode, no further arbitration is performed. Each row of the matrix is begun by synchronization message [6, 7], followed by the CAN ID that characterize the various flight parameters. Free frames reserved for asynchronous messages of the CANaerospace protocol can be found here. The time required for the matrix reconfiguration depends on its dimension, e.g. reconfiguration of the matrix with size of 10 x 6, takes 77.76 ms. This value is not critical. However, complete on-board aircraft electronic system provides far greater number of messages. For imagination, the time required for the Cycle matrix reconfiguration with maximum possible number of elements, which enables CANaerospace protocol specification [5], it is the matrix of size 256 x 256, is 1 min 25 s. This time, when the system does not provide any data, is quite critical and can have fatal consequences for flight safety. Maximal system bit rate reduces the value to 10.62 s. This time is also still quite critical, and therefore it is necessary to select a compromise among the transmission period of synchronous messages, the number of necessary broadcast messages and the number of elements in the Cycle matrix. In the case, that is impossible to avoid the number of elements of the Cycle matrix approaching to the possible maximum according to the CANaerospace specification, it is necessary to use some other reconfiguration algorithm of the Cycle matrix [6, 7 and 9]. IV. Mathematical analysis Certain parameters, which quantitatively express the level of communication over the bus is necessary to establish to evaluate the communication behavior on the bus. The most important parameters for the mathematical analysis of the bus behavior are bus capacity C CANAS and bus utilization U. To obtain these parameters is important to come out of the following values. The data frame length n D is considered for 11-bit identifier. It is possible to work with up to 2 11 messages, which is 2048 with 11-bit identifier. Such number of messages is excessively adequate for designed on-board aircraft electronic system. Data frame length n D in this case is given by: 348N D nDround 478N D 5 (3) where N D is number of data byte. Round function signifies cutting off the decimal part. Division by five in the argument of the function is due to the application of stuff bits insertion mechanism. Number of stuff bits is not possible or hardly ever to analytically determine. Inserting or not inserting of stuff bits depends on a combination of bits in the CAN identifier, data length control field, data field and CRC sequence [4, 6], when more than five bits of the same level must not follow, so here is the stuff bit inserted.

Chapter 1: Concepts and Solutions for Communications and Information Systems 99 In the case of CANaerospace protocol, when all 8 bytes of data are transmitted, mean length of the data frame 123 bits is taken in a count. The data frame length without bit stuffing mechanism application is 111 bits and in case of maximum bit stuffing is 135 bits. The duration of one bit transmission τ is defined by reciprocal value of bus bit rate according to the equation: 1 (4) bitrate The transmission message period is very important parameter for the following calculations. In this case it is transmission message period at hundred percent of bus utilization, thus when the messages are transmitted in close behind. For the transmission message period p U100% is defined equation: p U100% n (5) Hundred percent of bus utilization is supposed during the bus capacity calculation C CANAS , when the transmission message period is given by n D τ. The bus capacity determines the number of messages that is possible to send over the bus per second. Then the bus capacity is defined by: 1 CCANAS (6) p D U100% Maximum bus capacity reaches at the minimum data frame length and the maximum bit rate. The value of maximum bus capacity is the 8771 messages/s. The value of maximum bus capacity depends on the number of inserted complementary bits in the process of bit stuffing. The occurrence of these bits is very stochastic. Bus utilization by synchronous messages is defined by: U S M 1 nS 100 (7) p i1 where U S is bus utilization by synchronous messages, n S is frame length of synchronously transmitted message, p S is transmission period of synchronous message frames. The maximum bus utilization by synchronous messages is reached at the state of maximum bit rate 1 Mbit/s and at small transmission message period. Bus utilization by asynchronous messages is defined by: M S UAS nAS xAS 100 (8) i where U AS is bus utilization by asynchronous messages, n AS is frame length of asynchronously transmitted message, x AS is a number of asynchronous message transmitted frames.

98 <strong>Military</strong> <strong>Communications</strong> <strong>and</strong> <strong>Information</strong> <strong>Technology</strong>...<br />

This time interval is set into the comparative timer register of the microcontroller.<br />

The message is sent only once in the time-triggered mode, no further<br />

arbitration is performed.<br />

Each row of the matrix is begun by synchronization message [6, 7], followed by<br />

the CAN ID that characterize the various flight parameters. Free frames reserved for<br />

asynchronous messages of the CANaerospace protocol can be found here. The time<br />

required for the matrix reconfiguration depends on its dimension, e.g. reconfiguration<br />

of the matrix with size of 10 x 6, takes 77.76 ms. This value is not critical.<br />

However, complete on-board aircraft electronic system provides far greater number<br />

of messages. For imagination, the time required for the Cycle matrix reconfiguration<br />

with maximum possible number of elements, which enables CANaerospace<br />

protocol specification [5], it is the matrix of size 256 x 256, is 1 min 25 s. This time,<br />

when the system does not provide any data, is quite critical <strong>and</strong> can have fatal consequences<br />

for flight safety. Maximal system bit rate reduces the value to 10.62 s. This<br />

time is also still quite critical, <strong>and</strong> therefore it is necessary to select a compromise<br />

among the transmission period of synchronous messages, the number of necessary<br />

broadcast messages <strong>and</strong> the number of elements in the Cycle matrix. In the case,<br />

that is impossible to avoid the number of elements of the Cycle matrix approaching<br />

to the possible maximum according to the CANaerospace specification, it is necessary<br />

to use some other reconfiguration algorithm of the Cycle matrix [6, 7 <strong>and</strong> 9].<br />

IV. Mathematical analysis<br />

Certain parameters, which quantitatively express the level of communication<br />

over the bus is necessary to establish to evaluate the communication behavior on<br />

the bus. The most important parameters for the mathematical analysis of the bus<br />

behavior are bus capacity C CANAS <strong>and</strong> bus utilization U. To obtain these parameters<br />

is important to come out of the following values.<br />

The data frame length n D is considered for 11-bit identifier. It is possible to<br />

work with up to 2 11 messages, which is 2048 with 11-bit identifier. Such number<br />

of messages is excessively adequate for designed on-board aircraft electronic system.<br />

Data frame length n D in this case is given by:<br />

348N<br />

D<br />

<br />

nDround<br />

478N<br />

D<br />

5<br />

<br />

(3)<br />

<br />

where N D is number of data byte.<br />

Round function signifies cutting off the decimal part. Division by five in the argument<br />

of the function is due to the application of stuff bits insertion mechanism.<br />

Number of stuff bits is not possible or hardly ever to analytically determine. Inserting<br />

or not inserting of stuff bits depends on a combination of bits in the CAN<br />

identifier, data length control field, data field <strong>and</strong> CRC sequence [4, 6], when more<br />

than five bits of the same level must not follow, so here is the stuff bit inserted.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!