Author Topic: Reverse-engineering misc. avionics (ongoing)  (Read 3678 times)

0 Members and 2 Guests are viewing this topic.

Offline D StraneyTopic starter

  • Regular Contributor
  • *
  • Posts: 189
  • Country: us
Reverse-engineering misc. avionics (ongoing)
« on: August 10, 2023, 12:47:54 am »
(First two parts are here and here)

Here's some random commercial-aircraft electronics boxes that showed up for cheap as extremely-used or "for parts" on eBay and seemed worth a teardown, but didn't have enough reverse-engineering value or interesting signal-processing stuff inside for an entire post on their own...

Raytheon audio distribution bus boxes: full photos for Analog Interface Unit and Cabin Distribution Bus Repeater
These seem to be part of some kind of aircraft-wide audio distribution system, which is digital (!): the repeater has an FPGA and some LVDS transceivers (DS26C31, DS26C32) inside...

...while the "audio interface unit" has the same:



I'm guessing that the Analog Interface Unit takes voice or other audio signals and adds them to the bus, along with some kind of muxing/control.  Besides a buck converter in the lower-left for its built-in power supply (MAX758), the same signal passes through 2 separate DC-blocking caps to 2 separate ICs, the MT8870DS and MC14L5480.

The MT8870DS is a DTMF decoder, which suggests that there's some kind of telephone-dialing-style control which goes on through the audio input.  I'm guessing this has something to do with routing, where the cockpit of an airliner could do general broadcast audio vs. calling only staff at a specific location, for example.  I don't know enough about the context to make a better guess at this.
The MC14L5480 is an audio-specific ADC/DAC, which seems to be made specifically for voice as it has BPFs built in as well as companding, for telephone-style applications where bit-rate is at a premium.

The rest of the circuitry in the analog interface unit is centered around a bunch of op-amps and analog switches.  There's also a trimmer accessible through the top cover, which has a testpoint on the outside, and which seems to set a voltage directly on one of the connector pins.  I'm not sure exactly what's happening there, and the 4-layer layout makes it much harder to figure out the connections here (which is why this post doesn't have a full schematic yet), but would like to see what's going on with that trim - will have to take a couple sewing needles and poke around for continuity tests at some point when I have the time and patience.

I was pretty surprised that all the communications here was digital, even for the late-90's date codes on both these boards: seems like analog audio distribution would've been comparatively simple enough to have persisted up until the last 10 years or so.  Maybe there's enough sources of interference though with all the various electronic systems on a typical aircraft that it made sense far earlier to distribute voice in a more noise-tolerant way; at least the telecom industry has experience with doing that at an absolute minimum bit-rate.
« Last Edit: April 25, 2024, 01:06:29 am by D Straney »
 
The following users thanked this post: Berni, xrunner, sean0118, Tomorokoshi, ch_scr

Offline D StraneyTopic starter

  • Regular Contributor
  • *
  • Posts: 189
  • Country: us
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #1 on: August 10, 2023, 01:03:39 am »
Diehl Fire Extinguisher Control Unit: full photos here

I was a bit disappointed by this one - had expected that something with such a critical-sounding function would have lots of redundancy and special reliability features: but no, it's pretty much just a processor with external inputs that controls some relays and external loads (probably solenoid valves).



The CPU board has a 68000-series processor, along with some TDE1373 and TDE1767 "lamp & relay drivers" - these have the normal set of protection features against over-temperature, short-circuit, etc. along with fault outputs so the CPU can watch for problems.  There's also a TS27M2 dual op-amp, which probably has something to do with temperature sensor inputs.

Haven't gotten around to tracing out the contents of these boards yet, but compared to the last ones they'll be much easier due to being only 2 layers and having no internal planes to get in the way:


The "power board" has a LOT of diodes: most of these, from my limited circuit-tracing so far, seem to be there to clamp the I/O pins to Vcc and ground.

