for a change: Lambda control
In between times something else ............
while at the battery management temporarily
slightly hooked (4 x PWM in a block
....) and because I wanted to do for some time
, I finally built my
lambda control. As a pleasant side effect
I was able to solve even my
PWM problem!
So it is with the battery management
forward again soon.
(Measure already works fine, now comes
the balancing function in the units of measure and possibly
the heating of the
Balancerwiderstände ........ has apparently not yet made
or dared .............)
The whole is more of a programming exercise,
obs works in practice is still to come
.
If anyone wants any source code,
Please Sign!
unfortunately I can publish here bad, because the formatting is not compatible
...........
Video / photos is a another time!
mfG
Franz
heart of it all is an ATmega48.
Programmed with Bascom. ('s Always more fun!)
as display the now proven DIP204 EA-4.
The voltage of the lambda probe is to
And the internal 5V reference gemessen.Ich
could take 1.1 V, but also how it works.
Just enough is all!
If I was a potentiometer on the throttle it was so
need better
The probe delivers at 450 mV
mixture is too lean and too rich to 550mV.
The area between is a way to skip
.
(my probe is very old .......
more than 800mV come out of there no longer)
You can not simply amplify the signal but readjust
has another value
slowly in that direction.
over a menu you can adjust the upper and lower
switching point.
as the delay / loss in
opening and closing the auxiliary air valve.
A contact at idle, the valve closes immediately.
(the idle would otherwise "cut")
is on active menu as "to"
The display indicates:
sensor voltage in mV,
the ADC value (5V = 1023)
an arrow indicates whether too lean, ok, or too fat
The state of the PWM output
in%, by value 0-255, and as a bar graph
The course setup values stored in ERAM
and in menu there is a time-
out too long if nothing enters.
As I said, a programming exercise.
could the values have to send out serial
and possibly I need to monitor
or consideration of the throttle position
an engine temperature gauge, maybe?
soon!
Franz
0 comments:
Post a Comment