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

Just started SMC3 Utils but motor keeps spinning

Discussion in 'DIY Motion Simulator Building Q&A / FAQ' started by floridianer, Oct 18, 2024 at 10:09.

  1. floridianer

    floridianer New Member

    Joined:
    Jul 16, 2023
    Messages:
    13
    Balance:
    47Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    Hi,

    just finished my solderings of my 2DOF Flight Rig.

    When activating the motor, it begins to spin but i am not able to stop and control the motor.
    Only reacts to "Fpwm" but nothing else.

    Can you please give me a hint to solve the problem?


    Thx
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,975
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,560Coins
    Ratings:
    +10,867 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Please post pictures of all of your settings.

    What control board and pots are being used?
  3. floridianer

    floridianer New Member

    Joined:
    Jul 16, 2023
    Messages:
    13
    Balance:
    47Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    upload_2024-10-18_14-3-54.png

    Attached Files:

  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,975
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,560Coins
    Ratings:
    +10,867 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    At rest, so the rig in its default position, the pot and hence the pot line should be centered in the SMC3 graph.

    Again what are you using for pots and how are they connected to the motors?

    You should be able to first disconnect power to the motors, then rotate the pot by hand until it is centered, then reattached the pot to the motor and reconnect power to the motors.

    As an aside your SMC3 setting seem a bit all over the place, how did you come to determine them?
  5. floridianer

    floridianer New Member

    Joined:
    Jul 16, 2023
    Messages:
    13
    Balance:
    47Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    upload_2024-10-18_15-44-57.png


    I basically chose the settings randomly. I haven't had any specifications yet when it comes to the settings.

    Attached Files:

  6. floridianer

    floridianer New Member

    Joined:
    Jul 16, 2023
    Messages:
    13
    Balance:
    47Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    I just watched a video from Dave on YT where he tries to explain how to calibrate the pot. now i come closer to it but still don't understand, why it still spins below 35kHz. at 35 the motor stands still...
  7. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,975
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,560Coins
    Ratings:
    +10,867 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    As I mentioned your SM3 settings look odd, so please set Fpwm to 25 then follow the SMC3 setup steps below, and if something does not work as expected please let us know what step that is at:
    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
  8. Slawko

    Slawko New Member Gold Contributor

    Joined:
    Dec 3, 2023
    Messages:
    12
    Location:
    NI
    Balance:
    - 2Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    did u try to swap motor cables (+ & -) it cold be also bad ratio motor to sensor are they 360deg sensors??
  9. floridianer

    floridianer New Member

    Joined:
    Jul 16, 2023
    Messages:
    13
    Balance:
    47Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    thank you both for your advice and I followed every point.
    I made the settings as you told me.
    However, the motor still turns as soon as I set it to 30 or 25 kHz. Even if I set the other values as you advised, it has no effect on the motor. Could it be the pots?

    As far as I know, these are 360° sensors. And no, I haven't mixed up +/- yet.

    What do you mean by the motor to sensor ratio?
  10. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,975
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,560Coins
    Ratings:
    +10,867 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    What are your current settings, please post a picture, and also advise at what point in the setup instructions failed.
  11. floridianer

    floridianer New Member

    Joined:
    Jul 16, 2023
    Messages:
    13
    Balance:
    47Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    upload_2024-10-20_13-36-52.png

    your setup instructions failed at 7)

    when I start the motor and it shouldn't be turning, as you say.
    Unfortunately, it turns the whole time at 25kHz.
    The same goes for 30Khz, but it doesn't turn at 35kHz.
  12. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,975
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,560Coins
    Ratings:
    +10,867 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    If the rig is at its centered position the pot line should be over the middle blue line, are you sure the pots are centered properly.

    The other possibility is faulty IBT2s. What voltage PSUs and motors are you using?
  13. floridianer

    floridianer New Member

    Joined:
    Jul 16, 2023
    Messages:
    13
    Balance:
    47Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino
    i think that the pots are centered porperly. i just ordered two new IBT's. They will arrive tomorrow.

    Attached Files:

  14. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    20,975
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    147,560Coins
    Ratings:
    +10,867 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Other members have reported issues running IBT2s at 24v, dropping a couple of volts seems to be more reliable.