585,888 active members*
4,041 visitors online*
Register for free
Login
Page 2 of 2 12
Results 21 to 30 of 30
  1. #21
    Join Date
    Dec 2013
    Posts
    5717

    Re: Mill produces faceted finishes

    Quote Originally Posted by mactec54 View Post
    Don't think so, so you have dumb useless drives, life is to short to be messing with that junk

    There has been many try to do this, but no one to date has succeed, just relying the a linear scale, there is always going to be some problems, even though you have yours running, dual feed back is the only way to use both, Linear and Encoder feed back to the control, if you want to do something like this

    I disagree completely, I guess I'm the exception. I have 2 machines in my shop that are equipped that way, and both work fine, and are very accurate. You don't need both linear and encoder feedback control.
    Jim Dawson
    Sandy, Oregon, USA

  2. #22
    Join Date
    Dec 2013
    Posts
    5717

    Re: Mill produces faceted finishes

    Quote Originally Posted by Bdrangdo View Post
    Unless I am missing something you don't say what the control system is. When I mentioned turning up the gain I was referring to the PID filter settings. P - Proportional gain, I - Integration, D - Derivative. Different controls can have different terms for these. These are usually adjusted via the control parameter settings which vary from one control to another. If P is too low there will be an large following error which can lead to faceting, ironically if it too high it can lead to oscillation which gives the same effect. Adjusting the PID filter settings can be something of a black art if you are not used to it and to do it as close as possible you need to have some form of visual feedback ie an oscilloscope. Finding the tacho connections to the amp should be easy. You should have 3 pairs of wires coming from the motor. The thick ones will be power, the other two will be tacho and thermal overload. Usually there will be a label on the inside of the connection cover. All three will go to the amp. the other wire connections will be command, and enable/disable. You should try and see if there is any backlash with a clock and try and move the bed with a lever of some kind. You will need rather more than just hand pressure. You may be surprised how much movement you can get with very little pressure, mostly it will be springing somewhere but wherever it is remember the servo will be constantly trying to overcome it and losing the battle. It will also help if there is no undue drag in the slideways, check the jibs are not too tight.
    The heart of the Jake's (the OP) system is a Galil DMC-1840 motion controller, I have a DMC-1846 in mine. I wrote the software, and designed the system. The amps and servos are 30 year old brushed DC. The original control was Anilam, don't remember which one for sure. In Jake's case, the scales are Ditron magnetic, 1 micron resolution, identical in form and function to the Renishaw LM10 series that I am using, both rated at 3M/sec. Obviously much faster than is possible to run a mill. I have personally tested the Ditron read heads against the Renishaw read heads and found no difference in function.

    Adjusting the PID is simple from my program, just enter the value and click Apply, takes effect instantly and can be done on the fly. You can watch the following error, displayed in microns, in the diagnostic window.



    Quote Originally Posted by vmax549 View Post
    One of the things to be aware of is you went from a rigidly mounted encoder mounted on teh motor shaft to a scale which is NOT rigidly mounted to the motor. ANY lost motion between the 2 (scale, motor) will lead to the drive hunting for position IF you do not change the motor tuning to compensate. Even then accuracy could suffer.

    I would simply replace the original encoders and use teh scales as a backup reference.

    Just a thought, (;-) TP
    The motor's job is to move the axis to the position commanded by the motion controller. The motion controller continues to supply a command voltage (+/-10V) to the drive proportional to the commanded velocity and position error. Once the axis has reached the commanded position the command voltage is set to zero. The motion controller is continuously reading the encoder (scale) position every 100 microseconds or so. The drive in this case only does what it's told to do by the motion controller, it has no idea what the position is, nor any intelligence to hunt for position.

    Quote Originally Posted by Bdrangdo View Post
    I have just been playing with my Bridgeport which I only just finished fitting the Fagor control to and checked the following error. Using scales as feedback the lowest I can get is just under .2mm at a slow jog speed. Using the motor encoders it was less than .08mm, in fact with time I am sure I could get it less than that. Using scales I had to use a much lower gain to stop oscillation hence the high following error. My Bridgeport is well worn and has less than perfect ball screws. On a new machine it may not be much of a problem. On all machines the scales will be offset some distance from the screw and the cutter center and the slightest twist on the bedways/dovetails will produce inevitable inaccuracy's and slop which lead to the scales not accurately reflecting the true bed movement. Just by pulling on the bed I could make the servos visibly move yet the DRO which is showing 0.001mm resolution only moved a few thousands of a millimeter. On a typical Bridgeport set up the cutter is offset from the scale by around 150 mm so there could easily be a large disparity between the actual cutter position and the theoretical position. I will be going back to the encoders. It seemed a good idea at the time to use scales but it seems to cause more problems than it solves. As Mactec wrote the lack of resolution can cause problems unless you are using scales specially designed for cnc feedback.
    If one were to try to install scales in place of the motor encoder on a modern AC servo drive it would be a disaster. It would be nearly impossible to tune the system. But there are advantages to using linear scales for positioning control and let the drive use the motor encoder to make sure the motor is doing what it's being told to do.

    The position of the scales relative to the cutter should make no difference. The scales are reading the true table position and the table is always going to be relative to the cutter. If the scales are accurate, then the true position of the table will be reflected in the DRO. Using linear scales as opposed to the encoder on the motor will compensate for backlash within reason, and any inaccuracy in the ball screw lead. IMHO, linear scales fixed to the load (table) are a much more accurate positioning system than encoders hung on the motors or ball screws. Now if the machine is so loose that the X DRO shows a change in position when pushing on the end of the table in the Y axis, then there is no hope and nothing you can do electronically will solve that.
    Jim Dawson
    Sandy, Oregon, USA

  3. #23
    Join Date
    Apr 2015
    Posts
    170

    Re: Mill produces faceted finishes

    Most MC's and milling machines I have encountered with some exceptions have both "X" and "Y" screws central to the slide ways that cross over and line up approximately with the cutter. So if the ball screws and bearings are good a modest amount of bed movement will not make great difference to the tool/screw alignment which is fine if using motor or screw encoders. I know this is highly subjective and lazy and many will beg to differ but the way I see it the problem is one of simple geometry. I have not had time as yet to do any machining using scale feed back but I suspect I would end up with the same problem as the OP. In my own defense (and my Bridgeport) I have only just put it back together and not had time to adjust the jibs as well as they could be set hence the sloppy bed. It was a long while ago since I used a Galil card along with Mach 3 and I can't remember how the PID filter was adjusted. Reading the all the posts again I assume the OP to be using a Galil card but it seems unclear to me what is software he is using. Have some posts been removed or is it a continuation of another thread ?, because the OP does not mention Galil or machine type in the first post.

  4. #24
    Join Date
    Dec 2013
    Posts
    5717

    Re: Mill produces faceted finishes

    Quote Originally Posted by Bdrangdo View Post
    It was a long while ago since I used a Galil card along with Mach 3 and I can't remember how the PID filter was adjusted. Reading the all the posts again I assume the OP to be using a Galil card but it seems unclear to me what is software he is using. Have some posts been removed or is it a continuation of another thread ?, because the OP does not mention Galil or machine type in the first post.
    Read my post above again, first paragraph. The machine is a Bridgeport
    Jim Dawson
    Sandy, Oregon, USA

  5. #25
    Join Date
    Apr 2015
    Posts
    170

    Re: Mill produces faceted finishes

    Quote Originally Posted by Jim Dawson View Post
    Read my post above again, first paragraph. The machine is a Bridgeport
    My apologies, when I read your post it was on my phone which made it difficult to read it all in context.

  6. #26
    Join Date
    Dec 2013
    Posts
    5717

    Re: Mill produces faceted finishes

    Quote Originally Posted by Bdrangdo View Post
    My apologies, when I read your post it was on my phone which made it difficult to read it all in context.

    No problem. We'll call it distracted reading
    Jim Dawson
    Sandy, Oregon, USA

  7. #27
    Join Date
    Jan 2005
    Posts
    15362

    Re: Mill produces faceted finishes

    Quote Originally Posted by Jim Dawson View Post
    I disagree completely, I guess I'm the exception. I have 2 machines in my shop that are equipped that way, and both work fine, and are very accurate. You don't need both linear and encoder feedback control.
    The exception yes, you believe in what you have, and created, but those that have seen this done before have seen how it can fail to perform with no servo motor feed back to the control, to compare the command position of the linear encoder and the servo motor position, the servo motor is left floating

    On a successful system using linear encoders, on the machine, they use Motor encoder feed back as well, what you have created has to many variables, to be successful control system, if it was this simple every manufacture would of been doing this years ago
    Mactec54

  8. #28
    Join Date
    Dec 2013
    Posts
    5717

    Re: Mill produces faceted finishes

    Quote Originally Posted by mactec54 View Post
    The exception yes, you believe in what you have, and created, but those that have seen this done before have seen how it can fail to perform with no servo motor feed back to the control, to compare the command position of the linear encoder and the servo motor position, the servo motor is left floating

    On a successful system using linear encoders, on the machine, they use Motor encoder feed back as well, what you have created has to many variables, to be successful control system, if it was this simple every manufacture would of been doing this years ago

    If I had motor encoder feedback available on the mills I would be using it and would use a dual loop system. But the 30 year old DC drives only have tachometer feedback, and because it's working fine, I'm not going to go to the expense of adding motor encoders.

    Now on my Hardinge lathe that I just repowered with modern AC servos and I am only using the drive encoder output because I don't have linear scales on it. The servos have 14 or 16 bit encoders, I forget which. Seems to be working fine that way. The good news is that mechanically the lathe is in good condition and the backlash is nearly zero in both axes and in general seems to hold +/- 0.0002'' consistently. Not bad for a 30 year old machine.

    On my router I have stepper drives and linear scales and it is set up as a dual loop system, at least as is possible with steppers. But it does do on-the-fly error correction, and is quite accurate for an old worn out machine.
    Jim Dawson
    Sandy, Oregon, USA

  9. #29
    Join Date
    Feb 2008
    Posts
    644

    Re: Mill produces faceted finishes

    Quote Originally Posted by Jim Dawson View Post
    If I had motor encoder feedback available on the mills I would be using it and would use a dual loop system. But the 30 year old DC drives only have tachometer feedback, and because it's working fine, I'm not going to go to the expense of adding motor encoders.

    Now on my Hardinge lathe that I just repowered with modern AC servos and I am only using the drive encoder output because I don't have linear scales on it. The servos have 14 or 16 bit encoders, I forget which. Seems to be working fine that way. The good news is that mechanically the lathe is in good condition and the backlash is nearly zero in both axes and in general seems to hold +/- 0.0002'' consistently. Not bad for a 30 year old machine.

    On my router I have stepper drives and linear scales and it is set up as a dual loop system, at least as is possible with steppers. But it does do on-the-fly error correction, and is quite accurate for an old worn out machine.
    Many older systems used linear encoders as the only _position_ feedback (Anilam is a common one) but they always had a local velocity feedback loop
    This is not really very different from a modern dual feedback system, in that the fast feedback is done on the rotary axis and the slower feedback
    is done via the linear position feedback.

  10. #30
    Join Date
    Apr 2015
    Posts
    170

    Re: Mill produces faceted finishes

    Quote Originally Posted by PCW_MESA View Post
    Many older systems used linear encoders as the only _position_ feedback (Anilam is a common one) but they always had a local velocity feedback loop
    This is not really very different from a modern dual feedback system, in that the fast feedback is done on the rotary axis and the slower feedback
    is done via the linear position feedback.
    I wish I had understood that a few weeks ago it would have saved my a lot of time and grief trying to use brushless DC motors on a control that wasn't designed for torque control. Dave

Page 2 of 2 12

Similar Threads

  1. toolpath is too faceted.
    By declanhalpin in forum MadCAM
    Replies: 11
    Last Post: 04-18-2013, 03:30 AM
  2. Mazak QT20 Gear change to 1 produces spindle to stop and go
    By daveh06033 in forum Mazak, Mitsubishi, Mazatrol
    Replies: 9
    Last Post: 09-28-2011, 08:54 PM
  3. Markon generator only produces 5.2 volts
    By Torque454 in forum CNC Machine Related Electronics
    Replies: 20
    Last Post: 09-19-2011, 06:15 PM
  4. FACETED ELLIPSE
    By cncstephen in forum Mastercam
    Replies: 12
    Last Post: 06-15-2011, 10:23 AM
  5. PCMCIA CARD PRODUCES NO MOVEMENT IN KT2514
    By TheNigerian in forum K2CNC
    Replies: 1
    Last Post: 04-08-2008, 02:10 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •