Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login
    1. Home
    2. Guus
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 12
    • Best 5
    • Controversial 0
    • Groups 0

    Guus

    @Guus

    6
    Reputation
    1
    Profile views
    12
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Age 61

    Guus Unfollow Follow

    Best posts made by Guus

    • Support for AS5311 High Resolution Linear Encoder

      In 2016, I bought a Cirqoid CNC milling machine to produce prototype circuit boards. Only 1 month after bought this machine, the manufacturer closed their website and disappeared. I could not get it to work and had other things to do. So it sat in a box for too long. It is build very well. And while looking at the controller it was ahead of its time, unfortunately too far ahead. Here is a video(1) of this wonderful machine. And here a link(2) to the software. And a ,link(3) to the manual. This is not a commercial message! The manufacturer went out of business and I am trying to make it work with Duet3d stuff.

      Now I have bought a Duet 3 Mini 5+ and start to upgrade this CNC machine.

      There are Magnetic Linear Encoders on this machine. The Osram AS5311(4) High Resolution Linear Encoder are at tiny prints in the machine near the magnetic strips.

      On the X axis there is one Nema 14 stepper and one time a Linear Encoder
      On the Y axis are two Nema 14 steppers and 2 times Linear Encoders
      On the Z axis there is one Nema 14 stepper and one time a Linear Encoder

      The AS5311 has SPI and PWM outputs.

      The AS5047P is at Your "Duet3D Magnetic Encoder".

      Now my questions;

      Is it today possible today use the AS5047P chip as a Linear Encoder?.

      So NOT at the back of the stepper? I will have to make new PCB's with the AS5047P(5) to be abile to fit into the existing locations on this machine.

      Otherwise?

      Is it possible to add support for the AS5311 to the Duet 3 Expansion 1HCL?

      Bye,

      Guus

      Links:
      sorry, I may not put the links here.

      posted in CNC
      Guusundefined
      Guus
    • RE: Support for AS5311 High Resolution Linear Encoder

      @T3P3Tony The machine uses sturdy spindles and I do not expect any backlash. So once I have mounted the encoder on the back of the steppers, the linear encoders will no longer be needed. All I have to do is to fit end stops. Because the function of end stop was also done with the linear encoders. This way I don't need any new code, or testing new things. I keep 100% to the actual design of Duet3d. I'm learning! Thanks for the support! Up to the next step: ordering stuff;-)

      posted in CNC
      Guusundefined
      Guus
    • RE: Support for AS5311 High Resolution Linear Encoder

      @dc42 I decided not to use the Linear encoder for the time being. I will install end stops. Thanks for the answers.

      HHmm. Maybee the linear encoders are only used as end stops.

      Question: Can I use the PWM signal from the AR5311 as end-stop signals in RRF?AS5311-B.jpeg

      posted in CNC
      Guusundefined
      Guus
    • RE: Support for AS5311 High Resolution Linear Encoder

      @droftarts

      Here are more photo's. This will explain many questions very fast.

      The boards;

      MCU board front side
      MCU board front side.jpeg

      MCU board rear side
      MCU board back side.jpeg

      Driver board front side with ET4988 chips.
      Driver board front side.jpeg

      Driver board rear
      Driver board backside.jpeg

      Bottom with Duet Mini 5. You can see 2 tubes with compressed air and a vacuum pump.
      Bottom with Mini 5+.jpeg

      Solder paste head
      PnP head.jpeg

      PnP head The 5the driver is for the motor for positioning
      Solder paste head.jpeg

      Mill and drill head
      Mill and Drill head.jpeg

      This was sold in 2016. It is really not badly designed. But I could not work with the software and never used this machine. Now have to mill small microstrip antennas. And that requires a lot of testing and milling. So this machine would speed up my development time for antennas a lot.

      posted in CNC
      Guusundefined
      Guus
    • RE: Support for AS5311 High Resolution Linear Encoder

      @Guus

      @droftarts said in Support for AS5311 High Resolution Linear Encoder:

      @Guus The controller board is interesting. It looks like it has an ARM MCU, and the encoder plugs in directly to that. The stepper drivers are standard 'stepstick' plug-in modules, and are probably Allegro A4988 drivers. I'd guess the firmware reads the motor position from the encoder, and maybe adjusts the position, but this isn't quite closed loop, as it's not taking the motor commutation into account, which allows for accurate positioning. The drivers on the Mini 5+, even though in open loop mode, will be nicer!

      Interesting that there are 5 drivers on the motor board. I guess it uses three for X, Y and Z. Does it use the driver with 8 output pins for Y? What does it use the other drivers for? I did see it comes with other tools, eg paste dispenser and pick-and-place toolhead, so I assume those.

      Ian

      There must have been many problems with this early design of the machine. The manufacturer panicked and stopped the production and closed down his company.

      By installing a Duet 3 mini 5+ in this machine I have the latest and greatest controller and support!!!!! Thanks!!!!!

      I won't be using the linear encoder for the time being. I will install 3 end stops on the machine. And I will install 4 Duet 3 Expansion 1HCL boards and 4 Duet 3 magnetic encoders. This way I will have a closed loop. The machine has robust spindles and I think the linear encoders are no longer necessary. So no new c code is needed.

      If this setup is not accurate enough, I will try to figure out how to add the linear encoders to the machine.

      Guus

      posted in CNC
      Guusundefined
      Guus

    Latest posts made by Guus

    • RE: Support for AS5311 High Resolution Linear Encoder

      @Guus

      @droftarts said in Support for AS5311 High Resolution Linear Encoder:

      @Guus The controller board is interesting. It looks like it has an ARM MCU, and the encoder plugs in directly to that. The stepper drivers are standard 'stepstick' plug-in modules, and are probably Allegro A4988 drivers. I'd guess the firmware reads the motor position from the encoder, and maybe adjusts the position, but this isn't quite closed loop, as it's not taking the motor commutation into account, which allows for accurate positioning. The drivers on the Mini 5+, even though in open loop mode, will be nicer!

      Interesting that there are 5 drivers on the motor board. I guess it uses three for X, Y and Z. Does it use the driver with 8 output pins for Y? What does it use the other drivers for? I did see it comes with other tools, eg paste dispenser and pick-and-place toolhead, so I assume those.

      Ian

      There must have been many problems with this early design of the machine. The manufacturer panicked and stopped the production and closed down his company.

      By installing a Duet 3 mini 5+ in this machine I have the latest and greatest controller and support!!!!! Thanks!!!!!

      I won't be using the linear encoder for the time being. I will install 3 end stops on the machine. And I will install 4 Duet 3 Expansion 1HCL boards and 4 Duet 3 magnetic encoders. This way I will have a closed loop. The machine has robust spindles and I think the linear encoders are no longer necessary. So no new c code is needed.

      If this setup is not accurate enough, I will try to figure out how to add the linear encoders to the machine.

      Guus

      posted in CNC
      Guusundefined
      Guus
    • RE: Support for AS5311 High Resolution Linear Encoder

      @droftarts

      Here are more photo's. This will explain many questions very fast.

      The boards;

      MCU board front side
      MCU board front side.jpeg

      MCU board rear side
      MCU board back side.jpeg

      Driver board front side with ET4988 chips.
      Driver board front side.jpeg

      Driver board rear
      Driver board backside.jpeg

      Bottom with Duet Mini 5. You can see 2 tubes with compressed air and a vacuum pump.
      Bottom with Mini 5+.jpeg

      Solder paste head
      PnP head.jpeg

      PnP head The 5the driver is for the motor for positioning
      Solder paste head.jpeg

      Mill and drill head
      Mill and Drill head.jpeg

      This was sold in 2016. It is really not badly designed. But I could not work with the software and never used this machine. Now have to mill small microstrip antennas. And that requires a lot of testing and milling. So this machine would speed up my development time for antennas a lot.

      posted in CNC
      Guusundefined
      Guus
    • RE: Support for AS5311 High Resolution Linear Encoder

      @Guus These are the steppers. Stepper X.jpeg atv the X axis. Stepper Y.jpeg at the two Y steppers and Stepper Z.jpeg at the Z stepper.

      posted in CNC
      Guusundefined
      Guus
    • RE: Support for AS5311 High Resolution Linear Encoder

      @Guus The processing board and the driver board where not that complex. I don't see it being used with closed-loop steppers.Old and new cntroller.jpeg

      posted in CNC
      Guusundefined
      Guus
    • RE: Support for AS5311 High Resolution Linear Encoder

      @dc42 I decided not to use the Linear encoder for the time being. I will install end stops. Thanks for the answers.

      HHmm. Maybee the linear encoders are only used as end stops.

      Question: Can I use the PWM signal from the AR5311 as end-stop signals in RRF?AS5311-B.jpeg

      posted in CNC
      Guusundefined
      Guus
    • RE: Support for AS5311 High Resolution Linear Encoder

      @droftarts

      I made a mistake. The steppers for Z and X are Nema 17. So the "Duet3D Magnetic Encoder" will fit.

      Only the stepper for Z is Nema 10. I will make an adapter for the "Duet3D Magnetic Encoder" and try to get it working.

      The steppers have only 4 wires and were directly connected to stepper drivers. No SPI or anything else.

      posted in CNC
      Guusundefined
      Guus
    • RE: Support for AS5311 High Resolution Linear Encoder

      @T3P3Tony The machine uses sturdy spindles and I do not expect any backlash. So once I have mounted the encoder on the back of the steppers, the linear encoders will no longer be needed. All I have to do is to fit end stops. Because the function of end stop was also done with the linear encoders. This way I don't need any new code, or testing new things. I keep 100% to the actual design of Duet3d. I'm learning! Thanks for the support! Up to the next step: ordering stuff;-)

      posted in CNC
      Guusundefined
      Guus
    • RE: Support for AS5311 High Resolution Linear Encoder

      @droftarts

      The AS5047P is at the "Duet3D Magnetic Encoder".

      Can I use the "Duet3D Magnetic Encoder" as an linear encoder instead of on the back of a stepper motor?

      If yes:

      Then I can make new pcb's for the AS5047P to use at this machine. (not at the back of the steppers)
      and
      Then I can make new pcb's who fit on nema 14 steppers.

      Bye
      Guus

      posted in CNC
      Guusundefined
      Guus
    • RE: Support for AS5311 High Resolution Linear Encoder

      In 2016, I bought a Cirqoid CNC milling machine to produce prototype circuit boards. Only 1 month after bought this machine, the manufacturer closed their website and disappeared. I could not get it to work and had other things to do. So it sat in a box for too long. It is build very well. And while looking at the controller it was ahead of its time, unfortunately too far ahead. Here is a video(1) of this wonderful machine. And here a link(2) to the software. And a ,link(3) to the manual. This is not a commercial message! The manufacturer went out of business and I am trying to make it work with Duet3d stuff.

      Now I have bought a Duet 3 Mini 5+ and start to upgrade this CNC machine.

      There are Magnetic Linear Encoders on this machine. The Osram AS5311(4) High Resolution Linear Encoder are at tiny prints in the machine near the magnetic strips.

      • On the X axis there is one Nema 14 stepper and one time a Linear Encoder
      • On the Y axis are two Nema 14 steppers and 2 times Linear Encoders
      • On the Z axis there is one Nema 14 stepper and one time a Linear Encoder

      The AS5311 has SPI and PWM outputs.

      Now my questions;

      Is it possible to add support for the AS5311 to the Duet 3 Expansion 1HCL?

      Bye,

      Guus

      Links:

      (1) https://www.youtube.com/watch?v=DABF_JWJdXY
      (2) http://cirqwizard.org/docs/intro.html
      (3) https://www.pintoelettronica.com/files/np_Files/DocFiles/000/000/094/Cirqoid_user_manual_EN-20140610.pdf
      (4) https://ams-osram.com/products/sensor-solutions/position-sensors/ams-as5311-linear-sensor
      (5) https://ams-osram.com/products/sensor-solutions/position-sensors/ams-as5047p-high-resolution-position-sensor

      posted in CNC
      Guusundefined
      Guus
    • RE: Support for AS5311 High Resolution Linear Encoder

      @Phaedrux Thanks

      (1) https://www.youtube.com/watch?v=DABF_JWJdXY
      (2) http://cirqwizard.org/docs/intro.html
      (3) https://www.pintoelettronica.com/files/np_Files/DocFiles/000/000/094/Cirqoid_user_manual_EN-20140610.pdf
      (4) https://ams-osram.com/products/sensor-solutions/position-sensors/ams-as5311-linear-sensor
      (5) https://ams-osram.com/products/sensor-solutions/position-sensors/ams-as5047p-high-resolution-position-sensor

      posted in CNC
      Guusundefined
      Guus