+ Post New Thread
Results 1 to 2 of 2
  1. #1
    Full Member level 6
    Points: 3,088, Level: 13
    Achievements:
    7 years registered

    Join Date
    Nov 2010
    Posts
    339
    Helped
    2 / 2
    Points
    3,088
    Level
    13

    linear incremental scale

    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.

    Click image for larger version. 

Name:	IMG_1.jpg 
Views:	3 
Size:	509.2 KB 
ID:	152367
    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

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 256,485, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    44,745
    Helped
    13608 / 13608
    Points
    256,485
    Level
    100

    Re: linear incremental scale

    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?


    1 members found this post helpful.

--[[ ]]--