pgmfi.org

Hacking up Honda's ECU
It is currently Fri Sep 03, 2010 12:29 pm

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 149 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 10  Next
Author Message
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Mon Jan 26, 2009 11:42 pm 
Offline

Joined: Mon Sep 26, 2005 11:52 am
Posts: 1948
Location: Morgan Hill, Ca
Type-GS-R-Turbo wrote:
Sweet! I'm going to use that as a reference, I'll let you know how it works out.


Let me know when I can pick one up from you... I would love one of these; I can paypal some cash now if you want.... as in tonight =P

but; I would suggest a feature; one for the A17 AT lockup outputs as eCtune uses that for PWM too, and is the only way to PWM on a JDM ECU =)


I love it...






and


You sir;


are


THE MAN!

_________________
D15B *buildin it*
eCtune user and supporter
CROME user and supporter
Freelog user and supporter

The Wiki Knows Best!


Top
 Profile  
 
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Fri Jan 30, 2009 3:10 am 
Offline

Joined: Tue Jul 27, 2004 2:29 am
Posts: 471
Location: Baton Rouge, LA
Hey guys, I just posted the engine sim on Moates. I am taking pre-orders to fund the new version that supports VTEC and PWM.

So go ahead, buy my stuff!! (Shameless plug LOL)

http://www.moates.net/product_info.php?cPath=50&products_id=198

_________________
Moates.net Technical Support


Top
 Profile E-mail  
 
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Fri Jan 30, 2009 8:03 am 
Offline

Joined: Tue Jul 27, 2004 2:16 am
Posts: 250
Location: Puerto Rico
I'm super interested but I think you should re-evaluate the way you connect the ECU plugs to your board.

I'm concerned that after multiple insertions and removals from the ECUs the wires will start to come off of their solder joints. Maybe reinforcement in the area they are soldered in with some type of a cover which wraps around this area on the whole board, securing the wires to the board will help? (see pic)

Image

Another option would be to use a mating connector between the ECU plugs and the board. This way we could plug the wires into the ECU first then 'snap' them into the mating connector on the board. This will probably add more cost to the SIM but I think it will last longer.

My 2 cents...


Top
 Profile  
 
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Fri Jan 30, 2009 11:30 am 
Offline

Joined: Tue Jul 27, 2004 2:29 am
Posts: 471
Location: Baton Rouge, LA
I should have probably mentioned that in the final revision there are 6" of wires between the plugs and the ECU. So yeah, I did think of that. The connector would be somewhat difficult/expensive though.

_________________
Moates.net Technical Support


Top
 Profile E-mail  
 
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Fri Jan 30, 2009 12:44 pm 
Offline
PGMFI Elf

Joined: Tue Jul 27, 2004 2:17 am
Posts: 1030
Location: Phoenix, AZ
Firmware updatable, for when you fix things like the CKP issue?

_________________
A.K.A. HRTuning
NepTune :)


Top
 Profile  
 
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Fri Jan 30, 2009 2:11 pm 
Offline

Joined: Tue Jul 27, 2004 2:29 am
Posts: 471
Location: Baton Rouge, LA
Not ATM, but that might be something I could implement. I have some bootloader code for the PICs but it is rather large. But it shouldn't be a problem since the code on the chip is pretty minimal.

If we were to do it like that, you would have to use a HuLog to interface to it.

I'm starting the think that the problem may be with the size of the capacitors. I was working on it the other day and I was able to get it to consistantly throw a code 9 instead of a code 4 by replacing the .22uF cap on the CKP line with a 100uF cap. It went from having this really nasty waveform to almost a perfect zero-crossing square wave.

I then attempted replacing all the caps with 100uF and the ECU didn't pick up any of the signals. I think the problem is that although it zero crosses, it only goes to about -1V which I don't think is adequate enough to trigger the TDC and CYP lines.

Something I could try would be to use a MAX232 to produce the zero cross waveform I need. That would eliminate the need for a AC transformer/rectifier to get the negative voltage I would otherwise need.

I also attempted to use 3 series diodes on the ground lines of the ECU so that the ECU's ground was actually about 2.1 volts. This worked for a short period of time, but for some strange reason the voltage across the diodes shrank within the course of the hour I was testing it, and eventually I was only getting a total of like 1 volt. It could have been that I was using schottky diodes...

_________________
Moates.net Technical Support


Top
 Profile E-mail  
 
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Fri Jan 30, 2009 4:02 pm 
Offline
PGMFI Elf

Joined: Tue Jul 27, 2004 2:17 am
Posts: 1030
Location: Phoenix, AZ
I think that'd be a good thing to have, and if it did have an interface on it, it would be nice to be able to control it via software as well. Then you could simulate a running engine, changing multiple parameters at a time.

Interesting finds. I'm sure you'll perfect it in short time.

_________________
A.K.A. HRTuning
NepTune :)


Top
 Profile  
 
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Sun Feb 15, 2009 10:59 pm 
Offline

Joined: Tue Jul 27, 2004 2:29 am
Posts: 471
Location: Baton Rouge, LA
Alright guys, no more codes!

I found the problem with the input I was feeding it. The amplitude was simply not high enough. I took the time to trace the input lines for the 3 crank position sensors, and I found that all three go into the perpendicular daughterboard (not the one directly next to J12, but the other one). The purpose of this board is to turn the zero crossing variable reluctor signals into nice clean 5V square waves that the processor can use.

The problem is that the circuit is designed to compensate for amplitude increases as a function of frequency. Therefore the higher the frequency input, the higher amplitude the circuit requires to still produce an output.

