Summary

When we’re reflashing a factory ECU we most often can’t make our tuning changes live like we can with an aftermarket standalone ECU. One of the key aspects of being able to tune a factory ECU properly and in a time efficient manner is by using a data logger or scanner software package. In this webinar we’ll look at the histogram feature in the VCM Scanner software and explain how it can be used to help us with multiple tuning tasks.

Transcript

Hey guys it's Andre from High Performance Academy, welcome along to anther one of our webinars and today we're going to be talking about the topic of histograms. Specifically we're going to be looking at how we can use the histogram functions in the HP Tuners VCM scanner software in order to speed up the process of reflashing vehicles. Now at the end of our webinar as usual, we will be having a question and answer session, so if there's anything that I talk about today in this webinar that you'd like me to elaborate on or anything just generally related to the topic we're discussing, please feel free to ask your questions in the comments, the team will transfer those through to me and we'll deal with those at the end. First of all, I want to get into what is a histogram or more to the point, why we need histograms. And really this comes down to some of the limitations when it comes to reflashing a vehicle as opposed to live tuning using an aftermarket standalone ECU.

Now in most instances but certainly not all, when it comes to reflashing we aren't able to make our tuning changes live in real time. Most of the time what we need to do is gather some data, then we need to shut off the engine, analyse that data, decide on what changes need to be made and then apply those changes to the map before reloading that map into the ECU by the process of reflashing. So this on face value can seem like quite a time consuming process. And particularly for those who are coming across from the aftermarket standalone tuning world, particularly given the complexity of a factory ECU, it can seem quite daunting. There's a huge amount of parameters that may need to be adjusted and when we can't make live tuning changes, it can seem on face value that there's absolutely no way we're going to be able to tune the engine properly.

Or at best we're going to end up spending absolutely hours and hours on the dyno to get everything fine tuned. So this is where histograms come in. And I'll cover off what is a histogram. So basically it is a 2D or a 3D table that we can develop in the VCM scanner software and it allows us to gather a huge amount of data while the engine is running. We can then process that data and it allows us to very quickly make wholesale changes to a large area of a particular table that we're interested in tuning.

This for example may be our mass air flow sensor calibration table, perhaps we're looking at optimising our ignition timing tables, or we could be looking at optimising our speed density tables if we're running a speed density configuration. Really doesn't matter, we've got a lot of flexibility in developing those histograms so that we can scan the correct parameter on the correct axes so that we can use that data to very quickly dial in our tune. This will be used, as you'll see during the demonstration, in conjunction with a function called the paste special function, where we can basically take the output from our histogram and then apply those changes, obviously if they're in the correct format, in terms of a percentage error for example, directly into the table that we then want to adjust. One really important aspect, and I'm going to be sort of diving into this in a bit more detail as we go through the webinar, is that the histograms are a case of if we put garbage into the histogram, we're going to get garbage out. So we need to really understand how to develop the histograms for a start, and we need to understand some of the implications around how we run the car and how we drive the car in order to get some clean data that we can use to rely on and then modify our tables to suit.

Alright so what we'll do is we'll jump in and we'll have a quick look at a histogram here, so let's head across to my laptop screen. What we'll do is we'll just get our car up and running and at the moment we're sitting here at idle. So for those who have followed any of our webinars before, you'll have seen me spend quite a lot of time on the chart logger where we're logging individual parameters or PIDs versus time. We can see how those are responding versus time. Useful to a point, particularly if you're looking at the results for example of a single ramp run, we can see at each point through the ramp run, exactly what was happening and we can pinpoint areas that we may need to make modifications.

Particularly for example if we've done a single ramp run and we're looking at a parameter such as our knock retard where we've got a little bit of knock activity we can pinpoint where that happened. Likewise of course if we're looking at our measured air fuel ratio, we can see if we're too rich or too lean. That's fine for a ramp run but that doesn't really help us fill in the rest of our tables and particularly for our ignition tables for example, we've got a large three dimensional table, let's just actually head back over and we'll have a quick look at that, we'll head across to our spark tables in our VCM editor. And we're going to be basically making most of our changes here in our base high octane table. I'll open that up and we've got a three dimensional table so we've got our spark or cylinder air mass on our vertical axis and we've got our engine RPM on the horizontal axis.

