Were does to oscillating come from?

3 ビュー (過去 30 日間)
Jan Willem de Lange
Jan Willem de Lange 2016 年 9 月 29 日
回答済み: Zack Peters 2016 年 9 月 29 日
Hello everybody,
For an assignment we have to make a simple model of a RC car which gets as an input the throttle and steering percentage from the controller and as an output it has to give the longitudinal speed, the lateral speed and the yaw rate. After finding the correct formulas and implementing these into simulink, it does not give the correct output. When the longitudinal and the lateral speed are plotted it gives a oscillating graph, which obviously is not right.
We have tried to remove all variables and only inputting constants, but still whatever we try, we keep getting oscillating formulas.
I have attached our model. Does somebody know where the oscillating comes from?
Thank you in advance, Jan Willem

回答 (1 件)

Zack Peters
Zack Peters 2016 年 9 月 29 日
Hi Jan,
Quick look at hte model shows that your 'u' signal hovers around '0' at around time 2.79. When that happens, your F_lat subsystem divides by 'u' getting close to a divide by zero condition, causing the calculations to go haywire.
Do you have the equation of motions written out by hand? Perhaps you can paste them into here and someone can double check that there were no modeling mistakes.
~Zack

カテゴリ

Help Center および File ExchangeSimulink についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by