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

Building a 4DOF from the SK3 kit provided by Simukit

Discussion in 'Commercial Simulators and Peripherie' started by stargazer, Jul 19, 2018.

Tags:
  1. stargazer

    stargazer Active Member

    Joined:
    Jun 29, 2018
    Messages:
    129
    Occupation:
    Electrical/Computer Engineer
    Location:
    Boston,USA
    Balance:
    811Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino, Motion platform, 4DOF
    @RiftFlyer you just made it easy for me. I am going do the triple 50' tv instead. When I read the forum there were so many reviews with positive comments about the vr setup which swayed me away from the tv setup which I had in mind originally. I didn't know that vr would have other complications. Thanks!
  2. RiftFlyer

    RiftFlyer Active Member Gold Contributor

    Joined:
    Apr 15, 2014
    Messages:
    198
    Balance:
    1,711Coins
    Ratings:
    +121 / 0 / -0
    My Motion Simulator:
    DC motor
    You can get decent motion cancellation with vive.
    • Agree Agree x 1
  3. stargazer

    stargazer Active Member

    Joined:
    Jun 29, 2018
    Messages:
    129
    Occupation:
    Electrical/Computer Engineer
    Location:
    Boston,USA
    Balance:
    811Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino, Motion platform, 4DOF
    @RiftFlyer thank you for that info. I will look into the vive vr.

    Now that I have a little more time to play with the sim, I found that it has two kind of major issues which I am not sure how to fix:

    1. On start up and shut down of a game, there were a bit of a violent movement in the motors. My guess is that the motors had to move to some initial position but why is it done so violently. It is scary for people who wanted to try it.

    2. Since I have mapped the yaw motion to the fourth motor (traction loss motor), it is found that lot of time the sim would yaw to the left or right even though the car that I was driving was constantly moving straight ahead. That is odd.

    Would someone know how too fix these problems? I am looking to @jjanu , @Wanegain ,@yobuddy for help here.

  4. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,307
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,488Coins
    Ratings:
    +5,109 / 18 / -0
    Sounds like your simulator does not center when SimTools is started?
    I ask because if it was centered, it would not move at all when the game is started, because your system would already be centered.
    Does your sim simply drop to its lowest position when the game ends?
    Maybe the interface is powering down between games?

    Do you mean when used with a traction loss output from a game plugin, or yaw output?
    For traction loss, you can add a bit of DeadZone and this will disappear.

    chat soon buddy,
    yobuddy
  5. stargazer

    stargazer Active Member

    Joined:
    Jun 29, 2018
    Messages:
    129
    Occupation:
    Electrical/Computer Engineer
    Location:
    Boston,USA
    Balance:
    811Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino, Motion platform, 4DOF
    Hi @yobuddy,

    As far as I can tell, the sim rig started in the position where all the motors are centered as in the attached picture of Simtools game engine output testing. But when the game started the rig would violently snapped to some position that is not necessarily centered. If this can be soften it would help a lot.

    simrigcentered.PNG

    My motor on Axis4a is mapped to Yaw motion on DOF 6 of the Simtools game engine axis assignment. You can see that in the attached picture withe the high lighted axis4a. Do you think that my mapping is incorrect?

    YawMotor.PNG
  6. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,307
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,488Coins
    Ratings:
    +5,109 / 18 / -0
    The problem is Yaw is just a compass heading, use Traction Loss from a game plugin (maybe try Live for Speed) and it will work much differently buddy!
    Chat soon man,
    yobuddy
    • Agree Agree x 1
  7. stargazer

    stargazer Active Member

    Joined:
    Jun 29, 2018
    Messages:
    129
    Occupation:
    Electrical/Computer Engineer
    Location:
    Boston,USA
    Balance:
    811Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino, Motion platform, 4DOF
    that was it. Thank you @yobuddy. After I remapped the axis4a motor to Extra1 (traction loss) then both problems disappeared. It was my ignorant as I didnt know what extra1 extra2 and extra3 for so I didnt try to use them.

    To make the movement on the sim a little bit less forceful, I also went into the Simtools game manager profile editor and reduce the "Main Level" setting to about 25%. I am not sure if this is the right thing to do but it made the sim a lot more gentle to ride on.
    • Agree Agree x 1
    • Informative Informative x 1
  8. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,307
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,488Coins
    Ratings:
    +5,109 / 18 / -0
    The "Main Level" setting basically adds smoothing to all inputs from the game.
    So it will make it more gentle as you have noticed.
    The downside to smoothing is it may add a bit of lag from what is happening on the screen if you use to much of it.
    But to stop people from using to much smoothing it's pretty limited in the current version of SimTools.

    With SimTools v2.3, smoothing weight will be doubled, so when you upgrade you will need to adjust this setting. (your new "Main Level" setting would be about 62% to get the same ride you have now)

    Take care,
    yobuddy
  9. stargazer

    stargazer Active Member

    Joined:
    Jun 29, 2018
    Messages:
    129
    Occupation:
    Electrical/Computer Engineer
    Location:
    Boston,USA
    Balance:
    811Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino, Motion platform, 4DOF
    @yobuddy , could you please help me understand the relationship between the "Main Level" setting and the "smoothing filter" in the AxisSetting a little more. For example if I set the MainLevel to x% then how does it translate into how much y% smoothing in the AxisSetting?
  10. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,307
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,488Coins
    Ratings:
    +5,109 / 18 / -0
    They are not connected at all buddy.
    They are separate settings.

    The "smoothing filter" in the Axis Assignment Setting applies smoothing only to the current DOF.
    With Main Level % you are actually applying smoothing to all game inputs at once.
    When you have the Main Level % at 100. the output will have no smoothing applied at all.
    As you lower the Main Level % down to 0%, you are applying smoothing to all inputs from the game at the same time.
    Unless the ride is just to crazy, I suggest leaving the Main Level % at 100.

    Take care,
    yobuddy
    • Informative Informative x 2
  11. stargazer

    stargazer Active Member

    Joined:
    Jun 29, 2018
    Messages:
    129
    Occupation:
    Electrical/Computer Engineer
    Location:
    Boston,USA
    Balance:
    811Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino, Motion platform, 4DOF
    Hi @yobuddy,

    Thank you for the info.

    I found that by reducing the "Main Level" to 25% it helped to make the sim a lot calmer. But at the same time some motion, e.g. heave, was lost on some of the roller coaster ride. So I am trying to see if there is a way that I can leave "Main Level" at 100% and just change the smoothing on the DOF motions to 25% except heave. This is where I am a little uncertain of what to do.
  12. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,141
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,541Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    It sounds like you need to refine your motion profile, one axis at a time, try this approach: https://www.xsimulator.net/community/faq/steps-to-create-a-motion-profile.228/
  13. stargazer

    stargazer Active Member

    Joined:
    Jun 29, 2018
    Messages:
    129
    Occupation:
    Electrical/Computer Engineer
    Location:
    Boston,USA
    Balance:
    811Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino, Motion platform, 4DOF
    Thank you @noorbeast for your help.

    I am very sad to report that my motor on axis1a had died today. This is a motor that I was having problem with from the beginning where sometime it would spin by itself. The motor is set to operate in the forward manner but once in a while it would spin and work in the backward manner. Previously when it spin to the backward position it was able to spin out to the forward position and work again. But this time it stuck there and I didn't know about it until I smell something strange. It turned out that the motor is so hot that it may have burned its internal wiring.

    I turned off the rig. Waited for hour for it to cool down and turn it on again. But this time there is no sign of life on the motor.

    In the pictures you can see that it had moved to the backward position prior to dying. The second picture show the forward position of a motor at rest.

    @Wanegain, would you know if there is some warranty for the motor? Could you help me with this? Thanks.

    This is especially unfortunate as I was getting so close with the built and was starting to enjoy riding on the rig. :(

    20180914_180950.jpg 20180914_182234.jpg
  14. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,141
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,541Coins
    Ratings:
    +10,902 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    A motor should not over rotate, hence you need to also check your pot and associated wiring settings.

    If there is no warrenty then you could strip the motor down and check simple things like the brushes.
  15. stargazer

    stargazer Active Member

    Joined:
    Jun 29, 2018
    Messages:
    129
    Occupation:
    Electrical/Computer Engineer
    Location:
    Boston,USA
    Balance:
    811Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino, Motion platform, 4DOF
    This motor was one of the odd one from the start. I have tried several things like:

    1. Replace the pot
    2. Replace the pot wiring
    3. Add a few drop of epoxy glue to secure the gear to the motor shaft
    4. Tighten the screws on the pot gears

    Nothing worked. Once in a while it kept changing from the forward to the backward position.

    Now that the sim is all assemble it is going to be a task to remove the motor. Especially in order to access the sabertooth the base of the sim has to be turned upside down in order to get to the motor electrical connection.
  16. stargazer

    stargazer Active Member

    Joined:
    Jun 29, 2018
    Messages:
    129
    Occupation:
    Electrical/Computer Engineer
    Location:
    Boston,USA
    Balance:
    811Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino, Motion platform, 4DOF
    @noorbeast @Wanegain , I think I know the reason why the motor was burned:

    When the motor got into the backward position and then when it tried to rotate around to the forward, it got stuck because a little bit of the motor shaft was in the way of the U-shape arm that connect the motor to the platform. See picture. The design doesn't allow for a very big gap between the two of them and the production may have a consistency issue where this U shape arm is more closely touching the motor shaft than the other two U shape joints of the rig.
    20180914_162927.jpg

    To avoid this problem from happening again I have added several more washers to the connection between the U-shape arm and the crank shaft in order to increase the separation between then. It would be better if simukit can redesign this arrangement to avoid the problem in the future for other users.

    I also modified the arduino PID sketch so that it wouldn't send continuous power to any motor for than one minute to avoid the burning of the motor.

    Now come the good news: by following @noorbeast 's suggestion, I opened up the motor and saw the problem. It was caused by the carbon brushes burned and stuck inside its housing so they cannot make contact with the motor anymore. I was able to loosen them so that the springs were able to push them out again.

    It was not fun to take the motor out to fix the problem. It took me several hours but I am just happy that it is working again.


    20180914_230434.jpg 20180914_233702.jpg 20180914_233713.jpg 20180914_234115.jpg
    • Informative Informative x 2
    • Like Like x 1
  17. jjanu

    jjanu LiveForSim Gold Contributor

    Joined:
    Apr 13, 2013
    Messages:
    72
    Occupation:
    Multimedia
    Location:
    Québec
    Balance:
    652Coins
    Ratings:
    +62 / 2 / -0
    My Motion Simulator:
    DC motor, Arduino, Motion platform, 4DOF
    Hey Stargazer, I'm sorry for not having been able to follow your evolution and answer to your technical problems in the past few days since I'm working full time on an other project not related to motion sim. But reading your latest comments I can see that you've been very busy! I'm glad that you could recover the failing motor on your own and go on with your tests. Congrats. When I'm done with the project I'm actually working on I'll get back to motion sim and prepare a wrap-up report of my built with the SimTools parameters that I fine-tuned for my game list. Many finishing add-ons were brought to my current built and I need to take fresh pictures and make a final video of the whole shebang. Probably in two weeks. Good luck with the rest.
  18. stargazer

    stargazer Active Member

    Joined:
    Jun 29, 2018
    Messages:
    129
    Occupation:
    Electrical/Computer Engineer
    Location:
    Boston,USA
    Balance:
    811Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino, Motion platform, 4DOF
    Hi @jjanu
    I look forward to read your summary report and new video and pictures of your project. Yours and @axenic 's project have given me the confidence to start this project.

    I am in the tuning phase now for the rig and so far I have not settled on any satisfactory profile yet. If you could share yours then that will help me a lot. I want to find the setting where it gives a good sense of motion minus some of the crazy jerky movement that is scary to the rider.

    Ttya
  19. stargazer

    stargazer Active Member

    Joined:
    Jun 29, 2018
    Messages:
    129
    Occupation:
    Electrical/Computer Engineer
    Location:
    Boston,USA
    Balance:
    811Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    3DOF, Arduino, Motion platform, 4DOF
    The problem of axis1a motor sometime went crazy and spinning by itself have frustrated me to no end. I replaced the pot wiring connection the second time, checking carefully for cold soldering and that didn't help.

    So I decided to do an experiment with the help of simtools output testing. The procedure is like this:

    1. Put the rig in idle position where all output levels are mapped to zero. Use a bubble ruler to check that the rig is perfectly level. See picture.
    20180922_011440_HDR.jpg
    2. Move the axis1a output level to the extreme 100 or -100. Then clear ('CLR') it back to zero.
    3. Repeat 2. A few dozen times.
    4. The result is that the motor's idle position kept on lowering after every 2. And eventually it is so low (see picture) that an extreme -100 level would cause it to go backward and start spinning. Which was exactly the problem I got during playing with the rig.
    20180922_011801_HDR.jpg

    The interesting thing was that if I went into 'Axis setting' and limit the output level for axis1a to 85% from 100% then the problem went away. I can execute 2. As many times as I want and the rig's idle position remain perfectly level.

    Anyone want to take a guess if this is a hardware or a software issue? @Wanegain , @yobuddy have you some idea?

    Since the problem went away by a change in software setting I am incline to think that it might be a software issue but I cannot be very sure.
    Last edited: Sep 23, 2018
  20. yobuddy

    yobuddy Well-Known Member Staff Member Moderator SimAxe Beta Tester SimTools Developer Gold Contributor

    Joined:
    Feb 9, 2007
    Messages:
    5,307
    Occupation:
    Computer Technician
    Location:
    Portland, Oregon - USA
    Balance:
    49,488Coins
    Ratings:
    +5,109 / 18 / -0
    It could be your motors are not able to stop exactly when they need to.
    So they slightly go past where they need to be causing the pot to turn slightly.
    By using a bit of axis limiting, you are avoiding the problem as the motor never moves to the actual limits of the pot.
    It's my best guess anyway :D
    Take care,
    yobuddy