So for example, the ramp run that I just talked about, we might be starting somewhere down here around about 0.64 to 0.68 grams per cylinder, and we might sort of come down to around about 0.8, 0.84 grams per cylinder before dropping back. So what we can see here is particularly during a ramp run, we're really only accessing a very narrow area of this spark table. Doesn't really give us a lot of insight into the rest of those areas, particularly the cruise and the transient areas, and that's where using our histograms can help us. So we'll head back across to our VCM scanner software. What we'll do is we'll get our chart logger out of the way for the moment and we'll have a look at our histograms, or graphs as they're called here.

So we're going to have a look at a few of these histograms and just see how they're set up. For example here at the moment we are on our spark advance histogram. What we'll do is we'll come down to, actually no we'll stay on our spark advance and we'll just see how we can actually get data. So at the moment we can see we're sitting at idle so it's showing us the current areas we are accessing so you can see basically while the time I've been operating or talking here, we've been at about 0.16 grams per cylinder and we've been moving between about 400 and 600 RPM. So what we'll do is we'll just get ourselves up and running here and just do a little bit of steady state driving.

And you can see basically as I change my RPM and my throttle position, we can see that we move into different areas of that table. Just to really highlight this, I'll just stop the scanner and restart it. And so at the moment we're sitting at 1600 RPM using very very light throttle and we can see we're sitting at about 0.2 to 0.24 grams per cylinder. So to fill this table in, what I can do is use a variation on my throttle position and then a variation on our engine RPM. We can do this using our dyno.

So for example if I now just gently apply a little bit more throttle, what we're going to see is as the throttle opens, the air flow into the engine increases and we can see that we drop down in that table. It's actually just locked up the torque converter as well so we've seen our RPM change. So what I'll do now is I'll just increase the set point on our dyno and we can see that our RPM increases. So just by moving the throttle, let's give us a little bit more RPM, come up to 1800, and we can move quite accurately around this table or this histogram. So I'll just close that down there.

So that's a fairly basic histogram that we've just looked at there. Basically what it's doing is looking at the actual ignition advance angle that's being delivered to the engine. And that's quite valuable thought because while we've got our spark advance tables, our base and our low octane table, high octane and low octane tables, there are also a range of modifiers that will apply corrections to the final spark that is being delivered to the engine. So using this histogram, we can see for a particular operating point in our engine exactly what the timing was that was being delivered to the engine. So one thing I will also mention here, if we head back across to my laptop screen here, we've got the ability to show a couple of points here.

At the moment I've got A, which is average values, highlighted. So that will show, as its name implies, the average value of the numbers that have been logged into a particular cell while we've been running. To the left of that we can see we can either show the maximum values or the minimum values. The other one that we will be wanting to look at here, particularly when we are scanning some data is the count, or the number of hits a partcular cell has seen. So if I click on that, what it's showing us here is the number of times data was scanned into a particular cell.

So this is important because particularly if we just flash past a cell, we might only get one or two hits of data into that cell, we can't really rely on that data, it's not necessarily going to be particularly valid. So for example here, when I was starting this demonstration, I was sitting for a fairly decent period of time at about 0.24 grams per cylinder. So we can see that we've got 622 hits in that particular cell. On the other hand we can see here as I backed off the throttle, at 1800 RPM and 0.24 grams per cylinder, we only got five hits in that particular cell. So it's important because again this comes down to garbage in, garbage out, if we don't have good solid data, a good decent number of hits in a particular cell to get a valid average, this can be really misleading to our data.

