Author Topic: 1.0.79  (Read 20086 times)

Offline Sprocket

  • Hero Member
  • *****
  • Posts: 867
  • BHP: 29
1.0.79
« on: October 07, 2008, 05:43:03 pm »
Changelog:
1.0.79
   * Config switch for tableswap, if not in use makesure confswitch=00
      /**
      * Configuration switch.
      * confswitch=C3 does load_variables(1) if mcp3208 ch3 goes low
      * confswitch=D3 does load_variables(0) if mcp3208 ch3 goes high
      * confswitch=83 does load_variables(1) if mcp3208 ch3 goes low  AND misc1 condition is true
      * confswitch=93 does load_variables(0) if mcp3208 ch3 goes high AND misc1 condition is false
      * any mcp3208 analog input channel can be chosen with confswitch bit 0:3 (ch 0..7)
      */
   * New implemention for acceleration enrichment, RPM vs Amount and Dotrate vs Scale
      http://www.vems.hu/wiki/index.php?page=GenBoard%2FUnderDevelopment%2FAccelerationEnrichment
   * Velearn dropped
   * Injector staging enabling now in config variables !!CHECK YOUR SETTING!!



http://www.vems.hu/wiki/index.php?page=MegaTune

I realise this is still in testing, but as im starting from scratch with this engine, i'll give it a go ;)

Any one able to help me understand the dual config switch settings :-\ I put 195 in as it says in the F1 help menue but it didnt like that :-\

There was a number in there to start with, but cant remember what it was :D and it was not one shown in the F1 help, now my uploaded tables have dissapeared and been replaced with something obscure :D not a problem if i have to re flash, i should have saved msq before i started ::)

And, im not sure on how to configure the input channel, nothing new there then :D

I have configured to 00 to dissable for now, and not really looking at using this feature at the moment, but could be usefull in the future for E85 or dry nitrous perhaps
« Last Edit: October 07, 2008, 05:45:58 pm by Sprocket »

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: 1.0.79
« Reply #1 on: October 07, 2008, 06:51:57 pm »
Don't try from scratch Sir, start from a known good well tested firmware version.  What trigger pattern are you using?

Offline Sprocket

  • Hero Member
  • *****
  • Posts: 867
  • BHP: 29
Re: 1.0.79
« Reply #2 on: October 07, 2008, 07:05:05 pm »
I think I will do Rob. I cant get the KPA bins in the tables as I want them, it apears that only even numbers are acceptable, therefore 5kpa jumps are out, makes the contour a little odd, with 4, 6, 4, 6, 4, 6 kpa jumps :-\ Maybe this is something new on later firmwares, but im sure i have set up the tables with some 5kpa jumps around the idle area.

Going back to the 1.0.73 or maybe the 1.0.78 untill its mapped, seeing as VE learn has been dropped, I manage to rough out the map with VE learn set agressive, and i have had good results in the past. I need something to get me started and driving to put some run in miles on it before the dyno.

I have a couple of good configs from Matty and Andre that will get me in the ball park for these engines anyway.

Still, the switchable maps is an atractive prospect :)

Im running the plain 36 -1 trigger ;)

Offline Sprocket

  • Hero Member
  • *****
  • Posts: 867
  • BHP: 29
Re: 1.0.79
« Reply #3 on: October 07, 2008, 10:37:15 pm »
Yep, gone back to 1.0.73 and i can fit odd numbers into the kpa axis on the tables.

Both 1.0.78 and 1.0.79 exhibit the same issue, the kpa axis only accepts even numbers :-\

Offline dnb

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 837
  • BHP: 19
Re: 1.0.79
« Reply #4 on: October 08, 2008, 12:14:39 am »
I've never noticed the even number thing before.  Mine seems happy on 1.0.78 with odd numbers, although they all end in 5.

Offline Sambas

  • Sandwiches
  • Jr. Member
  • *
  • Posts: 71
  • BHP: 15
Re: 1.0.79
« Reply #5 on: October 08, 2008, 06:37:16 am »
This is because Highboost is set in settings.ini
Firmware, Software and Hardware

Offline Sprocket

  • Hero Member
  • *****
  • Posts: 867
  • BHP: 29
