For the last three years or more I have been working on a ECU for my car (Lexus IS with 2JZ-GTE engine). I also planed to sell the ECU if I could get it to work. I now realize that while I am a good PC software programmer, I suck when it comes to embedded code. The only solution I think of, other then spending a lot more money, is to make it open source and get help from others to get it finished.
In the last few years I have made three different sets of hardware. After two tires to get the hardware correct, I decided to get professional help. I contacted a design house and they quoted me $40,200 to design the schematic and make two PCB and then test everything worked. While this was a lot of money I decided this was my best way to get good hardware. After some weeks of work they told me the schematic was done and they had used $50,000 !!!! of my money. To make it even worst, they asked if the PCB could be made bigger as all the components would not fit on the dimensions I specified. I made it very clear from the start that the PCB size was not negotiable. So I walked away with a very expensive schematic that would not fit the PCB.
I simplified the design and changed to a different MCU, that I thought I understood. This was the ATmel XMega. The original design used the Freescale S12XE 208 pin BGA. The ECU is designed as a module that plugs into a base board. The base boards can be made with connectors to suit each car.
These are pictures of the ECU. http://www.turbofast.com.au/bin/Ultrai_U66_TopBoard1.jpghttp://www.turbofast.com.au/bin/Ultrai_U66_TopBoard2.jpghttp://www.turbofast.com.au/bin/Ultrai_U66_BaseBoard.jpghttp://www.turbofast.com.au/bin/Ultrai_U66_BottomAndTopBoar.jpghttp://www.turbofast.com.au/bin/Ultrai_U66_ECU.jpg
The PC software is 95% done. It connects to the ECU, uploads maps, data logs. It is at the stage you could tune a engine. Just need to add Autotune fuel. This is a movie of the software working.http://www.turbofast.com.au/bin/REMS_Software.mp4
Considering how much money I have invested so far it would be good to get some back. I was thinking of making all the schematics, PC software code and what embedded code I have, open source. Then sell to anyone that does not want to make hardware, bare boards or assembled. This would include base boards to suit many cars.
As people on this forum are experienced in the S12X, I have a new design ready that uses the S12XE 80 pin QFP. This is the features of the ECU.
Size 100mm x 76mm (4" x 3")
6 x injector outputs
6 x ignition outputs
8 x On/Off outputs
4 x PWM outputs
1 x Stepper motor output
2 x Temperature inputs
7 x Volt inputs (two can be selected as temp)
4 x Trigger inputs (reluctor or hall effect)
6 x Digital inputs
Internal baro sensor
4MB logging and map storage memory.
DBW (Drive By Wire) throttle control.
So what I have at the moment is a ECU and software that will not run a engine, as I cannot get my head around the trigger decoding setup and ignition and injector control.
By the way REMS means Ray's Engine Management System. And Ultrai is a name I came up with. The U66 stands for Ultrai 6 x injector and 6 x ignition.