E90Post
 


The Tire Rack
 
BMW 3-Series (E90 E92) Forum > E90 / E92 / E93 3-series Powertrain and Drivetrain Discussions > N57 / M57 Turbo Diesel Discussions - 335d > Extended BMW 335d PIDs for Torque



Reply
 
Thread Tools Search this Thread
      06-02-2015, 03:38 PM   #23
335dwanted
Private First Class
24
Rep
109
Posts

Drives: 2009 335d
Join Date: Jul 2014
Location: Northern NJ

iTrader: (0)

I had a devil of a time in Windows just to rename the file to drop the ".txt". Unfortunately I don't recall what I did (dropped the text into Excel and save as ".CSV" maybe?), but once I got the file named correctly everything worked as described.

Sorry I can't be of better help.

Quote:
Originally Posted by Vortechys View Post
Would someone please do a step by step guide on how to install these in the torque app?
I'm not having any success. I'm using Astro file manager, but I'm not getting anywhere.
Thanks
Appreciate 0
      06-02-2015, 06:29 PM   #24
DWR
Banned
799
Rep
1,630
Posts

Drives: 2009 335d
Join Date: Oct 2014
Location: Maine

iTrader: (0)

Quote:
Originally Posted by Vortechys View Post
Would someone please do a step by step guide on how to install these in the torque app?
I'm not having any success. I'm using Astro file manager, but I'm not getting anywhere.
Thanks
Are you finding the "torque" folder?
Appreciate 0
      06-02-2015, 07:57 PM   #25
Chief Orman
Major
Chief Orman's Avatar
United_States
694
Rep
1,443
Posts

Drives: 335D 2010
Join Date: Jun 2013
Location: East Bay, Nor Cal

iTrader: (0)

Quote:
Originally Posted by Gearhead51 View Post
You, sir, are my hero. I'll try to plug this in this weekend. I did an extended scan on a road trip. Every screen orientation change or fuel stop caused it to start over.
Amen...well done!
Appreciate 0
      06-03-2015, 03:49 AM   #26
Owen81
Lieutenant
83
Rep
433
Posts

Drives: 335d, 17/22 TDI
Join Date: May 2015
Location: Alberta, Canada

iTrader: (0)

Wow thanks for this DWR!

Quote:
Originally Posted by Vortechys View Post
Would someone please do a step by step guide on how to install these in the torque app?
I'm not having any success. I'm using Astro file manager, but I'm not getting anywhere.
Thanks
Here's a quick step by step:

