# mapper

Members

294

23

## Reputation Activity

1. mapper reacted to VtrSp1 in G4+ Fury Sequential shift cut
Mapper, i have check my log and the cut stay On when the gear detected is 0

2. mapper reacted to Laimis in Share your Math Channel List
VE Corrected = ( Lambda / Lambda Target ) * Fuel Table
For open loop mode.
VE Corrected = ( ( Lambda / Lambda Target ) * Fuel Table ) * ( (100 + CL Lambda Fuel Corr. ) / 100 )
Should be working for closed loop + open loop modes. I will confirm later.
3. mapper reacted to TechDave in Share your Math Channel List
So this afternoon I sat at the simulator and started mucking about with a few ideas.
I wanted to calculate my average speed based on some event, I used a digital input latching on.
In the UK we have average speed camera zones, you get snapped at the start and end and they do a distance over time calculation. Often you'll get slowed down by a Karen in an X5 not paying attention, I've always been curious how much I could safely speed up again to catch back up to 50 mph average over the trip.
You can do this in log analysis with the statistics view, but this is obviously operating at runtime.
So there's a few things here I've done that aren't documented yet, yes they will be.
The first is that maths channels can do reassignment, x = x + 1 etc
The next is that they're evaluated at 1000 Hz
Lastly I know of a few built in functions too.
I figured out two methods, of averaging, the first could be used not only for wheel speed, but for really any parameter, lambda, throttle position, you could use another maths function to find lambda, vvt, boost, etc error then feed that function into this one and have an average of error over some time period.
This one uses this algorithm:
newAverage = oldAverage + (newSample - oldAverage)/sampleNumber

the cnt function is a real good cnt function, it counts 1 per cycle (so 1 per millisecond) while c is greater than or equal to 1, so if you feed it a status which evaluates to 0 OFF and 1 ON, then you're away. If you want to use this for Anti-Lag active we might have to get a bit imaginative about an offset, iirc Anti-Lag OFF = 0, ON = 1, Active = 2...etc
I had to add a +1 to cnt because on the first cycle it's 0 and that's div by 0, plus the first cycle is the 1st sample too.
The 2nd method I came up with was to calculate distance, which of itself is a useful function, then calculate distance/time, again using that good cnt function:

Again using reassignment in the Distance function, multiply speed by 1/100th of a second, of a minute, of a hour to get distance travelled per millisecond (rate is 1kHz), I multipled by status to simply switch it on and off. This gives me km.
distance a over time, divide by the same multi as above gets us back to an average.
You don't need to use 8dp for this, I was just using it while getting my exponents sorted.
My functions agree with each other and track to my expectations, but if you spot an error in my maths then shout out
edit: unfortunately this is all in kph as I started running out of characters to add the mph multiplier, I've spoken with engineering and we'll see if we can get the length increased, 2.77e-7 helped a lot, but still lost a bit to parenthesis too.

4. mapper reacted to Laimis in G4x Base map
Agreed ! Also, individual Lambda closed loop control would be nice too. Pretty much sure the new microcontroler is capable now.
5. mapper reacted to Ducie54 in G4x Base map
As a feature request can we have the option on which Lambda sensor is used for CLL.
As example I'm using 5 lambda sensors. One in the turbo dump pipe and 4 in the turbo manifold using a CAN module. The software uses a average for CLL but would be nice to use Lambda one so manifold pressure is not an influence. Currently to get around this from happening I've set the 4 CAN lambdas as CAN TC.
6. mapper got a reaction from Ducie54 in Share your Math Channel List
I like to start a thread where everyone can add his Math channels, so a database is built.
To keep it simple any discussion must be done in other threads.

Boost error channel = Target Boost - MAP
Boost error parameter can then be used to control an electric Blowoff
Brake bias = (rear+ front break press)/ rear break press
Front Wheelspeed Difference = LF wheel speed - RF wheel speed
Used to tune your LSD differential settings

Slip right = nondriven-wheelspeed - RR wheelspeed
Setup an Aux and turn on a driver warning light on the right side of the dash. So Driver knows right rear wheel is spinning faster ( eg. attention after a curb). Add the same function another for left. Then it looks like this :-)  from 3.00min

