Remora - ethernet NVEM / EC300 / EC500 cnc board

More
3 years 6 months ago #268721 by scotta

Is anybody else experiencing slow approach to exact position as well on ec500? (rt1052)

Yes, this is solved by adding a Pgain setting. The default gain is 1, increasing it to 10 or more will improve the response of the control loop.

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

More
3 years 6 months ago #268723 by scotta

i get the compilation work on my system

if i reduce the freq of this threads, the jitter is much much better !

#define PRU_BASEFREQ 20000 // PRU Base thread ISR update frequency (hz)
#define PRU_SERVOFREQ 500 // PRU Servo thread ISR update freqency (hz)
Did you also change the servo frequency in LinuxCNC and inform the Remora component about the different base thread frequency? If not the frequency command calculations are all out and the control loop will be working harder to compensate for the wacky following error. Changing these settings in the firmware must be mirrored on the LinuxCNC side.

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

More
3 years 6 months ago - 3 years 6 months ago #268738 by frayja2002
Just a quick update.

Here is the list of pins i have checked on an RT-1053 based NVEM box.

Scott, could you tell me where (if anywhere) to other output pins go to.

Thanks
Alex
Last edit: 3 years 6 months ago by frayja2002.
The following user(s) said Thank You: cnc-phil

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

More
3 years 6 months ago #268743 by scotta

Just a quick update.

Here is the list of pins i have checked on an RT-1053 based NVEM box.

Scott, could you tell me where (if anywhere) to other output pins go to.

Thanks
Alex
Hi Alex, that's it for the NVEM / EC300. The extra outputs are available on the EC500.

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

More
3 years 6 months ago #268745 by zmrdko
Thanks! I set Pgain to 10, 100 and even 200. It helped, but I am still getting 0.02 mm error now and then. Like 10 jogs are accurate and 1 jog is 0.02 off.

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

More
3 years 6 months ago - 3 years 6 months ago #268746 by meister
I think,
there is absolutely no reason to run the normal IO's in an interrupt,
but there are many reasons to reduce the code inside interrupt's.

My Changes:
github.com/multigcs/Remora-RT1052/tree/l...jitter_test/firmware

i removed also the __disable_irq part and add some kind of double buffer

 
Last edit: 3 years 6 months ago by meister.

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

Time to create page: 0.763 seconds
Powered by Kunena Forum