S54 dual VANOS VVT

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

golf-2
MS/Extra Newbie
Posts: 8
Joined: Sun Dec 16, 2012 9:40 am

Re: S54 dual VANOS VVT

Post by golf-2 »

AbatelliCristian wrote:are you sure do you have 12v fixed and ground pwm?
I don't know what you mean by fixed , but to be clear every solenoid has 2 pin : one is 15+ 12v from a relay and the other go to the vanos ecu (i think 99% its pwm grounding ,not full sure) unlike the s54 and the s50b32 it has 3 pin for every 2 solenoids , one pin is grounding to the block and the other 2 is from the ecu
notice that this engine is EURO s50b30 has 2 ecu : one for vanos control and the other for engine, this system called DME 3.3 and its Continuously adjust ,not on/off
in this case, can we use 2 medium or high current outputs to adjust them depending on the load??
anyway if anyone has experience with this system, using the last 1.2.4 frimware, i will be appreciate
thanx
AbatelliCristian
Super MS/Extra'er
Posts: 855
Joined: Sun Oct 10, 2010 6:33 am

Re: S54 dual VANOS VVT

Post by AbatelliCristian »

Hi James,
I have tested the alpha 4 in the s54 engine.
I have 2 problem.
1: vvt1 (intake for me) read angle, but I do not reach target.
2: vvt2 (exhaust) I can' t calibrate the vvt.

I attach log and I send you video during vvt2 calibration
AbatelliCristian
Super MS/Extra'er
Posts: 855
Joined: Sun Oct 10, 2010 6:33 am

Re: S54 dual VANOS VVT

Post by AbatelliCristian »

Details:
VVT have 2 solenoid for vvt (vvt1 charge oil - vvt3 discharge oil)
when I open vvt1 oil charge in circuit and vvt angle increse. If I close vv1, the angle remains stationary.
If open vvt3 angle decreases.
The "neutral duty" is vvt1 = 0 and vvt3= 0

this is my idea for the PID calculation

if "error PID" > 0
vvt1 = "x" and vvt3 = 0
if "error PID" < 0
vvt1 = 0 and vvt3 = "x"
jsmcortina
Site Admin
Posts: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: S54 dual VANOS VVT

Post by jsmcortina »

It is already written to operate the solenoids much as you describe.
Above 50% duty, VVT1 is applied as 0-100%.
Below 50% duty, VVT3 is applied as 0-100%.

i.e.
at 87% VVT duty, VVT1 = 75% and VVT3 = 0%
at 12% VVT duty, VVT1 = 0% and VVT3 = 75%

I've just been looking at the code and the test mode required you to operate each VVT independently. That's useful for most installs, but I'm thinking that on the S54, it makes more sense to use the same calculation as above to make testing similar to running.

It looks like the "more duty means retard" setting isn't working with S54. Investigating.

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: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: S54 dual VANOS VVT

Post by jsmcortina »

Sent a test code by email.

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".
AbatelliCristian
Super MS/Extra'er
Posts: 855
Joined: Sun Oct 10, 2010 6:33 am

Re: S54 dual VANOS VVT

Post by AbatelliCristian »

ok, i will test it.
You have correct also reading exhaust ? I have tried falling and rising but I see oscillation....

take into consideration the idea for "vvt auto-zero" for the future ... you can read the minimum vvt angle during ASE time, and addition 70 degress for maximun vvt angle (in my experience maximum angular variation is 60 degress)

thanks James
jsmcortina
Site Admin
Posts: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: S54 dual VANOS VVT

Post by jsmcortina »

AbatelliCristian wrote:ok, i will test it.
You have correct also reading exhaust ? I have tried falling and rising but I see oscillation....
I have no reading. I don't have an S54 test setup.

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".
AbatelliCristian
Super MS/Extra'er
Posts: 855
Joined: Sun Oct 10, 2010 6:33 am

Re: S54 dual VANOS VVT

Post by AbatelliCristian »

I can make particular test for help you? log engine? composite log?
jsmcortina
Site Admin
Posts: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: S54 dual VANOS VVT

Post by jsmcortina »

AbatelliCristian wrote:take into consideration the idea for "vvt auto-zero" for the future ... you can read the minimum vvt angle during ASE time, and addition 70 degress for maximun vvt angle
That's certainly worth considering.

