586,061 active members*
4,414 visitors online*
Register for free
Login
Page 3 of 5 12345
Results 41 to 60 of 99
  1. #41
    Join Date
    Jul 2003
    Posts
    1754

    Re: Closed Loop CNC

    Agreed.. But you can do rough positioning - usually good enough for orienting the spindle...

    https://www.youtube.com/watch?v=D6dGYsXAPIU

    Quote Originally Posted by mactec54 View Post
    If you are trying to control a regular AC motor with a VFD, then if you think by adding an Encoder, Plus software you are going to get some accuracy, like a servo motor and drive, then you are wasting your time

  2. #42
    Join Date
    Jul 2003
    Posts
    1754

    Re: Closed Loop CNC

    Really anything is possible.. we have some amc drives that take PWM in... we have some vfd's that take 0-10v and pwm.

    Quote Originally Posted by mactec54 View Post
    That is not correct for analog control it is +/-10v for the control voltage, for servo applications, PWM is 0-10v for VFD Control

  3. #43
    Join Date
    Jul 2003
    Posts
    1754

    Re: Closed Loop CNC

    Linuxcnc is a closed loop control at its heart.. Even its step generators feed back its internal position to motoin. That is why it is easy on linuxcnc to use feedback even with steppers. You hook the encoders in - then instead of using the step generator feedback to motion - you use the encoder. or whatever.

    sam

  4. #44
    Join Date
    Dec 2003
    Posts
    24221

    Re: Closed Loop CNC

    Of course if you want servo type control with a VFD and 3 ph motor, the VFD has to have the encoder option.
    In this way you can go down to 200% torque at zero RPM and this is used in elevator/lift control as well as holding a load stationary in the case of a gantry crane lifting a load.
    As well as tool change orient options etc.
    Some years ago I watch a demo by one VFD company using the crane lift approach.
    See encoder with vector VFD in the PDF.
    Al.
    Attached Files Attached Files
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  5. #45
    Join Date
    Jan 2005
    Posts
    15362

    Re: Closed Loop CNC

    Quote Originally Posted by samco View Post
    Agreed.. But you can do rough positioning - usually good enough for orienting the spindle...

    https://www.youtube.com/watch?v=D6dGYsXAPIU
    Dreaming is good, rough positioning, it is

    But if he has 2 VFD drives, and is asking about servos to close the loop, this is 2 different things, yes everyone already knows, that most spindle orienting is done this way, this is not being used for 2 axes control with any kind of accuracy
    Mactec54

  6. #46
    Join Date
    Jan 2005
    Posts
    15362

    Re: Closed Loop CNC

    Quote Originally Posted by samco View Post
    Really anything is possible.. we have some amc drives that take PWM in... we have some vfd's that take 0-10v and pwm.
    Some old junk, is what you have
    Mactec54

  7. #47
    Join Date
    Jul 2003
    Posts
    1754

    Re: Closed Loop CNC

    maybe. but it works very well.. This was initial tuning with some PWM input amc drives. That is <.0003" following error at 150ipm. (and it is tuned much better now...)

    https://www.youtube.com/watch?v=lTNzBLNBNiE

    Quote Originally Posted by mactec54 View Post
    Some old junk, is what you have

  8. #48
    Join Date
    Jul 2003
    Posts
    1754

    Re: Closed Loop CNC

    Here we go.. <.00007" following error at 150ipm... Not bad for old junk.


  9. #49
    Join Date
    Apr 2006
    Posts
    3498

    Re: Closed Loop CNC

    awesome that is <0.002mm...
    http://free3dscans.blogspot.com/ http://my-woodcarving.blogspot.com/
    http://my-diysolarwind.blogspot.com/

  10. #50
    Join Date
    Jun 2010
    Posts
    4256

    Re: Closed Loop CNC

    How would the controller know that the Drives / motor combo has obeyed the command unless three is an encoder feedback connected back to the controller.
    In the case of a stepper system, you don't know. But if you overload the stepper motor even briefly, the job is probably trashed. That is a deficiency of the any system based on open loop steppers. You can't try to instruct a stepper motor to 'have another go please'. That said, please note that there are probably thousands of hobby-level stepper systems around the world, spinning away happily.

    In the case of a digital servo system, you can normally configure the driver to flag a fault if the encoder does not keep up. Typical tolerances can be 8 steps, 64 steps, 256 steps, etc. Such a fault will nomally crash-stop the whole CNC machine. Note that for many such systems, the single step resolution can be <1 micron, so if the system lags by a few steps, you are talking about only a couple of microns error.

    Little Gecko servo drivers in include red, orange and green LEDs for the various error margins which you can monitor by eye for a while, to get some idea of how the system is going. I imagine other brands do likewise.

    Cheers
    Roger

  11. #51
    Join Date
    Jul 2003
    Posts
    1754

    Re: Closed Loop CNC

    Linuxcnc can also do ethercat. (although i have no experience with that..)

    https://forum.linuxcnc.org/24-hal-co...r?limitstart=0

    sam

  12. #52
    Join Date
    Jan 2005
    Posts
    15362

    Re: Closed Loop CNC

    Quote Originally Posted by samco View Post
    Here we go.. <.00007" following error at 150ipm... Not bad for old junk.
    This is easy to achieve with low count encoders

    What is the encoder resolution, how many CPR

    This is also the Mesa Board that is doing the work, to make this possible
    Mactec54

  13. #53
    Join Date
    Jul 2003
    Posts
    1754

    Re: Closed Loop CNC

    How does that make any sense? The trace shows that the system resolution has to be better than .00007 / inch (it is actually .000019") so the system is tuned within +/-4 counts. You are seriously saying that if I had a higher cpr encoder I would not be able to tune it to .00007 error?

    To answer your question - this is 500cpr or 2000 counts per rev. I might consider it on the low end of resolution. This gives an axis resolution of 50,800.1 counts per inch.

    And - all the mesa hardware is doing is counting the encoders and sending out high speed pwm. The pid loop , motion is all within linuxcnc.

    sam




    Quote Originally Posted by mactec54 View Post
    This is easy to achieve with low count encoders

    What is the encoder resolution, how many CPR

  14. #54
    Join Date
    Jan 2005
    Posts
    15362

    Re: Closed Loop CNC

    Quote Originally Posted by samco View Post
    How does that make any sense? The trace shows that the system resolution has to be better than .00007 / inch (it is actually .000019") so the system is tuned within +/-4 counts. You are seriously saying that if I had a higher cpr encoder I would not be able to tune it to .00007 error?

    To answer your question - this is 500cpr or 2000 counts per rev. I might consider it on the low end of resolution. This gives an axis resolution of 50,800.1 counts per inch.

    And - all the mesa hardware is doing is counting the encoders and sending out high speed pwm. The pid loop , motion is all within linuxcnc.

    sam
    Just as I thought, unless your Encoders have 16Bit to 20 Bit 1 million CPR you are just pretending you have something great, the number you present are meaning less, to what the over all performance would be, which is very poor, with a low resolution like this

    As I said the Masa is doing all the work, without it or another board like it, the LinuxCNC would have a dismal performance
    Mactec54

  15. #55
    Join Date
    Jul 2003
    Posts
    1754

    Re: Closed Loop CNC

    Huh. Are you talking about something like this?

    DMM | ABS-14-00 Absolute Encoder | AC SERVO DRIVE | AC SERVO MOTOR | ROTARY ENCODER

    Wow - 16 bit encoder - that would be 65535 counts per rev!

    Lets look at the spec - accuracy.

    12-bits / 4096 / 0.088° / 316 arc-sec

    wait what? - it is only twice as good as my 2000 count encoder? Not to mention the possible acceleration lag inherent to magnetic encoders?

    Who is pretending?

  16. #56
    Join Date
    Jan 2005
    Posts
    15362

    Re: Closed Loop CNC

    Quote Originally Posted by samco View Post
    Huh. Are you talking about something like this?

    DMM | ABS-14-00 Absolute Encoder | AC SERVO DRIVE | AC SERVO MOTOR | ROTARY ENCODER

    Wow - 16 bit encoder - that would be 65535 counts per rev!

    Lets look at the spec - accuracy.

    12-bits / 4096 / 0.088° / 316 arc-sec

    wait what? - it is only twice as good as my 2000 count encoder? Not to mention the possible acceleration lag inherent to magnetic encoders?

    Who is pretending?
    You are in some kind of dream world, but that is ok, 500 CPR is pathetic, most Hobby Routers are doing way better than this

    It has very little to do with accuracy, that is why I said your numbers are worthless, you have very little knowledge of what encoders are used for, you have your head in the clouds, if you think it is for accuracy, which you keep quoting, snip will give you something to think about, this is more than 5 years old, and they go much higher than this, it is the standard today less than 20Bit Encoders and you are not in the playing field

    Standard off the shelf general purpose Yaskawa Sigma 7 Servo Motors come with 24 Bit Encoders=16,777,216

    20 Bit is 1,048,576 Sigma 5 been in use the last 10 years

    24 Bit is 16,777,216 Sigma 7
    Mactec54

  17. #57
    Join Date
    Apr 2006
    Posts
    3498

    Re: Closed Loop CNC

    500CPR is 2000 ticks (Quadrature) per rotation and if electronics/mechanical gearing( which surely applied with motor as well as in the form of lead screw/rackpinion) then the accuracy is not that bad. No matter how good /high resolution encoder you are using if PID tuning is not done properly it may converted into piece of crap.
    http://free3dscans.blogspot.com/ http://my-woodcarving.blogspot.com/
    http://my-diysolarwind.blogspot.com/

  18. #58
    Join Date
    Jun 2010
    Posts
    4256

    Re: Closed Loop CNC

    Ha, well, high resolution encoders ... a bit mythical.

    One can go to 16 step micro-resolution on a stepper motor, which can make for very smooth movement at slow speeds, but such micro-step resolution only increases the resolution. It does NOT increase the accuracy. The accuracy depends on very fine machining details to do with the teeth inside the motor. This is reasonably well-known.

    Given that the best 'low-end' encoder usually runs to only 2,000 quadrature steps per rev, how do these 24-bit encoders work? Dirty little secret: they cheat. They are usually limited to an accuracy of about 2,000 steps. The rest comes from interpolation on the analog signals coming through the encoder wheels. If the encoder wheel is a bit shonky, your accuracy plummets.

    You see, the ANALOG optical signal you get from the encoder wheel is a sine-wave, not a digital signal. Honest simple encoders use a simple threshold circuit for 0 and 1, but you can cheat and digitise that sine-wave and feed it through a microprocessor to get another 1,000 steps per encoder slot. With that you can claim 2,000 * 1,000 = 2,000,000 steps per rev. They also do this with high-resolution magnetic encoders - but those vendors seem to be a bit more honest about what they are doing (ime).

    A common spec for the 'high-resolution' encoders used to be that they transmitted the encoder signal as a data stream, NOT as a bi-phase A & B, although it should be possible these days to generate a pseudo-biphase signal. Yes, you SEEM to be getting that resolution, but you are NOT getting that accuracy. The encoder slots in the wheel are not etched to that precision.

    Should anyone have specs on encoders which do claim 24-bit ACCURACY, I would love to see them (and their price).

    Cheers
    Roger

  19. #59
    Join Date
    Jul 2003
    Posts
    1754

    Re: Closed Loop CNC

    The thing is - I have have some real world examples showing how linuxcnc is positioning...

    You can see the previous screenshot of following error that the system is following trajectory within .00007". It is the whole system.

    how about this?

    https://www.youtube.com/watch?v=FgOqEz5Tk-Y

    or doesn't this count either because my encoders are only 2540 line or 10160 counts... It isn't just the encoders - it is the whole system as khalid mentioned.

    sam

  20. #60
    Join Date
    Jan 2005
    Posts
    15362

    Re: Closed Loop CNC

    Quote Originally Posted by samco View Post
    The thing is - I have have some real world examples showing how linuxcnc is positioning...

    You can see the previous screenshot of following error that the system is following trajectory within .00007". It is the whole system.

    or doesn't this count either because my encoders are only 2540 line or 10160 counts...

    sam

    As I said accuracy has very little to do with it, you can get that same accuracy as you are quoting by using a Stepper motor with no Encoder

    So now you have some magic going on, you changed from 500 PPR encoders to 2540 PPR encoders ???? it still does not make any difference, you will still have a dismal performance with a system like this

    Please Note without the MESA Breakout Board ( which is doing all the work, )[/U] the LinuxCNC control is no better than any other cnc control, I'm not against LinuxCNC I use it also, along with lots of other controls that perform and do the same job, some do it better

    You have to catch up, 20 Bit Encoders have been in the industry and for some hobby users that want them for 10 years, if you are just pretending at Hobby level then that is fine, dinosaurs have been gone for a long time, so stop pretending that you have something that is great, when in reality it is a dinosaur

    Seeing you brought up the subject of magnetic Encoders, here is a test with a true 16 Bit, lets see you do this with you 500PPR Encoders, it's not going to happen, and note no closed loop control required the loop is closed in the servo drive for this test

    https://www.youtube.com/watch?v=fyKBKUkFJVA
    Mactec54

Page 3 of 5 12345

Similar Threads

  1. Closed loop servo vs real close loop in motion controller
    By ciufuliciboy in forum Servo Motors / Drives
    Replies: 25
    Last Post: 04-21-2018, 04:36 AM
  2. Replies: 1
    Last Post: 01-05-2018, 05:19 AM
  3. Closing the loop with Path Pilot. Possibly dual (global) closed loop?
    By SwampDonkey in forum Tormach Personal CNC Mill
    Replies: 29
    Last Post: 05-04-2016, 09:39 PM
  4. Replies: 0
    Last Post: 03-13-2012, 11:15 PM
  5. Closed Loop Driver vs. Closed Loop Computer
    By ojibberish in forum Gecko Drives
    Replies: 3
    Last Post: 06-08-2004, 05:30 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
  •