Skip to content

Conversation

@lukecologne
Copy link
Member

Summary of Changes

This PR fully reworks the ADIRS.

ADIRS Mode Selector Unit (MSU) and ADIRU Interface:

  • The ADR and IR OFF are now momentary pushbuttons. The state is handled by the ADIRUs, which emit an OFF discrete, which can also be affected by selecting the ADIRU mode to OFF (lights will extinguish).

ADIRU simulation:

  • The ADIRUs are now simulated as a computer with it's powersupplies, and separated ADR and IR runtimes
    • This includes simulation of the primary (AC) and backup (DC) supplies, time delay at opening relays to disconnect the DC powersupply 5min after power loss, and power supply switching of ADIRU 3 depending on the ATT/HDG selector knob
    • The OFF mode selector switch position now properly cuts the power supply of the ADIRU internally
    • The IR now receives and selects between the 3 other ADRs (for wind and baro inertial computation) depending on SDI and for ADIRU 3 the position of the ATT/HDG and AIR DATA knob.
  • For the A320: the ON BAT indication is now fully simulated, along with the MECH CALL horn after 15s

For the A380 the MFP, SSP and ISP, and for the A320 the ADMs, their powersupply and the analog inputs for AOA and TAT are not simulated yet.
However, the power simulation already increases the accuracy of various other failures, mainly those which include effects on the electrical network.

Note: this is currently based on the GPWS PR #10388, since it includes some general changes to the logic nodes and A429 classes that are used here.

Screenshots (if necessary)

References

Additional context

Discord username (if different from GitHub):

Testing instructions

How to download the PR for QA

Every new commit to this PR will cause new A32NX and A380X artifacts to be created, built, and uploaded.

  1. Make sure you are signed in to GitHub
  2. Click on the Checks tab on the PR
  3. On the left side, find and click on the PR Build tab
  4. Click on either flybywire-aircraft-a320-neo, flybywire-aircraft-a380-842 (4K) or flybywire-aircraft-a380-842 (8K) download link at the bottom of the page

bus.body_yaw_rate.set(r, ssm);

// Calculate attitude rates, by applying the inverse body coordinate transformation matrix.
bus.track_angle_rate.set(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wouldn't this be the yaw/heading angle rate, considering it is based on body rates?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that's correct. In the previous IR, this was actually called heading rate, but this does apparently not exist in the IR bus, only track angle rate. Currently I only renamed it without changing the calculation behind it

@lukecologne lukecologne force-pushed the adiru_computer_refactor branch 5 times, most recently from a51f7a2 to 180282c Compare January 2, 2026 01:19
Copy link

@6639835 6639835 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work man

@lukecologne lukecologne force-pushed the adiru_computer_refactor branch 7 times, most recently from 5cb23d9 to fb0197b Compare January 6, 2026 02:57
@lukecologne lukecologne force-pushed the adiru_computer_refactor branch 3 times, most recently from e670d02 to 33ac747 Compare January 16, 2026 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants