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

Question Homemade 2 DOF motion simulator

Discussion in 'DIY Motion Simulator Projects' started by Witvrt, Feb 13, 2021.

  1. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi guys,

    I am making my own 2 DOF motion simulator as a school project. I don't have any experience in making a motion simulator, so any help or advice would be nice ;) I have already made my own seat and base to put all the components on.

    upload_2021-2-13_15-43-1.png
    This is the seat I will be using. It can tilt in 2 different positions, so I can sit like in an F1 position or a GT position. ( thanks you Baj on the isrtv.com threat for the inspiration)
    The steering wheel adaptor still need to be added on the seat.

    The seat will be placed on a wooden board which will be connected with an other (floor)plate where the following parts are placed on to control the sim

    The parts that I am using:
    Arduino UNO
    [​IMG]


    2x vnh2sp30 single moto monster driver shield
    upload_2021-2-13_15-35-55.jpeg

    10K linear pot (2X)
    upload_2021-2-13_15-36-42.jpeg

    power supply (AC input: 230V, DC output: 12V 50A)
    upload_2021-2-13_15-37-2.jpeg

    12V DC wiper motors (2X)
    upload_2021-2-13_15-37-24.jpeg

    I have chosen these parts because a lot of other people use them to and I do not want to spend too much money. (My simulator is based on the one Racingmatt (https://www.x-sim.de/forum/viewtopic.php?f=36&t=1617), but I changed the type of seat)
    • Like Like x 4
  2. 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
    Some things that come to Mind, for your consideration:

    Ground isolate the wiper motors: https://www.xsimulator.net/community/faq/wiper-motor-mandatory-ground-isolation.25/

    Test the MMs before use, as clones are often faulty: https://www.xsimulator.net/community/faq/monster-moto-testing-before-use.158/

    Use SimCalc to work out design Vs physics issues, particularly with wiper motors, as they need lots of inherent design leverage: https://www.xsimulator.net/communit...e-linear-speed-and-forces-of-your-design.270/
  3. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Thank u noorbeast for replying to my question, the tips were very helpful :thumbs.
    While I was working on my sim today I was confronted with another problem. When I give the command, R7FL7F, to put the simulator in a horizontal position. One of the motors just keeps jittering when nothing actually has to happen. Is this problem caused by the motor itself or is this because of the potentiometer that doesn't give good feedback?
  4. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,234
    Location:
    Marseille - FRANCE
    Balance:
    20,890Coins
    Ratings:
    +2,083 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    In this case in order to make a diagnostic, you have to swap things:
    if you wire the left motor + pot on the right, is it the same behaviour or pb changed side?
    swap left and right wires on arduino,
    swap the potentiometers, etc...
    but only 1 at a time ;)

    you'll find where is the problem!
    • Like Like x 1
    • Informative Informative x 1
  5. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Indeed! At first I didn't see it but now I do. Thanks for the tip:thumbs!
  6. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,234
    Location:
    Marseille - FRANCE
    Balance:
    20,890Coins
    Ratings:
    +2,083 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    cool, what was your problem? it could be interesting to know for other members
    :)
  7. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi RacingMat,
    I had a busy week, so I didn't have a lot of time to respond.
    I started to swap the wires on my Arduino, one at a time and then I found 1 of the wires on my pot got detached:(. So that would have probably been the issue. Now I fixed this problem, I am going to do some more tests to see if there aren't any problems anymore.
    • Like Like x 1
  8. Виталий

    Виталий Member

    Joined:
    Jan 3, 2021
    Messages:
    47
    Occupation:
    fireman
    Location:
    Ukraine
    Balance:
    217Coins
    Ratings:
    +29 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    Cool trestle bed. :thumbs There are many wooden parts in the construction. How much weight does it have?
    Looks heavy.
    If the driver's seat changes the incline in 2 different positions (lying and sitting), then the center of gravity for one of the positions will definitely change. How are you going to implement this?
    Last edited: Mar 1, 2021
  9. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    The seat weighs about 20kg, so yeah it is quite heavy. For the moment I am only going to use the F1 position. When I sit in this position the center of gravity is exactly above the universal joint. Normally the center of gravity doesn't change that much when I put the seat in the Gt position. That's because the front of the seat is much lighter than the sitting area of the seat.
    But like you said I will probably have to adjust a few things, to make sure the center of gravity is on the exact same positions at all times.
    A good tip can always be very helpful;). And also thanks for replying :).
    • Like Like x 1
  10. mrbeginner

    mrbeginner Active Member Gold Contributor

    Joined:
    Apr 8, 2012
    Messages:
    153
    Occupation:
    What ever come in my way
    Location:
    Finland Niinisalo
    Balance:
    20Coins
    Ratings:
    +55 / 2 / -0
    • Like Like x 2
  11. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi mrbeginner!
    The g-seat concept definitely looks really nice :thumbs. It will certainly be something I want do add to my sim in the future. But for moment I'll stay with my concept. My next step is to make the system work fluently, without any niggles. At the moment the motors aren't always responding in the correct way, when I am using Live for Speed. I'll give you an example to give you a better image. When I turn to left the motors don't react instantly. There is always a little delay before they respond. Aside this issue, they sometimes only respond when I drive over a curbstone. So it's very unclear to me what I should do now.
    (If there is anyone who has encountered this issue before, please let me know :))
  12. 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
    Could you please post pictures of all of your settings.
  13. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    These are the settings I am using. I've put the percentage on 60% for one of the motors, so they would rotate equally. (pwmmax in smc3 utils is 120)
    upload_2021-3-10_19-39-20.png

    upload_2021-3-10_19-39-30.png
  14. 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
    Can you please add a picture of the Tuning Center while the game is running.

    Axis % totals should be around 100% combined, otherwise you risk clipping: https://www.xsimulator.net/community/faq/axis-assignment-percentage-totals.120/

    Grab a copy of the SimTools manual and keep in handy for reference: https://www.xsimulator.net/community/faq/rtfm-start-with-the-official-simtools-documentation.117/

    Then see the motion profile tuning tips here: https://www.xsimulator.net/community/faq/rtfm-start-with-the-official-simtools-documentation.117/

    Keep in mind the smaller the Tuning Center value the snappier the response, but over a more limited range.
    • Like Like x 1
    • Informative Informative x 1
  15. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi noorbeast,
    This is a photo of the tuning center while the game is running.
    upload_2021-3-13_17-12-52.png
    I made some changes in my axis assignment settings. I decided to switch this because the simulator did not respond when I was using pitch and roll. After you said I had posted a picture of the tuning center, I saw there was nothing happening in the tuning center. So after I made these changes everything was working very well. I only need to do some further testing.
    upload_2021-3-13_17-22-19.png

    Thanks for replying:thumbs.
  16. 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
  17. mrbeginner

    mrbeginner Active Member Gold Contributor

    Joined:
    Apr 8, 2012
    Messages:
    153
    Occupation:
    What ever come in my way
    Location:
    Finland Niinisalo
    Balance:
    20Coins
    Ratings:
    +55 / 2 / -0
    have you use SMC3 to adjust motors and if so what kind settings you have put there?
  18. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi mrbeginner,
    Yes I've used SMC3. I just followed the tutorial (https://www.xsimulator.net/communit...3dof-motor-driver-and-windows-utilities.4957/), so I haven't done anything special in my settings.
    These are the numbers that I've changed to setup the motors.
    Kp= 400
    Max inputs= 255
    Clip input = 255
    PWMmax = 120
  19. mrbeginner

    mrbeginner Active Member Gold Contributor

    Joined:
    Apr 8, 2012
    Messages:
    153
    Occupation:
    What ever come in my way
    Location:
    Finland Niinisalo
    Balance:
    20Coins
    Ratings:
    +55 / 2 / -0
    Here are my settings. Its good to test several versions and not settle the first one. I test many versions and forget to put same settings to second motor and after testing i afraid i was broke the motor. But it was only wrong setting. Have you get both motors work? Was the problem in pot?

    Attached Files:

  20. Witvrt

    Witvrt Member

    Joined:
    Nov 29, 2020
    Messages:
    49
    Balance:
    127Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi!
    The issues I encoutered the most were due to a not functioning output of one of the motomonsters. It did happen twice that one of the pot did not work either, but after a lot of testing I finally managed to get everything working properly.