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.

Son of OpenSimwheel - An Experiment

Discussion in 'DIY peripherals' started by RufusDufus, Sep 28, 2015.

  1. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    13,482Coins
    Ratings:
    +947 / 7 / -1
    @Evad, If I can get things working with this stepper I plan to move on to a 13Nm NEMA 34 as well. :grin
  2. sikjar

    sikjar Xiao Nie

    Joined:
    Nov 10, 2014
    Messages:
    24
    Occupation:
    Translator
    Location:
    China
    Balance:
    576Coins
    Ratings:
    +37 / 0 / -0
    My Motion Simulator:
    Arduino
    I have just bought this driver, hope to give it a try this weekend. Will update you on the results
  3. Evad

    Evad New Member

    Joined:
    Nov 23, 2015
    Messages:
    5
    Location:
    Netherlands
    Balance:
    33Coins
    Ratings:
    +2 / 1 / -0
    My Motion Simulator:
    2DOF, Arduino
    @RufusDufus . Having a hard time figuring out how to read the pwm signal from Mmos and pass that on to the stepper driver
    • Optimistic Optimistic x 1
  4. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    13,482Coins
    Ratings:
    +947 / 7 / -1
    Here is a progress update...



    I am getting some bad oscillation when the torque is zero or changing from one direction to the other. Need to sort that out but results are still looking more and more promising.

    ps: I am just using keyboard for accel, brake, etc. at the moment.
    • Like Like x 3
    • Informative Informative x 1
  5. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    13,482Coins
    Ratings:
    +947 / 7 / -1
    The PWM output is proportional to the torque that you need to generate at the wheel. So you need to setup a torque feedback loop driver for the motor that sets the torque based on the PWM signal. This is the part I am experimenting with at the moment.
  6. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    13,482Coins
    Ratings:
    +947 / 7 / -1
    The motor I hope to move on to once the baby motor/driver works properly...

    IMG_0113.JPG IMG_0114.JPG
    • Like Like x 8
  7. Evad

    Evad New Member

    Joined:
    Nov 23, 2015
    Messages:
    5
    Location:
    Netherlands
    Balance:
    33Coins
    Ratings:
    +2 / 1 / -0
    My Motion Simulator:
    2DOF, Arduino
    @RufusDufus That looks great. Thans for explaning the PWM signals. Trying to implement that
  8. haroldjames

    haroldjames Active Member Gold Contributor

    Joined:
    Dec 8, 2014
    Messages:
    98
    Occupation:
    Electronic Tech
    Location:
    Ontario Canada
    Balance:
    - 305Coins
    Ratings:
    +51 / 2 / -0
    My Motion Simulator:
    3DOF, SCN5, SCN6
    This is a very interesting project you have taken on. Im looking forward to see the final results. Keep up the good work.
    • Like Like x 1
    • Agree Agree x 1
  9. Darkhanbaatar

    Darkhanbaatar New Member

    Joined:
    Dec 15, 2013
    Messages:
    20
    Balance:
    - 78Coins
    Ratings:
    +5 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 4DOF
    Hello, it is very nice, me too making FFB steering wheel my steering wheel completed but FFB didn't completed, i need your code pls sent me Arduino code

    Attached Files:

    • Creative Creative x 1
    Last edited: Apr 24, 2016
  10. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    13,482Coins
    Ratings:
    +947 / 7 / -1
    I've been getting the odd PM every now and then asking about progress so here is what I have been replying...

    It's not possible using stepper controllers "off the shelf". I had made modifications to the internal controller hardware and developed specific software to drive the motor.

    I am still progressing however it is slow as I buy parts through china ebay and it takes ages every time I change design waiting for new parts.

    The testing so far has indicated that modifying existing controllers does not produce the best results so I have opted to design my own stepper controller specifically for the task. Unfortunately I blew the drivers in the first design and am now waiting again for more parts.

    I am not releasing any code while in early development, sorry to those that have asked.
    • Like Like x 1
    • Informative Informative x 1
  11. little.survivor

    little.survivor New Member

    Joined:
    Jun 9, 2016
    Messages:
    2
    Location:
    Wonosobo, Indonesia
    Balance:
    128Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    Arduino
    hai, Rufus..
    I am very interested with your project, build a low cost DD wheel is very amazing .. :thumbs
    I hope you can finish your project, because many people who want to feel the DD wheel but did not have more money..
    Great Job

    Sory for my bad english, my english score is very poor :grin
    • Agree Agree x 1
  12. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    13,482Coins
    Ratings:
    +947 / 7 / -1
    Yes, progress is being made. Here is an update video of some tests running at about 6Nm. You can hear some winding noise from the motor, that is what I'm working on at the moment.

    • Like Like x 11
    • Creative Creative x 1
  13. little.survivor

    little.survivor New Member

    Joined:
    Jun 9, 2016
    Messages:
    2
    Location:
    Wonosobo, Indonesia
    Balance:
    128Coins
    Ratings:
    +1 / 0 / -0
    My Motion Simulator:
    Arduino
    woah, its nice, i see ur progress..
    do u have any problem with that project?
  14. NjMotion

    NjMotion Active Member Gold Contributor

    Joined:
    Dec 29, 2012
    Messages:
    267
    Location:
    España
    Balance:
    1,666Coins
    Ratings:
    +239 / 4 / -0
    My Motion Simulator:
    2DOF, DC motor, 6DOF
    Very good!!!
    This project is progressing well.
    Great job.
  15. csrealsimracer

    csrealsimracer New Member

    Joined:
    Jan 29, 2016
    Messages:
    25
    Location:
    china
    Balance:
    246Coins
    Ratings:
    +13 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform
    I read a book on the stepper motor ,it said three phase RM type stepper motor has less noise due to its has no three hamonic when driving
    • Informative Informative x 1
    Last edited: Jun 11, 2016
  16. fzxj520

    fzxj520 Member

    Joined:
    May 14, 2015
    Messages:
    104
    Location:
    SimTools is a generic Motion Simulator
    Balance:
    869Coins
    Ratings:
    +70 / 1 / -0
    My Motion Simulator:
    2DOF
    Update exciting
  17. ferslash

    ferslash Active Member

    Joined:
    Feb 8, 2011
    Messages:
    488
    Balance:
    4,690Coins
    Ratings:
    +176 / 2 / -0
    rufus, that video yo posted is using the off the shelf driver or a driver you made for your design?

    nice project

    fer
  18. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    13,482Coins
    Ratings:
    +947 / 7 / -1
    It uses a custom designed stepper motor controller and the MMos/STM32DISCO as the pc interface. I am making some final changes to the circuit and ordering parts and production pcbs to make a small qty. When complete I will post a message for anyone interested in buying one. Probably around AU$200+shipping.
    • Like Like x 2
    • Informative Informative x 1
  19. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    13,482Coins
    Ratings:
    +947 / 7 / -1
    I have estimated the whole wheel cost to be approx AU$500 (barring all the failed attempts). This is just for the wheel without shifters or pedals or wheel buttons.
    • Like Like x 1
  20. vicente34

    vicente34 New Member

    Joined:
    Oct 31, 2013
    Messages:
    25
    Balance:
    23Coins
    Ratings:
    +15 / 0 / -0
    My Motion Simulator:
    2DOF
    Awesome.
    Really it would be an economic alternative to OSW when finished.
    Very good work.