Page: |
Home > A-Series EFI / Injection > Megasquirt Traction Control | |||||||
6745 Posts Member #: 828 Post Whore uranus |
7th Mar, 2010 at 08:27:55am
so do you mean its need to have a ''rate of change'' to react to rather than a steady difference between front and rear rod ?
Medusa + injection = too much torque for the dyno ..https://youtu.be/qg5o0_tJxYM |
||||||
4314 Posts Member #: 700 Formerly British Open Classic The West Country |
7th Mar, 2010 at 09:09:20am
The other option is to supply the input to the front wheels with a fixed voltage and supply the input to the rear wheels with a sin wave generator. The challenge will be working out what frequency to go for and trying to tell if the MS is retarding the ignition appropriately. Only really any use if you can datalog the input voltages & the ignition timing, even then I think you'd still need to do some intergration which is getting all too hard for a Sunday morning. What you need is an electronics student who's looking for a Uni project to do the maths for you. Isambard Kingdom Brunel said:
Nothing is impossible if you are an Engineer |
||||||
5988 Posts Member #: 2024 Formally Retired Rural Suffolk |
7th Mar, 2010 at 09:47:16am
On 7th Mar, 2010 robert said:
so do you mean its need to have a ''rate of change'' to react to rather than a steady difference between front and rear rod ? It certainly seems that way. His actual words are "The easiest way is to use wheel rpm sensors. Any undriven wheel will provide a valid pickup for Traction as you can assume that it is "driven" by the friction from the corresponding surface. That gives you (symbol mu). For Slip you need both the driven wheel and the undriven wheel (that you already have). So install an rpm pickup on a driven wheel and calcualte slip as per given formula. Now you have slip or lambda how it's called in certain papers. Now you only need their derivates deltamu and deltalambda. On microcontroler systems this is commonly done by a simple subtraction from the last known value and the current value within a known loop time. See the source code for that." Bearing in mind Patrick is German so he's used some phrases slightly different to how I would but I'm fairly certain when he says "now you only need their derivatives" I'm now assuming it driven by dv/dt differences (v being the rotational speed but I can't do the symbol for rads/s in this text editor....). I might be completely wrong but it seems far more responsive lthat way but it's almost impossible to simulate with what I cobbled together so far as I had assumed that I just wanted absolute speed differences. I'll try to find the source code later (his last sentence) and see if it is more obvious but some of his stuff has been removed from the MS-Extra forum while they argue over licencing.... On 7th Mar, 2010 Rob H said:
......... even then I think you'd still need to do some intergration which is getting all too hard for a Sunday morning. What you need is an electronics student who's looking for a Uni project to do the maths for you. The thing is Patrick has obviously done all this, it is just a case of how best to simulate it, or not bothering, having seen enough to believe it will work for real. I have all the parts so I may just take the latter option rather than spend any more time experimenting. It's dead easy to turn it on or off in the MS software and I've come up with a much simpler way of clamping the voltages at 5V so the MS can't come to any harm.... Edited by Rod S on 7th Mar, 2010. Schrödinger's cat - so which one am I ??? |
||||||
8604 Posts Member #: 573 Formerly Axel Podland |
7th Mar, 2010 at 10:15:41am
Well done Rod, great piece of work.
Edited by Paul S on 7th Mar, 2010. Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
|
||||||
9502 Posts Member #: 1023 Post Whore Doncaster, South Yorkshire |
7th Mar, 2010 at 10:31:42am
excellent work guys Yes i moved to the darkside
|
||||||
5988 Posts Member #: 2024 Formally Retired Rural Suffolk |
7th Mar, 2010 at 10:40:09am
On 7th Mar, 2010 Paul S said:
The question that I now have is: if the code looks at the rate of change in speed for the driven and undriven wheels, rather than the actual speed, do we have to be paranoid about using equal numbers of teeth on the front/rear trigger wheels? As long as we selected R1 and C1 values to get them close, surely that would suffice. At the end of the day, whether I'm right or wrong about rate of change rather than absolute difference, the MegaSquirt is only looking at simple 0-5V signals on two analogue inputs. So it's much more a case of making sure the voltages are the same for given equal speeds, the number of teeth to achieve the voltage is irrelevant because, as you say, just choose appropriate R1 and C1 values. However, one thing I did notice when testing all four LM2907 chips on the same square wave input, they all gave slightly different voltages out. As they were all being fed from the same regulated power supply I assume the small differences are down to the tolerance of R1 (5% as standard) and C1 (20% as standard) so once you've calculated the values you need it might be worth buying higher tolerance components. The other way would be to include a trim pot with R1 (low value in series or high value in parallel). Schrödinger's cat - so which one am I ??? |
||||||
6745 Posts Member #: 828 Post Whore uranus |
7th Mar, 2010 at 10:55:17am
ALTENATIVELY ,ACCEPT A SMALL PERCENTAGE EROR IN ALLOWABLE WHEELSPIN ,AND TUNE IT ON THE AMOUNT OF RETARD APPLIED PER (oops sorry caps) rate of change (ROC?)difference front to back ?
Medusa + injection = too much torque for the dyno ..https://youtu.be/qg5o0_tJxYM |
||||||
4314 Posts Member #: 700 Formerly British Open Classic The West Country |
7th Mar, 2010 at 12:03:20pm
Surely if it works on the rate of change in voltage it doesn't matter if one input is giving a slightly higher reading than the other thus negating the effect of the tolerences on R1 and C1. Isambard Kingdom Brunel said:
Nothing is impossible if you are an Engineer |
||||||
5988 Posts Member #: 2024 Formally Retired Rural Suffolk |
7th Mar, 2010 at 12:33:24pm
On 7th Mar, 2010 Rob H said:
Surely if it works on the rate of change in voltage it doesn't matter if one input is giving a slightly higher reading than the other thus negating the effect of the tolerences on R1 and C1. There is another feature with Patrick's code where it monitors for defective sensors. It acts after a certain time and can be switched off - Patrick said on the MS-Extra forum to turn it off for testing - but I can only assume (and I stress this is an assumption at the moment) that it watches the voltages. So, without understanding it better, it would seem sensible to match the voltages as best as possible. The less unknowns you have when trying something new, the better :) Schrödinger's cat - so which one am I ??? |
||||||
8604 Posts Member #: 573 Formerly Axel Podland |
30th Apr, 2010 at 05:53:06pm
Well, the MS Forum thread has been locked because of personal insults !!!
Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
|
||||||
326 Posts Member #: 1323 Senior Member |
30th Apr, 2010 at 08:23:28pm
Just 'sort of' read this thread through
|
||||||
1267 Posts Member #: 831 Post Whore Montreal, Canada |
30th Apr, 2010 at 09:51:45pm
On 30th Apr, 2010 Paul S said:
To me it seems that Patrick (European) has stolen someones thunder and probably upset the mainsteam code writers (Americans). In my opinion, of course. Actually, James Murray (jsmcortina) is English... And he's the main MS1/Extra, MS2/Extra and MS3 code writer (with Ken Culver in the last 2 cases). And in my opinion, Patrick overreacted and didn't even acknowledge the compromise presented. What we need to do is work out how to build the traction control code into the latest 3.0.3t code. There is a make file that can do this, but I'm loathe to start learning how to compile code again.
I'll have a look at it at some point. Jean |
||||||
9502 Posts Member #: 1023 Post Whore Doncaster, South Yorkshire |
30th Apr, 2010 at 10:43:35pm
ive put this to bed for now, but i reality i can be testing my front sensor at this point :) Yes i moved to the darkside
|
||||||
5988 Posts Member #: 2024 Formally Retired Rural Suffolk |
21st Jan, 2011 at 08:50:29pm
Well, it's been a while but Graham, Paul and myself have picked this up again in the last few weeks so thought it worth mentioning that we are making some progress.
Schrödinger's cat - so which one am I ??? |
||||||
1648 Posts Member #: 9038 Post Whore Carlisle, Cumbria |
22nd Jan, 2011 at 10:40:20am
sort of thing i do at work, with PCB's and breadboards and then programming them. Its not to that sort of level though. |
||||||
8604 Posts Member #: 573 Formerly Axel Podland |
23rd Jan, 2011 at 11:07:26am
That's a great bit of work there Rod, very proffessional.
Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
|
||||||
5988 Posts Member #: 2024 Formally Retired Rural Suffolk |
23rd Jan, 2011 at 12:46:07pm
Thanks Paul,
Schrödinger's cat - so which one am I ??? |
||||||
8604 Posts Member #: 573 Formerly Axel Podland |
25th Jan, 2011 at 06:04:51pm
Put like that I have to agree that front and rear "select high" circuits would be best.
Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
|
||||||
12307 Posts Member #: 565 Carlos Fandango Burnham-on-Crouch, Essex |
25th Jan, 2011 at 06:10:17pm
If it helps I'll take one too, dunno if/when i'd get around to using it though. 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/ |
||||||
5988 Posts Member #: 2024 Formally Retired Rural Suffolk |
26th Jan, 2011 at 01:38:51pm
Paul, you're obviously more than welcome but you might want to wait for Mk2 if you ever want to use your original Innovate gear with Jean's IOx board in the future as I've included the RS232 chip and circuitry to do that link on the same PCB (saves space in the case). Or you can have one or more of each type.....
Schrödinger's cat - so which one am I ??? |
||||||
1050 Posts Member #: 764 Post Whore Staffordshire |
26th Jan, 2011 at 02:16:51pm
I was playing with a custom TC system last november using an arduino. But has since got held up with other projects and the release of Black Op's on xbox :) |
||||||
5988 Posts Member #: 2024 Formally Retired Rural Suffolk |
26th Jan, 2011 at 02:39:01pm
On 26th Jan, 2011 Anton said:
I was playing with a custom TC system last november using an arduino. But has since got held up with other projects and the release of Black Op's on xbox :) Interestingly the PCB company that Jean recommended (and I used) does some arduino development stuff too. Not sure what "Black Op's on xbox" is though...... must be from before my time :) Schrödinger's cat - so which one am I ??? |
||||||
8604 Posts Member #: 573 Formerly Axel Podland |
6th May, 2011 at 11:38:56am
Finally got around to fitting the sensor/wheel to the gearbox. Last job before fitting the engine and box together.
Saul Bellow - "A great deal of intelligence can be invested in ignorance when the need for illusion is deep."
|
||||||
9502 Posts Member #: 1023 Post Whore Doncaster, South Yorkshire |
21st Jan, 2012 at 08:39:34pm
On 21st Jan, 2011 Rod S said:
Rod any chance you have another board i could buy? or have you done any updated ones cheers Yes i moved to the darkside
|
||||||
5988 Posts Member #: 2024 Formally Retired Rural Suffolk |
22nd Jan, 2012 at 08:22:28am
Brett,
Schrödinger's cat - so which one am I ??? |
||||||
Home > A-Series EFI / Injection > Megasquirt Traction Control | |||||||
|
Page: |