MEGAsquirt A place to collectively sort out this megasquirt gizmo

Let's discuss spark advance

Thread Tools
 
Search this Thread
 
Old 02-26-2013, 07:42 AM
  #181  
Senior Member
 
timk's Avatar
 
Join Date: Dec 2004
Location: Brisbane, Australia
Posts: 1,278
Total Cats: 37
Default

Spark plug #64 on an 8 bit little endian system? Kudos!
timk is offline  
Old 02-26-2013, 08:21 AM
  #182  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

Originally Posted by Joe Perez
magical rings made from unicorn horn and pixie dust
But your motor doesnt have a turbo attached to it:

MX-5 Miata Forum - View Single Post - Question about Turbos

Originally Posted by Braineack 2/11/13
I already knew that a turbo is an "impeller" that spins a "fan" that blows magical pixie dust with energy "harnessed" from the horns of unicorns into the motor to make power.
Braineack is offline  
Old 02-26-2013, 02:04 PM
  #183  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,026
Total Cats: 6,592
Default

Originally Posted by timk
Spark plug #64 on an 8 bit little endian system? Kudos!
Haha.

I honestly debated with that. At work, all of our SSI stuff is big endian, however it winds up displaying as though it were little endian when viewed on a logic analyzer, so the end result is the same (read from left to right.)

On the other hand, most humans are accustomed to reading binary in big endian left-to-right when presented in print, and the clock on my shelf displays in this format as well.
Joe Perez is offline  
Old 02-27-2013, 08:06 AM
  #184  
Junior Member
 
jnshk's Avatar
 
Join Date: Aug 2009
Location: Lake Jackson, TX
Posts: 166
Total Cats: 7
Default

I don't know if this is still relevant to the current direction of the thread, or if it is precise enough for your intentions, but here is a spark map that I put together to emulate the OBD2 computer's indications on my 1997 1.8L California car:

More background on it can be found at the original thread: https://www.miataturbo.net/megasquir...=tuning+octane
jnshk is offline  
Old 02-27-2013, 09:32 AM
  #185  
VladiTuned
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

/\ That's very interesting and still very relevant to this thread, thank you for posting.
18psi is offline  
Old 02-27-2013, 09:35 AM
  #186  
Elite Member
iTrader: (1)
 
Leafy's Avatar
 
Join Date: Jun 2012
Location: NH
Posts: 9,479
Total Cats: 104
Default

What the heck is up with the -10 degrees of timing in the bottom left corner. The only time I've ever seen negative timing like that is when I was trying to get the formula car to idle below 4 grand with the shitty intake manifold that leaked like a sieve.
Leafy is offline  
Old 02-27-2013, 09:45 AM
  #187  
VladiTuned
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

I don't think the car will even hit those areas at idle so probably doesn't matter?
18psi is offline  
Old 02-27-2013, 10:25 AM
  #188  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

it's just 10° After TDC. No biggie.

If we look at 750RPM (typical idle speed) and 10°BTDC (oem timing at idle), it takes 25° or 5.434ms for the flame front to reach 15°ATDC, or about 2mm into the downward stroke.

15°ATDC is an assumption of where the flame front is hitting for this comparison

Since that time never changes we can figure that within the latency of 5.434ms for the spark to ignite the flame and hit the piston since at 500RPM the crank rotates one degree in 0.33333333 milliseconds. At 500RPM 5.434ms is about 16° of crank rotation.

So if we spark at 10°ATDC, then the flame front has moved to ~26°ATDC. This should put the piston top maybe ~4mm into the downward stroke, so less power should be outputted at this time.
if you figure at 6,000RPM it takes only 0.02777ms to move the crank 1°, you understand why we have to spark much sooner 35° vs. 10°. That's only 1.3885ms to get to 15°ATDC.
I know I did this flame front math wrong, but you get the idea.

This is possibly an effort to stabilize the motor if the RPMs drop that low. If you advanced the timing when the RPMs dropped, it would increase the power and increase ultimately bump up the idle speed. I dont believe the stock ECU uses timing control like my MS3Pro to help control idle speed, so I'm assuming it's a way to allow the idle valve ot have greater effect at low rpms.

Last edited by Braineack; 02-27-2013 at 10:35 AM.
Braineack is offline  
Old 02-27-2013, 11:59 AM
  #189  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,026
Total Cats: 6,592
Default

Originally Posted by jnshk
(map)
Very interesting. It's really becoming clear to me why everyone was able to get away with bumping the static timing by 5-10° (by rotating the CAS) and not have any problems, back in the day before enlightened ECUs.
Joe Perez is offline  
Old 02-27-2013, 03:49 PM
  #190  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Huge jump in timing from 1000-1200 rpm, 25-42 kPa. That is probably not the static table in the ECU, but observations made, with AC and idle compensation included. Such a static table will cause severe idle instability.

