MEGAsquirt A place to collectively sort out this megasquirt gizmo

Closed Loop Boost Control Issues

Thread Tools
 
Search this Thread
 
Old 05-18-2024, 04:15 PM
  #1  
Junior Member
Thread Starter
 
tfbmiata's Avatar
 
Join Date: Jun 2023
Posts: 139
Total Cats: 1
Default Closed Loop Boost Control Issues

Hi All - I have an nb2 w/ a goal of 170kpa. I've been trying to tweak out a closed loop setup based on the information I've found here. I'm attaching my recent tune/logs. The issue I'm having is the 'basic' setup is still overshooting by quite a bit. My aim is 170kpa and my boost cut is 185kpa. I moved the slider bar all the way down to 150 for sensitivity, but I decided to stop as I've seen others post their setup of 250+ and they said theirs gets up to PSI and just stays without overshoot. Is it as easy as continuing to reduce the sensitivity slider?

When I go back to open loop it seems that depending on the heat soak of the engine, a 36% duty cycle will get my 170kpa or sometimes need a 40% duty cycle for the same. That is why I'm trying to get closed loop working. So anyhow, hopefully, that's enough info. I'm attaching my log and setup if anyone can help me figure out why I'm still overshooting by so much.

EDIT: Anyone ever thought about putting the boost controller in the area between engine bay and firewall? I have it tucked up under the driver's headlight and its still getting to 170F. I noticed the only "cold spot" is that place where I stick my ratchet between outside of the engine bay before it gets to the windshield. Hopefully I'm describing that location right? It was only like 95F after about an hour of street tuning.
Attached Files
File Type: msq
2024-05-18_16.08.31.msq (286.3 KB, 8 views)
File Type: mlg
2024-05-18_16.00.55.mlg (695.8 KB, 8 views)
tfbmiata is offline  
Old 05-20-2024, 12:58 PM
  #2  
Junior Member
 
Watterson02's Avatar
 
Join Date: Dec 2019
Location: Kingsport, Tennessee
Posts: 237
Total Cats: 44
Default

I couldn't get the basic control to work without fluctuations. Maybe it would work if you keep reducing the gain slider, but I still don't think the results would be optimal. It is my understanding that basic just sets the PID gain values to 100/100/100.
Watterson02 is offline  
Old 05-20-2024, 01:05 PM
  #3  
Junior Member
Thread Starter
 
tfbmiata's Avatar
 
Join Date: Jun 2023
Posts: 139
Total Cats: 1
Default

Originally Posted by Watterson02
I couldn't get the basic control to work without fluctuations. Maybe it would work if you keep reducing the gain slider, but I still don't think the results would be optimal. It is my understanding that basic just sets the PID gain values to 100/100/100.
I meant to update my thread over the weekend. I did eventually get basic to work. I had to reduce my bias duty table quite a bit lower than my open loop table and also ended up changing my boost target table (which I'm sure was also wrong) and reduced sensitivity quite a bit. I essentially have closed loop turn on close enough. My target is 170kpa and I would see it get as high as 175 to 180 and then drop to about 165 and then zero in. I'm sure I could tweak that out further. I here's my last tune and log for anyone curious. I'd give it a B+ or A-. I will lastly admit that while the car and oil were nice and warm, the boost controller itself (EBC Mac) didn't see nearly the temperatures it usually does when I'm done tuning (usually 175F but only was about 120F). This might have contributed to why I needed to reduce the boost bias duty table so much, but again once I did everything worked pretty grand. I'm going to be relocating to the EBC to the gap between the firewall and the cable below the windshield this week to see if I can keep the temperature range on the EBC much narrower.
Attached Files
File Type: mlg
2024-05-18_19.37.32.mlg (786.6 KB, 8 views)
File Type: msq
CurrentTune.msq (286.3 KB, 6 views)
tfbmiata is offline  
Old 05-22-2024, 10:17 AM
  #4  
Junior Member
Thread Starter
 
tfbmiata's Avatar
 
Join Date: Jun 2023
Posts: 139
Total Cats: 1
Default

Originally Posted by Watterson02
I couldn't get the basic control to work without fluctuations. Maybe it would work if you keep reducing the gain slider, but I still don't think the results would be optimal. It is my understanding that basic just sets the PID gain values to 100/100/100.
So right now on basic,I'm at about 80 on the sensitivity. My boost target is 170kpa and the closed loop turns on at 25kpa range. I noticed that the initial spool up is fast and then I over shoot to about 175 to 180kpa and then it comes back down to about 165 until it evens out. Does that sound reasonable?
tfbmiata is offline  
Old 05-22-2024, 10:37 AM
  #5  
Junior Member
 
redursidae's Avatar
 
Join Date: Aug 2019
Posts: 236
Total Cats: 66
Default

Yes, that's reasonable. You could try a higher delta, 30 or 35 kPa, and see if it gets you closer.
redursidae is offline  
Old 05-22-2024, 11:18 AM
  #6  
Junior Member
Thread Starter
 
tfbmiata's Avatar
 
Join Date: Jun 2023
Posts: 139
Total Cats: 1
Default

Originally Posted by redursidae
Yes, that's reasonable. You could try a higher delta, 30 or 35 kPa, and see if it gets you closer.
Is it fundamentally possible to have it quickly come up to boost and then flat line at your limit or would I be chasing a pipe dream?
tfbmiata is offline  
Old 05-22-2024, 11:27 AM
  #7  
Junior Member
 
redursidae's Avatar
 
Join Date: Aug 2019
Posts: 236
Total Cats: 66
Default

Yes, in theory. But in practice, you’ll get it perfect for one day, at a certain altitude and temperature, and it’ll behave differently another day at different temperature and altitude. That’s why closed-loop is a thing. If it’s close and it’s consistent, I would say leave it alone.
redursidae is offline  
Old 05-22-2024, 11:27 AM
  #8  
Junior Member
 
Watterson02's Avatar
 
Join Date: Dec 2019
Location: Kingsport, Tennessee
Posts: 237
Total Cats: 44
Default

One might argue that you could get closer to what you're describing by actually tuning the PID gain values, but if you want the valve to stay completely shut until it is right at the target pressure for theoretically perfect spool then yeah I believe yeah that might be a pipe dream. Maybe if you had an actual electronically controlled wastegate, but I doubt it with a pneumatic one. It should already be better than the Open Loop though, so at least there is that. If you do go and decide to tune the PID terms, make sure to back up your current tune.
Watterson02 is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
HeresJohnny
MEGAsquirt
17
05-17-2024 09:57 AM
ninjassassin167
MEGAsquirt
1
08-27-2023 08:53 PM
adamost.nz
MEGAsquirt
0
03-07-2019 07:51 PM
Chiburbian
MEGAsquirt
6
08-16-2013 10:58 AM
wolfram
MSPNP
8
11-29-2012 11:29 PM



Quick Reply: Closed Loop Boost Control Issues



All times are GMT -4. The time now is 01:27 AM.