Hello Guest it is March 28, 2024, 09:43:13 PM

Author Topic: Converting Heidenhain sine wave to TTL  (Read 20570 times)

0 Members and 1 Guest are viewing this topic.

Re: Converting Heidenhain sine wave to TTL
« Reply #10 on: February 27, 2012, 03:17:06 PM »
"you could use an op amp to amplify this signal and square it up and produce a TTL quadrature signal." - Of very LOW resolution.

Regards,
Ray L.
Regards,
Ray L.
Re: Converting Heidenhain sine wave to TTL
« Reply #11 on: February 27, 2012, 03:23:17 PM »
"you could use an op amp to amplify this signal and square it up and produce a TTL quadrature signal." - Of very LOW resolution.

Regards,
Ray L.

Not really, we are not dealing with a resolver here, these heidenhain scales/encoders  are very high resolution before taking advantage of the arc tangent convertor.
Nosmo.


Offline Dan13

*
  •  1,208 1,208
    • View Profile
    • DY Engineering
Re: Converting Heidenhain sine wave to TTL
« Reply #12 on: February 28, 2012, 02:04:54 AM »
As a point of interest, all optical encoders and scales of this type, TTL included,  start off with an optically detected signal that  is sine wave in nature,

All optical encoders?! Of what type? Those I see typically have lines on the disk.

In these Heidenhain and similar scales or encoders, the arc tangent function is used to produce a high resolution absolute encoder count from the sine/cosine signal.

Don't think "absolute" is applicable to scales. In a rotary encoder I could see how they could possibly do this by matching a full sin/cos cycle to a single rotation, although I have never seen this. Usually a sine/cos encoder is just treated as an incremental encoder. I am not familiar with Heidenhain encoders in particular though.

Dan

Re: Converting Heidenhain sine wave to TTL
« Reply #13 on: February 28, 2012, 08:10:16 AM »
I found thse to be great for converting Heidenhain to TTL:

http://www.deva.co.uk/product/deva018.shtml

Very helpful guys. Their PCI drive cards are also very nice :)
Re: Converting Heidenhain sine wave to TTL
« Reply #14 on: February 28, 2012, 10:40:56 AM »

All optical encoders?! Of what type? Those I see typically have lines on the disk.

The lines you see cannot be read or distinguished by the simple infra red transmitter and detector that is used in all optical encoders, in order to read the individual lines something called the Moiré effect is used, this produces a much larger 'shutter effect' in order to read individual lines,  the output of the detectors results in a sine/cosine signal due to the varying degree of exposing the detector by the shutter.
This is then squared up by the subsequent electronics, this method has not really changed since the inception of optical encoders, which used incandescent lamp and photo cell.

Don't think "absolute" is applicable to scales. In a rotary encoder I could see how they could possibly do this by matching a full sin/cos cycle to a single rotation, although I have never seen this. Usually a sine/cos encoder is just treated as an incremental encoder. I am not familiar with Heidenhain encoders in particular though.

Mitsubishi and others use the arctangent detection to produce an absolute digital value.


http://www.opticalencoder.com/copi-high-resolution-optical-encoders-tutorial-article.html
Nosmo.
« Last Edit: February 28, 2012, 10:57:31 AM by NosmoKing »

Offline Dan13

*
  •  1,208 1,208
    • View Profile
    • DY Engineering
Re: Converting Heidenhain sine wave to TTL
« Reply #15 on: February 28, 2012, 11:06:42 AM »
Thanks for the information, Nosmo. That is very interesting. I didn't know that.

Dan
Re: Converting Heidenhain sine wave to TTL
« Reply #16 on: February 28, 2012, 11:18:06 AM »
Incidentally the Moiré effect is produced by the reading head carrying a small piece of scale in front of the detector, but slightly skewed by a few degrees.
This produces a wide  shutter that 'rotates'  at right angles to the direction of travel with a width of half the height of the scale but an incidence equal to the resolution of the scale lines.
The direction of the shutter will reverse with a change in head direction.
This way lines can be read which are only µm wide.
N.

Offline Dan13

*
  •  1,208 1,208
    • View Profile
    • DY Engineering
Re: Converting Heidenhain sine wave to TTL
« Reply #17 on: February 28, 2012, 11:22:11 AM »
If you have a link with a detailed description and some pictures, I would love to read.

Dan
Re: Converting Heidenhain sine wave to TTL
« Reply #18 on: February 28, 2012, 11:55:15 AM »
I don't have much available, I originally learned from a course I took under Ferranti-Packard that covered the  theory of this  in depth.
There is a simple explanation in this pdf of the Moire effect.
N.

Offline Dan13

*
  •  1,208 1,208
    • View Profile
    • DY Engineering
Re: Converting Heidenhain sine wave to TTL
« Reply #19 on: February 28, 2012, 12:06:37 PM »
Thanks Nosmo. will read it later.

Dan