desertrefugee
Carpal Tunnel
   
Reged: 08/06/07
Loc: Arizona
|
Encoder Resolution
#5410082 - 09/08/12 01:09 PM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
So, I ended up with two sets of encoders to use on my CI-700 mount. One set is 4k tics and the other 10k. The 4k units fit perfectly in the machined aluminum housings I have. The 10k ones will require some finessing. Would that extra resolution be worth the effort? How much is pointing accuracy truly affected by encoder resolution?
|
orlyandico
Carpal Tunnel
   
Reged: 08/10/09
Loc: Singapore
|
Re: Encoder Resolution
[Re: desertrefugee]
#5410198 - 09/08/12 02:36 PM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
Having 10K tic encoders.. I would say it's probably not worth it.
4K tics will give you (theoretically) (360*3600) / 4000 = 324 arc-second pointing (5.4 arc-minute)
10K tics will give you 130 arc-second (2.2 arc-minute).
In my experience, your alignment procedure will not allow you to get 5 arc-minute pointing, let alone 2. Unless you are using an Argo Navis and set up a big pointing model (which can be quite a hassle).
|
desertrefugee
Carpal Tunnel
   
Reged: 08/06/07
Loc: Arizona
|
Re: Encoder Resolution
[Re: orlyandico]
#5410267 - 09/08/12 03:13 PM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
Thanks Orlando. Exactly the sort of rational basis for decision-making I was looking for. Hmmm. Putting some actual science into the process. What a concept!
Thanks again. Decision made.
|
EFT
Vendor - Deep Space Products
   
Reged: 05/07/07
Loc: Phoenix, AZ
|
Re: Encoder Resolution
[Re: desertrefugee]
#5410515 - 09/08/12 05:58 PM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
Orlando is right. Between the accuracy of your mount mechanically and the accuracy of alingments, 4000 or 4096 encoders is usually sufficient to do everything you need. 10000 tic just means more money, and in your case, more work for little or no benefit.
|
Luke Jones
journeyman
Reged: 03/27/09
|
Re: Encoder Resolution
[Re: EFT]
#5432379 - 09/21/12 10:00 AM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
Actually, I fitted a Renishaw read head (RGH24Y) to the RA axis of my IEQ45 ( over the built-in polar alignment scope), effectively giving 32 encoder ticks/sec (a 2.7 million tic encoder). An eBay encoder, an Arduino, some opto-isolator chips for ST4 guiding, and a friend's machined disk - sub $300 for *huge* benefit. The rig gets me -/+ 1 arcsec tracking on a $1600 mount, and the difference is amazing (at 1600mm+ focal length, where it matters). In my mount's case (thanks to 32 tick/sec PE reporting from a high res encoder), I've discovered a 5 arcsecond perioidic error harmonic on the mount's servo motor (unrelated to the worm) with a period of 6.2 seconds. This is unguidable with standard auto-guiding - but I can smack the mount's PE to +/- 1.2 arcsecond via ST4.
Of course, it's only a the longer focal lengths that the issue becomes that critical. If you'e at short focal lengths, or have very smooth tracking on your mount, you might not see much benefit.
Cheers.
|
Luke Jones
journeyman
Reged: 03/27/09
|
Re: Encoder Resolution
[Re: Luke Jones]
#5432381 - 09/21/12 10:01 AM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
Apologies. You're talking about pointing accuracy, and I was talking about tracking accuracy.
|
orlyandico
Carpal Tunnel
   
Reged: 08/10/09
Loc: Singapore
|
Re: Encoder Resolution
[Re: Luke Jones]
#5432391 - 09/21/12 10:07 AM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
Luke, I also have one of those Renishaw read heads. I wanted to put the tape on my RA setting circle. But I don't know where to find the darn tape.
|
Mert
Post Laureate
   
Reged: 08/31/05
Loc: Spain, Pamplona
|
Re: Encoder Resolution
[Re: Luke Jones]
#5432396 - 09/21/12 10:09 AM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
That's interesting Luke, could you ginve me some more details especially on that disk? Pm'd you!
|
orlyandico
Carpal Tunnel
   
