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/)

Matt Cramer 02-01-2012 09:34 AM


Originally Posted by gslender (Post 829035)
hang on, so are we saying that DIYPNP has the output inverted and therefore doesn't need to have the coils unplugged when burning - so why do DIYAutotune still recommend it in their online docs?

http://www.diyautotune.com/diypnp/ap...3-16b6-mt.html

The DIYPNP simply uses the MicroSquirt Module spark output circuit. It is unlikely to burn the coils when loading firmware, but we left the recommendation there to play it safe.

Braineack 02-01-2012 09:36 AM

Hell, I had joe's circuit for years, and still unplgged my coils evertime I flashed firmware. I wasn't taking the chance.

Joe Perez 02-01-2012 11:47 AM


Originally Posted by Matt Cramer (Post 829207)
The DIYPNP simply uses the MicroSquirt Module spark output circuit. It is unlikely to burn the coils when loading firmware, but we left the recommendation there to play it safe.

Ok, I keep forgetting that the use the MicroSquirt Module instead of a regular MS2. That makes things more straightforward. (Though I must admit, I wouldn't have been brave enough to try driving the coils directly from the CPU myself, based on what I saw in testing the 1.6 igniter's current draw.)

So, gslender, to summarize:

The way DIY has the DIYPnP set up, the ignition outputs are being driven directly by the CPU's output pins. That configuration is therefore inherently non-inverting, and is functionally identical to my "improved" circuit, which is technically double-inverting, which is the same as non-inverting.

