필터 지우기
필터 지우기

Error using 'pem' and 'greyest' in System Identification of a MIMO system.

조회 수: 3 (최근 30일)
Pranjal Biswas
Pranjal Biswas 2017년 3월 13일
댓글: Gergely Takács 2018년 12월 7일
I am have been working on System Identification of a MIMO system. While using the commands:
sys_grey_out = greyest(data, sys_grey, opt);
or
sys_pem = pem(data, init_sys);
I am getting the following the error:
The initial computation of the loss function failed. The initial model, if
specified, may be unstable. Consider setting estimation focus to "stability" or
"simulation". Also make sure that the parameter bounds do not make the model
unstable.
Setting the focus to Simulation or Stability isn't helping. Can anyone help me with the error?
  댓글 수: 2
Gillian Rosen
Gillian Rosen 2017년 3월 15일
Hi Pranjal, 
I understand that you are trying to use the functions 'pem' and 'greyest' for system identification of a MIMO system, but that you are encountering an error that states that "the initial computation of the loss function failed". 
To ensure that this issue is specific to your particular system, have you tried running examples from the 'greyest' and 'pem' documentation pages (linked below)? Were you successful? 
You mentioned that you have tried setting the focus to 'Stability' and 'Simulation', as suggested by the error message. Have you also made sure that the parameter bounds for your model do not make the model unstable? 
Changing other 'greyest' options to better fit your system may also help in this situation. See the following documentation link for a full list of options: 
If you need more assistance, it would be very helpful if you posted a code snippet that would allow others to recreate the error that you are seeing. 
Gergely Takács
Gergely Takács 2018년 12월 7일
Gillian;
I am getting the same error message for a
nlgreyest()
problem. The error message seems to suggest that nlgreyest() can only handle open-loop stable models, is that correct? (I know that my model is unstable...)

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear Model Identification에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by