Reged: 08/10/09
Loc: Singapore
|
Re: Encoder Resolution
[Re: Mert]
#5432403 - 09/21/12 10:11 AM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
Mert, as I mentioned I also got one of the Renishaw encoders. This one's a RGH22Z05 0.5 micron read head. The numbers matter (the Z in this case).
The problem is getting the Renishaw tape. It's about $20 / inch if you can buy it. Some folks over on the autoguiding Yahoo group found that the Renishaw read heads, even though they are designed for linear measurement, are quite tolerant and can read the tape even if it's curved.
Basically you get yourself a nice machined disk, mount it to your polar assembly, stick the Renishaw special tape to the edge of the disk, then position the read head so that it reads the tape as the disk rotates.
This gives you a super-high resolution encoder.
|
Mert
Post Laureate
   
Reged: 08/31/05
Loc: Spain, Pamplona
|
Re: Encoder Resolution
[Re: orlyandico]
#5432754 - 09/21/12 01:52 PM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
I see, that's a clever solution, what diameter disk did you use? Inside my mount ( EQ6 ) there isn't much room so I'll go for removing the polar scope probably.
|
orlyandico
Carpal Tunnel
   
Reged: 08/10/09
Loc: Singapore
|
Re: Encoder Resolution
[Re: Mert]
#5432817 - 09/21/12 02:10 PM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
Mert, I don't use the encoder disk. Because I can't find the tape. Only certain specialty CNC supply houses sell the tape (it is Renishaw RGS20S tape if I recall).
Note that the Renishaw linear read heads already do interpolation - their output is already quadrature square wave. So the one I have "Z" model is 0.5 micron = 0.0005 mm resolution with the RGS20S tape.
So 1mm of tape = 2000 counts, and 1 inch = 50000 counts.
You want at least a few million counts for a TDM type application. A 6" diameter disk would have a circumference of ~ 478mm giving 957K tics. I "heard" this many tics is enough for the SiTech tick management mechanism.
Still I think an 8" diameter disk would be better.
Note the different Renishaw heads (all in the RG20 range but the letter - X, Y, Z - specify the resolution) all use the same RGS20S tape. The X/Y/Z just specifies the internal interpolation used to achieve the higher resolution.
Heidenhain uses glass scales for their linear encoders - so you can't wrap it around a cylinder like the Renishaw tape.
|
Luke Jones
journeyman
Reged: 03/27/09
|
Re: Encoder Resolution
[Re: Mert]
#5433292 - 09/21/12 07:14 PM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
Sure:
Renishaw Encoder mounting image:
Renishaw high resolution encoder mounted to RA axis
Arduino used to read encoder, interact with laptop, and send ST4 guide commands:
Arduino microcontroller interfaces image
Edited by Luke Jones (09/21/12 07:22 PM)
|
orlyandico
Carpal Tunnel
   
Reged: 08/10/09
Loc: Singapore
|
Re: Encoder Resolution
[Re: Luke Jones]
#5433839 - 09/22/12 03:36 AM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
hi Luke,
Thanks! Mert and I now have something to chew on :-D
Do you have the pinout of the Renishaw plug?
Would it be too much to ask for the Arduino source code? :-D
I expect since you take over the ST-4 port, regular autoguiding is no longer possible? or do you still allow pass-through like the TDM?
Also which Arduino version do you use? I believe some of them use ceramic resonators and not true crystals so the timebase is less accurate..
I see you got the "Y" encoder (0.1 micron). I only have the "Z" encoder (0.5 micron) so my resolution would be much less.
The big challenge is - where to buy the gold tape?!?!?!?!
|
Luke Jones
journeyman
Reged: 03/27/09
|
Re: Encoder Resolution
[Re: orlyandico]
#5433896 - 09/22/12 06:01 AM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
I'm playing with the Arduino source at the moment. My mount is an IEQ45 which has an extremely regular periodic error source from the servo motor (5 arcsec, period 6.2 secs), and the code is a bit of a mess whilst I try a hysteresis approach to get sub -/+ 2 arcsec tracking.
The Renishaw plug pins that I use are: 1 = earth 5 = 5v 2 = A+ 6 = A- There are additional pins for error and differential quadrature, but I find no need to bother with them.
I do use external guiding from the laptop, which I think is critical, but you only need slow corrections, and then don't need to get too concerned about issues such as "perfect" polar alignment. A good high resolution encoder gives me a tracking capability in RA much like you have in DEC. You still need to make the odd correction. I pass through DEC guiding corrections from the laptop directly through to the ST4, and use RA guide corrections from the laptop to adjust the "ticks per second" rate to match sidereal tracking exactly, accounting for mount periodic error.
I got lucky and found 2 "Y" versions of the Renishaw on eBay, so I now have a spare. I suspect that the "Z" version wouldn't be too much of a problem. I get 32 ticks/sec with a 9cm diameter ring. You'd get 6 ticks a sec, but could increase that with a larger ring. With delays on ST4 responsiveness and waits for guide corrections to complete, there's a limit to the usefulness of high ticks/sec anyway.
It would be interesting to see if the Arduino can do analog reads of the commonly available Renishaw "B" encoders, fast enough to do your own high resolution interpolation - but I suspect a faster processor would be needed (or dual core microprocessor with one core dedicated to encoder interpolation).
|
orlyandico
Carpal Tunnel
   
