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

DIY 2DOF

Discussion in 'DIY Motion Simulator Projects' started by Daguru, Dec 12, 2014.

  1. Daguru

    Daguru Rally drivers do it in the Dirt

    Joined:
    Sep 4, 2013
    Messages:
    719
    Occupation:
    Kitchen installer
    Location:
    Wales uk
    Balance:
    453Coins
    Ratings:
    +632 / 1 / -0
    My Motion Simulator:
    Motion platform
    Hi @Pit thank you for your complement on my rig so far:thumbs
    SMC3 as follows:-
    Kp has been set at 180, 220, 350, 400 and 500
    Ki 0
    Kd 0
    Ks 1
    Pwmmin 0
    Pwmmax 180, 190 and 200
    Pwmrev 0, 180

    It happens quite randomly but within about 3 mins of dirt rally on any stage I try
    And Assetto corsa only tested on monza about the same time frame

    Only using sway 35% surge 35% and heave 30% thus far

    Got a car battery charging and will test with that later

    Cheers
    Dag
  2. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,434Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
    Daguru please do the following or confirm if already tested:

    Begin with PWMmax 120 and Kp 200, raise the value of PWMmax only if the motors did not stop to the next step, eg. PWMmax 130 and Kp 200 etc. If one motor stops, please report the result.
    Then you do this: PWMmax 120 and Kp 200 but you raise Kp instead of PWMmax. If the motor stops (I do not think so) report the result here.

    The test should be done always using the same car and track.
  3. Daguru

    Daguru Rally drivers do it in the Dirt

    Joined:
    Sep 4, 2013
    Messages:
    719
    Occupation:
    Kitchen installer
    Location:
    Wales uk
    Balance:
    453Coins
    Ratings:
    +632 / 1 / -0
    My Motion Simulator:
    Motion platform
    @Pit Thank you will test later tonight and report back
  4. Daguru

    Daguru Rally drivers do it in the Dirt

    Joined:
    Sep 4, 2013
    Messages:
    719
    Occupation:
    Kitchen installer
    Location:
    Wales uk
    Balance:
    453Coins
    Ratings:
    +632 / 1 / -0
    My Motion Simulator:
    Motion platform
    Hi @Pit,

    Thank you Pit this test seems to have me stable so far, the one motor is a bit hotter than the other one so will get some cooling sorted for motors and then continue with the test, so far the results are as follows:-

    PWMmax 120 and Kp 200 passed
    Went up to
    PWMmax 190 and Kp 200 motor stopped and wouldn't move until I quit SimTools and started SMC3utils and then it reset back into start position

    Today I Started the second part of the test and before I could even start the one motor that keeps stopping won't move at all so swapped MM over a bang works well turned PWMmax up to 200 kp to 400 and still works I guess MM was on his way out will order a new one and see.
  5. Pit

    Pit - - - - - - - - - - - - - - - - Gold Contributor

    Joined:
    Oct 2, 2013
    Messages:
    3,012
    Location:
    Switzerland
    Balance:
    30,434Coins
    Ratings:
    +3,089 / 31 / -0
    My Motion Simulator:
    DC motor, Arduino, 6DOF
  6. Daguru

    Daguru Rally drivers do it in the Dirt

    Joined:
    Sep 4, 2013
    Messages:
    719
    Occupation:
    Kitchen installer
    Location:
    Wales uk
    Balance:
    453Coins
    Ratings:
    +632 / 1 / -0
    My Motion Simulator:
    Motion platform
    Hi
    been off the project for a while but need help badly right now,
    I now have 4 MM (did have 5 returned one as it didn't work at all)
    Out of the 4 I have only one that works the motor both directions the others either cut out under load or only work one direction, so about 30mins from me there's a stockist of pololu jrk 12v12 so I went and picked 2 up and now I am getting motor drive errors by the bucket load:(

    There's like a clicking sound from the motor when it errors both in game and when I use the slider in the input tab this happens if I am in the seat or not, settings are as follows

    input.jpg
    feedback.jpg
    PID.jpg

    motor.jpg

    Thanks in advance

    Going to re make the wiring so I have both a setup for MM and JRK so I can try more testing with both I don't mind which setup I use just need good stable system the motion I've had working I cant live without now :grin

    got choice on motors have 2 pairs

    this one has 50:1 gearbox (can swap gearbox over with each motor if needed)
    IMG_2731.JPG

    or this one 60:1 gearbox
    IMG_2732.JPG

    thanks again :)
  7. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,901
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,122Coins
    Ratings:
    +10,857 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    On the feedback tab set the Analog Samples to 512.

    Are you sure the pots are not going out of range, the graph looks like they are not centered.

    What are the actual error messages, you have not shown the error tab?

    What CTC are the motor levers?
  8. Daguru

    Daguru Rally drivers do it in the Dirt

    Joined:
    Sep 4, 2013
    Messages:
    719
    Occupation:
    Kitchen installer
    Location:
    Wales uk
    Balance:
    453Coins
    Ratings:
    +632 / 1 / -0
    My Motion Simulator:
    Motion platform
    @noorbeast

    Feedback has been set at 512 in most of the testing been trying lots of different settings
    Yeah pots have been centred I've clicked detect motor direction and you get a tiny jolt to show they are centred, just before I took screen shots I was re-doing the feedback max and min setting using the learn button and might not have centred it for the pictures

    Error message is motor driver error

    CTC I've tried 70mm and 50mm

    Thank you for helping
  9. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,901
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,122Coins
    Ratings:
    +10,857 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Like Like x 2
    Last edited: May 24, 2015
  10. Daguru

    Daguru Rally drivers do it in the Dirt

    Joined:
    Sep 4, 2013
    Messages:
    719
    Occupation:
    Kitchen installer
    Location:
    Wales uk
    Balance:
    453Coins
    Ratings:
    +632 / 1 / -0
    My Motion Simulator:
    Motion platform
    Thank you @noorbeast :thumbs

    I started from the beginning remade the wiring, followed the link you gave and then checked the balance of the rig, its not a full frame but the balance was off I think because when I first balanced it I did it low to the floor and this made me keep my legs out straight adding more weight to the front, not 100% sure what did the trick but now its working great I am very happy:grin

    hope to get a video up soon of it in action

    Again Thank you all for your help :cheers
    • Winner Winner x 1
  11. SeatTime

    SeatTime Well-Known Member

    Joined:
    Dec 27, 2013
    Messages:
    2,573
    Occupation:
    Retired
    Location:
    Brisbane Australia
    Balance:
    28,370Coins
    Ratings:
    +2,844 / 39 / -0
    My Motion Simulator:
    AC motor, Motion platform
    It looks to be a high speed 5000RPM motor (50:1 at 100 RPM), unfortunately these have been shown to generate a high back EMF when driven hard even from just the armature load (there is a thread somewhere that goes through this) and overload the motor driver. I would recommend you try one of @Pit high current MMs setups (two MMs driving 1 motor) http://www.xsimulator.net/community...bridge-60a-continuous-and-120a-peak-12v.6537/- all you can do on a JRK is turn down the acceleration and duty cycle until it stops.
    • Like Like x 1
  12. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,901
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,122Coins
    Ratings:
    +10,857 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Like Like x 1
  13. Daguru

    Daguru Rally drivers do it in the Dirt

    Joined:
    Sep 4, 2013
    Messages:
    719
    Occupation:
    Kitchen installer
    Location:
    Wales uk
    Balance:
    453Coins
    Ratings:
    +632 / 1 / -0
    My Motion Simulator:
    Motion platform
    Thank you @SeatTime and @noorbeast I will read through those links and run some tests off the info found

    but for now a quick video of the sim in action




    only using sway, surge and heave
  14. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,901
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,122Coins
    Ratings:
    +10,857 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Great to see your rig in action @Daguru, great job :thumbs

    It is a bit hard to tell from the video angle but you may want to tweak heave settings in the Tuning Center. It is not unusual to have to manually set a heave figure of less than 1.
    • Like Like x 1
  15. Daguru

    Daguru Rally drivers do it in the Dirt

    Joined:
    Sep 4, 2013
    Messages:
    719
    Occupation:
    Kitchen installer
    Location:
    Wales uk
    Balance:
    453Coins
    Ratings:
    +632 / 1 / -0
    My Motion Simulator:
    Motion platform
    Thank you @noorbeast I've not touched tuning center yet just got basic profile setup
    Heave is max 1.04685491076608 and min -1.04685491076608 so what would you suggest as I have not read up much on tuning center settings yet.
    Last edited: May 24, 2015
  16. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,901
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,122Coins
    Ratings:
    +10,857 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    The Manual info is here: http://www.xsimulator.net/tuning-centre/

    Here is some information on getting started in tweaking a motion profile with the Tuning Center: http://www.xsimulator.net/community/faq/set-base-tuning-motion-values-in-the-tuning-center.122/

    Once you have the base settings you can manually tweak each axis/force to your liking.

    There is other tweak information in the FAQ section: http://www.xsimulator.net/community/faq/simtools-settings-tips-and-tricks.18/category

    Check out snappy gear changes in the links, which normally needs different Min Max settings.
    • Winner Winner x 1
  17. Daguru

    Daguru Rally drivers do it in the Dirt

    Joined:
    Sep 4, 2013
    Messages:
    719
    Occupation:
    Kitchen installer
    Location:
    Wales uk
    Balance:
    453Coins
    Ratings:
    +632 / 1 / -0
    My Motion Simulator:
    Motion platform
    It's crazy the hours I've spent on this site and still only seen a tiny percent of it lol
    • Agree Agree x 1
    • Funny Funny x 1
  18. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,901
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,122Coins
    Ratings:
    +10,857 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    So many contributions from an incredible number of creative people have made Xsimulator.net a gold mind of DIY motion sim information.
    • Agree Agree x 7
  19. Avenga76

    Avenga76 Well-Known Member

    Joined:
    Jun 29, 2014
    Messages:
    518
    Occupation:
    Network Engineer
    Location:
    Auckland, New Zealand
    Balance:
    3,261Coins
    Ratings:
    +853 / 6 / -0
    My Motion Simulator:
    2DOF, DC motor, JRK
    I have this exact same problem with my 50:1 ratio motors. It seems like motors over around 4,500RPM draw too much current when you try to reverse the direction of the motors.

    Have a read of my build thread and I talk a lot about it. I have some videos of some of the testing I did with the gearbox removed. In the video you can see that the motor driver error only occur when the motor are spinning fast, if you reverse the direction at slow speed they are fine.





    Have a read of my build thread from about here. http://www.xsimulator.net/community...er-gs-4-simvibe-gauges.5596/page-8#post-68644

    In the end I got it going nicely by lowering the duty cycles and adding some brake duration.

    I found that 250 duty cycle and acceleration with a 20ms brake duration gave me very few driver errors, some games have smoother motion so I am able to go up to around 300-350 duty cycles but I would start at 250 then work your way up until you start getting too many motor driver errors.

    Here is a post with more about the brake duration.

    • Informative Informative x 1
  20. Daguru

    Daguru Rally drivers do it in the Dirt

    Joined:
    Sep 4, 2013
    Messages:
    719
    Occupation:
    Kitchen installer
    Location:
    Wales uk
    Balance:
    453Coins
    Ratings:
    +632 / 1 / -0
    My Motion Simulator:
    Motion platform
    @Avenga76 I was reading your thread just as you posted this lol thank you:thumbs