[SOLVED]linuxcnc Latency test ambiguous results

More
1 year 6 months ago #327302 by DarkPhoinix
 

Attachment not found


this is with my new kernel parameter. Youtube and stress test on.

Please Log in to join the conversation.

More
1 year 6 months ago #327306 by MarkoPolo
I have these kernel parameters set "quiet isolcpus=2,3 acpi_irq_nobalance noirqbalance irqaffinity=0 processor.max_cstate=0 intel_idle.max_cstate=1"
From what I remember, better results are when you isolate 3rd and 4th core.
The "stress" test should not affect core 3 and 4.

Please Log in to join the conversation.

More
1 year 6 months ago #327308 by DarkPhoinix
You have integrated VGA i have a NVIDIA 610 i think is this the cause of high latency , my motherboard don't have vga output!
can you try use Rustdesk remote desktop with youtube video and try another time latency test?

Please Log in to join the conversation.

More
1 year 6 months ago #327331 by MarkoPolo
I don't use remote desktop. I did a test with three working youtube videos

Please Log in to join the conversation.

More
1 year 6 months ago #327336 by DarkPhoinix

No, not yet.
Now is that point where you upload your configuration files here so we can have a look, joint errors are usually miss configuration on stepper systems.
What board are you using?
Hi tommylight, have you seen my configuration? is a default conf.

Please Log in to join the conversation.

More
1 year 6 months ago #327344 by tommylight
Yes i have, but not a default config, it is for NV something or another.
Do you get the dropped connection?
Do you get joint errors?

Please Log in to join the conversation.

More
1 year 6 months ago #327360 by DarkPhoinix

Yes i have, but not a default config, it is for NV something or another.
Do you get the dropped connection?
Do you get joint errors?
 
No the connection is stable( joint error only 3 video Youtube+stresstest+rustdesk remote desktop) but i have bad stepper movement.
Try to put:
[JOINT_1]
DIRSETUP   = 150000
DIRHOLD    = 150000
STEPLEN    = 150000
STEPSPACE  = 150000

 and

[STEPGEN]
#150000
DIRSETUP   = 150000
DIRHOLD    = 150000
STEPLEN    = 150000
STEPSPACE  = 150000

and
[STEPGEN]
#150000
STEPGEN_DIRSETUP   = 150000
STEPGEN_DIRHOLD    = 150000
STEPGEN_STEPLEN    = 150000
STEPGEN_STEPSPACE  = 150000

and 

[STEPGEN]
#150000
STEPGEN_1_DIRSETUP   = 150000
STEPGEN_1_DIRHOLD    = 150000
STEPGEN_1_STEPLEN    = 150000
STEPGEN_1_STEPSPACE  = 150000

my driver is a  TB6560 (only for testing not final hardware)
all conf not change the movement



the work is linuxcnc classic engrave test

Please Log in to join the conversation.

More
1 year 6 months ago #327364 by tommylight
STEPLEN = 150000
STEPSPACE = 150000
to
STEPLEN = 5000
STEPSPACE = 5000
or
STEPLEN = 10000
STEPSPACE = 10000
As you have it it is way to long so it limits the max velocity a lot and can cause joint errors, depending on the scale and velocity set in the ini file.

Please Log in to join the conversation.

More
1 year 6 months ago #327367 by DarkPhoinix

STEPLEN = 150000
STEPSPACE = 150000
to
STEPLEN = 5000
STEPSPACE = 5000
or
STEPLEN = 10000
STEPSPACE = 10000
As you have it it is way to long so it limits the max velocity a lot and can cause joint errors, depending on the scale and velocity set in the ini file.
 

[AXIS_Y]
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0

[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0
#MAX_VELOCITY = 175
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
STEPGEN_MAXACCEL = 2200.0
SCALE = 160.0
FERROR = 1.0
MIN_FERROR = 0.5
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_SEQUENCE = 0
[STEPGEN]
#150000
DIRSETUP = 150000
DIRHOLD = 150000
STEPLEN = 5000
STEPSPACE = 5000

and

[AXIS_Y]
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0

[JOINT_1]
TYPE = LINEAR
HOME = 0.0
MIN_LIMIT = -5.0
MAX_LIMIT = 300.0
#MAX_VELOCITY = 175
MAX_VELOCITY = 175
MAX_ACCELERATION = 2000.0
STEPGEN_MAXACCEL = 2200.0
SCALE = 160.0
FERROR = 1.0
MIN_FERROR = 0.5
HOME_OFFSET = 0.0
HOME_SEARCH_VEL = 0
HOME_LATCH_VEL = 0
HOME_SEQUENCE = 0
#[STEPGEN] <
need this???
#150000
DIRSETUP = 150000
DIRHOLD = 150000
STEPLEN = 5000
STEPSPACE = 5000

same of the conf with:
#DIRSETUP = 150000
#DIRHOLD = 150000
#STEPLEN = 5000
#STEPSPACE = 5000

Please Log in to join the conversation.

More
1 year 6 months ago #327376 by DarkPhoinix
I don't understand if I have to add something about the hal file, I found this:
linuxcnc.org/docs/stable/html/man/man9/stepgen.9.html
stepgen.1.dirsetup
stepgen.1.dirhold
stepgen.1.steplen
stepgen.1.stepspace

I also found this but I don't know where to put the parameters, I know that this gui is only for the parallel port or am I wrong?

Please Log in to join the conversation.

Time to create page: 0.128 seconds
Powered by Kunena Forum