Megasquirt Forum Area is for discussing Megasquirt EMS

Megasquirt Lighting the fire (ignition upgrades)

Thread Tools
 
Search this Thread
 
Old Jun 28, 2011 | 10:28 AM
  #26  
muythaibxr's Avatar
MegaSquirt Mod
Tenured Member 15 Years
 
Joined: Sep 2004
Posts: 4,721
Likes: 1
From: Maryland
Originally Posted by Jobro
I can't risk the fallout from a firmware update until the weekend because my megasquirted 7 is my trip to work every day.

What would be the chances of a newer release of 2.10d or whatever was the release code fixing the RX-8 mode bug? This is my prefered solution at this stage.
At this point no chance. We're bugfixing the 3.1.x ms2/extra releases. All new dev is ms3 only.

But I'm not buying more ECU related hardware until I know for sure that we can get around the ignition dwell time issue.
I'm sure COP would help that. I'm unaware of any changes between 2.1.x and 3.1.x for rx8 mode, but I can check/ask James if he knows of any.

Ken
Reply
Old Jun 29, 2011 | 07:10 AM
  #27  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
How bad are the release versions of 2.1.0D and 2.1.0E?
Reply
Old Jun 29, 2011 | 12:24 PM
  #28  
muythaibxr's Avatar
MegaSquirt Mod
Tenured Member 15 Years
 
Joined: Sep 2004
Posts: 4,721
Likes: 1
From: Maryland
Not sure what you mean by "how bad" are they.

I don't think any of them are bad, but I'm probably biased.

They have all worked for me.

Ken
Reply
Old Jun 29, 2011 | 05:17 PM
  #29  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
By bad I meant in terms of known bugs.
Reply
Old Jul 1, 2011 | 06:28 AM
  #30  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
I think my turbo has compromised my TPS because they are about 10cm seperated.
I'm also getting incorrect readings from my MAT sensor. I had that one out last weekend so its possible it has died as a result...

I have 2.1.0E release in the car I'm just generating a meaningful MSQ now.
Reply
Old Jul 1, 2011 | 07:26 AM
  #31  
muythaibxr's Avatar
MegaSquirt Mod
Tenured Member 15 Years
 
Joined: Sep 2004
Posts: 4,721
Likes: 1
From: Maryland
Originally Posted by muythaibxr
Not sure what you mean by "how bad" are they.

I don't think any of them are bad, but I'm probably biased.

They have all worked for me.

Ken
I believe those realeases were small bug-fix releases, so neither of them have a lot of known bugs.
Reply
Old Jul 1, 2011 | 07:44 AM
  #32  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
Cool.

Well I have a no start condition. It did sound like it tried to start. It has very tired plugs in it and it was cranking very slow. So I put it on trickle charge to attack tomorrow.

I might put my new plugs in it tomorrow and zero the timing.

Cranking RPM was really low, like 110RPM.
Reply
Old Jul 1, 2011 | 10:07 PM
  #33  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
At this stage I'm 99.99999% certain labels of triggering functionality has changed between 210D-B2 and 210E.
Reply
Old Jul 2, 2011 | 09:06 PM
  #34  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
If I keep the same trigger settings I've always used in the 2.1.0D beta I was using,

ie

2nd trigger active on every rotation of: CAM
24 teeth on trigger wheel on crank.

Then it works and I've been driving fine for 2 years.

If I put those settings into the release code of 2.1.0E then I get half the RPM and the car won't start.

Even when I make it 12 teeth on crank I get the right amount of ignition events at seemingly the right time on all 4 wires but the car still won't start with the exact same tune cross loaded into the new MSQ format.

Frankly I've pretty shitty. I've kept everything constant and the new code doesn't work because something has changed and I don't know what.

Can you offer any insight ken?
Attached Files
File Type: zip
210d-b2.zip (37.8 KB, 42 views)
Reply
Old Jul 2, 2011 | 09:07 PM
  #35  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
I will load up the MSQ file for the 210E release code.

I can't see how you can change fundamental things like that and not know. I can't see how you change make new code that is functionally different without a change log and not expect people to get cranky.
Reply
Old Jul 3, 2011 | 02:01 AM
  #36  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
OK,

I no longer have the *****.

I was correct in my original obervations.

The 2.1.0E requires

24 teeth on CAM
reset pulse on every crank.


The old software I was using required

24 teeth on crank
reset pulse on every cam.


