MEGAsquirt A place to collectively sort out this megasquirt gizmo

MS3X 1.6 Sequential No Start, No Cam Signal

Thread Tools
 
Search this Thread
 
Old 11-12-2012, 07:34 PM
  #1  
Junior Member
Thread Starter
iTrader: (1)
 
Sokool's Avatar
 
Join Date: Jan 2009
Location: Bradenton, FL
Posts: 290
Total Cats: 5
Default MS3X 1.6 Sequential No Start, No Cam Signal

Running a MS3X on a 1.6 running full sequential. The car has undergone a complete overhaul including a custom engine harness for this build. I built the ecu for this project. This is my first time attempting to start the car.

Tunerstudio shows a fluctuating RPM signal during cranking of around 250 RPM and then back to 0 RPM. Composite log shows good CKP signal but no CMP and sync error 38. I have continuity between pin 4 at the CAS plug and pin 32 at the MS3X connector. I configured the MS3X card as outlined HERE for VR sensor. This engine was previously running batch on a MSPNP so no idea if the CMP signal of the CAS was previously in good working order. Is there a good way to test a CAS without an oscilloscope? Not sure my DVOM could keep up with the pulses.

I have attached a Composite log and Datalog of cranking. As well as my .msq

Please tell my I'm dumb and have missed something simple.
Attached Files
File Type: csv
2012-11-12_18.41.36.csv (10.4 KB, 151 views)
File Type: msl
2012-11-12_18.43.28.msl (100.9 KB, 148 views)
File Type: msq
FirstStart.msq (161.6 KB, 198 views)

Last edited by Sokool; 11-12-2012 at 08:52 PM.
Sokool is offline  
Old 11-12-2012, 07:55 PM
  #2  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,050
Total Cats: 6,615
Default

Posting from phone while being held captive in the trunk of a Caddillac Deville, so forgive brevity.

If the cam signal wasn't working previosly, the engine wouldn't have run at all. Even without sequantial injection, CMP is required for wasted-spark.
Joe Perez is offline  
Old 11-12-2012, 08:08 PM
  #3  
Junior Member
Thread Starter
iTrader: (1)
 
Sokool's Avatar
 
Join Date: Jan 2009
Location: Bradenton, FL
Posts: 290
Total Cats: 5
Default

MS1 has provisions for CMP?
Sokool is offline  
Old 11-12-2012, 09:25 PM
  #4  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,050
Total Cats: 6,615
Default

Originally Posted by Sokool
MS1 has provisions for CMP?
Of course. It's JS8, which connects to pin 11 of the CPU.

In order to run wasted-spark ignition, the CPU needs to at least know which CKP pulse corresponds to #1/4 TDC, if not absolute engine-phase. It can derive this information from a missing tooth on a crankwheel, or from a second input which gives one pulse per crank revolution. The CMP signal in the Miata's CAS fits the latter description.

Gotta go- the car has stopped and I can hear people shouting in Russian outside.
Joe Perez is offline  
Old 11-13-2012, 02:06 PM
  #5  
Junior Member
Thread Starter
iTrader: (1)
 
Sokool's Avatar
 
Join Date: Jan 2009
Location: Bradenton, FL
Posts: 290
Total Cats: 5
Default

Shows how much I pay attention. It was late last night and was quite frustrated. Anyone else with some thoughts? Do I have the MS3X card configured properly?
Sokool is offline  
Old 11-14-2012, 09:21 AM
  #6  
Supporting Vendor
 
Matt Cramer's Avatar
 
Join Date: Sep 2006
Posts: 2,332
Total Cats: 67
Default

Originally Posted by Sokool
I configured the MS3X card as outlined HERE for VR sensor.
Why?

If you haven't swapped a VR sensor into your CAS for unknown reasons, set it up for Hall / optical sensors by installing JP7.
__________________
Matt Cramer
www.diyautotune.com
Matt Cramer is offline  
Old 11-14-2012, 09:29 AM
  #7  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,501
Total Cats: 4,079
Default

Originally Posted by Sokool
Shows how much I pay attention. It was late last night and was quite frustrated. Anyone else with some thoughts? Do I have the MS3X card configured properly?

probably not. did you turn the pots correctly?

You need to follow this method:
For hall or optical sensor inputs.
a) Install the jumper across JP7
b) Turn both pots (R11 and R32) 7 turns anti-clockwise (sometimes you may feel a "click" when the end position is reached, they can't be damaged by turning too far.)
c) Then turn the top one (R11) 3 turns clockwise.

