MEGAsquirt A place to collectively sort out this megasquirt gizmo

A better Spark Out circuit.

Thread Tools
 
Search this Thread
 
Old 02-27-2012, 08:42 AM
  #161  
Senior Member
 
WestfieldMX5's Avatar
 
Join Date: Nov 2007
Location: Belgium
Posts: 999
Total Cats: 73
Default

that is not a pnp but a npn
WestfieldMX5 is offline  
Old 02-27-2012, 12:27 PM
  #162  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,026
Total Cats: 6,592
Default

Originally Posted by Jpopsbronco
Ok if I were to implement this, I would need ?pnp? tansistors and would 2907's work?
NPN.

Telling them apart is easy. Look at the direction of the arrow on the emitter relative to the base. NPN = Not Pointing iN, whereas PNP = Pointing iN.

You could use anything in the 2n3904 / 2n2222 / etc range.

And just to make sure I have this straight, these basically replace q6 and q8 correct?
Yeah, though if you want them to live in the stock locations, you'll have to lift the emitter leg and do a little hacking. It'll still consume space on the proto area.


Also, Jason, I'm not sure how this circuit will "have more drive capability (...) than Joe's original." You can reduce the pullup resistor in mine to 100 or even 50 ohms and it'll work the same way. The 3904 will pass 200ma, and the 2222 will pass 1A.

Actually, I do see one thing about the single-transistor circuit you have shown which is less optimal than the dual-transistor circuit I drew originally. In your version, the current going out to the ignitor passes through the transistor, so the voltage on the output will inherently drop by an amount equal to VCE, in addition to drop across the resistor. On mine, the output current does not pass through a transistor, so it'll always be equal to VCC.
Joe Perez is offline  
Old 02-27-2012, 02:18 PM
  #163  
Junior Member
iTrader: (9)
 
Jpopsbronco's Avatar
 
Join Date: Jan 2011
Location: Socal
Posts: 169
Total Cats: 5
Default

Oh, ok thanks for the clarification! I've got pnp's left over from your mod. My ms2 can run my cops with 100 ohm pullup on your circuit whereas the ms1 couldn't with getting tons of resets. I wanted to try Jasons method and see if I still had resets...

Just curious, isn't Jason's output able to pull more current from 5v on proto then your's and stock setup with vcc?
Or is my elementary understanding of electronics getting in the way again
Jpopsbronco is offline  
Old 02-27-2012, 04:02 PM
  #164  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Originally Posted by Joe Perez
Interesting.

Years ago, I did some measurements on a stock 1.6, looking at the voltage profile of the trigger signal, and it sure as heck appeared as though it was drawing a lot of current into a capacative load.

Now that I do have a DC current probe, I may go and re-test.

But what I'm getting at is that perhaps the MS2 CPU pins simply can't supply enough current to make the stock '90-'93 igniter happy. This would be consistent with our need to run relatively small values of R in the pullups on MS1-style output drivers.

edit: It appears that it was in this very thread:



Yellow is the voltage into the igniter. Blue is coil primary current.
I pointed out earlier in this thread and what you see is not a capacitive charactersitic, but a characteristic of the input of the drive circuitry. The input voltage goes up as current goes up, possibly a side effect of the internal current limiting / protection circuit.
JasonC SBB is offline  
Old 02-27-2012, 04:06 PM
  #165  
Elite Member
 
JasonC SBB's Avatar
 
Join Date: Jul 2005
Posts: 6,420
Total Cats: 84
Default

Originally Posted by Jpopsbronco
Oh, ok thanks for the clarification! I've got pnp's left over from your mod. My ms2 can run my cops with 100 ohm pullup on your circuit whereas the ms1 couldn't with getting tons of resets. I wanted to try Jasons method and see if I still had resets...

Just curious, isn't Jason's output able to pull more current from 5v on proto then your's and stock setup with vcc?
Or is my elementary understanding of electronics getting in the way again
You might be better off using my single-transistor pullup circuit but with the Collector of the BJT's connected to 12V instead of 5V. The output of the circuit will still be ~5V drive, but it won't be drawing current from the 5V. The coils you have may require so much current (>50 mA each), that it will present too much load on 5V.

