5.5.28 · D4Embedded Systems & Real-Time Software

Exercises — MIL-STD-1553 — military avionics bus

2,480 words11 min readBack to topic

Before we start, three numbers we will reuse constantly. They come straight from the standard and we will never assume them silently:


Level 1 — Recognition

Exercise 1.1 — Name the node

A radar box on the bus only ever transmits when the Bus Controller commands it to. It never starts a conversation on its own. What node type is it, and why can it never speak first?

Recall Solution

It is a Remote Terminal (RT). In 1553 there is exactly one Bus Controller (BC) and it owns every microsecond of bus time. An RT is a slave: it transmits only in response to a command word addressed to it. Speaking first would mean two devices could talk at once — a collision — which the command/response design forbids by construction.

Exercise 1.2 — Read the command word fields

A command word carries RT Addr = 7, T/R = 1, Subaddr = 2, Word Count = 4. In plain English, what is the BC asking?

Recall Solution
  • RT Addr = 7 → address device number 7.
  • T/R = 1Transmit: the RT should send data (1 = transmit, 0 = receive).
  • Subaddr = 2 → from its sub-channel 2.
  • Word Count = 4 → send 4 data words.

Plain English: "RT #7, send me 4 words from your subaddress 2."

Exercise 1.3 — Which encoding, and why

The bus guarantees a voltage transition in the middle of every bit. Name this encoding and state the single problem it solves.

Recall Solution

It is Manchester II encoding. The problem it solves is receiver clock drift: a long run of identical bits (e.g. 100 zeros) in plain NRZ gives no edges, so the receiver loses track of where bits begin. A guaranteed mid-bit edge every lets the PLL stay locked. (See Manchester Encoding.)


Level 2 — Application

Exercise 2.1 — Time one word

How many microseconds does a single 1553 word occupy on the bus? Show the arithmetic.

Recall Solution

One word = . This is the atom of every timing calculation below.

Exercise 2.2 — Time a full BC-reads-RT transaction

The BC reads 8 data words from an RT. The sequence is: command word, a response gap, the RT's status word, then the 8 data words back-to-back. Use a response gap. Compute the total transaction time. See the timeline figure.

Figure — MIL-STD-1553 — military avionics bus
Recall Solution

Count every word and gap on the timeline (red bracket = total):

Total = ====.

(The parent note used a gap to get ; with the minimum gap we get . The formula is identical — only the gap value changed.)

Exercise 2.3 — Bus utilisation

That same 8-word radar read happens 50 times per second (a 50 Hz update). What fraction of the bus's time does it use? Give a percentage.

Recall Solution

Time used per second: One second is , so: The bus is about 1% busy. Plenty of room — exactly why 1 Mbit/s is enough for tiny messages.


Level 3 — Analysis

Exercise 3.1 — Manchester sync detection

The sync field is of a single level, which is invalid as Manchester data. Explain, using the max-no-edge rule, why can never appear inside real data — and why that makes sync unambiguous.

Recall Solution

In Manchester II every bit has a mid-bit edge, so the longest stretch with no transition is half a bit before one edge plus half a bit after the next — at most one full bit-time between forced edges, i.e. of same level in worst-case adjacent bits. A sync holds one level for a full , which exceeds that limit. Because data cannot produce of flat level, the receiver treats it as a guaranteed word boundary — no data pattern can ever imitate it.

Exercise 3.2 — Dual-bus failure probability

Each bus fails independently with probability per flight hour. Compare the comm-loss probability for a single bus vs. dual-redundant buses, and state the improvement factor.

Recall Solution
  • Single bus: (0.2% per hour).
  • Dual redundant: comm is lost only if both fail: Improvement factor: Dual redundancy is 500× safer here. (Independence is the key assumption — shrapnel cutting both wires together would violate it, which is why the two buses are physically routed apart.)

Exercise 3.3 — Differential noise rejection

Wire A carries , wire B carries . A burst of engine-ignition noise adds to both wires equally. Compute the differential voltage the receiver sees, and explain why the noise vanished.

Recall Solution

The noise appears in both terms and subtracts away. The receiver still reads (a clean logic 1). This is common-mode rejection: noise that hits both wires equally cancels in the difference. (Same principle as RS-485 Protocol.)


Level 4 — Synthesis

Exercise 4.1 — Design a minor-frame schedule

You must poll three RTs on one bus:

  • RT-1: read 4 words @ 100 Hz
  • RT-2: read 16 words @ 50 Hz
  • RT-3: write 2 words @ 25 Hz

Use a response gap and, for writes, the skeleton command + gap + N·data + status (BC sends data, RT replies with status). A "minor frame" is the repeating time slot; choose the shortest minor-frame period that divides all rates. (a) Give the minor-frame period. (b) Compute each transaction's length. (c) Give worst-case bus utilisation.

Recall Solution

(a) Minor frame. The fastest rate is 100 Hz, so the base period is . In every frame: RT-1 runs every frame, RT-2 every 2nd frame (50 Hz), RT-3 every 4th frame (25 Hz). Minor frame = ====.

(b) Transaction lengths (read = cmd + gap + status + N·data; write = cmd + gap + N·data + status; both have 2 words of overhead beyond data plus one gap):

  • RT-1 read, 4 words: .
  • RT-2 read, 16 words: .
  • RT-3 write, 2 words: .

(c) Worst-case frame. The busiest frame is the one where all three land together (every 4th frame, since RT-3 is slowest). That frame carries: Utilisation in the worst frame: Worst-case bus load = 5.72%. Comfortably schedulable (see Real-Time Scheduling Theory and Time-Triggered Architectures).

Exercise 4.2 — Retry budget

A message is long. On a bad word the BC retries the whole message, up to 3 total attempts. What is the worst-case time this one message can consume before the BC gives up?

Recall Solution

Worst case = all 3 attempts happen (2 fail, the 3rd may also fail before giving up): Worst-case = ====. A scheduler must budget this maximum, not the nominal , or a noisy burst blows the frame.


Level 5 — Mastery

Exercise 5.1 — Choose the bus, defend it

An engineer proposes replacing the 1553 flight-control link with gigabit Ethernet "because it's 1000× faster." The control loop needs a guaranteed sensor-to-actuator latency under . State the one decisive reason Ethernet fails this requirement, and name what modern avionics actually use for the high-bandwidth (non-critical) traffic instead.

Recall Solution

Decisive reason: raw speed is irrelevant if latency is non-deterministic. Standard Ethernet (CSMA/CD, switch buffering) cannot guarantee a bounded worst-case delay — collisions and queueing add unpredictable jitter, so you cannot prove the bound. 1553's command/response schedule makes latency provable to the microsecond. Modern high-bandwidth choice: AFDX (Avionics Full-Duplex Switched Ethernet), which adds bandwidth reservation to bound latency — used for bulk sensor data while 1553 stays on the critical control loops. Contrast also with CAN Bus and ARINC 429, each with different determinism trade-offs.

Exercise 5.2 — Certification-driven trade-off

Dual-redundant 1553 reaches ~99.9999% availability, enough for DO-178C Certification Level A. Why does the standard stop at two buses instead of three? Argue with the reliability numbers.

Recall Solution

Going from one to two buses cuts comm-loss probability from to — a huge, cheap win. Going from two to three cuts it further to , but with already tiny (say ), already clears Level A's requirement. The third bus improves from to more reliability than the mission needs, at the cost of extra weight, wiring, transceivers, and validation effort. In avionics, weight is fuel and cost is schedule; you buy exactly the reliability the certification demands and no more. This is diminishing returns meeting a fixed requirement.

Exercise 5.3 — Design closure

Combine everything: on your bus from 4.1, a fourth device RT-4 must read 32 words @ 100 Hz (every frame). Using gaps, (a) compute RT-4's transaction time, (b) recompute the busiest-frame utilisation, and (c) state whether the bus is still schedulable (utilisation < 100%, with margin).

Recall Solution

(a) RT-4 read, 32 words (recall word count 0 encodes 32, the maximum): (b) RT-4 runs every frame, so it adds to the worst frame (4.1's ): Utilisation: (c) At 12.56% the bus is still easily schedulable — 87% idle margin remains, ample room for retries and future growth. The design closes.