Double Vanos S50

All about our superior engine management unit.
Locked
PSI-Motor
Posts:455
Joined:Fri Aug 15, 2014 10:57 pm
Double Vanos S50

Post by PSI-Motor » Tue Aug 26, 2014 4:46 pm

Hi.

Is it possible to change solenoid output 1 and solenoid output 2 so it says. "Solenoid 1 Advance" "Solenoid 2 Retard"
As it is today you have to guess :)

Image


Best Regards Mattias
EcuMaster Sweden

User avatar
Jadzwin
Site Admin
Posts:1445
Joined:Tue Aug 12, 2014 11:27 pm

Re: Double Vanos S50

Post by Jadzwin » Tue Aug 26, 2014 9:32 pm

You can change parameter Higher DC increase / decrease CAM angle.
Did you configure everything and work ok ?

PSI-Motor
Posts:455
Joined:Fri Aug 15, 2014 10:57 pm

Re: Double Vanos S50

Post by PSI-Motor » Tue Aug 26, 2014 9:43 pm

Im testing tomorrow. Was just wondering If the ecu cares about wich aux i use on first or second solenoid?
EcuMaster Sweden

User avatar
Jadzwin
Site Admin
Posts:1445
Joined:Tue Aug 12, 2014 11:27 pm

Re: Double Vanos S50

Post by Jadzwin » Tue Aug 26, 2014 11:27 pm

Yes it does matter.

If you have any issues please contact me, then we make some TeamViewer session to setup everything.

In some BMW VANOS there are diodes inside connector / VANIOS module.
They need to be reversed.

PSI-Motor
Posts:455
Joined:Fri Aug 15, 2014 10:57 pm

Re: Double Vanos S50

Post by PSI-Motor » Thu Aug 28, 2014 3:23 pm

Hi.

The diods are in the connectors on the s50, can´t i just change to connectors without diods?
EcuMaster Sweden

User avatar
Jadzwin
Site Admin
Posts:1445
Joined:Tue Aug 12, 2014 11:27 pm

Re: Double Vanos S50

Post by Jadzwin » Thu Aug 28, 2014 5:56 pm

You need these diodes. If you change connector you need to add these diodes externally (what is quite good idea).

I'm about to deploy new software version with new CAM#2 decoder. I think you should use this for the second CAM.
I will give you some instructions later

PSI-Motor
Posts:455
Joined:Fri Aug 15, 2014 10:57 pm

Re: Double Vanos S50

Post by PSI-Motor » Thu Aug 28, 2014 10:14 pm

Thanx Jadzwin.

Im gona change the connectors to night. Would be great If you could post the instructions over wiring the connectors and diods.

Best regards Mattias
EcuMaster Sweden

User avatar
Jadzwin
Site Admin
Posts:1445
Joined:Tue Aug 12, 2014 11:27 pm

Re: Double Vanos S50

Post by Jadzwin » Fri Aug 29, 2014 5:06 pm

VANOS QUICK GUIDE (two solenoids per CAM)

BMW VANOS consist from 2 solenoids per one CAM

Depending on model there are diodes inside vanos module or inside connecter.

In orginal harness the VANOS solenoids are controlled by HiSide drivers (switch to +12).
In EMU the vanos could be controlled by LowSide drivers (switched to ground).

So the diodes polarity need to be reversed. In module you just need to desolder them and solder backwards.
For connectors melted diodes is the best to change connectors and solder diodes in harness.
Next step is to power solenoids from +12V instead of grounds.

Orginal solenoid connection:

Image

As you can see solenoids are connected to the ground (2 & 5 terminals of vanos mudule)
OEM ECU control vanos via High Side outputs (1,3, 4, 6).

When connect to EMU you need to reverse diodes and change power source for solenoids from ground to switched +12V (2 & 5)
See schematic below
Image


In some BMW there is only one solenoid per CAM.
Then there is no diodes in connectors so you need to add flyback diode between EMU output and +12V that power the solenoid.

FOR VANOS/VVTI CONTROL YOU CAN ONLY USE INJECTORS / AUX outputs ! STEPPER MOTOR OUTPUTS ARE NOT SUITABLE.


To be continued

User avatar
Jadzwin
Site Admin
Posts:1445
Joined:Tue Aug 12, 2014 11:27 pm

Re: Double Vanos S50

Post by Jadzwin » Fri Aug 29, 2014 5:44 pm

Next step is to configure CAMs decoders:

For example EMU scope trace from BMW with VANOSes

Image

For CAM#1 you need to use Missing tooth decoder ( there is one tooth missing)
On CAM#2 you can see multitooth pattern.

In the software 1.089 there is a new decoder for CAM#2 (Prim tooth range).
For this decoder you need to define range in primary trigger tooth range.

So you can choose 12 to 20 range. Then you should observe how this tooth is moving when changing cam position and select appropriate tooth range.

If you do as follow and start engine you will be able to read cam1 and cam2 current angles in log.
These values will be quite big (eg. -620).
This value will be used to calibrate the cam position.

