beefy wrote:High THC speed is no good if you lose tight control of THC moves, i.e. delays are introduced via acceleration and deceleration, and oscillation occurs.
To further comment on this issue, many users (myself included) have had to reduce their THC FEEDRATE in Mach3 because they got the dreaded "jack hammering" Z action. The Z motor was operating within the start stop frequency of the motor yet still, set point overshoot would happen.
There's more delays than just the 1 milli-second reaction time of UCCNC. The THC itself must filter the voltage and that itself introduces a delay from the real time measuring of the arc volts. Put several delays together and you have a recipe for oscillation:
1). Controller loop reaction time (the logic analyser scans in the previous post seem to show the real reaction time is bit longer than 1 millisecond)
2). Time to filter raw arc volts
3). Time for THC to give the UP/DOWN signal to UCCNC after filtering/reading raw arc volts. My own microcontroller THC is fast in this regard because it's all solid state and TTL logic I/O, but any THCs that use relays will introduce significant delays.
4). Acceleration/deceleration time if we allow Z feedrate to go above stop/stop frequency
It's all coming back to me now.
When I first set up Mach3 on my table, I had a Z rapid speed of 3800 mm/min. I set my THC FEEDRATE to 25% of this value but I got terrible jack hammering due to Z shooting past set point. Only when I reduced my THC FEEDRATE to 15% did the jack hammering stop and THC control was smooth.
I've seen MANY threads with users having this exact same issue.
So that is a simple bang bang Mach3 system with no acceleration applied to THC moves, and operating within the stop start frequency, yet the MAXIMUM feedrate for THC had to be reduced in order to stop oscillation. Imagine what will happen when you go ABOVE the stop start frequency (feedrate) and introduce acceleration delays.
Don't mean to be a pain here Balazs, I'm only using my experience and knowledge to try and help UCCNC be the best controller it can be, and to try and get things right first time, which is also good for you guys doing the development.
Keith