MEGAsquirt A place to collectively sort out this megasquirt gizmo

Abe & JasonC's NB Cam & Crank input circuits

Thread Tools
 
Search this Thread
 
Old 09-08-2008, 07:04 PM
  #1  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default Abe & JasonC's NB Cam & Crank input circuits

After putting a bunch of time into cleaning up this drawing for a thread over at msextra.com, it occurs to me that it never did get stickied here. Prolem solved:




Note that it's been suggested that the TL082 opamp may yield better performance than the LM393. The two are pin-compatible, so if possible you should attempt to substitute a TL082 in this circuit instead. The TL082 is available from RadioShack as P/N 276-1715, so this is one more thing in its favor.

As drawn, this is for MS2. You could use it for MS1 as well, by changing JS10 to JS8 on the B-side output.

Last edited by Joe Perez; 05-04-2009 at 04:02 PM. Reason: Fixed image
Joe Perez is offline  
Old 09-08-2008, 07:43 PM
  #2  
Junior Member
 
compy's Avatar
 
Join Date: Oct 2007
Location: AC, NJ
Posts: 345
Total Cats: 0
Default

Noob alert: Is this made on a separate board (like a breadboard)? This may be harder going MS-II than I thought.
compy is offline  
Old 09-08-2008, 08:09 PM
  #3  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

If you are careful about your layout, it will easily fit into the proto area of the 3.0, with plenty of space left over for a couple of relay drivers. Abe was good enough to do a nifty 3d layout of the assembled circuit:




Of course, you can if you wish to it on a seperate board, as etnad is doing:

(note that I do not condone this hideous mess of resistors. Are you listening, etnad? Clean up your goddamn wiring!)


When I abandoned the CAS and went to a wheel, I actually built the new decoder circuit in such a way that it is completely external to the MS, which made it easier to fine-tune. It's in a small external box, which tethers to my MS via a 3 wire cable as seen here: https://www.miataturbo.net/forum/sho...884#post251884
Joe Perez is offline  
Old 09-08-2008, 09:40 PM
  #4  
Junior Member
 
compy's Avatar
 
Join Date: Oct 2007
Location: AC, NJ
Posts: 345
Total Cats: 0
Default

Ah! That is a mess! Lol. I rather build it in the proto area so everything can fit onto just the one board. You only had to build the separate box since you had a custon wheel right?
compy is offline  
Old 09-08-2008, 09:59 PM
  #5  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Originally Posted by compy
You only had to build the separate box since you had a custon wheel right?
Yeah. As I explained in the writeup, when I assembled my MS I figured I'd never need the VR circuit, so I left those components out and glued a very large capacitor down to that empty space on the board. So in the end, when I wound up needing the VR circuit after all, I had no choice but to build it on a separate board. (my proto area was already packed with other circuits, including my previous dual pickup circuit)

I decided to put it in an external box since I has just been through a very frustrating experiance with my previous ignition trigger circuits, and I wanted something that was easy to remove, test and modify if need be. As it turns out, it failed horribly the first time, but worked perfectly thereafter, once I flipped one connection around and re-installed it.

But the vast majority of folks build their pickup circuit right on the main board, regardless of what type of circuit it is.
Joe Perez is offline  
Old 09-08-2008, 10:28 PM
  #6  
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,338
Total Cats: 573
Default

isn't his last name Mara?
y8s is offline  
Old 09-08-2008, 10:57 PM
  #7  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

did abe do the bottom one?
Braineack is offline  
Old 09-08-2008, 10:58 PM
  #8  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Smile

Uhm... ****. I honestly don't know- I never bothered to steal his wallet and check his drivers license.

Abe, have I been mis-spelling your name all this time?
Joe Perez is offline  
Old 09-08-2008, 11:01 PM
  #9  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,490
Total Cats: 4,079
Default

Originally Posted by Joe Perez
Uhm... ****. I honestly don't know- I never bothered to steal his wallet and check his drivers license.

Abe, have I been mis-spelling your name all this time?

you think I read?! you know me better than that. I only asked because I've seen some of abe's circuits....this etnad character must have been his padiwan.
Braineack is offline  
Old 09-08-2008, 11:13 PM
  #10  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Oh, I was responding top Y8s' question about the spelling of his name, You snuck in right before I hit send.

