1) So the missing teeth dont get counted/estimated? that was the main question.... so the counts are purely the teeth that cause a signal, in this case one complete cycle of 720degrees = 116 teeth?
The internal algorith will add 2 teet after each 58 so the total tooth count is 120.
3) This engine the cams start where one is fully retarded and the other is fully advanced, will we need to put negative numbers in one of the tables to specify cam position? (to retard the one that is fully advanced?)
In general yes. It is important to setup correctly value: Higher DC increase / decrease cam angle
4) ignition synchronization is always done using CAM#2 input? and this is now used with other non vvt or single cam vvt engines too?
The secondary trigger is always used for engine synchronisation. CAM#2 is just for VVTi use.
5) i read that the Frequency in some software version need to enter double the amount required, is this true for version 1.068??
Please use official 1.1 version.
M54 BMW Duel Vanos
Re: M54 BMW Duel Vanos
do we need flyback diods on the cam control solenoids??
i didnt install some so what is the effects of not having them??
thanks
i didnt install some so what is the effects of not having them??
thanks
Re: M54 BMW Duel Vanos
Have a look here:
viewtopic.php?f=19&t=42
You need flyback diodes, to use it without diodes can cause damage at the outputs.
viewtopic.php?f=19&t=42
You need flyback diodes, to use it without diodes can cause damage at the outputs.
Best regards,
Jan
Jan
Re: M54 BMW Duel Vanos
Ok we got this back the other day and I must say Jakub the brilliance of your software never ceases to amaze me!!..
Within 30 minutes i had both cams dialed in and had total control with fast reaction, very stable position holding and almost no overshoot!
heres what I did for those wanting to do the same and this will be very similar for all BMW engines with Vannos from the S/M50/52/54 etc
Plus this may also be very similar to other engines with VVT too.
I first set the idle up to at least 1500rpm so theres good oil pressure and the engine is running nice and smoothly
1) Open the cam control settings and make sure there are no AUX OP to the solenoids assigned. Run the engine with a logging trace for CAM1 ANGLE and CAM2 ANGLE
note down the value of each cam from the cam signal trace, I got -611 and -464 (IN- EX) then transfer these values to the cam offset but leave as a +ve number (ie 611 and 464)
check the logging trace, the value of each cam position should be 0
The next part needs to be done separately for each cam.
2) Go to the OUTPUTS open the PWM #1 and assign the AUX OP thats wired to the vannos/VVT cam solenoid you are setting up. Set the frequency to 200Hz (check what your engine requires!) now open the PWM #1 table and highlight all the cells in the area thats being used and set them to about 20. Keep the logging trace going and now slowly increase the DC (Duty Cycle) values in the table until you see the cam position trace start to ramp away from the 0 position. Let the cam keep moving until it stops and does not increase anymore. This is your Maximum Retard/Advance enter the value into the cam control table. I got +40 for the intake cam and -26 for the exhaust.
3) Take note of the direction the cam angle moves with increased DC so intake in this case is +ve so angle is increasing but exhaust is -ve so angle is decreased. Select the correct setting in the cam control settings for Higher DC
4) Play with the DC number on the PWM table until you find the value where the cam doesnt move or just floats level at any position away from Zero. This number is the Steady Pos DC so enter this value into the cam control settings. For the m54 this value was around 35 for each cam.
5) Now its ready to setup the PID cam control so re-assign the appropriate AUX OP's wired to the cam control solenoids and set the MAX and MIN DC to about 20 either side of the Steady Pos DC in my case 65 and 15
6) Open a further 2 traces on the same logging graph CAM1 target angle and CAM2 target angle Make sure the engine is running faster than the Min RPM Setting
7) Open the Cam1 Angle #1 table and try entering a number in the cells being used then watch the logging traces. In my case the cam angle was bouncing up and down like a sign wave so i decreased the Integral limit down to about 10 and the oscillations stopped. Then i increased the kP value until the cam angle trace quickly moved to follow the target cam angle trace when i suddenly changed the cam angle value. I ended up with kP of about 50
Then I refined the stability and controlled the overshoot with kI and kD values. I found the best result with about 3 and 8.
Now what ever angle i enter into the cam position table the cam almost instantly follows. Remember one cam might need all -ve numbers and the other might need +ve numbers depending on the home positions etc.
Finished!!!!! ... Have i done everything correct??
(If you understand this fully heres a little tip i also did: I actually reset the offset on the -ve cam so that its cam angle starts at +26 in the home position and goes back to 0 in the fully adjusted position. Now both tables will have all +ve numbers, this will make the job a lot easier for my tuner if he wants to type in values instead of slowly indexing them)
Within 30 minutes i had both cams dialed in and had total control with fast reaction, very stable position holding and almost no overshoot!
heres what I did for those wanting to do the same and this will be very similar for all BMW engines with Vannos from the S/M50/52/54 etc
Plus this may also be very similar to other engines with VVT too.
I first set the idle up to at least 1500rpm so theres good oil pressure and the engine is running nice and smoothly
1) Open the cam control settings and make sure there are no AUX OP to the solenoids assigned. Run the engine with a logging trace for CAM1 ANGLE and CAM2 ANGLE
note down the value of each cam from the cam signal trace, I got -611 and -464 (IN- EX) then transfer these values to the cam offset but leave as a +ve number (ie 611 and 464)
check the logging trace, the value of each cam position should be 0
The next part needs to be done separately for each cam.
2) Go to the OUTPUTS open the PWM #1 and assign the AUX OP thats wired to the vannos/VVT cam solenoid you are setting up. Set the frequency to 200Hz (check what your engine requires!) now open the PWM #1 table and highlight all the cells in the area thats being used and set them to about 20. Keep the logging trace going and now slowly increase the DC (Duty Cycle) values in the table until you see the cam position trace start to ramp away from the 0 position. Let the cam keep moving until it stops and does not increase anymore. This is your Maximum Retard/Advance enter the value into the cam control table. I got +40 for the intake cam and -26 for the exhaust.
3) Take note of the direction the cam angle moves with increased DC so intake in this case is +ve so angle is increasing but exhaust is -ve so angle is decreased. Select the correct setting in the cam control settings for Higher DC
4) Play with the DC number on the PWM table until you find the value where the cam doesnt move or just floats level at any position away from Zero. This number is the Steady Pos DC so enter this value into the cam control settings. For the m54 this value was around 35 for each cam.
5) Now its ready to setup the PID cam control so re-assign the appropriate AUX OP's wired to the cam control solenoids and set the MAX and MIN DC to about 20 either side of the Steady Pos DC in my case 65 and 15
6) Open a further 2 traces on the same logging graph CAM1 target angle and CAM2 target angle Make sure the engine is running faster than the Min RPM Setting
7) Open the Cam1 Angle #1 table and try entering a number in the cells being used then watch the logging traces. In my case the cam angle was bouncing up and down like a sign wave so i decreased the Integral limit down to about 10 and the oscillations stopped. Then i increased the kP value until the cam angle trace quickly moved to follow the target cam angle trace when i suddenly changed the cam angle value. I ended up with kP of about 50
Then I refined the stability and controlled the overshoot with kI and kD values. I found the best result with about 3 and 8.
Now what ever angle i enter into the cam position table the cam almost instantly follows. Remember one cam might need all -ve numbers and the other might need +ve numbers depending on the home positions etc.
Finished!!!!! ... Have i done everything correct??
(If you understand this fully heres a little tip i also did: I actually reset the offset on the -ve cam so that its cam angle starts at +26 in the home position and goes back to 0 in the fully adjusted position. Now both tables will have all +ve numbers, this will make the job a lot easier for my tuner if he wants to type in values instead of slowly indexing them)