- Posts: 40
- Thank you received: 0
RPi4 & 7i96 XY2-100 Following Error at High Velocities
5 years 5 months ago #208039
by Limedodge
Replied by Limedodge on topic RPi4 & 7i96 XY2-100 Following Error at High Velocities
I checked on the scope. Neither PosX-overflow nor PosY-overflow are tripped when following error occurs
Please Log in to join the conversation.
5 years 5 months ago #208040
by PCW
Replied by PCW on topic RPi4 & 7i96 XY2-100 Following Error at High Velocities
Your min and max limits do exceed the galvanometers range however
Please Log in to join the conversation.
5 years 5 months ago #208041
by Limedodge
Replied by Limedodge on topic RPi4 & 7i96 XY2-100 Following Error at High Velocities
Yes, you're right. They should be +/-75. Total foot print is 150
Please Log in to join the conversation.
5 years 5 months ago #208046
by Limedodge
Replied by Limedodge on topic RPi4 & 7i96 XY2-100 Following Error at High Velocities
I noticed something interesting
These are both scope screenshots from the same run. F.error vs vel_cmd vs pos_fb.
The first is running "normally" (albeit with ringing). The second SS show the moment it fails (zoomed way in)
It almost seems like the pos_fb is "late". It has already been commanded to change velocity but the fb doesn't show any action.
These are both scope screenshots from the same run. F.error vs vel_cmd vs pos_fb.
The first is running "normally" (albeit with ringing). The second SS show the moment it fails (zoomed way in)
Attachment not found
Attachment not found
It almost seems like the pos_fb is "late". It has already been commanded to change velocity but the fb doesn't show any action.
Please Log in to join the conversation.
5 years 5 months ago #208047
by PCW
Replied by PCW on topic RPi4 & 7i96 XY2-100 Following Error at High Velocities
It may be that at 2 KHz on a RPI
you occasionally drop packets
You might back it down to 1 KHz and
see if you get the same errors
you occasionally drop packets
You might back it down to 1 KHz and
see if you get the same errors
Please Log in to join the conversation.
5 years 5 months ago #208048
by Limedodge
Replied by Limedodge on topic RPi4 & 7i96 XY2-100 Following Error at High Velocities
Same types of errors at 1Khz servo P=1000
Please Log in to join the conversation.
5 years 5 months ago #208049
by PCW
Replied by PCW on topic RPi4 & 7i96 XY2-100 Following Error at High Velocities
is the error random or always at the same place?
Might also see if you are losing DPLL sync
Check for packet errors by monitoring packet-error
Check for loss of DPLL sync by monitoring dpll.phase-error-us
Might also see if you are losing DPLL sync
Check for packet errors by monitoring packet-error
Check for loss of DPLL sync by monitoring dpll.phase-error-us
Please Log in to join the conversation.
5 years 5 months ago #208053
by Limedodge
Replied by Limedodge on topic RPi4 & 7i96 XY2-100 Following Error at High Velocities
I'd say a little bit of both. Seems to happen at the usually sticky spots, but if I change anything (max velocity, PID settings, etc...) it moves to different spots.
There was a couple of times when I had it set right on the edge of a max velocity that would work, where it would execute the Gcode to different spots without changing any settings.
So I would say it's random, but some code is more susceptible than others
I'll see what the dpll.phase-error-us numbers and packet errors look like
Also got me thinking I haven't changed from timesyncd to NTPD on this OS yet. not sure if that will matter, but might as well get that knocked out too
There was a couple of times when I had it set right on the edge of a max velocity that would work, where it would execute the Gcode to different spots without changing any settings.
So I would say it's random, but some code is more susceptible than others
I'll see what the dpll.phase-error-us numbers and packet errors look like
Also got me thinking I haven't changed from timesyncd to NTPD on this OS yet. not sure if that will matter, but might as well get that knocked out too
Please Log in to join the conversation.
5 years 5 months ago #208057
by PCW
Replied by PCW on topic RPi4 & 7i96 XY2-100 Following Error at High Velocities
Yeah timesyncd is almost guaranteed to cause this kind of issue
Please Log in to join the conversation.
5 years 5 months ago #208059
by Limedodge
Replied by Limedodge on topic RPi4 & 7i96 XY2-100 Following Error at High Velocities
Apparently the OS image i used already had timesyncd disabled (NTPD enabled), so no change there
No lost packets
Here's the scope of the dpll_error. I have no idea what's good or bad
No lost packets
Here's the scope of the dpll_error. I have no idea what's good or bad
Attachment not found
Please Log in to join the conversation.
Time to create page: 0.065 seconds
