VVT observations - current vs. advance - Page 2 - Miata Turbo Forum - Boost cars, acquire cats.

Welcome to Miataturbo.net   Members
 


ECUs and Tuning Discuss Engine Management, Tuning, & Programming

Reply
 
 
 
LinkBack Thread Tools Search this Thread
Old 06-24-2009, 03:03 PM   #21
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,048
Total Cats: 8
Default

Edit from prev post: 3D table means two axis plus values? I guess I was thinking of that as a "2D table", since that's a 2D array. Anyway, there's an boost control table for RPM/TPS which I bet could be easily perverted to some other analog in. So I'm not sure it couldn't be done. I hope not, since I was planning on doing it.

Quote:
Originally Posted by JasonC SBB View Post
Does the MS1/2 have a 3D PWM output?

I'm thinking, maybe I could build a VVT control box, which takes an advance command signal from the MS, and the CKP and CMP signals, and then controls the spool valve...

Wasn't someone (reverant?) working on a stand alone VVT board?! Anyway, overall, I think as long as you have a stand alone PID routine, the advancing or retarding could be taken care of externally.
AbeFM is offline   Reply With Quote
Old 06-24-2009, 03:06 PM   #22
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,048
Total Cats: 8
Default

Quote:
Originally Posted by Joe Perez View Post
Forgetting for a moment about the control mechanism for the valve, did we ever figure out a way to make MS2 actually calculate the angular relationship between the crank and cam based upon the relative timing of their sensor inputs? If so, I must have missed it.
There's an experimental, "vanos", phase logging tool in the beta I'm running. I haven't tried it yet. Everytime I upgrade, 4 things break. Right now hot starts are a 1 in 3 thing, there's a skip which wasn't there before, and the accel pump settings have some pesky factor of 8 or 10 or so in them - which you'd naively think you could just multiply all your numbers by the same factor, but they are artificially limited to be only the numbers the guy who wrote the code think are reasonable.

In other words, I could check out the valve, and the code, as soon as I test my adapterboard and get that project off my plate. :-)
AbeFM is offline   Reply With Quote
Old 06-24-2009, 04:52 PM   #23
Junior Member
iTrader: (6)
 
Join Date: Jan 2006
Location: St Johns, Fl
Posts: 378
Total Cats: 0
Default

Seems Kevin is working on designing a controller as well:
What have you done to your Miata/MX-5 today? - Page 81 - Mazda Forums
clay is offline   Reply With Quote
Old 06-24-2009, 05:08 PM   #24
y8s
2 Props,3 Dildos,& 1 Cat
iTrader: (8)
 
y8s's Avatar
 
Join Date: Jun 2005
Location: Fake Virginia
Posts: 19,038
Total Cats: 406
Default

abe:
3D = 3 variables (2 in, 1 out) or if you graph it, a surface plot.
2D would just be a curvilinear plot
y8s is offline   Reply With Quote
Old 06-24-2009, 05:59 PM   #25
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,048
Total Cats: 8
Default

Quote:
Originally Posted by clay View Post
Seems Kevin is working on designing a controller as well:
What have you done to your Miata/MX-5 today? - Page 81 - Mazda Forums
Huh, someone should invite him over here so we all can compare notes. His card doesn't look terribly complex, does it?


Quote:
Originally Posted by y8s View Post
abe:
3D = 3 variables (2 in, 1 out) or if you graph it, a surface plot.
2D would just be a curvilinear plot
Semantics. Anyway, sure, 3-D it is then.
AbeFM is offline   Reply With Quote
Old 06-24-2009, 06:12 PM   #26
Junior Member
iTrader: (6)
 
Join Date: Jan 2006
Location: St Johns, Fl
Posts: 378
Total Cats: 0
Default

Quote:
Originally Posted by AbeFM View Post
Huh, someone should invite him over here so we all can compare notes. His card doesn't look terribly complex, does it?
He's on here. Same name I'm pretty sure, just doesn't post all that often. He built a turbo Miata for the 05-08 GRM Challenge. Runs MS in his 90 with 99 engine in CSP. I think DIYAutotune sponsors him... at least I think that's his car in their add.
clay is offline   Reply With Quote
Old 06-24-2009, 06:33 PM   #27
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,048
Total Cats: 8
Default

ok, pm'd him. Someone should PM him on the other forum.
AbeFM is offline   Reply With Quote
Old 08-18-2009, 11:44 PM   #28
Junior Member
iTrader: (1)
 
