Getting my new machine configured and am slowly working my way through the startup issues. First one is a spindle speed mismatch at lower rpm. My machine has an encoder on the spindle and the displayed spindle RPM matches exactly with a Shimpo digital tachometer so I'm sure the encoder is reading correctly.
If I issue a M3S500 MDI command, the resulting spindle speed is 475RPM. The offset seems to reduce linearly as speed increases and when I reach 3000rpm, commanded and actual speeds match. This remains the case up to the max speed of 4000rpm.
Any ideas on what could be causing this and where to fix it?
Cheers,
Tom
OAK Spindle speed issues <<Answered>>
Moderator: cnckeith
-
- Posts: 3101
- Joined: Tue Mar 22, 2016 10:03 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192 - DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Boston, MA
- Contact:
OAK Spindle speed issues <<Answered>>
- Attachments
-
- report_0207170333_2017-12-10_06-53-21.zip
- (223.34 KiB) Downloaded 133 times
Last edited by tblough on Thu Jan 04, 2018 5:48 pm, edited 3 times in total.
Cheers,
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
-
- Posts: 2189
- Joined: Sat Nov 18, 2017 2:32 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: Yes
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: Acorn 238
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Bergland, MI, USA
- Contact:
Re: Spindle speed issues
Tom...
In the AC drives I am familiar with there is a parameter that uses a percentage +/- 100% to allow the user to adjust the internal workings of the drive to sync with the output of the control board. These are called by different names, but "Analog input Offset" and "Analog Input Gain" are what I am familiar with. With your proportional issue "Gain" is the one I would use as Gain applies a percentage (higher or lower) to the incoming analog volts across the board. Offset would bump (or decrease) more or less by a fixed amount.
That said, I was under the impression that when an encoder was in place, the analog output was adjusted to desired RPM by increase/decrease of analog volts until matched. Maybe someone with more Acorn experience than I will chime in and clarify this... for both of us.
In the AC drives I am familiar with there is a parameter that uses a percentage +/- 100% to allow the user to adjust the internal workings of the drive to sync with the output of the control board. These are called by different names, but "Analog input Offset" and "Analog Input Gain" are what I am familiar with. With your proportional issue "Gain" is the one I would use as Gain applies a percentage (higher or lower) to the incoming analog volts across the board. Offset would bump (or decrease) more or less by a fixed amount.
That said, I was under the impression that when an encoder was in place, the analog output was adjusted to desired RPM by increase/decrease of analog volts until matched. Maybe someone with more Acorn experience than I will chime in and clarify this... for both of us.
-
- Posts: 3101
- Joined: Tue Mar 22, 2016 10:03 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192 - DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Boston, MA
- Contact:
Re: Spindle speed issues
Thanks, Gary. The VFD is a ABB ACS355 which only has upper and lower bound settings for the analog input. There a no linearization coefficients to adjust. There are PID adjustments for the motor control but not for the analog input.
My puzzlement stems from the reason you stated. I though if I commanded 500 rpm, the Oak would adjust the analog output voltage until the encoder reported 500 rpm. I do have a 1.5:1 belt drive in the system with the Oak set to 4000rpm max spindle and 0 min. The VFD is set correspondingly at 0-6000rpm. Both are configured for 0-10V being the full range, and in the upper range, the motor is 1.5X the spindle speed as expected.
Tom
My puzzlement stems from the reason you stated. I though if I commanded 500 rpm, the Oak would adjust the analog output voltage until the encoder reported 500 rpm. I do have a 1.5:1 belt drive in the system with the Oak set to 4000rpm max spindle and 0 min. The VFD is set correspondingly at 0-6000rpm. Both are configured for 0-10V being the full range, and in the upper range, the motor is 1.5X the spindle speed as expected.
Tom
Cheers,
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
-
- Posts: 595
- Joined: Tue Sep 12, 2017 10:03 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 1030090099
- DC3IOB: Yes
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Location: Outside Winston-Salem, NC
- Contact:
Re: Spindle speed issues
Acorn only sends a 0-10v signal. It does not compensate.
Currently the encoder is only used for displaying RPM, and monitoring spindle position.
I'm not sure why they chose to do it that way.
Clay
Currently the encoder is only used for displaying RPM, and monitoring spindle position.
I'm not sure why they chose to do it that way.
Clay
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
-
- Posts: 536
- Joined: Sat Jul 08, 2017 7:38 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: n/a yet
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
- Location: Collierville, TN USA
Re: Spindle speed issues
He's using an Oak Clay. Rich guy.
Milton in Collierville, TN
"Accuracy is the sum total of your compensating mistakes."
"Accuracy is the sum total of your compensating mistakes."
-
- Posts: 595
- Joined: Tue Sep 12, 2017 10:03 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 1030090099
- DC3IOB: Yes
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Location: Outside Winston-Salem, NC
- Contact:
Re: Spindle speed issues
I'm blaming this on Gary. He said Acorn. lol
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
Re: Spindle speed issues
Standard PLC programs (Oak, AllIn1DC, etc.) do not attempt to chase spindle speed, even when encoder feedback is available.
Since it is usually possible to dial in speeds within 1% or 2% with open-loop control, adding compensation to the PLC program would add a lot complexity for little gain.
It could be that the analog response of the VFD is non-linear.
It could be that the analog input of the VFD puts excessive load on the PLC's analog output, thus pulling the voltage down at low levels.
If you want to isolate it further, you could try this:
Verify that spindle control is in auto mode and the override is 100%
At the MDI prompt, enter "M3 S400"
Note the actual RPM
Measure the DC voltage on the analog terminals
Enter "M3 S800"
Repeat the RPM and voltage measurements
Continue up through M3 S3600
Now you can see whether the analog voltage varies linearly with commanded RPM,
and also whether the actual RPM is directly proportional to the analog voltage.
If the analog voltage does not vary linearly with commanded RPM, but is instead distorted down when the speed command is low, then try temporarily disconnecting the analog wires at the VFD and repeating the series of voltage measurements.
Since it is usually possible to dial in speeds within 1% or 2% with open-loop control, adding compensation to the PLC program would add a lot complexity for little gain.
It could be that the analog trim on the Oak board is a little out.Any ideas on what could be causing this and where to fix it?
It could be that the analog response of the VFD is non-linear.
It could be that the analog input of the VFD puts excessive load on the PLC's analog output, thus pulling the voltage down at low levels.
If you want to isolate it further, you could try this:
Verify that spindle control is in auto mode and the override is 100%
At the MDI prompt, enter "M3 S400"
Note the actual RPM
Measure the DC voltage on the analog terminals
Enter "M3 S800"
Repeat the RPM and voltage measurements
Continue up through M3 S3600
Now you can see whether the analog voltage varies linearly with commanded RPM,
and also whether the actual RPM is directly proportional to the analog voltage.
If the analog voltage does not vary linearly with commanded RPM, but is instead distorted down when the speed command is low, then try temporarily disconnecting the analog wires at the VFD and repeating the series of voltage measurements.
-
- Posts: 3101
- Joined: Tue Mar 22, 2016 10:03 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: 100505
100327
102696
103432
7804732B977B-0624192192 - DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Boston, MA
- Contact:
Re: OAK Spindle speed issues
You are the MAN, CNCSNW! Voltages were right on at each step running at most 0.01V high. I went ahead and recorded the actual RPM at each step and ran a regression on the points and they were incredibly linear. The drive has a couple of parameters that I though might correct for the skewed slope.
First I tried adjusting the minimum allowable speed to 31rpm while leaving the maximum at 6000 thinking that that might skew the analog input slope but it had no effect on the slope just the minimum rpm that could be commanded.
Then I looked again at the analog input parameters. There is a minimum AI and maximum AI setting that seem to be 0 - 100%. On a whim I tried setting the minimum below zero and it let me set it to a negative value. A setting of -0.7% completely eliminated the skew and now commanded RPM values correspond within +-1rpm of measured.
Thanks again CNCSNW for pointing me in the right direction.
Tom
First I tried adjusting the minimum allowable speed to 31rpm while leaving the maximum at 6000 thinking that that might skew the analog input slope but it had no effect on the slope just the minimum rpm that could be commanded.
Then I looked again at the analog input parameters. There is a minimum AI and maximum AI setting that seem to be 0 - 100%. On a whim I tried setting the minimum below zero and it let me set it to a negative value. A setting of -0.7% completely eliminated the skew and now commanded RPM values correspond within +-1rpm of measured.
Thanks again CNCSNW for pointing me in the right direction.
Tom
Cheers,
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.
Tom
Confidence is the feeling you have before you fully understand the situation.
I have CDO. It's like OCD, but the letters are where they should be.