Donations towards server fund so far this month.

 
£0.00 / £100.00 per month
Page:
Home > MS Trials & Testing > Bench testing the siamese code *** Updated code

TurboDave16V
Forum Mod

10979 Posts
Member #: 17
***16***

SouthPark, Colorado

I've already made a 3" pole wheel and mounted it on a mardave ministox issue 540. Just need to wire in a speed controller now.

On 17th Nov, 2014 Tom Fenton said:
Sorry to say My Herpes are no better


Ready to feel Ancient ??? This is 26 years old as of 2022 https://youtu.be/YQQokcoOzeY



RogerM

User Avatar

2514 Posts
Member #: 1217
I like nice quiet girly Minis

Cheltenham, Gloucestershire

Jean,

what is the resolution of the code so I can make sure I choose a scope to "borrow" that will be up to the task.

Every day is a school day ...........

How fast and how expensive ...... the same question...

On 27th of Sep, 2007 at 12:45pm Jimster said:

why do you you think I got a girlfriend with small hands?


jbelanger

1267 Posts
Member #: 831
Post Whore

Montreal, Canada

On 12th of Feb, 2007 at 10:29am AlexF2003 said:
I have used a sound card 36-1 signal generator but its use was limited as to change engine speed you had to load a diffrenent MP3 file. I'd be very interested in your microcontroller!

What I'm using is this: http://www.freescale.com/webapp/sps/site/p...e=M68DKIT912C32
mainly because I already had it for other projects and it's the same processor as the early MS2.

The code is based on an early version of MS2 and has been written by James Murray (MS1 and MS2/extra author). At the moment, it's not much more practical than your sound card solution but I intend to change that when I have the time.

If you're starting from scratch, the cheapest and most versatile solution is probably what Roger and Dave have suggested: a small motor with a speed controller. One thing to be careful about with motor is that they can generate electrical noise. But they can easily allow fast speed changes which can make some test easier.

Jean

http://www.jbperf.com/


jbelanger

1267 Posts
Member #: 831
Post Whore

Montreal, Canada

On 12th of Feb, 2007 at 04:03pm RogerM said:
Jean,

what is the resolution of the code so I can make sure I choose a scope to "borrow" that will be up to the task.

Roger,

The code computes the timing angle with a 0.1 degree of resolution and the timer has a clock frequency of 1.5MHz (2/3 us resolution).

The current code doesn't fully take advantage of this but I will change that soon so that it will be very close to that. By the way, 0.1 degree at 9000 RPM is about 1.85us.

Jean

http://www.jbperf.com/


jbelanger

1267 Posts
Member #: 831
Post Whore

Montreal, Canada

I've updated the code to correct the small timing inaccuracy I mentioned in the first post. I have checked that the timing is now precise for any timing angle regardless of the proximity of a wheel tooth trigger. Timing accuracy will be affected by rapidly varying RPMs but I can't test it at the moment.

I'm still limited in my testing due to my makeshift PC sound card scope. So if anyone is ready for testing let me know.

Jean

http://www.jbperf.com/


RogerM

User Avatar

2514 Posts
Member #: 1217
I like nice quiet girly Minis

Cheltenham, Gloucestershire

Jean,

I will be in touch however I'm am having a bit of a family crissis at the moment which obviously has to be resolved first.

Supressing electrical motors is easy enough on a tidy instalation.

Every day is a school day ...........

How fast and how expensive ...... the same question...

On 27th of Sep, 2007 at 12:45pm Jimster said:

why do you you think I got a girlfriend with small hands?


Daniel

User Avatar

88 Posts
Member #: 720
Advanced Member

Gloucestershire

Jean - I will get back onto this definitely and test in exactly the same way as your last version.

Everything is still setup except that my ecu's are back in the car (I'm running MSnSE for ign and MS2 for fuelling).

MOT is due again so I can't take the car off the road before then..

Maybe I should build up my spare MS2 V3.0 -there's an idea.

When I'm in a position to get stuck in I'll let you know. Sorry it couldn't be sooner, just bad timing...


jbelanger

1267 Posts
Member #: 831
Post Whore

Montreal, Canada

Roger,

Please do take care of the family crisis. That's the important stuff. I'll be here when you're ready.

Dan,

No problem. At one point I was the one on the other side of the bad timing. Whenever you have time.


I'm still working on the code and adding a few things that will make it easier to tune. Once I have those in, I'll leave it as is and wait for some testing to be done to see where to go from there.

I also will look at merging the code with the first stable release of MS2/extra when it comes out so that the siamese code is part of the mainstream code. That will make it easier for everyone to benefit from any enhancement to the MS2/extra code

Jean

http://www.jbperf.com/


Paul S

User Avatar

8604 Posts
Member #: 573
Formerly Axel

Podland

Jean,

Are you able to add the additional features to Megatune so that we can fine tune without re-compliling?

Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
Stephen Hawking - "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."


jbelanger

1267 Posts
Member #: 831
Post Whore

