Engine Performance This section is for discussion on all engine building related questions.
Sponsored by:
Sponsored by: KPower

Tuning VVT - problem with Oil Temperature

Thread Tools
 
Search this Thread
 
Old 05-21-2013, 11:33 AM
  #1  
Junior Member
Thread Starter
iTrader: (10)
 
Frank_and_Beans's Avatar
 
Join Date: Jun 2011
Location: Detroit Burbs
Posts: 299
Total Cats: 3
Default Tuning VVT - problem with Oil Temperature

Hey guys,

My '90 1.8 VVT conversion is now on the road finally. I am using a custom standalone engine management system (long story), and have been playing with the VVT tuning.

By VVT tuning, I mean tuning the PID control values in order to acheive the target VVT position - not changing the target VVT position for optimum power/torque/fuel economy/whatever. I'll play with that later.

Based on the performance of the VVT response - I can provide proportional and derivative terms that work just fine (nice and stable, with good transient response) when the engine is fully warm.

However, once the engine is cold, the VVT goes crazy! It is totally unstable, and you can even see the instability in the stock oil pressure gauge.

In my software, I have included a factor to reduce the gain of the PID based on engine coolant temp. This works until the engine coolant temp gets to 90C (fully warm) but the oil temp isn't quite fully warm yet. Crazy unstable!

I guess my first thought is to add an oil temp sensor as an input, and use that to change the PID gain. But, I'm just curious how the VVTuner or MS3 takes care of this problem, as I don't think they use an oil temp input.

Any thoughts?

Also looking for recommendations for a good cheap OEM temp sensor with 1/8" NPT threads with a known transfer function (resistance versus temp) and easy to find junkyard connector so I can wire it in to my ECU.
Frank_and_Beans is offline  
Old 05-21-2013, 03:53 PM
  #2  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

A set of values for PID that work well when cold, will not be as fast when warm but will be stable.
JasonC SBB is offline  
Old 05-22-2013, 08:40 AM
  #3  
Elite Member
iTrader: (1)
 
Leafy's Avatar
 
Join Date: Jun 2012
Location: NH
Posts: 9,479
Total Cats: 104
Default

You have to ask yourself, is vvt accuracy when the engine is cold important? Or should I say, more important that fast vvt movement when the engine is up to temp.
Leafy is offline  
Old 05-22-2013, 12:05 PM
  #4  
Junior Member
Thread Starter
iTrader: (10)
 
Frank_and_Beans's Avatar
 
Join Date: Jun 2011
Location: Detroit Burbs
Posts: 299
Total Cats: 3
Default

I'm greedy - I want good VVT response when cold AND hot. Seems like the oil temp sensor is the only way to achieve this.

But, then I wonder how does Mazda do this in the stock application? They didn't have an oil temp sensor, and obviously were able to overcome this issue. The only thing I can think of is that they had a software model of the oil temp (maybe based on coolant temperature, and integrated engine load over time), and used that as an input to the PID controller. I could do the same, but would need an oil temp sensor to generate the software model - which would then be unnecessary, as I could use the sensor input directly...
Frank_and_Beans is offline  
Old 05-23-2013, 03:22 PM
  #5  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Maybe Mazda simply tunes it for stability when cold.

There was an ECU update because the software returned an error when too-thick or too-thin oil was used (I forgot which)
JasonC SBB is offline  
Old 08-23-2013, 08:58 AM
  #6  
Junior Member
Thread Starter
iTrader: (10)
 
Frank_and_Beans's Avatar
 
Join Date: Jun 2011
Location: Detroit Burbs
Posts: 299
Total Cats: 3
Default

Well, I ended up putting in one of these:


and one of these:


Here's some warmup data from this morning. Normal relaxed pace drive in to work on city streets at 45 mph. Got a little randy at the end of the drive with a couple peaks up to redline.



Notice that Oil temp severely lags coolant temp. The drive was about 15 minutes, and Oil temp never stabilizes.

I ended putting a multiplier in to the PD factor based on Oil temp, and the control is MUCH better now. I'm still a little confused that I am the only one to run into this before...
Attached Thumbnails Tuning VVT - problem with Oil Temperature-glowshift-oil-cooler-sandwich-adapter-20mm-1-5-thread-_i31vx6n-shll.jpg   Tuning VVT - problem with Oil Temperature-snsr-02059-2.jpg.thumb_500x331_mat.jpg   Tuning VVT - problem with Oil Temperature-2m2yk2w.png  
Frank_and_Beans is offline  
Old 08-23-2013, 09:00 AM
  #7  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

