Notices
ECU Flash

ECU Boost Control Duty Cycle info

Thread Tools
 
Search this Thread
 
Old Oct 1, 2008 | 09:56 PM
  #1  
tephra's Avatar
Thread Starter
EvoM Guru
iTrader: (6)
 
Joined: Mar 2007
Posts: 9,486
Likes: 66
From: Melbourne, Australia
Angry ECU Boost Control Duty Cycle info

Hi Guys,

In my search for improved boost control I came across some interesting information.

The code that controls the DutyCycle output only loops between 0 and 47.

Now for those of us that are good with maths, you will see that 100/48 = 2.08333...

So when converting out requested WGDC to actual BCS dutycycle we get the following:

73% WGDC = 35/48 = 73%
74% WGDC = 36/48 = 75%
75% WGDC = 36/48 = 75%
76% WGDC = 36/48 = 75%

So you can see that if you ask for 73% you will get 73%, but if you request 74% it will jump to 75%.

What this effectively means is we have a 2% resolution on WGDC, forget 0.5% its useless...

I hope this makes sense

Cheers
D.
Old Oct 1, 2008 | 09:58 PM
  #2  
scheides's Avatar
EvoM Moderator
iTrader: (10)
 
Joined: Oct 2006
Posts: 4,827
Likes: 12
From: Minneapolis
Wow this totally makes sense from what I've seen in the practice! How annoying
Old Oct 1, 2008 | 10:10 PM
  #3  
mfr122887's Avatar
Evolving Member
iTrader: (14)
 
Joined: Feb 2006
Posts: 305
Likes: 0
From: Westchester, NY
Would it be beneficial to change the scaling in the EcuFlash XML to make it easier to understand, like having it go from 0 - 47? Just throwing it out there. This might be another reason why I am having some difficulty in tuning my boost, small increments of .5 or 1 might not change anything.
Old Oct 1, 2008 | 10:11 PM
  #4  
tephra's Avatar
Thread Starter
EvoM Guru
iTrader: (6)
 
Joined: Mar 2007
Posts: 9,486
Likes: 66
From: Melbourne, Australia
Well the good news I have created a patch to increase the resolution to 1%.

Now rather than just bumping up the counter to 100, I basically broke 100 into groups.

Initially I started with 4 groups of 25.

So for 73% WGDC you get the following:

73/4 = rounds to 18.

18*4 = 72, so 1 remainder

So for the first 3 loops I turn on the BCS 18 out 25 loops, for the last loop (ie the 4th) I turn on the BCS for 19 out of 25 loops.

So over 100loops I have 73 ON. Which of course is a 73% DutyCycle.

When I ran this code I found my boost dropped from 24psi to 19psi....

Now I have buggered off 4 loops of 25 and am now using 2 loops of 50.

It works fine.

MrFred and I think that there must be some latency involved in open/closing the BCS, which is why the same WGDC accounts for a lower psi. MrFred will be testing the latency of his BCS latter this week.
Old Oct 1, 2008 | 10:21 PM
  #5  
mfr122887's Avatar
Evolving Member
iTrader: (14)
 
Joined: Feb 2006
Posts: 305
Likes: 0
From: Westchester, NY
Even better. Will this be released in a new version of your current ROM's? Any other hints of what else you are working on?
Old Oct 1, 2008 | 10:28 PM
  #6  
tephra's Avatar
Thread Starter
EvoM Guru
iTrader: (6)
 
Joined: Mar 2007
Posts: 9,486
Likes: 66
From: Melbourne, Australia
If it turns out to be a worthwhile patch then yes it will be integrated.

I was hoping more smaller loops would create smoother boost - but since we can't run more smaller loops then really the only advantage is increased resolution on the BCS DC...
Old Oct 2, 2008 | 01:14 AM
  #7  
Jack_of_Trades's Avatar
Evolved Member
iTrader: (17)
 
Joined: Jun 2007
Posts: 3,523
Likes: 2
From: Opelika,AL
I'm a resolution junky! I blame my machine shop for making me crave finer and finer adjustments in life,lol.
Old Oct 2, 2008 | 06:26 AM
  #8  
MR Turco's Avatar
EvoM Staff Alumni
iTrader: (16)
 
Joined: May 2007
Posts: 3,233
Likes: 3
From: Massachusetts
Well i am grateful for your patch but this is pretty crappy. Why would mitsu do something like this?
Old Oct 2, 2008 | 10:00 AM
  #9  
