NefMoto

Noob Zone => Noob Questions => Topic started by: majorahole on June 04, 2015, 11:34:37 AM



Title: Ramp up PID
Post by: majorahole on June 04, 2015, 11:34:37 AM
trying to get my n75 DC to stay up a little bit longer. IMX isn't doing the job, so I'm thinking I have to adjust my PID. from what I read on s4 wiki, do I need to reduce Q2 a bit if adding to IMX doesn't do it.
can someone please confirm?
thanks!


Title: Re: Ramp up PID
Post by: nyet on June 04, 2015, 11:39:39 AM
Yes, reduce Q2 for large lde...


Title: Re: Re: Ramp up PID
Post by: majorahole on June 04, 2015, 12:14:21 PM
Yes, reduce Q2 for large lde...
ok thanks!!
I already tried a small adjustment of -0.5 and couldn't tell a difference. I'll try a little more


Title: Re: Re: Ramp up PID
Post by: nyet on June 04, 2015, 12:59:06 PM
ok thanks!!
I already tried a small adjustment of -0.5 and couldn't tell a difference. I'll try a little more

Make sure to log the D contribution to see what is going on. Typically, very large changes in Q2 are required to see anything (like >25% or more)


Title: Re:
Post by: majorahole on June 04, 2015, 01:07:57 PM
I haven't figured out how to log those variables yet for med9, mine is off about 150-170hpa so I changed the 100 & 200, I'll go a bit more then.
thank you again!


Title: Re:
Post by: majorahole on June 10, 2015, 08:02:44 AM
so went up to 35% and I'm makeing even less boost at peak then before.
maybe I m not understanding how this works, the are the PIDs used, let say, when I'm wot from a stop going through the gears? or when cruising 60mph in 6th gear and I got wot and boost builds up quick?


Title: Re:
Post by: nyet on June 10, 2015, 09:49:46 AM
so went up to 35% and I'm makeing even less boost at peak then before.
maybe I m not understanding how this works, the are the PIDs used, let say, when I'm wot from a stop going through the gears? or when cruising 60mph in 6th gear and I got wot and boost builds up quick?

Stop what you are doing. Do not go any further until you understand how PIDs work.

Also, you really should be posting logs.


Title: Re:
Post by: majorahole on June 10, 2015, 09:56:59 AM
whoops, meant -35%.
anyways it doesn't seem like anyone knows?? can't find any type if thread with actual info, I found a link to the Wikipedia on PID, but that's more confusing as it doesn't translate to what we're doing here with. at least not how I am understanding it. could u maybe give a link?


Title: Re:
Post by: nyet on June 10, 2015, 10:05:10 AM
anyways it doesn't seem like anyone knows??

/rolls eyes

Quote
can't find any type if thread with actual info, I found a link to the Wikipedia on PID, but that's more confusing as it doesn't translate to what we're doing here with. at least not how I am understanding it. could u maybe give a link?

Explaining PIDs is beyond the scope of this forum...

Post logs, or there is no point to this discussion.


Title: Re: Re:
Post by: majorahole on June 10, 2015, 11:21:20 AM
/rolls eyes

Explaining PIDs is beyond the scope of this forum...

Post logs, or there is no point to this discussion.
why?
you can't understand that I'm trying to keep 95% WG duty cycle a little longer?? logs are going to help how???


Title: Re: Re:
Post by: nyet on June 10, 2015, 11:25:08 AM
why?

Not sure which statement you are referring to.

1) It requires significant effort on the part of the noob to even get started understanding PIDs... stuff that can't be spoon fed in a simple howto (which would no doubt get ignored anyway). You yourself can't be bothered to understand how the WP article applies to WG control, something that should be pretty obvious.

or

2) should be obvious why



Title: Re:
Post by: majorahole on June 10, 2015, 11:25:51 AM
there was supposed to be more there, idk why it wasn't


Title: Re: Re:
Post by: nyet on June 10, 2015, 11:26:40 AM
you can't understand that I'm trying to keep 95% WG duty cycle a little longer?? logs are going to help how???

Without seeing EXACTLY what is preventing your WG from being 95%, there is no way to tell you how to keep your WG 95% longer.


Title: Re:
Post by: majorahole on June 10, 2015, 11:28:18 AM
its not, you'll see my WG DC dips and I want it to stay?? I have no other parameters that I can log to help


Title: Re:
Post by: majorahole on June 10, 2015, 11:39:56 AM
its med9, I don't have a way to log those other variables.
that's why I'm just trying here and there.
could you tell me under what circumstances would one adjust Q0 or Q1??


Title: Re:
Post by: nyet on June 10, 2015, 11:41:09 AM
its med9, I don't have a way to log those other variables.
that's why I'm just trying here and there.
could you tell me under what circumstances would one adjust Q0 or Q1??

There are no shortcuts here. You have to understand PIDs.


Title: Re:
Post by: majorahole on June 10, 2015, 11:48:03 AM
maybe that's a better way for me to understand, u get it? like working backwards in math when having the answer to begin with, I find it easier to figure out how to get there


Title: Re: Ramp up PID
Post by: nyet on June 10, 2015, 11:49:43 AM
Again, without logs, there is no context.

We don't need all the pid variables, just as much as you have for now.


Title: Re: Ramp up PID
Post by: majorahole on June 11, 2015, 07:24:46 AM
here's the last log i took with Q2 lowered


Title: Re: Ramp up PID
Post by: nyet on June 11, 2015, 10:03:01 AM
That looks fine.


