Power FC Forum Apex Power FC Support and Questions.

Power FC Hacking the PowerFC/DataLogIt

Thread Tools
 
Search this Thread
 
Old 03-01-05, 02:19 PM
  #51  
Senior Member

 
vinayp's Avatar
 
Join Date: Apr 2002
Location: Boston, MA
Posts: 251
Likes: 0
Received 0 Likes on 0 Posts
There were several people working on auto-tuning with the PFC last year. Tuning the fuel map is pretty stratightforward, but the ignition was the tricky part. Do you guys have any ideas on how to auto-tune the ignition at all? It seems pretty difficult to me to be able to safely modify the ignition map automatically, even based on having real-time EGT data.
Old 03-01-05, 02:32 PM
  #52  
Junior Member

 
Rudy 34's Avatar
 
Join Date: Feb 2005
Location: France
Posts: 25
Likes: 0
Received 0 Likes on 0 Posts
Thanks for your code
FastHatch, can you share your powerfc emulator application (not the source code) ?
Old 03-01-05, 04:56 PM
  #53  
Senior Member

 
FastHatch's Avatar
 
Join Date: Feb 2005
Location: Germany
Posts: 427
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by Rudy 34
FastHatch, can you share your powerfc emulator application (not the source code) ?
The app will be available for download by end of march here: FC Tune

It is not an PFC emulator, it is a free replacement for FC Edit. But it can be used as an emulator. Maybe i disable that in the release, i am just using it for testing.

Monitoring/Datalogging is not implemented yet, also it is currently only for Hondas.


Originally Posted by vinayp
Do you guys have any ideas on how to auto-tune the ignition at all? It seems pretty difficult to me to be able to safely modify the ignition map automatically, even based on having real-time EGT data.
You would need EGT and knock to see if timing is safe, but without dyno readings tuning timing is useless. Isn't it? Advancing the timing till you have knock isn't the point where you make the most power!?!?
Old 03-01-05, 05:09 PM
  #54  
Senior Member

 
FastHatch's Avatar
 
Join Date: Feb 2005
Location: Germany
Posts: 427
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by Goblin
The second time the command is sent, an eight character non NULL terminated string describing what platform this PowerFC is for is returned. For RX-7's, it's "13B-REW ".
"13B-REW " = RX7
"B16A1 " = Honda
"B16B " = Honda
"B18C " = Honda

I guess the strings can be found here: http://www.fc-datalogit.co.nz/model-status.html
Old 03-01-05, 06:59 PM
  #55  
Tequila? ..it's like beer

iTrader: (1)
 
NewbernD's Avatar
 
Join Date: Mar 2001
Location: Woodbine, MD
Posts: 1,124
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by FastHatch
The app will be available for download by end of march here: FC Tune

It is not an PFC emulator, it is a free replacement for FC Edit. But it can be used as an emulator. Maybe i disable that in the release, i am just using it for testing.

Monitoring/Datalogging is not implemented yet, also it is currently only for Hondas.




You would need EGT and knock to see if timing is safe, but without dyno readings tuning timing is useless. Isn't it? Advancing the timing till you have knock isn't the point where you make the most power!?!?
Not that I think auto-tuning timing is a terribly good idea, but..

Since you'll have access to elapsed time & distance (calculated from speed I suppose) you'd be able to generate a torque & HP curve right? While it wouldn't necessarilly be as accurate as a dyno the results would at least be consistent with the car. You might not be able to brag about your FCTune HP sheet but you could compare changes in 2 different runs and use it as a tuning aid.
Old 03-02-05, 03:29 PM
  #56  
Junior Member

 
Rudy 34's Avatar
 
Join Date: Feb 2005
Location: France
Posts: 25
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by NeoTuri
Not sure yet. The plan right now is to basically handle the task of the Datalogit directly with a PC interface (LPT1, RS-232, or USB).

Last night I was inspecting signals going between the ECU and PF Commander. I ran into a few issues:

Apparently, my laptop's parallel port I/O operates at ~3.0v, but the PFC is 5.0v. I imagine it's different among various hardware manufacturers. That's not really a problem at this juncture, because there's still a big enough difference to tell if the data/clock lines have been pulled to ground or not.

There's also an issue with the speed of directly communicating with a PC. The parallel port has an optional line that triggers an IRQ event. I wrote some code last night to test the responsiveness of the channel. It works sometimes, but it means I will need to use some latches to hold the data while I pull it down from the circuit.
Some news ?
Old 03-02-05, 10:29 PM
  #57  
