jaheem
Jr. Member
Karma: +0/-0
Offline
Posts: 40
|
|
« on: July 30, 2012, 01:06:56 PM »
|
|
|
hey... can anybody explain me how to calibrate PI controller for lambda closed loop. I m stuck with functions like kfrp, kfrap, framp, tramp and I am clueless.. can somebody explain all the functions and variables of Lambda controller PID...
|
|
|
Logged
|
|
|
|
Bische
|
|
« Reply #1 on: September 28, 2012, 12:56:07 PM »
|
|
|
I am currently trying to understand and tune the lambda PID, I have adjusted Y2MAX some(I gain max limit) with limited success and I feel I need to get a better grasp of which maps to focus on. My "problem" is that the o2 correction sways too much, 5% back and forth, and that 5% seems to be fixed and doesnt change from what I can see from my logs? This might be ideal with stock injectors but with 1000cc injectors it causes actual to sway over and under setpoint, going from 0.96-1.03 back and forth: I have noticed in the FR that Y2MIN is mentioned in the basic application values, but not in the diagrams.. Then I noticed in my binary there is a 16bit value after Y2MAX that very likely could be Y2MIN, but I have not found this value defined in any other damos I have, it is just left out. Anyone have any hints or tips on this?
|
|
« Last Edit: September 28, 2012, 01:13:00 PM by Bische »
|
Logged
|
|
|
|
Bische
|
|
« Reply #2 on: September 29, 2012, 04:12:43 AM »
|
|
|
I have been reading more(finding myself reading the german FR more and more) and believe I have found out which map to tune regarding this, LRSZAML - Zwangsamplitude bei ML OR Forced amplitude based on mass flow for LRS, lol Im having a look at this when get home, FR on the phone FTW
|
|
|
Logged
|
|
|
|
Bische
|
|
« Reply #3 on: September 29, 2012, 05:18:17 AM »
|
|
|
I have been reading more(finding myself reading the german FR more and more) and believe I have found out which map to tune regarding this, LRSZAML - Zwangsamplitude bei ML OR Forced amplitude based on mass flow for LRS, lol Im having a look at this when get home, FR on the phone FTW As I understand my stock LRSZAML, it forces o2 correction ~2.6% in each way over and under setpoint at low airflows(about 80kg/h) and up to ~3.5% each way on medium airflows(120-360 something kg/h) and goes down as airflow increases further. I have revised this now and going for a log to verify.
|
|
« Last Edit: September 29, 2012, 06:24:16 AM by Bische »
|
Logged
|
|
|
|
matchew
|
|
« Reply #4 on: September 29, 2012, 06:05:20 AM »
|
|
|
I think those figures or overly large.
|
|
|
Logged
|
|
|
|
Bische
|
|
« Reply #5 on: September 29, 2012, 06:26:49 AM »
|
|
|
I think those figures or overly large.
I edited my post as I brainfarted and wrote 7% when I meant 3.5%. Application notes suggests 3%.
|
|
« Last Edit: September 29, 2012, 06:30:34 AM by Bische »
|
Logged
|
|
|
|
matchew
|
|
« Reply #6 on: September 29, 2012, 12:44:16 PM »
|
|
|
I have revised this now and going for a log to verify.
What did you find?
|
|
|
Logged
|
|
|
|
Bische
|
|
« Reply #7 on: September 29, 2012, 01:45:15 PM »
|
|
|
What did you find?
On the phone so I cant post no graphs, but the logs verifyed my theory. I got the sway down from 5% total to 2.5% total I will post a graph and a screenshot of what I did later or tomorrow, having a romantic evening with the wife lol
|
|
|
Logged
|
|
|
|
|
Bische
|
|
« Reply #9 on: October 01, 2012, 11:37:57 AM »
|
|
|
Can someone explain why there is a forced amplitude?
Is it something emissions related or is it required for the PID to work?
EDIT: I may add, as I understand the FR it is for testing the cat converters function. Im going to try turn of the forced amplitude completely via CLRS.
|
|
« Last Edit: October 01, 2012, 11:58:32 AM by Bische »
|
Logged
|
|
|
|
ABCD
Full Member
Karma: +4/-0
Offline
Posts: 78
|
|
« Reply #10 on: October 01, 2012, 08:31:16 PM »
|
|
|
Can someone explain why there is a forced amplitude?
Is it something emissions related or is it required for the PID to work?
EDIT: I may add, as I understand the FR it is for testing the cat converters function. Im going to try turn of the forced amplitude completely via CLRS.
Yeah, thats right, forced fr amplitude is to get sine curve for actual lambda and hence operate catalyst at its optimum.
|
|
|
Logged
|
|
|
|
Bische
|
|
« Reply #11 on: October 01, 2012, 11:42:39 PM »
|
|
|
Yeah, thats right, forced fr amplitude is to get sine curve for actual lambda and hence operate catalyst at its optimum.
Thank you, I tried to disable it in CLRS bit2, but no avail. According to the FR setting CLRS bit2 should turn off b_za flag which enables the forced amplitude. I could zero the maps to disable the swings, but I would rather turn the whole function off. I need to go over that section again and manually translate, maybe I understood the CLRS wrong.
|
|
« Last Edit: October 03, 2012, 10:15:27 AM by Bische »
|
Logged
|
|
|
|
Bische
|
|
« Reply #12 on: October 03, 2012, 10:28:02 AM »
|
|
|
I was wrong about the CLRS bit2, setting bit2 will force b_za even if it isnt inited from LRSKA. The bit I need to change is CLRSKA bit0, and I think I have done so with no success. I must have the wrong address to CLRSKA, the one I have is 1A2BA but it seems off as its stock value is FF? My stock binary: http://nefariousmotorsports.com/forum/index.php?topic=1103.0
|
|
|
Logged
|
|
|
|
|