👨🎓个人主页:研学社的博客
💥💥💞💞欢迎来到本博客❤️❤️💥💥
🏆博主优势:🌞🌞🌞博客内容尽量做到思维缜密,逻辑清晰,为了方便读者。
⛳️座右铭:行百里者,半于九十。
📋📋📋本文目录如下:🎁🎁🎁
目录
💥1 概述
📚2 运行结果
2.1 Rot_Pen_FLC
2.2 Rot_Pen_LQR
2.3 Rot_Pen_PID
🎉3 参考文献
🌈4 Matlab代码、Simulink、文章讲解
![](https://img-blog.csdnimg.cn/bd2f4a25c03440698a32b3092558a677.gif)
💥1 概述
该项目旨在通过将几种控制技术应用于旋转倒立摆并研究其响应来测试它们的能力。
本课题测试的控制方法有模糊逻辑控制器、PID控制器和全状态反馈控制器,使用MATLAB和Simulink实现。
原文摘要:
This project aims to test the capabilities of several control techniques by applying them on a rotary inverted pendulum and studying its response. Control Methods tested in this project are Fuzzy Logic controllers, PID controllers and Full State Feedback controller The implementation is done using MATLAB and Simulink.
目录;
![](https://img-blog.csdnimg.cn/12546b6d485c4f39aa6adf9e82d06845.png)
📚2 运行结果
2.1 Rot_Pen_FLC
![](https://img-blog.csdnimg.cn/7dfa51030df5428bb2c4a48cf0a9d414.png)
![](https://img-blog.csdnimg.cn/995b490903c6496a96ccd68adf48fe0b.png)
![](https://img-blog.csdnimg.cn/c3cb9ddf020940088febd7ad19b9e199.png)
2.2 Rot_Pen_LQR
![](https://img-blog.csdnimg.cn/313c62a869a74b58b531e8ce49f69cdd.png)
![](https://img-blog.csdnimg.cn/36a06551db154d47a5813e2f2da27998.png)
![](https://img-blog.csdnimg.cn/b4b80dc18c99499ca75b50c6d4cd818f.png)
2.3 Rot_Pen_PID
![](https://img-blog.csdnimg.cn/72380d1707054fce9369a488ea0efaf4.png)
![](https://img-blog.csdnimg.cn/1b28cb16fa8d460b8b48207e0e421c23.png)
![](https://img-blog.csdnimg.cn/d38207d2903b4bcabae884f07cdc93dc.png)
![](https://img-blog.csdnimg.cn/5ee96786869641798fd9af994c0a00b3.png)
close all;
axis([-0.1 0.1 -0.1 0.1 0 0.4]);
for t= 1:1000
alpha=Alpha(t);
thetta=Thetta(t);
rod=line([0 , r*cos(thetta)],[0 , r*sin(thetta)], [0 , 0] , 'linewidth',1);
stand=line([r*cos(thetta) , r*cos(thetta)] , [r*sin(thetta),r*sin(thetta)],[0 , 0.13]);
pivot=line([r*cos(thetta), (r+0.01)*cos(thetta)], [r*sin(thetta), (r+0.01)*sin(thetta)] , [0.13 0.13]);
pendulum=line([(r+0.01)*cos(thetta), (r+0.01)*cos(thetta)+lp*sin(alpha)*sin(thetta)],[(r+0.01)*sin(thetta),(r+0.01)*sin(thetta)+lp*sin(alpha)*cos(thetta)], [0.13 , 0.13+lp*cos(alpha)],'linewidth',3);
pause(0.007);
delete(rod);
delete(stand);
delete(pivot);
delete(pendulum);
end
close all;
axis([-0.1 0.1 -0.1 0.1 0 0.4]);
for t= 1:1000
alpha=Alpha(t);
thetta=Thetta(t);
rod=line([0 , r*cos(thetta)],[0 , r*sin(thetta)], [0 , 0] , 'linewidth',1);
stand=line([r*cos(thetta) , r*cos(thetta)] , [r*sin(thetta),r*sin(thetta)],[0 , 0.13]);
pivot=line([r*cos(thetta), (r+0.01)*cos(thetta)], [r*sin(thetta), (r+0.01)*sin(thetta)] , [0.13 0.13]);
pendulum=line([(r+0.01)*cos(thetta), (r+0.01)*cos(thetta)+lp*sin(alpha)*sin(thetta)],[(r+0.01)*sin(thetta),(r+0.01)*sin(thetta)+lp*sin(alpha)*cos(thetta)], [0.13 , 0.13+lp*cos(alpha)],'linewidth',3);
pause(0.007);
delete(rod);
delete(stand);
delete(pivot);
delete(pendulum);
end
使用模糊逻辑/PID/LQR FSF 稳定倒立摆研究(Matlab&Simulink实现)
🎉3 参考文献
部分理论来源于网络,如有侵权请联系删除。
![](https://img-blog.csdnimg.cn/4f4952a4a8cf4aa39f2bfaaadc96b974.png)
🌈4 Matlab代码、Simulink、文章讲解
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)