There's also a few relays, two of which have their own drivers right next to them, which I'm guessing are for driving external valves to release water or foam.
Power comes in through the brown inductor, one of the spherical diodes, and into the big-ass capacitor (voltage hold-up during transients, especially those created by the load switching, is pretty important here I guess): the control supply then comes from the pre-regulator transistor (left side of the heatsink) which feeds only the 7805 +5V regulator (right side of the heatsink).

Figuring out if there's anything interesting going on with the op-amps on the CPU board is on my to-do list...

Offline D StraneyTopic starter

  • Regular Contributor
  • *
  • Posts: 189
  • Country: us
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #2 on: August 10, 2023, 01:14:24 am »
Electronique Aerospatiale/St. Chamond-Granat Windshield Temperature Regulator: full photos here

Here's a nice easily-traceable all-analog old one from the 70's:






The limiting factor here is not lack of circuitry or multi-layer boards, but just my own lack of time.

I'm curious to find out why what I'd expect to be a simple temperature controller needs 9 separate trims, or so many parts.  It does seem to have a good deal of self-test functionality built in...

...but it still seems like a lot.

Looking at the backs of the boards, you can see the big transistor with a heatsink that most likely drives a heater, as well as discolored PCB material/conformal coating around it to show the record of high temperature over time:

Interestingly, both boards seem to be 3 layers, not using the bottom layer for anything outside of pads for the through-holes.  Maybe this is some measure to keep solder from wicking away from the joints before soldermask was common, or before soldermask was trusted in higher-reliability applications.

Looking forward to getting a free weekend to report back with a schematic on this one, and see exactly what it's using this seemingly-excessive number of metal cans for.

Edit: better photos
« Last Edit: October 03, 2023, 08:10:14 pm by D Straney »
 
The following users thanked this post: SeanB, Neomys Sapiens

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8282
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #3 on: August 10, 2023, 04:17:10 am »
The CPU board has a 68000-series processor
Small correction: That's a 68HC05, which is very different from 68k family. It's closer to the 8-bit 6800.
 
The following users thanked this post: D Straney

Offline moffy

  • Super Contributor
  • ***
  • Posts: 1761
  • Country: au
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #4 on: August 10, 2023, 05:55:24 am »
Very strange to see the PLCC 68HC805 socketed, that was generally a taboo for anything avionics. The protective coating seems to be mostly missing from the chip also, might have been a later repair.
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21720
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #5 on: August 10, 2023, 12:17:53 pm »
Diehl Fire Extinguisher Control Unit: full photos
The "power board" has a LOT of diodes: most of these, from my limited circuit-tracing so far, seem to be there to clamp the I/O pins to Vcc and ground.

https://flic.kr/p/2oUFRMe

There's also a few relays, two of which have their own drivers right next to them, which I'm guessing are for driving external valves to release water or foam.
Power comes in through the brown inductor, one of the spherical diodes, and into the big-ass capacitor (voltage hold-up during transients, especially those created by the load switching, is pretty important here I guess): the control supply then comes from the pre-regulator transistor (left side of the heatsink) which feeds only the 7805 +5V regulator (right side of the heatsink).

Big cap could also be for capacitive discharge into a solenoid or explosive-release type actuator.  Have worked with a system of such design for heavy automotive (mining equipment among others) application.

I don't know about these systems from the design-specification or safety or regs angle, just circuits and hardware specs.  These weren't redundant either.  (Though a redundancy of sensors might've been used; partly to get better confidence, as some kinds of sensors can have intermittent outputs by nature, flame sensors for example.)

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline D StraneyTopic starter

  • Regular Contributor
  • *
  • Posts: 189
  • Country: us
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #6 on: August 12, 2023, 02:21:25 am »
Big cap could also be for capacitive discharge into a solenoid or explosive-release type actuator.  Have worked with a system of such design for heavy automotive (mining equipment among others) application.

Now that's an interesting thought!  I took a closer look at the power routing, and was surprised to see (after triple-checking) that the only thing connected to that big cap was the pre-regulator and the 5V regulator.  All the relays too have 5V coils.  I guess it really is probably just for holding up the control supply - easier to let the voltage before the regulator sag (where the changes won't be passed on to the regulated output), than to try and buffer the 5V rail enough that it doesn't sag (where the tolerance is much tighter).

