Optimization, Porting of eCos and Its Application Research in Supervision System of UPS
- Author
- LuJiaZhen
- Advisor
- QinJuanYing
- School
- Wuhan University of Technology
- Major
- Power Electronics and Power Drives
- Classification
- TN86 Power supply
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 321
- Citations
- 1
- eCos
- Embedded real-time operating system
- scheduling algorithm
- Porting
- monitoring and management system
Abstract
Embedded configurable operating system eCos (embedded Configurable operating system) is an open source software that is completely free, without copyright restrictions , suitable for deeply embedded applications, real-time operating system . It has the following features: Powerful full basic functionality ; highly configurable , scalability , portability and compatibility ; perfect and free development tools ; eCos is rapidly developing , providing a wide range of hardware support , in line with embedded systems direction of development. Because of these characteristics , eCos has attracted more and more attention , with the development of its next-generation embedded products eCos embedded operating system to become a research hotspot . In this paper, the main part of eCos kernel : scheduling , memory management , interrupt handling, exception handling , etc. are discussed. Meanwhile, the eCos and RTLinux, μ C/OS- Ⅱ, RTEMS other excellent open source real-time operating systems, analyze them in the multi-task scheduling mechanism , synchronization and communication mechanisms , real-time and other aspects of their own characteristics and performance , through contrast , we can see the advantages and disadvantages of eCos . In view of some shortcomings of common scheduling algorithm , the paper eCos scheduling algorithm to optimize the Earliest Deadline First (Earliest Deadline First, EDF) scheduling algorithm combined with the PID controller , to achieve a PID feedback control EDF scheduling algorithm (PID-FC- EDF), and was presented with eCos multilevel queue scheduler implements the interface methods . For the new target platform running eCos , it needs to underlying hardware abstraction layer (HAL) for transplantation and write device drivers are not supported , this article focuses on the hardware abstraction layer principle , eCos porting methods , Ethernet driver design and methods for the specific process . Finally, the eCos applied to the UPS (uninterruptible power supply ) remote monitoring and management system, designed to ARM (S3C4510B) as the core hardware and software platforms ; detailed analysis of the eCos embedded Web server and application software design processes and methods , the formation of B / S structure of the UPS monitoring system , replacing the traditional C / S based structural monitoring system, more convenient for the realization of intelligent UPS monitoring and management .
Table of contents
Abstract 2-3
Abstract 3-6
first chapter 6-15
1.1 eCos overview 6-8 < br /> 1.1.1 eCos development 6-7
1.1.2 Supported Hardware 7
1.1.3 Basic functions 7-8 <br / > 1.2 eCos organizational structure 8-12
1.2.1 eCos hierarchy 9-11
1.2.2 eCos source structure 11-12 <br / > 1.3 eCos development tools 12
1.4 embedded operating system development, the significance of the topic and content of this article 12-15
1.4.1 embedded operating system development 12-13
1.4.2 The significance of the topic and content of this article 13-15
Chapter eCos kernel and comparative analysis 15-24 <br / > 2.1 eCos kernel analysis 15-18
2.1.1 kernel 15-16
2.1.2 Memory Allocation 16
2.1.3 Interrupt processing 16-17
2.1.4 Exception Handling 17
2.1.5 counter with clock 17
2.1.6 SMP support 17-18
2.2 eCos kernel and other real-time system performance analysis and comparison 18-24
2.2.1 RTLinux, μC/OS- Ⅱ, RTEMS review 18-19 < br /> 2.2.2 four kinds of RTOS performance analysis and comparison 19-24
Chapter eCos scheduling analysis and optimization 24-40
3.1 eCos scheduler analysis 24-27
3.1.1 Scheduler file structure and software realization 24-25
3.1.2 scheduler algorithm and implementation 25-27
3.2 commonly used real-time scheduling algorithm 27-29
3.2.1 fixed priority scheduling algorithm 28
3.2.2 dynamic priority scheduling algorithm 28-29
3.3 feedback control and real-time scheduling 29-34
3.3.1 PID feedback control EDF (PID-FC-EDF) 30-31
3.3 .2 PID-FC-EDF scheduler design 31-33
3.3.3 Feedback Control Scheduling Model and Analysis 33-34
3.4 PID-FC-EDF in the eCos realization 34-40
3.4.1 Tasks interface design 34-36
3.4.2 Scheduler Design 36-40
Chapter eCos porting and driver design 40-51
4.1 eCos porting 40-44
4.1.1 Hardware Abstraction Layer HAL (Hardware Abstraction Layer) 40 - 42
4.1.2 eCos porting methods 42-44
4.2 Device Driver Design 44-51
4.2.1 Driver Design Overview 44-45
4.2.2 Ethernet Driver Design 45-51
Chapter eCos in the UPS remote monitoring and management system application 51-65
5.1 UPS monitoring and management system overview 51-52
5.2 Monitoring System hardware platform design 52-60
5.2.1 ARM minimum system design 53-57
5.2.2 serial interface circuit 57
5.2.3 10M/100M Ethernet interface circuit 57-60
5.3 monitoring system software platform design 60 -65
5.3.1 software design processes and methods 60-63
5.3.2 eCos embedded Web server design 63-65
Conclusion 65-66
References 66-68
Thanks 68
Related dissertations
- Research and Design of Embedded Operating System Based on Multi-Core Processors
- The Design and Implemtation of Embedded Real-Time Operating System
- The Research for Embedded Real-Time Operation System
- The Study on the Universal Testing Machine Measurement and Control System Based on μC/OS-Ⅱ
- Research on Real-time Performance of CAN
- Reaearch on Modeling and Optimization Strategy in Industry Multi-service Real-time Networks
- Based on I/O Performance of Virtual Machine Resource Scheduling Algorithm Research
- Research on Scheduling Algorithm of Instance-Intensive Workflows on the Cloud Computing Invironment
- Design and Implementation of Video Intercom System Based on the Android Platform
- Design and Implementation of Educational Administration System of Military Academies
- Design and Implementation of Monitoring and Management System for Local Government Financial Budget
- Research on Adaptive Scheduling on Infrastructure as a Service Cloud Computing Platform
- Navigation System CAN Network Design and Implementation Based on Time-triggered
- Research and Implementation of Downlink Scheduling in the MAC Layer of3GPP LTE System
- Research on Topology Structures and Communication Algorithms for Some New Wireless Mesh Networks
- Research on Opportunistic Network Coding in Wireless Networks
- Research of MAC’s Scheduling and HARQ in LTE System
- Porting and Optimization of G.723.1Algorithm for ARM Platform
- Research on Scheduling Algorithm for Reconfigurable Embedded System
- Design of AFDX Swtich Chip Based on Shared Memory