The evolution of onboard diagnostics