Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

variable valve timing control based on rpm and throttle

Hello to everyone. I am using two signals to feed the Keil MCB2300 board. One is for engine rpm, and the other for load factor (% of throttle pressed). I want to control a simple on/off output which is supposed to be seen through an led on the board. Up to now I have 2 gauges to monitor the signals in labview through CAN-bus. I need now a 2 dimensional map (5 by 10) in order to be able to set in every conditions the on/off state of the vvt (led). What kind of a map do I need to choose from labview? Any help?

Thank you!

0 Kudos
Message 1 of 5
(7,019 Views)

Hi madk4speed,

 

are you refering to a logic table you want to implement in LabVIEW? E.g. Bit 1 and 3 and 5 are TRUE => LED ON?

 

If so you could use a KV-Diagramm to reduce your matrix and then implement the boolean equations in LabVIEW (http://en.wikipedia.org/wiki/Karnaugh_map)

 

Alternatively you could implement the map as a 2D boolean array, then search the array line by line for a match and then turn on or off the led.

 

Best Regards,

Andreas Stark
LabVIEW Lead @ Rocket Factory Augsburg
0 Kudos
Message 2 of 5
(6,990 Views)

Thank you Andreas

 

So should I use Number to Array <<conversion>>? Which one is the correct one?

 

 

Kostas Kritikos

Message Edited by madk4speed on 04-30-2010 08:33 AM
0 Kudos
Message 3 of 5
(6,943 Views)

Hi Kostas,

 

I'm not sure if the conversion is the correct thing.

 

Maybe you can explain your problem a bit more - as easy as possible. You could attach a image of your example data and what you need to get done.

 

Best Regards,

Andreas Stark
LabVIEW Lead @ Rocket Factory Augsburg
0 Kudos
Message 4 of 5
(6,938 Views)

2 signals go to the mcb2300 board:

 

load: range from 0-1023 (1024 values)

 

rpm: range from 0-4999 (5000 values)

 

I scale the signals to a map 5x10, so i have 10 lines (load) and 5 columns(rpm). I have preset values (0 and 1) in the cells so as to define the output of the VVT controller. I would like to have this map in labview and a way to highlight in which cell (load vs rpm) the engine is working.

 

Also is it possible to to alter the values in the cells without running Uvision but instead through labview? So that everytime i change the configuration of the vvt output i don't have to re-flash my board?

Download All
0 Kudos
Message 5 of 5
(6,933 Views)