【正文】
回參考點(diǎn)的程序和回放示教程序一樣,不過(guò)回參考點(diǎn)只是運(yùn)行到一個(gè)位置。 下圖為程序流程圖: 示教編程及在線修改程序 設(shè)計(jì)方法:當(dāng)機(jī)器人停止在某個(gè)位置時(shí),可以記錄下在該位置所對(duì)應(yīng)的一組關(guān)節(jié)角,這一組關(guān)節(jié)角用一個(gè)結(jié)構(gòu)體存儲(chǔ) struct position float Voltage1。 實(shí)現(xiàn)方法 以模塊化程序設(shè)計(jì)思想為指導(dǎo),以預(yù)期要實(shí)現(xiàn)的功能作為各個(gè)模塊,設(shè)計(jì)控制軟件。換言之,伺服電機(jī)是一種能量轉(zhuǎn)換裝置,可將電能轉(zhuǎn)換為機(jī)械能,同時(shí)也能通過(guò)其反過(guò)程來(lái)達(dá)到制動(dòng)的目的。 在機(jī)器人機(jī)構(gòu)中,學(xué)要使用制動(dòng)器的情況如下: 特殊情況下的瞬間停止和需要采取安全措施 停電時(shí),防止運(yùn)動(dòng)部分下滑而破壞其他裝置。功率 /質(zhì)量比大,體積小,結(jié)構(gòu)緊湊,密封問(wèn)題較大結(jié)構(gòu)適當(dāng),執(zhí)行機(jī)構(gòu)可標(biāo)準(zhǔn)化、模擬化,易實(shí)現(xiàn)直接驅(qū)動(dòng)。 ⑥ 放松工件:放松動(dòng)作為時(shí)間控 制,設(shè)為 2 秒。 機(jī)械手的控制要求 機(jī)械手的操作方式分為手動(dòng)操作和自動(dòng)操作,自動(dòng)操作又分為單周期操作和連續(xù)操作方式。 圖 23 機(jī)械手簡(jiǎn)圖 圖 23 中工件所處位置為原點(diǎn)位置,根據(jù)課題設(shè)計(jì)任務(wù)書的要求:機(jī)械手初始位置在原點(diǎn)位置,每次循環(huán)動(dòng)作都從原點(diǎn)位置開始,完成上升、下降運(yùn)動(dòng),左移、右移運(yùn)動(dòng)和夾緊、放松動(dòng)作和位置控制,并能實(shí)現(xiàn)手動(dòng)操作和自動(dòng)操作方式 圖 231 機(jī)械手工作流程圖 可見(jiàn),實(shí)現(xiàn)要求功能需要如下條件: 1 底座與橫梁之間需要旋轉(zhuǎn)盤,旋轉(zhuǎn)盤的驅(qū)動(dòng)由電機(jī)來(lái)完成,普通電 機(jī)轉(zhuǎn)速較高,需要考慮安裝減速機(jī),在這種頻繁啟動(dòng)制動(dòng)的場(chǎng)合下,選用低速電機(jī)會(huì)更方便。本設(shè)計(jì)中的機(jī)械手采用上下升降加平面轉(zhuǎn)動(dòng)式結(jié)構(gòu),機(jī)械手的動(dòng)作由氣動(dòng)缸驅(qū)動(dòng),氣動(dòng)缸由相應(yīng)的電磁閥來(lái)控制,電磁閥由 PLC 控制。 自由度及關(guān)節(jié) 圖 1 該機(jī)器人具有四個(gè)自由度 ,即腰關(guān)節(jié)、肩關(guān)節(jié)、肘關(guān)節(jié)和腕關(guān)節(jié),都為轉(zhuǎn)動(dòng)關(guān)節(jié);還有一個(gè)用于夾持物料的機(jī)械手。從第七個(gè)五年 計(jì)劃 19861990 開始,我國(guó)政府將工業(yè)機(jī)器人的發(fā)展列入其中,并且為此項(xiàng)目投入的大量的資金,研究開發(fā)并且制造了一系列的工業(yè)機(jī)器人,有由北京機(jī)械自動(dòng)化研究所設(shè)計(jì)制造的噴涂機(jī)器人,廣州機(jī)床研究所和北京機(jī)床研究所合作設(shè)計(jì)制造的點(diǎn)焊機(jī)器人,大連機(jī)床研究所設(shè)計(jì)制造的氬弧焊機(jī)器人,沈陽(yáng)工業(yè)大學(xué)設(shè)計(jì)制造的裝卸載機(jī)器等等。雖然這兩種機(jī)械手出現(xiàn)在六十年代初,但都是國(guó)外工業(yè)機(jī)械手發(fā)展的基礎(chǔ)。驅(qū)動(dòng)-傳動(dòng)系統(tǒng)主要包括驅(qū)動(dòng)機(jī)構(gòu)和傳動(dòng)系統(tǒng)。它適用于可變換生產(chǎn)品種的中小 PLC 的硬件結(jié)構(gòu)主要分單元式和模塊式兩種。” 美國(guó)國(guó)家標(biāo)準(zhǔn) NBS 對(duì)機(jī)器人的定義 :“一種可編程,并在自動(dòng)化控制下執(zhí)行某種特定操作和移動(dòng)作業(yè)任務(wù)的機(jī)械裝置。 關(guān)鍵詞:機(jī)器人,示教編程,伺服,制動(dòng) ABSTRACT With the development of microelectronic technology, sensor technology, the rapid development of control technology and machinery manufacturing technology level, the application of robots gradually expanded from cars to other fields. In all types of robots, the articulated robot arm simulation human form, has the advantages of pact structure, small occupied space, large moving space, is one of the most widely used robots. Especially flexible biomimetic robot posed of flexible joint in the field of service robot and rehabilitation robot application and demand more and more prominent. In this paper I will design an industrial robot with four DOFs, which is used to carry material for a punch. First I will design the structure of the base, the big arm, the small arm and the end manipulator of the robot, then choose proper drive method and transmission method, building the mechanical structure of the robot. On this foundation, I will design the control system of the robot, including choosing DAQ card, servo control, feedback method and designing electric circuit of the terminal card and control software. Great attention will be paid on the reliability of the control software and the robot safety during running. The aims to realize finally include: servocontrol and brake of the joint, monitoring the movement of each joint in realtime, playback programming and modifying the program online, setting reference point and returning to reference point. KEY WORDS: robot, playback, servocontrol,