Miatas For Sale

Welcome to Miataturbo.net   Members
 
Register Forgot Password?

Welcome to Miata Turbo Forum - Turbo Kitten is watching you test compression.

Reply
 
 
 
 
LinkBack Thread Tools

Old 09-08-2008, 07:04 PM   #1
Default Abe & JasonC's NB Cam & Crank input circuits  
Don't be a dick.

 
Joe Perez's Avatar
 
I am: Joe
Join Date: Sep 2005
Location: Sandy Eggo
Posts: 16,101
Feedback: 8 / 100%
Total Props: 493
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.
__________________
Quote:
Originally Posted by wittyworks View Post
Assume I have unlimited welding/machining abilities.


Last edited by Joe Perez; 05-04-2009 at 04:02 PM.. Reason: Fixed image
Joe Perez is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-08-2008, 07:43 PM   #2
Default  
Junior Member
 
Join Date: Oct 2007
Location: AC, NJ
Posts: 336
Feedback: 0 / 0%
Total Props: 0
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-08-2008, 08:09 PM   #3
Default  
Don't be a dick.

 
Joe Perez's Avatar
 
I am: Joe
Join Date: Sep 2005
Location: Sandy Eggo
Posts: 16,101
Feedback: 8 / 100%
Total Props: 493
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: http://www.miataturbo.net/forum/show...884#post251884
__________________
Quote:
Originally Posted by wittyworks View Post
Assume I have unlimited welding/machining abilities.
Joe Perez is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-08-2008, 09:40 PM   #4
Default  
Junior Member
 
Join Date: Oct 2007
Location: AC, NJ
Posts: 336
Feedback: 0 / 0%
Total Props: 0
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-08-2008, 09:59 PM   #5
Default  
Don't be a dick.

 
Joe Perez's Avatar
 
I am: Joe
Join Date: Sep 2005
Location: Sandy Eggo
Posts: 16,101
Feedback: 8 / 100%
Total Props: 493
Quote:
Originally Posted by compy View Post
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.
__________________
Quote:
Originally Posted by wittyworks View Post
Assume I have unlimited welding/machining abilities.
Joe Perez is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-08-2008, 10:28 PM   #6
Default  
y8s
graceful comfortableness

 
y8s's Avatar
 
I am: m
Join Date: Jun 2005
Location: Fake Virginia
Posts: 16,476
Feedback: 7 / 100%
Total Props: 118
isn't his last name Mara?
y8s is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-08-2008, 10:57 PM   #7
Default  
Boost Czar

 
Braineack's Avatar
 
I am: Scott
Join Date: May 2005
Location: Chantilly, VA
Posts: 49,449
Feedback: 54 / 100%
Total Props: 483
did abe do the bottom one?
Braineack is online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-08-2008, 10:58 PM   #8
Smile  
Don't be a dick.

 
Joe Perez's Avatar
 
I am: Joe
Join Date: Sep 2005
Location: Sandy Eggo
Posts: 16,101
Feedback: 8 / 100%
Total Props: 493
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-08-2008, 11:01 PM   #9
Default  
Boost Czar

 
Braineack's Avatar
 
I am: Scott
Join Date: May 2005
Location: Chantilly, VA
Posts: 49,449
Feedback: 54 / 100%
Total Props: 483
Quote:
Originally Posted by Joe Perez View Post
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 online now  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-08-2008, 11:13 PM   #10
Default  
Don't be a dick.

 
Joe Perez's Avatar
 
I am: Joe
Join Date: Sep 2005
Location: Sandy Eggo
Posts: 16,101
Feedback: 8 / 100%
Total Props: 493
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-08-2008, 11:15 PM   #11
Default  
Junior Member
 
Join Date: Oct 2007
Location: AC, NJ
Posts: 336
Feedback: 0 / 0%
Total Props: 0
Tee hee hee

http://abefm.smugmug.com/gallery/262...38616327_GWT5v
compy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-08-2008, 11:23 PM   #12
Default  
Don't be a dick.

 
Joe Perez's Avatar
 
I am: Joe
Join Date: Sep 2005
Location: Sandy Eggo
Posts: 16,101
Feedback: 8 / 100%
Total Props: 493
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-09-2008, 01:31 AM   #13
Default  
Elite Member
 
Join Date: Jul 2005
Posts: 5,171
Feedback: 0 / 0%
Total Props: 43
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-09-2008, 01:40 AM   #14
Default  
Elite Member
 
Join Date: Jul 2005
Posts: 5,171
Feedback: 0 / 0%
Total Props: 43
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 Images
File Type: gif input.gif (2.7 KB, 917 views)
JasonC SBB is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-09-2008, 10:46 AM   #15
Default  
Don't be a dick.

 
Joe Perez's Avatar
 
I am: Joe
Join Date: Sep 2005
Location: Sandy Eggo
Posts: 16,101
Feedback: 8 / 100%
Total Props: 493
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-09-2008, 02:07 PM   #16
Default  
Senior Member
 
I am: Frank
Join Date: Nov 2007
Location: Belgium
Posts: 659
Feedback: 0 / 0%
Total Props: 13
but isn't the delay frequency (rpm) dependent iow, a fixed latency has no(t a lot of) use?
WestfieldMX5 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-09-2008, 02:15 PM   #17
Default  
Senior Member
 
I am: Frank
Join Date: Nov 2007
Location: Belgium
Posts: 659
Feedback: 0 / 0%
Total Props: 13
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-09-2008, 02:24 PM   #18
Default  
Don't be a dick.

 
Joe Perez's Avatar
 
I am: Joe
Join Date: Sep 2005
Location: Sandy Eggo
Posts: 16,101
Feedback: 8 / 100%
Total Props: 493
Quote:
Originally Posted by f_devocht View Post
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-09-2008, 02:39 PM   #19
Default  
Supporting Vendor
 
Matt Cramer's Avatar
 
Join Date: Sep 2006
Posts: 1,469
Feedback: 0 / 0%
Total Props: 7
MS1 software doesn't support the NB sensors.
Matt Cramer is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-09-2008, 02:39 PM   #20
Default  
Don't be a dick.

 
Joe Perez's Avatar
 
I am: Joe
Join Date: Sep 2005
Location: Sandy Eggo
Posts: 16,101
Feedback: 8 / 100%
Total Props: 493
Quote:
Originally Posted by f_devocht View Post
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiTweet this Post!
Reply With Quote
Old 09-09-2008, 02:39 PM
 
 
 
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
WTB: 01+ Crank and Cam Sensor Faeflora WTB 11 01-15-2012 03:02 PM
changing from cam to crank angle sensor mr2daj ECUs and Tuning 12 01-10-2012 02:13 AM
CAM input circuit for MS2, 4G63 Reverant MEGAsquirt 12 01-13-2011 12:43 PM
MS2 With stock Cam and crank sensor. hbrew MEGAsquirt 17 07-14-2010 08:10 AM