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

New User Project

Discussion in 'DIY Motion Simulator Projects' started by Bruce, Jul 4, 2016.

  1. Bruce

    Bruce CM Security

    Joined:
    Jul 2, 2016
    Messages:
    67
    Occupation:
    Security Tech
    Location:
    townsville
    Balance:
    718Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    2DOF
    Here is the way i have wired it up

    Attached Files:

  2. insanegr

    insanegr !N$@n€

    Joined:
    Jan 14, 2014
    Messages:
    504
    Location:
    Athens
    Balance:
    16,718Coins
    Ratings:
    +499 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    @Bruce he is using the MM for one motor that's why he is testing it like that.
  3. Bruce

    Bruce CM Security

    Joined:
    Jul 2, 2016
    Messages:
    67
    Occupation:
    Security Tech
    Location:
    townsville
    Balance:
    718Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    2DOF
    Ok cool thank you for clearing that up, i am thinking my MM are just cheap crap ones
  4. RufusDufus

    RufusDufus Well-Known Member

    Joined:
    Jul 21, 2013
    Messages:
    681
    Location:
    Adelaide Australia
    Balance:
    15,914Coins
    Ratings:
    +1,016 / 10 / -1
    Looks correct to me. If you are turning the pot by hand the motor will turn in one direction when the green line is above the blue line and the other way when the green line is below the blue line on SMC chart.
    • Informative Informative x 1
  5. Bruce

    Bruce CM Security

    Joined:
    Jul 2, 2016
    Messages:
    67
    Occupation:
    Security Tech
    Location:
    townsville
    Balance:
    718Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    2DOF
    Yes Rufus, everything is fine until i connect the motors then it is very jumpy, and notchy.
  6. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,082
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,174Coins
    Ratings:
    +10,889 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I am using JRKs, Hall sensors and HP server PSUs with Motion Dynamic motors.
  7. bruce stephen

    bruce stephen Hammer doesnt fix it, must be electrical

    Joined:
    Jun 7, 2015
    Messages:
    1,286
    Occupation:
    general contractor
    Location:
    michigan
    Balance:
    9,112Coins
    Ratings:
    +1,238 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    all my monsters are cheap Chinese clones/copies. There are some bad ones out there though. Check out @SilentChill 6dof for monster testing info. Did you adjust the pid settings this can create a lot of problems.
  8. bruce stephen

    bruce stephen Hammer doesnt fix it, must be electrical

    Joined:
    Jun 7, 2015
    Messages:
    1,286
    Occupation:
    general contractor
    Location:
    michigan
    Balance:
    9,112Coins
    Ratings:
    +1,238 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
  9. BrassEm

    BrassEm G-Seat + SFX100 Builder Gold Contributor

    Joined:
    Apr 15, 2015
    Messages:
    121
    Location:
    NE of YMML
    Balance:
    1,016Coins
    Ratings:
    +47 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, 4DOF
    Got the motor today (Excellent shipping service MD!), but not the MM's. I just need to rig up a feedback pot and all should be good to go. Damn that motor is beast! It's a shame I can't squeeze them into my rig or else it really would become an ejection seat.

    I've looked at SMC3 and it is directly compatible to my existing setup so I should be able to get stuck into testing over the weekend.
  10. Bruce

    Bruce CM Security

    Joined:
    Jul 2, 2016
    Messages:
    67
    Occupation:
    Security Tech
    Location:
    townsville
    Balance:
    718Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    2DOF
    Cool looking forward to your results, i also have ordered a mm form the same company you did. should be here next week as well.
  11. Bruce

    Bruce CM Security

    Joined:
    Jul 2, 2016
    Messages:
    67
    Occupation:
    Security Tech
    Location:
    townsville
    Balance:
    718Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    2DOF
    let me know what pot you use to test with
  12. BrassEm

    BrassEm G-Seat + SFX100 Builder Gold Contributor

    Joined:
    Apr 15, 2015
    Messages:
    121
    Location:
    NE of YMML
    Balance:
    1,016Coins
    Ratings:
    +47 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, 4DOF
    No problems at all starting up SMC3. Excellent software Rufus!

    @Bruce
    After a bit of testing I think I've got some values for you that you may be able to work with. I've used a different controller board but the values should be close. The tuning is not perfect but okay for this purpose. I am using an Elechouse 50A motor controller board. I will connect the MM when I get it and compare results. The pots I am using are Bourns cermet 10K steel shaft pots from Element14. http://au.rs-online.com/web/p/potentiometers/7377650/

    [​IMG]

    [​IMG]

    I hope this gets you up and running. If not and you are still having problems then we will have to wait for the MM boards to test. (I will be throwing them on this test rig to verify the quality of them anyway!)

    P.S. I've just discovered that PWM Min Max values are binary = 255, not percent. So you could up the PWMmax a fair bit to give the motor a heap more power.
    P.P.S. I've just read that the VNH3SP30-E only takes up to 10KHz PWM frequency, So you may need to drop the Fpwm back to 10KHz or less for better power performance.
    • Friendly Friendly x 1
    Last edited: Sep 3, 2016
  13. bruce stephen

    bruce stephen Hammer doesnt fix it, must be electrical

    Joined:
    Jun 7, 2015
    Messages:
    1,286
    Occupation:
    general contractor
    Location:
    michigan
    Balance:
    9,112Coins
    Ratings:
    +1,238 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    Monsters run on the vnh2sp30, not the 3sp30. Also I see 30khz for the frequency, as I understand 25 is the max for arduino uno. How did you come up with this number? Why is your pwm reverse number so much higher than your pwm max?
  14. RacingMat

    RacingMat Well-Known Member Gold Contributor

    Joined:
    Feb 22, 2013
    Messages:
    2,236
    Location:
    Marseille - FRANCE
    Balance:
    20,967Coins
    Ratings:
    +2,089 / 21 / -2
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Hello,

    nice project!Sorry, I have been away from keyboard for 3 weeks... and notice only now your tag

    you have to investigate from where your oscillations are coming from (because the code itself works fine for many people ;))
    be systematic, rigorous and methodic!

    it could be as weird as faulty Motomonster (swap left and right), motor itself (swap left and right), Power Supply too weak, unshielded wires, faulty potentiometers
    is it happening without being connected to Simtools?

    You are experimenting same behaviour with SCM3? in this case, it's hardware problem...
    • Agree Agree x 1
  15. Bruce

    Bruce CM Security

    Joined:
    Jul 2, 2016
    Messages:
    67
    Occupation:
    Security Tech
    Location:
    townsville
    Balance:
    718Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    2DOF
    RacingMat, The problem i am having is not from your code, i am trying to isolate the problem and i have think i have found the issue with low quality Moto Monster boards. I have ordered a new one from a better supplier and will test that. I will keep you guys updated with the outcome.
    Also would like to add thank you to everyone who has replied to this post to help me find my issue. THANK YOU.
    • Friendly Friendly x 1
  16. BrassEm

    BrassEm G-Seat + SFX100 Builder Gold Contributor

    Joined:
    Apr 15, 2015
    Messages:
    121
    Location:
    NE of YMML
    Balance:
    1,016Coins
    Ratings:
    +47 / 0 / -0
    My Motion Simulator:
    DC motor, AC motor, 4DOF
    I was able to do some tests with the MM boards I recieved. They test okay. More noisier than the elechouse boards. Gains very different though. This was a ball park setup. I hope the board you recieved fixed the problem.

    [​IMG]
  17. bruce stephen

    bruce stephen Hammer doesnt fix it, must be electrical

    Joined:
    Jun 7, 2015
    Messages:
    1,286
    Occupation:
    general contractor
    Location:
    michigan
    Balance:
    9,112Coins
    Ratings:
    +1,238 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    Kp 90 and pwmmax 95 fpwm10khz, are you just throwing random numbers into your setup. Please explain how you came up with these? Do these work well with your motor under load? Kp 90 just seems very low that's lower than what I've seen guys run wipers at. How does the frequency at 10 help? I moved mine around from 15 to 20 to 25 it didn't seem to make much of a difference tho.
    Last edited: Sep 13, 2016