Hi people - I have already posted this but mistakenly put it in the ToolBox section, so I'm reposting it here where it belongs. When I first installed UCCNC, after changing from Mach3, the Constant Velocity settings I initially set were too tight, and the machine operated as if in Exact Stop. I had problems and got some basic advice but felt like I really had no idea what I was doing.
After writing all this stuff (below) I found that there's a recent thread where Matej had similar problems discussed, and it contains some very good info from Balazs and Robert which is helping me to understand it better.
I'm going to repost my "report" and then below I'm going to ask some questions that relate to the info in Matej's thread. Thanks for reading and I really appreciate any information ... remembering that I'm not any expert at CNC, machine setup or programming. So aim your feedback at learner level!
My machine is a fairly heavy solid rigid mill with servos and ball screws/ linear rails. I run maximum velocities of around 3500 mm/min on X and Y axis and around 2000 on Z. My accelerations are currently 200 mm/sec/sec on X and Y (more on this below).
I mostly make model aircraft moulds which involve a lot of 3D work (and various bits of 2 1/2D) and I am after very high accuracy but also smooth and reasonably fast cutting. I want the mould surface finishes (wing foil shapes) to be very smooth and accurate, and the edges and curves to be accurate and the corners sharp.
The CV settings available are:
Stop at Angle Degrees (I use 75°)
Look ahead Lines Count (I use 300)
Maximum Corner Error (MCE)
Maximum Linear Error = (MLE)
Max Linear Addition Length = (MLAL)
Max Linear Unify Length = (MLUL)
I found it difficult (and still do) to work out what the best settings are for the last 4 parameters. The manual is very comprehensive and explains the system well, but it doesn’t help you to work out how to tune the settings. It would be good to have some more information such as:
1) A guide to starting points for each of the 4 parameters, and
2) Tips on the effects of increasing or tightening each of the parameters.
To get straight to the point, I have settled on using the following with good results:
MCE 0.1
MLE 0.05
MLAL 10
MLUL 25
The following settings were way too tight and caused the machine to run very jerkily, almost like Exact Stop at times:
MCE 0.01
MLE 0.01
MLAL 5
MLUL 10
The following settings were reasonable, but made the machine run too slowly on long cuts as it tended to hesitate at various points.
MCE 0.05
MLE 0.02
MLAL 3
MLUL 5
This was way too loose and caused really major rounding of corners - I used a 1mm cutter following a zigzag line and it turned it into curves!
MCE 1.0
MLE 1.0
MLAL 10
MLUL 25
A couple of months ago I did quite a lot of tests, running a custom made 3D test cut into acrylic material. It contained features my typical shaped cuts, like a "leading edge step onto flange" in both directions as well as squarer steps that were inside the CV angle so CV was active. I ran about 20 of these test cuts varying each of the CV settings up and down and taking notes on the results, until I was happy with the speed as well as the smoothness of the 3D face and the sharpness of the corner edges. So I was able to objectively choose settings that seemed to give the desired results without being too tight.
After that, doing a couple of small 2D jobs for a while, I kept getting concerned about getting maximum accuracy and I progressively tightened up the settings again bit by bit. But just the other day, cutting another set of 3D wing moulds it was clear that the cuts were much slower than usual with lots of hesitation along the path. The machine travelled much slower than the velocity specified in the feed rate. I finished the job with those settings but I didn't like the hesitation and mild jerkiness and the cuts took too long. So I created another test cut section (a small section of the wing I had been cutting), and ended up putting the settings back to the previously selected numbers in bold above.
These are just some observations, mostly subjective, that I made when playing with the settings:
Increasing MCE as high as 1.0 didn’t have a lot of effect, but increasing MLE to 1.0 caused some rounding of sharp corners (on Z based steps) and it seemed to be necessary to have MLE at or below 0.05 to get sharpness.
Reducing MCE and MLE didn’t seem to slow the cuts badly, but reducing MLAL and MLUL too much did cause slower more hesitant cutting.
When the settings were a bit too tight and the cuts slower and hesitant, at the following settings:
MCE 0.05
MLE 0.02
MLAL 3
MLUL 5
... I found that doubling MCE made no difference to speed and smoothness. Doubling MLE made no difference. Increasing MLAL from 3 to 10 made the cutting clearly smoother (smoothing out the hesitations), but not faster overall. Tripling MLUL still resulted in the hesitations, but the cutter moved faster in between each slow-down, and the overall speed was higher. Increasing MLAL and MLUL together to 10 and 25 respectively was both smoother and faster. But my final current settings were even faster and smoother again. Note: in the above tests, only one parameter was changed, then returned to original before the next parameter was changed. I also timed the cuts from start to finish to measure the overall speed. That test cut involved a period of parallel finish cutting in a 3D shape for nearly 2 minutes so time differences were quite clear.
ACCELERATION is another factor to consider in the overall CV equation. My accels were all at 180mm/sec/sec and I was advised that this was very slow, and back when I was doing my first tests, Gerry advised that I should increase my acceleration a lot to get better sharper results. Yes, this was true - when increasing accel from 180 to 300, settings which previously had minor rounding were clearly sharper. But unfortunately my gantry jolts quite hard at a Y accel of 300 and I wasn’t comfortable with how hard it was working the machine, so I have reduced the accels back to around 200 - 220, which is definitely smoother.