Finally my 1st (water cooled) turbo build
#321
SADFab Destructive Testing Engineer
iTrader: (5)
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Spent some time looking around. And I didn't come out with anything. There is a lot of Req_fuel mention. But I don't think its the user variable. I don't know how the req_fuel variable we can edit goes down into the code but there is a lot of calculation about req_fuel. So no answer yet.
#323
Elite Member
Thread Starter
iTrader: (6)
Join Date: Feb 2013
Location: A cave in Va
Posts: 3,395
Total Cats: 456
I am sending my MS to Brain. It needs a check up, just so I can be certain that it is working correctly. If it is, well then I'm dead in the water again.
New question for you guys. The V Band assemblyS that were sold to me with my ARtech downpipe and exhaust, have this little ring. It is the gasket I suppose. When I drop it into its slot, there is a small gap still between the two ends of the ring. Is this for thermal expansion? I just don't see it growing 1/8" . Wouldn't this just play games with the O2 sensor , these little leak paths?
New question for you guys. The V Band assemblyS that were sold to me with my ARtech downpipe and exhaust, have this little ring. It is the gasket I suppose. When I drop it into its slot, there is a small gap still between the two ends of the ring. Is this for thermal expansion? I just don't see it growing 1/8" . Wouldn't this just play games with the O2 sensor , these little leak paths?
#325
SADFab Destructive Testing Engineer
iTrader: (5)
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
This function calculates injector deadtime:
Code:
/************************************************************************** ** ** Calculation of Injector opening time. ** ** Uses a base time setting * correction curve from battery voltage ** ** **************************************************************************/ signed int calc_opentime(unsigned char inj_no) { int tmp1, tmp2, curve_no; // pick curve and lookup base opentime if (pin_dualfuel && (ram5.dualfuel_sw2 & 0x04) && (!(*port_dualfuel & pin_dualfuel))) { if ((inj_no < 8) && ((ram5.opentime2_opt[0] & 0x80) == 0)) { // shared settings from MS3X inj A inj_no = 0; } curve_no = ram5.opentime2_opt[(int)inj_no]& 0x03; tmp2 = ram5.inj2Open[inj_no]; } else { if ((inj_no < 8) && ((ram4.opentime_opt[0] & 0x80) == 0)) { // shared settings from MS3X inj A inj_no = 0; } curve_no = ram4.opentime_opt[(int)inj_no]& 0x03; tmp2 = ram5.injOpen[inj_no]; } // get correction %age tmp1 = intrp_1ditable(outpc.batt, 6, (int *) ram_window.pg10.opentimev, 0, (int *) &ram_window.pg10.opentime[curve_no][0], 10); if (tmp1 < 0) { tmp1 = 0; } else if (tmp1 > 5000) { tmp1 = 5000; } // scale __asm__ __volatile__ ( "emuls\n" "ldx #1000\n" "edivs\n" :"=y"(tmp1) :"d"(tmp1), "y"(tmp2) :"x" ); return tmp1; }
#327
This function calculates injector deadtime:
Code:
/************************************************************************** ** ** Calculation of Injector opening time. ** ** Uses a base time setting * correction curve from battery voltage ** ** **************************************************************************/ signed int calc_opentime(unsigned char inj_no) { int tmp1, tmp2, curve_no; // pick curve and lookup base opentime if (pin_dualfuel && (ram5.dualfuel_sw2 & 0x04) && (!(*port_dualfuel & pin_dualfuel))) { if ((inj_no < 8) && ((ram5.opentime2_opt[0] & 0x80) == 0)) { // shared settings from MS3X inj A inj_no = 0; } curve_no = ram5.opentime2_opt[(int)inj_no]& 0x03; tmp2 = ram5.inj2Open[inj_no]; } else { if ((inj_no < 8) && ((ram4.opentime_opt[0] & 0x80) == 0)) { // shared settings from MS3X inj A inj_no = 0; } curve_no = ram4.opentime_opt[(int)inj_no]& 0x03; tmp2 = ram5.injOpen[inj_no]; } // get correction %age tmp1 = intrp_1ditable(outpc.batt, 6, (int *) ram_window.pg10.opentimev, 0, (int *) &ram_window.pg10.opentime[curve_no][0], 10); if (tmp1 < 0) { tmp1 = 0; } else if (tmp1 > 5000) { tmp1 = 5000; } // scale __asm__ __volatile__ ( "emuls\n" "ldx #1000\n" "edivs\n" :"=y"(tmp1) :"d"(tmp1), "y"(tmp2) :"x" ); return tmp1; }
I have had no problem running my car with the correct req fuel settings with MS3, so I'm not going to change it for whatever benefit Deezums believes exist by doing so.
Deezems just said cranking fuel is affected by req fuel, so there's something I guess. But I'm sure you can tune around that if it's the only thing affected by the change.
Actually sorry Ryan for all this crap in your thread. But as mentioned, I too am curious to see your V-band flanges. I've never seen one made for a gasket.
#328
Deadtime is measured in pulsewidth and is subtracted from whatever current pulsewidth fueling the megasquirt has decided is required.
How do you not know that? Reqfuel has nothing to do with deadtime and will not change how much latency is subtracted from all your fueling calculations. Do you even know how megasquirt works??
Reqfuel is a MULTIPLIER of VE cells. Multiply. Nothing more. If you have double the reqfuel, it sprays twice the fuel so you can half the VE values. If anything else is based off VE, like percentages as 99.9% of corrections are, it matters not what reqfuel is. If it's based off reqfuel, it will specifically say so in the tunung dialog. Cranking is the only one, because there's no map, no RPM and you basically just squirt a fixed PW till it fires. I see no reason why any other correction would need to be based on reqfuel.
How do you not know that? Reqfuel has nothing to do with deadtime and will not change how much latency is subtracted from all your fueling calculations. Do you even know how megasquirt works??
Reqfuel is a MULTIPLIER of VE cells. Multiply. Nothing more. If you have double the reqfuel, it sprays twice the fuel so you can half the VE values. If anything else is based off VE, like percentages as 99.9% of corrections are, it matters not what reqfuel is. If it's based off reqfuel, it will specifically say so in the tunung dialog. Cranking is the only one, because there's no map, no RPM and you basically just squirt a fixed PW till it fires. I see no reason why any other correction would need to be based on reqfuel.
#330
Deadtime is measured in pulsewidth and is subtracted from whatever current pulsewidth fueling the megasquirt has decided is required.
How do you not know that? Reqfuel has nothing to do with deadtime and will not change how much latency is subtracted from all your fueling calculations. Do you even know how megasquirt works??
Reqfuel is a MULTIPLIER of VE cells. Multiply. Nothing more. If you have double the reqfuel, it sprays twice the fuel so you can half the VE values. If anything else is based off VE, like percentages as 99.9% of corrections are, it matters not what reqfuel is. If it's based off reqfuel, it will specifically say so in the tunung dialog. Cranking is the only one, because there's no map, no RPM and you basically just squirt a fixed PW till it fires. I see no reason why any other correction would need to be based on reqfuel.
How do you not know that? Reqfuel has nothing to do with deadtime and will not change how much latency is subtracted from all your fueling calculations. Do you even know how megasquirt works??
Reqfuel is a MULTIPLIER of VE cells. Multiply. Nothing more. If you have double the reqfuel, it sprays twice the fuel so you can half the VE values. If anything else is based off VE, like percentages as 99.9% of corrections are, it matters not what reqfuel is. If it's based off reqfuel, it will specifically say so in the tunung dialog. Cranking is the only one, because there's no map, no RPM and you basically just squirt a fixed PW till it fires. I see no reason why any other correction would need to be based on reqfuel.
#331
Elite Member
Thread Starter
iTrader: (6)
Join Date: Feb 2013
Location: A cave in Va
Posts: 3,395
Total Cats: 456
I would agree with you, except that I now have a dedicated wire from the o2 sensor to the ECU pink wire. I also get the 0 to 5 volt fluctuation based on the AFR reading, but ts just sees garbage.
#334
Thanks for attacking me. But yes, I know how it works, have had MS on my car since 2007. I didn't write the code so I don't know when/where it's used. In the past, (2008 MS2E) it was used in multiple places and it was known that having the req fuel wrong would cause other issues (mainly in accel enrichments and startup/warm up) Perhaps that's no longer true, I have no idea. You seem to be certain it's no longer an issue.
Again, you had a ms2 that had reqfuel based accel enrichment? Not a percentage based multiplication of the VE table, or an accel pump direct pulsewidth adder? Again, I would like to see this.
You've clearly no clue what reqfuel does, and that's why I attack you. If you are going to post like you know stuff may as well be prepared to verify what you are saying. Instead, it's a mystery number to you and therefore it's not to be adjusted. That's not the case, and that's what I'm saying, it's a super simple global multiplier, that's it.
#335
So you had a ms2 that used reqfuel based enrichment on warmup, not a percentage multiplication of the VE table? You sure you know how megasquirt works? Would you find me a screenshot of a warmup enrichment plot that is not percentage based?
Again, you had a ms2 that had reqfuel based accel enrichment? Not a percentage based multiplication of the VE table, or an accel pump direct pulsewidth adder? Again, I would like to see this.
You've clearly no clue what reqfuel does, and that's why I attack you. If you are going to post like you know stuff may as well be prepared to verify what you are saying. Instead, it's a mystery number to you and therefore it's not to be adjusted. That's not the case, and that's what I'm saying, it's a super simple global multiplier, that's it.
Again, you had a ms2 that had reqfuel based accel enrichment? Not a percentage based multiplication of the VE table, or an accel pump direct pulsewidth adder? Again, I would like to see this.
You've clearly no clue what reqfuel does, and that's why I attack you. If you are going to post like you know stuff may as well be prepared to verify what you are saying. Instead, it's a mystery number to you and therefore it's not to be adjusted. That's not the case, and that's what I'm saying, it's a super simple global multiplier, that's it.
I will tell you I don't write code, and I can't read that stuff Adian posted either. That I am ignorant on. I do know the basic fuel equations that you know and have posted here. And I've tuned long enough to know how to make my car run well under all conditions.
If it's a super simple global multiplier and you know what you're doing and your car runs better now with a different req fuel, great. It wasn't always like that though. No need to attack someone for telling you this. It's not helping anything.
#337
If I run a proper, calculated reqfuel I get PM's from you asking to fix my tune as my VE values are too damn high, no way it runs right!
All of the cold enrichments on a MS2 are percentage based, ASE and warmup. You can read anything on the internet, it's just your job to filter out the bullshit. If you spread bullshit, **** you.
If one can, in static running conditions, half reqfuel while doubling VE to have the same total fueling, and all modifiers are percentages of the VE value, all multiplications/enrichments must be the same.
Lets say reqfuel 5.0 idle VE 50. Now, reqfuel 2.5, VE 100.
Warmup, 110% at 160f.
50x1.10 = 55
100x1.10 = 110
Look, our warmup VE values are identical still, they are proportionally the same!
So please, quit spreading the bullshit.
All of the cold enrichments on a MS2 are percentage based, ASE and warmup. You can read anything on the internet, it's just your job to filter out the bullshit. If you spread bullshit, **** you.
If one can, in static running conditions, half reqfuel while doubling VE to have the same total fueling, and all modifiers are percentages of the VE value, all multiplications/enrichments must be the same.
Lets say reqfuel 5.0 idle VE 50. Now, reqfuel 2.5, VE 100.
Warmup, 110% at 160f.
50x1.10 = 55
100x1.10 = 110
Look, our warmup VE values are identical still, they are proportionally the same!
So please, quit spreading the bullshit.
#338
Elite Member
Thread Starter
iTrader: (6)
Join Date: Feb 2013
Location: A cave in Va
Posts: 3,395
Total Cats: 456
Sooooo, how 'bout that V Band flange? Yes, both are cut to accept the ring thing. It also uses this monstrosity of a clamp. Like solid stainless on a single hinge on one side, nut and bolt on the otber. Doesn't look cheap. Doesn't necessarily look right either though