AEMTuner crashes with virtual channels | AEM
8 posts / 0 new
Last post
Tunerfleg
Offline
Last seen: 2 months 1 week ago
Joined: 01/06/2018 - 01:59
AEMTuner crashes with virtual channels

Hello AEM team,

Issue:

I've did a number of virtual channels to observe e.g. ECT, which is controlled in closed loop by boost control function using my electrical pump as actuator and ECT as actual signal input. The problem I have now is when I go connect to the ECU and go to the boost control function side then AEMTuner crashes. 

Background:

The channel causing the crash is a virtual one, calculating the ChargeOutPress pressure signal input into a NPT thermistor signal (based on measured voltage level). This virtual channel consists of a polynomial of a degree of 5. So there is no dividing by 0 possible. The input signal is channel "Analog 16 [V]" (pin C1-71), which measures the voltage of the NPT thermistor, which has a parallel resistor (pin C1-51, +5 V source) to generate 2.49 kOhm at the sensor. Signal values are exactly there where they should be compared to the OEM sensor position signal. So the signal is what it should be. 

BTW, there is another operation of an virtual channel causing AEM Tuner crashes, it's just a substraction of lambda values.

Any help would be appriciated.

Markus

Tunerfleg
Offline
Last seen: 2 months 1 week ago
Joined: 01/06/2018 - 01:59
Seems like everyone is busy

Seems like everyone is busy with business. I will tune my car on the dyno next week. I would appreciate to have the issue clarified if it is an user error or an SW error. I don't like to have an 25 k€ engine on WOT when ECU is having an issue I can't sort out. If it is only an output channel with no effect on the ECU base function, why the heck does the SW crash down because of that?

1st function:  -44.60665*(23.83369*i0^5 - 67.74959*i0^4 + 76.30558*i0^3 - 44.25616*i0^2 + 15.10341*i0- 1.29065) + 136.24493, where i0 is Analog 16 [V] or pin C1-71, named as ECT_Prüf [°C]

2nd function: i0-i1, where i0 is VVC1 Target [deg] and i1 is VVC1A_Cam_Timing, named as VVC_Diff [°]

AEM_SB
Offline
Last seen: 2 months 3 weeks ago
Joined: 06/07/2014 - 14:29
The software was written and

The software was written and tested on PCs using English(US) for language and regional settings, and we are not in the habit of using the special character for degrees either. Try simpler names for your virtual channels, in case the special characters in your functions are causing the problem. Try using names like ECT_Pruf [C]  , and VVC_Diff [deg]   without the ü or ° characters.

 

Hope that helps,

SB

Tunerfleg
Offline
Last seen: 2 months 1 week ago
Joined: 01/06/2018 - 01:59
AEM_SB wrote:

AEM_SB wrote:

The software was written and tested on PCs using English(US) for language and regional settings, and we are not in the habit of using the special character for degrees either. Try simpler names for your virtual channels, in case the special characters in your functions are causing the problem. Try using names like ECT_Pruf [C]  , and VVC_Diff [deg]   without the ü or ° characters.

 

Hope that helps,

SB

Hello SB,

thanks for your help, which was just the right. Everything works fine when following your advice.

Kind regards

TF

Tunerfleg
Offline
Last seen: 2 months 1 week ago
Joined: 01/06/2018 - 01:59
AEM_SB wrote:

AEM_SB wrote:

The software was written and tested on PCs using English(US) for language and regional settings, and we are not in the habit of using the special character for degrees either. Try simpler names for your virtual channels, in case the special characters in your functions are causing the problem. Try using names like ECT_Pruf [C]  , and VVC_Diff [deg]   without the ü or ° characters.

After I tried simpler names everything works fine. Now a new issue came up, I have about 25 additional virtual channels, but they no longer appeare fully listed in the edit level, just 19 are shown there. When I delete several shown virtual channels via an Editor (Notepad++) they really are missed in the session file in general. Not the others, I have added myself. They are there in the session file, just not viewable in the InfinityTuner editor.

Is there a limitation of virtual channels?

 

Tunerfleg
Offline
Last seen: 2 months 1 week ago
Joined: 01/06/2018 - 01:59
Anyone with an idea?

Anyone with an idea?

AEM_SB
Offline
Last seen: 2 months 3 weeks ago
Joined: 06/07/2014 - 14:29
There may be a number of

There may be a number of characters parsing limit for virtual channels, but I'm not sure what it is. I added to a layout so it contained about 30 virtual channels, and it looked OK. Feel free to email your layout file, InfinitySupport (at) aempower.com  . You already know about avoiding special characters, and it's also good practice to multiply instead of divide if you're able to. For instance (i0 * 0.01) is safer operation than (i0 / 100).

 

Hope that helps,

SB

Tunerfleg
Offline
Last seen: 2 months 1 week ago
Joined: 01/06/2018 - 01:59
AEM_SB wrote:

AEM_SB wrote:

There may be a number of characters parsing limit for virtual channels, but I'm not sure what it is. I added to a layout so it contained about 30 virtual channels, and it looked OK. Feel free to email your layout file, InfinitySupport (at) aempower.com  . You already know about avoiding special characters, and it's also good practice to multiply instead of divide if you're able to. For instance (i0 * 0.01) is safer operation than (i0 / 100).

 

Hope that helps,

SB

Thanks AEM_SB,

I solved the issue by edding and storing it with notepad++. The list was full and ready to edit in the AEMTuner SW. Here I recognized there was an issue with the vehicle speed [KPH] channel, which I had in over 15 virtual channels for force and power calculations. The AEMTuner wasn't able to handle that unit, it were lost in the channel list also. Therefore I replaced it with vehicle speed [MPH] and calculated it back to kph. Now those virtual channels put out the right values and are loaded properly. The warning, when uploading the layout new, that several channels couldn't loaded or were not properly written was most helpful. I took a picture and went into them, this was the moment I got an idea what it is all about.

Kind regards

TF