VVT ideas and testers

Testing and development of Megasquirt 3

Moderators: daxtojeiro, muythaibxr, jsmcortina

Re: VVT ideas and testers

Postby jsmcortina » Sun Feb 19, 2012 6:36 pm

Please post your MSQ.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 22815
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: VVT ideas and testers

Postby WORKS » Sun Feb 19, 2012 7:51 pm

Enclosed is the MSQ for the non-functioning 'VVT 1 angle gauge' and 'VVT intake table'.
Attachments
2012-02-12_15.07.17 wVVT.msq
(157.51 KiB) Downloaded 26 times
WORKS
Infineon Raceway L-1B
Dynapack hub dyno and racetrack
POWER | PRECISION | PASSION

415-226-2500
http://www.worksmotorsports.com
WORKS
MS/Extra Newbie
 
Posts: 16
Joined: Fri Feb 17, 2012 10:58 am
Location: Sears Point Raceway, CA

Re: VVT ideas and testers

Postby hoveringuy » Sun Feb 19, 2012 9:27 pm

jsmcortina wrote:Please post your MSQ.

James


Attached
Attachments
2012-02-19_18.46.42.msq
(157.58 KiB) Downloaded 19 times
hoveringuy
Helpful MS/Extra'er
 
Posts: 137
Joined: Fri Aug 29, 2008 8:52 am

Re: VVT ideas and testers

Postby jsmcortina » Mon Feb 20, 2012 5:54 am

hoveringuy wrote:I went back to Alpha 17 and everything worked fine.

Re-installed 18 and had issues again.

Repeated, found and fixed the problem.
One other peculiarity, both in 17 and 18, is that the duty seems to be backwards for exhaust. For my intake cam duty of 0% means the solenoid is getting no power. On the exhaust cam a reported duty of 100% means the solenoid is getting no power (verified on my oscilloscope) 0% gives me full retard on the exhaust cam.

That's in the nature of the way the code is written. Ken is best to explain.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 22815
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: VVT ideas and testers

Postby jsmcortina » Mon Feb 20, 2012 5:56 am

WORKS wrote:Enclosed is the MSQ for the non-functioning 'VVT 1 angle gauge' and 'VVT intake table'.

Have you followed the instructions?
Seems quite unlikely that the cam tooth edge is precisely at 0 BTDC and only has a range to 10 BTDC. I'm guessing that you are triggering a "VVT1 err" indicator due to your settings. Set min and max to zero and see what angle is reported.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 22815
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: VVT ideas and testers

Postby hoveringuy » Mon Feb 20, 2012 4:19 pm

jsmcortina wrote:
hoveringuy wrote: I went back to Alpha 17 and everything worked fine.

Re-installed 18 and had issues again.

Repeated, found and fixed the problem.


That did, indeed, correct the problem. Much more better now, thanks!

jsmcortina wrote:
hoveringuy wrote:
One other peculiarity, both in 17 and 18, is that the duty seems to be backwards for exhaust. For my intake cam duty of 0% means the solenoid is getting no power. On the exhaust cam a reported duty of 100% means the solenoid is getting no power (verified on my oscilloscope) 0% gives me full retard on the exhaust cam.

That's in the nature of the way the code is written. Ken is best to explain.

James


I'm sure it was done to economize on code, to re-use the same PID algorythm, but the result is that the exhaust is very confusing to configure compared to the intake. In test mode, you need to know that it's backwards or you're lost. It's not 0% you need to start with, but 100%

The exhaust table is at least consistent in that cam minimum position + table = target, but it's slightly confusing needing to write the table in terms of advance when you're trying to retard.
hoveringuy
Helpful MS/Extra'er
 
Posts: 137
Joined: Fri Aug 29, 2008 8:52 am

Re: VVT ideas and testers

Postby dfzuntor » Tue Feb 21, 2012 6:31 am