That is the obvious discrepancy causing my car to not run and using my entire weekend...
Reply
Old Jul 3, 2011 | 06:06 AM
  #37  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
Gotta say I'm pretty impressed!

#1 I tested FC, FD and RX-8 modes tonight and they all behave as expected in 2.1.0E release firmware.

#2 I tested the effects of dwell battery compensation, and it works as expected.

The extra noise / hair on the RX-8 mode scope capture is because by that stage I had cranked the car probably 15 times and the battery was getting tired.

I'm very glad this is heading in the right direction now

I still need to build the 4th LED driver / pullup circuit to test the Remaining rear rotor ignition signal. I bought some 2N3904's to do that next weekend.
Attached Thumbnails Lighting the fire (ignition upgrades)-fc_mode.jpg   Lighting the fire (ignition upgrades)-fd_mode.jpg   Lighting the fire (ignition upgrades)-rx8_mode.jpg  
Reply
Old Jul 4, 2011 | 09:30 PM
  #38  
muythaibxr's Avatar
MegaSquirt Mod
Tenured Member 15 Years
 
Joined: Sep 2004
Posts: 4,721
Likes: 1
From: Maryland
Actually, the correct setting for 2nd trig has been every rotatation of the crank since the beginning! But I am glad you found the problem.

Ken
Reply
Old Jul 7, 2011 | 09:57 PM
  #39  
chango de naranjito's Avatar
Full Member
Tenured Member 10 Years
 
Joined: Sep 2008
Posts: 150
Likes: 0
From: Puerto Rico
can I install js11 directly to the ignitor for spark D with a pull up or I need the led driver mod to run the igniter on a 3.57 board?
Reply
Old Jul 8, 2011 | 06:53 AM
  #40  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
Originally Posted by chango de naranjito
can I install js11 directly to the ignitor for spark D with a pull up or I need the led driver mod to run the igniter on a 3.57 board?
You will need the LED driver board mod to js11 minimum.

Next problem is the 4k7 pullup resistor being pulled towards 5V, ~1mA current on a low to high transistion.

1mA is pretty

If you look at Haltech's and Motecs they have options like 20mA drive and 40mA drive. I want something similar to this.

There are 4 channel line driver IC's available that can drive high by 32mA and drive low by 64mA. I think I'm going to end up building the led onto JS11 and then use the pullup and the negative lead to drive a higher current line driver, which will then in turn drive the ignition system.

I have in the past unsucessfully used 270 and 330 ohms pullups to drive VB921 ignition chips before. My feeling is the drive is just not there.
Reply
Old Jul 8, 2011 | 11:21 AM
  #41  
chango de naranjito's Avatar
Full Member
Tenured Member 10 Years
 
Joined: Sep 2008
Posts: 150
Likes: 0
From: Puerto Rico
in the manual says you can conect it directly to js11, Im using ms2 3.11

http://www.msextra.com/doc/ms2extra/...ion.htm#3coils
Reply
Old Jul 8, 2011 | 08:09 PM
  #42  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
Originally Posted by chango de naranjito
in the manual says you can conect it directly to js11, Im using ms2 3.11

http://www.msextra.com/doc/ms2extra/...ion.htm#3coils
That could work too. However you are relying on the Spark Output Inverted to work which I did not test. You are also relying on the microcontroller driving high and then driving low, rather than driving high and then releasing the pin (make it high-z input).

You are also relying on the microcontroller pin to drive the igniter. They are only rated at 1-3mA typically in this family of chips. You should strive for 20-40mA drive like I am.
Reply
Old Aug 3, 2011 | 09:05 AM
  #43  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
Ken,

I've come up short on outputs. Here is my resource usage (current and future).

Fidle = PWM idle (future, but used in past hardwhere built)
LedA spark
LedB spark
LedC spark
JS10 = CAS 2nd trigger
JS11 = spark d

iac1 fan relay (switched earth)
iac2 boost control or (water injection on/off)

are there any outputs left?

I have realised that if I use full sequential ignition i will need a dash tacho driver because all negative coil wires will be at half speed.
Reply
Old Aug 3, 2011 | 12:59 PM
  #44  
muythaibxr's Avatar
MegaSquirt Mod
Tenured Member 15 Years
 
Joined: Sep 2004
Posts: 4,721
Likes: 1
From: Maryland
I'd have to go look at the charts myself as I don't have it all memorized.

The chart I'd check is here:

