Page 7 of 10

Re: my simple ECU

Posted: Fri Dec 05, 2014 7:06 pm
by russian
Added a features which might be pretty powerful potentially: FSIO, fanciest-schmanciest IO.

rusEfi now supports up to 16 user-configurable outputs, each of these could be either an on/off or PWM signal. In case of a PWM signal the frequency is defined in the configuration and the duty cycle is dynamically controlled by the evaluated expression.

Fuel pump is already using this mechanism as "(time_since_boot < 4) OR (rpm > 0)"
Coolant fan logic is (fan and (coolant > fan_off_setting)) OR (coolant > fan_on_setting)

When I say user-configurable, I mean that one can open the console and specify the expression text in RPN:

Code: Select all

set_fsio 1 "fan coolant fan_off_setting > & coolant fan_on_setting > OR"
the firmware would parse this expression, evaluate it constantly and drive an output pin according to the result. Non-zero would turn the pin on in case of digital mode, or the value would be used as the duty cycle in PWM mode. You are not re-compiling anything here - you are providing the expression and the rest is taken care of.

For example:

Code: Select all

set_fsio 1 "rpm 1000 - 5000 / 0.1 max 0.9 min"
commands the duty cycle to go from 10% @ 1000 rpm to 90% at 5000rpm

I am hoping that advanced users might potentially use this to control stuff like VVT/VICS etc as long as they speak RPN :)

Re: my simple ECU

Posted: Tue Dec 09, 2014 8:02 pm
by russian
Finally everything on the same board :)

http://www.youtube.com/watch?v=B2BrQA63s48

Re: my simple ECU

Posted: Sun Dec 21, 2014 3:09 am
by russian
first rusEfi dyno run.

Stock ECU run: 121hp/127 lb-ft
1st rusEfi run ever - wooping 44hp/69 lb-ft. Right, 12 degrees advance does not work so cool
8 runs later: 123hp/128 lb-ft. More then stock ECU! better timing.

We did not tune fuel at all (Speed Density with default table), the plan for the day was to get close to stock values and just test everything. Mission accomplished :)

full logs

Image

Re: my simple ECU

Posted: Tue Apr 14, 2015 8:36 am
by afnid
Cool project, I was just looking at those stm32 discovery boards today, I think I will order one to play with.

Re: my simple ECU

Posted: Sun Jul 12, 2015 3:34 am
by russian

Re: my simple ECU

Posted: Mon Dec 28, 2015 4:28 pm
by russian

Re: my simple ECU

Posted: Thu Dec 31, 2015 7:43 am
by Hentai
russian wrote:A bit of eye candy

https://www.youtube.com/watch?v=HsKoD4tMfOU
very nice. I see you have an airmass output

making me more interested, whats one cost to get a working baord setup going?

Re: my simple ECU

Posted: Thu Dec 31, 2015 2:13 pm
by russian
Hentai wrote:whats one cost to get a working board setup going?
really depends on the amount of soldering you are looking for - http://rusefi.com/wiki/index.php?title= ... e:For_Sale

Re: my simple ECU

Posted: Thu Dec 31, 2015 4:29 pm
by Hentai
russian wrote:
Hentai wrote:whats one cost to get a working board setup going?
really depends on the amount of soldering you are looking for - http://rusefi.com/wiki/index.php?title= ... e:For_Sale
Thanks. I will buy the connector and pin board to finish up my current ecu install.

Re: my simple ECU

Posted: Wed Feb 10, 2016 3:03 am
by russian
Now with automatic warm-up fuel correction. Currently hard-coded to keep AFR at 13 while CLT is below 80C, will probably make it a curve to gradually get to 14.7 while engine gets warmer

https://www.youtube.com/watch?v=Mdyr1dbYeW8