FreeMaster MCAT speed command inputing

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FreeMaster MCAT speed command inputing

ソリューションへジャンプ
2,403件の閲覧回数
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,398件の閲覧回数
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,359件の閲覧回数
AnweshaPanda
NXP Employee
NXP Employee

Thanks Lulian for all the support

0 件の賞賛
返信
2,399件の閲覧回数
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.