Montreal, Canada

Axel,

Yes all the features are completely visible and tunable in Megatune. I have made an ini file for the siamese code.

The first version only has the timing table which is different from the standard MS2/extra but the one I'm working on right now adds a few more parameters to be able to do mid-pulse timing, end-of-pulse timing, and fixed timing (single timing value instead of the table).

Jean

http://www.jbperf.com/


jbelanger

1267 Posts
Member #: 831
Post Whore

Montreal, Canada

Sorry, double post

Edited by jbelanger on 17th Feb, 2007.

http://www.jbperf.com/


evolotion

User Avatar

2909 Posts
Member #: 83
Post Whore

Glasgow, Scotland

megatune can have the extra features added by a simple .ini file, so i imagine any versions of megatune will work straight off with the code, even if it is not part of the mainstream code jsut yet. all it would require is a modified ini file.

sorry posted at same time! :)

Edited by evolotion on 17th Feb, 2007.

turbo 16v k-series 11.9@118.9 :)

Denis O'Brien.


Paul S

User Avatar

8604 Posts
Member #: 573
Formerly Axel

Podland

On 17th of Feb, 2007 at 05:22pm jbelanger said:
Axel,

Yes all the features are completely visible and tunable in Megatune. I have made an ini file for the siamese code.

The first version only has the timing table which is different from the standard MS2/extra but the one I'm working on right now adds a few more parameters to be able to do mid-pulse timing, end-of-pulse timing, and fixed timing (single timing value instead of the table).

Jean


Great stuff.

Would you recommend actually trialing this on a car at this stage?

Edited by Paul S on 17th Feb, 2007.

Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
Stephen Hawking - "The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge."


Joe C

User Avatar

12307 Posts
Member #: 565
Carlos Fandango

Burnham-on-Crouch, Essex




On 17th of Feb, 2007 at 05:04pm jbelanger said:


I also will look at merging the code with the first stable release of MS2/extra when it comes out so that the siamese code is part of the mainstream code. That will make it easier for everyone to benefit from any enhancement to the MS2/extra code

Jean


That's good news, means i'll eventually e able to run the same code on both my cars.

Also i am assuming this siamese code will work in a similar manner on the B series?

Plus (going even further O/T) this could end up popular in the eastern block as the rear engined skoda is another 5 port, although there was a factory 8 port too.

On 28th Aug, 2011 Kean said:
At the risk of being sigged...

Joe, do you have a photo of your tool?



http://www.turbominis.co.uk/forums/index.p...9064&lastpost=1

https://joe1977.imgbb.com/



jbelanger

1267 Posts
Member #: 831
Post Whore

Montreal, Canada

On 17th of Feb, 2007 at 05:42pm Axel said:
Would you recommend actually trialing this on a car at this stage?

I would not really recommend it for now because it has seen very little bench testing. If something goes wrong on the bench, you just turn off the power to the ECU and look for the cause. On a car, the consequences could be much worse.

Jean

http://www.jbperf.com/


jbelanger

1267 Posts
Member #: 831
Post Whore

Montreal, Canada

On 17th of Feb, 2007 at 09:05pm mini13 said:



On 17th of Feb, 2007 at 05:04pm jbelanger said:


I also will look at merging the code with the first stable release of MS2/extra when it comes out so that the siamese code is part of the mainstream code. That will make it easier for everyone to benefit from any enhancement to the MS2/extra code

Jean


That's good news, means i'll eventually e able to run the same code on both my cars.

That's one of the reason I want the code to be merged. It makes it easier for everyone and it also increases the visibility for the code.

On 17th of Feb, 2007 at 09:05pm mini13 said:
Also i am assuming this siamese code will work in a similar manner on the B series?

Plus (going even further O/T) this could end up popular in the eastern block as the rear engined skoda is another 5 port, although there was a factory 8 port too.

Any siamese-port 4-cylinder engine with 180 degrees between the cylinder pairs will benefit from the code. I'm not familiar with them but I read that some VW air-cooled engines also have siamese-ports with the same issue.

Jean

http://www.jbperf.com/


RogerM

User Avatar

2514 Posts
Member #: 1217
I like nice quiet girly Minis

Cheltenham, Gloucestershire

Jean,

Well things are now on the road to a resolution. Sorry I have been quiet for a few days.

Right, I have spoken with a few people, some from thsi forum and some who have facilities that may prove useful although they personally have no intrest in the work.

I have had a few other thoughs but I must admit that over the past week it's been far from a priority.

I agree that running the code in a car at this time might at best prove to be problematic and at wrose hazardous! The ideal solution would be to prove the fuctionality on the bench then validate the operation of the engine on a dyno. Not a 5 minute job but shouldn't be a nightmare either and does look possible.

I'll let you know when I am ina position to help move things forward.

What I will say is I think this piece of work has to be kept open source and to the benifit of all and it must end up being the intelectual property of the community rather than that of a specific company otherwise I can see it actually not being availalbe to the very people who have provided the motivation to move it forward. I am sure that you get my drift!!!!!

