|
|
|
|
|
|
BMW Garage | BMW Meets | Register | Today's Posts | Search |
|
BMW 3-Series (E90 E92) Forum
>
N55 MEVD17 DIY Tuning
|
|
03-30-2017, 02:28 PM | #89 |
Private First Class
227
Rep 182
Posts |
I'm with you WhatsADSM. If a throttle closure triggers a timing correction, or you get ignition retard to avoid a torque cap, that should be fixed. Otherwise, I would prefer to try to work with the closed loop systems rather than push targets out the way. Limits should be set to values that leave a safety margin too, not just pushed to max. Each target and limit has a purpose, usually modelling one aspect like the torque limit for a transmission or clutch, or to prevent compressor overspeed, or for other component protection from thermal or structural damage. You can stretch some or most of these, but it should be approached with a view to the minimal necessary intervention to get what you think is safe. Every map change should be justifiable. That is difficult in the aftermarket, but should still be an aim. Arguably though, I'm guilty of hypocrisy as on simpler ECUs than this I have ripped out a load of complexity and had only a wastegate table as the boost and load control, with no target table, just the slope of the table gave some feedback. It gots cars to the low 7s, quadruple their standard output, and drivers either didn't notice a lack of finesse or preferred the smoothness. But I actually did it this way as it was more feasible to code.
So we all make our solutions, there is certainly more than one way to do this. Last edited by BMWcurious; 03-30-2017 at 02:42 PM.. |
Appreciate
0
|
03-30-2017, 02:34 PM | #90 | |
Lieutenant
337
Rep 258
Posts |
Quote:
|
|
Appreciate
0
|
03-30-2017, 03:54 PM | #91 |
Private First Class
227
Rep 182
Posts |
Agree bahn. Of course the boost controllers (if we are talking about this platform specifically or any modern torque based ECU) is that they only work if they read the target pressure from the CAN bus and tell the DME that is what the pressure presently is or thereabouts. Some would like the idea of the tuner telling the DME what the boost target should be, but you'd also have to back calculate appropriate load and torque values to go with it, including all the efficiencies related to temperatures, throttle opening or valve lift, valve overlap, ignition and lambda efficiencies, exhaust manifold pressure and temperature, drivetrain losses.
|
Appreciate
0
|
03-30-2017, 04:29 PM | #92 | ||
Lieutenant
228
Rep 538
Posts |
Quote:
Quote:
Agreed, in my experience while you may want to relax certain models (most obviously like compressor speeds, and engine load limits) it is nice to still keep the overall system model in place. It is always best to at least understand the theory as much as possible, even if in reality you can't understand everything or don't have access to all of the tools you need. I probably should have mentioned before, my day job is writing firmware for industrial motor drives (primarily servo). So while not exactly the same as a mechanical engine, I have a reasonable background on control theory and similar systems. That's probably why when I am attacking this problem I am at least trying to first attempt to do it with the same theory and toolset. I totally agree with you though. In the end there is reality. And usually that reality is, we don't fully understand all of the models in the DME and/or we don't have access to all of the tools/equipment that we would need to properly set them anyways (like say the compressor characteristic map). So we use what is at our disposal and do the best we can. On another note: I still have (free) dyno access to the shop where I used to help out. I'm hoping to try to find some time that works for my wife/kids and the shop owner and get my car out there so I can at least get a baseline on it, and play around for a few hours in a more controlled environment. Once I have the opportunity I'll be sure to update the thread! Last edited by WhatsADSM; 03-30-2017 at 05:14 PM.. |
||
Appreciate
3
|
04-05-2017, 09:43 AM | #93 |
Lieutenant
337
Rep 258
Posts |
I've got a question, does anyone know why it would appear the DME goes into an open-loop fueling strategy on spool & post shift (on autos at least)? It would appear the DME sets STFT's to 0% and runs purely off of a table for fueling during these conditions.
Look at this log between the marks: http://www.datazap.me/u/bellium/torq...rk=28-15-51-59 If this was just the Fuel Spool table being used I'd expect it to still utilize the O2 sensors, not to mention post-shift is above the "Max Spool RPM" parameter. BMWcurious MHD Tuning WedgePerformance |
Appreciate
0
|
04-05-2017, 01:23 PM | #94 | |
Lieutenant
228
Rep 538
Posts |
Quote:
|
|
Appreciate
0
|
04-05-2017, 01:33 PM | #95 | |
Lieutenant
337
Rep 258
Posts |
Quote:
http://www.datazap.me/u/bellium/n55-...9-19-20&solo=2 |
|
Appreciate
0
|
04-05-2017, 04:37 PM | #96 |
Private First Class
227
Rep 182
Posts |
I haven't studied this aspect of this ECU, but it makes sense that closed loop lambda control is suspended during rapid transients because the phase delay between combustion and the lambda sensor reading is probably too long. The N54 pre production functional description included a technique to use this phase delay to estimate lambda per cylinder using two sensors. Same applies to MAF sensor readings on transients - they read inlet manifold filling and emptying spikes that benefit from filtering or feeding the results into an inlet manifold model if using a conventional throttle. Valvetronic doesn't do this though.
|
Appreciate
0
|
04-05-2017, 06:02 PM | #97 | |
Lieutenant
228
Rep 538
Posts |
Quote:
"Set the "Boost Limit Multiplier" table to be 4.0 throughout the entire table." I am still a little fuzzy on the DMEs translation from load to boost, and really the whole boost model (that occurs prior to WGDC). What exactly does this boost limit multiplier do? |
|
Appreciate
0
|
04-05-2017, 06:06 PM | #98 | |
Lieutenant
228
Rep 538
Posts |
Quote:
|
|
Appreciate
0
|
04-06-2017, 04:36 AM | #99 |
Private First Class
227
Rep 182
Posts |
They decouple estimation of air mass from sensors for redundancy, modularity and diagnostics. Air mass can also be estimated from air pressure sensors and throttle angle or valvetronic lift along with temperatures and other values/calcs.
Fuel mass has a pilot calculation based on desired lambda and estimated air mass. Closed loop feedback from lambda sensor optionally comes later. It is so much more complex than an ECU of 20 years ago where you could write the entire equation for injector pulse back to the MAF sensor on the back of a small envelope. Slightly simplified leaving out closed loop lambda: IPW = lookup(injdeadtime) + constant * lookup(MAFvolts) / RPM / lambdatarget. |
Appreciate
1
bahn336.50 |
04-06-2017, 07:19 AM | #100 | |
Lieutenant
337
Rep 258
Posts |
Quote:
|
|
Appreciate
0
|
04-06-2017, 11:34 AM | #101 | |
Lieutenant
228
Rep 538
Posts |
Quote:
This ECU can go the speed density approach as well but its far more complicated at least in relation to a more conventional engine without valvetronic. Now you need inlet pressure, valvelift, and throttle plate. Along with the normal RPM, VE, and charge air conditions. I guess my real question is... Does this ECU actually use a "speed density" model at all, or at least in the normal case? I don't see any tables related to it, and it seems pretty difficult to do, relative to a working MAF sensor just sitting there waiting to be used. That doesn't mean it doesn't exist, could just be omitted from the XDF. Last edited by WhatsADSM; 04-06-2017 at 01:01 PM.. |
|
Appreciate
0
|
04-06-2017, 12:53 PM | #102 | |
Lieutenant
228
Rep 538
Posts |
Quote:
Component Load Models --(Load Max)--> Throttle Models --(Load Request)--> Load Control Modelling --(Boost Request)--> Boost/WGDC Models So with that said let's take the "boost request" as golden. Beyond this point things go all fuzzy on me. At this point I know there is (in a BMW provided tune) a PID feedback loop run on the boost setpoint/request/command. 1) What exactly is that setpoint/request/command? It appears that it is "boost request" parameter, is that correct? 2) Even after scaling the "boost request" parameter doesn't actually match the "boost setpoint factor" used in a majority of the wgdc tables. The two values are loosely tied but with some factor between them. Maybe the ECU is trimming the command to the WGDC tables (boost setpoint factor) based on some charge air conditions? 3) What is the boost multiplier/boost set limit for then? A separate value (ceiling) used to pull back on throttle/wgdc if it ever exceeds? If so see point #2, how do I know what value that is in boost pressure? As an aside I started to play with commanded WGDC last night. As mentioned before both the axis need to be rescaled. While I was in there I also fixed the conversion factors in my XDF for the Y-axis (Bin Value/8192). It makes zero sense that the "boost setpoint factor (commanded)" would be 0.5 under the no-boost case. That should really be 1. Essentially the whole thing should be scaled similar to the compressor characteristic table. (I.e. Starts at 1 and goes from there). This allows you to use the normal "Boost Setpoint Factor" instead of the commanded one and makes everything look a lot nicer: Last edited by WhatsADSM; 04-06-2017 at 01:03 PM.. |
|
Appreciate
0
|
04-06-2017, 12:59 PM | #103 |
Private First Class
227
Rep 182
Posts |
No speed density model in the conventional sense. It is something I wanted to get into but haven't prioritised, but it looks more like a residual gas model based on valve overlap. Thankfully it seems not to need alteration for tuning as people are not really changing the VE of the engine at part load (where VE gradients are great) from aftermarket cams.
|
Appreciate
0
|
04-06-2017, 01:13 PM | #104 | |
Lieutenant
228
Rep 538
Posts |
Quote:
Do you know if it references this model over the MAF at all? I know many ecus like GM (Delphi?), will blend the two models with a bias to use speed density under transients and MAF under steady state. |
|
Appreciate
0
|
04-07-2017, 07:11 AM | #106 |
Lieutenant
337
Rep 258
Posts |
Quote:
|
Appreciate
0
|
04-09-2017, 12:43 AM | #107 |
Lieutenant
228
Rep 538
Posts |
Was an odd day at the dyno.
Long story short I was on my normal Mustang load cell dyno, and its pretty clear that it doesn't load the car the same as it does on the street. It almost surely wasn't providing enough load, and that wrecks absolute havoc on tuning turbo cars. Especially if you are in commanded wastegate since there is no PID loop to resolve any errors. The only tune that looked like it was running correctly was stock. The OTS Stage 1 tune from MHD made no more power and the ECU seemed utterly confused by it all. My quick street commanded wgdc tune made even less then them all as it just couldn't hold any boost with the commanded WGDC curve that worked well on the street. I ended up doing a quick tune based on the stock (lightly tweaked) compressor characteristic map and PID and it actually worked out pretty well, but still was having a bit of trouble holding boost in the upper RPM range on the dyno. It made what I expected for torque, but a little short on horsepower because it still couldn't hit the boost targets over ~5500RPM. However it is fantastic on the street and hits all its targets! IMO I kind of like keeping the stock WGDC strategy, at least for a true "Stage 1" (i.e. stock hardware) car. Was super easy to add a decent chunk of power/torque and keep a similar curve to stock, all while having great part throttle response and all of the safe guards in place. Just as an interesting thought. Assuming MHD has everything scaled properly in the XDF I *think* you theoretically could treat kW as duty cycle. You could then use the compressor map as a commanded duty cycle. Additionally because you are still using the non-commanded WG model you could also use the PID tables. Then in the "wastegate position model" (which I believe it uses to translate from power to duty cycle), put in a linear 1:1 scaling of "power" in the Z cells to duty cycle in the X axis. Be sure obviously to scale the X axis out to 100. Other tables that work in kW would likely need to be scaled around as well (or simply zero'd). Not sure if I want to be the guinea pig trying this though! Last edited by WhatsADSM; 04-09-2017 at 12:59 AM.. |
Appreciate
0
|
04-11-2017, 06:38 AM | #108 |
Banned
1978
Rep 345
Posts |
I came here to help last week, read the first page, got a bit offended by the ridiculous accusations put on me or Justin. I gave up after that.
Anyways, feel free to tag me so I can either correct the xdf, or justify why it's scaled as it is. |
Appreciate
0
|
04-11-2017, 07:55 AM | #109 | |
Lieutenant Colonel
245
Rep 1,595
Posts
Drives: 2011 335i xDrive Msport
Join Date: Apr 2013
Location: Orlando
|
Quote:
That is what this thread is about, getting everyone together to try and figure it out since that information isn't there. Pushing away a problem is not the way to support your product (I am an aftermarket manager).
__________________
2011 335Xi 6AT - VRSF catless DP - VRSF 7" FMIC with turbo inlet pipe - VRSF chargepipe - Pure Stage 1 turbo - JB4 - E30 - xHP Stage 3 - Strongflex tension bushings - Whiteline RSFB - UUC rear swaybar
|
|
Appreciate
0
|
Bookmarks |
|
|