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

Showroom 3 DOF racing sim

Discussion in 'DIY Motion Simulator Projects' started by NickD, Jun 11, 2022.

  1. NickD

    NickD Member

    Joined:
    Feb 15, 2022
    Messages:
    39
    Balance:
    241Coins
    Ratings:
    +32 / 0 / -0
    My Motion Simulator:
    3DOF
    I appreciate your reply and would like to say I haven't been random choosing values and saying "this is what will work". I have read those those posts in the links you provided many times and have a good understanding of PID loops (even before starting this project). I got to those values after trail and error over that past 6 months or so and have admittedly changed things on the fly so as to see how a specific parameter may affect how things perform. If you see something that is totally out of whack, I definitely appreciate you or anyone questioning why that was chosen or even making recommendations.

    As for the Fpwm, it was my understanding that the lower the frequency, the higher the effective torque delivery and subsequently the cooler the drivers are by reducing switching transitions. I hadn't seen in those initial guides that 25 kHz was the recommended "set it and forget" figure.

    In any case, I took your advice and started from scratch again. Below is the bare bones start having added just enough PWMmax to get the motor to move:
    upload_2026-3-29_22-20-10.png

    As you can see I am back to the question I've asked before; why isn't the the target received (dark blue) not reaching the target sent (light blue)? Since I am at square one basically, is this something to do with the SMC3 code in the arduino? The reason I am hung up on this, is because I don't get much movement at all from motors 1 and 2 whereas motor 3 (the one that the received value reaches the sent) moves a noticeable amount.

    Attached Files:

  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    22,146
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    Tasmania, Australia
    Balance:
    154,502Coins
    Ratings:
    +11,184 / 57 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    I fear I may have triggered offense when that was not the intent, and if so I apologize.

    If Hall sensors are being used are they being direct driven 1:1, if not that is likely the cause of the target line issues.
    Last edited: Mar 30, 2026 at 09:25
  3. Gadget999

    Gadget999 Well-Known Member

    Joined:
    Dec 27, 2015
    Messages:
    2,019
    Location:
    London
    Balance:
    12,325Coins
    Ratings:
    +496 / 11 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, 6DOF
    If you are using 3 motors on one arduino, the 3rd pwm has less resolution so it may be making bigger steps compared to tbe other two
  4. NickD

    NickD Member

    Joined:
    Feb 15, 2022
    Messages:
    39
    Balance:
    241Coins
    Ratings:
    +32 / 0 / -0
    My Motion Simulator:
    3DOF
    We're all good. :cheers Like I said before, I appreciate you trying to help and understand the difficulty of doing so remotely and not in real time. Every setup is different whether it be the geometry or equipment or configuration.

    They are hall effect sensors and they are being driven at a ratio of 1:2.5. I feel like this is something to do with the code though because the moment I click and command for movement, the sent and received signals don't match/diverge like seen in the screenshot. I have ordered another arduino though and will load SMC3 on it and swap out to see if maybe it's something to do with the .ino file or the arduino itself.
  5. NickD

    NickD Member

    Joined:
    Feb 15, 2022
    Messages:
    39
    Balance:
    241Coins
    Ratings:
    +32 / 0 / -0
    My Motion Simulator:
    3DOF
    I have tried lowering and raising the pwm of motors 1 & 2 but that doesn't affect any change in this issue.
  6. NickD

    NickD Member

    Joined:
    Feb 15, 2022
    Messages:
    39
    Balance:
    241Coins
    Ratings:
    +32 / 0 / -0
    My Motion Simulator:
    3DOF
    Well I figured out what was causing the problem and I admit it was totally my fault.:oops: When I started this a few years ago and was bench testing the motor driver and the motor, I enabled the "pot_scaling" in the SMC3 code:
    upload_2026-3-30_22-32-35.png
    I don't remember why I enabled that but I do vaguely remember back then doing so. Commenting that back out gives me the full received target that is sent (matching light and dark blue lines) for both motors 1 and 2 now. It is laid out what it does here AND in full caps says don't do it unless a POT is attached:
    upload_2026-3-30_22-35-20.png
    Since nothing was terminated to A5, my guess is it must default to 50% which is what I was experiencing. Turns out this setting doesn't get applied to motor 3. I am so embarrassed and feel quite stupid. I am sorry for asking for help on what turned out to be a problem I caused.

    Attached Files:

    • Like Like x 1
    • Informative Informative x 1
  7. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    22,146
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    Tasmania, Australia
    Balance:
    154,502Coins
    Ratings:
    +11,184 / 57 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Nothing to be embarrassed about, your learnt something and kindly passed that on for anyone who also did the same, hopefully saving them hours of head scratching :thumbs
    • Agree Agree x 1
  8. Garrett

    Garrett New Member

    Joined:
    Mar 14, 2026
    Messages:
    15
    Balance:
    80Coins
    Ratings:
    +9 / 0 / -0
    My Motion Simulator:
    2DOF
    Glad you found the issue NickD, been watching your thread.

    I'm in the process of building my first 2DoF and still learning what is feasible.

    Wish I would have seen your thread before starting my build as I like your IBT-2 set up. I did not know this configuration was possible. When reading the Arduino can run three motors, makes sense. Didn't realize you can run six IBT-2's for the three motors.

    One question I have, could the IBT-2's at any time handle full 24DVC motor builds without flyback protection and not get burned out? When running 12 volt motors, does the flyback not burn the IBT-2's due to the extra voltage overhead?

    I didn't plan on 4 IBT's for my build so would have to create another control box to house the additional IBT-2's. May have to do that if issues arise on mine.

    The one thing for your set up I would suggest are Zener diodes for the power lines to your motors to prevent flyback. Really cool layout to take the stress off a single IBT-2.

    Really like your build and glad you stuck with the project. You're in the home stretch now!

    Just got mine up and running and tuned with SCM2, I'm the wheelchair build in this section.
  9. NickD

    NickD Member

    Joined:
    Feb 15, 2022
    Messages:
    39
    Balance:
    241Coins
    Ratings:
    +32 / 0 / -0
    My Motion Simulator:
    3DOF
    How funny it is you ask and mention the flyback because tonight I got to actually run WRC 10, (my favorite rally game) and play around with some settings, and I am getting some shutdowns after a few minutes of gameplay. I believe you are 100% right I need that protection as it seems to be cutting out my power supplies.

    As for the IBT-2's, I know they can handle 24 V but apparently if you are running at 24V, the IBT-2s are much more sensitive to "spikes" during heavy transitions. If your PSUs have a voltage adjustment screw, you can back them down slightly to 21V or 22V. This was mentioned by noorbeast in earlier posts.
  10. NickD

    NickD Member

    Joined:
    Feb 15, 2022
    Messages:
    39
    Balance:
    241Coins
    Ratings:
    +32 / 0 / -0
    My Motion Simulator:
    3DOF
    I have been able to start playing around in Simtools and doing so in WRC 10 (YAY :D) but ran into shutdown problems after only a few minutes of gameplay (BOO :(). Below is my current axis assignment:
    upload_2026-4-1_0-9-15.png
    Here is the filtering I added to the sway:
    upload_2026-4-1_0-10-3.png
    And these are my current Min/Max tuning:
    upload_2026-4-1_0-10-55.png
    I have been changing this little by little to tune it in but it is hard when I can't run the motion rig for more than a couple of minutes before shutdown. I will add a flyback diode or capacitors across the motor terminals as Garrett suggested and hope this keeps the shutdowns from happening. I also tuned a bit more in SMC3 and reduced my pwmmax in hopes that there wasn't clipping happening in the background.

    Ultimately, I think my rig is too heavy for my motors and I could probably get away with swapping out my gearboxes with 60:1 instead of my current 50:1. Don't really want to spend that but I found some that total to $100 (but doubles on checkout due to tariff fees): https://www.alibaba.com/product-detail/Flange-Ratio-5-7-5-10_1601038313125.html?spm=a2706.products_search.normal_offer.8.53c367afpy1H3r&selectedCarrierCode=SEMI_MANAGED_ECONOMIC@@ECONOMY&priceId=0acaa57a6b4d442da7f29e0907ffb370. I also could do with a MUCH lighter seat too, but again don't want to spend the money when I already bought one...
    Last edited: Apr 1, 2026 at 07:24