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

my first 2dof motion sim diy..! FINISHED!!!

Discussion in 'DIY Motion Simulator Projects' started by iason, Jun 9, 2023.

  1. iason

    iason Member

    Joined:
    Apr 29, 2023
    Messages:
    68
    Balance:
    - 13Coins
    Ratings:
    +21 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    ok i install new pots and a new arduino uno genuine. now the motors move the same but same problem in sim tools.
  2. iason

    iason Member

    Joined:
    Apr 29, 2023
    Messages:
    68
    Balance:
    - 13Coins
    Ratings:
    +21 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    n
    This is after i try luve for speed with only Pitch force in 10%

    Attached Files:

  3. ChuckyP

    ChuckyP Active Member

    Joined:
    Sep 21, 2020
    Messages:
    122
    Location:
    Chicago, IL
    Balance:
    748Coins
    Ratings:
    +63 / 0 / -0
    My Motion Simulator:
    3DOF
    Interesting results. It looks like pitch is moving properly as far as direction is concerned. But I’m not sure why it isn’t reading center as SMC3 does… are the potentiometers well Connected to the motor levers? If they slip it could walk out of position as the direction changes. But then again if SMC3 still centers properly when you reopen the utility then that isn’t what’s happening.

    Are the potentiometers 10k 180 degrees rotation? That is what the software is setup to read by default. Just trying to wrap my head around what could be wrong.
    • Winner Winner x 1
  4. iason

    iason Member

    Joined:
    Apr 29, 2023
    Messages:
    68
    Balance:
    - 13Coins
    Ratings:
    +21 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    I am grateful for the help you offer me. I'm starting to get frustrated. yes the pots are 10k and well connected. as you say when i open smc again they are exactly where I had them.
  5. iason

    iason Member

    Joined:
    Apr 29, 2023
    Messages:
    68
    Balance:
    - 13Coins
    Ratings:
    +21 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform

    Attached Files:

  6. ChuckyP

    ChuckyP Active Member

    Joined:
    Sep 21, 2020
    Messages:
    122
    Location:
    Chicago, IL
    Balance:
    748Coins
    Ratings:
    +63 / 0 / -0
    My Motion Simulator:
    3DOF
    Try bringing in the clip and limit zones in the SMC software. It will bring down the range of motion for the motors. Simtools will use these values as the 100% range when you set the individual axis. So the 10% value will be 10% of your ideal mechanical range of movement. Once you go past 40 degrees of rotation the motors will start being less efficient.

    so set clip and limit to a small value and see if that will bring the movement of your motors down to a more reasonable range.
  7. iason

    iason Member

    Joined:
    Apr 29, 2023
    Messages:
    68
    Balance:
    - 13Coins
    Ratings:
    +21 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    i think its the same range.
  8. iason

    iason Member

    Joined:
    Apr 29, 2023
    Messages:
    68
    Balance:
    - 13Coins
    Ratings:
    +21 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    sorry for the dog :)
  9. ChuckyP

    ChuckyP Active Member

    Joined:
    Sep 21, 2020
    Messages:
    122
    Location:
    Chicago, IL
    Balance:
    748Coins
    Ratings:
    +63 / 0 / -0
    My Motion Simulator:
    3DOF
    The dog knows what’s wrong and he’s trying to tell you..

    Honestly though I’m having trouble working out what is going on there. I’m new myself but have been troubleshooting countless problems so far so things are fresh in my head. But the immediate jump to such positions is something I’ve never seen. When my motors are centered in SMC3 they remain centered when I start output testing in Simtools.

    the only other thing in my mind is one of your Pitch motors has filtering of some sort applied while the other one didn’t. Not sure what settings you adjusted there but the 2 DOF should match at the very least. You probably should remove all extra adjustments and stick to a fresh profile to rule out any other influences.

    you’ll get through this.
    • Funny Funny x 1
  10. iason

    iason Member

    Joined:
    Apr 29, 2023
    Messages:
    68
    Balance:
    - 13Coins
    Ratings:
    +21 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    both motors are moving. one goes up and the other goes down.i will change the ibt2s tomorrow.(again). you never know.
  11. iason

    iason Member

    Joined:
    Apr 29, 2023
    Messages:
    68
    Balance:
    - 13Coins
    Ratings:
    +21 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    no I don't have filters.
  12. ChuckyP

    ChuckyP Active Member

    Joined:
    Sep 21, 2020
    Messages:
    122
    Location:
    Chicago, IL
    Balance:
    748Coins
    Ratings:
    +63 / 0 / -0
    My Motion Simulator:
    3DOF
    ok so this image is no longer setup this way? Notice the Flt setting on one and not the other.

    also in the axis settings do you have it set to Rotation and not linear? If you click “Out Type” and look at those settings is everything correct?
  13. iason

    iason Member

    Joined:
    Apr 29, 2023
    Messages:
    68
    Balance:
    - 13Coins
    Ratings:
    +21 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    I have it in linear.and for the filter I am not sure now.
  14. iason

    iason Member

    Joined:
    Apr 29, 2023
    Messages:
    68
    Balance:
    - 13Coins
    Ratings:
    +21 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    I have change some setting before a whike
  15. iason

    iason Member

    Joined:
    Apr 29, 2023
    Messages:
    68
    Balance:
    - 13Coins
    Ratings:
    +21 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    rotai
    rotation is the correct setting?/?
    • Like Like x 1
  16. ChuckyP

    ChuckyP Active Member

    Joined:
    Sep 21, 2020
    Messages:
    122
    Location:
    Chicago, IL
    Balance:
    748Coins
    Ratings:
    +63 / 0 / -0
    My Motion Simulator:
    3DOF
    ok since the motor arms rotate you want to make sure to select rotational. Linear would be for actuators that travel in and out. You can also select a more preferred range of rotation there, but it should be set at 180degrees in your case.

    also back in SMC3 the settings look good except for FPid, on mine it is set to 1. Yours appears to be set to 5. I’m really not sure what the value does off the top of my head but PID settings can make big changes with very small adjustments. So maybe start back at 1 and revisit that in the future.
  17. iason

    iason Member

    Joined:
    Apr 29, 2023
    Messages:
    68
    Balance:
    - 13Coins
    Ratings:
    +21 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    ok thanks. I didn't know that about rotation. I will check it tomorrow.about the fpid if I set it to 1 the motors make some noise.
  18. ChuckyP

    ChuckyP Active Member

    Joined:
    Sep 21, 2020
    Messages:
    122
    Location:
    Chicago, IL
    Balance:
    748Coins
    Ratings:
    +63 / 0 / -0
    My Motion Simulator:
    3DOF
    And as frustrating as it seems you are close. The pitch is working and moving in unison so theoretically everything is there. But I still see a discrepancy from one motor to the other (more movement on the right side), and there is some sort of confusion on where center is… @noorbeast or another user I’m sure will have more insight.
    • Winner Winner x 1
  19. ChuckyP

    ChuckyP Active Member

    Joined:
    Sep 21, 2020
    Messages:
    122
    Location:
    Chicago, IL
    Balance:
    748Coins
    Ratings:
    +63 / 0 / -0
    My Motion Simulator:
    3DOF
    Noise can be normal, but there are a few threads where they were digging into quieting things up. But be careful clicking settings arbitrarily. Keep a backup of your settings once you get it working as well. But try to start with a vanilla (clean) install of the software and follow the setup guide to the letter. That will be a good starting point. Once it works reliable then you can go in and tweak things to your preference. Patience is a virtue there and will be rewarded.

    this is the procedure you followed correct?


    - From the Simtools setup thread.

    Initial Setup


    I strongly recommend you follow the steps below if this is the first time you are using SMC3 with your simulator to reduce the risk of damaging anything.

    1. Disconnect the motor power supply
    2. Make sure Simtools is not running – we’re not ready for that yet!
    3. Wire up the Arduino (with SMC3 installed) to your H-Bridges and connect to your computer via USB
    4. Run the Windows SMC3 Utility software and make sure it communicates with the Arduino (There is no need to set baud rates, they are not configurable)
    5. Set the Kp, Ki, Kd, PWMmin, PWMmax, PWMrev to 0 for ALL motors (This will make sure the motors don’t move)
    6. Set Clip to 255 (you need to do this first) and Limit to 255 (This will give you plenty of margin if something goes wrong while setting up)
    7. Turn on the power to your motors – nothing should move at this stage!
    8. Set Kp to about 400
    9. Now slowly, increase PWMmax… at some point the motor should start to move. When it does check the “Green” feedback line is moving toward the “Blue” target position.
      • If it is then that motor and feedback is wired correctly - proceed to test other motors.
      • If it is moving away turn off motor power immediately (or quickly reduce PWMmax again). In this case you need to either reverse the wires to the motor being tested –OR– reverse the +5V and GND wires to your feedback pot for the motor being tested (do not do both). Restart the test from the beginning.
    10. Do the above for each motor
    • Like Like x 1
  20. iason

    iason Member

    Joined:
    Apr 29, 2023
    Messages:
    68
    Balance:
    - 13Coins
    Ratings:
    +21 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    thank you my friend for helping me. I will try what you told me tomorrow because now the family has gone to bed. we will talk again.
    • Like Like x 1