The analog section on the CPU board, with the metal cans and the dual op-amp, turns out to be a 100 mA current source fed to one of two outputs, and a dual differential voltage measurement which each share one terminal with the current source outputs.  It looks like it does some sort of resistance measurement (temperature sensor?), with the ability to drive either of 2 identical sensors, maybe for redundancy or maybe just for sensing multiple zones.

...although I'd expect there to be more than 2 temperature sensors total in a plane: guessing there's either:
1. a lot of temperature-sensitive fusible links all wired in series in one giant loop, so that when one melts the circuit opens, or
2. there's a separate "combiner box" that does multi-zone temperature sensor then opens a relay to signal over-temp.

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21720
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #7 on: August 12, 2023, 11:58:03 am »
Ah, that'd do then.

Yeah not sure what's going on there, seems like a current/voltage mode mux of some sort? Depends on wiring...

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16284
  • Country: za
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #8 on: August 12, 2023, 03:21:52 pm »
Aircraft fire sensors are mechanical, using a bimetallic switch that is normally closed, and goes open when it gets hot enough. A few in series in the engine cowling, and then wired to the fire circuit, where you have the 100mA current to provide contact cleaning during test, where you place a heat source around it, and wait for it to open, or simply use a plastic probe to open it and have confirmation from cockpit the indicator and master caution actuates for each one. Then a cockpit display that shows fire, with the micro simply acting as a really simple debounce, as those switches do suffer from noise and can vibrate open circuit with some engine conditions, so the micro logs noisy switches for maintenance in a log, and will wait for around 5 seconds of open before setting the fire alarm, with some having a resistor across the sensors to allow detecting a switch activation (line resistance still correct for x number open) or an open loop. Yours seems to have sensor resistors, so will wait for 2 or more to be open, before definitely saying there is a fire, as a single one going open is not uncommon. That will simply set a fire system caution lamp on the master caution panel, saying there is a possible degradation, but 2 will set the big red warning light, and also the audio warning on the pilot headset feed, and also the cockpit chime.

Then you debate, look to see if there is actually a fire, or see from the instruments about oil pressure loss, and fuel flow exceeding the current throttle setting, or EGT starting to vary from the optimum level.  If all that, then pretty sure you have a fire, and then you shut down the engine, and break the locking wire on the fire handle, and, depending on the design, pull and turn one way, to discharge the one bottle of Halon, or break the mica window above the press button that triggers the Halon bottle. Normally you are right about then looking for the closest place to land, because there are way too many things that can fail to make a fire, and some are not going to comply to the halon and shutting down of the engine.

Yes I did change quite a few of those sensors, they get grumpy with time, and are classed as repairable items, so both have a serial number, and you have to return to stores as well. 3 screws, and 2 terminals that you undo the bolts, remove terminator resistor if there, and transfer to the new to you one. Then go fill in the paperwork, and get it signed off by another. Some really sucked to get to, right there where, with a little work, you can feel it, but not see it or easily get to it. Those were always replaced when engine was in the service bay, when they were easy to see and replace. Funny how easy it is, when it is not wrapped around with an entire airframe.

Edit: Also in the avionics bay, and nicely under the pilot in the battery and LOX compartment. SOP there was if that battery fire light came on you reached down, pulled legs in and pulled the yellow and black handle, and relied on Martin Baker. Except the one pilot, who had that, and shut down the engines, jumped out, opened that door, and pulled the battery out and tossed it. Note it is held down in the cage with a M5 bolt, he snapped it pulling that out, did not spend the 20 seconds unscrewing the knurled lock nut. Then complained of the torn muscles.
« Last Edit: August 12, 2023, 03:29:47 pm by SeanB »
 
The following users thanked this post: D Straney, harerod, xvr

Offline harerod

  • Frequent Contributor
  • **
  • Posts: 451
  • Country: de
  • ee - digital & analog
    • My services:
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #9 on: August 12, 2023, 07:35:26 pm »
Nice story. Brings back memories of deciding on how to handle issues in flight.
What aircraft was that pilot with the big balls flying, if I may ask?
 

