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

Question 6dof diy actuator to 4dof ibt2 24v brushed motors

Discussion in 'DIY Motion Simulator Projects' started by Stefzouille, Dec 26, 2023.

  1. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
    Hi,:thumbs
    sorry for my English, I use a translator ;)

    I got this system for not too much money, which had been sleeping in a garage for at least 3 - 4 years.
    These are AmpFlow E30-150 24V Motor brushed motors and an Arduino IBT2 card provided for each actuator on one or more R3s.
    there is still work on it, the belts for the position of the motors on the potentiometers are not installed,
    the limit switches are external to the motors and must also be installed, and the 24v 50-60Amperes power supply is missing?!?

    and to make it easier I don't have arduino code to upload to the uno r3 :sos

    not having the space to do what was planned with a 6dof, I would simply like to use it with an actuator at each corner of the playseat..and possibly a traction loss..later.:rolleyes:

    having searched a little I didn't see anything similar except with brushless Pmvcda and the internal hall sensor if I understood correctly..here:
    https://www.xsimulator.net/community/threads/flypt-6dof-brushless-diy-actuators.10799/

    So here it is with the attached photos, I hope to be able to get some help already on the feasibility of the project, in DIY I'm getting by, but in arduino code I'm frankly bad...

    the list of what I have:
    x6 motors AmpFlow E30-150 24V Motor brushed motor
    https://www.robotmarketplace.com/products/0-e30-150-24.html

    x7-8 arduino ibt2

    x6 uno r3 clone ?!

    x6 cylinders half assembled, the system for the potentiometers needs to be checked or improved
    and the endstop too.

    I know that now we no longer use Mige ST80 or ST90 but as this system is already 4 years old even if it is new, I suspect that it will need to be adapted?

    I hope and thank you for taking the time to read me, and wish you a very happy holiday! hug:

    I hope I succeed in doing this project lol

    ha yes I have simtools v3 because I have a simukit 2dof 120w seat movers en wipers motor.

    Thanks again for those who could help me, that would be really great!!
    and if at the same time serve others?
    :cheers

    Attached Files:

    • Winner Winner x 1
  2. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,171
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,706Coins
    Ratings:
    +10,915 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    • Like Like x 1
  3. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
    Last edited: Dec 27, 2023
  4. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
    Hmmm can stop now? Can t turn on.?!? I dont understand why?

    oki this is the potentiometer out of consigne! Now it moove !

    Attached Files:

    Last edited: Dec 27, 2023
  5. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
  6. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,171
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,706Coins
    Ratings:
    +10,915 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Please post pictures of all of your settings.
    Last edited: Dec 28, 2023
  7. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
    Hi,
    well still not much progress, just a single actuator equipped for the tests, smct3 and in the arduino, and no endstop contactor since there is none on the plans, however I have to go back to the hand because if I go too high I go out of the locker, I lower the cylinder but it only goes down 10cm and stops. so here's where I am:

    Attached Files:

    Last edited by a moderator: Dec 28, 2023
  8. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
    Hi :)
    I have a second chassis to complete with mine, so I have to put everything into pieces, even the current chassis to set up this project, everything remains to be done, there are quite a few parts missing including the power supply, fixing plate, belt for the pots, etc. I plan to fix the jacks on the frame and then tajoit the movable part, the jacks will have grip on the bars of the movable part, that's where I am currently.

    there is a different way to position the jacks, but without a code it won't move, and to start assembling the chassis I want to be sure that these jacks are usable, because there is no point in putting everything together and at the last moment surrendering takes into account that he has to change the engines or completely dismantle everything to change this or that part, I will obviously do the construction and assembly tutorial later

    Attached Files:

    Last edited by a moderator: Dec 28, 2023
  9. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
    I followed the tutorial for smc3, this one ok, the curve and the direction are ok as in the tutorial, only when I turn on simtools v3 with scm3 utils off, nothing happens, and if I leave smc3 utils open when I do test then simtools beeps and tells me error?

    would you have an idea pls?

    Attached Files:

  10. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
    well I had a Sabert 2x32 so I tested with the SPS code, on smc3 utils yes it moves and it is detected but on simtools nothing it moves in the interface test setting....

    here :
    https://www.xsimulator.net/communit...ial-pid-motor-driver-sketch-w-softstart.9277/

    so there is a step missing but I don't understand what that means?
    line 19 say :
    1. Motor driver setup is now complete but the PID controller will still need to be turned to work properly with your particular setup. This will be done later though and is not included in the scope of this tutorial
    Simtools Setup

    Setup for Simtools 2 is very straight forward:

    Interface Type - Serial

    ComPort = the Arduino ComPort, you can find it in Windows Device Manager.

    BitsPerSec - 500000

    Data Bits - 8

    Parity - None

    Stop Bit -1

    Output Bit Range - 10

    Output Type - Binary

    Interface Output - [A<Axis1a>][B<Axis2a>][C<Axis3a>]

    i use simtools for my 2dof wiper motors that the probleme ?

    yes ok for one motors, works fine.

    Attached Files:

    Last edited: Dec 28, 2023
  11. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
    Hi,;)
    one question leads to another, if I put 2 actuators per r3 card, with simtools I can manage 2 r3 cards? so 4 actuators on 2 arduino r3 pls?

    I still haven't understood how I managed to set the zero point on the potentiometer, and the endstop instructions are managed by smc3, but I'm going to add mechanical endstops to cut power on a relay in case a problem occurs on the potentiometer?!? Or is there a middle ground? on another scheme the endstops are on the signal of the pots?

    here:
    https://www.xsimulator.net/community/threads/flypt-6dof-brushless-diy-actuators.10799/

    Attached Files:

  12. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,171
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,706Coins
    Ratings:
    +10,915 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    T
    This step is to configure the Interface Settings in SimTools.
    If you are controlling 2 actuators from 2 controllers the first will be: Interface Output - [A<Axis1a>][B<Axis2a>]

    And the second will be: Interface Output - [A<Axis3c>][B<Axis4d>]

    The Com Port needs to be correctly set for each control board.

    Do not run SMC3 and SimTools at the same time, as it will create a port conflict.
    • Like Like x 1
  13. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
    yes I succeeded in the end, I didn't understand how I managed to adjust the position but it works, I'm going to do the 3 remaining actuators and put 2 per r3 card then assembly and test under load
    • Like Like x 1
  14. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
    hi :)

    I'm having a problem with the ibt2, on smc3Utils in motion, it moves ok, but on simtools nothing to do, however with the sabert 2x32 mode3 it works correctly with simtools, mode2 is ok for ibt2, the com port is ok, would you have any idea pls?:sos

    I turn off simtools and switch back to smc3Utils and motion makes the cylinder move, I turn off smc3Utils and switch to simtools and nothing in testing it doesn't move, test in udp the same nothing? on smc3Utils I reset everything to 0 Kp, Ki, Kd, PWMmin, PWMmax, PWMrev?
    I save and close?

    Attached Files:

    • bbb.png
      bbb.png
      File size:
      28.8 KB
      Views:
      127
    Last edited: Dec 30, 2023
  15. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

    Joined:
    Jul 13, 2014
    Messages:
    21,171
    Occupation:
    Innovative tech specialist for NGOs
    Location:
    St Helens, Tasmania, Australia
    Balance:
    148,706Coins
    Ratings:
    +10,915 / 54 / -2
    My Motion Simulator:
    3DOF, DC motor, JRK
    Please post pictures of all of your settings.
  16. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
    yes in simtools :

    Attached Files:

  17. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
    apart from the startup and shutdown code that I put for the test with the sabertooth:
    [A<128>][B<128>][C<128>]
    these are the same settings for the sabert and ibt2 test just the arduino card which changes

    edit: OOOUUUPPPPSSSSS !!! :oops:

    ok I just figured out my mistake:
    [A<Axis3a>][B<Axis3a>][C<Axis3b>] if I put 3a twice it's normal :think

    it's ok now :cheers

    for the 24v power supply, what do you recommend compared to the ibt2? 24v - 40a max? because the sabert 2x32 will not like the 40a of the power supply?

    Attached Files:

    Last edited: Dec 30, 2023
  18. noorbeast

    noorbeast VR Tassie Devil Staff Member Moderator Race Director

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

    Use the Enhanced Google Search on the Recent page to check what others are using for PSUs, but leave yourself plenty of headroom as there are large power spikes generated in fast reversals.

    With the Sabertooth 2x32 you do not need to use a battery to deal with regenerative current, see here:
    [​IMG]
    • Like Like x 1
  19. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
    Ha?! I actually wanted to use the ibt2? but is it the best choice? thank you for the info I didn't think about the battery, so ibt2 and power supply won't be enough then..?!?
  20. Stefzouille

    Stefzouille Member

    Joined:
    Dec 25, 2023
    Messages:
    104
    Balance:
    595Coins
    Ratings:
    +20 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, 4DOF
    I find this for 24v:
    [​IMG]