How to use Ts in eCAP Module for finding speed using the hall sensors?

10 views (last 30 days)
I want to run my motor using hall sensors in an open loop mechanism. I tried directly giving the pwm signals using ePWM blocks. Now, I need to use the real time hall signals and capture them using eCAP and process to get speed and input to PWM Signals.
I am unable to configure eCAP to get the speed and generate signals. Is there any tutorial that uses eCAP module?
Thanks in advance.

Answers (1)

Anusha B
Anusha B on 17 Mar 2015
Hi Varun,
There's an example model 'c28069pmsmfoc_ert' in Embedded Coder Support package for TI C2000 processors on field oriented control of PMSM using Piccolo F28069 and DRV8312EVM that uses Hall sensor based speed control.
This might help you get started.

Community Treasure Hunt

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

Start Hunting!