So that's a brief look there at our histograms, don't worry we're going to be coming back and having a more thorough look into those shortly. But now that we know what they are, it's probably worth talking about what can they be used for. So essentially we're going to be using these for anything where we really need to be able to gather a reasonably large amount of data to help us tune a table that is going to be difficult if we can't do it live. So a couple of examples of that would be our mass air flow sensor scaling, our mass air flow sensor calibration. Now if we jump back across to our VCM editor software, and we'll close down our spark table here for a moment, we'll go back across to air flow and if we look at our mass air flow calibration, click on that, this is our 2D table of air flow, frequency out of our mass air flow sensor, so this is that input that the engine control module receives, versus our actual air flow in grams per second.

So this is really the basis of tuning a factory engine management system that uses a mass air flow sensor. If this isn't correct then everything is going to basically be really difficult for us. So this is one of the first places we come to tune. If we look at it graphically, we can see that we've got a curve that basically has a normal exponential shape to it, it's relatively smooth, which is exactly what we would expect. Now there are a lot of data points in this particular table though.

So it can be difficult for us to fill this in if we aren't going to be using the input from a histogram. So again we'll have a look at how we can do that really shortly. Likewise, if you are performing a speed density tune, this is one of the areas where I know a lot of people new to reflashing really do struggle. Where you've removed the mass air flow sensor, you've got a speed density patch applied or maybe using the virtual volumetric efficiency subsystem in the GM ECU. So let's just have a look at what that looks like.

If we click on edit and we go to virtual VE, we can see we've got what looks like now a fairly traditional VE table that we'd expect to see in an aftermarket ECU. We've now got manifold absolute pressure on our vertical axis. And we've got engine RPM on our horizontal axis. The numbers in this table are probably not something that most aftermarket ECU tuners would be familiar with. This is GM VE so it doesn't really line up with the numbers we'd normally expect to see when we're talking about VE, probably numbers in the 80% to maybe 110% efficiency range.

But the process is exactly the same, in so much as if we double one of the numbers in this table, we're going to end up introducing double the amount of fuel. But of course when we are forced to tune a speed density table like this, with the technique of reflashing, we can't tune each individual cell live so this is really where it becomes very powerful. To be able to drive the car on the dyno or potentially out on the road or the racetrack, gather a huge amount of data using a histogram and we can basically fill in or access a huge number of these cells very very quickly and then apply those changes to the table. The other aspect we can, we've just looked at is ignition timing. Now I looked at ignition timing there which shows us the actual ignition timing being delivered to the engine.

However another aspect that really goes hand in hand with that, if we go back to our scanner software here, we've got our spark advance histogram. Directly below that we've got our spark retard histogram. And this is a really powerful way of analysing a huge amount of data. Particularly if you take the car out on the road and you go through a drive cycle, quite often you may end up with some light detonation or knock that's occurring in some of the transient or light throttle areas that are difficult to map on the dyno. And even in this particular graph here, this histogram here, we can see that we do have a really small amount of knock activity that has been logged here.

So essentially what this does is it logs any knock retard activity that's occurring and it logs it into the current cell where that knock activity happened. So it makes it really easy when we've gathered a huge amount of data to quickly highlight any areas in the ignition tables that might need some work. And this is pretty minor, I'm not really going to be too worried about this but for example if we're getting maybe knock retard of two to three degrees in this area, maybe if we're under a little bit more load, we can straight away see that we were in the 0.40 to 0.44 grams per cylinder air flow and we were at 1400 to 1600 RPM. So what we can do is head back across to our editor, we'll close down our virtual VE table, go back to our spark high octane table, and we were, in this particular region here. So it allows us to then highlight the particular cells that we were operating in and let's say we might want to take one degree out of that particular set of cells.

So it makes it quick rather than trying to individually tune every single cell. There are other areas where we can use histograms as well to our advantage. One would be tuning the base running air flow for our idle speed control for example where we can set up a two dimensional table of our engine coolant temperature versus base running air flow. Start the car and allow it to come up, warm up to operating temperature, and that histogram will then fill in with the air flow numbers which we can then copy, once the table's complete, out into our actual base running air flow tables in our VCM editor. So a really quick way of basically fine tuning a huge number of our parameters.

