Stock ECU Real-Time Tuning / Datalogging
#51
Super Raterhater
Thread Starter
iTrader: (6)
Join Date: Dec 2001
Location: NY, MA, MI, OR, TX, and now LA or AZ!
Posts: 10,624
Likes: 0
Received 2 Likes
on
2 Posts
The problem is almost none of the information is the same, so none of the context menus would make any kind of sense. This, coupled with the different sizes of the tables would make it difficult without TS modifications.
#52
Super Raterhater
Thread Starter
iTrader: (6)
Join Date: Dec 2001
Location: NY, MA, MI, OR, TX, and now LA or AZ!
Posts: 10,624
Likes: 0
Received 2 Likes
on
2 Posts
Been a slow week for updates, as I've been out of town dealing with a property issue. Although, I did score some chopped up engine harness ECU plugs so I can get to building a bench tester -- as well as a spare CAS.
Otherwise, the only updates are minor progress on the interface program. It's getting near complete with the exception of the map watch and monitor windows.
Otherwise, the only updates are minor progress on the interface program. It's getting near complete with the exception of the map watch and monitor windows.
#53
MECP Certified Installer
So, sonicrat, I'll be the first to ask...
How much do you think this will cost?
I don't really need to tune my car, but would LOVE to be able to log data.
How much do you think this will cost?
I don't really need to tune my car, but would LOVE to be able to log data.
#54
Super Raterhater
Thread Starter
iTrader: (6)
Join Date: Dec 2001
Location: NY, MA, MI, OR, TX, and now LA or AZ!
Posts: 10,624
Likes: 0
Received 2 Likes
on
2 Posts
PCB Board - ~$20
FTDI USB Chip or Bluetooth module - ~$5 or ~$8
UART- ~$8
Crystal - ~$2
NVSRAM/EEPROM - ~$10
Assorted resistors/capacitors/etc - ~$1
Various sockets/header pins - ~$3
USB Cable to hack up and solder to the board - ~$2
Frustration of having to desolder the ECU - priceless.
I'd guess with shipping/everything else, it'll cost people about $50.
I may make some "presoldered" PCB boards available that have the FTDI or Bluetooth modules already soldered, along with the capacitors/resistors, as I'll likely use surface mount stuff in my board designs and it may be more difficult for most people to solder those. I have no reason to build the entire board for people -- as they will still need to solder on the USB cable and the jumper wires on the ECU itself. Meaning, if you can solder that, you can solder the rest of the board up too.
I could possibly do the entire thing for people if they send me their ECU, but that'd obviously cost a bit more for my time.
#55
Rotisserie Engine
iTrader: (8)
$50 to datalog and adjust the factory ECU...that's a damn good value.
I may be able to be a guinea pig here soon if I can get this engine built and get things assembled. I have a S5 car but s4 engine and ecu which needs figured out...So I may hold out for the S5 one.
I may be able to be a guinea pig here soon if I can get this engine built and get things assembled. I have a S5 car but s4 engine and ecu which needs figured out...So I may hold out for the S5 one.
#58
Super Raterhater
Thread Starter
iTrader: (6)
Join Date: Dec 2001
Location: NY, MA, MI, OR, TX, and now LA or AZ!
Posts: 10,624
Likes: 0
Received 2 Likes
on
2 Posts
I'm almost finished with the app -- then I need to do some guinea pigging on the test bench or a car to hash out bugs/make sure the conversion are all accurate, etc.
#60
Super Raterhater
Thread Starter
iTrader: (6)
Join Date: Dec 2001
Location: NY, MA, MI, OR, TX, and now LA or AZ!
Posts: 10,624
Likes: 0
Received 2 Likes
on
2 Posts
I'll be ordering a batch of boards once I get back to Lansing and finalize the board layout. Typically, they require 3 boards per order, so I'll have at least 2 spares in the coming weeks.
#63
Retired Moderator, RIP
iTrader: (142)
Join Date: Sep 2005
Location: Smiths Falls.(near Ottawa!.Mapquest IT!)
Posts: 25,581
Likes: 0
Received 131 Likes
on
114 Posts
GUYS!
IF Discussions about PRICES or Parts for Sale start arising then I will have NO CHOICE TO SHUT HIS THREAD DOWN.
Please keep it to a TECHNICAL Discussion until SonicRat can decide how he is going to Proceed.
If Prices are mentioned then it goes into Group Buy and that means MONEY for FEES.
HINT: I cannot stop you from Pm'ing SonicRat though..(to discuss any future plans of this ECU.)
Thanks Gentlemen.
STYX (MOD)
IF Discussions about PRICES or Parts for Sale start arising then I will have NO CHOICE TO SHUT HIS THREAD DOWN.
Please keep it to a TECHNICAL Discussion until SonicRat can decide how he is going to Proceed.
If Prices are mentioned then it goes into Group Buy and that means MONEY for FEES.
HINT: I cannot stop you from Pm'ing SonicRat though..(to discuss any future plans of this ECU.)
Thanks Gentlemen.
STYX (MOD)
#65
Super Raterhater
Thread Starter
iTrader: (6)
Join Date: Dec 2001
Location: NY, MA, MI, OR, TX, and now LA or AZ!
Posts: 10,624
Likes: 0
Received 2 Likes
on
2 Posts
The key thing to remember is this is an open-source, DIY, community project. Those prices are simply the prices of the bill of materials -- not anything I would charge. It's simply a price list of what it will cost *you* to order those parts from an electronics store to assemble it.
There's no product being sold or marketed, simply the discussion of how to build it and what it will cost people to do it.
There's no product being sold or marketed, simply the discussion of how to build it and what it will cost people to do it.
#66
Super Raterhater
Thread Starter
iTrader: (6)
Join Date: Dec 2001
Location: NY, MA, MI, OR, TX, and now LA or AZ!
Posts: 10,624
Likes: 0
Received 2 Likes
on
2 Posts
I've made a couple of significant updates in the past day or two.
There's now a 20x20 fuel correction table.
In addition, I will be replacing the secondary injector transition with a secondary injector table. This will be another 20x20 table that lets you manually control the secondary injector percentage based upon RPM/MAP -- meaning you can "smooth" out transitions, use much larger secondary injectors, etc. (This is essentially the same as can be done on the megasquirt in "table" mode).
I'll be creating a "base tune" that is basically the stock S4 TII map using the secondary injector table. (i,e, 100% in every cell over 3inHg and 3500rpm), so it should be "drop in" for a stock swap.
There's now a 20x20 fuel correction table.
In addition, I will be replacing the secondary injector transition with a secondary injector table. This will be another 20x20 table that lets you manually control the secondary injector percentage based upon RPM/MAP -- meaning you can "smooth" out transitions, use much larger secondary injectors, etc. (This is essentially the same as can be done on the megasquirt in "table" mode).
I'll be creating a "base tune" that is basically the stock S4 TII map using the secondary injector table. (i,e, 100% in every cell over 3inHg and 3500rpm), so it should be "drop in" for a stock swap.
#67
Concerned Citizen
iTrader: (3)
Join Date: Nov 2001
Location: Miltown, WI
Posts: 699
Likes: 0
Received 0 Likes
on
0 Posts
So as far as the programming is concerned, what would the requirements be for an OS? Currently, I have issues with my phone operating Style Tap to emulate a palm device and therefore making my only "tuning device" incredibly cumbersome to deal with. Not to mention having to edit every cell this way.
I'm not familiar with the PFC, however at a glance it appears you can edit in excel. Would this be something similar to the interface you are creating?
I guess I'm hoping for some sort of Windows platform (preferably even RT) to utilize with this.
I have a spare N332 that I'd be willing to experiment on/debug with.
I'm not familiar with the PFC, however at a glance it appears you can edit in excel. Would this be something similar to the interface you are creating?
I guess I'm hoping for some sort of Windows platform (preferably even RT) to utilize with this.
I have a spare N332 that I'd be willing to experiment on/debug with.
#68
Super Raterhater
Thread Starter
iTrader: (6)
Join Date: Dec 2001
Location: NY, MA, MI, OR, TX, and now LA or AZ!
Posts: 10,624
Likes: 0
Received 2 Likes
on
2 Posts
So as far as the programming is concerned, what would the requirements be for an OS? Currently, I have issues with my phone operating Style Tap to emulate a palm device and therefore making my only "tuning device" incredibly cumbersome to deal with. Not to mention having to edit every cell this way.
I'm not familiar with the PFC, however at a glance it appears you can edit in excel. Would this be something similar to the interface you are creating?
I guess I'm hoping for some sort of Windows platform (preferably even RT) to utilize with this.
I have a spare N332 that I'd be willing to experiment on/debug with.
I'm not familiar with the PFC, however at a glance it appears you can edit in excel. Would this be something similar to the interface you are creating?
I guess I'm hoping for some sort of Windows platform (preferably even RT) to utilize with this.
I have a spare N332 that I'd be willing to experiment on/debug with.
#70
Super Raterhater
Thread Starter
iTrader: (6)
Join Date: Dec 2001
Location: NY, MA, MI, OR, TX, and now LA or AZ!
Posts: 10,624
Likes: 0
Received 2 Likes
on
2 Posts
The hardware is pretty much done. I'm just working on the management software for the PC. I've got most of it done, just hashing out a few data conversions. It's quite the pain given that I don't have a car to test everything, so I have to "emulate" sensors.
#72
Super Raterhater
Thread Starter
iTrader: (6)
Join Date: Dec 2001
Location: NY, MA, MI, OR, TX, and now LA or AZ!
Posts: 10,624
Likes: 0
Received 2 Likes
on
2 Posts
I'll be on the road for the next couple of weeks, so testing will be on hold for a bit. Hopefully I'll be able to put together a S4 N/A ROM in the downtime and finish all of the management software. Once I get back, the first batch of boards should be here as well. After that, it'll be difficult to do much without a test vehicle. More or less the last major obstacle is the injector pulsewidth conversion which is holding up the show. After that, just about everything else is all set to go.
Here's basically the final form of the hardware schematic -- there are a few options on here for testing purposes that don't need to be there for a "production" version.
Here's basically the final form of the hardware schematic -- there are a few options on here for testing purposes that don't need to be there for a "production" version.
#73
Retired Moderator, RIP
iTrader: (142)
Join Date: Sep 2005
Location: Smiths Falls.(near Ottawa!.Mapquest IT!)
Posts: 25,581
Likes: 0
Received 131 Likes
on
114 Posts
??????...
Wow..(wtf am I look at?..hahha!)
If you go through the trap door you can save the Princess and get the Kingdom of gold!..
I tell ya,Hats off to ya My good man..
I'm still workin the abacus!
Wow..(wtf am I look at?..hahha!)
If you go through the trap door you can save the Princess and get the Kingdom of gold!..
I tell ya,Hats off to ya My good man..
I'm still workin the abacus!
#75
rotorhead
iTrader: (3)
It sounds like you have some basic fuel and spark control, but from the perspective of tuning functionality, here are questions for the N333 ECU at least:
Does your hardware support realtime tuning?
Have you found the boost control system?
Have you found the idle speed and idle mixture feedback systems?
Have you found the knock control system?
Have you found the injection timing control?
Have you found the tip-in fuel control?
Have you found the cranking fuel and warmup enrichment control?
Have you found the closed/open loop switchpoint control under acceleration?
Have you been able to find controls for any of the switched outputs (emissions solenoids etc)?
What sample rates have you observed when logging?
Have you found the airflow meter voltage to airflow units transfer function (would be MAF scaling on a real MAF car)?
Have you found the boost sensor scaling?
Does your hardware support realtime tuning?
Have you found the boost control system?
Have you found the idle speed and idle mixture feedback systems?
Have you found the knock control system?
Have you found the injection timing control?
Have you found the tip-in fuel control?
Have you found the cranking fuel and warmup enrichment control?
Have you found the closed/open loop switchpoint control under acceleration?
Have you been able to find controls for any of the switched outputs (emissions solenoids etc)?
What sample rates have you observed when logging?
Have you found the airflow meter voltage to airflow units transfer function (would be MAF scaling on a real MAF car)?
Have you found the boost sensor scaling?