How to control a brushless motor through a ESC with C2000 using "Embedded Coder" Library in Simulink

17 views (last 30 days)
Hi
I wanna control the speed of a brushless motor through a ESC (Speed controller) using the library "Embedded Coder" from simulink
im trying to do something like that
https://dronesandrovs.wordpress.com/2012/11/24/how-to-control-a-brushless-motor-esc-with-arduino/
im using a target C28027 from texas instruments matlab 2012a ccs 3.3 HP SimonK 30A Speed Controller Sunnysky X2212 980KV Brushless motor
i tried to make a pwm signal to the speed controller (ESC) but the motor dont move, i think that dont move because the pwm of that C2000 target are from 3.3 volts, so i amplified the pwm signal to 5 volts but doesnt works
i make the example in arduino and works fine, so the motor and the ESC are in good conditions
someone have an idea what can i do???
the examples in simulink that i can find in internet control the 3 pwm signals, because are not using the ESC (speed controller)
is not only put a pwm signal in the yellow pin of the ESC???
thank you for the help

Answers (1)

Manikandan
Manikandan on 17 Feb 2016
I did same like, write me: electricmani@yahoo.co.in

Communities

More Answers in the  Power Electronics Control

Community Treasure Hunt

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

Start Hunting!