Now I just want to talk a little bit about setting up the ECU. Because I did mention that if we've got garbage data going into one of these tables, we're going to end up getting garbage out the other end and it's not going to help so us we do need to understand a few aspects that will help us get the best quality results. And of course a lot of this comes down to what you're trying to do. So for example, one of the common areas that we would use this is for helping us rescale a mass air flow sensor as we've already talked about. Now if you want to do this and you are using data from a wideband air fuel ratio sensor that's input into the VCM scanner software, one of the keys is that you want to make sure that the engine control module is placed into open loop control mode.

So basically if it's running in closed loop, it's going to be taking feedback from the narrowband sensors to correct any error. So of course with our wideband sensor, we're not going to measure any error because the ECU's doing a lot of the heavy lifting in the background, correcting any error that may be there. So we need to place the ECU into open loop mode. Likewise with the GM engine control modules, we have the speed density subsystem, the virtual VE system working in the background. So if we want to focus on just tuning our mass air flow sensor calibration, we want to disable the virtual VE and make sure that the engine control module is forced to only use the mass air flow sensor while we are performing that calibration.

The complete reverse is of course accurate there if we are doing the speed density subsystem as well, we need to disable the mass air flow sensor. Otherwise we're not getting a true representation of what the engine control module thinks is occurring. Now I'm not going to go into too much detail on those two aspects there, but if you are interested in learning more, we do cover this in detail in the practical reflash course. There is a worked example that covers the speed density and virtual VE subsystems, and we go through the exact process of disabling and re-enabling those two subsystems to get the best result. The other aspect that's really easy to overlook is how we drive the car when we are gathering this data.

And what we want to do is make sure that when we are driving the car, that we don't give any abrupt throttle inputs, this can really easily influence the sort of results we're getting because we'll have transient enrichment coming in. Likewise if the engine is heavily heat soaked, this is going to influence our results. And this is a mistake I see a lot of people make if they are road tuning. What they'll be doing is gathering some data out on the road, then they'll stop on the side of the road, normally they'll leave the engine running, the car, the engine bay will become quite heavily heat soaked, maybe they'll make some changes, flash that into the ECU, then start the car up again and drive off. Now the problem is that for the next few minutes, you're going to find that the heat soak in the engine bay is going to actually impact on the engine's operation.

And this is going to give you some results that might not be quite entirely accurate. So it's always a good idea, if you are road tuning in particular, before you start gathering data, to drive the car for a few minutes, monitor your intake air temperature, monitor your engine coolant temperature, and allow those to get down to normal operating values before you actually start gathering data. That's going to give you the best chance possible of getting good results. The other aspect, which we're going to demonstrate a couple of these here, is when we are gathering data, we want to be a little bit sensible and look for any outliers in the data that we're getting. And if we're seeing a fairly consistent trend in the data then all of a sudden, we've got a big jump and then we're back to our normal trend of data, that's probably going to indicate that something might not be right there and we might want to go back and revisit that.

So what we'll do, we'll head across to our scanner and let's have a look at the process of gathering some data to optimise our mass air flow sensor. So for a start, let's just have a look, we're going to be using our EQ error MAF table here, our histogram. And let's just have a quick look, we'll right click and we're going to go into graphs layout and I just want to go down to our EQ error MAF graph and see how that's set up. Don't worry too much because we're actually going to create one of these from scratch really shortly. So I'll click on that, and what we've got is our label here.

So this is just a name for that particular histogram. I've called it EQ error equivalence ratio error MAF. So just a name that I understand. This is going to log in the parameter equivalence ratio error so that I can help use that to calibrate my mass air flow sensor table. So parameter, this is the next thing that's important.

So this is the actual parameter that is going to be logged into our histogram. So this is the value that's going to populate our histogram. And we can change this by clicking on it, not going to at the moment, again we'll see how this works shortly. But the parameter that I've chosen there is a built in MAF channel called the equivalence ratio or EQ error. And in real rough terms, all this does is it looks at the commanded equivalence ratio or commanded lambda value and then looks at the measured lambda value from our wideband and basically creates an error as a percentage, and that's what's going to fill in our table.

