NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Servo vibration

Servo vibration 27 Июн 2012 05:22 #21377

  • linuxhus
  • linuxhus's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
Hello, we have one problem with the servo vibration.
The input-scale in the ini file is 250, The impulse to pc is comming from Heidenhain ROD424.

1rev = 250 counts and 0,2rev/mm
50counts / 1mm

this is axis0 exemple in the inifile:

# First axis
[AXIS_0]

TYPE = LINEAR
UNITS = mm
HOME = 0.000
MAX_VELOCITY = 1.0
MAX_ACCELERATION = 4.0
BACKLASH = 0.000
#INPUT_SCALE = 81920
INPUT_SCALE = 250
OUTPUT_SCALE = 1
OUTPUT_OFFSET = 0
MIN_LIMIT = -100.0
MAX_LIMIT = 100.0
FERROR = 100.000
#MIN_FERROR = 0.002
HOME_OFFSET = 0.10
HOME_SEARCH_VEL = 0.10
HOME_LATCH_VEL = -0.01
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
MAX_OUTPUT = 10.0
# PID tuning params
DEADBAND = 0.000015
P = 100.0
I = 0.000
D = 0.000
FF0 = 0.000
FF1 = 0.000
FF2 = 0.0
BIAS = 0.000
The administrator has disabled public write access.

Re:Servo vibration 27 Июн 2012 05:31 #21380

  • BigJohnT
  • BigJohnT's Avatar
  • OFFLINE
  • Administrator
  • Posts: 4955
  • Thank you received: 87
  • Karma: 134
This does look like it goes in the Servo Tuning as I see you have not done any... but I can't move it for some strange reason.

John
The administrator has disabled public write access.

Re:Servo vibration 27 Июн 2012 07:06 #21383

  • linuxhus
  • linuxhus's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
you have an example of what should be there in the PID and FF
The administrator has disabled public write access.

Re:Servo vibration 27 Июн 2012 08:14 #21386

  • PCW
  • PCW's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1651
  • Thank you received: 87
  • Karma: 116
There are no fixed PID numbers as they must always be adjusted for each system
this is called "tuning"

How tuning is done depends on your drive type (the motor drive) that is whether it is a:

1. Velocity mode drive (drive with local velocity feedback loop often with tachometer)

2. Torque mode drive (current mode)

3. Simple HBridge (voltage mode)

If you can provide this information it would be easier to help
The administrator has disabled public write access.

Re:Servo vibration 27 Июн 2012 10:21 #21397

  • linuxhus
  • linuxhus's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
We have +/-10V and the impulse is comming from the servomotor-encoder
The administrator has disabled public write access.

Re:Servo vibration 27 Июн 2012 11:15 #21400

  • PCW
  • PCW's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1651
  • Thank you received: 87
  • Karma: 116
OK so that means a velocity or torque mode drive
Do you have any idea which it is?

Is there a tachometer on the motor?
Do you have the motor drive part number?
Does the encoder signal go to the drive?
The administrator has disabled public write access.

Re:Servo vibration 27 Июн 2012 12:26 #21408

  • linuxhus
  • linuxhus's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
we send +/- 10V to the servomotor and the encoder singnal is comming back from Heidenhain ROD424.
The Heidenhain ROD424 is on the servomotor and from this comming the singnal to pc.
The Servo have nothing tachometer.
The +/-10V going to one Magnetventil and the magnetventil controls the hydraulicmotor.
The Axis drive Hydraulic and the hydraulicmotor have the encoder and this encode send the singnal to pc.
Last Edit: 27 Июн 2012 12:40 by linuxhus.
The administrator has disabled public write access.

Re:Servo vibration 27 Июн 2012 14:50 #21416

  • PCW
  • PCW's Avatar
  • OFFLINE
  • Moderator
  • Posts: 1651
  • Thank you received: 87
  • Karma: 116
OK well on the basis of not understanding your hardware at all I would try this :-)

start with a low P term (say 1) and increase it slowly till you get oscillation (vibration)
Then start adding D term until the vibrations cease (to much will cause vibrations to start again)

Can you provide a HALScope plot of the vibrations?
The administrator has disabled public write access.

Re:Servo vibration 27 Июн 2012 18:01 #21418

  • VNR
  • VNR's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 59
  • Thank you received: 2
  • Karma: 5
I think if the encoder have 250 pulses/rev and 1 rev is 5mm then INPUT_SCALE should be 50 not 250 (250 is equal to 1 rev or 5 mm, 50 is equal to 1/5 rev or 1 mm).
Also DEADBAND should be equal to 1, 1.5, 2 o 3 encoder counts (i mean 1/50, 1.5/50, 2/50 or 3/50 mm).
The administrator has disabled public write access.

Re:Servo vibration 27 Июн 2012 23:12 #21421

  • linuxhus
  • linuxhus's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 16
  • Karma: 0
OK, Thanks.
I'm back on freday again.

Steffen
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: Rick G
Time to create page: 1.336 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.