View unanswered posts | View active topics It is currently Sun Sep 24, 2017 10:18 pm



Reply to topic  [ 84 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9  Next
my simple ECU 
Author Message
LQFP112 - Up with the play
User avatar

Joined: Fri Feb 01, 2013 4:18 pm
Posts: 143
Location: Jersey City, USA
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:
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:
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 :)

_________________
http://forum.diyefi.org/viewtopic.php?t=2070 http://www.rusefi.com


Fri Dec 05, 2014 7:06 pm
Profile
LQFP112 - Up with the play
User avatar

Joined: Fri Feb 01, 2013 4:18 pm
Posts: 143
Location: Jersey City, USA
Finally everything on the same board :)

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

_________________
http://forum.diyefi.org/viewtopic.php?t=2070 http://www.rusefi.com


Tue Dec 09, 2014 8:02 pm
Profile
LQFP112 - Up with the play
User avatar

Joined: Fri Feb 01, 2013 4:18 pm
Posts: 143
Location: Jersey City, USA
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

_________________
http://forum.diyefi.org/viewtopic.php?t=2070 http://www.rusefi.com


Sun Dec 21, 2014 3:09 am
Profile
TO220 - Visibile

Joined: Wed Apr 01, 2015 6:39 pm
Posts: 6
Cool project, I was just looking at those stm32 discovery boards today, I think I will order one to play with.


Tue Apr 14, 2015 8:36 am
Profile
LQFP112 - Up with the play
User avatar

Joined: Fri Feb 01, 2013 4:18 pm
Posts: 143
Location: Jersey City, USA
now with knock detection!

http://www.youtube.com/watch?v=7oRpYhLUogM

_________________
http://forum.diyefi.org/viewtopic.php?t=2070 http://www.rusefi.com


Sun Jul 12, 2015 3:34 am
Profile
LQFP112 - Up with the play
User avatar

Joined: Fri Feb 01, 2013 4:18 pm
Posts: 143
Location: Jersey City, USA
A bit of eye candy

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

_________________
http://forum.diyefi.org/viewtopic.php?t=2070 http://www.rusefi.com


Mon Dec 28, 2015 4:28 pm
Profile
LQFP144 - On Top Of The Game
User avatar

Joined: Sun Jul 18, 2010 2:35 pm
Posts: 299
russian wrote:

very nice. I see you have an airmass output

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


Thu Dec 31, 2015 7:43 am
Profile
LQFP112 - Up with the play
User avatar

Joined: Fri Feb 01, 2013 4:18 pm
Posts: 143
Location: Jersey City, USA
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

_________________
http://forum.diyefi.org/viewtopic.php?t=2070 http://www.rusefi.com


Thu Dec 31, 2015 2:13 pm
Profile
LQFP144 - On Top Of The Game
User avatar

Joined: Sun Jul 18, 2010 2:35 pm
Posts: 299
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.


Thu Dec 31, 2015 4:29 pm
Profile
LQFP112 - Up with the play
User avatar

Joined: Fri Feb 01, 2013 4:18 pm
Posts: 143
Location: Jersey City, USA
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

_________________
http://forum.diyefi.org/viewtopic.php?t=2070 http://www.rusefi.com


Wed Feb 10, 2016 3:03 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 84 posts ]  Go to page Previous  1 ... 4, 5, 6, 7, 8, 9  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.