Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

linear incremental scale

Status
Not open for further replies.

raman00084

Full Member level 6
Full Member level 6
Joined
Nov 29, 2010
Messages
375
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Activity points
4,076
I have connected a incremental linear scale in QEI module 1 of DSPIC33EP512MU810 controller. if i move the scale i am getting pulses in increment of 1 but my qei module is 4x.

also the Repeat-ability of the pulses for a fixed linear distance is not same it fluctuates by 4 to 7 counts.

if i connect the same scale to DRO of the scale manufacturer i am getting exact pulses of for the fixed linear distance.

i have attached the wave form of the linear scale.

IMG_1.jpg
setup_qei(1,QEI_MODE_X4,QEI_FILTER_DIV_16,QEI_MODE_TIMER_INTERNAL,QEI_POS_LE_INT,QEI_POS_GE_INT);

COPMLIER USED IS PIC CCS
 

There's something wrong with the waveform, it's not the expected digital quadrature signal (50 % duty cycle, 90° degree phase shift). Scale wrongly connected?
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top