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

Hoddem's DIY Linear Actuator

Discussion in 'DIY Motion Simulator Projects' started by Hoddem, May 23, 2017.

  1. kermitkong

    kermitkong Active Member Gold Contributor

    Joined:
    Apr 12, 2016
    Messages:
    187
    Occupation:
    Hardware Development
    Location:
    Germany
    Balance:
    1,238Coins
    Ratings:
    +275 / 1 / -0
    My Motion Simulator:
    DC motor, Motion platform, 6DOF
    just start to assemble the actuator to see how everthing fits...


    IMG_8634.JPG
    IMG_8635.JPG
    • Like Like x 3
  2. Hoddem

    Hoddem Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    404
    Occupation:
    Engineer
    Location:
    Minnesota, USA
    Balance:
    3,342Coins
    Ratings:
    +715 / 2 / -0
    Looking good, Are you 3d printing the plastic parts or are you having them machined?
    What are you using for the rods, it looks like polished steel for the main rod and just steel for the smaller ones?
    Did you go with 5mm pitch or 10mm pitch ball-screw?
  3. Hoddem

    Hoddem Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    404
    Occupation:
    Engineer
    Location:
    Minnesota, USA
    Balance:
    3,342Coins
    Ratings:
    +715 / 2 / -0
    I had some time tonight so I disassembled the actuator and installed the updated version of the main bearing holder.

    image.jpeg

    image.jpeg

    I also used some white lithium grease on the ballscrew to see if it would quiet down. It didn't help, still very noisy. I used the grease on my bolts that are threaded directly into the 3D printed parts and that works great though.

    I am hoping to get the sabertooth and kangaroo all setup tomorrow. I have terminal blocks on the way and then I can install the new connector plate and button it up for good.
    • Like Like x 1
  4. kermitkong

    kermitkong Active Member Gold Contributor

    Joined:
    Apr 12, 2016
    Messages:
    187
    Occupation:
    Hardware Development
    Location:
    Germany
    Balance:
    1,238Coins
    Ratings:
    +275 / 1 / -0
    My Motion Simulator:
    DC motor, Motion platform, 6DOF
    Hi,

    Yes I'm using polished steel for the main rod.
    For the smaller I'm using carbon rods.
    The pitch of the ball-screw is 5mm
    Also, the plastics are 3D printed.
    Last edited: Sep 21, 2017
  5. kermitkong

    kermitkong Active Member Gold Contributor

    Joined:
    Apr 12, 2016
    Messages:
    187
    Occupation:
    Hardware Development
    Location:
    Germany
    Balance:
    1,238Coins
    Ratings:
    +275 / 1 / -0
    My Motion Simulator:
    DC motor, Motion platform, 6DOF
    i solve the issue with moving bearings like this:
    Have three 3D-printed parts screwed together to fix the bearing. see picture.
    hopefully this is stable enough. What do you think ?
    cut-view.PNG
    cut-view2.PNG
    • Like Like x 2
    Last edited: Sep 21, 2017
  6. Hoddem

    Hoddem Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    404
    Occupation:
    Engineer
    Location:
    Minnesota, USA
    Balance:
    3,342Coins
    Ratings:
    +715 / 2 / -0
    That should work just fine, make sure you measure your actual bearings to get the correct overall length. I noticed that mine don't match the 3d model from the IGUS website exactly and are actually a little bit longer.
  7. Hoddem

    Hoddem Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    404
    Occupation:
    Engineer
    Location:
    Minnesota, USA
    Balance:
    3,342Coins
    Ratings:
    +715 / 2 / -0
    @kermitkong is getting close on his actuator, I was getting scared that I wouldn't get mine done first so I got to it.

    First test using the Sabertooth and Kangaroo combo (No More Sparks!). I am using the actuator in R/C controlled position mode.
    This was at default settings so 75% of full speed running off of a single battery. Everything is cobbled together quick and dirty until my connectors show up.


    Second test running with the kangaroo set to maximum speed, I think the battery is struggling to keep up with the draw of the motor on direction changes.


    It's still loud as hell, but I can tell it is coming mostly from the motor. It sounds like it is coming from the motor brushes.

    Once I get my connectors I will clean up the wiring and get setup to do some load testing.
    • Like Like x 5
  8. Hoddem

    Hoddem Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    404
    Occupation:
    Engineer
    Location:
    Minnesota, USA
    Balance:
    3,342Coins
    Ratings:
    +715 / 2 / -0
    I'm questioning my choice of the random 800w DC motor (its so loud). I was looking into the ampflow motors and they seem to have a ton of power in a very small package.

    upload_2017-9-22_8-46-38.png

    I am tempted to pick up an E30-400 for testing, price wise its actually a better deal and I can get one on amazon.

    Wondering if anyone has any experience with these motors. I know @Pierre Lalancette has the the E30-150 motors, but I don't think he has gotten to performance testing yet.

    In any case I have the stuff to do 24V testing so I will give that a shot with the current motor just to see what happens.

    Here is a video of the A28-400 from the ampflow website, I would love to test one out as it may be the ultimate motor.
  9. Hoddem

    Hoddem Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    404
    Occupation:
    Engineer
    Location:
    Minnesota, USA
    Balance:
    3,342Coins
    Ratings:
    +715 / 2 / -0
    I can't get these motors out of my head, I noticed that the Ampflow motors have a double shaft. I emailed them and they said they are designed to mount up to an encoder with no modifications.

    Here is the encoder they designed them for
    e2_webproduct_01_0.jpg
    https://www.usdigital.com/products/encoders/incremental/rotary/kit/E2

    Here is the response I received

    Thank you for contacting AmpFlow.

    This type of encoder will work:
    www.usdigital.com/assets/datasheets/E2_datasheet.pdf?k=634982727183808679

    If you order it with the "G" option, it will bolt right to the existing holes in the back of the motor.

    Please let me know if there is anything else you need.

    Regards,

    Carlo Bertocchini
    www.AmpFlow.com
    650-593-6906

    They are between $60 and $70 usd without cables, so not cheap but probably the easiest and best way to do it for guys using the sabertooth/kangaroo package.
    • Like Like x 2
  10. cprelot

    cprelot New Member

    Joined:
    Jul 27, 2017
    Messages:
    11
    Occupation:
    3D Senior Artist
    Location:
    Montreal
    Balance:
    142Coins
    Ratings:
    +4 / 0 / -0
    My Motion Simulator:
    Arduino, Motion platform, 6DOF
    for the price's of the motors' sabertooth, power supply's...have you considered to going with AC servo/drive?
  11. Hoddem

    Hoddem Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    404
    Occupation:
    Engineer
    Location:
    Minnesota, USA
    Balance:
    3,342Coins
    Ratings:
    +715 / 2 / -0
    Ya, I have been toying with that Idea too. One of the major holdouts for me is the fact that I would need to run a few dedicated circuits just for the simulator. With everything being DC I can throw a couple of car batteries at the problem and bring my total power consumption at the wall to within the 20a maximum for my circuit.
    • Agree Agree x 1
  12. Hoddem

    Hoddem Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    404
    Occupation:
    Engineer
    Location:
    Minnesota, USA
    Balance:
    3,342Coins
    Ratings:
    +715 / 2 / -0
    My connectors showed up today so I had a little time to finish out all the wiring and button everything up

    2017-09-22 15.46.32.jpg

    The terminations on the wires wouldn't fit so I had to improvise.

    2017-09-22 16.41.31.jpg

    2017-09-22 16.45.15.jpg

    Here is my super sophisticated setup, lots of electrical tape.

    2017-09-22 18.27.53.jpg

    I'm still just using the batteries, I didn't have time to get the power supplies setup. I am having some issues with the kangaroo now though and I'm not sure if its from the fact that I am using longer wires now or some other problem. I ran the calibration sequence yesterday and all was fine, today I can't get it to go. When I start it it immediately trips and gives me a limit switch warning. Also when I first plug in the sabertooth it tries to do the homing sequence but glitches several times throughout. I figured out that if I move my joystick on my remote around a bunch it will start the homing sequence again. eventually after a few cycles of that it will finally hit the limit switch and then shoot to the middle and all is fine again until I remove power.

    I will keep looking at it over the weekend, but I may have to give DE a call to see whats up.
  13. Hoddem

    Hoddem Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    404
    Occupation:
    Engineer
    Location:
    Minnesota, USA
    Balance:
    3,342Coins
    Ratings:
    +715 / 2 / -0
    So.....Load Testing.

    Don't laugh, I do this in the name of progress.



    This is running on a single battery, first part is with the kangaroo cranked up to max speed, second part is set at stock (75%).
    I weighed myself just after doing this and came in at a hefty 209lbs.

    so ya, stop laughing now
    • Like Like x 5
    • Winner Winner x 3
  14. mariano68

    mariano68 Active Member

    Joined:
    Nov 15, 2014
    Messages:
    576
    Occupation:
    builder contractor
    Location:
    Argentina
    Balance:
    3,339Coins
    Ratings:
    +395 / 2 / -0
    My Motion Simulator:
    2DOF, Arduino, 4DOF
    That's a guy confident of his work (or just mad)
    Impressive! and that is just with one battery (12v?)?
  15. SeatTime

    SeatTime Well-Known Member

    Joined:
    Dec 27, 2013
    Messages:
    2,573
    Occupation:
    Retired
    Location:
    Brisbane Australia
    Balance:
    28,370Coins
    Ratings:
    +2,844 / 39 / -0
    My Motion Simulator:
    AC motor, Motion platform
    Ride em cowboy :). You got to love the Sabertooth 2 X 60 .
    • Like Like x 1
    • Funny Funny x 1
  16. Hoddem

    Hoddem Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    404
    Occupation:
    Engineer
    Location:
    Minnesota, USA
    Balance:
    3,342Coins
    Ratings:
    +715 / 2 / -0
    It didn't break so lets go with confident.
    Yes that was a single battery so 12v. However I have two batteries so I figured why not give it a shot at 24V. lets just say that was not fun, I was about getting air-born and that beam is only 3" wide so not a lot of support for a guy like me.

    No video this time, I was just messing around trying to get this thing to auto-tune. still no luck and the profile was way off with 24V, even at center it was jumping up and down like crazy. Also for testing purposes I'm running a single 12g wire and they were getting pretty warm.
  17. wannabeaflyer2

    wannabeaflyer2 Well-Known Member

    Joined:
    Jun 12, 2015
    Messages:
    724
    Location:
    london uk
    Balance:
    8,304Coins
    Ratings:
    +953 / 7 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 6DOF
    Hi @Hoddem quickie question , a few post back you touched on a problem I had a long time ago when I tried to use the kangaroo setup and optical encoders . that was part of the reason I changed to Multiturn pots .. I came across the same issues during the teach process where it would say limit switch tripped but that was not the case ????? were you able to get the teach operation to work repeatedly .

    Also did you end up needing 10K Pull up resistors on the encoder outputs to ensure clean signal to the Kangaroo module ?

    I also see you have the Kangeroo Connected to the Sabertooth 2x60 ( I did not know this was supported on that card ) or is there a new version/ firmware for the 2x60 that allows the use of the Kangeroo.. ?
  18. Hoddem

    Hoddem Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    404
    Occupation:
    Engineer
    Location:
    Minnesota, USA
    Balance:
    3,342Coins
    Ratings:
    +715 / 2 / -0

    I was able to get the tune to work every time without resistors when I was connected directly from the encoder to the kangaroo. Now that I have the ethernet cable as an extension I can no longer get the tune to run. I keep getting the limit switch error and I too have checked the limit switches multiple times and cannot find any issues. I did try adding 1k resistors between the A & B outputs on the Encoder and the 5V source per the kangaroo manual. I suspect the problem relates to the extension cable, but I can try adding 10K resistors when I get a chance.

    upload_2017-9-24_10-9-1.png

    It's odd though because I had already completed the tune and once I get the system powered up and homed everything works as expected and I can accurately control the position so it seems the encoder is working.


    As far a I know the kangaroo has always supported the 2x60 so I'm not sure if that changed before I started working on this. I did not do any firmware updates, in fact I have not even setup my sabertooth in describe. I just plugged the kangaroo in and setup the dip switches per the manual and everything was working.

    upload_2017-9-24_10-12-13.png

    One thing I did struggle with is it seams the kangaroo manual and the pack-in instructions are contradicting for the sabertooth dip switch settings.
    the pack-in says to have the sabertooth set to 1-on, 2-on, 3-off, 4-off, 5-off, 6-off
    The manual says to have the sabertooth set to 1-off, 2-off, 3-on, 4-on, 5-on, 6-on

    upload_2017-9-24_10-13-10.png

    upload_2017-9-24_10-15-49.png

    I struggled for quite a while before I figured out It had set per the manual 1-off, 2-off, 3-on, 4-on, 5-on, 6-on

    I will continue troubleshooting and give the 10k resistor a shot (not much room on the kangaroo for resistors). If I continue to have issues I will give DE a call and just see if they can point me in the right direction.
    • Informative Informative x 1
  19. Hoddem

    Hoddem Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    404
    Occupation:
    Engineer
    Location:
    Minnesota, USA
    Balance:
    3,342Coins
    Ratings:
    +715 / 2 / -0
    I had a little time to play around with the wiring and it seems to be an encoder problem, but I still don't know for sure. I tried changing the 1K resistors to 10K and no change. I did notice though that If I get the actuator to perform the initial home sequence I seemed to be losing encoder pulses. If I run the actuator up and down a bunch it will slowly drift. I changed my 6ft Ethernet cable to a 1ft cable and I am able to consistently perform the homing startup and even got about half way through the tune sequence before it errors out. I also am not losing steps anymore so it appears that I am getting some signal loss from my cable setup.

    just to rule out the limit switches I re-wired them to use the 4 connections on the kangaroo pcb and connected my ohm meter to each switch while running the actuator up and down aggressively. I never got a break in the continuity so it doesn't make sense that at the start of the tune where the actuator is barely moving I would be tripping the limit switch.

    My next test will be to wire the encoder directly to the kangaroo with the shortest cable run possible and see if the problem goes away. If so I will have to look into shielded cables.

    I will be giving dimension engineering a call tomorrow to discuss, because it is odd that I would be getting a limit switch error during the tune if it is in fact the encoder.
  20. Hoddem

    Hoddem Well-Known Member

    Joined:
    Sep 27, 2016
    Messages:
    404
    Occupation:
    Engineer
    Location:
    Minnesota, USA
    Balance:
    3,342Coins
    Ratings:
    +715 / 2 / -0
    If it turns out to be interference I will probably go with a DB9 breakout board and cable instead of the RJ45 setup I have now. It will at least be shielded so it should help or fix the issue.

    upload_2017-9-24_17-40-0.jpeg