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

SMC3 - Traction loss to vibration

Discussion in 'DIY Motion Simulator Projects' started by superwhitewish, Dec 17, 2019.

  1. superwhitewish

    superwhitewish Member

    Joined:
    Jul 3, 2016
    Messages:
    60
    Occupation:
    Avionic Engineer
    Location:
    Malaysia
    Balance:
    225Coins
    Ratings:
    +49 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Arduino, Motion platform
    Hi,

    I finished making my 2DOF motion simulator a while ago. You can look at it here -
    https://www.xsimulator.net/community/threads/my-2dof-motion-add-on-for-playseat-evolution.13918/

    I made some modifications to the SMC3 and one of them is to convert traction loss signal into vibration that will vibrate & shake the motors when traction loss happens. But, I'm not sure if the vibration feedback is as it should be.

    You can find the file attached.

    If anybody care to try it, maybe he/she can give me some feedback.
    In case that I am not allowed to modify or redistribute a modified SMC3 code please tell me.

    Settings for the code that you will find in the SMC3 :

    #define TL_FREQ_HI 200 //high freq vibration
    #define TL_FREQ_LO 7 //low freq shake
    #define TL_FREQ_HI_GAIN 1.2 //high freq amplitude gain
    #define TL_FREQ_LO_GAIN 0.4 //low freq amplitude gain
    #define TL_DEAD_ZONE_HI 10 //dead zone for hi freq vibration is lower than low freq shake,
    #define TL_DEAD_ZONE_LO 50 //so the rig will vibrate first at medium traction loss and then shake at high traction loss.

    TL_FREQ_HI is the motor vibration frequency when traction loss starts to happen. In my rig, it feels like a minor vibration similar to hand phone vibration. I believe the frequency might need to be adjusted to suite other motors due to difference in rotor weight & resonance.

    TL_FREQ_LO is the frequency which the motor will shake when the traction loss is higher.

    GAINs are to set the intensity of the vibration and shake.

    Use DEAD_ZONEs for how strong the vibration & shaking at it minimum intensity. The traction loss setting in Simtool (Extra1 on Axis3a) will be used to set how early the motor will vibrate and shake. The higher the Extra1 setting, the earlier the motor will start to vibrate and shake.

    My setting in Simtool for Project Cars 2 are

    Axis assignment Extra1 (Axis3a) : 20
    Tuning center : 10 & -10

    For Assetto Corsa the value are much higher to start to feel the vibration. Like 80 in axis assignment with same value in tuning center.

    For me, I think the vibration is useful to let me know that the traction loss is starting to happen. Please let me know what you think of it.

    Thank you.

    Attached Files: