Spindle soft stop
15 Mar 2020 12:51 - 15 Mar 2020 12:59 #160294
by alkabal
Spindle soft stop was created by alkabal
Hi
I have a KBMG-212D for drive my lathe spindle, this one include a great regenerative brake.
This brake is i think too much efficient my motor does some Sparks at high RPM when braking.
Did you show a way for prevent this ?
I like if possible to ask and wait 0rpm or some low rpm before sending the stop signal. (disabling enable relay)
I does not really want to configure the drive for coast to stop because i want to keep the brake for some "Kill switch situation".
Br
Edit : for another project (mill retrofit) i like something like this for preventing to reverse spindle at too high rpm because this one use a relay for reverse spindle wire.
hmm i'm thinking about a simple "and2" and/or "near" component for enable output ??
I have a KBMG-212D for drive my lathe spindle, this one include a great regenerative brake.
This brake is i think too much efficient my motor does some Sparks at high RPM when braking.
Did you show a way for prevent this ?
I like if possible to ask and wait 0rpm or some low rpm before sending the stop signal. (disabling enable relay)
I does not really want to configure the drive for coast to stop because i want to keep the brake for some "Kill switch situation".
Br
Edit : for another project (mill retrofit) i like something like this for preventing to reverse spindle at too high rpm because this one use a relay for reverse spindle wire.
hmm i'm thinking about a simple "and2" and/or "near" component for enable output ??
Last edit: 15 Mar 2020 12:59 by alkabal.
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
15 Mar 2020 12:54 #160297
by tommylight
Replied by tommylight on topic Spindle soft stop
I would not worry to much about that, i have plenty of equipment that does sparks when i release the trigger.
Please Log in or Create an account to join the conversation.
15 Mar 2020 12:58 #160300
by alkabal
Replied by alkabal on topic Spindle soft stop
Thanks this is good to know that is for you not a real problem !
Please Log in or Create an account to join the conversation.
15 Mar 2020 23:10 - 16 Mar 2020 00:39 #160359
by alkabal
Replied by alkabal on topic Spindle soft stop
Attachments:
Last edit: 16 Mar 2020 00:39 by alkabal.
Please Log in or Create an account to join the conversation.
16 Mar 2020 00:51 - 16 Mar 2020 01:45 #160377
by alkabal
Replied by alkabal on topic Spindle soft stop
I'm thinking about : something can/need to be done for spindle with regenerative brake using something like setp limit2.spindle-vel-rpm-cmd.maxv for manage stopping
IMH and after this test i suspect max deceleration need to be the same as max acceleration for motor safety.
What did you think ?
IMH and after this test i suspect max deceleration need to be the same as max acceleration for motor safety.
What did you think ?
Last edit: 16 Mar 2020 01:45 by alkabal.
Please Log in or Create an account to join the conversation.
16 Mar 2020 01:13 #160378
by cmorley
Replied by cmorley on topic Spindle soft stop
Would this example help?
linuxcnc.org/docs/2.7/html/examples/spin...#_spindle_soft_start
linuxcnc.org/docs/2.7/html/examples/spin...#_spindle_soft_start
Please Log in or Create an account to join the conversation.
16 Mar 2020 01:41 - 09 Jun 2020 22:02 #160380
by alkabal
Replied by alkabal on topic Spindle soft stop
Thanks for reply.
This is related to what i have in my config with limit2 for smooth acceleration.
In my opinion the same type of things for deceleration before disabling enable signal is needed.
I have found a trick using timedelay that work fine !
But i like to speak about including something like this inside spindle modul or inside limit2 (really unsure where is the better place but not important for start speaking)
As you can see my engish is very bad so it's not really easy to be sure this is understandable.
This is related to what i have in my config with limit2 for smooth acceleration.
In my opinion the same type of things for deceleration before disabling enable signal is needed.
I have found a trick using timedelay that work fine !
But i like to speak about including something like this inside spindle modul or inside limit2 (really unsure where is the better place but not important for start speaking)
As you can see my engish is very bad so it's not really easy to be sure this is understandable.
# timedelay before disable enable output for ramp the brake
loadrt timedelay names=timedelay.spindle-enable-soft-stop
addf timedelay.spindle-enable-soft-stop servo-thread
setp timedelay.spindle-enable-soft-stop.on-delay 0
setp timedelay.spindle-enable-soft-stop.off-delay 0.85
net spindle-enable <= spindle.0.on
net spindle-enable => timedelay.spindle-enable-soft-stop.in
net spindle-enable-soft-stop <= timedelay.spindle-enable-soft-stop.out
net spindle-enable-soft-stop => pid.spindle.enable
net spindle-enable-soft-stop => [HMOT](CARD0).7i83.0.0.analogena0
Last edit: 09 Jun 2020 22:02 by alkabal.
Please Log in or Create an account to join the conversation.
16 Mar 2020 02:37 #160383
by cmorley
Replied by cmorley on topic Spindle soft stop
If you have spindle speed feedback you could delay the disable until the RPM is below a minimum speed.
Most VFDs take care of this for you.
I believe the intention in the future is to have spindles more under linuxcnc's control.
In Master branch you can have many spindles and I think eventually they will have a component built in to control them more.
But with a VFD most of the control problems go away other then if you want spindle positioning mode.
Chris
Most VFDs take care of this for you.
I believe the intention in the future is to have spindles more under linuxcnc's control.
In Master branch you can have many spindles and I think eventually they will have a component built in to control them more.
But with a VFD most of the control problems go away other then if you want spindle positioning mode.
Chris
Please Log in or Create an account to join the conversation.
16 Mar 2020 03:14 #160386
by alkabal
Replied by alkabal on topic Spindle soft stop
I use master branch, I have not see a integrated parameter for disable spindle after delay I need to check more !
Did you know a modern vfd for brushed field DC motor 180v 1 to 2 hp ?
Did you know a modern vfd for brushed field DC motor 180v 1 to 2 hp ?
Please Log in or Create an account to join the conversation.
16 Mar 2020 03:28 #160387
by cmorley
Replied by cmorley on topic Spindle soft stop
You would need to piece together the logic from smaller components or use comp to build a custom component. I don't know about a suitable drive.
Chris
Chris
Please Log in or Create an account to join the conversation.
Time to create page: 0.139 seconds