If you send me one of your coils with a pigtail, I'll characterize it:
- dwell and drive requirements
- spark output current, voltage, and energy

Last edited by JasonC SBB; 02-27-2012 at 04:20 PM.
JasonC SBB is offline  
Old 02-27-2012, 04:14 PM
  #166  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,026
Total Cats: 6,592
Default

Originally Posted by Jpopsbronco
Just curious, isn't Jason's output able to pull more current from 5v on proto then your's and stock setup with vcc?
Or is my elementary understanding of electronics getting in the way again
No. (Vcc and the 5v supply on the proto area are exactly the same thing.)

The amount of current which can be supplied to the igniter is only a factor of the value of the pullup resistor which is in series with the feed to the igniter. Additionally, Jason's most recent circuit will deliver less voltage to the igniter, due to the transistor being in series with the supply to the igniter, and thus, decreasing the voltage at the igniter by a value equal to the transistor's collector-emitter forward voltage.




Originally Posted by JasonC SBB
I pointed out earlier in this thread and what you see is not a capacitive charactersitic, but a characteristic of the input of the drive circuitry. The input voltage goes up as current goes up, possibly a side effect of the internal current limiting / protection circuit.
Ah, glad we cleared that up.

Except that I have determined empirically that the shape of both the igniter voltage curve and the coil primary current curve varies with respect to the value of pullup resistor used in series with the igniter logic drive. Lower values of R produce a sharper rise on the coil primary, and thus, a stronger spark event for all values of dwell which do not exceed the time required to reach full saturation.
Joe Perez is offline  
Old 04-18-2014, 01:52 AM
  #167  
Newb
 
DKdekes's Avatar
 
Join Date: Sep 2013
Posts: 32
Total Cats: -2
Default

I don't really understand how you guys are getting an ignition signal out of D16. I did the mod, and have ignition signal coming out of D14, onto the Stim's LED, but isn't D16 an Accel Enrich light? There isn't any ignition signal coming out of it. So how are yall getting an ignition output out of it?
DKdekes is offline  
Old 04-18-2014, 07:52 AM
  #168  
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 DKdekes
I don't really understand how you guys are getting an ignition signal out of D16. I did the mod, and have ignition signal coming out of D14, onto the Stim's LED, but isn't D16 an Accel Enrich light? There isn't any ignition signal coming out of it. So how are yall getting an ignition output out of it?
Spark A goes to D14, Spark B goes to D16--that's how.

Unless you've setup your megasquirt to run a single coil...
Braineack is offline  
Old 04-18-2014, 10:30 AM
  #169  
Newb
 
DKdekes's Avatar
 
Join Date: Sep 2013
Posts: 32
Total Cats: -2
Default

Is there a way to redefine what goes to D16 on MS2? Because I followed megamanual instructions and there was never a decision between single coil or wasted spark or anything.
DKdekes is offline  
Old 04-18-2014, 10:33 AM
  #170  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,026
Total Cats: 6,592
Default

Originally Posted by DKdekes
I don't really understand how you guys are getting an ignition signal out of D16. I did the mod, and have ignition signal coming out of D14, onto the Stim's LED, but isn't D16 an Accel Enrich light?
In the original, 15 year old design, wherein the MS was intended to work with a distributor and a single ignition coil, yes, D16 was the Accel Enrich light.

Over the years, as the device has grown in capability, many of the original pins / circuits of the MS have been re-purposed to serve different functions. For reasons of laziness / clarity / backwards-compatibility, they have tended to continue to refer to pins by their original names.





Originally Posted by DKdekes
There isn't any ignition signal coming out of it. So how are yall getting an ignition output out of it?
This is a matter of software configuration.
Joe Perez is offline  
Old 04-18-2014, 10:36 AM
  #171  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,026
Total Cats: 6,592
Default

Originally Posted by DKdekes
Is there a way to redefine what goes to D16 on MS2? Because I followed megamanual instructions and there was never a decision between single coil or wasted spark or anything.

(note that the polarity in this screencap (Going Low) is wrong is you are using my revised spark output mod.)

Specific instructions for NA Miata: http://msextra.com/doc/ms2extra/MS2-Extra_4g63.htm
Specific instructions for NB Miata: http://msextra.com/doc/ms2extra/MS2-Extra_Miata.htm
Attached Thumbnails A better Spark Out circuit.-4g63_mt1.gif  
Joe Perez is offline  
Old 04-18-2014, 10:43 AM
  #172  
Newb
 
DKdekes's Avatar
 
Join Date: Sep 2013
Posts: 32
Total Cats: -2
Default

Guess I need to get megatune then lol. TunerStudioMS Doesn't let me define the engine, won't even let me set it to wasted spark
DKdekes is offline  
Old 04-18-2014, 10:44 AM
  #173  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

no, you should use tunerstudio.
Braineack is offline  
Old 04-18-2014, 10:45 AM
  #174  
Newb
 
DKdekes's Avatar
 
Join Date: Sep 2013
Posts: 32
Total Cats: -2
Default

Isn't that a megatune screenshot? Oh dang didn't see the links below the shot. Is that stuff MSExtra specific?
DKdekes is offline  
Old 04-18-2014, 10:59 AM
  #175  
Boost Pope
Thread Starter
iTrader: (8)
 
Joe Perez's Avatar
 
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,026
Total Cats: 6,592
Default

Originally Posted by DKdekes
Guess I need to get megatune then lol. TunerStudioMS Doesn't let me define the engine, won't even let me set it to wasted spark
Yes, it does.

The menu structure is different, but all of the basic options are the same between the two pieces of software. TunerStudio is by far the preferred application.


And yes, it is all MSExtra-specific. You cannot run any modern car on a Megasquirt without MSExtra- it is the de-facto firmware run on virtually all MS CPUs. If you purchased your MS2 CPU from a company such as DIYAutotune, it came with MSExtra already installed on it.
Joe Perez is offline  
Old 04-18-2014, 11:11 AM
  #176  
Newb
 
DKdekes's Avatar
 
Join Date: Sep 2013
Posts: 32
Total Cats: -2
Default

Wow alright. This is probably completely wrong but could a different .ini change the menus? Because I've read through three setup threads for TunerStudio on a Miata specifically and none of them mention going a window and changing spark outputs and such. And for the life of me I cannot find the page on TunerStudio. FWIW under "Coil Charging Scheme", TunerStudio is only asking me about EDIS
DKdekes is offline  
Old 02-23-2015, 08:08 PM
  #177  
Junior Member
 
MiataFox's Avatar
 
Join Date: Feb 2015
Location: Texas
Posts: 53
Total Cats: -63
Default

How about fixing the pic cant see them
MiataFox is offline  
Old 08-18-2015, 05:03 AM
  #178  
Junior Member
 
helly's Avatar
 
Join Date: Jun 2014
Location: Norway
Posts: 61
Total Cats: 0
Default

Ok.. So after reading two threads the conclusion is that this mod helps, but the source of the problem is leaking injectors?
I first got the pop when I installed my SC. Had been running a MS and 550cc injectors for months before. Maybe a bigger chamber (volume) for the air and fuel to mix makes it go pop? vs before it only had the intake manifold ?

This weekend when I turned the key in my car after it had been sitting for 5 days, I did not get a the usual "pop" or "pfff".. I got a god damn cannon shot! KA-BOOOM! Smoke from under the hood etc.. All my neighbours came to their windows to see what the hell was going on...

Nothing broke, no hoses popped of. I still get the same boost levels and the car feels fine.

Yesterday (two days later) I turned the ignition on and I got a very small "pop".
I'll need to fix this.. Can't go around being scared of starting the car. Almost S*** my self the last time
helly is offline  
Old 08-18-2015, 08:45 AM
  #179  
Boost Czar
iTrader: (62)
 
Braineack's Avatar
 
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,493
Total Cats: 4,080
Default

Helly, install injectors that dont suck.
Braineack is offline  
Old 08-18-2015, 08:56 AM
  #180  
Junior Member
 
helly's Avatar
 
Join Date: Jun 2014
Location: Norway
Posts: 61
Total Cats: 0
Default

They don't. They squirt :-)
550cc rebuilt etc.
What kind do you recommend? Since you don't have this problem at all.

I'll build a rig to check them for leaks.
helly is offline  


Quick Reply: A better Spark Out circuit.



All times are GMT -4. The time now is 10:32 AM.