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

DIY Linear Actuator design

Discussion in 'Motor actuators and drivers' started by wannabeaflyer2, Mar 5, 2016.

  1. luky_90

    luky_90 Member

    Joined:
    Mar 3, 2016
    Messages:
    106
    Location:
    Italy
    Balance:
    276Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    hi guys, this is the scheme I use for the project of the actuators, where should I put the microswitches?
    on the engines you told me not to put them I would have too high power returns, where do you recommend me?

    Attached Files:

  2. Pierre Lalancette

    Pierre Lalancette Sir Lalancelot Gold Contributor

    Joined:
    Dec 11, 2016
    Messages:
    943
    Occupation:
    3D teacher
    Location:
    Quebec, Canada
    Balance:
    7,683Coins
    Ratings:
    +884 / 6 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, 6DOF
    You are missing a part between the vnh5019 and the motor (it could also be between the PSU and the vnh5019 also). Its a high current relay. It will cut the power to the motors if one of your limit switch is triggered. I plan to do a closed circuit with all my limit switch. If one of them is triggered, every high power relay will be turn off and all of my 6 motors will shut down. I will have to find the cause, reset positions, and start again. Also, a panic button will be part of the limit switches closed circuit.
  3. bruce stephen

    bruce stephen Hammer doesnt fix it, must be electrical

    Joined:
    Jun 7, 2015
    Messages:
    1,286
    Occupation:
    general contractor
    Location:
    michigan
    Balance:
    9,110Coins
    Ratings:
    +1,238 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    The sabertooth 2x32 seems a better value than the pololu vnh5019 at $50.00 each. Are you getting the vnh5019 for less somewhere?
  4. luky_90

    luky_90 Member

    Joined:
    Mar 3, 2016
    Messages:
    106
    Location:
    Italy
    Balance:
    276Coins
    Ratings:
    +16 / 0 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino
    no I have not found the VNH5019 unless, but I'm very comfortable with this card and even if it costs more I continue to use it.
    as soon as I have time I will also try the sabertooth.
    • Like Like x 1
  5. Jerry Atrick

    Jerry Atrick this is my sim Gold Contributor

    Joined:
    May 3, 2017
    Messages:
    141
    Occupation:
    Retired
    Location:
    Sydney Australia
    Balance:
    1,414Coins
    Ratings:
    +44 / 1 / -0
    My Motion Simulator:
    4DOF
    Hi wannabeaflyer2, I'm thinking of having a stab at a actuator, and would like to know something about lead on the ball screw, can you tell me what lead you selected and why please.

    This would be a real help, thanks in advance.
    Regards jerry.
  6. wannabeaflyer2

    wannabeaflyer2 Well-Known Member

    Joined:
    Jun 12, 2015
    Messages:
    724
    Location:
    london uk
    Balance:
    8,287Coins
    Ratings:
    +950 / 7 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 6DOF
    hi @Jerry Atrick most of us here have settled on the 1605 ballscrew setup. meaning 16mm diameter ballscrew and lead being 5mm per revolution, I have not been to active here lately , its Flying weather but I regularly check to see what the guys are upto. Some great info to be found and many ways of making these actuators I dare say no 2 are the same so that's a good thing as it means its evolving all the time .. pick the bones out of the various and add your own slant to it , it helps introduce new ways of doing things ands we all benefit ... im lookin at encoders as Potentiometer replacements so watch this space guys i'll have bits to play with soon as im waiting for then to be shipped ... never stop learning guys this forum brilliant melting pot of ideas with Can do attitude that's infectious :)
    • Like Like x 4
  7. Jerry Atrick

    Jerry Atrick this is my sim Gold Contributor

    Joined:
    May 3, 2017
    Messages:
    141
    Occupation:
    Retired
    Location:
    Sydney Australia
    Balance:
    1,414Coins
    Ratings:
    +44 / 1 / -0
    My Motion Simulator:
    4DOF
    Hi and thank you for the info, any help is appreciated; will look forward to the encoders.

    Regards Jerry.
  8. haribole

    haribole New Member

    Joined:
    Nov 19, 2017
    Messages:
    13
    Location:
    North Carolina, USA
    Balance:
    211Coins
    Ratings:
    +7 / 0 / -0
    My Motion Simulator:
    6DOF

    Hello Peacemaker105, did you end up using the sabertooth 2X32A for this motor?
  9. wannabeaflyer2

    wannabeaflyer2 Well-Known Member

    Joined:
    Jun 12, 2015
    Messages:
    724
    Location:
    london uk
    Balance:
    8,287Coins
    Ratings:
    +950 / 7 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 6DOF
    Hi Guys He's 'back as mentioned somewhere in my posts I have had this bee in my bonnet about swapping Pots for optical encoders for feedback on my actuators . well the new journey begins I have now bought Thanos's Encoder2Pos Interface PCB with the intention of doing some trials before commiting to changing out my current ( yes its Still in one piece Pride of joy 6DOF sim ) in my sim room .
    I may well start another Post for this part of the project but here is the target Outline ..
    I'll be using 600cpr Optical encoder ( already had those)

    Each actuator will need 1 Encoder2pos Interface PCB ( Simplist term it Converts Digital Pulses form encoder to Analog Output Suitable for Sabertooths and Barebones Kickstarte AMC Controller

    one Barebones AMC128USB Controller Card

    My spare Linear Actuator fitted with Limit switches and Suitable Gt2 Gear Pulley Ration 1:1 to Drive the Encoder via Looped GT2 Belt ( No Place to Mount Encoder directly to the shaft in this setup :-(

    Initial Trials will use BFF software But followed quickly by Simtools and SMC to cover my Options

    Not been active here for a while so its gonna be painful trying to pick up all the new info you guys have posted as things have moved on at a great pace .. but that's the plan ..

    I have attached some tatser picys but will add nes cad drawings and wiring diagrams as I go along

    1. Just waiting for the gears and belts to turn up then I can make the mounting plate and start connecting wiring
    All togather NOW shout out all Hail Blue SMOKE LOL fat finger freddy is on the case...as they say on THUNDERBIRD or was that STINGRAY " Stand by for action,, (drumbeat here ) anything can happen in the next half hour :) (its an UK thing LOL

    Attached Files:

    • Like Like x 3
    Last edited: Jun 19, 2018
  10. Pierre Lalancette

    Pierre Lalancette Sir Lalancelot Gold Contributor

    Joined:
    Dec 11, 2016
    Messages:
    943
    Occupation:
    3D teacher
    Location:
    Quebec, Canada
    Balance:
    7,683Coins
    Ratings:
    +884 / 6 / -0
    My Motion Simulator:
    3DOF, DC motor, Arduino, 6DOF
    That thing force a lot of new electronic into the mix, but I don't think you're scare of that.

    Good luck and keep us posted. Glad to see you back.
    • Like Like x 1
  11. SeatTime

    SeatTime Well-Known Member

    Joined:
    Dec 27, 2013
    Messages:
    2,574
    Occupation:
    Retired
    Location:
    Brisbane Australia
    Balance:
    28,370Coins
    Ratings:
    +2,844 / 38 / -0
    My Motion Simulator:
    AC motor, Motion platform
    Mate - your soooo yesterday.. :p. Interested to see if it makes much of a noticeable difference. Keep us updated.
    • Funny Funny x 2
  12. Thanos

    Thanos Building the Future one AC Servo at a time... or 6

    Joined:
    Jul 6, 2017
    Messages:
    1,347
    Occupation:
    Electronics Engineer
    Location:
    United States
    Balance:
    2,699Coins
    Ratings:
    +1,043 / 9 / -0
    My Motion Simulator:
    AC motor, Motion platform, 4DOF, 6DOF
    Don't forget to update to the last firmware. It has some additional goodies for the encoder2position modules...

    https://www.dropbox.com/s/v9y8cjo5zhlhurx/enc_6dof_AMC1280USB_v2.4_rev7_debug.hex?dl=0

    The actuators should move up (limit H) and then down (limit L) to complete the calibration. If not, change the motor direction from the lcd menu (6dof direction).

    Thanks
    Thanos
    • Informative Informative x 2
  13. wannabeaflyer2

    wannabeaflyer2 Well-Known Member

    Joined:
    Jun 12, 2015
    Messages:
    724
    Location:
    london uk
    Balance:
    8,287Coins
    Ratings:
    +950 / 7 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 6DOF
    Hi Guys more bits trickling in via ebay so fingers crossed weekend should see some headway test setup wise at least , just some more Pic's showing todays tweaks to the cad Model ..

    the 2 x 40Tooth GT2 Gears will be bored out 12mm for motor and 6 mm for Encoder , that'll be tomorrows lunch time mission :)

    will try to document as much of the setup and lesson learnt so hopefully others can see how this thing will pan out.

    attached CAD pdf for visualisation but I have 2 schemes for encoder connection ..
    Option A would be straight swap out for pot and use the existing belt arrangement
    Option B would be the Gear on motor and Encoder with 1:1 ratio

    will need to breadboard the ULN2803 chip initially but further down the road both the encoder and that chip will be mounted somewhere on the actuator to sort of make it self contained ( I stress Sortta) ..

    it appear I need to flash a firmware update so that will be my 1st item in the new posting ... have to ask general uestion ,,would you guys prefer a separate post as this is now Control system area as opposed to tacking it onto this post which was initially just to cover the mechanical assembly of an actuator ??

    Attached Files:

  14. Thanos

    Thanos Building the Future one AC Servo at a time... or 6

    Joined:
    Jul 6, 2017
    Messages:
    1,347
    Occupation:
    Electronics Engineer
    Location:
    United States
    Balance:
    2,699Coins
    Ratings:
    +1,043 / 9 / -0
    My Motion Simulator:
    AC motor, Motion platform, 4DOF, 6DOF
    Hey, you don't need to use the ULN2803 mentioned on the schematic, this is used to relay the limit switch signal to the Servo drives for their internal function and disable the motor from moving to that direction.

    2018-04-01T19_30_46.020Z-Encoder2Position schematic.JPG

    The limit switches are used primarily to detect the travel length of the actuator and remap the encoder pulses correctly to the length of stroke.

    Thanks
    Thanos
    • Informative Informative x 2
  15. bruce stephen

    bruce stephen Hammer doesnt fix it, must be electrical

    Joined:
    Jun 7, 2015
    Messages:
    1,286
    Occupation:
    general contractor
    Location:
    michigan
    Balance:
    9,110Coins
    Ratings:
    +1,238 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    I'm using encoders 1:1 direct to the motor shaft then driving the system with kangaroo and sabertooth. the motion is handled by the kangaroo without converting the encoder to analog. Be sure your not just converting the signal to analog it kinda defeats the purpose IMHO. At that point its not really any different than just using a pot. The main reason I got rid of the pots are the fact that the encoder fits directly to the motor shaft and along with the kangaroo, they completely eliminate the need for belts, pulleys, gears and limit switches. Follow the KISS rule and you will be good(Keep It Simple Stupid).
    Last edited: Jun 22, 2018
  16. wannabeaflyer2

    wannabeaflyer2 Well-Known Member

    Joined:
    Jun 12, 2015
    Messages:
    724
    Location:
    london uk
    Balance:
    8,287Coins
    Ratings:
    +950 / 7 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 6DOF
    Hi @bruce stephen yeah would have to agree to an extent , I tried the Kangeroo way way way back in the early days when I was using the Electric wheelchair motor and gear boxes for my 1st attempt at 6DOF had issue with getting the teach tuning to work with the Encoders major pain at the time , but as I said it was a newly introduce ed device to DE product range so I guess I suffered from lack of product knowledge syndrome and gave up in the end ...I still have all my Kangaroos but never got round to revisiting that setup...there's a lot to be said for the KISS method but hell its a challenge ( said with Peter sellers inspector Clousoe imitation French accent ) :) high praise for your work mate been checking it out big time :) just rechecked some info and the Encoder2pos interface seems to do a similar job to the Kangeroo in so far as both systems get taught the length of travel via limit switches and then use this remapped span to produce the analoug 0-5 v range .. take that explanation with a pince of salt as im just feeling my way into this test setup.. :)
    • Like Like x 2
    Last edited: Jun 23, 2018
  17. wannabeaflyer2

    wannabeaflyer2 Well-Known Member

    Joined:
    Jun 12, 2015
    Messages:
    724
    Location:
    london uk
    Balance:
    8,287Coins
    Ratings:
    +950 / 7 / -0
    My Motion Simulator:
    2DOF, Arduino, Motion platform, 6DOF
    ok mini update , the easy part the mechanical assembly is done and I have configured the actuator to have both Encoder Position option already fitted , that way I can evaluate each option and settle on the final position depending on how the tests go .. some picys again just for reference

    Attached Files:

    • Like Like x 4
  18. bruce stephen

    bruce stephen Hammer doesnt fix it, must be electrical

    Joined:
    Jun 7, 2015
    Messages:
    1,286
    Occupation:
    general contractor
    Location:
    michigan
    Balance:
    9,110Coins
    Ratings:
    +1,238 / 9 / -0
    My Motion Simulator:
    2DOF, DC motor, Arduino, Motion platform, 6DOF
    First off let me say that without your work (and others) I wouldnt have even started down this road so tyhug:.
    The tune has been improved with the kangaroo. if you have them already i would give them a shot. they may need to be updated tho. I don't believe the kangaroo converts to analog. it does allow for analog input but i haven't tried that I just use encoders with reference.
    Were you using pots or encoders the last time you attempted the kangaroos? also I use physical stops to tune the kangaroo, not the limit switches. it doesn't hit at full speed or power so it shouldn't kill your assembly. I look forward to your progress keep us posted. ;)
    • Friendly Friendly x 2
    • Like Like x 1
  19. Thanos

    Thanos Building the Future one AC Servo at a time... or 6

    Joined:
    Jul 6, 2017
    Messages:
    1,347
    Occupation:
    Electronics Engineer
    Location:
    United States
    Balance:
    2,699Coins
    Ratings:
    +1,043 / 9 / -0
    My Motion Simulator:
    AC motor, Motion platform, 4DOF, 6DOF
    People were asking me when the AMC1280USB will support quadrature encoders, so it does now. I used it for linear servomotors that I didn't want to attach external position sensors to them successfully.

    Generally I heard feedback from people tried kangaroo and compared it to the AMC1280USB before, that the AMC1280USB provides more smooth ride in flight simulators. ( see Markus : http://6dof.my.primusnetz.de/ )

    Thanks
    Thanos
    • Informative Informative x 1
  20. Ringorumble

    Ringorumble Active Member

    Joined:
    Jan 20, 2008
    Messages:
    178
    Balance:
    190Coins
    Ratings:
    +48 / 1 / -0
    @Thanos can you give me more Info about the Quadratur Support ?