필터 지우기
필터 지우기

Having a Simulink error while simulating a UAV to track a UGV.

조회 수: 2 (최근 30일)
Sunghun Jung
Sunghun Jung 2012년 12월 28일
답변: Charanraj 2015년 4월 24일
Hello, brilliant researchers. I am having an error on Simulink while I am simulating flights of Unmanned Aerial Vehicle (UAV) by letting it to track a Unmanned Ground Vehicle (UGV). I have a following error.
------------------------------------------------------------------------------------------
Simulink cannot solve the algebraic loop containing 'UAV_UGV_sim/Closed loop UGV dynamics/cal_theta' at time 0.0 using the TrustRegion-based algorithm due to one of the following reasons: the model is ill-defined i.e., the system equations do not have a solution; or the nonlinear equation solver failed to converge due to numerical issues.
To rule out solver convergence as the cause of this error, either a) switch to LineSearch-based algorithm using set_param('UAV_UGV_sim','AlgebraicLoopSolver','LineSearch') b) reducing the ode45 solver RelTol parameter so that the solver takes smaller time steps. If the error persists in spite of the above changes, then the model is likely ill-defined and requires modification.
------------------------------------------------------------------------------------------
The following facebook link has the image file of my UGV and UAV simulink diagram.
Thank you very much in advance for your invaluable helps.
  댓글 수: 1
Walter Roberson
Walter Roberson 2012년 12월 28일
Did you try switching to a LineSearch based algorithm to narrow down whether the problem is ill-defined or has numeric problems?
Did you check whether the system is well-defined at the initial conditions you use? That, for example, you do not have a division by 0 because an initial condition (e.g., time) is 0 but would be non-zero once the model starts going?

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

채택된 답변

Ryan G
Ryan G 2012년 12월 28일
The error you are seeing is related to the solver attempting to automatically resolve an algebraic loop. However, in this case, it is running into issues accomplishing the task. To resolve the issue try inserting 1/z into the sensor feedback paths. This will resolve the algebraic loop and put in realistic sensor characteristics (delays) so your model should still be relatively accurate.
  댓글 수: 4
CEDRIC baes
CEDRIC baes 2014년 5월 8일
Hello, I'm making a computal model of a thermoelectric genererator. I have a similar error indication of Simulink. I tried to put a Unit Delay before my Matlab Function but the problem still persists. I'm making a computal model of a thermoelectric generator (electric circuit). Any idea what the problem is ? Or what do I do wrong ?

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

추가 답변 (2개)

Sunghun Jung
Sunghun Jung 2012년 12월 29일
Thank you very much, Ryan. That worked!

Charanraj
Charanraj 2015년 4월 24일
hey I have the same problem. I n my case the feedback is a single number and when I put an unit delay, it converts to 3 numbers and this is creating problem in the control input of the system. How to rectify this ?

카테고리

Help CenterFile Exchange에서 UAV에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by