Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: jab_814 on September 26, 2012, 09:32:42 AM

Title: formula for slotted disc
Post by: jab_814 on September 26, 2012, 09:32:42 AM
Hi Guys,
I currently have a slotted disc with a opto sensor to measure the rpm of a spindle on a mill.
As of now the rpm is measureing correctly, however It reads rpm up to 2340 . How do i calculate what size disc and slot I would need to measure up to 5000 rpm. I currently am using a 4 inch disk with a .375 slot. What are the limiting factors, formula for calculating the range of the rpm being sensored with respect to disc diameter and slot width. Would I be giving up the low range to accomplish a higher sensored rpm.

Thanks Joe
Title: Re: formula for slotted disc
Post by: Grafix on September 26, 2012, 10:34:54 AM
Not sure if I am missing something here. But disk diameter cannot have any effect over the RPM figure. I mean, if the motor is turning at a true 1000 rpm and the disk is 2" or 4" or what ever then it will still be going the same RPM. However, if your using a timer in the slot then the slot length is the only thing that will effect the value. If the opto just sences the slot and does no slit length / time count function then the slot length will have no effect either. Is it possible that your returned value of 2340 RPM is indeed correct?

Mike.
Title: Re: formula for slotted disc
Post by: jab_814 on September 26, 2012, 10:37:17 AM
Thanks Mike

Yes it was checked with a tachometer
Title: Re: formula for slotted disc
Post by: 762x51 on September 26, 2012, 10:49:13 AM
Look in the MACH3 Turn manual - Page 4-12

"For reliable running Mach3 needs a pulse of at least 200 microseconds from the slots. You
can calculate your slot angle or width as follows:
Suppose the maximum speed of your spindle is N (rpm).
The slot angle required alpha (degrees) is given by
alpha = 0.0012 x N
If the diameter of the disc is D (inches or mm) then the slot width W (in same units) will be approximately
W = 0.0088 x alpha x D
So for example if maximum spindle speed is 3000 RPM and disc diameter is 110 mm then:
Alpha = 0.0012 x 3000 = 3.6o
Slot width = 0.0088 x 3.6 x 110 = 3.48 mm
Big slot needs to be 50% wider = 3.48 x 1.5 = 5.22 mm
The example in figure 4.11 has three slots at about 4 mm and one about 8 mm wide.
You will see that you cannot use a disc with many slots or holes in it or use a conventional
encoder. The pulse would be too fast. The original index sensing arrangements can usually
be simplified when retrofitting an old lathe . These often had multiple slots for speed
sensing together with a single index slot.
As well as for timing threading operations, Mach3 also uses the index pulse to display the
actual speed of the spindle and can implement a feed-per-revolution, rather than feed-perminute,
based on it."
Title: Re: formula for slotted disc
Post by: jab_814 on September 26, 2012, 11:34:13 AM
Thanks 762x51
I checked my math and it would call for a .316 wide slot assuming i make it 50 percent bigger . so I have the slot oversized by .059 . It seems like something else is limiting the sensor .
Title: Re: formula for slotted disc
Post by: RICH on September 26, 2012, 07:43:38 PM
Multi-slotted  discs ( timing) are no longer supported for the lathe. Single slot was found to be just as accurate, in fact it is very accurate and more so than one can measure with common devices. Just a comment I  felt worth mentioning.

RICH

Title: Re: formula for slotted disc
Post by: jab_814 on September 26, 2012, 08:12:57 PM
Just curious,
what speed range is anybody else getting when it comes to measuring rpm?
Title: Re: formula for slotted disc
Post by: Hood on September 27, 2012, 01:36:29 AM
I use encoders now as I dont use the parallel port but when I was using the opto I could read to 4500rpm no problem, that was the max I ran the spindle at.
Is your opto fast enough?

Hood
Title: Re: formula for slotted disc
Post by: jab_814 on September 27, 2012, 01:46:52 AM
Hood,
Not Quite sure what your looking for .
But it is a Pmdx 170 optical sensor
•Response time of less than 10 uS
Max pulse rate 25 Khz
Title: Re: formula for slotted disc
Post by: Hood on September 27, 2012, 04:18:05 AM
That should be fast enough, what Dia of disc do you have? If it was too small then possibly the time between On/Off might come into play.
Hood
Title: Re: formula for slotted disc
Post by: RICH on September 27, 2012, 06:44:35 AM
It's been a long time since using a slotted disc and remember having similar problems and think i just increased the diameter of the disc and also made the slot wider (may be double the calculated ) as the calculated value was too slim. You can make the slot quite wide, so use the calculated as a quide to start with. When fooling around, I used disc's made from a CD which was painted black and just widened the slot until it would read 3450. You can also cut numerous slots and see the affect just by putting black tape over the slots not being used. The above is easy and cheap to do. Sorry I can't be more definitive.

Good point on the response time Hood. Before using the Halls sensor i used a read switch and after reading up on that switch  found that is would not be fast enough. 

RICH
Title: Re: formula for slotted disc
Post by: jab_814 on September 27, 2012, 09:15:40 AM
Hood,
4 In Disk
.375 width slot

Rich,
I though about using a cd (Great Idea).
I will try widening the slot

Thanks
Title: Re: formula for slotted disc
Post by: jab_814 on September 27, 2012, 09:50:39 AM
Rich,
I widened the slot about 50%, it still maxes out at 2340
Thanks though
Title: Re: formula for slotted disc
Post by: Hood on September 27, 2012, 09:55:29 AM
I had about 100mm dia with 10mm slot on the BP and it worked fine. I used an OPB 917B for the opto but I am sure the PMDX one will be up to the job so maybe its something else.
Do you have any Index Debounce set, if you do put it to Zero.
Hood
Title: Re: formula for slotted disc
Post by: jab_814 on September 27, 2012, 10:01:19 AM
Hood,
My index debounce was at 5, I changed it to 0.
It did not have an effect on the rpm reading
Title: Re: formula for slotted disc
Post by: Hood on September 27, 2012, 10:22:47 AM
Are you puuting the signal in via a BOB with optos? Maybe the optos are too slow.
Hood
Title: Re: formula for slotted disc
Post by: jab_814 on September 27, 2012, 10:54:04 AM
I am pretty sure it has optos
i will check manual
I am using a pmdx 122 bob
Title: Re: formula for slotted disc
Post by: Hood on September 27, 2012, 01:20:25 PM
The 122 should be fine as thats what I used.
If you attach your xml I will have a look in case there is something in it that could be an issue, cant think what but you never know.
Hood
Title: Re: formula for slotted disc
Post by: jab_814 on September 27, 2012, 02:02:33 PM
I got it hood, It was the pmdx 106 speedcontrol . I had the anaolog voltage set at 5 volts . It needed to be 10 volts for the vfd. Works great now
Thanks Again guys
Title: Re: formula for slotted disc
Post by: Hood on September 27, 2012, 03:29:42 PM
Great :)
Hood