pid控制器代码matlab-Motor-PID-Controller-using-Arduino-Matlab:使用Arduino和Matl

上传者: 38543293 | 上传时间: 2022-05-01 21:17:16 | 文件大小: 1.05MB | 文件类型: ZIP
pid控制器代码matlab 使用Arduino Matlab的Motor-PID控制器 使用Arduino和Matlab进行简单的电机PID设置 硬件要求: Arduino Uno 电机双H桥L298驱动器 带编码器的金属直流减速电机 软件要求: Matlab R2016a + Arduino IDE 如何使用: 编辑Matlab代码(PIDController.m)的COMPORT并运行GUI handles.s = serial('COM5'); 输入P,I,D和目标速度(以RPM为单位)的值 点击发送 更新P,I,D,以获得最佳响应。 笔记: 单击发送后,电动机应开始移动,并且系统响应详细信息应开始填充和更新。 要测试PID是否工作,请尝试停止电动机(注意-用一块布擦拭),它应该反击。 电机响应取决于P,I和D值。 为了了解Arduino代码中包含的PID算法,我建议观看以下视频:

文件下载

资源详情

[{"title":"( 18 个子文件 1.05MB ) pid控制器代码matlab-Motor-PID-Controller-using-Arduino-Matlab:使用Arduino和Matl","children":[{"title":"Motor-PID-Controller-using-Arduino-Matlab-master","children":[{"title":"matlab","children":[{"title":"PIDController_activex1 <span style='color:#111;'> 3.50KB </span>","children":null,"spread":false},{"title":"actxlicense.m <span style='color:#111;'> 113B </span>","children":null,"spread":false},{"title":"PIDController.fig <span style='color:#111;'> 40.80KB </span>","children":null,"spread":false},{"title":"PIDController.m <span style='color:#111;'> 13.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"images","children":[{"title":"sample_gui1.png <span style='color:#111;'> 153.88KB </span>","children":null,"spread":false},{"title":"motor_encoder-arduino_connection.png <span style='color:#111;'> 80.42KB </span>","children":null,"spread":false},{"title":"PID_changes_effects.PNG <span style='color:#111;'> 6.18KB </span>","children":null,"spread":false},{"title":"encoder_test.jpg <span style='color:#111;'> 184.96KB </span>","children":null,"spread":false},{"title":"PID_variables.PNG <span style='color:#111;'> 14.82KB </span>","children":null,"spread":false},{"title":"PID_algorithm.PNG <span style='color:#111;'> 314.68KB </span>","children":null,"spread":false},{"title":"sample_gui2.png <span style='color:#111;'> 106.49KB </span>","children":null,"spread":false},{"title":"demo.JPG <span style='color:#111;'> 44.37KB </span>","children":null,"spread":false}],"spread":true},{"title":"arduino","children":[{"title":"Arduino_PID_Controller","children":[{"title":"Arduino_PID_Controller.ino <span style='color:#111;'> 4.84KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"LICENSE <span style='color:#111;'> 1.04KB </span>","children":null,"spread":false},{"title":"PIN_CONFIG.txt <span style='color:#111;'> 556B </span>","children":null,"spread":false},{"title":"README.md <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"REFERENCES.txt <span style='color:#111;'> 160B </span>","children":null,"spread":false},{"title":"driver","children":[{"title":"CH341SER_driver.rar <span style='color:#111;'> 133.10KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明