VVT ideas and testers

Testing and development of Megasquirt 3

Moderators: jsmcortina, muythaibxr

jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: VVT ideas and testers

Post by jsmcortina »

You have no cam signal.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
WORKS
MS/Extra Newbie
Posts: 16
Joined: Fri Feb 17, 2012 10:58 am
Location: Sears Point Raceway, CA
Contact:

Re: VVT ideas and testers

Post by WORKS »

We're getting a cam signal at Pin 32
WORKS
Infineon Raceway L-1B
Dynapack hub dyno and racetrack
POWER | PRECISION | PASSION

415-226-2500
http://www.worksmotorsports.com
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: VVT ideas and testers

Post by jsmcortina »

WORKS wrote:We're getting a cam signal at Pin 32
The composite log shows that it isn't making it to the processor.

I think I see why. Although you have configured "dual wheel" your fuel and ignition settings do not need the cam input, so the code is likely ignoring it. I think at least.
EDIT: scrub that.

I've tested again on the stim with your MSQ. I see a cam signal in the composite log. So the problem is that your cam signal is not reaching the processor.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
FatKao
MS/Extra Newbie
Posts: 11
Joined: Mon Sep 20, 2010 10:05 am

Re: VVT ideas and testers

Post by FatKao »

I'm having a problem getting my VVT going. The motor is from a 2005 Mazda Miata with stock sensors. The issue is that the VVT angle bounces back and forth between ~295* and ~270* when at idle. I'm pretty sure the cam isn't moving 20* since the car idles and runs perfectly. The angle change also persists if I unplug the cam solenoid. If I set the duty cycle to 100 the cam does advance and it can be noticed on the log. At the end you can see I advance the cam to full and stall the motor.

At a bit of a loss as to what the issue could be. Since this log and MSQ were taken I have upgraded my MS3 to 1.1 Alpha 18 and the issue is unchanged.

Image

edit:

One thing I did notice is that y8s is using falling edge cam/crank triggers and I'm set up on rising edge. Should that cause an issue? I can't get the car to start if I use falling edge.
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: VVT ideas and testers

Post by jsmcortina »

Pleas record composite logs of the engine idling.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
FatKao
MS/Extra Newbie
Posts: 11
Joined: Mon Sep 20, 2010 10:05 am

Re: VVT ideas and testers

Post by FatKao »

Attached.

At the very end of the log I advanced the cam, it should be the last two revolutions since pretty much any advance stalls the motor at idle.
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: VVT ideas and testers

Post by jsmcortina »

Might be best to start a new topic with your engine type in the title, I know that this engine was one of the first to use the VVT code.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
FatKao
MS/Extra Newbie
Posts: 11
Joined: Mon Sep 20, 2010 10:05 am

Re: VVT ideas and testers

Post by FatKao »

Will do. Should it be in this forum or the General Support forum?
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: VVT ideas and testers

Post by jsmcortina »

MS3 dev
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
WORKS
MS/Extra Newbie
Posts: 16
Joined: Fri Feb 17, 2012 10:58 am
Location: Sears Point Raceway, CA
Contact:

Re: VVT ideas and testers

Post by WORKS »

jsmcortina wrote:
WORKS wrote:We're getting a cam signal at Pin 32
The composite log shows that it isn't making it to the processor.

I think I see why. Although you have configured "dual wheel" your fuel and ignition settings do not need the cam input, so the code is likely ignoring it. I think at least.
EDIT: scrub that.

I've tested again on the stim with your MSQ. I see a cam signal in the composite log. So the problem is that your cam signal is not reaching the processor.

James
Using a lab scope, we're getting a nice square wave pattern at Pin 32 where the low side is .8125V and the high side is 4.938V. Are these voltages acceptable for the software before we go tearing into the hardware (Pin 32 to Processor)?
Does the low side seem to be a little high?
WORKS
Infineon Raceway L-1B
Dynapack hub dyno and racetrack
POWER | PRECISION | PASSION

415-226-2500
http://www.worksmotorsports.com
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: VVT ideas and testers

Post by jsmcortina »

You need to be sure that the pots on the MS3X card are set correctly to match the 0-5V hall input.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
WORKS
MS/Extra Newbie
Posts: 16
Joined: Fri Feb 17, 2012 10:58 am
Location: Sears Point Raceway, CA
Contact:

Re: VVT ideas and testers

Post by WORKS »

jsmcortina wrote:You need to be sure that the pots on the MS3X card are set correctly to match the 0-5V hall input.

James
I see this:
"When using hall or optical sensors inputs, the cam input adjustment potentiometers should be set as follows. Turn both pots (R11 and R32) full anti-clockwise - approx five turns. Then turn the top one (R11) two turns clockwise."

Which pot is the Low and which is the High and how many turns equates to what voltage?
WORKS
Infineon Raceway L-1B
Dynapack hub dyno and racetrack
POWER | PRECISION | PASSION

415-226-2500
http://www.worksmotorsports.com
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: VVT ideas and testers

Post by jsmcortina »

I don't understand your question.

Did you follow the instructions?

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
WORKS
MS/Extra Newbie
Posts: 16
Joined: Fri Feb 17, 2012 10:58 am
Location: Sears Point Raceway, CA
Contact:

Re: VVT ideas and testers

Post by WORKS »

jsmcortina wrote:I don't understand your question.

Did you follow the instructions?

James
Yes the instructions were followed exactly. But since the low side voltage is .8125V (which seems rather high), would adjusting one of these pots help the ECU see the cam input signal properly?
WORKS
Infineon Raceway L-1B
Dynapack hub dyno and racetrack
POWER | PRECISION | PASSION

415-226-2500
http://www.worksmotorsports.com
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: VVT ideas and testers

Post by jsmcortina »

WORKS wrote:Yes the instructions were followed exactly. But since the low side voltage is .8125V (which seems rather high), would adjusting one of these pots help the ECU see the cam input signal properly?
It might do yes. You might need to turn R11 some more clockwise.
If you wish to measure that actual threshold voltage, then "PAD1/ZC setpoint" on the MS3X card is available to carefully measure it.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
dfzuntor
Experienced MS/Extra'er
Posts: 163
Joined: Sun Apr 11, 2010 9:41 am

Re: VVT ideas and testers

Post by dfzuntor »

Hi people. Can I use a 12 v second cam trigger + a 1k pullup to pt4??
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: VVT ideas and testers

Post by jsmcortina »

So long as the voltage at PT4 does not exceed 12V.EDIT: MAX 5V. DO NOT EXCEED 5V.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
dfzuntor
Experienced MS/Extra'er
Posts: 163
Joined: Sun Apr 11, 2010 9:41 am

Re: VVT ideas and testers

Post by dfzuntor »

jsmcortina wrote:So long as the voltage at PT4 does not exceed 12V.

James
Maybe a max of 14V ???
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: VVT ideas and testers

Post by jsmcortina »

dfzuntor wrote:
jsmcortina wrote:So long as the voltage at PT4 does not exceed 12V.

James
Maybe a max of 14V ???
I mistyped. PT4 is MAXIMUM 5V.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
jsmcortina
Site Admin
Posts: 39569
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Re: VVT ideas and testers

Post by jsmcortina »

I've just found a small bug in the firmware that _might_ have impacted VVT users in all firmwares up to and including pre-1.1 beta19.
It looks like there might have been a conflict between an EAE setting and VVT causing the cam position to be miscalculated. This is addressed ready for beta20.

James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk

My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Post Reply