[rusEfi] red 2003 VVT test mule Miata NB2 #27

What engine are you torturing? Is it inside some car?
User avatar
russian
Site Admin
Posts: 9527
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

red 2003 VVT test mule Miata NB2 #27

Post by russian » Mon Oct 03, 2016 6:01 pm

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/t ... ta_vvt.cpp
http://rusefi.com/wiki/index.php?title= ... Miata_2003
Attachments
20161003_132821.jpg
20161003_132821.jpg (1.36 MiB) Viewed 5459 times
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

stefanst
contributor
contributor
Posts: 540
Joined: Wed Feb 17, 2016 12:24 am

Re: 2003 VVT test mule Miata

Post by stefanst » Mon Oct 03, 2016 7:08 pm

Awesome!
OBDII Port is right above the fuse panel.

User avatar
kb1gtt
contributor
contributor
Posts: 3412
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: 2003 VVT test mule Miata

Post by kb1gtt » Mon Oct 03, 2016 8:55 pm

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" :)
Welcome to the friendlier side of internet crazy :)

User avatar
russian
Site Admin
Posts: 9527
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: 2003 VVT test mule Miata

Post by russian » Mon Oct 03, 2016 9:01 pm

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.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
russian
Site Admin
Posts: 9527
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: 2003 VVT test mule Miata

Post by russian » Mon Oct 03, 2016 10:28 pm

codes
Attachments
Screenshot_2016-10-03-17-59-39.png
Screenshot_2016-10-03-17-59-39.png (721.43 KiB) Viewed 5444 times
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
kb1gtt
contributor
contributor
Posts: 3412
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: 2003 VVT test mule Miata

Post by kb1gtt » Mon Oct 03, 2016 11:20 pm

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.
Welcome to the friendlier side of internet crazy :)

User avatar
russian
Site Admin
Posts: 9527
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: 2003 VVT test mule Miata

Post by russian » Mon Oct 03, 2016 11:42 pm

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/ ... 64289.aspx
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
kb1gtt
contributor
contributor
Posts: 3412
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: 2003 VVT test mule Miata

Post by kb1gtt » Mon Oct 03, 2016 11:48 pm

seafoam is also good about dissolving carbon garbage.



http://www.kmart.com/seafoam-motor-trea ... lsrc=aw.ds
Welcome to the friendlier side of internet crazy :)

stefanst
contributor
contributor
Posts: 540
Joined: Wed Feb 17, 2016 12:24 am

Re: 2003 VVT test mule Miata

Post by stefanst » Tue Oct 04, 2016 4:26 am

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

stefanst
contributor
contributor
Posts: 540
Joined: Wed Feb 17, 2016 12:24 am

Re: 2003 VVT test mule Miata

Post by stefanst » Wed Oct 05, 2016 3:04 am

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.

User avatar
russian
Site Admin
Posts: 9527
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: 2003 VVT test mule Miata

Post by russian » Wed Oct 05, 2016 3:19 am

I want to at least attempt rusEfi before manual conversion. But before that I need to fix VVT and ideally pass inspection :)
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

ItaloManyak
Posts: 69
Joined: Sun Sep 08, 2013 2:33 pm

Re: 2003 VVT test mule Miata

Post by ItaloManyak » Thu Oct 06, 2016 4:05 pm

Check the oil pressure and o-rings if it is good then
Try to clean the valve or replace it

stefanst
contributor
contributor
Posts: 540
Joined: Wed Feb 17, 2016 12:24 am

Re: 2003 VVT test mule Miata

Post by stefanst » Fri Oct 21, 2016 7:23 pm

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= ... Miata_2003
Will also add suggested wiring including WBO2 and MAP sensor.

stefanst
contributor
contributor
Posts: 540
Joined: Wed Feb 17, 2016 12:24 am

Re: 2003 VVT test mule Miata

Post by stefanst » Fri Oct 28, 2016 7:07 pm

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?

User avatar
russian
Site Admin
Posts: 9527
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: 2003 VVT test mule Miata

Post by russian » Fri Oct 28, 2016 7:52 pm

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?
that's my understanding of this, and that's the kind of logic I have for the toyota vtti.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

Abricos
contributor
contributor
Posts: 700
Joined: Mon Aug 18, 2014 12:32 am

Re: 2003 VVT test mule Miata