We can see that the unit there is of course percent. And we are logging this to two decimal places just so we've got a little bit of precision in this. Moving down, I also like to add some shading or colouring to the values and this is just helpful when you're sitting on the dyno or even out on the road or the racetrack because at a glance you can see the colour of the particular values that are being logged, you can see what is predominantly filling up our histogram. And for example here, you've got a high value of ten. So what that would mean is that we've got a 10% error where the air fuel ratio is leaner than our target.

So obviously that can potentially be a little bit dangerous, so I've coloured that red just to give me a little bit of a warning. On the other hand, if our air fuel ratio is richer than our target, we've got a green colour with a value of minus 10, you can adjust these to suit your own personal preferences. Now this is the bit where it gets quite powerful. We can see here we've got the ability to choose a parameter for our column axis. So in this case, this is only a two dimensional table, otherwise below that we've got the ability to set up a row axis as well, again you'll see that in action really shortly.

So of course what we want to do is choose the same parameter as the table that we're filling in, let's head back across to our VCM editor. We'll go back to our air flow and we want to again click on our MAF calibration. So we can see that the input to the ECU here that we need to help us calibrate this table is mass air flow frequency in hertz. We'll head back across to our scanner and you can see that's exactly what we've got here, mass air flow sensor frequuency and that is in hertz. And then just to really be helpful, what we can also do is select the values, so that's what we've got here, all of these numbers that are separated by a space and those are the same break points as our table.

So what this means is for example here, we can see that we've got a break point here at 2100 hertz and if we head back across to our editor we can see that we've got exactly that same break point. So the break points match, and why that's important is that then we can apply the error directly from our histogram straight into this table. So makes it really really quick and easy. Alright so let's get ourselves up and running here and we'll actually have a look at gathering some data here. So I'll just get us running.

And what I'm basically doing is starting by using really light throttle input here, and we'll just move across a little bit so we're in the middle of the screen. So we can see that at the moment we're operating at about 4000, 4200 hertz. We can see that the numbers in this here are really close to zero. And you might be thinking that that's because I've done an amazing job with the calibration but just to be completely open here because we're just doing this as a quick demonstration, I'll just point out we can see that our short term and long term fuel trims are still active. So I'm cheating a little bit here, doesn't matter, I'm just really showing you the premise of the system but it is important to understand here that if we really wanted to get data here that was going to be useful to us, of course we would need to disable those short term and long term fuel trims.

So we were actually seeing the true error. Alright so what we're trying to do when we are gathering data in this way is we want to be really smooth with our throttle input as I mentioned and what we want to do is start from basically as low down in the frequency as we can get. So I've gone into fourth gear here and I'll just close down the throttle a little bit, we can get down to about 3500 hertz. And you can see here we actually have got a little bit of error but what we want to do when we're accessing any of these cells, is we want to stay in this cell until the number in the cell is relatively consistent. And particularly when you're just starting out and there might be some quite big errors, you're going to find that when you first move into a new cell, there might initially be quite a few seconds that it takes for the number in that cell to sort of even out.

So that's really important, again comes down to if you're just flashing through a cell and it's not getting enough time to really get a good number of hits in that cell, you're not going to get good data. So come down to 3500 hertz or so there, so what I'm going to do now is just use a combination of increasing my throttle position and then also increasing the set point on the dyno to allow engine speed to increase and we're just smoothly moving through here, increasing our mass air flow sensor frequency. So we've just stepped up to 4500 hertz there. And you can see as I moved into that cell the number moved around a little bit. It's equalised pretty well there at about 0.9 to 1%, so we'll move up to 4650 hertz.

Again I'm just allowing the number to stabilise. And so on and so forth, we're just going to keep stepping up through these cells, allowing each one individually to stabilise. So the other point that's worth making there is particularly when you are using histograms to calibrate your mass air flow sensor, in the GM engine control module, we've got two modes of operation, we've got closed loop and then we've got power enrichment. So power enrichment is when essentially the driver is commanding maximum power from the engine. And we change our target air fuel ratio.

