Three phase motors with directional contactors and encoder
- santy
- Offline
- Premium Member
Less
More
- Posts: 116
- Thank you received: 10
03 Feb 2024 20:48 #292329
by santy
Three phase motors with directional contactors and encoder was created by santy
Hello, I have a weird old surface grinding machine with very low backlash in its axes. The main hydraulic axis works fine, the Z axis is driven by a three phase motor and the Y is driven by another three phase motor.
My buttons drive the contactors to move the motors CW or CCW, but it is not enough for me, as I would like to run it fully automatically.
can I use an encoder to drive this motor? How can I choose that my axis position and direction comes out as a digital output for CW, another output for CCW, all of this while controlling its position with low tolerance?
This is probably done in Hal, are there any examples available?
ill Be using some used heidenhain encoders with very good precision, which I have interfaced with linuxcnc successfully, so no problem here.
My buttons drive the contactors to move the motors CW or CCW, but it is not enough for me, as I would like to run it fully automatically.
can I use an encoder to drive this motor? How can I choose that my axis position and direction comes out as a digital output for CW, another output for CCW, all of this while controlling its position with low tolerance?
This is probably done in Hal, are there any examples available?
ill Be using some used heidenhain encoders with very good precision, which I have interfaced with linuxcnc successfully, so no problem here.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19458
- Thank you received: 6529
03 Feb 2024 21:11 #292331
by tommylight
Most probably the machine uses induction motors, so only VFD will work, and they are not good at precise position control, but might work for "not so precise" control.
If it uses DC brushed motors, that is easier as drives can be found for quite reasonable prices and need encoders on motors, so can be precise.
The "nuclear" option would be 2 servo drive/motor sets, be it brushed or even better brushless.
Replied by tommylight on topic Three phase motors with directional contactors and encoder
No, encoders cam not drive motors, they can send motor position back to drives/controller.can I use an encoder to drive this motor?
Most probably the machine uses induction motors, so only VFD will work, and they are not good at precise position control, but might work for "not so precise" control.
If it uses DC brushed motors, that is easier as drives can be found for quite reasonable prices and need encoders on motors, so can be precise.
The "nuclear" option would be 2 servo drive/motor sets, be it brushed or even better brushless.
Please Log in or Create an account to join the conversation.
- santy
- Offline
- Premium Member
Less
More
- Posts: 116
- Thank you received: 10
04 Feb 2024 10:44 #292368
by santy
Replied by santy on topic Three phase motors with directional contactors and encoder
Sorry I wasn’t very specific.
I don’t mean to use the encoder to drive the motor. I mean to use the encoder feedback to know where the motor is.
The part that I have no idea how to do, is how I can use a mesa board to control the motors.
I have everything done electrically: closing one contractor would move CW, closing the other would move CCW. I can use mesa board outputs to drive these contactors.
I just don’t know how it would be done in Hal
Linking an output to the direction of an axis, and another output to the opposite direction.
All of this while “looking” at the encoder that I have connected to the motor for more precise control..
I don’t need high precision.
I don’t mean to use the encoder to drive the motor. I mean to use the encoder feedback to know where the motor is.
The part that I have no idea how to do, is how I can use a mesa board to control the motors.
I have everything done electrically: closing one contractor would move CW, closing the other would move CCW. I can use mesa board outputs to drive these contactors.
I just don’t know how it would be done in Hal
Linking an output to the direction of an axis, and another output to the opposite direction.
All of this while “looking” at the encoder that I have connected to the motor for more precise control..
I don’t need high precision.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19458
- Thank you received: 6529
04 Feb 2024 13:36 #292381
by tommylight
Replied by tommylight on topic Three phase motors with directional contactors and encoder
From what i can gather, it would be easier to use an arduino to control the existing relays and get position from encoders, but that would probably require writing the code for it.
I am sure it can be done in LinuxCNC also, but not clue how for now, just sipping my first coffee so brain is asleep.
I am sure it can be done in LinuxCNC also, but not clue how for now, just sipping my first coffee so brain is asleep.
Please Log in or Create an account to join the conversation.
- spumco
- Offline
- Platinum Member
Less
More
- Posts: 1827
- Thank you received: 738
04 Feb 2024 18:16 #292421
by spumco
The Z-axis is, from the operator's position, the forward-backward axis in/out from spindle axis - right?
The Y-axis is the left-right table traverse, right?
If so, you are correct in that you don't need/want 'high' precision. Just enough on Z to get an approximate stepover.
My suggestion would be to either use a PLC (or arduino), or use LCNC as a PLC via classic ladder. You don't need the trajectory control part of LCNC. Just some adjustable limit switches for both axes, plus an encoder knob and a pushbutton or two to start/stop left-right and start/stop incremental stepovers.
The end result will be fairly 'dumb', but you can have an adjustable left-right stroke length as well as an adjustable stepover increment (plus auto-reverse) for Y axis. The auto-reverse won't be super-useful as you aren't (or haven't mentioned) how to control X-axis downfeed.
If this sounds like a useful arrangement we can help work out the details in ladder and hal.
Replied by spumco on topic Three phase motors with directional contactors and encoder
Just to make sure we're all on the same page...I don’t need high precision.
The Z-axis is, from the operator's position, the forward-backward axis in/out from spindle axis - right?
The Y-axis is the left-right table traverse, right?
If so, you are correct in that you don't need/want 'high' precision. Just enough on Z to get an approximate stepover.
My suggestion would be to either use a PLC (or arduino), or use LCNC as a PLC via classic ladder. You don't need the trajectory control part of LCNC. Just some adjustable limit switches for both axes, plus an encoder knob and a pushbutton or two to start/stop left-right and start/stop incremental stepovers.
The end result will be fairly 'dumb', but you can have an adjustable left-right stroke length as well as an adjustable stepover increment (plus auto-reverse) for Y axis. The auto-reverse won't be super-useful as you aren't (or haven't mentioned) how to control X-axis downfeed.
If this sounds like a useful arrangement we can help work out the details in ladder and hal.
Please Log in or Create an account to join the conversation.
- santy
- Offline
- Premium Member
Less
More
- Posts: 116
- Thank you received: 10
04 Feb 2024 19:35 #292428
by santy
Replied by santy on topic Three phase motors with directional contactors and encoder
Hello, thank you again for your help in this post on my previous post on the 611 drives!! This is a good idea.
I have a damage 7i96s board with working IO and encoder (only stepgen4 works, the others dont) and I’ll use it in this machine hahah.
The left and right stroke is imposed manually in a very clever way, I could send you a video via Discord or something.
The grinding head goes down and up in an extremely precise lead screw so I can get very good precise movement even with this dumb motor.
The Y axis (moving the grinder forward and backward) is the one I want to “CNC” the most, so that I don’t need to be using the machine constantly.
I’m not confident with Arduino, much more with linuxcnc
I have a damage 7i96s board with working IO and encoder (only stepgen4 works, the others dont) and I’ll use it in this machine hahah.
The left and right stroke is imposed manually in a very clever way, I could send you a video via Discord or something.
The grinding head goes down and up in an extremely precise lead screw so I can get very good precise movement even with this dumb motor.
The Y axis (moving the grinder forward and backward) is the one I want to “CNC” the most, so that I don’t need to be using the machine constantly.
I’m not confident with Arduino, much more with linuxcnc
Please Log in or Create an account to join the conversation.
- spumco
- Offline
- Platinum Member
Less
More
- Posts: 1827
- Thank you received: 738
04 Feb 2024 22:03 #292447
by spumco
Replied by spumco on topic Three phase motors with directional contactors and encoder
Sounds like you want to automate all three axes.
Some pics of the machine would be helpful, along with a wiring diagram.
And a better description of the mechanism the moves the head up and down. It may make sense to fit a stepper motor to drive the head up and down and use your one remaining stepgen to manage that action, with the other axes driven via contactors and adjusted with timer values stored in ladder or somewhere else in LCNC.
Some pics of the machine would be helpful, along with a wiring diagram.
And a better description of the mechanism the moves the head up and down. It may make sense to fit a stepper motor to drive the head up and down and use your one remaining stepgen to manage that action, with the other axes driven via contactors and adjusted with timer values stored in ladder or somewhere else in LCNC.
Please Log in or Create an account to join the conversation.
Time to create page: 0.062 seconds