Offline TurboTom

  • Super Contributor
  • ***
  • Posts: 1389
  • Country: de
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #10 on: August 13, 2023, 01:34:56 am »
There's also another type of fire detector being used in aviation that works the other way round, mostly installed in engine nacelles and APU compartments, known as "FireWire" (has nothing to do with IEEE1394...). It can be considered a "rigid coax cable" with the dielectric replaced by a special salt formulation that shorts out the inner conductor to the tube by ion conduction once a certain temperature is exceeded. Connections at both ends of the "coax cable" permit continuity checking to verify the condition of this system. The advantage of this system that a larger area can be monitored for excessive temperatures while it's not necessary to have too many individual sensors or thermo-switches. This system is also self-resetting once the overtemperature situation is sorted.

I can contribute with some photos of an aviation smoke detector (ionizition type) that's been certified for use in civil transport aircraft to monitor the cabin and the freight compartments. The sensor contains a tiny amount of 241Americium to ionize the air flowing throught it. Smoke particles will eliminate the ions so the tiny current that flows through the air will drop if there's smoke present. The photos also show an alpha-sensitive DIY Geiger counter (less enclosure...been too lazy to make one yet) to indicate that a considerable radiation can only be detected if the ion chamber is open. With a closed ion chamber, only a slightly elevated background can be measured (due to the 59keV gammas that get emitted by the Americium), nothing to worry about -- especially in an aircraft...  ;)

The little electronics present in there is once again conformally coated and looks at least a decade more "vintage" than the production date may suggest. But this is just the result of having gone through very expensive certification and being obliged to produce the item in the same configuration that it was certified in. Every modification would require a (partial) re-certification. The highly sensitive charge amplifier has to be located inside the resin-filled white plastic base of the ion chamber since on the PCB, there's no electrometer-like circuitry to be found.


 
The following users thanked this post: Neomys Sapiens, D Straney

Offline D StraneyTopic starter

  • Regular Contributor
  • *
  • Posts: 189
  • Country: us
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #11 on: August 23, 2023, 08:20:04 pm »
Great info about the fire detection, esp. with the continuous-sensing-coax.

Here's another one:
Honeywell/Sperry DS-125A TAS/Temperature Indicator
To be honest, I was hoping this one would be an older more complicated model like this one from the late 60's/early 70's(?), but the lack of a big stack of PCBs with special-purpose hybrids is a nice illustration of the commodification of electronics over the couple decades between that model and my model.




Once you remove a couple screws at the end, the case slides off and you can see the main board:



The circuitry is pretty straightforward.  A PCB-mounted transformer on the bottom, diodes on the top, and bulk capacitors on the bottom form the DC power supply from the 26 VAC input.  The large metal can is an LM126 dual tracking regulator, which likely generates bipolar power supplies for all the analog stuff.  An LM224 quad op-amp and a bunch of resistors probably take the analog sensor inputs and offset/scale them, before they go into the dual MC14433L ICs.  These are self-contained 3.5-digit BCD-output ADCs, the type you'd use to directly drive a display on a panel meter or something similar.




The BCD outputs of the MC14433Ls then go into a series of 4511 BCD-to-7-segment decoders...

...and from there, into the mess of wiring that connects the display board to the main board:


(I feel sorry for the tech who had to do these all day)
Haven't looked at the display board yet, but it's likely just plain 7-segment LEDs, since the 4511 can drive a good deal of current (25 mA or so) from its outputs, enough to get even the old inefficient LEDs pretty bright.

Might try and power up this indicator once I can cobble together some kind of janky 400 Hz AC source.  There's also a couple logic chips (4069 hex inverter, 4011 quad NAND gate) where I'm not quite sure yet what they're for: providing the "display update" clock, maybe missing signal detection along with a couple op-amps used as comparators?

