Hello Guest it is May 14, 2021, 03:54:35 PM

Author Topic: CSMIO-ENC Spindle Orientation  (Read 16554 times)

0 Members and 1 Guest are viewing this topic.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: CSMIO-ENC Spindle Orientation
« Reply #70 on: July 26, 2019, 05:43:13 AM »
Here we go :)
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.
Re: CSMIO-ENC Spindle Orientation
« Reply #71 on: July 26, 2019, 09:39:33 AM »
My spindle is controlled by 0-10V signal (analog output)

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: CSMIO-ENC Spindle Orientation
« Reply #72 on: July 26, 2019, 09:43:53 AM »
All my drives are analogue 10-0-10 or 0-10
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.
Re: CSMIO-ENC Spindle Orientation
« Reply #73 on: July 26, 2019, 09:50:29 AM »
When you run your spindle at 10% and 80% of maximum speed, what is the current position error and maximum error?
Did you modify in any way M20 macro?

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: CSMIO-ENC Spindle Orientation
« Reply #74 on: July 26, 2019, 09:54:32 AM »
M20 is as downloaded, no changes.

IIRC the errors were relatively high, I have spent hours messing with PID values, I can get the values very low BUT it will then creep to a stop or wobble erratically.

The ID values seem very sensitive which is why i left them out, it was the best option.

I did have a thread with details, i'll see if i can track it down.
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.
Re: CSMIO-ENC Spindle Orientation
« Reply #75 on: July 26, 2019, 09:58:58 AM »
I see that you have KVff set to 0, from my experience it's role is very important.
Did you play with it (values can be like 30 but 200something isn't uncommon)?
Also, when spindle RPM is 0, is it really 0? And what's the position error?
Is the offset voltage properly set? Spindle RPM 0 and clicking the arrow does change anything?

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: CSMIO-ENC Spindle Orientation
« Reply #76 on: July 26, 2019, 10:06:36 AM »
I'll have to boot her up to get some figures.

I found any messing with values other than P was generally bad.

DAC offset was set and it is stationery when at 0 speed

I'll get some values when messing with Kvff, most likely in the morning.
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: CSMIO-ENC Spindle Orientation
« Reply #77 on: July 27, 2019, 05:30:21 AM »
Well, from what i can see it's just crap :)

My guess is that spindle orientation fails because it never reaches dead-band :( It will reach a stop but that stop can be anywhere from -200 to +200 or so in PID tuning.

No amount of messing with values has much effect, in fact its worse since i change the bearings from grease to oil lube, its very low friction and at my previous setting with P=7000 its now started oscillating instead of stopping.

Increasing P above 9000 seems to cause increasingly violent oscillation until it faults out or i hit the red button.

Maybe these servos are just garbage for a spindle?

I have the same drives and motors on my other axes and they all work faultlessly, big difference is friction damping/load.

With the spindle oscillating a gentle touch with the hand will stop it but dead-band is still off.

Its just the generic china servo from AASD - very popular due to price.

I have tried before setting the spindle as an axis the auto-tuning but it fails to get any sensible numbers.
« Last Edit: July 27, 2019, 05:32:32 AM by Davek0974 »
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.

Offline TPS

*
  •  2,134 2,134
    • View Profile
Re: CSMIO-ENC Spindle Orientation
« Reply #78 on: July 27, 2019, 05:56:12 AM »
a simple way to test wether the Motor Controller itselv is Swinging is to

-put 0V to analog Input
-enable the Controller

-now Motor should standstill

-try now to turn Motor by Hand and see who it will stop if you release the Manual torque

if it starts to swing the Controller itselv is overtuned
if it just stands still Controller tunning is ok
anything is possible, just try to do it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,606 2,606
    • View Profile
    • DD Metal Products Ltd
Re: CSMIO-ENC Spindle Orientation
« Reply #79 on: July 27, 2019, 06:39:35 AM »
Hi

removed the CSMIO connector, shorted the analogue input out and enabled it manually.

The motor was creeping, I tweaked the DAC offset a few mV and got it stationery.

When nudged by hand it was fairly rigid and held its position, no oscillating.

Re-connect CSMIO and it shows a DAC offset of 0.16V spindle is stationery, but still won't stop where its told or take any tuning.
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives.
Plasma table, Mach3 V062, Step motors, C&CNC THC.