![]() | |
| Home Page | Mark Forums Read | Today's Posts | My Replies | Classifieds | Reviews | Photo Gallery | Web Links | Share Files | Advertise With Us | Ad List |
| |||||||
| LinuxCNC (formerly EMC2) Discuss LinuxCNC (formerly EMC2) Controlers here! |
| This forum is sponsored by: |
![]() |
| | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#2
| |||
| |||
| Disclaimer: I'm no expert. I think 500 cpr should be fine for speed control. The only concern is that you read the encoder fast enough to keep up with all those transitions. Let L be the number of lines on the encoder. Let R be the speed of the motor in revolutions per minute. (4 * L) is the number of quadrature transitions per revolution. (R / 60) is the number of revolutions per second. (4*L) * (R/60) is the number of quadrature transitions per second. F = 2 * (4*L) * (R/60) is the minimum sampling frequency (according to Nyquist, as I understand it). That simplifies to F = (0.1333 * R * L). So if you have a 500 line encoder spinning at 4K rpm, you need to sample the encoder lines at 266 KHz. |
|
#4
| |||
| |||
| Why does EMC need an index pulse to align the spindle? It seems like it (EMC) should be able to synthesize the index pulse from the normal A/B counter. It would have to know the cpr of the encoder, but that could be supplied via a parameter. |
|
#5
| |||
| |||
| emc is not setup that way.. Mainly it would work fine for making threads all the same durring one session. but if your making threads that have to be the same degree start lead or maybe you started threads and needed to finish during another session (machine gets turned off and on) you will not be able to make the same threads again without a bit of work. sam |
| Sponsored Links |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| hp encoder | mlaws1172 | General Electronics Discussion | 2 | 02-27-2006 05:14 PM |
| How to tell if my motor is Pulse encoder or quadrature encoder? | Darc | Servo Motors and Drives | 0 | 07-22-2005 03:51 AM |
| encoder help | motomitch1 | Gecko Drives | 8 | 10-11-2004 09:46 PM |
| What is an Encoder ? | ynneb | FAQ of CNC Machine building | 0 | 08-17-2004 06:02 AM |
| Encoder | ty1295 | Servo Motors and Drives | 4 | 05-27-2004 02:50 PM |