what are the thing different plots on your b&w plot with no distinctive labels in the legend.

I'm assuming one is rpm, one is clt, and one is oil?
Braineack is offline  
Old 08-23-2013, 09:05 AM
  #8  
Elite Member
iTrader: (1)
 
Leafy's Avatar
 
Join Date: Jun 2012
Location: NH
Posts: 9,479
Total Cats: 104
Default

Originally Posted by Braineack
what are the thing different plots on your b&w plot with no distinctive labels in the legend.

I'm assuming one is rpm, one is clt, and one is oil?
Red is ECT, Green is TOil, and Blue is RPM.
Leafy is offline  
Old 08-23-2013, 09:07 AM
  #9  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

i smell a setup: you're making me look stupid.
Braineack is offline  
Old 08-23-2013, 09:08 AM
  #10  
Junior Member
Thread Starter
iTrader: (10)
 
Frank_and_Beans's Avatar
 
Join Date: Jun 2011
Location: Detroit Burbs
Posts: 299
Total Cats: 3
Default

Originally Posted by Braineack
what are the thing different plots on your b&w plot with no distinctive labels in the legend.

I'm assuming one is rpm, one is clt, and one is oil?
My bad - the PNG conversion didn't work so well the first time around. Fixed now.
Frank_and_Beans is offline  
Old 08-23-2013, 09:25 AM
  #11  
Junior Member
Thread Starter
iTrader: (10)
 
Frank_and_Beans's Avatar
 
Join Date: Jun 2011
Location: Detroit Burbs
Posts: 299
Total Cats: 3
Default

Here is the Multiplier to the P and D terms of the PID as a function of Oil temperature [in degrees C].



This is when using 5W40 Shell Rotella T6, and using the stock 1.8L oil cooler/warmer.

I'm still tweaking the table a little bit every day. I don't enable VVT until ECT > 60C.

The shape of the mutliplier curve is quite strange, and doesn't quite fit with the viscocity curve of the oil:

Attached Thumbnails Tuning VVT - problem with Oil Temperature-30cuc7a.png  
Frank_and_Beans is offline  
Old 08-23-2013, 09:30 AM
  #12  
Junior Member
Thread Starter
iTrader: (10)
 
Frank_and_Beans's Avatar
 
Join Date: Jun 2011
Location: Detroit Burbs
Posts: 299
Total Cats: 3
Default

Maybe a better viscosity curve here:

Attached Thumbnails Tuning VVT - problem with Oil Temperature-qxvvzt4.png  
Frank_and_Beans is offline  
Old 08-23-2013, 10:08 AM
  #13  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
Default

What ECU is this on?
Reverant is offline  
Old 08-23-2013, 01:54 PM
  #14  
Junior Member
Thread Starter
iTrader: (10)
 
Frank_and_Beans's Avatar
 
Join Date: Jun 2011
Location: Detroit Burbs
Posts: 299
Total Cats: 3
Default

Originally Posted by Reverant
What ECU is this on?
Originally Posted by Frank_and_Beans
I am using a custom standalone engine management system (long story), and have been playing with the VVT tuning.
It is an off-the-shelf automotive grade ECU with custom software. I get to play with these during my day job, and now as a hobby too.

See the first ECU on this page for some basic hardware info:
112-pin Module Family - MotoHawk
Frank_and_Beans is offline  
Old 09-16-2013, 09:41 AM
  #15  
VladiTuned
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

I think I am experiencing exactly what you're describing here, with my ms3x.

I have been fighting a bucking/jerking/not smooth power delivery issue on my '01 for a bit. Tried all the timing map tweaks possible - nothing. Tried all the fueling tweaks possible - nothing. From about 1500-3000 it is jerky like crazy when the car/oil is cold. Reducing vvt target table on the low end definitely reduced the bucking alltogether when car is fully warmed up. But when cold it still goes nuts down there. Very jerky and unstable.

Today I'm going to zero out all vvt advance down low and see how it reacts tomorrow morning.

My guess is same as posted above though: OEM probably has a temp scale that retards/advances the vvt from cold start to operating temps.
18psi is offline  
Old 09-16-2013, 10:53 AM
  #16  
Junior Member
Thread Starter
iTrader: (10)
 
