Notices
944 Turbo and Turbo-S Forum 1982-1991
Sponsored by:
Sponsored by: Clore Automotive

Yet more fun with speed and ref sensors...

Thread Tools
 
Search this Thread
 
Old 04-05-2019, 01:18 PM
  #16  
Alan 91 C2
Rennlist Member
 
Alan 91 C2's Avatar
 
Join Date: Jan 2002
Location: Toccoa, GA
Posts: 456
Received 38 Likes on 19 Posts
Default

Hi Tom,

A fairly simple interface box with 16 MHZ and fast A to D, could create a virtual missing tooth output using the Speed and Ref signals. Using an AGC type approach with ring gear tooth count predicting a 10 deg (or less) window for Ref sensor location (would eliminate false Ref sensor location readings)

The starter kickback can be eliminated by requiring a full rotation, 360 deg, before allowing sensor output to the ECM (no spark first revolution). I expect kickback is caused by a false read of the diagnostic pins before the first full revolution.

Keep up the good work.
Old 04-05-2019, 05:24 PM
  #17  
Tom M'Guinn

Rennlist Member
Thread Starter
 
Tom M'Guinn's Avatar
 
Join Date: Jan 2002
Location: Just CA Now :)
Posts: 12,567
Received 534 Likes on 287 Posts
Default

Originally Posted by Dare
Ha! Yep, that's my life!

My thinking is that the code paths in the uC would be entirely deterministic and fixed cycle count. Basically a bare-metal interrupt handler with a small, carefully cycle counted service routine. Thus the skew from the input to the output should be minimal relative to the rotational speed, and accurate based on the stability of the uC's clock. This approach should be straightforward given an integral ratio between the input and output teeth--e.g. the 951's 132 tooth/rev to the Renix 66 tooth/rev.

(Edit in case it wasn't completely clear: I'm envisioning the uC would work entirely in the digital domain, with the MAX9926 [or equivalent] handling the analog-to-digital conversion).



Thanks! I may take you up on that. Of course, what I really need is access to that swank test bed you have! If I prototype the software for the uC maybe we can have a testing party at your place some day?
One nice thing about the ref pin is that it is set well ahead of actual TDC, so if you can measure a skew, you can likely program it out -- emphasis on you Back on the hardware side, the MAX9926 will create a good pulse, but all the uC interrupt pins I've tried have hair triggers so are also vulnerable to noise, meaning you can get false triggers at the uC despite perfect output from the MAX9926. Bosch sent both outputs from the S100 chip through 74xx02 logic gates before triggering the interrupt, one of which is hard-wired to never change -- so whether that was to bump the output current, act as an inverter, filter out noise, or do something else, I don't know.

You are more than welcome to test software on my test rig. Once I finish my project, I can even loan it out. I ended up getting a $100 function generator, which creates a perfect speed sensor output without effort. It also claims to be able to do arbitrary waveforms like the ref sensor, but that requires programming at a desktop computer which I haven't tried yet.

https://www.amazon.com/gp/product/B07211YWMK/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1 https://www.amazon.com/gp/product/B07211YWMK/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
Old 04-05-2019, 05:31 PM
  #18  
Tom M'Guinn

Rennlist Member
Thread Starter
 
Tom M'Guinn's Avatar
 
Join Date: Jan 2002
Location: Just CA Now :)
Posts: 12,567
Received 534 Likes on 287 Posts
Default

Originally Posted by Alan 91 C2
Hi Tom,

A fairly simple interface box with 16 MHZ and fast A to D, could create a virtual missing tooth output using the Speed and Ref signals. Using an AGC type approach with ring gear tooth count predicting a 10 deg (or less) window for Ref sensor location (would eliminate false Ref sensor location readings)

The starter kickback can be eliminated by requiring a full rotation, 360 deg, before allowing sensor output to the ECM (no spark first revolution). I expect kickback is caused by a false read of the diagnostic pins before the first full revolution.

Keep up the good work.
On the first part, that sounds like a good suggestion for Dare's project (and programming skills). Honestly, for all I know the S100 chip already does that, so I suppose I should go back and see if I can induce a false digital pulse from the S100 based on the diagnostic pins.

I'd agree with the first full rotation theory, except that it doesn't line up with my experience. I run e85, and on very cold days I need to crank it more to get it to light up. I've had kick back happen after plenty of constant cranking...
Old 04-07-2019, 04:56 PM
  #19  
Alan 91 C2
Rennlist Member
 
Alan 91 C2's Avatar
 
Join Date: Jan 2002
Location: Toccoa, GA
Posts: 456
Received 38 Likes on 19 Posts
Default

Hi Tom,

The kickback after multiple revolutions affirms the software does not look at an expected range of allowable positions for the Ref signal to occur. But in fact looks at amplitude, which is a product of cranking RPM. So an uptick in cranking RPM could be interpreted as Ref signal level.
Old 04-08-2019, 08:33 PM
  #20  
blade7
Drifting
 
blade7's Avatar
 
Join Date: Dec 2007
Location: England UK
Posts: 2,255
Received 33 Likes on 27 Posts
Default

Worth trying some heat shrink or rubber hose on the sensor pins to shield them?
Old 04-11-2019, 06:42 AM
  #21  
blade7
Drifting
 
blade7's Avatar
 
Join Date: Dec 2007
Location: England UK
Posts: 2,255
Received 33 Likes on 27 Posts
Default

Originally Posted by Amalgamated Tom
If you believe in physics, it won't help.
I was off on the day they taught physics at my school.



Quick Reply: Yet more fun with speed and ref sensors...



All times are GMT -3. The time now is 04:05 PM.