What do you mean by "the bottom one"? The 3d rendering?
Joe Perez is offline  
Old 09-08-2008, 11:15 PM
  #11  
Junior Member
 
compy's Avatar
 
Join Date: Oct 2007
Location: AC, NJ
Posts: 345
Total Cats: 0
Default

Tee hee hee

http://abefm.smugmug.com/gallery/262...38616327_GWT5v
compy is offline  
Old 09-08-2008, 11:23 PM
  #12  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Oh yeah. I remember that day well. We were coming around a big, fast turn, and I was trail-braking. Initially started heading for that wall, then over-corrected, spun 180, and exited the road backwards into those trees which, thankfully, stopped me without doing too much damage to the car.

Shortly thereafter I became a bit more serious about my tires and suspension. Needless to say, the T1Ss went away, as did the AGXs, the big rear bar, etc...
Joe Perez is offline  
Old 09-09-2008, 01:31 AM
  #13  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

You can cut the parts counts drastically by using a 74C14 (Schmitt trigger input inverter).

And your heavy noise rejection filter will delay the signal by 4° at 7200 RPM. Not good.

Last edited by JasonC SBB; 09-09-2008 at 01:46 AM.
JasonC SBB is offline  
Old 09-09-2008, 01:40 AM
  #14  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Or a CD40106 (which is very similar to a 74C14)

Like so.

You can increase the 470Ω resistor to ~1kΩ and the delay will be <0.5° at 7200 RPM.
Attached Thumbnails Abe &amp; JasonC's NB Cam &amp; Crank input circuits-input.gif  
JasonC SBB is offline  
Old 09-09-2008, 10:46 AM
  #15  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

This circuit was the result of Abe reverse-engineering the input circuits in his OEM '99 ECU. It is not an attempt at optimization, merely an exact duplicate of the factory circuit.

Delay due to the input filtration can be negated in software, as there is a specific field for entering the hardware latency of the trigger input.
Joe Perez is offline  
Old 09-09-2008, 02:07 PM
  #16  
Senior Member
 
WestfieldMX5's Avatar
 
Join Date: Nov 2007
Location: Belgium
Posts: 999
Total Cats: 73
Default

but isn't the delay frequency (rpm) dependent iow, a fixed latency has no(t a lot of) use?
WestfieldMX5 is offline  
Old 09-09-2008, 02:15 PM
  #17  
Senior Member
 
WestfieldMX5's Avatar
 
Join Date: Nov 2007
Location: Belgium
Posts: 999
Total Cats: 73
Default

I'm a bit at a loss here. As I understand it, the MS2 has the necessary software for the NB sensors, using this circuit.
Can the NB sensors be used on MS1 as well or does its software not allow this? It prefer MS1 over MS2 if possible (because of better idle and WI control).
WestfieldMX5 is offline  
Old 09-09-2008, 02:24 PM
  #18  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Originally Posted by f_devocht
but isn't the delay frequency (rpm) dependent
Well, I grant you that as f approaches ∞ there will be a phase shift in the voltage across the capacitor, however in practice this seems to be relatively small by way of comparison to the fixed latency of the circuit.
Joe Perez is offline  
Old 09-09-2008, 02:39 PM
  #19  
Supporting Vendor
 
Matt Cramer's Avatar
 
Join Date: Sep 2006
Posts: 2,332
Total Cats: 67
Default

MS1 software doesn't support the NB sensors.
__________________
Matt Cramer
www.diyautotune.com
Matt Cramer is offline  
Old 09-09-2008, 02:39 PM
  #20  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,019
Total Cats: 6,587
Default

Originally Posted by f_devocht
I'm a bit at a loss here. As I understand it, the MS2 has the necessary software for the NB sensors, using this circuit.
Can the NB sensors be used on MS1 as well
The MS1 software cannot be made to understand the NB's unevenly-spaced crankwheel. One could make it work by trimming the two TDC teeth off of the wheel.

It's also been postulated that, even for an NA, this circuit is likely more reliable than the ones commonly used for 4G63 input. A number of NA owners (myself included) have found that CASs which worked perfectly on the stock ECU exhibited severe problems when used with a MegaSquirt. I'd like to see the next person who runs into that problem try this circuit.
Joe Perez is offline  


Quick Reply: Abe & JasonC's NB Cam & Crank input circuits



All times are GMT -4. The time now is 07:57 PM.