Notices
ECU Flash

MIVEC disassembly notes

Thread Tools
 
Search this Thread
 
Old Nov 26, 2007, 10:45 PM
  #16  
EvoM Guru
Thread Starter
iTrader: (50)
 
mrfred's Avatar
 
Join Date: Mar 2006
Location: Tri-Cities, WA // Portland, OR
Posts: 9,675
Received 128 Likes on 96 Posts
I'm pretty sure that I've found the RAM variable that contains the actual MIVEC position. For the USDM Evo IX, it looks to be 0xFFFF7650. Below is a plot of actual MIVEC vs the MIVEC trace through the my current MIVEC map. Actual MIVEC is not reaching 30. The max value is hovering around 28.2 - 28.6.

I've been thinking about the MIVEC CEL code that people have mentioned. Even with the 33 deg request in my MIVEC table, I've yet to see the MIVEC CEL in the year or so since I started tinkering with this tune. And the ROM code definitely has safeguards that clip requests greater than 28.8 deg back down to 28.8 deg. So, I'd be somewhat surprised if anyone is getting a MIVEC CEL from running values greater than 28.8 deg in their MIVEC table. If they are, I'd like to see their ROM.

On another note, the 28.8 deg limit built into the software is not "hardwired" into the code. It can be changed. If someone could measure a MIVEC gear assembly to see if more than 28.8 deg are available, then this value could be bumped up.

Attached Thumbnails MIVEC disassembly notes-evoscandatalog_2007.11.26_18.47.43_3rd.jpg  
Old Nov 27, 2007, 04:55 AM
  #17  
Evolved Member
iTrader: (2)
 
TouringBubble's Avatar
 
Join Date: Jul 2006
Location: Chelsea, AL
Posts: 2,639
Likes: 0
Received 3 Likes on 3 Posts
Awesome find mrfred. I'd try that value out on the way to work today, but I'm hella tired. Maybe tomorrow ...

Thanks for the hard work.
Old Nov 27, 2007, 11:21 AM
  #18  
Evolved Member
iTrader: (6)
 
nj1266's Avatar
 
Join Date: Nov 2004
Location: USA
Posts: 3,254
Likes: 0
Received 13 Likes on 3 Posts
Originally Posted by atlvalet
That would line up with my experience with said tuner, although I only had 12-16 IIRC.
And to add insult to injury...his sidekick refers to knock sum as just noise that is not relevant to knock.
Old Nov 27, 2007, 11:26 AM
  #19  
Evolved Member
iTrader: (6)
 
nj1266's Avatar
 
Join Date: Nov 2004
Location: USA
Posts: 3,254
Likes: 0
Received 13 Likes on 3 Posts
Thank you very much mrfred. This is very exciting.

When will you be able to post a how to modify the rom and Evoscan to log mivec?
Old Nov 27, 2007, 11:35 AM
  #20  
Evolved Member
iTrader: (27)
 
evo8426's Avatar
 
Join Date: Jan 2006
Location: Charlotte, North Carolina
Posts: 4,248
Received 8 Likes on 8 Posts
Originally Posted by nj1266
Thank you very much mrfred. This is very exciting.

When will you be able to post a how to modify the rom and Evoscan to log mivec?
+1
Old Nov 27, 2007, 11:43 AM
  #21  
Evolved Member
iTrader: (11)
 
esevo's Avatar
 
Join Date: Sep 2005
Location: Tucson AZ
Posts: 759
Likes: 0
Received 1 Like on 1 Post
Subscribed!
Old Nov 27, 2007, 02:51 PM
  #22  
EvoM Guru
Thread Starter
iTrader: (50)
 
mrfred's Avatar
 
Join Date: Mar 2006
Location: Tri-Cities, WA // Portland, OR
Posts: 9,675
Received 128 Likes on 96 Posts
Turns out the intake cam position variable (FFFF7650) is a 2-byte value. If you want to log MIVEC (aka intake cam advance) with a USDM Evo IX, you'll need to point to two unused (unneeded) MUT ports to: 0x7650 (MIVEC high byte) and 0x7651 (MIVEC low byte), e.g., your ECUFlash ROM xml file you'll need an entry such as:

<table name="MUT40 MIVEC high bit" category="MUT" address="3ef86" type="1D" level="1" scaling="Hex16"/>

<table name="MUT41 MIVEC low bit" category="MUT" address="3ef8a" type="1D" level="1" scaling="Hex16"/>

And then after launching ECUFlash, you'll need to insert 0x7650 into MUT40 and 0x7651 into MUT41.


For EvoScan, the formula is:

<DataListItem DataLog="N" Color="" Display="MIVEC" LogReference="MIVEC" RequestID="40" RequestID2="41" Eval="72-0.6*x/32" Unit="deg" MetricEval="" MetricUnit="" ResponseBytes="1" GaugeMin="0" GaugeMax="33" ChartMin="0" ChartMax="33" ScalingFactor="1" Notes="" />

In this example, I used MUT ports 40 and 41.

When logging MIVEC, you'll likely see spikes in the data. I haven't taken the time yet to determine if the spikes are real or correspond to a high byte change over (same as what happens with 2-byte load spikes).

Last edited by mrfred; Jun 25, 2013 at 07:22 PM.
Old Nov 27, 2007, 02:54 PM
  #23  
EvoM Guru
Thread Starter
iTrader: (50)
 
mrfred's Avatar
 
Join Date: Mar 2006
Location: Tri-Cities, WA // Portland, OR
Posts: 9,675
Received 128 Likes on 96 Posts
Looks like there's a possibility of increasing the MIVEC advance range. In the post listed below, Shiv alludes to changing the MIVEC advance limit.

https://www.evolutionm.net/forums/sh...20#post3670320

I'll give it a try on my way home from work. I'll probably try for 33 deg just to see what happens.
Old Nov 27, 2007, 03:56 PM
  #24  
EvoM Guru
Thread Starter
iTrader: (50)
 
mrfred's Avatar
 
Join Date: Mar 2006
Location: Tri-Cities, WA // Portland, OR
Posts: 9,675
Received 128 Likes on 96 Posts
Now I've pretty much convinced myself that approx 28-29 deg is the max advance. I grabbed a drawing of the MIVEC assembly from the FSM and measured the amount of rotation possible. Assuming the drawing proportions are reasonably correct, then it looks like there is room for up to 50 deg of advance. However, there is a nub on one of the MIVEC arms that limits the MIVEC advance to 28.8 deg. Seems like that nub would have to sawed off get more than 28.8 deg.

Attached Thumbnails MIVEC disassembly notes-mivec-range.jpg  

Last edited by mrfred; Nov 28, 2007 at 09:07 AM.
Old Nov 27, 2007, 04:23 PM
  #25  
Evolved Member
iTrader: (11)
 
esevo's Avatar
 
Join Date: Sep 2005
Location: Tucson AZ
Posts: 759
Likes: 0
Received 1 Like on 1 Post
What would the advantages be from more cam timing? Any down sides? the factory put it there for a reason, but if more power could be made, I would be willing to saw it off!!!
Old Nov 27, 2007, 04:58 PM
  #26  
Evolved Member
iTrader: (1)
 
GTLocke13's Avatar
 
Join Date: Jul 2006
Location: Yorklyn, DE
Posts: 667
Likes: 0
Received 1 Like on 1 Post
Is the 4G63 an interference motor? If so, how may degrees of cam advance until the piston and the valve go boom? If they use the same MIVEC assembly for other cars, the length of that stud is probably used to set the safe limit for each car.
Old Nov 28, 2007, 08:06 AM
  #27  
Evolved Member
iTrader: (66)
 
Jeff_Jeske's Avatar
 
Join Date: Jan 2003
Location: On the track
Posts: 4,358
Received 6 Likes on 6 Posts
^ It is an interference motor.
Old Nov 28, 2007, 08:13 AM
  #28  
Evolved Member
iTrader: (2)
 
chrisw's Avatar
 
Join Date: Mar 2003
Location: Santa Cruz
Posts: 2,218
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by GTLocke13
Is the 4G63 an interference motor? If so, how may degrees of cam advance until the piston and the valve go boom? If they use the same MIVEC assembly for other cars, the length of that stud is probably used to set the safe limit for each car.
that's what I was thinking... I think that 30 degrees is a mechanical limit, not a software one.

very interesting work mfred
Old Nov 28, 2007, 09:06 AM
  #29  
EvoM Guru
Thread Starter
iTrader: (50)
 
mrfred's Avatar
 
Join Date: Mar 2006
Location: Tri-Cities, WA // Portland, OR
Posts: 9,675
Received 128 Likes on 96 Posts
I agree that the mechanical limit on advance is likely to protect the valves from running into each other or into the piston. There must be some safety cushion though because Cosi and GSC cams must have either longer duration or more lift or both. I imagine that there must be at least a few cam degrees of safety cushion.
Old Nov 28, 2007, 10:52 AM
  #30  
Evolved Member
iTrader: (11)
 
esevo's Avatar
 
Join Date: Sep 2005
Location: Tucson AZ
Posts: 759
Likes: 0
Received 1 Like on 1 Post
What if you only shave off like 5-6mm to get like 35 or 40 degrees of timing? Or get one made?


Quick Reply: MIVEC disassembly notes



All times are GMT -7. The time now is 03:40 AM.