1. Do not share user accounts! Any account that is shared by another person will be blocked and closed. This means: we will close not only the account that is shared, but also the main account of the user who uses another person's account. We have the ability to detect account sharing, so please do not try to cheat the system. This action will take place on 04/18/2023. Read all forum rules.
    Dismiss Notice
  2. For downloading SimTools plugins you need a Download Package. Get it with virtual coins that you receive for forum activity or Buy Download Package - We have a zero Spam tolerance so read our forum rules first.

    Buy Now a Download Plan!
  3. Do not try to cheat our system and do not post an unnecessary amount of useless posts only to earn credits here. We have a zero spam tolerance policy and this will cause a ban of your user account. Otherwise we wish you a pleasant stay here! Read the forum rules
  4. We have a few rules which you need to read and accept before posting anything here! Following these rules will keep the forum clean and your stay pleasant. Do not follow these rules can lead to permanent exclusion from this website: Read the forum rules.
    Are you a company? Read our company rules

Showroom My Second 2DOF+TL Sim with 200W Worm Drives G200-12

Discussion in 'DIY Motion Simulator Projects' started by Sam MAHENDRA, Mar 12, 2020.

  1. Sam MAHENDRA

    Sam MAHENDRA mahentheman

    Joined:
    Jun 24, 2019
    Messages:
    59
    Occupation:
    Electrical Engineer
    Location:
    Sydney Australia
    Balance:
    395Coins
    Ratings:
    +29 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    Oh no, while testing with Assetto Corsa, my Uni joint (just bolted to the base and not welded), gave away. Now back to the drawing board!
  2. Sam MAHENDRA

    Sam MAHENDRA mahentheman

    Joined:
    Jun 24, 2019
    Messages:
    59
    Occupation:
    Electrical Engineer
    Location:
    Sydney Australia
    Balance:
    395Coins
    Ratings:
    +29 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    I have nearly completed but not yet finished my new Motion Sim. I have tried all my games (AC, R3RE, CCD on the PC and FH4 on the Xbox X One). All tuned up and working fine.

    But one thorny issue I have is that during sway, I involuntarily turn the wheel (my Wheel/Pedal do not move with the Seat mover) thus end up loosing control of the car.

    I am seriously thinking of mounting the Wheel/Pedal on a platform welded to the Seat mover. These are the photos of my Motion Sim. 00001NM.jpg 00002NMS.jpg 00003NMS.jpg 00004NMS.jpg
  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,535
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,034Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Sway high enough to result in unintentionally affecting steering, particularly wearing a harness, sounds like the settings for it are excessive. Before messing with other options try reducing the sway axis allocation and lower the TC values a bit.

    It would help if you post pictures of all of your settings and a video that shows the rig motion and game screen at the same time.
    Last edited: Apr 18, 2020
  4. Sam MAHENDRA

    Sam MAHENDRA mahentheman

    Joined:
    Jun 24, 2019
    Messages:
    59
    Occupation:
    Electrical Engineer
    Location:
    Sydney Australia
    Balance:
    395Coins
    Ratings:
    +29 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    @noorbeast , thanks a heap for your suggestion. I will video as advised and post it. Is there a file size limit for uploading big video files?
    • Like Like x 1
  5. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,535
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,034Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  6. Sam MAHENDRA

    Sam MAHENDRA mahentheman

    Joined:
    Jun 24, 2019
    Messages:
    59
    Occupation:
    Electrical Engineer
    Location:
    Sydney Australia
    Balance:
    395Coins
    Ratings:
    +29 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    Mate, thanks for your offer to help me with this problem. It was noted that the Motion Sim skewing happens only when turning right while I deliberately crash the car. Otherwise it's fine.

    This is the status of the Sim after the crash.

    The Motion Sim is skewed towards right; the right-side motor M1 is slightly higher than it’s normal position; but the left-side M2 is at the highest point (hence the Motion Sim being skewed towards right); the TL-motor M3 is at it’s normal position.

    The Motion Sim continues to have motions, but with the skewed position as it’s new “normal” position. It won’t return back to the proper normal position even if the game as well as the SimTools are shutdown or, if the power to the Arduino is turned OFF/ON.

    However, it can be brought back to the normal position by launching SMC3Utils. It works instantaneously. This is my preferred method, or by a fresh downloading of the Arduino code.

    I suspect that the game data from the crash is somehow locked in the Arduino's EEProm.

    Screen capture of the simTools settings along with the Motor M2 positions before and after are attached.

    Video of the game while running and the crash can be found at this YouTube link. Unfortunately, the game screen is hardly visible. I will try again with a screen record app, instead of the phone camera.



    This video shows as to what happens when I reset the Motion Sim back to it’s normal position by launching SMC3Utils.



    It was noted that after fine tuning with the TC, the incident of this happening has been reduced. I will continue to work on the TC and hopefully, get a better outcome.

    Attached Files:

  7. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,535
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,034Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I would suggest going back to basics, turn off all filters and smoothing, then focus on refining a base profile, initially one axis at a time: https://www.xsimulator.net/community/faq/steps-to-create-a-motion-profile.228/

    Sway should lean away from a corner and roll is set opposite, this is what SimTools expects: https://www.xsimulator.net/community/faq/which-way-to-set-simtool-axis-movements.230/

    Here are some traction loss settings tips: https://www.xsimulator.net/community/faq/traction-loss-in-simtools.175/

    You need to configure surge, sway, heave, roll, pitch and traction loss, or you are really missing out on a lot of motion detail. It is important to capture the Max/Min values in the Tuning Center, then refine manually from there.

    I tend to use Assetto Corsa, including a skidpad mod, to do base tuning with, as it is my go to game and I know it so well: https://acmods.net/tracks/skidpad/

    In some ways it takes as much time and effort to master motion profiles as it does to build a rig. Take it slow, do one thing at a time and test, and know that it does get easier with time and practice. When you have a really good base profile you can tweak with filters and if needed smoothing, but leave that to last as it will only complicate refining a good base profile..
    Last edited: Apr 19, 2020
  8. Sam MAHENDRA

    Sam MAHENDRA mahentheman

    Joined:
    Jun 24, 2019
    Messages:
    59
    Occupation:
    Electrical Engineer
    Location:
    Sydney Australia
    Balance:
    395Coins
    Ratings:
    +29 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    Thanks for all the suggestions. I wiped my slate clean and started fresh on SimTools settings with LFS.

    This is my Seat Mover Motor ID.
    Motor ID.JPG
    Axis Assignment.
    LFS AXIX ASIGN.JPG
    Interface.
    LFS IF.JPG
    Virtual Axis Testing.

    Moving the Sway slider right.
    Moving the Sway slider to right causes M2 up, M1 down, Seat tilts right;
    Axis 1a moves right, Axis 2a moves left
    Sway Bar Right.JPG

    Moving the Sway slider left
    Moving the Sway slider to left causes M2 down, M1 up, Seat tilts left;
    Axis 1a moves left, Axis 2a moves right
    Sway Bar Left.JPG

    Moving the Surge slider right
    Moving the Surge slider to right causes M2 & M1 down, Seat to tilts back;
    Axis 1a & Axis 2a moves right
    Surge Bar Right.JPG

    Moving the Surge slider left.
    Moving the Sway slider to left causes M2 down, M1 up, Seat tilts front;
    Axis 1a & Axis 2a moves left
    Surge Bar Left.JPG

    TC capture
    TC-Jerkier.JPG
    This resulted in very jerkier motions. So, I edited and replaced with 100 first, not much motions, then gradually reduced by 10 step by step and finally settled done with 60 etc as below.
    TC-Smooth.JPG

    BUT, I still have that thorny issue of the Seat skewed towards right after I deliberately crash the car!. Only way I can bring back the Seat to it's normal position is by stopping the Game via the Game Manager and launching SMC3Utils or a fresh Arduino download.
  9. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,535
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    145,034Coins
    Ratings:
    +10,776 / 52 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    The crash is possibly pushing it out of range, so you likely need to revisit your SMC3 settings.

    You seem to only have sway and surge configured, which means you are missing out on a lot of motion details. Add heave, roll and pitch and adjust your Axis Allocations. As a starting point try these Axis Allocations: sway 30% surge 25% roll 20% pitch 20% heave 10% TL should be set to Extra1, not sway, 100%

    Axis Allocation Dir settings should have the rig move like this in Output Testing: https://www.xsimulator.net/community/faq/which-way-to-set-simtool-axis-movements.230/

    Then capture Max/Min in TC, drive smoothly using a mid range car at about 80% normal pace and don't hit anything, save the result.

    From that captured base tweak each Axis Allocation and TC individually from there, that should be small adjustments not huge value changes, then when you are happy with them individually turn them all on again and make any final adjustments.

    It is normal to have a bigger Min than Max in the TC, to simulate gearshifts, but not the sort of dramatic values you have.

    Keep in mind the smaller the TC vales the sharper and perhaps more jerky the response, the larger the value the smoother the response over a greater range.
    Last edited: Apr 20, 2020
  10. Sam MAHENDRA

    Sam MAHENDRA mahentheman

    Joined:
    Jun 24, 2019
    Messages:
    59
    Occupation:
    Electrical Engineer
    Location:
    Sydney Australia
    Balance:
    395Coins
    Ratings:
    +29 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    Thanks a heap for your prompt response and suggestions. Certainly, I will follow your advise and include other motion data.

    Now the good news.

    I have managed to get rid of that thorny issue with the Motion Sim Seat skewing towards right after a deliberate car accident. Well, as I suspected with the Arduino EEPROM memory somehow freezing with the accident motion data, I remapped the Arduino sketch (I am using the SMC3.ino) for Motors 1 & 2., as I found this much easier than rewiring.
    M1 L_PWM re-assigned from 9 to 10; M2 L_PWM re-assigned from 10 to 9;
    M1 R_PWM re-assigned from 2 to 4; M2 R+PWM re-assigned from 4 to 2
    M1 R_EN+L_EN re-assigned from 3 to 5; M2 R_EN+L_EN re-assigned from 5 to 3.
    M1 pot re-assigned from A0 to A1; M2 pot re-assigned from A1 to A0.

    Tested this with SMC3Utils and confirmed all worked well.

    On SimTools, re-allocated the DOF1, DOF2/Axis 1a, Axis 2a accordingly.
    LFS AXIS ASIGN_M1_M2_SWAPPED.JPG
    Tested with the Virtual axis with the motors powered up.
    LFS_SWAY_RIGHT_M1_M2_SWAPPED.JPG LFS_SWAY_LEFT__M1_M2_SWAPPED.JPG LFS_SURGE_RIGHT__M1_M2_SWAPPED.JPG LFS_SURGE_LEFT__M1_M2_SWAPPED.JPG
    Carried out game testing with LFS and ran TC.
    Played the game for 15 minutes and deliberately crashed the most powerful car
    BMW Sauber F 1.06. No problem.

    Also tried with AC after re-allocating the Axis and carrying out the TC.
    AC_AX__M1_M2_SWAPPED.JPG AC_TC__M1_M2_SWAPPED.JPG AC_TC__M1_M2_SWAPPED.JPG
    Played AC driving a Ferrari for about 10 minutes, staged few crashes and every thing was ok.

    May be the proverbial Murphy was hiding in the Arduino UNO's EEPROM!!! The Motor swap and downloading the remapped sketch somehow cleared it (Recall that a fresh download of the sketch before reallocating the motor I/O's didn't work).
    • Like Like x 1
  11. Sam MAHENDRA

    Sam MAHENDRA mahentheman

    Joined:
    Jun 24, 2019
    Messages:
    59
    Occupation:
    Electrical Engineer
    Location:
    Sydney Australia
    Balance:
    395Coins
    Ratings:
    +29 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    Thanks for pointing me in the right direction wrt to the SMC3Utils.

    I had a good look at these tuning parameters in the SMC3Util, such as the Clip Input and especially the Max Limits and noted that, if not correctly set, SMC3Utils will automatically shutdown the drivers and keep them disabled until reset, if the motors move beyond these limits, typically through inertia.

    I didn't have this problem with my earlier ElChepo Sim, where I used the car windscreen wiper motors and a very light Cart buggy seat. Not much inertia.

    Whereas in this rig, I am using 200 W motors and a far heavier real car seat. VERY HIGH INERTIA indeed!!

    Now with these revised tuning parameters for SMC3Utils, I am doing well on the LFS, CCD and AC.

    No more skewing of the seat mover.

    I have now gone back to the original version of the Arduino sketch SMC3.ino without swapping the Motors M1 & M2.

    All well that's ends well.
    • Like Like x 2