1. 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 Download Package Now!
  2. 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
  3. 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 here. Do not following these rules will lead to permanent exclusion from this website: Read the forum rules.

My 2DOF with stepper motors

Discussion in 'DIY Motion Simulator Projects' started by Lebois, Jun 28, 2019.

  1. thefost

    thefost New Member

    Joined:
    Sep 20, 2019
    Messages:
    9
    Balance:
    50Coins
    Ratings:
    +2 / 0 / -0
    Wow, fantastic work here! Thank you so much for sharing your stepper motor code, I'm seriously interested in using it to try making a gseat, but I'm a complete beginner at everything here on xsimulator. I'm just trying to learn as fast as possible. .
    Could I ask what was your reason for deciding to go with the 350W DC motor for the seatbelt tension instead of another stepper motor?
  2. Lebois

    Lebois (maybe I am wrong, but who knows...) Gold Contributor

    Joined:
    Dec 10, 2018
    Messages:
    65
    Occupation:
    Math teacher
    Location:
    France
    Balance:
    476Coins
    Ratings:
    +27 / 0 / -0
    My Motion Simulator:
    2DOF
    First I bought this motor to build a mmos steering wheel. I did let go this idea. So I had this motor lying around ready to be used...
    Now the main reason you don't want to use a stepper motor to build a seatbelt is the stepper motor won't like to fail to reach a position. Depending on the stepper behaviour it will likely stop moving, go into safe mode, miss steps etc... The DC motor won't care (even if it makes a noise like it doesn't like to not move)...

    On top of that it's not natural to use a stepper... How will you drive it ? The more you brake, further the motor should turn ?
    With the dc motor it's easy, the more you brake, the more current goes into the motor, the more the belt is pulled...

    BTW : the motor is too strong for its purpose... I am not sure but in Simhub we put around 50% power..
    Then in idle state (when you don't brake), there always was around 5% power (through a simple potentiometer) so the belt was auto adjusting, very usefull for the drivers shift. The problem is that IMO you are consumming power all the time... that's not very economic considering we made a 24H race... Next time I will add a spring system to have the auto-adjust feature.
  3. My.stAr

    My.stAr Active Member

    Joined:
    Sep 7, 2012
    Messages:
    151
    Occupation:
    Engineer
    Location:
    Germany
    Balance:
    990Coins
    Ratings:
    +58 / 0 / -0
    My Motion Simulator:
    DC motor
    Hey @Lebois

    Thank you for your input.
    I cannot see a feedback for your seat belt tensioner. How is the setup? Maybe you can help me here.
    My.srAr
  4. Lebois

    Lebois (maybe I am wrong, but who knows...) Gold Contributor

    Joined:
    Dec 10, 2018
    Messages:
    65
    Occupation:
    Math teacher
    Location:
    France
    Balance:
    476Coins
    Ratings:
    +27 / 0 / -0
    My Motion Simulator:
    2DOF
    Hi ! Why do you mean by feedback ? How it goes back in place ?
  5. My.stAr

    My.stAr Active Member

    Joined:
    Sep 7, 2012
    Messages:
    151
    Occupation:
    Engineer
    Location:
    Germany
    Balance:
    990Coins
    Ratings:
    +58 / 0 / -0
    My Motion Simulator:
    DC motor
    I mean how does the Controller know where the Motor is, and how much to turn. Potentiometer, Encoder... such a thing
  6. Lebois

    Lebois (maybe I am wrong, but who knows...) Gold Contributor

    Joined:
    Dec 10, 2018
    Messages:
    65
    Occupation:
    Math teacher
    Location:
    France
    Balance:
    476Coins
    Ratings:
    +27 / 0 / -0
    My Motion Simulator:
    2DOF
    It's driven with torque.

    It doesn't know where the seatbelt is, but it doesn't need to because the seat belt is meant to be already closed to you. When it stops pushing, the seatbelt comes naturally back in place.