MEGAsquirt A place to collectively sort out this megasquirt gizmo

VVT angle question

Thread Tools
 
Search this Thread
 
Old 02-11-2023, 07:23 AM
  #1  
Newb
Thread Starter
 
denElias's Avatar
 
Join Date: Nov 2020
Posts: 29
Total Cats: 4
Question VVT angle question

Hi all,

I just swapped a 1.8 VVT engine into my 90' NA
I do have a weird issue with enabling vvt right now.

If I calculate my min and max angles, there is only like 10 degrees between them.
I do have the idea that even when the ecu is telling to use 0 vvt angle, the car is issuing more angle.
Because when I enabled VVT with 0 angle at idle, I had to add like 20% fuel to get my original AFR back.

Do I have to sync the vvt to my cam somewhere?

Thank you in advance,



denElias is offline  
Old 02-14-2023, 05:55 AM
  #2  
Newb
Thread Starter
 
denElias's Avatar
 
Join Date: Nov 2020
Posts: 29
Total Cats: 4
Default

I am now thinking that maybe my oil pressure is too high. Can this cause the vvt system to be stuck in a higher angle?
denElias is offline  
Old 02-16-2023, 11:09 AM
  #3  
Junior Member
 
Caterpillar's Avatar
 
Join Date: Apr 2017
Location: The Netherlands
Posts: 54
Total Cats: 2
Default

You're minimum VVT Duty is at 30%, have you tried lowering that to 0?
If its to high the VVT Valve cant return to its resting position and you'll always have a bit of VVT.
Caterpillar is offline  
Old 02-16-2023, 11:59 AM
  #4  
Newb
Thread Starter
 
denElias's Avatar
 
Join Date: Nov 2020
Posts: 29
Total Cats: 4
Default

Also tested this with 0% min duty(And the vvt test mode overrides this setting)
the problem is once I enable my vvt with 0% duty, it immediately jumps to an angle which is too high.
That is why I was thinking is has something to do with the oil pressure running through the system.

Kind regards,
denElias is offline  
Old 02-16-2023, 07:54 PM
  #5  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,778
Total Cats: 359
Default

VVT enabled at 0% is the same as VVT not enabled, it is an open drain output. I suspect you have a HW problem somewhere.

Edit: You should be logging VVT angle and VVT duty when you are doing these tests
Ted75zcar is offline  
Old 02-17-2023, 01:44 AM
  #6  
Newb
Thread Starter
 
denElias's Avatar
 
Join Date: Nov 2020
Posts: 29
Total Cats: 4
Default

Thank you for the info!
I will take a detailed log asap
denElias is offline  
Old 02-17-2023, 07:40 PM
  #7  
Junior Member
 
Blkbrd69's Avatar
 
Join Date: Jul 2016
Location: Orlando, FL
Posts: 381
Total Cats: 64
Default

Oil pressure wont matter with zero duty cycle. No oil no movement.
Hot high pressure oil will make it move faster, but duty cycle controls how far.
Blkbrd69 is offline  
Old 02-19-2023, 12:16 PM
  #8  
Newb
Thread Starter
 
denElias's Avatar
 
Join Date: Nov 2020
Posts: 29
Total Cats: 4
Default

Hi all,

I uploaded a very clear log (and my tune)
You can see I rev the engine to 3k rpm, and go from 0% vvt duty to 100% with the vvt test mode.
The absolute angle goes from 295 to 304.5
The rpms drop a lot. Is this normal for 'only' a 10 degrees angle change?

Thank you and kind regards!
Attached Files
File Type: mlg
2023-02-19_17.43.28.mlg (202.5 KB, 14 views)
File Type: msq
laatsteVVT.msq (285.2 KB, 13 views)
denElias is offline  
Old 02-19-2023, 11:42 PM
  #9  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,778
Total Cats: 359
Default

I only post from mobile and rarely download logs/tunes anymore. Please post a screen shot showing RPM, MAP, CLT, VVT target, VVT duty, VVT angle, and oil pressure and oil temp if available. Use a sweep marker starting at 0% duty cycle and ending after 100% duty cycle and after VVT angle has stabilized.
Ted75zcar is offline  
Old 02-20-2023, 02:16 AM
  #10  
Newb
Thread Starter
 
denElias's Avatar
 
Join Date: Nov 2020
Posts: 29
Total Cats: 4
Default

Here you go.
Also added my ignition options.


denElias is offline  
Old 02-20-2023, 12:08 PM
  #11  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,778
Total Cats: 359
Default

