AXBB-E encoder problem

This Section is for users to discuss hardware

Re: AXBB-E encoder problem

Postby Robertspark » Tue Feb 11, 2020 10:59 pm

Re the circuit I'll come back to you tomorrow (I'm not Liverpool, I may be able to sort you a PCB out as you are local)
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: AXBB-E encoder problem

Postby Robertspark » Fri Feb 14, 2020 9:21 am

Been busy, work + life....

Circuit below originally taken from here: http://www.theorycircuit.com/frequency-divider-circuit/

2020-02-14 09_08_07-frequency-divider-circuit.png (816×403).png


You can cascade CD4017's if you want higher division numbers + you can ground other pins (such as pin 7 if you want F/3 or Pin 1 if you want F/5 etc).


For an encoder you will need 2 x CD4017's and two parallel circuits as the A+ and B+ encoder inputs will need to be equally divided.

Z (the index) does not need to be divided as that is triggered only once per revolution.
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: AXBB-E encoder problem

Postby Battwell » Sat Feb 15, 2020 11:14 am

on my triac conversion i swapped the spindle motor for an ac servo )1kw 80 frame size fitted ok
encoder resolution was 2500 ppr (10000 counts)
i found i had to divide this by 8 in the drive to get proper rpm readings- up to 3600 rpm.
for the index pulse i couldnt get it to work off encoder so i used the original 1 pulse per rev pickup from the spindle direct.
all works great now.
i used step/direction for my spindle control so i could command as an axis.
homing spindle orientation for atc drive dog alignment drove me nuts. in the end i used a programmable drive with encoder backoff after drive homing. this is perfectly repeatable.
few videos of what i got working on youtube https://www.youtube.com/watch?v=IuCULDcxZ_Q
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 867
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk

Re: AXBB-E encoder problem

Postby Battwell » Sat Feb 15, 2020 11:22 am

Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 867
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk

Re: AXBB-E encoder problem

Postby drumsticksplinter » Sat Feb 15, 2020 12:33 pm

@Roberspark: No problem, I totally understand how busy life gets... Thanks so much for that circuit, that will work perfectly! So are you into making PCB's? I can probably do a half decent job with some proto board and jumpers etc, but a proper PCB would be neater ;)

@Battwell: Ahaa, its your machine vids that inspired me to try and achieve rigid tapping on the triac. Mine hasn't got the atc unfortunately, but that makes it easier to retrofit on the plus side. I've got a Denford Cyclone with 8 pos turret that was quite a headache to get working properly! Your machine works very well indeed, very capable now I imagine? I do like the idea of swapping out the DC spindle with an AC servo and drive, but at the minute cashflow is diverted elsewhere within the priorities list. I'll keep my eye out on the market places for a good deal however.... For now I was hoping to still use my original dc servo spindle and replace the drive for a DG4S-16035 maybe. I have used this setup on a Bridgeport for the XYZ servos, while the system was a pain to tune, the resulting setup had quite good response and minimal servo error.

Thanks!
drumsticksplinter
 
Posts: 26
Joined: Sat Feb 08, 2020 6:07 pm

Re: AXBB-E encoder problem

Postby Robertspark » Sun Feb 16, 2020 7:56 am

My denford orac lathe has a 750w servo installed with a 2:1 ratio belt drive so I could keep the maximum spindle rpm at 2000 as per denfords orac datasheet so the spindle bearings were still running at the original rating.

The 750w spindle was in part chosen as i wanted a motor that had a similar frame size to that which I was replacing.

www.deltronics.ru › cataloguePDF
Delta AC Servo Drive & Motor ASDA-A2 Series
___________________________________

PCBs, I use

https://easyeda.com/

And normally get them made in china and delivered in around a week via DHL... Shipping costs more than the PCBs

Very easy to use
Robertspark
 
Posts: 1892
Joined: Sat Sep 03, 2016 4:27 pm

Re: AXBB-E encoder problem

Postby drumsticksplinter » Sun Feb 16, 2020 9:22 am

Less than a tenner for 5 PCB's delivered?? that is pretty darn cheap and in around 1 week delivery?!? :)
drumsticksplinter
 
Posts: 26
Joined: Sat Feb 08, 2020 6:07 pm

Re: AXBB-E encoder problem

Postby smooker » Thu Sep 24, 2020 1:46 pm

UCCNC developers can read this to understand how to read quadruple encoders ;)

http://ww1.microchip.com/downloads/en/D ... 01346A.pdf

Regards,
smooker.
smooker
 
Posts: 2
Joined: Thu Sep 24, 2020 1:24 pm

Re: AXBB-E encoder problem

Postby cncdrive » Fri Sep 25, 2020 9:40 am

UCCNC can read quadrature encoders already. ;)
It can read spindle encoder and can do rigid tapping and our ethernet motion controllers can also read 6pcs of auxiliary encoders.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: AXBB-E encoder problem

Postby smooker » Tue Oct 20, 2020 5:12 pm

I was wondering why the speed limit ?
There is encoder periphery allowing to unload the cpu from this stupid task - software bitbanging encoder.

Best regards,
smooker.
smooker
 
Posts: 2
Joined: Thu Sep 24, 2020 1:24 pm

PreviousNext

Return to Hardware

Who is online

Users browsing this forum: No registered users and 10 guests