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.

LAUNCHXL-F28379D: Calculating speed using eQEP block on LaunchXL-F28379D

Part Number: LAUNCHXL-F28379D
Other Parts Discussed in Thread: C2000WARE
Hello,
I am using LaunchXL-F28379D with Simulink to run an induction motor through a 3 leg inverter.
I am able to get the motor to run at a rated speed of 1400rpm and control the speed too.
Next I want to read the speed in order to implement a closed loop control.
I am unsing Autonics Rotary encoder with a resultion of 2500 pulses per revolution.
How do I configure the eQEP block to read the speed of my motor.
I have connected 5 pins of encode to 5 pins on eQEP_A.
Any help will be highly appreciated.
Thanks,
Akarsh M
  • Hi Akarsh,

    Please go through the example in C2000Ware (eqep_ex2_pos_speed) that will help you understand the eQEP configuration for speed/position measurement.

    Regards,

    Nirav

  • Hello Nirav,

    Is there any Simulink example or a Simulink model illustrating the same?

    I am implementing speed calculation even from DM550 examples for induction motor control example.

    But something seems to be amiss and values of actual speed and speed in Simulink model dont match.

    Regards,

    Akarsh

  • Hi Arkarsh,

    For Simulink example you may want to post in the Mathworks forum, as they support all the simulink examples.

    Regards,

    Nirav