MEGAsquirt A place to collectively sort out this megasquirt gizmo

Second optoisolator on MS2

Old 02-27-2013, 01:55 PM
  #1  
Junior Member
Thread Starter
iTrader: (1)
 
duffbuster243's Avatar
 
Join Date: Sep 2010
Location: Scranton PA
Posts: 264
Total Cats: 4
Default Second optoisolator on MS2

Even after upgrading to MS2 I am still getting a loss of sync or random dropouts, not as often as with MS1 but still enough to annoy me. While looking around I have found what seems to be the end all solution to the problem, which is making a second optoisolator circuit. I have found a diagram posted by Brain floating which I posted along with a picture of it on a board. Please verify that it in fact looks correct.
Attached Thumbnails Second optoisolator on MS2-2ndcas_input.gif   Second optoisolator on MS2-dscf6117g.jpg  
duffbuster243 is offline  
Old 02-27-2013, 02:19 PM
  #2  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,483
Total Cats: 4,076
Default

is the above yours?


do you have a composite log of your current sync loss?
Braineack is offline  
Old 02-27-2013, 02:25 PM
  #3  
Junior Member
Thread Starter
iTrader: (1)
 
duffbuster243's Avatar
 
Join Date: Sep 2010
Location: Scranton PA
Posts: 264
Total Cats: 4
Default

The above is not mine, just one I found and scribbled out what I believe does not pertain to the circuit and changed pin 2 from spr1 to IAC1A. I don't have a current log with it happening as my old tuning laptop's motherboard fried. I can probably get one next time I have the car out but the way the weather has been lately that may be a week or two.
duffbuster243 is offline  
Old 02-27-2013, 02:28 PM
  #4  
Junior Member
Thread Starter
iTrader: (1)
 
duffbuster243's Avatar
 
Join Date: Sep 2010
Location: Scranton PA
Posts: 264
Total Cats: 4
Default

I did purchase 15ft of shielded wire which I am going to use to rewire both CAS signals directly to the Megasquirt box to see if it makes a difference.
duffbuster243 is offline  
Old 02-27-2013, 02:30 PM
  #5  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,483
Total Cats: 4,076
Default

I'd like to see a composite log of your inputs from the CAS.

Circuit above seems correct, Been a while, just follow the diagram, did you need it again?
Braineack is offline  
Old 02-27-2013, 02:59 PM
  #6  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,015
Total Cats: 6,587
Default

Originally Posted by duffbuster243
While looking around I have found what seems to be the end all solution to the problem, which is making a second optoisolator circuit.
A second opto is a second band-aid.

If you want a proven reliable input circuit, build this:

Attached Thumbnails Second optoisolator on MS2-schematic.gif  
Joe Perez is offline  
Old 02-27-2013, 03:09 PM
  #7  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,483
Total Cats: 4,076
Default

even better and still incredibly easy.
Braineack is offline  
Old 02-27-2013, 03:46 PM
  #8  
Junior Member
Thread Starter
iTrader: (1)
 
duffbuster243's Avatar
 
Join Date: Sep 2010
Location: Scranton PA
Posts: 264
Total Cats: 4
Default

Originally Posted by Joe Perez
A second opto is a second band-aid.

If you want a proven reliable input circuit, build this:

I'm not quite good with circuits, and that appears simple, almost looks like it would be easier to do on a separate wafer. Does anyone have a picture of this done?
duffbuster243 is offline  
Old 02-27-2013, 03:59 PM
  #9  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,015
Total Cats: 6,587
Default

Originally Posted by duffbuster243
I'm not quite good with circuits, and that appears simple, almost looks like it would be easier to do on a separate wafer. Does anyone have a picture of this done?
You could easily build it in the proto area, assuming it's not already filled with a bunch of other stuff. But yeah, a separate board would be ideal. If I weren't so lazy, I'd design a little JB-style daughterboard and offer them for sale.

I don't have any pictures of the actual circuit built, apart from this one, which is worthless for your purposes:


(It's the circuit that the red/wht and blk/wht wires go into.)


In all seriousness, would you guys actually buy a little board containing this dual-input conditioning circuit?

Last edited by Joe Perez; 02-27-2013 at 04:07 PM. Reason: typetoofastandmissshpel
Joe Perez is offline  
Old 02-27-2013, 04:05 PM
  #10  
Supporting Vendor
iTrader: (3)
 
emilio700's Avatar
 
Join Date: May 2005
Posts: 7,322
Total Cats: 2,369
Default

Originally Posted by duffbuster243
I did purchase 15ft of shielded wire which I am going to use to rewire both CAS signals directly to the Megasquirt box to see if it makes a difference.
It won't. (sorry)
__________________


www.facebook.com/SuperMiata

949RACING.COM Home of the 6UL wheel

.31 SNR
emilio700 is offline  
Old 02-27-2013, 04:08 PM
  #11  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
Default

Originally Posted by Joe Perez
A second opto is a second band-aid.
And your evidence for this?
Reverant is offline  
Old 02-27-2013, 04:09 PM
  #12  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,015
Total Cats: 6,587
Default

Originally Posted by Reverant
And your evidence for this?
Dictum meum pactum.
Joe Perez is offline  
Old 02-27-2013, 04:11 PM
  #13  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
Default

Sorry, you need to try harder.
Reverant is offline  
Old 02-27-2013, 04:12 PM
  #14  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,015
Total Cats: 6,587
Default

I tried really hard several years ago when I was doing the initial install on my '92. Wound up saying "**** it" and building a 36-1 crankwheel setup. (This was, admittedly, a rather disproportionate response to the situation.)

The 40106 solution has excellent filtering and hysteresis, and doesn't rely upon current-mode devices which offend my sensibilities.
Joe Perez is offline  
Old 02-27-2013, 04:40 PM
  #15  
Junior Member
Thread Starter
iTrader: (1)
 
duffbuster243's Avatar
 
Join Date: Sep 2010
Location: Scranton PA
Posts: 264
Total Cats: 4
Default

I'm willing to try this. I added my inputs/outputs on. Is this correct?
Attached Thumbnails Second optoisolator on MS2-schematic.gif  
duffbuster243 is offline  
Old 02-27-2013, 04:50 PM
  #16  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

Originally Posted by duffbuster243
Even after upgrading to MS2 I am still getting a loss of sync or random dropouts, not as often as with MS1 but still enough to annoy me. While looking around I have found what seems to be the end all solution to the problem, which is making a second optoisolator circuit. I have found a diagram posted by Brain floating which I posted along with a picture of it on a board. Please verify that it in fact looks correct.
Do you have a composite log showing loss of sync?
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 02-27-2013, 05:07 PM
  #17  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,015
Total Cats: 6,587
Default

That's correct. Depending on how you have your cam input wired now, you may need to flip the polarity setting (in software) for that input after you build this circuit. I can't remember what it's called on the MS2. Also, you'll need to re-calibrate the hardware latency. This circuit has a very long time-constant by design.

The value and stability of C120 and C125 are highly critical. Use low-tolerance parts here (eg: 5%, C0G).
Joe Perez is offline  
Old 02-27-2013, 05:13 PM
  #18  
Junior Member
Thread Starter
iTrader: (1)
 
duffbuster243's Avatar
 
Join Date: Sep 2010
Location: Scranton PA
Posts: 264
Total Cats: 4
Default

Originally Posted by Ben
Do you have a composite log showing loss of sync?
I do not, How do I do a composite log in Tunerstudio?
duffbuster243 is offline  
Old 02-27-2013, 06:40 PM
  #19  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

Under the diagnostics tab.
You're chasing your tail if you haven't taken a composite log first. It will show you (if) you have a sync problem, and if so, which sensor is not coming through.

I am generally amazed at when I see a report of a sync problem on a Miata. I personally have numerous Miata installs under my belt, as in I can't count/remember them all, and have never had a sync problem. As a company, Miata is one of our top selling applications, and I don't recall any sync problems with any of our prebuilt units if correctly installed.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Ben is offline  
Old 02-27-2013, 08:21 PM
  #20  
Elite Member
iTrader: (1)
 
Full_Tilt_Boogie's Avatar
 
Join Date: May 2009
Location: Jacksonville, FL
Posts: 5,155
Total Cats: 406
Default

What makes the CD40106 trigger superior to an opto-isolator?
Full_Tilt_Boogie is offline  

Thread Tools
Search this Thread
Quick Reply: Second optoisolator on MS2



All times are GMT -4. The time now is 12:29 AM.