光电技术应用
光電技術應用
광전기술응용
ELECTRO-OPTIC WARFARE & RADAR PASSIVE COUNTERMEASURES
2013年
4期
79-82
,共4页
马锐军%吴锐欢%刘柏芳
馬銳軍%吳銳歡%劉柏芳
마예군%오예환%류백방
STM32%uC/OS-II%数控%实时性%插补
STM32%uC/OS-II%數控%實時性%插補
STM32%uC/OS-II%수공%실시성%삽보
STM32%uC/OS-II%numerical control (NC)%real-time%interpolation
设计了一种基于STM32和uC/OS-II的二维数控X-Y工作台控制系统。为使该数控系统具有良好的实时性和稳定性,以嵌入式STM32F103VET6为控制核心,采用实时操作系统uC/OS-II,设计任务间的通信方式,集中管理软硬件资源,提高系统的整体性能。本设计支持简单G代码输入并对G代码编程,实现数控X-Y工作台步进电机直线插补和圆弧插补,完成平面轮廓加工,使数控工作台加工实时性和稳定性进一步提高。
設計瞭一種基于STM32和uC/OS-II的二維數控X-Y工作檯控製繫統。為使該數控繫統具有良好的實時性和穩定性,以嵌入式STM32F103VET6為控製覈心,採用實時操作繫統uC/OS-II,設計任務間的通信方式,集中管理軟硬件資源,提高繫統的整體性能。本設計支持簡單G代碼輸入併對G代碼編程,實現數控X-Y工作檯步進電機直線插補和圓弧插補,完成平麵輪廓加工,使數控工作檯加工實時性和穩定性進一步提高。
설계료일충기우STM32화uC/OS-II적이유수공X-Y공작태공제계통。위사해수공계통구유량호적실시성화은정성,이감입식STM32F103VET6위공제핵심,채용실시조작계통uC/OS-II,설계임무간적통신방식,집중관리연경건자원,제고계통적정체성능。본설계지지간단G대마수입병대G대마편정,실현수공X-Y공작태보진전궤직선삽보화원호삽보,완성평면륜곽가공,사수공공작태가공실시성화은정성진일보제고。
A two-dimensional numerical control (NC) X-Y table control system is designed based on STM32 and uC/OS-II. For good real-time capability and stability of the system, embedded STM32F103VET6 is used as a control center. Real-time operating system uC/OS-II is used. Communication modes among tasks are designed. Resources of software and hardware are managed centrally. So the performances of the system are im?proved. Simple G code input is supported by the design, and the G code is programmed to realize linear and circu?lar interpolation of stepping motors on NC X-Y table. So plane contour processing is finished and real-time capa?bility and stability of NC table processing are further improved.