Controlling VVT
#63
Elite Member
Thread Starter
iTrader: (3)
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,047
Total Cats: 12
Just what I was thinking.I have an unemployed electrical engineer as a friend, and I keep trying to get him to do something like this. Guess I'll have to come up with something else for him, now. :-P
Thanks for the pointers on the schematic.
Thanks for the pointers on the schematic.
#64
I finally got around to getting a scan of the VVT cam and crank signals with the Oil Control Valve (OCV) plugged in and unplugged. Please excuse the crappy pictures. The top picture, the cam overlapping the crank signal, is when 12v is applied to the OCV.
Last edited by mistersolo; 09-05-2008 at 05:01 PM.
#65
Elite Member
Thread Starter
iTrader: (3)
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,047
Total Cats: 12
Awesome!
That's a lot of shift, wow... Anyway, the first thing I notice is that the two pulses can fall on opposite sides of the crank tooth - it'll take a little work with the MS code to figure out if it matters. I think it uses the number of teeth between crank teeth as the sync signal. If it uses the number in one full rev we're ok, if it's between adjacent teeth we're in trouble.
Also, unfortunately, the gap in the trace kinda blocks out part of the trace - really, putting the scope in "single" mode would work a lot better! But either way, that's a big help.
Will reflect on it. :-)
That's a lot of shift, wow... Anyway, the first thing I notice is that the two pulses can fall on opposite sides of the crank tooth - it'll take a little work with the MS code to figure out if it matters. I think it uses the number of teeth between crank teeth as the sync signal. If it uses the number in one full rev we're ok, if it's between adjacent teeth we're in trouble.
Also, unfortunately, the gap in the trace kinda blocks out part of the trace - really, putting the scope in "single" mode would work a lot better! But either way, that's a big help.
Will reflect on it. :-)
#66
Boost Pope
iTrader: (8)
Join Date: Sep 2005
Location: Chicago. (The less-murder part.)
Posts: 33,039
Total Cats: 6,604
Are you MS2 guys looking at rising edges or falling edges of the CMP? Because it looks to me like all of the rising edges always remain on the "correct" side of that TDC CKP pulse- only the first falling edge of CMP appears to cross the line.
Take off every 'ZIG'!!
You know what you doing.
Move 'ZIG'.
For great justice.
Take off every 'ZIG'!!
You know what you doing.
Move 'ZIG'.
For great justice.
#67
The problem with P only is the steady state error. The problem with a (varying) steady state error in your VVT and a speed-density (MAP) system (as opposed to a mass air (MAF) system), is that your AFR will vary with the VVT phase error.
What is the mechanism of the VVT? What's the transfer characteristic of VVT solenoid to phase? This characteristic will greatly affect the control strategy. It's possible that the mechanism has an I characteristic, so what you actually need is a P and a D, and perhaps the "null" point should be 50% duty.
What is the mechanism of the VVT? What's the transfer characteristic of VVT solenoid to phase? This characteristic will greatly affect the control strategy. It's possible that the mechanism has an I characteristic, so what you actually need is a P and a D, and perhaps the "null" point should be 50% duty.
#68
Elite Member
Thread Starter
iTrader: (3)
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,047
Total Cats: 12
The problem with P only is the steady state error. The problem with a (varying) steady state error in your VVT and a speed-density (MAP) system (as opposed to a mass air (MAF) system), is that your AFR will vary with the VVT phase error.
What is the mechanism of the VVT? What's the transfer characteristic of VVT solenoid to phase? This characteristic will greatly affect the control strategy. It's possible that the mechanism has an I characteristic, so what you actually need is a P and a D, and perhaps the "null" point should be 50% duty.
What is the mechanism of the VVT? What's the transfer characteristic of VVT solenoid to phase? This characteristic will greatly affect the control strategy. It's possible that the mechanism has an I characteristic, so what you actually need is a P and a D, and perhaps the "null" point should be 50% duty.
I would imagine, however, that it depends on oil pressure.
My thought was a fixed offset, especially is small, would be ok, since all that really matters is how the motor runs there.
#70
Elite Member
Thread Starter
iTrader: (3)
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,047
Total Cats: 12
Sorry, I can never get used to this negetive logic, it's the same slope on all traces, user selectable. However, using other-than-trailing (rising) edge is a bad idea, the sensors are unrelaible there.
The VVT pulses are different shapes, interestingly. However, as the MS-II code is now, I don't think it matters. Only number of edges matters. But I don't like how there are two edges on opposite sides of a crank pulse. Guess one could either: try it and see, ask the MS-II guys, or move the cam sensor on an earlier car to emulate it. :-)
The VVT pulses are different shapes, interestingly. However, as the MS-II code is now, I don't think it matters. Only number of edges matters. But I don't like how there are two edges on opposite sides of a crank pulse. Guess one could either: try it and see, ask the MS-II guys, or move the cam sensor on an earlier car to emulate it. :-)
Thread
Thread Starter
Forum
Replies
Last Post
Zaphod
MEGAsquirt
47
10-26-2018 11:00 PM
StratoBlue1109
Miata parts for sale/trade
21
09-30-2018 01:09 PM
russian
Miata parts for sale/trade
6
10-08-2015 03:01 PM