[rusEfi] red 2003 VVT test mule Miata NB2 #27
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
red 2003 VVT test mule Miata NB2 #27
I've decided to unify my test fleet, please welcome this automatic 1.8 VVT 2003 Miata.
First step would be locating the OBD-II port and fixing check engine, the price considering nice interior was good to ignore the check engine light.
https://svn.code.sf.net/p/rusefi/code/trunk/firmware/config/engines/mazda_miata_vvt.cpp
http://rusefi.com/wiki/index.php?title=Vehicle:Mazda_Miata_2003
JimStim reference https://rusefi.com/forum/viewtopic.php?p=40438#p40438
Tune status:
+ stats reliably
+ stars reliably without throttle application
- 80C engine idles close to 14.7 with manual idle control
- smooth warm-up with manual idle control
- smooth warm-up with automatic idle
First step would be locating the OBD-II port and fixing check engine, the price considering nice interior was good to ignore the check engine light.
https://svn.code.sf.net/p/rusefi/code/trunk/firmware/config/engines/mazda_miata_vvt.cpp
http://rusefi.com/wiki/index.php?title=Vehicle:Mazda_Miata_2003
JimStim reference https://rusefi.com/forum/viewtopic.php?p=40438#p40438
Tune status:
+ stats reliably
+ stars reliably without throttle application
- 80C engine idles close to 14.7 with manual idle control
- smooth warm-up with manual idle control
- smooth warm-up with automatic idle
- Attachments
-
- 2019-10-21_rpm_1102_Frankenso_MAX9926_5K_pull_ups.png (46.52 KiB) Viewed 124217 times
-
[The extension msq has been deactivated and can no longer be displayed.]
-
- 20161003_132821.jpg (1.36 MiB) Viewed 130296 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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: 2003 VVT test mule Miata
Awesome!
OBDII Port is right above the fuse panel.
OBDII Port is right above the fuse panel.
Re: 2003 VVT test mule Miata
Sweet. Is this waiting for that connector that I'm nearly done with?
Is that "drive by wire" or "drive by the seat of your pants"
Is that "drive by wire" or "drive by the seat of your pants"
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: 2003 VVT test mule Miata
First it is waiting for a spot in the garage (depends on Neon rolling out either dead or alive, hopefully alive by the end of this week), after that yes the connector would help In the mean time I will have a chance to find the ECU, it must be somewhere...
Simple throttle cable, just with a VVT on the intake side.
Simple throttle cable, just with a VVT on the intake side.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: 2003 VVT test mule Miata
codes
- Attachments
-
- Screenshot_2016-10-03-17-59-39.png (721.43 KiB) Viewed 130281 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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: 2003 VVT test mule Miata
Sounds like an exhaust leak or an intake leak for the P0420. I've checked for intake leaks by using a vacuum to lightly pressurize the intake, then listen for whistling noises. Often people will do this with a "smoke" device. Another way to look for intake leaks on natural aspirated engines is to spray the engine with starter fluid. It will typically increase revs when you find the leak, as it sucks in the starter fluid.
Does the retarded CAM return after you clear the codes? Also when was it's timing belt last done. You had that issue with the Neon. Perhaps they just had the belt replaced and perhaps the mechanic couldn't get it properly adjusted.
Does the retarded CAM return after you clear the codes? Also when was it's timing belt last done. You had that issue with the Neon. Perhaps they just had the belt replaced and perhaps the mechanic couldn't get it properly adjusted.
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: 2003 VVT test mule Miata
Looks like p0012 pretty much means "vvt system is not happy, either o-rings are gone or just too much crap in the oil passages". Looks like first step is trying Rotella T6 high in detergents oil (dual rated but the larger label says "heavy duty diesel") to wash it out, if not swapping some rings like http://miataroadster.com/miataroadster/miataroadster-vvt-system-viton-seal-rebuild-kits/mrvvtrk/i-1964289.aspx
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: 2003 VVT test mule Miata
seafoam is also good about dissolving carbon garbage.
http://www.kmart.com/seafoam-motor-treatment-16oz/p-02801507000P?sid=KDx01192011x000001&gclid=COTntpDpv88CFYYmhgodcKQGHg&gclsrc=aw.ds
http://www.kmart.com/seafoam-motor-treatment-16oz/p-02801507000P?sid=KDx01192011x000001&gclid=COTntpDpv88CFYYmhgodcKQGHg&gclsrc=aw.ds
Welcome to the friendlier side of internet crazy
Re: 2003 VVT test mule Miata
On the NB1 the ECU is under the steering column in the driver-side footwell. I believe the same is true for the NB2.b
Re: 2003 VVT test mule Miata
Are you going to convert to manual before going all rusefi on its' behind, or are you keeping it auto? I don't think the tranny control needs much from the ECU, so I *guess* you'd be OK keeping it auto.
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: 2003 VVT test mule Miata
I want to at least attempt rusEfi before manual conversion. But before that I need to fix VVT and ideally pass inspection
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
-
- Posts: 69
- Joined: Sun Sep 08, 2013 2:33 pm
Re: 2003 VVT test mule Miata
Check the oil pressure and o-rings if it is good then
Try to clean the valve or replace it
Try to clean the valve or replace it
Re: 2003 VVT test mule Miata
I'm going to add my '03 (manual trans) Miata with VVT rusefi-conversion to this thread if that's OK, since there's going to be a lot of overlap.
Updated the wiki on NB2 (2001 to 2005) Miatas: http://rusefi.com/wiki/index.php?title=Vehicle:Mazda_Miata_2003
Will also add suggested wiring including WBO2 and MAP sensor.
Updated the wiki on NB2 (2001 to 2005) Miatas: http://rusefi.com/wiki/index.php?title=Vehicle:Mazda_Miata_2003
Will also add suggested wiring including WBO2 and MAP sensor.
Re: 2003 VVT test mule Miata
Just to make sure I got this right: The only way that the ECU know what angle the VVT is advanced by, is by comparing the CAM sensor signal to the CRANK sensor signal - correct?
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: 2003 VVT test mule Miata
that's my understanding of this, and that's the kind of logic I have for the toyota vtti.stefanst wrote:The only way that the ECU know what angle the VVT is advanced by, is by comparing the CAM sensor signal to the CRANK sensor signal - correct?
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: 2003 VVT test mule Miata
Gotta love 3D printers.
Welcome to the friendlier side of internet crazy
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: 2003 VVT test mule Miata
Really confusing +12 running / +12 constant / main relay, got couple of wires wrong, diagram is a labyrinth, got tired added an unneeded wire which made power supply side really funny, nearly fried some sensors but somehow these survived, the ex-Neon board had a non functioning 5K resistor which was not used on Neon but was important on Miata... Thank you @ for doing half of the work!
But now I have both cam and crank, four injectors, fuel pump and main relay. Open question trigger shape but that should be available online.
But now I have both cam and crank, four injectors, fuel pump and main relay. Open question trigger shape but that should be available online.
- Attachments
-
- 20161030_185415.jpg (673.97 KiB) Viewed 130128 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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: 2003 VVT test mule Miata
Eating burritos with @ and his wonderful wife is a real treat Thanks for lunch!
On the VVT trigger shape, I found the following on Miataturbo.net:
So it's the same as NB1 without VVT, the CAM signal just moves relative to the CRANK signal. Should be OK to run just using NB1 setup.
On the VVT trigger shape, I found the following on Miataturbo.net:
So it's the same as NB1 without VVT, the CAM signal just moves relative to the CRANK signal. Should be OK to run just using NB1 setup.
Last edited by stefanst on Mon Oct 31, 2016 12:52 am, edited 1 time in total.
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: 2003 VVT test mule Miata
just realized that we had an NB1 running - see http://rusefi.com/forum/viewtopic.php?f=3&t=467&start=33 see http://rusefi.com/wiki/index.php?title=Manual:Software:Trigger#Mazda_Miata_NBstefanst wrote:On the VVT trigger shape
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: 2003 VVT test mule Miata
Earlier this year we also had my NB1 running http://rusefi.com/forum/viewtopic.php?f=3&t=987
Re: 2003 VVT test mule Miata
Managed to simulate Miata NB2 VVT cam/crank signals with an arduino. rusefi accepts the signal and reads rpm. I can also see the crank signal moving relative to the cam signal, but am not sure how to use Miata VVT with rusefi in Tunerstudio. Will play some more tomorrow.
It only gets up to 3670rpm, because arduino is soooo slow, but it should be good enough!
It only gets up to 3670rpm, because arduino is soooo slow, but it should be good enough!
- Attachments
-
- VVT_Trigger advanced.png (64.95 KiB) Viewed 130052 times
-
- VVT_Trigger medium.png (52.77 KiB) Viewed 130052 times
-
- VVT_Trigger retarded.png (53.27 KiB) Viewed 130052 times
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: 2003 VVT test mule Miata
Unfortunately no VVT code for Miata yet. This signal is too complex for the current implementation - current implementation only works with one teeth cam sensor (we have three) and distinct crank signal (we only have 180 degree precision, not 360 degree because the wheel is symmetrical)
I think I have a plan how to implement this trigger, I just need to sit and do it.
I think I have a plan how to implement this trigger, I just need to sit and do it.
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: 2003 VVT test mule Miata
I've got some useful UK parts but UK-specific wiring diagram seems impossible to find
http://www.mx5nutz.com/forum/index.php?showtopic=324257
http://www.mx5nutz.com/forum/index.php?showtopic=324257
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: 2003 VVT test mule Miata
- Attachments
-
- 25858_msiii_v3_57_no_cas_cam_crankwheel_89415696cbbbc693c8b6a1eced187e8f0f9d4052.png (40.45 KiB) Viewed 130003 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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: 2003 VVT test mule Miata
I think VVT Miata trigger support is ready - version 20161114
Crank is primary trigger - shaft position is based on that channel. Cam sensor is only used to detect intake cam position and engine phase (that's especially important with this symmetrical shape of crankshaft pattern). Special VVT mode is needed since three teeth, CAM gap ratio setting is temporary - once we confirm the numbers on a running engine these would be hard-coded.
Crank is primary trigger - shaft position is based on that channel. Cam sensor is only used to detect intake cam position and engine phase (that's especially important with this symmetrical shape of crankshaft pattern). Special VVT mode is needed since three teeth, CAM gap ratio setting is temporary - once we confirm the numbers on a running engine these would be hard-coded.
- Attachments
-
- miata_vvt.png (262.7 KiB) Viewed 129997 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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: 2003 VVT test mule Miata
Success!
Running the new VVT code with a stimulator we get VVT-angle feedback. We can sweep approx. 50 deg, which correctly mirrors what the simulator does. There is one issue though: The angle feedback from rusefi goes from 382deg to 432deg.
MS3 reports -5deg to 44deg.
Running the new VVT code with a stimulator we get VVT-angle feedback. We can sweep approx. 50 deg, which correctly mirrors what the simulator does. There is one issue though: The angle feedback from rusefi goes from 382deg to 432deg.
MS3 reports -5deg to 44deg.
- AndreyB
- Site Admin
- Posts: 14587
- Joined: Wed Aug 28, 2013 1:28 am
- Location: Jersey City
- Github Username: rusefillc
- Slack: Andrey B
Re: 2003 VVT test mule Miata
Great news
I wonder what is the meaning of -5deg to 44, is it in relation to where cam is on NB1 maybe?
I wonder what is the meaning of -5deg to 44, is it in relation to where cam is on NB1 maybe?
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
Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Re: 2003 VVT test mule Miata
My simulator has more freedom than the actual actuator on the intake cam. I believe the intake cam has a total range of 38 deg. I assume that MS3 just sets "full retard" at 0deg and "full advance" then at 38deg or so.