Miata Turbo Forum - Boost cars, acquire cats.

Miata Turbo Forum - Boost cars, acquire cats. (https://www.miataturbo.net/)
-   MEGAsquirt (https://www.miataturbo.net/megasquirt-18/)
-   -   A better Spark Out circuit. (https://www.miataturbo.net/megasquirt-18/better-spark-out-circuit-33964/)

WestfieldMX5 02-27-2012 08:42 AM

that is not a pnp but a npn

Joe Perez 02-27-2012 12:27 PM


Originally Posted by Jpopsbronco (Post 840338)
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.

Jpopsbronco 02-27-2012 02:18 PM

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 :nuts:

JasonC SBB 02-27-2012 04:02 PM


Originally Posted by Joe Perez (Post 829324)
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:

https://www.miataturbo.net/attachmen...ine=1328120304

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 02-27-2012 04:06 PM


Originally Posted by Jpopsbronco (Post 840540)
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 :nuts:

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

Joe Perez 02-27-2012 04:14 PM


Originally Posted by Jpopsbronco (Post 840540)
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 :nuts:

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 (Post 840646)
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.

DKdekes 04-18-2014 01:52 AM

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?

Braineack 04-18-2014 07:52 AM


Originally Posted by DKdekes (Post 1122770)
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...

DKdekes 04-18-2014 10:30 AM

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.

Joe Perez 04-18-2014 10:33 AM


Originally Posted by DKdekes (Post 1122770)
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 (Post 1122770)
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 04-18-2014 10:36 AM

1 Attachment(s)

Originally Posted by DKdekes (Post 1122851)
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.

https://www.miataturbo.net/attachmen...ine=1397831794
(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

DKdekes 04-18-2014 10:43 AM

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

Braineack 04-18-2014 10:44 AM

no, you should use tunerstudio.

DKdekes 04-18-2014 10:45 AM

Isn't that a megatune screenshot? Oh dang didn't see the links below the shot. Is that stuff MSExtra specific?

Joe Perez 04-18-2014 10:59 AM


Originally Posted by DKdekes (Post 1122869)
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.

DKdekes 04-18-2014 11:11 AM

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

MiataFox 02-23-2015 08:08 PM

How about fixing the pic cant see them

helly 08-18-2015 05:03 AM

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 :p

Braineack 08-18-2015 08:45 AM

Helly, install injectors that dont suck.

helly 08-18-2015 08:56 AM

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.


All times are GMT -4. The time now is 06:41 PM.


© 2024 MH Sub I, LLC dba Internet Brands