Unsolved DSE Traction System

Discussion in 'Mod Support' started by mythakreep, Feb 15, 2024.

  1. mythakreep

    mythakreep
    Expand Collapse

    Joined:
    Mar 11, 2023
    Messages:
    90
    Hello everyone, basically, I've got a question: How would I go about making an Electronically Locking Differential System (DSE)? Essentially, this means that, for example, if your car is front-wheel drive (FWD) and the right front wheel starts to slip, the system applies brakes ONLY to that specific wheel to stop it from slipping. This is not traction control because traction control reduces power, but this system only applies brakes to a specific wheel that's slipping. Additionally, it can apply the brakes to more than one wheel if there's slip.

    And also regarding a center torsen differential, it's supposed to provide a 67/33 split, but the closest I've gotten is just giving more power to the wheels with more grip. However, for example, when you're on ice, it reduces power for all wheels, which isn't ideal.

    im quite horrible at lua overall
     
  2. default0.0player

    default0.0player
    Expand Collapse

    Joined:
    Nov 30, 2018
    Messages:
    2,069
    Assume your Traction Control is working properly i.e. reducing throttle on slippery surface and not doing this when switched off.

    Add this to your front differential(not DSE) jbeam
    Code:
        "controller": [
            ["fileName"],
            ["drivingDynamics/actuators/electronicDiffLock" {"name":"lockFront", "differentialName":"differential", "brakingPIDkP":0.005, "brakingPIDkI":0.005, "avDiffThreshold":10}]
        ],
    Change the :lockFront" to "lockRear" on the rear differential

    For torsen differential, I'm pretty sure that's intended since it's not possible to get a 100/0 torque distribution on slippery, if not, there's the jbeam code for reference
    Code:
        "powertrain" : [
            ["type", "name", "inputName", "inputIndex"],
            ["differential", "transfercase", "gearbox", 1, {"diffType":"lsd", "primaryOutputID":1, "diffTorqueSplit":0.67 "lsdPreload":10, "lsdLockCoef":0.3, "lsdRevLockCoef":0.3, "friction":0.35, "dynamicFriction":0.00039, "torqueLossCoef":0.012, "uiName":"Center Differential","defaultVirtualInertia":0.1,"speedLimitCoef":0.0}],
        ],
     
    #2 default0.0player, Feb 22, 2024
    Last edited: Feb 22, 2024
    • Like Like x 1
  3. mythakreep

    mythakreep
    Expand Collapse

    Joined:
    Mar 11, 2023
    Messages:
    90
    Hey this is what my torsen center differential looks currently:

    ["differential", "transfercase", "gearbox", 1, {"diffType":"lsd", "lsdPreload":0, "lsdLockCoef":0.42, "lsdRevLockCoef":0.42, "diffTorqueSplit":0.5, "friction":10, "dynamicFriction":0.001, "torqueLossCoef": 0.015, "uiName":"Quattro Diff", "defaultVirtualInertia":0.25}],

    and its not really a center diff but rather a transfer case
     
  4. ProgUn1corn

    ProgUn1corn
    Expand Collapse

    Joined:
    Apr 29, 2020
    Messages:
    23
    Hi, I guess there's something OP didn't clarify enough. Actually from what I've read the 67/33 thing is not default torque split bias, it means the maximum torque difference it can do when slipping is 67/33 or 33/67. I guess it should be "diffTorqueSplit":0.5, and play with the lsdLockCoef to see when it will have the 33/67 or 67/33 split maximum.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice