Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This document aims to address the considerations that must be taken into account when using certain encoding type combinations and/or when defining signals' parameters for a given ARINC-429 message.

Anchor
BNRConsiderations
BNRConsiderations
BNR Considerations

  • The "Size" parameter value (number of bits) of this ARINC-429 driver Start bit" parameter does not include the BNR sign bit, e.g., 29.
  • The ARINC-429 RT-LAB driver supports signed BNR and also unsigned BNR encoding:
    • The signed BNR specifies a "Min/Max" range of "[ −Limit, +Limit [".
    • The unsigned BNR specifies a range of "[ 0.0, +Limit [".
  • The "Size (bits)" parameter value for a given BNR signal translation always does not includes the sign bit (both for single and mixed BNR signal types).
    Notice that, per ARINC convention, the "Digits" value does not include the sign bit when the signal is a single BNR signal (not mixed).
  • For signed BNR, the +Limit value must be the absolute value of −Limit, minus one resolution value.

Example:

For a signed BNR signal

Range (-256:255) [−256.0 : 256 [ and a resolution of 0.25 we can calculate the following values:

  • resolution = scale * 1/(2^Digits)
  • Digits = 10
  • scale = 256Scale = 256.0
  • Resolution = 0.25
  • Digits = log2(Scale / Resolution)
  • Max = −(Min) − Resolution


The configuration parameters for this signal would then be:

  • Start bit: 28
  • Size: 1110
  • Min: -256−256.0
  • Max: +255.75

For a un-signed unsigned BNR signal

Range ([ 0.0 : 512) 512 [ and a resolution of 0.25 we can calculate the following values:

  • resolution = scale * 1/(2^Digits)
  • Digits = 11
  • scale = 512Scale = 512.0
  • Resolution = 0.25
  • Digits = log2(Scale / Resolution)
  • Max = 512.0 − 0.25


The configuration parameters for this signal would then be:

  • Start bit: 28
  • Size: 11
  • Min: 0.0
  • Max: +511.75
bgcolor

Anchor

...

BCDConsiderations

...

Notice how the Size parameter always refers to the total number of actual bits needed for the correct signal representation while Digits excludes the sign bit from the count

BCDConsiderations
BCD Considerations

  • BCD signals, by definition, are divided into groups of 4 bits, however, when the Size" parameter of the signal is not a multiple of 4, special considerations must be taken regarding the Most Significant Digit (MSD) value.

    Example:
    • For Size =
    8
    • 6: MSD max value =
    9
    • 3 (binary
    1001
    • 011)
    • For Size = 7: MSD max value = 7 (binary 111)