2022年matlab曲柄滑块机构的运动学仿真.pdf
《2022年matlab曲柄滑块机构的运动学仿真.pdf》由会员分享,可在线阅读,更多相关《2022年matlab曲柄滑块机构的运动学仿真.pdf(17页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、系统仿真与 matlab 综合试题题 目:曲柄滑块机构的运动学仿真编 号: 21 难度系数:姓 名班 级学 号联系方式成 绩精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 1 页,共 17 页 - - - - - - - - - - 系统仿真与 matlab 综合试题 . 错误!未定义书签。一、引言 . 错误!未定义书签。二、运动学分析 . 错误!未定义书签。、实例题目 . 错误!未定义书签。、运动分析 . 错误!未定义书签。三、MATLAB 程序编写 . 错误!未定义书签。四、使用指南和实例仿真. 错误
2、!未定义书签。五、结语 . 错误!未定义书签。精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 2 页,共 17 页 - - - - - - - - - - 一、引言曲柄滑块机构是指用曲柄和滑块来实现转动和移动相互转换的平面连杆机构, 也称曲柄连杆机构。 曲柄滑块机构广泛应用于往复活塞式发动机、压缩机、冲床等的主机构中,把往复移动转换为不整周或整周的回转运动;压缩机、 冲床以曲柄为主动件,把整周转动转换为往复移动。这里使用运动学知识,对其运动进行解析,并用为其设计仿真模块。二、运动学分析、实例题目对图示单缸
3、四冲程发动机中常见的曲柄滑块机构进行运动学仿真。已知连杆长度:mr1 .02,mr4 .03,连杆的转速:22,33,设曲柄 r2以匀速旋转,sr /502。初始条件:032。仿真以2为输入,计算3和1r,仿真时间。、运动分析建立封闭矢量方程:精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 3 页,共 17 页 - - - - - - - - - - r 2+r3=r 1 (9)将(9) 式分解到 x 与 y 轴坐标上,得到:r2 cos2+r3cos3=r1r2sin 2+r3sin 3=0(10) 可
4、得:r1 =r2cos2+r3cos33=-arcsin(r2/r3) (11) 对(10) 式对时间求导得:-r2 2sin 2+ r33sin 3=v1r2 2cos2+ r3 3cos3=0 (12) 将上式用矩阵形式表示,令:A= r3sin3 1-r3cos 30精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 4 页,共 17 页 - - - - - - - - - - X= 3 v1B=-r2 2sin 2r22cos2则(12) 可表示为:AX=B 。(13)从而可解出 3 与 v1。三、M
5、ATLAB 程序编写源代码如下:function varargout = z1(varargin)% Z1 MATLAB code for % Z1, by itself, creates a new Z1 or raises the existing% singleton*.%精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 5 页,共 17 页 - - - - - - - - - - % H = Z1 returns the handle to a new Z1 or the handle to% th
6、e existing singleton*.% Z1(CALLBACK,hObject,eventData,handles,.) calls the local% function named CALLBACK in with the given input arguments.% Z1(Property,Value,.) creates a new Z1 or raises the% existing singleton*. Starting from the left, property value pairs are% applied to the GUI before z1_Openi
7、ngFcn gets called. An% unrecognized property name or invalid value makes property application% stop. All inputs are passed to z1_OpeningFcn via varargin.精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 6 页,共 17 页 - - - - - - - - - - % *See GUI Options on GUIDEs Tools menu. Choose
8、 GUI allows only one% instance to run (singleton).% See also: GUIDE, GUIDATA, GUIHANDLES% Edit the above text to modify the response to help z1% Last Modified by GUIDE 29-Dec-2016 22:57:13% Begin initialization code - DO NOT EDITgui_Singleton = 1;gui_State = struct(gui_Name, mfilename, . gui_Singlet
9、on, gui_Singleton, . gui_OpeningFcn, z1_OpeningFcn, . gui_OutputFcn, z1_OutputFcn, .精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 7 页,共 17 页 - - - - - - - - - - gui_LayoutFcn, , . gui_Callback, );if nargin & ischar(varargin1) = str2func(varargin1);endif nargout varargout1:narg
10、out = gui_mainfcn(gui_State, varargin:);else gui_mainfcn(gui_State, varargin:);end% End initialization code - DO NOT EDIT% - Executes just before z1 is made visible.function z1_OpeningFcn(hObject, eventdata, handles, varargin)精品资料 - - - 欢迎下载 - - - - - - - - - - - 欢迎下载 名师归纳 - - - - - - - - - -第 8 页,共
11、 17 页 - - - - - - - - - - % This function has no output args, see OutputFcn.% hObject handle to figure% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% varargin command line arguments to z1 (see VARARGIN)% Choose default c
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022 matlab 曲柄 机构 运动学 仿真
限制150内