MEGAsquirt A place to collectively sort out this megasquirt gizmo

Dual VSS Inputs

Thread Tools
 
Search this Thread
 
Old 04-30-2018, 11:21 PM
  #61  
Senior Member
iTrader: (1)
 
Bronson M's Avatar
 
Join Date: Feb 2015
Posts: 1,104
Total Cats: 217
Default

Successfully? maybe......I was able to track my signal quality issues to the GM ignition module being flaky at high frequencies. Grabbed a dual VR board and I was in good shape.

I didn't have a lot of time to tune the traction control strategies before the event but my initial setup seems to be working well. Our current auto-x lot is small, bumpy, and has a very loose surface. It's almost a rally-x course honestly. Combine that with a turbo setup that can easily spin the tires into 2nd gear it was a hot mess. At these low speeds I was able to pretty much stab the throttle and drive the car out of the corners, acceleration would increase as I unwound the wheel and the back end of the car stayed in check. It was a very surreal experience honestly. I would have liked to experiment with increasing the allowable slip angle, if anything it might have been a little conservative. I still need to get some decent data logs to really see how the car reacted but below is a screen shot of my settings and the routine in action on a launch.






The pay off was that I was able to FTD at my regional event. If you listen carefully you can hear the spark cut coming out of the corners.

I'm going to keep tweaking the TC and see if I can make it better. I'll also slap some skinny tires on it or wait for rain to see how it does at higher speeds. I also need to log some tight turns to see if I'm getting the TC engaged prematurely or too early.
Bronson M is offline  
Old 04-30-2018, 11:36 PM
  #62  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

I found that I could get it to work at lower power levels and in the rain, but at full power if I got wheel slip it would blow through the spark retard, and spark cut is really violent and cuts boost.

I really want rolling fuel cut like the race logic box
aidandj is offline  
Old 05-01-2018, 04:41 AM
  #63  
Senior Member
iTrader: (1)
 
Bronson M's Avatar
 
Join Date: Feb 2015
Posts: 1,104
Total Cats: 217
Default

That's strange you were seeing boost loss in spark cut, that's how antilag works, by putting unburned fuel into the exhaust it lights off in the manifold and spins up the turbo. If you watch the video you'll see the boost hang out at 10psi while TC is active and then spike up to my max of 14psi. (Bottom right on tablet) Would you mind posting your settings? Be interested to see how they differ from my setup.
Bronson M is offline  
Old 05-01-2018, 09:18 AM
  #64  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

I'll try and get them later. At 20psi I think I'd see it drop to 10 psi or so, a but it's been a while.
aidandj is offline  
Old 05-01-2018, 07:55 PM
  #65  
Junior Member
 
PatCleary's Avatar
 
Join Date: Dec 2014
Location: Boston, MA
Posts: 196
Total Cats: 14
Default

Any thoughts on doing it as a stand alone TCS board? I’d be concerned about pulling spark without the ECU knowing what’s going on, but the risks of a missed injection cycle seem relatively minor. Will a Megasquirt lose it’s mind? Monitoring 4 VR sensors at 100+ and acting on that seems reasonable to put on its own board.
PatCleary is offline  
Old 05-01-2018, 08:09 PM
  #66  
Elite Member
iTrader: (1)
 
Leafy's Avatar
 
Join Date: Jun 2012
Location: NH
Posts: 9,479
Total Cats: 104
Default

Originally Posted by PatCleary
Any thoughts on doing it as a stand alone TCS board? I’d be concerned about pulling spark without the ECU knowing what’s going on, but the risks of a missed injection cycle seem relatively minor. Will a Megasquirt lose it’s mind? Monitoring 4 VR sensors at 100+ and acting on that seems reasonable to put on its own board.
I have that exact setup sitting in my junk drawer. I realized it would be way easier to just mod the firmware of the MS to do it. Still disappointed the latest released firmware doesnt have the source released like 8 months later. But I finished the hardware. 3 VR conditioner chips to get all 4 wheels and crank speed and a spare and 4 normally closed type mosfetts. I wasnt sure how to sync the fuel cuts with the ecu so it didnt cut part of a injection cycle, and then got lazy and busy.
Leafy is offline  
Old 05-01-2018, 08:32 PM
  #67  
SADFab Destructive Testing Engineer
Thread Starter
iTrader: (5)
 
aidandj's Avatar
 
Join Date: Apr 2014
Location: Beaverton, USA
Posts: 18,642
Total Cats: 1,866
Default

Originally Posted by PatCleary
Any thoughts on doing it as a stand alone TCS board? I’d be concerned about pulling spark without the ECU knowing what’s going on, but the risks of a missed injection cycle seem relatively minor. Will a Megasquirt lose it’s mind? Monitoring 4 VR sensors at 100+ and acting on that seems reasonable to put on its own board.
That's what a race logic box does.
aidandj is offline  
Old 05-01-2018, 10:17 PM
  #68  
Junior Member
 
PatCleary's Avatar
 
Join Date: Dec 2014
Location: Boston, MA
Posts: 196
Total Cats: 14
Default

I assumed as much. Wasn’t sure if the race logic box used t feed back to the ECU. Leafy, isn’t it just an and function between spark cut and injector pulse?
PatCleary is offline  
Old 05-02-2018, 03:27 PM
  #69  
Junior Member
 
PatCleary's Avatar
 
Join Date: Dec 2014
Location: Boston, MA
Posts: 196
Total Cats: 14
Default

Also, these guys may fill in the hole RaceLogic left.

RaceTCS - Racing Traction Control System
PatCleary is offline  
Old 05-02-2018, 03:43 PM
  #70  
Elite Member
iTrader: (4)
 
psyber_0ptix's Avatar
 