Jack_of_Trades's Avatar
Evolved Member
iTrader: (17)
 
Joined: Jun 2007
Posts: 3,523
Likes: 2
From: Opelika,AL
Well, I think if boost control was more important to them they would have designed a system that didn't come from the factory maxed out at 100% across the board.
Old Oct 2, 2008 | 03:38 PM
  #10  
JoeBee's Avatar
Evolving Member
 
Joined: Sep 2006
Posts: 152
Likes: 0
From: Germany
Here is the part of code that tephra means.
Code:
ROM:0000AD54                 mov.l   @(h'1F4,pc), r4 ; [0000AF4C] = WG_Duty_Cycle
ROM:0000AD56                 mov.w   @r4, r4
ROM:0000AD58                 extu.w  r4, r4
ROM:0000AD5A                 mov     #h'30, r5 ; '0'           Here is the 48
ROM:0000AD5C                 mov.w   @(h'24,pc), r6 ; [0000AD84] = h'C8  dez 200 maximum internal Value of WGDC
ROM:0000AD5E                 mov.l   @(h'30,pc), r10 ; [0000AD90] = r4_mul_r5_div_r6_round
ROM:0000AD60                 jsr     @r10 ; r4_mul_r5_div_r6_round
ROM:0000AD62                 nop
ROM:0000AD64                 mov     r0, r1          ; r0= WG*0.24 (48/200)
ROM:0000AD66                 mov.l   @(h'2A4,pc), r10 ; [0000B00C] = Backup_sr
ROM:0000AD68                 jsr     @r10 ; Backup_sr
ROM:0000AD6A                 nop
ROM:0000AD6C                 extu.w  r1, r1
ROM:0000AD6E                 mov.l   @(h'1FC,pc), r10 ; [0000AF6C] = WGDC_Set_Counter
ROM:0000AD70                 mov.w   @r10, r10
ROM:0000AD72                 extu.w  r10, r10
ROM:0000AD74                 cmp/hi  r10, r1
ROM:0000AD76                 bf      loc_AD94
ROM:0000AD78                 mov.l   @(h'1D4,pc), r10 ; [0000AF50] = PFDR
ROM:0000AD7A                 mov.b   @r10, r0
ROM:0000AD7C                 or      #8, r0
ROM:0000AD7E                 mov.b   r0, @r10
But I am not sure that the solenoid is so accurate that this factor plays an important role.
Old Oct 2, 2008 | 04:45 PM
  #11  
tephra's Avatar
Thread Starter
EvoM Guru
iTrader: (6)
 
Joined: Mar 2007
Posts: 9,486
Likes: 66
From: Melbourne, Australia
yes thats the other thing - does anyone have the specs on the GM 3port? ie the frequency it can operate at?
Old Oct 2, 2008 | 06:24 PM
  #12  
Evoryder's Avatar
Evolved Member
iTrader: (55)
 
Joined: Apr 2004
Posts: 7,383
Likes: 10
From: ☼ Florida ☼
you guys are straight chinese rocket scientists
Old Oct 2, 2008 | 06:41 PM
  #13  
mchuang's Avatar
Evolved Member
iTrader: (11)
 
Joined: Sep 2005
Posts: 2,180
Likes: 1
From: h town
Originally Posted by tephra
yes thats the other thing - does anyone have the specs on the GM 3port? ie the frequency it can operate at?
Dont know the gm specs, but the ingersoll rand is

12v dc .38amps / 4.5watts
(-18 to 50)celcius
60hz
(0-125psi)
Old Oct 2, 2008 | 07:25 PM
  #14  
merlin.oz's Avatar
Evolved Member
 
Joined: Jun 2008
Posts: 824
Likes: 23
From: Sydney
May not be very relevant, but the MAC valve would run/tune ok at frequencies of 10Hz to 25Hz.
Old Oct 2, 2008 | 09:08 PM
  #15  
mrfred's Avatar
EvoM Guru
iTrader: (50)
 
Joined: Mar 2006
Posts: 9,675
Likes: 130
From: Tri-Cities, WA // Portland, OR
Originally Posted by merlin.oz
May not be very relevant, but the MAC valve would run/tune ok at frequencies of 10Hz to 25Hz.
That's useful info. 25 Hz seems slow, let alone 10 Hz.


Quick Reply: ECU Boost Control Duty Cycle info



All times are GMT -7. The time now is 11:57 AM.