Вы находитесь на странице: 1из 2

from the Encoder department

Purpose of differential output in Encoder

Posted by Adesh chavan on 5 May, 2006 - 12:26 pm

I want to know what is the purpose of keeping differential outputs in encoder.

1) As we know there are outputs available A and A bar (180 deg phase shift); B & B bar (180 deg phase shift; what is the purpose of giving inverted outputs?

2) How or why we take 4 times multiple of encoder PPR in calcualtion for 4-Q drive; How it is achieved with marker pulse?

Posted by James Ingraham on 6 May, 2006 - 3:18 pm

"1)

what is the purpose of giving inverted outputs?"

Noise immunity. Encoders typically use 5V TTL signals. On a long cable run, it is very easy to have a voltage drop or induced noise that causes missed or extra pulses. By using a differential signal, it is MUCH more likely that the signal will come through properly.

"2) How or why we take 4 times multiple of encoder PPR in calcualtion for 4-Q drive; How it is achie ved with marker pulse?"

The marker pulse has nothing to do with it. You will only get one marker pulse, not 4. The reason you get 4 times the resolution on an encoder is that there are two sensors digial sensors, and we can use both their on and off states for information. If you remember from long-ago math classes or computer science, two bits can represent 4 values. So when one slot in the encoder goes by, we see four different states. That gives us 4 times the number of slots as the actual resolution of the encoder. Note that the meaning of "Pulses Per Rev" can be either before or after the multiplying by four, depending on who you're asking.

-James Ingraham Sage Automation, Inc.

Posted by Dan on 6 May, 2006 - 3:22 pm

This type of output is good at rejecting noise on long cable runs. The receiving inputs only look at a change of state that occurs in both the normal and inverted lines, so common mode noise that affects both lines is rejected.

Also, if you look at a truth table for the possible states for the A and B outputs, you'll see that there are four different states. That's why quadrature decoding gives you four times the resolution of the number of pulses per channel.

The index pulse occurs once per revolution, and is usually one pulse width in duration. Usually used as a home

position, or a check that you get x number of pulses each encoder revolution.

Posted by Curt Wuollet on 6 May, 2006 - 3:21 pm

The differential drivers are far better for noise, especially with long cables. That is their primary purpose.

The 4X is probably for scaling in your application. The marker will still be 1 per revolution.

Regards

cww

Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2011 Nerds in Control, LLC. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.

Fortune Call on God, but row away from the rocks. -- Indian proverb