H-Drive? How could it be?

Discussion in 'Content Creation' started by proudengineer, Feb 27, 2021.

  1. proudengineer

    proudengineer
    Expand Collapse

    Joined:
    Mar 21, 2020
    Messages:
    84
    Dear fellows,

    After releasing some automation mods, i finally decided to build a scratchbuilt abomination in Blender too:D.

    I'll try build an offroader with an "H-Drive" (https://en.wikipedia.org/wiki/H-drive). That means there will be a central transfer case with a three differential gears inside make a power flow from engine to wheels in a H-pattern. This kind of drive pattern has been used in several 20th century military offroad vehicles with all-round independent suspension such as Italian SPA TM.40, Autoblindo Fiat-Ansaldo and derivatives, British Alvis Saracen, Saladin and Stalwart, Dutch DAF YA-126 and many others.

    Here's how the H-Drive works (Image courtesy: http://www.italie1935-45.com/):
    OperaAnlkGrnt_2021-02-27_155740_wwwitalie1935-45com.png
    Power flow from gearbox has splitted into the central differential gear and then splitted again into left and right 1:1 ratio bevel gear sets, and then distributed into each wheels via driveshafts and a final bevel gear set on spindles. As you can see, central differential works like an open and left-right bevel gears work like an always locked or welded diff.

    That means, this kind of transfer case will contain:
    1. One input from gearbox
    2. Four output to driveshafts
    3. Three differentials (one open and two permanently locked)
    The first question, is it possible to simulate this kind of mechanism in the game?
    OperaAnlkGrnt_2021-02-27_173727_wwwitalie1935-45com.png
    And second one is, how should i simulate the on-spindle-bevel gears in the game too?
     
    #1 proudengineer, Feb 27, 2021
    Last edited: Feb 27, 2021
    • Like Like x 2
  2. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,438
    This is really interesting, I'm pretty sure this kind of powertrain would be possible to simulate in the game but a scratch made powertrain would have to be made that is not based on any in-game one obviously. I'm pretty sure you can transfer the drive between any differential, shaft, the gearbox or anything else in the powertrain. I even managed to directly connect the torque converter to the wheel with a driveshaft. I might even test this h-drive out myself and try to see how it behaves in game. The problem could be with the final bevel gears, I'm not sure if this can be simulated, could someone with more experience answer this? If you can add a final drive setting to a shaft, you could use shafts as bevel gears, if not then we have a problem.
     
    • Agree Agree x 2
  3. atv_123

    atv_123
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,711
    This is 100% possible, and, infact, not even difficult. I do basically the same thing with the B1 mod I am helping make right now.... the only difference is that I have the front wheels on a diff and the rear wheels on a diff... you will instead just connect the left wheels on a diff and then connect the right wheels on a diff... job done ;) (or split shafts... depends on what you really want in the end)

    Edit: Ahh... I missed the bit about the hubs... I can throw some code up in here... you will see just how easy it actually is.

    So the B1 is basically a Hummer/Humvee which means it runs geared portal hubs right down at the tires. I could have just combined the ratios right at the diffs... but what fun would that be? So what I did was just make these little geared hubs so that they show up properly on the drivetrain simulation and actually simulate correctly (plus this makes all the driveshaft props turn at realistic speeds as they aren't 1:1 with the tires)

    Code:
    "BrutusB1_F_hubGears_Heavy": {
        "information":{
            "authors":"atv_123",
            "name":"2.17:1 Hub Gears",
            "value":150,
        },
        "slotType" : "BrutusB1_F_hubGears",
        "powertrain" : [
            ["type", "name", "inputName", "inputIndex"]
            //Front Hubs
            ["shaft", "gearHubFL", "fldriveshaft", 1, {"gearRatio": 2.17, "breakTriggerBeam":"axle_FL", "uiName":"Front Left Gear Hub", "friction":2}],
            ["shaft", "gearHubFR", "frdriveshaft", 1, {"gearRatio": 2.17, "breakTriggerBeam":"axle_FR", "uiName":"Front Right Gear Hub", "friction":2}],
        ],
    },
    So you will use almost identical code to this... you will want to make these (with much shorter ratios for your bevel drives) but instead of having a front and rear diff, you will just have a left and right diff that connect front and back drive shafts rather than left and right drive shafts.
     
    #3 atv_123, Feb 27, 2021
    Last edited: Feb 27, 2021
    • Like Like x 5
  4. proudengineer

    proudengineer
    Expand Collapse

    Joined:
    Mar 21, 2020
    Messages:
    84
    Holy smokes... It seems this is just what i needed. I'm so motivated now, thank you so much for it sir. And, I just took a look at B1, so much fascinating project! Loved them!
     
    #4 proudengineer, Feb 27, 2021
    Last edited: Feb 27, 2021
    • Like Like x 4
  5. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,438
    So you CAN add gear ratios to shafts? That's so cool, I'll add it to my mod! That allows me to add a ratio to the Indian Pigeon which has no transmission and no diffs, so really useful!
     
    • Like Like x 4
  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