Page 1 of 1

c127 lambda

PostPosted: Sun Apr 20, 2025 7:26 am
by godrift
im working on my c127 design and wondering if this combination can work.
in the lambda box im triying to setup 3 condiitions to know if the car is lean, rich, or at the perfect ratio
is there a way i can divide the lambda over the target lambda that is set at the m150 ecu from the target lambda?

at the attached file you can see the left box name lambda. trying to set it up from the switch group but i couldnt go maximum where to divide the lambda over target lambda so i can give red box as alert.
is there any ideas can help.

Re: c127 lambda

PostPosted: Sun Apr 20, 2025 9:00 am
by David Ferguson
I would use a Maths Expression to calculate the Min / Max values from the Target Lambda. Then in your switch you just compare lambda to the Min / Max values.

Here is a sample project to demonstrate that. You can run the simulate and play with the Target Lambda and Lambda values to see how it works.