Back: \ MembersPage/JanSaenen
Input variables where Inj_out is dependant of...
As my car will be running on Vapourised LPG injection my Inj_output timing will be dependant of Fuelpressure and Fueltemperature. I already have a sensor mounted that's able to collect these values.
Connect the signal to free ADC inputs - mcp3208. Check the shop text for free inputs. Apparently
- EC18pin12 available ADC because secondary_trigger: HALL
- EC18pin6 available ADC because onboard MAP
- injection pulsewidth calculation
- do some research for the formulas. Make tables and examples (octave,matlab, spreadsheet?). You can try to make final functions using +,*,table_lookup operations. Division only with power of 2 (/2, /4, /8... /256, /512 ...)
- I guess the fuel pulsewidth needs a *1/sqrt(fuel_pressure) multiplier (we'll likely use a table for sqrt() for speed.
- I have no idea how the fuel temperature will be used. Most likely another table_lookup for viscosity ?
When the plan is ready, we'll add to the firmware and make it possible to enable it in config.
A few questions I have after reading your reply:
I want to run fully sequential injection and ignition with and Hall sensor as secondary trigger. The secondary trigger is onboard and from what I understand in your reply this leaves EC18pin12 available.
- Or is this channel used when I configure my engine to be fully sequential?
From what I understand from your answer. I can use EC18pin6 as an input channel because I have an onboard MAP sensor and this input is therefore free.
- Is this correct?
- From what I understand I don't have to alter the hardware of my genboard to use it with Vapourised Sequential LPG Injection?
software:
From what I understand you need 4 look-up tables:
- Fuel_temp : Vsens_out
- Fuel_pressure : Vsens_out
- Fuel_temp : Desity
- Fuel_pressure : Density
I can configure these tables in excel if you want. The values will be between: 0.25V and 4.85V.
For the Fuel_pressure Vsens_out can also be configured with a code being: Vout=(c1*Pabs+C0)*Us. Or must this be in a table?
- What does the original code looks like to calculate Inj_out?
- Can you explain the devisions a bit more? As i'm not a software engineer I don't understand these terms.