The shy megalomaniac

iTrader: (2)
 
NeoTuri's Avatar
 
Join Date: May 2003
Location: Atlanta, GA
Posts: 881
Received 79 Likes on 59 Posts
Originally Posted by Rudy 34
Some news ?
Yes, actually.

I wired some TTLs and discovered the following:

The PFC communicates using something very close if not exactly the I2C protocol (by Philips). There's a data line and a clock line. I've measured the clock line operating at ~200 Hz, but from some other documents I've encountered, I'm under the impression that it's supposed to be able go as high as 19.2kbaud.

The clock line seems to function normally between ground and 5V. However, I haven't noticed the data line drip any lower than 4.95V. Eventhough the TTLs only see that as a logical ON state, putting the data line on the clock I/O does trigger them. Strange. Might be a loose wire or something.

I'm testing some other circuits to try to get an accurate grip on what is really going on the logical level. I know I will eventually have to invest in some PIC programmers, as the chips are quite useless without code.
Old 03-03-05, 02:21 AM
  #58  
Junior Member

 
Rudy 34's Avatar
 
Join Date: Feb 2005
Location: France
Posts: 25
Likes: 0
Received 0 Likes on 0 Posts
Sure it will be useless without programmer :p So you already have the code for some pics or you get some code for standard I2C interface based on a PIC ?
Old 03-03-05, 06:50 AM
  #59  
The shy megalomaniac

iTrader: (2)
 
NeoTuri's Avatar
 
Join Date: May 2003
Location: Atlanta, GA
Posts: 881
Received 79 Likes on 59 Posts
Originally Posted by Rudy 34
Sure it will be useless without programmer :p So you already have the code for some pics or you get some code for standard I2C interface based on a PIC ?
Since I learned how the protocol works, I'm going to be writing that when I get the programmer. I'm ordering one as we speak. I've been putting this purchase off for far too long.

I'm pretty sure there are code samples of this out on the net. I haven't searched much for them, but I'm pretty sure they exist.

Until I get the programmer, I'm effectively limited to using just my oscilloscope.
Old 03-03-05, 02:15 PM
  #60  
Junior Member

 
Rudy 34's Avatar
 
Join Date: Feb 2005
Location: France
Posts: 25
Likes: 0
Received 0 Likes on 0 Posts
I've got the programmer but no more the oscilloscope.... not so easy to work I will look for some sample code if any.
Old 03-04-05, 03:06 AM
  #61  
Newbie
 
disa_g's Avatar
 
Join Date: Mar 2005
Location: Russia
Posts: 3
Likes: 0
Received 0 Likes on 0 Posts
Can somebody make a photo of the DATALOGIT BOX internals ?
We now making the interface to connect power FC .
Old 03-04-05, 07:38 AM
  #62  
Rotary Freak

iTrader: (3)
 
Jay7 Nyc's Avatar
 
Join Date: Feb 2004
Location: NYC - SFL
Posts: 1,696
Likes: 0
Received 0 Likes on 0 Posts
Thumbs up

wow very interesting thread I just came across this thread this morning. Goblin any updates on your project?

aim: noc jayy
Old 03-12-05, 04:34 PM
  #63  
Junior Member

 
Rudy 34's Avatar
 
Join Date: Feb 2005
Location: France
Posts: 25
Likes: 0
Received 0 Likes on 0 Posts
I should receive in a short time enough to do my own I2C interface Hope to communicate soon !!
Old 03-15-05, 12:41 AM
  #64  
Newbie
 
disa_g's Avatar
 
Join Date: Mar 2005
Location: Russia
Posts: 3
Likes: 0
Received 0 Likes on 0 Posts
http://www.emicros.com/i2c232.htm
May be this help U /
Old 03-15-05, 06:12 AM
  #65  
Senior Member

 
vinayp's Avatar
 
Join Date: Apr 2002
Location: Boston, MA
Posts: 251
Likes: 0
Received 0 Likes on 0 Posts
I found this interesting site that looks like it is focused on building a datalogit type interface to the PowerFC: http://kaele.com/~kashima/car/pfcadp/

They even have a complete circuit diagram for building your own datalogit-type box (including 4 A/D connections):

PFCAdapter10.pdf

The only problem is that the entire site is in japanese (can anyone translate?). But there are plenty of pictures and timing diagrams. Let me know if anyone ends up building a working box based on these schematics.

