Page 1 of 1

[Solved] NB2 VVT Issue

Posted: Thu Oct 28, 2021 3:03 pm
by BeerMoneyMotorsports
NB2 Miata H72D. Customer reported that VVT response would drop out intermittently. It is captured in the log screenshot below. I am waiting on the tune so that i can upload the full log. Earlier in the log, VVT position seemed to be responding as it needed to. Do we have VVT target available or only duty cycle table?
image.png
image.png (40.54 KiB) Viewed 23265 times

Re: NB2 VVT Issue

Posted: Thu Oct 28, 2021 3:10 pm
by AndreyB
So we have a usability issue - menu name says "target" but actual table does not specify what it is. Let's make progress here :)
image.png
image.png (60.29 KiB) Viewed 23261 times
image.png
image.png (78.47 KiB) Viewed 23261 times

Re: NB2 VVT Issue

Posted: Thu Oct 28, 2021 3:15 pm
by AndreyB
At the moment rusEFI has ONLY closed-loop VVT control, it's always target never duty cycle.

At the moment I have no idea what's going on with the whole drop :(

Re: NB2 VVT Issue

Posted: Thu Oct 28, 2021 3:29 pm
by BeerMoneyMotorsports

Re: NB2 VVT Issue

Posted: Thu Oct 28, 2021 3:58 pm
by AndreyB
We do not log VVT target by default

We have "debug mode" setting which gives half a dozen of VVT entry points but it has to be enabled explicitly.

See bottom of
image.png
image.png (42.04 KiB) Viewed 23257 times

Re: NB2 VVT Issue

Posted: Thu Oct 28, 2021 4:54 pm
by AndreyB
Progress: min/max tooltips

unfinished progress: button to enable VVT PID debug mode
image.png
image.png (45.24 KiB) Viewed 23249 times

Re: NB2 VVT Issue

Posted: Thu Oct 28, 2021 6:04 pm
by BeerMoneyMotorsports
Output Max Duty Cycle?

Re: NB2 VVT Issue

Posted: Thu Oct 28, 2021 6:27 pm
by AndreyB
BeerMoneyMotorsports wrote:
Thu Oct 28, 2021 6:04 pm
Output Max Duty Cycle?
I like it, done!

Re: NB2 VVT Issue

Posted: Fri Oct 29, 2021 11:48 pm
by BeerMoneyMotorsports
input from Tuner- "after adjusting PIDs, it seemed to resolved the issue".

I will poke the owner for updates.

Re: NB2 VVT Issue

Posted: Mon Nov 01, 2021 6:56 pm
by Nightsknight45
Hello! I am the owner in question dealing with a potential vvt issue.


The vvt seems to want to work intermittently

I will include the most recent datalog hopefully showcasing the issue and the current tune the car is running

Im think that the vvt actuator may be bad as I also swapped the vvt solenoid to no effect. The car does run better with the vvt unplugged





Tune: https://rusefi.com/online/view.php?msq=700

Datalog: https://rusefi.com/online/view.php?log=394

Re: NB2 VVT Issue

Posted: Mon Nov 01, 2021 7:19 pm
by mck1117
Can you set debug mode to "VVT1 PID" and take another log? That will give additional information about what's going on.

Re: NB2 VVT Issue

Posted: Mon Nov 01, 2021 7:24 pm
by Nightsknight45
Alright, I'll take another log with the debug mode set to that. I'll upload it once I get around to it!

Re: NB2 VVT Issue

Posted: Tue Nov 02, 2021 5:24 pm
by Nightsknight45
Got the new datalog with "vvt1 pid" debug selected
The vvt would still work intermittently and would sometimes fully advance to 44-45 degrees causing the car to run terribly


Datalog:https://rusefi.com/online/view.php?log=395

Re: NB2 VVT Issue

Posted: Tue Nov 02, 2021 5:34 pm
by mck1117
Your hardware is fine. PID settings are pretty clearly super wrong.

Where did you get your VVT PID settings? Looking at the output duty cycle, your settings are not nearly strong enough. The controller is responding to input, but extremely slowly, so you end up with relatively random solenoid duty.

Your min/max on the VVT PID should also be further apart - try min/max of 10/70, and MUCH higher gains. Start with just some P to see what happens.

