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/)
-   -   VVT angle oscillates at idle (https://www.miataturbo.net/megasquirt-18/vvt-angle-oscillates-idle-61642/)

FatKao 11-13-2011 07:22 PM

VVT angle oscillates at idle
 
5 Attachment(s)
Got a weird issue that stopped me from getting my VVT working over the summer. At idle the VVT angle reading oscillates between 277 and 295 degrees. If I try to enable PID control of the cam the idle goes to shit while the MS tries to figure out what is going on.

Not sure why it is happening or any idea on what I could have fucked up to cause it. Motor is a 2005, shell is a 1997. VVT is controlled over the IAC wires. Car runs otherwise fine, have about 13 hours on the motor currently.

I attached the msq and a quick data log showing it. Also a picture of it happening for the low effort crowd. Now I know the reading is at least somewhat right because I killed the motor by setting the test duty cycle to 99 and the log shows that the cam advanced.


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

y8s 11-13-2011 09:10 PM

set your vvt target to 0 at idle.

edit:
nevermind that. you have to set your minimum and maximum angles or the target will be meaningless.

0. create gauges on the dashboard for VVT angle 1.
1. enable the test output.
2. set test output duty to 0%
2b. start the car.
3. look at the VVT angle 1 and write it down. note this as "minimum".
4. open up the VVT dialog again and hold your RPM at 2000
5. set the vvt duty to 100%
6. look at the VVT angle 1 and write it down. note this as "maximum".
7. turn off the car and enter these values in the min and max fields.

disable VVT test output
disable Use Hold Duty.

start up.

FatKao 11-13-2011 09:19 PM

It is. Using the table you posted in the ms3efi VVT thread. Also running test mode with duty set to 0 in that log. I get the same odd readings if I pull the plug out of the VVT solenoid as well.

e:

I'll try that process again tomorrow. The last time I tried it (a few months ago) I didn't get a single value under step 3. Can't remember if I got a single value for the max either. Let me see if I can find a datalog.

Faeflora 11-14-2011 10:50 AM

What happens to your idle if you unplug the solenoid?

FatKao 11-14-2011 11:14 AM

Nothing, car idles/runs perfectly unless I manually advance the cam with test duty (stalls as expected) or enable PID control, then idle oscillates badly and the motor eventually stalls. I highly doubt that what the MS3 is indicating is the reality of the cam. I can only get one trace on my scope though so I can't easily verify. I might have to go and buy a new set of test leads if I can't figure out why this is happening.

y8s 11-14-2011 11:40 AM

if the vvt angle 1 is showing anything other than ~0 you need to either:

A) update your firmware to alpha 11 or higher
B) fix your minimum angle.

FatKao 02-25-2012 02:46 PM

I think I may have figured out what the issue is. I have my trigger set to rising edge. It seems that the other stuff I see from 01+ Miatas is falling edge.

Do you guys have falling edge as well? And I can't get the car to start if I change from rising to falling edge. Any ideas on what I would have to change other than the offset to get it going properly? MSQ is still the same as the one in the OP for all meaningful values.

Didn't mention it in here but 2005 motor in a 1997 shell. MS3 w/MS3x for cam in.


e:

Upgraded from alpha 11 to alpha 18 and it didn't fix it.

Faeflora 02-25-2012 04:19 PM

Wierd. Did it do it when the oil got hot too?

I guess there's enough oil pressure when cold to move the cam.

FatKao 02-25-2012 04:41 PM

I don't have a log to prove the point but I'm 99% certain it happens when the engine is up to temp as well.

I was going to pull off the valve cover so I could take off the top timing belt cover so I could verify the cam timing was static with a timing gun but it got a bit cold and I noticed the falling vs rising edge thing so I stopped.

y8s 02-26-2012 09:48 AM

falling edge
going high

no jitter.

FatKao 02-26-2012 10:10 AM

Found your thread on ms3efi about the MAX9926. Should falling edge be used with the normal MS3 inputs as well or is that just a consequence of using the MAX9926 inputs?

I also posted a thread over at ms3efi, pretty much the same info there as here.

http://www.msextra.com/forums/viewto...?f=125&t=44120

Braineack 02-26-2012 11:22 AM

it completely depends on your input method. If it's running on rising, it wont run on falling.

FatKao 02-26-2012 03:34 PM

1 Attachment(s)
Ok. I can reproduce this on the stim as well. I'm thinking it is likely something wrong with one of my input circuits. Does that make any sense?


Does this look right? I would think that both signals should go to +5v or -5v. Sorry for the ---- quality, the guy who had this scope before me lost the $200 cable to connect it to a PC. This is taken from the CPU pins.

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

Savington 02-26-2012 07:24 PM

If you're asking whether the signals should both rise/fall the same way, then that looks correct to me - the cam is normally high and drops low when the tooth passes, whereas the crank is normally low and goes high when the tooth passes.

Bryce 03-27-2012 06:36 PM

OP: Did you find a solution?

I came across a similar problem where the VVtangle gauge was oscillating by more than 30 degrees, coupled with a high rpm sync loss. I found that my crank sensor gap was ~1/4" and I was running on rising edge. I closed the gap, then the car wouldn't sync. Switched to falling edge, and it ran perfectly after resetting timing. VVT worked correctly. I'm running Abe's input circuits on the mainboard.

It is possible for the motor to run on rising or falling edge with the same configuration, if your crank sensor gap is too large.

FatKao 03-28-2012 12:39 AM

I think my issue boils down to noise/bad grounds. I just double checked my crank gap since I have my intake 1/2 off already and it's good. When I flip to falling edge I get a ton of missed triggers. Putting my scope on the raw inputs from the sensors they are less than perfect, honestly a bit surprised they work at all. My input circuits are the MS3X cam in and V3 board opto as per the wiki.

The VVT jumpyness while running on rising edge seems like some kind of bug in the code since I haven't seen it in any electrical signal I've looked at. However I'm pretty sure that rising edge won't work for a VVT anyway motor since the cam tooth will cross a crank tooth while at full advance.

But the weather is nice now, already had an AX, have race this week and a DE the week after that so it'll likely be mid-summer when things slow down enough for me to start dicking around with it again. I'll likely switch over to Abe's NB input circuit and see if I can get a clean signal on falling edge.

Bryce 03-28-2012 01:05 AM


Originally Posted by FatKao (Post 854795)
My input circuits are the MS3X cam in and V3 board opto as per the wiki.

My car wouldn't even sync with that configuration.


Originally Posted by FatKao (Post 854795)
I'll likely switch over to Abe's NB input circuit and see if I can get a clean signal on falling edge.

I will put money on this being the fix to your problem.

FatKao 05-02-2012 11:32 AM

To provide closure on this. Abe's NB circuit cleans up my signals enough that I can run falling edge which fixes the VVT issue.

I still think there is a bug on rising edge though, but I'm fairly sure rising edge cams will cross a crank tooth so the point is somewhat moot.


All times are GMT -4. The time now is 09:55 AM.


© 2024 MH Sub I, LLC dba Internet Brands