How best to read RPM signal?
#1
Scooby Regular
Thread Starter
Join Date: Nov 2000
Location: 32 cylinders and many cats
Posts: 18,658
Likes: 0
Received 1 Like
on
1 Post
I gather that the engine speed output from the ECU is a battery voltage square wave whose frequency shows the RPM.
I want to get this into my microcontroller. How best to reduce this to less than 5V? How about a high impedance proportional divider into a comparator input? I could use say a 750K and a 250K resistor in series between the output and ground and tap off the middle to divide by 4 and then set my comparator voltage so say 3V?
I want to get this into my microcontroller. How best to reduce this to less than 5V? How about a high impedance proportional divider into a comparator input? I could use say a 750K and a 250K resistor in series between the output and ground and tap off the middle to divide by 4 and then set my comparator voltage so say 3V?
#2
Hi John,
Use a resistor in series with the signal, and then a low voltage drop diode from the resistor to your 5v supply, and another to your 0v. Also connect yout uC input to this point.
The diodes prevent the voltage at the uController input from going more than the diode voltage drop above/below 5v/0v. If you use a low voltage drop diode like a BAT-85, this should do the trick.
E.g.
O +5v Supply
|
|
___
^
/_\
10k |
-------- |
Square Wave O-----| |---O-O--O uController input
-------- |
|
___
^
/_\
|
|
O Gnd
Cheers
Steve
Oh dear. The html ate my diagram. View source and put carriage returns after the <br>'s and it'll make sense. Anyone know how you use <pre></pre> tags on this bbs ?
[Edited by StephenDone - 1/25/2002 12:25:22 AM]
Use a resistor in series with the signal, and then a low voltage drop diode from the resistor to your 5v supply, and another to your 0v. Also connect yout uC input to this point.
The diodes prevent the voltage at the uController input from going more than the diode voltage drop above/below 5v/0v. If you use a low voltage drop diode like a BAT-85, this should do the trick.
E.g.
O +5v Supply
|
|
___
^
/_\
10k |
-------- |
Square Wave O-----| |---O-O--O uController input
-------- |
|
___
^
/_\
|
|
O Gnd
Cheers
Steve
Oh dear. The html ate my diagram. View source and put carriage returns after the <br>'s and it'll make sense. Anyone know how you use <pre></pre> tags on this bbs ?
[Edited by StephenDone - 1/25/2002 12:25:22 AM]
#5
John,
I assume you are adding an RPM input to your boost controller board... wouldn't that allow RPM dependant boost control?
Now all you need is to add in the TPS feed and you will have a board that is more functional than certain commercial offerings (alledgedly)
Moray
I assume you are adding an RPM input to your boost controller board... wouldn't that allow RPM dependant boost control?
Now all you need is to add in the TPS feed and you will have a board that is more functional than certain commercial offerings (alledgedly)
Moray
#7
Scooby Regular
Join Date: Nov 2001
Location: Leeds - It was 562.4bhp@28psi on Optimax, How much closer to 600 with race fuel and a bigger turbo?
Posts: 15,239
Likes: 0
Received 1 Like
on
1 Post
but when are you going to make it put more fuel in so I can use it... as I dont have a prodrive ecu??
David
David
Trending Topics
#8
Scooby Regular
Thread Starter
Join Date: Nov 2000
Location: 32 cylinders and many cats
Posts: 18,658
Likes: 0
Received 1 Like
on
1 Post
There is plenty of fuel on MY99/00 UK with standard ECU up to the fuel cut on most cars unless you are one of the big turbo boys. More like too much.
On the 01 PPP see the other thread - but they up the boost and rely on the original ECU's fuelling and ignition "allegedly".
[Edited by john banks - 1/25/2002 1:42:56 PM]
On the 01 PPP see the other thread - but they up the boost and rely on the original ECU's fuelling and ignition "allegedly".
[Edited by john banks - 1/25/2002 1:42:56 PM]
#10
Scooby Regular
Thread Starter
Join Date: Nov 2000
Location: 32 cylinders and many cats
Posts: 18,658
Likes: 0
Received 1 Like
on
1 Post
Yes, although there is probably still a lot more to be had without messing with fuelling. Need an air fuel ratio meter to know along with other safety monitoring.
#11
Dave
My 95 WRX was maintaining the fueling up to 18.5 psi then the EGT started to creep up so I've called it a day there for the moment.
You need to beware that as far as fueling is concerned it is the mass air flow meter output that is the primary (perhaps only) reference for the ECU's fuel calculation during open loop.
That means that using a MBC/EBC and controlling to a manifold pressure of 18 psi may be safe one day and not another ! This is due to the actual air flow changing due to the ambient conditions and charge temperature.
I prefer to monitor EGT rather than lamda as it gives me a better indication of engine conditions.
My 95 WRX was maintaining the fueling up to 18.5 psi then the EGT started to creep up so I've called it a day there for the moment.
You need to beware that as far as fueling is concerned it is the mass air flow meter output that is the primary (perhaps only) reference for the ECU's fuel calculation during open loop.
That means that using a MBC/EBC and controlling to a manifold pressure of 18 psi may be safe one day and not another ! This is due to the actual air flow changing due to the ambient conditions and charge temperature.
I prefer to monitor EGT rather than lamda as it gives me a better indication of engine conditions.
Thread
Thread Starter
Forum
Replies
Last Post
Sam Witwicky
Engine Management and ECU Remapping
17
13 November 2015 10:49 AM