Notices
MEGAsquirt A place to collectively sort out this megasquirt gizmo

Looking for a reluctor interface.

Old Sep 26, 2010 | 06:58 PM
  #1  
DammitBeavis's Avatar
Thread Starter
Junior Member
 
Joined: Jan 2007
Posts: 281
Total Cats: 0
From: EXTREME Southern Illinois
Default Looking for a reluctor interface.

I'm looking for a simple circuit to read my ABS sensors without interfering with the operation of my ABS system. I need to convert the AC from the mag sensors into a 5v square wave like a hall effect sensor would put out. It appears that I need a reluctor interface with a high impedence floating input (neither input grounded). The megasquirt kept coming up as I was searching for a circuit. It looks like it can be built with a VR reluctor interface for reading cam/crank mag sensors? Does this circuit have a floating input? If so, can it be lifted from a diagram so I can build one?
Old Sep 26, 2010 | 07:06 PM
  #2  
Joe Perez's Avatar
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 34,402
Total Cats: 7,523
From: Chicago. (The less-murder part.)
Default

MAX9924.

I used this chip in my new crankwheel decoder. It's awesome and also has a differential input. Build the circuit as per the mode A2 reference schematic in the datasheet, and it's just plug-n-play.

Old Sep 26, 2010 | 07:24 PM
  #3  
DammitBeavis's Avatar
Thread Starter
Junior Member
 
Joined: Jan 2007
Posts: 281
Total Cats: 0
From: EXTREME Southern Illinois
Default

Well ****, Amazing! Thanks!
What's the best way to prototype with those surface mount components. I've never messed with components that wouldn't stick into a breadboard.
Old Sep 26, 2010 | 07:32 PM
  #4  
Joe Perez's Avatar
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 34,402
Total Cats: 7,523
From: Chicago. (The less-murder part.)
Default

Here's how I did mine:



The little adapter board was just a few dollars, and if you're not comfortable doing SMC, they will even mount your chip for you.

Source thread: https://www.miataturbo.net/megasquirt-18/max9924-47243/



It's a damn shame they didn't use this chip on the new MS3X board; that would have been a fabulously simple, reliable, highly versatile way to go.

Or did they?

We'll never know, since the schematic is a closely-guarded secret inaccessible to us mere mortals.

Last edited by Joe Perez; Sep 26, 2010 at 07:46 PM.
Old Sep 26, 2010 | 08:30 PM
  #5  
DammitBeavis's Avatar
Thread Starter
Junior Member
 
Joined: Jan 2007
Posts: 281
Total Cats: 0
From: EXTREME Southern Illinois
Default

That's just in-*******-credible. Everything I need from a pair of 9926 chips for $5. Then $8 for two of those breakout boards. The ($8 ?) assembly charge for one of those boards sounds like a great alternative to screwing around for 2 hours with an iron. I'll have less than $40 invested in a 4-channel reluctor interface!

Looking at your scope captures, I could probably use 100K resistors on the input side and still get a reliable output.

What size caps are you using to filter the power supply?

Thanks again!
Old Sep 26, 2010 | 09:07 PM
  #6  
Joe Perez's Avatar
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 34,402
Total Cats: 7,523
From: Chicago. (The less-murder part.)
Default

Originally Posted by DammitBeavis
What size caps are you using to filter the power supply?
The ones they specify in the documentation. 10nf, .1uf, and 1uf. I also tossed in a 10uf, just out of habit. The small ones I soldered directly to the backside of the carrier.
Old Sep 27, 2010 | 05:43 AM
  #7  
WestfieldMX5's Avatar
Senior Member
 
Joined: Nov 2007
Posts: 999
Total Cats: 73
From: Belgium
Default

A propos, c'est le poulet et la poule
Old Sep 27, 2010 | 10:59 AM
  #8  
DammitBeavis's Avatar
Thread Starter
Junior Member
 
Joined: Jan 2007
Posts: 281
Total Cats: 0
From: EXTREME Southern Illinois
Default

FYI, Proto-Advantage quoted me $11.99 per adapter with assembly, and $2.97ea+$10 shipping for the MAX9926 chips.

So 4-channels worth of VR Interfaces on DIP adapters and ready to mount for $39.92 + Shipping!

They recommended that I sample the chips and ship direct to them to save a few bucks.

Edit: Shipping was free from Maxim to Proto for the samples, So the TOTAL cost for the first two was $23.98 + $4.00 Shipping.

Last edited by DammitBeavis; Sep 27, 2010 at 11:35 AM.
Old Sep 27, 2010 | 11:23 AM
  #9  
Joe Perez's Avatar
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 34,402
Total Cats: 7,523
From: Chicago. (The less-murder part.)
Default