So in closed loop mode, which is where we are running right now, the air fuel ratio target is always going to be 14.7:1 or lambda one. We can confirm that just by pulling our graph up here. We can see down the bottom we've got our commanded lambda, lambda one, we've got our measured lambda in yellow there, and you can see that's tracking quite nicely on our target. However what we're going to find is that as we go past our power enrichment throttle setting, we're going to change our air fuel ratio target to whatever we've got in our power enrichment table. So we're just going to do that, we'll just come up here, happens somewhere around about 6500, 7000 hertz.

So we'll just get this data because I want to show you what happens. Still in closed loop mode. Somewhere it'll change, OK, alright I'm just going to stop that and we're going to back off and have a look at our results. OK so first of all I'll just bring our graphs up here. And we can see if we look at our air fuel ratio target or commanded lambda versus measured lambda, we can see the point where we transition from closed loop to power enrichment.

So closed loop there, we're at lambda one, as soon as we go into power enrichment our lambda target changes from lambda one, in this case to 0.85. And this is a case of what I really want you to watch out for in terms of garbage in garbage out. The engine control module instantly changes that lambda target from lambda one to 0.85 and of course the engine can't track that, the fuelling will change but there's going to be some delay, some latency in actually getting onto that target, which is exactly what we can see has happened here. We can see that our yellow measured air fuel ratio trace takes a couple of tenths of a second to actually follow and get onto our new target. So of course during this period here where we first transition into power enrichment, we're going to end up with a lean error because our measured air fuel ratio is simply leaner than our target.

Now that's not very real though and it doesn't actually matter to us. And what that can do is actually influence our results if we don't notice that. So we can see in that particular cell that I've just highlighted there, 7000 hertz, you can see that currently it's showing an error of 3%. That's actually not too bad. Often it can be 10% or 12% instantaneously.

But that can really throw us because if we'd stayed there at 7000 hertz, what we would have found is that the number would have then equalised out. We've probably come back to right on our target because as we saw there, everything actually tracked really nicely. So long story short here, particularly when I am using the scanner, the histograms, to fill in our mass air flow sensor calibration, I generally do it in two ways. I'll do some steady state tuning where I'm filling in as much of the low frequency area of this table as I can access before we transition into power enrichment. And I'll use that data and apply that to our table and then once I've done that, I'll also do some ramp runs where we are operating fully in power enrichment and I'll use that data to fill in the higher frequency ranges.

So that's important to understand. So coming back to this data though, let's have a quick look at what we've got here, because there are a few aspects that we do need to consider. So first of all let's go back and we'll have a look at our count and we'll see how many hits we had. So we can see for example where I was talking quite a lot at a stationary throttle, we can see that we've got about 2200 hits. We know we've got anything near that sort of number, we can be pretty comfortable that the data's going to be solid.

Generally I like to see somewhere around about 200 hits or 200 counts in a particular cell to really rely on the data. Up here at 7000 where I quickly shut down our scanner, we can see that we've only got 26 hits. So again just shows you there, that data I would not be too confident in relying on it. Again we've got a few stragglers here that only got a few hits as well. So particularly, if we go back to the average number, particularly if you've got a number in one of these cells that doesn't really follow, and again because I'm using closed loop, there isn't a huge amount of variation here but for example we see here that 4650 and 4800 hertz, we've got about 0.95, 0.97, then we've got this particular cell here, 4950 hertz, I drop down to 0.29.

And then we actually come back up. Now these numbers, I honestly wouldn't be worried about but if we're seeing a more exaggerated change from one cell to the next, maybe we were seeing numbers of 2% and 3%, all of a sudden we've got one single cell at -7% and then in the next cell adjacent we're back to 2% to 3%. That for me straight away is an alarm bell, I'm going to come back and revisit that cell, see if there's something that I did funny around that cell that's actually influenced and got us those results. So it's not a case of just gathering the data and blindly applying it. What we really need to do is have a look at the data, analyse it and make sure that it all makes sense.