hi there, this is my situation with VVT Tests on a K20 honda Engine.
I am using the factory OEM sensors and Trigger wheels for my crank, Exhaust cam and Intake Cam.
My VVT valve is placed in the intake cam (as usual), I am using the cam 1 signal (exhaust Cam) as the main MS3x cam input, and I am using a cam 2 signal ( as reference) placed on Intake cam and using the PT4 input for it. I was having some troubles with Cam 2-pt4 signal but James help me updating the code and now it works perfect. Now I have all inputs working perfect and the test mode works perfect, so I have configured the Min-max angles ( in this case cam 2 is the only one that changes). BUT I still concern about one detail, My relative timing Table are not changing my vvt angles. Does anyone can explain me how can I configure-use this tables? or if I need another code update to make them work with my honda trigger?
Thanks
David
MSq attached.
Attachments
VVTTest2.msq
The 9 degree angle in the table is for my test only
(157.26 KiB) Downloaded 18 times
dfzuntor
Experienced MS/Extra'er
 
Posts: 151
Joined: Sun Apr 11, 2010 9:41 am

Re: VVT ideas and testers

Postby jsmcortina » Tue Feb 21, 2012 6:38 am

Please post a datalog.

Do you see the VVT2 duty changing at all?
PID values of 0,0,0 aren't going to work.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 22815
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: VVT ideas and testers

Postby dfzuntor » Tue Feb 21, 2012 6:40 am

jsmcortina wrote:Please post a datalog.

Do you see the VVT2 duty changing at all?
PID values of 0,0,0 aren't going to work.

James


I am going to update a Datalog right now
thanks
dfzuntor
Experienced MS/Extra'er
 
Posts: 151
Joined: Sun Apr 11, 2010 9:41 am

Re: VVT ideas and testers

Postby dfzuntor » Tue Feb 21, 2012 6:47 am

jsmcortina wrote:Please post a datalog.

Do you see the VVT2 duty changing at all?
PID values of 0,0,0 aren't going to work.

James
Attachments
vvt.msl
(600.68 KiB) Downloaded 18 times
dfzuntor
Experienced MS/Extra'er
 
Posts: 151
Joined: Sun Apr 11, 2010 9:41 am

Re: VVT ideas and testers

Postby jsmcortina » Tue Feb 21, 2012 6:53 am

So VVT2 duty doesn't change. Most likely due to your PID settings preventing it.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 22815
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: VVT ideas and testers

Postby dfzuntor » Tue Feb 21, 2012 7:49 am

jsmcortina wrote:So VVT2 duty doesn't change. Most likely due to your PID settings preventing it.

James


thanks james, I missed that point now it is working, I am going to test a table and post my results

David
dfzuntor
Experienced MS/Extra'er
 
Posts: 151
Joined: Sun Apr 11, 2010 9:41 am

Re: VVT ideas and testers

Postby dfzuntor » Tue Feb 21, 2012 2:51 pm

I know that this is a kind of stupid question, but I have to do it because there is a lot of people in this forum that is trying to explain what PID is and HOW to configure it, and they really confuse my mind, and the manual does not explain the PID for VVT. so WHAT is PID and HOW to tune it for VVT?? :?: :?:
is it the same as EGO??? because I don't see any changes on my respond and signal.

David
dfzuntor
Experienced MS/Extra'er
 
Posts: 151
Joined: Sun Apr 11, 2010 9:41 am

Re: VVT ideas and testers

Postby WORKS » Tue Feb 21, 2012 4:39 pm

jsmcortina wrote:
WORKS wrote:Enclosed is the MSQ for the non-functioning 'VVT 1 angle gauge' and 'VVT intake table'.

Have you followed the instructions?
Seems quite unlikely that the cam tooth edge is precisely at 0 BTDC and only has a range to 10 BTDC. I'm guessing that you are triggering a "VVT1 err" indicator due to your settings. Set min and max to zero and see what angle is reported.

James


