Welcome, Guest. Please login or register.
Did you miss your activation email?
November 24, 2014, 11:08:26 AM

Login with username, password and session length
Search:     Advanced search
* Home Help Search Calendar Links Login Register
+  Machsupport Forum
|-+  Third party software and hardware support forums.
| |-+  dspMC/IP Motion Controller (Moderator: Vital System Support)
| | |-+  AxisWorks tuning
Pages: « 1 2 3 4 »   Go Down
Print
Author Topic: AxisWorks tuning  (Read 9664 times)
0 Members and 1 Guest are viewing this topic.
TOTALLYRC
Active Member

Offline Offline

Posts: 419


View Profile
« Reply #20 on: September 15, 2010, 02:15:58 PM »

Hi Peter,
Your PID looks like way too much I and not enough D.

I think the manual suggests as a starting point a ratio of  20:1 D to P. This means that if your P is 8000 your D should be 160,000/ I normally start with an I of 0 and then you can try slowly adding some in. I also run my amps in torque mode. IIRC velocity mode is better when running slow.

Mike
Logged

We never have the time or money to do it right the first time, but we somehow manage to do it twice and then spend the money to get it right.
peter81
Active Member

Offline Offline

Posts: 77


View Profile
« Reply #21 on: September 15, 2010, 02:33:59 PM »

Hi Mike,

If I set D in X-axis 25 times higher than P I instantly met follow error and must set max error to 5000 to execute motion without error and overshoots the final position for 30 to 40 counts.
Logged
TOTALLYRC
Active Member

Offline Offline

Posts: 419


View Profile
« Reply #22 on: September 15, 2010, 03:31:38 PM »

Hi Pete,
Set your scale at 100,
I at 0
P 5000
D 10000.
Set the following error at 1000.
accel at 20 IPS. Max  velocity of 100 IPM
Let me know what happens.

It looks like you are using MM not inches. Your accel is set at 1500mm per sec/sec. or 60 in/sec.
 I would try 500 mm/sec/sec or 20 in/sec/sec.

You will reach a point where you will sacrifice accel for speed or vise versa or you will have to keep opening up the following error to have high accel and high speed. Of course you will have high following error at max speed.

Mike


Logged

We never have the time or money to do it right the first time, but we somehow manage to do it twice and then spend the money to get it right.
peter81
Active Member

Offline Offline

Posts: 77


View Profile
« Reply #23 on: September 15, 2010, 03:38:06 PM »

ok thanks. I will try your settings and let you know what happens .
Logged
Vital System Support
Active Member

Offline Offline

Posts: 138


View Profile
« Reply #24 on: September 16, 2010, 01:38:28 PM »

hi Peter,

I just emailed a new firmware that implements IIR filter (low pass) for more smooth DAC output.  I tested here on my desktop mill and on the scope the output is very clean with no sudden (square wave) changes.

regards,
Rufi
Logged
peter81
Active Member

Offline Offline

Posts: 77


View Profile
« Reply #25 on: September 19, 2010, 03:56:47 AM »

Hi TOTALLYRC,

I've tried the settings you posted. With scale of 100 the machine shakes real hard and trip follow error an also get error in the servo driver ( Over Current). Then I've tried with scale of 1000 with the same pid setting and get better motion.


* Yaxis1.JPG (177.43 KB, 1251x830 - viewed 274 times.)

* Yaxis2.JPG (183.63 KB, 1235x792 - viewed 232 times.)
Logged
TOTALLYRC
Active Member

Offline Offline

Posts: 419


View Profile
« Reply #26 on: September 19, 2010, 06:02:12 AM »

Hi Peter,
Every machine is different,
The settings I gave you are a starting point. Since your are getting good motion with the scale set at 1000, tune from there.

What count encoders are you using?

Mike
Logged

We never have the time or money to do it right the first time, but we somehow manage to do it twice and then spend the money to get it right.
peter81
Active Member

Offline Offline

Posts: 77


View Profile
« Reply #27 on: September 19, 2010, 06:28:08 AM »

I'm using 750W servo motors and 2500 quadrature encoders for X,Y and Z axis. So one revolution of the motor is 10.000 counts. I'm using planetary gearboxes with 10:1 reduction. This means one revolution of the pinion is 100.000 counts. One revolution of the pinion moves gantry 133,33mm.
Logged
TOTALLYRC
Active Member

Offline Offline

Posts: 419


View Profile
« Reply #28 on: September 19, 2010, 06:45:47 AM »

That should give pretty good resolution.

The only possible problem would be if you run up against the max encoder count rate of the DSPMC. It is 2 MHz for the V1 and 4 MHz if IIRC for V2.
Logged

We never have the time or money to do it right the first time, but we somehow manage to do it twice and then spend the money to get it right.
peter81
Active Member

Offline Offline

Posts: 77


View Profile
« Reply #29 on: September 19, 2010, 06:57:35 AM »

Is there any way to calculate this value?
Logged
Pages: « 1 2 3 4 »   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!