Results 1 to 8 of 8

Thread: My Project: Software based ECS controller and Centrafuse plugin

  1. #1
    I don't own a VR4! Not Verified
    Join Date
    Sep 2010
    Owner Since
    2007

    Location
    Andover, MN
    Posts
    529
    Blog Entries
    1
    Thanks
    3
    Thanked 19 Times in 17 Posts

    My Project: Software based ECS controller and Centrafuse plugin

    Ok here's the story:

    I took a look at duke3k's setup with his custom controller to control and run self-test diagnostics on his existing ECS struts. I am taking it a step further, but I am also simplifying things quite a bit.

    First, I will outline what the scope of the project is going to be:

    ECS Servo motor control will be done with an Arduino Mega 2560.
    The same Self Test abilities will be available similarly like duke3k's setup, except it will be software based.
    The front end software will be compatible with Windows distributions to start, then I plan to expand it for use with Centrafuse, a CarPC software front-end.

    Other functionality:
    G-Force readings based on X/Y axis on an accelerometer
    Dampening force readings based on Y axis on accelerometers on all of the struts

    Future functionality:
    integration with OBD1/OBD2 readings and displaying that data in addition

    The Arduino boards are very easy to program and require very little memory. They are rudimentary and have a very large community for coding. I chose the arduino because I wanted a common programming language platform and I also wanted an easy to use programming method.

    The accomplishments so far:

    I have written the code for the ECS Self-Test on the arduino board, the next step is to gather user input via serial for setting values in rotational degrees. I am working with a 180 degree servo at the moment, however it will not require any additional coding when I switch over to the ECS servos, as I will only need to provide the "safe" values in degrees for the strut adjustments. I also do not have an accelerometer at the moment, but I will need to calculate the raw values of the accelerometer data to provide a meaningful data statistic for the user to see (forces in Gs). Once I come up with all of the solutions to the problem, I will then be able to build the front-end program to send and receive data to the arduino board via USB serial and dedicated serial channels.

    I will keep you guys posted on the progress. So far, it has been positive, other than accidentally swapping positive and negative wires and frying the bluetooth interface I just bought today!

    Stay posted!
    Last edited by Boost4VR4; 12-24-2012 at 04:14 AM.
    Your 1993 Dodge Stealth is one of 6351 that received VIN numbers. Based on the order of the serial numbers, your car was the 5212nd out of the 6351 that were made that year.
    Your car was built in the 3rd week of February 1993. Of the 47380 vehicles made at the Nayoga plant, your car was the 40537th vehicle to be created that year.
    There are 281 other cars that were made with both the same interior and exterior color. There are 779 cars with the same exterior color and 2316 cars with the same interior color.
    Note: The production order is assigned based on the order of the serial number.

  2. #2
    Member Not Verified
    Join Date
    Sep 2010
    Owner Since
    10-23-08

    Location
    Appalachian Paradise
    Posts
    164
    Thanks
    7
    Thanked 1 Time in 1 Post
    This sounds like an amazing project. Subscribed for updates!

  3. #3
    Twin Turbo verified
    Join Date
    Sep 2010
    Owner Since
    2007

    Location
    Melbourne, Australia
    Posts
    2,123
    Thanks
    76
    Thanked 91 Times in 75 Posts
    Interesting project. I would just be happy to have mine working in stock forms though has never worked since owning the car.

    Sent from my GT-I9300 using Tapatalk 2
    1990 JDM GTO TT with Vi-PEC plug-in V44 EMS, TD04-13T's, 3SX Downpipe, MP Hi-flow cat, ARC SMIC's, Aeromotive Stealth 340LPH pump, Fuelab 515 FPR, Ninja Performance 75amp hotwire kit, oohnoo fuel loop & rail adapters, Nylon braided ethanol fuel line, NGK AFX Wideband, K&N FIPK, Iridium plugs, HKS Twin Power DLI, Turbo XS racing BOV, 3SX poly mounts, Custom 280km/h speedo.

    Waiting install
    Injector Dynamics 725cc Injectors.

    Build Thread

  4. #4
    I'm Marcus
    Join Date
    Sep 2010
    Owner Since
    '98

    Location
    Denver Colorado
    Posts
    98
    Thanks
    14
    Thanked 49 Times in 28 Posts
    Hey BoostVR4 ,

    Sounds like a nice and ambitious project.....you've got some cool ideas in there that have been pondered in various flavors in my project as well that I choose not to pursue - so it will be interesting to see how yours progresses.

    One thing to be aware of before you get too far - is it looks like your starting to prototype your ECS controller using servo motors, but one thing you should look into a little more is the actual motor control your going to need for the OEM ECS struts (and their internals). They are not servo's - per se. They do not have any concept of rotational degrees or control positions that you would expect for a traditional servo.

    As note - my software dev environment is Arduino based as well - I use the Arduino IDE to do the coding. I just fabbed my own custom PCB board into a single custom board design so it would be more reliable / smaller and easier to assemble. I'm using the Atmel ATMega 328 microprocessor @ 16mhz.

    The number of lines of C-code for the current version of my controller is 1445 lines of code - including comments of course.

    Duke
    Last edited by duke3k; 12-26-2012 at 03:24 PM.

    Favorite Car - A 1998 RED VR4 , pretty much stock except: Suspension: '94 ECS Struts Retrofit w/ Tein H-Techs controlled by TechWorks ECS Suspension Controller

    www.renegadetechworks.com Open Source 3000gt ECS Retrofit & Replacement Controllers

  5. #5
    I don't own a VR4! Not Verified
    Join Date
    Sep 2010
    Owner Since
    2007

    Location
    Andover, MN
    Posts
    529
    Blog Entries
    1
    Thanks
    3
    Thanked 19 Times in 17 Posts
    Quote Originally Posted by duke3k View Post
    Hey BoostVR4 ,

    Sounds like a nice and ambitious project.....you've got some cool ideas in there that have been pondered in various flavors in my project as well that I choose not to pursue - so it will be interesting to see how yours progresses.

    One thing to be aware of before you get too far - is it looks like your starting to prototype your ECS controller using servo motors, but one thing you should look into a little more is the actual motor control your going to need for the OEM ECS struts (and their internals). They are not servo's - per se. They do not have any concept of rotational degrees or control positions that you would expect for a traditional servo.

    As note - my software dev environment is Arduino based as well - I use the Arduino IDE to do the coding. I just fabbed my own custom PCB board into a single custom board design so it would be more reliable / smaller and easier to assemble. I'm using the Atmel ATMega 328 microprocessor @ 16mhz.

    The number of lines of C-code for the current version of my controller is 1445 lines of code - including comments of course.

    Duke

    Well let me pick your brain about this because I am under the impression that the motors in the struts are servos? Can you enlighten me?
    Last edited by Boost4VR4; 12-26-2012 at 09:27 PM.

  6. #6
    Never finishes any verified

    Join Date
    Sep 2010
    Owner Since
    2001

    Location
    Wake Forest, NC
    Posts
    2,518
    Thanks
    51
    Thanked 197 Times in 140 Posts
    Nope not servos. Just plain DC motors. The two micro switches in the struts are the only thing that account for it's positioning.

    Three positions total Hard - Medium - Soft:
    1: ON
    1&2: ON
    2: ON

    Self check is done by testing out that each switch responds back within a certain amount of time. If not it throws a code.

    Also realize that the G-Force sensor is not X/Y axis. it is a single axis sensor Y-axis. The stock system uses a calculation based off of speed and steering angle sensor to find the X-Axis or roll. The higher the speed and sharper the turn, the system will harden the struts on the steer in side. G-Force sensor is used to calculate squat and nose dive from hitting the brakes and stomping on the gas.

    Check it out on Youtube!!


    93 Stealth TT - The Stealth Project

    Renegade Tech Works ECS Controller on Intrax Springs
    Chrome ECU
    Hybrid 13g's
    EVO 560cc Injectors
    Spec Stage 3 clutch
    Ninja Performance Output shaft & Input spool
    Ninja Performance Solid Tensioner & Gates racing T-Belt
    CX Racing Dual Core FMIC
    Megan SS Exhaust
    Fidanza Cam Gears and Clear Covers
    3rd Gen Lifters
    HKS BOV
    K&N FIPK
    Maximal High flow converter
    Walbro FP & FuelLab FPR
    Maximal and Seattle Solid Mounts
    All -6an Lines
    Custom -6AN coolant neck lines
    AWS/ABS/Cruise Delete
    MP Rear Control Arms
    SS Brake Lines
    99 Front Conversion
    2nd gen Rear Bumper
    99 Combat Wing
    Complete interior LED Swap
    Skillard Fuel channel
    Oohnoo FPR Bracket
    .
    .
    More to Come......

  7. #7
    Member Not Verified
    Join Date
    Sep 2010
    Owner Since
    10-23-08

    Location
    Appalachian Paradise
    Posts
    164
    Thanks
    7
    Thanked 1 Time in 1 Post
    Quote Originally Posted by DrGonzo View Post
    Nope not servos. Just plain DC motors. The two micro switches in the struts are the only thing that account for it's positioning.

    Three positions total Hard - Medium - Soft:
    1: ON
    1&2: ON
    2: ON

    Self check is done by testing out that each switch responds back within a certain amount of time. If not it throws a code.

    Also realize that the G-Force sensor is not X/Y axis. it is a single axis sensor Y-axis. The stock system uses a calculation based off of speed and steering angle sensor to find the X-Axis or roll. The higher the speed and sharper the turn, the system will harden the struts on the steer in side. G-Force sensor is used to calculate squat and nose dive from hitting the brakes and stomping on the gas.
    Greg, you're one of those people that post, and I instantly think aloud, "That dude is too damn smart."

  8. #8
    Never finishes any verified

    Join Date
    Sep 2010
    Owner Since
    2001

    Location
    Wake Forest, NC
    Posts
    2,518
    Thanks
    51
    Thanked 197 Times in 140 Posts
    Quote Originally Posted by Blue91SL View Post
    Greg, you're one of those people that post, and I instantly think aloud, "That dude is too damn smart."
    That's cause I only post when I have relevant information regarding the topic or I know what I'm talking about. That way I always sound smart...LOL

    In this case I worked with Duke some time ago in figuring out how the stock system works. I also built the first ECS strut tester which I will be making a write-up about soon. Just need to find the time to get all my thought and information together.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
The 3000GT/Stealth/GTO Web History Project
3000gt.com
3000GT / Stealth International WWWboard Archive
Jim's (RED3KGT) Reststop
3000GT/Stealth/GTO Information and Resources
Team 3S
3000GT / Stealth / GTO Information
daveblack.net
3000GT/Stealth/GTO Clubs and Groups
Michigan 3S
MInnesota 3S
Wisconsin 3S
Iowa, Nebraska, Kansas 3S
North California 3000GT/Stealth
United Society of 3S Owners
3000GT/Stealth/GTO Forums
3000GT/Stealth International
3000GT/Stealth/GTO Event Pages
3S National Gathering
East Coast Gathering
Upper Mid-West Gathering
Blue Ridge Gathering