ImageVerifierCode 换一换
格式:DOCX , 页数:8 ,大小:197.01KB ,
资源ID:742978      下载积分:3 金币
快捷下载
登录下载
邮箱/手机:
温馨提示:
快捷下载时,用户名和密码都是您填写的邮箱或者手机号,方便查询和重复下载(系统自动生成)。 如填写123,账号就是123,密码也是123。
特别说明:
请自助下载,系统不会自动发送文件的哦; 如果您已付费,想二次下载,请登录后访问:我的下载记录
支付方式: 支付宝    微信支付   
验证码:   换一换

加入VIP,免费下载
 

温馨提示:由于个人手机设置不同,如果发现不能下载,请复制以下地址【https://www.bdocx.com/down/742978.html】到电脑端继续下载(重复下载不扣费)。

已注册用户请登录:
账号:
密码:
验证码:   换一换
  忘记密码?
三方登录: 微信登录   QQ登录  

下载须知

1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。
2: 试题试卷类文档,如果标题没有明确说明有答案则都视为没有答案,请知晓。
3: 文件的所有权益归上传用户所有。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 本站仅提供交流平台,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

版权提示 | 免责声明

本文(matlab曲柄滑块机构的运动学仿真.docx)为本站会员(b****2)主动上传,冰豆网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知冰豆网(发送邮件至service@bdocx.com或直接QQ联系客服),我们立即给予删除!

matlab曲柄滑块机构的运动学仿真.docx

1、matlab曲柄滑块机构的运动学仿真系统仿真与matlab综合试题题目:曲柄滑块机构的运动学仿真编号: 21 难度系数: 姓名 班级 学号 联系方式 成绩 系统仿真与 matlab 综合试题 1一、引言 3.二、运动学分析 31、 实例题目 32、 运动分析 3三、 MATLAB程序编写 5四、 使用指南和实例仿真 8五、 结语 10亠、引言曲柄滑块机构是指用曲柄和滑块来实现转动和移动相互转换的平 面连杆机构,也称曲柄连杆机构。曲柄滑块机构广泛应用于往复活塞 式发动机、压缩机、冲床等的主机构中,把往复移动转换为不整周或 整周的回转运动;压缩机、冲床以曲柄为主动件,把整周转动转换为 往复移动。这

2、里使用运动学知识,对其运动进行解析,并用MATL AE为其设计仿真模块。1、运动学分析1、实例题目对图示单缸四冲程发动机中常见的曲柄滑块机构进行运动学仿 真。已知连杆长度:D 0.1m , r3 0.4m,连杆的转速:2 2 , 3 3 ,设曲柄r2以匀速旋转,2 50r/s。初始条件:2 3 0。仿真以2为输入,计算3和A,仿真时间0.5 s。2、运动分析建立封闭矢量方程:r2+r3=r1 (9)将(9)式分解到x与y轴坐标上,得到:r2cos 0 2+r3cos 0 3=r1r2sin 0 2+r3sin 0 3=0 (10)可得:r1=r2cos 0 2+r3cos 0 3.0 3-ar

3、csin(r2r3) (11)对(10)式对时间求导得:-r2 w2sin 0 2+3 w 3sin 0 3=v1r2 w2cos0 2+3w3cos0 3=0 (12)将上式用矩阵形式表示,令:A= r3sin 0 3 1-r3cos0 3 0X= w3v1B=-r2 w2sin 0 2r2 w2cos 0 2则(12)可表示为:AX二B (13)从而可解出w3与v1、 MATLAB 程序编写源代码如下:function varargout = z1(varargin)% Z1 MATLAB code for z1.fig% Z1, by itself, creates a new Z1 o

4、r raises the existing% singleton*.% H = Z1 returns the handle to a new Z1 or the handle to% the existing singleton*.% Z1(CALLBACK,hObject,eventData,handles,.) calls the local% function named CALLBACK in Z1.M with the given input arguments.% Z1(Property,Value,.) creates a new Z1 or raises the% existi

5、ng singleton*. Starting from the left, property value pairs are% applied to the GUI before z1_OpeningFcn gets called. An% unrecognized property name or invalid value makes property application% stop. All inputs are passed to z1_OpeningFcn via varargin.% *See GUI Options on GUIDEs Tools menu. Choose

6、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 v2.5 29-Dec-2016 22:57:13% Begin initialization code - DO NOT EDIT gui_Singleton = 1;gui_State = struct(gui_Name, mfilename, . gui_Si

7、ngleton, gui_Singleton, . gui_OpeningFcn, z1_OpeningFcn, .if nargoutvarargout1:nargout = gui_mainfcn(gui_State, varargin:);elsegui_mainfcn(gui_State, varargin:);end% End initialization code - DO NOT EDIT% - Executes just before z1 is made visible.function z1_OpeningFcn(hObject, eventdata, handles, v

8、arargin)% 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 command line outpu

9、t for z1 handles.output = hObject;% Update handles structure guidata(hObject, handles);axes(handles.axes3) map1=imread(1.bmp);imshow(map1)% UIWAIT makes z1 wait for user response (see UIRESUME)% uiwait(handles.figure1);% - Outputs from this function are returned to the command line. function varargo

10、ut = z1_OutputFcn(hObject, eventdata, handles)% varargout cell array for returning output args (see VARARGOUT); % hObject handle to figure% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA)% Get default command line output f

11、rom handles structure varargout1 = handles.output;% - Executes on button press in pushbuttonRun.function pushbuttonRun_Callback(hObject, eventdata, handles) %主要计算程序r2=0.1;%单位 mr3=0.4;%单位 momiga2=str2double(get(handles.edit1,String); % 单位 rad/s x11=1:500 %单位 msfor i=1:500theta2(i)=i*omiga2 /1000;thet

12、a3(i)=asin(-r2 /r3*sin(theta2(i); B=-r2*omiga2*sin(theta2(i);r2*omiga2*cos(theta2(i); A=r3*sin(theta3(i) 1;-r3*cos(theta3(i) 0;X=inv(A)*B;omiga3(i)=X(1,1);v3(i)=X(2,1);end axes(handles.axes1) %制表 1 plot(x11/1000,omiga3);xlabel(时间(t/s)ylabel(连杆角速度3 3 (rad/s) axes(handles.axes2) %制表 2 plot(x11/1000,v3

13、);xlabel( 时间( t/s) ) ylabel( 滑块速度 v1( m/s ) )% hObject handle to pushbuttonRun (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB % handles structure with handles and user data (see GUIDATA) function edit1_Callback(hObject, eventdata, handles)% hObject handle to edit1 (see

14、GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles structure with handles and user data (see GUIDATA)% Hints: get(hObject,String) returns contents of edit1 as text% str2double(get(hObject,String) returns contents of edit1 as a double% - Executes during object creation,

15、after setting all properties. function edit1_CreateFcn(hObject, eventdata, handles)% hObject handle to edit1 (see GCBO)% eventdata reserved - to be defined in a future version of MATLAB% handles empty - handles not created until after all CreateFcns called% Hint: edit controls usually have a white background on Windows.% See ISPC and COMPUTER.if ispc & isequal(get(hObject,BackgroundColor), get(0,defaultUicontrolBackgroundColor) set(hObject,Back

copyright@ 2008-2022 冰豆网网站版权所有

经营许可证编号:鄂ICP备2022015515号-1