1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by phoenix3d »

Hi guys.. (Specifically to the Guru's James and Ken)

This is a quick revisit to the Toyota/Lexus setups that are VVT-i motors.
I know there is a relevant post for this setup But I would like to inquire as to the Code/firmware compatibility of the VVT-i on these motors.
I know there is a Post somewhere around here regarding the 1GZ-FE (V12 VVT-i motor that is apparently Up and running incl. the VVT-i)

Just a refresher (Standard Toyota/Lexus VVT-i setup) VR sensor 36-1 or 2 Crank wheel (Not sure of hand at the moment), VR sensor Cam Home for sequential Inj/Ignition (May or may not be required for Full Seq Setup re James.) and 1 or 2 or more VR "Three tooth" Cam VVT wheels (2 even, 1 longer? teeth).

I would like to now, Is this Running yet on the 8 Cyl motors (Seeing that 12Cyl is Apparently Alive). I am aware of the relevant Conditioner for the additional VR wheels (of which I already have).

PS. This is going to be and MS3-Pro install if that changes anything?...

I have the install next week and would like to know If this is Do-able before I make myself look like an #ss... I know the Motor will run but can I get the VVT-i to do it's job?.

Kindest Regards
Gordon.
Matt Cramer
Super MS/Extra'er
Posts: 17507
Joined: Thu Apr 16, 2009 8:08 pm

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by Matt Cramer »

I know it's in the code now. Not sure if the timing has been confirmed.
Matt Cramer -1966 Dodge Dart slant six running on MS3X
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by phoenix3d »

:yeah!: Wooo Hoooo!!!!.. Awesome.... So Hopefully that means I can Give it a Go then... ? :yeah!:

Is there anything in particular I should have a look at when first firing up?... Except of course, if the timing is Spot on..

Cheers and Thanks a Mill for all your Awesome Works that yourself and James have been doing.. (Not to mention Everyone Else that is Contributing to this Awesome Product!!..

Kindest Regards
Gordon.
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by phoenix3d »

Hi James / Mat Ken and The Rest of the Awesome Crew...

Quick Update on the UZ-FE VVT-i Setup (Would be Identical for the 1 UZ, 2 UZ & 3 UZ Engines)

Got our setup Fired Up!..... First time mind you.... Although I was in Semi-Seq Fuel and Wasted COP (In case I had it miswired :? )

In 2JZ VVTi Ignition Mode....(With additional VR Input in Digital Frequency Input 1 + Spare if needed on Dig Freq in 2) The Timing seems to be way off... Super Sluggish. (Going to confirm as soon as I have a Third Hand.)

Initial Setup as follows.
Crank input -> 36-2 crank pickup
Cam input -> VVT Pickup on Odd cylinder bank (ie 1,3,5,7)
Dig Frequency in 1 -> VVT Pickup on Even bank (ie 2,4,6,8)
Cam Home Pickup Not connected


RPM NOT Stable ripples visibly on the RPM Gauge and Histogram.

Initially didn't get sync, so swapped Cam input wires to other bank VVT sensor (Even Cylinders Side). Then Synced, but still had RPM ripple.

Switched to Full Sequential... Didn't like it at all.. VERY Rough...

So tried to switch to Generic Wheel Decoder (36-2 Crank only in Wasted COP and Semi-Seq), She Fired and ran.. RPM way more steady... But Timing still way Off (See above excuse ;-) ) as well as an aberrant what felt like a misfire but on the wrong cylinder [ hard kick]?.. No visible signs of it in TS..?

Going to be Taking Datalogs, Ignition Logs etc in as many ways as possible to make sorting this decoder out easier.

Will be doing a follow up post probably by this evening or latest in the Morning following.

(PS MS3 / MS3-Pro IS AWESOME!!!! )
jsmcortina
Site Admin
Posts: 39614
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by jsmcortina »

:msq:
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".
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by phoenix3d »

OK OK.... Disregard the above....

I Did what I Feared..... Had a Serious Blonde Moment when wiring up the system.. :oops: :oops:

Wired up the Coils like my #ss....

Will correct the Issue and Do all the proper logs and Sundry..

Apologies!...
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by phoenix3d »

Hi Again James and Crew....

I Eventually figured out the coils.. My Bad on the wiring...

I have done the following for you... (As I have not been able to get a Fire up in 2JZVVTi mode - at all. Get explosions out of the intake).

Got everything running SWEET in Toothed wheel mode..

36 - 2 with 126 degree 1st tooth. (Timing BANG ON!.)
Wasted COP.
Semi Seq Fuel.

Took two ignition logs as follows.

1.) Crank Pickup + Even Cylinder VVT-i CAM pickup. (Presumed to be Proper TDC as 1 Tooth falls into Missing tooth gap?) Going to be Nain CAM input?
2.) Crank Pickup + Odd Cylinder VVT-i CAM pickup. (Going to be on Digital Frequency input 1?)

