Pages: [1] 2 3 ... 5
Author Topic: True automatic map changing flex-fuel setup for ME7  (Read 102735 times)
jibberjive
Hero Member
*****

Karma: +23/-2
Offline Offline

Posts: 536


« on: December 19, 2012, 10:17:11 AM »

I think I may have come up with something that could be really cool.  So I am going to be running E85 in my car eventually (likely within the next month), and I was thinking about how to possibly make an automatic map changer based on the ethanol content. 

The ethanol sensor (hereafter referred to as ES) used on the factory cars outputs a PWM signal that tells how much ethanol content the fuel has and the fuel temperature.   The frequency indicates ethanol percentage, such that 50hz=0% ethanol, 150hz=100% Ethanol, and +1hz=+1% eth. The pulse width determines fuel temp such that 1 millisecond = -40*F and 5 milliseconds = 257*F. Both are linear.

So I was thinking about how I could get a PWM input into the ME7 ECU, and I remembered that the EGT's deal with PWM, and the duty cycle of the EGT is what determines the temperature reading.  So looking back at GGATS in the FR (pg 381) the initial inputs from the EGT sensors seem to be

TCCHATS_W   - A High time exhaust gas temperature sensor from CC unit (or the pulse width)

TCCPATS_W   - A Period exhaust temperature sensor bank 2 of CC unit

This got me wondering if the circuity in the plastic EGT box at the connector figures out the pulse width and period, and outputs those via two separate wires, or if the PWM signal goes straight to the ECU and the ECU figures out the pulse width and period itself, and assigns those values to tcchats and tccpats.  Anyone know where the calculation of the pulse width and period take place?  The EGT sensor has 3 wires connecting it (see pic below).  Pin 3 is ground, does anyone know off the top of their head what the other two wires are (I have yet to look at the wiring schematic)?  If we know that one of the other two is a power wire, then we know that the odd-man-out is the PWM signal to tap into.




If we get TCCPATS_W reading in the value from the ethanol content sensor, we could possibly write a routine similar to the map switching method used in the other thread, but instead of switching the map via the cruise-control stalk (or whatever), it is decided by a variable that is dependent on the PWM frequency from the ethanol sensor.  We could make a map that is setup something like, frequency 0-110 hz (which is 60% ethanol), use map 1, 110-130 hz (80%) use map 2, 130-150hz, use map 3.  And with it set up like this, TCCHATS is a variable that one can log to log the fuel temperature.

Thoughts?
« Last Edit: December 19, 2012, 10:20:00 AM by jibberjive » Logged
jibberjive
Hero Member
*****

Karma: +23/-2
Offline Offline

Posts: 536


« Reply #1 on: December 19, 2012, 10:18:39 AM »

Another method that I could do (since I already have the Zeitronix ethanol content analyzer gauge) is to use the analog linear 0-5V output from the Zeitronix ECA gauge to input into the secondary cats input, and have the map switching table be based on those voltages.  Obviously there would need to be some limit raising, error/variable disabling, etc to get the secondary cats to read the voltage that high and for those voltages to not be used as the secondary cats normally would. There's some signal conditioning done to those O2 inputs that might be beneficial as well.  I'm not sure what the best way to approach this is, just kind of thinking out loud.

http://www.zeitronix.com/Products/ECA/ECA.shtml
« Last Edit: December 19, 2012, 10:28:40 AM by jibberjive » Logged
jibberjive
Hero Member
*****

Karma: +23/-2
Offline Offline

Posts: 536


« Reply #2 on: December 19, 2012, 10:20:11 AM »

Saved
Logged
elRey
Hero Member
*****

Karma: +32/-1
Offline Offline

Posts: 565


« Reply #3 on: December 19, 2012, 10:29:11 AM »

as opposed to frm?
Logged
britishturbo
Sr. Member
****

Karma: +14/-1
Offline Offline

Posts: 306


« Reply #4 on: December 19, 2012, 10:30:27 AM »

Pin 1 is the signal :-)

Sounds like a very viable idea!
I'm still going to work on my pwm to voltage converter board though ;-)
Logged
AARDQ
Sr. Member
****

Karma: +11/-0
Offline Offline

Posts: 338


« Reply #5 on: December 19, 2012, 10:38:19 AM »

Not according to Mitchell.  Power is pin 1, ground is pin 3 and signal is pin 2.
Logged
britishturbo
Sr. Member
****

