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 2dof wiper motor jitter/whine

Discussion in 'Electronic and hardware generally' started by promy, Nov 24, 2024.

  1. promy

    promy New Member

    Joined:
    Jun 29, 2008
    Messages:
    14
    Occupation:
    engineer
    Location:
    Belgium
    Balance:
    250Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Some years ago i made a 2dof with wv wiper motors, 10k pots, arduino uno and monster moto shields (1 for each motor). I never really used it, but i worked (maybe a bit ;-) )
    This weekend i wanted to continue working on it, so i flashed SMC3 on it.
    However, i'm running into some problems:
    - I noticed that on the neutral position (chair level), there is some sort of whining on my motors. If i push the front of the chair a bit up it seems to stop. Any idea what this could be?

    - a second problem is that the movement seems "jerky". When i use the "sine" movement in the SMC3util , its moving, but very shaky. I tried changing the settings (Kp is at 400, but changing it between 200 and 600 does not really help; the other setting do not improve it either , soms seem to make it worse? (eg PWMmin to 200 is worse than 150?)

    Would anyone recognise these problems or could tell me how to solve them?
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,148
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,584Coins
    Ratings:
    +10,905 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Can you please post pictures of all of your settings.
  3. promy

    promy New Member

    Joined:
    Jun 29, 2008
    Messages:
    14
    Occupation:
    engineer
    Location:
    Belgium
    Balance:
    250Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Off couse. The problem is there even with only the SMCutil running, so a screenshot of those settings.
    The noice i mostly comming from 1 of the 2 motors. (both have the same settings).
    I already addes a .1uF cap (104) across the signal and gnd of the pod and added a ferrite coil around those wires.

    the connections between the arduino are cfr the SMC3 manual, except for the pots, they are connected to A4 and A5 (and off course this is changed in the arduino code, also the orignal thing that was linked to A5 was remapped to A1)


    I also recorded 2 things:
    - motor noice: https://hetgrensland.be/test/2024-11-25 20.05.38.mp4
    - the shaky movement: https://hetgrensland.be/test/2024-11-25 20.07.23.mp4

    Attached Files:

  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,148
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,584Coins
    Ratings:
    +10,905 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Please set Fpwm to 25 and advise if that makes an audible difference.

    Are the motors ground isolated: https://www.xsimulator.net/community/faq/wiper-motor-mandatory-ground-isolation.25/
  5. promy

    promy New Member

    Joined:
    Jun 29, 2008
    Messages:
    14
    Occupation:
    engineer
    Location:
    Belgium
    Balance:
    250Coins
    Ratings:
    +3 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I tried the Rpmw of 25 and there i no real difference (setting it to 5 or 10 generates an extra high pitch sound)

    The ground: Normally it should not be a problem (i think) since the construction is made of wood. So there is not metal connectorn betwoon the 2 motors (only possible connection is by the power cables). There is also no metal connection between the motor and the pot (plastic)
    Last edited: Nov 25, 2024