MEGAsquirt A place to collectively sort out this megasquirt gizmo

Second optoisolator on MS2

Thread Tools
 
Search this Thread
 
Old 02-27-2013, 08:39 PM
  #21  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,022
Total Cats: 6,589
Default

Originally Posted by Full_Tilt_Boogie
What makes the CD40106 trigger superior to an opto-isolator?
The CD40106 itself has a considerable internal hysteresis. It also guarantees nice, sharp output waveforms, and because it is a voltage-mode device, we can construct rather generous low-pass filters on the inputs to further defeat any incoming noise. (In the schematic, R121 and C120 are the filter on the crank signal, R126 and C125 are the filter on the cam signal.)
Joe Perez is offline  
Old 02-27-2013, 09:24 PM
  #22  
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
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.
I have attached 2 composite logs with the occurrence happening near the end of both logs. I hope this is what you were looking for. Thanks again for any insight into a resolution to this problem.
Attached Files
File Type: zip
2013-02-27_20.48.25.zip (609.1 KB, 41 views)
File Type: zip
2013-02-27_20.55.16.zip (608.0 KB, 27 views)
duffbuster243 is offline  
Old 02-28-2013, 09:15 AM
  #23  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

can you post your msq as well?
Braineack is offline  
Old 02-28-2013, 09:22 AM
  #24  
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 Braineack
can you post your msq as well?
I can, but it won't be until later when I get out of work.
duffbuster243 is offline  
Old 02-28-2013, 09:42 AM
  #25  
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
I have attached 2 composite logs with the occurrence happening near the end of both logs. I hope this is what you were looking for. Thanks again for any insight into a resolution to this problem.
That is what I'm looking for, but I'm sorry the log files are too large. Only the first 100 pages will load. There were no trigger problems in the 100 pages that displayed. Can you try to get me some short logs showing it happening?

Also, DON'T run a datalog while running the composite log. They compete for bandwith and I want all resolution in the composite log possible.
__________________
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-28-2013, 09:59 AM
  #26  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

I made shorter:
Attached Files
File Type: csv
Braineack is offline  
Old 02-28-2013, 10:20 AM
  #27  
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
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.
And what exactly did you try?

I've never had a single issue with any local installs, and from what customers are telling me, no problems on customers' cars either.

I do not consider the optoisolator input a flawed design or implementation, since it works 100% correct in every single car.
Reverant is offline  
Old 02-28-2013, 11:04 AM
  #28  
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 Braineack
I made shorter:
No sync loss events are shown in this log.
__________________
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-28-2013, 11:07 AM
  #29  
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 Reverant
And what exactly did you try?

I've never had a single issue with any local installs, and from what customers are telling me, no problems on customers' cars either.

I do not consider the optoisolator input a flawed design or implementation, since it works 100% correct in every single car.
I have probably used 5 or 6 different tach input conditioning circuits that *all* work perfectly for this application, from the optoisolator as found on V3.0/3.57 PCBs to the MAX9926 as found on MS3-Pro.

We have over 1000 Miata MSPNPs in the hands of consumers, and no reports of sync problems that were MSPNP hardware problems. I do not know how many several thousand more Miatas are running other MegaSquirt based products, but it is in the thousands.

I have seen other issues. These cars are hitting 20 years old, and some of the CAS's are starting to fail, as are wiring harnesses and connectors. Can't fault the ECU for mechanical problems.
__________________
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-28-2013, 11:10 AM
  #30  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

Originally Posted by Ben
No sync loss events are shown in this log.
i cant open it in TS lite on my machine, but records 37-46 on this log show no sync.

the wheel patterns dont make sense to me looking in excel.
Braineack is offline  
Old 02-28-2013, 11:19 AM
  #31  
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 Braineack
i cant open it in TS lite on my machine, but records 37-46 on this log show no sync.

the wheel patterns dont make sense to me looking in excel.
No problems report when opened in TS (registered).

<edit>
I take that back. When I zoom out on the 1st page of this file, there are 2 dropouts of the CMP signal.
The CMP signal is not tricky to read. I would suspect a bad CAS or wiring fault before the hardware conditioner.
__________________
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-28-2013, 12:04 PM
  #32  
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
No problems report when opened in TS (registered).

<edit>
I take that back. When I zoom out on the 1st page of this file, there are 2 dropouts of the CMP signal.
The CMP signal is not tricky to read. I would suspect a bad CAS or wiring fault before the hardware conditioner.
I tried another CAS from a working car and got the same result. My next step is to rewire the CAS.
duffbuster243 is offline  
Old 02-28-2013, 12:40 PM
  #33  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

the CAS is such a simple device. rewiring is pointless.
Braineack is offline  
Old 02-28-2013, 12:52 PM
  #34  
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 Braineack
the CAS is such a simple device. rewiring is pointless.
So my best bet then is to make a 2nd optoisolator, or use Joe's circuit? I've run fresh grounds right to the head and cleaned all grounds under the hood in the past and it did not make a difference.
duffbuster243 is offline  
Old 02-28-2013, 01:16 PM
  #35  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

I wont to look at the composite logs at home and see where the sync loss is occuring, if the crank signal is dropping out, the 2nd opto would be pointless.
Braineack is offline  
Old 02-28-2013, 04:45 PM
  #36  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,976
Total Cats: 355
Default

Build the second opto for the cam signal.
Reverant is offline  
Old 02-28-2013, 08:03 PM
  #37  
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 Braineack
the is such a simple device. rewiring is pointless.
Unless the 20 year old wiring is broken.

Originally Posted by Braineack
I wont to look at the composite logs at home and see where the sync loss is occuring, if the crank signal is dropping out, the 2nd opto would be pointless.
I saw in the composite log that CMP is missing, and posted it below. Note that there was an edit in my earlier post, as the dropping CMP signal was hidden at first.
__________________
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 03-01-2013, 03:19 AM
  #38  
Senior Member
 
WestfieldMX5's Avatar
 
Join Date: Nov 2007
Location: Belgium
Posts: 999
Total Cats: 73
Default

Originally Posted by Ben
I have probably used 5 or 6 different tach input conditioning circuits that *all* work perfectly for this application, from the optoisolator as found on V3.0/3.57 PCBs to the MAX9926 as found on MS3-Pro.

We have over 1000 Miata MSPNPs in the hands of consumers, and no reports of sync problems that were MSPNP hardware problems. I do not know how many several thousand more Miatas are running other MegaSquirt based products, but it is in the thousands.

I have seen other issues. These cars are hitting 20 years old, and some of the CAS's are starting to fail, as are wiring harnesses and connectors. Can't fault the ECU for mechanical problems.
So Ben, what circuits would you advise for a regular MS2 on a 99?
WestfieldMX5 is offline  
Old 03-04-2013, 01:53 PM
  #39  
Senior Member
iTrader: (4)
 
karter74's Avatar
 
Join Date: Feb 2006
Location: Centennial, CO
Posts: 684
Total Cats: 23
Default

Wanted to give this up a bump for the answer to Frank's question.
karter74 is offline  
Old 03-04-2013, 03:34 PM
  #40  
Ben
Supporting Vendor
iTrader: (33)
 
Ben's Avatar
 
Join Date: Jul 2006
Location: atlanta-ish
Posts: 12,659
Total Cats: 134
Default

Several different ways work. Here is one suggestion:
MS2-Extra Miata 4g63 Manual
__________________
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  


Quick Reply: Second optoisolator on MS2



All times are GMT -4. The time now is 06:35 AM.