1. Download the file from this thread
2. Delete the .txt from the file name (I did this on my computer, can be done on your device)
3. Upload the file to your device using DropBox, GoogleDrive, manual transfer etc. if you used your computer to download it. Otherwise skip this step
4. Use your file manager application to find the file and cut/copy/move it (Should be in your download folder, or wherever you put it)
5. Turn on show hidden files in your file browser application (very important or you won't be able to find the .torque folder)
6. Paste the file that you moved/copied earlier into: /sdcard/.torque/extendedpids/ ( I had to create the extendidpids folder)
7. Load the torque program and go to: Settings->Manage extra PIDs/Sensors->Add predefined set and select your file "BMW 335d.csv"
8. A list of PIDs will come up, select the "BMW 335d"
9. You will see the new PIDs listed
10. Add displays to your real time dashboard!

Step 7 taken from the Torque wiki here:
http://torquebhp.wikia.com/wiki/How_..._extended_PIDs
There is a VIDEO in there as well showing step 7

Hope that helps
Appreciate 0
      06-03-2015, 06:40 AM   #27
Gearhead51
Private First Class
27
Rep
126
Posts

Drives: 335D Montego Premium Msport
Join Date: Jan 2015
Location: north Atlanta, GA

iTrader: (1)

I think the standard android browser doesn't play well with attachments it can't find an app for. At least mine didn't. It called the file data.bin and it was unable. I used chrome without problem. I used es file explorer to rename it.
Appreciate 0
      06-03-2015, 03:57 PM   #28
335dwanted
Private First Class
24
Rep
109
Posts

Drives: 2009 335d
Join Date: Jul 2014
Location: Northern NJ

iTrader: (0)

Big thanks to DWR for this, been using it for a while.

Interesting thing I noted the last couple of days; I actually see a vacuum reported of about 4.5 psi at very slight partial throttle but only when the car is cold. Diesels don't usually pull vacuum since there is typically no throttle, but the M57 does have an electronic throttle valve. My guess is that it is only actuated when cold, but for what purpose I cannot imagine.

Anyone else see this behavior?
Appreciate 0
      06-03-2015, 09:08 PM   #29
TDIwyse
Colonel
622
Rep
2,408
Posts

Drives: 2011 335d
Join Date: Aug 2012
Location: MidWest

iTrader: (0)

Quote:
Originally Posted by 335dwanted View Post
Big thanks to DWR for this, been using it for a while.

Interesting thing I noted the last couple of days; I actually see a vacuum reported of about 4.5 psi at very slight partial throttle but only when the car is cold. Diesels don't usually pull vacuum since there is typically no throttle, but the M57 does have an electronic throttle valve. My guess is that it is only actuated when cold, but for what purpose I cannot imagine.

Anyone else see this behavior?
You still have a functional EGR system? If so, that's normal. The system will close the throttle to help pull exhaust gases through the EGR path and vacuum conditions can occur in some operating conditions.
__________________
2011 335d 11.68 @ 125.71 mph 1/4 mile NHRA certified track
Ram Cummins with lots-o-mods
Appreciate 0
      06-04-2015, 10:25 AM   #30
335dwanted
Private First Class
24
Rep
109
Posts

Drives: 2009 335d
Join Date: Jul 2014
Location: Northern NJ

iTrader: (0)

Quote:
Originally Posted by TDIwyse View Post
You still have a functional EGR system? If so, that's normal. The system will close the throttle to help pull exhaust gases through the EGR path and vacuum conditions can occur in some operating conditions.
I have a block plate at the EGR valve but not one at the turbo. However, I thought I noticed that EGR Commanded was 0 during warm-up, I will have to look again.

Interestingly, I had a DPF regen this morning and saw quite a bit of vacuum, the only time I have seen negative PSI when warm.

While I appreciate the notion that closing the throttle will pull more EGR, it seems the two circumstances where I have seen a vacuum state are the times when EGR Commanded usually goes to 0; warm-up and regen.
Appreciate 0
      06-04-2015, 02:45 PM   #31
TDIwyse
Colonel
622
Rep
2,408
Posts

Drives: 2011 335d
Join Date: Aug 2012
Location: MidWest

iTrader: (0)

Quote:
Originally Posted by 335dwanted View Post
I have a block plate at the EGR valve but not one at the turbo. However, I thought I noticed that EGR Commanded was 0 during warm-up, I will have to look again.

Interestingly, I had a DPF regen this morning and saw quite a bit of vacuum, the only time I have seen negative PSI when warm.

While I appreciate the notion that closing the throttle will pull more EGR, it seems the two circumstances where I have seen a vacuum state are the times when EGR Commanded usually goes to 0; warm-up and regen.
This may be interesting to you. Some old data from stock behavior I had collected back in 2012 comparing EGR and Throttle behavior during drives to work where no DPF regen was occurring and then one with DPF regen occurring.

Also, during warm up there can be some post injection events used, and the EGR position usually closes during post injection events to keep raw fuel from being dumped back into the intake.
Attached Images
 
__________________
2011 335d 11.68 @ 125.71 mph 1/4 mile NHRA certified track
Ram Cummins with lots-o-mods
Appreciate 0
      06-04-2015, 04:46 PM   #32
335dwanted
Private First Class
24
Rep
109
Posts

Drives: 2009 335d
Join Date: Jul 2014
Location: Northern NJ

iTrader: (0)

Quote:
Originally Posted by TDIwyse View Post
This may be interesting to you. Some old data from stock behavior I had collected back in 2012 comparing EGR and Throttle behavior during drives to work where no DPF regen was occurring and then one with DPF regen occurring.

Also, during warm up there can be some post injection events used, and the EGR position usually closes during post injection events to keep raw fuel from being dumped back into the intake.
Thanks TDIwyse, this is very interesting. Seems to verify my intuition: both the throttle and EGR generally close during warm up and regens. All of this is well beyond my understanding of this stuff! I just thought it interesting to see the engine pull a bit of a vacuum under certain conditions.
Appreciate 0
      06-05-2015, 05:14 PM   #33
Vortechys
Private
10
Rep
56
Posts

Drives: 2011 335d m sport, 2010 X5M
Join Date: Feb 2015
Location: S.E. Michigan

iTrader: (0)

Owen81, I used your tutorial and it worked like a charm.
Thank you very much. And thank you DWR for your extended PID's
Appreciate 0
      06-09-2015, 08:41 AM   #34
Chief Orman
Major
Chief Orman's Avatar
United_States
694
Rep
1,443
Posts

Drives: 335D 2010
Join Date: Jun 2013
Location: East Bay, Nor Cal

iTrader: (0)

Quote:
Originally Posted by DWR
In case any one has a problem downloading the file, here's the txt in the csv:

Name,ShortName,ModeAndPID,Equation,Min Value,Max Value,Units,Header
0-0 BMW 335d Ambient Air Temperature,AAT,146,((A-40)*1.8)+32,0,50,F,Auto
0-0 BMW 335d Intake Air Temperature,IAT,10F,((A-40)*1.8)+32,0,100,F,Auto
0-0 BMW 335d Charged Air Cooler Temperature,CACT,177,((B-40)*1.8)+32,0,100,F,Auto
0-0 BMW 335d AFR,AFR,124,((A*256)+B)*0.00044225,0,30,AFR,Auto
0-0 BMW 335d Air Mass,Air Mass ,110,((((A*256)+B)/100)*0.132276),0,50,lb/min,Auto
0-0 BMW 335d Manifold Pressure,Boost,170,((((((D*256)+E)*0.296)-1000)/1000)*14.5),0,35,psi,Auto
0-0 BMW 335d Exhaust Manifold Pressure,Exh Press,173,(((((B*256)+C)/10)-1000)/1000)*14.5,0,45,psi,Auto
0-0 BMW 335d Fuel Flow,Fuel Flow,015E,((A*256)+B)*5.64,0,125,lb/hr,Auto
0-0 BMW 335d Exhaust Temperature Post DOC,EGT Pre DPF,178,(((((B*256)+C)/10)-40)*1.8)+32,0,1400,F,Auto
0-0 BMW 335d Exhaust Temperature Pre DOC,EGT Pre DOC,178,(((((D*256)+E)/10)-40)*1.8)+32,0,1400,F,Auto
0-0 BMW 335d Exhaust Temperature Pre SCR,EGT Pre SCR,178,(((((F*256)+G)/10)-40)*1.8)+32,0,1400,F,Auto
Fantastic
Appreciate 0
      10-14-2015, 04:18 PM   #35
mob17
Major General
mob17's Avatar
United Kingdom
395
Rep
5,613
Posts

Drives: E92 335D
Join Date: Mar 2012
Location: East Midlands, UK

iTrader: (5)

This looks amazing thanks.

Any idea of how should amend the temp pids to show the values in celsius?
Appreciate 0
      10-14-2015, 04:32 PM   #36
DWR
Banned
799
Rep
1,630
Posts

Drives: 2009 335d
Join Date: Oct 2014
Location: Maine

iTrader: (0)

Update 335d extended PIDs for Torque

So, I made a couple of adds and mods to the extended PIDs.

DPF differential pressure: For those of you still with DPF, there is a differential pressure PID. There is still pressure loss downstream, but it is a smaller effect. I built that so I could do something even more interesting for those without DPFs.

Turbo Drive Pressure: It takes the exhaust manifold pressure and subtracts the DPF differential pressure reading, to estimate the net pressure on the turbine. So, all you alphabet soupers can just have that 2nd pressure port disconnected - open to ambient air - and you will get the differential pressure of the entire exhaust after the turbo.

Boost Pressure: TDIwyse and I were breaking some spare parts he had (inside joke, sorry) when I realised a modification could be made to improve the original version. I think this one does a better job at higher psi. Let me know if you agree.

H20/Meth Target: Based on lots of testing and research, this PID sets a target H20/Methanol injection flow, for a 50/50 mixture. It gives cc/min, the same units used to size nozzles. Using a ratio for diesel/H20/Methanol, this should get you in the ballpark (no way it can optimize every setup).

Now you still have to figure out how to control the flow to meet the target. For anyone with fuel rail pressure manipulation (JBD and the like), this may under predict maximum flow. Finally, I should note if you go up in methanol concentration, watch those exhaust temps. If you are using less than 50%, say windshield fluid, then you may need to adjust the "25" multiple to "20" or less.

Hopefully, some enterprising folks can give feedback for further fine tuning. I'd like to include AFR and exhaust temp at some point, so this becomes a very useful H20/Meth tuning tool.

As before, strip the "txt" suffix from the attached file, so Torque can recognize it. See instructions in earlier posts on where to paste it.
Here's a listing for those that have difficulty getting the attachment into Torque:

Name,ShortName,ModeAndPID,Equation,Min Value,Max Value,Units,Header
0-0 BMW 335d Ambient Air Temperature,AAT,146,((A-40)*1.8)+32,0,50,°F,Auto
0-0 BMW 335d Intake Air Temperature,IAT,10F,((A-40)*1.8)+32,0,100,°F,Auto
0-0 BMW 335d Charged Air Cooler Temperature,CACT,177,((B-40)*1.8)+32,0,100,°F,Auto
0-0 BMW 335d AFR,AFR,124,((A*256)+B)*0.00044225,0,30,AFR,Auto
0-0 BMW 335d Air Mass,Air Mass ,110,((((A*256)+B)/100)*0.132276),0,50,lb/min,Auto
0-0 BMW 335d Ambient Air Pressure,Baro,133,A*14.6959/100,13,15,psi,Auto
0-0 BMW 335d Intake Boost Pressure,Boost,170,(((((D*256)+E)*0.3125)-1000)/1000)*14.6959,0,35,psi,Auto
0-0 BMW 335d Exhaust Manifold Pressure,Exh Press,173,(((((B*256)+C)/10)-1000)/1000)*14.6959,0,50,psi,Auto
0-0 BMW 335d DPF Pressure,DPF Press,17A,((B*256)+C)*0.00146959,0,5,psi,Auto
0-0 BMW 335d Drive Pressure,Drive Press,,(VAL{0-0 BMW 335d Exhaust Manifold Pressure})-(VAL{0-0 BMW 335d DPF Pressure}),0,50,psi,Auto
0-0 BMW 335d H2O/Meth Target,H2O/Meth Target,015E,((A*256)+B)*25/60,0,2000,cc /min,Auto
0-0 BMW 335d Fuel Flow,Fuel Flow,015E,((A*256)+B)*0.0938,0,160,lb/hr,Auto
0-0 BMW 335d Exhaust Temperature Pre DOC,EGT Pre DOC,178,(((((D*256)+E)/10)-40)*1.8)+32,0,1400,°F,Auto
0-0 BMW 335d Exhaust Temperature Post DOC,EGT Pre DPF,178,(((((B*256)+C)/10)-40)*1.8)+32,0,1400,°F,Auto
0-0 BMW 335d Exhaust Temperature Pre SCR,EGT Pre SCR,178,(((((F*256)+G)/10)-40)*1.8)+32,0,1400,°F,Auto
0-0 BMW 335d NOX Conc Pre SCR,NOX Pre SCR,183,(((B*256)+C)*0.032044)-100,0,1000,ppm,Auto
0-0 BMW 335d NOX Conc Post SCR,NOX Post SCR,183,(((D*256)+E)*0.032044)-100,0,1000,ppm,Auto

Enjoy!
Attached Files
File Type: txt BMW 335d.csv.txt (1.6 KB, 952 views)
Appreciate 3
      10-14-2015, 04:51 PM   #37
Whitbread
Banned
144
Rep
315
Posts

Drives: 335D
Join Date: Jun 2015
Location: Gaylord, MI

iTrader: (0)

The next time you're in Detroit, beers are on me sir!
Appreciate 0
      10-14-2015, 05:57 PM   #38
TDIwyse
Colonel
622
Rep
2,408
Posts

Drives: 2011 335d
Join Date: Aug 2012
Location: MidWest

iTrader: (0)

Fantastic. Thank you Santa.

Of course, now I'm going to have to re-baseline all kinds of parameters...
__________________
2011 335d 11.68 @ 125.71 mph 1/4 mile NHRA certified track
Ram Cummins with lots-o-mods
Appreciate 0
      10-14-2015, 08:07 PM   #39
TDIwyse
Colonel
622
Rep
2,408
Posts

Drives: 2011 335d
Join Date: Aug 2012
Location: MidWest

iTrader: (0)

Just a note to others... if you setup a logging profile and included some of these PIDs, you'll want to delete and then re-enter the new PIDs for the updated equations to take affect in the logging parameters. At least that's what happened in my version of Torque.
__________________
2011 335d 11.68 @ 125.71 mph 1/4 mile NHRA certified track
Ram Cummins with lots-o-mods
Appreciate 0
      10-14-2015, 08:26 PM   #40
TDIwyse
Colonel
622
Rep
2,408
Posts

Drives: 2011 335d
Join Date: Aug 2012
Location: MidWest

iTrader: (0)

Quote:
Originally Posted by TDIwyse View Post
Just a note to others... if you setup a logging profile and included some of these PIDs, you'll want to delete and then re-enter the new PIDs for the updated equations to take affect in the logging parameters. At least that's what happened in my version of Torque.
Hmmm, I have two phones with Torque installed. The one affixed and dedicated to the car has an older version of Torque, and it was the one I needed to delete and re-enter the PIDs. My new phone with the updated Torque didn't need this step to get the updated equations into the logging parameter equations...
__________________
2011 335d 11.68 @ 125.71 mph 1/4 mile NHRA certified track
Ram Cummins with lots-o-mods
Appreciate 0
      10-14-2015, 08:44 PM   #41
DWR
Banned
799
Rep
1,630
Posts

Drives: 2009 335d
Join Date: Oct 2014
Location: Maine

iTrader: (0)

Thanks for the reminder TDIwyse. Yes, as standard procedure I clear the logs, gauges and old PID file. Otherwise, I have had inconsistent results.
Appreciate 0
      10-14-2015, 09:03 PM   #42
DWR
Banned
799
Rep
1,630
Posts

Drives: 2009 335d
Join Date: Oct 2014
Location: Maine

iTrader: (0)

Quote:
Originally Posted by Whitbread View Post
The next time you're in Detroit, beers are on me sir!
That sounds great to me, I'm a fan of your work.
Appreciate 0
      10-14-2015, 09:15 PM   #43
Chief Orman
Major
Chief Orman's Avatar
United_States
694
Rep
1,443
Posts

Drives: 335D 2010
Join Date: Jun 2013
Location: East Bay, Nor Cal

iTrader: (0)

Quote:
Originally Posted by DWR
If laziness is the mother of invention, her sister is frustration. I was getting tired of the Torque App's inconsistence units and scaling for several parameters I like to log. So, I decided to 'roll' my own. Here is a list of items I added to an extended PID csv file:

AFR now reads correctly for a diesel, instead of gas. Small adjustment, but what the heck, let's get it right.

Boost was the worst offender. Torque's version was just plain wrong. Now you can have a reading that matches an analog gauge! Same with exhaust manifold pressure, and in psi.

Air Mass wasn't even in mass units. Now you can log lbs/min and see where the LP compressor maxes out on a compressor map. And see how it is very much temperature dependent.

Speaking of which, ambient air, intake air and charge air cooler temperatures are all there in Fahrenheit degrees.

Fuel Flow in lbs/hr so you can estimate crank HP from BSFC (~0.4lbs/HP/hr) Unless, you are adding fuel by fuel rail pressure manipulation or methanol injection. Then all bets are off.

All 3 exhaust temperature probes can be monitored in Fahrenheit.

The full configuration is in the attached "BMW 335d.csv"

Just copy the file into the .torque/extendedpids folder (remember to remove the 'txt' suffix from the file name). Then select settings in the main menu of Torque. From there scroll down to "Manage extra PIDs/Sensors" and select. From the menu icon in the upper right hand corner select "Add predefined set", then you will see BMW 335d. Select that and the csv file parameters will be loaded for you to select from, just as you would any other parameter in Torque. Note, I formatted the parameter names so that they appear at the top of list and are easy to find.
Enjoy.
You the man!
Appreciate 0
      10-14-2015, 09:38 PM   #44
Whitbread
Banned
144
Rep
315
Posts

Drives: 335D
Join Date: Jun 2015
Location: Gaylord, MI

iTrader: (0)

Quote:
Originally Posted by DWR View Post
That sounds great to me, I'm a fan of your work.
Thank you sir! I'm a huge fan of guys like you and TDIwyse that have the time to do things like this. It lets me stay in the shop and build things!
Appreciate 0
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -5. The time now is 04:06 PM.




e90post
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
1Addicts.com, BIMMERPOST.com, E90Post.com, F30Post.com, M3Post.com, ZPost.com, 5Post.com, 6Post.com, 7Post.com, XBimmers.com logo and trademark are properties of BIMMERPOST