Reged: 08/10/09
Loc: Singapore
|
Re: Encoder Resolution
[Re: Luke Jones]
#5433898 - 09/22/12 06:06 AM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
Hi Luke,
I haven't touched my Arduinos in a while, but the PIC32 boxes are a lot faster (80MHz) and not much more expensive than regular Arduinos. How fast can the analog inputs be read anyway?
I would prefer using an ERN 180 or similar ($200 range used on ebay) analog 5000-ppr rotary encoder, no need for the magic tape. I think the tape is $20/inch so with a 15cm ring that's almost $400 just for the magic tape.
|
Luke Jones
journeyman
Reged: 03/27/09
|
Re: Encoder Resolution
[Re: Luke Jones]
#5433902 - 09/22/12 06:13 AM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
The Australian Renishaw dealer seemed quite willing to sell the tape.
I must confess that my rig is "high maintenance", and nothing like a TDM "set and forget".
My very cheap solution doesn't have the tape go right around the ring. That means that I manually twist the ring after slewing to a target. Also, as the distance tolerances between the read head and read tape are fairly exact, and the ring isn't perfectly concentric, I'd typically have to manually adjust the distance before an hour passes. Admittedly I could easily improve the concentric exactitude of the ring.
|
orlyandico
Carpal Tunnel
   
Reged: 08/10/09
Loc: Singapore
|
Re: Encoder Resolution *DELETED*
[Re: Luke Jones]
#5433917 - 09/22/12 06:51 AM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
Post deleted by orlyandico
|
orlyandico
Carpal Tunnel
   
Reged: 08/10/09
Loc: Singapore
|
Re: Encoder Resolution
[Re: orlyandico]
#5434500 - 09/22/12 01:45 PM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
Mert, Luke,
The reference input of the Arduino can be changed from 5V to 1.1V - http://arduino.cc/en/Reference/AnalogReference
This should be good enough for the 1Vpp output of an analog encoder.
Since the maximum sampling rate is 10K samples/second (and we need to read 2 inputs) this means at best 5000 reads/second.
A 5000 ppr encoder turning at sidereal rate produces 1 cycle every 17 seconds.
Within these 17 seconds is where we do our interpolation. To get 1024 sample interpolation we would need to read every 16.82 milliseconds.
Seems doable with the Arduino... in any case I "won" a 5000 ppr Baumer analog encoder on ebay for a hundred bucks. Cheaper than buying Renishaw tape. When I get it I'll wire it up to the Arduino and will see....
|
Luke Jones
journeyman
Reged: 03/27/09
|
Re: Encoder Resolution
[Re: orlyandico]
#5435069 - 09/22/12 08:42 PM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
Nice work. I was concerned that you might need dual core to manage other housekeeping tasks, or risk losing raw encoder ticks - but at 17 seconds per raw cycle, this won't happen.
Analog reads on the Arduino aren't as efficient as you'd hope. Out of the box a read takes around 111 msec, but with some special config you can *just* get it down to 16msec. Faster Arduino analog reads
I'm happy with mine, but would be very interested to hear your results. I assume you still need to organise RA axis mounting for your Baumer?
|
orlyandico
Carpal Tunnel
   
Reged: 08/10/09
Loc: Singapore
|
Re: Encoder Resolution
[Re: Luke Jones]
#5435321 - 09/23/12 12:20 AM
|
Edit
|
Reply
|
Quote |
Quick Reply
|
|
|
Hi Luke,
Yes I need RA axis mounting. Thing is my mount already has an RA axis encoder (a 2500-ppr digital one - so only 10,000 tics, not enough for encoder-assisted PEC). So I can have a machine shop fabricate an encoder cup that screws into the polar scope shaft like the OEM one, and an encoder bracket that screws into the existing mounts for the housing.
Thanks for the links on the Arduino. I will probably use a PIC32 anyway to get that 80MHz goodness...
|