OBD formatted data
Impulse
Take the sample CSV to get started or collect a sample from your OBD-II interface using your pi and the telemetry-obd project.
**ELM327** USB or Bluetooth logger
**OBD-II** connector pinout
Pi Hat wiring
Safety note: Induce a small, reversible leak (loosen an intake boot or remove a tiny vacuum cap). unplug the airflow sensor (MAF/MAP) : this can trigger limp mode and confound data.
healthy
: intact intake, warmed-up closed loop.airleak_nox
: the same drive cycle with a small, controlled leak.Healthy window (reference)
Air-leak window (high NOx vs load)
nox_per_maf = NOx / max(MAF, 0.1)
nox_per_throttle = NOx / max(throttle, 1)
maf_per_rpm = MAF / max(RPM, 500)
nox_per_maf
and/or positive NOx slope at modest load are more likely air-leak.
With the signals defined, wiring settled, and an explicit labeling protocol, we can now build the model.
time (ms.)
(milliseconds since the first sample)fault_label
)Take the sample CSV to get started or collect a sample from your OBD-II interface using your pi and the telemetry-obd project.The CSVs for the sample project have the following headings:
n53_healthy_ei.csv
and n53_faulty_ei.csv
(or your own files)fault_label
and Time column = time (ms.)
3000 ms
1500 ms
mass_air_flow_gps
, nox_sensor_ppm
)Start with Flatten only. If accuracy plateaus, add Spectral features as a second block.
Classification
maf_per_rpm
, map_per_throttle
)