2JZ VVTi

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

gross polluter
Helpful MS/Extra'er
Posts: 109
Joined: Wed Nov 14, 2007 4:44 pm
Location: San Diego

Re: 2JZ VVTi

Post by gross polluter »

Ok, here's a trigger log of the cam progressively advancing from the full retard position at cranking. When viewing the trigger log in MLV, on page two you see where the code goes from sync to no sync roughly 40 degrees into the sweep, if the VVT angle gauge was reading correctly.

Don't have an MSQ to accompany. Trigger mode was set to "2JZ VVTI"
88 RX-7 TII - MS2 Extra 1.0.2
68 Mustang 351C - MS3X
88 Volvo 245 - 2JZGTE VVTi powered, MS3X + MSGPIO Mshift controlled
porelmundo
Helpful MS/Extra'er
Posts: 43
Joined: Tue Dec 09, 2008 12:34 pm

Re: 2JZ VVTi

Post by porelmundo »

Are you crancking with the sparkplugs? I have some jumps on the cam when crancking different than your log. I will post my log this afternoon I was out programing other cars.
gross polluter
Helpful MS/Extra'er
Posts: 109
Joined: Wed Nov 14, 2007 4:44 pm
Location: San Diego

Re: 2JZ VVTi

Post by gross polluter »

No, that's cranking with the spark plugs out to get the cranking speed as quick as possible.
88 RX-7 TII - MS2 Extra 1.0.2
68 Mustang 351C - MS3X
88 Volvo 245 - 2JZGTE VVTi powered, MS3X + MSGPIO Mshift controlled
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: 2JZ VVTi

Post by jsmcortina »

gross polluter wrote:Ok, here's a trigger log of the cam progressively advancing from the full retard position at cranking. When viewing the trigger log in MLV, on page two you see where the code goes from sync to no sync roughly 40 degrees into the sweep, if the VVT angle gauge was reading correctly.
Good information.

The way my code is written, it looks for the cam between certain crank tooth numbers. My "window" of teeth wasn't large enough. I'll email you a test code.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
porelmundo
Helpful MS/Extra'er
Posts: 43
Joined: Tue Dec 09, 2008 12:34 pm

Re: 2JZ VVTi

Post by porelmundo »

well its looks like i have some noice at the cam sensor, provably is my vr conditioner, but i was looking if i keep cranking it's sync but way off from crank timing i have 155 not 160 on rising edge. here are the logs with some noice i will keep working on that this afternoon.
porelmundo
Helpful MS/Extra'er
Posts: 43
Joined: Tue Dec 09, 2008 12:34 pm

Re: 2JZ VVTi

Post by porelmundo »

It sync on the third turn of the engine, if at last cranck timing is fixed I can turn on the engine.
Thank's for your support.
gross polluter
Helpful MS/Extra'er
Posts: 109
Joined: Wed Nov 14, 2007 4:44 pm
Location: San Diego

Re: 2JZ VVTi

Post by gross polluter »

James, I'll test the new code when I return to the shop on Tuesday.
88 RX-7 TII - MS2 Extra 1.0.2
68 Mustang 351C - MS3X
88 Volvo 245 - 2JZGTE VVTi powered, MS3X + MSGPIO Mshift controlled
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: 2JZ VVTi

Post by jsmcortina »

Ok,
I need to have a look at the timing offset issue too. The code I sent you has no changes for that.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
porelmundo
Helpful MS/Extra'er
Posts: 43
Joined: Tue Dec 09, 2008 12:34 pm

Re: 2JZ VVTi

Post by porelmundo »

Any time to check the offset timing yet?
gross polluter
Helpful MS/Extra'er
Posts: 109
Joined: Wed Nov 14, 2007 4:44 pm
Location: San Diego

Re: 2JZ VVTi

Post by gross polluter »

Alright, tested the new code today and can't get constant sync at all. During cranking, regardless of cam angle, RPM will momentarily read ~200rpm then drop to zero and no sync. Seemed to do this once every engine cycle. I've attatched two trigger logs and the MSQ that contains the correct trigger settings for the crank sensor. The first in the order of the trigger logs is just cranking at full cam retard (no power to oil control valve.) The second log in the order was done using the same method as I had used from my original post, cranking with power to oil control valve, sweeping through the cam timing range from retarded to advanced.

Hope the info I provided helps. I can do other tests if need be.
88 RX-7 TII - MS2 Extra 1.0.2
68 Mustang 351C - MS3X
88 Volvo 245 - 2JZGTE VVTi powered, MS3X + MSGPIO Mshift controlled
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: 2JZ VVTi

Post by jsmcortina »

Updated code on its way shortly.

I've moved the "tooth windows" to look for the cam pulses based on those latest composite logs. I have also built in that 160 deg tooth#1 angle and the timing looks the same on the scope.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
gross polluter
Helpful MS/Extra'er
Posts: 109
Joined: Wed Nov 14, 2007 4:44 pm
Location: San Diego

Re: 2JZ VVTi

Post by gross polluter »