Offline moffy

  • Super Contributor
  • ***
  • Posts: 1761
  • Country: au
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #12 on: August 23, 2023, 10:14:41 pm »
Interesting construction, I assume the round largish black component is a 400Hz,3phase toroidal transformer ? Odd that they only applied a solder mask to one side of the board, and they used a 15 pin D type connector rather than a circular mil style, I guess cost and form factor. We used some D type connectors but only because the pins were fully sealed, embedded into a glass insulator.
 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16284
  • Country: za
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #13 on: September 06, 2023, 07:36:25 pm »
Nice story. Brings back memories of deciding on how to handle issues in flight.
What aircraft was that pilot with the big balls flying, if I may ask?

Aeromacchi Impala, which was a combination of wood and aluminium, so was interesting to maintain.

As to the use of the 15 pin DIN connector over the circular military one, simple, it was done to keep the enclosure height small, as the 19 pin round circular bayonet will not fit in the height, and the 9 pin has too few pins, so the 15 pin, 25 pin and 37 pin ones were very common there, as they are rugged, reliable, and actually were designed for this purpose. Very common to see in use, especially in board to board interconnects, and to mount plug in modules as well, as you get a lot of locking hardware for them, plus there are also a lot of variants, especially the 37 pin, which has backshells that have 6 circular fittings, so you can have a mix of coax 50R, 75R and 93R coax plug and sockets (and they can fit either plug or socket, and are also available in PCB mount and crimp style as well), or have power connectors that are rated to 400VAC and 10A, plus a few 2kV rated high voltage inserts as well. the computer industry used them, as they were both common, rugged and near idiot proof, and you got a good selection of them off the shelf easily, though most of the less common are now only on special order, as they sort of devolved to a 9pin, 15 pin (plus the 15 pin 3 row in the 9 pin shell), 25 pin and 37 pin as sort of the most common ones now, though there are others in the DIN range. Low profile, and with the right hardware not likely to vibrate loose, and you can easily have 5 in a row, all with different locking methods, and not worry about them being incorrectly connected.
 
The following users thanked this post: harerod

Offline harerod

  • Frequent Contributor
  • **
  • Posts: 451
  • Country: de
  • ee - digital & analog
    • My services:
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #14 on: September 07, 2023, 02:07:40 pm »
Quote from: harerod on 2023-08-12, 20:35:26
Nice story. Brings back memories of deciding on how to handle issues in flight.
What aircraft was that pilot with the big balls flying, if I may ask?

Aeromacchi Impala, which was a combination of wood and aluminium, so was interesting to maintain.

...


Oh, what a beauty.
https://en.wikipedia.org/wiki/Aermacchi_MB-326

 

Offline D StraneyTopic starter

  • Regular Contributor
  • *
  • Posts: 189
  • Country: us
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #15 on: September 07, 2023, 05:02:00 pm »
Yeah I really came to appreciate D-sub connectors only when I was working with MRI systems, where minimum-size-possible wasn't a requirement. That combo of rugged (both for locking, and hard to insert in a way that bends pins) and cheap/easily available in many different varieties is hard to beat. Especially fond of using the panel mount ones that have IDC connections, so you can run a ribbon cable straight to a header on a board and not worry about physical alignment/stress on the solder joints, or have to hand cut/strip/solder a ton of wires individually.

