Font Size: a A A

Based On QP-nano Automobile ABS Simulation Software System Design And Realization

Posted on:2013-04-07Degree:MasterType:Thesis
Country:ChinaCandidate:Z P SunFull Text:PDF
GTID:2248330395459374Subject:Software engineering
Abstract/Summary:PDF Full Text Request
In recent years, with China’s informatization and the construction of a well-off society, the embedded application development, the rapid expansion of the market, the product has been deep into the industrial production and people’s lives every corner, manufacturing industry, process control, communications, automotive, marine, aviation, aerospace, military equipment, consumer products have become embedded computer application fields.State machine appearing in the field of embedded programming is a kind of embedded programming ideas updated.The higher visibility and map the code to achieve faster speed is a qualitative change.In the embedded program field, the pursuit of the concise and efficient code.However,however, because of all kinds of restrictions in programming languages and programming styles,the innovation is very slow and sometimes stay situ.A new idea will bring a revolutionary leap, QP-nano is just a member of this revolution.QP-nano Quantum Platform Nano (QP-nano) is a generic event-driven framework for executing concurrent UML-style hierarchical state machines specifically designed for small8-and16-bit embedded microcontrollers (MCU).The use of QP-nano generally simplifies the design of event-driven software by allowing the application to be divided into multiple active objects that QP-nano manages. Active objects in QP-nanao are encapsulated tasks (each embedding a state machine and an event queue) that communicate with one another asynchronously by sending and receiving events. Within an active object, events are processed sequentially in a run-to-completion (RTC) fashion, while QP-nano encapsulates all the details of thread-safe event exchange and queuing.Most of QP-nano is written in portable ANSI-C, with microprocessor-specific and compiler-specific code kept to a minimum for ease of portability. QP-nano is designed to work with just a "bare metal" target board, but can also be combined with the very lightweight Quantum Kernel Nano (QK-nano) to provide preemptive multitasking capabilities (requires more stack space). QP-nano is very compact, typically taking about1.2KB of code space and only several bytes of RAM (not in-cluding the stack). QP-nano can be used in microcontrollers with128bytes of RAM or even less, and a few KB of ROM. If you can program your application in C, you most likely can afford QP-nano.Internally, QP-nano consists of sub-components called Quantum Event Processor Nano (QEP-nano), Quantum Framework Nano (QF-nano), and optionally Quantum Kerneal Nano (QK-nano).This paper is mainly divided into five chapters.The first chapter is the introduction, mainly introduces the research background, research goal and research focus.The second chapter is the system, introduces the embedded system knowledge, QP-nano framework and ABS anti-lock knowledge presentation.The third chapter is based on the QP-nano automobile ABS simulation software system design and realization. Detailed introduction of the system various functions module design and the program part.The fourth chapter is the result of running the system analysis and verification.The fifth chapter is the conclusion.
Keywords/Search Tags:State Machine, Event-Driven, Active Object
PDF Full Text Request
Related items