Servo drive config and first movement

More
04 Dec 2023 22:02 - 06 Dec 2023 09:40 #287222 by TimP
I'm trying to make first movement of an axis.
Driver is in operational mode. I toggle machine power on (F2), drivers switches from `ready` to `running` and motor starts to make some high pitch noise, not loud just audible and after i try to move joint it fails with an error "joint 0 following error X". It's actually not even need to be driven it just fails by it self in few seconds.
I think it is bad configuration but i don't know what exactly could lead to such behaviour. I have tried to change PID and ferrors but it didn't helped.

Driver doesn't show any errors. 
Driver user manual is not really helpful since some of the values doesn't match with reality so i cannot verify is the data in driver set correctly or it is just showing wrong memory block.
Something like
in manual it says that 2006 subIdx 07 is "Positioning completion threshold unit setting" in fact this is not true and according to SlaveSDO it will be
2003 subIdx 14. Same story if i try to look into data from driver physical display.

I have tried to run it without PID config and with it same result.
I have used rodw-au config files as template for my config

ini
Warning: Spoiler!


hal
Warning: Spoiler!


driver is RSE400E from Rtelligent EtherCAT servo, they have promised new updated user manual for v4.0, but i don't know when they finish with it.

From which parameters i should start that it would start to spin and not trip into the error in 1 sec.
Thank you in advance.
Last edit: 06 Dec 2023 09:40 by TimP.

Please Log in or Create an account to join the conversation.

More
06 Dec 2023 06:50 - 06 Dec 2023 06:52 #287331 by jjdege
HI
try in the .ini file, with FF1 = 1
HI
Last edit: 06 Dec 2023 06:52 by jjdege.

Please Log in or Create an account to join the conversation.

More
06 Dec 2023 09:13 #287341 by TimP
setting FF1 to 1 didn't help.

After messing around a bit. have gotten to ` joint 0 amplifier fault`.

Also have noticed that it starts make noise when it moves a bit out off alignment for example

lcec.0.0.actual-position
lcec.0.0.actual-position-encoder
lcec.0.0.target-position

have same value(in encoder units)
but
lcec.0.0.comand-position
is absolutely different but i would think that those 3 should try to fallow lcec.0.0.comand-position, but seems like they cannot, when i try to move by 0.1mm it is able to move for 0.3 at max, and noise get lauder and than it trips into an error (either join fault or amplifier fault)

also i have tried to use in drive gear settings, and it is ok except i loose precision in sense it reports only mm and none of decimals, if i use gearing 1:1 and than use scale in linuxCNC, it is ok and reported back motor feedback with decimals. Is it ok? is it how it should be?

Please Log in or Create an account to join the conversation.

More
07 Dec 2023 12:09 #287436 by TimP
And this is what i get in scope
Attachments:

Please Log in or Create an account to join the conversation.

More
07 Dec 2023 14:27 #287447 by tommylight
Seems like there is no feedback to LinuxCNC at all.
If you turn the motors by hand, does the position on screen/DRO change?

Please Log in or Create an account to join the conversation.

More
07 Dec 2023 22:17 #287487 by TimP
yep, feedback it there, actual position is getting back to linuxCNC

Please Log in or Create an account to join the conversation.

More
07 Dec 2023 22:26 #287490 by tommylight
OK, then PID is not tuned, most probably.

Please Log in or Create an account to join the conversation.

More
08 Dec 2023 12:41 #287525 by TimP
Changing PID doesn't change much only motor starts to heat, i think there is something in driver settings it self.

Could it be?
  • position deviation excess Threshold
  • position reach threshold
  • position arrival time window
  • position loop gain

Please Log in or Create an account to join the conversation.

More
08 Dec 2023 17:04 #287556 by tommylight
Are the drives in "position" or "Velocity" or "Torque" mode?
Assuming this behaves like a normal servo system, so changing PID settings at random gets you nowhere.
There are two ways of servo tuning in LinuxCNC:
1. If you already know the technical specs of the drives/motors and scale the output accordingly, makes it easy to tune.
2. specs not known so a procedure must be followed to test and tune PID and FF values

Please Log in or Create an account to join the conversation.

More
08 Dec 2023 17:24 - 08 Dec 2023 21:06 #287560 by TimP
forgot to mention this, Cyclic Synchronous Position Mode (CSP)
this is what i know about driver- motor

Motor
Torque 1.27NM
Rotor inertia 0.26X10^(-4)
Rated voltage 220V
Rated power 400W
Rated speed 3000rpm
Maximum speed 5000rpm
Winding resistance 7.2
Encoder 17 bit Magnetic encoder

Driver
RSE 400W AC Servo Driver
Continuous current 2.8A
Max current 8.4A

 SDOs
Warning: Spoiler!
Last edit: 08 Dec 2023 21:06 by TimP.

Please Log in or Create an account to join the conversation.

Time to create page: 0.268 seconds
Powered by Kunena Forum