Previous in Forum: Clarification on VVFD   Next in Forum: Cumulative Maximum Demand
Close
Close
Close
25 comments
Rate Comments: Nested
Guru

Join Date: Jul 2008
Posts: 927
Good Answers: 56

Replicating an Encoder

09/16/2008 1:07 AM

My telescope sits on a German Equatorial Mount (GEM) which is equipped with electronic digital setting circles. There are two axis on a GEM:

1> the right ascension or polar axis is aimed right at that spot next to the North Star. That's the point in space about which the Earth rotates.

2> the declination axis on which the scope is mounted and which allows the user to aim the scope.

As with all GEM's both axis are equipped with degree wheels.

Mine differs in that there are also two encoders fixed to the head of the mount. Each encoder is driven by a gear on the respective shaft. The combined X and Y data from the two encoders is fed to a microprocessor. One can, using the internal database, find virtually any object in the night sky with speed and precision.

I would like to purchase additional encoders so I might install them on other telescopes I own. That would enable me to use my one microprocessor and database system on all of them.

The problem is that when I went to the manufacturer of the Electronic Digital Setting Circle, he wanted $300 for a pair of encoders! That's more than I am prepared to spend.

Mine are optical encoders with five pin connectors of which only four are used. It says "4096" which I've established as being the resolution per revolution. The entire system is run on one nine volt battery.

The 1/4" shaft is free to turn as I wish. There are no stops, no switches. The entire device strongly resembles a variable potentiometer and is installed in much the same way via a nut on the brass, concentric threaded collar in which the shaft spins.

The body is 1.17" (30mm) wide; 1.4" (35mm) long by 0.5" (12.8mm) thick.

The pins are not included in these measurements.

There is one more number I can't make sense of: J35193.

Can someone please help me locate a source of duplicates for this device so I need not mortgage my first born to equip my other scopes?

Thanks for the support!

L. J.

__________________
"Both the revolutionary and the creative individual are perpetual juveniles. The revolutionary does not grow up because he cannot grow, while the creative individual cannot grow up because he keeps growing." Eric Hoffer
Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Guru
Engineering Fields - Instrumentation Engineering - New Member Hobbies - Fishing - New Member

Join Date: Jan 2008
Location: Kazakhstan
Posts: 753
Good Answers: 8
#1

Re: Replicating an Encoder

09/16/2008 10:42 AM

Yes 4096 is likely the encoder resolution. It means 212 either 12 bits. Three wires are likely serial connection to controller [RxD TxD and common]. Either particular protocol might be applied. It's electrical and time sampling part could be hacked by skilled person.

I'm using the encoders in my work which I do make myself as I also do not prepared to purchase these stuff for $200. Unfortunately it's common price for industrial good brand encoders.

Register to Reply Score 1 for Good Answer
Guru

Join Date: Jul 2008
Posts: 927
Good Answers: 56
#2
In reply to #1

Re: Replicating an Encoder

09/16/2008 10:55 AM

Thanks for your response Caramba.

I checked the encoder inventories at DigiKey, Inc. and as close as I can guess, these types of encoders sell for about $25 each here in the US.

I need more certainty however, before I go and attach new ones to the microprocessor.

I do not want to save a few dollars on new encoders only to damage expensive circuitry.

Thanks

L. J.

__________________
"Both the revolutionary and the creative individual are perpetual juveniles. The revolutionary does not grow up because he cannot grow, while the creative individual cannot grow up because he keeps growing." Eric Hoffer
Register to Reply
Guru
Canada - Member - Our strength is our diversity

Join Date: Jan 2007
Location: Canada
Posts: 1024
Good Answers: 40
#3

Re: Replicating an Encoder

09/16/2008 11:07 AM

The 4096 is probably the resolution or maximim count for 1 revolution

The J35193 is probably the part or model number of the manufacturer.

The high cost is related to the high resolution. In that small item there is probably 4096 holes on a miniature disk that a LED is shone through to a sensor.

Try here

or

Google low cost optical encoder to find many manufacturers.

Here is an example of one

http://www.quantumdev.com/?gclid=CP7PhIvG4JUCFQEGQQod5EY7WQ

Another option is to combine multiple encoders of lower resolution. i.e one encoder of resolution 4 (coarse) and one encoder of resolution 1024(fine). Combined, these = 4096

