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 Compact AC Servo 6DOF Rotary Stewart platform

Discussion in 'DIY Motion Simulator Projects' started by knaufinator, May 26, 2020.

  1. knaufinator

    knaufinator Active Member

    Joined:
    Nov 16, 2017
    Messages:
    198
    Occupation:
    Simulation Engineer
    Location:
    akron,ohio
    Balance:
    1,734Coins
    Ratings:
    +226 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF


    Had several requests on how the platform performs with a flight sim. I customized the DSC plugin to provide angular velocity data for all axis, and use that data to base the platform movement off of. If you are interested in how you can customize simtools plugins let me know... Hint... It requires decompiling
    • Like Like x 2
  2. knaufinator

    knaufinator Active Member

    Joined:
    Nov 16, 2017
    Messages:
    198
    Occupation:
    Simulation Engineer
    Location:
    akron,ohio
    Balance:
    1,734Coins
    Ratings:
    +226 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF


    Big changes this week, A new contributor to the project found that the SPI bus to the GPIO was un optimized pulling only 1Mhz, out of 10Mhz... with a small change the ESP32 now can drive the AC Servo controller faster, this was a bottleneck that was causing the motor to only spin at ~1/3 its max speed at times. now that has been overcome and the arms can swing at a much more scary rate! This video is the first where the modification has been done. I did end up adding some more filtering to Simtools side, as well tuned the S curve acceleration profile to take a little more time to speed up /slow down the platform, as the added snappiness was taking its toll on my body...
    • Like Like x 4
    • Winner Winner x 2
    Last edited: Aug 24, 2020
  3. knaufinator

    knaufinator Active Member

    Joined:
    Nov 16, 2017
    Messages:
    198
    Occupation:
    Simulation Engineer
    Location:
    akron,ohio
    Balance:
    1,734Coins
    Ratings:
    +226 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    Custom plugin for MS Flight Sim 2020

    I have released the source code to this so other developers can improve on it, I have spent 1.5 hours to get it working this far. Several more hours just making a video and posting it to GitHub. I may not invest more time in it, but by all means,... take it and ....Dare I say..... FLY...



    https://github.com/knaufinator/MS-Flight-Simulator---Simtools-interface-

    This is a VERY early release as QUICKLY as I could get it out so people can start flying around in a motion sim for Microsoft Flight Sim 2020

    This project includes 2 parts
    1. FS2020_GamePlugin = The Simtools plugin, compile this and drop the file FS2020_GamePlugin.dll into the SimTools plugin updater app to install it, patch it as normal.

    2. Simvars = This is a Server application, this connects to MS Flight Simulator when you hit Connect, it Queries the correct data from the game only at 10Hz, anything faster and it was slowing my PC down, so change that at your discretion.... this needs to be improved. take a stab...this is a modified app from the SDK, so it has a bunch more functionality in it than what we are using. dont hit anything else other than Connect.... after it opens up, and it should consume the data automagically..the simtools plugin should see the data as soon as you do.

    Limits I used, i did not touch sway or surge yet...
    upload_2020-8-27_19-38-40.png
    • Like Like x 4
    • Winner Winner x 1
  4. knaufinator

    knaufinator Active Member

    Joined:
    Nov 16, 2017
    Messages:
    198
    Occupation:
    Simulation Engineer
    Location:
    akron,ohio
    Balance:
    1,734Coins
    Ratings:
    +226 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    Programed up a BLE Chest Heart monitor to my custom graph app, so I could record my heart rate during a race. And.... indeed my heart increases under stressful race conditions ... :)
    • Like Like x 2
    • Creative Creative x 1
  5. knaufinator

    knaufinator Active Member

    Joined:
    Nov 16, 2017
    Messages:
    198
    Occupation:
    Simulation Engineer
    Location:
    akron,ohio
    Balance:
    1,734Coins
    Ratings:
    +226 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF




    PCB assembly, I get asked often about the PCB... so I wanted to dedicate some nice fancy macro shots to it ... Enjoy!

    Part 2!
    • Like Like x 3
    • Winner Winner x 3
    • Informative Informative x 1
    Last edited: Dec 26, 2020
  6. Jean Paul Andrade

    Jean Paul Andrade Member

    Joined:
    Jun 15, 2019
    Messages:
    77
    Balance:
    216Coins
    Ratings:
    +25 / 0 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino
    hi!, can you please tell me the Exact Specs on the motors, I have build a 2Dof with Wheelchait motors and I'm planing to make a 6Dof like yours, but Still don't know what motors to use that has enough power
  7. knaufinator

    knaufinator Active Member

    Joined:
    Nov 16, 2017
    Messages:
    198
    Occupation:
    Simulation Engineer
    Location:
    akron,ohio
    Balance:
    1,734Coins
    Ratings:
    +226 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    Yo, I have the specs embedded in the GitHub project link -
    https://github.com/knaufinator/6DOF-Rotary-Stewart-Motion-Simulator

    basically I use 6 750w AC servo motors
    https://www.aliexpress.com/item/32844239563.html

    coupled with 50:1 Gear reducers/torque multipliers
    https://www.aliexpress.com/item/32967571001.html

    The motors are good for 2.4 Nm torques constant - 7 peak, then coupled with the torque multiplier/gear, we get 120Nm torque constant and 350Nm peak. The peak is good for those slamming motions .. when you hit the walls.....
    • Like Like x 2
    • Informative Informative x 1
    • Friendly Friendly x 1
  8. pipi

    pipi New Member

    Joined:
    Apr 27, 2021
    Messages:
    1
    Balance:
    29Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    Arduino, 6DOF
    I also like the simulator of DOF6 recently. I saw your video on YouTube, and I was very interested in it. So I went to GitHub to check your project, but I found that the controller code of ESP32 only has a no-load debugging code, I wonder if you could give me some help on the code and how to use the Seror. Thank you very much for your simulator. It's very attractive.
  9. knaufinator

    knaufinator Active Member

    Joined:
    Nov 16, 2017
    Messages:
    198
    Occupation:
    Simulation Engineer
    Location:
    akron,ohio
    Balance:
    1,734Coins
    Ratings:
    +226 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    pm'd
  10. tunatoro_tom

    tunatoro_tom New Member

    Joined:
    May 30, 2021
    Messages:
    2
    Balance:
    28Coins
    Ratings:
    +0 / 0 / -0
    My Motion Simulator:
    6DOF
    Hey Knaufinator, awesome build, that was something I wanna do. Just curious about how you figure all these out, are you an engineer?
  11. knaufinator

    knaufinator Active Member

    Joined:
    Nov 16, 2017
    Messages:
    198
    Occupation:
    Simulation Engineer
    Location:
    akron,ohio
    Balance:
    1,734Coins
    Ratings:
    +226 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    Yes, I have a Computer engineering degree, this build was somewhat right up my ally with the PCB, microcode work.
  12. janio

    janio janio from brazil

    Joined:
    Feb 28, 2020
    Messages:
    81
    Occupation:
    state employee
    Location:
    belo horizonte
    Balance:
    184Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I liked your project, I support compact projects, my platform has only two dof (it suits me well) but I see you opted for monitors, so I ask you if you were not interested in virtual reality glasses, because after I flew in, I couldn't more back to the monitors, (used 3 combined at 30º angles).
  13. knaufinator

    knaufinator Active Member

    Joined:
    Nov 16, 2017
    Messages:
    198
    Occupation:
    Simulation Engineer
    Location:
    akron,ohio
    Balance:
    1,734Coins
    Ratings:
    +226 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    I actually do have VR, a subscriber/builder sent them to me. I have used them, and they do offer a nice bump in realism and immersion. though,... I do prefer monitor, as VR tends to scramble my brain when motion compensation is buggy in my very dynamic rig..... most of the time. Multiple monitors would be better, but as I am mounting the monitor to the chassis,.. it needs to be light weight.
    • Like Like x 1
  14. janio

    janio janio from brazil

    Joined:
    Feb 28, 2020
    Messages:
    81
    Occupation:
    state employee
    Location:
    belo horizonte
    Balance:
    184Coins
    Ratings:
    +35 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    the motion compensation is really boring to implement, it didn't work well with my rift s and it worked almost well with the reverb g2. but that's it, let's go ahead!!!
  15. knaufinator

    knaufinator Active Member

    Joined:
    Nov 16, 2017
    Messages:
    198
    Occupation:
    Simulation Engineer
    Location:
    akron,ohio
    Balance:
    1,734Coins
    Ratings:
    +226 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    I record my BRZ with an IMU and video feeds with a custom open source app I developed and then Play it back on my 6dof motion rig,... I want to expand this idea and take a trip to something like the Tail of the Dragon...!!
    • Winner Winner x 3
    • Like Like x 2
    • Informative Informative x 1
    • Creative Creative x 1
  16. tu xiao mi

    tu xiao mi Member Gold Contributor

    Joined:
    Aug 10, 2021
    Messages:
    71
    Balance:
    486Coins
    Ratings:
    +5 / 0 / -0
    My Motion Simulator:
    Arduino, 6DOF
    Excuse me, I have a question about the pn058. How to set the homing trigger? only set it "23"? I use the same servo with you.
  17. knaufinator

    knaufinator Active Member

    Joined:
    Nov 16, 2017
    Messages:
    198
    Occupation:
    Simulation Engineer
    Location:
    akron,ohio
    Balance:
    1,734Coins
    Ratings:
    +226 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    by setting the value to 23- you inform the servo driver that the "sigin" port from the PCB cable is the Homing sensor. with that information, it now knows that when the signal goes high...then it needs move in the direction you program in with pn36 + pn37. pn38 and pn39 inform the driver how fast to move - 100 being the homing speed on either side of the homing sensor position hunt for me.

    pn33 informs the driver to Hunt for home directly after turning it on
    pn34 is the direction is will go after home.

    Input Designation

    • pn52 - 23 Sigin 1 - homing trigger
    Home location after sensor is activated

    • pn36 - +/-11 X1000 pulses to get you in the ballpark area after home trigger
    • pn37 - ~ +/-5000 as needed for precision to finish off where you want the arm to land after home trigger
    • pn38 - 100 init speed
    • pn39 - 100 back home speed
    homing rotation direction settings

    • pn033 -3 power on homing
    • pn034 - 0 clockwise
    • pn034 - 1 counter clockwise

    I recommend reading the manual to the aasd-15 servo driver. it took awhile for me to understand it, but the more I read it and played with the motors the more it made sense.
    • Informative Informative x 1
    Last edited: Aug 21, 2021
  18. tu xiao mi

    tu xiao mi Member Gold Contributor

    Joined:
    Aug 10, 2021
    Messages:
    71
    Balance:
    486Coins
    Ratings:
    +5 / 0 / -0
    My Motion Simulator:
    Arduino, 6DOF
    I am puzzled with pn36 and pn37 .
  19. tu xiao mi

    tu xiao mi Member Gold Contributor

    Joined:
    Aug 10, 2021
    Messages:
    71
    Balance:
    486Coins
    Ratings:
    +5 / 0 / -0
    My Motion Simulator:
    Arduino, 6DOF
    I set them 0, and when the hall active, the servo stop
  20. knaufinator

    knaufinator Active Member

    Joined:
    Nov 16, 2017
    Messages:
    198
    Occupation:
    Simulation Engineer
    Location:
    akron,ohio
    Balance:
    1,734Coins
    Ratings:
    +226 / 1 / -0
    My Motion Simulator:
    AC motor, 6DOF
    good, that is the expected result. its also good that this illustrates the homing sensor is working.

    pn36 + pn37 = the position it will move after it hits the homing sensor.

    there are only so many LED digits on the servo driver. the manufacturer needed to split up the count of how many positions are to be sent to the motor. so they split it up by a factor of x1000

    pn36 = + x1000 positions as the number you enter

    I entered (11) for this value, this means it will move 11,000 positions

    pn37 = + positions of the number you enter

    I entered ~500 here or it may have been closer 500... either way, use this to fine tune pn37, as you can only modify it at the 1000's precision with pn36
    s0,... 11500 would be my total movement once home is triggered.

    This will be different for each motor , as the sensor is in a slightly different location on each arm.


    • Informative Informative x 1