Please try the new code I sent and see if the exhaust cam is responding now. The solenoid outputs were incorrect previously.

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".
AbatelliCristian
Super MS/Extra'er
Posts: 855
Joined: Sun Oct 10, 2010 6:33 am

Re: S54 dual VANOS VVT

Post by AbatelliCristian »

ok, today or max tomorrow I will test

Very very thanks
AbatelliCristian
Super MS/Extra'er
Posts: 855
Joined: Sun Oct 10, 2010 6:33 am

Re: S54 dual VANOS VVT

Post by AbatelliCristian »

I James, I have car for 2-3 days for complete the test.
I have load the last alpha.
During calibrate VVT, vvt3 and vvt4 no work. Vtt1 and vvt2 work.
I have tested in test mode and solenoid work. I have make test with generic out and all solenoid output work, but in strategy VVT no work.
jsmcortina
Site Admin
Posts: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: S54 dual VANOS VVT

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".
AbatelliCristian
Super MS/Extra'er
Posts: 855
Joined: Sun Oct 10, 2010 6:33 am

Re: S54 dual VANOS VVT

Post by AbatelliCristian »

log during calibration?
AbatelliCristian
Super MS/Extra'er
Posts: 855
Joined: Sun Oct 10, 2010 6:33 am

Re: S54 dual VANOS VVT

Post by AbatelliCristian »

vvt2 sensor no work, but the problem is the sensor broken. I replace it.

you can see vvt1.
I change the target, I see the duty change, but in reality no change (you can see the angle no move...)

attach log and msq
AbatelliCristian
Super MS/Extra'er
Posts: 855
Joined: Sun Oct 10, 2010 6:33 am

Re: S54 dual VANOS VVT

Post by AbatelliCristian »

ok, I have change vvt2 sensor. Now vvt2 is ok.

other problem:
cam fault is alwayse active, but all sensor read well.
AbatelliCristian
Super MS/Extra'er
Posts: 855
Joined: Sun Oct 10, 2010 6:33 am

Re: S54 dual VANOS VVT

Post by AbatelliCristian »

Hi James, news for me?

I confirm this: (discussion in S62b50)
If open solenoid1 and closed solenoid2, degress advanced.
If solenoid1 and solenoid2 is colsed, degress is stationary and remain stationary also the engine shudown and restart.
If closed solenoid1 and open solenoid2, degress retard.
jsmcortina
Site Admin
Posts: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: S54 dual VANOS VVT

Post by jsmcortina »

Have you scoped the outputs from the Megasquirt when operating in test mode?
Are they wired up correctly? Are they operating as open/close as expected?

As per the tooltip:
"The BMW S54 decoder uses the cam3 and cam4 outputs as the complementary pairs for cam1 and cam2. i.e. wire outputs 1&3 to solenoid 1, wire outputs 2&4 to solenoid 2. Set 3,4 to the opposite direction."

James

EDIT: and what's up with the MAP signal?
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: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: S54 dual VANOS VVT

Post by jsmcortina »

As per PM:
Set hold duty to 50%.

Then what the code will really do is:
-when the duty is above 50% it operates output 1, the larger the "VVT duty", the larger the actual duty on output 1. Output 2 is held at 0.

-when the duty is below 50% it operates output 2, the smaller the "VVT duty", the larger the actual duty on output 2. Output 1 is held at 0.

-when the duty is around 50%, both outputs are around 0.

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".
AbatelliCristian
Super MS/Extra'er
Posts: 855
Joined: Sun Oct 10, 2010 6:33 am

Re: S54 dual VANOS VVT

Post by AbatelliCristian »

yes, is correct.. my cable is ok, but no work.The output is disasble. Also in test during calibration, vvt1-2-3-4 no work.
jsmcortina
Site Admin
Posts: 39619
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: S54 dual VANOS VVT

Post by jsmcortina »

AbatelliCristian wrote:yes, is correct.. my cable is ok, but no work.The output is disasble. Also in test during calibration, vvt1-2-3-4 no work.
Do any of the outputs do anything?

Do the reported VVT angles change if you operate the solenoids manually?

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".
Post Reply