1GZ-FE V12 support

General support questions and announcements for MS3. See also MS3 manuals.

Moderators: jsmcortina, muythaibxr

3bar
MS/Extra Newbie
Posts: 30
Joined: Sat Apr 25, 2015 1:13 pm
Location: Johannesburg South Africa

Re: 1GZ-FE V12 support

Post by 3bar »

hi all big time bump on this thread

i am getting ready to get my 1gzfe started on ms3 pro
and wanting to check if i am good to go on the 2jz vvti trigger selection and 12 cylinders selected and the correct 12 cylinder firing order in the engine config settings ? or do i need a custom "load" ? or does the 2jz vvti limit to (first) 6 cylinders ?

I am on 1.51 firmware on the ms3 pro and havent checked if anything has changed ? since this thread ? please let me know or do i need the custom settings JSMCortina makes reference to earlier on ?

heres what i scoped out via composite trigger

I do think I have left bank crank position sensor and right bank cam position sensor wired in here - will swop to alternate crank position sensor - i dont think i made the cam position sensors interchangeable with enough wire length......
composite logger 1gz fe.JPG
elutionsdesign
Super MS/Extra'er
Posts: 1341
Joined: Mon Sep 05, 2011 1:20 pm

Re: 1GZ-FE V12 support

Post by elutionsdesign »

Constant sync loss in there, I think you have at least the crank sensor wired backwards. You select 2JZVVTi for the ignition mode and set the number of cylinders to 12, if you had a UZ it's the same ignition mode with number of cylinders set to 8.
Graduate of EFI University.

I build, repair, install and tune Megasquirt systems in North Dakota and beyond!
3bar
MS/Extra Newbie
Posts: 30
Joined: Sat Apr 25, 2015 1:13 pm
Location: Johannesburg South Africa

Re: 1GZ-FE V12 support

Post by 3bar »

yip yip

have done so

had the d*** thing farting and back firing but its not interested any more and i am not sure what i did or have broken
it did try set itself on fire a few time from fuel being sprayed out the open exhaust ports........
elutionsdesign
Super MS/Extra'er
Posts: 1341
Joined: Mon Sep 05, 2011 1:20 pm

Re: 1GZ-FE V12 support

Post by elutionsdesign »

So did you flip the wires on the crank pickup?
Graduate of EFI University.

I build, repair, install and tune Megasquirt systems in North Dakota and beyond!
3bar
MS/Extra Newbie
Posts: 30
Joined: Sat Apr 25, 2015 1:13 pm
Location: Johannesburg South Africa

Re: 1GZ-FE V12 support

Post by 3bar »

yip

i did

this is what the new composite log looks like - looks different to previous - but the red line is flat and it synchs immediately - but is it right ?
composite logger no errors.JPG
i have attached the composite log
i pm'd you my email as well

this composite log is with the ignition settings as a 2jz vvti

the previous log was with ignition settings set to "log crank and cam" not sure if that makes a difference ?

any comments appreciated ?
elutionsdesign
Super MS/Extra'er
Posts: 1341
Joined: Mon Sep 05, 2011 1:20 pm

Re: 1GZ-FE V12 support

Post by elutionsdesign »

The crank is correct, did you also switch the wires on the cam? It looked correct last time, not this time. There is no data in the csv file, do it again. Flat red line means it is reading the crank correctly.
Graduate of EFI University.

I build, repair, install and tune Megasquirt systems in North Dakota and beyond!
3bar
MS/Extra Newbie
Posts: 30
Joined: Sat Apr 25, 2015 1:13 pm
Location: Johannesburg South Africa

Re: 1GZ-FE V12 support

Post by 3bar »

hi

changed nothing on the cam at all

swopped the crank from one of the two sensors to the others

the one log the first is with the ignition trigger set to log crank and cam - the other is with 2jzvvt selected

i cant seem to get all the coils to fire - i have selected 12 cylinder / wasted spark - my coils are wired to ign output A B C D E F and there are 6 coils 3 per bank in the oem locations
so coil output A is for cyl 1 and cyl 11 coil output B is for cyl 2 and cyl 10 - i cant seem to get it to trigger the "second time around"
also how does the source code know its a 60 deg v12 ?

I have taken apart the relevant file

and found this section - I added the bits in bold - the code below refers to a 12 cylinder but not being an expert in all things megasquirt i am not sure if its complete

