# Mathmatical-model-to-IROS_2020
In this task, there are three ODE solvers for mathematical model of MallARD. The first solver is named 'ode-45', which is a built-in solver in MATLAB. The rests are built in addition using Runge-Kutta method and euler's method. These models plot some figures out, including surge velocity(u), sway velocity(v) and yaw rate(r). The result is compared with the Figure.8 in 'Model Identification of a Small Fully-Actuated Aquatic Surface Vehicle Using a Long Short-Term Memory Neural Network'.
All of the three models are tested using the datasets form Marin and Keir. Dataset "X" is predominantly excited in X_b by control inputs in F_u. Dataset "Y" and "PSI" excitation is focused on Y_b and by F_v and F_r, respectively. In the datasets "XTPSI", MallARD was excited in all degrees of freedom and was driven in squares, circles and figures of eight, which are motions that could be expected in practice.
## Clone the repository
git clone https://github.com/Xue1iang/Mathmatical-model-to-IROS_2020.git
This repo contains a package of datasets, and three MATLAB codes of ODE solver.
## Explanation of the code
There are three MATLAB files. The firt one is a built-in solver in matlab, namd ODE45. Second one is Runge-kutta and third on is Euler's solver. Three files that all do he same thing using different methods.
First, pre-processing the data to setup the time. And then, using the solver to solve the ordinary differential equation. Calculate the yaw angle via integrating the yaw rate. Mutiply the rotation matrix to transfer to global frame.
The code uses experimental data from MallARD. Joypad input and MallARD position are recorded in the experiments. The mathematical model predicts velocities and position using the joypad inputs and identified model coefficients. Model and coefficients were taken from 'Model Identification of a Small Omnidirectional Aquatic Surface Vehicle: a Practical Implementation'.
## To run the MallARD simulation
Before your running, do not forget to change the address in xlsread('') for choosing the different datasets. After that, run the code and a 6-pack plot and a quiverplot will come out.
## Explanation about plots
### OED45
1. Plots show the measured velocity v in Yb taken from dataset '\XYPSI\XYPSI_1\' against the estimated velocity in Yb for the classical parametric model. Fv is the control input. Yb is the y axis in body-fixed frame.

### Runge-Kutta Method
This method is mainly applied when the derivative and initial value information of the equation are known and the computer simulation is used to save the complicated process of solving differential equations. The accuracy of this solver can be changed via changing the step.

### Euler's Method
Euler's method is an important type of numerical solution. This type of method avoids solving the function expression, but seeks its approximate value on a series of discrete nodes. The distance between two adjacent nodes is called the step. The accuracy of this solver can be changed via changing the step.

没有合适的资源?快使用搜索试试~ 我知道了~
离散控制Matlab代码-Mathmatical-model-to-IROS_2020数学模型到IROS_2020 .zip

共42个文件
csv:36个
m:3个
txt:1个

1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 84 浏览量
2024-07-04
08:05:19
上传
评论
收藏 25KB ZIP 举报
温馨提示
离散控制Matlab代码数学模型到IROS_2020 在此任务中,存在用于MallARD数学模型的三个ODE求解器。 第一个求解器名为“ ode-45”,它是MATLAB中的内置求解器。 其余部分是使用Runge-Kutta方法和euler方法另外构建的。 这些模型列出了一些数字,包括喘振速度(u),摇摆速度(v)和偏航率(r)。 将结果与“使用长短期记忆神经网络的小型全驱动水上水面车辆的模型识别”中的图8进行了比较。 使用Marin和Keir的数据集对所有三个模型进行了测试。 数据集“ X”主要由F_u中的控制输入在X_b中激发。 数据集“ Y”和“ PSI”激励分别集中在Y_b和F_v和F_r上。 在数据集“ XTPSI”中,MallARD在所有自由度上都感到兴奋,并以正方形,圆形和八个数字驱动,这在实践中是可以预期的。 克隆存储库 git clone https://github.com/Xue1iang/Mathmatical-model-to-IROS_2020.git 此仓库包含一组数据集,以及三个ODE求解器的MATLAB代码。 代码说明 有三个MATLAB文件。 第一个
资源推荐
资源详情
资源评论





















收起资源包目录





























































共 42 条
- 1
资源评论



17111_Chaochao1984a
- 粉丝: 1232
上传资源 快速赚钱
我的内容管理 展开
我的资源 快来上传第一个资源
我的收益
登录查看自己的收益我的积分 登录查看自己的积分
我的C币 登录后查看C币余额
我的收藏
我的下载
下载帮助


最新资源
- 酒店ITM网络技术大比武题库.doc
- 《软件工程与项目管理》第10章软件项目管理.ppt
- (源码)基于PythonDjango框架的疫情信息综合管理系统.zip
- 价值工程在压力容器制造行业项目管理中的应用.docx
- 《网络安全协议IPSec》教学设计.docx
- 当前计算机辅助教学的实践与思考.docx
- 专升本互联网软件应用与开发模拟试题试卷复习资料.doc
- Asp的求职招聘网站设计方案与开发.doc
- 大数据背景下的税收治理问题.docx
- 安徽专升本安大高升计算机基础提高班测试卷(附标准标准答案).doc
- ASP.NET开发大全第23章.登录模块方案设计书.doc
- 探索党员档案信息化的管理新途径.docx
- 新经济时代云计算下会计信息化的应用.docx
- 对网络安全等级保护设计方案的探讨.docx
- (源码)基于Django框架的智能电表数据采集系统.zip
- 软件工程项目思想——C--面向对象程序设计.doc
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈



安全验证
文档复制为VIP权益,开通VIP直接复制
