Build Threads Building a motor? Post the progress here.

TSE EFR NB2 Build Thread

Thread Tools
 
Search this Thread
 
Old 02-09-2017, 08:46 AM
  #381  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

It's not. It's a completely different tuning strategy. The bias duty table needs to be tuned on its own using setup mode.
aidandj is offline  
Old 02-09-2017, 08:48 PM
  #382  
Elite Member
iTrader: (1)
 
Chiburbian's Avatar
 
Join Date: Feb 2008
Location: Loganville, GA
Posts: 2,331
Total Cats: 202
Default

Please post your most recent MSQ. The last version I found in this thread didn't even have boost control enabled.

Comparing your v.3 and your 95% duty cycle log shows me that you have a whole bunch of 60% duty cycle stuff going on. I am guessing your "bias" table is full of 60s, AND you are probably on setup mode with a boost control lower limit delta of 30 or so?
Chiburbian is offline  
Old 02-09-2017, 09:01 PM
  #383  
Elite Member
Thread Starter
 
icantlearn's Avatar
 
Join Date: Sep 2015
Location: San Jose, CA
Posts: 1,939
Total Cats: 117
Default

Current tune v2.msq
icantlearn is offline  
Old 02-09-2017, 09:40 PM
  #384  
Elite Member
iTrader: (1)
 
Chiburbian's Avatar
 
Join Date: Feb 2008
Location: Loganville, GA
Posts: 2,331
Total Cats: 202
Default

Ok, a few things I noticed.

You are running open loop so "lower limit delta" doesn't apply.

I see this though...