Re: 1.0.79
« Reply #6 on: October 08, 2008, 06:45:56 pm »
This is because Highboost is set in settings.ini

 :D

Yes, indeed.

I did have an error on starting Megatune, and was going to get round to working out what the hell that meant. ^^^^ :D

All is better now ;)

Thanks

Offline Arvid

  • Jr. Member
  • **
  • Posts: 26
  • BHP: 2
Re: 1.0.79
« Reply #7 on: December 02, 2008, 03:13:05 pm »
Is it possible to get. Mat enrichment table, Map filter, and full Config swap? In a new 1.0.80? As it is in the 1.1.44?  :)

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: 1.0.79
« Reply #8 on: December 02, 2008, 03:15:26 pm »
I thought the point in 1.1.42 onwards is to integrate the code so that you won't need to use 1.0.xx code any more ???

Offline Arvid

  • Jr. Member
  • **
  • Posts: 26
  • BHP: 2
Re: 1.0.79
« Reply #9 on: December 02, 2008, 03:56:26 pm »
I thought the point in 1.1.42 onwards is to integrate the code so that you won't need to use 1.0.xx code any more ???

I tried the 1.1.44. startet completely fine, From 1600 - 2000rpm missfires/stumples it. It got worse with 2.5ms dvell, and slightly better with 1ms dvell. 1.0.79 works without problem with the same fuel and IGN map. Maybe a little bug?

My 1.1.44 trigger settings:

c004 signal-> coiltype, No. teeth=4, triggertooth=0, another triggertooth=1, toothwheel width=180, secondary trigger=25 and reftooth table=[0,3,2,1]

Offline rob@vems.co.uk

  • Hero Member
  • *****
  • Posts: 3115
  • BHP: 49
    • VEMS Forum
Re: 1.0.79
« Reply #10 on: December 02, 2008, 04:00:16 pm »
Can you datalog this?  If you are not getting trigger errors then your settings shouldnt be a problem, the fact that you're changing the dwell time and getting a positive change suggests that the dwell/boost scaling might be the issue.

Rob

Offline Arvid

  • Jr. Member
  • **
  • Posts: 26
  • BHP: 2
Re: 1.0.79
« Reply #11 on: December 02, 2008, 04:14:34 pm »
Can you datalog this?  If you are not getting trigger errors then your settings shouldnt be a problem, the fact that you're changing the dwell time and getting a positive change suggests that the dwell/boost scaling might be the issue.

Rob

I've tried map scale 0.1 and 2. Did not notice any difference.
 
My msq file 1.1.44: http://www.vems.hu/files/ArvidOlausen/Volvo%20740.test%2098%20SLOT%200%20config199.ny%20test.01.msq

Datalog 1.1.44: http://www.vems.hu/files/ArvidOlausen/datalog200812021815.xls
« Last Edit: December 03, 2008, 07:15:20 am by Arvid »

Offline Sprocket

  • Hero Member
  • *****
  • Posts: 867
  • BHP: 29
Re: 1.0.79
« Reply #12 on: June 19, 2009, 05:33:06 am »
Righto

this is just for posterity, as I am probably the only person running 1.0.79 perhaps.

I spent three hours sat in the car, just trying to get the dual table switching working, which was no easy task with the code speak instructions relating to it. Just to note while I am here, the configuration for this in 1.0.79 is different to that in 1.1.XX

Hopefully this should be a 'dual table config for dummies' I was that dummy, and it took me three hours. I hope this will at least help others to reduce the time sat in the car during a thunder storm :D

-------------------------------------------------------------------------------------------------------------------------------------

Dual table switching

Dual table switching only, does not change config, tables only (VE, Lambda, Spark, Boost)

Save MSQ in Megatune and back up MSQ file in a safe place.

Run 'download-config.bat' and back up config.txt and tables.txt, in a safe place