Karma: +14/-1
Offline Offline

Posts: 306


« Reply #6 on: December 19, 2012, 10:43:26 AM »

Not according to Mitchell.  Power is pin 1, ground is pin 3 and signal is pin 2.

I'm looking at the Mitchell 1 wiring diagram right now. It shows:

Pin1: Signal
Pin2: Ground
Pin3: +12V
Logged
britishturbo
Sr. Member
****

Karma: +14/-1
Offline Offline

Posts: 306


« Reply #7 on: December 19, 2012, 10:45:02 AM »

Logged
jibberjive
Hero Member
*****

Karma: +23/-2
Offline Offline

Posts: 536


« Reply #8 on: December 19, 2012, 11:07:17 AM »

as opposed to frm?
I had to search the site to figure out what you are talking about.  I hadn't seen your thread before I started this one, but the concept is the same, just with the trigger being an actual ethanol sensor incorporated into the system rather than relying only on the trims/knock.  Any way to get automatic switching would be awesome.  I would feel better about throwing an ethanol sensor in the mix though personally.


I'm looking at the Mitchell 1 wiring diagram right now. It shows:

Pin1: Signal
Pin2: Ground
Pin3: +12V
I thought, according to Bentley, Pin 1 was some type of power and pin 3 is ground.  Either way though, if there's only one signal wire, then it is carrying a PWM signal and the separation into pulse width (TCCPATS) and period (TCCHATS) are done at a later stage.  And we could quite possibly just splice the ethanol sensor straight in. Looks promising!
« Last Edit: December 19, 2012, 12:47:37 PM by jibberjive » Logged
jibberjive
Hero Member
*****

Karma: +23/-2
Offline Offline

Posts: 536


« Reply #9 on: December 19, 2012, 11:11:54 AM »

I'm more of a logic guy and don't have a ton of experience with disassembly/low level programming, but do our ECU's even have enough free space to throw in a routine with like 5 different settings that have 5 different maps per setting (assuming each setting utilizes entirely new maps rather than just multiplying a map by a scalar factor)?
« Last Edit: December 19, 2012, 11:15:01 AM by jibberjive » Logged
nyet
Administrator
Hero Member
*****

Karma: +607/-168
Offline Offline

Posts: 12268


WWW
« Reply #10 on: December 19, 2012, 11:15:49 AM »

Yes, there is a TON of unused space.

There is a question (at some point) of cpu load and fast path timing, but i doubt these modifications will add that much to either.
Logged

ME7.1 tuning guide
ECUx Plot
ME7Sum checksum
Trim heatmap tool

Please do not ask me for tunes. I'm here to help people make their own.

Do not PM me technical questions! Please, ask all questions on the forums! Doing so will ensure the next person with the same issue gets the opportunity to learn from your ex
britishturbo
Sr. Member
****

Karma: +14/-1
Offline Offline

Posts: 306


« Reply #11 on: December 19, 2012, 11:42:21 AM »

One thing to check...

The PWM output from the Ethanol sensor is a 5V signal.
Is the EGT a 12V or 5V signal?
Logged
AARDQ
Sr. Member
****

Karma: +11/-0
Offline Offline

Posts: 338


« Reply #12 on: December 19, 2012, 11:50:04 AM »

I'm looking at the Mitchell 1 wiring diagram right now. It shows:

Pin1: Signal
Pin2: Ground
Pin3: +12V

Just went and measured -- you (and Mitchell) are absolutely correct.
Logged
britishturbo
Sr. Member
****

Karma: +14/-1
Offline Offline

Posts: 306


« Reply #13 on: December 19, 2012, 12:05:07 PM »

Just went and measured -- you (and Mitchell) are absolutely correct.

I hate it when that happens ;-)
Logged
DonSupreme
Newbie
*

Karma: +3/-1
Offline Offline

Posts: 22


« Reply #14 on: December 19, 2012, 12:40:12 PM »

One thing to check...

The PWM output from the Ethanol sensor is a 5V signal.
Is the EGT a 12V or 5V signal?

As I understand it, the ES does not output 5v, its pulls the signal to ground. The receiving component needs to have a signal pull up, 5v for example.
Logged
Pages: [1] 2 3 ... 5
  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Page created in 0.045 seconds with 17 queries. (Pretty URLs adds 0s, 0q)