Boost error channel = Target Boost - MAP
Boost error parameter can then be used to control an electric Blowoff
Brake bias = (rear+ front break press)/ rear break press
Front Wheelspeed Difference = LF wheel speed - RF wheel speed
Used to tune your LSD differential settings

Slip right = non-wheelspeed - RR wheelspeed
Setup an Aux and turn on a driver warning light on the right side of the dash. So Driver knows right rear wheel is spinning faster ( eg. Attention after a curb) to another function for left. Then it looks like this :-)  from 3.00min

Boost error channel = Target Boost - MAP
Boost error parameter can then be used to control an electric Blowoff
Brake bias = (rear+ front break press)/ rear break press
Front Wheelspeed Difference = LF wheel speed - RF wheel speed
Used to tune your LSD differential settings

Slip right = non-wheelspeed - RR wheelspeed
Setup an Aux and turn on a driver warning light on the right side of the dash. So Driver knows right rear wheel is spinning faster ( eg. Attention after a curb) to another function for left. Then it looks like this :-)  from 3.00min

7. mapper reacted to Adamw in launch control dbw limit
Could you not use 2 axis on one throttle table to do both different antilag settings, to free up a table for the launch?
For instance example below.  Table 1 = normal touring.  Table 2 = 2 different antilag bypass amounts.  Table 3 = wheel speed based launch throttle reduction.

8. mapper got a reaction from Fotis in Math Equation
You can use the generated math channel as:
- logging channel
- input for other function
- axis option on tables
So it's up to your creativity what you can do. Combined with Virtual Aux and timers the possibilies are near endless!
A few example:
Boost error channel = Target Boost - MAP
Boost error parameter can then be used to control an electric Blowoff
Brake bias = (rear+ front break press)/ rear break press
Front Wheelspeed Difference = LF wheel speed - RF wheel speed
Used to tune your LSD differential settings

Slip right = non-wheelspeed - RR wheelspeed
Setup an Aux and turn on a driver warning light on the right side of the dash. So Driver knows right rear wheel is spinning faster ( eg. Attention after a curb) to another function for left. Then it looks like this :-)  from 3.00min

9. mapper reacted to TechDave in G4x Base map
@Ducie54 I get that if I haven't turned on a fuel mode yet.

Switch on a fuel mode and you get it, I'll add a note to the engineers to show a message "no fuel mode selected...blah blah etc"
10. mapper reacted to Davidv in G4x Base map
1000hz!

Wow thats awesome

+1 to the above, lots of awesome changes looking forward to having a play around when some of the bigger brother models become available.

The math block functionality is just crazy. So many possibilities!
11. mapper got a reaction from Davidv in Seperate gear detection maths from KPH reading
Even better would be to make a General adusment function for different tires.  For example setup a WET switch in the car, which switches tire diameter, rain light, DBW Map etc.
12.
Bumping this topic... I'm surprised no one else has interest in this. OEM systems I have worked with do this, and it makes sense. At low throttle openings, a change of throttle angle is a better trigger for transient fueling than map for engines that have low / noisy idle vacuum. However, at steady throttle angles, on a turbo engine, as the boost builds, there can be a need for additional fueling, otherwise you get a lean spike. I've noticed this when tuning steady state and then doing transient sweeps, if you tune to the sweep, you get a inverse V in your fuel map.
Certainly this is not reinventing the wheel, just doing what the OEM's have already been doing for many years, and for good reason.

13.
It would be nice if a user could add an algebraic expression in the G4+ PC Link software somewhere that can be stored as a general value (such as Virtual AN Input). Essentially I am looking for a user defined algebraic function that you can use values from other inputs on the PCM to convert into a value that can be used to control auxiliary outputs.
For instance, "|(AN Volt 1) - (AN Volt 2)| = (Virtual AN Volt 5)"...….this could be used to control an output off of differential temperature.
I don't know which would be the easiest way to allow for this, but I feel like a "Virtual AN Input" would be the ticket. Also, if there is a way to accomplish this already, please let me know. I think there is a way to accomplish this with another CAN device (such as a digital dash) to transmit values to, perform the equation in the dash, and then send the result of the equation back to the PCM, but I currently only have a CAN-Lambda module connected to the CAN bus of my G4+ Xtreme.
14. mapper got a reaction from pvainola in Ethanol Content Clamp Function
The continental Ethanol Content Sensors will read significant lower when low flow goes through the sensor. This means during a WOT run the ethanol content will read significantly lower at high load and rpm than at idle, because the flow in the return line is low.
I attached a Log to show the problem. With more boost, I see values 20% lower at WOT than at idle.  This is a well-known problem and other ECU manufacturers have an Ethanol Clamp function for a good while.
The Ethanol content does with activated clamp function only update when the Injector Duty Cycle is below a certain level. Once the INJ Duty Cycle is higher than the threshold the ECU takes the last value read below the threshold and update Ethanol content only when InjDC goes below the threshold. So a quite simple function, but with a big need! Please implement it asap. Thank you.