Now the other aspect here is obviously we weren't able to gather any data below about 3500 hertz here. We can gather some data at idle but what we want to do here is again apply a little bit of common sense. What we're looking for is trends in our data so that we can apply that down in these lower areas that we weren't able to get to, so down below 3500 hertz. What I'm going to basically be doing is looking for trends that I can apply and extrapolate out. And of course there may be individual cells that you aren't able to access and you can't get access to so that's how you're going to need to do that as well.

So once you've gathered your data, what can you do with it? How can you use the data? Well there's a couple of ways. One is to manually make adjustments based on the data that you've got. Particularly if you've got really poor quality data with a lot of outliers or numbers that really don't make sense, I'd be very cautious about automatically using that data and instead I would manually use it and I would smooth it out. So how I mean we're going to do this, for example here in our data let's look at from 4350 hertz to 4800 hertz, we are around about, let's call it 1% too lean. So what we could do is take that data, 4350 to 4800, we'll find those same cells, so 4350 to 4800.

So what we can do then is highlight those cells here and all we want to do is simply multiply this by 1.01 which adds 1%. So that will basically allow us to look for trends and manually apply them into our mass air flow sensor calibration table. Now particularly if you've got data, as I've said, with a lot of outliers, then that's definitely the way you're going to want to do this. This data however, other than our little error at 7000 which we purposefully included, we've actually got some pretty solid data there, it all looks quite good. Of course it should because we are running in closed loop mode.

So what we can do here is highlight that entire table, right click and what we want to do is select copy. Now if we head back across to our editor, what we can do now is right click, and if we come down we'll find this paste special function. So this allows us to apply the error straight into our table. So for example if we come down here to multiply by percent, it's basically going to do exactly what I just did manually, it's going to apply that percentage error, in the case we just looked at I applied a 1% error. This of course is going to apply exactly what's in the data.

So we'll do that now, and we can see the areas that have been adjusted there. So that applies that particular error into our table. Now the problem with doing this is of course if we don't have good solid data, this is going to end up potentially causing us a problem. And the other aspect as well is it's not going to make any changes in the areas that we didn't scan data. So if you're going to use the paste special function, you do need to usually do a little bit of hand blending.

For example make adjustments to the lower frequency areas where we didn't gather any data. So particularly for your first round of modifications when your mass air flow sensor calibration is potentially a long way out, it's a good idea to use the multiply by percent. Sometimes we can find, because this is an iterative process, sometimes we can find as we make further adjustments, as we get closer, using the multiply by percent can sometimes end up going a little bit too far. So often we are better, once we've made our first round of modifications, using the multiply by 0.5%. So basically it just makes exactly what you'd think there, a smaller change of half of the error and applies that into the mass air flow sensor calibration.

Alright I think we've talked about how we apply those changes. Of course if you are making changes into maybe an ignition table, maybe a speed density table, whatever, you are going to be able to do exactly the same thing. Either make those changes manually or apply that paste special functionality. We're going to go into a quick demonstration now of how we can actually set up a custom histogram. And we'll then go into some questions and answers so this is just a good time to remind you, if you do have any questions, please ask those in the comments and we'll deal with those shortly.

So what we're going to do is just pretend we're setting up a speed density table and we're going to see how we can set up a histogram that's going to help us with tuning that speed density table. So we'll head back across to our scanner, we're going to right click and we're going to click graphs layout. So what we're going to want to do here is start up or set up a new graph. So we'll use the add graph icon there. We'll click on that, and now we've got a new table which we can see has been added down the bottom here.

So we can give that a name, let's say EQ, EQ error SD for speed density. Now we need to click on the parameter that we want to fill in there. So we'll click on that. There's a few ways we can negotiate through or navigate through this list of parameters that we've got available. We can scroll down and select what we want or we can simply start typing and the available parameters will fill in automatically.