Join Date: Mar 2012
Location: Northern VA
Posts: 4,648
Total Cats: 544
Default

Originally Posted by PatCleary
Also, these guys may fill in the hole RaceLogic left.

RaceTCS - Racing Traction Control System
It seems they cut injector instead of spark.
psyber_0ptix is offline  
Old 05-02-2018, 08:21 PM
  #71  
Junior Member
 
PatCleary's Avatar
 
Join Date: Dec 2014
Location: Boston, MA
Posts: 196
Total Cats: 14
Default

Yeah, which is what Leafy and Aiden are talking about wanting. Cutting spark will give you unburnt fuel being dumped into the exhaust, which isn’t awesome. Especially with a turbo.
PatCleary is offline  
Old 05-03-2018, 07:36 PM
  #72  
Elite Member
iTrader: (1)
 
Leafy's Avatar
 
Join Date: Jun 2012
Location: NH
Posts: 9,479
Total Cats: 104
Default

Cutting fuel is what you want to do. Its much better for the motor and the power delivery. And you want the cylinders cut to roll through the bank. I really think the way forward for all of us is to just use VR converters to get all 4 wheel speed sensors into the MS via digital inputs and run with custom firmware. Its going to be mildly annoying having to be at least 1 revision of the firmware behind and also have to only share our programs via code snippets that need to be copied and pasted into the code and then compiled but its better than any other ecu.
Leafy is offline  
Old 05-03-2018, 07:40 PM
  #73  
Senior Member
iTrader: (1)
 
Bronson M's Avatar
 
Join Date: Feb 2015
Posts: 1,104
Total Cats: 217
Default

I get that spark cut is hard on hot side parts, but I find it to be smooth on power delivery. It's a progressive strategy that's tunable, the car never felt like it hit a rev limiter. I may be one launch away from burnt valves but it's worked for me.
Bronson M is offline  
Old 05-23-2018, 07:45 AM
  #74  
Junior Member
 
jonboy's Avatar
 
Join Date: Aug 2006
Location: UK
Posts: 191
Total Cats: 27
Default

Originally Posted by jonboy
I used this (very simple) circuit with my Adaptronic to read 2x ABS speed sensors via digital inputs:


I've not got as far as connecting it up to my MS3 to see it the MS will also read it OK though..
As an update to this - with the ABS sensors connected up via the above circuit, I can read speeds on the MS3, with a gotcha:



As soon as VSS1_ms goes over about 87 (raw VSS about 196), then VSS2 craps out. VSS1 is connected to PE2 Flex, VSS2 is connected to Datalog In. Is the sample rate of Datalog In lower, hence the drop outs about a certain number of pulses/second?
jonboy is offline  
Old 05-26-2018, 06:48 AM
  #75  
Senior Member
iTrader: (1)
 
Bronson M's Avatar
 
Join Date: Feb 2015
Posts: 1,104
Total Cats: 217
Default

Yes, some inputs have a lower sample rate.... I'm too hungover to remember which inputs are high speed at the moment.
Bronson M is offline  
Old 05-26-2018, 02:41 PM
  #76  
Junior Member
 
jonboy's Avatar
 
Join Date: Aug 2006
Location: UK
Posts: 191
Total Cats: 27
Default

Doing some searching, it seems that some inputs are limited to approx 200Hz sample rate...

The other free options I have as digital inputs on the ECU are PT2, Tableswitch, Nitrous In, or a few of the ADC inputs, but I can't find out if these have higher sample rates or not. PT4 seems to be the one that a lot of people use, but I don't think it's built on the MSLabs basic MS3. Annoyingly, it actually has an onboard conditioner for an ABS sensor, but I can't tell what input it is (it's wired direct to one of the pins on the MS3 daughterboard), I can't find the pin list for the MS3 anywhere and Reverent's not answering his mails at the moment...
jonboy is offline  
Old 05-26-2018, 03:10 PM
  #77  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

Send a pic of the board as I don't have any specific notes about which input this custom build used. My guess is that if VSS1 is on PE1, this one will be on PE0.

Rant. It gets slightly irritating when I I answer PMs and email for used units (I count 13 in this case) and the moment I don't answer one message or mail (and with no courtesy of a reminder - "could you please take a look at my previous email and reply when you have the time?"), I get publically called out. /rant.
Reverant is offline  
Old 05-26-2018, 03:44 PM
  #78  
Junior Member
 
jonboy's Avatar
 
Join Date: Aug 2006
Location: UK
Posts: 191
Total Cats: 27
Default

Sorry - my comment wasn't mean as a dig at you, apologies if it came across like that!

I'll take a pic of the board tomorrow and mail it to you...
jonboy is offline  
Old 05-26-2018, 03:49 PM
  #79  
Elite Member
iTrader: (10)
 
Reverant's Avatar
 
Join Date: Jun 2006
Location: Athens, Greece
Posts: 5,977
Total Cats: 355
Default

Try PE0 and PE1 before that.
Reverant is offline  
Old 07-14-2018, 03:41 PM
  #80  
Senior Member
iTrader: (1)
 
Bronson M's Avatar
 
Join Date: Feb 2015
Posts: 1,104
Total Cats: 217
Default

Did some more testing this morning before the next auto-x tomorrow, man this traction control stuff is neat. I'm pretty happy with the spark cut as the 3rd line of defense. Dumb video I shot to test out the new mic setup and also capture the TC in action. The instances where I'm turning and on the gas I'm just flat footing it and letting the TC keep me out of the ditch. Also flat to the floor on the launch.


Here's a screen shot of the log, this is the launch. You can see the rear tires get up to 15mph and just hang out there while the fronts catch up .
Bronson M is offline  


Quick Reply: Dual VSS Inputs



All times are GMT -4. The time now is 10:06 AM.