So, because these circuits are non-inverting, you must select "Inverted" in the software. (I'd love to know who came up with that nomenclature in the software.)

And you should now have any problems with either spark-at-poweron or fried coils during reflash.



Originally Posted by Braineack (Post 829211)
Hell, I had joe's circuit for years, and still unplgged my coils evertime I flashed firmware. I wasn't taking the chance.

Wimp. :D

Braineack 02-01-2012 12:14 PM

I should have said 'errtime. But yeah, that was back in the Kingof1337
days of MS.

IIRC it didn't work well, I had major spark cutout issues with low boost or something., I think i still ended up damaging my ignitor too. When I moved to the DIY suggest output using the LED and a pull-up it was much improved.

Reverant 02-01-2012 12:36 PM


Originally Posted by Braineack (Post 829292)
I should have said 'errtime. But yeah, that was back in the Kingof1337
days of MS.

IIRC it didn't work well, I had major spark cutout issues with low boost or something., I think i still ended up damaging my ignitor too. When I moved to the DIY suggest output using the LED and a pull-up it was much improved.

Weird, I've been having this problem on a couple of 90-93 cars, stock ignition. No problems with the 99-05 cars.

Joe Perez 02-01-2012 01:15 PM

1 Attachment(s)

Originally Posted by Reverant (Post 829308)
Weird, I've been having this problem on a couple of 90-93 cars, stock ignition. No problems with the 99-05 cars.

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.

Braineack 02-01-2012 01:33 PM

1 Attachment(s)
here i found a pic of my MS when i first installed it (notice no transistors for d14 or d16):

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

timg 02-05-2012 01:21 PM

Just read through this thread, hoping to see some reference to MS1 V2.2. Is this mod possible (required?) on the MS1 V2.2? If so.. anybody care to help out a super newb on the mods required? I had planned to make the modifications in this thread:

https://www.miataturbo.net/showthrea...highlight=v2.2

PS: I will be using MSnS-E (latest firmware..?)

Braineack 02-05-2012 01:35 PM

its not required. and even if you were to do it on a v2.2 board, without a proto area, you gotta be creative.

JasonC SBB 02-22-2012 04:07 PM

2 Attachment(s)
I can't believe I never showed this circuit, which I've used in a few AEM's for several years now (minus the LED). It accomplishes the same thing as Joe's 2-transistor circuit, with the advantage that the pullup current can be made very high by reducing the 100 ohm resistor value, and the maximum you can run is determined by the transistor gain and current capability, as opposed to being determined by the pullup resistor in Joe's circuit. With some coils the 100ohm resistor in my circuit can be zero. Using a pullup resistor to source current for the coils has the disadvantage of having to always sink current from the VCC supply.

The AEM has weedy output current capability in "pull up to dwell" mode, incapable of driving the 99/00 coils to full current. This may be why some have seen big gains with the Toyota COPs with the AEM. The popular Toy COPs don't need as much current and the AEM can drive them to full current. In contrast, the circuit below is needed for the AEM to drive 99/00 coils to max current.

I've noticed that various coils need varying amounts of drive current and the voltage when they're driven to max current also varies. Overdriving them may or may not have negative effects. So the 100 ohm resistor in my schematic may have to change depending on what coils you are driving.

https://www.miataturbo.net/attachmen...1&d=1329944752

Jpopsbronco 02-22-2012 11:32 PM

Much love friend ^^

Joe Perez 02-22-2012 11:35 PM

That's pretty clever- I struggled with how to make the circuit work with a single PNP transistor and couldn't see the obvious.

JasonC SBB 02-22-2012 11:59 PM

I'll be the analog circuit guru for mt.net, free consultations, as long as you keep posting humorous cat pics.

Or maybe help my friend scare an arsehole neighbor into not being an arsehole.

When I first saw your circuit long ago, I somehow thought you were trying to solve a different problem...

Now if only the folks over at msextra would believe me when I talk about signals, circuits, filters and control systems...

Jpopsbronco 02-23-2012 02:59 AM

1 Attachment(s)
https://www.miataturbo.net/attachmen...ine=1329984133

redrider706 02-23-2012 02:11 PM


Originally Posted by JasonC SBB (Post 838526)
I can't believe I never showed this circuit, which I've used in a few AEM's for several years now (minus the LED). It accomplishes the same thing as Joe's 2-transistor circuit, with the advantage that the pullup current can be made very high by reducing the 100 ohm resistor value, and the maximum you can run is determined by the transistor gain and current capability, as opposed to being determined by the pullup resistor in Joe's circuit. With some coils the 100ohm resistor in my circuit can be zero. Using a pullup resistor to source current for the coils has the disadvantage of having to always sink current from the VCC supply.

The AEM has weedy output current capability in "pull up to dwell" mode, incapable of driving the 99/00 coils to full current. This may be why some have seen big gains with the Toyota COPs with the AEM. The popular Toy COPs don't need as much current and the AEM can drive them to full current. In contrast, the circuit below is needed for the AEM to drive 99/00 coils to max current.

I've noticed that various coils need varying amounts of drive current and the voltage when they're driven to max current also varies. Overdriving them may or may not have negative effects. So the 100 ohm resistor in my schematic may have to change depending on what coils you are driving.

https://www.miataturbo.net/attachmen...1&d=1329944752

This a voltage follower, right?
If so, would this work for coils with +12v triggers?

-Raj

Zaphod 02-23-2012 02:49 PM


Originally Posted by JasonC SBB (Post 838750)
Now if only the folks over at msextra would believe me when I talk about signals, circuits, filters and control systems...

Amen.

JasonC SBB 02-23-2012 04:09 PM

2 Attachment(s)

Originally Posted by redrider706 (Post 838952)
This a voltage follower, right?

Yes

If so, would this work for coils with +12v triggers?
-Raj
No. What coils require 12V triggers?

In any case here's a sparkout circuit that will do 12V and will have more drive capability (determined by the 470 ohm resistor) than Joe's original.

https://www.miataturbo.net/attachmen...1&d=1330031339

Braineack 02-23-2012 04:54 PM

he has v6 toyota cops IIRC.

redrider706 02-23-2012 05:28 PM

I don't have any that require 12v trigger. Someone here did a while ago and just wanted to bring it up in case people were looking for a way to drive them.

Jpopsbronco 02-27-2012 01:39 AM

https://www.miataturbo.net/attachmen...1&d=1329944752
Ok if I were to implement this, I would need ?pnp? tansistors and would 2907's work?

And just to make sure I have this straight, these basically replace q6 and q8 correct?http://img15.picoodle.com/img/img15/...nm_b676452.gif
If I were to leave q6/q8 in place this is how I would do it, does it look right?
Disconnect r26/r29 and run 470ohm resistor from squirt/accel to 2907
2907 collector goes to 5v on proto
470ohm from "transited spark outputs" to base of led, and also 100ohms to db37 pins
It would be great if someone could clarify! Thanks


All times are GMT -4. The time now is 07:43 PM.


© 2024 MH Sub I, LLC dba Internet Brands