MEGAsquirt A place to collectively sort out this megasquirt gizmo

Having Trouble with Megasquirt WI

Thread Tools
 
Search this Thread
 
Old 08-07-2011 | 08:56 PM
  #1  
hornetball's Avatar
Thread Starter
Elite Member
iTrader: (4)
 
Joined: Mar 2008
Posts: 6,301
Total Cats: 696
From: Granbury, TX
Default Having Trouble with Megasquirt WI

I implemented WI control through my MSPNP9093 as described in the MSNS-Extra Hardware Manual. See attachement. I only implemented the X2/JS0 circuit to turn the WI pump on and off with a relay ("relay 1" in the diagram). The circuit was implemented internally to the MSPNP with the "12V Ignition Feed" tied to internal, unregulated power and the "0V" tied to MSPNP ground. The only modification to the circuit is the use of a 1N4004 instead of the 1N4002 depicted.

Anyways, my issue is tied to flyback from the relay. Almost every time the WI shuts off, flyback from the relay causes noise that resets the MSPNP. The flyback diode protects the circuitry so nothing is damaged, but it is really annoying. Usually, it happens on throttle lifts for gear changes -- no big deal although I can see my tach go to 0 for a split second. However, every so often it happens on acceleration as the boost bounces around my turn-on set point (currently set a 120kPa). Since there is no deadband in the circuit, if the boost signal bounces from, say, 121kPa to 118kPa, I get a flyback event. The engine cut REALLY gets your attention.

I have some ideas to try (including the KISS method of decoupling from the MS and using a plain old boost switch). However, I wanted to see if anyone had some ideas on this. Surely, I'm not the first to try to control WI from the MS?
Attached Thumbnails Having Trouble with Megasquirt WI-water-circuit.jpg  
Old 08-08-2011 | 12:20 PM
  #2  
Matt Cramer's Avatar
Supporting Vendor
 
Joined: Sep 2006
Posts: 2,332
Total Cats: 67
Default

You could try running the flyback diode to an external 12 volt source instead of the MSPNP's 12 volt plane.
__________________
Matt Cramer
www.diyautotune.com
Old 08-08-2011 | 12:37 PM
  #3  
Braineack's Avatar
Boost Czar
iTrader: (62)
 
Joined: May 2005
Posts: 79,819
Total Cats: 4,152
From: Chantilly, VA
Default

To clarify, you are only using the top p2n2222 circuit?

where exactly on the board is your diode attached to?
Old 08-08-2011 | 09:05 PM
  #4  
hornetball's Avatar
Thread Starter
Elite Member
iTrader: (4)
 
Joined: Mar 2008
Posts: 6,301
Total Cats: 696
From: Granbury, TX
Default

Originally Posted by Matt Cramer
You could try running the flyback diode to an external 12 volt source instead of the MSPNP's 12 volt plane.
I'll give that a shot. Any thoughts on adding capacitance between the MSPNP's 12 volt plane and its ground?
Old 08-08-2011 | 09:10 PM
  #5  
hornetball's Avatar
Thread Starter
Elite Member
iTrader: (4)
 
Joined: Mar 2008
Posts: 6,301
Total Cats: 696
From: Granbury, TX
Default

Originally Posted by Braineack
To clarify, you are only using the top p2n2222 circuit?

where exactly on the board is your diode attached to?
That's correct. Only the top circuit.

I've attached a drawing of the internal mod. The diode goes from the 2N2222 collector to what I think is unregulated 12VDC of a v3.57 board.
Attached Thumbnails Having Trouble with Megasquirt WI-visio-mspnp-internal.jpg  
Old 08-09-2011 | 09:22 AM
  #6  
Ben's Avatar
Ben
Supporting Vendor
iTrader: (33)
 
Joined: Jul 2006
Posts: 12,659
Total Cats: 134
From: atlanta-ish
Default

Originally Posted by hornetball
I'll give that a shot. Any thoughts on adding capacitance between the MSPNP's 12 volt plane and its ground?
It already has 3300uF.

I'd try adding a diode across the relay itself, from the coil to the high current 12V. Or replace the relay for one with built in protection.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Old 08-09-2011 | 11:36 AM
  #7  
hornetball's Avatar
Thread Starter
Elite Member
iTrader: (4)
 
Joined: Mar 2008
Posts: 6,301
Total Cats: 696
From: Granbury, TX
Default

This AM did a quickie and added an external flyback diode across the relay coil. However, wasn't able to remove the internal diode. "Seems" a bit better. When I get more time, I'll open the MSPNP and remove the internal diode from my grandaughter board. Hopefully, that will do it.
Old 08-12-2011 | 06:34 PM
  #8  
hornetball's Avatar
Thread Starter
Elite Member
iTrader: (4)
 
Joined: Mar 2008
Posts: 6,301
Total Cats: 696
From: Granbury, TX
Default

So, finally got a chance to get inside my MSPNP and clip out the flyback diode on my "granddaughter" board. That leaves the relay in question powered by an external switched 12VDC source with a local flyback diode.

Bottom line . . . problem solved. No more noise or resets of the MSPNP.

Thanks guys.
Old 08-12-2011 | 07:03 PM
  #9  
Ben's Avatar
Ben
Supporting Vendor
iTrader: (33)
 
Joined: Jul 2006
Posts: 12,659
Total Cats: 134
From: atlanta-ish
Default

Glad to hear.
__________________
Chief of Floor Sweeping, DIYAutoTune.com & AMP EFI
Crew Chief, Car Owner & Least Valuable Driver, HongNorrthRacing

91 Turbo | 10AE Turbo | 01 Track Rat | #323 Mazda Champcar

Originally Posted by concealer404
Buy an MSPNP Pro, you'll feel better.
Old 02-18-2013 | 10:33 PM
  #10  
JasonC SBB's Avatar
Elite Member
 
Joined: Jul 2005
Posts: 6,420
Total Cats: 84
Default

To avoid having to clip the internal diode, use a Schottky diode across the relay winding, such as an SB340 (3A, 40V Schottky).
Old 02-18-2013 | 10:36 PM
  #11  
JasonC SBB's Avatar
Elite Member
 
Joined: Jul 2005
Posts: 6,420
Total Cats: 84
Default

The 100 ohm resistor in the gate of the IRLZ44 should be increased to 1k in order to slow down its switching speed and noise generation. And said resistor should be mounted physically close to the MOSFET, and the trace connecting it to the gate pin should be short, as in < 1 inch. If not it can oscillate in the MHz range and cause all kinds of weird EMI problems.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
Big_gumby
WTB
0
09-30-2015 04:34 PM
Goldwar
DIY Turbo Discussion
2
09-29-2015 10:20 AM
Johnny Tater
MSPNP
1
09-27-2015 01:38 AM
psyber_0ptix
MEGAsquirt
4
09-22-2015 10:35 AM




All times are GMT -4. The time now is 12:20 PM.