Sine to square inverter

Thread Starter

Paul Savigar

Joined Feb 5, 2024
20
Hello
Would anyone have a simple sine to square converter cicuit for Quadrature A and B signal for linear/ rotary encoders please.


Regards

Paul F Savigar
ABS Measurement CC

South Africa
 
Last edited by a moderator:

AnalogKid

Joined Aug 1, 2013
11,056
Part number or datasheet for the encoder?

Peak-to-peak voltage and max. frequency of the sine wave?

Voltage of the output square wave?

Anything?

ak
 

Thread Starter

Paul Savigar

Joined Feb 5, 2024
20
Sorry, I was a bit vague.
It is Heidenhain 3.8vdc 11um sine A and B , 90deg phase shifted to TTL A and B 90deg phase shifted.
sine inputs are floating ( no gnd)

Thank you
Rgds

Paul
 

AnalogKid

Joined Aug 1, 2013
11,056
You have a quadrature encoder that puts out a sine wave?
Yes, there are such things. Actually, two sine waves 90 degrees out of phase. They allow for much finer positioning, down to the phase noise in the signals. I've not designed one into a system, but I have repaired systems that use this.

ak
 

Thread Starter

Paul Savigar

Joined Feb 5, 2024
20
I would like to add that we have the hardware , and it revolves around the LM339 quad comparator.

I just want to make it up on Veroboard, but cant work out the circuit.

Rgds

Paul
 

ericgibbs

Joined Jan 29, 2010
18,872
Hi Paul,
Do you mean something like this ? If you posted a simple sketch, that would help.

E
OT: RSA down in PE is my 2nd home.
EG57_ 1458.png
 

Thread Starter

Paul Savigar

Joined Feb 5, 2024
20
So we have ,
Phase A in - 5v TTL out
Phase B in - 5v TTL out
90deg phase shifted

We need this I/f unit very often but have run out, and we want to make it in house.

Rgds

Paul
 

panic mode

Joined Oct 10, 2011
2,761
lookup "differential line driver"
you still did not state part number or specs. some encoders are meant to reach high speeds (several MHz).
 
Top