I also took a Datalog of the engine Running.

As I Said prior... 2JZ VVTI mode Timing or Coil sequence WAY off.. Unfortunately Not able to see Timing marks in 2JZVVTi mode as hidden behind AC Pump etc so gather WAY FAST!! (Possible one sequence out in ignition?..) as it spits into the Intake or more like explodes!....
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by phoenix3d »

Follow in from above post...

In 2JZ VVTi Ignition Mode....(With additional VR Input in Digital Frequency Input 1 + Spare if needed on Dig Freq in 2) The Timing seems to be way off...

Initial Setup as follows.
Crank input -> 36-2 crank pickup
Dig Frequency in 1 -> VVT Pickup on Odd cylinder bank (ie 1,3,5,7)
Dig Frequency in 2 -> Spare not used as yet.
Cam input -> VVT Pickup on Even bank (ie 2,4,6,8)
Cam Home Pickup Not connected.
Last edited by phoenix3d on Mon Sep 07, 2015 9:47 am, edited 1 time in total.
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by phoenix3d »

Final part of above post...

A Very unsuccessful cranking datalog of the above motor.

Explosions from the Intake.. So Timing way out... Most probably Way to fast into next cylinder?

Cheers and Thanks a Mill in advance!..

(PS. James How do you work out the Ignition decoder setups? I'd have a look at it myself but... Tooo much to try figure out from scratch ;-) )

you may PM me if you do not want it all out there. ;-)

Gordon.
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by phoenix3d »

Hi James...

Please have a look at this for me...

Got the 2JZVVTi mode working (sort of) on the 1uz-fe VVTi motor

I had to mod the ms3_ign_wheel.c to the following the original was way off by ~225 degrees.

} else if (num_cyl == 8) {
/* Total guessed for 1UZ, unknown, untested */
no_triggers = 8;
trigger_teeth[0] = 19;
trigger_teeth[1] = 28;
trigger_teeth[2] = 37;
trigger_teeth[3] = 46;
trigger_teeth[4] = 55;
trigger_teeth[5] = 64;
trigger_teeth[6] = 1;
trigger_teeth[7] = 10;

trig_angs[0] = -425 + tmp_offset;
trig_angs[1] = -425 + tmp_offset;
trig_angs[2] = -425 + tmp_offset;
trig_angs[3] = -425 + tmp_offset;
trig_angs[4] = -425 + tmp_offset;
trig_angs[5] = -425 + tmp_offset;
trig_angs[6] = -425 + tmp_offset;
trig_angs[7] = -425 + tmp_offset;

this gets Cyl 1 at TDC.... Full SYNC. Full Sequential (No VVT set "on" yet)
BUT.....
the following cylinders are out.. (I gathered that looking on the trigger log that Cyl 1 is 30 degree ahead of Cyl 6, the rest are split in between at 15 Deg.)

Cyl 1 = 15' BTDC
Cyl 6 = 15' ATDC

See attached Tune and Trigger log.

Any assistance would be awesome!!..
Thanks
Gordon.
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by phoenix3d »

Sorry guys.. just a bump to keep it alive for when James gets back.. ;-)
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by phoenix3d »

Hi James... and the rest of the coding Guru's

Have you by any chance had a look at the above decoder stuff yet?... :?

Please if possible, It's real urgent now... Customer is Getting uppity... :evil:

If you need any further info PLEASE SHOUT!... I have a Vehicle here with 1UZ-FE VVTi Setup and in a Sort of runnig condition (See Above).

Thanks a Mill in advance

Gordon.
juansh2385
Master MS/Extra'er
Posts: 612
Joined: Fri Feb 25, 2011 4:28 pm

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by juansh2385 »

Hi I don,t I think if my memory does not fails me that the uneven cam trigger signal is the one that the code was written for. Did you try verifying the ignition phase using the uneven cam sensor?
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by phoenix3d »

Yep using only (Both Left & Right Bank) the uneven three lobe cam VVTi pickups and the Crank 36-2 pickup.

Without these it wont even run. Swap them around - wont run (or at least in COP mode)

If you have a look at the ("Even and Odd") logs above it shows exactly what is happening.

She is running, but the triggers are not all firing at the correct times (See Trigger log).

Thanks for the input though

gordon
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by phoenix3d »

Sorry I forgot tpo mention that all of the above is on an MS3-Pro
Matt Cramer
Super MS/Extra'er
Posts: 17507
Joined: Thu Apr 16, 2009 8:08 pm

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by Matt Cramer »

