Notices
Drivetrain Gearbox, Diffs & Driveshafts etc

How best to read RPM signal?

Thread Tools
 
Search this Thread
 
Old 23 January 2002, 06:10 PM
  #1  
john banks
Scooby Regular
Thread Starter
 
john banks's Avatar
 
Join Date: Nov 2000
Location: 32 cylinders and many cats
Posts: 18,658
Likes: 0
Received 1 Like on 1 Post
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?
Old 25 January 2002, 12:21 AM
  #2  
StephenDone
Scooby Regular
 
StephenDone's Avatar
 
Join Date: Jun 1999
Posts: 685
Likes: 0
Received 0 Likes on 0 Posts
Post

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]
Old 25 January 2002, 12:38 AM
  #3  
John Stevenson
Scooby Regular
 
John Stevenson's Avatar
 
Join Date: Jan 2001
Location: Powered by "SOLARIS"
Posts: 1,694
Likes: 0
Received 0 Likes on 0 Posts
Post

Pesky kids.... JB, shouldn't you be trying to cure cancer or something usefull
Old 25 January 2002, 08:34 AM
  #4  
john banks
Scooby Regular
Thread Starter
 
john banks's Avatar
 
Join Date: Nov 2000
Location: 32 cylinders and many cats
Posts: 18,658
Likes: 0
Received 1 Like on 1 Post
Thumbs up

Thanks Stephen I follow it OK.
Old 25 January 2002, 11:27 AM
  #5  
MorayMackenzie
Scooby Senior
 
MorayMackenzie's Avatar
 
Join Date: Jun 1999
Posts: 3,410
Likes: 0
Received 0 Likes on 0 Posts
Post

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
Old 25 January 2002, 11:37 AM
  #6  
john banks
Scooby Regular
Thread Starter
 
john banks's Avatar
 
Join Date: Nov 2000
Location: 32 cylinders and many cats
Posts: 18,658
Likes: 0
Received 1 Like on 1 Post
Post

Thanks Moray! I already have TPS. This will be the icing.
Old 25 January 2002, 01:38 PM
  #7  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
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
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

Trending Topics

Old 25 January 2002, 01:41 PM
  #8  
john banks
Scooby Regular
Thread Starter
 
john banks's Avatar
 
Join Date: Nov 2000
Location: 32 cylinders and many cats
Posts: 18,658
Likes: 0
Received 1 Like on 1 Post
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]
Old 25 January 2002, 05:53 PM
  #9  
David_Wallis
Scooby Regular
 
David_Wallis's Avatar
 
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
Post

I've got a 94uk 5dr turbo.. I presume that does have the bigger turbo..

David
Old 25 January 2002, 05:59 PM
  #10  
john banks
Scooby Regular
Thread Starter
 
john banks's Avatar
 
Join Date: Nov 2000
Location: 32 cylinders and many cats
Posts: 18,658
Likes: 0
Received 1 Like on 1 Post
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.
Old 25 January 2002, 06:32 PM
  #11  
Cosie Convert
Scooby Regular
 
Cosie Convert's Avatar
 
Join Date: Nov 2001
Posts: 836
Likes: 0
Received 0 Likes on 0 Posts
Post

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.
Old 25 January 2002, 07:24 PM
  #12  
john banks
Scooby Regular
Thread Starter
 
john banks's Avatar
 
Join Date: Nov 2000
Location: 32 cylinders and many cats
Posts: 18,658
Likes: 0
Received 1 Like on 1 Post
Wink

I shy away from EGT as it is all a bit hot and greasy! I prefer splicing wires neatly

But yes, EGT is better. Or both if you want the starship enterprise.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Primey
ICE
14
24 February 2017 12:46 AM
Sam Witwicky
Engine Management and ECU Remapping
17
13 November 2015 10:49 AM
Primey
General Technical
2
30 September 2015 11:28 AM
crazyspeedfreakz
ScoobyNet General
5
29 September 2015 05:04 PM
shorty87
Other Marques
0
25 September 2015 08:52 PM



Quick Reply: How best to read RPM signal?



All times are GMT +1. The time now is 09:21 PM.