From 455c1ba4a099d96daffeb1ff05d410e9ca568bfd Mon Sep 17 00:00:00 2001 From: Matthew Kennedy Date: Sun, 13 Dec 2020 14:49:58 -0800 Subject: [PATCH] extend lambda range --- firmware/lambda_conversion.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/lambda_conversion.cpp b/firmware/lambda_conversion.cpp index b5bad49..efde3b6 100644 --- a/firmware/lambda_conversion.cpp +++ b/firmware/lambda_conversion.cpp @@ -9,10 +9,10 @@ static float GetPhi(float pumpCurrent) return 0.5f; } - // Minimum lambda ~0.65 - if (pumpCurrent < -1.87f) + // Minimum lambda ~0.5 + if (pumpCurrent < -3.5f) { - return 1 / 0.65f; + return 1 / 0.5f; } // This estimation is accurate within 0.5% from 0.8 to 1.0, and 0.01% from 1 to 1.2 lambda when compared to the lookup table in the Bosch datasheet