Closed loop boost control / map sw

It's all about the code!
Post Reply
atntpt
Posts: 74
Joined: Tue Apr 17, 2018 8:21 pm
Soldering skill: yes
Coding skill?: yes

Closed loop boost control / map sw

Post by atntpt » Thu Apr 11, 2019 1:58 pm

I guess it could be achived with FISO (the idea behind map sw is just a switch that increases the max boost levels and allow higher map cels not another map ,dispite that would be even better)
Can anyone help me with the fórmulas , I've tried to understand how to but some help is very welcome !

User avatar
russian
Site Admin
Posts: 9592
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: Closed loop boost control / map sw

Post by russian » Thu Apr 11, 2019 2:02 pm

FSIO can do switch and FSIO can do table-based PID closed loop. Adjusting PID target by switch would need a small change to allow PID not targeting just a table but targeting a formula which would include a table.

But let's begin from the beginning, please help me understand what exactly is the feature supposed to be doing. What are the sensors involved, what are the actuators involved and what is the logic?
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

atntpt
Posts: 74
Joined: Tue Apr 17, 2018 8:21 pm
Soldering skill: yes
Coding skill?: yes

Re: Closed loop boost control / map sw

Post by atntpt » Thu Apr 11, 2019 9:13 pm

The idea is to have 2 driving modes , one more agressive than the other. 2 different ve and ign maps I know is not possible so I thought in having the same maps just switching between boost target and reach higher loads where the map can be less conservative.

User avatar
russian
Site Admin
Posts: 9592
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: Closed loop boost control / map sw

Post by russian » Thu Apr 11, 2019 9:26 pm

lets try again

please do not mix goals and ways to achieve goals

please tell me what is boost target. how to you measure and control. i never had forced induction in my life you need to educate me if you please can.
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

atntpt
Posts: 74
Joined: Tue Apr 17, 2018 8:21 pm
Soldering skill: yes
Coding skill?: yes

Re: Closed loop boost control / map sw

Post by atntpt » Thu Apr 11, 2019 9:47 pm

I'm sorry, so from the beginning turbos have a Westgate, basically a bypass valve. This value is vacuum /pressure controlled but inline with that there is a solenoid that allows to control how much we want the value to Open. Therefore a boost pressure target can be controlled this mean different power levels depending on how much boost you are targeting . What I wanted was a way to Target to a table is boost levels pid controlled and a way to change to other boost target table, if impossible just a add value on top of the existing table.

User avatar
russian
Site Admin
Posts: 9592
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Soldering skill: yes
Coding skill?: yes
Contact:

Re: Closed loop boost control / map sw

Post by russian » Thu Apr 11, 2019 10:09 pm

I hope that one day someone would step forward and work on this code. I can help with advice but I cannot focus on this :(
https://rusefi.com/s/howtocontribute
very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions
my skype is arro239

User avatar
kb1gtt
contributor
contributor
Posts: 3440
Joined: Tue Sep 10, 2013 1:42 am
Location: ME of USA
Contact:

Re: Closed loop boost control / map sw

Post by kb1gtt » Thu Apr 11, 2019 10:34 pm

I'm not seeing a need for multiple tables. If you increase boost, then you get into that region, if you do not, then you simply hang out at the lower parts of the table. I think that how aggressive your boost is, will not effect your VE significantly. Your plumbing and such is all the same. Do you expect VE to change based on how aggressive the boost is?

I see the list of request like this.

-- PID control loop, which take in pressure measurement(s) and controls waste gate such that the turbo is controlled to a particular boost pressure.
-- Switch controlled boost level, perhaps analog control, but basically race boost vs daily drive boost. Basically the target of the above PID control loop, should be adjustable.
-- Table switching, such that you can switch tables with a switch, or perhaps a joystick and the LCD.

Does that sound about correct for the list of desired features?
Welcome to the friendlier side of internet crazy :)

ZHoob2004
contributor
contributor
Posts: 145
Joined: Sun Apr 03, 2016 7:11 pm

Re: Closed loop boost control / map sw

Post by ZHoob2004 » Thu Apr 11, 2019 11:58 pm

kb1gtt wrote:
Thu Apr 11, 2019 10:34 pm

-- Switch controlled boost level, perhaps analog control, but basically race boost vs daily drive boost. Basically the target of the above PID control loop, should be adjustable.
This part sounds really easy to accomplish with FSIO. As stated, as long as you're tuned for the whole range of maximum boost, your reduced boost value will still fall on a tuned portion of the table. Basically you just need a way to quickly change the boost control target pressure, which I'm not sure if that can be changed while running or if we even have decent boost control yet.

atntpt
Posts: 74
Joined: Tue Apr 17, 2018 8:21 pm
Soldering skill: yes
Coding skill?: yes

Re: Closed loop boost control / map sw

Post by atntpt » Fri Apr 12, 2019 5:02 am

I can't really understand FISO sintax but, a simple way to do it is to have only one table of boost target x axis " Request " from zero to 201 ( keep with me ) the y the RPM range . And then some expressions that
Like:
if switch on: request = TPS + 101
Else : request : TPS
( Target boost in kpa)
(Request)
201. 160. 200. 260
150. 150. 180. 200
101. 0. 0. 0
100. 140. 160. 200
50. 120. 130. 140
0. 0. 0. 0
3000 4000 5000. (RPM)

This way I could target for different depending on switch . About ve and ignition be the same.

atntpt
Posts: 74
Joined: Tue Apr 17, 2018 8:21 pm
Soldering skill: yes
Coding skill?: yes

Re: Closed loop boost control / map sw

Post by atntpt » Sat Apr 20, 2019 7:36 am

anyone?

Abricos
contributor
contributor
Posts: 711
Joined: Mon Aug 18, 2014 12:32 am

Re: Closed loop boost control / map sw

Post by Abricos » Sat Apr 20, 2019 12:38 pm

atntpt wrote:
Sat Apr 20, 2019 7:36 am
anyone?
???

Post Reply