MultiDisplay v2 in WVO converted diesel

Support in english
Post Reply
geekazoid
Posts: 17
Joined: Thu 6. Dec 2012, 09:25
Location: Vancouver, Canada

MultiDisplay v2 in WVO converted diesel

Post by geekazoid »

So I've been lurking on this site for about 9 months, since I discovered it while searching for how to integrate my automotive sensors to a microcontroller like arduino. My goals are:

  1. Consolidate a number of automotive gauges into a unified (more compact) solution, with adaptable/customizable UI (this project has achieved this wonderfully!)

  • Control my multi-fuel system with the microcontroller and perform datalogging

My current solution is using these gauges from a US manufacturer:
http://www.auberins.com/index.php?main_ ... ucts_id=19
20130512_194001.jpg
You can see its very tight. I was able to make a single-DIN panel for 4 gauges two switches and room left for some status LEDs and maybe a momentary switch or two. Above you see I've installed two gauges in the Pod; not where I want them but it was free space.

They are very nice instruments with a relay output and configurable relay trigger. I've been able to create a rudimentary control logic with these are automotive relays to switch the loads:
  • Input:
    - WVO Fuel Temperature relay (we need the fuel to be above 150F to combust)
    - WVO Fuel Pressure relay (we need the fuel pressure above 4 PSI)
    - Main Fuel Select Switch - ON (WVO), OFF (Diesel), ON (Purge)

    Basically we have five switches here that control automotive relays, below.
  • Output (control relays):
    - Fuel Supply Valve - OFF (Diesel->COMMON), ON (WVO->COMMON)
    - Fuel Return Valve - OFF (COMMON->Diesel), ON (COMMON->WVO)
    - Fuel Pump (WVO)

    Note: WVO means the secondary fuel system, COMMON is the injector pump. We have to isolate the WVO from the regular diesel tank. WVO is not safe to leave in the fuel system when the engine is not running.
When the main fuel select switch is ON and the Temp and Pressure are compliant, the Supply and Return valves as well as the fuel pump are activated. When the mail switch is set to PURGE, the Return valve alone is activated. So basically my relays are set up in series like gates.

Why I want to change to a microcontroller based system:

The WVO control circuit above is a very crude design, and it lacks some necessary improvements. I have two electric heaters I want to control like a thermostat, and I want to enable the ability to auto-purge the system with a timer (its possible now to forget about PURGE and overfill the WVO tank). Additionally auto-purge can run after the key is removed from the ignition, much like a turbo timer which is common on diesel trucks. Right now we do this by shorting pins on the remote starter, but a relay to control the ignition circuit is another solution (my vehicle is older, has a simple ignition circuit). Ultimately I want a smart timer that is aware of the ignition state and will run the auto-purge cycle (e.g. 5 mins) even if it started before the vehicle was parked.

Also I want to add some more sensors (a lot more) and potentially perform some data logging.

There are some boxed solutions that do almost all of this but they are closed and do not provide for hacking. Nothing to be learned from these.

So this project is my educational opportunity. :-) I was going to tackle this from scratch but the work done here is so nice and open source that I think its worth the time investment to learn it and test, ultimately contributing to the project. Because a lot of people are running WVO it could add attention to the project and help increase the profile.
User avatar
designer2k2
Administrator
Posts: 721
Joined: Mon 31. May 2010, 20:13
Location: Innsbruck
Contact:

Re: MultiDisplay v2 in WVO converted diesel

Post by designer2k2 »

can you draw a kind of state diagram for what the system should do? im not realy getting it :oops:
itsmyfault...
geekazoid
Posts: 17
Joined: Thu 6. Dec 2012, 09:25
Location: Vancouver, Canada

Re: MultiDisplay v2 in WVO converted diesel

Post by geekazoid »

Quick flowchart:
SimpleWVO.png
SimpleWVO.png (14.08 KiB) Viewed 26123 times
User avatar
designer2k2
Administrator
Posts: 721
Joined: Mon 31. May 2010, 20:13
Location: Innsbruck
Contact:

Re: MultiDisplay v2 in WVO converted diesel

Post by designer2k2 »

ok :)

you can attach 4 buttons to the V2 directly, where 3 from that will cover your fuel switch

Temp and fuel sensors should work also, the Inputs are made for VDO sensor, but they basically measure resistance.
Maybe you will need to measure your sensors and correct the lookup tables, we will help you on that ;)

For the 4 relays you will need either transistors or i would prefer using a ULN2003 Driver.
That will give you 7 outputs with enough power to drive relays, and does not need a lot of space.
itsmyfault...
geekazoid
Posts: 17
Joined: Thu 6. Dec 2012, 09:25
Location: Vancouver, Canada

Re: MultiDisplay v2 in WVO converted diesel

Post by geekazoid »

Cool. http://www.ti.com/lit/ds/symlink/uln2003a.pdf I need enough juice to throw automotive relays. I'll need to test them to see what it takes.
User avatar
designer2k2
Administrator
Posts: 721
Joined: Mon 31. May 2010, 20:13
Location: Innsbruck
Contact:

Re: MultiDisplay v2 in WVO converted diesel

Post by designer2k2 »

the ULN2003 gives 500mA per channel, max 2,5A in total.
an average automotive relay has +80 Ohm´s whats a rough 200mA per relay. so should theoretically work ;)
itsmyfault...
geekazoid
Posts: 17
Joined: Thu 6. Dec 2012, 09:25
Location: Vancouver, Canada

Re: MultiDisplay v2 in WVO converted diesel

Post by geekazoid »

designer2k2 wrote:the ULN2003 gives 500mA per channel, max 2,5A in total.
an average automotive relay has +80 Ohm´s whats a rough 200mA per relay. so should theoretically work ;)
Yeah I was looking at this spec sheet http://www.bcae1.com/ENG_DS_V23234-X0000-A001_F.pdf and was surprised at how little current you need, and that you can select different coil trigger ratings.

Aside, this may be the single best automotive relay page on the web http://www.bcae1.com/relays.htm.
User avatar
designer2k2
Administrator
Posts: 721
Joined: Mon 31. May 2010, 20:13
Location: Innsbruck
Contact:

Re: MultiDisplay v2 in WVO converted diesel

Post by designer2k2 »

i looked a bit deeper into the ULN, and im not shure it will work:
ULN2003A_dutyrating.png
ULN2003A_dutyrating.png (24.93 KiB) Viewed 26113 times
where the N=4 curve on 100% Duty goes to ~ 120mA, thats not enough...

but lets discuss this here: Driving multiple automotive relays and not fill up your thread with this :)
itsmyfault...
Post Reply