Font Size: a A A

The Application Of Embedded Operating System During The Control Process Of The Electromechanical Equipment

Posted on:2006-01-24Degree:MasterType:Thesis
Country:ChinaCandidate:Z Y ZhangFull Text:PDF
GTID:2168360155965761Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
With the Fast development of electronic designing technique, the constantly emerging of high-performance chip, enhancement of the chip's performance-cost ratio, urgent actual demand, the development of the technology of embedded system research is to be perhaps, and have extensive application prospect and comprehensive development potentiality, and have already become one of the hottest technology. The embedded system that adopt of embedded technology to exploiture have been permeated in each corner of the modern life, for example, mobile telephone, microwave oven, cash dispenser, intellectual toy, e-commerce, the equipment to industrial control, communication equipment, medical equipment, military equipment etc. This article is on the basis of the research and development of a kind of high-speed printing machine. The author's work is use the Microcontroller Unit with the integration of embedded systematic kernel and applied program on it to control each electromechanical part runs in phase. And the Microcontroller Unit is ground on the already existing electromechanical equipment , for instance , roller's sense organs ,make step electromotor. In the course of researching and developing, the author has found that the embedded operating system kernel μC/OS-Ⅱhas some shortage in concrete applications. The author expands and modifies parts of its kernel source code. This article describes mainly around the follow several respects: (1)Combine present practical application, the author has explained the embedded systematic practical application demand, make simple introduction to their compose, characteristic, etc.; (2)This article has emphatically introduced the embedded operating system, its scheduling method, the communication way among the tasks, and the priority overturns which perhaps appear because the scheduling when several tasks use some shared resource; (3)In this article ,according to the particularity of kernel in μC/OS-Ⅱsystem and at the basis of customary algorithm of priority scheduler, one algorithm which increase priorities are put forward. The method can expand the systematic controllable tasks from 64 to 256; (4)This article transplants the embedded operating system kernel μC/OS-Ⅱto the ATmage128 that use in the system witch is one of the AVR Microcontroller Unit; (5)The practical system maybe causes the priority overturns which appear because the scheduling when several tasks use shared resource of serial port. The author expands and modifies parts of μC/OS-Ⅱ's code, and give a manipulative method that can avoid this circs; (6)Take plate-making course in the system as an example, the article has proved how embedded software work to coordinate the communication among the tasks, to assure systematic correctness, and to assure system's correctness in time in development. The method put forward in this article to expand the systematic controllable tasks can use to the system that use embedded systematic kernel μC/OS-Ⅱto increase the amount of tasks. The treatment method put forward in this article to deal with the priority overturns also canuse to other system that bring circs that factual task scheduling disobey the original idea of setting priority because share a few resource. These methods have extensive usability. This system uses multitasking, embedded method to meet the concrete systematic demand and control request. The article has put forward the systematic realization scheme, and has described author's thinking. Prove through the experiment, this scheme can use the actual systemic run environment, have feasibility, and the measure and the result were more ideal too.
Keywords/Search Tags:Embedded system, Priority overturns, μC/OS-Ⅱ, portable
PDF Full Text Request
Related items