Sunday, May 26, 2019

Arinc429 - Improved hardware

After dedicating some time to this project (Unfortunately not too much time available nowadays) I came out with a better solution for the Drivers and Receivers.

A few improvements:

  • 4x TX channels with the proper trapezoidal shape and protection (Fuses), where each channel supports to be configured as Low or High speed.
  • 4x RX channels with protection and analog signal conditioning. Supports both Low and High speed signals.
  • Galvanic isolation has been implemented.
  • The analog circuitry input voltage is 12 - 28 Vdc. The board generates the dual rail voltages needed to drive the TX channels and RX channels.
  • Using STM32F407 as a real time system to run the TX Labels timetable and process RX labels.
  • USB High Speed 2.0 operating as HID device (Highly reliable)
  • Support for OLED display interface
  • The remaining GPIOs has been exposed.
  • Proper status LEDs for each channel.

The board has an approximate cost of 270 dollars (Assembly, components and PCB).




Friday, July 21, 2017

Arinc429 - Some Hardware

I haven't uploaded anything in a while, so today I have decided to share some schematics about the Arinc429 hardware.

I found two solutions that are low cost and perform pretty well. Some extra improvements can be done to this circuits and it is something that I'm willing to do the next weeks.

TX Driver

1) Solution using SPI interface

The first approach I had to implement a simplistic Arinc interface was creating a logic that converts SPI (Serial Peripheral Interface) serial protocol to Arinc.

The implementation looks like this:


Having SPI as the input, the circuit divides the serialized data into pulses of Ones and Zeros. This is later used to create a differential signal which drives the Arinc lines.

The output of the amplifiers are followed by impedance matching and line protection, as it can be seen here:



Within other benefits, many microcontrollers have already SPI modules implemented, and they can be accessed by DMA. This interface will be fast and keep the MCU under low loads.


2) The second implemented solution was meant to reduce hardware and move the logic to the firmware.
I decided to use out of the shelf opamps, which are quite capable but also affordable.


The inputs IA0 and IB0 are connected directly to GPIOs of the MCU and are configured as a Open Collector. This is because the output voltage is determined by the drop in R81 & R82.

RX Amplifier

We have then to convert a differential line that has data and clock signals packed together to two separated signals that represents the Ones and Zeros.


Starting from the left a protection circuity can be seen, protecting the device against over-voltage and open terminals.
Following the circuit there is a differential amplifier with unity gain that transforms the differential signal to a single ended signal.
After the conversion, a window comparator will just extract the positive pulses and the negative ones, which will be finally used to de-serialize the data packet.

Regarding the reference voltage for the +-3V can be done in many ways. There are plenty reference voltage generators out there.
My solution is very simplistic and not the most accurate one. Honestly I just didn't have other components on my shelf at the time!


Not to say that there is a ton of room for improvements here :) just take it as a hobby project!


What is missing....

As I said at the very beginning there are many improvements that can be done here:

a) More specific unity gain line drivers can be used to eliminate external resistors.
b) More specific line receivers can be found as well just to reduce external components.
c) The TX line driver needs slew rate control, this helps to recude commutation noise.
d) More filtering is recommended for the RX frontend.



Saturday, March 25, 2017

Vertical Speed - TCAS

Finally I got TCAS working on the Vertical Speed indicator.
Take a look to the video :)


The indicator is receiving two Labels, one BNR and the second one Discrete type for TCAS Advisory.
Fell free to contact me if you have questions about the interface or Data sent to the instrument.

Monday, February 27, 2017

Arinc 429 Driver

Has been a long time since my last post, but this las month I been working in a new Arinc 429 driver that provides 4 TX channels and 8 RX channels.
It is capable to manage several Labels and it is fully configurable.
The timing of the Labels are carefully controlled so each label has the proper scheduling in the Bus.
The system is using a small embedded PC that runs Linux, providing user interface for configuration.
The system is connected to the simulator PC using Ethernet.
Currently I'm using PSX and Q Codes for testing. For that reason I have implemented a Q Codes parser that it is generic. I have not tested all Q Codes, but the way that the parser is working allows the user to access all of them.

A short video with some instruments working :)


Thursday, June 23, 2016

Attitude Directional Indicator: First steps...

Hey! This time I desired to investigate an analog ADI unit used in a former 737. (See the video at the end !!)

The Unit...


Brand: Collins
PN: 787-6892-003

The device is a mixture of digital and analog electronics, so tat means that expects synchro transmitters signals and simple analog signals.

The insights....

Here we can see an overview of the mechanics parts:


This is the electronics section that is composed by 5 controller boards and 2 power supply boards attached in the back cover.


Mechanics from the top:


A closeup of the flight directo gears:


Some more pictures:


The test bench...

For this first test related with the Gyro inputs, I'm just powering up the unit with 26Vac 400Hz and connecting two synchros to emulate the Pitch and Roll signals.


A video about how this is working:


Sunday, June 19, 2016

EGT Indicator

Hello! I got a engine EGT indicator from a former 737-300.
This unit is very simple and uses thermocouples as sensors.

The unit...

Brand: Smith Industries
PN: WL202EED4


The electronics analysis...

This is what I got after analyse the boards inside:


Some testing...

Normal operation:


During BITE test:







N2 % RPM Indicator

This time I'm analyzing a N2 RPM indicator from a former 737-300.
This unit is working in a similar way than the N1 indicator that was reviewed in a previous post.

The Unit...

Brand: Smith Industries
PN: WL202EED4


The pinout...

After analyzing the important boards inside, I could take this notes:


Pretty simple to wire it, right?

Test of the unit...

In normal operation should look like this:


During the BITE test:


Applying pulses with a frequency range between 90 Hz and 2.78 KHz, produces this result: