Quadrature Error with DYN4 Spindle Servo

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

pbaudio
Posts: 25
Joined: Wed Dec 05, 2018 5:08 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: UK

Re: Quadrature Error with DYN4 Spindle Servo

Post by pbaudio »

martyscncgarage wrote: Fri Jul 19, 2019 4:21 pm I've been gone a couple of days...
Describe the machine?
I assume you are trying to use a DMM DYN4 and a motor as a spindle drive?
Did you tell DMM at the time of order you needed it to work this way?
Did you get the schematic sheet to wire it up as a spindle motor?
What kind of cable did you use between Acorn Encoder DB9 and the DYN4 DB9?
Are you using 120VAC to feed DYN4 or 240VAC?

Did you go to CNC12's PID screen and note the spindle encoder pulses?

I work with DMM and their drives so I am interested in hearing more. I can't "SEE" what you see so need more pieces of the puzzle.
Marty
Hi Marty,

My machine is a Warco WM-16B so basicly the same as the PM-25MV

https://www.warco.co.uk/milling-machine ... -mill.html

I am using a DYN4 and DMM servo for the spindle motor and have made the correct cables up with help from the attached drawing that DMM supplied me, I am in the UK so using 240V to power the DYN4.

I used shelded twisted pair stranded copper CAT5 cable and DB9 connectors to make up the encoder cable. I also used shelded twisted pair cable for the DB25 connector on the DYN4.

I have set the spindle encoder pulses to 2000

And set LINE_NUM to 500 in the DMM tuning software.



Thanks
Phil
Attachments
IMG_20190719_222907.jpg
IMG_20190719_222709.jpg
DYN4AcornSpindle_R2.pdf
(63.06 KiB) Downloaded 93 times
Phil - UK - Acorn CNC12 Pro
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Quadrature Error with DYN4 Spindle Servo

Post by martyscncgarage »

Can you please do me a favor,
Start the machine, put CNC12 on line
Go into the PID Menu
F1 Setup
F3 Config
Password 137
F4 PID
Please look at the 5th line (spindle encoder) The asterisk is the encoder index pulse. It should only come on once per revolution. Before you rotate the spindle, is that asterisk flashing inconsistently at all? It should be completely off, until you slowly rotate the spindle and happen to hit the index pulse.

Let me know what you come up with. If the asterisk is flashing with no spindle movement, could you please do me a favor and do a video clip of it.

Thank you
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
pbaudio
Posts: 25
Joined: Wed Dec 05, 2018 5:08 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: UK

Re: Quadrature Error with DYN4 Spindle Servo

Post by pbaudio »

martyscncgarage wrote: Fri Jul 19, 2019 7:50 pm Can you please do me a favor,
Start the machine, put CNC12 on line
Go into the PID Menu
F1 Setup
F3 Config
Password 137
F4 PID
Please look at the 5th line (spindle encoder) The asterisk is the encoder index pulse. It should only come on once per revolution. Before you rotate the spindle, is that asterisk flashing inconsistently at all? It should be completely off, until you slowly rotate the spindle and happen to hit the index pulse.

Let me know what you come up with. If the asterisk is flashing with no spindle movement, could you please do me a favor and do a video clip of it.

Thank you
Marty
Sure i will try and get back out in the workshop on Monday and give it a good check over and report back.

Thanks
Phil
Phil - UK - Acorn CNC12 Pro
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Quadrature Error with DYN4 Spindle Servo

Post by martyscncgarage »

pbaudio wrote: Sat Jul 20, 2019 4:48 pm
martyscncgarage wrote: Fri Jul 19, 2019 7:50 pm Can you please do me a favor,
Start the machine, put CNC12 on line
Go into the PID Menu
F1 Setup
F3 Config
Password 137
F4 PID
Please look at the 5th line (spindle encoder) The asterisk is the encoder index pulse. It should only come on once per revolution. Before you rotate the spindle, is that asterisk flashing inconsistently at all? It should be completely off, until you slowly rotate the spindle and happen to hit the index pulse.

Let me know what you come up with. If the asterisk is flashing with no spindle movement, could you please do me a favor and do a video clip of it.

Thank you
Marty
Sure i will try and get back out in the workshop on Monday and give it a good check over and report back.

Thanks
Phil
Much appreciated Phil.
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
pbaudio
Posts: 25
Joined: Wed Dec 05, 2018 5:08 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: UK

Re: Quadrature Error with DYN4 Spindle Servo

Post by pbaudio »

martyscncgarage wrote: Fri Jul 19, 2019 7:50 pm Can you please do me a favor,
Start the machine, put CNC12 on line
Go into the PID Menu
F1 Setup
F3 Config
Password 137
F4 PID
Please look at the 5th line (spindle encoder) The asterisk is the encoder index pulse. It should only come on once per revolution. Before you rotate the spindle, is that asterisk flashing inconsistently at all? It should be completely off, until you slowly rotate the spindle and happen to hit the index pulse.

Let me know what you come up with. If the asterisk is flashing with no spindle movement, could you please do me a favor and do a video clip of it.

Thank you
Marty
Hi Marty,

I have been out in the shop again to check the PID screen, when the spindle is not moving the asterisk does not show up at all but it does show up a bit when i press and release the E-Stop button as seen in this video..

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

Thanks
Phil
Phil - UK - Acorn CNC12 Pro
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Quadrature Error with DYN4 Spindle Servo

Post by martyscncgarage »

pbaudio wrote: Mon Jul 22, 2019 7:38 am
martyscncgarage wrote: Fri Jul 19, 2019 7:50 pm Can you please do me a favor,
Start the machine, put CNC12 on line
Go into the PID Menu
F1 Setup
F3 Config
Password 137
F4 PID
Please look at the 5th line (spindle encoder) The asterisk is the encoder index pulse. It should only come on once per revolution. Before you rotate the spindle, is that asterisk flashing inconsistently at all? It should be completely off, until you slowly rotate the spindle and happen to hit the index pulse.

Let me know what you come up with. If the asterisk is flashing with no spindle movement, could you please do me a favor and do a video clip of it.

Thank you
Marty
Hi Marty,

I have been out in the shop again to check the PID screen, when the spindle is not moving the asterisk does not show up at all but it does show up a bit when i press and release the E-Stop button as seen in this video..

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

Thanks
Phil
Put the error suppression back in so it doesn't fault out and observe for the index pulse anomaly.
Are you powering down the drive through an Estop contactor? If so keep logic power on when the control is powered up and only break Dyn4 motor power.

Thanks,
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
pbaudio
Posts: 25
Joined: Wed Dec 05, 2018 5:08 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: UK

Re: Quadrature Error with DYN4 Spindle Servo

Post by pbaudio »

martyscncgarage wrote: Mon Jul 22, 2019 9:20 am
pbaudio wrote: Mon Jul 22, 2019 7:38 am
martyscncgarage wrote: Fri Jul 19, 2019 7:50 pm Can you please do me a favor,
Start the machine, put CNC12 on line
Go into the PID Menu
F1 Setup
F3 Config
Password 137
F4 PID
Please look at the 5th line (spindle encoder) The asterisk is the encoder index pulse. It should only come on once per revolution. Before you rotate the spindle, is that asterisk flashing inconsistently at all? It should be completely off, until you slowly rotate the spindle and happen to hit the index pulse.

Let me know what you come up with. If the asterisk is flashing with no spindle movement, could you please do me a favor and do a video clip of it.

Thank you
Marty
Hi Marty,

I have been out in the shop again to check the PID screen, when the spindle is not moving the asterisk does not show up at all but it does show up a bit when i press and release the E-Stop button as seen in this video..

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

Thanks
Phil
Put the error suppression back in so it doesn't fault out and observe for the index pulse anomaly.
Are you powering down the drive through an Estop contactor? If so keep logic power on when the control is powered up and only break Dyn4 motor power.

Thanks,
Marty

Hi Marty,

Sorry for the late reply on this one but i have been busy working on other parts of the build and have now come back to this.

I have tried what you asked with just power to the logic and the error bypassed, there is one flash of the astrix per revolution so no inconsistency at all.

I have also made up another encoder cable with the DMM wiring diagram with double shielding and still have the same quadrature error when resetting the system. If i bypass the error and spin up the spindle it works OK for a bit then stalls out with the quadrature error again.

Many Thanks
Phil
Phil - UK - Acorn CNC12 Pro
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Quadrature Error with DYN4 Spindle Servo

Post by martyscncgarage »

Solder the shield of the encoder cable on the DB9 shell on both ends and try it.
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
pbaudio
Posts: 25
Joined: Wed Dec 05, 2018 5:08 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC11: No
CPU10 or CPU7: No
Location: UK

Re: Quadrature Error with DYN4 Spindle Servo

Post by pbaudio »

I have tried that too.
Phil - UK - Acorn CNC12 Pro
martyscncgarage
Posts: 9914
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Quadrature Error with DYN4 Spindle Servo

Post by martyscncgarage »

I'm not sure what to tell you.
Who made the encoder cable from DYN4 to Acorn and what cable was used.
I know I never intend to use a servo like many of you are trying to do. I am testing one now. So far no quadrature errors. I made my cable using Centroid's encoder cable which is a shielded 4 twisted pair cable.
I believe a standard encoder belted at 1:1 to the spindle with a timing belt is the way to go along with a quality VFD

Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Post Reply