Simulink model doesn't oscillate
3 次查看(过去 30 天)
显示 更早的评论
Hi,
I'm trying to model an reaction wheel inverted pendulum and I find this article: https://www.mdpi.com/2079-9292/13/3/514#B1-electronics-13-00514. And now I have to identify the friction coefficient, b_theta. They mesure the natural oscillation of the pendulum by swinging. And then implement this formula in simulink to estimate b_theta by comparing the results: ![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1713316/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1713316/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1713321/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1713326/image.png)
On the right is my model and on the left is the model present in the article. The probleme is that my simulation doesn't oscillate, the result is always 0. And i don't know what the probleme is. I'm using a fixed step of 1e-3 and the solver is on auto (I try multiple solvers but the result is the same).
1 个评论
Aquatris
2024-6-12
编辑:Aquatris
2024-6-12
The reason why it stays zero is, initialy your system is at 0. The excitation sin wave you apply is based on the position output of your system. Nothing disturbs your system, so excitation sine wave is fed with 0 always. sin(0) = 0 so nothing happens. Another thing is your damping coefficient of 0.1 might be too high for this system.
So, set an initial value to one of your integrator and reduce your b_theta value to 0.001.
采纳的回答
Sam Chak
2024-6-11
According to the principle of Occam's Razor, the most likely explanation for the lack of oscillation in the angular response is that it began from an equilibrium position. This observation is consistent with the angular results reported in the article. Since a rectangular pulse signal was not applied to perturb the pendulum, it would remain at rest.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1713351/image.png)
Results from the article:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1713356/image.png)
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 General Applications 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!