Post by Abricos » Sun Oct 30, 2016 2:39 am

:)

Image
Image
Image
Image
Image
Image

User avatar
kb1gtt
contributor
contributor
Posts: 3412
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: 2003 VVT test mule Miata

Post by kb1gtt » Sun Oct 30, 2016 4:01 am

Gotta love 3D printers.
Welcome to the friendlier side of internet crazy :)

User avatar
russian
Site Admin
Posts: 9527
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: 2003 VVT test mule Miata

Post by russian » Sun Oct 30, 2016 11:38 pm

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.
Attachments
20161030_185415.jpg
20161030_185415.jpg (673.97 KiB) Viewed 5291 times
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

stefanst
contributor
contributor
Posts: 540
Joined: Wed Feb 17, 2016 12:24 am

Re: 2003 VVT test mule Miata

Post by stefanst » Mon Oct 31, 2016 12:49 am

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:
Image
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.

Abricos
contributor
contributor
Posts: 700
Joined: Mon Aug 18, 2014 12:32 am

Re: 2003 VVT test mule Miata

Post by Abricos » Wed Nov 02, 2016 10:15 am

Image
Image
Image
Image
Image

User avatar
russian
Site Admin
Posts: 9527
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: 2003 VVT test mule Miata

Post by russian » Thu Nov 03, 2016 12:45 am

stefanst wrote:On the VVT trigger shape
just realized that we had an NB1 running - see http://rusefi.com/forum/viewtopic.php?f ... 7&start=33 see http://rusefi.com/wiki/index.php?title= ... a_Miata_NB
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

stefanst
contributor
contributor
Posts: 540
Joined: Wed Feb 17, 2016 12:24 am

Re: 2003 VVT test mule Miata

Post by stefanst » Thu Nov 03, 2016 1:22 am

Earlier this year we also had my NB1 running http://rusefi.com/forum/viewtopic.php?f=3&t=987 :)

stefanst
contributor
contributor
Posts: 540
Joined: Wed Feb 17, 2016 12:24 am

Re: 2003 VVT test mule Miata

Post by stefanst » Fri Nov 11, 2016 4:05 am

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!
Attachments
VVT_Trigger advanced.png
VVT_Trigger advanced.png (64.95 KiB) Viewed 5215 times
VVT_Trigger medium.png
VVT_Trigger medium.png (52.77 KiB) Viewed 5215 times
VVT_Trigger retarded.png
VVT_Trigger retarded.png (53.27 KiB) Viewed 5215 times

User avatar
russian
Site Admin
Posts: 9527
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: 2003 VVT test mule Miata

Post by russian » Fri Nov 11, 2016 5:09 am

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.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
russian
Site Admin
Posts: 9527
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: 2003 VVT test mule Miata

Post by russian » Mon Nov 14, 2016 3:15 am

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
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
russian
Site Admin
Posts: 9527
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: 2003 VVT test mule Miata

Post by russian » Tue Nov 15, 2016 1:05 am

Attachments
25858_msiii_v3_57_no_cas_cam_crankwheel_89415696cbbbc693c8b6a1eced187e8f0f9d4052.png
25858_msiii_v3_57_no_cas_cam_crankwheel_89415696cbbbc693c8b6a1eced187e8f0f9d4052.png (40.45 KiB) Viewed 5166 times
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
russian
Site Admin
Posts: 9527
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: 2003 VVT test mule Miata

Post by russian » Tue Nov 15, 2016 3:11 am

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.
Attachments
miata_vvt.png
miata_vvt.png (262.7 KiB) Viewed 5160 times
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

stefanst
contributor
contributor
Posts: 540
Joined: Wed Feb 17, 2016 12:24 am

Re: 2003 VVT test mule Miata

Post by stefanst » Wed Nov 16, 2016 12:53 am

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.

User avatar
russian
Site Admin
Posts: 9527
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: 2003 VVT test mule Miata

Post by russian » Wed Nov 16, 2016 1:13 am

Great news :)
I wonder what is the meaning of -5deg to 44, is it in relation to where cam is on NB1 maybe?
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

stefanst
contributor
contributor
Posts: 540
Joined: Wed Feb 17, 2016 12:24 am

Re: 2003 VVT test mule Miata

Post by stefanst » Wed Nov 16, 2016 1:16 am

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.

Post Reply