4g61t.org

Specializing in the 3g CSM
It is currently Thu Mar 28, 2024 6:28 pm

All times are UTC-05:00




Post new topic  Reply to topic  [ 41 posts ]  Go to page Previous 1 2 3 Next
Author Message
PostPosted: Sun Jun 28, 2020 6:45 am 
Offline
Member

Joined: Fri May 08, 2020 1:11 pm
Posts: 59
Location: Germany
Will you believe what I did? I hacked the ECU code so I can log faster! With the engine not running I can log 44 samples per second. When logging during normal operation (load cell, RPM, injector duty cycle, O2 sensor, ...) it decreases to 3-6 samples. Not that much.
I hacked the code and now I can log with 125 sampls per second with the engine off!
I've yet to test it in practice with the engine running. But that should translate to 8-20 samples per second.
Maybe I can increase logging speed even more!
It works perfectly fine with my active USB cable.


Top
   
PostPosted: Sun Jun 28, 2020 9:08 am 
Offline
The Silent Administrator
User avatar

Joined: Wed Dec 24, 2003 3:32 pm
Posts: 9524
Location: Ottawa, ON, Canada
Pioneer!

Keep on going, as this could help many down the road.


Top
   
PostPosted: Sun Jun 28, 2020 2:25 pm 
Offline
Member

Joined: Fri May 08, 2020 1:11 pm
Posts: 59
Location: Germany
Definately I will keep on going. This hack will also work on DSMs. Maybe even Evo 1-3. It still has to prove its usefulness in practice though. Then I'll try higher speeds. Hypothetically 125000 bits per second should be possible which translates to roughly 40 - 50 samples PER SECOND during ordinary driving.

Meanwhile I looked around for the rev limiter. I think I found it but have yet to prove it. The code ist much more like the Evo code rather than the 1G DSM's.
Stupid disassembler constantly kept misinterpreting opcodes although I have to admit Motorola 68XX instruction sets appear to me as an utter bloody mess!


Top
   
PostPosted: Mon Jul 13, 2020 8:37 pm 
Offline
The Silent Administrator
User avatar

Joined: Wed Dec 24, 2003 3:32 pm
Posts: 9524
Location: Ottawa, ON, Canada
I can only imagine what DSMlink/ECMLink was like to code because of having to deal with the chip set these ECU's use.

It is funny because all the stuff we get was a year or two behind Japan, so C50 cars were out in 1987 but we only saw them in 1989.

Heck they were racing them for two years before we got to see them!


Top
   
PostPosted: Tue Jul 14, 2020 7:43 am 
Offline
Member

Joined: Fri May 08, 2020 1:11 pm
Posts: 59
Location: Germany
Those guys must be 68HC11 wizards. The Mitsu ECU code doesn't make sense sometimes. They use the index registers at points where I had rather used the accumulator(s).

I found the rev limiter for sure. Tried it out and thit the limiter which I set to 2000 revs.


Top
   
PostPosted: Sun Nov 29, 2020 6:43 am 
Offline
Member

Joined: Fri May 08, 2020 1:11 pm
Posts: 59
Location: Germany
Well apparently I'm not a pioneer: those guys from ECMlink log at 1000 samples/second. That's much quicker than my 125 samples/second. They probably run at a much higher baud rate. Like 115 kbaud.

Nonetheless those logs grow in size quick. A 45 minute drive makes up apx. 10-15 Mb file size at 50 samples/sec.


Top
   
PostPosted: Sat Dec 05, 2020 12:19 pm 
Offline
The Silent Administrator
User avatar

Joined: Wed Dec 24, 2003 3:32 pm
Posts: 9524
Location: Ottawa, ON, Canada
Coding not my strong point but I understand the logic. I honestly have not seen the file sizes on my ecmlink logs but I didn't think they were too big.


Top
   
PostPosted: Sun Dec 06, 2020 6:04 am 
Offline
Member

Joined: Fri May 08, 2020 1:11 pm
Posts: 59
Location: Germany
My logs are CSV files which explains their size. Coding isn't my thing either. So progress is slow... #-o


Top
   
PostPosted: Thu Dec 24, 2020 1:45 am 
Offline
Member

Joined: Wed Feb 25, 2015 2:59 am
Posts: 75
Location: British Columbia, CA
Lol, I totally missed your intro post... Seems like you are well on your way. It's good to see someone else using tunerpro and hopefully you can exploit some more options with it. I have talked with Kim in the past about his swededensity but he has been incommunicado for awhile now.
Did you get in touch?


Top
   
PostPosted: Thu Dec 24, 2020 7:14 am 
Offline
Member

Joined: Fri May 08, 2020 1:11 pm
Posts: 59
Location: Germany
I haven't gotten into contact with KaxLon. Why isn't he pushing Swedensity any harder? It seems like a great project.

Converting the whole mess to speed density was one of my first ideas. Now that I know what I'd get myself into by doing that I don't want to anymore. :) Tuning with a MAF is hard enough after all with no wideband O2.

Tunerpro RT is awesome for logging purposes and map editing as well. I like it because it is universal and can be modified to suit my needs. Increasing the baud rate for logging for example. Or calculating momentary power or fuel consumption.


Top
   
PostPosted: Wed Mar 10, 2021 3:47 pm 
Offline
Member

Joined: Fri May 08, 2020 1:11 pm
Posts: 59
Location: Germany
Image

Attached image shows (estimated!) torque in Newton meters (blue) and power in Pferdestärken = apx. HP (orange). Data was read out from ECU, processed, and converted to a graph. Note torque peak near 3000 revs and plateau from 4000 to 5500. After that volumetric efficiency decreases steadily. May be averted by a bigger TB.

Discuss! :D


Top
   
PostPosted: Sun Mar 14, 2021 10:36 am 
Offline
The Silent Administrator
User avatar

Joined: Wed Dec 24, 2003 3:32 pm
Posts: 9524
Location: Ottawa, ON, Canada
Has to cross at 5250 RPM, by nature of mathematical design. It's a thing.


Top
   
PostPosted: Sun Mar 14, 2021 11:54 am 
Offline
Member

Joined: Fri May 08, 2020 1:11 pm
Posts: 59
Location: Germany
It does so when converting Newton meters to foot pounds (divide Nm by 1.35).


Top
   
PostPosted: Mon Mar 22, 2021 6:30 am 
Offline
The Silent Administrator
User avatar

Joined: Wed Dec 24, 2003 3:32 pm
Posts: 9524
Location: Ottawa, ON, Canada
Ah! I have never come across a dyno power plot that didn't visually cross at 5250 RPM. Pardon my mathematical newb-ness.


Top
   
PostPosted: Mon Mar 22, 2021 4:23 pm 
Offline
Member

Joined: Fri May 08, 2020 1:11 pm
Posts: 59
Location: Germany
This happens when using different units. :rolleyes: I recon I should upload a graph with US units.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 41 posts ]  Go to page Previous 1 2 3 Next

All times are UTC-05:00


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Limited