/* ---------------------- 2JZ VVTi --------------------*/
} else if (spkmode == 48) {
/* 4cyl: 36-2 on the crank with a 4-1 on the cam */
/* 6cyl: 36-2 on the crank with a 3 on the cam at 120deg spacing*/
/* 8cyl: 36-2 on the crank */
/* 12cyl: 36-2 on the crank with a 3 on the cam at 60deg spacing*/
unsigned int i;
cycle_deg = 7200;
flagbyte5 |= FLAGBYTE5_CAM;
no_teeth = 68;
last_tooth = no_teeth;
for (i = 0 ; i < 68 ; i++) {
deg_per_tooth = 100;
}
deg_per_tooth[33] = 300;
deg_per_tooth[67] = 300;

smallest_tooth_crk = 100;
smallest_tooth_cam = 900;

if (num_cyl == 4) {
/* Total guessed for 2zz-ge, unknown, untested */
no_triggers = 4;
trigger_teeth[0] = 57;
trigger_teeth[1] = 5;
trigger_teeth[2] = 23;
trigger_teeth[3] = 39;

trig_angs[0] = -50 + tmp_offset;
trig_angs[1] = -50 + tmp_offset;
trig_angs[2] = -50 + tmp_offset;
trig_angs[3] = -50 + tmp_offset;
} else if (num_cyl == 6) {
no_triggers = 6;
trigger_teeth[0] = 18;
trigger_teeth[1] = 30;
trigger_teeth[2] = 40;
trigger_teeth[3] = 52;
trigger_teeth[4] = 64;
trigger_teeth[5] = 6;

trig_angs[0] = -150 + tmp_offset;
trig_angs[1] = -150 + tmp_offset;
trig_angs[2] = -150 + tmp_offset;
trig_angs[3] = -150 + tmp_offset;
trig_angs[4] = -150 + tmp_offset;
trig_angs[5] = -150 + tmp_offset;
} 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] = -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;
} else if (num_cyl == 12) {
/* V12 */
no_triggers = 12;
trigger_teeth[0] = 19;
trigger_teeth[1] = 25;
trigger_teeth[2] = 31;
trigger_teeth[3] = 35;
trigger_teeth[4] = 41;
trigger_teeth[5] = 47;

trigger_teeth[6] = 53;
trigger_teeth[7] = 59;
trigger_teeth[8] = 65;
trigger_teeth[9] = 1;
trigger_teeth[10] = 7;
trigger_teeth[11] = 13;

trig_angs[0] = -250 + tmp_offset;
trig_angs[1] = -250 + tmp_offset;
trig_angs[2] = -250 + tmp_offset;
trig_angs[3] = -250 + tmp_offset;
trig_angs[4] = -250 + tmp_offset;
trig_angs[5] = -250 + tmp_offset;
trig_angs[6] = -250 + tmp_offset;
trig_angs[7] = -250 + tmp_offset;
trig_angs[8] = -250 + tmp_offset;
trig_angs[9] = -250 + tmp_offset;
trig_angs[10] = -250 + tmp_offset;
trig_angs[11] = -250 + tmp_offset;
} else {
conf_err = 1;
}
elutionsdesign
Super MS/Extra'er
Posts: 1341
Joined: Mon Sep 05, 2011 1:20 pm

Re: 1GZ-FE V12 support

Post by elutionsdesign »

I wouldn't worry about the code, I've tuned two so far and both are excellent runners. Worry about getting the cam signal, you should be seeing three cam signals for every two spins of the crank (36-2 wheel) or 72 crank signals.
Graduate of EFI University.

I build, repair, install and tune Megasquirt systems in North Dakota and beyond!
3bar
MS/Extra Newbie
Posts: 30
Joined: Sat Apr 25, 2015 1:13 pm
Location: Johannesburg South Africa

Re: 1GZ-FE V12 support

Post by 3bar »

hi - ok thanks for that

which banks sensors did you use ? the bank with cyl nbr 1 or the other side ?
or does it make zero difference if you use the right offset -



i am going to do some logging shortly
3bar
MS/Extra Newbie
Posts: 30
Joined: Sat Apr 25, 2015 1:13 pm
Location: Johannesburg South Africa

Re: 1GZ-FE V12 support

Post by 3bar »

Hi

ok so this is what I have - bit puzzling so far

this is the composite log zoomed out - the cam signal is 3 distinct groups per every 2 crank revolutions - the ecu is saying its synched and its not throwing a red line error as if its finding a problem
composite logger 1gzfe 3 per 2 crank rotations.jpg

if you zoom in you can see the cam pickup is lots of little "peaks" spikes maybe - is this noise ? do i need a cap or resistor on this input ?
composite logger 1gzfe 3 per 2 crank rotations zoomed in.jpg
I have attached what i think is the right log file - got too many going on at preset
also the msq - ignore the coil firing order i was trying something earlier