__________________
Perfection is a subjective and abstract concept.
Register to Reply
Guru

Join Date: Jul 2008
Posts: 927
Good Answers: 56
#4
In reply to #3

Re: Replicating an Encoder

09/16/2008 11:39 AM

Thanks Techno., I looked through the links. Unfortunately, I do not know enough about these devices to know what I am looking at and compare them to what I need.

Mine seems to be the simplest of the lot. One thing I did not mention is that it apparently looses its positional references when the power is off. I suspect this as the telescope needs to be aimed at a known target and an indexing button pressed to lock the X,Y position. Then a second target is done too.

From what I gathered, there are encoders that loose data when power is off and mine are apparently of that type.

I appreciate the support but need help in choosing.

L.J.

__________________
"Both the revolutionary and the creative individual are perpetual juveniles. The revolutionary does not grow up because he cannot grow, while the creative individual cannot grow up because he keeps growing." Eric Hoffer
Register to Reply
Guru
Canada - Member - Our strength is our diversity

Join Date: Jan 2007
Location: Canada
Posts: 1024
Good Answers: 40
#21
In reply to #4

Re: Replicating an Encoder

09/17/2008 10:53 AM

It looses data because the encoder can turn continuously. It is basically counting pulses as it turns. Each pulse represents a certain amount of movement. In other words the encoder will use the same spot on its wheel for many different positions of the telescope.

If the system is physically locked before it is turned off, the system is pretty sure it can start where it left off. A well designed system should not have to re-calibrate unless the alignment is disturbed.

__________________
Perfection is a subjective and abstract concept.
Register to Reply
Guru

Join Date: Jul 2008
Posts: 927
Good Answers: 56
#23
In reply to #21

Re: Replicating an Encoder

09/17/2008 11:16 AM

Techno wrote: "A well designed system should not have to re-calibrate unless the alignment is disturbed."

In an ideal world, a lot of things would be different. This system is the one I have and I must deal with it.

As far as I can tell, there is no way of saving positional information when the microprocessor is turned off. No juice. No memory. If my assessment is accurate than fixturing the shafts won't help.

In addition, since it's probable that I would move the unit to another telescope, any stored encoder data from the earlier platform would be of no value anyway.

It's also possible to loose encoder registry if one turns the scope mount too quickly. Some encoders can deal with that but I doubt these can.

I'm content that installing the suggested encoders will be sufficient. All I need do is to maintain the same drive ratio on all the scopes so equipped, when coupling the mechanicals.

Thanks for the support.

L. J.

__________________
"Both the revolutionary and the creative individual are perpetual juveniles. The revolutionary does not grow up because he cannot grow, while the creative individual cannot grow up because he keeps growing." Eric Hoffer
Register to Reply
Guru
Canada - Member - Our strength is our diversity

Join Date: Jan 2007
Location: Canada
Posts: 1024
Good Answers: 40
#24
In reply to #23

Re: Replicating an Encoder

09/17/2008 11:26 AM

Right,

To save positional information an a stable platform, it is simply a case of storing the co-ordinates as variables on the hard drive. If the system is mobile, these coordinates are useless.

When I wrote this, I also forgot that the Stars (reference points) are constantly moving (in relation to the telescope). Even if you stored the physical deflection of the telescope, the data would be useless, unless it was compared to a time referenced star map.

__________________
Perfection is a subjective and abstract concept.
Register to Reply
Guru
Engineering Fields - Instrumentation Engineering - New Member Hobbies - Fishing - New Member

Join Date: Jan 2008
Location: Kazakhstan
Posts: 753
Good Answers: 8
#5

Re: Replicating an Encoder

09/16/2008 1:07 PM

As I could understand your system has lost referencing between db indexing and encoder's code.

I'm wondering how was formed your db. Whether it was pre-defined on factory or it could be build gradually by user?