And in this case what we're actually wanting to do is go down to our maths channels and we're going to use our maths for lambda and air fuel ratio. And we want to use our EQ ratio error. So again that's just that math channel, that gives us the difference between our measured air fuel ratio and our target. Of course we're going to fill that out to two decimal places as well. I'm going to basically replicate the shading that I've already shown you.

So plus 10 we're going to be red because we know that we are lean. And at minus 10 we're going to be green because it's not ideal but at least we know that we're safe because we're rich. Right so that's set up our new histogram but of course we need to add some axes. And this is where the power of this system comes in. So let's head back across and just for our example here we're going to use our virtual volumetric efficiency system.

And we can see we've got our axes of manifold pressure on our vertical axis and we've got engine RPM on our horizontal. So what we can do is right click and let's start with our vertical axis. So our row axes there, what we want to do is copy labels. So we'll come back across to our scanner, and what we want to do for our row axes, I've done it around the wrong way but that's fine. What we want to do is use our manifold pressure as our axes and then we can click on our values, control V and that will copy in those axes.

We're then going to do exactly the same, right click and this time we're going to copy our column axes labels, we're going to come back across and we're going to click our parameter, we're going to use engine RPM and we are then going to right click and we can paste those in there. So that's set up our little SD histogram, we'll close that down and we'll be able to see that is now available. So that's actually got that data that we just scanned in before but let's just get ourselves up and running now and we'll scan some more data in. Hopefully I'm going to be able to show you how important it is to be smooth with our throttle inputs. So at the moment we're at idle, I've just pulled the car into gear, and we can see that it's not very dramatic there because we are running again in closed loop and obviously the engine is reasonably well tuned.

But we can see as we transition through, we've got these green areas which aren't very realistic. If we come back and we look at our counts, you can see we've only got just a couple of hits in those cells so again we wouldn't want to rely on that data. So what we're going to do here, when we're filling this in, again we've got exactly the same scenario to consider that at a certain manfold pressure we are going to transition from closed loop mode, targeting lambda one to our power enrichment target. So we want to stay again below that for exactly the same reason. But just to demonstrate this we will go through and see what happens.

So we're at 2200 RPM now. Another thing that's important here is when we are using the dyno, we'll see our RPM, our actual RPM value there, we want to watch that because particularly with an automatic transmission, we're going to find that as we apply more load, sometimes we're going to get up a little bit more slip in our torque converter and this may require us to change our set point on our dyno just to make sure that we stay in that same column. Actually this one's pretty good, our torque converter isn't slipping and we're staying basically in the middle of that set of cells. And obviously just like tuning an aftermarket standalone engine management system, if we want to get good solid data we want to be as close to the centre of the cells we are tuning as we possibly can. So we'll just keep coming up here until we end up moving into open loop mode.

So let's just watch that. And I'm doing this a little bit faster than I normally would but we'll see what happens when we transition into open loop. I've just shut that off and we'll back off again. So we can see again that's happened up around about 92, 93 kPa and we can see again we've got that instantaneous little error there. Just talking about those outliers.

So this again the number's aren't dramatic, I honestly wouldn't be worried about this but it does show just because of the colouring, the sort of idea. So we can see here at 52.5 kPa we've got this little glitch which is minus 0.5%, again absolutely nothing to worry about, given the magnitude. But these are the sort of things we're looking for where there's an inconsistency in the trends that we are seeing and likewise here we've jumped up to 1.4%, 1.6% trim as we've gone into our power enrichment due to that error that we've already talked about. Alright we will move into questions. If you do have any questions on this, please ask those and we'll get into them in a second.

And it looks like we've got no questions. OK that makes it nice and easy for me. Obviously I explained everything perfectly. Remember for our HPA members if you do have any questions that crop up after this webinar's aired, if you're watching this in our archive, then please feel free to create a discussion topic in our forum and I'll be happy to answer those questions there. It really is an incredibly powerful way of speeding up the tuning process.

And analysing a huge amount of data in a very short amount of time. Thanks for joining us everyone, hopefully we'll see you again shortly, cheers.