all these logs are done with plugs in and as full a battery as i can make it (rotating between a 105ah and a 75ah and they live on the charger in the car on an 8 amp and then on the bench via ctek charger - full voltage is 12.75 when i start the log - the v12 starter sucks everything down to 8.5 volts under cranking - cranking rpm is however rock solid at 130 / 135 rpm


let me know what else ?

cheers and thanks
elutionsdesign
Super MS/Extra'er
Posts: 1341
Joined: Mon Sep 05, 2011 1:20 pm

Re: 1GZ-FE V12 support

Post by elutionsdesign »

The pattern looks good, I think that is noise on the cam. Not sure how detrimental that may be.
Graduate of EFI University.

I build, repair, install and tune Megasquirt systems in North Dakota and beyond!
3bar
MS/Extra Newbie
Posts: 30
Joined: Sat Apr 25, 2015 1:13 pm
Location: Johannesburg South Africa

Re: 1GZ-FE V12 support

Post by 3bar »

ok cool - it seems logical to me
i will try some of the ms3 noise filters

what makes me happy is the flat red line

i havent had the fuel pump on during these cranks
will try that tomorrow

it should run by my gut feel

i just dont know how it address the wasted spark oem coils
hope i got that setup to fire all 12 and not just the first 6

will find out soon enough
elutionsdesign
Super MS/Extra'er
Posts: 1341
Joined: Mon Sep 05, 2011 1:20 pm

Re: 1GZ-FE V12 support

Post by elutionsdesign »

i cant seem to get all the coils to fire - i have selected 12 cylinder / wasted spark - my coils are wired to ign output A B C D E F and there are 6 coils 3 per bank in the oem locations
so coil output A is for cyl 1 and cyl 11 coil output B is for cyl 2 and cyl 10 - i cant seem to get it to trigger the "second time around"
I don't know what you mean by "second time around" but the firing order I've got is 1, 4, 9, 8, 5, 2, 11, 10, 3, 6, 7, 12 so the pairs are 1 and 11, 4 and 10 (not 2 and 10), 9 and 3, 8 and 6, 5 and 7, 2 and 12.
Graduate of EFI University.

I build, repair, install and tune Megasquirt systems in North Dakota and beyond!
jsmcortina
Site Admin
Posts: 39613
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: 1GZ-FE V12 support

Post by jsmcortina »

elutionsdesign wrote:I don't know what you mean by "second time around" .
Perhaps he has it set to COP? But who knows with an MSQ to look at.

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".
3bar
MS/Extra Newbie
Posts: 30
Joined: Sat Apr 25, 2015 1:13 pm
Location: Johannesburg South Africa

Re: 1GZ-FE V12 support

Post by 3bar »

hi

the msq was attached previously - the coils are set for wasted spark - coil outputs a b c d e f all work via test to the correct cylinders (both) and the firing order is exactly like that

"second time around" would be when the coil gets fired for the second cylinder ie I can test coil output A which is cyl 1 and 11 (a double ended coil) and it obviously works when cranking and the timing light shows the mark on the crank that corresponds to cyl 1/A - my gut tells me that the wasted spark bit is getting either lost or confused - when the engine has fired its been literally from the front half of the engine only - I am not sure of any other settings that need to be adjusted to allow the wasted spark to work - any comments / queries etc
elutionsdesign
Super MS/Extra'er
Posts: 1341
Joined: Mon Sep 05, 2011 1:20 pm

Re: 1GZ-FE V12 support

Post by elutionsdesign »

I sense confusion as to how this works or is working, it could very well be me. Waste spark is firing on both at the same time, the single coil is sending spark to, for example, cylinders 1 and 11 once every engine revolution. Obviously only one of those is on the compression stroke at a time, the other is on the valve overlap part and the spark does nothing, hence wasted. The coil is COP with a single lead to the second cylinder so the only place you can put a timing light lead is on the lead to the second cylinder. When you see a flash of the timing light corresponding to cyl 1/A you're also seeing it correspond to cyl 11/A and it's flashing once per engine revolution.

So all is good, fire it up.
Graduate of EFI University.

I build, repair, install and tune Megasquirt systems in North Dakota and beyond!
3bar
MS/Extra Newbie
Posts: 30
Joined: Sat Apr 25, 2015 1:13 pm
Location: Johannesburg South Africa

Re: 1GZ-FE V12 support

Post by 3bar »

ok so i am officially a dumb ass

i made the wiring harness with two legs - each one for each bank

some how since the bench test and first fire i had swopped them over
no wonder ti didnt want to run properly when the firing order didnt correspond to the actual cylinders - I am an idiot

well here is the second start - it started so quickly on the first start that i was surprised !!!

it starts instantly

https://youtu.be/6MUrH2hYBv4

thanks for all the help
elutionsdesign
Super MS/Extra'er
Posts: 1341
Joined: Mon Sep 05, 2011 1:20 pm

Re: 1GZ-FE V12 support

Post by elutionsdesign »

Glad you got it figured out. ITB's! Very slick.
Graduate of EFI University.

I build, repair, install and tune Megasquirt systems in North Dakota and beyond!
Post Reply