Embedded Systems Architecture Design of Intelligent Instruments Based on Event-Driven Approach

Click the “Embedded Application Research Institute” above, and select “Top/Star Official Account

Useful benefits delivered in real-time!

Source: China Industrial Control Network

Authors | Jin Miao, Guo Yueming, Wei Qian, Tang Jie

Organizer | Embedded Application Research Institute

Event-driven intelligent instrument embedded system architecture design

Jin Miao, Guo Yueming, Wei Qian, Tang Jie

(1. Beijing Zhongyou Ruifei Information Technology Co., Ltd., Changping, Beijing, 102200)

Abstract: This article introduces a method for designing an embedded system architecture based on event-driven principles. The architecture adopts a modular hierarchical design principle, consisting of a hardware abstraction layer, application support sub-layer, application layer, and event-driven core. Each layer calls the next in sequence, allowing it to run widely on architectures such as MSP430, M3, ARM, X86, etc., ensuring general applicability. The architecture fully considers the needs of intelligent instruments, effectively improving the stability of the instruments and simplifying later maintenance work.

Keywords: event-driven; layered design; modularity; function library

Embedded Systems Architecture Design of Intelligent Instruments Based on Event-driven

Abstract:

This article introduces an event-driven based frame design for embedded systems, employing classified modular design. This design consists of Hardware Abstract Layer, Application Support Sub-Layer, Application Layer, and Core of Event Driven. It responds to commands layer by layer, ensuring wide availability on MSP430, M3, ARM, and X86 architectures. This frame is specifically designed for intelligent instruments, presenting challenges in maintaining constant control and simplified maintenance.

Keys: event-driven, layered design, modularity, function library

0 Introduction

With the rapid development of the Internet of Things in oil and gas production, intelligent instrument devices are widely used in domestic and international automation fields. However, due to significant differences in the development environments of instruments used in the automation industry and the diverse technological branches of products, the embedded code interfaces are not unified, leading to poor code reusability and increased difficulty in later technical communication. Meanwhile, with the refinement of industry demands for instrument products and the standardization of hardware modular interfaces, it is feasible and necessary to conduct a unified embedded system architecture design for instrument products.

The event-driven embedded system architecture design method introduced in this article adopts a layered design principle, achieving functional modular encapsulation to maximize system stability and interface unification. It can be conveniently ported to other MCU and instrument platforms, allowing users to easily select necessary product features through simple macro definitions, abstracting the interfaces of various functional components and achieving uniformity, thus facilitating the expansion of other functional components or the addition of event handling tasks.

1 System Architecture Functional Components and Layered Design

1.1 System Architecture Functional Requirements

According to current industry demands for intelligent instruments, they need to achieve functions such as device management, human-computer interaction, data uploading, etc. Based on functional modularization, the specific system functional components are shown in Figure 1-1.

Embedded Systems Architecture Design of Intelligent Instruments Based on Event-Driven Approach

Figure 1-1 Intelligent Instrument System Functional Component Diagram

As early as 1979, a specialized committee under the International Organization for Standardization (ISO) proposed a seven-layer model of network structure based on the concept of functional layering for establishing standards related to

Leave a Comment

×