Answered
how to add rising edge clk like this in stateflow?
Hi Le, You can add the rising edge port on chart block as below. 1. Set "input event" to the variable type 2. Open "Proper...

mer än 2 år ago | 0

Answered
How to adapt a Field Weakening control in the simulink model in a PMSM system?
Hi Varun, Maybe the sample model shown below is useful for you. In the Simscape Electrical library, there is "PMSM Field-Weaken...

mer än 2 år ago | 0

Answered
Is there any simple PI controller for Id and Iq current for current control of PMSM motor
Hi Varun, How about the sample model below. It is not so simple model but you can see how to use "Current Controller Block" and...

mer än 2 år ago | 0

Answered
Error when using spice model for MOSFET for Basic Buck w/ PI control
Hi Christine, When this error occurs, it maybe is valid to enable the filter of Simulink-PS Converter block. By enabling the fi...

mer än 2 år ago | 0

| accepted

Answered
SIMULINK Blue and black components
Hi LightFury, They are the blocks for electrical modeling but different domain blocks, that why you can't connent them directry...

mer än 2 år ago | 3

| accepted

Answered
raspberrypi_modbus_masterのモデルをコマンドで起動しようとしてもエラーが出てしまう
小杉様 ご質問ありがとうございます. おそらく、コマンド中のシングルクオーテーション、もしくは括弧が全角となっているために生じるエラーかと思われます. 下記のように半角のものに変更した状態でお試しください. 正:open_system('r...

mer än 2 år ago | 0

| accepted

Answered
simulink上でのラズパイとカメラ動作について
AK様 ご質問頂きありがとうございます. ハードウェアとの接続が正しく確立できていない可能性があります.下記の図を参考に正しいIPアドレスが設定されていることなどをご確認頂けますでしょうか. また、シミュレーション実行ボタンではなく、「監視と調整...

mer än 2 år ago | 0

Answered
What environment temperature should I collect the step response data under?thanks.
Hi Shawn, I understood that this problem is changing plant dynamics due to plant's temperature and it makes the control difficu...

mer än 2 år ago | 0

Answered
Simulink vs Stateflow application for sensor
Hi Hidd, Using Stateflow, you can make Sequence control very easily. (for example, schedulers, fault management systems, and su...

mer än 2 år ago | 0

| accepted

Answered
Integration step Issue in Simulink execution
Hi Hugh, Your simulink model might be stiff-model. The stiff model is a difficult model to simulate and the calculation speed o...

mer än 2 år ago | 0

Answered
How to split a line in Simulink?
Hi Moritz, I don't know how to delete only the part of the signal line as you mentioned. But you can do the similar thing by th...

mer än 2 år ago | 0

Answered
How to change evaluation time of a Matlab Function in Simulink
Hi Fernando, Although I didn't see your model and so I couldn't find the reason of the problem, I described the tips for this p...

mer än 2 år ago | 0

Answered
How Can I add feedbacks on control inverted pendulum with LQR?
Hi Oguzhan, The value actually measured and obtained corresponds to Y. Therefore, if you get position and velocity values of th...

mer än 2 år ago | 0

Answered
How to use stateflow inside a simulink closed loop?
Hi Moritz, I understood that your question is about the cause of the difference output between the two logics in attached model...

mer än 2 år ago | 1

| accepted

Answered
The linearization input/output port specification of the 'statespace_compensation/Bode Plot' block resulted in linear system with a value of zero.
Hi Vasilica, The main reason of this warning is that this model has discontinuous non-linearity. In making not only bode-plot b...

mer än 2 år ago | 0

Answered
Model a Torque converter from fundamental equations using standard simulink blocks
Hi Aditya, I think the demo model of "sf_car" will be helpful. (Please enter "sf_car" in the command window.) There is a torque...

nästan 3 år ago | 0

| accepted

Answered
Does anyone know how to fix this?
Hi Tony, It seems that different data from expectedis appeared during "first step" in simulation. (Models that do not require c...

nästan 3 år ago | 0

Answered
How to build a delta-connected PMSM simulink model or what's the output of PM Synchronous Motor mean 'R' 'C'?
Hello 英奇, Thank you for your asking. First, you should convert R and L in the delta connection to the those in the Y connect...

nästan 3 år ago | 0

Answered
regenerate braking of bldc motor
Hello Muhammad, Thank you for asking. For modeling regenerative braking circuit for BLDC motor, the following link (sample ...

nästan 3 år ago | 0

Answered
May I know how to solve this error in Simulink?
Please refer to the link below. You could get a hint. https://jp.mathworks.com/matlabcentral/answers/326834-why-am-i-getting-a...

nästan 3 år ago | 0

Answered
Simulinkのエラー(line 146)について
エラー表示どおりであれば、simulinkモデル名がMATLABで使用できる命名規則に準じてないことが原因かもしれません. MATLABでは変数名は下記のルールに準じる必要があります 1 ~ 63 文字以内 アルファベット、数値、及びアンダースコアの...

nästan 3 år ago | 0

| accepted

Answered
Spectrum Analyzer sample rate.
Hello Paul, Please check the signal type of inport signal connected to Spectrum Analyzer Block. It must be a discrete signal. I...

nästan 3 år ago | 0

| accepted

Answered
Problem with control of IPMSM
Hello Meikel, Thank you for the question. I checked your model. I didn't understand whole of this model, but I found a part th...

nästan 3 år ago | 1

Answered
ブラシレスモーターを発電機として利用するシミュレーションはできるか
はい、可能です. ご参考に、簡単な例としてBLDCモーターと三相整流器を用いた電力回生のモデルを作成してみました. モデル右側より、Ideal Angular Velocity Sourceブロックを用いてBLDCモーターを1000rpmで回転する...

nästan 3 år ago | 0

| accepted

Answered
状態フィードバックを用いた安定化
通常、極配置法で複数の極を移動させる場合、移動先の極は重複しない値を指定する必要があります.これは以下のドキュメントの注意の箇所にも記載があります. https://jp.mathworks.com/help/control/getstart/pole-...

nästan 3 år ago | 0

| accepted

Answered
mosfetにPWM Generatorを接続する方法
おそらくSimulink信号を直接Simscapeの物理量信号端子へ接続されようとしていることが原因と思われます. Simscape内のMOSFET (Ideal, Switching)ブロックなどに使用されている物理量信号端子には、Simulink信号...

nästan 3 år ago | 0

| accepted