The 5V peak to peak zero crossing square wave produced by my series capacitor just didn't cut it anywhere above 3200rpm.

As I increased frequency, I was watching the circuit dropping edges on the output, simultaneously I would see the my Code 4 nemesis pop up. So I knew I had gotten to the bottom of it.

I rigged up a max232 chip on the CKP line (this is the only line affected because it cycles 24 times per cylinder #1 TDC, therefore the circuit takes its toll on this signal the hardest)

The MAX232 gave me a 17V peak to peak wave and I can now crank the RPM up to 8000 with no dropped teeth.

I'm going to be adding a MAX232 chip (or similar variant) to the design and put it into production.

Thanks for the support guys!

_________________
Moates.net Technical Support


Top
 Profile E-mail  
 
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Mon Feb 16, 2009 8:48 am 
Offline

Joined: Tue Jul 27, 2004 2:16 am
Posts: 250
Location: Puerto Rico
Great news! When will the product be available for delivery?


Top
 Profile  
 
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Mon Feb 16, 2009 12:45 pm 
Offline
PGMFI Elf

Joined: Tue Jul 27, 2004 2:17 am
Posts: 1030
Location: Phoenix, AZ
Good stuff. :)

_________________
A.K.A. HRTuning
NepTune :)


Top
 Profile  
 
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Mon Feb 16, 2009 8:02 pm 
Offline

Joined: Wed Sep 01, 2004 12:48 am
Posts: 83
Type-GS-R-Turbo wrote:

I rigged up a max232 chip on the CKP line (this is the only line affected because it cycles 24 times per cylinder #1 TDC, therefore the circuit takes its toll on this signal the hardest)

The MAX232 gave me a 17V peak to peak wave and I can now crank the RPM up to 8000 with no dropped teeth.

I'm going to be adding a MAX232 chip (or similar variant) to the design and put it into production.

Thanks for the support guys!


i had considered using the MAX232 (or MAX233 for its internal caps) to switch the dizzy VR sensors to hall effect reading notches in the camshaft pulleys so i could swap over to DIS ignition and get rid of the distributor entirely. this is definitely good news! if i remember right from the datasheet, doesn't the TTL input get inverted on the RS-232 output?

i'm curious though too.. have you ever tried it with just a digital, positive voltage signal? that daughterboard looks like most of the chips are comparators, and i've always wondered if they just use a voltage threshold, rather than actual zero-crossing.. i've noticed from scope waveforms that honda is one of the only systems that uses a VR setup where the voltage first goes NEGATIVE as the tooth approaches, then positive as the tooth passes, making the zero-cross a positive voltage slope. is it possible that it's just this positive voltage slope that, when it reaches a given threshold (adjusted for rpm), triggers the square wave? or are we sure that the signal must cross zero? is there any way if you can test to see whether a 12v square wave that does not cross zero would still trigger the ECU?

i keep going back to the basic voltage threshold idea, especially since you mentioned that cleaning up the zero-crossing had little or no effect on signal quality until you increased the amplitude of the signal itself.

i did not know the trigger threshold increased with frequency though, that is very interesting and makes a shit ton of sense, considering the noise issues people seem to have with toyota/mazda/denso distributor sensors on systems that do NOT have that rising-rate filter (i.e. megasquirt). either way, this is all fascinating. thanks for sharing!


Top
 Profile  
 
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Tue Feb 17, 2009 1:11 am 
Offline

Joined: Tue Jul 27, 2004 2:29 am
Posts: 471
Location: Baton Rouge, LA
Quote:
Great news! When will the product be available for delivery?


I'm estimating 2 weeks, so roughly March 1.

Quote:
have you ever tried it with just a digital, positive voltage signal?


I actually have not tried a 0-12V signal, but that would be worth a shot. I did attempt it with a 0-5V straight off the PIC and it didn't work.

Quote:
i did not know the trigger threshold increased with frequency though, that is very interesting and makes a shit ton of sense, considering the noise issues people seem to have with toyota/mazda/denso distributor sensors on systems that do NOT have that rising-rate filter (i.e. megasquirt).


I'm not really sure if the direction of the slope really matters all that much. I have fought many a days reading in disgusting variable reluctor signals on megasquirt and I wish I would've just bit the bullet and put a damn trigger wheel/hall effect on it. Ugh, nightmare.

_________________
Moates.net Technical Support


Top
 Profile E-mail  
 
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Tue Mar 03, 2009 6:12 pm 
Offline

Joined: Tue Jul 27, 2004 2:16 am
Posts: 250
Location: Puerto Rico
Available yet?


Top
 Profile  
 
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Tue Mar 03, 2009 7:48 pm 
Offline

Joined: Tue Jul 27, 2004 2:29 am
Posts: 471
Location: Baton Rouge, LA
I got the boards in today and I'm literally soldering them together right now.

_________________
Moates.net Technical Support


Top
 Profile E-mail  
 
 Post subject: Re: Powering an ODB1 ECU on the Bench
PostPosted: Tue Mar 10, 2009 4:05 am 
Offline

Joined: Tue Jul 27, 2004 2:16 am
Posts: 162
3SGTEme wrote:
i keep going back to the basic voltage threshold idea, especially since you mentioned that cleaning up the zero-crossing had little or no effect on signal quality until you increased the amplitude of the signal itself.

(I'm not native english..)
Are you saying that a simple 0 to 12v square would be enough?
That would also mean that you can suffice with just a transistor instead of a MAX23-something, right?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 149 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 10  Next

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group