Ideally you would only need to adjust the timing values (or columns) from 11psi to 25psi, not from 25" vac to 25psi.
In practise the timing values are not shifted left but completely changed
Matt wrote:
Timing values themselves [have] nothing to do with our intention of making the ECU stick within the existing factory TP scales
I think this is where you are misguided. You have some desire to not allow the ECU see a higher TP than what is in the fuel map? But if the ECU thinks 80TP is 14PSI of boost
We think it is best to keep the ECU operating in the same TP range as previously. I did not say 'fuel map' but usually timing map we use the TP scales of that (same values for fuel and timing)
and you adjust K so that 80TP is now 50PSI of boost, you just confused it.
How is that? The ECU runs over the same trace as factory, and usually only adjustments to timing map are required
No, TP will not exceed 80, but at the same time lower values of 20TP it thought were low vacuum values, are now actually much much higher engine loads than it thinks.
I have not found this to be the case. It appears to trace the same as before. Usually the higher boost starts kicking in half way
The fuel map is simply a lookup table.
Yes very well aware of that. Use the same table routines for flex fuel lookups
TP is calculated from the MAF signal and RPM and the ECU goes to the table to see what value of fuel (or timing advance) to output.
Well the MSB of TP is used to index the tables (not just fuel and timing, but many others)
TP is used as the base fuel injection adjustment input
You'll even notice that often the Fuel maps and timing maps have different Maximum TP (timing map on the Z32 ecu goes to 96 vs only 88 on the fuel map).
Correct. The fuel map will use the values from the last column when TP reads past this column. Normally when tuning we make fuel the same scales as timing (which are longer) and allows us more control
Can you get a drivable car only adjusting the high boost values, yes. But why throw out all the stock mapping in the process. The bottom 3/4 of the map should be adjusted as well; many of the values are probably too advanced and above MBT.
Not necessarily. See my maps attached
Only the higher boost columns would need to be changed instead of the entire map. What I did was do roughly what a Hondata (honda tuning) software would do and that is retard roughly .75-1.25* timing PER psi of Boost added. While not exact, a rough aproximation can be made between load and Manifold pressure. Logging on my car revealed about 39TP at 0ATM, 75TP at about 11psi, and about 88TP at 15psi. So for my mapping it turned out to be about 3.16TP per PSI. A wizard could be constructed to help users determine this rough aproximation (likely take inputs of what Vacuum and TP the engine idles at, what TP it's at when at 1ATM, and what TP it hits at maximum boost and what boost pressure that is).
We cannot assume here that MAF translates to MAP. I would be interested to try this out however and see what correlation there is. One issue is that TP reduces rate of increase as MAF drops down and RPMs increase
I'm amazed you knew you needed TIM yet you are misunderstanding the reason! The ECU doesn't need to operate from 0-80TP all the time. It just needs to operate knowing that say 10Cu Ft of air/sec (maf signal) at a given RPM = a certain engine load (TP!).
Agreed that it does not need to operate the exact same TP range as factory. However if the TP range changes, you cannot only just change fuel and timing TP scales to suit - everything needs to change
The point of TIM is to allow decoupling of K constant and the final injection time
History lesson: When Nissan tuned the S15 MT and AT models, different injectors (480CC/370CC). You will notice all TP related scales, parameters are changed because K constant was changed for injectors. This is why TIM was added, to avoid changing everything for injector size
When we originally tuned vehicles with just K, we found that vehicles which had 740CC/Z32 MAF for example moved the K constant one way (injectors) and then the other way (MAF) were reliable on the road. We originally thought that K had to stay close to the factory value. After adding TIM we moved the injectors using this new parameter, but with Z32 MAF adjustments, the K would be doubled
Some customers would only change MAF (and not injectors) and after rescaling only TP for fuel/timing there were many other issues with vehicle. After K was doubled (TP was also doubled) there were issues with enrichment, knock feedback, O2 feedback and other items. This was because the TP range which those other misc tables operated in were no longer being accessed normally
We found by dropping K until TP operated in the same ranges, the vehicle will operate normally. We also got this feeeback from our customers and now all of them have started tuning this way
You wrote this yourself:
Theoretical Pulse width (TP) = MAF Lookup (VQ lookup) / RPM * K Constant
Injection Pulse width = Fuel table [ RPM , TP/256 ] * TP + Injector Latency + Various enrichment
You need a TIM because you want a shorter fuel pulse width than the ECU is sending. Since the Injection PW uses TP to calculate fuel, our old alternative was to adjust the K constant (and therefore TP) to get shorter injection times. But by changing K constant we are destroying it's ability to convert Air flow to load.
Destroying is a strong work. Altering K contant changes the reported load measured (used by all the tables, and comparitor routines in the ECU) it also changes the pulsewidth.
You are adusting the multipler of how airflow converters to load. The same as when you are changing the MAF on the vehicle you are adjusting the total load that can be read by the MAF.
Our aim is after changing MAF and also the load capacity of the engine (boost) is to compensate K for both (not just one - being MAF resize)
The TIM allowed us to change the PW without changing K const. The only time we will ever want to adjust the K constant is when we are changing the MAF. This is because if we change the MAF without K, the lookup values will show much lower flows than the actual airflow. The idea is that if the MAF can read twice as much air, we reduce K constant in half. 1 MAF * 1 K = 1 = 2 MAF * .5K.
Incorrect. When MAF reads twice as much air - K is doubled (not halved)
Case: S14A SR20DET resize MAF to Z32 and K goes from approx 33,000 to 64,000. Want to resize to a HPX MAF in 3" tube, cannot be done. K cannot go high enough
However does my S14 have the capacity to read the entire 500hp the Z32 can read. Probably not (its 300hp engine) so adjust K back down to what the vehicle can actually use from that MAF (and offset TIM to suit)
Your error comes here "we lower K constant". You are lowering part of the equation above and the ECU now is seeing a much lower TP than the actual load on the engine.
I lower K constant afterwards, where my engine does not see the full capacity of the MAF (so consequently does not read the entire map). Lowering only two TP index tables (timing and fuel) in the entire ECU is not the solution
Correct me where I'm wrong:
Lets say some internal value disables Closed Loop O2 after 50TP. Lets say that corresponds to atmospheric Manifold pressure (50TP ~ 1ATM or 0psi).
Lets also assume we're working from stock fuel maps which range from 10-100TP for the fuel maps. Lets also assume that corresponds to full vacuum (or close to) up to about 14PSI of manifold pressure.
vehicle runs stock with injectors (370CC) and S14 MAF (266HP).
As per your Document:
Theoretical Pulse width (TP) = MAF Lookup (VQ lookup) / RPM * K Constant
And
Injection Pulse width = Fuel table [ RPM , TP/256 ] * TP + Injector Latency + Various enrichment
So step 1) We change to 1000CC injectors. Easy solution, just adjust TIM. Perfect, Nothing in the TP equation has changed, MAF hasn’t changed, and so the proper 1ATM of pressure will cut off O2 feedback at 50TP and we are using 1000CC injectors.
Fuel map needs adjusting here also. About 2.5 x injector size requires map 2.5 x flatter.
Step 2) We change to a 565HP MAF. K-constant gets changed from 360 to 701.
But since the VQ table of the MAF and K-constant changed equally and oppositely, then the TP equation still holds true (remember the 2 X .5 = 1)
The VQ table is only adjusted for the calibration of the MAF itself. It is not opposite.
The airflow capacity of the MAF sensor is increased, so you are assuming that this is half the voltage of the original MAF for same HP reading to reach the same point in the VQ map. But then again the MAF is not linear so there is no guarantee this is correct.
Here are some real values
TP = MAF Lookup /RPM * K Const.
So with Old MAF
VQ lookup =100
RPM = 1000rpm
K Const = 360.
Therefore TP = MAF Lookup (VQ lookup) / RPM * K Constant = 100 /1000rpm * 360 = 36
With the new MAF
VQ lookup would be proportionately lower (voltage would read much lower at the same load), so lets say VQ lookup = 51
RPM = 1000
K Const = 701 now.
So TP = 51/1000 * 701 = 36
This is long winded, but I’m just trying to assert that you can change MAF’s and the same Load values will still be reached on your tune at the same airflow/power levels you were before. Therefore corrections/VTC/Knock limits will all activate at the proper Load.
Check how much lower the VQ would be with the larger MAF. The lower end of the MAF should read approx the same as before, but the upper end will take more airflow to read this higher voltages.
We have seen on the dyno before/after that approximately the same load cells are reached before/after K constant adjustment when calibrating it for the capacity of the vehicle (not the capacity of the MAF). The best way to check this is to do before/after with Z32 MAF and see where TP traces
Step 3) Now lets say I want to tune all the way out to 28PSI of boost. Lets next assume that that would result in a TP of 150 being reached. You are proposing that we should Scale the K constant back such that the 28psi only corresponds to a TP of 100.
Yes this is correct. We want to adjust TP to the capacity of the engine (not the capacity of the MAF after resize
Say you scale K Constant 701 back 30% to 490. Sure now you can adjust TIM so that the engine still has proper AFR’s, but you’ve changed the relation of Airflow to actual load.
We also changed the equation once we swapped in the MAF for one which reads higher capacity than the previous one
Using our Example before.
TP = 51/1000 * 490 = 25
By changing the K constant and nothing else, now it’s outputting a TP of 25. So the engine is at 1 ATM of load, but the TP is under registering at 25. So the ECU is waiting to see a TP of 36 to turn off feedback, but the TP is only 25. In fact it might not be till 5-8PSI before the TP catches up thereby throwing off the relation from when those TP values are supposed to kick in and when they actually do.
I get what you are saying here, but the assumptions are based that the airflow is linear, and that double the size MAF results in exactly half the input measurement in the new MAF and that our K constant rescaling messes this up
The other thing is if you use the old method, you needed to adjust fuel and timing TP scales for the new TP range, but nothing else has been changed which causes the issues I mentioned before
Again, the ECU doesn’t need to see 0-100TP and only 0-100TP. It needs to see the relation from airflow to a corresponding TP stay the same.
I agree with this. The TP can be any range. however all the tables which rely on TP to be a certain range for knock sensing, certain range for VCT, O2 feedback (as well as fuel and timing) will need to be checked and adjusted
You are bascically having to adjust the fuel and timing TP scales, because the TP adjustments using K mean you do not have access to these maps the same way prior to changing the MAF
I’ll try and describe it one more way, and I’ll exaggerate the values.
Stock engine: range 0-100TP in stock Fuel map. 0TP = 0ATM (full vacuum), 50TP = 1ATM, 100TP = 2 ATM (14.7PSI)
Lets say the VTC kicks in at just 20TP which ends up being around 18” vacuum or something like that. Now suppose I put a 2000HP MAF on the car and want to run 5ATM (58PSI) of boost. Doing as you suggest would mean to adjust K so that 100TP = 58PSI. But now 20TP is roughly = 1 ATM! But the ECU still has a value of 20TP before VTC will kick in, but it won’t actually activate till 1ATM (the new 20TP) is reached. By adjusting K to fit Max load to 100TP you are throwing everything else off.
Have you shown this in real life scenario? I have not tried matching boost pressure to TP here (did not think this was possible since we are taking air intake to the engine, divided by RPM as opposed to actual pressure)
What I would do in a real life test is compare two vehicles standard MAF and Z32 MAF for example and see how TP traces in both scenarios and compare that to boost input into the software.
The bottom line is the only reason anyone should ever Adjust K is if they are changing the MAF. If you need to run more load, then increase the scalars in the Fuel and ignition map. And that's why rescaling maps is so important is because you need to create room in the fuel/timing maps to run these higher TP loads.
So do you still also pull K back if you are not using the full capacity of the MAF (300hp on a 500hp MAF) where previously the factory tune was done to approx 80% capacity of the factory (eg SR20DET) MAF?
What about all the other tables? Why are you only changing the scalars of the fuel and ignition tables. There are tons of other tables if you look at disassembled Nissan ECU code which rely on TP which you are not taking into account with TP range being moved around).
I'd be happy to skype with you and get a whiteboard out or something to explain it more if you need.
At this point I would like to run the car on the dyno and check actual figures compared to theoretics due to the variables including the non-linear curves the MAF uses which cannot be calculated without introducing polynomials, air dynamics and pressure into the equations