See all those rows of 100%? Those are wasted. At MOST you want one row of 100% (and I am pretty sure you don't even need it).

Re-scale your open loop map similar to my bias table. You can't reach decent boost until about 3000 anyhow so that should be your first row. (you can re-scale the table by clicking on the little two arrow icon on the bottom left of the table).


My current bias table.
++++++


What is your boost target? Nothing wrong with starting with open loop but you need to flesh it out a bit. By looking at your logs, 60% duty cycle at 4,500 is about 11psi. Start raising your 100% throttle duty cycles prior to 4500 and see if you can hit 11psi earlier.
Chiburbian is offline  
Old 02-09-2017, 09:41 PM
  #385  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

Afaik you do need a row of 100 otherwise it will use your first value anytime it's off the table
aidandj is offline  
Old 02-09-2017, 09:58 PM
  #386  
Elite Member
iTrader: (1)
 
Chiburbian's Avatar
 
Join Date: Feb 2008
Location: Loganville, GA
Posts: 2,331
Total Cats: 202
Default

Yeah, probably for open loop.

id set a row of 100 at 3,200 and maybe go approximately every 500 rpm until about 5500 then maybe 750 until 7,000.

how about: 3,200 ; 3,500 ; 4,000 ; 4,500 ; 5,000 ; 5,500 ; 6,250 ; 7,000
Chiburbian is offline  
Old 02-09-2017, 10:07 PM
  #387  
Elite Member
Thread Starter
 
icantlearn's Avatar
 
Join Date: Sep 2015
Location: San Jose, CA
Posts: 1,939
Total Cats: 117
Default

Originally Posted by Chiburbian
What is your boost target? Nothing wrong with starting with open loop but you need to flesh it out a bit. By looking at your logs, 60% duty cycle at 4,500 is about 11psi. Start raising your 100% throttle duty cycles prior to 4500 and see if you can hit 11psi earlier.
First, thank you for your help. I appreciate it.

Im shooting for 10-10.5 psi. The 11psi is because the last time I messed with the duty table it was warmer out so I didn't account for the temp change which made more boost.

Im a little confused when you say "Start raising your 100% throttle duty cycles prior to 4500 and see if you can hit 11psi earlier." because if 100% is all the way closed on the EBC, how will it spool up any faster than it is?
icantlearn is offline  
Old 02-09-2017, 10:16 PM
  #388  
Elite Member
iTrader: (1)
 
Chiburbian's Avatar
 
Join Date: Feb 2008
Location: Loganville, GA
Posts: 2,331
Total Cats: 202
Default

On your open loop screen the y axis is throttle open percentage.

rescale your table so that you have one row of 100% duty all the way from 0% throttle until 100%.

Then, set the 100%-80% throttle values at each rpm increment to 60 to start if it's not already. do this until about 5,500 rpm on the table. Then, do a pull. Increase the 100%-80% throttle duty cycles by 3% or so until you hit 11 psi in that rpm range on the street. If it goes a bit too high, pull some duty cycle percentage.
Chiburbian is offline  
Old 02-09-2017, 10:36 PM
  #389  
Elite Member
Thread Starter
 
icantlearn's Avatar
 
Join Date: Sep 2015
Location: San Jose, CA
Posts: 1,939
Total Cats: 117
Default

Originally Posted by Chiburbian
On your open loop screen the y axis is throttle open percentage.

rescale your table so that you have one row of 100% duty all the way from 0% throttle until 100%.

Then, set the 100%-80% throttle values at each rpm increment to 60 to start if it's not already. do this until about 5,500 rpm on the table. Then, do a pull. Increase the 100%-80% throttle duty cycles by 3% or so until you hit 11 psi in that rpm range on the street. If it goes a bit too high, pull some duty cycle percentage.
Perfect! Thank you so much. This made 100% sense.

Now, once I have the 80-100% dialed in, I just fade it down to 0% correct?

I still need to find my Min and Max DC% too.
icantlearn is offline  
Old 02-09-2017, 11:59 PM
  #390  
Senior Member
iTrader: (6)
 
yossi126's Avatar
 
Join Date: Sep 2013
Posts: 854
Total Cats: -15
Default

Here's how mine looks like. I reach my target 14 psi at 2900 rpm, so I am catching it a bit earlier. 80-100% throttle afterwards is just to maintain your target. All other values is for spool up and response in everyday driving. Bear in mind that your turbo may need different numbers to maintain target. Volvo turbos for example need lower duty cycles as rpm increases.

yossi126 is offline  
Old 02-10-2017, 12:07 AM
  #391  
Elite Member
Thread Starter
 
icantlearn's Avatar
 
Join Date: Sep 2015
Location: San Jose, CA
Posts: 1,939
Total Cats: 117
Default

Keep in mind that I am bottle necking my exhaust right now with the stock 2.25" mid pipe. I can't afford a full 3" system at the moment and I am still undecided on what mufflers and whatnot I want to get. So Im sure that is a huge reason why my spool is *** right now.

That was kind of random but for those of you who didnt know and were wondering why it was spooling up so late thats why. Well, at least a big part of the reason.
icantlearn is offline  
Old 02-10-2017, 12:09 AM
  #392  
Elite Member
Thread Starter
 
icantlearn's Avatar
 
Join Date: Sep 2015
Location: San Jose, CA
Posts: 1,939
Total Cats: 117
Default

Originally Posted by yossi126
Here's how mine looks like. I reach my target 14 psi at 2900 rpm, so I am catching it a bit earlier. 80-100% throttle afterwards is just to maintain your target. All other values is for spool up and response in everyday driving.
So how did you figure out what numbers to put in the middle of the table. Like, what were you looking for in your logs?
icantlearn is offline  
Old 02-10-2017, 05:56 AM
  #393  
Elite Member
iTrader: (1)
 
Chiburbian's Avatar
 
Join Date: Feb 2008
Location: Loganville, GA
Posts: 2,331
Total Cats: 202
Default

Go full throttle and dial it in to reach 10.5psi or whatever. Write down those numbers. Then lower the duty cycles to hit 8psi for example. Once you have those numbers, paste them into the 60-70% throttle areas and bring back your 10.5psi numbers. It's not going to be perfect but the idea is to have gradually more boost with more throttle.
Chiburbian is offline  
Old 02-10-2017, 06:26 AM
  #394  
Senior Member
iTrader: (6)
 
yossi126's Avatar
 
Join Date: Sep 2013
Posts: 854
Total Cats: -15
Default

Originally Posted by MiataMan00
Keep in mind that I am bottle necking my exhaust right now with the stock 2.25" mid pipe. I can't afford a full 3" system at the moment and I am still undecided on what mufflers and whatnot I want to get. So Im sure that is a huge reason why my spool is *** right now.

That was kind of random but for those of you who didnt know and were wondering why it was spooling up so late thats why. Well, at least a big part of the reason.
As rpm increases, less duty was needed. For example going 3000 rpm having 100% duty cycle means I want the turbo to spool fast because flow to the turbo is at a lower level. The turbo easily spins by 4000, so high duty there and your turbo will spool so quick you will overshoot your target.
yossi126 is offline  
Old 02-10-2017, 09:08 AM
  #395  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

Why are you spending so much time on open loop. Start with closed loop.
aidandj is offline  
Old 02-10-2017, 09:39 AM
  #396  
Elite Member
iTrader: (1)
 
Chiburbian's Avatar
 
Join Date: Feb 2008
Location: Loganville, GA
Posts: 2,331
Total Cats: 202
Default

Originally Posted by aidandj
Why are you spending so much time on open loop. Start with closed loop.
^^ my overall feeling as well.

the only reason I didn't say anything was because you could take your open loop numbers to reach "x" boost and use them to start to populate bias table.
Chiburbian is offline  
Old 02-10-2017, 09:44 AM
  #397  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

Which you can also do using setup mode
aidandj is offline  
Old 02-10-2017, 11:19 AM
  #398  
Elite Member
iTrader: (1)
 
Chiburbian's Avatar
 
Join Date: Feb 2008
Location: Loganville, GA
Posts: 2,331
Total Cats: 202
Default

The guy was looking for help setting up his boost. If we are going to tell him to set up closed loop boost maybe it would be helpful to actually help him? I don't know exactly the best way to set up a bias table. I kinda fumbled around until I got something that kinda works.

Here is a my best effort:
- Change mode from "open loop" to closed loop.
- Set "Lower limit delta" to something like 30kpa
- Make sure you are on "setup" mode rather than "basic" or "advanced"
- Open boost targets table in the boost control menu. Your x-axis is RPM. Set that to be something close to the same RPM numbers I gave earlier. Your y-axis is throttle position.
- For now, set 80-100% throttle to be 150kpa.
- Open your "boost bias" table in the boost menu. Your x-axis is again RPM. Set it to the same RPM increments as before. Your y-axis is KPA target.
- for now, set up the y-axis to start at 150kpa and go up in 10kpa increments. We can always re-interpolate later but that will get us started.
- For EVERY cell in the map at 170kpa and above set the duty to 60% We "kinda" know that it's a decent starting point so we can at least do that.
- For 150 and 160kpa rows, set duty to something low like 30%.

Now, what will happen when you accelerate at full throttle is that the ecu will look at the boost target table and see that your target is 150kpa. The ECU will keep the boost controller at 100% duty until the car gets to 120kpa (boost target minus lower limit delta). Once it gets to 120kpa, the ECU will look to what the boost duty cycle should be on the boost bias table. That may or may not achieve your target 150kpa.

What your goal is now, is to do full throttle runs, adjusting the boost bias table in the 150kpa row to ACTUALLY achieve 150kpa.

Once you get close, Change your boost target map so that 80-100% throttle targets 160kpa. Repeat the above procedure. When done, do the same for 170kpa.

Once your boost bias table is complete you can switch over from "setup" mode to "basic" mode or do whatever everyone else here suggests. I am NOT an expert at closed loop. I am still muddling around with it, but the above proceedure should get you close and is necessary to move on to basic and advanced modes.
Chiburbian is offline  
Old 02-10-2017, 11:28 AM
  #399  
SADFab Destructive Testing Engineer
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

Some links.

Here is where I discuss how to tune the new boost control setup with the guy who developed it: Megasquirt Support Forum (MSEXTRA) ? Tuning Boost Control With Bias Table (View topic)

Some good talk in Sav's build thread: https://www.miataturbo.net/build-thr...2/#post1278738

And where I answer some more questions: https://www.miataturbo.net/megasquir...stumped-86557/

Read those 3 threads and then come back and ask more questions.

Chiburbian posted some good info. But I'd like to add one thing.

Now, what will happen when you accelerate at full throttle is that the ecu will look at the boost target table and see that your target is 150kpa. The ECU will keep the boost controller at 100% duty until the car gets to 120kpa (boost target minus lower limit delta). Once it gets to 120kpa, the ECU will look to what the boost duty cycle should be on the boost bias table. That may or may not achieve your target 150kpa.
The ECU will be looking at the bias duty table any time you are above the boost target minus lower limit delta. This allows you to handle cases where you need more duty to keep the boost flat as rpm's rise. And it also takes some load off of the PID calculations.

In setup mode your Boost Duty will follow the bias table exactly, so get it nailed down there, then switch to Basic mode.

In 1.4 PID is only used to correct for changes in weather or other small factors, the bias duty table handles the mechanical changes that require different amounts of duty.
aidandj is offline  
Old 02-10-2017, 07:19 PM
  #400  
Elite Member
Thread Starter
 
icantlearn's Avatar
 
Join Date: Sep 2015
Location: San Jose, CA
Posts: 1,939
Total Cats: 117
Default

You guys are awesome. Thank You both for your help.

Chiburbian, you dun good. You explained everything to me like I was 5. And thats exactly what I needed. Thank you.
icantlearn is offline  


Quick Reply: TSE EFR NB2 Build Thread



All times are GMT -4. The time now is 10:44 PM.