Edit config.txt at line 'confswitch=xx' where 'xx' is the config setting as bellow

   confswitch=C3 (does - load_variables(slot1) if input ch3 grounded)
   confswitch=D3 (does - load_variables(slot0) if input ch3  at 5volts (pull up))
   confswitch=83 (does - load_variables(slot1) if input ch3 grounded AND misc1 condition is true)
   confswitch=93 (does-  load_variables(slot0) if input ch3  at 5volts (pull up) AND misc1 condition is false)
   to change input channel number to one you are using, replace the '3' in any of the above with the channel number (0..7) IE using input channel       7, the four configuration variables above would be C7, D7, 87, 97
   It would be normal to just use the first configuration value IE C0,C1,C2,C3,C4,C5,C6,C7 dependant on the input channel used. The config switch     is then grounding the input to activate 'slot1'

Save changes to config.txt

Run 'generate-config-16x14WithDefaults.bat' (or, 'generate-config-12x12WithDefaults.bat')

Run 'upload-config.bat'

Create two folders in the profile folder ('VEMSv3-16x14' or 'VEMSv3-12x12') one called 'slot0' and the other called 'slot1'

Copy and paste the previously saved MSQ file into each of the new folders

Run Megatune with the config switch in the 'off' position (slot0) open MSQ file in 'slot0' folder, send and burn to the ECU.

Correct the ALS input miss configuration by setting to 'DISABLE' send and burn to the ECU.

Save MSQ in 'slot0' folder

Close Megatune

Power off the ECU

Change the config switch to the 'on' position (slot1), Power up the ECU, run Megatune, open MSQ in 'slot1' folder, send and burn to the ECU.

Correct the ALS input miss configuration by setting to 'DISABLE' send and burn to the ECU.

You will now be able to change the config tables at the flick of a switch. Note that the ECU needs to be powered down before changing the config switch from one to the other, Megatune does not nescisaraly have to be closed. It is a good idea to save the MSQ files for the two different 'slots' in the folders you created.
« Last Edit: June 19, 2009, 06:00:18 am by Sprocket »

Offline Sprocket

  • Hero Member
  • *****
  • Posts: 867
  • BHP: 29
Re: 1.0.79
« Reply #13 on: June 19, 2009, 05:39:04 am »
It would appear that with Megatune running and the ECU powered up, changing the position of the switch does still change the tables without the need to power down the ECU or close and restast Megatune. I am however scared to try it with the engine running :D remembering that it is the tables only in 1.0.79 and not the whole config as in 1.1.XX.

Offline Sprocket

  • Hero Member
  • *****
  • Posts: 867
  • BHP: 29
Re: 1.0.79
« Reply #14 on: June 21, 2009, 04:13:46 am »
While Wiki dredging, I found this relating to questions I previously asked regarding Barometric Correction

barometric correction roughly: adds 4% fuel if pressure at startup is -10% (eg. on a high hill) compared to normal. In fact it's a linear function, and insane values (too low baro) are eliminated. Inactive is OK, especially with WBO2

and also

#  Pure Alpha-N

    * VE table: TPS based
    * Spark table: TPS based
    * Lambda table: TPS based

# Alpha-N with baro correction

    * VE table: TPS based with MAP multiplication
          o important: with map sensor connected in free air or before throttle bodies
    * Spark table: TPS based
    * Lambda table: TPS based

# Alpha-N with boost compensation, map based spark+lambda all the time

    * VE table: TPS based with MAP multiplication
    * Spark table: MAP based
    * Lambda table: MAP based

# Alpha-N with boost compensation, tps based spark+lambda before boost arrives

    * VE table: TPS based with MAP multiplication
    * Spark table: TPS based when MAP<=barometric pressure, MAP based above
    * Lambda table: TPS based when MAP<=barometric pressure, MAP based above

So by the sounds of this, The question I originaly asked is answered in there. Basicaly with Alpha N, Baro Correction enabled on a normaly aspirated engine, and the MAP sensor measuring free air, fuel is added or subtracted based on the difference of MAP to 100kpa?

Wiki seems to be fragmented with two different firmware hiaraci, with some missing in one, and others missing in the other and still little expalanation of any of the real meanings of the settings

http://www.vems.hu/wiki/index.php?page=GenBoard%2FUnderDevelopment%2FFirmwareChanges

http://www.vems.hu/wiki/index.php?page=MegaTune