# Simulation-Of-Cable-Driven-Flexible-Manipulators-Using-Matlab-and-Simulink
### (Department of Bio-medical Engineering , NUS | Tele-Internship)
## Installation of Simscape Multibody link
The Simscape Multibody Link plug-in provides the primary interface for exporting CAD assemblies into Simscape Multibody software. The plug-in is compatible with three CAD applications: Autodesk Inventor, Creo Parametric, and SolidWorks. The installation steps of Simscape Multibody Link are given below:
- Run MATLAB as administrator.
- Add the saved installation files to the MATLAB path.
- You can do this by entering ```addpath('foldername')``` at the MATLAB command prompt. Replace foldername with the name of the folder in which you saved the installation files—e.g., ```C:\Temp```.
- At the MATLAB command prompt, enter ```install_addon('zipname')```.
- Replace zipname with the name of the zip archive—e.g., ```smlink.r2015b.win64.zip```.
## Importing the SolidWorks CAD Model Assembly in MATLAB Simulink:
- For exporting the CAD model assembly from SolidWorks to the MATALB Simulink we need to add Simscape Multibody Link to the SolidWorks from ```Settings/addins/Simscape Multibody Link```.
- CAD model can be exported to the 1st and 2nd generation of Simulink by ```Tools/Simscape Multibody Link/ Export / Simscape Multibody``` 1st/2nd generation, this creates the ‘```.xml```’ file which can be imported in to the MATLAB by using command ```smimport(‘filename.xml’)``` for 2nd generation of ```mechimport(‘filename.xml’)``` for 1st generation.
- After importing the Model in the Simulink, MATLAB Simulink automatically generates the Simulink block diagram of the model and ‘```.slx```‘ file.
## Gait generation and control of the Snake Robot model
- As a test, I made one CAD model assembly of the snake robot with 4 actuated revolute joints and imported into Simulink by the steps asserted above.
- By default, all actuators have automatically calculated motion control, Hence, on starting simulation shows random movements.
<img src="/media/ravolute.PNG" width="500" align="left"/>
<img src="/media/4.PNG" width="410" >
<img src="/media/April1.png" width="240" >
- For controlling motion of each revolute joints, I used ```PS Converter Blocks```, which converts physical signal to the Simulink signal. Also used one ```Repeating Sequence Source Blocks``` to give time dependent angle vectors from MATLAB workspace as the inputs of the actuators.
<img src="/media/repetetating.PNG" width="350" align="left"/>
<img src="/media/ps.PNG" width="350"/>
- User defined ```MATLAB Function Blocks``` are used to ensure the initial conditions and definition of the domain of the input angle vectors to -90 to 90 degrees.
- Angle vectors are generated by using MATLAB code including equations of the snake gaits and imported them to the ```source blocks``` from MATLAB workspace.
<img src="/media/gait study.PNG" width="400" />
## Cable driven flexible manipulators
- Cable-driven parallel manipulators (CDRPMs) are a special class of parallel robots in which rigid ex- tensile links are replaced by actuated cables. In the referenced literature, different types of workspace have been introduced based on various definitions for cable-driven parallel manipulators.
- The distal end positions and workspace of studied manipulator:
<img src="/media/Capture.PNG" width="700" />
- My derived model for cable driven manipulators: Here is the mathematical model including equations for angles of each links as a function of reduced length of the cable.
<img src="/media/1.PNG" width="200" align="left"/>
<img src="/media/2.PNG" width="150" align="left" />
<img src="/media/3.PNG" width="325" />
*δ**l*<sub>1</sub> + *δ**l*<sub>2</sub> + *δ**l*<sub>3</sub> = *δ**L* (total reduced lenght of cable)
*θ*<sub>1</sub> = *δ*<sub>*L*</sub>/5*t* × 180<sup>0</sup>/*π*
*θ*<sub>2</sub> = 2*δ*<sub>*L*</sub>/5*t* × 180<sup>0</sup>/*π*
*θ*<sub>3</sub> = 2*δ*<sub>*L*</sub>/5*t* × 180<sup>0</sup>/*π*
## Simulation of 3Fingered model of cable driven manipulator
- Equations derived in the mathematical model are implemented on the 3Fingered model using Simulink blocks and controlled the reduced length of cable by dashboard control block in such a way that all the angles at the revolute joints are automatically calculated.
<img src="/media/fingerCapture.PNG" />
- In this setup the user can control the cable manually and verify the results from the simulation in the same way as in real environment.
<img src="/media/Simulink.PNG" />
## PID controller
- A proportional–integral–derivative controller (PID controller or three term controller) is a control loop feedback mechanism widely used in industrial control systems and a variety of other applications requiring continuously modulated control. A PID controller continuously calculates an error value ```{\displaystyle e(t)}``` e(t) as the difference between a desired setpoint (SP) and a measured process variable (PV) and applies a correction based on proportional, integral, and derivative terms (denoted P, I, and D respectively).
- I made one PID controller using Simulink blocks given below but Simulink PID Controller Block is used in the simulation of the given CAD models. ```PID controller Block``` is tuned I to get required gain values for desired reaction time.
<img src="/media/pid2.PNG" />
<img src="/media/pid.PNG" />
<img src="/media/PID blokd.PNG" />
没有合适的资源?快使用搜索试试~ 我知道了~
使用 Matlab 和 Simulink 对电缆驱动的柔性操作器进行仿真
共211个文件
mat:81个
l:31个
step:24个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 83 浏览量
2024-08-13
00:24:07
上传
评论
收藏 27.3MB ZIP 举报
温馨提示
使用 Matlab 和 Simulink 对电缆驱动的柔性操作器进行仿真
资源推荐
资源详情
资源评论
收起资源包目录
使用 Matlab 和 Simulink 对电缆驱动的柔性操作器进行仿真 (211个子文件)
2.gif 12.69MB
2.gif 1.8MB
1.gif 1.72MB
1.gif 1.53MB
2.gif 1.51MB
1.gif 1.46MB
1.gif 1.22MB
2.gif 763KB
report.html 320KB
report_814.html 320KB
model_diagnose_custom.html 179KB
s0ZcL0ByemmsBUBU389hbYG.l 9KB
sYUBuIgBm90vWpujCOGx0jF.l 8KB
sXAEfEa2QojJQhKeX9NAcDE.l 8KB
s9KeIPPlAKFxfNxRMYHK4iG.l 7KB
s6QU9nYEYdn80KevikXh3dE.l 7KB
sQybooS3yAlVFsLrm1ek86D.l 7KB
s94b9pa8PDugOPAG9L5XSnF.l 7KB
s9KeIPPlAKFxfNxRMYHK4iG.l 7KB
sJw5HYGfufxUGL6StOAsUCG.l 7KB
sC2lzqMO8feo7iV7hl2ryHG.l 7KB
spPZFLDYjX1N8afs0o0v7SE.l 7KB
s8OE9vi8frcoZlJoH23SPwC.l 7KB
sm5YhQmifa8NHyTnxM0Ckv.l 7KB
sWe5DBYNBt6ngfIRaf3k6K.l 7KB
sOAhEkKxK7V84sluUzf58yB.l 7KB
sExeMEzsv0lSR5jOKPmAAD.l 7KB
s7hyUzrQJnf7zDAQ0z4B7iD.l 7KB
s1bOlR9Zr2qymUb2VZxwQMB.l 7KB
sBeem4YcIaM4Pkc1B8J7wzD.l 7KB
s4i3hMVLh9C6eRbxBzuixw.l 7KB
sGsbRXtNNpFVdxdz8c6EJBH.l 7KB
sWMvDy0F5qO7EM7LUlqXNGF.l 7KB
sfktER9RvwKrixY2TPvTuvH.l 7KB
sSOCYDU5h9ky7BHVikkGCDD.l 7KB
s8OE9vi8frcoZlJoH23SPwC.l 7KB
sSeutR7iGUVpMKel1BKT4FE.l 7KB
sJTWmjuY651wsb8vL2ylU0C.l 7KB
sxjuYNgNKfNNUbyBnbD447E.l 7KB
sGcAG8Yv2hFxWO1iSPxcVF.l 7KB
sWe5DBYNBt6ngfIRaf3k6K.l 7KB
sWe5DBYNBt6ngfIRaf3k6K.l 7KB
HAND_V2_DataFile.m 41KB
CDFM_V1_DataFile.m 23KB
HAND_V1_DataFile.m 23KB
x3FINGER_MODEL_DataFile.m 18KB
x3FINGER_MODEL_DataFile2.m 18KB
x3FINGER_MODEL_DataFile1.m 18KB
FINGER3_5_DataFile.m 10KB
FINGER2_4_DataFile.m 9KB
FINGER1_3_DataFile.m 7KB
testPidClock_DataFile.m 4KB
cable_driven_model.m 2KB
FINGER_ANGLES.m 1KB
THREE_FINGER_MODEL.m 753B
pid_parameters.m 87B
workspace1.mat 352KB
s9KeIPPlAKFxfNxRMYHK4iG.mat 8KB
s0ZcL0ByemmsBUBU389hbYG.mat 2KB
sGsbRXtNNpFVdxdz8c6EJBH.mat 2KB
sm5YhQmifa8NHyTnxM0Ckv.mat 2KB
sBeem4YcIaM4Pkc1B8J7wzD.mat 2KB
sSeutR7iGUVpMKel1BKT4FE.mat 2KB
sYUBuIgBm90vWpujCOGx0jF.mat 2KB
s1bOlR9Zr2qymUb2VZxwQMB.mat 2KB
sXAEfEa2QojJQhKeX9NAcDE.mat 2KB
sOAhEkKxK7V84sluUzf58yB.mat 2KB
s7hyUzrQJnf7zDAQ0z4B7iD.mat 2KB
sExeMEzsv0lSR5jOKPmAAD.mat 2KB
s4i3hMVLh9C6eRbxBzuixw.mat 2KB
s8OE9vi8frcoZlJoH23SPwC.mat 2KB
sWe5DBYNBt6ngfIRaf3k6K.mat 2KB
sWe5DBYNBt6ngfIRaf3k6K.mat 2KB
autoInferAccessInfo.mat 1KB
jitEngineAccessInfo.mat 1KB
emlReportAccessInfo.mat 1KB
jitEngineAccessInfo.mat 1KB
binfo.mat 968B
binfo.mat 940B
autoInferAccessInfo.mat 932B
sXAEfEa2QojJQhKeX9NAcDE.mat 878B
sYUBuIgBm90vWpujCOGx0jF.mat 877B
s0ZcL0ByemmsBUBU389hbYG.mat 877B
binfo.mat 874B
binfo.mat 830B
jitEngineAccessInfo.mat 797B
emlReportAccessInfo.mat 797B
sWe5DBYNBt6ngfIRaf3k6K.mat 676B
s8OE9vi8frcoZlJoH23SPwC.mat 676B
s9KeIPPlAKFxfNxRMYHK4iG.mat 675B
sxjuYNgNKfNNUbyBnbD447E.mat 675B
sC2lzqMO8feo7iV7hl2ryHG.mat 675B
sGsbRXtNNpFVdxdz8c6EJBH.mat 674B
spPZFLDYjX1N8afs0o0v7SE.mat 673B
sfktER9RvwKrixY2TPvTuvH.mat 673B
s1bOlR9Zr2qymUb2VZxwQMB.mat 672B
sJw5HYGfufxUGL6StOAsUCG.mat 672B
varInfo.mat 672B
sJTWmjuY651wsb8vL2ylU0C.mat 671B
s7hyUzrQJnf7zDAQ0z4B7iD.mat 670B
共 211 条
- 1
- 2
- 3
资源评论
小嗷犬
- 粉丝: 3w+
- 资源: 1347
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功