15. mapper got a reaction from Vinkelkapen in Log analysis improvement
I like to add another point. I'm really missing a delta function where you have two cursors to see the difference between two points.
Once GPS mapping is possible a distance mode for the X-axis will be needed, too.
16. mapper got a reaction from Adamw in Boost drop between coast and inland setting?
You can span one axis of the target boost table to a rotary switch, so you can do up to 33 different boosst tagets. If you use a potentiometer you even can get infinity many  boost targets.
17. mapper got a reaction from immy21 in Closed Loop fuel trims
Regarding Lambda control error correction table. I spend alot of time to tune these. The base map is adjusted the wrong way around. Because the error correction tables is a % corretion of actual error, you want big corrections like 15%  on small errors (0.03 lambda error) and small correction (like 5%) at the biggest error on the table. This is because a fuel film built up first in the ports when big correction are applied. This means it needs several burn cycles to get the whole change applied and measured. This means lambda control applies big changes two or three times for big corrections which leads to Lambda oscillation.  On small changes fuel film built up is much less.  Lambda change is done and measured much faster and within same burn cycle. This means the Lambda correction can be set much higher, because the change in AFR is measured instant.
I have attached a tuned example.

18. mapper reacted to tarlo in programmable logic
I would love in the future if you could step up virtual logic to be programmable perhaps in function block or text with Boolean (and and or if etc) to allow lots of flexability to the end user. the virtuals are great but can be limiting.  Thanks
19. mapper reacted to Adamw in Switched closed loop, G4 extreme.
In firmware 5.6.6 we added 3D CLL trim tables.  You get one table for adding fuel and a seperate table for removing fuel.  So, you could turn these on, then put your switch status on one axis.
In the example below, I have my CLL switch on DI4.  I have put DI4 on the Y axis of the trim table (0 means switch is off, 1 means switch is on).  So for instance when my switch is on and at 4000RPM the CLL is allowed to add up to 20% fuel.   When the switch is off it is not allowed to add any.  Obviously the other axis doesnt necessarily need to be RPM, TP or MAP might be more suitable but it is up to you.

20. mapper reacted to ClintBHP in Lean Spike Between Gears
I would move to a TPS based fuel table and compensate for MAP on a 4D table.
21. mapper got a reaction from Zaidovic in Nissan S14 Launch Control more Bangs pls
I really really give you a good tip, it's about the most risky thing you can do on a SR20det! DON't use any ignition cut or similary thing which pops and bangs. You are going to pop out rocker arms which can lead to a huge engine damage!
22.
We see lots of wideband controllers here, the worst for sensor failure are AEM, Innovative seem to be better, there is a noticeable difference as you really don't see sensor failing that often on the LINK CAN Lambda, we put the sensor failures down 100% to the heating strategy not shocking the sensor and allowing time for residual water / condensation to be cleared.
The other thing is that the AEM sensor supplied with the kit does not appear to be bosch, but although you could argue that is the reason they fail, replacement genuine bosch dont seem to last that long either. That is the main reason we try and get people to buy the Link sensor and we always ask about the placement of their Lambda bung.
PLUS you get EGT with the Link CAN Lambda an invaluable device that has saved my customers \$1000's in turbo rebuilds.
23.
Ok, try these two files.
812776967_BenjiBarraFINALTUNE7PSI New CAN.pclr
Benjis Barra Patrol With EGT's.zconfig
24.
There is a limit to the amount of data the dash will receive and we have reached the limit!
25. mapper reacted to Adamw in Seat Ibiza (TT) Plugin
The updated CAN stream to suit the Ibiza and some other later VAG models is included in the next firmware release.  I don’t think it is far away from release but if you need it now you can email tech@linkecu.com
×
×
• Create New...