Main Menu

Common Rail LBB

Started by Bdubb'z, June 01, 2015, 05:36:42 AM

Bdubb'z

This is my current operating code on my common rail cummins. The truck is an 03 with an 06 motor and a NV5600.  Right now its based off of lbb_common_1.0.3 with a few added things for my setup and a few other refinements.  Its basically between lbb_common_1.0.3 and 1.0.4.

My 'brake switch' is setup as auto/manual mode right now.  So with the switch grounded operation of the turbo goes to the potentiometer. 

Rx7man

'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles

Bdubb'z

#2
Thanks. 

Here's another version I did this morning before driving to work. 

I added a feature to choose between manual operation mode and exhaust_brake function from Hakcenter.  If SWITCH_BRAKE && POT >= 1000 then use the exhaust_brake function.  Works really well.  Comes on slow, but works well.  If the POT is < 1000 && SWITCH_BRAKE then vane operation is manual from the POT.

Later I will add the opposite, adding the cruise function.  These bounds of the POT are basically unused because of the constraints of the vane position.  Why constrain the POT when you can get two more functions!!   

hakcenter

Looking good, you can add in the cruise I wrote, unless you absolutely want the pot
TS2009 Deḇarim 8:2
"And you shall remember that יהוה your Elohim led you all the way these forty years in the wilderness, to humble you, prove you, to know what is in your heart, whether you guard His commands or not.

Bdubb'z

I wrote in the cruise last night before driving home.  Worked well, but without a conditional, if you switch to cruise at idle it gets a little confused.  I know, why would you, but also, why not a conditional.  I'll get that in there.  Last night I updated to version 1.0.4, so we'll see how it goes today.  I have a 500 gallon water tank in the truck now..... 

The exhaust brake yesterday went up to 60 psi backpressure and stayed there on a steep grade, I lowered the values by 10000, but it didn't work very well.  I'll touch that up as well and test. 

Rx7man

What's the max exhaust pressure you see on braking? what about on heavy pulling?  I'd just like to get a ballpark figure
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles

hakcenter

May not really be a relation of back pressure to RPM
TS2009 Deḇarim 8:2
"And you shall remember that יהוה your Elohim led you all the way these forty years in the wilderness, to humble you, prove you, to know what is in your heart, whether you guard His commands or not.

Bdubb'z

Well today with the water in the back I didn't see over 45-50.  That was going pretty slow and low rpms. 

If I'm at like 2500 engine rpm going down hill and hit the 'auto' exhaust brake, I see a bp spike up to 70 then it was maintaining 60-62 psi.  At that point I can turn the pot 'open' a bit and lower it to around 45-50. 

Rx7man

OK, cool.. so the 100PSI sensor I have on my shopping list will be perfect for it :)
'94 dually,  67/67 HE351VE, NV5600, ~600hp
'93 ECLB 47RH, new toy truck, H pump project, 1000hp goal, 300K miles
93 XCLB auto, bone stock, 350K miles
93 XCLB 5spd, bone stock, 100K miles

me78569

Great Idea on using the outer limits of the pot for 2 more functions. 
2000 Dodge 2500 quad-cab 5.9 Cummins slt, homebuilt 47re revmax 3.5 messed with vb, Quad adr iquad, 4" tbe , pureflow 150 gph. he351ve in the works 100hp DFI inj

Bdubb'z

Thanks, the multi function pot is working very nice.

Ok Here is the latest.  Not exactly what I'm running right now, but very close.  Only difference is the turbo curve.  I've been playing around with those and a few other rpm adjustments, so to keep it easy for others to use I left it as a spin off of common code v.1.0.5. 

So this reads in boost, back pressure, pot and one switch.  If the switch pin is pulled low and the pot is greater than max_position, its in auto brake mode.  If the switch pin is pulled low and the pot is less than min_position, its in auto cruise mode.  Otherwise, with the switch low the turbo is in manual mode and runs off the pot.

I've played around with the auto brake mode and using back pressure to limit the amount of bp and opening up the VANES a little to keep bp in check.  It works, but it was 'steppy' and not super smooth, so I pulled it out for now, the auto works well and I just roll the pot into manual if needed. 

I've recently turned up my power and played with timing a bit.  This setup is really starting to hum.  I need to work on the low rpm some more, but mid and high the truck is really moving.  It spools really quick so the low rpm isn't a big deal, just a little 'puffy' after each shift.  Might as well be picky if you have infinite control of your turbo!


hakcenter

#11
What pot are you using ? I was always interested in the pot that Steed had, I don't remember if I asked him where he got it from, but it looks really robust and I wouldn't mind having one :)


BTW Like your additions, :), using the pot as an additional switch is a pretty ingenious idea.
TS2009 Deḇarim 8:2
"And you shall remember that יהוה your Elohim led you all the way these forty years in the wilderness, to humble you, prove you, to know what is in your heart, whether you guard His commands or not.

Bdubb'z

Thanks, and the booleans even work! 

Its nothing special for a pot.  Just a radio shack 10k with a radio shack knob.  I am looking for a pot with a switch on the top of the knob so I can eliminate the dash switch and just have it all right there on the stick.  I'm also modeling a bracket to 3d print and mount on the shifter instead of the 'ol hose clamp......

Here's a pic of my setup. 

me78569

#13
I am using a push/pull linear pot for mine.  gives me a switch and pot in one setup.

Potentiometer Push Pull Switch Pot Guitar 10K Lin Split Shaft Linear V164L4 | eBay

The code I am using for the drive pressure manage for Exhaust brake works VERY smooth.  Not sure if you care to use it, but it works well.  It works one step at a time if the value is above but close to max.  So it won't "snap" trying to react.   While if the pressure does spike above max it will open quicker.  Just depends on how much it spikes above the limit. 

It will open and close the viens to try and keep the drive pressure at the maxpressure-buffer  setup in the code.

/////////////////////////////DP Manage////////////////////////////////////////
//Manages DP to try and stay at or below 50psi drive while about 30psi boost.  veins will stay between 650 and 970 position
void DPManage() {
  int Difference = (ExhaustPressure - MaxExhaustPressure); //set a buffer make sure max ex press doesn't get hit.

  Difference = (Difference / EBCalibrate);                 // I used / rather than * as the * ended up applying too fast. the turbo was "snapping" open and closed
  DesiredPosition += max(Difference, 0 - 10);              //This way it doesn't close the veins to fast
  DesiredPosition = constrain(DesiredPosition, 650, 970);
}
2000 Dodge 2500 quad-cab 5.9 Cummins slt, homebuilt 47re revmax 3.5 messed with vb, Quad adr iquad, 4" tbe , pureflow 150 gph. he351ve in the works 100hp DFI inj

Bdubb'z

cool, thanks, i'll give it a try.