Table switchover subpage of MembersPage/GolfGtiLpg
The engine works fine for LPG and gasoline with 1.0.75 firmware with [these config and tables]. With 1.0.75 firmware a notebook is needed to switch to other set of tables.
We upgraded to 1.1.53 firmware.
We'll make it switch controlled from EC18pin6(mcp3208 analog.ch.6). 5v / 0V
- 5V gasoline
- 0V (pulled down with a switch) LPG
Preparing the switchover tables
upgrade to 1.1.53
- upload 1.1.53
- we had to use an older (2008-10 ?) v3gui because new vemstune popped up warning for 1.0.73 every second (!)
- MembersPage/GolfGtiLpg/SenzoR says
- coolantfactor "2063_256"
- airdenfactor "2252_256"
- upload 1.1.53 sanity config, eg [this]
- upload mcd and mct dump from 1.0.75 gasoline
- review missing variables
- knock_chan=F0
- multitooth advanced filter, see values (find on GenBoard/UnderDevelopment/FirmwareChanges when semantic changed)
- Set all unused outputs to FF (disabled). grep _channel file.vemscfg Even vvti and warning output channels (do these NOT appear in vemstune "all outputs on one page 2" ?
- run setup on bench
- verify engine operation with gasoline
- save LPG VE and Spark tables in mct format (currently in megatune format)
Switching over tables - the easiest way so far
- gasoline config and tables up on ECU, tested OK
- confswitch=C6 (vemstune Outputs/confsw dialog "Map switch"=198)
- note that this is for mcp3208ch6. You would use 197 for mcp3208ch5, or 199 for mcp3208ch7
- exit VemsTune (or MegaTune)
- issue ManmcS1 manually to initialize second set of tables for sane initial values. Might not be needed if we upload a FULL set of config and tables
- SWITCH mcp3208ch6 from 5V to 0V (pull down to GND with a switch)
- start VemsTune and set confswitch=D6 (vemstune Outputs/confsw dialog "Map switch"=214)
- this is needed, so switching off confswitch will actually go back to tableset 0
- note that this is for mcp3208ch6. You would use 213 for mcp3208ch5, or 215 for mcp3208ch7
- upload new tables
- burn ("basic settings" dialog).
- verify.
- Always exit vemstune before switching confswitch on/off. VemsTune or MegaTune does NOT know about the different set of tables. You do not want it accidentally write to the other set, or making switching impossible by changing confswitch=.. value
- we recommend that you keep list (on paper!) of variables that vary between the 2 tablesets. This makes it easier to see what's going on, or revert in case something goes wrong.
- repeat the dual-table procedure a few times on the bench before going to real engine.
Some indication flag (to differentiate between tableset0 and tableset1) would be nice (should appear in the log as well). The analog input measurement is in the logs, but a flah would be nicer.
'''a more complex way to upload - only left here for completeness. This was the original thought. The above worked SO much better.
- prepare slightly changed config files (confswitch=.. different, see GenBoard/UnderDevelopment/FirmwareChanges)
- confswitch=C6 does load_variables(1) if mcp3208 ch6 goes low
- confswitch=D6 does load_variables(0) if mcp3208 ch6 goes high
- one way is to generate gas and LPG config.mtt files.
- We try to upload with vemstune, and only do the special burn command manually (mcS0 and mcS1)
- confswitch=C6 (decimal 198)
- mcS0
- confswitch=D6 (decimal 214)
- upload LPG specific tables (VE and spark)
- mcS1
- append the gas and LPG tables.mtt to the end
- edit the files manually, change the trailing mcs burn command to mcS0 and mcS1
Hungarian
Egy 2 körös kapcsoloval képzeltem el az átváltást és 4 db relével ezek már be is vannk szerelve.A relék 30-as pontjára érkezik a jel a cpu felöl a 6,8ohmos ellenálláson keresztül. A reléktöl a 87a-kivezetés a benzinhez megy a 87-es pediga gázhoz.A reléket viszi az egyik kör a másik pedig a cpu-ba megy mégpedig a ECM18pin6-ra egy 2k7-es ellenálláson keresztül.
Ecm18
- EC18pin6(mcp3208 analog.ch.6)5v
- EC18pin12(mcp3208 analog.ch7)5v
- EC18pin16(mcp3208 analog.ch5)0v