FreeMaster MCAT speed command inputing

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

FreeMaster MCAT speed command inputing

跳至解决方案
2,399 次查看
AnweshaPanda
NXP Employee
NXP Employee

I am using MIMXRT1060 and freedom development board for controlling a PMSM. I am using the demo codes available with MCUXpresso IDE. Also, considering using NXP model based design tool in Simulink envirnoment.

I understand I can control the motor in run time using freeMaster MCAT where I need to enter the speed (in FOC control) manually. 

My question is I want to enter a step speed command, (like say 500 rpm for 10s then 750 rpm for next 10s). Is there any way to do that in FreeMaster??

Like importing a command or something.

Thanks in advance for the help.

0 项奖励
回复
1 解答
2,394 次查看
iulian_stan
NXP Employee
NXP Employee

Hi @AnweshaPanda,

I think "Variable Stimulus" should fit your needs. You can find it in the bottom left corner of the window.

Capture.PNG

 

If it is not visible, it can be enabled from the menu:  View →  Variable Stimulus.

To create a new Stimulus right click inside "Variable Stimulus" area and select "New...".

In your case it could look like this:

Capture2.PNG

 

Once it is added you will find your Stimulus in the window shown before. You can start it by double clicking the new item or right click → Run!.

Note: The Stimulus will increase/decrease the variable value at a given time step between 2 consecutive entries (similar to a slope), for a "step" transition you need to pass 2 values with minimal time difference.

在原帖中查看解决方案

2 回复数
2,355 次查看
AnweshaPanda
NXP Employee
NXP Employee

Thanks Lulian for all the support

0 项奖励
回复
2,395 次查看
iulian_stan
NXP Employee
NXP Employee

Hi @AnweshaPanda,

I think "Variable Stimulus" should fit your needs. You can find it in the bottom left corner of the window.

Capture.PNG

 

If it is not visible, it can be enabled from the menu:  View →  Variable Stimulus.

To create a new Stimulus right click inside "Variable Stimulus" area and select "New...".

In your case it could look like this:

Capture2.PNG

 

Once it is added you will find your Stimulus in the window shown before. You can start it by double clicking the new item or right click → Run!.

Note: The Stimulus will increase/decrease the variable value at a given time step between 2 consecutive entries (similar to a slope), for a "step" transition you need to pass 2 values with minimal time difference.