Were does to oscillating come from?

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by