Re: NB2 VVT Issue

Posted: Tue Nov 02, 2021 5:49 pm
by Nightsknight45
mck1117 wrote:
Tue Nov 02, 2021 5:34 pm
Your hardware is fine. PID settings are pretty clearly super wrong.

Where did you get your VVT PID settings? Looking at the output duty cycle, your settings are not nearly strong enough. The controller is responding to input, but extremely slowly, so you end up with relatively random solenoid duty.

Your min/max on the VVT PID should also be further apart - try min/max of 10/70, and MUCH higher gains. Start with just some P to see what happens.
https://www.facebook.com/stevesremotetuning was tuning the car.

Ill give that a shot and monitor how the vvt reacts.

Re: NB2 VVT Issue

Posted: Tue Nov 02, 2021 5:53 pm
by mck1117
Nightsknight45 wrote:
Tue Nov 02, 2021 5:49 pm
https://www.facebook.com/stevesremotetuning was tuning the car.
With all due respect, this means your tuner didn't actually look at VVT at all, and likely didn't actually tune your car.

Re: NB2 VVT Issue

Posted: Tue Nov 02, 2021 11:10 pm
by Nightsknight45
image.png
image.png (31.32 KiB) Viewed 22672 times




I was able to get the vvt to respond pretty accurately under these settings however the car has a very jerky takeoff from stops

Any input on what to change/where I should be looking to fix that? (car takes off from stops fine with vvt unplugged)


Latest Datalog: https://rusefi.com/online/view.php?log=397

Re: NB2 VVT Issue

Posted: Tue Nov 02, 2021 11:24 pm
by Nightsknight45
mck1117 wrote:
Tue Nov 02, 2021 5:53 pm
Nightsknight45 wrote:
Tue Nov 02, 2021 5:49 pm
https://www.facebook.com/stevesremotetuning was tuning the car.
With all due respect, this means your tuner didn't actually look at VVT at all, and likely didn't actually tune your car.
No worries man, to be honest, you are probably right... it was sort of a waste of money for what I got.

Re: NB2 VVT Issue

Posted: Tue Nov 02, 2021 11:25 pm
by mck1117
Nightsknight45 wrote:
Tue Nov 02, 2021 11:10 pm
I was able to get the vvt to respond pretty accurately under these settings...
Awesome - this log looks MUCH better with respect to VVT control!
Nightsknight45 wrote:
Tue Nov 02, 2021 11:10 pm
...however the car has a very jerky takeoff from stops

Any input on what to change/where I should be looking to fix that? (car takes off from stops fine with vvt unplugged)
it looks like your cam target table is pretty aggressive in here:
image.png
image.png (30.17 KiB) Viewed 22667 times
The VVT target on an intake-VVT-only engine (like the NB2) is your overlap control: more cam angle = more overlap. Right now, your tune is trying to bonk in a bunch of overlap the instant you touch the accelerator, which is probably what you're feeling. Pull out that timing in the "off idle" regime, and see what happens.

Re: NB2 VVT Issue

Posted: Tue Nov 02, 2021 11:26 pm
by mck1117
Something like this might be worth a shot:
image.png
image.png (51.35 KiB) Viewed 22666 times

Re: NB2 VVT Issue

Posted: Tue Nov 02, 2021 11:28 pm
by BeerMoneyMotorsports
This is what i had on my old VVT car with MS.
image.png
image.png (55.99 KiB) Viewed 22664 times

Re: NB2 VVT Issue

Posted: Tue Nov 02, 2021 11:29 pm
by mck1117
BeerMoneyMotorsports wrote:
Tue Nov 02, 2021 11:28 pm
This is what i had on my old VVT car with MS.
Did that use TPS or MAP for the Y axis?

Re: NB2 VVT Issue

Posted: Tue Nov 02, 2021 11:35 pm
by Nightsknight45
mck1117 wrote:
Tue Nov 02, 2021 11:26 pm
Something like this might be worth a shot:

image.png
Alright! I will give this a try and get another Datalog sometime tomorrow! I really appreciate the help!!

Re: NB2 VVT Issue

Posted: Tue Nov 02, 2021 11:35 pm
by BeerMoneyMotorsports
rpm and load