Offline D StraneyTopic starter

  • Regular Contributor
  • *
  • Posts: 189
  • Country: us
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #16 on: October 03, 2023, 08:31:28 pm »
Voice Warning Generator from F-4 fighter jet
Given that this was made in 1982, I was curious before opening this up exactly what was going to be inside.  Was memory density high enough at the time that it would be feasible to store sampled audio? (assume roughly 6 ksps for voice * 3-second clip = 18K x 8 storage needed for one clip) Would there be special analog or digital techniques to reduce bit depth or sampling rate needed, similar to what the telephone system does with companding, sampling slower in some frequency ranges and faster in others, etc.?  Or is storage space not that much of an issue? (don't even know how many different warnings it has to generate)  Either way, any readout of digital data will probably be handled with discrete counters, digital comparators, etc. rather than a processor (size/power/complexity overkill for the time).  Would there be a miniaturized very-special-purpose extra-robust tape recorder in there instead?


Ok, no tape recorder, just electronics.


Woah, nice.  Take a look:

The two purple ceramic DIPs are from the Mostek MKB36000 series of mil-spec 8K x 8 PROMs (the last 4 digits in the individual part numbers likely reflect the custom programming).  These should hold the voice data in some form.  The white ceramic DIP should be a DAC to produce the audio output: I wasn't able to find any details on this "AD11/208" part specifically, but found many references to other Analog Devices "AD11/..." parts, all DACs.  The two McDonnell Douglas hybrids (esp. the large one) likely contain all the logic for sequencing and reading out the memory data to the DAC on command, handling sampling rate and control signals and other things.  The 16 kHz oscillator can nearby is probably what clocks the internal logic here and sets the sampling rate.  For all I know, there may be some kind of digital-companding going on inside the large hybrid, as the bit depth of the stored audio samples and the DAC resolution don't necessarily have to match.

I'm hoping to open one or both of these hybrids at some point in the future if I come across a cheap jeweler's saw; would be nice to take off the lids carefully and with minimal effect on the hybrids and the rest of the board (all the shiny gold and ceramic does look pretty great, can't compromise that too much) to see what exactly is inside.  The lids may be soldered and removable with hot air, but with all the conformal coating and labels, I really don't want to go the "heating" route and gas my own apartment with the fumes from that.
 
The following users thanked this post: SeanB

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16284
  • Country: za
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #17 on: October 04, 2023, 06:03:14 pm »
Quote from: harerod on 2023-08-12, 20:35:26
Nice story. Brings back memories of deciding on how to handle issues in flight.
What aircraft was that pilot with the big balls flying, if I may ask?

Aeromacchi Impala, which was a combination of wood and aluminium, so was interesting to maintain.

...


Yes, too bad so many of them ended up as gate gargoyles, or were chopped up as scrap metal.

Oh, what a beauty.
https://en.wikipedia.org/wiki/Aermacchi_MB-326
 

Offline D StraneyTopic starter

  • Regular Contributor
  • *
  • Posts: 189
  • Country: us
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #18 on: November 20, 2023, 09:16:46 pm »
BAE Systems MD-1219/A Audio Signal Discriminator


This is a strange one.  The nameplate calls it a "Signal Discriminator", while looking up the part number at aerospace-stocking websites describes it as an "Audio Discriminator" and shows an NSN of 5821-01-248-4308, from 1987, with no specific end use outside of "avionics".  Ok, that's not very helpful, let's see what inside.

If you unscrew the back plate, you can see a piece of rubber that cushions the boards from the rear.  Unscrewing the front plate shows that the external D-sub connectors aren't directly soldered to the boards, but are intermediate adapters that plug into the boards' D-sub connectors.


There's two boards, labeled as "A1" and "A2", with no connections between them:



There's no active devices in the entire box: A1 has 5 channels of an all-passive circuit with transformers, caps, and diodes, and A2 has only relays and 8x-diode arrays in DIP packages:


A1 has 5 channels of a circuit which seems to mute signals under very roughly 100 mV amplitude, by stepping up the signal with an audio transformer, passing it through a diode, and then stepping it back down to its original level: I guess this could fit the definition of a discriminator if being generous?  Is this meant to mute the background noise from audio signals (from a radio for example) esp. if multiple audio sources are going to be mixed together?


A2 is harder to figure out.  It has a 5 x 4 matrix of relays, with 5x channels (columns) where a common signal is optionally connected to any of 4 other individual places.  Because the traces run underneath the relays on the top side of the board I can't be 100% sure (ended up returning this box due to a lack of electronics inside, so can't do a continuity check), but it looks like this is a normally-closed connection.

The diode arrays then select sets of relay coils to activate, from some kind of open-collector drive, by switching the negative side of the coils.  (I didn't show it here due to laziness, but each relay has an internal catch diode on the coil which confirms the polarity)

Each of these activation inputs spans across all 5 channels, disconnecting an input on every channel but one.  There are also the vertically-arranged diode sets in the schematic, which seem to be some kind of diode-OR monitor outputs that go low if at least one of a specific relay-combo is activated.
This is obviously some small part of a much larger system, rather than a self-contained piece that can be understood on its own like a radar altimeter or a navigation computer.  Not knowing how this is supposed to be connected to everything else makes this much, much harder - I keep going through cycles of thinking that I might understand what the diode-and-relay combinations are doing, and then realize that I don't after all.  Any insights here appreciated.
« Last Edit: November 20, 2023, 09:19:48 pm by D Straney »
 

Offline peter-h

  • Super Contributor
  • ***
  • Posts: 3711
  • Country: gb
  • Doing electronics since the 1960s...
Re: Reverse-engineering misc. avionics (part 3: Raytheon, EAS, Diehl)
« Reply #19 on: November 21, 2023, 09:35:59 pm »
Here are a load of pics of avionics internals, from General Aviation
https://www.euroga.org/forums/maintenance-avionics/6537-random-avionics-internals

You get a lot of funny stuff in that business, due to

- long time spans in production (literally 30-40 years in some cases, with some Z80 based stuff still made today)
- most designers being inexperienced and choosing huge quantities of discrete parts, plus crazy numbers of different E96 resistor values where 10k would do :)
- national/cultural effects e.g. French designers not speaking English and using common US parts relabelled and with French data sheets
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline D StraneyTopic starter

  • Regular Contributor
  • *
  • Posts: 189
  • Country: us
Re: Reverse-engineering misc. avionics (ongoing)
« Reply #20 on: April 25, 2024, 02:44:37 am »
Nice!  That looks familiar, think I've looked through that before - it's definitely striking, the difference between general aviation stuff (where half could very well have been put together by one person in a garage) and commercial aviation stuff.

Smiths Remote Interface Unit
Here's a more modern one, from 2004, made by Smiths Aerospace.

My impression was that a "remote interface unit" was kind of like an I/O expander for an aircraft, and that seems to be born out by the internals.  Let's take a look:


There's a smaller control daughterboard, stuck on top of the main board.  Here's what the main board looks like, with the control board removed:



Off in one corner is the local power supply, with a UC2843 PWM controller, and a couple transformers and/or coupled inductors, which probably provide the low-voltage power for the onboard digital logic and analog:

The large black box towards the upper left is a capacitor (probably for buffering the input power rail).  The transistor (SOT-223 package) at the very bottom edge, below one of the magnetics, is probably the switching transistor.  The many diodes above the magnetics are probably the rectifiers for multiple low-voltage outputs.

Near one connector is what looks like a lot of switched-power outputs, with power transistors and 0.27Ω resistors for current sensing.  Not sure what the chips with the white labels on them are...maybe isolators of some kind? (if the "power-output ground" is different from the "control ground")  Or over-current protection / current-sense amps / gate drivers (if fast switching is needed for PWMing any of the power outputs) / all of the above?

If you look back at the power supply photo above, there's an analog mux ("HI9P548-9") between these power outputs and the power supply, which is probably used for selecting between the different output-current-sense signals, to measure one at a time.
There's possibly one more output channel just around the corner, plus some filtering (series inductor, white box) and protection (TVS diode(s) for over-voltage) for the power input:

...and possibly a couple more output channels in between the two connectors, although the current sense resistor looks different and one channel doesn't have a current sense resistor visible at all:


The other connector looks like it's all inputs.  There's a lot of series 56KΩ resistors, leading into dual diodes in SOT-23 packages, to clamp the input signal between the rails - see here for how this is probably arranged (I'm not 100% sure about these being dual diodes, but would bet a lot of money that's the case).  Between the large series resistance for current-limiting, and the clamping diodes, this serves to protect any input circuitry from the "wild west" situation that's happening on the aircraft wiring: lightning strikes, accidental shorts to high-voltage power, long wiring picking up high-power radar transmissions, etc.

The rows of many ceramic caps at the bottom of this photo are probably providing some basic filtering on these inputs.  The inputs seem to feed into a large group of analog muxes nearby (DG4xx series), which probably are cascaded in a tree-like configuration to select only one of these inputs at a time.

From counting the SOT-23 packages, I think there's roughly 43 external inputs, which requires a whole lot of muxing over a few hierarchical layers.  The 3x AD620 instrumentation amplifiers near the middle of the board (visible in some earlier photos) are probably providing some differential inputs, as a complement to all the single-ended analog inputs here.

There's also a bit of mystery analog circuitry around the side: maybe an output?  There's a DG413 (4x SPST analog switch), LM2903 (dual comparator), and 2x ST TS512AI dual precision op-amps.  There's also some colorful resistors which look similar to precision types from Vishay and KOA Speer I've used before.

This section might be scaling down a few higher voltages, buffering them, muxing between them with the analog switches, and then doing some kind of window-comparator function to check that they're within normal range (monitoring power supplies, for example).  Or who knows really, there's a thick layer of conformal coating over everything and most of the traces are on inner layers.

Ok, now that we've seen the switched (open-drain?) power outputs and muxed analog inputs on the main board, let's take a look at the control board.  What stands out most here is the pair of microcontrollers:

The large one is an ST10F269Z2Q3, a reasonably-powerful 16-bit part with some multiply-accumulate accelerators for signal processing(!!!) and a whole bunch of peripherals (PWM, ADC, timers, serial interfaces, an RTC, etc.).  The small one is a much smaller 8-bit PIC16F627.  I have no idea what the division of labor is between these two.

To one side are some local linear regulators, and two HI-8583s, which are dual ARINC 429 transceivers.  ARINC 429 is a commonly-used 2-wire serial bus on commercial aircraft, with similar use cases to MIL-STD-1553.  These transceivers include not just the level-shifting circuitry, but the serial encoding/decoding and FIFOs for storing received messages (or holding onto messages to transmit): they're meant to interface through a 16-bit processor bus, which is where the "external bus interface" of the ST10F269 probably comes in handy.


Covering the rest of the control board is an analog section (with many probable-op-amps and precision resistors, for proper scaling and offsets) leading into an AD977A 16-bit 200 ksps ADC.  This is probably what's reading all those external inputs one at a time, through the tree of analog muxes.  Even though the ST10F269 has an onboard ADC, the integrated ones are (intentionally) never going to be as good as a dedicated-purpose separate ADC, whether because of on-chip noise, IC process optimized for high-density digital instead of for high-performance analog, limited die area, lack of trimming, not wanting to sink money into an expensive high-quality ADC that many customers may never use on the general-purpose MCU, etc. etc.  I'm guessing the high sampling rate (impressive to maintain 16 bit resolution at 200 ksps!) is useful here when scanning between so many different inputs, if it needs to sample each individual input frequently.



So overall, this really does seem like the aircraft version of an I/O expander.  It's got serial interfaces to talk to higher-level computers on the plane, which can then tell it to turn on or off some outputs, and read back input values; probably offload some I/O processing as well.  The main MCU being so over-qualified for doing only basic communications and I/O suggests that it's also using its math capabilities to do some filtering or feedback loops or something similar.  This particular unit, being sold as surplus, supposedly came from a British Lynx helicopter.  Anyways, hope you enjoyed the photos.
 
The following users thanked this post: xrunner

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21720
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Reverse-engineering misc. avionics (ongoing)
« Reply #21 on: April 25, 2024, 04:48:58 am »
I wonder if a lot of those inputs might be LVDTs and resolvers; they're common/traditional in aircraft, 16-bit would be needed for positional accuracy, and spread across so many inputs, 200kSps is probably fine for sampling 400Hz or so signals.  Some DSP functionality, or relatively powerful CPU, would be desirable to handle the "complex" (read: AC phase) calculations.

I'm not offhand familiar with what input structures are used with this; it's plausible that a simple resistor divider, clamp diode and RC filter would do.  It could be various other level or signal inputs, of course.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf