This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PMSM Motor Control

Other Parts Discussed in Thread: CONTROLSUITE, TMS320F28035

Hi, Im using C2000 development kit with TMS320F28035 controller to drive ESTUN EMJ-04APB22 AC servomotor with the 2.1 PMSM code in ControlSUITE.

I have some troubles with  QEP signals from the encoder. If I power only the controller, the variable RawTheta of the qep1 structure increases its valor while i move the rotor. But if I power the motor, the variable stops to count qep impulses. I think it due to GND potential that oscillates around ground potential of the motor shell.

Did anyone had same problem? 

  • Hi Gianluigi,

    I have moved your post to the C2000 forum. There is much discussion about QEP and PMSM code here.

  • Gianluigi,

    I have seems some similar issues with the motor kits and causing too much noise on the QEP inputs in the same situation you describe.

    A couple of things I've done to help with the situation:

    1. Ground the motor case.  This will make sure the board and the motor case are at the same potential

    2. Shield the encoder lines.  This will prevent too much noise from being coupled in from the motor phase lines.

    3. Use the input qualification on the eQEP input pins.  See theTechnical Reference Manual for more information.

    You should also hook up an oscilloscope to try and figure out where this noise is coming in from and how bad it is.