In any case it might be look as follows[Excuse me,I'm not a power user of astronomy]

Index on sky map->Coordinate X->Coordinate Y->Date->Time->Code1->Code2 etc.

Code x --- is code transmitted by encoder which consists: number of full revolutions in respected direction(CW,CCW) and remains of code after last full revolution [up to 4095].

Have you ability by any means to direct your telescope to known object [I don't know for instance North Star] and let your data base know that it should be referred with this one in connection with generated encoder code? What is the initial db's entry when you push Reset knob? I.e. has your Tscope predefined mechanically locked position for encoder calibrating?

I'm assuming there should be something like as adjustment procedure. But I am not sure is it acceptable for end-user.

Register to Reply Score 1 for Good Answer
Guru

Join Date: Jul 2008
Posts: 927
Good Answers: 56
#6
In reply to #5

Re: Replicating an Encoder

09/16/2008 1:35 PM

The database was pre-defined by the factory and can also be expanded by the user.,

"Have you ability by any means to direct your telescope to known object?"

Yes. When the system is first turned on, it first tells you to point to a known target in the database. After indexing, it tells you to point to a second known target in the dabase.

I assume that there is some triangulation protocol that then calculates the position of the telescope.

The process must be done quickly. If too slow, the system times out and asks you to start over.

L. J.

__________________
"Both the revolutionary and the creative individual are perpetual juveniles. The revolutionary does not grow up because he cannot grow, while the creative individual cannot grow up because he keeps growing." Eric Hoffer
Register to Reply
Guru

Join Date: Jul 2008
Posts: 927
Good Answers: 56
#7

Re: Replicating an Encoder

09/16/2008 10:35 PM

I've spent many hours trying to learn enough about encoders to identify the one I have and buy several more. Thus far I have not been able to achieve the comfort level needed to spend the $25 each. In fact, I'll bet they are even less than that. I'll need two.

I have a suspicion that this unit I have is as simple as they get. It spins in both directions. It has no switch and has four wire male connector and has a resolution of 4096.

L. J.

__________________
"Both the revolutionary and the creative individual are perpetual juveniles. The revolutionary does not grow up because he cannot grow, while the creative individual cannot grow up because he keeps growing." Eric Hoffer
Register to Reply
Anonymous Poster
#8

Re: Replicating an Encoder

09/16/2008 10:55 PM

Maybe its something like a Hall effect sensor?

Register to Reply
Guru

Join Date: Jul 2008
Posts: 927
Good Answers: 56
#9
In reply to #8

Re: Replicating an Encoder

09/16/2008 11:06 PM

I've worked with Hall effect sensors. There may be different types but all those I worked with used magnetic fields to time the ignition system.

These are definitely optical

Thanks for trying

L. J.,

__________________
"Both the revolutionary and the creative individual are perpetual juveniles. The revolutionary does not grow up because he cannot grow, while the creative individual cannot grow up because he keeps growing." Eric Hoffer
Register to Reply
Guru

Join Date: Aug 2005
Location: Hemel Hempstead, UK
Posts: 5826
Good Answers: 322
#10

Re: Replicating an Encoder

09/17/2008 2:37 AM
__________________
If you spend all your time looking for people and things to complain about: trust me, you will find plenty to complain about.
Register to Reply Score 1 for Good Answer
Guru

Join Date: Jul 2008
Posts: 927
Good Answers: 56
#16
In reply to #10

Re: Replicating an Encoder

09/17/2008 9:00 AM

Randall wrote: "These look a bit like the one in your picture. . . "

Yes they most certyainly do.

Thanks!

L. J.

__________________
"Both the revolutionary and the creative individual are perpetual juveniles. The revolutionary does not grow up because he cannot grow, while the creative individual cannot grow up because he keeps growing." Eric Hoffer
Register to Reply
Power-User

Join Date: Jun 2007
Location: Oxford, UK
Posts: 145
Good Answers: 3
#11

Re: Replicating an Encoder

09/17/2008 3:47 AM

I think you may be looking at this back to front.

When you switch the computer and telescope ON and you set to a known position, program sets the encoder position count to zero or 1.

When you want to move to a particular star, the program looks into the database and knows that stars co ordinates. Those co ordinates are likely to be a number of steps, whether clockwise or anticlockwise form the current position - lets say zero, and drives the 2 motors to the required position.

The program knows the current position so when a new star is requires to be observed, the co ordinates are obtained and simple maths will allow it to drive the telescope to a new position.

Switch the computer off and those calculations are lost. Even if the last position is saved, how can you be sure that the telescope has not been moved so the actual position of the telescope is now different to the saved co ordinates. The encoder is a passive component - it only works when it is asked to.

Does the existing encoder plug unto a module on the telescope or into a black box or directly to the PC. Somehow the number of pulses (1 revolution = 4096) has to be counted and presented to the PC so the PC can do the necessary calculations.

I feel the requirement is a little more than getting another encoder.

Tony

__________________
Tony Aston
Register to Reply
Guru

Join Date: Jul 2008
Posts: 927
Good Answers: 56
#15
In reply to #11

Re: Replicating an Encoder

09/17/2008 8:57 AM

Thanks Tony!

Everything you wrote is correct., However, there is no automated "Go To" instruction given to the motors.

The two encoders have no control over those motors and are part of a seperate aftermarket device. While both the scope axis are driven by stepper motors, they are only used to keep the scope on target when the object is found.

Any time the device is shut down, the encoder position data must first be restored in the microprocessor as I described above.

The user now dials up an object in the database, say Jupiter, and then pushes the scope into position manually until the two digital readouts read Zero. If the original set up was done properly, Jupiter should be visible in the eye piece. The steppers then keep the scope on track.

Thank you!

__________________
"Both the revolutionary and the creative individual are perpetual juveniles. The revolutionary does not grow up because he cannot grow, while the creative individual cannot grow up because he keeps growing." Eric Hoffer
Register to Reply
Guru
Canada - Member - Our strength is our diversity

Join Date: Jan 2007
Location: Canada
Posts: 1024
Good Answers: 40
#22
In reply to #15

Re: Replicating an Encoder

09/17/2008 11:11 AM

You are also working with moving reference points - the stars rotate around the north star as th earth rotates. If you turn the machine off, one hour later the stars are not in the same relative position.

__________________
Perfection is a subjective and abstract concept.
Register to Reply
Participant

Join Date: Sep 2008
Location: Sydney
Posts: 2
#12

Re: Replicating an Encoder

09/17/2008 4:15 AM

It is difficult to tell you the exact model of the encoder you need without knowing the brand of the DSC you are using... However from the picture it is a 99.9% optical encoder. Also who asked $300 for a pair of encoders - that is way too much? I doubt you can get the encoders you need for $25 each unless you get them off ebay. It is more likely you need to spend at least $100.

4096 is the resolution of the encoder after quadrature conversion. The optical encoders are usually characterized by CPR (counts per revolution). To get the resolution of your encoder just multiply CPR by four.

You can most likely use optical encoders from US Digital:

http://www.usdigital.com/products/encoders/incremental/rotary/shaft/s1/
http://www.usdigital.com/products/encoders/incremental/rotary/shaft/s2/
http://www.usdigital.com/products/encoders/incremental/rotary/shaft/s5/

http://www.usdigital.com/products/encoders/incremental/rotary/shaft/s6/

You can also get encoders from JMI:

http://www.jmitelescopes.com/

You can also try:

http://www.skyeng.com/ (go to 'Price list')

You need an encoder with at least 1024CPR. The more popular these days is one with 2500CPR - that gives you better pointing accuracy (360 degrees / 10,000 = 2.16 arc minute resolution).

Best Regards, AD.

Register to Reply Score 1 for Good Answer
Guru

Join Date: Jul 2008
Posts: 927
Good Answers: 56
#17
In reply to #12

Re: Replicating an Encoder

09/17/2008 9:29 AM

Astrodevices wrote: "It is difficult to tell you the exact model of the encoder you need without knowing the brand of the DSC you are using..."

Astro, It's the top-of-the-line JMI NGC-MAX

"Also who asked $300 for a pair of encoders - that is way too much?"

JMI!

However, now that I see what's involved, the price, which is actually over $300, is not that bad. When you figure that they are providing the mounting brackets, cable and connectors, the two gear sets (driving and driven gears) and assume a cost of $100 per encoder, they aren't overcharging. I can see that now.

Still, I simply can't afford to spend that much to convert each scope to take advantage of the existing DSC controller.

And there are six more under construction including a 15" F-4.3 on an all composite equatorial fork with a Mel Bartels, Sidereal Technology drive.

And a 13 inch F-4.6, also on an equatorial Fork drive.

It appears you've gotten the ball into the strike zone. Is there anything else you wish to tell me?

Thanks

L. J.

__________________
"Both the revolutionary and the creative individual are perpetual juveniles. The revolutionary does not grow up because he cannot grow, while the creative individual cannot grow up because he keeps growing." Eric Hoffer
Register to Reply
Participant

Join Date: Sep 2008
Location: Sydney
Posts: 2
#20
In reply to #17

Re: Replicating an Encoder

09/17/2008 10:34 AM

Laughing Jaguar, All the encoders I mentioned in my post will work with JMI NGC-MAX just fine! They are all optical incremental encoders with 5V TTL levels. Also, you should not have much difficulties with the cables if you want to make them yourself as the manual for NGC-MAX should contain the pinout description. Yes, $300 sounds right for the encoders and the mounting hardware. You can always purchase the encoders and mount them yourself and save a few dollars. Best Regards, Astro Devices.

Register to Reply Score 1 for Good Answer
Guru

Join Date: Jul 2008
Posts: 927
Good Answers: 56
#25
In reply to #20

Re: Replicating an Encoder

09/17/2008 11:27 AM

AstroDevices wrote: "You can always purchase the encoders and mount them yourself and save a few dollars . . . "

That's the plan Astro. Thanks.

Thanks, also, to all those who offered information and support

L.J.

__________________
"Both the revolutionary and the creative individual are perpetual juveniles. The revolutionary does not grow up because he cannot grow, while the creative individual cannot grow up because he keeps growing." Eric Hoffer
Register to Reply
Power-User

Join Date: May 2008
Location: Europe
Posts: 285
Good Answers: 9
#13

Re: Replicating an Encoder

09/17/2008 8:15 AM

Laughing Jaguar,

It sounds like you have a incremental encoder (position lost when power is removed)as opposed to an absolue encoder (position retained). Have a look at the attached link and it might prove useful.

http://sensors-transducers.globalspec.com/Industrial-Directory/absolute_encoder

Kind Regards

Mr. W.A Snow

Register to Reply Score 1 for Good Answer
Guru
Engineering Fields - Instrumentation Engineering - New Member Hobbies - Fishing - New Member

Join Date: Jan 2008
Location: Kazakhstan
Posts: 753
Good Answers: 8
#14

Re: Replicating an Encoder

09/17/2008 8:55 AM

Hello, Laughing Jaguar,

In any case you should be aware what a protocol is using by your encoder [it might be CAN or any other]. If you would get specs of using at your telescope encoding protocol it'll be no matter what exactly encoder's brand will be installed as replacing assembly to any your device.

Hack the protocol[electrical and programming parts] or find out any legal ways to obtain encoder specs either all your endures are believed to be useless.

As for bothering you lost of db indexing due to power off, I would advice you to find out the Power Supply pins on your encoder and connect there additional source of power which presumed to be always ON.

Good luck.

caramba

Register to Reply
Guru

Join Date: Jul 2008
Posts: 927
Good Answers: 56
#18
In reply to #14

Re: Replicating an Encoder

09/17/2008 9:33 AM

Caramnba wrote: "I would advice you to find out the Power Supply pins on your encoder and connect there additional source of power which presumed to be always ON."

That's an excellent idea caramba however, the lost position information is quickly and easily restored. I'd prefer to keep this simple.

Thank you!

L.J.

__________________
"Both the revolutionary and the creative individual are perpetual juveniles. The revolutionary does not grow up because he cannot grow, while the creative individual cannot grow up because he keeps growing." Eric Hoffer
Register to Reply
Guru
Engineering Fields - Instrumentation Engineering - New Member Hobbies - Fishing - New Member

Join Date: Jan 2008
Location: Kazakhstan
Posts: 753
Good Answers: 8
#19
In reply to #18

Re: Replicating an Encoder

09/17/2008 9:57 AM

It can help either it cannot due to particular specs of this encoder. In a word if your encoder has own "brains" to store position code. Otherwise if it supplied simplest protocol converter chip which can only count revolutions and flag its directions it won't help. Your PC-mouse [no matter ball either optical] is an encoder too, but barely if even you'll feed it by UPS it permit you to save last cursor position on your desktop after power off.

But you can try this option out to check the idea. Stand alone controller for your encoder can be placed on plate or it cannot.

Good luck.

caramba

Register to Reply
Register to Reply 25 comments

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

Anonymous Poster (1); astrodevices (2); caramba (4); HoleInTheSnow (1); Laughing Jaguar (11); Randall (1); techno (4); Tony Aston (1)

Previous in Forum: Clarification on VVFD   Next in Forum: Cumulative Maximum Demand

Advertisement