Author Topic: bmw m54 pwm vanos setup  (Read 24739 times)

Offline z0tya

  • Sr. Member
  • ****
  • Posts: 252
  • BHP: 11
bmw m54 pwm vanos setup
« on: March 07, 2013, 01:25:04 pm »
We are working on a bmw m54b30 dual vanos n/a engine which has inlet and exhaust cam sensors and inlet and exhaust pwm-ed solenoid vanos.
I have tried to tuning the inlet (vems name it exhaust because of trigger setup) vanos pid but no real good result.
The exhaust refrence position seems ok, this is the balanced position, above it the can start advancing, below retarding.
The most retarded position about 112 deg on third trigger the most advanced about 150 deg. (yes it need between 0 and 4x but we didn't know to find why vems measure this, and this is just a reference so not too important.
When I tried to find the right pid values the step target change was followed well with the cam, but when I wrote an interpolated cam table, then cam can't copy the target.
This is two screenshot show what I want to explain:


This is the whole log file:
http://cosworth.hu/misc/vanos/v3.3_u006652-2013.03.05-18.26.16.vemslog

Does anybody has experience with this?

(Will be good a calc model for all pid in vemstune...which help too solve similar situation)

Offline GintsK

  • Hero Member
  • *****
  • Posts: 1257
  • BHP: 50
Re: bmw m54 pwm vanos setup
« Reply #1 on: March 08, 2013, 09:57:18 pm »
I did not tried on BMW yet. But on Japanese cars solenoids love the highest frequency and diode in parallel. Because valve should not vibrate.


Offline z0tya

  • Sr. Member
  • ****
  • Posts: 252
  • BHP: 11
Re: bmw m54 pwm vanos setup
« Reply #2 on: March 10, 2013, 09:43:35 am »
Well, there is flyback diode parellel but maybe i change to schottky. And i will try bigger frequency, 200 Hz is the original as I know.

Offline Denmark

  • Hero Member
  • *****
  • Posts: 542
  • BHP: 7
Re: bmw m54 pwm vanos setup
« Reply #3 on: May 10, 2013, 01:13:55 pm »
Did you get this running right ?

working on the boxer

Offline z0tya

  • Sr. Member
  • ****
  • Posts: 252
  • BHP: 11
Re: bmw m54 pwm vanos setup
« Reply #4 on: May 13, 2013, 06:45:21 am »
Sorry, not yet.

Offline Denmark

  • Hero Member
  • *****
  • Posts: 542
  • BHP: 7
Re: bmw m54 pwm vanos setup
« Reply #5 on: May 13, 2013, 09:43:05 am »
I''m also working on my Subaru with avcs , were i Cant control that right also

I would love to see a videoshot on a working car, of how Well the angle Can following the target, and with what pid settings that are used to control it :)
working on the boxer

Offline GintsK

  • Hero Member
  • *****
  • Posts: 1257
  • BHP: 50
Re: bmw m54 pwm vanos setup
« Reply #6 on: May 14, 2013, 08:29:52 am »
In overall biggest problem is not proper trigger angle determination. On fixed cam[engine] sec trigger angle fluctuates. Especially close to idle region. And angle control PID goes crazy. At higher rpms problem disappears. So try to get control at higher rpms first.

From same issue suffers also injector angle determination - and causes uneven idle situations.

Sadly. But again I should mention Andrey from Russia. Their firmwares use completely different algorithm for cam trigger and injector angle measuring - super steady.

Gints

Offline gunni

  • Hero Member
  • *****
  • Posts: 1492
  • BHP: 37
Re: bmw m54 pwm vanos setup
« Reply #7 on: December 17, 2013, 02:58:39 pm »
Did this get anywhere?

Offline Denmark

  • Hero Member
  • *****
  • Posts: 542
  • BHP: 7
Re: bmw m54 pwm vanos setup
« Reply #8 on: December 17, 2013, 04:09:53 pm »
I''m running avcs on my own subaru and it works perfect ,
But that might not be the same with the vanos system

/Skassa
working on the boxer

Offline VEMS

  • Administrator
  • Sr. Member
  • *****
  • Posts: 487
  • BHP: 22
Re: bmw m54 pwm vanos setup
« Reply #9 on: December 17, 2013, 07:34:01 pm »
Cam position measurement during transients has been improved, single solenoid VANOS control (like on the m54) has more control options now (dual VANOS like control). Expected for release in firmware 1.2.20 (when available).

Offline Kamuto

  • Hero Member
  • *****
  • Posts: 814
  • BHP: 19
Re: bmw m54 pwm vanos setup
« Reply #10 on: December 17, 2013, 07:58:54 pm »
Cam position measurement during transients has been improved, single solenoid VANOS control (like on the m54) has more control options now (dual VANOS like control). Expected for release in firmware 1.2.20 (when available).
will test it on s54 in near future ;)
Vems installer in Lithuania
valdas.sunokas@gmail.com

Offline GintsK

  • Hero Member
  • *****
  • Posts: 1257
  • BHP: 50
Re: bmw m54 pwm vanos setup
« Reply #11 on: December 17, 2013, 10:54:47 pm »
Also problem below will get some solution?

Quote myself from here http://www.vems.hu/wiki/index.php?page=MembersPage%2FGintsK%2FBMW%2FDoubleVanos

Quote
17-08-2013 I just tried camshaft control on M54B30 - double variable VANOS with two solenoid valves...

...and faced with following camshaft control problem: PWMing has wide "dead zone" where camshaft stays in fixed position. Somewhat like from 35...60%. So current strategy works very robust reqires P=255 and high I value. But once pwm crosses dead-zone margin, camshaft movement is 1)already delayed 2)too sharp.

Gints


Offline VEMS

  • Administrator
  • Sr. Member
  • *****
  • Posts: 487
  • BHP: 22
Re: bmw m54 pwm vanos setup
« Reply #12 on: December 18, 2013, 10:41:17 am »
Hello GintsK,

Yes this is included in the selectable control options.

Regards, Dave

Offline GintsK

  • Hero Member
  • *****
  • Posts: 1257
  • BHP: 50
Re: bmw m54 pwm vanos setup
« Reply #13 on: December 18, 2013, 12:19:14 pm »
Good news! I have two such engines planed for next season.
Also one S65 - new type V8 where intake VANOS control is planed. BMW now uses one solenoid per cam on their M-engines.

Offline VEMS

  • Administrator
  • Sr. Member
  • *****
  • Posts: 487
  • BHP: 22
Re: bmw m54 pwm vanos setup
« Reply #14 on: December 18, 2013, 12:56:34 pm »
Great news, i have an M54b25 myself (daily driver in e30), to perform tests.

Regards, Dave