View unanswered posts | View active topics It is currently Fri Oct 20, 2017 8:33 pm



Reply to topic  [ 10 posts ] 
Diesel ECU 
Author Message
TO220 - Visibile

Joined: Fri May 08, 2015 2:51 pm
Posts: 10
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.

/Nicholas


Mon May 11, 2015 1:49 pm
Profile
TO220 - Visibile

Joined: Fri May 08, 2015 2:51 pm
Posts: 10
Ordered the #108 just for fun from here
http://www.sci-experiments.com/HighVoltagePulser/


Starting to draw schematic symbols for the CPU

Guess it takes 2-3 month before PCB manufacture.

4 layer PCB is asumed for now.


Fri May 15, 2015 1:46 pm
Profile
TO220 - Visibile

Joined: Fri May 08, 2015 2:51 pm
Posts: 10
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.


Fri May 15, 2015 8:29 pm
Profile
TO220 - Visibile

Joined: Fri May 08, 2015 2:51 pm
Posts: 10
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
http://cache.freescale.com/files/microc ... 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


Sun May 17, 2015 4:55 pm
Profile
TO220 - Visibile

Joined: Fri May 08, 2015 2:51 pm
Posts: 10
I Probably will use the

SPC5674FF3MVY3

http://se.mouser.com/ProductDetail/Free ... JQCCJ5M%3d

http://www.freescale.com/webapp/sps/sit ... 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.


Tue May 19, 2015 11:37 am
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14824
Location: Home sweet home!
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! :-)

Fred.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Tue May 19, 2015 12:52 pm
Profile WWW
TO220 - Visibile

Joined: Fri May 08, 2015 2:51 pm
Posts: 10
Fred,

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:
http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4908.pdf

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.


Tue May 19, 2015 2:18 pm
Profile
Moderator
User avatar

Joined: Tue Jan 15, 2008 2:31 pm
Posts: 14824
Location: Home sweet home!
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.

_________________
DIYEFI.org - where Open Source means Open Source, and Free means Freedom
FreeEMS.org - the open source engine management system
FreeEMS dev diary and its comments thread and my turbo truck!
n00bs, do NOT PM or email tech questions! Use the forum!
The ever growing list of FreeEMS success stories!


Wed May 20, 2015 11:45 am
Profile WWW
LQFP112 - Up with the play

Joined: Tue May 01, 2012 4:17 pm
Posts: 211
Location: Shrewsbury PA
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.

_________________
EMStudio
Interesting Stuff
My Car


Wed May 20, 2015 11:55 am
Profile WWW
TO220 - Visibile

Joined: Fri May 08, 2015 2:51 pm
Posts: 10
Been busy with other things.

Got the CPU into the library

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


Attachments:
SPC5674F.pdf [180.83 KiB]
Downloaded 163 times
Fri May 29, 2015 3:55 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 10 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF. ColorizeIt.