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 output arm shake problem

Discussion in 'SimTools DIY Version' started by yangsqr, May 11, 2020.

  1. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,897
    Location:
    London
    Balance:
    11,610Coins
    Ratings:
    +458 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    set pmw min to zero
    set pwm max to 255
    set pwmrev to 255
  2. yangsqr

    yangsqr Member

    Joined:
    Feb 2, 2019
    Messages:
    43
    Balance:
    - 22Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Please take a look:
    IMG_1265.JPG
  3. MarkusB

    MarkusB Well-Known Member Gold Contributor

    Joined:
    Jun 30, 2015
    Messages:
    552
    Location:
    Germany
    Balance:
    4,212Coins
    Ratings:
    +594 / 2 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    Well, it looked better before.

    But each rig is very unique and needs individual settings. So just play with the parameters and check which combination works best for you.

    The link provided by @noorbeast is very helpful for getting a basic understanding.
    • Like Like x 2
  4. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    1,897
    Location:
    London
    Balance:
    11,610Coins
    Ratings:
    +458 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    it is pretty good

    set
    P = 400
    I = 1

    see what happens
  5. yondwangmms

    yondwangmms Member

    Joined:
    Feb 14, 2018
    Messages:
    40
    Balance:
    - 152Coins
    Ratings:
    +2 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    Different motors need different PID settings! I'll send you my settings for your reference.
    kp=200
    ki=1
    kd=300
    ks=80
    pwmmin=5
    pwmmax=200
    pwmrev=200
    deadzone=1
  6. Captain Jack

    Captain Jack Member

    Joined:
    Nov 20, 2021
    Messages:
    37
    Balance:
    - 26Coins
    Ratings:
    +40 / 1 / -0
    My Motion Simulator:
    2DOF, Arduino
    pwmmax is basically how much power you want to use. Setting it to 255 means that your motors can run up to 100% power. If you leave it at 200, you are using up to 80% of motor power.

    Some pwmmin may help, I found that 20 is a sweet spot with wiper motors on my rig. I'm also running 255 pwmmax to use all of the available power.
    • Informative Informative x 1