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

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

Post by phoenix3d »

Hi James...

Quick Feedback

To reiterate - MS3Pro Additional VR Inputs for VVT2 (And if Needed Cam Home) Full Sequential UZ-FE V8 VVTi

Your Wheel mod above worked like a charm (Running Timing is Dead On) :yeah!: Well at least depending on the angle of viewing the Marks. :D

Cranking still has a Weird behaviour, Sometimes fires up in the first couple of rotations and sometimes MUCH longer (up to about ~5sec for sync). :?

I have still got Very Bad VVT1 (on CMP) & VVT2 (on Dig High Freq 1 in) Angle readings. :?

I have attached Datalogs and Tune file for your check up and Tweaking Advice.

Thanks a Million
Gordon.
Last edited by phoenix3d on Fri Oct 02, 2015 10:13 am, edited 3 times 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 »

Additional Datalogs from above post..
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 »

And Final Datalog from above
jsmcortina
Site Admin
Posts: 39613
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 »

Looks like the cam tooth spacing is a little different on the V8 perhaps. I found that I already had some 1UZ composite logs here and the spacing matches up with yours, so that's promising.

Try the following, I've not tested it though!

Code: Select all

--- ms3_ign.c	11 Aug 2015 13:11:17 -0000	1.246.4.7
+++ ms3_ign.c	3 Oct 2015 13:12:51 -0000
@@ -1503,6 +1503,8 @@
                         }
                     } else if ((spkmode == 48) && (num_cyl == 4)) { /* 2zz-ge */
                         period = 1800;
+                    } else if ((spkmode == 48) && (num_cyl == 8)) { /* 1uz */
+                        period = 900;
                     } else if ((spkmode == 19) || (spkmode == 20) || (spkmode == 48) || (spkmode == 56)) {
                         period = 2400;
                     } else if (spkmode == 50) {
If that doesn't solve it, I have some other data capture ideas and will need to send 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".
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 »

Awesome!! Thanks James...

Gonna Try it out now...

Thanks I'll let you know what happens...

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

AWESOME NEWS!! :yeah!: ... The VVT Section seems to be ALL Good.. I see a slight bounce of about +/- 0.2 degrees. on both cams... WAY Smoother than before...
You Genius You...

Only thing that still seems to be problematic is the cranking Syncing/phasing.. Sometimes fires-up within 2 - 4 rotations.... sometimes Way longer if at all seems to loose phase.. Any Suggestions?... :?:

This would be the last of the Probs I can see for the moment for the 2JZVVTi Code for the UZ-FE V8 family....
Please let me know what you come up with.

I have attached the latest MSQ, Datalog showing VVT is Good..., And Comp log for Cranking sync issues...
If you need anything else please Shout...

Kindest regards
Gordon
jsmcortina
Site Admin
Posts: 39613
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 looked at those logs. It looks like the decoder thinks it has full sync, then fails, then syncs again.

To resolve this may require a re-write of the main decoder unless I can spot anything obvious that is causing the false sync.

If I do rewrite it, I'll likely implement it like some other decoders where it will start off using wasted-COP and transition to true COP/seq once the cam phase is full known. That's not a five minute job though.

Any chance of an SDcard datalog?
In Project properties, enable "INTERNAL LOG FIELDS"
Set the log interval to 3ms.
Ensure you have fields:
RPM
status1
Tooth number
Synch
PTT

Make sure the SDcard datalog is running before you crank. You can key-off once the engine has started.

The 3ms interval _should_ be fast enough to capture all crank and cam teeth during initial startup without any gaps. (The composite logger is good, but has gaps in 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".
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...

Oh Sherbet Lemon!!....

OK.. I can do the SD card log for you.... I'll do it shortly and get it back to you ASAP...

If I may inquire as to How the CAM Phase setup actually works.

It's as if it find the SYNC of the CAM but the Phase is totally off.... so keeps cranking until it unsyncs with an 84 or 85 reason.... on and on until the phase matches and fires up then Everything seems to keep Synced.... As though it syncs "randomly" (for lack of a better word) to one of the three teeth... getting a 1 out of three chance of syncing with correct phase....

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

Here are the SD Card Datalogs you requested....

I Made 4 of them.. Crank to fire-up to key-off each. (Honestly these fired up pretty nicely- although still not Spot on..)

Datalog 0007 took the longest of all the cranking. (Still not the longest I have seen though)

Kindest Regards
Gordon
Last edited by phoenix3d on Mon Oct 05, 2015 10:50 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 »

The Last Log

Cheers
Gordon.
Last edited by phoenix3d on Mon Oct 05, 2015 10:50 am, edited 2 times 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 »

James...

Just wondering.... :?
Why have you not implemented the CAM Home sensor into the code for TDC Sync Ref?. If it is such a pain syncing from the three tooth why not from the Single Tooth?... I know that the VVT-i requires VVT1 to be CMP (or what ever you use as Main Cam input)...

Just wondering?... :?:

Gordon
jsmcortina
Site Admin
Posts: 39613
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 »

Why use lots of cam inputs if not needed?

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 »

Cool... Got it... Simplify, Simplify, Simplify....

The good old saying "K.I.S.S. - Keep It Simple Stupid...." :D

Cheers
Gordon
suberimakuri
Master MS/Extra'er
Posts: 632
Joined: Sun May 02, 2004 2:16 pm
Location: Auckland, NZ
Contact:

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

Post by suberimakuri »

Great work both of you.
I would bet that firing wasted COP until fully synced would be great for quicker starts on any wheel mode possible. Sounds like a lot of work though, so no pressure. Our cars run mint.
jsmcortina
Site Admin
Posts: 39613
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 »

suberimakuri wrote:Great work both of you.
I would bet that firing wasted COP until fully synced would be great for quicker starts on any wheel mode possible. Sounds like a lot of work though, so no pressure. Our cars run mint.
Yes, that's on the long-term TODO list as it requires changes to all wheel decoders.

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 »

Hi James....

Just Curious?...

Anything evident in the logs I posted regarding the Cranking Sync?...

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 and all the other relevant coders.

I'd just like to update regarding the 2JZVVTi decoder on the UZ-FE V8 Family that James and I have been tweaking (Modified version of Release 1.4.0).

:? "PLEASE DO NOT USE THE RELEASE 1.4.0 AS IS, THERE HAS BEEN MAJOR TWEAKS FOR THE 8CYL VVT-i engines." :?

:yeah!: Everything is SWEET!!!... except for the Cranking sync up that I have been talking to James about.

The Vehicle is on the Dyno as we speak.

Everything Lines Up, and Runs Perfectly!! Timing Everything!!!

Only Getting 1 or 2 Sync Count Errors (Sometimes 84, sometimes 85, and sometime First Crank rotation Fire-up!)...

Will Update as I get a little further down the Road.

Kindest Regards
Gordon
SupraUZ
MS/Extra Newbie
Posts: 7
Joined: Sun Dec 13, 2015 12:33 pm

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

Post by SupraUZ »

How exactly is the engine wiring set up for this to work? I spent hours trying to get everything to work properly and currently I am wired to the crank and main cam input with no vvt-i connected. Software is on toothed wheel mode at 128 degrees. I have tried switching over to the 2jz decoder but I cannot get a clean crank signal. Every tooth it sees has sync loss and tooth count is not consistent at all. Is vvt1 supposed to be wired to the main cam input and ignore the main cam or cam home 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 »

Hi SupraUZ.

on this specific install the MAIN cam sensor is not used.

Please note that specific inputs & outputs will depend on the ECU used MS3 or MS3-Pro.

Use Only....
[Looking at the motor radiator side]
Crank Pickup (36-2 wheel)
Left VVT Cam sensor (Pickup) (Home Ref-ECU Main CAM input) (CAM SENSOR in the Middle of the cam)
Lef VVT Cam Solenoid (Control)
Right VVT cam sensor (Pickup) (vvt 2 cam ref) (CAM SENSOR in the Middle of the cam)
Right VVT cam solenoid (Control)

DO NOT CONNECT MAIN CAM SENSOR ON THE RIGHT CAM! (Located front of cam detecting a pip on the CAM shaft Belt wheel).

Using the 2JZVVTi Decoder with the latest firmware (Post 1.4.0) should be good to go. with relevant setting being correct of course.

Regards
Gordon.
SupraUZ
MS/Extra Newbie
Posts: 7
Joined: Sun Dec 13, 2015 12:33 pm

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

Post by SupraUZ »

Awesome, I'm running ms3x. So, if it does, how does this affect my wiring compared to an Mspro? Would you mind sharing a tune? Engine is down for rebuild ATM but will be back up soon with an s366. I have my tune from previous but no vvti in the tune.
Post Reply