Hi all,
I'm thinking of using rusEFI as an ECU for engine development on a dyno.
What I have:
Dyno control system: AVL PUMA 2
Indication system: AVL Indicom
What I want:
Control parameters of the ECU over CAN.
Example:
With all the equipment on the dyno I know exactly what the engine does (PMI, PME, MFB50, Lambda, Torque, etc.)
I could then do closed loop control for e.g. MFB50.
Closed loop control would happen on the dyno itself.
The ECU would just have to apply the calculated ignition advance.
The overall goal would then be doing automatic combustion engine development like OEMs do:
Creating a spreadsheet with PMI, MFB50, Lambda, SOI (Start of injection) ...
Is this something I could achieve via LUA?
Tuning over CAN
- AndreyB
- Site Admin
- Posts: 14583
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: Tuning over CAN
Yes.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- NormanAlphaspeed
- Posts: 73
- Joined: Fri Jan 13, 2017 7:15 am
- Location: Puerto Rico
- Contact:
Re: Tuning over CAN
Just to add a bit more, Lua has the capability to modify the current tune using burnCalibration(), and you can do a ton of real-time corrections to tunes using a ton of functions described at https://github.com/rusefi/rusefi/wiki/Lua-Scripting
What you say sounds very feasible but time-consuming; I have no doubt it can be done, you just have to study the Lua for a while and do it.
What you say sounds very feasible but time-consuming; I have no doubt it can be done, you just have to study the Lua for a while and do it.
AlphaX Auto Electronics
https://www.facebook.com/AlphaXAutoElectronics/
Tuned by AlphaSpeed
https://www.facebook.com/AlphaSpeedPR
https://www.facebook.com/AlphaXAutoElectronics/
Tuned by AlphaSpeed
https://www.facebook.com/AlphaSpeedPR