For that reason I will treat you as the "point of contact" for any ideas relating to the code, unless you don't agree that is.

Jean, thanks again for putting all the hard work into this code. If you PM your e-mail addy maybe I can arrange for the code to be checked on some very speciallised simulation equipment I have at my dispossal as that might be easier to trouble shoot than a real instalation.

Every day is a school day ...........

How fast and how expensive ...... the same question...

On 27th of Sep, 2007 at 12:45pm Jimster said:

why do you you think I got a girlfriend with small hands?


RogerM

User Avatar

2514 Posts
Member #: 1217
I like nice quiet girly Minis

Cheltenham, Gloucestershire

Alex2003, I have just read my previous question to you again and just want to make it clear I was not questioning your professional approach or the standard of your work. When I read it back it seemed a little more negative than I intended and for that I appologise.

I appreciate your response and that makes perfect sense to me. I must admit that I produce the signals synthetically and capture the resultant output via a national instruments data aquisition card because I have one. If I didn't I am sure I'd be using a sound card "scope" and signal generation via the parrallel port.

For the benifit of all those reading this thread I'd like to point out that although I have done no business with Alex as yet the conversation we have had proved he is both knowledgable, helpful and the sort of bloke I would recomend to others and I in no way meant to come across in any other way.

Every day is a school day ...........

How fast and how expensive ...... the same question...

On 27th of Sep, 2007 at 12:45pm Jimster said:

why do you you think I got a girlfriend with small hands?


jbelanger

1267 Posts
Member #: 831
Post Whore

Montreal, Canada

I have been busy with the code (in between all the weird stuff that's been going on here :) ) and I have a new version of the code which does the additional things I was mentioning a few posts above namely: mid-pulse timing, end-of-pulse timing, and fixed timing.

These are working on the bench. I think that the most useful feature is the mid-pulse timing. That's the way I think we'll be able to best use the injection window to the fullest.

Jean

http://www.jbperf.com/


RogerM

User Avatar

2514 Posts
Member #: 1217
I like nice quiet girly Minis

Cheltenham, Gloucestershire

Jean, I tink you may be right but it'd be very interesting to look at end-of-pulse timing too.

Every day is a school day ...........

How fast and how expensive ...... the same question...

On 27th of Sep, 2007 at 12:45pm Jimster said:

why do you you think I got a girlfriend with small hands?


jbelanger

1267 Posts
Member #: 831
Post Whore

Montreal, Canada

Roger, I agree. That would probably be my second choice and it actually might be my first because it's probably a bit quicker to tune. I still think that mid-pulse will be more tolerant of varying conditions and will make for a flatter timing table.

In any case, I think that both of these will turn out better than start-of-pulse timing. They were just a bit more trouble to implement from a coding point-of-view.

By the way, if you have comments or suggestions about naming conventions please let me know. I used the terms start-of-pulse, mid-pulse, and end-of-pulse because they make sense to me.

Jean

http://www.jbperf.com/


dhaines

User Avatar

10 Posts
Member #: 1539
Member

Denver, Colorado

Jean, this is Darren (aka elvisthepizzaman from mm boards), I decided to jump over here and do my ignition/injection q&a.

Hows the code coming? Who is working on the bench testing? TurboDave?

Id be helping testing but no funds to spare right now for the MS setup

"sorry, Jedi mind tricks don't work on retards" Mediocre Films 2008


jbelanger

1267 Posts
Member #: 831
Post Whore

Montreal, Canada

Hi Darren,

Welcome to the forum.

At the moment, I'm the only one who has been bench testing the code but a few people (including Dave) are waiting for their Megasquirt to arrive.

As for the code, it's on hold until I have more feedback on the current version. I'm waiting for a replacement for my scope which should arrive soon to do more detailed testing myself.

I think the current version has enough features for testing on an engine once the bugs are found and corrected on the bench. There is also the next step of having the siamese code incorporated into the mainstream MS2/extra code which will happen once the first beta version is out. This will have the advantage of being able to benefit from any improvement and correction as they are being done.

Jean

http://www.jbperf.com/


TurboDave16V
Forum Mod

10979 Posts
Member #: 17
***16***

SouthPark, Colorado

my MS arrived yesterday :)

Just got to build the bugger now!

On 17th Nov, 2014 Tom Fenton said:
Sorry to say My Herpes are no better


Ready to feel Ancient ??? This is 26 years old as of 2022 https://youtu.be/YQQokcoOzeY



jbelanger

1267 Posts
Member #: 831
Post Whore

Montreal, Canada

So go heat up that solder iron and get busy!!!
*happy* *happy* *happy*

http://www.jbperf.com/

Home > MS Trials & Testing > Bench testing the siamese code *** Updated code
Users viewing this thread: none. (+ 1 Guests) <- Prev   Next ->
To post messages you must be logged in!
Username: Password:
Page: