![matlab曲柄滑塊機(jī)構(gòu)的運(yùn)動(dòng)學(xué)仿真_第1頁](http://file2.renrendoc.com/fileroot_temp3/2021-11/5/56e6e192-da81-482a-85a7-7fb839fa810b/56e6e192-da81-482a-85a7-7fb839fa810b1.gif)
![matlab曲柄滑塊機(jī)構(gòu)的運(yùn)動(dòng)學(xué)仿真_第2頁](http://file2.renrendoc.com/fileroot_temp3/2021-11/5/56e6e192-da81-482a-85a7-7fb839fa810b/56e6e192-da81-482a-85a7-7fb839fa810b2.gif)
![matlab曲柄滑塊機(jī)構(gòu)的運(yùn)動(dòng)學(xué)仿真_第3頁](http://file2.renrendoc.com/fileroot_temp3/2021-11/5/56e6e192-da81-482a-85a7-7fb839fa810b/56e6e192-da81-482a-85a7-7fb839fa810b3.gif)
![matlab曲柄滑塊機(jī)構(gòu)的運(yùn)動(dòng)學(xué)仿真_第4頁](http://file2.renrendoc.com/fileroot_temp3/2021-11/5/56e6e192-da81-482a-85a7-7fb839fa810b/56e6e192-da81-482a-85a7-7fb839fa810b4.gif)
![matlab曲柄滑塊機(jī)構(gòu)的運(yùn)動(dòng)學(xué)仿真_第5頁](http://file2.renrendoc.com/fileroot_temp3/2021-11/5/56e6e192-da81-482a-85a7-7fb839fa810b/56e6e192-da81-482a-85a7-7fb839fa810b5.gif)
版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)
文檔簡(jiǎn)介
1、系統(tǒng)仿真與matlab綜合試題題目:曲柄滑塊機(jī)構(gòu)的運(yùn)動(dòng)學(xué)仿真編號(hào):21難度系數(shù):姓名班級(jí)學(xué)號(hào)聯(lián)系方式 成績(jī)i系統(tǒng)仿真與 matlab綜合試題 1一、引言 3.二、運(yùn)動(dòng)學(xué)分析 31、實(shí)例題目32、運(yùn)動(dòng)分析3三、MATLAB程序編寫5四、使用指南和實(shí)例仿真8五、結(jié)語 102亠、引言曲柄滑塊機(jī)構(gòu)是指用曲柄和滑塊來實(shí)現(xiàn)轉(zhuǎn)動(dòng)和移動(dòng)相互轉(zhuǎn)換的平 面連桿機(jī)構(gòu),也稱曲柄連桿機(jī)構(gòu)。曲柄滑塊機(jī)構(gòu)廣泛應(yīng)用于往復(fù)活塞 式發(fā)動(dòng)機(jī)、壓縮機(jī)、沖床等的主機(jī)構(gòu)中,把往復(fù)移動(dòng)轉(zhuǎn)換為不整周或 整周的回轉(zhuǎn)運(yùn)動(dòng);壓縮機(jī)、沖床以曲柄為主動(dòng)件,把整周轉(zhuǎn)動(dòng)轉(zhuǎn)換為 往復(fù)移動(dòng)。這里使用運(yùn)動(dòng)學(xué)知識(shí),對(duì)其運(yùn)動(dòng)進(jìn)行解析,并用MATL AE為其設(shè)計(jì)仿真
2、模塊。1、運(yùn)動(dòng)學(xué)分析1、實(shí)例題目對(duì)圖示單缸四沖程發(fā)動(dòng)機(jī)中常見的曲柄滑塊機(jī)構(gòu)進(jìn)行運(yùn)動(dòng)學(xué)仿 真。已知連桿長(zhǎng)度:q =0.1m , a = 0.4m ,連桿的轉(zhuǎn)速:匕-出,匕八乜, 設(shè)曲柄r2以勻速旋轉(zhuǎn),2=50r/s。初始條件:23=0。仿真以二為 輸入,計(jì)算3和A,仿真時(shí)間0.5 S。2、運(yùn)動(dòng)分析建立封閉矢量方程:r 2+r3=r 1(9)將(9)式分解到x與y軸坐標(biāo)上,得到:r2cos 0 2+r3cos 0 3=r1.r2sin 0 2+r3sin 0 3=0 (10)可得:r1=r2cos 0 2+r3cos 0 3.0 3-arcsin(r2r3)(11)對(duì)(10)式對(duì)時(shí)間求導(dǎo)得:-r2
3、 w2sin 0 2+3 w 3sin 0 3=v1r2 w2cos0 2+3w3cos0 3=0 (12)將上式用矩陣形式表示,令:A= r3sin 0 31-r3cos0 30X= w3v1B=-r2 w2sin 0 2r2 w2cos 0 2則(12)可表示為:AX二B(13)從而可解出w3與v1。1、MATLAB程序編寫源代碼如下:function varargout = z1(varargin)% Z1 MATLAB code for z1.fig%Z1, by itself, creates a new Z1 or raises the existing% singleton*.%
4、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%existing singleto
5、n*. 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 GUIDE's Tools menu. Choose "GUI
6、 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', mfilen
7、ame, . 'gui_Singleton', gui_Singleton, . 'gui_OpeningFcn', z1_OpeningFcn, .'gui_OutputFcn','gui_LayoutFcn','gui_Callback',z1_OutputFcn, . , .);if nargin && ischar(varargin1) gui_State.gui_Callback = str2func(varargin1);end if nargoutvarargout1:nargout
8、= 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, varargin)% This function has no output args, see OutputFcn.% hObject handle to figure% e
9、ventdata reserved - to be defined in a future version of MATLAB % handlesstructure with handles and user data (see GUIDATA)% varargin command line arguments to z1 (see VARARGIN)% Choose default command line output for z1 handles.output = hObject;% Update handles structure guidata(hObject, handles);a
10、xes(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 varargout = z1_OutputFcn(hObject, eventdata, handles)% varargout cell array for retur
11、ning 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 from handles structure varargout1 = handles.output;% - Executes on button press
12、 in pushbuttonRun.function pushbuttonRun_Callback(hObject, eventdata, handles) %主要計(jì)算程序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;theta3(i)=asin(-r2 /r3*sin(theta2(i); B=-r2*omiga2*sin(theta2(i);r2*omig
13、a2*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('時(shí)間(t/s)')ylabel('連桿角速度 w 3 (rad/s)') axes(handles.axes2) %制表 2 plot(x11/1000,v3);xlabel(' 時(shí)間( t/s) ') ylabel(' 滑
14、塊速度 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 GCBO)% eventdata reserved
15、 - 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, after
16、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 backgro
17、und on Windows.%See ISPC and COMPUTER.if ispc && isequal(get(hObject,'BackgroundColor'), get(0,'defaultUicontrolBackgroundColor') set(hObject,'BackgroundColor','white');end% - Executes on butt on press in pushbutt on Exit.function pushbutt on Exit_Callback(hOb
18、ject, even tdata, han dies)ss=questdlg('確認(rèn)退出?','退出信息窗口!','繼續(xù)仿真!','退出仿真!','退出仿真!');switch sscase退出仿真!'delete(ha ndles.figurel);end% hObject% even tdatahan dle to pushbutt on Exit (see GCBO) reserved - to be defi ned in a future version of MATLAB% han dlesstructure with han dles and user data (see GUIDATA)四、使用指南和實(shí)例仿真進(jìn)入MATLAB軟件,打開并運(yùn)行程序初始界面:89對(duì) 山的值進(jìn)行修改,修改為實(shí)例中的50*2*pi=314.16,點(diǎn)擊開始仿#真按鈕,得到仿真結(jié)果:Tzl曲柄滑塊機(jī)構(gòu)的運(yùn)動(dòng)學(xué)仿真FW潸塊札構(gòu)云翹,1«2=磁厲 u3=de3rdt vi-dri/dijr2=0.1rrir3=0.4m0)2=314.16 rad,s 仿K時(shí)間伽L :退出惱算yshl10#點(diǎn)擊退出仿真按鈕,進(jìn)入退出界面:制作:自i
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。
最新文檔
- 農(nóng)村溝渠清淤合同范本
- 2025年度滑雪場(chǎng)教練員培訓(xùn)與青少年滑雪普及推廣合同
- 2025年度教育管理信息平臺(tái)數(shù)據(jù)遷移與集成合同
- 監(jiān)理工作中施工單位的資金管理
- 農(nóng)村垃圾地合同范本
- 190萬投資理財(cái)合同范本
- 共同辦廠合同范本
- 醫(yī)師兼職合同范本
- 2025年金屬真空鍍膜行業(yè)深度研究分析報(bào)告
- 北京保安勞務(wù)合同范例
- 2024年電工(高級(jí)技師)考前必刷必練題庫500題(含真題、必會(huì)題)
- 《證券投資學(xué)》全套教學(xué)課件
- 2024年全國各地中考語文試題匯編:名著閱讀
- 公司組織架構(gòu)與管理體系制度
- 2024-2030年中國涂碳箔行業(yè)現(xiàn)狀調(diào)查與投資策略分析研究報(bào)告
- 2025高考語文步步高大一輪復(fù)習(xí)講義65練答案精析
- 部編版八年級(jí)語文下冊(cè)全冊(cè)單元教材分析
- 2024-2030年中國派對(duì)用品行業(yè)供需規(guī)模調(diào)研及發(fā)展趨勢(shì)預(yù)測(cè)研究報(bào)告
- 傳染病監(jiān)測(cè)預(yù)警與應(yīng)急指揮大數(shù)據(jù)引擎平臺(tái)建設(shè)需求
- 2023-2024年度數(shù)字經(jīng)濟(jì)與驅(qū)動(dòng)發(fā)展公需科目答案(第5套)
- 2024年吉林省中考語文真題
評(píng)論
0/150
提交評(píng)論