Sounds good. The 9924/9926 really are incredible devices. If you look through the other thread I linked do, there are scope traces where you can see the chip pulling signals out of noise that renders them virtually invisible and producing reliable outputs every time. Just amazing.


One word of advice: when I got mine, I sampled them as well, and they took half of forever to get here. Maybe now that there's stock in the US it'll be different.


So, the big question: What the hell are you building?
Old Sep 27, 2010 | 11:37 AM
  #10  
DammitBeavis's Avatar
Thread Starter
Junior Member
 
Joined: Jan 2007
Posts: 281
Total Cats: 0
From: EXTREME Southern Illinois
Default

I need to feed the signals from my ABS sensors into my ECU to setup traction control.
Old Sep 27, 2010 | 11:51 AM
  #11  
DammitBeavis's Avatar
Thread Starter
Junior Member
 
Joined: Jan 2007
Posts: 281
Total Cats: 0
From: EXTREME Southern Illinois
Default

I really only need 3 channels. One for each front wheel, then driveshaft speed for the driven wheels. The ECU can use Min, Max, or Average the speed of the two front wheels for accurate readings in turns. I'm putting in a **** to select off, dry, or wet tables. In each table I can define per-gear slip limits and how aggressively I want it to cut power. It should be fun to play with.
Old Sep 27, 2010 | 11:53 AM
  #12  
Joe Perez's Avatar
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 34,402
Total Cats: 7,523
From: Chicago. (The less-murder part.)
Default

Originally Posted by DammitBeavis
I'm putting in a **** to select off, dry, or wet tables.
Jeremy Clarkson would approve of this. Just make sure that the "off" position has some bizarre, incomprehensible acronym such as "CST".
Old Sep 27, 2010 | 12:04 PM
  #13  
DammitBeavis's Avatar
Thread Starter
Junior Member
 
Joined: Jan 2007
Posts: 281
Total Cats: 0
From: EXTREME Southern Illinois
Default

Originally Posted by Joe Perez
Jeremy Clarkson would approve of this. Just make sure that the "off" position has some bizarre, incomprehensible acronym such as "CST".
I prefer random colors. Right now my Launch control switch is white, ALS is yellow, fan override is black, and logger is red. If I label it at all, I think maybe green/blue/grey dots? It's even funnier since I'm red/green colorblind.
Old Sep 28, 2010 | 10:16 AM
  #14  
DammitBeavis's Avatar
Thread Starter
Junior Member
 
Joined: Jan 2007
Posts: 281
Total Cats: 0
From: EXTREME Southern Illinois
Default

OK, since that last problem was so easy to solve...... so I'll ask another thats a bit more difficult.
Is there a chip that will take two pulsed inputs, and average them into one pulsed input? I guess it would need 2 frequency counters, add them together, divide them by 2, and generate a square wave at the target frequency.
Old Sep 28, 2010 | 10:48 AM
  #15  
Joe Perez's Avatar
Boost Pope
iTrader: (8)
 
Joined: Sep 2005
Posts: 34,402
Total Cats: 7,523
From: Chicago. (The less-murder part.)
Default

Originally Posted by DammitBeavis
Is there a chip that will take two pulsed inputs, and average them into one pulsed input?
Yes. It's called a microcontroller.

(An FPGA would probably also work.)
Old Sep 28, 2010 | 11:08 AM
  #16  
DammitBeavis's Avatar
Thread Starter
Junior Member
 
Joined: Jan 2007
Posts: 281
Total Cats: 0
From: EXTREME Southern Illinois
Default

I was looking at an Arduino. With a proper microprocessor doing some math, I could integrate a yaw and accelerometer sensor (I already have a BOSCH sensor box from an STI DCCD system) to get accurate relative wheelspeed in a turn. Then I could feed the ECU an 'ideal' slip ratio.
Old Oct 1, 2010 | 03:34 PM
  #17  
DammitBeavis's Avatar
Thread Starter
Junior Member
 
Joined: Jan 2007
Posts: 281
Total Cats: 0
From: EXTREME Southern Illinois
Default

The assembled boards shipped today. That was fast! They recieved the sample chips and assembled the boards 4 days after ordering.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
skir
Suspension, Brakes, Drivetrain
15
Jul 15, 2013 07:29 PM
schema
MEGAsquirt
7
Feb 15, 2012 11:07 AM
platinum
Miata parts for sale/trade
1
Oct 27, 2011 02:32 PM
drgoodwrench
ECUs and Tuning
10
Jan 8, 2009 10:30 PM


Thread Tools
Search this Thread

All times are GMT -4. The time now is 08:51 AM.