Control algorithm stops working after 5 min 30 sec on F28335.

2 ビュー (過去 30 日間)
ashish ahir
ashish ahir 2015 年 8 月 31 日
移動済み: Sabin 2022 年 12 月 20 日
I want to generate A sin(Wt) with A and W as external signals. As shown in figure i have done that. Sample time for blocks is 50e-6. I am using this block in inverter control algorithm. After downloading code on F28335 controller, it stops controlling after 5 min 30 sec. p.s. if i use inbuilt sine source block, it works fine. But, i want A and W configurable from external signals.

回答 (1 件)

Jeevan Thomas
Jeevan Thomas 2015 年 9 月 11 日
移動済み: Sabin 2022 年 12 月 20 日
Did you make sure that you gave the same "50e-6" as sample time for all the blocks including "Digital Clock" block? "Digital Clock" has a default sample time of 1 sec. If it is not set to the base sample time, your application might terminate prematurely based on the end time of Simulation set in model.

カテゴリ

Help Center および File ExchangeDeployment, Integration, and Supported Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by