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

ScottFW 12-04-2010 10:26 PM


Originally Posted by SteyrTMP (Post 665065)
Why are the IGN and IAC wires crossed here:

http://miataturbo.wikidot.com/ms2-a

Because you have to swap the spark outputs when upgrading from MS1 to MS2/3.

DXO 03-26-2011 03:42 AM

Images are down. I was hoping to use it but I guess I have to wait now...

Reverant 03-26-2011 08:03 AM

1 Attachment(s)
I have an even better inverted output circuit, no transistors needed. You need:

2x 100Ohm resistors
2x 100KOhm resistors
2x clipped legs from diodes (a little thicker than resistor legs)

Do NOT install any of the components required for the LED circuits (D14, D15, D16, R24, R25, R26, R27, R28, R29, Q6, Q7, Q8)

Install the 100Ohm resistors in place of R26 and R29. Install the 100KOhm resistors like this: One leg of the resistor goes to the round hole of the LED (ie the bottom of the two holes) and the other leg of the resistor goes to the top hole of the three transistor holes. Then connect the bottom leg of the 100K resistor with the bottom leg of the 100Ohm resistor. Output to the coil is the hole of the R24, R28 resistor. Like this:

Attachment 190123

Win!

SnaG 03-27-2011 06:21 AM

is it okay to use BC547 transistors instead of the listed ones?
they have a IC continous of 100mA should be enough or?

thx for your concern ;-)

Reverant 03-27-2011 07:50 AM

The BC547 has the pins reversed compared to the 2N3904, so you should put it the other way around. It also can sink half the current, but I don't think that would be a problem. Why not do what I described above?

SnaG 03-27-2011 11:46 AM

i have the SMD 3.57 Board, so i don't like to solder there.

the mod works fine, no more popping before startup, and finally my splitfire cops are safe :-)

greetings

Reverant 03-27-2011 05:28 PM

Oh ok, that indeed limits your options. Cheers if it works!

MD323 03-27-2011 07:16 PM

Advantage?

Beyond the obvious weight reduction

Androo 08-22-2011 06:56 PM

Can I use Reverant's even better inverted output circuit alongside Braineak's fan mod on post #4 on the "how to" guide? (this one: https://www.miataturbo.net/useful-saved-posts-8/how-make-install-your-own-diy-megasquirt-13676/)

(this would require me to leave in D15, R25, R27 and swap out Q7 for Q4 - and hence conflicts with Reverant's instruction to leave out these components)?

Joe Perez 08-22-2011 07:34 PM


Originally Posted by Reverant (Post 706549)
I have an even better inverted output circuit, no transistors needed.
(...)
Install the 100Ohm resistors in place of R26 and R29. Install the 100KOhm resistors like this: One leg of the resistor goes to the round hole of the LED (ie the bottom of the two holes) and the other leg of the resistor goes to the top hole of the three transistor holes. Then connect the bottom leg of the 100K resistor with the bottom leg of the 100Ohm resistor. Output to the coil is the hole of the R24, R28 resistor. Like this:

It seems that your intention here is to drive the igniter directly with the output pin of the CPU itself. Now, granted, according to the spec sheet for the 68HC908, the PTC4 pins are capable of driving 25ma, but there's also a max rating of 50ma for all of the PTC, PTE and PTD0-3 pins combined.

So, I guess it would work, it just sort of bothers me to connect CPU pins directly to ignition coils, and to operate this closely to the published maximums.

Reverant 08-23-2011 02:01 AM

Joe, that is how it is done on the microsquirt and microsquirt module. So I guess it is perfectly safe. I've been doing this for quite a while, no problems whatsoever.

2004GS 01-20-2012 01:26 PM

I have d14 and d16 installed on my board, after doing this mod should they be on or off when I power up the ms2? They are always on right now....

When q6 has no signal at its base does that mean d16 is conduction to ground, so it's on?

I do have the spark output set to inverted in tuner studio. Not sure if the burn is working or not though.

I'm new at this so please be gentle.

gslender 01-31-2012 03:55 PM

Mmm, interesting. Are there tips for DIYPNP owners?

G

Braineack 01-31-2012 03:59 PM


Originally Posted by gslender (Post 828902)
Mmm, interesting. Are there tips for DIYPNP owners?

G

what do you mean?

JustinHoMi 01-31-2012 04:02 PM

This spark output circuit isn't necessary for the DIYPnP. The output is already inverted.

gslender 01-31-2012 04:04 PM


Originally Posted by JustinHoMi (Post 828909)
This spark output circuit isn't necessary for the DIYPnP. The output is already inverted.

Sweet. Good to know!

G

gslender 01-31-2012 08:03 PM

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

gslender 01-31-2012 08:29 PM

Hang on, isn't inverted the issue - do you need to be configured for Normal or Inverted for the spark/coils to be not active when burning or when initially turning on before the CPU starts... I'm clearly now confused.

G

Joe Perez 01-31-2012 09:56 PM


Originally Posted by gslender (Post 829042)
do you need to be configured for Normal or Inverted for the spark/coils to be not active when burning or when initially turning on before the CPU starts... I'm clearly now confused.

To clarify:

The selection of "Normal" or "Inverted" in the software has no effect whatsoever on whether the spark outputs will float high when the MS is first powered on or during a reflash. That is purely a function of the design of the circuit which will drive the coils. The software selection is used to match the circuit design so that the system functions properly in normal operation (after the CPU has booted up and is operating.)

If you build an MS1 or MS2 per the "old" instructions, then you must select "Not Inverted" in the software. (This is ironic, and a poor choice of words, as that circuit is technically inverting relative to the CPU.)

If you build the system as per my "improved" spark output driver, then you must select "Inverted" in the software. (Which is, again, ironic, as my circuit is technically non-inverting.)

But again, the software setting is used only to make the behavior of the CPU match the design of the circuit while it is on-line and operating normally. What happens before the CPU is booted up (or while it is offline as during a reflash) is outside the software's control.




Originally Posted by gslender
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?

DIY has not published the schematics for the DIYPnP board, so I can only speculate here, however my guess would be that they used a circuit similar to mine when they created the DIYPnP. This was a smart move on their part, as it eliminates the possibility of a customer frying their ignition coils during a software update.

Braineack 02-01-2012 09:30 AM

1 Attachment(s)
Joe, this is the DIYPNP (micosquirt module) spark outputs:

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

It's kinda like coming off R29 and R26 directly and running inverted. I think I had my MS setup this way when I first installed it in 2006.


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


© 2024 MH Sub I, LLC dba Internet Brands