Hello Guest it is April 24, 2024, 07:46:05 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - ART

901
General Mach Discussion / Re: Problems threading on the lathe
« on: October 02, 2009, 10:26:18 AM »
Rich:

  I truly love your testing..


OK, so you seem to have proven the effect a computer thats less than perfectly stable will have in terms of creating a variance on the thread.
And youve proven that when perfect ( or as near as Ive seen ) the computer will produce a slight Z variance in terms of an increasing pitch.
( I take it the pitch always increases..never decreases? )..

  So now what..

  Lets crunch that a little bit...

    The lead error ( if always advancing ) would seem to indicate the Z is moving FASTER than perfect speed at a rate of .009 over an inch,
so thats exactly  .9% too fast for a Z motion. Thats a very interesting result. Since MAch3 cannot speed up the planned motion for correction, but can only slow it down, it would indicate that the planning is off in speed by .9%.

  So the system is planning for steps at 25000 per second. ( Actually, it uses the counted pulses per second, so that may be 25002 on yours for example) anyway.. at 115RPM, thats 1.91666 revs per second. So one rev is .52173 seconds per rev. And the lead must be off .009/.0172" per second. So that seems to indicate the speed of the Z is too fast by .01725 inches per second, or 1.035 inches per minute.
Im thinking thats the issue.

  Now Mach3 is seeing the 115RPM call for threading, setting a feed speed of ( pitch/spindle speed),
and telling the planner to output pulses with a corrected time base of ( yourCPU'sPPS / kernalspeed). It does this
assuming that this is the perfect non-corrected thread motion once triggered for one pass of the thread. Since the
driver cannot speed up the motion, but can only slow it down, the advancing pitch of your tests woudl seem to show that
the real problem is in the perperation steps, not the corrective one. To have pitch advance would seem to remove the
driver from the equation because its outputting too fast for the thread.

  Now I have to say that a .9% lead error is not something I consider very high in terms of what we're doign in single
point threading.. Id suspect a nut would screw on from start to any length since the error remains the same over the length of the
nut. But having said that, it'd be very interesting if we could eliminate that error, then take on the correction to see if we can
do something similar there to make it more efficient if indeed it does have any trouble at that end.

   ( this letter is over an hour long in typing as I check code.. :) )

  So it all boils down to one thing I guess for the tests youve done.

 The motion is moving too fast ( advancing lead ) from start to end, and this seems consistant. To me this can only mean
the spindle speed is not being read correctly in terms of computed number, or the speed of the planner is not properly
being compensated by the difference in your CPU's read kernal speed vs commanded speed.

   Now we know the faster the spindle speed the worse the error is. That may be some other effect, so maybe we should ignore that
for now. Lets just consider speed as the problem, only two factors can really affect it.. spindle speed calculation and kernal frequency.

  Can you note the kernal frequency your getting on the diags page, if its very close we can eliminate that I think.. unless if 225 off, in which case thats the .9%..?
  Do you have any way of telling externally what the real spindle RPM is when you have a reading on the screen?

   If you select a higher pitch..say .5 , is the lead error still the same amount or does it scale with the pitch selected?


  Ill attach here a new Mach3 executable called MachThread.exe , I need to know what code we're in for testing, this is .028 but my version of it so I can track any further tests we do. If we do indeed solve the issue, Ill send Brian a full update for release in the next version and update of current version. Ill also make up a new driver with a selection for no correction.


Thx
Art





 

902
Hi:

 Thx for the pics.

 I have to agree , photo #2 is the best cut. Even the verticals to the left look much better.

>>Unexpected event:WHen I played with jerk setting

  Yes, Feedhold ans reset can act funny. Its what I meant when I said its not fully attached..

>>Some questions:
>>WHen I use CV together with tempest, will tempest blend setting override CV settings? or how it is going to work?

   When CV is on, the blend radisu is used, when off it is zero. Same as exact stop but with Jerk limitation. Dont use zero.. Ill make it kill zero's in future.

The comments are pretty much bang on, Jerk will control the end time more than blend, specially in microsegment code. Blend will have a higher effect in longer segment code.
MicroCode is the hardest of all code to do high order planning with. The fact you get 25minutes vs 35 minutes doesnt surprise me at all, lesser differences woudl be seen in larger segment code.
Im pretty happy with results as posted so far. It allows me to digest and evealuate if indeed Tempest is worthwhile for people to have some day. Many will say its only for special circumstances, but since
Tempest can up the speed quite a bit and eliminate the knocks and jerks, Im thinking it has value for a larger number of peopel than I woudl have orignally though..

Thx
Testing continues.
Art




