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

Tutorial SMC3 Arduino 3DOF Motor Driver and Windows Utilities

Discussion in 'SimTools compatible interfaces' started by RufusDufus, Dec 1, 2013.

  1. Thick8

    Thick8 Just some random guy

    Joined:
    Jan 1, 2025
    Messages:
    29
    Location:
    South Carolina USA
    Balance:
    158Coins
    Ratings:
    +8 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor
    I have not yet started to play with SMC3. After my first MSFS helicopter ride on my DR-P3, I realized that the backlash and cogging was totally unacceptable. So of course I began modding it. I hope to be done within the next couple of weeks. I read that there is a manual for SCM3 but haven't looked for it yet. I may find some time to play with it this week to get an idea of what all the settings are. I get the right hand column controls the elements of the movement graph but have no idea what the other settings are. I just fly helicopters, ultralights, and small GA aircraft. So it's critical that it be smooth, but also sensitive to small nuanced movements. Is it possible that this isn't the right software to meet my needs?
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,439
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,279Coins
    Ratings:
    +11,001 / 55 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    SMC3 has many modded varieties and forks, and for all that control software is part of a complex intersect with design and hardware, both of which have their own direct impacts.

    I guess what I am saying is to consider SMC3 as one of the many related DIY choices, and understand that as part of and related to other design/hardware choices and impacts.
  3. Sebastian2

    Sebastian2 Member Gold Contributor

    Joined:
    Dec 17, 2023
    Messages:
    89
    Balance:
    339Coins
    Ratings:
    +53 / 1 / -0
    @Joe Cortexian
    Thank you for your work.Does your post refer to the PID implementation of the original SMC3 or to my implementation?
  4. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,439
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    150,279Coins
    Ratings:
    +11,001 / 55 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
  5. Sebastian2

    Sebastian2 Member Gold Contributor

    Joined:
    Dec 17, 2023
    Messages:
    89
    Balance:
    339Coins
    Ratings:
    +53 / 1 / -0
    @noorbeast

    Yes, also thank you for your suggestions. Also, sorry for not answering.

    You are correct in that the square wave response of my PI regulator setup shows overshoot. On the other hand, with the "motion" waveform there is no overshoot.
    I've tried various combinations of Kp and Ki and, while I found combinations with less or no overshoot with the square wave, they also followed the "motion" waveform with much more lag.

    I use my rig playing flight simulator games in VR, so the "motion" waveform is pretty close to my real application, while a square wave is way different. Also, I consider low lag as quite important, especially in VR. For those two reasons I stick to a regulator configuration that overshoots a little when facing a square wave.

    After all, having a fast regulator without overshoot is something like the holy grail of regulators. From my experience, in order to even hope to achieve something like this, a full fledged PID regulator, with well adjusted D component, and good, low lag filtering of the input, would be required. The filtering part is currently missing. Maybe something like a gliding, weighted average kind of thing. But honestly, I don't see myself implementing that. There's other stuff I'd like to do that promises more fun or improvement.

    About the Max Limits: Yes, I set a bad example setting max limits to 0 here. I have non-zero values for my other 2 motors, but for some reason the motor I used for those screenshots irregularly, but repeatedly, crossed the max limit and was then shut off by SMC3 mid game. Quite immersion breaking and quite a hassle to resolve each time. The clipping limits are the same for all my motors and I didn't want to let them clip sooner. So I reduced Max Limits for the motor that kept turning off. It "solved" the issue without creating new ones, so I run with it. I know it's kind of risky and nothing to recommend. I know I should have looked for the real reasons the motor crossed the max limits. But meanwhile, this "solution" has reached the "if it works, don't touch it" stage.