Splitting a channel

Discontinued earlier generation Dash Loggers

Splitting a channel

Postby IDP on Sat Feb 26, 2011 7:49 am

I have a Detonation event channel from my ECU (2 stroke racing engine) which increments each time a detonation event occurs.
I have created 3 conditions in the ADL to create 3 different areas of detonation.
I now need to make 3 detonation count channels.
So if I have 100 detonations in my detonation event channel that occurred 50 in area 1, 30 in area 2 and 20 in area 3 How do I make 3 channels to reflect this?

Anyone with any ideas please?
IDP
 
Posts: 164
Joined: Wed Aug 13, 2008 11:30 pm

Re: Splitting a channel

Postby OmarK on Mon Feb 28, 2011 8:20 am

If your detonation event channel is like a status either 0 or 1, then you can create a GP constant for each condition. Then use channel maths to add the value of the detonation event channel. The output channel can be set to the GP Constant channel that you just used for your input and this will update... hopefully that makes sense... :)
OmarK
 
Posts: 214
Joined: Mon Nov 10, 2008 4:39 pm

Re: Splitting a channel

Postby IDP on Mon Feb 28, 2011 7:56 pm

Hi Omar,

Thanks for your input.

That would work but unfortunately my Detonation event channel is an incrementing value.
If I have 100 detonation events the channel will read 100.

How can I change my detonation channel into a status?
IDP
 
Posts: 164
Joined: Wed Aug 13, 2008 11:30 pm

Re: Splitting a channel

Postby BFR on Wed Mar 02, 2011 10:35 pm

What are your 3 areas reflecting - A position in the RPM band?; An amount of Throttle Position?; A place on the circuit?; A frequency of Detonations?

So the question is - what is your criteria for placing certain detonation events in Areas 1, 2 or 3?

Knowing this will change how you deal with the increase in your Detonation Event channel.

Also, how do have the Detonation Event channel coming into the ADL? Is it through RS232 every 20Hz, or over CAN?

Maybe by posting your dash config it might be easier to answer these questions. We'll be able to see how it comes in, and what you want it to tell you. Based on that we can figure out what to do with the channel.
BFR
 
Posts: 5
Joined: Mon Jul 14, 2008 12:44 am

Re: Splitting a channel

Postby IDP on Wed Mar 02, 2011 11:27 pm

The Detonation event channel comes into the ADL via CAN.

The 3 areas are defined as follows.

Area 1 Throttle Pos >= 85% and Power Jet True.
Area 2 Throttle Pos >= 85% and Power Jet False.
Area 3 Throttle Pos <= 85% and power Jet True.

The Power Jet switches off at a set RPM Point which is variable by current Gear.

Thanks for your input.
IDP
 
Posts: 164
Joined: Wed Aug 13, 2008 11:30 pm

Re: Splitting a channel

Postby BFR on Wed Mar 23, 2011 9:48 am

Try looking at the attached config to see if this will work.

It is made in ADL2 Dash Manager, and was done very quickly so isn't pretty, but might give you an idea which way to go.

It uses an M800 as the ECU supplying the CAN stream.

Your "Power Jet" channel supplied by the ECU is called "User Math 1" and is either 1 (on) or 0 (off).
Your "Detonation Event" channel supplied by the ECU is called "User Math 2" and is an incrementing number.

Your output channels are:
Area 1 = "User Math 11"
Area 2 = "User Math 12"
Area 3 = "User Math 13"

Look in Calculation > Channel Maths to see how simple it is. Whether it works is another question....
Attachments
IDP_Config_v02.D45
(234.42 KiB) Downloaded 1217 times
BFR
 
Posts: 5
Joined: Mon Jul 14, 2008 12:44 am

Re: Splitting a channel

Postby IDP on Wed Mar 30, 2011 7:59 am

Many thanks for taking the time to make up this config.

I had come up with something very similar myself but using "changed by 1" instead of "updated"

What I have works fine if the detonations occur spaced out but if I get a few in quick succesion the ADL will see the channel change by (5 for example) in one hit and only update new channel by 1.

Is using updated likely to work any differently to changed by 1?

Again, many thanks for your time.
IDP
 
Posts: 164
Joined: Wed Aug 13, 2008 11:30 pm


Return to ADL, ADL2 and SDL

Who is online

Users browsing this forum: No registered users and 5 guests