Diesel ECU
Page 1 of 2

Author:  nicholas [ Mon May 11, 2015 1:49 pm ]
Post subject:  Diesel ECU

I plan on making a diesel ECU for piezo elements (or both types)

4D56T (mistsubishi)

Also plan ECU for petrol engines.

Not only that, but with home-made HW

I did my own ECU for wankel, long long time ago, so I have some practice.

I do HW/SW on daily basis as its my work.

Biggest problem is time (as always).

One thing I want to achive is an intelligent ECU that adjust itself and in verbose ways tell you whats wrong (if any) like a combined diagnosis tool.

just got here but I read / was member back already in the efi332 days, I did a lot of work myself in other projects with that processor.


Author:  nicholas [ Fri May 15, 2015 1:46 pm ]
Post subject:  Re: Diesel ECU

Ordered the #108 just for fun from here

Starting to draw schematic symbols for the CPU

Guess it takes 2-3 month before PCB manufacture.

4 layer PCB is asumed for now.

Author:  nicholas [ Fri May 15, 2015 8:29 pm ]
Post subject:  Re: Diesel ECU

todays work:
read datasheets on the cpu XD / XE version, XE seems more sexy, faster and of later date, looks as if the errata list is shorter also.
in general the processor is a bit of a dissapointment, page swapping for most things, me not like.
installed virtualbox on a laptop, guestadditions.
installed ubuntu32 bits
installed the tools.

next step is to get the code from github and see if it compiles.
did some preview of code earlier.

will try to understand the big picture of the code, loops and interupts, how this has been arranged.

Author:  nicholas [ Sun May 17, 2015 4:55 pm ]
Post subject:  Re: Diesel ECU

installed git and downloaded the vanilla.
tools downloaded since before

looks as if i managed to compile HOTEL

I dont know anything about the versions, so i will need to read up on this forum on how to proceed.
I have understood there is also a simulator somewhere to generate physical stimuli.

will need to read a lot, as to be expected for a very complex project.

found this old one:
have not checked but may be for the old 68332 ... UPN15B.pdf

i guess the best cpu would be a more modern arm with aritmetic co-processor
I dont like this looking into tables, beacuse old 8bits had no chance of doing aritmetics fast enough.
or one could do a limit precision aritmetic pakage that would be perfectly ok, fast and accurate enough.

well well , some more OT rambling some may or may not be applicable

Author:  nicholas [ Tue May 19, 2015 11:37 am ]
Post subject:  Processor

I Probably will use the

SPC5674FF3MVY3 ... JQCCJ5M%3d ... e=MPC5674F

So..... free ems software will still be usable to me but more like a template in some aspects and defenitely some surrounding tools.

Author:  Fred [ Tue May 19, 2015 12:52 pm ]
Post subject:  Re: Diesel ECU

You may as well start from scratch. As it stands, it will make a poor template. Those processors are heavily over rated, too. There are much better choices out there.

Amazing what you can achieve on a low end machine with the right attitude and code. For example, much of my development was done on a lowly single core original EEE PC. And still these days my fastest computer is in my pocket and cost 200 bucks.

Best of luck! :-)


Author:  nicholas [ Tue May 19, 2015 2:18 pm ]
Post subject:  Re: Diesel ECU


Below is my personal view, others may have other views:

I agree that you can achive a lot by clever coding and full utilization of the resources, and I have also done so for z80 z80180, 68332 etc

But doing a design in 2015 it makes more sense to use more recent products.
Being able to spend less effort on having to clever tweak the code and for the price of 20 bucks more for the cpu is a good trade.

Freescale got me sold showing this:

I will make a modular design where I separate the CPU from the IO, just to save on PCB spins/versions.
8 cylinder spark and injection IO board.
8 cyl diesel piezo version also.

I will get some schematics up here soon (2-3 weeks), and pcb for CPU board will be the first to production.

Looking forward on a continued discussion even tough I went my own way.

Author:  Fred [ Wed May 20, 2015 11:45 am ]
Post subject:  Re: Diesel ECU

Fair enough! Best of luck :-)

FYI, I moved the thread here as I assume you won't be using much or any of the FreeEMS code or designs.

Author:  malcom2073 [ Wed May 20, 2015 11:55 am ]
Post subject:  Re: Diesel ECU

Be aware of the cost of the eTPU compiler though. The eTPU is a fairly amazing piece of hardware, and there have been ECU projects based on it before, but few hobbiests are willing to shell out the $5k to write code for it. They have some binary blobs for standard crank/cam configurations to run in the eTPU freely available for trying out but they're fairly limited.

Author:  nicholas [ Fri May 29, 2015 3:55 pm ]
Post subject:  Re: Diesel ECU

Been busy with other things.

Got the CPU into the library

Will try Kicad for this, now its Mentors Design Capture.

SPC5674F.pdf [180.83 KiB]
Downloaded 337 times

Page 1 of 2 All times are UTC [ DST ]
Powered by phpBB® Forum Software © phpBB Group