I am using this development kit with M-2310P-LN-04K motor (Datasheet is in the attachments). I can drive the motor in sensorless mode but can not make it work with encoder mode even though I connected the encoder pins and set the encoder macro to true. What could be the problem?
Note: I changed MOTOR_PP to 4 because my motor has 8 poles
Note 2: When I change encoderPospe.thRotEl.filt variable with drvFOC.pospeSensorless.thRotEl my motor starts to spin so I think my problem must be with encoderPospe.thRotEl.filt variable. This value is the encoder's position value. What can I do about that, am I supposed to change MOTOR_PP_GAIN and MOTOR_PP_SHIFT right now?
Solved! Go to Solution.
I alter the encoderPose. drvFOC and the variable thRotEl.filt pospeSensorless. My motor turns on, hence I believe the encoder is the cause of my issue.
mcspte1ak144 is a code or identifier, possibly related to a specific motor. Without additional context or details about the replacement igg game motor, it's challenging to provide information on a different motor. Please provide more information for accurate assistance.
Hi,
here are some hints received from Apps team:
- change the setting in PE for the encoder (FTM) to the correct number of counts/rev
- correctly set the number of counts in FreeMASTER (Sensors tab)
- change the ENCODER macro
- select the appropriate Sensor option in FreeMASTER
- correctly connect the encoder to the board. Do not forget that for the encoder it is necessary to connect, in addition to ENC A, ENC B and ENC I, also to GND and +5V. On DEVKIT-MOTORGD, check that J8 is disconnected (+5V).
BR, Petr