AC Drive China Forum
Forum » General Discussion » Convert rotary encoder sine signal to MCU readable format
Topics: Convert rotary encoder sine signal to MCU readable format on General Discussion
#1
Start by
haifeng jiang
09-23-2013 08:55 AM

Convert rotary encoder sine signal to MCU readable format

How can I convert a rotary encoder sine signal to a MCU readable format? Any where I can find a reference design? Thanks!
09-23-2013 11:29 AM
Top #2
sabbineni narendra
09-23-2013 11:29 AM
Hi ,
use op-amp connected as a comparator to convert sine wave to square wave. if you want 90° offset from the original sine wave adjust the reference of the op-amp.

Regards,
Narendra
09-23-2013 02:06 PM
Top #3
Giuseppe Fabri
09-23-2013 02:06 PM
Hi, I use an Analog Devices AD2S1205 Resolver to Digital converter,it's a little bit expensive but it works nice. Also development boards are availlable.RegardsG.F.
09-23-2013 05:02 PM
Top #4
MASSIMO PAGLIA
09-23-2013 05:02 PM
You could use also a very simple and cheap solution with a couple of schottky diodes as I'm currently doing. Looking to how realize it: insert a pull-up resistor on each encoder channel, design a LPF (RC solution will be nice with high crossover frequency). Insert the BAT diodes, you should take the 3 pin solution like BAT54S, int that case connect pin 1,2 respectively to GND and VCC, connect pin 3 to encoder input signal. Pin 3 will be also the input toward the micro...maybe you will insert another series resistor before the micro input to limit the input current. Regards, Massimo
Reply to Thread