I don't see any CMP activity on your composite log so I'm assuming you dont have JP7 installed?

Otherwise, double check that you have Pin 32 of the Expander db37 going back to 2G on the harness connector.
Braineack is offline  
Old 11-14-2012, 09:38 AM
  #8  
Junior Member
Thread Starter
iTrader: (1)
 
Sokool's Avatar
 
Join Date: Jan 2009
Location: Bradenton, FL
Posts: 290
Total Cats: 5
Default

Originally Posted by Matt Cramer
Why?

If you haven't swapped a VR sensor into your CAS for unknown reasons, set it up for Hall / optical sensors by installing JP7.
Because I was going off of the wrong assumption when I biult the ECU over a year ago. None of the writeups were in circulation then.

After my own research last night I came the same conclusion. I will do the appropriate adjustments and report back.
Sokool is offline  
Old 11-14-2012, 11:47 AM
  #9  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,050
Total Cats: 6,615
Default

Originally Posted by Matt Cramer
installing JP7.
Yep. That'll get 'em every time.
Joe Perez is offline  
Old 11-14-2012, 12:36 PM
  #10  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Originally Posted by Joe Perez
Posting from phone while being held captive in the trunk of a Caddillac Deville, so forgive brevity.

If the cam signal wasn't working previosly, the engine wouldn't have run at all. Even without sequantial injection, CMP is required for wasted-spark.
No CMP is required for wasted spark?!? If it was your old MS1 and trigger wheel setup would never have run

The CMP is only required on an MX5 with the OEM CAS in the context of its wheel pattern being coded into the MS ECU - or at least fudged on a MS1
richyvrlimited is offline  
Old 11-14-2012, 01:09 PM
  #11  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,050
Total Cats: 6,615
Default

