Go ![]() | New ![]() | Find ![]() | Notify ![]() | Tools ![]() | Reply ![]() | |
| Member |
Guys/Gals, I was part of the Union college team some year ago and continue to play cars for fun. One thing we had trouble was finding an ECU that did what we wanted and we could afford and I'm guessing that is still an issue, although there are some better options now. Any way I recently got involved with a project to create open design, open source code, DIY ecu. We are working on 2 versions: FreeEMS (FreeEMS.org) is the basic version and the one farthest along. It has 6 primary sequential injects, 6 staged injectors, 12 ignition and can be built for about $200…it’s basically a MS2 but with additional power and is a true open design. It’s getting close to working. FreeEMS+ just kicked off and is the big bother to FreeEMS. This ECU will have 12 primary injectors, 12 stage injector all sequential, 12 ignition, traction control, launch control, lots of optional inputs to do whatever you want. Right now it looks like this ECU will cost about $750 to build. There is still lots to do on both projects and my thought was that this might be the right place to find people with an interest in helping create a pair of open design ecu for your team of your own use. We can use a couple more hardware guys, the user interface software is working but will need upgrades to work with FreeEMS+ and we NEED people who can help with the firmware. This would make a great Sr. design or Masters project for someone with interest and e need your help. This is your chance to help SAVE THE WORLD from over priced and under performing ECUs If anyone is interested you can join the forum at DIYEFI.org (it’s a little slow getting out the registrations) or email me directly at markeberhardt@comcast.net | ||
|
| Member |
The FreeEMS+ is going to use a freescale MPC5554 processor but I'm having trouble finding a compiler for the eTPU code. Has anybody got a line on a free compiler that will do bre fore I start doing it by hand? | |||
|
| Member |
Never mind the compiler request, I spoke too soon. I got use of a proper professional compiler. We're rolling again....but we still need help | |||
|
| Member |
Today I learned that the second I selected the 5554 processor I had all the primary system function working....becasue crank position, fuel and spark are on the list of precompiled eTPU function you can download from the freescale site along with the c code to call them in the main program. There are lots of other very useful function too like reading al hall sensor incase you want wheel speeds to do traction control It doesn't get much easier | |||
|
| New Member |
Hi, I was in similar situation when I looked for an high end open source ECU. Ok, 16bit processors work, but you nearly have no computing power left for knock control etc. I posted on FreeEMS a while ago but there wasn't anyone interested in such a high end DIY 32bit ECU. I'm using a MPC5567 daughtercard prototype with 2MB external RAM for software development, most parts of the application are finished and tested on HIL simulators. The card directly plugs into the ECU pcb with it's analog and mosfet parts. Currently I'm working on knock control, mainly implementing bandpass filter with the SPE instruction set which has unfortunately some limitations. In the process of evaluation is also the new MPC5634M which has a hardware filter for e.g. knock detection. That device comes in QFP package and single power supply which makes the pcb much much cheaper against BGA. Pic of the prototype: | |||
|
| Member |
Nice! Come on over to the diyefi forum and lets see if we can reconcile the 2 projects. We are still in the planning phase and have not have not started writing code or bought hardware. IT sounds like we are trying to build similar things and you are ahead of us. Here’s a link to our wiki http://wiki.freeems.org/doku.php?id=5554 | |||
|
| Member |
Let's see if 4 is a charm. Can you email me or check in on the diyEFI site? | |||
|
| Member |
#4 work...i was typing something that kicke dthe posts into review. Great project! It looks like you are using a phytec board just like we are planning only with a 5567 instead of the 5554. We should be working together or at least sharing info. I've got 6-8 solid people signed up now and were just finishing up decideing what all we think it should do and planned to start ordering stuff next week.....but I'll hold that up until I hear for you. Mark | |||
|
| Member |
One more...pop over to the DIyEFI site and click on active topics. We are discussing knock sensing now and think we have a good solution. There is a knock window function in the canned eTPU function set that can be combined with a simple circiut on the I/O board to get it done...we think. | |||
|
| New Member |
I've already posted on the 5554 thread @ DIYEFI forum. For MPC55xx family, the eTPU knock window function should be enhanced to combine time and angle domain. That lowers eQADC and DMA load tremendously. Will continue further discussion there.... | |||
|
| Member |
Just a quick update. The fancy version (5554) has moved to www.openecu.info It turns out the team working on the inexpensive version and the team working on the top-shelf version just don’t agree on anything…..who would have thought. | |||
|
| Member |
A little update. I got distracted with other projects and the ECU was delayed, but its pretty far along now. The project moved again with the source code and such here http://code.google.com/p/open5xxxecu/ the forum here http://forum.open5xxxecu.org/index.php The code is being written to work on a 5554 or a 5634. The 5634 might be of particular interest to FSAE teams because it's cheaper (like $15) and can be hand soldered and still really powerful. Also FreeScale now has a 5634 demo board for $99 that can be an ECU if you can build a driver board to go with it. FreeScale will also be releasing an ECU Demo unit soon that uses the 5634 and our code should run on that board. The designs for our HW are also posted on the google code site. The 1st spin is being assembled now and so far seems to be working. For a tuner we have TunerStudio working which is a nice program and is a free download for the basic version. All our code and designs are on the MIT license, so free to use, copy, share, sell, whatever. The phase 1 (should run an engine properly but has no traction control or other such planned features)firmware code is being tested and debugged now.....so if anybody has any interest in helping with the debugging and testing let me know. | |||
|
| Member |
Breaking News: The o5e code now runs! It reads crank and other sensors and outputs spark and fuel, talks to the tuning SW, works. Now....there is the small issue of making sure the fuel and spark outputs are the INTENDED fuel and spark out puts but 1 step at a time | |||
|
Member![]() |
What HIL are you using? General impressions? Daniel Wageman University of Washington FSAE Team 19: Chassis/Data Acq Team 20: Data Acq Lead Team 21: Engine, Power Package Team 22-24: Technical Director | |||
|
| Member |
excel There just doesn't seem to be any reason to simulate when real hardware is available and doesn't require all the added validation or model steps a simulation approach would. | |||
|
Member![]() |
I agree, however, the ECO car team on campus just received a dSpace HIL and I'm tempted to see what it can do... I cant resist messing with a machine that expensive Daniel Wageman University of Washington FSAE Team 19: Chassis/Data Acq Team 20: Data Acq Lead Team 21: Engine, Power Package Team 22-24: Technical Director | |||
|
| Member |
Well sure if it's just sitting there waiting for someone to use it. I think the next project is to find a cheap hardware for code to run on. I'm pretty sure the GM and Chrysler ECUs up through about 2010 use a 5554 processor.....I need to figure out exactly which ones and get 1 opened up to see what's attached where. These things are like $100 on ebay which is a pretty cheap ECU. The woodward ECM 5554-112 is also a candidate...but again I need to know what connector pins end up at what processor pins | |||
|
| Member |
In the quest for CHEAP hardware.....how's $150 sound for 8 fuel/8 spark full sequential ECU? I just bought this: http://www.ebay.com/itm/2011-S...9977b#ht_2612wt_1237 It's a GM E78 ECU (E39 is good too and there are direct injection versions) brand new and delivered to my door for $150. It has 8 spark and 8 Fuel channels and a lot of other stuff (I'll find out exactly what once I get it open) and most importantly uses a 132 MHz MPC5566 processor so it can run the o5e software once I figure-out which processor pins are connected to what. Another option I've been looking at one this thread: http://fsae.com/eve/forums/a/t...607348/m/90820502151 The woodward ECM- 0554-112-0904-F http://www.neweagle.net/suppor...12pin/36350_0904.pdf Is very capable and also 8 fuel, 8 spark but for sure had 14 optional drivers and 33 inputs available. It runs a 80MHz 5554 processor so can run the o5e software. This is a tad slower processor than the GM unit, but still PLENTY capable (something like 4 times the speed for the processor in the MoTec M400/600/800 family). FSEA teams can get these for $250 I'm told, but retail is $500. The New Eagle guys are telling me the woodward uses proprietary boot loader and won't work for me....but to me that sounds like "Mark, you're going to need to open the case to flash in the new software". But, they also say they are getting in a couple other 55xx base controllers soon that might work and will see about getting one to me for testing. Once the o5e software is loaded into the ECU it becomes fully user configurable using the o5e TunerStudio interface and will have all the o5e features that there hardware has drivers to support. I'm really liking the $150 GM option so that is going to the top of the ToDo list. A couple people have also expressed interest in the woodward option so that will be next if I find the GM option doesn't offer all the capability that the woodward. | |||
|
| Member |
o5e control logic. I thought it might be worth not only telling you that it looks like we have a $150 hardware option to go with the free software, but also what the software does. This software works differently for other ECU software because it's designed from the ground up to work with your engine simulation software. at it's heart is what we call the "Engine Model" which is basically the predicted torque curve from your simulation work. If you're model is good, the engine will run nicely once you've enter the model information (and or course the basic set-up stuff like how many cylinder, how many crank teeth, etc). If you don't want to use the model, you can just enter 100% in all the cells and tun using a normal fuel table, but when you do use the model the base fuel table will be all zeros and should get you within about 5% or perfect. How easy is that? o5e also allows stuff that other ECUs do not like each injector can have it's own dead time and eahc cylinder it's owe fuel map. This means that you could put in 4 completely different injectors and completely bugger the the cylinder to cylinder air flow in you intake/exhaust and still get the engine tuned perfectly. Or if you've done everything right it means you can dynamically match the injector set you have without needing to spend $1000 for a custom matched set. here's why you should care about dynamic matching: http://www.injectordynamics.com/dynamicmatch.html Same for ignition timing, each cylinder's timing can be individually mapped if you choose. this is helpful if you are seeing a little more heat of boost at some of the cylinders and don't want to have to just pull back the timing or all the cylinders and give up a few hp in the process. o5e also handle things like prime, warm-up, acceleration enrichment and deceleration derichment in a much more elegant and controllable way than most other ECUs. This should allow you to get near perfect operation right from the time you hit the start button though completely heat soaked and every where in between just like a factory engine (we have THE most powerful processors out there)....but just like the engine model all the features are designed to be easy to disable I've started writing a user manual http://code.google.com/p/open5...n5xxxECU_User_Manual I still have a ways to go, but it's getting there. There is also a sample project that you can look at here: http://code.google.com/p/open5...allTheTuningSoftware If you want to have a look at how it works. Right now it's just the basics, but more features are coming all the time. | |||
|
| Member |
Code testing continues and it's got some bugs..no real surprise there I guess but we're getting them fixed as we find them. I bought a couple things to play with. One is the GM E78 ecu it's got like 120 pins and what looks like gobs of driver s and input circuits......it's also a serious pain in the butt to get a part so I can map it all out. Once I get it mapped I think the only practical way to use it is to get our CAN com stuff working so the processor can be programmed without needing to open the ecu. I still think this is a great solution, it's going to take some time. Purchase #2 was one of the freescale $99 5634 demo boards. This is a nice board and I've been doing all my debug & testing with it. It plugs straight into a USB port on the PC for programming and power so you don't need any other stuff to make it work. Nice. I like it so much that I've been talking to Jean at: http://jbperf.com/ about the possibility of him offering a universal ECU I/O board that can can be plugged together with the 5634 board (or any processor board) to create an functioning ECU and I think he's he's going to do it. The plan is looking like something aimed at 4 cyl with a 48 pin connector It would have a connector to allow any ECU board to be wired to it, or he's talking about dong a couple processor boards (probably a 5634 and an S12(MS or freeems code runs on these) )that could be plugged on directly so the assembly will fit neatly inside a case. I'm not sure on the timing or pricing but we were talking in the $100 to maybe $200 range for the assembled board making the full ecu under $300. Stay tuned. | |||
|