Join Date: Jan 2007
Location: Canton, GA
Posts: 116
Total Cats: 0
Default

Greetings all. Sorry I missed this thread as I don't log in as often as I used to. I am indeed building a VVT controller and so far everything is working short of a tune. The board uses the OE CKP/CMP sensors and corrects the signals for use with a typical NA MS installation. Furthermore, the controller operates the OCV via a 2D table via RPM vs. load. I'm considering correction for air temperature as my instinct says I should, pneumatically speaking, but I'll cross that bridge when I come to it.

Thus far, with a loose PID tune, the camshaft advance tracks the set point derived from an interpolated 12x12 table. There's a touch of over/under shoot, but that is easily corrected through the PID settings.

I'll check back and update as often as I can. In the mean time, I've posted a few pics of the process: Picasa Web Albums - Kevin - Miata VVT Con...
kcbhiw is offline   Reply With Quote
Old 08-19-2009, 04:34 AM   #29
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,048
Total Cats: 8
Default

Nice little setup. I wonder how much you could get those signals from a MS, even an MS-II. Someday they will be able to modulate. Tell us more about the system!
AbeFM is offline   Reply With Quote
Old 08-20-2009, 11:08 PM   #30
Junior Member
iTrader: (1)
 
Join Date: Jan 2007
Location: Canton, GA
Posts: 116
Total Cats: 0
Default

Quote:
Originally Posted by AbeFM View Post
I wonder how much you could get those signals from a MS, even an MS-II. Someday they will be able to modulate.
What do you mean?

Quote:
Originally Posted by AbeFM View Post
Tell us more about the system!
Any in particular? There really isn't much to it other than an Atmel ATMega168 with a bit of programming . It's fully standalone and the symmetrical tach output signals (CKP/CMP) can be used with just about any engine management system. The OCV is operated via a 12V PWM signal running at about 488Hz. The programming interface is laid out similar to that of MegaTune's and connects via an RS232 link. I still need to add a few bells and whistles, but nothing that affects the operation of the controller. Essentially, the MCU programming is complete and the Windows interface is right behind it.

I drove the car for the first time since Sunday this evening (been busy with a few other things on the car). I dialed-in the PID settings a bit closer with only a degree or so of overshoot) and settling in less than a quarter second (according to the logs, anyway). Overall response seems very good. I have a dyno session scheduled in the morning (Friday) to tune out the entire works). Wish me luck!

Last edited by kcbhiw; 08-20-2009 at 11:23 PM.
kcbhiw is offline   Reply With Quote
Old 08-21-2009, 12:22 AM   #31
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,048
Total Cats: 8
Default

Very nice! Too scattered to think of a good question now.

I want to have the MS do this. I'd like to see the PID code, too. :-)

Oh, what I meant: The MS knows about all the events, from signal processing to timing, you SHOULD be able to get it out over CANBUS or something. The MS-II now (experimentally) reports cam-phase.
AbeFM is offline   Reply With Quote
Old 08-21-2009, 12:28 AM   #32
Junior Member
iTrader: (1)
 
Join Date: Jan 2007
Location: Canton, GA
Posts: 116
Total Cats: 0
Default

Quote:
Originally Posted by AbeFM View Post
Very nice! Too scattered to think of a good question now.

Gotcha. I've been reading through your MSII adapter post. Good stuff!
Quote:
Originally Posted by AbeFM View Post
I want to have the MS do this. I'd like to see the PID code, too. :-)

Oh, what I meant: The MS knows about all the events, from signal processing to timing, you SHOULD be able to get it out over CANBUS or something. The MS-II now (experimentally) reports cam-phase.
Agreed. It'd be nice to have this all happen within the MS, but this was a much quicker solution. CAN isn't out of the question. I have an additional SPI interface left on the processor that I can use for such a channel. I'll have to see how this develops in order to explore further options.
kcbhiw is offline   Reply With Quote
Old 08-21-2009, 02:51 AM   #33
Elite Member
Thread Starter
 
Join Date: Jul 2005
Posts: 6,454
Total Cats: 80
Default

Nice work!
Is there a possibility of you documenting your work so it can be replicated?
Did you find that the P I and D values have to be different at different RPMs?
JasonC SBB is offline   Reply With Quote
Old 08-21-2009, 02:05 PM   #34
Elite Member
iTrader: (3)
 
AbeFM's Avatar
 
Join Date: Aug 2006
Location: San Diego, CA
Posts: 3,048
Total Cats: 8
Default

I don't know how the timing would be handled between them but if you DID you can, that's many fewer inputs you'd need and could spare them for something interesting - even if it's just turning on status lights it would be an AWESOME addition to the MS.
AbeFM is offline   Reply With Quote
Old 08-25-2009, 11:08 AM   #35
Junior Member
 
Join Date: May 2006
Location: ITALY - SAN BENEDETTO DEL TRONTO
Posts: 47
Total Cats: 0
Default

Great job!

So what Improvements did you achieve?


bye

Simone
simonetrb is offline   Reply With Quote
Old 08-28-2009, 08:21 PM   #36
gkd
Newb
 
Join Date: Aug 2009
Location: San Diego
Posts: 1
Total Cats: 0
Default VVT Controller

Quote:
Originally Posted by kcbhiw View Post
I am indeed building a VVT controller and so far everything is working short of a tune. - Kevin - Miata VVT Con...[/url]

Kevin,
Great work! I am in need of a standalone VVT controller. I have a TEC2 running an 01 VVT motor in my 94 CSP car and obviously it is not controlling the VVT. I used an MSD switch for a while but I need to have full control. So, if you decide to sell some, I am interested!

George
1994 MX5 CSP
1997 EK G2
gkd is offline   Reply With Quote
Old 08-29-2009, 12:53 AM   #37
Junior Member
iTrader: (1)
 
Join Date: Jan 2007
Location: Canton, GA
Posts: 116
Total Cats: 0
Default

Quote:
Originally Posted by JasonC SBB View Post
Nice work!
Is there a possibility of you documenting your work so it can be replicated?
Did you find that the P I and D values have to be different at different RPMs?
Not at this time.

The PID settings did not have to be changed throughout different RPM or MAP bins.

Quote:
Originally Posted by AbeFM View Post
I don't know how the timing would be handled between them but if you DID you can, that's many fewer inputs you'd need and could spare them for something interesting - even if it's just turning on status lights it would be an AWESOME addition to the MS.
I do have a number of spare I/O points available. I'm contemplating adding alternator control to one of them at the moment



Quote:
Originally Posted by simonetrb View Post
Great job!

So what Improvements did you achieve?
Thanks!

The car picked up 32 HP over the '99 engine I had in there before hand!

Quote:
Originally Posted by gkd View Post
Kevin,
Great work! I am in need of a standalone VVT controller. I have a TEC2 running an 01 VVT motor in my 94 CSP car and obviously it is not controlling the VVT. I used an MSD switch for a while but I need to have full control. So, if you decide to sell some, I am interested!
PM Sent!
kcbhiw is offline   Reply With Quote
Old 08-31-2009, 01:25 PM   #38
Junior Member
iTrader: (1)
 
Join Date: Aug 2009
Location: OKC, OK
Posts: 60
Total Cats: 0
Default

I am also in need of a VVT controller. If you are going to make these available in kit or built form I would be interested.
slebidia is offline   Reply With Quote
Old 11-22-2009, 08:59 AM   #39
MT Pony Underground
iTrader: (6)
 
Nagase's Avatar
 
Join Date: May 2009
Posts: 1,811
Total Cats: 0
Default

Did anything come of the VVT controller?
Nagase is offline   Reply With Quote
Old 11-23-2009, 04:45 AM   #40
Junior Member
 
Join Date: May 2006
Location: ITALY - SAN BENEDETTO DEL TRONTO
Posts: 47
Total Cats: 0
Default

Quote:
Originally Posted by kcbhiw View Post
The car picked up 32 HP over the '99 engine I had in there before hand!
"Just" tuning the VVT behaviour?

That's great!!
simonetrb is offline   Reply With Quote
 
 
Reply

Related Topics
Thread Thread Starter Forum Replies Last Post
WTB MP62 (Hotside) (NB2) Rick02R WTB 3 01-03-2016 08:18 PM
Changing from 460cc to flow force 610cc in diypnp 90 Turbo MEGAsquirt 19 10-19-2015 04:23 PM
Back to Stock Part Out!! Turbo Parts, MS2 Enhanced 01-05, Suspension, and MOAR! StratoBlue1109 Miata parts for sale/trade 16 10-02-2015 10:39 AM
Bad head gasket or ? shooterschmidty Engine Performance 8 09-30-2015 11:28 PM
In need of base map for stock 1997 brandonbkd MEGAsquirt 0 09-29-2015 12:52 AM


Tags
vvt, vvt controller

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



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