Attached Thumbnails Let's discuss spark advance-advance.gif  
JasonC SBB is offline  
Old 02-27-2013, 08:58 PM
  #191  
Junior Member
 
jnshk's Avatar
 
Join Date: Aug 2009
Location: Lake Jackson, TX
Posts: 166
Total Cats: 7
Default

Jason is correct. The table was compiled/interpolated based on observations of OBD2 polling, and around idle there was some compensation done to stabilize things between A/C off (low load) and A/C on (heavy load), which is also why it is scaled somewhat non-uniformly so that I could isolate some key areas around idle and cruise.

The stock computer calculates spark based on rpm and MAF load (I believe) and possibly a few other factors. Since the MS is configured differently, this was my best interpretation at emulating it in effectiveness. When I was testing it out, the readings synced up quite well between MS and OBD2.

Note on the negative timing cells -- these cells were basically areas where the car was struggling to not stall. Braking to nearly 0mph with the transmission in gear and crawling along at low speed, high gear, throttle mashed open.

Last edited by jnshk; 02-27-2013 at 08:58 PM. Reason: speeliong errars
jnshk is offline  
Old 03-05-2013, 01:01 AM
  #192  
Elite Member
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

Joe,

What are you seeing as far as knock with your knock sensor? The following is my table that I have been tuning out knock peaks by lowering timing. Mine is much more conservative now that I have a knock module. I need to check my hardware latency as it is set to 21 microseconds.

Attached Thumbnails Let's discuss spark advance-djp0623-11604-albums-my-build-2-202-picture-spark-table-3-4-13-3125.jpg   Let's discuss spark advance-djp0623-11604-albums-my-build-2-202-picture-ignition-table-3126.jpg  

Last edited by miatauser884; 03-05-2013 at 12:35 PM.
miatauser884 is offline  
Old 03-05-2013, 01:03 AM
  #193  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,026
Total Cats: 6,592
Default

Originally Posted by djp0623
What are you seeing as far as knock with your knock sensor?
Knock sensor? Bah. A Jedi craves not such things.
Joe Perez is offline  
Old 03-05-2013, 03:55 AM
  #194  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Originally Posted by Joe Perez
Knock sensor? Bah. A Jedi craves not such things.

Luddite
richyvrlimited is offline  
Old 03-05-2013, 09:53 AM
  #195  
VladiTuned
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

he has a 1.6
doesn't even have a knock sensor.
and he probably cares not about it enough to rig one up lol
18psi is offline  
Old 03-05-2013, 11:58 AM
  #196  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

luddite is right. drag your ms paint white pre-paste image to a tiny rectangle and THEN paste your graph. we dont' care about 3/4 of the content of that bs.
y8s is offline  
Old 03-05-2013, 12:15 PM
  #197  
Supporting Vendor
iTrader: (3)
 
emilio700's Avatar
 
Join Date: May 2005
Posts: 7,325
Total Cats: 2,377
Default

Originally Posted by Joe Perez
Knock sensor? Bah. A Jedi craves not such things.
This is not the flame front you are looking for.
__________________


www.facebook.com/SuperMiata

949RACING.COM Home of the 6UL wheel

.31 SNR
emilio700 is offline  
Old 03-05-2013, 12:36 PM
  #198  
Elite Member
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

Originally Posted by y8s
luddite is right. drag your ms paint white pre-paste image to a tiny rectangle and THEN paste your graph. we dont' care about 3/4 of the content of that bs.
There you go bitches
miatauser884 is offline  
Old 03-05-2013, 12:42 PM
  #199  
Elite Member
iTrader: (11)
 
miatauser884's Avatar
 
Join Date: Feb 2009
Posts: 2,959
Total Cats: 11
Default

Although the knock peaks are responding to reducing the timing. I'm wondering if I'm tuning out peaks that represent negligible knock. Unfortunately there are no clearly defined knock thresholds that we have to follow.

What hardware latency are others running on the ms3x?
miatauser884 is offline  
Old 03-05-2013, 12:43 PM
  #200  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,026
Total Cats: 6,592
Default

Originally Posted by emilio700
This is not the flame front you are looking for.
You must learn the ways of the tune if you are to come with me to Thunderhill.

Attached Thumbnails Let's discuss spark advance-theforce0mm.jpg  
Joe Perez is offline  


Quick Reply: Let's discuss spark advance



All times are GMT -4. The time now is 06:00 AM.