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 Different SMC3 Ki values for each direction of the motor ( G-seat )

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by Qlittles, May 4, 2020.

  1. Qlittles

    Qlittles Active Member

    Joined:
    Sep 27, 2017
    Messages:
    119
    Location:
    Union City, California, USA
    Balance:
    226Coins
    Ratings:
    +65 / 4 / -0
    My Motion Simulator:
    2DOF, Arduino
    Hello everyone,

    I'm tuning my G-seat, and am running into a problem with the motor settings. I imagine that most people who have used motors rather than servos have faced this problem.

    As you may know, when the bottom flaps of the G-seat go up, there is a lot of weight on it, but when it goes down, there is no resistance (or negative resistance, rather).

    If I increase the power of the motor so that the bottom flap (yellow) will reach the ideal line (blue) in SMC3, the motor has no problem pushing my body up. However, if I do this, the motor arm oscillates when the flap goes down because too much power is applied when there is no resistance. If I decrease the power of the motor so that it doesn't oscillate when going down, the flap doesn't reach the ideal line when it goes up, and I lose detail and force.

    I have tried adjusting the Kp, Ki, Ks, and PWMmin, but I don't think the problem is with tuning these settings, because there is an obvious physics problem.

    I'm wondering if it's possible to have different Ki value for each direction of the motor, as that is a solution to the problem. For example, can the Ki be set to "10" only when the motor arm goes up (and "0" when going down)? I'm not a coder, so I don't know if this is even possible.

    Or is the only option to change something physically so that the motor's negative value does not affect movement?

    What has been other's solutions to this problem?

    It's interesting because I switched to wiper motors/ worm-gear motors from servos because I wanted to have enough power, but I am facing a problem that servos don't have.

    Thank you for your help!
  2. BlazinH

    BlazinH Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    2,145
    Location:
    Oklahoma City, USA
    Balance:
    16,574Coins
    Ratings:
    +1,831 / 32 / -1
    Its possible but it should be done with the proportional value since it has the most influence and then use integral only if needed. If "P" and your weight is enough for a flap to keep up with the set point as it drops then the" I" term will stay near zero anyway and won't really do much.

    On worm gears motors vs RC servos the obvious difference is gearing. Unfortunately while high friction work gear motors are nice for their self-locking properties they can cause oscillate when power eventually overcomes friction and the worm breaks loose and lunges. Because of this your best option is probably to attempt to counter balance first.
    But it just so happens I'm currently developing a new Pid controller to supersede the aging SMC3 that does allow separate up and down PID settings when needed.
  3. Qlittles

    Qlittles Active Member

    Joined:
    Sep 27, 2017
    Messages:
    119
    Location:
    Union City, California, USA
    Balance:
    226Coins
    Ratings:
    +65 / 4 / -0
    My Motion Simulator:
    2DOF, Arduino
    Hey, thank you for the response! I don't full understand the proportional vs. integral -- but it's great that you are developing a new Pid controller! The problem I have applies to both the bottom flaps and the back flaps of my G-seat, and I imagine there are builds where balancing the 2dof might be too difficult. Eagerly awaiting your program!
  4. Rio Bautista

    Rio Bautista New Member Gold Contributor

    Joined:
    Apr 18, 2022
    Messages:
    2
    Balance:
    - 38Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF
    Has there been any update on this? I’m also interested in getting the new app that supports parameters per direction.
  5. Rio Bautista

    Rio Bautista New Member Gold Contributor

    Joined:
    Apr 18, 2022
    Messages:
    2
    Balance:
    - 38Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF
    Counter-balancing might also mean it will only work for one person or at least people with the same weight. I guess the solution might be to use a more powerful motor such that your weight becomes negligible.

    I noticed that SMC3 doesn’t really try to control the descend so giving it its own Kp parameter will still not slow down the descent unless a new parameter is added to indicate the target velocity of the movement. In which case SMC3 will try to counter gravity during downward movement.
    Last edited: Apr 10, 2024