584,871 active members*
5,331 visitors online*
Register for free
Login
Page 1 of 2 12
Results 1 to 20 of 34
  1. #1
    Join Date
    Apr 2007
    Posts
    54

    Options to drive 24vdc motor

    This probably isn't specific to Kflop but I'm looking to add a rotary axis to my saw. I've come across some affordable (surplus) industrial slewing drives (used for solar trackers). These come with a 24vdc motor with the following specs:

    Attachment 409624

    I know that to use the encoder that is already on it I'd need to do single to differential to hook up to Kanalog. But what I'm unsure of is how to drive the motor. I have KAnalog so something that takes +-10vdc would be ideal. Does that exist for these type of motors? I've been told it is a brushless DC motor. Anyone have a recommendation for a motor drive for this? Or am I better off replacing the motor with an AC servo?
    Thanks
    Greg.

    Attachment 409632

    Attachment 409634

  2. #2
    Join Date
    Dec 2003
    Posts
    24216

    Re: Options to drive 24vdc motor

    Advanced motion Controls have one in the BE30A8 series that goes down to 20vDC.
    They use ±10vdc analogue input.
    They come up on ebay from time to time also.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #3
    Join Date
    Dec 2003
    Posts
    24216

    Re: Options to drive 24vdc motor

    Also does it have Hall effect tracks either on the encoder or separate type.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  4. #4
    Join Date
    May 2006
    Posts
    4043

    Re: Options to drive 24vdc motor

    I’m thinking those are brushed motors.

    Our SnapAmp could drive 4 of those but would be overkill.

    Or something like this “dumb” AMC drive
    https://www.servo2go.com/azb10a4/
    TK
    http://dynomotion.com

  5. #5
    Join Date
    Dec 2003
    Posts
    24216

    Re: Options to drive 24vdc motor

    If they are Brushed motor and if a AMC drive I mentioned was purchased, they will also drive a DC brushed just as well.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  6. #6
    Join Date
    Apr 2007
    Posts
    54

    Re: Options to drive 24vdc motor

    Thanks. Those will help point me in the right direction once I get my hands on the motor.
    Greg.

  7. #7
    Join Date
    Apr 2007
    Posts
    54

    Re: Options to drive 24vdc motor

    So my head is spinning from reading all the DC servo manuals, as I look for a cheap one on ebay. Analog vs digital, hall/tach/sin/cos/encoder feedback, velocity/torque... lots to learn. The slew drive showed up today. Feel like a kid in a candy store.

    5500 ft lbs output torque should be good. Says the tracking precision is <= 0.17 degree, not sure what that translates to good/bad as far as accuracy. I'm thinking of using a magnetic ring encoder mounted to the table to give true position feedback to Kflop so backlash wont be too much of a concern. Turns at a blistering 0.1 RPM as geared. I'd like to get that up to 1 perhaps 2 RPM for rapids.The motor has several reduction sections in it. The seller included a dead motor so I can take that apart and see how it goes together, hoping I can remove one of the reducing sections without losing too much torque that the included motor wont turn the table with a load on it.

    I purchased 3 because the deal was pretty good ($550CDN - $415US each), now I'm thinking I could use one for a 'lathe' like axis but one thing at a time.

    Some pictures:

    Attachment 410282

    Attachment 410284

    Attachment 410288

    Attachment 410290

  8. #8
    Join Date
    Dec 2003
    Posts
    24216

    Re: Options to drive 24vdc motor

    So how many connections to the motor and encoder?
    Motor 2 or 3?
    Any documentation with the Unit (In English!).?
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  9. #9
    Join Date
    Apr 2007
    Posts
    54

    Re: Options to drive 24vdc motor

    Quote Originally Posted by Al_The_Man View Post
    So how many connections to the motor and encoder?
    Motor 2 or 3?
    Any documentation with the Unit (In English!).?
    Al.
    Hi Al,

    Sorry -24C in the shop... had a screw that needed to be drilled out and I was avoiding going outside...

    So far no documentation on the motor or encoder.
    I believe it is a brushed motor, 2 wires, here's the pictures:

    case removed:
    Attachment 410328

    insides:
    Attachment 410330

    brushes:
    Attachment 410332

    outer:
    Attachment 410334

    encoder end:
    Attachment 410344

    encoder:
    Attachment 410336

    Attachment 410338

    Attachment 410340

  10. #10
    Join Date
    Dec 2003
    Posts
    24216

    Re: Options to drive 24vdc motor

    DC brushed motor with PM field, the encoder looks like a low res DC + & - with A-B outputs referenced to the DC -ve.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  11. #11
    Join Date
    Apr 2007
    Posts
    54

    Re: Options to drive 24vdc motor

    Quote Originally Posted by Al_The_Man View Post
    DC brushed motor with PM field, the encoder looks like a low res DC + & - with A-B outputs referenced to the DC -ve.
    Al.
    Hi Al,

    This is what I found on the motors manufacturers web site:
    Attachment 410364

    http://www.dongyangmotor.com/upload/...ic_Encoder.pdf

    I wonder if such a low res encoder is even worth using for feedback to the servo drive/kflop? I'm guessing low speed control would suffer.

    One thing I'm a little confused on with the DC drives is what mode to set them up in for use with Kflop.

    I think after reading a few dc drive manuals I'm best to set the drive up in torque mode with no encoder feedback to the drive. Then in this case since the included encoder is very low resolution, plus single ended, it's probably better to have an encoder measuring the table rotation. Then feed that to kflop. Sound right?

    Thanks
    Greg.

  12. #12
    Join Date
    May 2006
    Posts
    4043

    Re: Options to drive 24vdc motor

    Hi Greg,

    Says the tracking precision is <= 0.17 degree, not sure what that translates to good/bad as far as accuracy.
    I think that works out to 0.030inch position error at a 10inch radius.

    I think after reading a few dc drive manuals I'm best to set the drive up in torque mode with no encoder feedback to the drive. Then in this case since the included encoder is very low resolution, plus single ended,
    8 ppr would be very low resolution.

    Can you determine the overall mechanical reduction? I saw 78:1 ? But if you are only seeing 0.1RPM I would expect much higher reduction.

    What are your requirements for precision?

    it's probably better to have an encoder measuring the table rotation. Then feed that to kflop. Sound right?
    Measuring the table rotation directly would likely require a very high resolution encoder depending on your requirements.

    If you feedback the table position you will likely also need some feedback from the motor shaft to have a stable system.
    TK
    http://dynomotion.com

  13. #13
    Join Date
    Dec 2003
    Posts
    24216

    Re: Options to drive 24vdc motor

    Quote Originally Posted by Greg9504 View Post
    Hi Al,


    One thing I'm a little confused on with the DC drives is what mode to set them up in for use with Kflop.

    I think after reading a few dc drive manuals I'm best to set the drive up in torque mode with no encoder feedback to the drive. Then in this case since the included encoder is very low resolution, plus single ended, it's probably better to have an encoder measuring the table rotation. Then feed that to kflop. Sound right?

    Thanks
    Greg.
    They are not only single ended, they use 24vdc instead of the customary 5v, I have always used the torque mode for the drives with encoder back to the control.
    If you end up using them, there IC's out there you could convert to RS485 5v.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  14. #14
    Join Date
    Apr 2007
    Posts
    54

    Re: Options to drive 24vdc motor

    Hi Tom,

    overall reduction is 18252:1
    - motor planetary reducer: 234:1 - gear reducer output 7.7 rpm
    - slew drive worm gear: 78:1 - slew gear output ~ 0.1 rpm

    Accuracy? Hard for me to answer that intelligently wrt CNC world. If I cut a stone, told the table to turn 90 degrees, made another cut, then put a carpenter's square on it, I'm hoping that the cut looks square.

    Thanks for the info about the feedback, I hadn't thought that would be a problem. Looking at this table for ring encoders:
    https://www.rls.si/eng/mr100f-radial...able-160-poles
    If I'm reading it correctly, if I used the ring with the most counts, I'd end up with 3640.89 counts/degree (1310720/360). I believe the max RPM columns are for the various minimum edge separation configurations you can spec the encoder for (0.05MHz to 15MHz). Out of curiosity what is the minimum edge separation for KAnalog encoder inputs? There didn't seem to be much cost difference between the lower count and higher count configurations. Of course not as cheap as a simple rotary encoder on the motor itself. The reason I though going with the encoder on the table is that having the linear encoders on my other axis seemed to work well, even though they were fairly low resolution (~1100 counts/inch).


    Perhaps my first try should be:
    - pick up an older analog DC servo drive
    - adapter a better encoder on the motor and feedback to kflop

    Thanks
    Greg.

  15. #15
    Join Date
    May 2006
    Posts
    4043

    Re: Options to drive 24vdc motor

    Hi Greg,

    Accuracy? Hard for me to answer that intelligently wrt CNC world. If I cut a stone, told the table to turn 90 degrees, made another cut, then put a carpenter's square on it, I'm hoping that the cut looks square.
    Well the stated accuracy of 0.17 degrees (which I suspect is basically gear backlash) would come out to about 1/32 inch of error (over 10 inch sides). Do you think that would look good enough on your carpenter's square?

    If so, that would work out to 0.17 / 360 * 18252 = 8.6 full motor revolutions. So precise motor positioning is not likely to buy you much. I'm thinking the 8 ppr encoder might work well enough for crude motor positioning. I'd try it. It isn't clear to me if that 8ppr is actually 32 quadrature transitions/rev.

    I think the spec says the encoders can work with 5-24V so they should operate at 5V.

    Thanks for the info about the feedback, I hadn't thought that would be a problem. Looking at this table for ring encoders:
    https://www.rls.si/eng/mr100f-radial...able-160-poles
    If I'm reading it correctly, if I used the ring with the most counts, I'd end up with 3640.89 counts/degree (1310720/360). I believe the max RPM columns are for the various minimum edge separation configurations you can spec the encoder for (0.05MHz to 15MHz). Out of curiosity what is the minimum edge separation for KAnalog encoder inputs? There didn't seem to be much cost difference between the lower count and higher count configurations. Of course not as cheap as a simple rotary encoder on the motor itself. The reason I though going with the encoder on the table is that having the linear encoders on my other axis seemed to work well, even though they were fairly low resolution (~1100 counts/inch).
    Well it is always great to have measurement directly on the table, if for nothing else but to know what is happening, but in this case I'm not sure how much it will help. If there is a relatively large amount of backlash and the motor must move a lot to take it out then correcting errors may be too slow to be effective. Software backlash correction might work as well or even better. Is there a way to preload the table to take out backlash?

    KFLOP Encoder inputs work up to 1 million quadrature transition counts/sec. Which is 1us per transition on average. KFLOP's encoder inputs have a programmable digital filter to reject glitches that defaults to 7 samples at 16.67MHz which is 0.42us. You might just conservatively use the 1us number. I doubt if any of this would be an issue for you.

    BTW I saw your backlash video. Very cool. Of course it is always best to remove backlash/slop where possible as you did, but I would have loved to have seen how well KFLOP's backlash correction would have worked in that case.

    https://youtu.be/02zkP3DcHy0




    It would be simplest to obtain a +/-10V analog torque drive, but with a bit more work a KFLOP PWM output connected to something like this could possibly work.

    https://www.robotshop.com/en/pololu-...ontroller.html

    TK
    http://dynomotion.com

  16. #16
    Join Date
    Dec 2003
    Posts
    24216

    Re: Options to drive 24vdc motor

    Quote Originally Posted by Greg9504 View Post
    Thanks. Those will help point me in the right direction once I get my hands on the motor.
    Greg.
    What part of Canada are you in?
    I have a number of surplus AMC and Copley DC drives if interested, I have a 25A8D it is actually a Galil Motion but they re-label AMC drives, it is rated 12v to 80v to 12A.
    Al.
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  17. #17
    Join Date
    Apr 2007
    Posts
    54

    Re: Options to drive 24vdc motor

    Quote Originally Posted by TomKerekes View Post
    Hi Greg,

    Well the stated accuracy of 0.17 degrees (which I suspect is basically gear backlash) would come out to about 1/32 inch of error (over 10 inch sides). Do you think that would look good enough on your carpenter's square?
    Yes that should be good enough. Although hoping it works out a bit better. Once I get power to the motor I'll measure the backlash.

    Quote Originally Posted by TomKerekes View Post
    Software backlash correction might work as well or even better. Is there a way to preload the table to take out backlash?
    I'm not sure how. It's basically a worm gear, it looks like this inside:
    Attachment 410418
    But there's also the backlash in the planetary gearbox attached to the motor.

    Quote Originally Posted by TomKerekes View Post
    BTW I saw your backlash video. Very cool. Of course it is always best to remove backlash/slop where possible as you did, but I would have loved to have seen how well KFLOP's backlash correction would have worked in that case.
    Thanks. Yes it would have. I'll will try with the rotary axis. That board is so small, and cheap! I may have to try it. I read https://www.dynomotion.com/wiki/inde...WM_Output_Mode . The given OutputToPWM_sign_mag_single_axis.c would be good starting point. The docs for the board state:

    In this configuration, motor direction is determined by the states of the INA (clockwise) and INB (counter clockwise) pins and motor
    speed is controlled by the duty cycle of a PWM signal supplied to the driver’s PWM pin.
    ...
    Note that it is also possible to save a microcontroller I/O line by directly
    PWMing the INA and INB pins while holding the PWM pin high (e.g. by connecting it directly to
    VDD).
    So for the simplest connection I'd use two output pins for controlling direction. I'm not sure how to connect for the second scenario they describe. Wouldn't that only turn the motor in only one direction?

    Thanks for your help.
    Greg.

  18. #18
    Join Date
    Apr 2007
    Posts
    54

    Re: Options to drive 24vdc motor

    Quote Originally Posted by Al_The_Man View Post
    What part of Canada are you in?
    I have a number of surplus AMC and Copley DC drives if interested, I have a 25A8D it is actually a Galil Motion but they re-label AMC drives, it is rated 12v to 80v to 12A.
    Al.
    Hi Al,

    I am in Ottawa. 12A is more than enough, motor is rated 2.8 A, 3.5 peak. Please PM me the details.
    Thanks!

  19. #19
    Join Date
    May 2006
    Posts
    4043

    Re: Options to drive 24vdc motor

    Hi Greg,

    That board is so small, and cheap! I may have to try it. I read https://www.dynomotion.com/wiki/inde...WM_Output_Mode . The given OutputToPWM_sign_mag_single_axis.c would be good starting point. The docs for the board state:

    In this configuration, motor direction is determined by the states of the INA (clockwise) and INB (counter clockwise) pins and motor
    speed is controlled by the duty cycle of a PWM signal supplied to the driver’s PWM pin.
    ...
    Note that it is also possible to save a microcontroller I/O line by directly
    PWMing the INA and INB pins while holding the PWM pin high (e.g. by connecting it directly to
    VDD).
    So for the simplest connection I'd use two output pins for controlling direction. I'm not sure how to connect for the second scenario they describe. Wouldn't that only turn the motor in only one direction?
    Yes I think the 1st scenario modifying the program to use two Outputs to control the direction would be simplest.

    For their 2nd scenario they move both directions by either pulsing the INA or the INB pins. This would require a switch to move the PWM from one pin to the other. To avoid the necessity of a switch a workaround is to use two KFLOP PWM outputs and command either one or the other to pulse.
    TK
    http://dynomotion.com

  20. #20
    Join Date
    Dec 2003
    Posts
    24216

    Re: Options to drive 24vdc motor

    Greg, PM sent, here is the PDF.
    Includes the external connectors.
    Al.
    Attached Files Attached Files
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

Page 1 of 2 12

Similar Threads

  1. G0704 Spindle Drive Belt Options
    By atomarc in forum Benchtop Machines
    Replies: 2
    Last Post: 11-11-2016, 06:08 PM
  2. Stepper and drive options
    By Danny1978 in forum Stepper Motors / Drives
    Replies: 0
    Last Post: 08-17-2013, 03:19 PM
  3. X-Axis Drive Options
    By Stevo_1600 in forum Linear and Rotary Motion
    Replies: 4
    Last Post: 10-06-2011, 05:58 PM
  4. Hard Drive Options for A2100
    By cnckid in forum Cincinnati CNC
    Replies: 3
    Last Post: 12-18-2010, 06:22 AM
  5. 24vdc motor control
    By blksmith in forum CNC Machine Related Electronics
    Replies: 17
    Last Post: 10-22-2006, 03:39 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •