Hello Guest it is November 15, 2019, 08:55:59 PM

Author Topic: Mill or Turn?  (Read 4278 times)

0 Members and 1 Guest are viewing this topic.

Offline Davek0974

*
  •  2,580 2,580
    • View Profile
    • DD Metal Products Ltd
Re: Mill or Turn?
« Reply #90 on: May 09, 2019, 11:54:41 AM »
I set the Chirons spindle up as an axis, did an AutoTune then changed it to a spindle and entered the settings, I then tweaked from there.


Ok, just tried that, she was not happy.

It started to tune, set some low values and then just started thrashing back and forth wildly, had to e-stop to stop it.

It seems i can get somewhere with P=3000, i=0, d=0, kff=0 but, it's not balanced in behaviour FWD/REV so FWD seems not too bad but REV it seems to continue after the signal is removed then stop instantly. I don't know if it makes a difference but the following error is massive too.

DAC offset is 0.4v which is inline with other drives.

A short vid showing 2 FWD runs and 2 REV runs
https://youtu.be/k3MQxbtKppQ

Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline TPS

*
  •  1,407 1,407
    • View Profile
Re: Mill or Turn?
« Reply #91 on: May 09, 2019, 01:58:57 PM »
try to set Pn146 to 0(hope this will affect acceleration too).

Code: [Select]
It seems i can get somewhere with P=3000, i=0, d=0,

a PID with I Zero is bad you have to have a I part, D part i would say in this case is not
necessary.

a PID with I Zero will allways go back and forth (swing).
« Last Edit: May 09, 2019, 02:00:40 PM by TPS »
anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline TPS

*
  •  1,407 1,407
    • View Profile
Re: Mill or Turn?
« Reply #92 on: May 09, 2019, 02:24:33 PM »
Code: [Select]
DAC offset is 0.4v which is inline with other drives
that seems to be very high DAC Offset is normaly adjusted  by set Speed Zero and then adjust
Offset so much until Motor standstill.
anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,580 2,580
    • View Profile
    • DD Metal Products Ltd
Re: Mill or Turn?
« Reply #93 on: May 09, 2019, 02:35:45 PM »
In CS-Labs you just press the auto set zero and it stores the offset voltage.
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline TPS

*
  •  1,407 1,407
    • View Profile
Re: Mill or Turn?
« Reply #94 on: May 10, 2019, 02:39:24 AM »
have you tryed to set Pn146 to 0, this will Switch of the ramp Generator in the Driver (i think).
anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,580 2,580
    • View Profile
    • DD Metal Products Ltd
Re: Mill or Turn?
« Reply #95 on: May 10, 2019, 02:40:30 AM »
have you tryed to set Pn146 to 0, this will Switch of the ramp Generator in the Driver (i think).

I'll be doing that this morning, few jobs to get out of way then i can get back on it ;)
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline Davek0974

*
  •  2,580 2,580
    • View Profile
    • DD Metal Products Ltd
Re: Mill or Turn?
« Reply #96 on: May 10, 2019, 06:13:06 AM »
Seems a tiny bit better but not working yet

The voltage from the CSMIO DAC is off-centre or not linear?

With the drive showing input signal voltage, i tested various speeds and its ok up to 1800rpm or 6.2v and works ok FWD or REV

At 1900rpm it goes out of balance, FWD runs ok at 6.46v but reverse jumps to 9.98v and runs flat out, when you remove the command it runs on for a second or two then stops suddenly.

No point tuning if i cant get this sorted.

Any ideas?
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline TPS

*
  •  1,407 1,407
    • View Profile
Re: Mill or Turn?
« Reply #97 on: May 10, 2019, 06:19:26 AM »
Quote
Any ideas?

not realy, maybe use another free analog Output?

can not test this here, the IP/S does not Support spindle axis with analog out only step/dir.
anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.

Offline Davek0974

*
  •  2,580 2,580
    • View Profile
    • DD Metal Products Ltd
Re: Mill or Turn?
« Reply #98 on: May 10, 2019, 08:24:24 AM »
Ok, changed DAC channel, no change at all so its not the controller.

Could it be encoder related?

Here's a short vid...
https://youtu.be/Sbmr4-Z9T8U

Shows what happens, what makes me think encoder is that it will run ok forwards and the following error stays high but stable, in reverse it will run away above a certain speed and the FE will keep rising.

Could a bad feedback be telling the controller to send more voltage hence the voltage being wrong giving me a false lead??

Slowly doing my head in now.
Bridgeport Mill, Mach3 V062, CSMIO-IP/A controller, AC Servo Drives

Offline TPS

*
  •  1,407 1,407
    • View Profile
Re: Mill or Turn?
« Reply #99 on: May 10, 2019, 09:25:18 AM »
watched the Video several times, not sure what you mean.

it can be Encoder related, i think you are using Encoder Output from servo Controller?

how are Pn016 and Pn017 set?
anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.