Originally Posted by richyvrlimited
No CMP is required for wasted spark?!? If it was your old MS1 and trigger wheel setup would never have run
Did you read what I wrote? I said that CMP *IS* required for wasted-spark, even on an MS1. (It's also used to sequence the injectors, even when run in two-channel batch fire mode.)

It sounds like the OP is homing in on the problem, so this thread is kind of solved. But for everyone's general reference, a quick primer on how wheel decoding works in general:


For Crank-only (or single-channel Cam only), you have several basic options:

You can run a crank wheel with an even number of teeth, with one or more teeth missing. This gives the ECU enough information to know when the #1 and #4 pistons are physically at TDC, which can then be used to drive wasted-spark ignition and two-channel batch injection. It can't run full sequential, because it can't distinguish between #1 TDC and #4 TDC.


You can run a cam wheel with an even number of teeth, with one or more missing teeth. Because the cam rotates at 1/2 crank speed, that missing tooth is enough to tell the ECU precisely where #1 TDC is, and this, you can run full sequential. (Note that this configuration is extremely uncommon.)


If you have only a single wheel with no missing teeth, be it on the crank or the cam, then you can only run single-channel, meaning you will need a mechanical distributor. This, in fact, was the original operating mode of the Megasquirt way back in the beginning, as the points inside the distributor were re-purposed to act as the "wheel".


With the NA Miata's CAS, the CKP signal does have an even number of teeth, but since it only has one tooth per ignition event, you can't just cut one of them off and call it a missing-tooth wheel. There needs to be at least twice as many teeth as ignition events in order to do that, since every event must correspond to a physical tooth.

The CAS's CKP line could, in theory, be used all by itself if you could also figure out how to get a distributor to run in parallel with it, but that's kind of silly.

Thus, in order to use the CAS to drive a wasted-spark ignition, we require both the CMP and CKP outputs. CKP provides the actual firing-event reference, while CMP provides information about engine-phase.

The CMP line actually supplies enough information to run fully sequential, since even though it has two pulses per cam revolution, one of them is longer than the other. The longer one fully overlaps a CKP pulse, whereas the shorter one overlaps only one edge of a CKP pulse.

The MS1 is not capable of figuring this out, since it can only "see" one edge of the pulses- it cannot detect their actual state in real time. (This is not a software limitation- it's a physical limitation of the actual CPU itself. The IRQ input is the only one capable of providing sufficient temporal resolution to deal with primary trigger inputs, and that pin is able to act only on falling edges.)

So to the MS1, the CMP signal just looks like one pulse per crank revolution, which is functionally equivalent to a missing tooth crankwheel.

The MS2 and 3, by comparison, are capable of reading the realtime state of all input pins, so it can figure out the difference between the two CMP pulses, and use this to set absolute engine phase thus supporting full sequential operation.
Joe Perez is offline  
Old 11-14-2012, 04:34 PM
  #12  
Junior Member
Thread Starter
iTrader: (1)
 
Sokool's Avatar
 
Join Date: Jan 2009
Location: Bradenton, FL
Posts: 290
Total Cats: 5
Default

Jumped JP7 and set my pots to 2.5v and it fired right up. Thank you all for showing me the error in my ways.
Sokool is offline  
Old 11-14-2012, 05:26 PM
  #13  
Elite Member
iTrader: (1)
 
richyvrlimited's Avatar
 
Join Date: Jun 2006
Location: Warrington/Birmingham
Posts: 2,642
Total Cats: 42
Default

Originally Posted by Joe Perez
Did you read what I wrote? I said that CMP *IS* required for wasted-spark, even on an MS1. (It's also used to sequence the injectors, even when run in two-channel batch fire mode.)
I did read it I genuinely thought the CMP wasn't required for wasted spark. You didnt have a CMP signal on your 36-1 crank trigger setup?

I thought that like with that setup you don't need a CMP signal for wasted spark and batch injection. I know you need the stock MK1 CAS's CMP as the code the MS uses is hard written to decode it using both signals.

Obviously I'm wrong, thanks for putting me straight
richyvrlimited is offline  
Old 11-14-2012, 06:27 PM
  #14  
Boost Pope
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,050
Total Cats: 6,615
Default

Originally Posted by richyvrlimited
I did read it I genuinely thought the CMP wasn't required for wasted spark. You didnt have a CMP signal on your 36-1 crank trigger setup?
No, I did not.

You don't need a CMP signal with a missing-tooth wheel such as a 36-1. The missing tooth itself provides the same information that a CMP pulse would, insofar as wasted-spark and two-channel batch injection requires. The ECU knows that whenever it sees that gap, it is approaching TDC on cylinders 1 and 4. Since 1 and 4 both share the same ignition coil, this is enough information to sync.


The problem arises when you have a CKP signal that does not have an obvious distinguishing mark to indicate the position of 1/4 TDC. In the case of the NA CAS, the CKP signal is four evenly-spaced pulses per cam revolution with no uneven gaps. This is not enough information to do wasted-spark, since the ECU has no way of knowing which CKP pulse corresponds to 1/4 TDC versus 2/3 TDC.

The CMP pulse lets the ECU know which CKP pulse is which. Since there is only one CMP pulse for every two CKP pulses, the ECU knows that when it sees a CMP pulse, the next ignition event is going to be for 1 & 4.



The fact that the CMP pulses are of unequal duration is what allows the MS2 and 3 to further decide which one of the four CKP pulses specifically corresponds to cylinder #1's TDC on the compression/ignition cycle, however that's more information than we need to consider in the context of an MS1. Because of the physical limitations of the MS1 CPU, both CMP pulses appear to be the same to it.



Perhaps a picture will help:



The top is CKP, the bottom is CMP. This shows just a bit more than two complete engine cycles.

First, cover the bottom trace with your hand or a sheet of paper, and look only at the top trace. In order to fire the correct ignition coil, you need to know which pulse corresponds to which cylinder pair. How can you tell?

You can't. You need the information from the bottom trace. So uncover it.

Notice that even though the CMP pulses alternate between long-short-long-short, it is always true that the rising edge of CMP occurs a fraction of a millisecond before the rising edge of CKP.

CMP, in this case, is simply being used to reset the cycle counter. When CMP goes high, the ECU says "Ok, the very next CKP pulse I see is going to be for cylinders 1/4. After that, the next CKP pulse will be for cylinders 2/3." It just keeps repeating that process over and over again.
Attached Thumbnails MS3X 1.6 Sequential No Start, No Cam Signal-4g63%2520trigger%2520pattern.gif  
Joe Perez is offline  
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Full_Tilt_Boogie
Build Threads
84
04-12-2021 04:21 PM
Trent
WTB
2
10-01-2015 12:15 PM
The Gleas
MEGAsquirt
3
10-01-2015 09:30 AM
mx592
Suspension, Brakes, Drivetrain
1
10-01-2015 12:45 AM



Quick Reply: MS3X 1.6 Sequential No Start, No Cam Signal



All times are GMT -4. The time now is 01:52 PM.