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

Budget Compact 6DOF Universal VR Flight / Racing rig - MSFS, SMC3, FlyPT, Transducers, Controls

Discussion in 'DIY Motion Simulator Projects' started by Ronan Design, Oct 11, 2024.

  1. Josh_Possa

    Josh_Possa Active Member

    Joined:
    Jan 25, 2021
    Messages:
    116
    Location:
    Catalunya
    Balance:
    544Coins
    Ratings:
    +32 / 0 / -0
    My Motion Simulator:
    2DOF, 3DOF, DC motor, Motion platform
    The problem is that the drivers (Cytron, Sabertooth) and the arduino are also negative connected so the ground between motors, Arduinos and hall sensors (even the PC) are always shared
  2. Aerosmith

    Aerosmith Active Member

    Joined:
    May 30, 2024
    Messages:
    247
    Occupation:
    self employed
    Location:
    Germany
    Balance:
    1,446Coins
    Ratings:
    +131 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    @Ronan Design can you please post your schematic of the whole controller cabinet once again? I can't find it anymore. I still have the problem that my browser sometimes doesn't display embedded pictures. So make sure you insert is as thumbnail. Thanks
  3. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,094
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,246Coins
    Ratings:
    +10,892 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK

    Attached Files:

    • Like Like x 1
    • Useful Useful x 1
  4. Ronan Design

    Ronan Design Roman Design - Custom MSFS Scenery

    Joined:
    Jun 4, 2021
    Messages:
    193
    Occupation:
    Web Designer, MSFS Scenery Designer
    Location:
    Toronto, Canada
    Balance:
    1,311Coins
    Ratings:
    +71 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Thanks, yes, that's the schematic. It does not include the LCD voltmeter/ammeter devices, which are not essential. But just in case, here's how they are wired:
    upload_2024-11-14_19-31-4.png
    They are rated up to 100V/10A, which should mean 1000W, so they should be good for 41A @24V which is more than I need.
  5. Aerosmith

    Aerosmith Active Member

    Joined:
    May 30, 2024
    Messages:
    247
    Occupation:
    self employed
    Location:
    Germany
    Balance:
    1,446Coins
    Ratings:
    +131 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    Ah, thanks @noorbeast for posting the schematic, again. The original post still looks like this in my browser. It doesn't like big pictures embedded in the posts.
    Ronan-sch.png

    @Ronan Design The problem with the sensors is the "daisy chain" of the power and ground wires to the sensors. The red and black wires all go to the first Arduino while the signals (yellow and blue wires) go to different boards.

    You should run three seperate wires to each sensor and connect +5V and ground to the same Arduino where the signal goes. (this is called "star grounding") The best cable would be a shielded twisted pair. (+5V and signal as twisted pair and ground on the shield). If you don't have such a cable twisting all three wires should also work as long as they don't run close to the motor cables.
    Last edited: Nov 15, 2024
  6. Aerosmith

    Aerosmith Active Member

    Joined:
    May 30, 2024
    Messages:
    247
    Occupation:
    self employed
    Location:
    Germany
    Balance:
    1,446Coins
    Ratings:
    +131 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    Be careful, the fact that 100V * 10A is 1000W doesn't mean that you can run 41A @ 24V through it. Power at the shunt resistor is proportional to the square of the current, no matter what the voltage (at the supply or motor) is. So 40A means 16 times the rated power @ 10A!:eek:

    But don't worry. I think the average current doesn't exceed 10A and the shunt can handle very short pulses of higher currents.
    • Agree Agree x 1
  7. Ronan Design

    Ronan Design Roman Design - Custom MSFS Scenery

    Joined:
    Jun 4, 2021
    Messages:
    193
    Occupation:
    Web Designer, MSFS Scenery Designer
    Location:
    Toronto, Canada
    Balance:
    1,311Coins
    Ratings:
    +71 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    Exactly my thoughts. I have found precisely the cables you described lying around. those are old high-grade audio cables with a twisted pair inside and shield outside, so I use the shield as ground and the pair as +5V and return signal and solder them directly to individual Arduino boards. I also found some ferrite cores I'll clip on, and I can also solder capacitors between ground and signal which supposedly can help with HF noise. I need to figure out if I have suitable ones and where to put them - at the Arduino side or directly on the sensors.
  8. Attyla.pl

    Attyla.pl Active Member

    Joined:
    Oct 1, 2023
    Messages:
    163
    Location:
    Polska
    Balance:
    660Coins
    Ratings:
    +46 / 0 / -0
    My Motion Simulator:
    2DOF, Arduino
    I think this movie might be interesting
  9. Ronan Design

    Ronan Design Roman Design - Custom MSFS Scenery

    Joined:
    Jun 4, 2021
    Messages:
    193
    Occupation:
    Web Designer, MSFS Scenery Designer
    Location:
    Toronto, Canada
    Balance:
    1,311Coins
    Ratings:
    +71 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I have rewired the sensors with the audio cables, and connected each voltage and ground to its respective Arduino board. It did help a lot. I now see noise levels in line with what I had on my 2DOF. I need to do more testing because I did see a couple of spikes, but overall it's a big improvement. I also added a ferrite clamp close tot he sensor on each cable. I could still add capacitors to see if I can get rid of more noise.

    I swapped the direction of every second motor in the SMC3 firmware to make it work correctly in the FlyPT. Now the motors seem to move correctly and consistently with the 3D Viewer with all the motions I model in FlyPT mover. Now I need to do thorough testing to make sure no motor runaways can happen because that would ruin the day very fast when the motor arms and top platform are connected. I'm considering adding stop switches but that's a lot of switches and contacts and wires (adding potential points of failure), and they weren't triggered even once on my 2DOF in 3 years. Once I'm reasonably sure the system works properly, I will add the motor arms and top platform, test all motions, then add gas struts and weight on top, then when it all works, add the rest of the structure.
    • Like Like x 3
  10. Aerosmith

    Aerosmith Active Member

    Joined:
    May 30, 2024
    Messages:
    247
    Occupation:
    self employed
    Location:
    Germany
    Balance:
    1,446Coins
    Ratings:
    +131 / 0 / -0
    My Motion Simulator:
    3DOF, AC motor
    Good to hear that the new sensor cables helped.

    About stop switches, a rule of thump is to install them only in the case that a runaway would cause catastrophic failure. I think with rotary actuators that doesn't happen. It could cause violent shaking of the rig but that unlikely event can be handled with a kill switch (E-stop button), I think.

    Additionally - airplane rule: Put all your eggs in one basket after making sure you have a really good basket. I mean, double check your cables and connectors. Secure everything with cable straps, protection tubing and so on. Make sure nothing becomes loose to avoid a runaway occurs in the first place instead of thinking about how to handle it.
  11. Ronan Design

    Ronan Design Roman Design - Custom MSFS Scenery

    Joined:
    Jun 4, 2021
    Messages:
    193
    Occupation:
    Web Designer, MSFS Scenery Designer
    Location:
    Toronto, Canada
    Balance:
    1,311Coins
    Ratings:
    +71 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I added 0.1uF (104) capacitors to all 6 sensors and also added ferrite clips around all cables on both ends now. I have no severe problems now, however, some noise is still present. The motors are not visibly twitching but they are crackling a bit.

    This is the data from the sensor when the motor is under power:
    upload_2024-11-27_17-30-42.png


    And this is the same sensor when I turn the AC power off, so motors are powered down. The signal is definitely much clearer.

    upload_2024-11-27_17-31-5.png

    I also have some motor twitching at extreme positions. What's interesting is that it only happens when I hit the "clip" line, so maybe SMC3 is at fault here. If I go below the line and the signal is not clipped, the twitching disappears.



    I've read on some post that the SMC3 code can be modified with taking the running average of the last 10 reading, which should smooth out the signal, but there was no code there and I can't figure out how to piggyback the GetFeedback function of SMC3 for the running average.

    Attached Files:

  12. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,094
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,246Coins
    Ratings:
    +10,892 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    In SMC3 if the motor feedback does move beyond the set range (typically through inertia), then SMC3 will attempt to brake the motors hard by driving them in reverse until they are back out of this limit zone, that may be what you are describing.
    • Like Like x 1
  13. Ronan Design

    Ronan Design Roman Design - Custom MSFS Scenery

    Joined:
    Jun 4, 2021
    Messages:
    193
    Occupation:
    Web Designer, MSFS Scenery Designer
    Location:
    Toronto, Canada
    Balance:
    1,311Coins
    Ratings:
    +71 / 1 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    I think the idea is that if the incoming signal is outside of set bounds the clipping should just quietly limit the signal, so it doesn't go beyond range and it shouldn't break hard. But the implementation is probably flawed and what you said may still kick in beyond clipping range. Or it may even be an intended behaviour of CMS3Tools so this braking could be tested. I god a mild cold, but when I'm better I will fabricate the motor arms and start testing the platform movement.

    Meanwhile some progress.
    I assembled the top platform:
    upload_2024-11-27_19-54-28.png

    upload_2024-11-27_19-55-14.png

    And attached the seat base:
    upload_2024-11-27_19-56-0.png

    I hope the thick plywood will hold the weight and the G forces. I think it should. I can reinforce it if it flexes too much, but I actually think a tiny bit of flex is a good thing so the platform is not too jarring.
    • Like Like x 1
  14. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,094
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,246Coins
    Ratings:
    +10,892 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK