Previous in Forum: ct   Next in Forum: Effect of AVR (with and without inductors)
Close
Close
Close
14 comments
Rate Comments: Nested
Associate

Join Date: Aug 2010
Posts: 26

Encoder connection

12/14/2010 6:05 AM

In case of closed loop system.....

If i cahnge the A+ and B- at Encoder connection, do i need to change the direction of motor? OR what will happen if A+ and B- are interchanged?

Register to Reply
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#1

Re: Encoder connection

12/14/2010 6:17 AM

Don't expect the system to work!!!

A+ and A- are complementary signals - when A+ is high, A- is low and vice versa. The same holds for B+ and B-. If you exchange A+ with B-, the decoding system will see a lot of ambiguous results (A+ high at the same time as B- high, etc.). It will not be able correctly to interpret the input pulses in terms of distance and direction.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Associate

Join Date: Aug 2010
Posts: 26
#2
In reply to #1

Re: Encoder connection

12/14/2010 6:21 AM

Hello John,

Sorry, i made one mistake. I intended to say what will happen if i interchange A+ and B+. Can i run with reverse direction of motor.?

Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#3
In reply to #2

Re: Encoder connection

12/14/2010 6:31 AM

Swapping A and B will change the direction output of the encoder (as long as you swap A+ with B+ and A- with B- if you have them).

What effects this has on how the motor runs depends on your control system.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Associate

Join Date: Aug 2010
Posts: 26
#4
In reply to #3

Re: Encoder connection

12/14/2010 6:40 AM

In this case if i chnage the direction of motor , will it run?

Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#5
In reply to #4

Re: Encoder connection

12/14/2010 6:43 AM

Sorry, don't understand what you're trying to do.

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Associate

Join Date: Aug 2010
Posts: 26
#6
In reply to #5

Re: Encoder connection

12/14/2010 6:51 AM

I want to say that if i interchange A+ with B+ (and A- with B-)....

in this case it should not run and drive gives fault.

but, if i change the phase sequence of AC motor , will it run?

Register to Reply
Guru
United Kingdom - Member - Not a New Member Hobbies - Musician - New Member Hobbies - Fishing - New Member

Join Date: May 2006
Location: Reading, Berkshire, UK. Going under cover.
Posts: 9684
Good Answers: 468
#7
In reply to #6

Re: Encoder connection

12/14/2010 6:58 AM

I'd say yes, it should run (but I couldn't tell with 100% certainty without knowing a lot more about your system).

Is it a system which was running and which has been modified or repaired?

__________________
"Love justice, you who rule the world" - Dante Alighieri
Register to Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#8
In reply to #6

Re: Encoder connection

12/14/2010 6:59 AM

Try it, and if it doesn't work, swap them back again.

The forum still doesn't know what the intent of this change is, and cannot foresee the outcome in so far as the process integrity is concerned.

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
Associate

Join Date: Aug 2010
Posts: 26
#9
In reply to #8

Re: Encoder connection

12/14/2010 7:11 AM

OK Thanks for your inputs . I will try the same.....

Register to Reply
Guru
United Kingdom - Member - Indeterminate Engineering Fields - Control Engineering - New Member

Join Date: Jan 2007
Location: In the bothy, 7 chains down the line from Dodman's Lane level crossing, in the nation formerly known as Great Britain. Kettle's on.
Posts: 32175
Good Answers: 839
#10
In reply to #9

Re: Encoder connection

12/14/2010 9:23 AM

Did it work?

__________________
"Did you get my e-mail?" - "The biggest problem in communication is the illusion that it has taken place" - George Bernard Shaw, 1856
Register to Reply
Power-User
Engineering Fields - Petroleum Engineering - Rig Electrician United States - Member - the Oil Patch Engineering Fields - Power Engineering - Drives & Gen's Engineering Fields - Instrumentation Engineering - Drive Control Popular Science - Cosmology -

Join Date: Jan 2010
Location: Houston off/on-shore @ Oil Patch
Posts: 223
Good Answers: 2
#11
In reply to #6

Re: Encoder connection

12/14/2010 10:06 AM

YES, the only way to change the direction of the motor is to switch two of the main wires, the encoder is only switched if you get an error or unstable operation at speed

__________________
Why do they make manhole covers round? so they won't fall in [before asking "Who is John Galt?"]
Register to Reply
Active Contributor

Join Date: Dec 2010
Posts: 12
#12

Re: Encoder connection

12/14/2010 11:17 AM

you can change the wires and tell us the result what happened.Before doing this ,read manual of encoder or OEM manual.

Register to Reply
Guru
Engineering Fields - Electrical Engineering - Been there, done that. Engineering Fields - Control Engineering - New Member

Join Date: Dec 2008
Location: Long Island NY
Posts: 15602
Good Answers: 982
#13

Re: Encoder connection

12/14/2010 12:03 PM

People here have overlooked the very first statement by the OP. This is a closed loop system. If you reverse the direction of just the encoder direction or just the motor drive control you will have a positive instead of a negative feedback system. You must reverse polarity of both the motor and the feedback signal in a closed loop system or things will run away. If you have any limit switches for the motor travel then you must also get these to agree with the correct polarity selection.

__________________
"Don't disturb my circles." translation of Archimedes last words
Register to Reply
Power-User

Join Date: Jul 2008
Location: UK
Posts: 205
Good Answers: 50
#14
In reply to #13

Re: Encoder connection

12/16/2010 5:23 AM

Normally in closed loop the control command direction should correspond to the motor rotation and encoder feedback accordingly.

This means for the drive Forward must meet a direction of rotation (change motor phases if wrong) and (probably) +ive encoder feedback for this rotation.

Reverse will be opposite direction of all (obviously)

So, all three need to be matching.

__________________
Something new every day!
Register to Reply
Register to Reply 14 comments
Copy to Clipboard

Users who posted comments:

JohnDG (4); Kiran D (4); kwcharlie (1); MalcolmK (1); PWSlack (2); redfred (1); rybrk (1)

Previous in Forum: ct   Next in Forum: Effect of AVR (with and without inductors)

Advertisement