Last edited by vinayp; 03-15-05 at 06:37 AM.
Old 03-15-05, 06:51 AM
  #66  
Senior Member

 
vinayp's Avatar
 
Join Date: Apr 2002
Location: Boston, MA
Posts: 251
Likes: 0
Received 0 Likes on 0 Posts
It looks like the actual PIC code is not posted anywhere on the website, so I guess this isn't as useful as I first thought...
Old 03-15-05, 09:37 PM
  #67  
Newbie
 
disa_g's Avatar
 
Join Date: Mar 2005
Location: Russia
Posts: 3
Likes: 0
Received 0 Likes on 0 Posts
I think that the pic program only transparent translation betwen rs232 and i2c protocol.
it`s not too hard to write it by self.

something like this
http://derrickshouse.com/KITTI/code/?PicI2C.c
Old 03-16-05, 09:46 AM
  #68  
Senior Member

 
vinayp's Avatar
 
Join Date: Apr 2002
Location: Boston, MA
Posts: 251
Likes: 0
Received 0 Likes on 0 Posts
if that's the case, it should be very simple to build a working replacement for the datalogit using the circuit provided in that PDF file. i wish i had a PIC programmer to test this out with. Rudy, can you test this circuit out since you have a programmer coming in?
Old 03-17-05, 07:37 AM
  #69  
Senior Member

 
vinayp's Avatar
 
Join Date: Apr 2002
Location: Boston, MA
Posts: 251
Likes: 0
Received 0 Likes on 0 Posts
FYI, I emailed the designer (Kashima) about getting the PIC code, but he said that he wasn't distributing the source.
Old 03-18-05, 02:04 PM
  #70  
Junior Member

 
Rudy 34's Avatar
 
Join Date: Feb 2005
Location: France
Posts: 25
Likes: 0
Received 0 Likes on 0 Posts
I have contacted him also and no source code. He does not want also to sell some pics already programmed
Concerning the available schema, it's not so simple. Kashi is also treating the A/D converters inside the PIC and this part has to be totally written.
Only the communication (translating I2C to serial) can be generic.
Old 03-18-05, 06:12 PM
  #71  
Senior Member

 
vinayp's Avatar
 
Join Date: Apr 2002
Location: Boston, MA
Posts: 251
Likes: 0
Received 0 Likes on 0 Posts
That's true, but the A/D conversion is an extra feature of the datalogit that is independent of the PowerFC. For me, the ability to communicate with the PowerFC (i.e. the I2C to serial conversion) is the most important part.
Old 03-19-05, 02:08 PM
  #72  
Junior Member

 
Rudy 34's Avatar
 
Join Date: Feb 2005
Location: France
Posts: 25
Likes: 0
Received 0 Likes on 0 Posts
Sure ! and so schema available on Kashi site can be used for basic communication layer
Old 03-23-05, 12:21 PM
  #73  
Senior Member

 
FastHatch's Avatar
 
Join Date: Feb 2005
Location: Germany
Posts: 427
Likes: 0
Received 0 Likes on 0 Posts
Here is a screenshot of the current version of FC Tune:



The communication and calibration for Hondas and the RX7 are completly implemented, now i'm working on the views.

That means FC Edit files can be opened and written, the calibration can be send to and read from the Power FC, but not all settings can be viewed and edited yet.

I also need to implement 2D and 3D graphs of the maps.

Later Andre
Old 03-25-05, 02:59 PM
  #74  
Junior Member

 
subyfiles's Avatar
 
Join Date: Nov 2004
Location: Istanbul
Posts: 36
Likes: 0
Received 0 Likes on 0 Posts
Good work.

Hope someone would make something for subarus
Old 03-25-05, 03:11 PM
  #75  
Senior Member

 
FastHatch's Avatar
 
Join Date: Feb 2005
Location: Germany
Posts: 427
Likes: 0
Received 0 Likes on 0 Posts
Originally Posted by subyfiles
Good work.

Hope someone would make something for subarus
I will make FC Tune for all models, i think in the following order: Honda, Mazda, Nissan, Toyota, Subaru and then Nissan.



FC Tune now keeps track of all changes and has a undo function.
All changes can than be uploaded to the PFC.

Edit: Also unlike to FC Edit it will be one program for all models/applications.

Last edited by FastHatch; 03-25-05 at 03:27 PM.


Quick Reply: Power FC Hacking the PowerFC/DataLogIt



All times are GMT -5. The time now is 09:05 PM.