903
Hi:

  On extra note.. You asked about toolpath display, Blending and CV changes to the output are never shown under the toolpath, they cannot be except as runtime information ( the green dots or line), this is because neither Mach3's traditional planner nor even Tempest really knows whats going to go out till it does. Its a very complex thing to calculate as it all depends on speeds,
blends and conditins at time of cut. Ive seen many errors reported as CV errors that aren't, they are a weak machine bending as it cuts due to acceleration forces , both motor acceleration
and tangental acceleration, Tempest however, knows abotu tangental acceleration and takes it into account, but a weak machien may bend more than you think.. setting low Jerk limit numbers
will stop the bending.. just a quetion of how much that slows you down really..

Thx
Art

904
Hi:

  I assume the tests you were running were in normal Mach3?

>>Today I was playing with 2D code, having both long and short segment parts.
>>It is done as engraving, I need to engrave both sharp corners for rectangles, and smooth curves for curved shapes.
>>CV OFF: Nice sharp edges, but at some parts the machine was bouncing. Result: Engraved rectangles are nice, but the curved shapes have wavy edges.

    If CV is off, AND your machine is bouncing, this is a sign of too high an acceleration setting for your machine. Its not stiff enough to do that kind of acceleration using a linear planner.
In Tempest, you may leave the acceleration setting alone, but youll want to find a setting of JERK that allows you to do the code with CV off that doesnt jerk. Thats the whole point
of tempest. Once you know that your 2d code with CV off doesnt jerk your machine about, then turn on CV..

>>>CV ON: Curved shapes have nicely connected edges, but the rectangles are rounded way too much.

   Set a fairly low Blend radius. You say the rectangles are rounded too much, so set a blend radius your willing to live with.
If your table is set to cut without Jerking.. and Tempest will let you set that up.. then your CV will please you under all circumstances..or should.
Since the blends automatically shrink with the line length, you shouldnt see any blends that other you, certainly not in the micro code your running anyway.

 This is the benefit of being mathmatically pure.. and why Im trying to keep it that way.

thx
Art

Let us know how it works, Id love to see the same photos under tempest as a comparison.






905
>>get CV on tangent lines and arcs, and exact stop on corners.

  Thats a good point. If you set the CV blend down low.. .03 or so.. then the CV WILL only affect tangent lines and such. What happens is for each blend Tempest calculates how fast the system can progress though the blend, since .03 is too sharp at 90 degrees, it will slow way down..so very little cv, but in tangental motions, the small blend can be done at high speeds..so you get selective CV based on tengental nature of that connection. Tempest is pretty smart at doing that.

Thx

Art

906
Jogging is actually a hardware function of any of the devices.. In Printer port, the driver does it. In Smoothstepper or DspMC the devices do it.
All Mach3 does is send a jogon or jogoff command. SO I cant really attach Jog as it stands. Not tillmuch later if I attempt it at all.

   As to going in Mach3, theres still a long way to go and it wont attach properly in all aspects, so you wont see it as a release in Mach3.. at leats not in the near future.

 I will keep a tempest verison going though, so those that wish to use it can if they wish. Unfortunately, that means your stuck with this version of .028 until such time as testing is complete.


  Good results so far though, Im pretty pleased.

Thx
Art

907
Mike:

  Thanks, great report.

  The reason the time doesnt shave when you raise acceleration ( much anyway) is the Jerk Limit itself. No matter what acceleration you enter, the Jerk Limit will
stop the system from accelerating beyond a certain set point of Jerk. Raising Jerk to 100,000 would shave more time off.

 As a comparison, on such a file, Mach3 would have many points at which Jerk woudl be well over 1 million units/sec^3 ..

  So if you like, raise your accel, and raise the jerk limit a bit. The trouble is that the Jog is still linear, so you have to keep the accel down low enough your Jog works
well, and that will set the limit of the accel you can use. After that just experiment to find a good Jerk setting.

 Sounds like your system is working as well as mine. Thanks for the bugs AND this report. Im pretty pleased with Tempest's performance. It really makes Quantum look bad. :)

Art

908
Mike:

  I believe it will work fine, it should work as well as the smoothstepper as they share the motion interface. Cant guarentee it, but they should both work.
You dont need to do much to try tempest anyway, just download and unzip to mach3 folder, and run mach3tempestsep29.exe instead of mach3.exe..

  Id love to hear if it actually works OK on the dsp...

Art

909
My bad...

 G2's have a reversed normal..

 Heres a fix..

Thx for that bug..

Art

910
Mike:

 Yup, just noticed that myself. Its the G2 arcs on line 26, change to G3 and its fine. Im tracking it down now as to where I screwed up on the G2's..

Art