LinuxCNC + Orange Pi (allwincnc)

More
5 years 3 months ago #216360 by Bari
Replied by Bari on topic LinuxCNC + Orange Pi (allwincnc)
Sorry I have now lost track of the config changes for this. He has had the project on three different sites and repos. I'm going to stay out of it until I have time to build a proper u-boot and get a optimized RT kernel config.
More
5 years 3 months ago #216366 by Dolence
Replied by Dolence on topic LinuxCNC + Orange Pi (allwincnc)

MAX_VELOCITY = 150.0
MAX_ACCELERATION = 750.0
SCALE = 256.0
I think this value is quite fast for a hobby cnc.
If I don't get it wrong, SCALE should be how many pulse for 1mm or inch, then you set up the VELOCITY to 150mm per second.

I not sure the H3 CPU would able to handle it.
And I also notice AXIS GUI seems like to show up quite much warning and error which tklinuxcnc GUI does not.
Oh, it depends on your hobby! It's a very large machine with thick screws and this is why I'm using a higher number of steps division to achieve better accuracy or else it would be only 8 steps per mm.
If I'm not wrong it's a simple math since I have a 200 steps per revolution easy servo, my driver set to 32 microsteps and a screw pitch of 25mm without any gears or pulleys. 1mm/25mm = 0,04.

200 x 32 x 0,not04 = 256 steps per mm

It's around 46Khz which should be doable since it's done in the ARISC coprocessor and not the CPU itself, right? Apart oh this, I'm having the same error even with stock configuration (3A_TEST example).
More
5 years 3 months ago #216367 by Dolence
Replied by Dolence on topic LinuxCNC + Orange Pi (allwincnc)
To tjtr33

This is editor is really annoying. It's hard to answear without having the format destructed.

>>> did you fix ( nail down ) the cpu speed?
>>>You can use Armbian-config to set the min and max to the same value
>>>and choose the governor as performance
Yes I did it!

>>> the arisc_pwm_stepgen is not the same animal as linuxcnc stepgen
>>> the arisc criiter doesnt have the same params, so dont add flippers onto a cat.
>>> dont add stepgen_max_accel etc to arisc stepgen
>>> some ferrors could be due to a varying cpu speed, see above
>>> did you follow the urls send by Bari concerning following errors?
Yes I did follow it. I toughted MIN_FERROR or FERROR are too small for the setup, which now I believe is not because even unreal high values give me the same error. Any other toughts on this?

>>> hey! there is no stepgen_maxvel in an arisc pwm_stepgen
>>> if you are using standard linuxcnc stepgen on an opi
>>> the you will have very low steprates, low acc, and no experience from me
>>> ditto for stepgen_maxaccel >>> please use linuxcnc stepgen OR arisc pwm_stepgen NO MIXING
Yes, I agree with you on this. But it didn't come from nowhere. I read somewhere that for higher speeds you have to set it 20% higher to create a headroom for corrections or something like that. I still waiting for a consensus on this one.

>>>summary
>>> read the ferror docs
I could be missing something on here.

>>> please fix (nail down) the cpu freq
Already did it.

>>> please adapt a supplied config.ini, dont add items that did not exist in original
It was one of the first thing I have tried. Adaptation was an attempt to solve the issues.

>>> try 1 thing at a time, and post your results
OK, god bless you for being this patient! Wish me luck!
More
5 years 3 months ago #216372 by Dolence
Replied by Dolence on topic LinuxCNC + Orange Pi (allwincnc)

Sorry I have now lost track of the config changes for this. He has had the project on three different sites and repos. I'm going to stay out of it until I have time to build a proper u-boot and get a optimized RT kernel config.
He may be busy with this or something else might be hapenning. It may be a serious bug on latest version. I've tried to reach him via email without any response and made a post on the russian board too. The only thing I can do is wait for the other guys testing latest version too.
More
5 years 3 months ago #216399 by Dolence
Replied by Dolence on topic LinuxCNC + Orange Pi (allwincnc)
I don't know whats is hapenning but on the project page a message saying the project is being archived was posted on the NEWS section. I hope it doesn't mean an end.
More
5 years 3 months ago #216401 by Bari
Replied by Bari on topic LinuxCNC + Orange Pi (allwincnc)
It's been backed up by several, so if he drops development we will just carry it on.
Time to create page: 1.126 seconds
Powered by Kunena Forum