Title: Re:
Post by: majorahole on June 11, 2015, 10:09:26 AM
I never hit requested till later on? I know its not bad, just wanted to get to my requested. I suppose it might not be possible


Title: Re: Ramp up PID
Post by: nyet on June 11, 2015, 10:19:32 AM
more IMX then, but eventually you'll overshoot.

I doubt Q2 is the issue; your IMX could still be too low.


Title: Re: Ramp up PID
Post by: majorahole on June 11, 2015, 11:25:51 AM
i've gone all the way to 95, but then in higher gears in that range, if i go WOT i overshoot like crazy


Title: Re: Ramp up PID
Post by: nyet on June 11, 2015, 11:28:15 AM
Then you'll have to be careful and try to balance Q2 and IMX.

It isn't easy to do.

IMX should be more or less the steady state dc needed for the boost you want.

Q2 is there to prevent overshoot.


Title: Re:
Post by: majorahole on June 11, 2015, 11:33:14 AM
but when I go up in IMX it still doesn't add any WG DC... I'm not sure if I've gone to 95 all the way up to 3000rpm tho, now that I think of it.
so you think I should try IMX at 95 up to 3000rpm just to see if that helps, and then tame the high gear overshoot with Q2? just to start? then maybe come down with IMX to have less Q2?


Title: Re:
Post by: nyet on June 11, 2015, 11:38:08 AM
but when I go up in IMX it still doesn't add any WG DC... I'm not sure if I've gone to 95 all the way up to 3000rpm tho, now that I think of it.
so you think I should try IMX at 95 up to 3000rpm just to see if that helps, and then tame the high gear overshoot with Q2? just to start? then maybe come down with IMX to have less Q2?

Absolutely not. IMX has nothing to do with the "95" thing.

IMX has to do with where the DC settles after Q2 approaches 0.

You are really not understanding how the PID works :(

Again, it is a complex topic and unless you have at least a little bit of theoretical background, the idea that you are going to figure out PIDs empirically is a pipe dream.


Title: Re: Ramp up PID
Post by: Beaviz on June 11, 2015, 01:09:27 PM
The issue might also be that the stock axis on KFLDIMX on K03 equipped MED9 cars only goes to 1000mbar. Change the axis and the values accordingly and you will have much better control when you reach the requested boost.


Title: Re:
Post by: majorahole on June 11, 2015, 01:31:25 PM
the only info I could find for IMX was "i-limiter" and "steady state WG duty cycle" in my logs and testing neither of those definitions were accurate.
so IMX is WG DC after error corrections are back to 0?


Title: Re: Re: Ramp up PID
Post by: majorahole on June 11, 2015, 01:32:28 PM
The issue might also be that the stock axis on KFLDIMX on K03 equipped MED9 cars only goes to 1000mbar. Change the axis and the values accordingly and you will have much better control when you reach the requested boost.
thank you, I will try and raise that axis a bit


Title: Re:
Post by: nyet on June 11, 2015, 06:24:14 PM
the only info I could find for IMX was "i-limiter" and "steady state WG duty cycle" in my logs and testing neither of those definitions were accurate.
That sentence means nothing.

Quote
so IMX is WG DC after error corrections are back to 0?

Also pure gibberish.

IMX is the predominating factor during steady state after i windup on spool once the D and P contributions go to zero. Obviously, it goes through LDRL first.


Title: Re: Re: Ramp up PID
Post by: nyet on June 11, 2015, 06:26:45 PM
thank you, I will try and raise that axis a bit

It won't do any good unless you are actually taking that axis into account when adjusting IMX.


Title: Re: Ramp up PID
Post by: nyet on June 11, 2015, 07:19:45 PM
Also see here:

http://nefariousmotorsports.com/forum/index.php?topic=6695.msg75791#msg75791


Title: Re: Ramp up PID
Post by: spacey3 on June 12, 2015, 03:13:49 AM
Also see here:

http://nefariousmotorsports.com/forum/index.php?topic=6695.msg75791#msg75791

Although I'm not contributing anything to this thread, the explanations you've given there are by far the best I've seen in layman's terms!

Would that be worth adding to the wiki where Q2 is spoken about?


Title: Re:
Post by: majorahole on June 12, 2015, 08:19:53 AM
well


Title: Re: Ramp up PID
Post by: majorahole on June 12, 2015, 08:24:25 AM
I realize imx will need modified taking the new axis into consideration


Title: Re: Re: Ramp up PID
Post by: majorahole on June 12, 2015, 08:34:33 AM
Also see here:

http://nefariousmotorsports.com/forum/index.php?topic=6695.msg75791#msg75791
thank you for the link, that def makes things easier to understand.
I agree the wiki needs and update!


Title: Re: Ramp up PID
Post by: majorahole on June 12, 2015, 11:24:08 AM
we need to get our hand on PID tuning software...im gonna start looking around for something that might fit our needs


Title: Re: Ramp up PID
Post by: nyet on June 12, 2015, 02:57:23 PM
The ME7 gaim scheduling is extremely complex, and  youd need an engine dyno to automate it.


Title: Re: Re: Ramp up PID
Post by: majorahole on June 13, 2015, 05:10:21 PM
The ME7 gaim scheduling is extremely complex, and  youd need an engine dyno to automate it.
well shit


Title: Re:
Post by: majorahole on June 16, 2015, 09:52:19 AM
might have a hardware issue, probably another leak. ugh