To be continued

User avatar
Jadzwin
Site Admin
Posts:1445
Joined:Tue Aug 12, 2014 11:27 pm

Re: Double Vanos S50

Post by Jadzwin » Tue Sep 02, 2014 1:01 am

Now when the trigger for CAMs is set up, it is time for VVTi configuration.

First of all we need to "calibrate" camshaft position.
It is easy. You just need to read from the log two channels:
CAM1 Angle
CAM2 Angle


The value of cam angle will be negative so you need to put this value but POSITIVE in CAM1 Offset parameter and CAM2 Offset parameter.
Then the cam angle will be around 0, and it is our CAM initial position.

Image

Control type - defines what types of VVti control we have. There are two option VVTi (for one solenoid cam control) and VANOS for dual solenoid control.
Solenoid output 1 - output for solenoid controlling VVti, or one of solenoids controlling VANOS
Solenoid output 2 - output for second VANOS soleneoid

IMPORTANT: For VVT and VANOS solenoids only injectors and AUX outputs are allowed!

Output frequency - PWM frequency for controlling solenoids. For VANOS is 30Hz, for VVTi single solenoids 200Hz or more is required

IMPORTANT: For software version before 1.54 the freqency of PWM was the half of defined!

Steady pos DC - for dual solenoids VANOS this value is 50%, for VVTi solenoids determing this value is extreamly important.

To determine steady pos DC we can use PWM output (Outputs/ PWM1). Select output according to solenoid connection, choose desired freqency (eg. 200Hz) and enter in PWM table 0 to each cell.
Then increase cell values (DC) and observe CAM postion. When the CAM position starts to change, determine exactly what DC value it makes. This is our steady pos DC. (about 40-50 %)

Man DC - maximum allowable DC. For VANOS it is about 90%, for VVTi it is about 20-30% more than steady pos DC
Min DC - minimum allowable DC. For VANOS it is about 10%, for VVTi it is about 20-30% less than steady pos DC

Higher DC increase / decrease CAM ange - this parameter defines what is CAM behaviour when output DC increases.
Min coolant temp. - minimum coolant temperature to allow CAM control
Min RPM - minimum RPM to allow CAM control

kP, kI, kD - gain of PID controller.
Inegral limit - maximum value of Integral term of PID controller. Keep it low to minimize oscillation caused by I term
Deadband - the error between CAM Target and real CAM position that doesn't influence PID controller (0,5 - 1 in practice)

To check if everything is ok just display preset VVT on graph log and look at CAM 1 Target and CAM1 Angle (the same for CAM2).

QUESTIONS PLEASE!

PSI-Motor
Posts:455
Joined:Fri Aug 15, 2014 10:57 pm

Re: Double Vanos S50

Post by PSI-Motor » Tue Sep 02, 2014 3:30 am

Very good guide Jadzwin!

I'll be testing in following days. I will keep you posted :)
EcuMaster Sweden

semme
Posts:17
Joined:Tue Sep 01, 2015 9:19 pm

Re: Double Vanos S50

Post by semme » Sat Apr 30, 2016 3:46 pm

I got a problem with my VVTI in higher rpm. I have a m52 BMW engine, one solenoid on the intake cam. I wanna have the cam fully retard between 0-1400rpm and 4500-6500rpm. In between the cam angle should increase completly. Well this is working perfectly. But there are some spikes at higher rpm than 4500. The cam angle is moving a bit and is not steady at 0°? Whats goin on there? Is it possible to keep the Cam angle steady at 0° like it is the case at low rpm? ;) Any help on that would be heaps appreciated. I have a picture of the graph here, but i can't upload it. There is an Error: "Sorry, the board attachment qouta has been reached".

PSI-Motor
Posts:455
Joined:Fri Aug 15, 2014 10:57 pm

Re: Double Vanos S50

Post by PSI-Motor » Sat Apr 30, 2016 4:52 pm

Thats just an on/off solenoid not pwm
EcuMaster Sweden

semme
Posts:17
Joined:Tue Sep 01, 2015 9:19 pm

Re: Double Vanos S50

Post by semme » Sat Apr 30, 2016 5:15 pm

yeah i know but how can i fix it then? In the pwm table i have only setted the values 0 and 50, 0 is off and 50 is on ;)

gregpe
Posts:204
Joined:Sun Sep 28, 2014 12:19 pm
Location:Cambridge, UK

Re: Double Vanos S50

Post by gregpe » Sat Apr 30, 2016 6:06 pm

semme wrote:yeah i know but how can i fix it then? In the pwm table i have only setted the values 0 and 50, 0 is off and 50 is on ;)
just use parametric outputs and job done :)

semme
Posts:17
Joined:Tue Sep 01, 2015 9:19 pm

Re: Double Vanos S50

Post by semme » Sun May 01, 2016 8:53 pm

well, that sounds pretty easy :D thanks a lot i will try that next ;)

Locked