PDA

View Full Version : Standalone datalogging with Openport 2.0



AderC
13-04-2010, 08:28 PM
Has anyone else tried out the standalone logging function of the Openport 2.0 cable? The beta version of ECUFlash updates the firmware to support logging to an SD card in the slot on the Openport unit, without the need for a laptop to be connected during logging.

All seems to work fine, although there's something odd going on with the coolant temp logging - it decreases with time?!

aDe

Nutter_John
13-04-2010, 08:43 PM
ooo thats good to know , I have yet to try the beta version but have been waiting for the datalogging for ages cos it could help diag so many issues

AderC
13-04-2010, 09:01 PM
I've a modified config file (see attachment) that logs the AFRMAP and 2-Byte Load correctly - the example config file provided with ECUFlash beta doesn't.

Kenneth
05-06-2010, 10:55 PM
Thanks for your work AderC. If I had found this post earlier, I probably would have saved some time... :P Rep given.


Some additional info for logging parameters and some efficiency increases in calculations. Some of the calculations are a bit inefficient. I'll update if Jo (resident math guru!) gets back to me on a more efficient way to do them.


In the following case there is some accuracy lost as 1/1.8 seems to be 0.55 recurring, however I don't see that more than 2 decimal places of temperature is going to make any significant difference. If you want more, just add more 5s in there!


paramname = AirTemp(F)
paramid = 0x3A
scalingrpn = x,32,-,0.55556,*


It appears that the formula is incorrect to begin with though, see 2 posts down.


Coolant temp appears to be somthing like the following. I'll have to get my temperature probe out to actually check it though.
NOTE: see two posts down, this is definitely incorrect


paramname = CoolantTemp(C)
paramid = 0x07
scalingrpn = 128,x,-To get Degrees F 128,x,-,1.8,*,32,+ should do it. Again, I would be tempted to just use a spreadsheet to do this.


Additionally, AFRMap can be simplifed to


paramname = AFRMap
paramid = 0x32
scalingrpn = 1881.6,x,/

Kenneth
06-06-2010, 12:16 AM
paramname = AirTemp(C)
paramid = 0x3A
scalingrpn = x,89.599,-,0.3068,*

New formula for air temp in degrees C. Provided kindly by Dr Joanne ;)

Kenneth
06-06-2010, 02:24 AM
hmmm, no the coolant temp is out. From cold it started at -10 :P Looks closer when warmed up... I looked for my multimeter temperature probe, but I appear to have packed it already for moving.

Air temp does not look right. it is too low to start with, then climbs quite high under load. IIRC the air temp sensor is in the MAF, so unless this temp is derived from load as well, then surely it cannot be right.

The AFRMap looks good and is what would be expected from the High Octane fuel map and the reported RPM and Load

twisted32
22-10-2010, 08:43 AM
Does anyone have the formula for Load Calc to add to the config file?

Kenneth
26-10-2010, 07:00 AM
ECU load in the logcfg file attached by Aderc.

You would be advised to do the 2 byte mod and use that (it is also defined in the logcfg.txt file attached by AderC)

twisted32
26-10-2010, 07:40 AM
Thanks for that

twisted32
31-10-2010, 08:54 AM
Been searching through threads at openecu to try and find a correct formula for air temp and coolant temp, but so far I have found nothing that seems to work. Has anyone had any success yet?

Hotwire
15-11-2010, 04:24 AM
Rob,
I've been playing with OP2 logging for my MAP sensor, and i seem to be finding it doesnt like a complex formula. I suggest just log each with the scaling = x then convert this value in the log/spreadsheet after. simply add in a column and apply the formula's as you'll find them in evoscan.
that being said, being JDM car, I'm pretty sure each are just in Âșc when logging x anyway (dont have evoscan on this computer to check)
But give that a go ;)
edit yes the metric definition is simply x