Are 1 and 6 not firing at all, or is their timing off? If so, by how many degrees?
Matt Cramer -1966 Dodge Dart slant six running on MS3X
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by phoenix3d »

Hi Matt...

Thanks for the response....

When using the Stock Release 1.4.0 firmware,

Cylinder 1 Fires the correct time Cylinder 6 fires 60 degree off...

I have already verified that the Tooth sequence in the Firmware s incorrect.

In the code
Trig A & B, G & H = Correct
Trig C, D, E, F = incorrect (out by two teeth)

and trig angles are way out needed -440 (was -50) to exact timing.

Below is the Code that Corrects the Running Timing Issue (Spot On)

} else if (num_cyl == 8 ) {
/* Total guessed for 1UZ, unknown, untested */
no_triggers = 8;
trigger_teeth[0] = 19;
trigger_teeth[1] = 28;
trigger_teeth[2] = 37;_____was 35
trigger_teeth[3] = 46;_____was 44
trigger_teeth[4] = 55;_____was 53
trigger_teeth[5] = 64;_____was 62
trigger_teeth[6] = 1;
trigger_teeth[7] = 10;

trig_angs[0] = -440 + tmp_offset;
trig_angs[1] = -440 + tmp_offset;
trig_angs[2] = -440 + tmp_offset;
trig_angs[3] = -440 + tmp_offset;
trig_angs[4] = -440 + tmp_offset;
trig_angs[5] = -440 + tmp_offset;
trig_angs[6] = -440 + tmp_offset;
trig_angs[7] = -440 + tmp_offset;

ONLY THING IS NOW I Get SYNC ERRORS ON START UP/Cranking only And Sometimes ignition phase is off.... Full sync when running. (Running Full Sequential)

And the VVT section is giving very unsteady cam angles (Cam 1 [CMP] & Cam 2 [Dig Freq in 1]) as the period between teeth is 250', 250' & 220' (looking at the Even cylinder VVT Cam) (In the code it is referring only to period of 240' (ie evenly spaced teeth @120' around the cam))

I'll post a latest datalog showing behaviour.

Is there anything in particular that I need to log (ie Tooth Log, Trigger log etc?.)


I really want to get this correct... I am just trying to help get the code right.
Any feedback or info would be awesome, I don't mind trying to tweak code here but I ain't in the league of James, Ken and the rest...Tricky to tweak when you have no idea of what needs tweaking... :RTFM:
Thanks Guys!..
jsmcortina
Site Admin
Posts: 39614
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by jsmcortina »

Just had chance to take a look at this.

The composite logs you posted don't include a cam signal, so that's not going to work. I'm currently testing on the stim, but my simulated "2JZ" pattern appears to have the 4cyl cam pattern so won't sync up in 8cyl mode. I need the actual 8cyl cam pattern from your logs to validate it.

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".
jsmcortina
Site Admin
Posts: 39614
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by jsmcortina »

I found a wheel pattern that gives sync. Unsure on phasing.

I adjusted the code until the spark outputs lined up the same on the scope as your 126deg tooth#1 angle.

Try this code:

Code: Select all

        } else if (num_cyl == 8) {
            /* 1UZ within 1deg of 126deg tooth#1 */
            no_triggers = 8;
            trigger_teeth[0] = 14;
            trigger_teeth[1] = 23;
            trigger_teeth[2] = 32;
            trigger_teeth[3] = 39;
            trigger_teeth[4] = 48;
            trigger_teeth[5] = 57;
            trigger_teeth[6] = 66;
            trigger_teeth[7] = 5;

            trig_angs[0] = -50 + tmp_offset;
            trig_angs[1] = -50 + tmp_offset;
            trig_angs[2] = -50 + tmp_offset;
            trig_angs[3] = -50 + tmp_offset;
            trig_angs[4] = -50 + tmp_offset;
            trig_angs[5] = -50 + tmp_offset;
            trig_angs[6] = -50 + tmp_offset;
            trig_angs[7] = -50 + tmp_offset;
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".
phoenix3d
Experienced MS/Extra'er
Posts: 183
Joined: Wed Mar 19, 2008 2:12 pm
Location: South Africa

Re: 1UZ-FE / 2UZ-FE / 3UZ-FE VVT-i Revisit

Post by phoenix3d »

Brilliant thanks for the Reply James...

Ill try the code changes.. AND Try to do a datalog again..

Strange that there is no cam signal in the datalog, I have it in my MVLV, Albeit when I switch on non interrupt data it shows up?....

Ill do the Code mod and get back to you within the next day...

Any info regarding the VVT section, the 250' 250' 220 period of the cam teeth on the vvt, Oh wait You just mentioned about the No show of the CAM signal in the logs, Apologies)

Kindest Regards

Gordon.
Post Reply