http://www.msextra.com/doc/ms2extra/...htm#ms2options
Reply
Old Aug 4, 2011 | 04:55 AM
  #45  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
Hey thanks for the pointer!

So if JS4 and JS5 (spark output pins used for SparkE and SparkF) are not selectable in the software, its just a little bit of firmware to make the tacho out go on them?
Reply
Old Aug 14, 2011 | 08:23 AM
  #46  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
In the end I made IAC1A,B IAC2A,B pins on the back panel available for ignition wires. I replaced my 4.7k pullup resistors on the LED's with 220 Ohm resistors. I soldered another 2n3904 npn transistor into the proto area, 1k from the processor pin to the transistor base. I put a 220 Ohm pullup to +5V. No LED built onto this extra ignition driver.

I'm also thinking about changing the 330 ohm led resistors to be larger, like 1k ohm to save a bit of current incase the 2n3904 transistors are now having a hard life fighting 220 ohm pullups.

The car is now setup like this, and I have driven it with 220 ohm pullups and still using the standard FC ignition coils. I'm sure I was told this would never work and that the resistor needed to be 4.7k.

Anyway when I get some time I will get a 4channel scope trace of the RX-8 mode. Maybe tomorrow if I get time!
Reply
Old Aug 15, 2011 | 04:55 PM
  #47  
muythaibxr's Avatar
MegaSquirt Mod
Tenured Member 15 Years
 
Joined: Sep 2004
Posts: 4,721
Likes: 1
From: Maryland
Originally Posted by Jobro
Hey thanks for the pointer!

So if JS4 and JS5 (spark output pins used for SparkE and SparkF) are not selectable in the software, its just a little bit of firmware to make the tacho out go on them?
If there is any such thing as "just a little bit" when it comes to firmware.

Ken
Reply
Old Aug 15, 2011 | 04:57 PM
  #48  
muythaibxr's Avatar
MegaSquirt Mod
Tenured Member 15 Years
 
Joined: Sep 2004
Posts: 4,721
Likes: 1
From: Maryland
Originally Posted by Jobro
The car is now setup like this, and I have driven it with 220 ohm pullups and still using the standard FC ignition coils. I'm sure I was told this would never work and that the resistor needed to be 4.7k.

Anyway when I get some time I will get a 4channel scope trace of the RX-8 mode. Maybe tomorrow if I get time!
The problem I had with them at 1k vs 4.7k was that the TPS and several other signals would go wonky and trigger random accel, etc...

It's certainly possible that problem was specific to that car, but using 4.7k resistors there fixed that problem.

Ken
Reply
Old Aug 16, 2011 | 08:06 AM
  #49  
Jobro's Avatar
Thread Starter
SAE Junkie
Tenured Member: 20 Years
iTrader: (2)
 
Joined: Mar 2005
Posts: 1,287
Likes: 12
From: OZ/AU
Originally Posted by muythaibxr
The problem I had with them at 1k vs 4.7k was that the TPS and several other signals would go wonky and trigger random accel, etc...

It's certainly possible that problem was specific to that car, but using 4.7k resistors there fixed that problem.

Ken
Oh sure its possible because they share the +5v bus. I haven't had the laptop on it to check for new noise.

Anyway I'm daily driving with 220 Ohms there so it seems ok. I will scope it tomorrow!

I'm going to post a new thread about injector deadtime and deadtime compensation and it is definitely something you might know the answer to.
Reply
Old May 30, 2012 | 09:11 AM
  #50  
wankelbug's Avatar
Senior Member
Tenured Member 10 Years
 
Joined: Oct 2008
Posts: 253
Likes: 0
From: round rock tx
ms2 v3 + ls2 coils

hey guys im adding ls2 coild to my 13b powered bug. i am currently using the stock fc setup. but my coil died so i decided to upgrade. i need someone with experience to answer a couple questions.

here is what i got so far.

all coils wired per the diagram on mega manual. including the 2 capacitors.

now on the computer side the way i understand is is
front rotor leading signal output A d14 with 4.7 pullup
front and rear trailing (firing as a wasted spark) are outputs b and c to 2 coils signal wires
rear rotor leading output D (js11)

then i run it in fd mode with a dwell of 5.5 and set to "going low" correct?

im also not running the stock rx7 tach so i can now just grab a signal from an injector wire correct? or should i go into the megasquirt and wire my tach in there?

thanks
Andrew
Reply



All times are GMT -5. The time now is 04:56 PM.