help me to understand the following error in closed loop speed ctrl of BLDC motor
12 ビュー (過去 30 日間)
古いコメントを表示
- ['BLDC_speed_loop/Solver Configuration']: Transient initialization at time 0.4, solving for consistent states and modes, failed to converge.
- Nonlinear solver: Linear Algebra error. Failed to solve using iteration matrix.
- Problems possible for transient initialization, as well as stepsize control for transient solve, due to equations (including nonlinear equations) of one or more components: all components involved'BLDC_speed_loop/BLDC'Equation locations are: 'C:\Program Files\MATLAB\R2021a\toolbox\physmod\elec\library\m\+ee\+electromech\+pmsm\+pm_rotor\+bldc\Xabc.sscp' (no line number info) 'C:\Program Files\MATLAB\R2021a\toolbox\physmod\elec\library\m\+ee\+electromech\+pmsm\+pm_rotor\+bldc\Xabc.sscp' (no line number info) 'C:\Program Files\MATLAB\R2021a\toolbox\physmod\elec\library\m\+ee\+electromech\+pmsm\+pm_rotor\+bldc\Xabc.sscp' (no line number info) 'C:\Program Files\MATLAB\R2021a\toolbox\physmod\elec\library\m\+ee\+electromech\+pmsm\+pm_rotor\+bldc\Xabc.sscp' (no line number info)
0 件のコメント
回答 (1 件)
Joel Van Sickel
2021 年 8 月 30 日
Hello,
this type of error is unfortunately not very useful in debugging a model. It basically means that the solver couldn't handle the simscape portion of your model. This could be due to something in the model being unrealistic, or it could be issues with how the solver is set up. It would be helfpul if you shared you model. The most common cause of this is an unrealistic simulaiton. Examples would be accidentally leaving out free wheeling diodes on an inverter, or accidentally shorting some terminals or leaving something open circuit that shouldn't be. On the solver side, you should always start with ode23t for electrical simulations. The first thing you can do is tighten the tolerance to 1e-4 (not sure it will help with this though). Switching to a local solver with fixed step can often bypass issues like this but if you don't figure out what is wrong you will never be able to go back to variable step which is more accurate and should to be used to validate a fixed step size. Since it specifically happens at 0.4, there might be a switch or some change to the network happening specifically at that time which is causing the simscape network to be unsolvable. This might give you some hints as to what part of the model is causing the issue.
Regards,
Joel
2 件のコメント
INEL Tech Centre
2022 年 2 月 11 日
here is the model for your reference. Sorry for a late reply but could not proceed further on this.
Joel Van Sickel
2022 年 2 月 15 日
It's probably the pure open cicuit on the motor. If you put a smaller resistance so that more current and go through, that could help. Start with something like 100 ohms and keep making it bigger. If it doesn't work with 100 ohms, then I am wrong and it's not the open circuit aspect of the motor. At that point I'd look at if the motor's parameters were realistic, because you can definitely run motors as generators in the simscape tool. Also, you can go to the fourth tab in the motor model, and set the bottom two variables to priority 'none'.
コミュニティ
その他の回答 パワー エレクトロニクス コミュニティ
参考
カテゴリ
Help Center および File Exchange で Simscape Electrical についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!