36-1+1 COP request

This is a forum for discussing the development and testing of alpha MS2/Extra code. Documentation
(Runs on MS2 and Microsquirt)

Moderators: jsmcortina, muythaibxr

Post Reply
Pimp_daddy_Patty
MS/Extra Newbie
Posts: 27
Joined: Wed Apr 27, 2005 12:12 pm
Location: Kitchener, Ontario

Post by Pimp_daddy_Patty »

Is there a possibility that COP could be added to the NGC 26-2+2 code?
'96 DOHC MTX with: '03 SRT-4 + 50 trim
14.7 @ 103 mph WOOT!!! getting better.
UnaClocker
Super MS/Extra'er
Posts: 1933
Joined: Fri May 07, 2004 12:59 pm
Location: Tacoma, WA
Contact:

Post by UnaClocker »

Seems like there should be some way of saying "I'm using this primary wheel" and I have a secondary wheel that looks like this:..... So you can do COP on any wheel if you have a second trigger setup with it.
Maybe that's not do-able..
On a second note.. I put 50 miles on the car today. Starts just fine once it's been started once that day. IAC misbehavior drove me batty, but I'll stop flogging that dead horse. The wheel decoder works GREAT, the car has never run this smoothly on MS2 before. I could not detect any misses at any RPM. Love it.
Brian
'84 Dodge Rampage
jsmcortina
Site Admin
Posts: 39614
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Post by jsmcortina »

UnaClocker wrote:Seems like there should be some way of saying "I'm using this primary wheel" and I have a secondary wheel that looks like this:..... So you can do COP on any wheel if you have a second trigger setup with it.
The uneven main wheels usually have quirky second wheels too, which means they need special code writing. If they utilised a single cam signal then the simple code would have been possible.

On 36-1+1, I don't think that I have the data for the cam signal. If you can find diagrams, please post them. Without that I can't write any 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".
baneonrt
Helpful MS/Extra'er
Posts: 62
Joined: Fri Nov 26, 2004 11:56 pm
Location: West Sacramento, CA

Post by baneonrt »

jsmcortina wrote:
UnaClocker wrote:Seems like there should be some way of saying "I'm using this primary wheel" and I have a secondary wheel that looks like this:..... So you can do COP on any wheel if you have a second trigger setup with it.
The uneven main wheels usually have quirky second wheels too, which means they need special code writing. If they utilised a single cam signal then the simple code would have been possible.

On 36-1+1, I don't think that I have the data for the cam signal. If you can find diagrams, please post them. Without that I can't write any code.

James
Here you go.

http://steve.baneon.org/misc/Megasquirt ... _Crank.jpg

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

Post by jsmcortina »

That looks do-able. The OEM can apparently run the engine even if the the crank or cam sensors fail. To achieve that would be a LOT more work.

How about the 6 and 8 cyl timing diagrams too ?

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".
baneonrt
Helpful MS/Extra'er
Posts: 62
Joined: Fri Nov 26, 2004 11:56 pm
Location: West Sacramento, CA

Post by baneonrt »

jsmcortina wrote:That looks do-able. The OEM can apparently run the engine even if the the crank or cam sensors fail. To achieve that would be a LOT more work.

How about the 6 and 8 cyl timing diagrams too ?

James
That's all I have unfortunately. I'll see if I can track down where I got it.

Steve
Pimp_daddy_Patty
MS/Extra Newbie
Posts: 27
Joined: Wed Apr 27, 2005 12:12 pm
Location: Kitchener, Ontario

Post by Pimp_daddy_Patty »

The 36-1+1 has the same cam signal as the neon motor (to the best of my knowledge)
'96 DOHC MTX with: '03 SRT-4 + 50 trim
14.7 @ 103 mph WOOT!!! getting better.
jsmcortina
Site Admin
Posts: 39614
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Post by jsmcortina »

Pimp_daddy_Patty wrote:The 36-1+1 has the same cam signal as the neon motor (to the best of my knowledge)
Check the diagram above and the 420A/Neon image on the MS2/Extra site. The cam signal is quite different.

If I'm going to do some code work on the 36-1+1 (actually 36-2+2 but I named it wrong) then I'd like to have the V6 and V8 patterns too so I can do it all at once. From the snippet of service manual I have, the patterns are the same across all variants, but the mounting angles of the wheels may be different. This is the information I am lacking.

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".
boost junkie
Master MS/Extra'er
Posts: 802
Joined: Tue May 11, 2004 8:58 am
Location: dallas texas usa
Contact:

Post by boost junkie »

All the info I have: http://megasquirt.texasneons.org/neon_crank/ngc/

There appears to be a 6 cylinder cam signal but its not very detailed. I'll try to find an 8 cylinder...
jsmcortina
Site Admin
Posts: 39614
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Post by jsmcortina »

The 4cyl cam pattern posted yesterday seems to have a totally different concept to the 6cyl one (which looks almost the same as the Subara 6/7 cam pattern ?!)

Could someone take a look at their NGC cam wheel and confirm that the pattern is accurate?

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".
Pimp_daddy_Patty
MS/Extra Newbie
Posts: 27
Joined: Wed Apr 27, 2005 12:12 pm
Location: Kitchener, Ontario

Post by Pimp_daddy_Patty »

I wish I could but I would need a scope to read the signal. The cam sensor is magnet operated.
'96 DOHC MTX with: '03 SRT-4 + 50 trim
14.7 @ 103 mph WOOT!!! getting better.
Pimp_daddy_Patty
MS/Extra Newbie
Posts: 27
Joined: Wed Apr 27, 2005 12:12 pm
Location: Kitchener, Ontario

Post by Pimp_daddy_Patty »

I wish I could but I would need a scope to read the signal. The cam wheel is just a magnet.
'96 DOHC MTX with: '03 SRT-4 + 50 trim
14.7 @ 103 mph WOOT!!! getting better.
UnaClocker
Super MS/Extra'er
Posts: 1933
Joined: Fri May 07, 2004 12:59 pm
Location: Tacoma, WA
Contact:

Post by UnaClocker »

Yeah, if it's anything like the earlier years (and I suspect that at least the design is) there is just a magnet at the end of the cam. No teeth per say.
Brian
'84 Dodge Rampage
Pimp_daddy_Patty
MS/Extra Newbie
Posts: 27
Joined: Wed Apr 27, 2005 12:12 pm
Location: Kitchener, Ontario

Post by Pimp_daddy_Patty »

The magnet and sensor look identical on my 2.0L, '01 2.4 as well as my SRT-4 NGC motor. The cams themselves are physically interchangeable. I spoke about this with a buddy of mine, it would be cool to use Spark C and D as outputs for injectors for sequential injection. I dunno how manageable that would be in the software though.
'96 DOHC MTX with: '03 SRT-4 + 50 trim
14.7 @ 103 mph WOOT!!! getting better.
jsmcortina
Site Admin
Posts: 39614
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Post by jsmcortina »

Using spark C and D for sequential fuel is technically difficult. Jean Belanger is working on code to do sequential using the PWM outputs (and requiring an MS2 card mod.)

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".
Jon k
Super MS/Extra'er
Posts: 1256
Joined: Fri Oct 14, 2005 10:28 am

Post by Jon k »

jsmcortina wrote:Using spark C and D for sequential fuel is technically difficult. Jean Belanger is working on code to do sequential using the PWM outputs (and requiring an MS2 card mod.)

James
How many channels would this offer total?
1992 BMW 525i M50 Non Vanos 24v Turbocharged
Stock COP Wasted Spark
MS2/E v3
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Post by racingmini_mtl »

Jon k wrote:
jsmcortina wrote:Using spark C and D for sequential fuel is technically difficult. Jean Belanger is working on code to do sequential using the PWM outputs (and requiring an MS2 card mod.)

James
How many channels would this offer total?
This will provide 2 additional injector channels for a total of 4 but will remove the PWM capability. This will allow full sequential for up to 4 cylinders and semi-sequential for 6 and 8 cylinders.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
jsmcortina
Site Admin
Posts: 39614
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Post by jsmcortina »

Jon k wrote:
jsmcortina wrote:Using spark C and D for sequential fuel is technically difficult. Jean Belanger is working on code to do sequential using the PWM outputs (and requiring an MS2 card mod.)

James
How many channels would this offer total?
Four. He is (or at least was) planning on using the remaining output compare channels. It would only be possible to go higher if rotary support and possibly all spark support was removed as those features are tied into the remaining timers.
There are eight timers on the chip
TC0 - main tach in
TC1 - injector 1 (hardware output compare)
TC2 - ignition out (bit bang) **
TC3 - injector 2 (hardware output compare)
TC4 - rotary ignition out (bit bang) **
TC5 - second tach in (or EDIS out)
TC6 - dwell (bit bang)
TC7 - rotary dwell (bit bang)

** would need moving or removing to support 4 cyl sequential fuel.

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".
racingmini_mtl
Super MS/Extra'er
Posts: 9130
Joined: Sun May 02, 2004 6:51 am
Location: Quebec, Canada
Contact:

Post by racingmini_mtl »

jsmcortina wrote:
Jon k wrote:
jsmcortina wrote:Using spark C and D for sequential fuel is technically difficult. Jean Belanger is working on code to do sequential using the PWM outputs (and requiring an MS2 card mod.)

James
How many channels would this offer total?
Four. He is (or at least was) planning on using the remaining output compare channels. It would only be possible to go higher if rotary support and possibly all spark support was removed as those features are tied into the remaining timers.
There are eight timers on the chip
TC0 - main tach in
TC1 - injector 1 (hardware output compare)
TC2 - ignition out (bit bang) **
TC3 - injector 2 (hardware output compare)
TC4 - rotary ignition out (bit bang) **
TC5 - second tach in (or EDIS out)
TC6 - dwell (bit bang)
TC7 - rotary dwell (bit bang)

** would need moving or removing to support 4 cyl sequential fuel.

James
The timers have been reconfigured this way:

TC0 - main tach in
TC1 - injector 1 (hardware output compare)
TC2 - rotary dwell (bit bang) OR injector 3 (hardware output compare) *
TC3 - injector 2 (hardware output compare)
TC4 - rotary ignition out (bit bang) OR injector 4 (hardware output compare) *
TC5 - second tach in (or EDIS out)
TC6 - dwell (bit bang)
TC7 - ignition out (bit bang) **

* If sequential mode is selected then the timers are used for the additional channels. If not, they are used for rotary ignition. Sequential mode is not compatible with rotary ignition.

** was moved from TC2 to TC7

I had to move things around to make it possible to use the PWM pins for injector outputs. This also means that rotary ignition cannot be used at the same time as sequential injection.

Jean
jbperf.com Main site . . . . . . . . . . . . . . . . . . . . . . jbperf.com Forum
Image
jsmcortina
Site Admin
Posts: 39614
Joined: Mon May 03, 2004 1:34 am
Location: Birmingham, UK
Contact:

Post by jsmcortina »

Jean's code is a branch of MS2/Extra (3.0) which we branched from the 2.0 code somewhere around June/July? We'll need to cross port the many changes we've made to the 2.0 code since then when we have "finished" with 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".
Post Reply