As for my topic, I have the MAP wired into the rear O2 circuit, and the forumula i use in evoscan is x*0.25 - 21.25
However, when I log address 0x3C and try scale it with that formula, the op2 has a hissy fitt as soon as i touch the throttle and wont log any more. so I removed teh formula and it logs fine :S Anyone got any ideas why?

Hotwire
15-11-2010, 04:38 AM
oh and if you want to use that tool for tracking knock, simply change the header to be Load Calc instead of Load2Byte - it will log 2byte load but give that program the impression its the calculated load ;) much more accurate like Kenneth hinted.

twisted32
17-11-2010, 05:24 PM
Cheers Lee, I will give it a go when I get back from Perth in 2 weeks.

Hotwire
17-11-2010, 10:45 PM
Has anyone else had issues with the OP2 not logging properly? i.e. it wont begin to log, and then when it does it will only log for 10-20 seconds then stop again?

Its been giving me the ****s... I thought it may have been due to complex formulas causing speed issues, but I have removed all scalings and it seems to still do it. I have also ordered the parameters to be logged in order (i.e. MUt2 0x00 first, 0x1's then 0x2s etc) which seems to have helped but I still have instances where it will just randomly stop logging.

Finally, the coolant temp is very odd. It is the same address as evoscan (0x07) BUT when logging the raw value only (x) it begins high and reduces. This is simply incorrect as logging only x via EVOScan you get 100% true temp readings by logging only x so it leads me to think there is something not quite programmed correctly with the OP2 MUTII logging - i.e. it is looking at incorrect addresses. Comments Kenneth or AderC?

Kenneth
18-11-2010, 01:39 AM
Not had any problems with logging myself.

How many parameters are you trying to log?
What is your start/stop condition?
How much space is left on your SD card?

I didn't have much luck getting good data out of the temperatures... I left it at that as I didn't have time to fiddle around. Sorry I couldn't be more help.

Hotwire
18-11-2010, 01:47 AM
I'm only logging 8 parameters to try and get reasonable resolution - below is my logcfg.txt file.
I found that if I plug in the OP2 before starting the engine, and then start it wont start logging. but if I then remove the OP2, and plug back in it may or may not start... last 3 times this method has worked, BUT still a bit hit and miss....

EDIT oh and 2MB used of 1GB SD card. Also used 2MB of 64MB SD card.... 1GB card seems to give less errors....


type=mut2

setpinvoltage=1,-2

paramname=LoadMUT2Byte
paramid=0x00
databits=16
scalingrpn=x,0.3125,*

paramname=TimingAdv
paramid=0x06
scalingrpn=x,20,-

paramname=TPS
paramid=0x17
scalingrpn=x,0.392157,*

paramname=RPM
paramid=0x21
scalingrpn=x,31.25,*

paramname=KnockSum
paramid=0x26

paramname=OCTNumber
paramid=0x27
scalingrpn=x,0.392157,*

paramname=Man_PSi
paramid=0x3C
databits=8
scalingrpn=x,0.25,*,21.25,-

paramname=WGDC
paramid=0x86
scalingrpn=x,0.5,*

;-------------triggers---------------

; only log when the engine is running

conditionrpn = RPM,0,>
action = start

conditionrpn = RPM,0,==
action = stop

Kenneth
18-11-2010, 01:58 AM
Looks pretty stardard and there is no way you are logging too many parameters.

hmm, I wonder if it is OP2 or if it could be something to do with the ECU not being in diagnostic mode or not sending the data? No data = no logging. Try manually grounding pin 1 and seeing if that makes any difference.

think I just left mine permanently grounded...

twisted32
03-12-2010, 05:38 AM
Finally got around to tyring to work out IAT and coolant temp logging, and after talking to steve knight about locations and formula's, this appears to work (only logged when hot today)

paramname=CoolantTemp
paramid=0x10
scalingrpn=x,40,-

paramname=AirTemp
paramid=0x11
scalingrpn=x,40,-

The data logged is about 5 degrees out from evoscan's coolant temp (request 07) and air temp (request 3a) figures, but the same as their coolant temp scaled (request 10) and MAF air temp scaled (request 11).

Does anyone know why the two different values in Evoscan?

ersanalamin
18-06-2014, 03:52 AM
Hi guys, could you please share the newest version of logcfg.txt file? I try to log without laptop using the given text file from Ecuflash directory, but nothing happen. what should I do to make it work?

Davezj
18-06-2014, 01:36 PM
i presume the MicroSD card has to be pre formated to either FAT32 or NTFS but i don't know which. but one will probably not work.

it is only a thought.

i have not tryed this yet but it is something i have been meaning to do for ages.
just to set it up to log when the knock is above 2 counts say.

ersanalamin
18-06-2014, 03:17 PM
i presume the MicroSD card has to be pre formated to either FAT32 or NTFS but i don't know which. but one will probably not work.

it only a thought.

i have not tryed this yet but it is something i have been meaning to do for ages.
just to set it up to log when the knock is agove 2 counts say.

Yes Dave, the problem already solved, I rename the text file incorrect. I rename it logcfg.txt but should be save as just logcfg and send it on OP 2.0 microsd. Now it works fine. Job done he he he. Now I am ready retune kenneth 1.03 ROM on my ECU. its gonna be fun

Davezj
18-06-2014, 05:17 PM
it is fun, but i realised that higher boost than about 1.0-1.1 bar only causes you problems due to knock.

now i have reduced the boost to about a bar i can run +6 to 7 deg timing above 100 load and +8 to 9 deg of timimg between 40 and 100 load. but this on LPG the super fuel of choice for me.
and i can push the AFR to about 12.5 with no knock.

i very much doubt you will be able to get near this timing advance on petrol unless you reduce the AFR down to 10. and you will be loosing power like this. also air temperature make a big difference to the knock level you get, so don't experct big results from oretuning the maps. it is a case of log data, change something, log data again, change it a bit more, log data again, and so on, it is long process.

start off be setting your boost so it is very stable in all gears. then either set the AFR to what you want to achieve and adjust the timing to get it without hitting knock or set the timing and adjust the AFR to get the result you wnat with no knock.

bare in mind though if you set the fuel and igition maps at 1.0 bar of boost and you then decide you want to up the boost to 1.2 bar you will have to retune the maps to the new boost (Load) figure.

have fun
Dave

adaxo
18-06-2014, 05:39 PM
You right Dave, my car after last flash (ign ~+6 ) is noticeable faster and hardly registered any knock (count of 1-2 sometimes), just need to get my ass out and do measuring of times to compare, but it feel much better now /Banana


btw its also on LPG

Davezj
18-06-2014, 06:35 PM
I think the lack of knock has a lot to do with the smooth progressive nature of the map, I tried to make the transitions as smooth as possible, and adjusted far more of the map than I ever anticipated, just so it would be smooth.
But loosing the top 3 or 4 column in the ignition and fuel maps and rescaling the axis I will be able to make it even smoother and more controllable. We just don't need load over 200 now that I have reduced the boost pressure.

Maybe when we play with the td04's, but not with standard td03.

ersanalamin
19-06-2014, 02:05 AM
it is fun, but i realised that higher boost than about 1.0-1.1 bar only causes you problems due to knock.

now i have reduced the boost to about a bar i can run +6 to 7 deg timing above 100 load and +8 to 9 deg of timimg between 40 and 100 load. but this on LPG the super fuel of choice for me.
and i can push the AFR to about 12.5 with no knock.

i very much doubt you will be able to get near this timing advance on petrol unless you reduce the AFR down to 10. and you will be loosing power like this. also air temperature make a big difference to the knock level you get, so don't experct big results from oretuning the maps. it is a case of log data, change something, log data again, change it a bit more, log data again, and so on, it is long process.

start off be setting your boost so it is very stable in all gears. then either set the AFR to what you want to achieve and adjust the timing to get it without hitting knock or set the timing and adjust the AFR to get the result you wnat with no knock.

bare in mind though if you set the fuel and igition maps at 1.0 bar of boost and you then decide you want to up the boost to 1.2 bar you will have to retune the maps to the new boost (Load) figure.

have fun
Dave

My boost target is 1.5 bar with stock turbo, I am looking for 400 bhp on crank more less 350 hp on wheel. it is really push into the limit. I experienced a heavy knock and horrible boost spike with Mine's ECU ROM + boost raise up to 1.3 bar (HKS EVC5) + 92 RON Fuel.

To meet 350 hp and stable boost heres some support modification I am going to do
1. replace stock wastegate with Forge actuator FMACREN521 - Renault 5 and Renault 21 Adjustable Actuator
2. AEM WMI to fight knock
3. Sard Adjustable FPR
4. Aeromotive Fuell Pump

Well enough said, the budget is $1500 US already. I dont have enoght money right now

While waiting, I am now lowering target boost, tune the STock ECU with boost up to 1 bar and tune the HKS EVC RPM based boost. Hope I can find best base setup

ersanalamin
19-06-2014, 02:06 AM
it is fun, but i realised that higher boost than about 1.0-1.1 bar only causes you problems due to knock.

now i have reduced the boost to about a bar i can run +6 to 7 deg timing above 100 load and +8 to 9 deg of timimg between 40 and 100 load. but this on LPG the super fuel of choice for me.
and i can push the AFR to about 12.5 with no knock.

i very much doubt you will be able to get near this timing advance on petrol unless you reduce the AFR down to 10. and you will be loosing power like this. also air temperature make a big difference to the knock level you get, so don't experct big results from oretuning the maps. it is a case of log data, change something, log data again, change it a bit more, log data again, and so on, it is long process.

start off be setting your boost so it is very stable in all gears. then either set the AFR to what you want to achieve and adjust the timing to get it without hitting knock or set the timing and adjust the AFR to get the result you wnat with no knock.

bare in mind though if you set the fuel and igition maps at 1.0 bar of boost and you then decide you want to up the boost to 1.2 bar you will have to retune the maps to the new boost (Load) figure.

have fun
Dave

My boost target is 1.5 bar with stock turbo, I am looking for 400 bhp on crank more less 350 hp on wheel. it is really push into the limit. I experienced a heavy knock and horrible boost spike with Mine's ECU ROM + boost raise up to 1.3 bar (HKS EVC5) + 92 RON Fuel. after all it is fun, overtaking on highway was impresive. I never thought about top speed, just focus on acceleration and knocking.

To meet 350 hp and stable boost heres some support modification I am going to do
1. replace stock wastegate with 2X Forge actuator FMACREN521 - Renault 5 and Renault 21 Adjustable Actuator spring rate blue color 1 bar (to get stable boost/fight boost spike) ($500 US)
2. AEM WMI to fight knock ($500 US)
3. Sard Adjustable FPR ($200 US small size)
4. Aeromotive Fuell Pump ($250 US)

Well enough said, the list need $1500 US already. I dont have enough money right now

While waiting, I am now lowering target boost, tune the STock ECU with boost up to 1 bar and tune the HKS EVC RPM based boost. Hope I can find the best base setup

Davezj
19-06-2014, 01:22 PM
with stock fuel and ignition map, i ran 1.5bar of boost for over a year, the low down torque was brilliant and accelerating from 60-70 on the motorway in 4t or 5th was epic.
But it is not really 1.5 bar of boost though, it was more like having a resovoir of air at 1.5bar pressure and when that resovoir got used up by about 5000 rpm the turbos could not generate it again until i lifted of the throttle and reduced load on the engine. then the next time i put my foot down i had the 1.5Bar resovior back.
basically once the engine got to the rpm level when it was consuming more air than the turbos could generate at 1.5bar the pressure dropped off from about 5000rpm to about 1.0 bar at 7000rpm. i was basically running with no boost pressure getting the wastegates at all, this was the max pressure the little TD03 turbos could generate, which was way out of the efficiantcy range they were designed to run in so they got a bit hot.
but this is a side issue to my point i am going to make.
As soon as i started to play with the ingition timing the engine knocked really badly all the time, i could not increase the timing at all. you might be able to increase the timing with WMI but i am not sure bey how much.
but since reducing the boost to a solid 1.0 bar the tuning has become much easier. however on petrol i think you will struggle to tune more timing in if you are using 92 octane fuel. my car used to knock badly on stack maps with 1.0 bar of boost using 95 octane fuel and that was running AFR of about 10 to 10.5 but maybe the MWI will be the think that cures all your knock issues, lets hope so.

ersanalamin
20-06-2014, 05:21 AM
with stock fuel and ignition map, i ran 1.5bar of boost for over a year, the low down torque was brilliant and accelerating from 60-70 on the motorway in 4t or 5th was epic.
But it is not really 1.5 bar of boost though, it was more like having a resovoir of air at 1.5bar pressure and when that resovoir got used up by about 5000 rpm the turbos could not generate it again until i lifted of the throttle and reduced load on the engine. then the next time i put my foot down i had the 1.5Bar resovior back.
basically once the engine got to the rpm level when it was consuming more air than the turbos could generate at 1.5bar the pressure dropped off from about 5000rpm to about 1.0 bar at 7000rpm. i was basically running with no boost pressure getting the wastegates at all, this was the max pressure the little TD03 turbos could generate, which was way out of the efficiantcy range they were designed to run in so they got a bit hot.
but this is a side issue to my point i am going to make.
As soon as i started to play with the ingition timing the engine knocked really badly all the time, i could not increase the timing at all. you might be able to increase the timing with WMI but i am not sure bey how much.
but since reducing the boost to a solid 1.0 bar the tuning has become much easier. however on petrol i think you will struggle to tune more timing in if you are using 92 octane fuel. my car used to knock badly on stack maps with 1.0 bar of boost using 95 octane fuel and that was running AFR of about 10 to 10.5 but maybe the MWI will be the think that cures all your knock issues, lets hope so.

Well yess dave, you might want to replace the stock waste gate with internal dual port actuator, spring rate 1 bar. Based on experience, most of stock turbo charged car has 0.5 bar spring rate actuator and stock turbo boost max rated at 1.5 bar. So i assume every stock turbo charged car rate the max boost up to 1.5 bar. So mechanically speaking it is actuator that must be replace to meet max 1.5 bar target boost, beyond 1.5 bar of course we have to replace the stock turbo.

Honestly I dont know what I am talking about coz I am not brave enough to set max 1.5 bar due to boost spike and knocking at 1.3 bar with 92 RON fuel. But as reference you might want to see evo X friend of mine at this link and see all the spec used. and again, google translator is your friend

http://www.bosmobil.com/performance/Modif_Mitsubishi_Evolution_X__Optimal_Demi_Ketahan an-b-8789.html

He live near my home and an engine tuning guru :D :D, he said he set the target boost 2.5 bar, RON 95 fuel and Knock happens at 1.5 bar. He Then bought AEM WMI and knock no longer his problem. with current set up he already reach 800 bhp and try to reach 1000 bhp by using fully cosworth tuned 4B11 engine.

He said to me to produce 400 bhp, max target boost 1.5 bar, i have to buy all in $1500 US list :( :(. I hate it. he's the one that propose me the list. till then I just want to play safe. Run 1 bar max boost and tune the stock ecu as possible as i can.

Davezj
20-06-2014, 06:45 AM
this is the only thing i have against WMI if you run out of the mix is the car undrivable, as it will knock throughout the revrange and you will trash your engine if you do drive it without WMI.

this is ware switchable maps would be very useful. but you can worry about that once you have dialed in the tune for the WMI mix.

sounds like you are going to be having some fun when get the bits you want.

ersanalamin
20-06-2014, 08:22 AM
this is the only thing i have against WMI if you run out of the mix is the car undrivable, as it will knock throughout the revrange and you will trash your engine if you do drive it without WMI.

this is ware switchable maps would be very useful. but you can worry about that once you have dialed in the tune for the WMI mix.

sounds like you are going to be having some fun when get the bits you want.

Sure dave, thats why my friend urge me to buy AEM WMI came with 5 Galon size. Mean more money to spend :( . I already bought 2 X forge actuator. The spring inside rate with yellow color. should buy again the blue color spring.

Switchable map is the next thing I have to explore, you damn right bud.

Davezj
20-06-2014, 01:33 PM
this next startement is assuming you have no boost pressure going to the wastegate at all, they are shut under the spring pressure in the wastegate. the turbos are fee to spool to the MAX. it is not recommended to run like this, you do so at your own risk, and it is a risk of turbo and engine failure.

The stronger clamping force of the actuators will only help with holding the boost if the turbos can produce the boost in the first place.
I believe that anything over about 5500 - 6000 rpm and the little TD03 will struggle to produce any more than about 1.0 bar. the engine consumes the air faster than the Turbos can produce the pressure.
the only other thing that could be causing the Turbos to loose boost high up the rev range is the exhaust gas actually pushing the wastegate valve open by itself, and yes in this scenario a stronger clapping force spring in the wastegate would help keep the boost higher at higher rpm.

i will be interested to see the result of the increased clamping force spring in the actuator.
the other thing you could do to test if the higher spring rate actuator will help is to use an external clamp and just clap the wastegate valve shut to see if you can hold the higher boost pressure at higher RPM.
if on the off chance you find the clamped shut wastegates do not help with the boost then you will not have to spend the time and effort fitting something that you have now proved will not help.
you should be able to clamp the wastegates shut with a couple of pairs of mole grips clampped on the actator linkage or something like that.

here is a plot of my boost curve with effectively the wastegates not connected. top plot is the one to look at
http://www.clubvr4.com/forum/showthread.php?70540-Eurospec-rolling-road-day-Saturday-22-March-2014&p=778419&viewfull=1#post778419

it is not a good power run but it was just to show you what i would expect your boost curve to look like.

ersanalamin
20-06-2014, 01:55 PM
this next startement is assuming you have no boost pressure going to the wastegate at all, they are shut under the spring pressure in the wastegate. the turbos are fee to spool to the MAX. it is not recommended to run like this, you do so at your own risk, and it is a risk of turbo and engine failure.

The stronger clamping force of the actuators will only help with holding the boost if the turbos can produce the boost in the first place.
I believe that anything over about 5500 - 6000 rpm and the little TD03 will struggle to produce any more than about 1.0 bar. the engine consumes the air faster than the Turbos can produce the pressure.
the only other thing that could be causing the Turbos to loose boost high up the rev range is the exhaust gas actually pushing the wastegate valve open by itself, and yes in this scenario a stronger clapping force spring in the wastegate would help keep the boost higher at higher rpm.

i will be interested to see the result of the increased clamping force spring in the actuator.
the other thing you could do to test if the higher spring rate actuator will help is to use an external clamp and just clap the wastegate valve shut to see if you can hold the higher boost pressure at higher RPM.
if on the off chance you find the clamped shut wastegates do not help with the boost then you will not have to spend the time and effort fitting something that you have now proved will not help.
you should be able to clamp the wastegates shut with a couple of pairs of mole grips clampped on the actator linkage or something like that.

here is a plot of my boost curve with effectively the wastegates not connected. top plot is the one to look at
http://www.clubvr4.com/forum/showthread.php?70540-Eurospec-rolling-road-day-Saturday-22-March-2014&p=778419&viewfull=1#post778419

it is not a good power run but it was just to show you what i would expect your boost curve to look like.

Interesting, dave. I will discuss it with my friend. and discuss it further with you as soon as everything ready to kick in. I will try to find best basic set up first this week end. Wow dude you were made me to go shopping sooner