[Solved] NB2 VVT Issue

This means Hellen
Post Reply
BeerMoneyMotorsports
Posts: 151
Joined: Thu Jan 14, 2021 10:16 pm

[Solved] NB2 VVT Issue

Post 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 21230 times
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: NB2 VVT Issue

Post 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 21226 times
image.png
image.png (78.47 KiB) Viewed 21226 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: NB2 VVT Issue

Post 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 :(
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: NB2 VVT Issue

Post 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 21222 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: NB2 VVT Issue

Post by AndreyB »

Progress: min/max tooltips

unfinished progress: button to enable VVT PID debug mode
image.png
image.png (45.24 KiB) Viewed 21214 times
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
BeerMoneyMotorsports
Posts: 151
Joined: Thu Jan 14, 2021 10:16 pm

Re: NB2 VVT Issue

Post by BeerMoneyMotorsports »

Output Max Duty Cycle?
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: NB2 VVT Issue

Post by AndreyB »

BeerMoneyMotorsports wrote:
Thu Oct 28, 2021 6:04 pm
Output Max Duty Cycle?
I like it, done!
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
BeerMoneyMotorsports
Posts: 151
Joined: Thu Jan 14, 2021 10:16 pm

Re: NB2 VVT Issue

Post by BeerMoneyMotorsports »

input from Tuner- "after adjusting PIDs, it seemed to resolved the issue".

I will poke the owner for updates.
Nightsknight45
Posts: 41
Joined: Thu Oct 28, 2021 2:31 am
Location: Tampa FL

Re: NB2 VVT Issue

Post 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
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: NB2 VVT Issue

Post by mck1117 »

Can you set debug mode to "VVT1 PID" and take another log? That will give additional information about what's going on.
Nightsknight45
Posts: 41
Joined: Thu Oct 28, 2021 2:31 am
Location: Tampa FL

Re: NB2 VVT Issue

Post 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!
Nightsknight45
Posts: 41
Joined: Thu Oct 28, 2021 2:31 am
Location: Tampa FL

Re: NB2 VVT Issue

Post 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
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: NB2 VVT Issue

Post 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.
Nightsknight45
Posts: 41
Joined: Thu Oct 28, 2021 2:31 am
Location: Tampa FL

Re: NB2 VVT Issue

Post 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.
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: NB2 VVT Issue

Post 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.
Nightsknight45
Posts: 41
Joined: Thu Oct 28, 2021 2:31 am
Location: Tampa FL

Re: NB2 VVT Issue

Post by Nightsknight45 »

image.png
image.png (31.32 KiB) Viewed 20637 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
Nightsknight45
Posts: 41
Joined: Thu Oct 28, 2021 2:31 am
Location: Tampa FL

Re: NB2 VVT Issue

Post 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.
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: NB2 VVT Issue

Post 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 20632 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.
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: NB2 VVT Issue

Post by mck1117 »

Something like this might be worth a shot:
image.png
image.png (51.35 KiB) Viewed 20631 times
BeerMoneyMotorsports
Posts: 151
Joined: Thu Jan 14, 2021 10:16 pm

Re: NB2 VVT Issue

Post by BeerMoneyMotorsports »

This is what i had on my old VVT car with MS.
image.png
image.png (55.99 KiB) Viewed 20629 times
mck1117
running engine in first post
running engine in first post
Posts: 1493
Joined: Mon Jan 30, 2017 2:05 am
Location: Seattle-ish

Re: NB2 VVT Issue

Post 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?
Nightsknight45
Posts: 41
Joined: Thu Oct 28, 2021 2:31 am
Location: Tampa FL

Re: NB2 VVT Issue

Post 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!!
BeerMoneyMotorsports
Posts: 151
Joined: Thu Jan 14, 2021 10:16 pm

Re: NB2 VVT Issue

Post by BeerMoneyMotorsports »

rpm and load
Post Reply