Yes, we originally had the Minimum and Maximum set to 0 per the instructions
"Double check that the cam min/max angles are presently set to zero. For each cam record the minimum and maximum angles you observe as the test duty is varied. Enter these into the min/max fields."
but this is where we got stuck because as we varied the test duty, we could not observe any cam angles on the VVT1 angle gauge.
WORKS
Infineon Raceway L-1B
Dynapack hub dyno and racetrack
POWER | PRECISION | PASSION

415-226-2500
http://www.worksmotorsports.com
WORKS
MS/Extra Newbie
 
Posts: 16
Joined: Fri Feb 17, 2012 10:58 am
Location: Sears Point Raceway, CA

Re: VVT ideas and testers

Postby jsmcortina » Tue Feb 21, 2012 4:50 pm

WORKS wrote:but this is where we got stuck because as we varied the test duty, we could not observe any cam angles on the VVT1 angle gauge.

OK, so either the cam isn't moving, or the cam tooth you are using doesn't move with the cam.

"hoveringuy" is using a polled cam tooth and as far as I'm aware that is working ok.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 22815
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: VVT ideas and testers

Postby WORKS » Tue Feb 21, 2012 5:58 pm

jsmcortina wrote:
WORKS wrote:but this is where we got stuck because as we varied the test duty, we could not observe any cam angles on the VVT1 angle gauge.

OK, so either the cam isn't moving, or the cam tooth you are using doesn't move with the cam.

"hoveringuy" is using a polled cam tooth and as far as I'm aware that is working ok.

James


The cam definitely moves in test mode and the cam tooth is part of the cam (half moon ground on the end).
Any other ideas?
What about trying Alpha 17?
WORKS
Infineon Raceway L-1B
Dynapack hub dyno and racetrack
POWER | PRECISION | PASSION

415-226-2500
http://www.worksmotorsports.com
WORKS
MS/Extra Newbie
 
Posts: 16
Joined: Fri Feb 17, 2012 10:58 am
Location: Sears Point Raceway, CA

Re: VVT ideas and testers

Postby jsmcortina » Tue Feb 21, 2012 6:10 pm

Try setting the cam edge to "Rising" or "Falling" instead of "Poll level" and see if that makes any difference. You can try alpha17 if you wish although I doubt if it will change anything.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 22815
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: VVT ideas and testers

Postby WORKS » Tue Feb 21, 2012 6:12 pm

jsmcortina wrote:Try setting the cam edge to "Rising" or "Falling" instead of "Poll level" and see if that makes any difference. You can try alpha17 if you wish although I doubt if it will change anything.

James


We did that per Matt's recommendation and it didn't change anything.
WORKS
Infineon Raceway L-1B
Dynapack hub dyno and racetrack
POWER | PRECISION | PASSION

415-226-2500
http://www.worksmotorsports.com
WORKS
MS/Extra Newbie
 
Posts: 16
Joined: Fri Feb 17, 2012 10:58 am
Location: Sears Point Raceway, CA

Re: VVT ideas and testers

Postby jsmcortina » Tue Feb 21, 2012 6:15 pm

Is your cam input working at all?

Please post a composite log.

James
I can supply, repair or upgrade Megasquirts in UK.

My Success story: viewtopic.php?f=104&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
jsmcortina
Site Admin
 
Posts: 22815
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK

Re: VVT ideas and testers

Postby WORKS » Tue Feb 21, 2012 8:27 pm

jsmcortina wrote:Is your cam input working at all?

Please post a composite log.

James


Enclosed. The composite log includes starting, idling, swinging the intake cam in test mode, then back to idle (about 5 seconds each).
Attachments
2012-02-21_19.02.08.csv
(273.9 KiB) Downloaded 21 times
WORKS
Infineon Raceway L-1B
Dynapack hub dyno and racetrack
POWER | PRECISION | PASSION

415-226-2500
http://www.worksmotorsports.com
WORKS
MS/Extra Newbie
 
Posts: 16
Joined: Fri Feb 17, 2012 10:58 am
Location: Sears Point Raceway, CA

PreviousNext

Return to MS3 Development

Who is online

Users browsing this forum: Ollie8974 and 0 guests