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/)
-   -   Voltage weirdness (https://www.miataturbo.net/megasquirt-18/voltage-weirdness-90312/)

nile13 08-28-2016 08:52 PM

Voltage weirdness
 
Still chasing problems with Reverant-built MS2 that's in my 2000 Miata for 4 years with the same tune. Here's a new one this weekend:

I'm measuring 13.5V at the battery, about 15.1V at the alternator and Tuner Studio shows 18V.
The car first tries to idle at 4K RPM, goes down to 1K for a bit and then stalls.
Car runs fine with stock ECU, though also measures about 15.1V at the alternator

I'm checking the MS2 to car harness right now but it seems OK so far. What else could this be? Bad grounds or connection on the alternator maybe? Where does TunerStudio manage to find 18V?

thumpetto007 08-28-2016 09:05 PM

I pray to the car gods almost constantly about not having issues with my MS3. Good luck.

jstck 08-29-2016 06:33 AM

The voltage sensor in Megasquirt can be calibrated. In tunerstudio, in the menus under Tools / Calibrate battery voltage. It's a bit tricky to calibrate properly (the settings you give it are a bit awkward) but as long as it's in the ballpark for readings around 12-13V it doesn't need to be overly precise. The only thing I am aware that it's used for is compensating for injector dead time, but if MS thinks it's as much as 18V it is probably "overcompensating" with a much too short pulsewidth, giving you too little fuel especially at idle.

I calibrated mine before I even installed in the car, when I had it on a variable power supply. I compared multimeter and megasquirt readings at different voltages (around 9-15V) and got it to match to within 0.1-0.2V or so, which should be enough (at default values it was about 0.7V too low). I just lowered the "voltage at max ADC" a few points until things lined up and that seemed to suffice for me.

Braineack 08-29-2016 06:59 AM

measure your voltage at the injectors and calibrate the MS to match that.

nile13 08-29-2016 02:38 PM

I can try to do voltage compensation. But I'm concerned with why the MS reading and behavior changed suddenly, when it was OK for 4 years before? What could have happened and what are we masking here by adjusting the voltage reading?

Mr. Brain, you got a PM, sir!

nile13 08-30-2016 08:43 PM

OK, moving step by step here. Rang out the harness, everything looks OK.

The car starts and idle OK with MS2. The problem now looks consistent and repeatable. When cold, it shows about 15V on TunerStudio. After a while of running the voltage goes to 16, then closer to 18V at TunerStudio gauge.

Even if I do a voltage calibration adjustment (what value should I put in?), I think it's just masking some serious issue either with car or the MS2. Ideas or thoughts? I already cleaned up the ground point at the front top of the engine block. Cleaning out the ground point under the headlights? Where else? Or is it something internal to MS2? I mean, no way the car actually produces 18V.

jstck 08-31-2016 02:30 AM


Originally Posted by nile13 (Post 1357720)
what value should I put in?

Whatever value makes the voltage reading come out correctly.

If you're reading, say, 20% too high at various voltages, lower the "voltage at full adc count" by 20%. As seņor Brain says, best is to measure positive at the injectors to use as your reference, since that's the voltage that matters. If that makes it show correctly at some voltages and wrong at others, you have to adjust both values, and shit gets a bit more tricky. Maths and stuff. Then a couple days later when you find the bad ground point or barely connected power wire or whatever you messed with when this happened, redo the calibration to match reality again. You could also take the MS box out and run it off a separate power supply (ideally one that is variable around 12V) to fiddle with the calibration, then just do a small adjustment once in car.

nile13 08-31-2016 01:33 PM

Yeah, thinking of doing a bench test at 12V. It ran fine for 4 years, so I agree, wiring or ground issue somewhere in the car. Though it seems to get worse as car warms up and I still don;t get how it sees 18V when either alternator, nor battery are above 15V.

BTW, after a while, the MS disconnect and refuses connection. Probably voltage related as well?

Braineack 08-31-2016 07:29 PM

Is this a Black DIYPNP-enhanced unit or a Silver box unit?

nile13 08-31-2016 09:18 PM

This is Reverant-bult (in 2012) silver-boxed MS2 Enhanced.

By the way. If I get PnP MS2 for '00 Miata, does the same tune just translate over? I have a bad feeling. Today, after idling for a few minutes, the voltage in TS shoots toward 18V and the car dies. The weirder thing... I hear clicking from under teh dash and it almost seems like it's coming from near the MS. I know, there's nothing that can be clicking there, it must be the fuel relay, but why would fuel relay keep clicking after the car stalls (key in ON position).

SJP0tato 08-31-2016 10:12 PM

If it's been running fine on the MS2 for the past 4 years until recently and it runs fine on the stock ecu right now, then it has to be components within the MS2 that've gone bad, or the wiring between the MS2 and the stock harness that's gone bad.

You'll have to do some old fashioned sleuthing to figure out what's going on with it, or pay money and send it to someone that's able to test if you don't have the time/resources to figure out what's wrong. Anything else at this point is 100% speculation.

Reverant 09-01-2016 03:06 AM

Open the ECU and make sure the MS2 daughterboard sits tightly in the sockets.

Braineack 09-01-2016 06:55 AM


Originally Posted by nile13 (Post 1357957)
This is Reverant-bult (in 2012) silver-boxed MS2 Enhanced.

By the way. If I get PnP MS2 for '00 Miata, does the same tune just translate over? I have a bad feeling. Today, after idling for a few minutes, the voltage in TS shoots toward 18V and the car dies. The weirder thing... I hear clicking from under teh dash and it almost seems like it's coming from near the MS. I know, there's nothing that can be clicking there, it must be the fuel relay, but why would fuel relay keep clicking after the car stalls (key in ON position).

This really sounds like your alternator voltage regulator is failing more than anything. The MS has mechanical over-voltage protection (MOV1) that will shut it down if there's voltage spikes--IIRC it clamps at 18V.

If it was something like the components bad (specifically the 50K resistor on R3 and/or 10K resistor on R6) on the voltage input circuit, the voltage could show >18v but the MS would continue to run.

When the fuelp pump clicks like that, it usually indicates you have a conflict error on the tune, it's possible your tune is corrupted and simply needs a reflash and reload of the msq. You'll have to make sure that you use a MS Labs approved firmware file for your particular ECU.

Leafy 09-01-2016 05:15 PM

Its very weird. Even if you're reving his car up when it decides to die some relay under the dash spazzes out and the engine dies violently. Like not even a sputter.

I'm glad you pulled the harness apart. There's a whole lot of electrical tape and crimp connectors in there. Surprised there wasnt anything else wrong besides the LC1 ground not being connected.

nile13 09-01-2016 10:22 PM


Originally Posted by Reverant (Post 1357988)
Open the ECU and make sure the MS2 daughterboard sits tightly in the sockets.

​Did done that, seems really tight in there. Will double-check again, but it seemed fine.

nile13 09-01-2016 10:33 PM


Originally Posted by Leafy (Post 1358120)
Its very weird. Even if you're reving his car up when it decides to die some relay under the dash spazzes out and the engine dies violently. Like not even a sputter.

I'm glad you pulled the harness apart. There's a whole lot of electrical tape and crimp connectors in there. Surprised there wasnt anything else wrong besides the LC1 ground not being connected.

Leafy, that's how the harness came to me initially. I did get pinout from Reverant (maker of this MS2 and connector), figured out every signal and re-checked every single pin from the two DB37s to the rectangular connector with a Fluke. All there, though, as expected, my wideband was disconnected. I've disabled EGO correction and will re-connect and re-check LC-1 after other things are operational.

PS. LC-1 ground is connected, The signal itself was disconnected, I briefly connected it and saw AFR change with throttle input, as expected. So that part will be an easy fix.

nile13 09-01-2016 10:33 PM


Originally Posted by Braineack (Post 1357991)
This really sounds like your alternator voltage regulator is failing more than anything. The MS has mechanical over-voltage protection (MOV1) that will shut it down if there's voltage spikes--IIRC it clamps at 18V.

Aha! I do believe this is what might be happening as I do see voltage creeping to 18V on TS before the car shuts down now.


If it was something like the components bad (specifically the 50K resistor on R3 and/or 10K resistor on R6) on the voltage input circuit, the voltage could show >18v but the MS would continue to run.
Will check those, thank you!


When the fuelp pump clicks like that, it usually indicates you have a conflict error on the tune, it's possible your tune is corrupted and simply needs a reflash and reload of the msq. You'll have to make sure that you use a MS Labs approved firmware file for your particular ECU.
Interesting. Because tight before the MS shuts down and dies, TS on my laptop disconnects from the MS and the message is something to the tune of: "Project mismatch" (wish I'd record it). I've done some burns after that problem started, like TPS calibration, but that probably just an incremental write, not the whole project re-write?

So, what exactly, do I need to do to re-flash?

Braineack 09-02-2016 06:50 AM

First you need the correct firmware file for your particular unit if yours is one of Reverant's custom firmware units. FWIW, your MS controls the alternator (unless you retrofitted an NA alt).

project mismatch happens when the laptop has values that the controller doesnt have. you can see this happen if you're autotuning and dont send the changes to the MS before disconnecting. But it could be an indication that the tune file is corrupted and doing funky stuff. It's rare that firmware get corrupted anymore, but it can happen. We saw it way more frequently with MS1.

Reverant 09-02-2016 02:18 PM

In his ECU, the alternator is controlled by the expansion board which has nothing to do with the MS2 firmware. For all intents and purposes, you can treat this expansion board like Jason's alternator control board. If you have the correct voltage at the alternator and battery, then there's something wrong with either the 2 resistors on the V3 board (R3, R6) or with the MS2 daughterboard itself.

nile13 09-03-2016 04:03 AM

Will be checking the resistors next week at the shop, possibly swapping this MS2 into another Mata to try. Strange, though, that when voltage spikes the Tuner Studio disconnects with that kind of message, no?


All times are GMT -4. The time now is 11:35 PM.


© 2024 MH Sub I, LLC dba Internet Brands