In design

Machine-health accelerator

A hardware block that listens to the vibration, sound and ultrasound of a machine and reports what is wrong before it fails. It runs the whole analysis chain without the CPU, next to my RV32IM RISC-V core on GlobalFoundries GF180MCU.

The architecture is fixed, and the design work is in progress. The SoC that it goes into is tapeout-ready. It will be available as an FPGA dev kit and as a design licence.

The problem

What the design solves

Motors, pumps, fans and compressors give warnings in their vibration and sound before they fail. Five gaps keep those warnings from reaching a maintenance team in time.

01

Events between readings

Many wireless vibration sensors take one reading every 10 minutes to an hour, so they miss short events. This design runs the analysis in hardware while the CPU sleeps. It can capture on an event and keep the raw samples from before the trigger. On a powered node, it analyzes without gaps.

02

Damage that starts in ultrasound

Early bearing damage and poor lubrication show first at high frequencies. Many MEMS vibration sensors stop at about 6 kHz. This design reads a vibration sensor with a bandwidth above 10 kHz, and an ultrasonic microphone for a band from 20 to 80 kHz.

03

No fault labels on a new machine

Each node learns the normal state of its own machine, with no labels. A report combines that baseline score, the ISO 20816 vibration zone, a fault class with the frequencies behind it, and the operating state. Start-up and shutdown don't raise alarms.

04

Machines on variable-speed drives

Alarm bands at fixed frequencies fail when the speed changes. The design estimates the running speed from the spectrum, without a tachometer, and normalizes the spectrum to orders of that speed.

05

Data that stays with you

Inference runs on the node. Results go to a local gateway, and the export is open: MQTT, CSV and a documented API.

Architecture

One measurement without the CPU

Firmware writes a recipe into the registers: the sensor set-up, the capture length, the analysis passes and the thresholds. The sequencer then runs the whole measurement and raises an interrupt with the result.

Block diagram

  • Main data path
  • Logic
  • Control
  • Memory
  • Interconnect
  • Off-chip
Machine-health accelerator: sensor readers, filters, statistics, FFT, features, network engine and baseline unit behind one AXI4-Lite slaveMACHINE-HEALTH ACCELERATOR · AXI4-LITE SLAVE ON THE GF180 SOCvibrationsensor · SPIultrasoundmic · PDMSPI sensor readerFIFO burstsPDM front endCIC · heterodynesample-rate filtersdecimate · envelopestatisticsRMS · kurtosisFFT + spectrumWelch averagingfeature unitISO 20816 · speednetwork engineint8 MACsbaseline unitper machineregisters + sequencerrecipe in, result + irq outevent capturepre-trigger bufferAXI4-Lite to the RV32IM core · irq · sensor pins
FIG. 01
  1. 01

    Registers and sequencer

    An AXI4-Lite slave on the SoC. It runs a recipe from capture to result and raises an interrupt.

  2. 02

    SPI sensor reader

    Reads the FIFO of the vibration sensor in bursts when its watermark interrupt fires.

  3. 03

    PDM front end

    A CIC decimator and half-band FIR for audible sound, and a heterodyne path that brings the 20 to 80 kHz band down to its envelope.

  4. 04

    Sample-rate filters

    DC removal, decimation for zoom bands, a programmable band-pass and an envelope detector for bearing analysis.

  5. 05

    Streaming statistics

    RMS, peak, crest factor, skewness and kurtosis per channel, and a transient detector that triggers event capture.

  6. 06

    FFT and spectrum

    A real-input FFT with block floating point, a Hann window and Welch averaging. Each measurement makes three passes: broadband, a low-band zoom and the envelope.

  7. 07

    Feature unit

    Band energies, mel weights for sound, ISO 20816 velocity RMS from 10 to 1000 Hz, and a peak search for the running speed and its orders.

  8. 08

    Network engine

    int8 weights, int32 accumulation and a small MAC array. It runs a fault classifier and a small autoencoder.

  9. 09

    Baseline and anomaly unit

    Learns the mean and variance of each feature on its machine, then scores each new measurement against them.

  10. 10

    Event capture

    A ring buffer of raw samples with pre-trigger. A trigger freezes it, and firmware reads it out.

Each report is about 20 to 50 bytes: the ISO zone, velocity and acceleration RMS, crest factor, kurtosis, ultrasound level, speed, anomaly score, fault class with its confidence, and a health index. A report that small fits a single LoRaWAN uplink.

How to get it

A dev kit and a design licence

I don't build the silicon. You can evaluate the design on an FPGA, or license it and build your own chip.

Dev kit

An off-the-shelf FPGA board runs the full chip RTL. My sensor board adds a wideband vibration sensor, an ultrasonic microphone, a magnetometer and a BLE module. The firmware, the Python model and the documentation come with it.

For · Universities, TinyML and open-silicon developers, and sensor makers who want to evaluate the design.

Design licence

The accelerator RTL alone, or the full chip: RTL, GDSII with its signoff and precheck reports, power numbers, firmware, the model and weights, and reference designs for a battery node and a 24 V node. You fabricate and qualify the silicon.

For · Sensor-module, MCU and ASIC makers.

Status

Where it stands

  1. Tapeout-ready

    GF180 RISC-V SoC

    The base chip. The wafer.space precheck passed, and setup and hold are met at five corners.

  2. Fixed

    Accelerator slot

    AXI4-Lite slave at 0x2000_0000 with a 64 KB window, an interrupt, the sensor SPI and PDM pins, and an area budget on the die.

  3. In design

    Accelerator

    The architecture is fixed. The reference model, the RTL and the verification are in progress.

  4. Next

    Full chip design

    The accelerator in the slot, low-power modes in the SoC, then layout, signoff and precheck.

  5. Later

    Dev kit

    The sensor board and the FPGA build of the full chip.

Interest

Get the dev kit first, or ask about a licence

Tell me what you would use it for. Early users decide what the first dev kit includes.