About myself
As I am new member, I would quickly introduce myself and the reason for being here
By degree a mechanical engineer, by heart a freak of complicated systems (built my own 3-axis CNC among the others), I found myself a way in automotive industry, where I work as Inverter Systems Engineer for about 3 years now. I was around cars long before being even able to walk. Since my father works as a car diagnostician/electrician.
Eventhough being Mech Eng, my daily working life consists of performing system simulations, analyzing Electric HW schematics, reading sensor datasheets, creating & documenting new concepts/approaches taking into account Firmware/Application SW capabilities etc...
However,... through the night, when sane people go to dinners or cinema... you can find me in a garage, running osci to see if my TIM interrupt handler works as expected or soldering some pcb for godknowswhat. The latter often goes with strange smell of burning plastics...
About my project
The reason being here, is because I started making my own ECU for petrol engine (which is conveniently laying in my fathers garage) with a following setup:
- direct injection
- sequential (4) cyl ignition
- Hall sensor on Crankshaft
- Hall sensor on Camshaft
Fortunately or unfortunately, I jumped right into the topic and considering my limited knowledge of electric circuits and firmware... I struggled a bit. The uC I've chosen (smart move, hehe) is STM32, Nucleo with Cortex M0 (ye ye, needs an upgrade) to be exact.
So far I managed to make:
- driver for Hal sensor Camshaft, which outputs current tooth number, frequency, some error checks, among others...
- driver for Ignition (dwell and fire), with precise timing and minimum fault due to acceleration
- driver for Injection
- some simple maps for fuel quantity calculation (based on driver request, speed limit, nox limit, etc)
At the moment, all functionalities work well until 9000RPM-ish. Later on, dwell is giving me a headache (since the coils need enough time to energize).
So... it seems that all is going fine, but to be honest, I am not completely satisfied with it. I am having difficulties to imagine the HW part of the whole "thing", because I thought it will be "a piece of cake".
Luckily I found this forum and rusEfi project. I would be happy to contribute if possible and my time allows it. Questions that I am asking myself currently is, whether it is worth designing the schematic on my own, learning from rusEfi and existing ECUs, or shall I simply buy the rusEfi board and be done with it.
To be honest, I would love to do "everything on my own", to challenge myself and see every aspect of it... but I have to be frank with myself as well.
Looking forward for any discussions with you and glad to hear your advice,
Best regards