Back to Vespula Avionics Module

Sensors

Sensor Layout and Validation

How I fixed ADC-related mapping/routing issues and then checked that the sensor paths still behaved correctly in the integrated system.

RTD / PT

Sensor Layout and Validation

The Flight SAM has to do two pretty different jobs at once: drive propulsion hardware and act like a DAQ. So the sensor side still has to behave while converters, valves, igniters, Ethernet, and a Linux module are all sitting on the same PCB.

Measurement Groups

The Vespula implementation supports multiple external ADC groups for:

  • 4–20 mA pressure transducers;
  • valve current;
  • valve voltage;
  • board/power voltage;
  • board/power current;
  • thermocouples;
  • differential sensors;
  • RTDs.

The external ADCs use SPI with separate chip-select/data-ready mappings for the different measurement groups.

What The Revision Fixed

The inherited board contained ADC polarity/mapping inconsistencies. One of the easy traps here is thinking 'SPI works' means the sensor path works. A channel can talk perfectly over SPI and still be the wrong channel or the wrong polarity.

Vespula ADC and connector routing
The ADC/connector routing I changed as part of the interface revision.

I audited the path all the way through:

sensor connector → analog front end → ADC input → SPI channel → BeagleBone pin → software mapping

That prevented a “working SPI bus” from being mistaken for a validated sensor interface.

Sensor Protection

The historical validation procedure explicitly checks protected external sensor channels around a 22 mA current-limit target.

The protection serves two purposes: a failed external sensor/harness should not turn into an uncontrolled load on the SAM, and one sensor fault should remain localized enough that the rest of the acquisition system stays observable.

PCB Separation

The six-layer layout keeps sensor routing and ADC regions away from the converter/actuation loops where practical, while the two ground-reference layers provide continuous return paths.

Vespula sensor routing
Bottom-layer routing in the corrected six-layer revision, used with internal reference planes to separate sensing/control from actuation regions.

Validation Sequence

The measurement side was verified in increasing system depth:

  1. confirm ADC communication/register access;
  2. confirm channel identity and polarity;
  3. apply known electrical stimulus;
  4. verify scaling/plausibility;
  5. test protected channels near their intended current-limit behavior;
  6. repeat with actual vehicle sensors;
  7. operate while actuation hardware is active.

That last step is the one I care about most. A sensor channel is not really proven if it only looks good on a quiet bench while every noisy output on the board is turned off.

Vespula strain-gauge sensor installation
Representative propulsion-sensor installation used during integrated sensor validation.