使用模糊逻辑/PID/LQR FSF 稳定倒立摆研究(Matlab&Simulink实现)

 👨‍🎓个人主页:研学社的博客   

💥💥💞💞欢迎来到本博客❤️❤️💥💥

🏆博主优势:🌞🌞🌞博客内容尽量做到思维缜密,逻辑清晰,为了方便读者。

⛳️座右铭:行百里者,半于九十。

📋📋📋本文目录如下:🎁🎁🎁

目录

💥1 概述

📚2 运行结果

2.1 Rot_Pen_FLC

​2.2 Rot_Pen_LQR

2.3  Rot_Pen_PID

🎉3 参考文献

🌈4 Matlab代码、Simulink、文章讲解


💥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. 

目录;

📚2 运行结果

2.1 Rot_Pen_FLC

 

 

 2.2 Rot_Pen_LQR

 

 

2.3  Rot_Pen_PID

 

 

 

 

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 参考文献

部分理论来源于网络,如有侵权请联系删除。

🌈4 Matlab代码、Simulink、文章讲解

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

荔枝科研社

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值