Fantastic. Will try the new code this evening.
88 RX-7 TII - MS2 Extra 1.0.2
68 Mustang 351C - MS3X
88 Volvo 245 - 2JZGTE VVTi powered, MS3X + MSGPIO Mshift controlled
porelmundo
Helpful MS/Extra'er
Posts: 43
Joined: Tue Dec 09, 2008 12:34 pm

Re: 2JZ VVTi

Post by porelmundo »

I will do the same tomorrow morning.
Thank you
gross polluter
Helpful MS/Extra'er
Posts: 109
Joined: Wed Nov 14, 2007 4:44 pm
Location: San Diego

Re: 2JZ VVTi

Post by gross polluter »

Alright, Here's where I'm at.

With the latest code the car stars right up and runs well. Timing is rock solid at the commanded value. I ran the cam through the sweep with the engine idling using the VVT test output. Engine seems to maintain sync the entire time, albeit running really poor to the point where it will stall by the time it gets to well into cam advance. But, that's a lot of overlap so that's expected.

One of the issues I ran into, however, is that the cam angle gauge can't seem to keep a relatively constant reading. With the cam at full retard (zero duty) the reading bounces between 136 degrees and 158 degrees absolute. I managed to make the cam advance slowly by reducing the PWM frequency and setting the duty to 80%. During advancing, about 40 degrees into the sweep, the the cam angle would bounce between 194 and 13. I could not keep the engine running very well beyond 40 degrees, but I think the data I collected should conicide with what I am describing.

I've included the MSQ, datalog, and trigger log of this event. If you need any other data, let me know and I'll do my best to provide what I can.
88 RX-7 TII - MS2 Extra 1.0.2
68 Mustang 351C - MS3X
88 Volvo 245 - 2JZGTE VVTi powered, MS3X + MSGPIO Mshift controlled
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: 2JZ VVTi

Post by jsmcortina »

Looks like your crank VR sensor is wired backwards - take a tooth log and you'll see that your missing tooth is unclear.

Looking at the composite logs by eye, it is also clear to see that one of the cam teeth is uneven ?!? I'm sure I thought I was seeing this in earlier logs too. Perhaps changing the capture polarity on crank and cam might help this too.

I'm going to send you some debug code as well.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
gross polluter
Helpful MS/Extra'er
Posts: 109
Joined: Wed Nov 14, 2007 4:44 pm
Location: San Diego

Re: 2JZ VVTi

Post by gross polluter »

I've thought about that too. Back when I provided the original composite log I had tried changing the polarity of both the cam and crank sensors to see if I could yeild a different result. I could never get sync from any other polarities than what I am using now. Now, if my cam sensor was wired in reverse polarity, wouldn't I see discrepancies in ignition timing through the RPM range? As it is now, if I lock the timing at 10 degrees, it will hold timing rock solid all the way through the rev range.

I'll try to verify polarity through the wiring manual this evening, in addition to trying the test code you sent me.
88 RX-7 TII - MS2 Extra 1.0.2
68 Mustang 351C - MS3X
88 Volvo 245 - 2JZGTE VVTi powered, MS3X + MSGPIO Mshift controlled
gross polluter
Helpful MS/Extra'er
Posts: 109
Joined: Wed Nov 14, 2007 4:44 pm
Location: San Diego

Re: 2JZ VVTi

Post by gross polluter »

Alright, it looks like both sensors are wired backwards. I don't have an english wiring diagram for this engine so a lot of stuff I had to figure out on my own. I'm taking a look over the english GS300 manual right now and it shows that the export market cars use the same wire colors as my engine has on the crank and cam sensors. If the colors are the same, both of my sensors are reversed. I suppose I'll correct that issue and report back.
88 RX-7 TII - MS2 Extra 1.0.2
68 Mustang 351C - MS3X
88 Volvo 245 - 2JZGTE VVTi powered, MS3X + MSGPIO Mshift controlled
gross polluter
Helpful MS/Extra'er
Posts: 109
Joined: Wed Nov 14, 2007 4:44 pm
Location: San Diego

Re: 2JZ VVTi

Post by gross polluter »

Quick update: polarity on both cam and crank sensors were indeed reversed. Swapped them to the correct polarity and everything seems to be working fine now. Cam angles are stable, vvt follows target table, etc.

But, since my polarity was reversed I'm now seeing the same 155 degree trigger angle that porelmundo is seeing. For the time being I've added 5 degrees to my entire ignition table to compensate.
88 RX-7 TII - MS2 Extra 1.0.2
68 Mustang 351C - MS3X
88 Volvo 245 - 2JZGTE VVTi powered, MS3X + MSGPIO Mshift controlled
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: 2JZ VVTi

Post by jsmcortina »

For a quick 5 deg offset you can use the "trigger angle/offset" setting. I'll build that revised angle into a new code.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
porelmundo
Helpful MS/Extra'er
Posts: 43
Joined: Tue Dec 09, 2008 12:34 pm

Re: 2JZ VVTi

Post by porelmundo »

I say it before 155 not 160
Post Reply