水下机器人双机械手系统动态建模与控制仿真(Matlab代码实现)
创始人
2024-03-25 07:24:50
0

     目录

💥1 概述

📚2 运行结果

🎉3 参考文献

👨‍💻4 Matlab代码


💥1 概述

水下机器人-机械手系统(Underwater vehicle-manipulator systems, UVMS)可以完成除观测之外的水下采样、抓取、操作等任务,在海洋科学考察、海洋工程等领域得到广泛应用。通过对近年来国内外UVMS的研究现状进行综述,介绍了不同的UVMS本体结构与机械手构型,总结了UVMS的运动学、动力学和水动力学的建模方法,分析了人机交互式遥控操作控制方式,针对UVMS的自主控制中的运动规划、位置与轨迹跟踪、独立与协调控制、运动补偿控制、力/位置混合控制、视觉伺服控制等问题做了分类阐述。

该项目体现UVDMS(水下机器人双机械手系统)上的运动学、动力学和控制模拟器。采用DH法建立运动学模型,并使用牛顿-欧拉法建立动力学模型。该项目为UVDMS的水下抓取操作提供了一个演示。

📚2 运行结果

 

 

 

 

 

 

 

🎉3 参考文献

[1]常宗瑜,张扬,郑方圆,郑中强,王吉亮.水下机器人-机械手系统研究进展:结构、建模与控制[J].机械工程学报,2020,56(19):53-69.

👨‍💻4 Matlab代码

主函数部分代码:

clc

fprintf('\n ----------------')
fprintf('\n ----------------')
fprintf('\n -- SIMURV 4.0 --')
fprintf('\n ----------------')
fprintf('\n ----------------')

% take path and "now" to store data
mypath = pwd;
prefix = datestr(now,30);

% ---------------------------------------------------
% load the model and copy the m-file in the folder output
% ---------------------------------------------------
cd data
if (exist('model_name','var')==0)
    model_name = uigetfile('data*.m', 'select a model to simulate');
end
model_copy = strcat(mypath,filesep,'output',filesep,prefix,model_name);
copyfile(model_name,model_copy);
eval(strrep(model_name,'.m',''));
fprintf('\nmodel copied in          %s',[filesep,'output',filesep,prefix,model_name]);
cd ..

% ---------------------------------------------------
% output name to be copied in the folder output
% ---------------------------------------------------
% output_name = strcat(mypath,filesep,'output',filesep,prefix,'out.mat'); 
% fprintf('\noutput will be copied in %s',[filesep,'output',filesep,prefix,'out.mat']);
output_name = strcat('demo',prefix,'out.mat');  % 2020.2.6
fprintf('\noutput will be copied in %s',[filesep,'output',filesep,prefix,'out.mat']);


% ---------------------------------------------------
% run the "core" simulation file and copy the m-file in the folder output
% ---------------------------------------------------
cd func
if (exist('core_simulator_name','var')==0)
    core_simulator_name = uigetfile('core*.m', 'select the core simulation file');
end
core_simulator_copy = strcat(mypath,filesep,'output',filesep,prefix,core_simulator_name);
copyfile(core_simulator_name,core_simulator_copy);
fprintf('\ncore_simulator in        %s',[filesep,'output',filesep,prefix,core_simulator_name]);
eval(strrep(core_simulator_name,'.m',''));
cd ..

% ---------------------------------------------------
% save simulation output in a mat file
% ---------------------------------------------------
cd output
eval(['save ',output_name]);
cd ..

% ---------------------------------------------------
% warning for too much files in the output dir
% ---------------------------------------------------
file_number = size(dir('output'),1)-2;
if file_number>30
    fprintf('\n %d files are currently stored in the output folder, consider erase some',file_number);
    fprintf('\n to erase all type: delete output/2*');
end
    

% ---------------------------------------------------
% exiting stuff
% ---------------------------------------------------
fprintf('\n\n to run another simulation with same model and controller type: simurv[enter]');
fprintf('\n to modify the model type: clear model_name, simurv[enter]');
fprintf('\n to modify the controller type: clear core_simulator_name, simurv[enter]');
fprintf('\n\n');
clear mypath prefix model_copy core_simulator_copy

相关内容

热门资讯

【NI Multisim 14...   目录 序言 一、工具栏 🍊1.“标准”工具栏 🍊 2.视图工具...
银河麒麟V10SP1高级服务器... 银河麒麟高级服务器操作系统简介: 银河麒麟高级服务器操作系统V10是针对企业级关键业务...
不能访问光猫的的管理页面 光猫是现代家庭宽带网络的重要组成部分,它可以提供高速稳定的网络连接。但是,有时候我们会遇到不能访问光...
AWSECS:访问外部网络时出... 如果您在AWS ECS中部署了应用程序,并且该应用程序需要访问外部网络,但是无法正常访问,可能是因为...
Android|无法访问或保存... 这个问题可能是由于权限设置不正确导致的。您需要在应用程序清单文件中添加以下代码来请求适当的权限:此外...
北信源内网安全管理卸载 北信源内网安全管理是一款网络安全管理软件,主要用于保护内网安全。在日常使用过程中,卸载该软件是一种常...
AWSElasticBeans... 在Dockerfile中手动配置nginx反向代理。例如,在Dockerfile中添加以下代码:FR...
AsusVivobook无法开... 首先,我们可以尝试重置BIOS(Basic Input/Output System)来解决这个问题。...
ASM贪吃蛇游戏-解决错误的问... 要解决ASM贪吃蛇游戏中的错误问题,你可以按照以下步骤进行:首先,确定错误的具体表现和问题所在。在贪...
月入8000+的steam搬砖... 大家好,我是阿阳 今天要给大家介绍的是 steam 游戏搬砖项目,目前...