I am using C2000 TMS320F28379D board with Matlab. I am not clear in using ePWM and eQEP blocks with Matlab. In case of ePWM, how can I set exact duty cycle and the frequency that we need?. And in the eQEP how should I use that for speed reading?

6 ビュー (過去 30 日間)
If anyone has used this, please help me.

採用された回答

Venkatesh Chilapur
Venkatesh Chilapur 2018 年 9 月 25 日
Checkout the example 'c2807x_2837xx_adcpwmasynctest_ert.slx' from the support package for ePWM use case. For eQEP the example 'c28335pmsmfoc_ert' has an example of decoding the rotor position using eQEP module.

その他の回答 (1 件)

Venkatesh Chilapur
Venkatesh Chilapur 2018 年 9 月 25 日
The MathWorks documentation is also a good starting point to dig for details. Like in this case the following link as plenty details on the eQEP use case.
https://www.mathworks.com/help/releases/R2018a/supportpkg/texasinstrumentsc2000/examples/permanent-magnet-synchronous-motor-field-oriented-control.html
and below link details the on the configuration items ePWM block.
https://www.mathworks.com/help/releases/R2018a/supportpkg/texasinstrumentsc2000/ref/c280xc2802xc2803xc2805xc2806xc2833xc2834xf28m3xf2807xf2837xdf2837xsf28004xepwm.html
Hope this helps, Venkatesh C

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by