Frank_and_Beans's Avatar
 
Join Date: Jun 2011
Location: Detroit Burbs
Posts: 299
Total Cats: 3
Default

The issues I was seeing were less to do with the amount of advance when cold, and more to do with controlling to the target advance when cold. The oil pressure would be completely unstable, which would cause engine torque to be unstable as well (due to the cam position going crazy when the oil pressure was unstable).

The idea is - when cold, the oil pressure is high, as well as the fluid viscocity - which changes the amount of force exerted on the cam actuator for a given control valve position.

Do you have an oil pressure gauge you can look at to verify?

I have a map to reduce advance versus coolant temperature, but don't do anything with it. Also, I only turn on VVT control at 60C coolant temp. Below that, I figure the engine is cold - so you shouldn't be flogging it at WOT anyway.

Up to what temperature are you seeing your issue?
Frank_and_Beans is offline  
Old 09-16-2013, 11:07 AM
  #17  
VladiTuned
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

Ah I see, well our problems could be a bit different then.
Unfortunately I don't have a proper opg, just the NB stocker which is useless.

As for when it does that, I notice it start going away as soon as the oem water temp gauge is past the 1/4 marker. By the time its in the middle, its fine. I'll try to get a proper log sometime soon.

I discussed this briefly with y8s and he basically says that when cold and without using vtcs butterflies to limit air intake, vvt advance causes the car to run very unstable.

Sorry if this isn't related and off topic. At first glance I thought we were having similar issues. I guess not
18psi is offline  
Old 09-17-2013, 06:22 AM
  #18  
Junior Member
Thread Starter
iTrader: (10)
 
Frank_and_Beans's Avatar
 
Join Date: Jun 2011
Location: Detroit Burbs
Posts: 299
Total Cats: 3
Default

Well, about a month or two ago I was on a 3 hr road trip in my car, and somehow the VVT got stuck in the fully open position. The valve itself wasn't stuck - just the actuator itself got physically stuck. It totally sucked driving home at full advance. At anything below 3000 rpm the engine would surge/buck/misfire in various stages based on load. And, of course it would just stall when coming down to idle, so you had to keep your foot in it and rpm above 1500. I tried restarting it many times, both at speed and at idle, and nothing could "unstick" the actuator.

I was really kinda pissed off on that long drive home, and was loathing to take apart the cam actuator to see what caused it to stick. Then, when I was about 5 minutes from home, it unstuck itself and started working just fine. I haven't had the problem re-appear since.

Moral of the story - there is such a thing as too much advance at low engine speeds. I am still using the stock map that comes with the VVT Tuner for my target advance, but with a little less advance at the low speed/load range. Someday I may get on a dyno a tune for optimum torque.
Frank_and_Beans is offline  
Old 09-17-2013, 07:22 AM
  #19  
Elite Member
iTrader: (1)
 
Leafy's Avatar
 
Join Date: Jun 2012
Location: NH
Posts: 9,479
Total Cats: 104
Default

Have any of you guys noticed your cam being off after it was calibrated? I'm sitting at idle aiming for 50 deg retard from the full advanced position (because thats the AEM logic) and its reading to me as 45 and of course there's not enough oil pressure for the computer to control it. Did my cam reluctor ring rotate?
Leafy is offline  
Old 09-17-2013, 09:13 AM
  #20  
VladiTuned
iTrader: (76)
 
18psi's Avatar
 
Join Date: Apr 2008
Posts: 35,821
Total Cats: 3,481
Default

Originally Posted by Frank_and_Beans
Moral of the story - there is such a thing as too much advance at low engine speeds. I am still using the stock map that comes with the VVT Tuner for my target advance, but with a little less advance at the low speed/load range. Someday I may get on a dyno a tune for optimum torque.
Amen.

I actually learned this just yesterday/today. Took out a bunch of advance below 3k and voila - this morning it drives like a peach even when cold. Well, that plus I reduced my accel enrichment pump settings and set tps/map blend to 80%

I guess I was silly in thinking this ancient BP likes lowend vvt advance like the subaru's and evo's I tuned using this logic. Lots of lowend intake cam advance - feels like a big 'ol motor and is just pleasant around town. The BP simply responds with "Nope, I'm not doin that"

lol
18psi is offline  


Quick Reply: Tuning VVT - problem with Oil Temperature



All times are GMT -4. The time now is 12:26 AM.