OK, there are several points of interest we should clear up here ... please do your best to address each one

The Trigger angle in you ignition settings seems larger than what I am accustomed to seeing, This is the angle that you needed to have in order to get your fixed timing target?
Have you ever replaced the timing belt on this engine, or for any reason had the belt off and then re-timed the engine (mechanical)
Your crank advance of 0 degrees is super low, how did you arrive at this setting?

Procedural guidance: your CLT in this log is lower than what I would recommend for any VVT work. It is advisable to do VVT characterization at full operating temperature.

Now some specifics ...
Your min angle is indicative of a falling edge trigger capture, I believe most Miata installs use rising edge. This is supported by the trigger offset from above. I would suggest that you switch to rising edge, re-set base timing. You should see the min angle above get more into the area of what you see on this forum
Your RPM is dropping significantly when you run you test. As you have pointed out, your AFRs are whack, but with a map of close to atmo I suspect your VE table is just dumping fuel into the motor. The motor will run very poorly during this test, so just expect that. Use the throttle to maintain the engine speed when determining the max angle. You can even temporarily pull some fuel out of the high load-low RPM VE cells to keep the engine from going pig rich.

I think the above will get you in good shape, but work with it and reply back your findings.

EDIT: (not corrected above) - I did just look at the DIY basemap, and it is configured for falling edge, so my statement above WRT edge capture may be incorrect. This does call into question the mechanical timing.
Ted75zcar is offline  
Old 02-20-2023, 01:04 PM
  #12  
Newb
Thread Starter
 
denElias's Avatar
 
Join Date: Nov 2020
Posts: 29
Total Cats: 4
Default

Thank you for this very thorough answer!
We indeed just did the timing belt before dropping the engine in.

I will check the timing from scratch
Update following soon!
denElias is offline  
Old 02-24-2023, 04:49 PM
  #13  
Newb
Thread Starter
 
denElias's Avatar
 
Join Date: Nov 2020
Posts: 29
Total Cats: 4
Default

Well, my vvt system is fixed.

We first went over all the mechanical timing components, but they were all ok
Then I tried to swithing the ignition capture to rising edge and... It was fixed
I just could not believe how my engine was running so well with ignition capture set to falling edge?

But i'm a happy man now, thank you for the usefull input!
denElias is offline  
Old 02-24-2023, 07:45 PM
  #14  
Tweaking Enginerd
iTrader: (2)
 
Ted75zcar's Avatar
 
Join Date: Mar 2013
Location: Boulder, CO
Posts: 1,778
Total Cats: 359
Default

Glad I could help, I work for cats

WRT rising vs falling ... it really doesn't matter too much which one you use for non-VVT or VVT-turned-off situations. Where it can get tricky is with VVT turned on, or if you have a different crank trigger setup (like a 36-2). For VVT, the reference trigger (CAM) is monitored at all times. This trigger slides around the base (crank) trigger with changing cam advance angles. This is when the ECU needs to have better information relating the two separate triggers and where to expect them relative to each other.

For non-VVT installs you tune out the edge capture with the angle offset when setting fixed timing. Stock trigger (crank) pulses are super short and you can move the fixed timing reference from the back (falling edge) side to the front (rising) side of the pulse (and visa versa) and get good timing. A 36-2 OTOH has a huge gap between the falling edge and the next rising edge. The trigger offset is limited in code (for some unknown reason to me) to something like 20 degrees, which may not be enough to dial out the "-2" gap on the 36-2.

Anyway, have a nice weekend.

EDIT! : just to confirm, you reset fixed timing after changing the edge capture I hope. If not, you need to or your spark advance table will be way off the actual ignition timing.
Ted75zcar is offline  
Old 02-25-2023, 11:25 AM
  #15  
Newb
Thread Starter
 
denElias's Avatar
 
Join Date: Nov 2020
Posts: 29
Total Cats: 4
Default

It was indeed necessary to set the base ignition timing again. (I went from 10 degrees offset to 5)
Also fixed my cold start troubles!

Nice weekend to you too, enjoy the drive!
denElias is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
MX5RACER
MEGAsquirt
22
08-10-2022 02:51 PM
Zaphod
MEGAsquirt
17
07-03-2020 01:44 AM
LukaMiataITB
MEGAsquirt
5
03-03-2019 03:59 AM
Davidss
MEGAsquirt
8
07-31-2018 10:50 PM
AutoFreak57
Adaptronic
9
08-28-2010 02:02 PM



Quick Reply: VVT angle question



All times are GMT -4. The time now is 05:38 AM.