Software

Shot velocity computer

Longshot Space, Product engineer

Turns raw sensor waveforms into checked velocity numbers within seconds of a test fire, instead of an hour of manual analysis.

After every test fire, the first question is how fast the projectile went. Induction coils along the barrel record voltage waveforms, but a waveform isn’t a velocity. Working it out by hand meant downloading the data, finding the peaks, measuring the time between them and doing the math: about an hour per test.

I built the velocity computer to do all of that automatically. It finds the signal peaks, measures the time of flight between each pair of sensors, computes the velocity at each boost stage, and flags any result that looks wrong.

What it does

  • Finds peaks in noisy signals, using two thresholds so noise isn’t mistaken for a peak.
  • Smooths each signal with a filter tuned to the shape it should have.
  • Rejects results that break the physics.
  • Plots every waveform with its detected peaks, so anyone can check the work.
  • Marks each number as confirmed or needing review, and exports to CSV.

It measures shots at Mach 4 and above from 9 sensor positions, and runs right after each test. Clean results are confirmed automatically; anything suspicious goes to a person.

Most of the work went into the messy cases: noise, dropouts and edge cases that break a simple algorithm. The goal was a number engineers could trust, which meant showing how it was found.

Waveforms from induction sensors along the barrel with detected peaks marked, above a table of computed velocities for each stage.
Waveforms from the induction coils with their detected peaks, and the velocity computed between each pair, from a lower-speed test.

Back to the tree