Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

quadrature encoder vibration problems

Status
Not open for further replies.

2000

Member level 5
Joined
May 14, 2001
Messages
87
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
764
hello friends,

I've already posted a message about quad. encoders, but as the project goes more problems arises. Actually I've a hardware that is able to count the pulses and tell the direction, but when I connected the encoder in the shaft of the AC motor sometimes it miscounts or bad counts the pulses I guess it's due to vibration in the startup or stop.
The software obies the state machine to pass by the 4 states before it increments or decrements the position. Each time there's a transition (up or down) in the A or B channel an interruption is generated and the state is stored.
What more could be done to get rid of this bad counts?

thx for any help,

regards,

2000
 

samsuffy

Member level 4
Joined
Jul 23, 2002
Messages
75
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
533
diff line driver

I haven'ts seen your previous msg...

maybe :
Do you take care to the link between the encoder and the counter ?...

Some parasitic voltages can easily disturb the counter !

A way to avoid it :
use differential line driver : as rs485, see national semiconductor web site

Good luck
 

bunalmis

Full Member level 5
Joined
Jan 3, 2003
Messages
268
Helped
19
Reputation
38
Reaction score
11
Trophy points
1,298
Location
Ireland
Activity points
2,147
You can use digital filter for A and B signals.

You can build electronics or writing simple software.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top