Hi !
I'm designing my own little car ECU from a ATMEGA32.
Right now all my outputs are designed and perfectly working (Fuel injectors and ignition coils).
I have a crank sensor and a cam sensor who each produces an AC field (with voltage rising when RPM is rising too).
The cam sensor has one tooth which is the timing reference. But for the crank sensor, I must convert this AC signal into DC signal with the same duty cycle (around 25%).
This is an example :
This is the image from the car service manual :
I have absolutely no idea how to achieve this since I'm more a programmer than a designer.
Thanks a million !
Max.